/**
 * Sticky Media Section Block Styles
 */

.sticky-media-section {
    width: 100%;
    height: 728px;
    overflow: hidden;
}

.sticky-media-section-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    height: 100%;
}

.sticky-media-section__image {
    padding: 12px;
    height: 728px;
}

.sticky-media-section__image-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-media-section__title {
    font-family: 'Panama', serif;
    font-size: 60px;
    line-height: 90%;
    font-weight: 400;
    text-transform: uppercase;
    color: #F2EEE5;
    max-width: 360px;
    margin: 0;
}

.sticky-media-section__content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.sticky-media-section__content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.sticky-media-section__content-item {
    width: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 728px;
    min-height: 728px;
    max-height: 728px;
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
}

.sticky-media-section__content-item .wp-block-group__inner-container {
    max-width: 500px;
    margin: 0 auto;
}

.sticky-media-section__content-item h2,
.sticky-media-section__content-item h3,
.sticky-media-section__content-item h4 {
    font-family: 'Panama', serif;
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #0D0D0D;
}

.sticky-media-section__content-item p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #0D0D0D;
    margin-bottom: 16px;
}

@media (min-width: 960px) {
    .sticky-media-section-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .sticky-media-section__image {
        position: sticky;
        top: 12px;
        align-self: start;
    }

}

/* Editor styles */
.sticky-media-section-block .sticky-media-section__add-item-button {
    margin-top: 20px;
    width: 100%;
}

