/* ── Google Fonts ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
    --ups-maroon:  #7B0000;
    --ups-crimson: #9B1C1C;
    --ups-maroon-light: #fdf0f0;
    --ups-gold:    #C8960C;
    --ups-dark:    #1a1a1a;
    --ups-text:    #333333;
    --ups-muted:   #777777;
    --ups-light:   #F7F7F7;
    --ups-border:  #EBEBEB;
    --ups-white:   #FFFFFF;
    --shadow-sm:   0 2px 12px rgba(0,0,0,.07);
    --shadow-md:   0 6px 24px rgba(0,0,0,.10);
    --shadow-lg:   0 12px 40px rgba(0,0,0,.15);
    --radius:      12px;
    /* keep legacy names so admin views still work */
    --ups-navy:    #7B0000;
    --ups-accent:  #C8960C;
}

/* ── Global ─────────────────────────────────────────────────── */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: #fff;
    color: var(--ups-text);
}
h1,h2,h3,h4,h5,h6,.navbar-brand,.section-heading,.stat-number {
    font-family: 'Montserrat', sans-serif;
}
a { color: var(--ups-maroon); }
a:hover { color: var(--ups-crimson); text-decoration: none; }
img { max-width: 100%; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar-ups {
    background: #fff;
    border-bottom: 1px solid var(--ups-border);
    padding: 0.6rem 1rem;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
    transition: box-shadow .2s;
}
.navbar-ups:hover {
    box-shadow: 0 4px 24px rgba(123,0,0,.12);
}
.navbar-ups .navbar-brand {
    color: var(--ups-dark) !important;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
}
.navbar-ups .navbar-brand .brand-logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
}
.navbar-ups .navbar-brand .brand-name { color: var(--ups-maroon); letter-spacing: -.3px; }
.navbar-ups .navbar-brand .brand-sub {
    font-size: .68rem;
    font-weight: 500;
    color: var(--ups-muted);
    letter-spacing: .4px;
    text-transform: uppercase;
}
.navbar-ups .navbar-toggler { border-color: #ddd; }
.navbar-ups .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(123,0,0,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-ups .nav-link {
    color: var(--ups-text) !important;
    font-weight: 600;
    font-size: .88rem;
    padding: .5rem 1rem !important;
    border-radius: 8px;
    transition: all .22s;
    position: relative;
}
.navbar-ups .nav-link:hover {
    color: var(--ups-maroon) !important;
    background: var(--ups-maroon-light);
    box-shadow: 0 2px 10px rgba(123,0,0,.10);
}
.navbar-ups .nav-link.active {
    color: var(--ups-maroon) !important;
    font-weight: 700;
    background: transparent;
}
.navbar-ups .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 3px; left: 50%;
    transform: translateX(-50%);
    width: 22px; height: 2.5px;
    background: var(--ups-maroon);
    border-radius: 2px;
}
.navbar-ups .dropdown-menu {
    border: 1px solid var(--ups-border);
    border-top: 3px solid var(--ups-maroon);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-top: .4rem;
    padding: .4rem 0;
}
.navbar-ups .dropdown-item {
    font-size: .87rem;
    font-weight: 500;
    padding: .58rem 1.2rem;
    color: var(--ups-text);
    transition: background .15s;
}
.navbar-ups .dropdown-item:hover { background: var(--ups-maroon-light); color: var(--ups-maroon); }
.navbar-ups .btn-login {
    background: var(--ups-maroon);
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    border: none;
    padding: .5rem 1.4rem;
    border-radius: 25px;
    transition: all .22s;
    box-shadow: 0 2px 10px rgba(123,0,0,.22);
    letter-spacing: .3px;
}
.navbar-ups .btn-login:hover {
    background: var(--ups-crimson);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(123,0,0,.32);
}

/* ── Announcement Strip ─────────────────────────────────────── */
.announcement-strip {
    background: var(--ups-maroon);
    color: rgba(255,255,255,.9);
    font-size: .8rem;
    font-weight: 600;
    padding: .45rem 0;
    letter-spacing: .3px;
    text-align: center;
}
.announcement-strip a { color: var(--ups-gold); text-decoration: none; }
.announcement-strip a:hover { text-decoration: underline; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero-section {
    background: #fff;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--ups-border);
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 45%;
    height: 100%;
    background: var(--ups-maroon-light);
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
    z-index: 0;
}
.hero-corner-accent { display: none; }
.hero-section .hero-badge {
    background: var(--ups-maroon-light);
    color: var(--ups-maroon);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(123,0,0,.15);
}
.hero-section h1 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--ups-dark);
    letter-spacing: -.5px;
}
.hero-section h1 .text-maroon { color: var(--ups-maroon); }
.hero-section p.lead {
    color: var(--ups-muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 520px;
}
.hero-logo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.hero-logo-wrap img {
    width: 240px;
    height: 240px;
    object-fit: contain;
    filter: drop-shadow(0 8px 28px rgba(123,0,0,.18));
    animation: float 5s ease-in-out infinite;
}
.hero-logo-glow {
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(123,0,0,.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
.hero-cta .btn {
    padding: .62rem 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px;
    font-size: .9rem;
    transition: all .22s;
    white-space: nowrap;
}
@media (max-width: 575px) {
    .hero-cta .btn {
        padding: .55rem .9rem;
        font-size: .78rem;
        flex: 1 1 0;
        text-align: center;
    }
}
.hero-cta .btn-primary-maroon,
.btn-maroon {
    background: var(--ups-maroon);
    color: #fff;
    border: none;
    box-shadow: 0 3px 14px rgba(123,0,0,.25);
}
.hero-cta .btn-primary-maroon:hover,
.btn-maroon:hover {
    background: var(--ups-crimson);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(123,0,0,.32);
    color: #fff;
}
.hero-cta .btn-outline-maroon,
.btn-outline-maroon {
    background: transparent;
    color: var(--ups-maroon);
    border: 2px solid var(--ups-maroon);
}
.hero-cta .btn-outline-maroon:hover,
.btn-outline-maroon:hover {
    background: var(--ups-maroon);
    color: #fff;
    transform: translateY(-2px);
}


/* ── Hero Events Carousel ──────────────────────────────────── */
.hero-carousel {
    width: 100%;
    z-index: 1;
    padding-bottom: 2.8rem;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-carousel .carousel-inner { flex: 1; }
.hero-event-card {
    background: #fff;
    border-radius: 24px 0 0 24px;
    box-shadow: 0 16px 48px rgba(123,0,0,.18), 0 4px 12px rgba(0,0,0,.07);
    padding: 2.8rem 3rem 2.8rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    min-height: 400px;
    text-align: left;
    margin: 0 0 0 2rem;
}
.hec-date-row {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-bottom: 1.4rem;
}
.hec-date-box {
    flex-shrink: 0;
    background: var(--ups-maroon);
    color: #fff;
    border-radius: 18px;
    width: 90px;
    padding: 1.1rem .6rem .9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 6px 18px rgba(123,0,0,.35);
}
.hec-month {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    opacity: .85;
}
.hec-day {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}
.hec-year {
    font-size: .7rem;
    font-weight: 600;
    opacity: .75;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: .5px;
    margin-top: .2rem;
}
.hec-body { width: 100%; min-width: 0; }
.hec-tag {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: .3rem 1rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    margin-bottom: .5rem;
}
.hec-tag--open  { background: #d4edda; color: #155724; }
.hec-tag--closed { background: #f8d7da; color: #721c24; }
.hec-council {
    font-size: .8rem;
    color: var(--ups-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 260px;
}
.hec-council i { color: var(--ups-maroon); }
.hec-title {
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--ups-dark);
    margin-bottom: .65rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hec-desc {
    font-size: .93rem;
    color: var(--ups-muted);
    margin-bottom: 0;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hec-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1.5px solid var(--ups-border);
}
.hec-meta {
    font-size: .86rem;
    color: var(--ups-muted);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.hec-meta i { color: var(--ups-maroon); }
/* Indicators */
.hec-indicators {
    bottom: 0;
    margin-bottom: 0;
}
.hec-indicators [data-bs-target] {
    background-color: var(--ups-maroon);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    opacity: .3;
    transition: opacity .25s;
}
.hec-indicators .active { opacity: 1; }
/* Prev/Next controls */
.hec-ctrl {
    width: 42px;
    height: 42px;
    background: var(--ups-maroon) !important;
    border-radius: 50%;
    top: calc(50% - 1.4rem);
    transform: translateY(-50%);
    opacity: .88;
}
.hec-ctrl:hover { opacity: 1; }
.hec-ctrl i { font-size: 1rem; color: #fff; }
.carousel-control-prev.hec-ctrl { left: 0; }
.carousel-control-next.hec-ctrl { right: 1rem; }

/* Mobile card */
.hec-mobile-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(123,0,0,.14), 0 2px 8px rgba(0,0,0,.06);
    padding: 1.4rem 1.3rem 1.6rem;
    margin: 0 .25rem 2.5rem;
}
.hec-date-box--sm {
    width: 60px !important;
    padding: .65rem .4rem .5rem !important;
    border-radius: 12px !important;
}
.hec-day--sm { font-size: 2rem !important; }
.hec-title--sm {
    font-size: 1.1rem !important;
    -webkit-line-clamp: 2;
    margin-top: .6rem;
    margin-bottom: .35rem;
}
.hec-desc--sm {
    font-size: .84rem !important;
    -webkit-line-clamp: 2 !important;
}
.hec-ctrl--mobile {
    top: auto !important;
    bottom: .3rem !important;
    transform: none !important;
    width: 34px !important;
    height: 34px !important;
}
.carousel-control-prev.hec-ctrl--mobile { left: calc(50% - 46px); }
.carousel-control-next.hec-ctrl--mobile { right: calc(50% - 46px); }
.hec-indicators--mobile {
    bottom: .3rem;
}

/* ── Acknowledgement / Media Slides ───────────────────────── */
.hero-ack-slide {
    position: relative;
    border-radius: 24px 0 0 24px;
    overflow: hidden;
    margin: 0 0 0 2rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    background: #1a0000;
}
.hec-slide-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hec-slide-click-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
}
.hec-slide-caption {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 2rem 2rem 2rem 2.2rem;
    background: linear-gradient(transparent, rgba(20,0,0,.6) 30%, rgba(60,0,0,.96) 100%);
}
.hec-slide-caption .hec-title  { color: #fff; }
.hec-slide-caption .hec-desc   { color: rgba(255,255,255,.78); -webkit-line-clamp: 2; }
.hec-slide-caption .hec-footer { border-top-color: rgba(255,255,255,.18); }
.hec-slide-caption .hec-meta   { color: rgba(255,255,255,.7); }
.hec-slide-caption .hec-meta i { color: #ffb3b3; }
.hec-slide-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: var(--ups-maroon-light);
    color: var(--ups-maroon);
}
/* Mobile ack card */
.hec-media-card {
    padding: 0 !important;
    overflow: hidden;
    position: relative;
    min-height: 300px;
    background: #1a0000;
}
.hec-video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgba(255,255,255,.85);
    pointer-events: none;
    z-index: 3;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
    transition: opacity .25s;
}
.hec-ack-info { padding: 1rem 1.1rem 1.3rem; }


.filter-pills { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.filter-pills .label { font-size: .8rem; font-weight: 600; color: var(--ups-muted); margin-right: .3rem; }
.filter-pills .btn {
    border-radius: 25px;
    font-size: .8rem;
    font-weight: 600;
    padding: .32rem 1rem;
    border: 1.5px solid var(--ups-border);
    color: var(--ups-text);
    background: #fff;
    transition: all .2s;
    font-family: 'Montserrat', sans-serif;
}
.filter-pills .btn:hover { border-color: var(--ups-maroon); color: var(--ups-maroon); }
.filter-pills .btn.active {
    background: var(--ups-maroon);
    border-color: var(--ups-maroon);
    color: #fff;
    box-shadow: 0 2px 10px rgba(123,0,0,.18);
}

/* ── Article Card ──────────────────────────────────────────── */
.article-card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
    overflow: hidden;
    height: 100%;
    background: #fff;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.article-card .card-img-top {
    height: 185px;
    object-fit: cover;
}
.article-card .card-img-placeholder {
    height: 185px;
    background: var(--ups-maroon-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--ups-maroon);
    font-size: 2.8rem;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(123,0,0,.1);
}
.article-card .card-img-placeholder::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 70px; height: 70px;
    background: rgba(123,0,0,.08);
    border-radius: 50% 0 0 0;
}
.article-card .card-body { padding: 1.1rem; }
.article-card .card-title { font-size: .92rem; line-height: 1.45; }
.article-type-badge {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: .22rem .65rem;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}
.badge-announcement { background: var(--ups-maroon);   color: #fff; }
.badge-news         { background: #c0392b;              color: #fff; }
.badge-memorandum   { background: #922b21;              color: #fff; }
.badge-event        { background: #7b0000;              color: #fff; border: 1px solid rgba(255,255,255,.2); }
.badge-general      { background: #aaa;                 color: #fff; }

/* ── Featured Card ─────────────────────────────────────────── */
.featured-card {
    border-radius: var(--radius);
    border: none;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.featured-card .card-img-overlay {
    background: linear-gradient(transparent 0%, rgba(20,0,0,.45) 45%, rgba(80,0,0,.88) 75%, rgba(80,0,0,.97) 100%);
    border-radius: var(--radius);
}

/* ── Sidebar ─────────────────────────────────────────────────*/
.sidebar-section {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.6rem;
    border: 1px solid var(--ups-border);
    border-top: 3px solid var(--ups-maroon);
}
.sidebar-section h5 {
    color: var(--ups-dark);
    font-weight: 700;
    font-size: .93rem;
    padding-bottom: .65rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--ups-border);
    font-family: 'Montserrat', sans-serif;
}
.event-item {
    padding: .65rem 0;
    border-bottom: 1px solid var(--ups-border);
}
.event-item:last-child { border-bottom: none; }
.event-date-badge {
    background: var(--ups-maroon-light);
    color: var(--ups-maroon);
    border: 1px solid rgba(123,0,0,.2);
    font-weight: 700;
    font-size: .68rem;
    padding: .3rem .6rem;
    border-radius: 6px;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: .5px;
}

/* ── Section Heading ─────────────────────────────────────────*/
.section-heading {
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: var(--ups-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -.3px;
}
.section-heading::after {
    content: '';
    position: absolute;
    bottom: -7px; left: 0;
    width: 36px; height: 3px;
    background: var(--ups-maroon);
    border-radius: 2px;
}

/* ── Admin Panels ─────────────────────────────────────────── */
.admin-sidebar {
    background: var(--ups-dark);
    min-height: 100vh;
    padding-top: 1rem;
}
.admin-sidebar .nav-link {
    color: rgba(255,255,255,.75);
    padding: .6rem 1.2rem;
    border-radius: 8px;
    margin: .15rem .5rem;
    font-weight: 500;
    transition: all .2s;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255,215,0,.15);
    color: var(--ups-gold);
}
.admin-sidebar .nav-link i { margin-right: .5rem; width: 18px; }
.admin-brand {
    color: var(--ups-gold);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1rem 1.2rem .5rem;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: .5rem;
}
.admin-brand small {
    display: block;
    font-size: .7rem;
    color: rgba(255,255,255,.5);
    font-weight: 400;
    margin-top: .1rem;
}
.admin-topbar {
    background: #fff;
    border-bottom: 1px solid #e0e6ef;
    padding: .75rem 1.5rem;
}
.stat-card {
    border: none;
    border-radius: var(--radius);
    padding: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,.12);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    bottom: -20px; right: -20px;
    width: 80px; height: 80px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
}
.stat-card .stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}
.stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: .25;
}
.stat-card .stat-label { font-size: .8rem; opacity: .8; margin-top: .3rem; }
.status-badge {
    font-size: .68rem;
    font-weight: 700;
    padding: .25rem .65rem;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-family: 'Montserrat', sans-serif;
}
.status-draft    { background: #f0f0f0; color: #555; }
.status-pending  { background: #fff3e0; color: #bf360c; }
.status-approved { background: #e8f5e9; color: #1b5e20; }
.status-rejected { background: #ffebee; color: #b71c1c; }

/* ── Footer ─────────────────────────────────────────────────*/
.footer-ups {
    background: #fff;
    color: var(--ups-maroon);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
    border-top: 3px solid var(--ups-maroon);
}
.footer-ups .footer-logo {
    height: 48px;
    width: 48px;
    object-fit: contain;
    margin-bottom: .6rem;
}
.footer-ups h6 {
    color: var(--ups-maroon);
    font-weight: 700;
    margin-bottom: .75rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem;
    letter-spacing: .5px;
}
.footer-ups p.small { font-size: .82rem; line-height: 1.75; color: var(--ups-maroon); opacity: .75; }
.footer-ups a {
    color: var(--ups-maroon);
    text-decoration: none;
    transition: color .2s, opacity .2s;
    font-size: .83rem;
    opacity: .65;
}
.footer-ups a:hover { opacity: 1; color: var(--ups-crimson); }
.footer-ups li { margin-bottom: .35rem; }
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--ups-maroon-light);
    color: var(--ups-maroon) !important;
    transition: all .2s;
    font-size: 1rem;
    border: 1px solid rgba(123,0,0,.2);
    opacity: 1;
}
.footer-social a:hover {
    background: var(--ups-maroon);
    color: #fff !important;
    border-color: var(--ups-maroon);
    transform: translateY(-2px);
}
.footer-divider {
    border-color: rgba(123,0,0,.15);
    margin: 2rem 0 1rem;
}
.footer-bottom { font-size: .78rem; color: var(--ups-maroon); opacity: .6; }
.footer-maroon-badge {
    display: inline-block;
    background: var(--ups-maroon);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: .15rem .6rem;
    border-radius: 4px;
    letter-spacing: .8px;
    font-family: 'Montserrat', sans-serif;
}

/* ── Pagination ──────────────────────────────────────────────*/
.pagination .page-link {
    color: var(--ups-maroon);
    border-color: rgba(123,0,0,.2);
    border-radius: 8px !important;
    margin: 0 2px;
    font-weight: 600;
    font-size: .85rem;
}
.pagination .page-link:hover {
    background: var(--ups-maroon-light);
    border-color: var(--ups-maroon);
    color: var(--ups-maroon);
}
.pagination .page-item.active .page-link {
    background: var(--ups-maroon);
    border-color: var(--ups-maroon);
    color: #fff;
}
.pagination .page-item.disabled .page-link {
    color: var(--ups-muted);
    opacity: .5;
}

/* ── Misc utilities ──────────────────────────────────────────*/
.text-maroon  { color: var(--ups-maroon) !important; }
.bg-maroon    { background: var(--ups-maroon) !important; }
.bg-maroon-lt { background: var(--ups-maroon-light) !important; }
.border-maroon{ border-color: var(--ups-maroon) !important; }
.rounded-xl   { border-radius: var(--radius) !important; }
.shadow-card  { box-shadow: var(--shadow-sm) !important; }

/* ── Article Cover Header Image ──────────────────────────────*/
.article-cover-header {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.article-cover-header img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* ── Article Body Content ────────────────────────────────────*/
.article-body {
    line-height: 1.8;
    color: var(--ups-text);
}
.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.article-body p {
    margin-bottom: 1.2rem;
}
.article-body h1, .article-body h2, .article-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--ups-dark);
    font-weight: 700;
}
.article-body ul, .article-body ol {
    margin-bottom: 1.2rem;
    padding-left: 1.8rem;
}
.article-body li {
    margin-bottom: 0.5rem;
}

/* ── Announcement strip ──────────────────────────────────────*/
.announcement-strip {
    background: var(--ups-maroon);
    color: rgba(255,255,255,.9);
    font-size: .78rem;
    font-weight: 600;
    padding: .4rem 0;
    text-align: center;
    letter-spacing: .3px;
}
.announcement-strip a { color: #ffd700; text-decoration: none; }
.announcement-strip a:hover { text-decoration: underline; }
