/**
 * Styling for the hero section block.
 */

.theme-dark .styled-card {
    --color-secondary-ruby-900-inverted: #3E0713;
    --color-secondary-ruby-900-20-inverted: #3E071333;
    --color-secondary-ruby-900-40-inverted: #3E071366;
}

.theme-light .styled-card {
    --color-secondary-ruby-900: #FDD9D9;
    --color-secondary-ruby-900-20: #FDD9D933;
    --color-secondary-ruby-900-40: #FDD9D966;
}

.hero-section-enhanced {
    position: relative;
    padding: unset;
    max-width: unset;
    display: flex;
    justify-content: center;
}
.hero-section-enhanced .contents-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1320px;
    text-align: center;
    padding: 80px 40px;
    box-sizing: border-box;
}
.hero-section-enhanced .contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-11)
}
.hero-section-enhanced img.poster {
    object-fit: cover;
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-section-enhanced *:not(img.poster):not(canvas) {
    position: relative;
    z-index: 1;
}
.hero-section-enhanced .canvas {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, #710000, #c45e30);
}
.hero-section-enhanced .contents p,
.hero-section-enhanced .contents h1,
.hero-section-enhanced .contents h5 {
    max-width: 100%;
}
.hero-section-enhanced .contents .content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-section-enhanced .contents .content .category {
    max-width: 100%;
    font: var(--font-copy-allcaps-lg);
    color: var(--color-primary-red-500);
    letter-spacing: var(--font-copy-allcaps-sm-spacing);
    text-transform: uppercase;
    padding-bottom: var(--spacing-3);
}
.hero-section-enhanced .contents .content .category.sec-cobalt-800 {
    color: var(--color-secondary-cobalt-800);
}
.hero-section-enhanced .contents .content .category.sec-ruby-800 {
    color: var(--color-secondary-ruby-800);
}
.hero-section-enhanced .contents .content .heading {
    max-width: 100%;
    font: var(--font-h1);
    color: var(--color-heading);
    padding-bottom: var(--spacing-9);
    letter-spacing: -0.5%;
}
.hero-section-enhanced .contents .content .blurb {
    max-width: 100%;
    font: var(--font-copy-lg);
    color: var(--color-copy-primary);
    padding-bottom: var(--spacing-10);
}
.hero-section-enhanced .buttons {
    display: flex;
    width: fit-content;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-5);
}
.hero-section-enhanced .cards {
    display: grid;
    gap: var(--spacing-8);
    grid-template-columns: repeat(12, 1fr);
    margin-bottom: var(--spacing-7);
}
.hero-section-enhanced .cards.two-column .styled-card {
    grid-column: span 6;
}
.hero-section-enhanced .cards.three-column .styled-card {
    grid-column: span 4;
}

/* Breakpoint M */
@media screen and (min-width: 768px) and (max-width: 1080px) {
    .hero-section-enhanced .contents {
        max-width: 1080px;
    }
    .hero-section-enhanced .contents .content .heading {
        padding-bottom: var(--spacing-9);
    }
    .hero-section-enhanced .cards {
        gap: var(--spacing-7);
    }
}
/* Breakpoint S */
@media screen and (min-width: 0px) and (max-width: 768px) {
    .hero-section-enhanced .contents-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 768px;
        padding: 64px 24px;
    }
    .hero-section-enhanced .contents {
        gap: var(--spacing-7);
    }
    .hero-section-enhanced .contents .content .category {
        font: var(--font-copy-allcaps-md);
        letter-spacing: 8%;
    }
    .hero-section-enhanced .contents .content .heading {
        letter-spacing: 0.25%;
    }
    .hero-section-enhanced .contents .content .blurb {
        letter-spacing: 0.25%;
        font: var(--font-copy-md);
    }
    .hero-section-enhanced .cards {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-7);
    }
    .hero-section-enhanced .buttons {
        display: flex;
        flex-direction: column;
    }
}
