/* ============================================================
   ANNOUNCEMENTS + LATEST NEWS & EVENTS + UPCOMING EVENTS
   Premium refinement — unified formatting, bigger images,
   creative grow effect, gold buttons, More/Less support
============================================================ */

:root {
    --rg-white: #ffffff;
    --rg-dark-blue: #002b5c;
    --rg-muted: #6b7280;
    --rg-gold: #d4af37;
    --rg-shadow: 0 8px 24px rgba(2,10,30,0.06);
    --rg-charcoal: #111827;
}

/* BLOCK HEADERS */
.rg-block-head h2 {
    position: relative;
    display: inline-block;
    padding-left: 14px;
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 900;
    color: var(--rg-dark-blue);
}

.rg-block-head h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 70%;
    border-radius: 999px;
    background: var(--rg-gold);
}

.rg-pill-gold {
    background: var(--rg-gold);
    color: var(--rg-dark-blue);
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    display: inline-block;
}

/* EMPTY STATE */
.rg-empty {
    color: var(--rg-muted);
    font-style: italic;
    padding: 10px 0;
}

/* NEWS LIST */
.rg-newslist {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.rg-newsitem {
    display: flex;
    gap: 20px;
    background: var(--rg-white);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--rg-shadow);
    align-items: flex-start;
}

/* NEWS IMAGE (landscape-focused, portrait-safe) */
.rg-newsimg-large {
    width: 320px;
    min-width: 320px;
    height: 200px;
    border-radius: 18px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--rg-charcoal);
    box-shadow: 0 0 0 2px var(--rg-gold), 0 0 12px rgba(212,175,55,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Grow effect */
.rg-newsimg-link:hover .rg-newsimg-large {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px var(--rg-gold), 0 0 18px rgba(212,175,55,0.65);
}

.rg-newsbody {
    flex: 1;
}

.rg-news-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 900;
    color: var(--rg-dark-blue);
}

.rg-news-meta {
    font-size: 12px;
    color: var(--rg-muted);
    margin-bottom: 8px;
}

.rg-news-summary,
.rg-news-content {
    margin: 0 0 10px;
    color: var(--rg-dark-blue);
    line-height: 1.7;
}

/* Gold button */
.rg-btn-gold {
    background: var(--rg-gold);
    color: var(--rg-dark-blue);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.3s ease;
}

.rg-btn-gold:hover {
    background: var(--rg-dark-blue);
    color: var(--rg-white);
}

/* UPCOMING EVENTS */
.rg-events {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.rg-event {
    display: flex;
    gap: 20px;
    background: var(--rg-white);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--rg-shadow);
    align-items: flex-start;
}

/* Date capsule */
.rg-event-date {
    width: 72px;
    text-align: center;
    background: linear-gradient(180deg, #f7e6b8, var(--rg-gold));
    color: #fff;
    border-radius: 10px;
    padding: 8px 6px;
    font-weight: 800;
}

.rg-event-month {
    font-size: 12px;
    text-transform: uppercase;
}

.rg-event-day {
    font-size: 22px;
}

/* Event image (landscape-focused, portrait with glow gold frame) */
.rg-event-img-large {
    width: 320px;
    min-width: 320px;
    height: 220px;
    border-radius: 18px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--rg-charcoal);
    box-shadow: 0 0 0 2px var(--rg-gold), 0 0 12px rgba(212,175,55,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rg-event-img-large:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px var(--rg-gold), 0 0 18px rgba(212,175,55,0.65);
}

.rg-event-body {
    flex: 1;
}

.rg-event-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 900;
    color: var(--rg-dark-blue);
}

.rg-event-summary {
    margin: 0 0 10px;
    color: var(--rg-dark-blue);
    line-height: 1.7;
}

/* More/Less buttons */
.rg-news-toggle,
.rg-toggle-btn {
    display: none;
    background: var(--rg-dark-blue);
    color: var(--rg-white);
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}

.rg-news-toggle:hover,
.rg-toggle-btn:hover {
    background: var(--rg-gold);
    color: var(--rg-dark-blue);
}

/* DETAILS PAGE REFINEMENTS */
.rg-block-details {
    border-radius: 18px;
    background: #f9fafb;
    padding: 20px;
}

.rg-newsitem-details,
.rg-event-details-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rg-newsbody-details,
.rg-event-details-main {
    width: 100%;
}

.rg-news-meta-line {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--rg-muted);
    margin-bottom: 10px;
}

.rg-news-meta-label {
    font-weight: 700;
    color: var(--rg-dark-blue);
}

.rg-news-meta-value {
    font-weight: 500;
}

.rg-news-section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--rg-dark-blue);
    margin-bottom: 6px;
}

.rg-news-summary-box,
.rg-news-content-box,
.rg-event-details-content-box {
    background: var(--rg-white);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: var(--rg-shadow);
}

/* RESPONSIVE */
@media (max-width: 560px) {

    .rg-newsitem {
        flex-direction: column;
    }

    .rg-newsimg-large {
        width: 100%;
        min-width: 100%;
        height: 240px;
    }

    .rg-event {
        flex-direction: column;
    }

    .rg-event-img-large {
        width: 100%;
        min-width: 100%;
        height: 260px;
    }
}
