/* ========================================
   A.S.A.D — OM.fr Style × Blue Electric
   ======================================== */

/* Prose overrides for rich text */
.prose.prose-invert {
    color: #8A9AAA;
}
.prose.prose-invert h2,
.prose.prose-invert h3,
.prose.prose-invert h4 {
    color: #0A1628;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: -0.02em;
    line-height: 0.9;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.prose.prose-invert h2 { font-size: 2.75rem; }
.prose.prose-invert h3 { font-size: 2rem; }
.prose.prose-invert p {
    color: #5A6A7A;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.prose.prose-invert a {
    color: #00A9E0;
    text-decoration: none;
    font-weight: 600;
}
.prose.prose-invert a:hover {
    text-decoration: underline;
}
.prose.prose-invert ul,
.prose.prose-invert ol {
    color: #5A6A7A;
    font-family: 'Montserrat', sans-serif;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.prose.prose-invert li {
    margin-bottom: 0.5rem;
}
.prose.prose-invert blockquote {
    border-left: 3px solid #00A9E0;
    padding-left: 1.5rem;
    color: #0A1628;
    font-style: italic;
}
.prose.prose-invert img {
    border-radius: 8px;
}
.prose.prose-invert strong {
    color: #0A1628;
    font-weight: 700;
}

/* Line clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Leaflet map */
.leaflet-container {
    background: #F5F7FA !important;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px;
}

/* Form focus */
input:focus, textarea:focus, select:focus {
    border-color: #00A9E0 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 169, 224, 0.15);
}

/* Table responsive */
@media (max-width: 768px) {
    .prose.prose-invert h2 { font-size: 2rem; }
    .prose.prose-invert h3 { font-size: 1.5rem; }
}

/* Selection */
::selection {
    background: rgba(0, 169, 224, 0.2);
    color: #0A1628;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background: #F5F7FA;
}
::-webkit-scrollbar-thumb {
    background: #00A9E0;
    border-radius: 3px;
}

/* Image lazy loading */
img[loading="lazy"] {
    background: #F5F7FA;
}

/* Section spacing OM.fr */
.section-om {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
@media (min-width: 768px) {
    .section-om {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
}
@media (min-width: 1024px) {
    .section-om {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

/* Dark card for matches */
.card-dark {
    background: #0A1628;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-dark:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(10,22,40,0.25);
}

/* Asymmetric grid for academy */
.grid-asymmetric {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .grid-asymmetric {
        grid-template-columns: 1.2fr 0.8fr;
        grid-template-rows: 1fr 1fr;
    }
    .grid-asymmetric > :first-child {
        grid-row: span 2;
    }
}
