@keyframes leafFall {
    0%   { transform: translateY(-20px) rotate(0deg); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.6; }
    100% { transform: translateY(140px) rotate(360deg); opacity: 0; }
}
@keyframes leafFallNoRotate {
    0%   { transform: translateY(-20px); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.5; }
    100% { transform: translateY(140px); opacity: 0; }
}
.sl-leaf {
    position: absolute;
    pointer-events: none;
    animation: leafFall linear infinite;
    z-index: 0;
}
.sl-leaf-logo {
    position: absolute;
    pointer-events: none;
    animation: leafFallNoRotate linear infinite;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#sl-promo-banner {
    background: linear-gradient(135deg, #4a7a4c 0%, #5a8f5c 50%, #4a7a4c 100%);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    position: relative;
    gap: 40px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}
#sl-promo-banner * { box-sizing: border-box; }
#sl-promo-banner .sl-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex: 1;
    position: relative;
    z-index: 1;
}
#sl-promo-banner .sl-banner-photo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}
#sl-promo-banner .sl-banner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
#sl-promo-banner .sl-banner-content {
    text-align: center;
}
#sl-promo-banner .sl-banner-headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 0 5px 0;
    display: block;
    text-decoration: none;
}
#sl-promo-banner .sl-banner-author {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-style: italic;
    color: #e8d5a3;
    display: block;
    text-decoration: none;
}
#sl-promo-banner .sl-banner-headline:hover,
#sl-promo-banner .sl-banner-author:hover {
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.5);
}
#sl-promo-banner .sl-banner-author-row { display: block; }
#sl-promo-banner .sl-banner-cta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}
#sl-promo-banner .sl-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 12px 28px;
    border: 2px solid #c9a962;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
    cursor: pointer;
}
#sl-promo-banner .sl-banner-btn:hover {
    background: #c9a962;
    color: #2d2d2d;
}
#sl-promo-banner .sl-banner-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
#sl-promo-banner .sl-banner-cta-mobile { display: none; }
#sl-promo-banner .sl-banner-close {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
    padding: 5px;
    z-index: 2;
    line-height: 1;
}
#sl-promo-banner .sl-banner-close:hover { color: rgba(255,255,255,0.8); }
#sl-promo-banner .sl-banner-close svg { width: 20px; height: 20px; display: block; }
#sl-promo-banner.sl-hidden { display: none !important; }

@media (max-width: 900px) {
    #sl-promo-banner {
        padding: 0;
        min-height: auto;
    }
    #sl-promo-banner .sl-banner-inner {
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 10px 45px 10px 12px;
        gap: 12px;
        justify-content: flex-start;
        align-items: center;
    }
    #sl-promo-banner .sl-banner-photo {
        width: 90px;
        height: 90px;
        border-width: 2px;
        flex-shrink: 0;
    }
    #sl-promo-banner .sl-banner-content {
        text-align: left;
        flex: 1;
        min-width: 0;
    }
    #sl-promo-banner .sl-banner-headline {
        font-size: 1.1rem;
        margin-bottom: 2px;
        line-height: 1.2;
    }
    #sl-promo-banner .sl-banner-author-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    #sl-promo-banner .sl-banner-author { font-size: 1rem; }
    #sl-promo-banner .sl-banner-cta { display: none; }
    #sl-promo-banner .sl-banner-cta-mobile {
        display: inline-flex;
        text-decoration: none;
    }
    #sl-promo-banner .sl-banner-cta-mobile .sl-banner-btn {
        font-size: 0.75rem;
        padding: 7px 10px;
        gap: 4px;
    }
    #sl-promo-banner .sl-banner-cta-mobile .sl-banner-btn svg {
        width: 10px;
        height: 10px;
    }
    #sl-promo-banner .sl-banner-close {
        right: 10px;
        top: 10px;
        padding: 8px;
    }
    #sl-promo-banner .sl-banner-close svg {
        width: 16px;
        height: 16px;
    }
}

#sl-video-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
#sl-video-overlay.active { display: flex; }
#sl-video-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    position: relative;
}
#sl-video-iframe-wrap {
    flex-shrink: 0;
    width: 340px;
    position: relative;
}
#sl-video-iframe-wrap iframe {
    width: 100%;
    aspect-ratio: 640/1138;
    display: block;
    border: none;
    border-radius: 10px;
}
#sl-video-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 8px;
    min-width: 0;
}
#sl-video-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
#sl-video-close:hover { opacity: 1; }
#sl-video-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 20px;
    display: block;
}
#sl-video-title em {
    display: block;
    font-style: italic;
    color: #e8d5a3;
    font-size: 2.4rem;
}
#sl-video-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 12px 24px;
    border: 2px solid #c9a962;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
    white-space: nowrap;
    align-self: flex-start;
}
#sl-video-cta:hover { background: #c9a962; color: #2d2d2d; }
#sl-video-cta svg { width: 16px; height: 16px; flex-shrink: 0; }
#sl-video-poster {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    transition: opacity 0.4s ease;
    z-index: 2;
}
#sl-video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.75;
}
#sl-video-poster-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#sl-video-poster-play svg {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: transform 0.2s;
}
#sl-video-poster:hover #sl-video-poster-play svg { transform: scale(1.1); }
#sl-video-poster.hidden { opacity: 0; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
#sl-video-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
#sl-video-spinner.visible { opacity: 1; }
#sl-video-spinner::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: #c9a962;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
#sl-video-iframe-wrap iframe {
    opacity: 0;
    transition: opacity 0.5s ease;
}
#sl-video-iframe-wrap iframe.loaded { opacity: 1; }

@media (max-width: 700px) {
    #sl-video-overlay {
        padding: 0;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }
    #sl-video-container {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        position: relative;
        justify-content: flex-start;
    }
    #sl-video-close {
        position: relative;
        top: auto;
        right: auto;
        align-self: flex-end;
        margin: 14px 16px 14px 0;
        font-size: 32px;
        background: none;
        border-radius: 0;
        width: auto;
        height: auto;
        display: block;
        padding: 0;
        flex-shrink: 0;
        order: -1;
    }
    #sl-video-iframe-wrap {
        width: calc((100svh - 206px) * 640 / 1138);
        max-width: 88vw;
        flex-shrink: 0;
        margin-bottom: 20px;
    }
    #sl-video-iframe-wrap iframe { border-radius: 10px; }
    #sl-video-sidebar {
        flex-shrink: 0;
        padding: 0 20px;
        padding-bottom: max(16px, env(safe-area-inset-bottom));
        align-items: center;
        text-align: center;
        width: 100%;
    }
    #sl-video-title { font-size: 1.1rem; margin-bottom: 10px; text-align: center; }
    #sl-video-title em { font-size: 1.3rem; }
    #sl-video-cta { align-self: center; font-size: 0.75rem; padding: 9px 18px; }
}
