.hero-text-content {
    width: max(386px, calc(26.8vw * var(--scale)));
}

h1.hero-title {
    font-size: max(32px, calc(2.22vw * var(--scale)));
    letter-spacing: -.02em;
    margin-bottom: max(9px, calc(0.63vw * var(--scale)));
    line-height: 130%;
}

.hero-paragraph {
    margin-bottom: max(15px, calc(1.04vw * var(--scale)));
}

.hero-section {
    display: flex;
    flex-direction: column;
    padding-right: var(--big-padding);
    padding-left: var(--small-padding);
}

.hero-subtitle {
    margin-bottom: max(9px, calc(0.625vw * var(--scale)));
}

.custom-hero-bottom {
    margin-top: auto;
}

.custom-hero-bottom-text {
    display: none;
}

.show-on-desktop {
    display: block;
}

.sticky-hero-section-mobile {
    display: none;
}

.sticky-hero-section {
    width: 100vw;
    right: 0;
    left: 0;
    position: fixed;
    top: 14vh;
    padding-left: var(--small-padding);
}

.sticky-hero-section .title-and-subtitle {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-direction: row-reverse;
    width: calc(100vw - 2 * var(--small-padding));
}

.sticky-hero-section .title-and-subtitle .hero-subtitle {
    font-size: max(16px, calc(1.11vw * var(--scale)));
    margin-bottom: max(15px, calc(1.04vw * var(--scale)));
}

.sticky-posts-section {
    padding-left: var(--small-padding);
    margin-top: auto;
    margin-bottom:  max(81px, calc(5.7vw * var(--scale)));
}

.sticky-posts-section .grid {
    min-width: calc(100vw - 2 * var(--small-padding));
}

.sticky-posts-section .dashed-border-outer,
.sticky-posts-section .absolute-subtitle {
    display: none;
}

.sticky-hero-section .medium-text {
    font-size: max(16px, calc(1.11vw * var(--scale)));
}

.padding-top-on-mobile .dashed-border-outer {
    display: none;
}

html[data-card-image-aspect-ratio-desktop="Alternate Align Top"][data-show-excerpt-on-cards="true"] .sticky-posts-section {
    margin-bottom: max(120px, calc(8.3vw * var(--scale)));
}

@media (max-width: 991px) {    
    .hero-text-content {
        max-width: max(386px, calc(26.8vw * var(--scale)));
        width: 100%;
    }
    
    .hero-section {
        width: 100%;
        padding-right: 0px;
        min-height: 100vh;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-left: 0px;
    }

    .custom-hero-bottom {
        margin-top: 130px;
    }

    .hide-on-mobile {
        display: none;
    }

    .custom-hero-bottom-text {
        display: block;
        font-size: 16px;
    }

    .sticky-hero-section-mobile {
        display: flex;
    }

    .sticky-hero-section .medium-text {
        font-size: 18px;
    }

    .sticky-hero-section-mobile {
        display: none;
    }
    
    .sticky-hero-section {
        width: 100% !important;
        position: static !important;
        padding-left: 0px !important;
    }
    
    .sticky-hero-section .title-and-subtitle {
        align-items: center;
        justify-content: center;
        width: 100% !important;
    }
    
    .sticky-hero-section .title-and-subtitle .hero-subtitle {
        font-size: max(16px, calc(1.11vw * var(--scale)));
        margin-bottom: max(15px, calc(1.04vw * var(--scale)));
    }
    
    .sticky-posts-section {
        padding-left: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    
    .sticky-posts-section .grid {
        min-width: unset !important;
    }
    
    .sticky-posts-section .dashed-border-outer,
    .sticky-posts-section .absolute-subtitle {
        display: flex;
    }
    
    .sticky-hero-section .medium-text {
        font-size: max(16px, calc(1.11vw * var(--scale)));
    }

    .custom-layout-hero-section {
        padding-top: 7vh;
    }

    .padding-top-on-mobile .dashed-border-outer {
        display: block;
    }
}