/**
 * CMBN Mobility Data Blocks - Accessibilite Transports
 * Custom styles for /accessibilite-transports-normandie/
 * Version: 2026.08.27
 */

.cmbn-access-page {
    line-height: 1.6;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.cmbn-access-page .hero-blue {
    background-color: #0056b3;
    color: #ffffff;
    padding: 60px 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: left;
}

.cmbn-access-page .hero-blue .kicker {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #e6f0ff;
}

.cmbn-access-page .hero-blue h1 {
    font-size: 2.5rem;
    margin: 0 0 20px 0;
    color: #ffffff;
    line-height: 1.2;
}

.cmbn-access-page .hero-blue .chapo {
    font-size: 1.2rem;
    max-width: 800px;
    opacity: 0.95;
}

/* Warning Block */
.cmbn-access-page .warning-block {
    background-color: #eef6ff;
    border-left: 5px solid #0056b3;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 0 8px 8px 0;
}

.cmbn-access-page .warning-block h2 {
    color: #004494;
    margin-top: 0;
}

.cmbn-access-page .warning-block ul {
    list-style: none;
    padding: 0;
}

.cmbn-access-page .warning-block li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.cmbn-access-page .warning-block li::before {
    content: "!";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #0056b3;
}

/* Standard Sections */
.cmbn-access-page section {
    margin-bottom: 40px;
}

.cmbn-access-page h2 {
    font-size: 1.8rem;
    color: #0056b3;
    margin-bottom: 20px;
    border-bottom: 2px solid #eef6ff;
    padding-bottom: 10px;
}

/* Checklist cards (ordered list) */
.cmbn-access-page ol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.cmbn-access-page ol li {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 25px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.cmbn-access-page ol li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    display: block;
    width: 30px;
    height: 30px;
    background: #0056b3;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* CTA Section */
.cmbn-access-page .cta-section {
    background-color: #f8f9fa;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    margin: 60px 0;
}

.cmbn-access-page .cta-section p {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 25px;
}

.cmbn-access-page .btn {
    display: inline-block;
    background-color: #0056b3;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 10px;
    min-height: 44px;
    min-width: 44px;
    transition: background-color 0.2s;
}

.cmbn-access-page .btn:hover {
    background-color: #004494;
    color: #ffffff;
}

/* Sources */
.cmbn-access-page .sources {
    border-top: 1px solid #e0e0e0;
    padding-top: 40px;
    font-size: 0.95rem;
}

.cmbn-access-page .sources-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.cmbn-access-page .sources-list li {
    margin-bottom: 10px;
}

.cmbn-access-page .sources-list a {
    color: #0056b3;
    text-decoration: none;
}

.cmbn-access-page .sources-list a:hover {
    text-decoration: underline;
}

.cmbn-access-page .disclaimer {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 5px;
    color: #555;
    font-size: 0.9rem;
}

/* Accessibility & Utils */
.cmbn-access-page a:focus-visible,
.cmbn-access-page .btn:focus-visible {
    outline: 3px solid #ffcc00;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .cmbn-access-page * {
        transition: none !important;
        animation: none !important;
    }
}

/* Responsive 390px (Mobile) */
@media screen and (max-width: 390px) {
    .cmbn-access-page .hero-blue {
        padding: 30px 20px;
    }
    
    .cmbn-access-page .hero-blue h1 {
        font-size: 1.8rem;
    }
    
    .cmbn-access-page .btn {
        display: block;
        margin: 10px 0;
    }
    
    .cmbn-access-page ol {
        grid-template-columns: 1fr;
    }
}
