/* HERO STYLES */

/* ============================================
   HOMEPAGE TOP ROW
   Hero + Ads Sidebar
   ============================================ */

.homepage-top-row {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.hero-section-wrapper {
    flex: 1 1 auto;
    min-width: 0;
    width: calc(100% - 300px);
}

.homepage-ads-sidebar {
    width: 300px;
    flex: 0 0 300px;
}


/* ============================================
   HERO FEATURE / SWIPER
   ============================================ */

.hero-feature {
    background: #fff;
    margin-bottom: 0;
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    min-width: 0;
}

.hero-swiper {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.hero-swiper .swiper-wrapper {
    align-items: stretch;
}

.hero-swiper-slide {
    box-sizing: border-box;
    min-width: 0;
}

.hero-slide-media,
.hero-slide-content {
    min-width: 0;
}

.hero-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: #eee;
}


/* ============================================
   HERO TYPOGRAPHY
   ============================================ */

.hero-title {
    margin: 0;
    font-family: 'Newsreader', serif;
    font-weight: 600;
    color: #333;
    text-align: left;
    hyphens: none;
}

.hero-title a {
    color: inherit;
    text-decoration: none;
}
/*
.hero-title a:hover {
    text-decoration: underline;
}*/

.hero-excerpt {
    margin: 11px 0 0;
    color: #555;
    line-height: 1.3;
}


/* ============================================
   HERO NAVIGATION
   ============================================ */

.hero-navigation {
    position: relative;
}

.hero-prev,
.hero-next {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    border: 0;
    background: transparent;
    color: #333;

    cursor: pointer;
    pointer-events: auto;
}

.hero-arrow {
    display: block;
    width: 0;
    height: 0;
}

.hero-arrow-left {
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid currentColor;
}

.hero-arrow-right {
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid currentColor;
}


/* ============================================
   HERO FOOTER
   ============================================ */

.hero-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 50px;
    padding: 0 0 3px;
    border-top: 1px solid #b6b8ba;
    border-bottom: 1px solid #b6b8ba;
}

.hero-footer-lines-top,
.hero-footer-lines-bottom {
    width: 100%;
	display:none;
}

.hero-footer-line {
    width: 100%;
    height: 1px;
}

.hero-line-light {
    background: #dadada;
}

.hero-line-dark {
    background: #b6b8ba;
}

.hero-cta {
    display: block;
    width: 100%;
    padding: 8px 0 6px;
    border-bottom: 1px solid #b6b8ba;
    color: #333;
    font-family: 'Newsreader', serif;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}


/* ============================================
   DESKTOP HERO
   ============================================ */

@media (min-width: 768px) {

    .hero-feature {
        padding-right: 40px;
    }

    .hero-swiper-slide {
        display: grid !important;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 40px;
        align-items: start;
    }

    .hero-slide-media {
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .hero-slide-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        min-width: 0;
        padding: 0 20px 60px 0;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-excerpt {
        width: 85%;
        font-size: 16px;
    }


    /* Desktop navigation */

    .hero-navigation {
        position: absolute;
        left: calc(50% + 20px);
        bottom: 0;

        display: flex;
        align-items: center;
        gap: 10px;

        z-index: 20;
    }

    .hero-prev,
    .hero-next {
        width: 26px;
        height: 30px;
    }


    /* Horizontal line above navigation */

    .hero-swiper::after {
        content: "";
        position: absolute;

        left: calc(50% + 30px);
        bottom: 40px;

        width: 62px;
        height: 1px;

        background: #dadada;
        z-index: 19;
    }
}


/* ============================================
   MOBILE HERO
   ============================================ */

@media (max-width: 767px) {

    .homepage-top-row {
        display: block;
    }

    .hero-section-wrapper {
        width: 100%;
        min-width: 0;
    }

    .hero-feature {
        overflow: visible;
    }

    .hero-inner {
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .hero-swiper {
        overflow: visible;
        padding-left: 0;
    }

    .hero-swiper .swiper-wrapper {
        align-items: flex-start;
    }

    .hero-swiper-slide {
        display: block;
        height: auto;
    }

    .hero-slide-media {
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .hero-slide-content {
        padding: 14px 12px 0 0;
    }

    .hero-title {
        font-size: 22px;
        line-height: 1.22;
		text-align:center;
		font-weight:500;
    }

    .hero-excerpt {
        display: none !important;
    }


    /* Mobile navigation positioned against active slide width */

    .hero-navigation {
        position: absolute;
        top: calc(var(--active-slide-width) / 2);
        left: 50%;

        width: var(--active-slide-width);

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

        transform: translate(-50%, -50%);

        z-index: 20;
        pointer-events: none;
    }

    .hero-prev,
    .hero-next {
        position: static;
        transform: none;

        width: 34px;
        height: 34px;

        border-radius: 0;
        background: transparent;
        color: #fff;

        pointer-events: auto;
    }

    .hero-prev {
        margin-left: 0px;
    }

    .hero-next {
        margin-right: 0px;
    }

    .hero-arrow-left {
        border-top-width: 6px;
        border-bottom-width: 6px;
        border-right-width: 8px;
    }

    .hero-arrow-right {
        border-top-width: 6px;
        border-bottom-width: 6px;
        border-left-width: 8px;
    }

    .hero-footer {
        margin-top: 26px;
    }

    .hero-cta {
        font-size: 15px;
        padding: 10px 0;
    }
}