/* ==========================================================================
   ARTICLE BASE — Shared foundation for all 5 WP article pages
   DLM E-Formation Theme v4.3
   Pages: formation-haccp-obligatoire, controle-sanitaire-restaurant,
          attestation-haccp, permis-exploitation-obligatoire, legislation-haccp
   Each page loads THIS file + its own page-specific CSS file.
   ========================================================================== */

/* ==========================================================================
   1. PAGE WRAPPER
   ========================================================================== */

.article-page,
.legislation-page {
    background: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   2. HERO BASE — color variants are in page-specific CSS files
   ========================================================================== */

.article-hero,
.legislation-hero {
    color: white;
    padding: 160px 20px 60px;
    margin: 0;
    text-align: center;
    margin-top: -100px;
}

.article-hero .hero-content,
.legislation-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-hero .page-title,
.legislation-hero .page-title {
    color: white !important;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 1.25rem 0;
    line-height: 1.3;
    text-align: center;
    display: block;
}

.article-hero .page-title i,
.legislation-hero .page-title i {
    color: #ffd700;
    margin-right: 0.5rem;
    font-size: 2rem;
    vertical-align: middle;
}

.article-hero .hero-subtitle,
.legislation-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
    text-align: center;
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.article-hero .hero-meta,
.article-hero p.hero-meta,
.article-hero .hero-meta i {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #fff !important;
    opacity: 1 !important;
}

/* ==========================================================================
   3. CONTENT WRAPPER + GRID LAYOUT
   ========================================================================== */

.article-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.legislation-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* 2-column article + sticky sidebar grid */
.article-grid-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 0 48px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 24px 0;
    align-items: start;
}

.article-main-col {
    min-width: 0; /* prevent grid column blowout */
}

/* Override inner wrapper centering — grid handles outer layout */
.article-grid-layout .article-content-wrapper,
.article-grid-layout .legislation-content-wrapper {
    max-width: none;
    margin: 0;
}

/* ==========================================================================
   4. STICKY SIDEBAR
   ========================================================================== */

.article-sidebar-col {
    position: sticky;
    top: 120px; /* clears fixed premium header */
    align-self: start; /* CRITICAL: required for sticky in CSS Grid */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CTA card — dark navy gradient */
.sidebar-cta-card {
    background: linear-gradient(135deg, #102a43 0%, #1e3a5f 50%, #243b53 100%);
    border: none;
    border-radius: 16px;
    padding: 28px;
    overflow: hidden;
    position: relative;
}

/* Decorative circle */
.sidebar-cta-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(212, 160, 18, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

/* Color variant per article type */
.sidebar-cta-card.sidebar-cta--haccp {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.sidebar-cta-card.sidebar-cta--pe {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
}

.sidebar-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 160, 18, 0.15);
    border: 1px solid rgba(212, 160, 18, 0.35);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #d4a012;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.sidebar-cta-card h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
    position: relative;
}

.sidebar-cta-card > p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    margin: 0 0 14px;
    line-height: 1.5;
    position: relative;
}

.sidebar-price-tag {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 12px 0;
    margin-bottom: 14px;
    border-top: 1px solid rgba(212, 160, 18, 0.2);
    border-bottom: 1px solid rgba(212, 160, 18, 0.2);
    position: relative;
}

.sidebar-price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #d4a012;
    line-height: 1;
}

.sidebar-price-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.3;
}

.sidebar-features {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    position: relative;
}

.sidebar-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    margin-bottom: 7px;
    line-height: 1.4;
}

.sidebar-features li i {
    color: #fbbf24;
    flex-shrink: 0;
    font-size: 0.75rem;
    margin-top: 3px;
    width: 12px;
}

.btn-sidebar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #d4a012 0%, #b8860b 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none !important;
    padding: 13px 20px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 160, 18, 0.35);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.btn-sidebar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212, 160, 18, 0.5);
}

.sidebar-secondary-cta {
    margin-top: 10px;
    text-align: center;
    position: relative;
}

.sidebar-secondary-cta a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
    text-decoration: underline;
}

.sidebar-secondary-cta a:hover {
    color: #d4a012;
    text-decoration: none;
}

/* Info card — light blue-grey */
.sidebar-info-card {
    background: #f0f4f8;
    border: 1px solid #dde5ef;
    border-radius: 16px;
    padding: 20px;
}

.sidebar-info-title {
    font-weight: 700;
    font-size: 0.82rem;
    color: #102a43;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sidebar-info-title i {
    color: #d4a012;
}

.sidebar-info-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    color: #486581;
    line-height: 1.4;
}

.sidebar-info-item i {
    color: #102a43;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 0.72rem;
}

/* ==========================================================================
   5. QUICK NAVIGATION
   Default accent: red (#dc3545). Overridden per page in page-specific CSS.
   ========================================================================== */

.article-nav,
.legislation-nav {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
}

.legislation-nav {
    position: static !important;
}

.article-nav h3,
.legislation-nav h3 {
    color: #2c3e50;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-nav-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.quick-nav-list li a {
    display: block;
    padding: 8px 12px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    color: #495057;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.quick-nav-list li a:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.quick-nav-list li a i {
    font-size: 0.75rem;
    margin-right: 6px;
    opacity: 0.7;
}

/* ==========================================================================
   6. CONTENT SECTIONS
   Default accent: red (#dc3545). Overridden per page in page-specific CSS.
   ========================================================================== */

.content-section {
    margin-bottom: 48px;
}

.section-header {
    border-bottom: 2px solid #dc3545;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.section-header h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 i {
    color: #dc3545;
    font-size: 1.25rem;
}

.section-content {
    color: #495057;
    line-height: 1.7;
}

.section-content p {
    margin-bottom: 16px;
}

.section-content strong {
    color: #2c3e50;
    font-weight: 600;
}

/* ==========================================================================
   7. LAW CARDS
   Default accent: red (#dc3545). Overridden per page in page-specific CSS.
   ========================================================================== */

.legal-framework {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.law-card {
    background: #f8f9fa;
    border-left: 3px solid #dc3545;
    padding: 20px;
    border-radius: 4px;
}

.law-card h3 {
    color: #dc3545;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.law-reference {
    background: white;
    border: 1px solid #e9ecef;
    padding: 12px;
    border-radius: 4px;
    margin: 12px 0;
    font-size: 0.9rem;
}

.law-reference strong {
    color: #dc3545;
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.law-reference a {
    color: #0066cc;
    text-decoration: none;
}

.law-reference a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   8. QUOTE HIGHLIGHTS
   ========================================================================== */

.law-highlight {
    background: #fffbf0;
    border-left: 3px solid #ffc107;
    padding: 16px;
    margin: 16px 0;
    border-radius: 4px;
}

.law-highlight i {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.law-highlight blockquote {
    margin: 8px 0 0 0;
    font-style: italic;
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==========================================================================
   9. INFO BOXES
   ========================================================================== */

.info-box {
    padding: 16px;
    border-radius: 4px;
    margin: 20px 0;
    border-left: 3px solid;
    font-size: 0.95rem;
}

.info-box i {
    margin-right: 8px;
}

.info-box h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
}

.info-box p {
    margin: 0;
    line-height: 1.6;
}

.info-box.info {
    background: #e7f3ff;
    border-left-color: #0066cc;
    color: #004085;
}

.info-box.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.info-box.success {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.info-box.danger {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

/* ==========================================================================
   10. LISTS
   Default bullet: red (#dc3545). Overridden per page in page-specific CSS.
   ========================================================================== */

.section-content ul {
    list-style: none;
    padding-left: 0;
}

.section-content ul li {
    padding: 6px 0 6px 24px;
    position: relative;
    line-height: 1.6;
}

.section-content ul li:before {
    content: '•';
    color: #dc3545;
    font-weight: bold;
    position: absolute;
    left: 8px;
}

/* ==========================================================================
   11. ENTITY CARDS (default 2-column — overridden to 1-col in legislation)
   ========================================================================== */

.entity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.entity-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 20px;
}

.entity-card h3 {
    color: #2c3e50;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.entity-card ul li {
    font-size: 0.95rem;
}

/* ==========================================================================
   12. COMPARISON TABLE
   ========================================================================== */

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.comparison-table th {
    background: #2c3e50;
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table tr:nth-child(even) td {
    background: #f8f9fa;
}

.comparison-table .highlight-row td {
    background: #e7f3ff;
    font-weight: 600;
}

/* ==========================================================================
   13. LICENCE CARDS
   ========================================================================== */

.licence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.licence-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
    position: relative;
}

.licence-card h3 {
    color: #1a365d;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.licence-card .licence-tag {
    display: inline-block;
    background: #1a365d;
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.licence-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

/* ==========================================================================
   14. CHECKLIST + STEPS
   Steps default counter circle: red. Overridden per page in page-specific CSS.
   ========================================================================== */

.checklist {
    list-style: none !important;
    padding-left: 0 !important;
}

.checklist li {
    padding: 10px 0 10px 32px !important;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.checklist li:before {
    content: '\f058' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900;
    color: #28a745 !important;
    position: absolute;
    left: 4px !important;
    font-size: 1rem;
}

.checklist li.danger-item:before {
    content: '\f057' !important;
    color: #dc3545 !important;
}

.steps-list {
    counter-reset: step-counter;
    list-style: none !important;
    padding-left: 0 !important;
}

.steps-list li {
    counter-increment: step-counter;
    padding: 16px 16px 16px 56px !important;
    position: relative;
    background: #f8f9fa;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.steps-list li:before {
    content: counter(step-counter) !important;
    color: white !important;
    font-weight: 700;
    position: absolute;
    left: 12px !important;
    top: 50%;
    transform: translateY(-50%);
    background: #dc3545;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* ==========================================================================
   15. SANCTION LEVELS
   ========================================================================== */

.sanction-levels {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.sanction-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.sanction-item .level-badge {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: white;
    text-align: center;
    line-height: 1.2;
}

.sanction-item .level-badge.level-1 { background: #ffc107; color: #333; }
.sanction-item .level-badge.level-2 { background: #fd7e14; }
.sanction-item .level-badge.level-3 { background: #dc3545; }
.sanction-item .level-badge.level-4 { background: #721c24; }

.sanction-item h4 {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.sanction-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================================================
   16. FINAL CTA SECTION
   .cta-box default: purple (haccp/controle/attestation/legislation)
   .cta-box.cta-pe: navy blue (permis-exploitation)
   ========================================================================== */

.final-cta {
    background: #ffffff;
    padding: 32px 24px;
    margin: 32px 0 0 0;
}

.cta-box {
    max-width: 1192px;
    margin: 0 auto;
    background: linear-gradient(135deg, #7c5ccc 0%, #5e45b3 100%);
    border: none;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(124, 92, 204, 0.2);
}

.cta-box.cta-pe {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    box-shadow: 0 8px 24px rgba(26, 54, 93, 0.2);
}

.final-cta h2 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.final-cta .cta-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.cta-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.cta-features .feature i {
    color: #ffd700;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-xl {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background: #ffd700;
    color: #1f2937;
}

.btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    background: white;
    color: #1f2937;
}

/* ==========================================================================
   17. LEGAL SOURCES FOOTER
   ========================================================================== */

.legal-sources {
    margin-top: 24px;
    padding: 0 24px 40px;
}

.sources-box {
    max-width: 1192px;
    margin: 0 auto;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
}

.sources-box h3 {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.sources-box h3 i {
    color: #dc3545;
    margin-right: 8px;
}

.sources-box p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #495057;
    margin: 0;
}

.sources-box p strong {
    color: #2c3e50;
}

/* ==========================================================================
   18. RELATED ARTICLES
   ========================================================================== */

.related-articles {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 24px 2rem;
}

.related-articles h3 {
    font-family: 'Playfair Display', serif;
    color: #102a43;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-articles h3 i {
    color: #d4a012;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.related-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    border-left: 3px solid #102a43;
}

.related-card:hover {
    background: #fff;
    border-color: #d4a012;
    border-left-color: #d4a012;
    box-shadow: 0 4px 16px rgba(16, 42, 67, 0.1);
    transform: translateY(-2px);
}

.related-icon {
    font-size: 1.5rem;
    color: #102a43;
    margin-bottom: 0.5rem;
}

.related-card:hover .related-icon {
    color: #d4a012;
}

.related-title {
    font-weight: 700;
    color: #102a43;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-family: 'Inter', sans-serif;
}

.related-desc {
    font-size: 0.85rem;
    color: #486581;
    line-height: 1.45;
}

/* Legacy related card classes (used on some pages) */
.related-card h4 {
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.related-card p {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.related-card .read-link {
    color: #dc3545;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
}

/* ==========================================================================
   19. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .article-grid-layout {
        grid-template-columns: 1fr 260px;
        gap: 0 32px;
    }
}

@media (max-width: 860px) {
    .article-grid-layout {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .article-sidebar-col {
        position: static;
        order: -1; /* sidebar above article on mobile */
        gap: 16px;
    }

    .sidebar-cta-card {
        padding: 22px;
    }
}

@media (max-width: 768px) {
    .article-hero .page-title,
    .legislation-hero .page-title { font-size: 1.6rem; }
    .quick-nav-list { grid-template-columns: 1fr; }
    .entity-grid { grid-template-columns: 1fr; }
    .licence-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-features { flex-direction: column; align-items: center; }
    .final-cta h2 { font-size: 1.5rem; }
    .comparison-table { font-size: 0.85rem; }
    .comparison-table th,
    .comparison-table td { padding: 8px 10px; }
}

@media (max-width: 600px) {
    .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .article-hero,
    .legislation-hero { padding: 140px 16px 40px; }
    .article-content-wrapper,
    .legislation-content-wrapper { padding: 24px 16px 40px; }
    .section-header h2 { font-size: 1.25rem; }
    .sanction-item { flex-direction: column; }
}

/* ==========================================================================
   FAQ Section — shared across all article pages
   ========================================================================== */
.faq-section .section-header { margin-bottom: 2rem; }
.faq-section .section-header h2 { font-size: 1.75rem; color: #2c3e50; }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover { border-color: #102a43; }

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
}

.faq-question i { color: #102a43; font-size: 1.1rem; flex-shrink: 0; }
.faq-question h3 { margin: 0; color: #2c3e50; font-size: 1rem; font-weight: 600; flex: 1; }

.faq-answer {
    padding: 1.25rem 1.5rem;
    color: #495057;
    line-height: 1.8;
    border-top: 1px solid #e9ecef;
}

.faq-answer p { margin: 0 0 0.75rem; }
.faq-answer p:last-child { margin-bottom: 0; }
