/* Blog Article Styles */
body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #2C1810;
    background-color: #FFF8F5;
    padding-top: 60px;
    margin: 0;
}

.blog-article {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.article-hero-image {
    margin: 30px auto; /* au lieu de margin-top: 30px; */
    display: block; /* s'assurer que c'est un block */
}
.article-header {
    background: linear-gradient(135deg, #8B0000 0%, #2C1810 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 0 0 20px 20px;
}

.article-header .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-date {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

.article-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 20px 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.article-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 30px 0;
    opacity: 0.95;
    font-style: italic;
}

.article-hero-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(139, 0, 0, 0.1);
    overflow: hidden;
}

.article-content .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 40px;
}

.content-section {
    margin-bottom: 50px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    color: #8B0000;
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #8B0000;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #2C1810;
}

.content-section h3 {
    color: #2C1810;
    font-size: 1.4rem;
    margin: 30px 0 20px 0;
    font-weight: 600;
}

.content-section h4 {
    color: #8B0000;
    font-size: 1.2rem;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 20px;
    text-align: justify;
    color: #2C1810;
    font-size: 1.05rem;
}

.content-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Interactive Elements */
.maintenance-calculator,
.polishing-techniques,
.hamon-quiz,
.maintenance-tracker {
    background: linear-gradient(135deg, #FFF8F5 0%, #F8F0E8 100%);
    border: 2px solid #8B0000;
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
}

.calculator-inputs,
.tracker-inputs {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.calculator-inputs label,
.tracker-inputs label {
    font-weight: 600;
    color: #2C1810;
    margin-bottom: 5px;
    display: block;
}

.calculator-inputs select,
.tracker-inputs select,
.tracker-inputs input {
    padding: 10px 15px;
    border: 2px solid #8B0000;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
}

.calc-button,
.tracker-button {
    background: #8B0000;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-button:hover,
.tracker-button:hover {
    background: #A50000;
    transform: translateY(-2px);
}

.calc-result,
.tracker-result {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 5px solid #8B0000;
    display: none;
}

/* Tables */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th {
    background: #8B0000;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #E5E5E5;
}

.comparison-table tbody tr:nth-child(even) {
    background: #FFF8F5;
}

.comparison-table tbody tr:hover {
    background: #F0E8E0;
}

/* Step by Step Guide */
.step-by-step-guide {
    margin: 30px 0;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, white 0%, #FFF8F5 100%);
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
    background: #8B0000;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    margin-top: 0;
    color: #8B0000;
}

/* Technique Levels */
.technique-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.level-card {
    padding: 25px;
    border-radius: 15px;
    border: 2px solid;
    background: white;
}

.level-card.beginner {
    border-color: #28A745;
    background: linear-gradient(135deg, white 0%, #F0FFF0 100%);
}

.level-card.intermediate {
    border-color: #FFC107;
    background: linear-gradient(135deg, white 0%, #FFFEF0 100%);
}

.level-card.expert {
    border-color: #DC3545;
    background: linear-gradient(135deg, white 0%, #FFF0F0 100%);
}

.level-card h4 {
    margin-top: 0;
    color: #2C1810;
}

.level-card ul {
    list-style: none;
    padding: 0;
}

.level-card li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.level-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8B0000;
    font-weight: bold;
}

/* Quiz Styles */
.quiz-container {
    margin: 20px 0;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.quiz-option {
    padding: 12px 20px;
    background: white;
    border: 2px solid #8B0000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.quiz-option:hover {
    background: #8B0000;
    color: white;
}

.quiz-result {
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 600;
    display: none;
}

.quiz-result.correct {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.quiz-result.incorrect {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* Storage Conditions */
.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.condition-item {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #8B0000;
}

.condition-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.condition-item h4 {
    color: #8B0000;
    margin: 15px 0 10px 0;
}

.condition-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Common Mistakes */
.common-mistakes {
    margin: 30px 0;
}

.mistake-item {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 5px solid;
}

.mistake-item.danger {
    background: #FFF0F0;
    border-left-color: #DC3545;
}

.mistake-item.warning {
    background: #FFFEF0;
    border-left-color: #FFC107;
}

.mistake-item h4 {
    margin-top: 0;
    color: #2C1810;
}

/* Professional Indicators */
.indicator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.indicator {
    padding: 25px;
    border-radius: 15px;
    border: 2px solid;
    background: white;
    position: relative;
}

.indicator.critical {
    border-color: #DC3545;
    background: linear-gradient(135deg, white 0%, #FFF0F0 100%);
}

.indicator.high {
    border-color: #FF6B35;
    background: linear-gradient(135deg, white 0%, #FFF5F0 100%);
}

.indicator.medium {
    border-color: #FFC107;
    background: linear-gradient(135deg, white 0%, #FFFEF0 100%);
}

.indicator.low {
    border-color: #28A745;
    background: linear-gradient(135deg, white 0%, #F0FFF0 100%);
}

.indicator h4 {
    margin-top: 0;
    color: #2C1810;
}

.urgency {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(139, 0, 0, 0.1);
    color: #8B0000;
    margin-top: 10px;
}

/* Spiritual Aspects */
.pillar-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.pillar-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, white 0%, #FFF8F5 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #8B0000;
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-symbol {
    font-size: 3rem;
    color: #8B0000;
    margin-bottom: 15px;
    font-weight: bold;
}

.pillar-card h4 {
    color: #2C1810;
    margin: 15px 0 10px 0;
    font-size: 1.1rem;
}

.pillar-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* Author Section */
.author-section {
    background: linear-gradient(135deg, #FFF8F5 0%, #F0E8E0 100%);
    padding: 40px;
    border-radius: 20px;
    margin: 50px 0;
    border: 2px solid #8B0000;
}

.author-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #8B0000;
    flex-shrink: 0;
}

.author-info h3 {
    color: #8B0000;
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}

.author-bio {
    color: #2C1810;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-lead {
        font-size: 1.1rem;
    }
    
    .article-content .container {
        padding: 30px 20px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .technique-levels,
    .conditions-grid,
    .indicator-grid,
    .pillar-cards {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .quiz-options {
        grid-template-columns: 1fr;
    }
    
    .author-content {
        flex-direction: column;
        text-align: center;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .article-content .container {
        padding: 40px 30px;
    }
    
    .technique-levels {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .conditions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .pillar-cards {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .technique-levels {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .conditions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}