/* Vignerons page styles */

/* Import base styles and components */
@import "base-zW0DGQa.css";
@import "components/header-FQ0_1JI.css";
@import "components/hero_long-5E7vmgI.css";
@import "components/card_service-JwZyVJz.css";
@import "components/text_content-92yg7qr.css";
@import "components/stat-rEPf0At.css";
@import "components/link_arrow-UjWqbLF.css";
@import "components/card_event-zqtuDMt.css";
@import "components/cta_section-t7KgU1f.css";
@import "components/filter_select-RRzOMyY.css";
@import "components/footer-cxZLcZV.css";

/* ============================================ */
/* VIGNERONS HERO SECTION - MOBILE */
/* ============================================ */

.vignerons-hero {
    position: relative;
    padding: 120px 16px 64px 16px;
    background: linear-gradient(180deg, rgba(99, 38, 61, 0.8) 0%, rgba(99, 38, 61, 0.95) 100%),
        url("../images/home/vignes-BtcYn3U.jpg");
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.vignerons-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(99, 38, 61, 0.8) 0%, rgba(99, 38, 61, 0.95) 100%);
    z-index: 0;
}

.vignerons-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vignerons-hero__label {
    font-family: "Grantha Sangam MN";
    font-size: 13px;
    font-weight: 500;
    line-height: 15px;
    letter-spacing: 0.52px;
    text-transform: uppercase;
    color: var(--color-red);
}

.vignerons-hero__title {
    font-family: 'Lora', serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 38px;
    color: var(--color-white);
}

.vignerons-hero__description {
    font-family: "Grantha Sangam MN";
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    color: var(--color-white);
}

/* ============================================ */
/* VIGNERONS GRID SECTION - MOBILE */
/* ============================================ */

.vignerons-grid {
    padding: 64px 0px;
    max-width: 1550px;
    margin-left: 16px;
    margin-right: 16px;
    background-color: var(--color-white);
}

.vignerons-grid__header {
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.vignerons-grid__title-wrapper {
    /* Wrapper for text_content component */
}

.vignerons-grid__title-wrapper__title,
.vignerons-grid__title-wrapper .text-content__title {
    font-family: 'Lora', serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 38px;
    color: var(--color-bordeaux);
}

.vignerons-grid__filters {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
}

.vignerons-grid__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.vigneron-card {
    position: relative;
    width: 100%;
    aspect-ratio: 367 / 459;
    background-color: lightgray;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    margin-bottom: 0px;
}

.vigneron-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 46.19%, rgba(40, 0, 0, 0.60) 77.23%);
    border-radius: 24px;
    pointer-events: none;
    z-index: 1;
}

.vigneron-card__content {
    padding: 24px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.vigneron-card__label {
    color: #DDFFD9;
    font-family: "Grantha Sangam MN";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.vigneron-card__title {
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    color: var(--color-white);
}

.vigneron-card__arrow {
    position: absolute;
    top: 31px;
    right: 13px;
    opacity: 0;
    transform: translateY(-31px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 2;
}

.vigneron-card:hover .vigneron-card__arrow {
    opacity: 1;
    transform: translateY(0);
}

.vignerons-pagination {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: -20px;
}

.vignerons-pagination__btn {
    display: flex;
    width: 70px;
    height: 52px;
    padding: 16px 24px;
    padding-top: 25px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 32px;
    border: 1px solid var(--color-bordeaux);
    background-color: transparent;
    color: var(--color-bordeaux);
    font-family: "Grantha Sangam MN";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.64px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
}

a.vignerons-pagination__btn:not(.vignerons-pagination__btn--active):hover {
    background-color: var(--color-bordeaux) !important;
    color: var(--color-white) !important;
    border-color: var(--color-bordeaux) !important;
}

.vignerons-pagination__btn--active {
    opacity: 0.5;
    background: #B2B2B2;
    border: none;
    color: var(--color-black);
    border-radius: 128px;
    pointer-events: none;
}

/* ============================================ */
/* VIGNERONS CTA SECTION - MOBILE */
/* ============================================ */

/* Uses cta_section component with custom overrides */
.final-cta__title {
    max-width: 1016px;
}

.final-cta {
    margin-bottom: 94px;
}

/* ============================================ */
/* VIGNERONS HERO - DESKTOP */
/* ============================================ */

@media (min-width: 1025px) {
    .vignerons-hero {
        padding: 180px 96px 120px 96px;
        min-height: 500px;
    }

    .vignerons-hero__content {
        max-width: 700px;
        gap: 32px;
    }

    .vignerons-hero__title {
        font-size: 56px;
        line-height: 64px;
    }

    .vignerons-hero__description {
        font-size: 20px;
        line-height: 26px;
    }

    .vignerons-grid {
        padding: 120px 0px;
        padding-bottom: 90px;
        margin-left: 24px;
        margin-right: 24px;
    }

    .vignerons-grid__header {
        margin-bottom: 147px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .vignerons-grid__filters {
        flex-wrap: nowrap;
        width: auto;
    }

    .vignerons-grid__items {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
        margin-bottom: 64px;
    }

    .vigneron-card {
        width: 100%;
    }

    .vignerons-pagination {
        gap: 16px;
        margin-top: 20px;
    }

    .vignerons-cta {
        padding: 120px 96px;
        gap: 48px;
    }

    .vignerons-cta__title {
        font-size: 32px;
        line-height: 40px;
        max-width: 800px;
    }
}

@media (min-width: 1200px) {
    .vignerons-grid {
        margin-left: 100px;
        margin-right: 100px;
    }
}

@media (min-width: 1600px) {
    .vignerons-hero {
        padding: 180px 192px 120px 192px;
    }

    .vignerons-grid {
        padding: 120px 0px;
        padding-bottom: 90px;
        margin-left: 192px;
        margin-right: 192px;
    }

    .vignerons-cta {
        padding: 120px 192px;
    }
}

@media (min-width: 1920px) {
    .vignerons-grid {
        padding: 120px 0px;
        padding-bottom: 90px;
        min-width: 1550px;
        max-width: 1550px;
        margin-left: auto;
        margin-right: auto;
    }
}