/* --- GLOBAL VARIABLES --- */
:root {
    --brand-dark: #001F29;
    --brand-mint: #4CD1C2;
    --brand-mint-hover: #3bbcae;
    --brand-cream: #F9F7F2;
    --brand-yellow: #F0E66A; 
    --brand-footer: #007d7e; /* Darker teal for better contrast with white text (WCAG AA) */
    --brand-blue-line: #0099CC;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Alvant Grade", sans-serif !important;
    background-color: var(--brand-cream);
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
}

.bg-light-cream, .section-bg {
    background-color: var(--brand-cream);
}

.bg-dark-teal {
    background-color: var(--brand-dark);
}

.btn-dark-teal {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}
.btn-dark-teal:hover {
    background-color: #005a5a;
    border-color: #005a5a;
    color: #fff;
}

.bg-yellow {
    background-color: var(--brand-yellow) !important;
}

.text-mint { color: var(--brand-mint) !important; }
.text-dark-teal { color: var(--brand-dark) !important; }

/* --- HEADER (Updated for Fixed Background) --- */
.header-wrapper {
    background-color: #001F29; /* Explicit solid color */
    width: 100%;
    position: relative;
    z-index: 100;
}

.navbar-brand sup { font-size: 0.6em; }

.btn-outline-custom {
    color: #fff; border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-custom:hover {
    background: rgba(255,255,255,0.1); border-color: #fff; color: #fff;
}

/* Active Nav State */
.navbar-nav .nav-link.active-nav {
    color: var(--brand-mint) !important;
    font-weight: 600;
    opacity: 1;
}

/* Mobile Menu Fix */
@media (max-width: 991px) {
    .header-wrapper .navbar-collapse {
        background-color: #001F29;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        position: absolute;
        top: 100%;
        left: 0; right: 0; z-index: 999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    .navbar-nav { align-items: flex-start !important; }
}

/* --- FILTERS & SUB NAV (News Page) --- */
.sub-nav-links a { transition: color 0.2s; }
.sub-nav-links .hover-mint:hover { color: var(--brand-mint) !important; opacity: 1 !important; }

.btn-light-grey {
    background-color: #E5E5E5; color: #333; border: none;
}

.ls-1 { letter-spacing: 0.5px; }

/* --- TYPOGRAPHY --- */
.underline-blue {
    text-decoration: underline;
    text-decoration-color: var(--brand-blue-line);
    text-decoration-thickness: 4px;
    text-underline-offset: 8px;
    text-decoration-skip-ink: none; 
}
.article-headline {
    line-height: 1.4;
    letter-spacing: -1px;
}
@media (max-width: 991px) {
    .article-headline { font-size: 2.5rem; }
}

/* --- SIDEBAR --- */
.social-share-btn {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: 0.2s; text-decoration: none;
}
.social-share-btn:hover {
    transform: translateY(-2px); background-color: var(--brand-mint) !important; color: #000 !important;
}

/* --- CARDS (Shared) --- */
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}
.img-wrapper { 
    height: 240px; overflow: hidden;
}
.transition-img { 
    transition: transform 0.5s; 
}
.news-card:hover .transition-img { 
    transform: scale(1.05); 
}
.extra-small {
    font-size: 0.75rem;
}

/* --- BUTTONS --- */
.btn-outline-mint {
    color: #008B8B;
    border: 1px solid #7edbd2;
    background-color: transparent;
    transition: all 0.3s ease;
}
.btn-outline-mint:hover {
    background-color: var(--brand-mint);
    color: #002e26;
    border-color: var(--brand-mint);
}

.btn-mint {
    background-color: var(--brand-mint); color: #002e26; border: none;
    transition: all 0.3s;
}
.btn-mint:hover {
    background-color: var(--brand-mint-hover); transform: translateY(-2px);
}

/* Support Cash CTA Button */
.btn-support-cash {
    background: linear-gradient(135deg, var(--brand-mint) 0%, var(--brand-mint-hover) 100%);
    color: #002e26 !important;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 209, 194, 0.3);
    gap: 0.25rem;
    border: none;
}
.btn-support-cash:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 209, 194, 0.4);
    color: #002e26 !important;
}

/* --- SUPPORT CTA --- */
.support-section {
    background-color: #0B3942;
}
.curved-mask-wrapper {
    min-height: 500px; height: 100%; width: 100%;
    border-top-left-radius: 50% 100%; border-bottom-left-radius: 50% 100%;
    overflow: hidden; border-left: 8px solid #0f4c57;
}
@media (max-width: 991px) {
    .curved-mask-wrapper {
        border-radius: 24px; margin: 20px; min-height: 300px; border-left: none;
    }
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--brand-footer);
}
.main-footer a:not(.btn),
.main-footer p,
.main-footer span,
.main-footer li {
    color: #ffffff !important;
}
.main-footer .opacity-90 {
    opacity: 1 !important;
}
.social-circle {
    width: 40px; height: 40px; background-color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--brand-footer); transition: 0.2s; text-decoration: none;
}
.social-circle:hover { transform: translateY(-3px); color: #005c5d; }
.footer-ica-text {
    font-size: 0.85rem;
    opacity: 0.9;
}
.footer-ica-logo {
    height: 35px;
    width: auto;
}
.btn-dark-custom {
    background-color: #06232d; color: #fff; transition: background 0.3s;
}
.btn-dark-custom:hover { background-color: #000; color: #fff; }
.hover-u:hover { text-decoration: underline !important; }