/*
Theme Name: Run Gran Child Theme
Theme URI: https://run-gran.themerex.net/
Description: Run Gran is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: ThemeREX
Author URI: https://themerex.net/
Version: 2.7.0
Tested up to: 6.8
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: run-gran
Template: run-gran
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

.ticker-wrap {
    display: flex;
    align-items: center;
    background: #111;
    color: #fff;
    overflow: hidden;
    height: 36px;
}

.ticker-label {
    background: #e30000;
    padding: 0 12px;
    font-weight: bold;
    white-space: nowrap;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-content {
    overflow: hidden;
    flex: 1;
}

.ticker-list {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    animation: ticker-scroll 20s linear infinite;
    white-space: nowrap;
}

.ticker-list a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.ticker-list a:hover {
    color: #e30000;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}




/* Hero Section Accueil */
.hero-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    font-family: inherit;
    overflow: hidden;
}

.hero-featured {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
}

.hero-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 40%, transparent 100%);
    z-index: 0;
}

.hero-featured-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    max-width: 55%;
    color: #fff;
}

.hero-cat {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #F72E0F;
    opacity: 1;
    display: block;
    margin-bottom: 8px;
}

.hero-featured-content h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #fff !important;
}

.hero-featured-content p {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 20px;
    color: #fff !important;
}

.hero-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid #F72E0F;
    border-radius: 30px;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    background: #F72E0F;
    transition: all 0.3s;
}

.hero-btn:hover {
    background: transparent;
    color: #F72E0F !important;
}

.hero-slider-wrap {
    display: flex;
    align-items: center;
    background: #111;
    width: 100%;
    overflow: hidden;
}

.hero-small-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100%;
    transition: transform 0.4s ease;
}

.hero-small-item {
    min-width: 25% !important;
    max-width: 25% !important;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.15);
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.hero-small-item:last-child {
    border-right: none;
}

.hero-small-item a {
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    margin-top: 6px;
}

.hero-small-item .hero-cat {
    color: #F72E0F;
}

.hero-small-item a:hover {
    color: #F72E0F !important;
}

.hero-arrow {
    background: #F72E0F;
    color: #fff;
    border: none;
    padding: 0 14px;
    font-size: 20px;
    cursor: pointer;
    height: 100%;
    min-height: 70px;
    transition: background 0.3s;
    flex-shrink: 0;
}

.hero-arrow:hover {
    background: #c0200a;
}






/* Section Matchs CDM */
.cdm-section {
    width: 100%;
    background: #111;
    padding: 16px 0;
    font-family: inherit;
}

.cdm-label {
    text-align: center;
    color: #F72E0F;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.cdm-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    padding: 0 16px;
}

.cdm-tab {
    background: #222;
    color: #fff;
    border: 2px solid transparent;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.cdm-tab:hover {
    border-color: #F72E0F;
    color: #F72E0F;
}

.cdm-tab-active {
    background: #F72E0F !important;
    color: #fff !important;
    border-color: #F72E0F !important;
}

.cdm-slider-wrap {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.cdm-list {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.4s ease;
    flex: 1;
    overflow: hidden;
}

.cdm-item {
    min-width: calc(100% / 4);
    box-sizing: border-box;
    flex-shrink: 0;
    padding: 12px;
    border-right: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.cdm-drapeaux {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cdm-flag-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.cdm-flag {
    width: 52px;
    height: 52px;
    font-size: 28px;
    background: #222;
    border-radius: 50%;
    border: 3px solid #F72E0F;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cdm-nom {
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.cdm-vs {
    color: #F72E0F;
    font-weight: 800;
    font-size: 13px;
}

.cdm-date {
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    margin-top: 8px;
}

.cdm-arrow {
    background: #F72E0F;
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.cdm-arrow:hover {
    background: #c0200a;
}