/**
 * RCM Content Manager - Shortcodes Styles
 * Today's Events Section
 */

/* ========================================
   Today's Events Section
   ======================================== */

.rcm-todays-events {
    background-color: #faf9f9;
    padding: 45px 0 45px 0;
    width: 100%;
}

.rcm-todays-events__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 124px;
    display: flex;
    gap: 47px;
    align-items: flex-start;
}

/* Mobile Header - Hidden on desktop */
.rcm-todays-events__header {
    display: none;
}

/* Title */
.rcm-todays-events__title {
    color: #7153b0;
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 29px 0;
    line-height: 1.3;
}

.rcm-todays-events__title--desktop {
    display: block;
}

/* ========================================
   Featured Event (Left Column)
   ======================================== */

.rcm-todays-events__featured {
    flex: 0 0 663px;
    max-width: 663px;
}

.rcm-todays-events__featured-card {
    position: relative;
    width: 100%;
    height: 436px;
    border-radius: 6px;
    overflow: hidden;
}

.rcm-todays-events__featured-card--empty {
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rcm-todays-events__featured-card--empty p {
    color: #666;
    font-size: 16px;
}

.rcm-todays-events__featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rcm-todays-events__featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rcm-todays-events__featured-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7153b0 0%, #3e286d 100%);
}

.rcm-todays-events__featured-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(62, 40, 109, 1) 0%, rgba(0, 0, 0, 0) 100%);
    border-radius: 6px;
}

.rcm-todays-events__featured-content {
    position: absolute;
    bottom: 37px;
    left: 49px;
    right: 49px;
    z-index: 2;
}

.rcm-todays-events__featured-tag {
    display: inline-block;
    background-color: #7153b0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 13px;
    letter-spacing: 0.5px;
}

.rcm-todays-events__featured-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.rcm-todays-events__featured-title a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.rcm-todays-events__featured-title a:hover {
    opacity: 0.9;
}

/* ========================================
   Events List (Right Column)
   ======================================== */

.rcm-todays-events__list-wrapper {
    flex: 0 0 482px;
    max-width: 482px;
    padding-top: 20px;
}

.rcm-todays-events__view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 17px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    text-decoration: none;
    color: #183354;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.rcm-todays-events__view-all:hover {
    background-color: #7153b0;
    border-color: #7153b0;
    color: #fff;
}

.rcm-todays-events__view-all svg {
    color: #7153b0;
    transition: color 0.2s ease;
}

.rcm-todays-events__view-all:hover svg {
    color: #fff;
}

.rcm-todays-events__view-all--mobile {
    display: none;
}

.rcm-todays-events__view-all--desktop {
    display: inline-flex;
    margin-left: auto;
    margin-bottom: 26px;
}

.rcm-todays-events__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 34px;
}

.rcm-todays-events__item {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #fff;
    border-radius: 6px;
    padding: 0 14px;
    height: 66px;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rcm-todays-events__item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.rcm-todays-events__item-date {
    flex: 0 0 66px;
    height: 66px;
    background-color: #7153b0;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.rcm-todays-events__item-day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.rcm-todays-events__item-month {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
}

.rcm-todays-events__item-info {
    flex: 1;
    min-width: 0;
}

.rcm-todays-events__item-location {
    display: block;
    font-size: 12px;
    color: #141827;
    margin-bottom: 3px;
    font-weight: 500;
}

.rcm-todays-events__item-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #141827;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rcm-todays-events__no-events {
    text-align: center;
    color: #666;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 6px;
}

/* Calendar Button */
.rcm-todays-events__calendar-btn {
    display: inline-block;
    background-color: #7153b0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 21px 40px;
    border-radius: 13px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.rcm-todays-events__calendar-btn:hover {
    background-color: #5a4290;
    transform: translateY(-2px);
    color: #fff;
}

/* ========================================
   Responsive Styles
   ======================================== */

@media (max-width: 1400px) {
    .rcm-todays-events__container {
        padding: 0 60px;
    }

    .rcm-todays-events__featured {
        flex: 1;
        max-width: none;
    }

    .rcm-todays-events__list-wrapper {
        flex: 0 0 400px;
        max-width: 400px;
    }
}

@media (max-width: 1100px) {
    .rcm-todays-events__container {
        flex-direction: column;
        padding: 0 40px;
    }

    .rcm-todays-events__featured,
    .rcm-todays-events__list-wrapper {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .rcm-todays-events__featured-card {
        height: 350px;
    }
}

/* Mobile Layout (393px based on Figma) */
@media (max-width: 768px) {
    .rcm-todays-events {
        padding: 40px 0;
    }

    .rcm-todays-events__container {
        flex-direction: column;
        padding: 0 24px;
        gap: 20px;
    }

    /* Show mobile header with title and nav */
    .rcm-todays-events__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 15px;
    }

    .rcm-todays-events__header .rcm-todays-events__title {
        font-size: 28px;
        margin: 0;
    }

    .rcm-todays-events__view-all--mobile {
        display: inline-flex;
    }

    .rcm-todays-events__view-all--desktop {
        display: none;
    }

    /* Hide desktop title */
    .rcm-todays-events__title--desktop {
        display: none;
    }

    .rcm-todays-events__featured {
        width: 100%;
        max-width: 100%;
    }

    .rcm-todays-events__featured-card {
        height: 436px;
    }

    .rcm-todays-events__featured-content {
        bottom: 27px;
        left: 24px;
        right: 24px;
    }

    .rcm-todays-events__featured-title {
        font-size: 24px;
        line-height: 1.5;
    }

    .rcm-todays-events__list-wrapper {
        width: 100%;
        max-width: 100%;
        padding-top: 0;
    }

    .rcm-todays-events__list {
        gap: 8px;
    }

    .rcm-todays-events__item {
        padding: 0;
        background: #fff;
        border-radius: 6px;
    }

    .rcm-todays-events__item-date {
        flex: 0 0 47px;
        height: 66px;
        border-radius: 6px 0 0 6px;
    }

    .rcm-todays-events__item-day {
        font-size: 18px;
    }

    .rcm-todays-events__item-month {
        font-size: 12px;
    }

    .rcm-todays-events__item-info {
        padding: 11px 14px;
    }

    .rcm-todays-events__item-title {
        font-size: 14px;
    }

    .rcm-todays-events__calendar-btn {
        display: block;
        width: 240px;
        text-align: center;
        padding: 21px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .rcm-todays-events__container {
        padding: 0 20px;
    }

    .rcm-todays-events__header .rcm-todays-events__title {
        font-size: 24px;
    }

    .rcm-todays-events__featured-card {
        height: 380px;
    }

    .rcm-todays-events__featured-title {
        font-size: 20px;
    }

    .rcm-todays-events__featured-tag {
        font-size: 12px;
        padding: 2px 8px;
    }
}

.rcm-calendar-first-section {
    width: 100%;
    background: transparent;
}

.rcm-calendar-first-section__container {
    max-width: 1236px;
    margin: 0 auto;
    padding: 0 19px;
}

.rcm-calendar-first-section__hero {
    position: relative;
    width: 100%;
    background: transparent;
}

.rcm-calendar-first-section__hero-slider {
    position: relative;
    width: 100%;
    height: 463px;
}

.rcm-calendar-first-section__hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.rcm-calendar-first-section__hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.rcm-calendar-first-section__hero-media-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #d9d9d9;
}

.rcm-calendar-first-section__hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rcm-calendar-first-section__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(152, 129, 202, 0.85) 0%, rgba(62, 40, 109, 0.85) 100%);
}

.rcm-calendar-first-section__hero-details {
    position: absolute;
    left: 55px;
    top: 156px;
    width: 410px;
    max-width: calc(100% - 110px);
    z-index: 2;
}

.rcm-calendar-first-section__hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px !important;
    height: 36px !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 4px !important;
    background: transparent !important;
    background-color: transparent !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #7153b0 !important;
    z-index: 3;
    transition: all 0.2s ease;
    padding: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none;
    -webkit-appearance: none;
    font-size: inherit !important;
    font-weight: inherit !important;
    white-space: normal !important;
    text-align: center !important;
}

.rcm-calendar-first-section__hero-nav:hover,
.rcm-calendar-first-section__hero-nav:active {
    background-color: #7153b0 !important;
    border-color: #7153b0 !important;
    color: #fff !important;
}

.rcm-calendar-first-section__hero-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.rcm-calendar-first-section__hero-nav--prev {
    left: 19px;
}

.rcm-calendar-first-section__hero-nav--next {
    right: 19px;
}

.rcm-calendar-first-section__hero-nav--prev::before,
.rcm-calendar-first-section__hero-nav--next::before {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.rcm-calendar-first-section__hero-nav--prev::before {
    content: '‹';
}

.rcm-calendar-first-section__hero-nav--next::before {
    content: '›';
}

.rcm-calendar-first-section__hero-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    display: flex;
    gap: 5px;
    z-index: 3;
}

.rcm-calendar-first-section__hero-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
    border: 0 !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.5) !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

.rcm-calendar-first-section__hero-dot:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
}

.rcm-calendar-first-section__hero-dot.is-active {
    background: #7153b0 !important;
    background-color: #7153b0 !important;
}

.rcm-calendar-first-section__hero-date {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 19.3px;
    line-height: 19.3px;
    color: #f2f2f2;
}

.rcm-calendar-first-section__hero-title {
    margin: 9px 0 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 33.6px;
    color: #ffffff;
}

.rcm-calendar-first-section__hero-meta {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    column-gap: 29px;
    align-items: center;
}

.rcm-calendar-first-section__hero-meta-divider {
    width: 1px;
    height: 52px;
    background: rgba(203, 203, 203, 0.35);
    justify-self: center;
}

.rcm-calendar-first-section__hero-meta-col {
    min-width: 0;
}

.rcm-calendar-first-section__hero-calendar-month,
.rcm-calendar-first-section__hero-venue,
.rcm-calendar-first-section__hero-time-start,
.rcm-calendar-first-section__hero-time-end {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 19.3px;
    line-height: 33.94px;
    color: #cbcbcb;
}

.rcm-calendar-first-section__hero-calendar-month {
    color: #f2f2f2;
}

.rcm-calendar-first-section__button {
    margin-top: 23px;
    width: 171.63px;
    height: 50px;
    background: #7153b0 !important;
    background-color: #7153b0 !important;
    border-radius: 6px;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff !important;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 14px;
}

.rcm-calendar-first-section__featured {
    margin-top: 67px;
}

.rcm-calendar-first-section__featured-title {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 33.6px;
    color: #183354;
}

.rcm-calendar-first-section__border {
    position: relative;
    margin-top: 17px;
    height: 6px;
    width: 1198px;
    max-width: 100%;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: 1251px 6px !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
    border: none !important;
    background-color: transparent !important;
}

.rcm-calendar-first-section__featured-grid {
    margin-top: 29px;
    max-width: 100%;
}

.rcm-calendar-first-section__featured-slider {
    display: none;
    margin-top: 29px;
    position: relative;
}

.rcm-calendar-first-section__featured-slider-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
}

.rcm-calendar-first-section__featured-slider-track::-webkit-scrollbar {
    display: none;
}

.rcm-calendar-first-section__featured-slider-track .rcm-explore-places__card {
    flex: 0 0 278.2px;
    scroll-snap-align: start;
}

.rcm-calendar-first-section__featured-slider-track .rcm-explore-places__card-image {
    height: 200px;
}

.rcm-calendar-first-section__featured-slider-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.rcm-calendar-first-section__featured-slider-btn {
    width: 36px !important;
    height: 36px !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 4px !important;
    background: transparent !important;
    background-color: transparent !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #7153b0 !important;
    transition: all 0.2s ease;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.rcm-calendar-first-section__featured-slider-btn:hover,
.rcm-calendar-first-section__featured-slider-btn:active {
    background-color: #7153b0 !important;
    border-color: #7153b0 !important;
    color: #fff !important;
}

.rcm-calendar-first-section__featured-slider-btn:active {
    transform: scale(0.95);
}

.rcm-calendar-first-section__card {
    width: 278.2px;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}

.rcm-calendar-first-section__card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.rcm-calendar-first-section__card-image {
    width: 278.2px;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.rcm-calendar-first-section__card-body {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 12px;
}

.rcm-calendar-first-section__card-month {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 9.22px;
    line-height: 14px;
    color: #7153b0;
}

.rcm-calendar-first-section__card-day {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 23.04px;
    line-height: 33.6px;
    color: #183354;
}

.rcm-calendar-first-section__card-title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 14.59px;
    line-height: 17.83px;
    color: #183354;
}

.rcm-calendar-first-section__card-details {
    margin-top: 6px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14.59px;
    line-height: 16.21px;
    color: #2f2f2f;
}

@media (max-width: 768px) {
    .rcm-calendar-first-section__container {
        padding: 0 12px;
    }

    .rcm-calendar-first-section__hero {
        background: transparent;
    }

    .rcm-calendar-first-section__hero-slider {
        height: auto;
    }

    .rcm-calendar-first-section__hero-slide {
        position: relative;
        inset: auto;
        display: none;
        opacity: 1;
        pointer-events: auto;
        transition: none;
    }

    .rcm-calendar-first-section__hero-slide.is-active {
        display: block;
    }

    .rcm-calendar-first-section__hero-media-wrap {
        position: relative;
        height: 541px;
    }

    .rcm-calendar-first-section__hero-details {
        position: static;
        width: 100%;
        max-width: 100%;
        padding: 12px 16px 0;
    }

    .rcm-calendar-first-section__hero-nav {
        top: 270px;
        transform: none;
    }

    .rcm-calendar-first-section__hero-dots {
        display: none !important;
    }

    .rcm-calendar-first-section__hero-date {
        font-family: 'Manrope', sans-serif;
        font-weight: 700;
        font-size: 19.3px;
        color: #5d5d5d;
    }

    .rcm-calendar-first-section__hero-title {
        font-family: 'Manrope', sans-serif;
        font-weight: 700;
        font-size: 25px;
        line-height: 33.6px;
        color: #000000;
    }

    .rcm-calendar-first-section__hero-calendar-month,
    .rcm-calendar-first-section__hero-venue,
    .rcm-calendar-first-section__hero-time-start,
    .rcm-calendar-first-section__hero-time-end {
        font-family: 'Manrope', sans-serif;
        font-weight: 700;
        color: #2f2f2f;
        font-size: 14.59px;
        line-height: 17.83px;
    }

    .rcm-calendar-first-section__hero-calendar-month {
        color: #5d5d5d;
    }

    .rcm-calendar-first-section__hero-nav:active {
        transform: scale(0.95);
    }

    .rcm-calendar-first-section__hero-meta {
        margin-top: 12px;
        grid-template-columns: auto 1px auto;
        column-gap: 12px;
    }

    .rcm-calendar-first-section__hero-meta-divider {
        width: 1px;
        height: 52px;
        background: #cbcbcb59;
    }

    .rcm-calendar-first-section__button {
        margin-top: 20px;
        width: 171.63px;
        height: 50px;
    }

    .rcm-calendar-first-section__featured {
        margin-top: 40px;
        padding: 0 16px;
    }

    .rcm-calendar-first-section__featured-title {
        font-family: 'Roboto', sans-serif;
        font-weight: 700;
        font-size: 25px;
        line-height: 33.6px;
        color: #183354;
    }

    .rcm-calendar-first-section__border {
        width: 349px;
        max-width: 100%;
        height: 6px;
    }

    .rcm-calendar-first-section__border-indicator {
        height: 5px;
        width: 40px;
    }

    .rcm-calendar-first-section__featured-grid {
        display: none !important;
    }

    .rcm-calendar-first-section__featured-slider {
        display: block !important;
    }

    .rcm-calendar-first-section__featured-slider-track {
        gap: 12px;
    }

    .rcm-calendar-first-section__featured-slider-track .rcm-explore-places__card {
        flex: 0 0 278.2px;
    }

    .rcm-calendar-first-section__featured-slider-track .rcm-explore-places__card-image {
        height: 200px;
    }

    .rcm-explore-places__card-content {
        padding: 14px 16px;
    }

    .rcm-explore-places__card-event-row {
        gap: 12px;
    }

    .rcm-explore-places__card-date-month {
        font-size: 9.22px;
        line-height: 12px;
    }

    .rcm-explore-places__card-date-day {
        font-size: 23.04px;
        line-height: 30px;
    }

    .rcm-explore-places__card--event .rcm-explore-places__card-title {
        font-size: 14.59px;
        line-height: 17.83px;
    }

    .rcm-explore-places__card-venue,
    .rcm-explore-places__card-time-price {
        font-size: 12px;
        line-height: 16.21px;
    }

    .rcm-calendar-first-section__card {
        width: 278.2px;
    }
}

/* ========================================
   Calendar Second Section (All Events)
   ======================================== */

.rcm-calendar-second-section {
    padding: 0;
}

.rcm-calendar-second-section__container {
    max-width: 1198px;
    margin: 0 auto;
    padding: 0 12px;
}

.rcm-calendar-second-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 0;
}

.rcm-calendar-second-section__title {
    font-family: 'Proxima Nova', 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #242565;
    margin: 0;
    white-space: nowrap;
}

.rcm-calendar-second-section__filters {
    display: flex;
    gap: 20px;
    align-items: center;
}

.rcm-calendar-second-section__filter {
    position: relative;
    width: 168px;
    height: 46px;
}

.rcm-calendar-second-section__filter select {
    width: 100%;
    height: 100%;
    padding: 0 35px 0 25px;
    border: none !important;
    border-radius: 0;
    background: #f2f4ff;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #1d275f;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none !important;
}

.rcm-calendar-second-section__filter select:focus {
    border: none !important;
    outline: none !important;
}

.rcm-calendar-second-section__filter-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 5px;
    pointer-events: none;
}

.rcm-calendar-second-section__filter-arrow::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #1d275f;
}

.rcm-calendar-second-section__filter input[type="date"] {
    width: 100%;
    height: 100%;
    padding: 0 15px;
    border: none !important;
    border-radius: 0;
    background: #f2f4ff;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #1d275f;
    cursor: pointer;
    outline: none !important;
    box-sizing: border-box;
}

.rcm-calendar-second-section__filter input[type="date"]:focus {
    border: none !important;
    outline: none !important;
}

.rcm-calendar-second-section__filter input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

.rcm-calendar-second-section__filter input[type="date"].is-empty {
    color: #1d275f;
}

.rcm-calendar-second-section__border {
    position: relative;
    width: 100%;
    height: 6px;
    margin-top: 32px;
    margin-bottom: 0;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: 1251px 6px !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
    border: none !important;
    background-color: transparent !important;
}

.rcm-calendar-second-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 75px;
}

.rcm-calendar-second-section__card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 50px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.rcm-calendar-second-section__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 50px rgba(0, 0, 0, 0.12);
}

.rcm-calendar-second-section__card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.rcm-calendar-second-section__card-image {
    width: 100%;
    height: 197px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.rcm-calendar-second-section__card-content {
    padding: 20px 22px 18px;
    background: #ffffff;
}

.rcm-calendar-second-section__card-row {
    display: flex;
    gap: 17px;
    align-items: flex-start;
}

.rcm-calendar-second-section__card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 32px;
    flex-shrink: 0;
}

.rcm-calendar-second-section__card-month {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 11.37px;
    line-height: 15px;
    color: #7153b0;
    text-transform: uppercase;
}

.rcm-calendar-second-section__card-day {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 28.43px;
    line-height: 37px;
    color: #183354;
    margin-top: -3px;
}

.rcm-calendar-second-section__card-info {
    flex: 1;
    min-width: 0;
}

.rcm-calendar-second-section__card-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: #183354;
    margin: 0 0 6px 0;
    max-width: 242px;
}

.rcm-calendar-second-section__card-meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 6px;
}

.rcm-calendar-second-section__card-venue {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #2f2f2f;
}

.rcm-calendar-second-section__card-time-price {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #7153b0;
}

.rcm-calendar-second-section__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 50px;
    padding-bottom: 20px;
}

.rcm-calendar-second-section__page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    background: transparent;
    color: #7153b0;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.rcm-calendar-second-section__page-btn:hover {
    background-color: #7153b0;
    border-color: #7153b0;
    color: #fff;
}

.rcm-calendar-second-section__page-btn.is-disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

.rcm-calendar-second-section__page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    background: transparent;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #183354;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rcm-calendar-second-section__page-num:hover {
    background-color: #f2f4ff;
    border-color: #7153b0;
    color: #7153b0;
}

.rcm-calendar-second-section__page-num.is-active {
    background-color: #7153b0;
    border-color: #7153b0;
    color: #ffffff;
}

.rcm-calendar-second-section__page-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #6d757e;
    cursor: default;
}

.rcm-calendar-second-section__empty {
    text-align: center;
    padding: 60px 20px;
    color: #6d757e;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
}

@media (max-width: 1024px) {
    .rcm-calendar-second-section {
        padding-top: 10px;
    }

    .rcm-calendar-second-section__container {
        padding: 0 10px;
    }

    .rcm-calendar-second-section__header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px 14px 0;
        border: 1px solid #e4e8f2;
        border-bottom: none;
        border-radius: 16px 16px 0 0;
        background: #ffffff;
    }

    .rcm-calendar-second-section__title {
        color: #242565;
        font-size: 32px;
        line-height: 1.1;
        white-space: normal;
    }

    .rcm-calendar-second-section__filters {
        width: 100%;
        gap: 10px;
        flex-wrap: wrap;
    }

    .rcm-calendar-second-section__filter {
        width: calc(50% - 5px);
        min-width: 140px;
        height: 42px;
    }

    .rcm-calendar-second-section__filter select,
    .rcm-calendar-second-section__filter input[type="date"] {
        border-radius: 10px;
        background: #f2f4ff;
        color: #1d275f;
    }

    .rcm-calendar-second-section__filter-arrow::after {
        border-top-color: #1d275f;
    }

    .rcm-calendar-second-section__filter input[type="date"]::-webkit-calendar-picker-indicator {
        opacity: 0.65;
        filter: none;
    }

    .rcm-calendar-second-section__border {
        height: 1px;
        margin-top: 14px;
        background-image: none !important;
        border-top: 1px solid #e4e8f2 !important;
        border-bottom: none !important;
    }

    .rcm-calendar-second-section__grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 0;
        padding: 14px;
        border: 1px solid #e4e8f2;
        border-top: none;
        border-radius: 0 0 16px 16px;
        background: #ffffff;
    }

    .rcm-calendar-second-section__card {
        border: 1px solid #dbe2ef;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 6px 20px rgba(18, 42, 73, 0.06);
    }

    .rcm-calendar-second-section__card:hover {
        transform: none;
        box-shadow: 0 6px 20px rgba(18, 42, 73, 0.06);
    }

    .rcm-calendar-second-section__card-image {
        display: none;
    }

    .rcm-calendar-second-section__card-content {
        padding: 11px 12px;
        background: transparent;
    }

    .rcm-calendar-second-section__card-row {
        gap: 12px;
    }

    .rcm-calendar-second-section__card-date {
        width: 58px;
        min-width: 58px;
        padding: 8px 4px;
        border-radius: 10px;
        background: #f3f7ef;
    }

    .rcm-calendar-second-section__card-month {
        color: #7655be;
        font-size: 10px;
        line-height: 1.2;
    }

    .rcm-calendar-second-section__card-day {
        margin-top: 2px;
        color: #183354;
        font-size: 30px;
        line-height: 1;
    }

    .rcm-calendar-second-section__card-title {
        max-width: none;
        margin-bottom: 5px;
        color: #183354;
        font-size: 20px;
        line-height: 1.2;
    }

    .rcm-calendar-second-section__card-venue {
        color: #4f5c6c;
        font-size: 15px;
        line-height: 1.35;
    }

    .rcm-calendar-second-section__card-time-price {
        display: inline-flex;
        width: fit-content;
        margin-top: 6px;
        padding: 2px 9px;
        border-radius: 999px;
        background: #ece7ff;
        color: #5a3ab3;
        font-size: 12px;
        line-height: 1.3;
        font-weight: 700;
    }

    .rcm-calendar-second-section__pagination {
        gap: 10px;
    }

    .rcm-calendar-second-section__page-btn {
        width: 34px;
        height: 34px;
        border: 1px solid #d7deec;
        border-radius: 999px;
        background: #fff;
        color: #5e6880;
        font-size: 0;
        line-height: 0;
        position: relative;
        overflow: hidden;
    }

    .rcm-calendar-second-section__page-btn::before {
        content: "";
        display: block;
        width: 12px;
        height: 12px;
        margin: 0 auto;
        background: currentColor;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-size: contain;
        mask-size: contain;
    }

    .rcm-calendar-second-section__page-btn--prev::before {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M10.78 2.97a.75.75 0 0 1 0 1.06L6.81 8l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 0z'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M10.78 2.97a.75.75 0 0 1 0 1.06L6.81 8l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 0z'/%3E%3C/svg%3E");
    }

    .rcm-calendar-second-section__page-btn--next::before {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M5.22 13.03a.75.75 0 0 1 0-1.06L9.19 8 5.22 4.03a.75.75 0 1 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0z'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M5.22 13.03a.75.75 0 0 1 0-1.06L9.19 8 5.22 4.03a.75.75 0 1 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0z'/%3E%3C/svg%3E");
    }

    .rcm-calendar-second-section__page-btn--next {
        background: linear-gradient(180deg, #7c61c6 0%, #6a4fb4 100%);
        border-color: #6a4fb4;
        color: #fff;
        box-shadow: 0 6px 14px rgba(113, 83, 176, 0.28);
    }

    .rcm-calendar-second-section__page-btn.is-disabled {
        background: #f6f7fb;
        border-color: #e2e7f2;
        color: #b6bfd2;
        opacity: 1;
        box-shadow: none;
    }

    .rcm-calendar-second-section__pagination {
        margin-top: 22px;
    }
}

@media (max-width: 768px) {
    .rcm-calendar-second-section__title {
        font-size: 28px;
    }

    .rcm-calendar-second-section__filter {
        width: 100%;
    }

    .rcm-calendar-second-section__card-title {
        font-size: 18px;
    }
}

@media (min-width: 1025px) {
    .rcm-calendar-second-section__page-btn {
        font-size: 18px;
        line-height: 1;
    }

    .rcm-calendar-second-section__page-btn::before {
        content: none !important;
    }
}

/* ========================================
   Trending Places Shortcode
   ======================================== */

.rcm-trending-places {
    background-color: #FBF9F9;
    padding: 46px 0 20px;
}

.rcm-trending-places__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 94px;
}

.rcm-trending-places__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.rcm-trending-places__title {
    font-size: 24px;
    font-weight: 700;
    color: #183354;
    margin: 0;
}

.rcm-trending-places__view-all {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 17px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    text-decoration: none;
    color: #183354;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.rcm-trending-places__view-all:hover {
    background-color: var(--rcm-topic-color, #7153b0);
    border-color: var(--rcm-topic-color, #7153b0);
    color: #fff;
}

.rcm-trending-places__view-all svg {
    color: var(--rcm-topic-color, #7153b0);
    transition: color 0.2s ease;
}

.rcm-trending-places__view-all:hover svg {
    color: #fff;
}

.rcm-trending-places__border {
    position: relative;
    width: 100%;
    height: 6px;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: 1251px 6px !important;
    background-color: transparent !important;
    margin-bottom: 33px;
    border: none !important;
}

.rcm-trending-places__border-arrow {
    position: absolute;
    left: 34.9px;
    top: -0.5px;
    width: 9.7px;
    height: 5.8px;
    background: #fff !important;
    clip-path: polygon(0 0, 100% 0, 50% 100%) !important;
}

.rcm-trending-places__grid {
    display: flex;
    gap: 8px;
}

.rcm-trending-places__card {
    flex: 1;
    position: relative;
    height: 407px;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.rcm-trending-places__card-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.rcm-trending-places__card:hover .rcm-trending-places__card-image {
    transform: scale(1.05);
}

.rcm-trending-places__card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(62, 40, 109, 1) 0%, rgba(0, 0, 0, 0) 75%);
}

.rcm-trending-places__card-content {
    position: absolute;
    bottom: 30px;
    left: 29px;
    right: 29px;
}

.rcm-trending-places__card-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
}

.rcm-trending-places__card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Trending Places Responsive */
@media (max-width: 1400px) {
    .rcm-trending-places__container {
        padding: 0 60px;
    }
}

/* Tablet / small laptop: horizontal rail for topic rows; wrap for default 3-up */
@media (max-width: 1279px) and (min-width: 769px) {
    .rcm-trending-places__container {
        padding-left: clamp(20px, 4vw, 60px);
        padding-right: clamp(20px, 4vw, 60px);
    }

    .rcm-trending-places__border {
        margin-bottom: 22px;
    }

    .rcm-trending-places--all-topics .rcm-trending-places__grid {
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 2px 10px;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .rcm-trending-places--all-topics .rcm-trending-places__grid::-webkit-scrollbar {
        display: none;
    }

    .rcm-trending-places--all-topics .rcm-trending-places__card {
        flex: 0 0 auto;
        width: min(300px, 85vw);
        max-width: min(300px, 85vw);
        scroll-snap-align: start;
    }

    .rcm-trending-places:not(.rcm-trending-places--all-topics) .rcm-trending-places__grid {
        flex-wrap: wrap;
        gap: 12px;
    }

    .rcm-trending-places:not(.rcm-trending-places--all-topics) .rcm-trending-places__card {
        flex: 1 1 min(100%, 320px);
        max-width: calc(50% - 6px);
        min-width: min(100%, 260px);
    }
}

@media (max-width: 768px) {
    .rcm-trending-places {
        padding: 41px 0 56px;
    }

    .rcm-trending-places__container {
        padding: 0 23px;
    }

    .rcm-trending-places__header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 21px;
    }

    .rcm-trending-places__title {
        font-size: 17px;
        font-weight: 700;
    }

    .rcm-trending-places__view-all {
        padding: 10px 17px;
        font-size: 14px;
    }

    .rcm-trending-places__border {
        margin-bottom: 45px;
    }

    .rcm-trending-places__grid {
        flex-direction: column;
        gap: 8px;
        padding: 0 17px;
    }

    .rcm-trending-places--all-topics .rcm-trending-places__grid {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px;
        padding: 0 17px 0 17px;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 17px;
        scroll-padding-right: 17px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .rcm-trending-places--all-topics .rcm-trending-places__grid::-webkit-scrollbar {
        display: none;
    }

    .rcm-trending-places__card {
        flex: none;
        width: 100%;
        height: 407px;
        border-radius: 6px;
    }

    .rcm-trending-places--all-topics .rcm-trending-places__card {
        width: min(82vw, 320px);
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .rcm-trending-places__card-content {
        bottom: 27px;
        left: 29px;
        right: 29px;
    }

    .rcm-trending-places__card-tag {
        padding: 4px 10px;
        font-size: 14px;
        margin-bottom: 14px;
    }

    .rcm-trending-places__card-title {
        font-size: 18px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .rcm-trending-places__container {
        padding: 0 23px;
    }

    .rcm-trending-places__grid {
        padding: 0 17px;
    }

    .rcm-trending-places__card {
        height: 407px;
    }
}

/* Explore Places Shortcode - Exact Figma Spec */
.rcm-explore-places {
    padding: 40px 0;
    width: 100%;
}

.rcm-explore-places__container {
    max-width: 1261.81px;
    margin: 0 auto;
    padding: 0;
}

.rcm-explore-places__header {
    position: relative;
    min-height: 56px;
    max-width: 1261.81px;
    width: 100%;
    margin-bottom: var(--rcm-home-rail-gap-title-rule, 15px);
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    background: none !important;
    border: none !important;
    padding: 27px 0 0 0 !important;
}

.rcm-explore-places__title {
    position: absolute !important;
    left: 31.8px !important;
    top: 0 !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    color: #183354 !important;
    margin: 0 !important;
    line-height: 33.6px !important;
    padding: 0 !important;
    border: none !important;
    width: auto !important;
    text-transform: none !important;
    background: none !important;
}

.rcm-explore-places__tabs {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    display: flex !important;
    gap: 40px !important;
    align-items: center !important;
    margin: 0 0 3px 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: 14px !important;
    z-index: 10 !important;
}

.rcm-explore-places__tab {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #d7d7d7 !important;
    cursor: pointer !important;
    transition: none !important;
    box-shadow: none !important;
    outline: none !important;
    text-transform: uppercase !important;
    height: 14px !important;
    line-height: 14px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    min-width: 0 !important;
    width: auto !important;
    display: inline-block !important;
    text-decoration: none !important;
    border-radius: 6px !important;
}

.rcm-explore-places__tab:hover,
.rcm-explore-places__tab:focus,
.rcm-explore-places__tab:active,
.rcm-explore-places__tab:visited,
.rcm-explore-places__tab::before,
.rcm-explore-places__tab::after {
    background: none !important;
    color: #d7d7d7 !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
    border: none !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

.rcm-explore-places__tab--active,
.rcm-explore-places__tab--active:hover,
.rcm-explore-places__tab--active:focus,
.rcm-explore-places__tab--active:active {
    color: var(--rcm-topic-color, #7153b0) !important;
    background: none !important;
}

/* Matches .rcm-trending-places__border (section-border.svg) */
.rcm-explore-places__border {
    position: relative;
    width: 100%;
    height: 6px;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: 1251px 6px !important;
    background-color: transparent !important;
    margin-bottom: var(--rcm-home-rail-gap-rule-content, 34px);
    border: none !important;
    flex: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.rcm-explore-places__header--single {
    min-height: 0 !important;
    margin-bottom: var(--rcm-home-rail-gap-title-rule, 15px) !important;
    display: block !important;
    padding: 0 !important;
}

.rcm-explore-places__header--single .rcm-explore-places__title {
    position: static !important;
    left: 0 !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 25px !important;
    line-height: 32.58px !important;
}



.rcm-explore-places__content {
    margin-top: 0px;
    min-height: 0;
}

.rcm-explore-places__panel {
    display: none;
}

.rcm-explore-places__panel--active {
    display: block;
}

.rcm-explore-places__grid-mixed {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 278px minmax(0, 582px) 278px;
    gap: 30px;
    align-items: start;
}

@media (max-width: 1180px) {
    .rcm-explore-places__grid-mixed {
        grid-template-columns: 1fr;
    }

    .rcm-explore-places__column {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        align-items: stretch;
    }

    .rcm-explore-places__column--center {
        grid-template-columns: 1fr;
    }

    /* Same as .rcm-home-featured__column: paired small cards share row height. */
    .rcm-explore-places__column > .rcm-explore-places__card:not(.rcm-explore-places__card--large) {
        display: flex;
        flex-direction: column;
        min-height: 0;
        height: 100%;
        overflow: hidden;
    }

    .rcm-explore-places__column > .rcm-explore-places__card:not(.rcm-explore-places__card--large) .rcm-explore-places__card-link {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
        height: 100%;
        overflow: hidden;
    }

    .rcm-explore-places__column > .rcm-explore-places__card:not(.rcm-explore-places__card--large) .rcm-explore-places__card-content {
        min-width: 0;
        overflow: hidden;
    }

    .rcm-explore-places__column > .rcm-explore-places__card:not(.rcm-explore-places__card--large) .rcm-explore-places__card-image {
        flex: 0 0 auto;
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }

    /* Side rails: 2-line tag band (matches home featured badge). */
    .rcm-explore-places__column--left .rcm-explore-places__card:not(.rcm-explore-places__card--large) .rcm-explore-places__card-tag,
    .rcm-explore-places__column--right .rcm-explore-places__card:not(.rcm-explore-places__card--large) .rcm-explore-places__card-tag {
        align-self: stretch;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
        white-space: normal;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        text-align: center;
        word-break: break-word;
        line-height: 1.2;
        min-height: calc(1.2em * 2 + 8px);
        max-height: calc(1.2em * 2 + 8px);
    }

    /* Non-event small cards: fixed 2-line title block (px cap beats theme line-height / flex min-size). */
    .rcm-explore-places__column > .rcm-explore-places__card:not(.rcm-explore-places__card--large):not(.rcm-explore-places__card--event) .rcm-explore-places__card-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: break-word;
        flex-shrink: 0;
        min-width: 0;
        align-self: stretch;
        line-height: 1.2 !important;
        font-size: 15px !important;
        min-height: 0;
        max-height: 36px;
        max-width: 100% !important;
    }

    .rcm-explore-places__column > .rcm-explore-places__card--event:not(.rcm-explore-places__card--large) .rcm-explore-places__card-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: break-word;
        min-width: 0;
        align-self: stretch;
        line-height: 1.2 !important;
        font-size: 15px !important;
        min-height: 0;
        max-height: 36px;
        max-width: 100% !important;
    }
}

.rcm-explore-places__column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rcm-explore-places__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    overflow: visible;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: none;
    border: none;
}

.rcm-explore-places__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Softer hover shadow */
}

.rcm-explore-places__card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.rcm-explore-places__card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.rcm-explore-places__card--large .rcm-explore-places__card-image {
    height: 390px;
}

.rcm-explore-places__card-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #ffffff;
}

.rcm-explore-places__card--large .rcm-explore-places__card-content {
    padding: 14px 37px 0;
    gap: 10px;
}

/* WPBakery "Empty space" should never add vertical gaps inside explore cards */
.rcm-explore-places__card-content .vc_empty_space,
.rcm-explore-places__card-content .vc_empty_space_inner {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    line-height: 0 !important;
}

/*
 * WPBakery row/column wrappers (when excerpt HTML is rendered) — js_composer adds
 * margins and box model that create dead space between the title and body text.
 */
.rcm-explore-places__card-content .vc_row,
.rcm-explore-places__card-content .wpb_row,
.rcm-explore-places__card-content .vc_row-fluid,
.rcm-explore-places__card-content .vc_column,
.rcm-explore-places__card-content .vc_column_container,
.rcm-explore-places__card-content .vc_column-inner,
.rcm-explore-places__card-content .wpb_column,
.rcm-explore-places__card-content .wpb_text_column,
.rcm-explore-places__card-content .wpb_content_element,
.rcm-explore-places__card-content .wpb_wrapper {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.rcm-explore-places__card-content .vc_row,
.rcm-explore-places__card-content .wpb_row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    max-width: none !important;
}

.rcm-explore-places__card-content .wpb_text_column:empty,
.rcm-explore-places__card-content .vc_row:empty,
.rcm-explore-places__card-content .wpb_wrapper:empty {
    display: none !important;
}

.rcm-explore-places__card-content .wpb_text_column p {
    margin: 0 !important;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #545e69;
    line-height: 28px;
}

.rcm-explore-places__card-content .wpb_text_column p + p {
    margin-top: 0.5em !important;
}

/* Single-column WPB layouts: wrappers stop stealing flex gaps (title → text stays tight) */
.rcm-explore-places__card-content .vc_row,
.rcm-explore-places__card-content .wpb_row,
.rcm-explore-places__card-content .vc_column,
.rcm-explore-places__card-content .vc_column_container,
.rcm-explore-places__card-content .vc_column-inner,
.rcm-explore-places__card-content .wpb_column,
.rcm-explore-places__card-content .wpb_text_column,
.rcm-explore-places__card-content .wpb_wrapper {
    display: contents !important;
}

/* Flow chip below image (same rhythm as .rcm-home-featured__badge on home). */
.rcm-explore-places__card-tag {
    position: static;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    margin: -13px 0 10px 0;
    padding: 4px 14px;
    border-radius: 3px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    z-index: 3;
    box-sizing: border-box;
}

.rcm-explore-places__card--large .rcm-explore-places__card-tag {
    margin-bottom: 14px;
}

.rcm-explore-places__card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #183354;
    margin: 0;
    line-height: 28px;
    max-width: 245px;
}

.rcm-explore-places__card--large .rcm-explore-places__card-title {
    font-size: 28px;
    line-height: 33.6px;
    max-width: 507.6px;
}

/* Center hero: match .rcm-home-featured__card--main (all pages using explore grid). */
@media (min-width: 768px) {
    .rcm-explore-places__column--center .rcm-explore-places__card--large .rcm-explore-places__card-title {
        max-width: none;
        line-height: 1.2;
        text-align: left;
        color: #183354;
    }

    .rcm-explore-places__column--center .rcm-explore-places__card--large:hover {
        transform: none;
        box-shadow: none;
    }
}

.rcm-explore-places__card-event-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rcm-explore-places__card-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 26px;
    flex-shrink: 0;
    padding-top: 2px;
}

.rcm-explore-places__card-date-month {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 9.22px;
    line-height: 12px;
    color: #7153b0;
    text-transform: uppercase;
    letter-spacing: 0;
}

.rcm-explore-places__card-date-day {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 23.04px;
    line-height: 30px;
    color: #183354;
    margin-top: -2px;
}

.rcm-explore-places__card-event-info {
    flex: 1;
    min-width: 0;
}

.rcm-explore-places__card--event .rcm-explore-places__card-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #183354;
    margin: 0;
    max-width: 245px;
}

.rcm-explore-places__card-event-meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 6px;
}

.rcm-explore-places__card-venue {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16.21px;
    color: #2f2f2f;
}

.rcm-explore-places__card-time-price {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16.21px;
    color: #7153b0;
}

.rcm-explore-places__card--large.rcm-explore-places__card--event .rcm-explore-places__card-title {
    font-size: 28px;
    line-height: 33.6px;
    max-width: 507.6px;
}

.rcm-explore-places__card--large .rcm-explore-places__card-date-month {
    font-size: 11px;
}

.rcm-explore-places__card--large .rcm-explore-places__card-date-day {
    font-size: 28px;
}

.rcm-explore-places__card--large .rcm-explore-places__card-venue,
.rcm-explore-places__card--large .rcm-explore-places__card-time-price {
    font-size: 14px;
}

.rcm-explore-places__empty {
    text-align: center;
    padding: 40px;
    color: #6d757e;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .rcm-explore-places {
        padding: 40px 0;
    }

    .rcm-explore-places__container {
        padding: 0 23px;
    }

    .rcm-explore-places__header {
        position: relative;
        min-height: auto;
        height: auto;
        margin-bottom: var(--rcm-home-rail-gap-title-rule, 16px);
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 0 !important;
    }

    .rcm-explore-places__title {
        position: static !important;
        font-size: 24px !important;
        width: auto !important;
        height: auto !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
    }

    .rcm-explore-places__tabs {
        position: static !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        padding-top: 10px;
        padding-bottom: 4px;
    }

    .rcm-explore-places__border {
        margin-bottom: var(--rcm-home-rail-gap-rule-content, 24px);
    }

    .rcm-explore-places__tab {
        white-space: nowrap;
        font-size: 13px;
    }

    .rcm-explore-places__grid-mixed {
        gap: 16px;
    }

    .rcm-explore-places__column {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        align-items: stretch;
    }

    .rcm-explore-places__column > .rcm-explore-places__card:not(.rcm-explore-places__card--large) {
        overflow: hidden;
    }

    .rcm-explore-places__column > .rcm-explore-places__card:not(.rcm-explore-places__card--large) .rcm-explore-places__card-link {
        overflow: hidden;
    }

    .rcm-explore-places__column > .rcm-explore-places__card:not(.rcm-explore-places__card--large) .rcm-explore-places__card-content {
        min-width: 0;
        overflow: hidden;
    }

    .rcm-explore-places__column--center {
        grid-template-columns: 1fr;
    }

    .rcm-explore-places__card-image {
        height: 188px;
    }

    .rcm-explore-places__column > .rcm-explore-places__card:not(.rcm-explore-places__card--large) .rcm-explore-places__card-image {
        height: 188px;
        min-height: 188px;
        max-height: 188px;
    }

    .rcm-explore-places__card--large .rcm-explore-places__card-image {
        height: 280px;
    }

    .rcm-explore-places__card-content {
        padding: 0;
    }

    .rcm-explore-places__card-tag {
        margin: -13px 0 16px 0;
    }

    /* Small cards in side columns: full-width chip + 2-line band (match .rcm-home-featured mobile). */
    .rcm-explore-places__column--left .rcm-explore-places__card:not(.rcm-explore-places__card--large) .rcm-explore-places__card-tag,
    .rcm-explore-places__column--right .rcm-explore-places__card:not(.rcm-explore-places__card--large) .rcm-explore-places__card-tag {
        align-self: stretch;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        flex-shrink: 0;
        box-sizing: border-box;
        white-space: normal;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        text-align: center;
        word-break: break-word;
        line-height: 1.2;
        min-height: calc(1.2em * 2 + 8px);
        max-height: calc(1.2em * 2 + 8px);
    }

    .rcm-explore-places__card-title {
        font-size: 16px;
        max-width: 171px;
    }

    .rcm-explore-places__column--left .rcm-explore-places__card:not(.rcm-explore-places__card--large) .rcm-explore-places__card-title,
    .rcm-explore-places__column--right .rcm-explore-places__card:not(.rcm-explore-places__card--large) .rcm-explore-places__card-title {
        max-width: 100% !important;
        text-align: center;
        line-height: 1.2 !important;
        font-size: 15px !important;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: break-word;
        flex-shrink: 0;
        min-width: 0;
        min-height: 0;
        max-height: 36px;
        align-self: stretch;
    }

    .rcm-explore-places__card--large .rcm-explore-places__card-title {
        font-size: 20px;
        max-width: 342px;
    }
}

@media (max-width: 480px) {
    .rcm-explore-places__card-image {
        height: 180px;
    }

    .rcm-explore-places__column > .rcm-explore-places__card:not(.rcm-explore-places__card--large) .rcm-explore-places__card-image {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }

    .rcm-explore-places__card--large .rcm-explore-places__card-image {
        height: 300px;
    }

    .rcm-explore-places__card-title {
        max-width: 100%;
    }

    .rcm-explore-places__card--large .rcm-explore-places__card-title {
        max-width: 100%;
    }
}

/* Latest Guides Shortcode
-------------------------------------------------------------- */
.rcm-latest-guides {
    padding: 60px 0 !important;
    background: #fff !important;
}

.rcm-latest-guides__container {
    max-width: 1261.57px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: relative !important;
}

.rcm-latest-guides__header {
    position: relative !important;
    height: 67.58px !important;
    margin-bottom: 35px !important;
}

.rcm-latest-guides__title {
    position: absolute !important;
    left: 10.67px !important;
    top: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #183354 !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 32.58px !important;
}

.rcm-latest-guides__border {
    position: absolute !important;
    left: 10.98px !important;
    right: 0.25px !important;
    top: 61.73px !important;
    width: auto !important;
    height: 6px !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
}

.rcm-latest-guides__view-all {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 9.41px !important;
    width: 117.353px !important;
    height: 34.909px !important;
    padding: 0 17.45px !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 3.879px !important;
    text-decoration: none !important;
    color: #183354 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13.576px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    z-index: 10 !important;
}

.rcm-latest-guides__view-all:hover {
    background-color: var(--rcm-topic-color, #7153b0) !important;
    border-color: var(--rcm-topic-color, #7153b0) !important;
    color: #fff !important;
}

.rcm-latest-guides__view-all svg {
    color: var(--rcm-topic-color, #7153b0) !important;
    transition: color 0.2s ease !important;
}

.rcm-latest-guides__view-all:hover svg {
    color: #fff !important;
}

.rcm-latest-guides__grid {
    display: grid !important;
    grid-template-columns: repeat(4, 290.45px) !important;
    gap: 29.79px !important;
}

.rcm-latest-guides__card {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 407.3px !important;
    border-radius: 5.8px !important;
    overflow: hidden !important;
}

.rcm-latest-guides__card-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
}

.rcm-latest-guides__card-image {
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 0 !important;
}

.rcm-latest-guides__card-gradient {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25.33%, #3e286d 100%) !important;
    z-index: 1 !important;
}

.rcm-latest-guides__card-tag {
    position: absolute !important;
    left: 29.12px !important;
    top: 287.61px !important;
    min-height: 26px !important;
    padding: 5px 12px 4px !important;
    border-radius: 2.909px !important;
    color: #fff !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 12.606px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0.7564px !important;
    text-transform: uppercase !important;
    z-index: 2 !important;
    display: inline-block !important;
}

.rcm-latest-guides__card-content {
    position: absolute !important;
    left: 29.09px !important;
    right: 29.09px !important;
    top: 327.82px !important;
    width: auto !important;
    z-index: 2 !important;
}

.rcm-latest-guides__card-title {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 19.394px !important;
    font-weight: 700 !important;
    line-height: 27.152px !important;
}

.rcm-latest-guides__item-number {
    display: none !important;
}

@media (max-width: 767px) {
    .rcm-latest-guides__header {
        height: auto !important;
        margin-bottom: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .rcm-latest-guides__title,
    .rcm-latest-guides__view-all {
        position: static !important;
    }

    .rcm-latest-guides__view-all {
        width: auto !important;
        height: auto !important;
        padding: 10px 17px !important;
    }

    .rcm-latest-guides__border {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .rcm-latest-guides__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .rcm-latest-guides__card {
        height: 320px !important;
    }

    .rcm-latest-guides__card-tag {
        left: 18px !important;
        top: auto !important;
        bottom: 70px !important;
        font-size: 11px !important;
    }

    .rcm-latest-guides__card-content {
        left: 18px !important;
        right: 18px !important;
        top: auto !important;
        bottom: 18px !important;
    }

    .rcm-latest-guides__card-title {
        font-size: 16px !important;
        line-height: 22px !important;
    }
}

@media (max-width: 600px) {
    .rcm-latest-guides__grid {
        grid-template-columns: 1fr !important;
    }

    .rcm-explore-places__container {
        padding: 0 23px;
    }
}

/* Editor's picks: semantic stack (header → rule → layout) + gap-based rhythm */
.rcm-editors-picks {
    --rcm-ep-gap: clamp(14px, 3vw, 26px);
    --rcm-ep-rail: min(300px, 100%);
    --rcm-ep-pad-x: clamp(16px, 4vw, 130px);
    background-color: #fbf9f9;
    padding: 0 !important;
    overflow-x: clip;
    max-width: 100%;
}

.rcm-editors-picks--empty {
    --rcm-ep-pad-x: clamp(24px, 5vw, 130px);
}

.rcm-editors-picks__container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(20px, 4vw, 48px) var(--rcm-ep-pad-x) clamp(28px, 5vw, 48px);
    /* Figma: col1 = title + rule + articles; col2 = ads (top-aligned, full height) */
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(300px, 100%);
    column-gap: clamp(20px, 5vw, 72px);
    row-gap: var(--rcm-ep-gap);
    align-items: start;
    min-width: 0;
}

.rcm-editors-picks__header {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    min-width: 0;
}

.rcm-editors-picks__title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: clamp(18px, 2.2vw, 21.33px);
    line-height: 1.25;
    color: #183354;
}

.rcm-editors-picks__view-all {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 10px 17px;
    gap: 9.41px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    text-decoration: none;
    color: #183354;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13.58px;
    line-height: 1;
}

.rcm-editors-picks__view-all svg {
    width: 9.7px;
    height: 9.7px;
    flex-shrink: 0;
    color: var(--rcm-topic-color, #a88be8);
}

.rcm-editors-picks__border {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: 665px;
    height: 6px;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: cover !important;
    background-color: transparent !important;
}

.rcm-editors-picks__layout {
    display: contents;
}

.rcm-editors-picks__main {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 3vw, 32px);
    min-width: 0;
}

.rcm-editors-picks__rail {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: start;
    justify-self: stretch;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
    align-items: stretch;
}

.rcm-editors-picks__story {
    display: grid;
    grid-template-columns: minmax(120px, 284px) minmax(0, 1fr);
    gap: 16px clamp(14px, 2.5vw, 28px);
    align-items: center;
    min-width: 0;
}

.rcm-editors-picks__story-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.rcm-editors-picks__image {
    display: block;
    width: 100%;
    max-width: 284px;
    aspect-ratio: 284 / 162;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    border-radius: 6px;
    min-width: 0;
}

.rcm-editors-picks__label {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12.61px;
    line-height: 1.4;
    color: #6d757f;
    text-decoration: none;
    text-transform: uppercase;
}

.rcm-editors-picks__item-title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 1.9vw, 19.39px);
    line-height: 1.35;
    color: #183354;
    text-decoration: none;
    text-transform: capitalize;
}

.rcm-editors-picks__ad {
    box-sizing: border-box;
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
    aspect-ratio: 300 / 250;
    min-height: 120px;
    background: #f1f1f1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.rcm-editors-picks__ad-content {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.rcm-editors-picks__ad-content iframe,
.rcm-editors-picks__ad-content img,
.rcm-editors-picks__ad-content ins {
    max-width: 100% !important;
    max-height: 100% !important;
}

.rcm-editors-picks__ad-label {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(20px, 5vw, 28.59px);
    line-height: 1;
    color: #000000;
    text-transform: uppercase;
}

/*
 * Desktop artboard — Figma RCM node 1854:2147 (1440×599).
 * https://www.figma.com/design/yVIXRZKIJ04ErqO6MjmnAY/RCM?node-id=1854-2147
 */
@media (min-width: 1440px) {
    .rcm-editors-picks__header,
    .rcm-editors-picks__border,
    .rcm-editors-picks__main,
    .rcm-editors-picks__rail {
        grid-column: unset;
        grid-row: unset;
    }

    .rcm-editors-picks__layout {
        display: block;
    }

    .rcm-editors-picks__rail {
        justify-self: unset;
        align-self: unset;
    }

    .rcm-editors-picks__container {
        width: 1440px;
        max-width: 1440px;
        height: 599px;
        min-height: 599px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 !important;
        display: block;
        position: relative;
        gap: 0;
        grid-template-columns: unset;
        column-gap: unset;
        row-gap: unset;
    }

    .rcm-editors-picks__header {
        position: absolute;
        left: 0;
        top: 0;
        width: 1440px;
        height: 93px;
        margin: 0;
        padding: 0;
        display: block;
        pointer-events: none;
        z-index: 3;
    }

    .rcm-editors-picks__header .rcm-editors-picks__title {
        position: absolute;
        left: 130px;
        top: 49px;
        width: 240px;
        margin: 0;
        padding: 0;
        font-size: 21.333px !important;
        line-height: 25.6px !important;
        text-transform: capitalize;
        pointer-events: auto;
    }

    .rcm-editors-picks__header .rcm-editors-picks__view-all {
        position: absolute;
        left: 668px;
        top: 45px;
        width: 117.353px !important;
        min-width: 117.353px !important;
        max-width: 117.353px !important;
        height: 34.909px !important;
        min-height: 34.909px !important;
        padding: 0 17.45px !important;
        box-sizing: border-box;
        border-width: 0.97px !important;
        border-radius: 3.879px !important;
        gap: 9.41px !important;
        justify-content: flex-start !important;
        padding-left: 16.48px !important;
        pointer-events: auto;
    }

    .rcm-editors-picks__border.rcm-section-border {
        position: absolute !important;
        left: 130px !important;
        top: 93px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 6px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: stretch !important;
        flex-wrap: nowrap !important;
        box-sizing: border-box;
        z-index: 2;
    }

    .rcm-editors-picks__layout {
        position: absolute;
        left: 0;
        top: 0;
        width: 1440px;
        height: 599px;
        display: block;
        margin: 0;
        padding: 0;
        gap: 0;
        grid-template-columns: unset;
        pointer-events: none;
        z-index: 1;
    }

    .rcm-editors-picks__main {
        display: contents;
    }

    .rcm-editors-picks__story {
        display: contents;
    }

    .rcm-editors-picks__story-copy {
        display: contents;
    }

    .rcm-editors-picks__image--1 {
        position: absolute;
        left: 130px;
        top: 160px;
        width: 284px !important;
        height: 162px !important;
        max-width: 284px !important;
        aspect-ratio: unset !important;
        border-radius: 0 !important;
        pointer-events: auto;
    }

    .rcm-editors-picks__image--2 {
        position: absolute;
        left: 130px;
        top: 364px;
        width: 284px !important;
        height: 162px !important;
        max-width: 284px !important;
        aspect-ratio: unset !important;
        border-radius: 0 !important;
        pointer-events: auto;
    }

    .rcm-editors-picks__label--1 {
        position: absolute;
        left: 440px;
        top: 198px;
        width: auto;
        margin: 0;
        font-size: 12.606px !important;
        line-height: 17.648px !important;
        text-transform: uppercase;
        white-space: nowrap;
        pointer-events: auto;
    }

    .rcm-editors-picks__item-title--1 {
        position: absolute;
        left: 440px;
        top: 224.36px;
        width: 263.602px;
        max-width: 263.602px;
        margin: 0;
        font-size: 19.394px !important;
        line-height: 25.212px !important;
        text-transform: capitalize;
        pointer-events: auto;
    }

    .rcm-editors-picks__label--2 {
        position: absolute;
        left: 440px;
        top: 399px;
        width: auto;
        margin: 0;
        font-size: 12.606px !important;
        line-height: 17.648px !important;
        text-transform: uppercase;
        white-space: nowrap;
        pointer-events: auto;
    }

    .rcm-editors-picks__item-title--2 {
        position: absolute;
        left: 440px;
        top: 425.36px;
        width: 227.714px;
        max-width: 227.714px;
        margin: 0;
        font-size: 19.394px !important;
        line-height: 25.212px !important;
        text-transform: capitalize;
        pointer-events: auto;
    }

    .rcm-editors-picks__rail {
        position: absolute;
        left: 973px;
        top: 35px;
        width: 300px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 9px;
        margin: 0;
        padding: 0;
        pointer-events: auto;
    }

    .rcm-editors-picks__rail .rcm-editors-picks__ad {
        width: 300px !important;
        height: 250px !important;
        max-width: 300px !important;
        min-height: 250px !important;
        aspect-ratio: unset !important;
        flex: 0 0 auto;
        margin: 0 !important;
    }

    .rcm-editors-picks__rail .rcm-editors-picks__ad-label {
        font-size: 28.59px !important;
        line-height: 28.59px !important;
    }
}

/*
 * Empty state ("coming soon"): skip the fixed 1440px artboard. Absolute positioning +
 * display:contents on .rcm-editors-picks__main breaks the placeholder card + ad rail.
 */
@media (min-width: 1440px) {
    .rcm-editors-picks--empty .rcm-editors-picks__container {
        width: 100%;
        /* Match theme rail width + generous viewport gutters on ultra-wide (e.g. 1920px). */
        max-width: min(1263px, calc(100% - clamp(48px, 6vw, 160px)));
        height: auto;
        min-height: 0;
        margin-left: auto;
        margin-right: auto;
        padding: clamp(20px, 4vw, 48px) var(--rcm-ep-pad-x) clamp(28px, 5vw, 48px);
        display: grid;
        grid-template-columns: minmax(0, 1fr) min(300px, 100%);
        column-gap: clamp(20px, 5vw, 72px);
        row-gap: var(--rcm-ep-gap);
        align-items: start;
        position: relative;
    }

    .rcm-editors-picks--empty .rcm-editors-picks__header {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        display: flex;
        pointer-events: auto;
        z-index: auto;
        grid-column: 1;
        grid-row: 1;
    }

    .rcm-editors-picks--empty .rcm-editors-picks__header .rcm-editors-picks__title {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        margin: 0;
        padding: 0;
        font-size: clamp(18px, 2.2vw, 21.33px) !important;
        line-height: 1.25 !important;
        pointer-events: auto;
    }

    .rcm-editors-picks--empty .rcm-editors-picks__header .rcm-editors-picks__view-all {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        min-width: 0;
        max-width: none;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 10px 17px;
        pointer-events: auto;
    }

    .rcm-editors-picks--empty .rcm-editors-picks__border.rcm-section-border {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 665px !important;
        height: 6px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: stretch !important;
        flex-wrap: nowrap !important;
        box-sizing: border-box;
        z-index: auto;
        grid-column: 1;
        grid-row: 2;
    }

    .rcm-editors-picks--empty .rcm-editors-picks__layout--empty {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 0;
        display: contents;
        pointer-events: auto;
        z-index: auto;
    }

    .rcm-editors-picks--empty .rcm-editors-picks__main--empty {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        grid-column: 1;
        grid-row: 3;
        min-width: 0;
        width: 100%;
        min-height: clamp(200px, 28vw, 260px);
        padding: 8px 0 16px;
    }

    .rcm-editors-picks--empty .rcm-editors-picks__rail {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 300px;
        margin: 0;
        padding: 0;
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: start;
        justify-self: stretch;
        pointer-events: auto;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .rcm-editors-picks--empty .rcm-editors-picks__rail .rcm-editors-picks__ad {
        width: 100% !important;
        max-width: 300px !important;
        height: auto !important;
        min-height: 120px;
        aspect-ratio: 300 / 250;
        flex: 0 0 auto;
        margin: 0 auto !important;
    }

    .rcm-editors-picks--empty .rcm-editors-picks__rail .rcm-editors-picks__ad-label {
        font-size: clamp(20px, 5vw, 28.59px) !important;
        line-height: 1 !important;
    }
}

@media (max-width: 1199px) {
    .rcm-editors-picks__container {
        grid-template-columns: 1fr;
    }

    /* Full-width rule when rail stacks below — avoids a short 665px cap on tablets/mobile */
    .rcm-editors-picks__border.rcm-section-border {
        max-width: 100%;
        min-width: 0;
    }

    .rcm-editors-picks__rail {
        grid-column: 1;
        grid-row: auto;
        max-width: 100%;
        justify-self: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: clamp(14px, 3vw, 22px);
    }

    .rcm-editors-picks__rail .rcm-editors-picks__ad {
        flex: 1 1 260px;
        margin-inline: 0;
    }
}

@media (max-width: 640px) {
    .rcm-editors-picks__story {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rcm-editors-picks__image {
        max-width: none;
    }

    .rcm-editors-picks__rail {
        flex-direction: column;
        align-items: center;
    }

    .rcm-editors-picks__rail .rcm-editors-picks__ad {
        flex: none;
        width: 100%;
        max-width: min(300px, 100%);
    }
}

@media (max-width: 767px) {
    .rcm-editors-picks__container {
        padding-top: clamp(16px, 4vw, 22px);
        padding-bottom: clamp(24px, 6vw, 36px);
    }

    /* Title + View all on one row (matches desktop header rhythm) */
    .rcm-editors-picks__header {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .rcm-editors-picks__title {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rcm-editors-picks__view-all {
        padding: 8px 12px;
        font-size: 12px;
    }

    /*
     * Section rule: same geometry as desktop (48px accent + flexible track), left-aligned.
     * Overrides global shortcodes-extended mobile % accent so shape/notch match Figma.
     */
    .rcm-editors-picks__border.rcm-section-border {
        justify-self: stretch;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        height: 6px !important;
    }

    .rcm-editors-picks__border.rcm-section-border .rcm-section-border__accent {
        flex: 0 0 48px !important;
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        height: 6px !important;
    }

    .rcm-editors-picks__border.rcm-section-border .rcm-section-border__accent svg {
        width: 48px !important;
        height: 6px !important;
    }

    .rcm-editors-picks__border.rcm-section-border .rcm-section-border__track {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 6px !important;
    }

    .rcm-editors-picks__border.rcm-section-border .rcm-section-border__track svg {
        width: 100% !important;
        height: 6px !important;
    }
}

@media (max-width: 480px) {
    .rcm-editors-picks__border.rcm-section-border .rcm-section-border__accent {
        flex: 0 0 48px !important;
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
    }

    .rcm-editors-picks__border.rcm-section-border .rcm-section-border__track {
        flex: 1 1 auto !important;
        width: auto !important;
    }
}

.rcm-directories-view-all {
    width: 100%;
}

.rcm-directories-view-all__container {
    width: 1250px;
    max-width: 100%;
    margin: 0 auto;
}

.rcm-directories-view-all__header {
    position: relative;
    height: 67.58px;
    margin-bottom: 53.42px;
}

.rcm-directories-view-all__title {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 32.58px;
    color: #183354;
}

.rcm-directories-view-all__border {
    position: absolute;
    left: 0.45px;
    top: 60.58px;
    width: 1250px;
    height: 6px;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: 1251px 6px !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    border: none !important;
    box-sizing: border-box;
}

.rcm-directories-view-all__layout {
    display: grid;
    grid-template-columns: 886px 300px;
    column-gap: 64px;
    align-items: start;
}

.rcm-directories-view-all__list {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.rcm-directories-view-all__mobile-ads {
    display: none;
}

.rcm-directories-view-all__item {
    display: grid;
    grid-template-columns: 440px 405.15px;
    column-gap: 40px;
    align-items: start;
}

.rcm-directories-view-all__image {
    width: 440px;
    height: 300.28px;
    background-size: cover;
    background-position: center;
    display: block;
    text-decoration: none;
}

.rcm-directories-view-all__content {
    padding-top: 16px;
}

.rcm-directories-view-all__topic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 189px;
    height: 26px;
    background: var(--rcm-topic-color, #7153b0);
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 12.61px;
    line-height: 14px;
    letter-spacing: 0.76px;
    text-decoration: none;
}

.rcm-directories-view-all__item-title {
    display: block;
    margin-top: 14.84px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 30.8px;
    color: #183354;
    text-decoration: none;
}

.rcm-directories-view-all__excerpt {
    margin-top: 11.36px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #545e69;
}

.rcm-directories-view-all__read-more {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 11.3px;
    width: 138.52px;
    height: 36px;
    padding-left: 18px;
    padding-right: 16.82px;
    border: 1px solid #cfcfcf;
    text-decoration: none;
    color: #183354;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
}

.rcm-directories-view-all__read-more svg {
    color: var(--rcm-topic-color, #7153b0);
}

.rcm-directories-view-all__sidebar {
    padding-top: 121px;
}

.rcm-directories-view-all__ad {
    width: 300px;
    background: #f1f1f1;
    position: relative;
    overflow: hidden;
}

.rcm-directories-view-all__ad--600 {
    height: 600px;
}

.rcm-directories-view-all__ad--250 {
    height: 250px;
}

.rcm-directories-view-all__ad--250-1 {
    margin-top: 17px;
}

.rcm-directories-view-all__ad--250-2 {
    margin-top: 9px;
}

.rcm-directories-view-all__ad-content {
    position: absolute;
    inset: 0;
}

.rcm-directories-view-all__ad-label {
    position: absolute;
    left: 137px;
    top: 284px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 28.59px;
    line-height: 28.59px;
    color: #000000;
}

.rcm-directories-view-all__ad--250 .rcm-directories-view-all__ad-label {
    top: 110px;
    left: 132px;
}

@media (max-width: 1439px) {
    .rcm-directories-view-all__container {
        padding: 0 24px;
    }

    .rcm-directories-view-all__border {
        width: 100%;
        left: 0;
    }

    .rcm-directories-view-all__layout {
        grid-template-columns: 1fr 300px;
        column-gap: 24px;
    }

    .rcm-directories-view-all__item {
        grid-template-columns: minmax(0, 440px) minmax(0, 405.15px);
        column-gap: 24px;
    }

    .rcm-directories-view-all__image {
        width: 100%;
        height: auto;
        aspect-ratio: 440 / 300.28;
    }
}

@media (max-width: 991px) {
    .rcm-directories-view-all__layout {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .rcm-directories-view-all__sidebar {
        display: none;
    }

    .rcm-directories-view-all__ad {
        width: 100%;
        max-width: 300px;
    }

    .rcm-directories-view-all__ad--250-1,
    .rcm-directories-view-all__ad--250-2 {
        margin-top: 0;
    }

    .rcm-directories-view-all__mobile-ads {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        justify-items: center;
    }
}

@media (max-width: 767px) {
    .rcm-directories-view-all__header {
        height: auto;
        margin-bottom: 24px;
    }

    .rcm-directories-view-all__title {
        position: static;
        margin-bottom: 12px;
    }

    .rcm-directories-view-all__border {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 24px;
    }

    .rcm-directories-view-all__item {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .rcm-directories-view-all__content {
        padding-top: 0;
    }

    .rcm-directories-view-all__mobile-ads {
        grid-template-columns: 1fr;
    }
}

/* Articles view-all pagination (aligned with theme rcm-view-all pagination) */
.rcm-directories-view-all__pagination {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 42px;
}

.rcm-directories-view-all__page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    background: #fff;
    color: #7153b0;
    text-decoration: none;
}

.rcm-directories-view-all__page-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
}

.rcm-directories-view-all__page-icon::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.rcm-directories-view-all__page-btn--prev .rcm-directories-view-all__page-icon::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M10.78 2.97a.75.75 0 0 1 0 1.06L6.81 8l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 0z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M10.78 2.97a.75.75 0 0 1 0 1.06L6.81 8l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 0z'/%3E%3C/svg%3E");
}

.rcm-directories-view-all__page-btn--next .rcm-directories-view-all__page-icon::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M5.22 13.03a.75.75 0 0 1 0-1.06L9.19 8 5.22 4.03a.75.75 0 1 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M5.22 13.03a.75.75 0 0 1 0-1.06L9.19 8 5.22 4.03a.75.75 0 1 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0z'/%3E%3C/svg%3E");
}

.rcm-directories-view-all__page-btn.is-disabled {
    pointer-events: none;
    opacity: 0.45;
}

.rcm-directories-view-all__page-status {
    color: #6d757f;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    min-width: 58px;
    text-align: center;
}

@media (max-width: 767px) {
    .rcm-directories-view-all__pagination {
        margin-top: 28px;
        gap: 8px;
    }
}

/* ========================================
   Site Header Shortcode (Frame 167:1661)
   Elementor-isolated: all rules scoped to
   .rcm-site-header to prevent conflicts
   with Elementor global CSS variables.
   ======================================== */

.rcm-site-header,
.rcm-site-header *,
.rcm-site-header *::before,
.rcm-site-header *::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header.rcm-site-header {
    position: relative;
    width: 100%;
    background: transparent;
    z-index: 1000;
    margin: 0;
    padding: 0;
    border: none;
    line-height: normal;
}

.rcm-site-header .rcm-site-header__inner {
    width: 1261px;
    max-width: 100%;
    height: 82px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    display: block;
}

/* Logo: x:0 y:0 212x82 */
.rcm-site-header a.rcm-site-header__logo-link {
    position: absolute;
    left: 0;
    top: 0;
    width: 212px;
    height: 82px;
    display: block;
    text-decoration: none;
    border: none;
    outline: none;
    color: inherit;
    background: none;
    padding: 0;
    margin: 0;
}

.rcm-site-header a.rcm-site-header__logo-link:hover,
.rcm-site-header a.rcm-site-header__logo-link:focus,
.rcm-site-header a.rcm-site-header__logo-link:active,
.rcm-site-header a.rcm-site-header__logo-link:visited {
    text-decoration: none;
    color: inherit;
    border: none;
    outline: none;
    box-shadow: none;
}

.rcm-site-header img.rcm-site-header__logo {
    width: 212px;
    height: 82px;
    object-fit: contain;
    display: block;
    border: none;
    padding: 0;
    margin: 0;
    max-width: none;
}

.rcm-site-header .rcm-site-header__logo-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #3e286d;
    line-height: 82px;
    margin: 0;
    padding: 0;
}

/* ========================================
   Site Header Main Nav
   ======================================== */

/* Nav Instance: x:449 y:29 402x23 */
.rcm-site-header nav.rcm-site-header__nav {
    position: absolute;
    left: 449px;
    top: 50%;
    transform: translateY(-50%);
    width: 402px;
    height: 23px;
    display: flex;
    align-items: center;
    gap: 33px;
    margin: 0;
    padding: 0;
}

.rcm-site-header .rcm-site-header__nav-item--about {
    width: 61px;
}

.rcm-site-header .rcm-site-header__nav-item--calendar {
    width: 82px;
}

.rcm-site-header .rcm-site-header__nav-item--directories {
    width: 94px;
}

.rcm-site-header .rcm-site-header__nav-item--topics-wrap {
    width: 66px;
}

.rcm-site-header a.rcm-site-header__nav-item,
.rcm-site-header button.rcm-site-header__nav-item {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
    letter-spacing: 0;
    color: #3e286d;
    text-decoration: none;
    transition: opacity 0.2s ease;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    white-space: nowrap;
}

.rcm-site-header a.rcm-site-header__nav-item:hover,
.rcm-site-header a.rcm-site-header__nav-item:focus,
.rcm-site-header a.rcm-site-header__nav-item:visited,
.rcm-site-header button.rcm-site-header__nav-item:hover,
.rcm-site-header button.rcm-site-header__nav-item:focus {
    opacity: 0.7;
    text-decoration: none;
    color: #3e286d;
    border: none;
    background: none;
}

.rcm-site-header button.rcm-site-header__nav-item--topics {
    gap: 3px;
}

.rcm-site-header .rcm-site-header__dropdown-icon {
    display: block;
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

.rcm-site-header button.rcm-site-header__nav-item--topics[aria-expanded="true"] .rcm-site-header__dropdown-icon {
    transform: rotate(180deg);
}

/* ========================================
   Site Header Search Form
   ======================================== */

/* Search: x:901 y:18 360x45 */
.rcm-site-header form.rcm-site-header__search {
    position: absolute;
    left: 901px;
    top: 50%;
    transform: translateY(-50%);
    width: 360px;
    height: 45px;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

/* Input: 360x45, white bg, #3e286d border, left-padding 21px */
.rcm-site-header input.rcm-site-header__search-input {
    display: block;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border: 1px solid #3e286d;
    border-radius: 22.5px;
    padding: 0 40px 0 21px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #3e286d;
    outline: none;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    line-height: 43px;
    box-sizing: border-box;
}

.rcm-site-header input.rcm-site-header__search-input:focus {
    border-color: #3e286d;
    box-shadow: none;
    outline: none;
}

.rcm-site-header input.rcm-site-header__search-input::placeholder {
    color: #a6a6a6;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    opacity: 1;
}

.rcm-site-header input.rcm-site-header__search-input::-webkit-search-cancel-button,
.rcm-site-header input.rcm-site-header__search-input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

/* Search button: x:325 y:12.5 20x20 */
.rcm-site-header button.rcm-site-header__search-btn {
    position: absolute;
    left: 325px;
    top: 12.5px;
    background: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    box-shadow: none;
    outline: none;
}

.rcm-site-header button.rcm-site-header__search-btn:hover {
    opacity: 0.7;
    background: none;
    border: none;
}

.rcm-site-header button.rcm-site-header__search-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Hamburger (mobile only) */
.rcm-site-header button.rcm-site-header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    padding: 0;
    margin: 0;
    box-shadow: none;
    outline: none;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.rcm-site-header button.rcm-site-header__hamburger[aria-expanded="true"] {
    opacity: 0;
    pointer-events: none;
}

.rcm-site-header button.rcm-site-header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #3e286d;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.rcm-site-header button.rcm-site-header__hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.rcm-site-header button.rcm-site-header__hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.rcm-site-header button.rcm-site-header__hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Topics Dropdown Panel (Frame 168:1814)
   1233x269, white bg
   ======================================== */

.rcm-site-header .rcm-site-header__topics-dropdown {
    display: none;
    position: absolute;
    top: 82px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100vw - 40px);
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border: none;
    border-radius: 0;
    padding: 16px;
    margin: 0;
    box-sizing: border-box;
}

.rcm-site-header .rcm-site-header__topics-dropdown.is-open {
    display: block;
}

.rcm-site-header .rcm-site-header__topics-menu {
    display: flex;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    gap: 26px;
}

/* Featured left panel: 322x237, #fafafa bg */
.rcm-site-header .rcm-site-header__topics-featured {
    width: 322px;
    max-width: 100%;
    height: auto;
    background: #fafafa;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.rcm-site-header .rcm-site-header__topics-featured-img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 1;
}

.rcm-site-header .rcm-site-header__topics-featured-overlay {
    position: absolute;
    left: -58px;
    top: -56px;
    width: 391px;
    height: 293px;
    background: linear-gradient(180deg, #3e286d 0%, rgba(62, 40, 109, 0) 100%);
    z-index: 2;
}

.rcm-site-header .rcm-site-header__topics-featured-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 81px;
    padding-top: 107px;
}

.rcm-site-header .rcm-site-header__topics-featured-icon-wrap {
    width: 24px;
    height: 24px;
    background: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.rcm-site-header .rcm-site-header__topics-featured-icon {
    width: 17.61px;
    height: 17.59px;
    display: block;
}

.rcm-site-header .rcm-site-header__topics-featured-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    line-height: 23px;
    text-transform: uppercase;
}

/* Topics grid: Right side */
.rcm-site-header .rcm-site-header__topics-columns {
    display: flex;
    gap: 37px;
    flex-grow: 1;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    padding-top: 9px;
}

.rcm-site-header ul.rcm-site-header__topics-column {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: auto;
    min-width: 200px;
}

.rcm-site-header li.rcm-site-header__topics-item {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 44.5px;
}

.rcm-site-header a.rcm-site-header__topics-link {
    display: flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: inherit;
    padding: 0;
    margin: 0;
}

.rcm-site-header a.rcm-site-header__topics-link:hover,
.rcm-site-header a.rcm-site-header__topics-link:visited {
    text-decoration: none;
    color: inherit;
}

.rcm-site-header .rcm-site-header__topics-icon {
    width: 44.5px;
    height: 44.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.rcm-site-header .rcm-site-header__topics-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* Label: Manrope Reg 13.81px, #000000 */
.rcm-site-header .rcm-site-header__topics-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 13.81px;
    line-height: 20.02px;
    color: #000000;
    padding-left: 9.21px;
}

/* ========================================
   Mobile Menu Overlay
   ======================================== */

.rcm-site-header .rcm-site-header__mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    border: none;
    overscroll-behavior: contain;
}

.rcm-site-header .rcm-site-header__mobile-menu.is-open {
    display: block;
}

.rcm-site-header .rcm-site-header__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 2;
}

.rcm-site-header .rcm-site-header__mobile-logo {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #3e286d;
    margin: 0;
    padding: 0;
}

.rcm-site-header button.rcm-site-header__mobile-close {
    background: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    padding: 4px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    box-shadow: none;
    outline: none;
}

.rcm-site-header button.rcm-site-header__mobile-close:hover {
    opacity: 0.7;
    background: none;
    border: none;
}

.rcm-site-header .rcm-site-header__mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin: 0;
}

.rcm-site-header a.rcm-site-header__mobile-nav-item,
.rcm-site-header button.rcm-site-header__mobile-nav-item {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #3e286d;
    text-decoration: none;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    background: none;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    text-transform: none;
}

.rcm-site-header a.rcm-site-header__mobile-nav-item:hover,
.rcm-site-header a.rcm-site-header__mobile-nav-item:visited {
    color: #3e286d;
    text-decoration: none;
}

.rcm-site-header button.rcm-site-header__mobile-nav-item--topics svg {
    transition: transform 0.3s ease;
}

.rcm-site-header button.rcm-site-header__mobile-nav-item--topics[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.rcm-site-header .rcm-site-header__mobile-topics {
    display: none;
    padding: 10px 0;
    margin: 0;
}

.rcm-site-header .rcm-site-header__mobile-topics.is-open {
    display: block;
}

.rcm-site-header ul.rcm-site-header__mobile-topics-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: none;
}

.rcm-site-header li.rcm-site-header__mobile-topics-item {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
}

.rcm-site-header a.rcm-site-header__mobile-topics-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 4px 0;
    margin: 0;
    border: none;
    background: none;
    color: inherit;
}

.rcm-site-header a.rcm-site-header__mobile-topics-link:hover,
.rcm-site-header a.rcm-site-header__mobile-topics-link:visited {
    text-decoration: none;
    color: inherit;
}

.rcm-site-header .rcm-site-header__mobile-search {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 20px;
    height: 45px;
    padding: 0;
    border: none;
    background: none;
    width: 100%;
}

.rcm-site-header .rcm-site-header__mobile-search .rcm-site-header__search-input {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border: 1px solid #3e286d;
    border-radius: 0;
    padding: 0 40px 0 21px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #3e286d;
    outline: none;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    line-height: normal;
    text-transform: none;
    box-sizing: border-box;
}

.rcm-site-header .rcm-site-header__mobile-search .rcm-site-header__search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* ========================================
   Site Header Container
   ======================================== */

.rcm-site-header {
    width: 100%;
    background: #ffffff;
    position: relative;
    z-index: 1000;
}

.rcm-site-header .rcm-site-header__inner {
    max-width: 1261px;
    margin: 0 auto;
    height: 82px;
    position: relative;
    display: flex;
    align-items: center;
}

/* ========================================
   Site Header Logo
   ======================================== */

.rcm-site-header a.rcm-site-header__logo-link {
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
    height: 82px;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    text-decoration: none;
}

.rcm-site-header nav.rcm-site-header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ========================================
   Site Header Responsive
   ======================================== */

@media (max-width: 1440px) {
    .rcm-site-header .rcm-site-header__inner {
        width: 100%;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .rcm-site-header a.rcm-site-header__logo-link {
        position: static;
        width: auto;
        height: auto;
    }

    .rcm-site-header nav.rcm-site-header__nav {
        position: static;
        width: auto;
        height: auto;
        display: flex;
        align-items: center;
        gap: 20px;
        transform: none;
    }

    .rcm-site-header .rcm-site-header__nav-item--about,
    .rcm-site-header .rcm-site-header__nav-item--calendar,
    .rcm-site-header .rcm-site-header__nav-item--directories,
    .rcm-site-header .rcm-site-header__nav-item--topics-wrap {
        position: static;
        width: auto;
        margin-left: 0;
    }

    .rcm-site-header form.rcm-site-header__search {
        position: relative;
        width: 100%;
        max-width: 280px;
        height: 45px;
        transform: none;
        left: auto;
        top: auto;
        display: block;
    }

    .rcm-site-header input.rcm-site-header__search-input {
        width: 100%;
        padding-right: 40px;
    }

    .rcm-site-header button.rcm-site-header__search-btn {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        left: auto;
    }

    .rcm-site-header .rcm-site-header__topics-dropdown {
        width: 100%;
        left: 0;
        transform: none;
    }

    .rcm-site-header .rcm-site-header__topics-featured {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .rcm-site-header .rcm-site-header__inner {
        height: 60px;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .rcm-site-header a.rcm-site-header__logo-link {
        position: static;
        width: auto;
        height: auto;
    }

    .rcm-site-header img.rcm-site-header__logo {
        width: 150px;
        height: 60px;
    }

    .rcm-site-header nav.rcm-site-header__nav {
        display: none;
    }

    .rcm-site-header form.rcm-site-header__search {
        display: none;
    }

    .rcm-site-header button.rcm-site-header__hamburger {
        display: flex;
        position: static;
        transform: none;
    }

    .rcm-site-header .rcm-site-header__topics-dropdown {
        display: none !important;
    }

    .rcm-site-header .rcm-site-header__mobile-menu {
        top: 60px;
    }

    .rcm-site-header a.rcm-site-header__mobile-topics-link .rcm-site-header__topics-icon {
        width: 36px;
        height: 36px;
    }

    .rcm-site-header a.rcm-site-header__mobile-topics-link .rcm-site-header__topics-icon svg {
        width: 16px;
        height: 16px;
    }

    .rcm-site-header a.rcm-site-header__mobile-topics-link .rcm-site-header__topics-label {
        font-size: 14px;
        line-height: 20px;
    }
}

/* ===================================================================
   SITE FOOTER — [rcm_site_footer] / [rcm_topics_footer]
   Frame 186:1857 — 1441.34 × 926
   ALL values below are MEASURED from the Figma JSON spec.
   =================================================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
.rcm-site-footer {
    --footer-bg-ad: #f1f1f1;
    --footer-bg-newsletter: #f5f5f5;
    --footer-bg-dark: #3e286d;
    --footer-bg-white: #ffffff;
    --footer-color-primary: #7153b0;
    --footer-color-dark-text: #183354;
    --footer-color-black: #000000;
    --footer-color-white: #ffffff;
    --footer-color-placeholder: #6f6f6f;
    --footer-font-manrope: 'Manrope', sans-serif;
    --footer-font-inter: 'Inter', sans-serif;
    --footer-font-roboto: 'Roboto', sans-serif;
    --footer-radius-0: 0px;
    --footer-radius-12: 12px;
}

/* --- Reset --- */
.rcm-site-footer {
    width: 100%;
    box-sizing: border-box;
    font-family: var(--footer-font-manrope);
    overflow-x: auto;
}

.rcm-site-footer *,
.rcm-site-footer *::before,
.rcm-site-footer *::after {
    box-sizing: border-box;
}

.rcm-site-footer .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ===================================================================
   1. AD BANNER
   MEASURED: Group 45 — x:260 y:0, 920×70, fill #f1f1f1
   Text "AD" — 41×29, Inter Medium 28.59px, #000000
   =================================================================== */
.rcm-site-footer__ad {
    width: 920px;
    max-width: 100%;
    height: 70px;
    margin: 0 auto;
    background: var(--footer-bg-ad);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--footer-radius-0);
}

.rcm-site-footer__ad-text {
    font-family: var(--footer-font-inter);
    font-weight: 500;
    font-size: 28.59px;
    line-height: 28.59px;
    color: var(--footer-color-black);
    letter-spacing: 0;
}

/* ===================================================================
   2. MORE TOPICS — 5-column × 2-row grid
   MEASURED: Title x:657 y:127 → 57px below AD bottom (y:70→127)
   Row 1 icons y:208, Row 2 icons y:294 → row gap = 86px (294-208)
   Icon x positions: 166, 393.17, 620, 847.5, 1074.66
   Icon size: 48.33×48.33, circular vector fill = topic color
   Text labels: Manrope Bold 15px/21.75px, #000000
   Label widths: 92px or 110px, positioned ~60px right of icon
   Grid area: x:166 to x:1123 = 957px wide across 5 cols
   =================================================================== */
.rcm-site-footer__topics {
    max-width: 1441px;
    margin: 0 auto;
    padding: 57px 20px 40px;
}

.rcm-site-footer__topics-title {
    font-family: var(--footer-font-manrope);
    font-weight: 700;
    font-size: 21.33px;
    line-height: 25.6px;
    color: var(--footer-color-dark-text);
    margin: 0 0 55px;
    text-align: center;
    letter-spacing: 0;
}

.rcm-site-footer__topics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    row-gap: 38px;
    column-gap: 0;
    max-width: 1110px;
    margin: 0 auto;
}

.rcm-site-footer__topic-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    transition: opacity 0.2s ease;
}

.rcm-site-footer__topic-item:hover {
    opacity: 0.8;
}

/* Icon container: 48.33×48.33 circle, background = topic color */
.rcm-site-footer__topic-icon {
    width: 48.33px;
    height: 48.33px;
    min-width: 48.33px;
    min-height: 48.33px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Inner SVG icon: 26×26, white */
.rcm-site-footer__topic-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.rcm-site-footer__topic-label {
    font-family: var(--footer-font-manrope);
    font-weight: 700;
    font-size: 15px;
    line-height: 21.75px;
    color: var(--footer-color-black);
    text-align: left;
    max-width: 110px;
}

/* ===================================================================
   3. NEWSLETTER SECTION
   MEASURED: Frame 185:1856 starts at y:412
   Rectangle 22: 1440×181, fill #f5f5f5
   Group 24 (newsletter content): x:103 y:62.1, 1234.34×58.49
   Heading: "Get Our Latest\nNews & Update" Manrope Bold 24px/28.8px #7153b0
   Input 1 (Name): 250×50, radius 0, bg #fff, no border, padding-left 20px
   Input 2 (E-mail): 250×50, radius 0, bg #fff, no border, padding-left 20px
   Button (Submit Now): 171.63×50, radius 0, bg #7153b0, Manrope Bold 14px #fff
   "Follow Us:" Manrope Bold 18px/21.6px #7153b0
   Social icons: 37.05×37.05, radius 0, bg #7153b0, FA5 Brands 16.46px #fff
   =================================================================== */
.rcm-site-footer__newsletter {
    width: 100%;
    background: var(--footer-bg-newsletter);
    margin-top: 22px;
}

.rcm-site-footer__newsletter-inner {
    max-width: 1441px;
    margin: 0 auto;
    padding: 0 103px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    height: 181px;
}

.rcm-site-footer__newsletter-heading {
    flex-shrink: 0;
}

.rcm-site-footer__newsletter-title {
    font-family: var(--footer-font-manrope);
    font-weight: 700;
    font-size: 24px;
    line-height: 28.8px;
    color: var(--footer-color-primary);
    margin: 0;
}

/* Form */
.rcm-site-footer__newsletter-form {
    flex-shrink: 0;
}

.rcm-site-footer__newsletter-fields {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Inputs — 250×50, radius 0, no border, no shadow */
.rcm-site-footer__newsletter-input,
.rcm-site-footer .rcm-site-footer__newsletter-input,
.rcm-site-footer input.rcm-site-footer__newsletter-input,
footer.rcm-site-footer input[type="text"].rcm-site-footer__newsletter-input,
footer.rcm-site-footer input[type="email"].rcm-site-footer__newsletter-input {
    width: 250px !important;
    height: 50px !important;
    padding: 0 0 0 20px !important;
    border: none !important;
    border-radius: 6px !important;
    outline: none !important;
    background: var(--footer-bg-white) !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    font-family: var(--footer-font-inter);
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    color: var(--footer-color-black);
    letter-spacing: 0;
}

.rcm-site-footer__newsletter-input::placeholder {
    color: var(--footer-color-placeholder);
    opacity: 1;
}

/* Submit Button — 171.63×50, radius 0 */
.rcm-site-footer__newsletter-btn,
.rcm-site-footer .rcm-site-footer__newsletter-btn,
.rcm-site-footer button.rcm-site-footer__newsletter-btn,
footer.rcm-site-footer button.rcm-site-footer__newsletter-btn {
    width: 171.63px !important;
    height: 50px !important;
    padding: 17.5px 45px !important;
    background: var(--footer-color-primary) !important;
    color: var(--footer-color-white) !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer;
    font-family: var(--footer-font-manrope);
    font-weight: 700;
    font-size: 14px;
    line-height: 14px;
    white-space: nowrap;
    letter-spacing: 0;
    transition: background 0.2s ease;
}

.rcm-site-footer__newsletter-btn:hover {
    background: var(--footer-bg-dark) !important;
}

/* Social Follow */
.rcm-site-footer__newsletter-social {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.rcm-site-footer__newsletter-social-label {
    font-family: var(--footer-font-manrope);
    font-weight: 700;
    font-size: 18px;
    line-height: 21.6px;
    color: var(--footer-color-primary);
    white-space: nowrap;
}

.rcm-site-footer__newsletter-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Social icons: 37.05×37.05, radius 0 per spec */
.rcm-site-footer__social-icon {
    width: 37.05px;
    height: 37.05px;
    border-radius: var(--footer-radius-0);
    background: var(--footer-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-color-white);
    text-decoration: none;
    font-size: 16.46px;
    line-height: 16.46px;
    transition: background 0.2s ease;
}

.rcm-site-footer__social-icon:hover {
    background: var(--footer-bg-dark);
}

.rcm-site-footer__social-icon i {
    font-size: 16.46px;
    line-height: 1;
}

/* ===================================================================
   4. DARK FOOTER
   MEASURED: Group 6 — x:0 y:176 (within 185:1856), 1441.34×338
   Background: #3e286d
   Logo: x:52 y:226 (relative to 186:1857 → 226-412=local ~50px from top of dark section)
   Logo image: 254×102, radius 0
   "Rocket City Mom": Roboto Bold 18px, #ffffff
   Nav links: Roboto Regular 14px, #ffffff, gap 10px
   Contact text: Roboto Regular 16px, #ffffff
   Contact icons: 16×16, stroke #ffffff
   CTA button: 224×45, radius 0, bg #ffffff, text #3e286d, Roboto Bold 16px
   Padding: 12px top/bottom, 19px left/right, gap 10px (auto-layout)
   =================================================================== */
.rcm-site-footer__main {
    width: 100%;
    background: var(--footer-bg-dark);
    padding-bottom: 0;
}

.rcm-site-footer__main-inner {
    width: 1441px;
    max-width: 100%;
    height: 338px;
    margin: 0 auto;
    padding: 0;
    display: block;
    position: relative;
    overflow: hidden;
}

/* Logo column */
.rcm-site-footer__col--logo {
    position: absolute;
    left: 52px;
    top: 50px;
    width: 254px;
    height: 102px;
}

.rcm-site-footer__logo-link {
    display: inline-block;
    text-decoration: none;
}

.rcm-site-footer__logo {
    width: 254px;
    height: 102px;
    object-fit: contain;
    display: block;
    border-radius: var(--footer-radius-0);
}

.rcm-site-footer__logo-text {
    font-family: var(--footer-font-manrope);
    font-weight: 700;
    font-size: 24px;
    line-height: 28.8px;
    color: var(--footer-color-white);
}

/* Nav column */
.rcm-site-footer__col--nav {
    position: absolute;
    left: 607px;
    top: 51px;
    width: 203px;
    height: 197px;
}

.rcm-site-footer__nav-title {
    font-family: var(--footer-font-roboto);
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    color: var(--footer-color-white);
    margin: 0;
}

.rcm-site-footer__nav-vertical {
    position: relative;
    display: block;
    margin-top: 32px;
}

.rcm-site-footer__nav-link {
    font-family: var(--footer-font-roboto);
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: var(--footer-color-white);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.rcm-site-footer__nav-link+.rcm-site-footer__nav-link {
    display: block;
    margin-top: 18px;
}

.rcm-site-footer__nav-link:hover {
    opacity: 0.75;
}

/* Contact + CTA column */
.rcm-site-footer__col--contact {
    position: absolute;
    left: 1011px;
    top: 57px;
    width: 366px;
    height: 181px;
    display: block;
    margin-left: 0;
}

.rcm-site-footer__contact-item {
    position: relative;
    display: block;
}

.rcm-site-footer__contact-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.rcm-site-footer__contact-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.rcm-site-footer__contact-item:first-child .rcm-site-footer__contact-icon {
    position: absolute;
    left: 0;
    top: 0;
}

.rcm-site-footer__contact-item:first-child .rcm-site-footer__contact-text {
    position: absolute;
    left: 58px;
    top: 2px;
}

.rcm-site-footer__contact-item:nth-child(2) {
    margin-top: 59px;
}

.rcm-site-footer__contact-item:nth-child(2) .rcm-site-footer__contact-icon {
    position: absolute;
    left: 0;
    top: 0;
}

.rcm-site-footer__contact-item:nth-child(2) .rcm-site-footer__contact-text {
    position: absolute;
    left: 76px;
    top: 2px;
}

.rcm-site-footer__contact-text {
    font-family: var(--footer-font-roboto);
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: var(--footer-color-white);
}

.rcm-site-footer__contact-text--link {
    text-decoration: none;
    color: var(--footer-color-white);
    transition: opacity 0.2s ease;
}

.rcm-site-footer__contact-text--link:hover {
    opacity: 0.75;
}

/* CTA Button — 224×45, radius 0, auto-layout padding 12/19, gap 10 */
.rcm-site-footer__cta-btn,
.rcm-site-footer a.rcm-site-footer__cta-btn,
.rcm-site-footer .rcm-site-footer__col--contact a.rcm-site-footer__cta-btn {
    position: absolute;
    left: 0;
    top: 136px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 224px;
    height: 45px;
    padding: 12px 19px;
    gap: 10px;
    margin-top: 0;
    background: var(--footer-bg-white) !important;
    color: var(--footer-bg-dark) !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    font-family: var(--footer-font-roboto);
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rcm-site-footer__cta-btn:hover {
    background: #f5f5f5 !important;
}

/*
 ===================================================================
 5. COPYRIGHT & LEGAL BAR
 MEASURED: bottom of dark footer section
 Copyright: Roboto Light 12px, #ffffff
 Legal links: Roboto Regular 14px, #ffffff
 ===================================================================
*/
.rcm-site-footer__legal {
    position: absolute;
    left: 0;
    top: 0;
    width: 1441px;
    max-width: 100%;
    height: 338px;
    margin: 0;
    padding: 0;
    border-top: none;
}

.rcm-site-footer__legal-inner {
    width: 100%;
    height: 100%;
    margin: 0;
    display: block;
    padding: 0;
}

.rcm-site-footer__copyright {
    font-family: var(--footer-font-roboto);
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
    color: var(--footer-color-white);
    position: absolute;
    left: 73px;
    top: 296px;
    margin: 0;
    white-space: nowrap;
}

.rcm-site-footer__legal-nav {
    position: absolute;
    left: 881px;
    top: 297px;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
}

.rcm-site-footer__legal-link {
    font-family: var(--footer-font-roboto);
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: var(--footer-color-white);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.rcm-site-footer__legal-link:hover {
    opacity: 0.75;
}

.rcm-site-footer__legal-sep {
    font-family: var(--footer-font-roboto);
    font-size: 14px;
    line-height: 14px;
    color: var(--footer-color-white);
    opacity: 0.4;
    padding: 0 10px;
}

/* ===================================================================
   6. MOBILE RESPONSIVE
   =================================================================== */
@media (max-width: 1200px) {
    .rcm-site-footer__topics-grid {
        grid-template-columns: repeat(5, 1fr);
        max-width: 100%;
    }

    .rcm-site-footer__newsletter-inner {
        padding: 0 40px;
        gap: 16px;
    }

    .rcm-site-footer__newsletter-fields {
        flex-wrap: wrap;
        gap: 10px;
    }

    .rcm-site-footer__main-inner {
        padding: 40px 30px 0;
        gap: 40px;
    }

    .rcm-site-footer__main-inner {
        height: auto;
    }

    .rcm-site-footer__col--logo,
    .rcm-site-footer__col--nav,
    .rcm-site-footer__col--contact {
        position: static;
        width: auto;
        height: auto;
    }

    .rcm-site-footer__col--logo {
        margin-bottom: 22px;
    }

    .rcm-site-footer__col--nav {
        margin-bottom: 22px;
    }

    .rcm-site-footer__col--contact {
        left: auto;
        top: auto;
    }

    .rcm-site-footer__contact-item:first-child .rcm-site-footer__contact-icon,
    .rcm-site-footer__contact-item:first-child .rcm-site-footer__contact-text,
    .rcm-site-footer__contact-item:nth-child(2) .rcm-site-footer__contact-icon,
    .rcm-site-footer__contact-item:nth-child(2) .rcm-site-footer__contact-text {
        position: static;
    }

    .rcm-site-footer__contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .rcm-site-footer__contact-item:nth-child(2) {
        margin-top: 12px;
    }

    .rcm-site-footer__cta-btn,
    .rcm-site-footer a.rcm-site-footer__cta-btn,
    .rcm-site-footer .rcm-site-footer__col--contact a.rcm-site-footer__cta-btn {
        position: static;
        margin-top: 22px;
    }

    .rcm-site-footer__legal {
        position: static;
        width: 100%;
        height: auto;
        margin-top: 22px;
    }

    .rcm-site-footer__legal-inner {
        height: auto;
    }

    .rcm-site-footer__copyright,
    .rcm-site-footer__legal-nav {
        position: static;
    }
}

@media (max-width: 1024px) {
    .rcm-site-footer__newsletter-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 30px 30px;
    }

    .rcm-site-footer__newsletter-fields {
        flex-wrap: wrap;
    }

    .rcm-site-footer__newsletter-input,
    .rcm-site-footer .rcm-site-footer__newsletter-input,
    .rcm-site-footer input.rcm-site-footer__newsletter-input,
    footer.rcm-site-footer input[type="text"].rcm-site-footer__newsletter-input,
    footer.rcm-site-footer input[type="email"].rcm-site-footer__newsletter-input {
        width: 200px !important;
    }

    .rcm-site-footer__topics-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 24px;
    }
}

@media (max-width: 768px) {
    .rcm-site-footer__ad {
        width: 100%;
    }

    .rcm-site-footer__topics {
        padding: 22px 16px;
    }

    .rcm-site-footer__topics-title {
        text-align: left;
        margin-bottom: 22px;
    }

    .rcm-site-footer__topics-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 0;
        max-width: 100%;
    }

    .rcm-site-footer__topic-item {
        padding: 12px 0;
        border-bottom: 1px solid rgba(223, 223, 223, 0.5);
    }

    .rcm-site-footer__topic-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .rcm-site-footer__topic-label {
        max-width: none;
    }

    .rcm-site-footer__newsletter-inner {
        flex-direction: column;
        padding: 22px;
        gap: 19px;
        align-items: flex-start;
        height: auto;
    }

    .rcm-site-footer__newsletter-form {
        width: 100%;
    }

    .rcm-site-footer__newsletter-fields {
        flex-direction: column;
        gap: 10px;
    }

    .rcm-site-footer__newsletter-input,
    .rcm-site-footer .rcm-site-footer__newsletter-input,
    .rcm-site-footer input.rcm-site-footer__newsletter-input,
    footer.rcm-site-footer input[type="text"].rcm-site-footer__newsletter-input,
    footer.rcm-site-footer input[type="email"].rcm-site-footer__newsletter-input {
        width: 100% !important;
    }

    .rcm-site-footer__newsletter-btn,
    .rcm-site-footer .rcm-site-footer__newsletter-btn,
    .rcm-site-footer button.rcm-site-footer__newsletter-btn,
    footer.rcm-site-footer button.rcm-site-footer__newsletter-btn {
        width: 100% !important;
    }

    .rcm-site-footer__newsletter-social {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .rcm-site-footer__main-inner {
        padding: 22px 22px 0;
    }

    .rcm-site-footer__col--contact {
        margin-left: 0;
    }

    .rcm-site-footer__logo {
        width: 200px;
        height: 80px;
    }

    .rcm-site-footer__legal {
        margin: 0;
        padding: 0 22px;
    }

    .rcm-site-footer__legal-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 19px 0 22px;
    }

    .rcm-site-footer__legal-nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .rcm-site-footer__topic-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
    }

    .rcm-site-footer__topic-icon svg {
        width: 22px;
        height: 22px;
    }

    .rcm-site-footer__cta-btn,
    .rcm-site-footer a.rcm-site-footer__cta-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===================================================================
   NUCLEAR OVERRIDE — Force radius 0 on ALL interactive elements
   inside .rcm-site-footer. This overrides any theme / Elementor /
   builder global styles that add border-radius to buttons, inputs,
   or links.
   =================================================================== */
.rcm-site-footer button,
.rcm-site-footer input,
.rcm-site-footer a,
.rcm-site-footer [type="submit"],
.rcm-site-footer [type="button"],
.rcm-site-footer [type="text"],
.rcm-site-footer [type="email"],
footer.rcm-site-footer button,
footer.rcm-site-footer input,
footer.rcm-site-footer a.rcm-site-footer__cta-btn,
footer.rcm-site-footer button.rcm-site-footer__newsletter-btn {
    border-radius: 6px !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
}

.rcm-site-footer .rcm-site-footer__newsletter-fields input,
.rcm-site-footer .rcm-site-footer__newsletter-fields button {
    border: none !important;
    box-shadow: none !important;
    border-radius: 6px !important;
    outline: none !important;
}

/* ===================================================================
   DIRECTORY SINGLE — [rcm_directory_single]
   Frame 210:2190 — Figma-matched layout using CSS Grid
   Layout: Content left (auto), Sidebar right (300px fixed)
   =================================================================== */

.rcm-directory-single {
    /* Design Tokens from Figma */
    --ds-bg-primary: #ffffff;
    --ds-bg-secondary: transparent;
    --ds-bg-accent: var(--rcm-directory-topic-color, var(--topic-color, #7153b0));
    --ds-text-primary: #000000;
    --ds-text-secondary: #6d757f;
    --ds-text-accent: #3e286d;
    --ds-text-muted: #52525b;
    --ds-border: #dfdfdf;
    --ds-border-light: #e2e2e2;
    --ds-font-heading: "Manrope", sans-serif;
    --ds-font-body: "Inter", sans-serif;

    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background: var(--ds-bg-primary);
    font-family: var(--ds-font-body);
    box-sizing: border-box;
}

.rcm-directory-single *,
.rcm-directory-single *::before,
.rcm-directory-single *::after {
    box-sizing: border-box;
}

/* --- Main Grid Layout --- */
.rcm-ds__grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 0px;
    position: relative;
}

/* --- Border (matching article single) --- */
.rcm-ds__border {
    width: 100%;
    height: 6px;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: cover !important;
    background-color: transparent !important;
    position: relative;
    margin-bottom: 24px;
    grid-column: 1 / -1;
    border: none !important;
}

/* --- Left Content Area --- */
.rcm-ds__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- Title --- */
.rcm-ds__title {
    font-family: var(--ds-font-heading);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.09;
    color: var(--ds-text-accent);
    margin: 0;
}

/* --- Topic --- */
.rcm-ds__topic {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 8px;
}

.rcm-ds__topic-icon {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background-color: var(--topic-color, var(--ds-bg-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.rcm-ds__topic-icon svg {
    width: 100%;
    height: 100%;
}

.rcm-ds__topic-name {
    font-family: var(--ds-font-heading);
    font-weight: 700;
    font-size: 15px;
    line-height: 15px;
    color: var(--ds-text-secondary);
    text-transform: capitalize;
}

/* --- Meta Row --- */
.rcm-ds__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.rcm-ds__meta-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.rcm-ds__author,
.rcm-ds__date {
    font-family: var(--ds-font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.011em;
    color: var(--ds-text-primary);
}

.rcm-ds__meta-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* --- Share Button (matching article single) --- */
.rcm-ds__share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    appearance: none;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rcm-ds__share-button:hover {
    background: transparent !important;
    color: var(--ds-bg-accent);
}

.rcm-ds__share-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.006em;
    color: #52525b;
}

.rcm-ds__share-icons {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    line-height: 1;
}

.rcm-ds__share-icons .fa-arrow-right {
    color: var(--ds-bg-accent);
}

/* --- Image --- */
.rcm-ds__image {
    width: 100%;
    margin: 16px 0;
}

.rcm-ds__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    object-fit: cover;
}

/* --- Description --- */
.rcm-ds__description {
    font-family: var(--ds-font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: var(--ds-text-primary);
    margin: 16px 0;
}

.rcm-ds__description p {
    margin: 0 0 12px;
}

.rcm-ds__description p:last-child {
    margin-bottom: 0;
}

/* --- Section Titles --- */
.rcm-ds__section-title {
    font-family: var(--ds-font-heading);
    font-weight: 700;
    font-size: 30px;
    line-height: 33px;
    color: var(--ds-text-accent);
    margin: 32px 0 16px;
}

/* --- Clinic Lists --- */
.rcm-ds__clinic-list {
    font-family: var(--ds-font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 34px;
    color: var(--ds-text-primary);
    max-width: 500px;
}

.rcm-ds__clinic-list p {
    margin: 0 0 8px;
}

/* --- Divider --- */
.rcm-ds__divider {
    width: 100%;
    height: 0;
    border: none;
    border-top: 1px solid var(--ds-border-light);
    margin: 32px 0;
}

/* --- Related Section --- */
.rcm-ds__related-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0 16px;
}

.rcm-ds__ornament {
    width: 12px;
    height: 32px;
    background: var(--ds-bg-accent);
    border-radius: 0;
    flex-shrink: 0;
}

.rcm-ds__related-title {
    font-family: var(--ds-font-heading);
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.019em;
    color: var(--ds-text-primary);
    margin: 0;
}

/* --- Related Grid --- */
.rcm-ds__related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 46px;
}

.rcm-ds__related-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rcm-ds__card-title {
    font-family: var(--ds-font-body);
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.014em;
    color: var(--ds-text-primary);
    margin: 0;
}

.rcm-ds__card-title a {
    color: inherit;
    text-decoration: none;
}

.rcm-ds__card-title a:hover {
    color: var(--ds-text-accent);
}

.rcm-ds__card-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    font-family: var(--ds-font-body);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--ds-text-primary);
}

.rcm-ds__card-divider {
    width: 0;
    height: 16px;
    border-left: 1px solid var(--ds-text-muted-alpha, #00000080);
}

/* --- Pager (matching article single exactly) --- */
.rcm-ds__pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 46px;
}

.rcm-ds__pager-btn {
    width: 32px;
    height: 32px;
    padding: 0 !important;
    border: 1px solid #cfcfcf !important;
    background: #ffffff !important;
    box-shadow: none !important;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
}

.rcm-ds__pager-btn:disabled {
    opacity: 0.5;
    cursor: default;
    border-color: #cfcfcf !important;
    background: #ffffff !important;
}

.rcm-ds__pager-btn--prev {
    color: #2b5692;
}

.rcm-ds__pager-btn--next {
    color: #7153b0;
}

.rcm-ds__pager-dots {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rcm-ds__pager-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cfcfcf;
    display: inline-block;
    text-decoration: none;
}

.rcm-ds__pager-dot.is-current {
    background: #7153b0;
}

.rcm-ds__pager-dot.is-disabled {
    background: #dfdfdf;
    pointer-events: none;
}

/* --- Right Sidebar (Ads) --- */
.rcm-ds__sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rcm-ds__ad {
    width: 300px;
    background: var(--ds-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rcm-ds__ad--300-600 {
    height: 600px;
}

.rcm-ds__ad--300-250 {
    height: 250px;
}

.rcm-ds__ad-label {
    font-family: var(--ds-font-body);
    font-weight: 500;
    font-size: 28.59px;
    line-height: 28.59px;
    color: var(--ds-text-primary);
}

/* ===================================================================
   RESPONSIVE — Tablet & Mobile
   =================================================================== */
@media (max-width: 1180px) {
    .rcm-ds__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0px;
    }

    .rcm-ds__sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
        margin-top: 40px;
    }

    .rcm-ds__ad {
        width: 100%;
    }

    .rcm-ds__related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 46px;
    }
}

@media (max-width: 768px) {
    .rcm-directory-single {
        padding: 0 16px;
    }

    .rcm-ds__title {
        font-size: 24px;
        line-height: 28px;
    }

    .rcm-ds__section-title {
        font-size: 22px;
        line-height: 26px;
    }

    .rcm-ds__meta {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
        margin-top: 8px;
        margin-bottom: 8px;
        background: #f8f9fa;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .rcm-ds__meta-left {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px 20px;
        width: 100%;
    }

    .rcm-ds__meta-right {
        justify-content: flex-end;
        width: 100%;
    }

    .rcm-ds__share-button {
        align-self: flex-end;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 8px 16px !important;
        min-height: 36px;
        background: #ffffff !important;
        border: 1px solid #dee2e6 !important;
        border-radius: 6px !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

    .rcm-ds__share-button:hover {
        background: var(--ds-bg-accent, #7153b0) !important;
        border-color: var(--ds-bg-accent, #7153b0) !important;
        color: #ffffff !important;
    }

    .rcm-ds__share-button:hover .rcm-ds__share-text {
        color: #ffffff;
    }

    .rcm-ds__share-button:hover .rcm-ds__share-icons .fa-arrow-right {
        color: #ffffff;
    }

    .rcm-ds__share-text {
        font-size: 13px;
    }

    .rcm-ds__share-icons {
        font-size: 14px;
    }

    .rcm-ds__image img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .rcm-ds__clinic-list {
        max-width: 100%;
    }

    .rcm-ds__related-header {
        margin: 20px 0 12px;
    }

    .rcm-ds__related-title {
        font-size: 20px;
        line-height: 26px;
    }

    .rcm-ds__card-title {
        font-size: 16px;
        line-height: 22px;
    }

    .rcm-ds__pager {
        gap: 10px;
        margin-top: 32px;
    }
}

@media (max-width: 480px) {
    .rcm-ds__title {
        font-size: 20px;
        line-height: 24px;
    }

    .rcm-ds__topic {
        flex-wrap: wrap;
    }

    .rcm-ds__meta {
        padding: 12px;
        gap: 10px;
    }

    .rcm-ds__share-button {
        padding: 6px 12px !important;
        min-height: 32px;
    }

    .rcm-ds__share-text {
        font-size: 12px;
    }

    .rcm-ds__meta-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .rcm-ds__author,
    .rcm-ds__date {
        font-size: 14px;
        line-height: 20px;
    }

    .rcm-ds__section-title {
        font-size: 18px;
        line-height: 22px;
        margin: 24px 0 12px;
    }

    .rcm-ds__clinic-list {
        font-size: 14px;
        line-height: 28px;
    }

    .rcm-ds__related-grid {
        gap: 16px;
    }

    .rcm-ds__related-card {
        gap: 6px;
    }

    .rcm-ds__card-meta {
        gap: 12px;
        font-size: 11px;
    }

    .rcm-ds__card-divider {
        height: 12px;
    }

    .rcm-ds__pager {
        flex-wrap: wrap;
        gap: 12px;
    }

    .rcm-ds__pager-dots {
        order: -1;
        width: 100%;
        justify-content: center;
    }
}

/* ===================================================================
   EVENT SINGLE — rcm_event_single
   =================================================================== */
.rcm-event-single {
    --es-color-bg-gray-light: #f1f1f1;
    --es-color-bg-white: #ffffff;
    --es-color-text-black: #000000;
    --es-color-text-purple-dark: #3e286d;
    --es-color-text-purple-medium: #5040a1;
    --es-color-accent-purple: #7153b0;
    --es-font-inter: 'Inter', sans-serif;
    --es-font-manrope: 'Manrope', sans-serif;

    max-width: 1236px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.rcm-event-single *,
.rcm-event-single *::before,
.rcm-event-single *::after {
    box-sizing: border-box !important;
}

/* Top Ad Banner */
.rcm-es__ad-top {
    width: 920px !important;
    height: 70px !important;
    margin: 0 auto 30px !important;
    background: var(--es-color-bg-gray-light) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.rcm-es__ad-placeholder {
    width: 100% !important;
    height: 100% !important;
    background: var(--es-color-bg-gray-light) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.rcm-es__ad-label {
    font-family: var(--es-font-inter) !important;
    font-weight: 500 !important;
    font-size: 1.787rem !important;
    color: var(--es-color-text-black) !important;
}

/* Hero Image */
.rcm-es__hero {
    width: 100% !important;
    max-width: 1236px !important;
    height: 463px !important;
    margin: 0 auto 50px !important;
    padding: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
}

.rcm-es__hero img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide ALL content inside hero except the img */
.rcm-es__hero *:not(img) {
    display: none !important;
}

/* Main Layout: Content + Sidebar */
.rcm-es__layout {
    display: flex !important;
    flex-direction: row !important;
    gap: 32px !important;
    align-items: flex-start !important;
    width: 100% !important;
}

/* Left Content */
.rcm-es__main-content {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* Title */
.rcm-es__title {
    font-family: var(--es-font-manrope) !important;
    font-weight: 700 !important;
    font-size: 1.875rem !important;
    line-height: 1.3 !important;
    color: var(--es-color-text-purple-dark) !important;
    margin: 0 0 0 20px !important;
    padding: 0 !important;
}

/* Description */
.rcm-es__description {
    font-family: var(--es-font-inter) !important;
    font-weight: 400 !important;
    font-size: 1rem !important;
    line-height: 22px !important;
    color: var(--es-color-text-black) !important;
    margin: 0 0 0 20px !important;
    padding: 0 !important;
    max-width: 711px !important;
}

.rcm-es__description p {
    margin: 0 0 12px !important;
}

/* Event Detail Card - White Background */
.rcm-es__card {
    width: 100% !important;
    background: var(--es-color-bg-white) !important;
    padding: 25px 30px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
}

/* Info Group */
.rcm-es__info-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 40px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.rcm-es__info-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    min-width: 0 !important;
}

.rcm-es__info-label {
    font-family: var(--es-font-inter) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: var(--es-color-text-purple-medium) !important;
    white-space: nowrap !important;
}

.rcm-es__info-value {
    font-family: var(--es-font-inter) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    color: var(--es-color-text-black) !important;
    white-space: nowrap !important;
}

/* Price */
.rcm-es__price {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
}

.rcm-es__price-label {
    font-family: var(--es-font-inter) !important;
    font-weight: 300 !important;
    font-size: 1rem !important;
    color: var(--es-color-text-black) !important;
}

.rcm-es__price-value {
    font-family: var(--es-font-inter) !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    color: var(--es-color-text-purple-medium) !important;
}

/* Button */
.rcm-es__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 130px !important;
    height: 45px !important;
    padding: 0 20px !important;
    font-family: var(--es-font-inter) !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    text-decoration: none !important;
    background: var(--es-color-accent-purple) !important;
    color: var(--es-color-bg-white) !important;
    border: none !important;
    border-radius: 13px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.rcm-es__btn:hover {
    background: var(--es-color-text-purple-medium) !important;
    color: var(--es-color-bg-white) !important;
}

/* Actions: Price + Button wrapper */
.rcm-es__actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    flex-shrink: 0 !important;
}

/* Important Note */
.rcm-es__note {
    font-family: var(--es-font-inter) !important;
    font-style: italic !important;
    font-size: 0.938rem !important;
    line-height: 22px !important;
    color: var(--es-color-accent-purple) !important;
    margin: 0 0 0 20px !important;
    max-width: 800px !important;
}

/* Sidebar */
.rcm-es__sidebar {
    width: 300px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 13px !important;
    flex-shrink: 0 !important;
}

.rcm-es__ad-sidebar {
    width: 300px !important;
    height: 250px !important;
    background: var(--es-color-bg-gray-light) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Logged-in admin / editor: quick edit floating control */
.rcm-es-admin {
    position: fixed !important;
    bottom: 1.25rem !important;
    right: 1.25rem !important;
    /* Above Elementor nav / popups (often 99999+). */
    z-index: 2147483000 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    font-family: var(--es-font-inter, 'Inter', sans-serif) !important;
}

.rcm-es-admin__fab {
    pointer-events: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    min-height: 48px !important;
    padding: 0 1rem 0 0.9rem !important;
    border: none !important;
    border-radius: 999px !important;
    background: var(--es-color-accent-purple, #7153b0) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    box-shadow: 0 8px 28px rgba(62, 40, 109, 0.35) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
}

.rcm-es-admin__fab:hover,
.rcm-es-admin__fab:focus-visible {
    background: var(--es-color-text-purple-medium, #5040a1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 32px rgba(62, 40, 109, 0.4) !important;
    outline: none !important;
}

.rcm-es-admin__fab:focus-visible {
    box-shadow: 0 0 0 3px rgba(113, 83, 176, 0.45) !important;
}

.rcm-es-admin__fab-text {
    white-space: nowrap !important;
}

.rcm-es-admin__dialog {
    /* Parent .rcm-es-admin uses pointer-events: none for the FAB; dialog must opt back in or links/buttons never receive clicks. */
    pointer-events: auto !important;
    max-width: min(420px, calc(100vw - 2rem)) !important;
    width: 100% !important;
    margin: auto !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25) !important;
    background: #fff !important;
    color: var(--es-color-text-black, #000) !important;
}

.rcm-es-admin__dialog::backdrop {
    background: rgba(15, 23, 42, 0.45) !important;
}

.rcm-es-admin__dialog-panel {
    padding: 1.5rem 1.5rem 1.5rem !important;
    box-sizing: border-box !important;
}

.rcm-es-admin__dialog-title {
    margin: 0 0 0.5rem !important;
    font-family: var(--es-font-manrope, 'Manrope', sans-serif) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--es-color-text-purple-dark, #3e286d) !important;
}

.rcm-es-admin__dialog-lead {
    margin: 0 0 0.75rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    line-height: 1.35 !important;
    color: var(--es-color-text-black, #000) !important;
}

.rcm-es-admin__dialog-desc {
    margin: 0 0 1.25rem !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    color: #475569 !important;
}

.rcm-es-admin__dialog-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    align-items: center !important;
}

.rcm-es-admin__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 0 1.1rem !important;
    border-radius: 13px !important;
    font-family: var(--es-font-inter, 'Inter', sans-serif) !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    box-sizing: border-box !important;
}

.rcm-es-admin__btn--primary {
    background: var(--es-color-accent-purple, #7153b0) !important;
    color: #fff !important;
    border-color: var(--es-color-accent-purple, #7153b0) !important;
}

.rcm-es-admin__btn--primary:hover {
    background: var(--es-color-text-purple-medium, #5040a1) !important;
    border-color: var(--es-color-text-purple-medium, #5040a1) !important;
    color: #fff !important;
}

.rcm-es-admin__btn--ghost {
    background: #fff !important;
    color: var(--es-color-text-purple-medium, #5040a1) !important;
    border-color: #e2e8f0 !important;
}

.rcm-es-admin__btn--ghost:hover {
    background: #f8fafc !important;
}

@media (max-width: 480px) {
    .rcm-es-admin__dialog-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .rcm-es-admin__btn {
        width: 100% !important;
    }

    .rcm-es-admin {
        bottom: max(1rem, env(safe-area-inset-bottom, 0px)) !important;
        right: max(1rem, env(safe-area-inset-right, 0px)) !important;
    }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1260px) {
    .rcm-event-single {
        padding: 0 20px !important;
    }

    .rcm-es__ad-top {
        width: 100% !important;
        max-width: 920px !important;
    }

    .rcm-es__hero {
        height: auto !important;
        aspect-ratio: 1236 / 463;
        max-width: 100% !important;
    }
}

@media (max-width: 992px) {
    .rcm-es__layout {
        flex-direction: column !important;
    }

    .rcm-es__main-content {
        width: 100% !important;
    }

    .rcm-es__card {
        flex-wrap: wrap !important;
        padding: 20px !important;
    }

    .rcm-es__info-group {
        width: 100% !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
    }

    .rcm-es__sidebar {
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    .rcm-es__title,
    .rcm-es__description,
    .rcm-es__note {
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .rcm-event-single {
        padding: 0 15px !important;
    }

    .rcm-es__hero {
        height: auto !important;
        aspect-ratio: 16 / 9;
    }

    .rcm-es__title {
        font-size: 1.5rem !important;
    }

    /* Card stacks vertically on mobile */
    .rcm-es__card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    /* Date + Time side by side, Location alone below */
    .rcm-es__info-group {
        flex-wrap: wrap !important;
        gap: 20px !important;
    }

    .rcm-es__info-item {
        flex: 0 0 auto !important;
    }

    /* Location (last item) takes full width */
    .rcm-es__info-item:last-child {
        flex: 0 0 100% !important;
    }

    /* Price + Button stay side by side */
    .rcm-es__actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 30px !important;
        width: 100% !important;
    }

    .rcm-es__ad-sidebar {
        width: 100% !important;
        max-width: 300px !important;
    }

    .rcm-es__sidebar {
        align-items: center !important;
    }
}

@media (max-width: 480px) {
    .rcm-event-single {
        padding: 0 10px !important;
    }

    .rcm-es__title {
        font-size: 1.25rem !important;
    }

    .rcm-es__description {
        font-size: 0.875rem !important;
    }

    .rcm-es__info-label {
        font-size: 0.875rem !important;
    }

    .rcm-es__info-value {
        font-size: 0.95rem !important;
    }

    .rcm-es__price-value {
        font-size: 1.25rem !important;
    }
}

/* ===================================================================
   HERO NEWSLETTER — rcm_hero_newsletter
   Based on Figma node 932:1833 — 1262.95×498px
   =================================================================== */
.rcm-hn {
    position: relative !important;
    width: 100% !important;
    max-width: 1262.95px !important;
    height: auto !important;
    min-height: 498px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 34.95px !important;
    padding: 0 !important;
}

/* Left Hero Section */
.rcm-hn__main {
    width: 898px !important;
    flex-shrink: 0;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 631px !important;
}


.rcm-hn__mask-group {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1;
}

.rcm-hn__rect3 {
    position: absolute;
    inset: 0;
    background: #fbfafa;
    z-index: 1;
}

.rcm-hn__image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.rdm-hn__image--mobile {
    display: none;
}

.rcm-hn__image--mobile {
    display: none;
}

@media (max-width: 768px) {
    .rcm-hn__image--desktop {
        display: none !important;
    }

    .rcm-hn__image--mobile {
        display: block !important;
    }
}

/* Gradient: Purple bottom to transparent top (Figma node 104:917) */
.rcm-hn__gradient-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(62, 40, 109, 1) 0%, rgba(62, 40, 109, 0) 100%);
    pointer-events: none;
    z-index: 3;
}

.rdm-hn__content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    padding: 100px 44px 44px 44px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start;
    box-sizing: border-box !important;
    pointer-events: none !important;
}

.rdm-hn__content-overlay>* {
    pointer-events: auto !important;
}

.rcm-hn__text-block {
    width: 100%;
    max-width: 685px;
    margin-bottom: 0;
    position: absolute;
    top: 100px;
    left: 44px;
}

.rcm-hn__headline {
    margin: 0 0 15px 0;
    padding: 0;
    transition: all 0.3s ease;
}

.rcm-hn__headline-part1 {
    display: block;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
    font-size: 40px !important;
    line-height: 57px !important;
    color: #ffffff !important;
}

.rcm-hn__headline-part2 {
    display: block;
    font-family: 'Roasted Bailey', 'Mr De Haviland', cursive !important;
    font-weight: 400 !important;
    font-size: 60px !important;
    line-height: 57px !important;
    color: #ffffff !important;
}

.rcm-hn__description {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 25px !important;
    color: #ffffff !important;
    margin: 0 !important;
    max-width: 687px !important;
}

.rcm-hn__form-heading {
    margin: 0 0 10px 0 !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 28.8px !important;
    color: #ffffff !important;
    position: absolute !important;
    bottom: 147px !important;
    left: 44px !important;
}

.rcm-hn__form {
    width: 100% !important;
    max-width: 685.63px !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 7px !important;
    margin-bottom: 0 !important;
    position: absolute !important;
    bottom: 84px !important;
    left: 44px !important;
}

.rcm-hn__input {
    flex: none;
    width: 250px !important;
    height: 50px !important;
    padding: 0 20px !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #6f6f6f !important;
}

.rcm-hn__submit {
    width: 171.63px !important;
    flex: none !important;
    height: 50px !important;
    background: #7153b0 !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #ffffff !important;
    cursor: pointer;
}

.rcm-hn__social {
    position: absolute;
    bottom: 27px;
    left: 44px;
    display: flex;
    gap: 15px !important;
}

.rcm-hn__social-link {
    color: #ffffff !important;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: opacity 0.2s;
}

.rcm-hn__social-link:hover {
    opacity: 0.7;
}

/* Right Sidebar Section: 329.95px width per Figma */
.rcm-hn__topics {
    width: 329.95px !important;
    flex-shrink: 0;
    display: flex !important;
    flex-direction: column !important;
    background: transparent;
}

.rcm-hn__topics-header {
    display: block;
    margin-bottom: 5px;
}

.rcm-hn__topics-title {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.375rem !important;
    /* 22px exactly per Figma 28:153 */
    color: #183354 !important;
    /* Exact Figma color */
    margin: 0 0 10px 0 !important;
    text-transform: capitalize;
}

.rcm-hn__topics-underline {
    position: relative;
    width: 100%;
    height: 6px;
    background-image: none !important;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 1251px 6px;
    margin-bottom: 33px;
}

.rcm-hn__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rcm-hn__link {
    position: relative !important;
    width: 100%;
    height: 80px !important;
    border-radius: 6px !important;
    overflow: hidden;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 25px;
    box-sizing: border-box;
    transition: filter 0.2s;
}

.rcm-hn__link:hover {
    filter: brightness(0.95);
}

.rcm-hn__link-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.rcm-hn__link--1 .rcm-hn__link-bg {
    background: #a88be8;
}

.rcm-hn__link--2 .rcm-hn__link-bg {
    background: #ffcc16;
}

.rcm-hn__link--3 .rcm-hn__link-bg {
    background: #e88bdf;
}

.rcm-hn__link--4 .rcm-hn__link-bg {
    background: #f3494c;
}

.rcm-hn__link--5 .rcm-hn__link-bg {
    background: #f37121;
}



.rcm-hn__link-text {
    position: relative !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.78px !important;
    color: #ffffff !important;
    z-index: 3;
    text-transform: uppercase;
}

.rcm-hn__link-arrow {
    position: relative;
    z-index: 3;
    margin-left: auto;
    width: 16px;
    height: 16px;
}

.rdm-hn__ad-banner {
    display: none;
}

/* Responsive */
@media (max-width: 1280px) {
    .rcm-hn {
        padding: 0 20px !important;
        gap: 20px !important;
        max-width: 100% !important;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .rcm-hn {
        flex-direction: column !important;
        height: auto !important;
    }

    .rcm-hn__main {
        width: 100% !important;
        height: auto !important;
        min-height: 500px !important;
    }

    .rcm-hn__topics {
        width: 100% !important;
        margin-top: 40px !important;
    }

    .rcm-hn__topics--desktop-only {
        display: none !important;
    }

    .rcm-hn__links {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
    }

    .rcm-hn__link {
        flex: 1 1 calc(50% - 10px) !important;
    }
}

@media (max-width: 768px) {
    .rcm-hn {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 827px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        gap: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .rcm-hn__main {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 827px !important;
        border-radius: 0 !important;
        position: relative !important;
        flex-shrink: 0 !important;
        background: #fbfafa !important;
    }

    .rcm-hn__mask-group {
        display: none !important;
    }

    .rcm-hn__mask-group--mobile {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 726px !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        z-index: 1 !important;
    }

    .rcm-hn__mask-group--mobile .rcm-hn__rect3 {
        display: none !important;
    }

    .rcm-hn__mask-group--mobile .rcm-hn__gradient-overlay {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(to top, rgba(62, 40, 109, 1) 0%, rgba(62, 40, 109, 0) 100%) !important;
        pointer-events: none !important;
        z-index: 2 !important;
    }

    .rcm-hn__gradient-overlay {
        height: 100% !important;
    }

    .rcm-hn__content-overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 827px !important;
        padding: 0 !important;
        display: block !important;
        z-index: 10 !important;
        pointer-events: none !important;
    }

    .rcm-hn__content-overlay>* {
        pointer-events: auto !important;
    }

    .rcm-hn__text-block {
        position: absolute !important;
        top: 45px !important;
        left: 36px !important;
        width: auto !important;
        max-width: 280px !important;
        margin: 0 !important;
        z-index: 20 !important;
    }

    .rcm-hn__headline {
        margin: 0 0 27px 0 !important;
        width: auto !important;
        max-width: 280px !important;
        height: auto !important;
    }

    .rcm-hn__headline-part1 {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 36px !important;
        line-height: 43px !important;
        font-weight: 400 !important;
        color: #ffffff !important;
        display: block !important;
        text-transform: capitalize !important;
    }

    .rcm-hn__headline-part2 {
        font-family: 'Roasted Bailey', cursive !important;
        font-size: 54px !important;
        line-height: 43px !important;
        font-weight: 400 !important;
        color: #ffffff !important;
        display: block !important;
        text-transform: capitalize !important;
    }

    .rcm-hn__description {
        position: absolute !important;
        top: 237px !important;
        left: 31px !important;
        width: auto !important;
        max-width: 290px !important;
        height: auto !important;
        font-family: 'Inter', sans-serif !important;
        font-weight: 400 !important;
        font-size: 16px !important;
        line-height: 1.5625em !important;
        color: #ffffff !important;
        margin: 0 !important;
        z-index: 20 !important;
    }

    .rcm-hn__social {
        position: absolute !important;
        top: 684px !important;
        left: 36px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
        margin: 0 !important;
        z-index: 20 !important;
    }

    .rcm-hn__social-link {
        font-family: 'Font Awesome 5 Brands' !important;
        font-size: 16px !important;
        line-height: 1em !important;
        color: #ffffff !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 16px !important;
        height: 20px !important;
    }

    .rcm-hn__form-heading {
        position: absolute !important;
        top: 460.5px !important;
        left: 0 !important;
        right: 0 !important;
        width: auto !important;
        max-width: none !important;
        text-align: center !important;
        height: auto !important;
        margin: 0 !important;
        font-family: 'Manrope', sans-serif !important;
        font-weight: 500 !important;
        font-size: 16px !important;
        line-height: 28.8px !important;
        color: #ffffff !important;
        text-transform: capitalize !important;
        z-index: 20 !important;
    }

    .rcm-hn__form {
        position: absolute !important;
        top: 481px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 250px !important;
        max-width: 250px !important;
        height: auto !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 11px !important;
        align-items: stretch !important;
        z-index: 20 !important;
    }

    .rcm-hn__input {
        width: 250px !important;
        height: 50px !important;
        padding: 16.5px 20px !important;
        background: #ffffff !important;
        border: none !important;
        border-radius: 6px !important;
        font-family: 'Inter', sans-serif !important;
        font-weight: 500 !important;
        font-size: 14px !important;
        color: #6f6f6f !important;
        box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05) !important;
    }

    .rcm-hn__input::placeholder {
        color: #6f6f6f !important;
    }

    .rcm-hn__submit {
        width: 171.63px !important;
        height: 50px !important;
        background: #7153b0 !important;
        border: none !important;
        border-radius: 4px !important;
        font-family: 'Manrope', sans-serif !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        color: #ffffff !important;
        cursor: pointer !important;
        text-transform: capitalize !important;
        align-self: flex-start !important;
    }

    .rcm-hn__topics--desktop-only {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .rcm-hn {
        max-width: 100% !important;
        height: auto !important;
    }

    .rcm-hn__main {
        width: 100% !important;
        height: auto !important;
    }

    .rcm-hn__mask-group,
    .rcm-hn__rect3,
    .rcm-hn__image {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
    }

    .rcm-hn__content-overlay {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        padding: 45px 36px !important;
    }

    .rcm-hn__text-block {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        left: auto !important;
        top: auto !important;
    }

    .rcm-hn__headline {
        width: 100% !important;
        height: auto !important;
    }

    .rcm-hn__headline-part1,
    .rcm-hn__headline-part2 {
        font-size: 36px !important;
        line-height: 1.2em !important;
    }

    .rcm-hn__description {
        position: static !important;
        width: 100% !important;
        left: auto !important;
        top: auto !important;
        margin-top: 20px !important;
    }

    .rcm-hn__form-heading {
        position: static !important;
        width: 100% !important;
        left: auto !important;
        top: auto !important;
        margin-top: 30px !important;
        text-align: center !important;
    }

    .rcm-hn__form {
        position: static !important;
        width: 100% !important;
        left: auto !important;
        top: auto !important;
        margin-top: 15px !important;
        align-items: center !important;
    }

    .rcm-hn__input {
        width: 100% !important;
        max-width: 250px !important;
    }

    .rcm-hn__submit {
        width: 171.63px !important;
    }

    .rcm-hn__social {
        position: static !important;
        left: auto !important;
        top: auto !important;
        justify-content: center !important;
        margin-top: 30px !important;
    }
}

/* Figma node 190:864 "View All" button style (applies across shortcode variants). */
.rcm-todays-events__view-all,
.rcm-trending-places__view-all,
.rcm-featured-articles__view-all,
.rcm-latest-guides__view-all,
.rcm-upcoming-events__view-all,
.rcm-json-1__view-all,
.rcm-editors-picks__view-all,
.rcm-home-articles__view-all,
.rcm-home-directories__view-all,
.rcm-home-guides__view-all,
.rcm-home-latest__view-all {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 9.697px !important;
    width: auto !important;
    min-width: 114px !important;
    max-width: none !important;
    height: 32px !important;
    padding: 0 14px 0 16.48px !important;
    border: 0.97px solid #cfcfcf !important;
    border-radius: 3.879px !important;
    background: #ffffff !important;
    color: #183354 !important;
    text-decoration: none !important;
    font-family: "Inter", sans-serif !important;
    font-size: 13.576px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.rcm-todays-events__view-all:hover,
.rcm-todays-events__view-all:focus-visible,
.rcm-trending-places__view-all:hover,
.rcm-trending-places__view-all:focus-visible,
.rcm-featured-articles__view-all:hover,
.rcm-featured-articles__view-all:focus-visible,
.rcm-latest-guides__view-all:hover,
.rcm-latest-guides__view-all:focus-visible,
.rcm-upcoming-events__view-all:hover,
.rcm-upcoming-events__view-all:focus-visible,
.rcm-json-1__view-all:hover,
.rcm-json-1__view-all:focus-visible,
.rcm-editors-picks__view-all:hover,
.rcm-editors-picks__view-all:focus-visible,
.rcm-home-articles__view-all:hover,
.rcm-home-articles__view-all:focus-visible,
.rcm-home-directories__view-all:hover,
.rcm-home-directories__view-all:focus-visible,
.rcm-home-guides__view-all:hover,
.rcm-home-guides__view-all:focus-visible,
.rcm-home-latest__view-all:hover,
.rcm-home-latest__view-all:focus-visible {
    border-color: #bdbdbd !important;
    box-shadow: 0 1px 3px rgba(24, 51, 84, 0.08) !important;
}

.rcm-todays-events__view-all > span,
.rcm-trending-places__view-all > span,
.rcm-featured-articles__view-all > span,
.rcm-latest-guides__view-all > span,
.rcm-upcoming-events__view-all > span,
.rcm-json-1__view-all > span,
.rcm-editors-picks__view-all > span,
.rcm-home-articles__view-all > span,
.rcm-home-directories__view-all > span,
.rcm-home-guides__view-all > span,
.rcm-home-latest__view-all > span {
    display: inline-block !important;
    color: #183354 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.rcm-todays-events__view-all svg,
.rcm-trending-places__view-all svg,
.rcm-featured-articles__view-all svg,
.rcm-latest-guides__view-all svg,
.rcm-upcoming-events__view-all svg,
.rcm-json-1__view-all svg,
.rcm-home-articles__view-all svg,
.rcm-home-latest__view-all svg,
.rcm-featured-articles__view-all-icon {
    width: 9.697px !important;
    height: 9.697px !important;
    color: #7153b0 !important;
    fill: currentColor !important;
    flex: 0 0 auto !important;
}

/* Home topic sections set --rcm-topic-color on <section>; arrow should match topic, not fixed purple. */
.rcm-home-guides__view-all svg,
.rcm-home-directories__view-all svg {
    width: 9.697px !important;
    height: 9.697px !important;
    color: var(--rcm-topic-color, #7153b0) !important;
    fill: currentColor !important;
    flex: 0 0 auto !important;
}

/* Editor's picks: View All + arrow follow topic (--rcm-topic-color on section or body on rcm_topics archives). */
.rcm-editors-picks .rcm-editors-picks__view-all {
    color: var(--rcm-topic-color, #183354) !important;
}
.rcm-editors-picks .rcm-editors-picks__view-all > span {
    color: #183354 !important;
}
.rcm-editors-picks .rcm-editors-picks__view-all svg {
    width: 9.697px !important;
    height: 9.697px !important;
    color: var(--rcm-topic-color, #7153b0) !important;
    fill: currentColor !important;
    flex: 0 0 auto !important;
}

/* Preserve mobile/desktop variant visibility for Today's Events. */
.rcm-todays-events__view-all--mobile {
    display: none !important;
}

.rcm-todays-events__view-all--desktop {
    display: inline-flex !important;
}

@media (max-width: 768px) {
    .rcm-todays-events__view-all--mobile {
        display: inline-flex !important;
    }

    .rcm-todays-events__view-all--desktop {
        display: none !important;
    }
}
