/**
 * FPP Seasonal Teaser Styles
 * Styling for both banner and sidebar displays
 */

/* ==========================================================================
   Banner (Full-width Homepage) - Split Layout
   Image on left, content with background color on right
   Matches the Beer Olympics section style on the homepage
   ========================================================================== */

/* Wrapper - full viewport width using CSS only */
.fpp-seasonal-banner-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    margin-right: 0;
}

.fpp-seasonal-banner {
    display: flex;
    flex-direction: row;
    width: 100%;
    /* No min-height - let content padding determine height (matches Beer Olympics) */
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Left side - Image as background (matches Beer Olympics pattern) */
.fpp-seasonal-banner__image-side {
    flex: 1;
    min-width: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Right side - Content with background color */
.fpp-seasonal-banner__content-side {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--banner-bg, #fff6f5);
    /* Padding matches Beer Olympics section: 100px all around */
    padding: 100px;
}

.fpp-seasonal-banner__content {
    text-align: center;
    max-width: 500px;
}

.fpp-seasonal-banner__label {
    display: block;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #222;
    margin-bottom: 16px;
    font-family: "Mulish", Sans-serif;
}

.fpp-seasonal-banner__title {
    color: #000;
    font-size: 36px;
    font-weight: normal;
    margin: 0 0 24px 0;
    line-height: 1.5em;
    letter-spacing: 0.5px;
    font-family: "Mulish", Sans-serif;
}

.fpp-seasonal-banner__button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: "Mulish", Sans-serif;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.fpp-seasonal-banner__button:hover,
.fpp-seasonal-banner__button:focus {
    background-color: #DC07A0;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Banner responsive - tablet */
@media (max-width: 1024px) {
    .fpp-seasonal-banner__content-side {
        padding: 50px;
    }
}

/* Banner responsive - stack on mobile */
@media (max-width: 768px) {
    .fpp-seasonal-banner {
        flex-direction: column;
    }

    .fpp-seasonal-banner__image-side {
        /* Fixed height when stacked on mobile */
        min-height: 250px;
        flex: none;
    }

    .fpp-seasonal-banner__content-side {
        padding: 30px;
    }

    .fpp-seasonal-banner__title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Sidebar (Compact Widget)
   ========================================================================== */

.fpp-seasonal-sidebar {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.fpp-seasonal-sidebar__image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
}

.fpp-seasonal-sidebar__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fpp-seasonal-sidebar:hover .fpp-seasonal-sidebar__image img {
    transform: scale(1.05);
}

.fpp-seasonal-sidebar__content {
    padding: 12px 16px 16px;
}

.fpp-seasonal-sidebar__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.fpp-seasonal-sidebar__title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fpp-seasonal-sidebar__title a:hover {
    color: #e91e8c;
}

/* Widget heading style for "FEATURED VALENTINE'S DAY" etc. */
.fpp-seasonal-teaser-widget h5 {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 12px;
}

/* Widget container styling */
.widget_fpp_seasonal_teaser {
    margin-bottom: 20px;
}

.widget_fpp_seasonal_teaser .widget-title {
    margin-bottom: 12px;
}
