/**
 * CaniGuide – Styles Page Races de Chien
 * VERSION RESTRUCTURÉE : badges humain-centric dominants
 */

/* ============================================================
   VARIABLES GLOBALES
============================================================ */
:root {
    --primary-color: #2c5f9a;
    --secondary-color: #4a90e2;
    --accent-color: #EA7D1F;
    --text-dark: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
    --header-height: 0px; /* Ajustez selon la hauteur réelle de votre header Astra */
}

/* FIX ASTRA – STICKY ARCHIVE RACES */
.post-type-archive-races #content,
.post-type-archive-races .site-content,
.post-type-archive-races .ast-container,
.post-type-archive-races #primary,
.post-type-archive-races .ast-article,
.post-type-archive-races .entry-content {
    overflow: visible !important;
}

/* ============================================================
   STRUCTURE GLOBALE
============================================================ */
.races-wrapper {
    width: 100%;
    background: #fff;
}

/* ============================================================
   HERO (Titre + recherche)
============================================================ */
.races-hero {
    background: linear-gradient(to bottom, #f5f3ef, #ffffff);
    padding: clamp(36px, 6vw, 60px) 20px clamp(30px, 5vw, 20px);
    text-align: center;
}

.races-hero .hero-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.races-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: #3b2a18;
    margin-bottom: 24px;
}

.races-subtitle {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #5a4634;
    margin-bottom: 32px;
}

.races-intro p {
    margin-bottom: 12px;
}

.races-intro p:last-child {
    margin-bottom: 0;
}

@media (min-width: 769px) {
    .races-subtitle {
        margin-bottom: 24px;
    }
}

.hero-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    max-width: 450px;
    margin: 20px auto 0;
}

.hero-search input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
}

.search-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.intro-toggle {
    display: none;
}

/* =========================================================
   META ÉDITORIALE – HUB /RACES/ VERSION DISCRÈTE
========================================================= */

.page-template-page-races .editorial-meta {
    max-width: 800px;
    margin: 10px auto 22px;
    font-size: 0.72rem;
    color: #8f8f8f;
    text-align: center;
}

.page-template-page-races .editorial-meta a {
    color: inherit;
    text-decoration: none;
}

.page-template-page-races .editorial-meta a:hover {
    text-decoration: underline;
}

/* ============================================================
   SECTION PRINCIPALE
============================================================ */
.races-content {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

/* ============================================================
   BOUTON MOBILE – OUVERTURE DES FILTRES
============================================================ */
.filters-toggle-btn {
    display: none;
}

/* ============================================================
   LAYOUT PRINCIPAL (Filtres + Liste)
   align-items: start est indispensable : sans lui, chaque cellule
   s'étire sur toute la hauteur du grid et le sticky n'a rien à traverser.
============================================================ */
.races-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 10px;
    align-items: start; /* ← correctif clé sticky dans un grid */
}

/* ============================================================
   SIDEBAR – STICKY DESKTOP
   align-self: start redondant avec align-items sur le parent,
   mais on l'explicite pour la robustesse.
============================================================ */
.races-sidebar {
    position: sticky;
    top: calc(var(--header-height, 0px) + 20px);
    max-height: calc(100vh - var(--header-height, 0px) - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
    align-self: start;
}

.filters-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

/* ============================================================
   HEADER FILTRES
============================================================ */
.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.filters-header-buttons {
    display: flex;
    gap: 10px;
}

.btn-reset {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-light);
}

/* ============================================================
   RESET ACTIF (quand filtres actifs)
============================================================ */
.btn-reset.active-reset {
    background: #EA7D1F;
    border-color: #EA7D1F;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(234, 125, 31, 0.25);
}

.btn-reset.active-reset:hover {
    background: #d96f18;
    border-color: #d96f18;
}

.btn-reset:hover {
    background: var(--bg-light);
}

.filters-close-btn {
    display: none;
    background: var(--accent-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
}

/* ============================================================
   GROUPES DE FILTRES
============================================================ */
.filter-group {
    margin-bottom: 14px;
}

.filter-label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.filter-group details {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.filter-group summary {
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 14px;
    list-style: none;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-group summary::-webkit-details-marker {
    display: none;
}

.filter-group summary::after {
    content: "▾";
    font-size: 0.8rem;
    color: var(--text-light);
    transition: transform 0.2s ease;
}

.filter-group details[open] summary::after {
    transform: rotate(180deg);
}

.filter-group details > div,
.filter-group details > label,
.filter-group details > select {
    padding: 10px 14px;
}

.filter-group label {
    display: flex;
    align-items: center;
    padding: 6px 0;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-group input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

.filter-group select {
    width: 100%;
    padding: 8px 6px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    appearance: none;
    line-height: 1.1;
}

/* ============================================================
   TOOLBAR (Compteur + Tri)
============================================================ */
.races-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.results-count {
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================================
   TRI DESKTOP – BOUTONS
============================================================ */
.desktop-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.sort-btn {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.25s ease;
}

.sort-btn:hover {
    background: var(--bg-light);
}

.sort-btn.active {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

@media (max-width: 768px) {
    .desktop-sort {
        display: none;
    }
    #sort-races {
        display: block;
    }
}

@media (min-width: 769px) {
    #sort-races {
        display: none;
    }
}

/* ============================================================
   RESET TOOLBAR (Bouton ✕)
============================================================ */
.btn-reset-toolbar {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    align-items: center;
    justify-content: center;
}

.btn-reset-toolbar:hover {
    background: var(--bg-light);
}

.btn-reset-toolbar.active-reset {
    display: flex;
    background: #EA7D1F;
    border-color: #EA7D1F;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(234, 125, 31, 0.25);
}

/* ============================================================
   GRID – LISTE DES RACES
============================================================ */
.races-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* ============================================================
   CARDS DES RACES
   – display flex colonne pour aligner le CTA en bas
   – hover sobre : pas de translateY, juste bordure + ombre
============================================================ */
.race-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
	text-decoration: none;
    color: inherit;
}

.race-card:hover {
    transform: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(44, 95, 154, 0.12);
}

.race-card {
    text-decoration: none;
    color: inherit;
}

.race-card:hover {
    text-decoration: none;
    color: inherit;
}

/* Image – position relative pour l'indicateur débutant absolu */
.race-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden; /* contient l'indicateur dans les bornes de l'image */
}

.race-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
   INDICATEUR DÉBUTANT – SUR L'IMAGE (coin supérieur droit)
   Affiché uniquement si la race convient (logique PHP côté template).
   Sobre, non intrusif. Fond sombre semi-transparent.
   Aucun état négatif affiché si la race ne convient pas.
============================================================ */
.race-badge-debutant {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1;
    white-space: nowrap;
}

/* ============================================================
   CONTENU CARTE
   flex: 1 pour que le CTA colle toujours en bas
============================================================ */
.race-card-content {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.race-card-infos {
    margin-top: auto;
}

.race-card-header {
    margin-bottom: 10px;
}

.race-card-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
    letter-spacing: -0.1px;
}

/* ============================================================
   BADGES – zone contenu
   Le badge secondaire .tag-debutant est masqué :
   il est remplacé par .race-badge-debutant sur l'image.
   Le badge hypoallergénique reste ici, seul dans sa zone.
   min-height: 0 évite tout espace réservé fantôme si la zone est vide.
============================================================ */
.race-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    min-height: 0;
}

.race-tag {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    border: 1px solid transparent;
}

.race-tag.tag-primary {
    font-size: 0.85rem;
    padding: 7px 14px;
}

.race-tag.tag-primary.tag-yes {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.race-tag.tag-primary.tag-no {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Badge débutant dans le contenu masqué — remplacé par l'indicateur image */
.race-tag.tag-secondary.tag-debutant {
    display: none;
}

/* ============================================================
   INFOS FACTUELLES
============================================================ */
.race-card-infos {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
	margin-top: auto;
}

.race-card-infos.two-columns {
    flex-direction: row;
    gap: 12px;
}

.race-info-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.race-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.race-info-item span:first-child {
    font-size: 1rem;
}

/* ============================================================
   PAGINATION + LOAD MORE – ALIGNEMENT PROPRE
============================================================ */

.races-pagination-row {
    position: relative;
    display: flex;
    align-items: center;
    margin: 40px 0;
}

/* Pagination à gauche */
.races-pagination-seo {
    display: flex;
    gap: 8px;
}

/* Load More centré VRAIMENT */
.load-more-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================================
   PAGINATION
============================================================ */

.pagination,
.navigation.pagination,
.races-pagination-seo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.pagination a,
.pagination span,
.navigation.pagination a,
.navigation.pagination span,
.races-pagination-seo a,
.races-pagination-seo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #452D16;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.pagination a:hover,
.navigation.pagination a:hover,
.races-pagination-seo a:hover {
    background: #EA7D1F;
    color: #ffffff;
}

.pagination .current,
.navigation.pagination .current,
.races-pagination-seo .current {
    background: #452D16;
    color: #ffffff;
    font-weight: 600;
}

/* ============================================================
   LOAD MORE – CENTRÉ VISUELLEMENT
============================================================ */

.load-more-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.btn-load-more {
    padding: 14px 32px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-load-more:hover {
    background: var(--secondary-color);
}

/* ============================================================
   RESPONSIVE MOBILE – PAGINATION + LOAD MORE
============================================================ */

@media (max-width: 768px) {

    .races-pagination-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 22px 0 16px;
        width: 100%;
    }

    /* Reset complet du desktop */
    .load-more-container {
        order: -1;
        position: static;
        transform: none;
        width: 100%;
        text-align: center;   /* 🔥 clé ici */
    }

    /* On centre le bouton via margin auto */
    .btn-load-more {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    /* Pagination centrée */
    .races-pagination-seo,
    .navigation.pagination,
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 8px;
    }

}

/* ============================================================
   LOADING + AUCUN RÉSULTAT
============================================================ */
.loading-initial {
    grid-column: 1/-1;
    padding: 80px 20px;
    text-align: center;
}

.spinner {
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.no-results {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
}

/* ============================================================
   MOBILE – CARTES 2 COLONNES OPTIMISÉES
   Catalogue dense mais lisible
============================================================ */
@media (max-width: 768px) {

    /* Grid */
    .races-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    /* Image */
    .race-card-image {
        aspect-ratio: 3/2;
    }

    /* Contenu */
    .race-card-content {
        padding: 12px 10px 14px;
    }

    /* Nom – max 2 lignes, jamais coupé brutalement */
    .race-card-name {
        font-size: 0.92rem;
        line-height: 1.25;
        margin-bottom: 6px;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Badge hypoallergénique */
    .race-tag.tag-primary {
        font-size: 0.72rem;
        padding: 5px 8px;
        text-align: center;
        line-height: 1.2;
        width: 100%;
    }

    /* Infos en colonne unique pour éviter surcharge */
    .race-card-infos.two-columns {
        flex-direction: column;
        gap: 4px;
        margin-bottom: 8px;
    }

    .race-info-item {
        font-size: 0.78rem;
        gap: 4px;
    }

    /* Pays + icône bien alignés */
    .race-info-item span:last-child {
        word-break: break-word;
    }

    /* CTA compact mais confortable */
    .race-card-cta {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
	
	.race-info-item span:last-child {
		word-break: normal;
		overflow-wrap: normal;
	}
	
	.race-card-header {
		min-height: 2.6em; /* hauteur pour 2 lignes */
		display: flex;
		align-items: flex-start;
	}

}

/* ============================================================
   RESPONSIVE MOBILE
============================================================ */
@media (max-width: 1024px) {

    .races-layout {
        grid-template-columns: 1fr;
        align-items: unset; /* annule le start du desktop dans ce contexte */
    }

    .filters-toggle-btn {
        display: block;
        width: 100vw;
        margin: 0 -20px 20px -20px;
        padding: 14px 20px;
        background: #452D16;
        color: white;
        border: none;
        font-size: 1rem;
        position: sticky;
        top: var(--header-height, 0px);
        z-index: 9999;
        line-height: 40px !important;
        height: auto !important;
    }

    /* En mobile la sidebar est un overlay fixed — le sticky desktop ne s'applique pas */
    .races-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 10000;
        align-self: unset;
    }

    .races-sidebar.open {
        transform: translateX(0);
    }

    .filters-wrapper {
        border: none;
        padding: 20px;
        height: 100%;
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }

    .filters-header {
        position: sticky;
        top: 0;
        background: white;
        padding: 16px 20px;
        z-index: 10001;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .filters-close-btn {
        display: block;
    }
}

@media (max-width: 1023px) {

    .races-toolbar {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 14px !important;
        gap: 0 !important;
    }

    .results-count {
        display: flex;
        align-items: center;
        font-size: 0.9rem;
    }

    .toolbar-right {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        width: auto !important;
        max-width: 220px !important;
        overflow: visible;
    }

    #sort-races {
        display: inline-block !important;
        width: 160px !important;
        min-width: 120px !important;
        padding: 4px 8px !important;
        font-size: 0.85rem !important;
    }

    .desktop-sort .sort-btn {
        display: none !important;
    }

    .races-extra-content-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px 0;
    }
}

@media (max-width: 768px) {

    .race-card-infos.two-columns {
        flex-direction: row;
        gap: 12px;
    }

    .race-info-column {
        flex: 1;
    }

    .race-card-tags {
        gap: 6px;
    }
}

/* ============================================================
   FILTRE A–Z – RACES
============================================================ */

.races-az-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 20px;
}

.races-az-filter button {
    padding: 6px 10px;
    min-width: 36px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #2c5f9a;
    cursor: pointer;
}

.races-az-filter button:disabled {
    background: #2c5f9a;
    color: #ffffff;
    border-color: #2c5f9a;
}

/* ============================================================
   A–Z DÉPLIANT MOBILE
============================================================ */

.races-az-toggle summary {
    cursor: pointer;
    font-weight: 600;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    list-style: none;
    margin-bottom: 12px;
}

.races-az-toggle summary::-webkit-details-marker {
    display: none;
}

@media (max-width: 768px) {
    .races-az-filter button {
        padding: 8px 12px;
        min-width: 40px;
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) {
    .races-az-toggle summary {
        display: none;
    }
}

/* ============================================================
   RESULTS COUNT – RESPONSIVE
============================================================ */

.results-count-compact {
    display: none;
}

@media (max-width: 768px) {
    .results-count-full {
        display: none;
    }

    .results-count-compact {
        display: inline;
        font-weight: 600;
    }
}

/* ============================================================
   TOC FULL WIDTH MOBILE / TABLET
============================================================ */

@media (max-width: 1023px) {

    .cg-toc {
        position: sticky;
        top: var(--header-height, 0px);
        z-index: 999;

        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);

        background: #EA7D1F;
        border: none;
        border-radius: 0;
        box-shadow: 0 4px 12px rgba(234, 125, 31, 0.25);
        overscroll-behavior: contain;
    }

}

/* ============================================================
   SECTION SEO ÉDITORIALE – ARCHIVE /RACES/
============================================================ */

.races-seo-section {
    margin-top: 30px;
    padding: 0 20px 30px;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
}

.races-seo-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 48px;
    align-items: start;
}

.races-seo-content {
    max-width: 1000px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.races-seo-content h2 {
    font-size: 1.7rem;
    margin-top: 50px;
    margin-bottom: 18px;
    color: #452D16;
    line-height: 1.3;
}

.races-seo-content h3 {
    font-size: 1.25rem;
    margin-top: 36px;
    margin-bottom: 12px;
    color: #523a1c;
}

.races-seo-content p {
    margin-bottom: 18px;
}

.races-seo-content ul {
    margin: 18px 0 24px;
    padding-left: 20px;
}

.races-seo-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.races-seo-toc {
    position: sticky;
    top: calc(var(--header-height, 0px) + 40px);
    align-self: start;
    max-height: calc(100vh - var(--header-height, 0px) - 60px);
    overflow-y: auto;
}

/* ============================================================
   RESPONSIVE – SECTION SEO
============================================================ */

@media (max-width: 1023px) {

    .races-seo-container {
        display: block;
    }

    .races-seo-content {
        max-width: 100%;
    }

    .races-seo-section {
        padding: 50px 20px;
    }

}