.feature-sec-before-announcement.space-bottom {
    padding-block-end: 1.5rem;
}

.home-upcoming-events-strip {
    position: relative;
    isolation: isolate;
    margin-block-end: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--theme-color, #1b4f39);
}

.home-upcoming-events-strip::before {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    z-index: -1;
    inline-size: min(45%, 34rem);
    background: url('/img/temp2026/assets/img/shape/feature-shep-home-1.png?format=webp') left top / cover no-repeat;
    opacity: 0.16;
    pointer-events: none;
    content: '';
}

.home-upcoming-events-strip + .qs-showcase {
    margin-block-start: 0;
}

.home-upcoming-events {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    padding-block: clamp(1.75rem, 3.5vw, 3rem);
    color: #fff;
}

.home-upcoming-events .title-area {
    flex: 1 1 28rem;
    min-inline-size: 0;
    margin: 0;
    text-align: start;
}

.home-upcoming-events__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 1rem;
    margin-block-end: 0.5rem;
    color: #e1ece6;
    font-size: 0.9375rem;
}

.home-upcoming-events__meta .sub-title {
    margin: 0;
    color: inherit;
}

.home-upcoming-events__meta .sub-title::before {
    background-color: currentColor;
}

.home-upcoming-events__title {
    margin: 0;
    color: inherit;
    font-size: clamp(1.5rem, 2.6vw, 2.5rem);
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.home-upcoming-events__title a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #c2d4ca;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.home-upcoming-events__title a:hover,
.home-upcoming-events__title a:focus-visible {
    text-decoration-color: currentColor;
}

.home-upcoming-events .th-btn.style-border1 {
    flex-shrink: 0;
    border-color: #c2d4ca;
    color: #fff;
}

.home-upcoming-events .th-btn.style-border1:hover,
.home-upcoming-events .th-btn.style-border1:focus-visible {
    border-color: #fff;
    background: #fff;
    color: var(--theme-color, #1b4f39);
}

@media (max-width: 991px) {
    .feature-sec-before-announcement.space-bottom {
        padding-block-end: calc(60px + 1.5rem);
    }

    .home-upcoming-events .th-btn {
        padding: 0.875rem 1.25rem;
    }
}

@media (max-width: 767px) {
    .home-upcoming-events__meta .sub-title {
        font-size: 0.875rem;
    }
}
