/* =========================================================
   Juventude Vidigalense
   Centro Nacional de Lançamentos
   ========================================================= */

.cnl-page {
    --cnl-red: #e4002b;
    --cnl-red-dark: #bb0023;
    --cnl-ink: #171717;
    --cnl-muted: #686868;
    --cnl-line: #e7e7e7;
    --cnl-surface: #f6f6f6;
    --cnl-white: #ffffff;

    background: #fff;
    color: var(--cnl-ink);
}

.cnl-page *,
.cnl-page *::before,
.cnl-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   Shared
   ========================================================= */

.cnl-eyebrow {
    display: block;
    margin-bottom: 9px;

    color: var(--cnl-red);

    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.cnl-eyebrow--light {
    color: rgba(255, 255, 255, .7);
}

.cnl-section-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.cnl-section-heading h2 {
    margin: 0 0 10px;

    color: var(--cnl-ink);

    font-size: 34px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.5px;
}

.cnl-section-heading p {
    margin: 0;

    color: var(--cnl-muted);

    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   Hero
   ========================================================= */

.cnl-hero {
    position: relative;
    overflow: hidden;

    padding: 80px 0 52px;

    background:
            radial-gradient(
                    circle at 87% 28%,
                    rgba(255,255,255,.075),
                    transparent 23%
            ),
            linear-gradient(
                    120deg,
                    #101010 0%,
                    #191919 58%,
                    #292929 100%
            );

    color: #fff;
}

.cnl-hero::after {
    position: absolute;
    right: -105px;
    bottom: -205px;

    width: 330px;
    height: 330px;

    border: 48px solid var(--cnl-red);
    border-radius: 50%;

    content: "";

    pointer-events: none;
}

.cnl-hero__inner {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.cnl-hero__inner::before,
.cnl-hero__inner::after {
    display: none;
    content: none;
}

.cnl-hero__content {
    max-width: 760px;
}

.cnl-hero h1 {
    margin: 0 0 13px !important;
    padding: 0 !important;

    color: #fff !important;

    font-size: 46px !important;
    font-weight: 800;
    line-height: 1.05 !important;
    letter-spacing: -1px;

    text-transform: none;
}

.cnl-hero p {
    max-width: 690px;
    margin: 0;

    color: rgba(255,255,255,.8);

    font-size: 16px;
    line-height: 1.65;
}

.cnl-hero__icon {
    display: flex;

    width: 82px;
    height: 82px;

    flex: 0 0 82px;

    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.07);

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;

    color: #fff;

    font-size: 28px;
}


/* =========================================================
   Intro
   ========================================================= */

.cnl-intro {
    padding: 68px 0 72px;
}

.cnl-intro__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(320px, .9fr);

    align-items: start;

    gap: 54px;
}

.cnl-intro__content {
    max-width: 720px;
}

.cnl-intro__content h2 {
    margin: 0 0 22px;

    color: var(--cnl-ink);

    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.5px;
}

.cnl-intro__content > p {
    margin: 0 0 17px;

    color: var(--cnl-muted);

    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   Image card
   ========================================================= */

.cnl-image-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid var(--cnl-line);
    border-radius: 12px;

    box-shadow: 0 10px 32px rgba(0,0,0,.055);
}

.cnl-image-card__image {
    overflow: hidden;
    aspect-ratio: 16/7;
    background: #eee;
}

.cnl-image-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cnl-image-card__footer {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 17px 18px;
}

.cnl-image-card__icon {
    display: flex;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    align-items: center;
    justify-content: center;

    background: rgba(228,0,43,.08);

    border-radius: 50%;

    color: var(--cnl-red);

    font-size: 14px;
}

.cnl-image-card__footer strong,
.cnl-image-card__footer span {
    display: block;
}

.cnl-image-card__footer strong {
    color: #272727;

    font-size: 12px;
    font-weight: 800;
}

.cnl-image-card__footer div > span {
    margin-top: 2px;

    color: #888;

    font-size: 10px;
}


/* =========================================================
   Facilities
   ========================================================= */

.cnl-facilities {
    padding: 68px 0 72px;

    background: var(--cnl-surface);

    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}

.cnl-facilities__grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.cnl-facility-card {
    display: flex;

    min-width: 0;
    min-height: 190px;

    flex-direction: column;

    padding: 22px;

    background: #fff;

    border: 1px solid var(--cnl-line);
    border-radius: 11px;

    box-shadow: 0 7px 24px rgba(0,0,0,.035);
}

.cnl-facility-card__icon {
    display: flex;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    background: rgba(228,0,43,.08);

    border-radius: 50%;

    color: var(--cnl-red);

    font-size: 16px;
}

.cnl-facility-card > strong {
    display: block;

    margin-bottom: 5px;

    color: #222;

    font-size: 25px;
    font-weight: 800;
    line-height: 1.1;
}

.cnl-facility-card > span:last-child {
    max-width: 240px;

    color: #707070;

    font-size: 12px;
    line-height: 1.6;
}

.cnl-facilities__note {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    margin-top: 18px;
    padding: 18px 20px;

    background: #fff;

    border-left: 4px solid var(--cnl-red);
    border-radius: 0 8px 8px 0;
}

.cnl-facilities__note i {
    flex: 0 0 auto;

    margin-top: 2px;

    color: var(--cnl-red);

    font-size: 18px;
}

.cnl-facilities__note p {
    margin: 0;

    color: #626262;

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   Information
   ========================================================= */

.cnl-info {
    padding: 68px 0 76px;

    background: #fff;
}

.cnl-info__grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.cnl-info-card {
    display: grid;

    grid-template-columns: 46px minmax(0, 1fr);

    align-items: start;

    gap: 16px;

    min-width: 0;

    padding: 24px;

    background: #fff;

    border: 1px solid var(--cnl-line);
    border-radius: 11px;

    box-shadow: 0 7px 24px rgba(0,0,0,.035);
}

.cnl-info-card__icon {
    display: flex;

    width: 46px;
    height: 46px;

    align-items: center;
    justify-content: center;

    background: rgba(228,0,43,.08);

    border-radius: 50%;

    color: var(--cnl-red);

    font-size: 17px;
}

.cnl-info-card .cnl-eyebrow {
    margin-bottom: 5px;
}

.cnl-info-card h2 {
    margin: 0 0 14px;

    color: #252525;

    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}


/* =========================================================
   Hours
   ========================================================= */

.cnl-hours {
    display: grid;

    gap: 14px;

    margin: 0;
}

.cnl-hours > div {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 15px;

    padding-bottom: 13px;

    border-bottom: 1px solid #ededed;
}

.cnl-hours > div:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.cnl-hours dt {
    color: #444;

    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
}

.cnl-hours dd {
    margin: 0;

    color: #777;

    font-size: 11px;
    line-height: 1.55;

    text-align: right;
}


/* =========================================================
   Contacts
   ========================================================= */

.cnl-contact-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.cnl-contact-list li {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    margin-bottom: 11px;
}

.cnl-contact-list li:last-child {
    margin-bottom: 0;
}

.cnl-contact-list i {
    width: 15px;

    flex: 0 0 15px;

    margin-top: 3px;

    color: var(--cnl-red);

    text-align: center;
}

.cnl-contact-list a {
    min-width: 0;

    color: #555;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;

    overflow-wrap: anywhere;
}

.cnl-contact-list a:hover,
.cnl-contact-list a:focus {
    color: var(--cnl-red);

    text-decoration: none;
}


/* =========================================================
   Address
   ========================================================= */

.cnl-info-card address {
    margin: 0;

    color: #666;

    font-size: 12px;
    font-style: normal;
    line-height: 1.7;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {

    .cnl-hero__icon {
        display: none;
    }

    .cnl-intro__grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .cnl-image-card {
        max-width: 680px;
    }

    .cnl-facilities__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cnl-info__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cnl-info-card:last-child {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

    .cnl-hero {
        padding: 58px 0 42px;
    }

    .cnl-hero::after {
        right: -155px;
        bottom: -190px;

        width: 290px;
        height: 290px;

        border-width: 42px;
    }

    .cnl-hero h1 {
        font-size: 34px !important;
    }

    .cnl-hero p {
        font-size: 15px;
    }


    .cnl-intro {
        padding: 50px 0 56px;
    }

    .cnl-intro__content h2,
    .cnl-section-heading h2 {
        font-size: 28px;
    }


    .cnl-facilities {
        padding: 52px 0 58px;
    }

    .cnl-facilities__grid {
        grid-template-columns: 1fr;
    }

    .cnl-facility-card {
        min-height: 0;
    }


    .cnl-info {
        padding: 52px 0 58px;
    }

    .cnl-info__grid {
        grid-template-columns: 1fr;
    }

    .cnl-info-card:last-child {
        grid-column: auto;
    }

}


/* =========================================================
   Very small
   ========================================================= */

@media (max-width: 479px) {

    .cnl-image-card__image {
        aspect-ratio: 16 / 11;
    }

    .cnl-info-card {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .cnl-hours > div {
        grid-template-columns: 1fr;

        gap: 4px;
    }

    .cnl-hours dd {
        text-align: left;
    }

}


/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cnl-page *,
    .cnl-page *::before,
    .cnl-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

}

/* =========================================================
   Location
   ========================================================= */

.cnl-location {
    padding: 0 0 76px;
    background: #fff;
}

.cnl-location .cnl-section-heading {
    margin-bottom: 24px;
}

.cnl-location__card {
    overflow: hidden;
    border: 1px solid var(--cnl-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,.045);
}

.cnl-location__details {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
}

.cnl-location__icon {
    display: flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(228,0,43,.08);
    color: var(--cnl-red);
    font-size: 16px;
}

.cnl-location__details strong {
    display: block;
    margin-bottom: 4px;
    color: #252525;
    font-size: 14px;
    font-weight: 800;
}

.cnl-location__details address {
    margin: 0;
    color: #777;
    font-size: 11px;
    font-style: normal;
    line-height: 1.5;
}

.cnl-location__map {
    height: 380px;
    overflow: hidden;
    border-top: 1px solid #ececec;
    background: #f2f2f2;
    line-height: 0;
}

.cnl-location__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .cnl-location {
        padding-bottom: 55px;
    }

    .cnl-location__map {
        height: 320px;
    }
}

@media (max-width: 479px) {
    .cnl-location__details {
        align-items: flex-start;
        padding: 18px;
    }

    .cnl-location__map {
        height: 280px;
    }
}