/* =========================================================
   1. WCAG High Contrast Mode Overrides
========================================================= */
body.high-contrast-mode {
    background-color: #000000 !important;
    color: #ffffff !important;
}
body.high-contrast-mode * {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}
body.high-contrast-mode a {
    color: #ffff00 !important;
    text-decoration: underline !important;
}
body.high-contrast-mode img {
    filter: grayscale(100%) contrast(120%);
}
body.high-contrast-mode .news-section,
body.high-contrast-mode .nav-sub {
    background-color: rgb(0 0 0 / 0.8) !important;
}

/* =========================================================
   2. Premium Button Shimmer Animation
========================================================= */
@keyframes sweep {
    0% { transform: translateX(-150%) skewX(-15deg); }
    20%, 100% { transform: translateX(250%) skewX(-15deg); }
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-150%) skewX(-15deg);
    animation: sweep 4s infinite ease-in-out;
    z-index: 1;
    pointer-events: none;
}

/* =========================================================
   3. Ultimate Google Translate Overrides
========================================================= */
/* Hide the top banner iframe completely */
iframe.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.skiptranslate iframe {
    display: none !important;
}

/* Prevent Google from pushing the website down */
body {
    top: 0px !important;
    position: static !important;
}
html {
    height: auto !important;
}

/* Hide the annoying hover tooltips and highlight boxes */
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Hide the widget off-screen instead of display: none */
#google_translate_element {
    position: absolute !important;
    top: -10000px !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    display: block !important;
}

.goog-te-gadget {
    color: transparent !important;
}