/**
 * Blocks CSS - ACF Blocks Styles
 * @package SportBreak
 */

/* Section Block — spacing between content blocks in same container */
.block-section > .container > *:not(.section-header):not(.block-section__footer) + *:not(.block-section__footer) {
    margin-top: 50px;
}

.block-section__footer {
    padding: 25px 10px 0 10px;
    text-align: center;
    font-style: italic;
    opacity: 0.8;
    font-size: 90%;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

/* ========================================
   COMMON BACKGROUNDS
   ======================================== */

.bg-light {
    background: var(--light-bg);
}

.bg-white {
    background: var(--white);
}

.bg-yellow {
    background: linear-gradient(135deg, #F3C21F 0%, #edb90e 100%);
}

.bg-purple {
    background: linear-gradient(135deg, var(--purple) 0%, #23233d 100%);
    color: var(--white);
}

.bg-black {
    background: var(--dark);
    color: var(--white);
}

/* Pattern overlay */
.has-pattern {
    position: relative;
}

.has-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.pattern-diagonal::before {
    background-image: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.02) 10px,
        rgba(0, 0, 0, 0.02) 20px
    );
}

.pattern-diagonal-white::before {
    background-image: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.02) 10px,
        rgba(255, 255, 255, 0.02) 20px
    );
}

.pattern-logo-light::before,
.pattern-logo-dark::before {
    background-image: url('../images/logo-bear-tile.png');
    background-size: 120px 120px;
    background-repeat: repeat;
}

.pattern-logo-light::before {
    opacity: 0.06;
    filter: invert(1);
}

.pattern-logo-dark::before {
    opacity: 0.04;
}

.pattern-badge-light::before,
.pattern-badge-dark::before {
    background-image: url('../images/logo-badge-tile.png');
    background-size: 160px 160px;
    background-repeat: repeat;
}

.pattern-badge-light::before {
    opacity: 0.07;
    filter: grayscale(1) invert(1);
}

.pattern-badge-dark::before {
    opacity: 0.05;
    filter: grayscale(1);
}

.has-pattern > .container {
    position: relative;
    z-index: 1;
}

/* ========================================
   SECTION HEADER (for blocks with titles)
   ======================================== */

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

.section-header--center {
    text-align: center;
}

.section-header--left {
    text-align: left;
}

.section-header--right {
    text-align: right;
}

.section-header--on-dark h2 {
    color: var(--white);
}

.section-header--on-dark p {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   BLOCK FOOTER (content below cards/items)
   ======================================== */

.block-cards-grid__footer,
.block-cards-slider__footer,
.block-media-block__footer {
    margin-top: 40px;
    text-align: center;
}

.block-cards-grid__footer p,
.block-cards-slider__footer p,
.block-media-block__footer p {
    color: var(--text-muted);
    font-size: 15px;
}

.footer--on-dark p {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   HERO BLOCK
   ======================================== */

.block-hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    margin-top: calc(var(--header-height) * -1);
    padding-top: var(--header-height);
}

.block-hero--with-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.block-hero--minimal {
    height: 60vh;
    min-height: 400px;
}

.block-hero__content {
    position: relative;
    z-index: 2;
}

.block-hero__badge {
    display: inline-block;
    background: var(--purple);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.block-hero__title {
    font-family: 'Outfit', sans-serif;
    font-size: 100px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 0.9;
    color: var(--white);
}

.block-hero__baseline {
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

.block-hero__ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Hero Breadcrumb */
.block-hero__breadcrumb {
    position: absolute;
    bottom: 20px;
    left: 30px;
    z-index: 2;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.3px;
}

.block-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.block-hero__breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.block-hero__breadcrumb .sep {
    margin: 0 6px;
    opacity: 0.4;
}

.block-hero__breadcrumb .current {
    color: rgba(255, 255, 255, 0.7);
}

.block-hero__scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

/* Hero Video Background */
.block-hero--video {
    background: var(--dark);
}

.block-hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Hero Video Embed — Background mode (YouTube/Vimeo) */
/* Simulates object-fit: cover for iframes (16:9 aspect ratio) */
.block-hero__video-embed {
    overflow: hidden;
    pointer-events: none;
}

/* Video embed poster fallback (iOS/mobile where autoplay is blocked) */
/* Poster hidden by default — only visible when .is-fallback is set */
.block-hero__video-embed[data-video-poster],
.video-background-embed[data-video-poster] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: none !important;
}

.block-hero__video-embed.is-fallback,
.video-background-embed.is-fallback {
    background-image: var(--video-poster) !important;
}

.block-hero__video-embed.is-fallback iframe,
.video-background-embed.is-fallback iframe {
    display: none;
}

.block-hero__video-embed iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 177.78vh; /* 100vh * 16/9 — garantit la couverture en hauteur */
    height: 56.25vw; /* 100vw * 9/16 — garantit la couverture en largeur */
    transform: translate(-50%, -50%);
    border: 0;
}

.block-hero--video.block-hero--with-overlay::before {
    z-index: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* ========================================
   INFO BAR BLOCK
   ======================================== */

.block-info-bar {
    padding: 30px 0;
    border-top: 4px solid var(--yellow);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

.block-info-bar--dark {
    background: var(--dark);
    color: var(--white);
}

.block-info-bar--purple {
    background: var(--purple);
    color: var(--white);
}

.block-info-bar--yellow {
    background: var(--yellow);
    color: var(--dark);
    border-top-color: var(--dark);
}

.block-info-bar__items {
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.block-info-bar__item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.block-info-bar__item i {
    color: var(--yellow);
    font-size: 32px;
}

.block-info-bar--yellow .block-info-bar__item i {
    color: var(--dark);
}

.block-info-bar__item span {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 18px;
}

/* ========================================
   CARDS GRID BLOCK
   ======================================== */

.block-cards-grid {
    padding: var(--section-padding) 0;
}

.block-cards-grid--on-yellow {
    background: linear-gradient(135deg, #F3C21F 0%, #edb90e 100%);
}

.block-cards-grid--on-dark {
    background: linear-gradient(135deg, var(--purple) 0%, #23233d 100%);
    color: var(--white);
}

.block-cards-grid__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ========================================
   CARDS SLIDER BLOCK
   ======================================== */

.block-cards-slider {
    padding: var(--section-padding) 0;
}

.block-cards-slider__container {
    position: relative;
    overflow: visible;
}

.block-cards-slider__wrapper {
    overflow: hidden;
    padding: 10px 0 20px;
    margin: -10px 0 -20px;
}

.block-cards-slider__track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    touch-action: pan-y pinch-zoom;
}

.block-cards-slider__card {
    width: calc((100% - 60px) / 3);
    flex-shrink: 0;
}

.block-cards-slider__nav {
    position: absolute;
    top: 50%;
    width: calc(100% + 120px);
    left: -60px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
}

.block-cards-slider__nav .slider-btn {
    pointer-events: auto;
}

/* ========================================
   PARALLAX BANNER BLOCK
   ======================================== */

.block-parallax-banner {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
}

.block-parallax-banner--dark {
    background-color: var(--dark);
}

.block-parallax-banner--purple {
    background-color: var(--purple);
}

.block-parallax-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.block-parallax-banner__pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--dark) 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.4;
    z-index: 2;
}

.block-parallax-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.4) 50%, rgba(33, 33, 33, 0.9) 100%);
    z-index: 3;
}

.block-parallax-banner__content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    color: var(--white);
}

.block-parallax-banner__icon {
    font-size: 40px;
    color: var(--yellow);
    margin-bottom: 20px;
}

.block-parallax-banner__title {
    font-size: 52px;
    margin-bottom: 20px;
    color: var(--yellow);
}

.block-parallax-banner__description {
    font-size: 20px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   FAQ BLOCK
   ======================================== */

.block-faq {
    padding: var(--section-padding) 0;
}

.block-faq--white {
    background: var(--white);
}

.block-faq--light {
    background: var(--light-bg);
}

.block-faq__items {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    border-color: var(--yellow);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.faq-item.active {
    border-color: var(--purple);
    box-shadow: 0 10px 30px rgba(49, 49, 85, 0.08);
}

.faq-question {
    padding: 22px 30px;
    background: #fcfcfd;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--purple);
    font-size: 16px;
    transition: background 0.3s;
}

.faq-item:hover .faq-question {
    background: #fff;
}

.faq-item.active .faq-question {
    background: #fff;
    color: var(--dark);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--yellow);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.faq-answer__inner {
    padding: 0 30px 30px;
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px solid #eee;
    padding-top: 20px;
    color: var(--text-muted);
}

/* ========================================
   REVIEWS BLOCK (with Partners & Social)
   ======================================== */

.block-reviews {
    padding: var(--section-padding) 0;
}

.block-reviews__header {
    text-align: center;
    margin-bottom: 60px;
}

.block-reviews__google-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.block-reviews__google-badge img {
    height: 24px;
}

.block-reviews__google-badge span {
    font-weight: 700;
    font-size: 18px;
}

.block-reviews__stars {
    color: #fbbc05;
    font-size: 20px;
    margin-bottom: 20px;
}

.block-reviews__rating {
    color: var(--text-main);
    font-size: 16px;
    margin-left: 10px;
    font-weight: 600;
}

.block-reviews__container {
    position: relative;
    overflow: visible;
    margin-bottom: 60px;
}

.block-reviews__wrapper {
    overflow: hidden;
    padding: 15px 0;
    margin: -15px 0;
}

.block-reviews__track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    touch-action: pan-y pinch-zoom;
}

.block-reviews__card {
    width: calc((100% - 60px) / 3);
    flex-shrink: 0;
}

.block-reviews__nav {
    position: absolute;
    top: 50%;
    width: calc(100% + 120px);
    left: -60px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
}

.block-reviews__nav .slider-btn {
    pointer-events: auto;
}

/* Partners section */
.block-reviews__partners {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.block-reviews__partners-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.block-reviews__partners-container {
    position: relative;
    padding: 0 50px;
}

.block-reviews__partners-wrapper {
    overflow: hidden;
}

.block-reviews__partners-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.block-reviews__partner-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-reviews__partners-track img {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.3s;
}

.block-reviews__partners-track a:hover img,
.block-reviews__partners-track img:hover {
    opacity: 0.7;
}

.block-reviews__partners-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.block-reviews__partners-nav .slider-btn {
    pointer-events: auto;
}

.slider-btn--small {
    width: 36px;
    height: 36px;
    font-size: 12px;
}

/* Social section */
.block-reviews__social {
    margin-top: 40px;
    text-align: center;
}

.block-reviews__social-title {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
}

.block-reviews__social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.block-reviews__social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--purple);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s;
}

.block-reviews__social-link:hover {
    background: var(--yellow);
    color: var(--dark);
    transform: translateY(-3px);
}

/* ========================================
   PARTNERS LOGOS BLOCK
   ======================================== */

.block-partners-logos__title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.block-partners-logos__container {
    background: var(--white);
    border-radius: 99px;
    padding: 20px 60px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.block-partners-logos__container {
    overflow: hidden;
}

.block-partners-logos__container .marquee__track img {
    height: 40px;
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity 0.3s, filter 0.3s;
    flex-shrink: 0;
}

.block-partners-logos__container .marquee__track img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* ========================================
   SOCIAL FOLLOW BLOCK
   ======================================== */

.block-social-follow {
    text-align: center;
    padding: 60px 0;
}

.block-social-follow__title {
    margin-bottom: 30px;
    font-size: 20px;
}

.block-social-follow__links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.block-social-follow__link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--purple);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s;
}

.block-social-follow__link:hover {
    background: var(--yellow);
    color: var(--dark);
    transform: translateY(-3px);
}

/* ========================================
   CONTACT FORM BLOCK
   ======================================== */

.block-contact-form {
    padding: var(--section-padding) 0;
}

.block-contact-form--purple {
    background: linear-gradient(135deg, var(--purple) 0%, #252540 100%);
    color: var(--white);
}

.block-contact-form--purple h2 {
    color: var(--white);
}

.block-contact-form__header {
    text-align: center;
    margin-bottom: 40px;
}

.block-contact-form__header p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto;
}

/* ========================================
   PRACTICAL INFO BLOCK
   ======================================== */

.block-practical-info {
    padding: var(--section-padding) 0;
}

.block-practical-info__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.block-practical-info__map {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    height: calc(100% - 60px);
    border-radius: 12px;
    overflow: hidden;
}

.block-practical-info__map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-practical-info__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Media right variant: swap columns */
.block-practical-info__grid--media-right {
    direction: rtl;
}

.block-practical-info__grid--media-right > * {
    direction: ltr;
}

.block-practical-info__card {
    background: var(--white);
    padding: 60px;
    margin-left: -60px;
    box-shadow: var(--shadow-strong);
    border-radius: 12px;
    z-index: 2;
    position: relative;
}

.block-practical-info__grid--media-right .block-practical-info__card {
    margin-left: 0;
    margin-right: -60px;
}

.block-practical-info__card h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.block-practical-info__contact-info {
    margin-bottom: 25px;
}

.block-practical-info__contact-info p {
    margin-bottom: 8px;
}

.block-practical-info__contact-info a {
    color: var(--purple);
    text-decoration: none;
}

.block-practical-info__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.block-practical-info__buttons-row {
    display: flex;
    gap: 12px;
}

.block-practical-info__buttons-row .btn {
    flex: 1;
    padding: 12px 18px;
    font-size: 14px;
}

/* ========================================
   ACTIVITY CARDS (shared slider + grid)
   ======================================== */

.activity-card-subtitle {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 15px;
}

/* ========================================
   ACTIVITIES GRID (auto section partial)
   ======================================== */

.block-activities-grid {
    display: grid;
    gap: 30px;
}

.block-activities-grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.block-activities-grid--cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .block-activities-grid--cols-3,
    .block-activities-grid--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .block-activities-grid--cols-3,
    .block-activities-grid--cols-4 {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ========================================
   BLOG GRID (auto section partial)
   ======================================== */

.block-blog-grid {
    display: grid;
    gap: 30px;
}

.block-blog-grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.block-blog-grid--cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.block-blog-grid .card-body .post-date {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 500;
}

.block-blog-grid .card-body h3 {
    margin-bottom: 15px;
}

.block-blog-grid .card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.block-blog-grid .card-body h3 a:hover {
    color: var(--yellow);
}

/* Blog pagination */
.block-blog-grid__pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.block-blog-grid__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--white);
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.block-blog-grid__pagination .page-numbers:hover {
    border-color: var(--yellow);
    color: var(--dark);
}

.block-blog-grid__pagination .page-numbers.current {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--dark);
}

.block-blog-grid__pagination .page-numbers.prev,
.block-blog-grid__pagination .page-numbers.next {
    font-size: 14px;
}

@media (max-width: 992px) {
    .block-blog-grid--cols-3,
    .block-blog-grid--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .block-blog-grid--cols-3,
    .block-blog-grid--cols-4 {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ========================================
   SINGLE ARTICLE
   ======================================== */

/* Hero article */
.block-hero--article {
    min-height: 50vh;
}

.article-hero__categories {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-hero__category {
    display: inline-block;
    background: var(--yellow);
    color: var(--dark);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-hero__meta {
    margin-top: 20px;
    font-size: 16px;
    opacity: 0.9;
}

.article-hero__meta i {
    margin-right: 6px;
}

/* Article content prose */
.blog-article-content {
    max-width: 780px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.blog-article-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 30px;
    font-weight: 800;
    margin: 50px 0 20px;
    color: var(--dark);
}

.blog-article-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 15px;
    color: var(--dark);
}

.blog-article-content p {
    margin-bottom: 20px;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-article-content li {
    margin-bottom: 10px;
}

.blog-article-content blockquote {
    border-left: 4px solid var(--yellow);
    padding: 20px 25px;
    margin: 30px 0;
    background: rgba(243, 194, 31, 0.08);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.blog-article-content a {
    color: var(--purple);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-article-content a:hover {
    color: var(--yellow);
}

/* Post date in slider cards */
.block-cards-slider__card .post-date {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 500;
}

.block-cards-slider__card .card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.block-cards-slider__card .card-body h3 a:hover {
    color: var(--yellow);
}

@media (max-width: 768px) {
    .block-hero--article {
        min-height: 40vh;
    }

    .blog-article-content {
        font-size: 16px;
    }

    .blog-article-content h2 {
        font-size: 24px;
        margin: 35px 0 15px;
    }

    .blog-article-content h3 {
        font-size: 20px;
        margin: 30px 0 12px;
    }
}

/* ========================================
   FORMULAS CARDS BLOCK
   ======================================== */

.block-formulas-cards {
    padding: var(--section-padding) 0;
}

.block-formulas-cards--on-dark {
    background: linear-gradient(135deg, var(--purple) 0%, #23233d 100%);
    color: var(--white);
}

.block-formulas-cards__note {
    text-align: center;
    margin-top: 50px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.formula-card .card-body h3 {
    color: var(--purple);
}

.formula-card .price {
    font-size: 24px;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 10px;
}

.formula-card .price-suffix {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.formula-card .features-list {
    font-size: 14px;
    margin-bottom: 25px;
}

.formula-card .features-list li {
    margin-bottom: 8px;
}

/* ========================================
   DOWNLOAD BANNER BLOCK
   ======================================== */

.block-download-banner {
    padding: 60px 0;
    text-align: center;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.block-download-banner--dark {
    background: var(--dark);
    color: var(--white);
}

.block-download-banner--light {
    background: var(--light-bg);
}

.block-download-banner h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.block-download-banner--dark h2 {
    color: var(--white);
}

.block-download-banner p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.8;
}

/* ========================================
   MEDIA BLOCK ON DARK
   ======================================== */

.media-block--on-dark .label {
    color: var(--yellow);
}

.media-block--on-dark h2 {
    color: var(--white);
}

.media-block--on-dark .content,
.media-block--on-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.media-block--on-dark .features-list li {
    color: rgba(255, 255, 255, 0.9);
}

.media-block--on-dark .tag-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.media-block--on-dark .tag-badge--link:hover {
    background: var(--yellow);
    color: var(--dark);
}

/* ========================================
   MEDIA BLOCK SLIDER
   ======================================== */

.media-image--slider {
    position: relative;
}

.media-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.media-slider__track {
    display: flex;
    transition: transform 0.5s ease;
    touch-action: pan-y pinch-zoom;
    cursor: grab;
}

.media-slider__track:active {
    cursor: grabbing;
}

/* Generic slider cursor (only when navigation is needed) */
.has-nav .block-cards-slider__track,
.has-nav .block-reviews__track,
.has-nav [data-slider-track] {
    cursor: grab;
}

.has-nav .block-cards-slider__track:active,
.has-nav .block-reviews__track:active,
.has-nav [data-slider-track]:active {
    cursor: grabbing;
}

.media-slider__slide {
    flex-shrink: 0;
    width: 100%;
    position: relative;
}

.media-slider__slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.media-slider__gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    pointer-events: none;
}

.media-slider__caption {
    position: absolute;
    bottom: 19px;
    left: 0;
    right: 0;
    color: var(--white);
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
}

.media-slider__nav {
    position: absolute;
    bottom: 46px;
    display: flex;
    gap: 10px;
    pointer-events: none;
    z-index: 10;
}

.media-slider__nav--right {
    right: 20px;
}

.media-slider__nav--left {
    left: 20px;
}

.media-slider__nav .slider-btn {
    pointer-events: auto;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}

.media-slider__nav .slider-btn:hover {
    background: var(--yellow);
    transform: scale(1.1);
}

.media-slider__nav .slider-btn i {
    font-size: 16px;
    color: var(--dark);
}

/* ========================================
   MEDIA CONTENT TAGS LIST
   ======================================== */

.media-content .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.media-content .tag-badge {
    background: var(--light-bg);
    color: var(--dark);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.media-content .tag-badge:hover {
    background: var(--yellow);
}

/* ========================================
   EXPERIENCE HIGHLIGHTS (mise en avant)
   ======================================== */

.experience-highlights {
    padding: 30px 0;
    border-top: 4px solid;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}

.experience-highlights__items {
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.experience-highlights__item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.experience-highlights__icon {
    font-size: 32px;
}

.experience-highlights__label {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 18px;
}

/* Style: Noir + Jaune */
.experience-highlights--noir-jaune {
    background: var(--dark);
    color: white;
    border-color: var(--yellow);
}

.experience-highlights--noir-jaune .experience-highlights__icon {
    color: var(--yellow);
}

/* Style: Violet + Jaune */
.experience-highlights--violet-jaune {
    background: var(--purple);
    color: white;
    border-color: var(--yellow);
}

.experience-highlights--violet-jaune .experience-highlights__icon {
    color: var(--yellow);
}

/* Style: Jaune + Noir */
.experience-highlights--jaune-noir {
    background: var(--yellow);
    color: var(--dark);
    border-color: var(--dark);
}

.experience-highlights--jaune-noir .experience-highlights__icon {
    color: var(--dark);
}

@media (max-width: 768px) {
    .experience-highlights__items {
        gap: 25px;
        flex-direction: column;
        text-align: center;
    }

    .experience-highlights__item {
        flex-direction: column;
        gap: 8px;
    }

    .experience-highlights__label {
        font-size: 15px;
    }
}

/* ========================================
   ACTIVITY GALLERY (template-activity.php)
   ======================================== */

.activity-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.activity-gallery__item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    position: relative;
}

.activity-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.activity-gallery__item:hover img {
    transform: scale(1.05);
}

.activity-gallery__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.activity-gallery__overlay i {
    color: #fff;
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.activity-gallery__item:hover .activity-gallery__overlay {
    opacity: 1;
}

.activity-gallery__item:hover .activity-gallery__overlay i {
    transform: scale(1);
}

/* Activity video embed */
.activity-video {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .activity-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
