
.hero-banner {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    color: rgb(255 255 255 / 1);
    padding: 0;
}

.hero-banner-container {
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem;
    padding-top: 4.25rem; /* py-17 */
    padding-bottom: 4.25rem;
    background-color: rgb(0 0 0 / 0.45); /* bg-black/45 */
    min-height: 336px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-banner-container {
        padding-left: 3.5rem; /* lg:px-14 */
        padding-right: 3.5rem;
        min-height: 504px;
    }

    .hero-banner--home .hero-banner-container {
        padding-top: 25.25rem; /* lg:py-101 */
        padding-bottom: 22rem; /* lg:pb-88 */
    }
}

.hero-banner-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.hero-banner--home .hero-banner-content {
    align-items: center;
    text-align: center;
}

.hero-banner-title {
    display: flex;
    flex-direction: column-reverse;
    font-weight: 900; /* font-black */
    font-size: 1.5rem; /* text-2xl */
    line-height: 1.25; /* leading-tight */
    gap: 0.5rem; /* gap-2 */
    color: white;
}

@media (min-width: 1024px) {
    .hero-banner-title {
        font-size: 56px; /* lg:text-[56px] */
    }
}

.hero-banner--home .hero-banner-title {
    flex-direction: column;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    gap: 1rem; /* gap-4 */
}

@media (min-width: 1024px) {
    .hero-banner--home .hero-banner-title {
        gap: 1.75rem; /* lg:gap-7 */
    }
}

.hero-banner-title span {
    display: block;
}

.hero-banner-title .hero-banner-subtitle {
    font-size: 12px;
    line-height: 1.25; /* leading-tight */
    text-transform: uppercase;
    font-weight: 400; /* font-normal */
}

@media (min-width: 1024px) {
    .hero-banner-title .hero-banner-subtitle {
        font-size: 22px;
    }
}
.brochures-wrap {
    margin-top: 0;
    margin-bottom: 0;
}

.brochures__title {
    margin-bottom: 1.25rem; /* mb-5 */
    text-align: center;
}

@media (min-width: 1024px) {
    .brochures__title {
        margin-bottom: 1.75rem; /* lg:mb-7 */
    }
}

.brochures__subtitle {
    font-size: 20px;
    line-height: 1.15;
    text-align: center;
    margin-bottom: 1.75rem; /* mb-7 */
    color: #19BC95;
    width: 100%;
    max-width: 808px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .brochures__subtitle {
        font-size: 32px;
        margin-bottom: 2.75rem; /* lg:mb-11 */
    }
}

.brochures__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem; /* gap-5 */
}

@media (min-width: 640px) {
    .brochures__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* sm:grid-cols-2 */
    }
}

@media (min-width: 1024px) {
    .brochures__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* lg:grid-cols-3 */
        gap: 2.5rem; /* lg:gap-10 */
    }
}

@media (min-width: 1280px) {
    .brochures__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)); /* xl:grid-cols-5 */
    }
}

.brochure-preview {
    position: relative;
}

.brochure-preview__image {
    width: 100%;
    display: block;
}

.brochures__embed iframe,
.brochures__thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Embed Play Icon */
.brochures__embed::before {
    position: absolute;
    top: 50%; /* top-1/2 */
    left: 50%; /* left-1/2 */
    transform: translate(-50%, -50%); /* transform -translate-x-1/2 -translate-y-1/2 */
    width: 4rem; /* w-16 */
    height: 4rem; /* h-16 */
    content: '';
    background: url('../../images/play-circle.png') no-repeat center center;
    background-size: contain;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
    z-index: 1;
}

.brochures__embed:hover::before {
    opacity: 0.8; /* opacity-80 */
}

/* Content Card */
.brochures__content {
    width: calc(100% - 28px);
    padding: 2.5rem; /* p-10 */
    border-radius: 0.375rem; /* rounded-md */
    background-color: rgb(255 255 255 / 1);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),
                0 2px 4px -2px rgb(0 0 0 / 0.1); /* shadow-md */
    margin-top: -4rem; /* -mt-16 */
    position: relative;
    z-index: 20;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    transition-property: transform;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); /* ease-in-out */
} 

/* Playing State */
.brochures--playing .brochures__content {
    z-index: 0;
    transform: translateY(-50%);
}

.brochures--playing .brochures__embed,
.brochures--playing .brochures__thumbnail {
    z-index: 10;
}

.brochures--playing .brochures__embed::before,
.brochures--playing .brochures__thumbnail::before {
    opacity: 0;
}