﻿/*
 * BnB RSS events adapter.
 * The shortcode manager prints the title before the RSS markup, so the outer
 * shortcode section becomes the visual card to keep the title inside it.
 */
#shortcode-theme_rss_events {
    width: calc(100vw - 40px);
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 2rem 0 2rem;
    padding: 1.7rem 1.6rem 1.6rem;
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
    overflow: hidden;
}

#shortcode-theme_rss_events .section-header {
    margin: 0 0 2rem;
    text-align: center;
}

#shortcode-theme_rss_events .section-title {
    color: #111111;
    font-size: var(--lazybnb-font-size-xl)  ;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 1rem;
}

#shortcode-theme_rss_events .section-title::after {
    width: 48px;
    height: 3px;
    bottom: -0.75rem;
    background-color: #ef4050;
}

#shortcode-theme_rss_events > .shortcode-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

#shortcode-theme_rss_events .rss-events-section {
    padding: 0;
    background: transparent;
}

#shortcode-theme_rss_events .rss-events-section .container {
    width: 100%;
    max-width: none;
    position: static;
    left: auto;
    transform: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#shortcode-theme_rss_events .rss-events-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

#shortcode-theme_rss_events .rss-event-item {
    display: block;
    padding: 0 0 1.35rem;
    margin: 0 0 1.35rem;
    border: 0 !important;
    background: transparent;
    box-shadow: none;
}

#shortcode-theme_rss_events .rss-event-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

#shortcode-theme_rss_events .rss-event-item:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

#shortcode-theme_rss_events .rss-event-title {
    display: block;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 700;
    margin: 0 0 0.15rem;
}

#shortcode-theme_rss_events .rss-event-title a {
    color: #ff4051;
    text-decoration: none;
}

#shortcode-theme_rss_events .rss-event-title a:hover {
    color: #111111;
}

#shortcode-theme_rss_events .rss-event-date {
    display: block;
    color: #6f757b;
    font-size: 0.8rem;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

#shortcode-theme_rss_events .rss-event-meta,
#shortcode-theme_rss_events .rss-event-description {
    display: none;
}

@media (max-width: 768px) {
    #shortcode-theme_rss_events {
        width: calc(100vw - 24px);
        padding: 1.25rem;
    }

    #shortcode-theme_rss_events .section-header {
        margin-bottom: 1.6rem;
    }

    #shortcode-theme_rss_events .rss-event-title {
        font-size: 0.95rem;
    }
}
