/**
 * Block: bloc_blog_page_01
 * Description: Blog listing page with featured article, category tabs, and article grid
 * Version: 1.0.0
 * Phase: STATIC (aligned with Figma design)
 *
 * Figma Source: https://www.figma.com/design/I6wtq12NH17BottRCSlGff?node-id=9048:21829
 * Generated: 2026-02-02
 *
 * Color Palette:
 * - Text dark: #232425
 * - Brand blue: #3C0314
 * - Light gray: #E6E7E7
 * - Background: #FFFFFF
 */

/* ========================================
   BASE SECTION
   ======================================== */
.bloc-blog-page-01 {
    width: 100%;
    box-sizing: border-box;
    padding: 112px var(--section-padding-x, 64px);
    background-color: #ffffff;
    font-family: inherit;
}

.bloc-blog-page-01__container {
    max-width: var(--section-max-width, 1312px);
    margin: 0 auto;
    padding: 0;
}

/* ========================================
   INTRO SECTION
   ======================================== */
.bloc-blog-page-01__intro {
    text-align: center;
    max-width: 768px;
    margin: 0 auto 80px;
}

.bloc-blog-page-01__intro--wrapped {
    padding: var(--bloc-blog-page-01-intro-wrapper-padding, 24px);
}

.bloc-blog-page-01__intro--left {
    text-align: left;
    max-width: 100%;
    margin: 0 0 80px;
}

.bloc-blog-page-01__tagline {
    font-size: 16px;
    font-weight: 600;
    color: inherit;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bloc-blog-page-01__headline {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
    margin: 0 0 24px;
}

.bloc-blog-page-01__description {
    font-size: 18px;
    line-height: 1.5;
    color: inherit;
    margin: 0 0 32px;
}

/* Button */
.bloc-blog-page-01__button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.2s ease;
    cursor: pointer;
}

.bloc-blog-page-01__button--outline {
    color: #3C0314;
    background-color: transparent;
    border: 1px solid #3C0314;
}

.bloc-blog-page-01__button--outline:hover {
    color: #ffffff;
    background-color: #3C0314;
}

/* ========================================
   CONTENT SECTION
   ======================================== */
.bloc-blog-page-01__content {
    display: flex;
    flex-direction: column;
    gap: 40px;                       /* FIX: reduced vertical spacing */
}

/* ========================================
   FEATURED ARTICLE CARD (Horizontal)
   ======================================== */
.bloc-blog-page-01__featured-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    background-color: #ffffff;
    overflow: hidden;
}

.bloc-blog-page-01__featured-image {
    position: relative;
    flex: 1 0 0;
    min-width: 400px;
    width: auto;
    height: 411px;
    overflow: hidden;
    background-color: #E6E7E7;
}

.bloc-blog-page-01__image-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.bloc-blog-page-01__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E6E7E7;
    color: #999;
}

.bloc-blog-page-01__image-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

.bloc-blog-page-01__featured-content {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    min-width: 416px;
    padding: 24px;
}

/* FIX: Category Badge — small, pastel, discreet */
.bloc-blog-page-01__category {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    padding: 4px 8px;
    background-color: #E6E7E7;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0;
    width: fit-content;
}

.bloc-blog-page-01__category--blue {
    background-color: #E6E7E7;
    color: inherit;
}

/* Logo */
.bloc-blog-page-01__logo {
    font-size: 24px;
    font-weight: 700;
    color: inherit;
    margin: 0;
}

/* Card Title */
.bloc-blog-page-01__card-title {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
    color: inherit;
    margin: 0;
}

.bloc-blog-page-01__title-link {
    color: inherit;
    text-decoration: none;
}

.bloc-blog-page-01__card-description {
    font-size: 16px;
    line-height: 1.5;
    color: inherit;
    margin: 0;
}

/* Card Details (icon + text) */
.bloc-blog-page-01__card-details {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
}

.bloc-blog-page-01__detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bloc-blog-page-01__detail-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: inherit;
}

.bloc-blog-page-01__detail-text {
    font-size: 14px;
    line-height: 1.5;
    color: inherit;
}

/* CTA Link */
.bloc-blog-page-01__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 400;
    color: #3C0314;
    text-decoration: none;
    width: fit-content;
    transition: color 0.2s ease;
}

.bloc-blog-page-01__cta-link:hover {
    color: #3C0314;
}

.bloc-blog-page-01__cta-link--blue {
    color: #3C0314;
}

.bloc-blog-page-01__cta-link--blue:hover {
    color: #2a020e;
}

.bloc-blog-page-01__cta-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.bloc-blog-page-01__cta-link:hover .bloc-blog-page-01__cta-arrow {
    transform: translateX(4px);
}

/* ========================================
   ARTICLES SECTION (Tabs + Grid)
   ======================================== */
.bloc-blog-page-01__articles-section {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.bloc-blog-page-01__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.bloc-blog-page-01__tab {
    padding: 8px 24px;
    font-family: "Figtree", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #3C0314;
    background: #FFFFFF;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.bloc-blog-page-01__tab:hover {
    color: #3C0314;
    border-color: #3C0314;
}

.bloc-blog-page-01__tab--active {
    color: #3C0314;
    border-color: #3C0314;
}

/* Article Grid (3 columns per Figma) */
.bloc-blog-page-01__article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;                       /* FIX: more compact vertical spacing */
}

/* FIX-BLOG-HOME-DUO-001: when the source authors exactly 2 fixed cards and no slider,
   keep the desktop home layout in a real 2-up grid instead of leaving a phantom 3rd column. */
.bloc-blog-page-01__article-grid--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bloc-blog-page-01__article-grid-slider .bloc-blog-page-01__article-card {
    margin: 0;
    flex-direction: row;
}

.bloc-blog-page-01__article-grid-slider .bloc-blog-page-01__article-image {
    width: 50%;
    aspect-ratio: auto;
    min-height: 400px;
    border-radius: 8px 0 0 8px;
}

/* Slider arrows — bottom-right aligned (per Figma) */
.bloc-blog-page-01__article-grid-slider .us-slider__prev,
.bloc-blog-page-01__article-grid-slider .us-slider__next {
    top: auto;
    bottom: -48px;
    transform: none;
}
.bloc-blog-page-01__article-grid-slider .us-slider__prev {
    left: auto;
    right: 64px;
}
.bloc-blog-page-01__article-grid-slider .us-slider__next {
    right: 16px;
}

.bloc-blog-page-01__article-grid-slider .bloc-blog-page-01__article-content {
    width: 50%;
    justify-content: center;
    padding: 40px;
}

.bloc-blog-page-01__article-grid-slider .bloc-blog-page-01__article-grid.us-slider__track {
    display: flex;
    grid-template-columns: none;
    gap: 0;
}

.bloc-blog-page-01__article-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: #F7F6F2;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: hidden;
}

.bloc-blog-page-01__article-card:hover {
    box-shadow: none;
}

.bloc-blog-page-01__article-image {
    position: relative;
    width: 100%;
    aspect-ratio: 272 / 175;
    min-height: 257px;
    overflow: hidden;
    background-color: #E6E7E7;
    border-radius: 0;
}

.bloc-blog-page-01__article-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bloc-blog-page-01__article-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    background-color: transparent;
}

.bloc-blog-page-01__article-content .bloc-blog-page-01__category,
.bloc-blog-page-01__article-content .bloc-blog-page-01__logo {
    margin-bottom: 24px;
}

.bloc-blog-page-01__article-title {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
    color: inherit;
    margin: 0 0 16px;
}

.bloc-blog-page-01__article-description {
    font-size: 16px;
    line-height: 1.5;
    color: inherit;
    margin: 0;
}

.bloc-blog-page-01__article-description + .bloc-blog-page-01__card-details,
.bloc-blog-page-01__article-description + .bloc-blog-page-01__cta-link,
.bloc-blog-page-01__card-details + .bloc-blog-page-01__cta-link {
    margin-top: 32px;
}

/* ========================================
   RESPONSIVE - Tablet
   ======================================== */
@media (max-width: 1200px) {
    .bloc-blog-page-01__featured-card {
        gap: 0;
    }

    .bloc-blog-page-01__card-title {
        font-size: 28px;
    }

    .bloc-blog-page-01__article-grid {
        gap: 32px;
    }
}

@media (max-width: 992px) {
    .bloc-blog-page-01 {
        padding: 80px var(--section-padding-x, 64px);
    }

    .bloc-blog-page-01__container {
        padding: 0;
    }

    .bloc-blog-page-01__headline {
        font-size: 40px;
    }

    .bloc-blog-page-01__featured-card {
        flex-direction: column;
        gap: 24px;
    }

    .bloc-blog-page-01__featured-image {
        width: 100%;
        min-width: 0;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .bloc-blog-page-01__featured-content {
        min-width: 0;
        width: 100%;
    }

    .bloc-blog-page-01__article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* ========================================
   RESPONSIVE - Mobile
   ======================================== */
@media (max-width: 768px) {
    .bloc-blog-page-01 {
        padding: 64px var(--section-padding-x, 64px);
    }

    .bloc-blog-page-01__container {
        padding: 0;
    }

    .bloc-blog-page-01__intro {
        margin-bottom: 48px;
    }

    .bloc-blog-page-01__headline {
        font-size: 32px;
    }

    .bloc-blog-page-01__description {
        font-size: 16px;
    }

    .bloc-blog-page-01__content {
        gap: 48px;
    }

    .bloc-blog-page-01__article-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bloc-blog-page-01__card-title {
        font-size: 24px;
    }

    .bloc-blog-page-01__article-title {
        font-size: 32px;
    }

    .bloc-blog-page-01__tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .bloc-blog-page-01__tab {
        flex-shrink: 0;
        padding: 12px 16px;
    }

    .bloc-blog-page-01__card-details {
        flex-direction: column;
        gap: 12px;
    }
}

/* ========================================
   RESPONSIVE - Small Mobile
   ======================================== */
@media (max-width: 480px) {
    .bloc-blog-page-01__headline {
        font-size: 28px;
    }

    .bloc-blog-page-01__logo {
        font-size: 20px;
    }

    .bloc-blog-page-01__article-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
