/* Homepage announcement strip, hero actions and featured opportunities. */
.promo-strip {
    margin: 20px 0 -20px;
    background: #333333;
    color: #FFFFFF;
    font-size: 0.92rem;
}
header.sticky .promo-strip { margin: 10px 0 -10px; }
.promo-strip[hidden] { display: none; }
.promo-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px 18px;
    flex-wrap: wrap;
    padding: 10px 48px 10px 16px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.promo-strip p { margin: 0; color: #E6E6E6; }
.promo-strip strong { color: #FFFFFF; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.promo-strip-link {
    color: #F5A623;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}
.promo-strip-link:hover { color: #FFC153; }
.promo-strip-close {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #FFFFFF;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}
.promo-strip-close:hover { background: rgba(255, 255, 255, 0.12); }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
#hero .hero-secondary {
    color: #FFFFFF;
    border-color: #FFFFFF;
    padding: 13px 33px;
    font-size: 1rem;
}
#hero .hero-secondary:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.hero-learn-more {
    display: inline-block;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 0.95rem;
}
.hero-learn-more:hover { color: #FFFFFF; }

/* Keep the existing alternating section backgrounds after the inserted section. */
.featured-opportunities { background: #FFFFFF; }
.featured-opportunities[hidden] { display: none; }
#featured-opportunities ~ section:nth-child(odd) { background-color: var(--grey-color); }
#featured-opportunities ~ section:nth-child(even) { background-color: transparent; }

.featured-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.featured-cards.count-1 { max-width: 420px; margin: 0 auto; }
.featured-cards.count-2 { max-width: 860px; margin: 0 auto; }
.featured-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.featured-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); transform: translateY(-2px); }
.featured-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--grey-color);
}
.featured-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.featured-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.featured-tag { background: #F5A623; color: #222222; padding: 3px 9px; border-radius: 999px; }
.featured-level { color: #505050; padding: 3px 0; }
.featured-card h3 { font-size: 1.25rem; margin: 0 0 10px; }
.featured-card h3 a { color: #333333; }
.featured-card h3 a:hover { color: #B26F00; text-decoration: underline; }
.featured-card p { font-size: 0.95rem; margin-bottom: 14px; color: #5f5f5f; }
.featured-date { font-weight: 600; color: #333333 !important; }
.featured-price { margin-top: auto; margin-bottom: 14px; font-family: 'Montserrat', sans-serif; color: #333333; }
.featured-price strong { font-size: 1.2rem; }
.featured-price del { color: #757575; margin-right: 8px; }
.featured-price small { display: block; font-family: 'Open Sans', sans-serif; color: #5f5f5f; font-size: 0.82rem; margin-top: 2px; }
.featured-link {
    align-self: flex-start;
    margin-top: auto;
    color: #333333;
    font-weight: 600;
    border-bottom: 2px solid #F5A623;
    padding-bottom: 2px;
}
.featured-price + .featured-link { margin-top: 0; }
.featured-link:hover { color: #B26F00; }
.featured-footer { text-align: center; margin: 36px 0 0; }
.featured-footer a { color: #333333; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.preview-badge {
    position: fixed;
    bottom: 12px;
    left: 12px;
    z-index: 2000;
    background: #333333;
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.promo-strip a:focus-visible,
.promo-strip-close:focus-visible,
.hero-actions a:focus-visible,
.hero-learn-more:focus-visible,
.featured-opportunities a:focus-visible {
    outline: 3px solid #F5A623;
    outline-offset: 3px;
}

@media screen and (max-width: 768px) {
    .promo-strip { font-size: 0.85rem; }
    .promo-strip-inner { gap: 4px 10px; padding: 8px 44px 8px 12px; }
    .hero-actions { flex-direction: column; align-items: stretch; max-width: 340px; margin: 0 auto; }
    .hero-actions a { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .featured-card, .featured-card:hover { transition: none; transform: none; }
}
