
/* =========================================================
   SARKARI KAAM - RESULT PAGE CSS
   CLEAN + ERROR SAFE + RESPONSIVE
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');


/* =========================================================
   ROOT
========================================================= */

:root {
    --primary: #0b4f9c;
    --primary-dark: #06386e;
    --orange: #ff9933;
    --green: #138808;

    --white: #ffffff;
    --bg: #f4f7fb;
    --text: #172033;
    --muted: #687385;
    --border: #e2e8f0;

    --shadow: 0 10px 30px rgba(15, 45, 80, 0.08);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   LOADER
========================================================= */

#pageLoader {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 999999;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

#pageLoader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-box {
    width: 280px;
    text-align: center;
}

.loader-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto;

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #0b4f9c,
        #1b78d0
    );

    color: #ffffff;

    font-size: 30px;

    box-shadow:
        0 15px 35px rgba(11, 79, 156, 0.25);
}

.loader-box h3 {
    margin-top: 16px;

    font-family: "Poppins", sans-serif;

    font-size: 21px;

    color: #172033;
}

.loader-box p {
    margin-top: 4px;

    color: #758092;

    font-size: 12px;
}

.loader-line {
    width: 160px;
    height: 4px;

    margin: 18px auto 0;

    background: #e8edf3;

    border-radius: 50px;

    overflow: hidden;
}

.loader-line::before {
    content: "";

    display: block;

    width: 50%;
    height: 100%;

    background: #ff9933;

    border-radius: 50px;

    animation: loaderMove 1s infinite ease-in-out;
}

@keyframes loaderMove {

    0% {
        transform: translateX(-150%);
    }

    100% {
        transform: translateX(300%);
    }

}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    width: 100%;

    min-height: 36px;

    padding: 0 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #062d59;

    color: #dce8f5;

    font-size: 12px;
}

.top-left span,
.top-right span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-left i {
    color: var(--orange);
}

.top-right {
    display: flex;
    align-items: center;
    gap: 9px;
}

.top-divider {
    opacity: 0.4;
}


/* =========================================================
   HEADER
========================================================= */

.main-header {
    position: sticky;
    top: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(15px);
}

.header-inner {
    width: 100%;
    max-width: 1400px;

    min-height: 78px;

    margin: auto;

    padding: 0 5%;

    display: flex;
    align-items: center;
    gap: 20px;
}


/* LOGO */

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    margin-right: auto;
}

.brand-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: linear-gradient(
        135deg,
        #0b4f9c,
        #1976d2
    );

    color: white;

    font-size: 22px;

    box-shadow:
        0 8px 20px rgba(11, 79, 156, 0.2);
}

.brand-text h1 {
    margin: 0;

    font-family: "Poppins", sans-serif;

    font-size: 20px;

    line-height: 1.1;
}

.brand-text h1 span {
    color: var(--primary);
}

.brand-text small {
    display: block;

    margin-top: 3px;

    color: #7b8594;

    font-size: 8px;

    letter-spacing: 0.8px;

    text-transform: uppercase;
}


/* NAVIGATION */

#mainNav {
    display: flex;
    align-items: center;
    gap: 4px;
}

#mainNav a {
    padding: 10px 12px;

    border-radius: 9px;

    display: flex;
    align-items: center;
    gap: 6px;

    color: #535e6e;

    font-size: 12px;
    font-weight: 600;

    transition: 0.25s ease;
}

#mainNav a i {
    font-size: 12px;
}

#mainNav a:hover {
    color: var(--primary);
    background: #eef5ff;
}

#mainNav a.active {
    color: var(--primary);
    background: #edf5ff;
}


/* THEME BUTTON */

.theme-btn {
    width: 40px;
    height: 40px;

    border: 0;

    border-radius: 10px;

    background: #f0f4f8;

    color: var(--primary);

    font-size: 15px;
}


/* MOBILE MENU */

.mobile-menu {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;

    border-radius: 10px;

    background: #edf4fb;

    color: var(--primary);

    font-size: 18px;
}


/* =========================================================
   TICKER
========================================================= */

.result-ticker {
    width: 100%;
    max-width: 1400px;

    margin: 15px auto 0;

    padding: 0 5%;

    display: flex;
}

.ticker-label {
    flex-shrink: 0;

    padding: 10px 15px;

    background: var(--orange);

    color: #ffffff;

    font-size: 10px;

    font-weight: 800;
}

.ticker-label i {
    margin-right: 5px;
}

.ticker-content {
    flex: 1;

    min-width: 0;

    padding: 10px 15px;

    background: #ffffff;

    border: 1px solid var(--border);

    color: #606b7b;

    font-size: 11px;

    overflow: hidden;
}

#tickerText {
    transition: opacity 0.3s ease;
}


/* =========================================================
   HERO
========================================================= */

.result-hero {
    width: calc(100% - 30px);

    max-width: 1400px;

    min-height: 400px;

    margin: 15px auto 0;

    padding: 60px 8%;

    position: relative;

    overflow: hidden;

    border-radius: 0 0 30px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 153, 51, 0.20),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 85%,
            rgba(19, 136, 8, 0.15),
            transparent 30%
        ),
        linear-gradient(
            125deg,
            #062d59,
            #0b4f9c
        );
}

.result-hero::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: 5%;
    top: -120px;

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 700px;
}

.hero-badge {
    display: inline-block;

    padding: 7px 13px;

    border-radius: 30px;

    background: rgba(255,255,255,0.10);

    border: 1px solid rgba(255,255,255,0.16);

    font-size: 10px;

    font-weight: 700;
}

.hero-badge i {
    color: #67dc9b;

    margin-right: 5px;
}

.hero-content h2 {
    margin-top: 17px;

    font-family: "Poppins", sans-serif;

    font-size: clamp(34px, 5vw, 58px);

    line-height: 1.12;
}

.hero-content h2 span {
    color: #ffd19f;
}

.hero-content p {
    max-width: 650px;

    margin-top: 17px;

    color: #d6e3f2;

    font-size: 14px;

    line-height: 1.7;
}

.hero-buttons {
    margin-top: 27px;

    display: flex;

    gap: 12px;
}

.primary-btn,
.secondary-btn {
    padding: 13px 20px;

    border-radius: 10px;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    font-size: 12px;

    font-weight: 700;

    transition: 0.25s;
}

.primary-btn {
    background: var(--orange);

    color: white;
}

.secondary-btn {
    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.25);

    color: white;
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-3px);
}


/* HERO VISUAL */

.hero-visual {
    width: 300px;
    height: 280px;

    flex-shrink: 0;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;
}

.result-circle {
    width: 190px;
    height: 190px;

    border-radius: 50%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.20);
}

.result-circle i {
    color: #ffd09e;

    font-size: 42px;

    margin-bottom: 7px;
}

.result-circle strong {
    font-size: 20px;

    letter-spacing: 2px;
}

.result-circle small {
    color: #bcd0e5;

    margin-top: 2px;
}

.floating-card {
    position: absolute;

    padding: 10px 13px;

    background: white;

    color: #172033;

    border-radius: 10px;

    box-shadow: 0 15px 35px rgba(0,0,0,0.20);

    font-size: 10px;

    font-weight: 700;
}

.floating-card i {
    color: var(--green);

    margin-right: 5px;
}

.card-one {
    top: 40px;
    left: 0;
}

.card-two {
    right: 0;
    bottom: 35px;
}


/* =========================================================
   SEARCH
========================================================= */

.search-section {
    width: calc(100% - 40px);

    max-width: 1000px;

    margin: -28px auto 0;

    position: relative;

    z-index: 10;
}

.search-wrapper {
    width: 100%;
    height: 62px;

    display: flex;
    align-items: center;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 15px;

    box-shadow: var(--shadow);

    padding: 0 8px;
}

.search-icon {
    width: 50px;

    flex-shrink: 0;

    text-align: center;

    color: var(--primary);

    font-size: 18px;
}

.search-wrapper input {
    flex: 1;

    min-width: 0;

    height: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--text);

    font-size: 13px;
}

.search-wrapper input::placeholder {
    color: #9aa3af;
}

.clear-search {
    width: 40px;
    height: 40px;

    border: 0;

    background: transparent;

    color: #a0a8b3;

    border-radius: 8px;
}

.clear-search:hover {
    background: #f2f5f8;
}

.search-info {
    padding: 8px 10px;

    color: #7d8795;

    font-size: 9px;
}

.search-info i {
    color: var(--primary);

    margin-right: 4px;
}


/* =========================================================
   COMMON SECTION
========================================================= */

.category-section,
.results-container,
.updates-section {
    width: calc(100% - 30px);

    max-width: 1250px;

    margin: 60px auto 0;
}

.category-section,
.results-container,
.updates-section {
    padding: 0 15px;
}

.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;
}

.small-title {
    color: var(--primary);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.7px;
}

.section-heading h2 {
    margin-top: 5px;

    font-family: "Poppins", sans-serif;

    font-size: 29px;
}

.section-heading h2 span {
    color: var(--primary);
}

.result-counter {
    padding: 8px 12px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 9px;

    color: var(--muted);

    font-size: 10px;
}

.result-counter strong {
    color: var(--primary);

    font-size: 17px;

    margin-right: 4px;
}


/* =========================================================
   CATEGORY BUTTONS
========================================================= */

.category-buttons {
    margin-top: 22px;

    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.category-btn {
    padding: 10px 14px;

    border: 1px solid var(--border);

    border-radius: 9px;

    background: #ffffff;

    color: #5f6876;

    font-size: 11px;

    font-weight: 700;

    transition: 0.25s;
}

.category-btn i {
    margin-right: 5px;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary);

    border-color: var(--primary);

    color: white;

    transform: translateY(-2px);
}


/* =========================================================
   RESULT GRID
========================================================= */

.results-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.result-card {
    min-width: 0;

    display: flex;

    flex-direction: column;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 17px;

    overflow: hidden;

    box-shadow: 0 7px 25px rgba(20,48,85,0.05);

    transition: 0.3s ease;
}

.result-card:hover {
    transform: translateY(-6px);

    border-color: #cbdced;

    box-shadow: 0 20px 45px rgba(20,48,85,0.12);
}

.card-top {
    padding: 18px 18px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.result-icon {
    width: 48px;
    height: 48px;

    border-radius: 13px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 20px;
}

.ssc-icon {
    background: #edf4ff;
    color: #2365b1;
}

.upsc-icon {
    background: #fff4e8;
    color: #b86a10;
}

.railway-icon {
    background: #edf9f1;
    color: #188044;
}

.haryana-icon {
    background: #f1edff;
    color: #7046bd;
}

.nta-icon {
    background: #fff0f0;
    color: #d33d3d;
}

.police-icon {
    background: #edf2f9;
    color: #24476e;
}

.teaching-icon {
    background: #fff5ec;
    color: #d76b16;
}

.general-icon {
    background: #eef5ff;
    color: #0b4f9c;
}

.status-badge {
    padding: 5px 8px;

    border-radius: 20px;

    background: #edf9f1;

    color: #168542;

    font-size: 8px;

    font-weight: 800;
}

.status-badge i {
    font-size: 5px;

    margin-right: 3px;
}

.card-content {
    flex: 1;

    padding: 17px 18px;
}

.exam-category {
    color: var(--primary);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1px;
}

.card-content h3 {
    margin-top: 5px;

    font-family: "Poppins", sans-serif;

    font-size: 16px;

    line-height: 1.4;
}

.card-content p {
    margin-top: 7px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.65;
}

.card-meta {
    margin-top: 15px;

    display: flex;

    flex-direction: column;

    gap: 5px;

    color: #8a92a0;

    font-size: 8px;
}

.card-meta i {
    width: 14px;

    color: var(--primary);
}

.card-footer {
    padding: 13px 18px;

    border-top: 1px solid var(--border);
}

.card-footer a {
    display: flex;

    align-items: center;

    justify-content: space-between;

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;
}

.card-footer a:hover {
    color: var(--orange);
}


/* =========================================================
   NO RESULTS
========================================================= */

.no-results {
    display: none;

    text-align: center;

    padding: 50px 20px;
}

.no-results.show {
    display: block;
}

.no-results-icon {
    width: 65px;
    height: 65px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf3fa;

    color: var(--primary);

    font-size: 23px;
}

.no-results h3 {
    margin-top: 14px;

    font-family: "Poppins", sans-serif;
}

.no-results p {
    margin-top: 5px;

    color: var(--muted);

    font-size: 12px;
}

.no-results button {
    margin-top: 15px;

    padding: 10px 17px;

    border: 0;

    border-radius: 9px;

    background: var(--primary);

    color: white;

    font-size: 11px;

    font-weight: 700;
}


/* =========================================================
   UPDATES
========================================================= */

.updates-box {
    margin-top: 22px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 17px;

    overflow: hidden;
}

.updated-time {
    color: var(--muted);

    font-size: 9px;
}

.updated-time i {
    color: var(--green);

    margin-right: 3px;
}

.update-item {
    padding: 18px 20px;

    display: grid;

    grid-template-columns: 75px minmax(0, 1fr) auto;

    align-items: center;

    gap: 17px;

    border-bottom: 1px solid var(--border);
}

.update-item:last-child {
    border-bottom: 0;
}

.update-date {
    padding: 9px;

    text-align: center;

    background: #f3f7fc;

    border-radius: 9px;
}

.update-date strong {
    display: block;

    color: var(--primary);

    font-size: 12px;
}

.update-date span {
    color: var(--muted);

    font-size: 8px;

    font-weight: 700;
}

.update-tag {
    display: inline-block;

    padding: 4px 7px;

    margin-bottom: 4px;

    border-radius: 5px;

    font-size: 7px;

    font-weight: 800;
}

.upsc-tag {
    background: #fff2df;
    color: #a96008;
}

.hssc-tag {
    background: #eee9ff;
    color: #6d46ad;
}

.ssc-tag {
    background: #e9f2ff;
    color: #1f62aa;
}

.update-info h3 {
    font-size: 12px;
}

.update-info p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 9px;
}

.update-link {
    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    white-space: nowrap;
}

.update-link i {
    margin-left: 4px;
}


/* =========================================================
   OFFICIAL PORTALS
========================================================= */

.official-section {
    width: 100%;

    margin-top: 60px;

    padding: 60px 5%;

    background: #edf4fa;
}

.official-heading {
    text-align: center;
}

.official-heading h2 {
    margin-top: 5px;

    font-family: "Poppins", sans-serif;

    font-size: 29px;
}

.official-heading h2 span {
    color: var(--primary);
}

.official-heading p {
    max-width: 600px;

    margin: 9px auto 0;

    color: var(--muted);

    font-size: 11px;
}

.official-grid {
    max-width: 1200px;

    margin: 28px auto 0;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 12px;
}

.official-card {
    min-width: 0;

    padding: 14px;

    display: flex;

    align-items: center;

    gap: 10px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 13px;

    transition: 0.25s;
}

.official-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.official-logo {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #edf4ff;

    color: var(--primary);
}

.official-card h3 {
    font-family: "Poppins", sans-serif;

    font-size: 12px;
}

.official-card p {
    margin-top: 2px;

    color: var(--muted);

    font-size: 7px;

    line-height: 1.3;
}

.external-icon {
    margin-left: auto;

    color: #9aa3ae;

    font-size: 10px;
}


/* =========================================================
   DISCLAIMER
========================================================= */

.disclaimer {
    width: calc(100% - 30px);

    max-width: 1100px;

    margin: 50px auto;

    padding: 18px 20px;

    display: flex;

    align-items: flex-start;

    gap: 13px;

    border: 1px solid #f0dfc3;

    border-radius: 13px;

    background: #fff9ef;
}

.disclaimer-icon {
    color: #bd751d;

    font-size: 20px;
}

.disclaimer h3 {
    font-size: 12px;
}

.disclaimer p {
    margin-top: 3px;

    color: #806f58;

    font-size: 9px;

    line-height: 1.6;
}


/* =========================================================
   FOOTER
========================================================= */

.main-footer {
    padding: 35px 5% 15px;

    background: #061f3c;

    color: #d8e4f1;
}

.footer-inner {
    max-width: 1250px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 10px;
}

.footer-logo {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #0d4c8f;

    color: white;
}

.footer-brand h2 {
    font-family: "Poppins", sans-serif;

    font-size: 16px;
}

.footer-brand p {
    color: #8fa7c0;

    font-size: 8px;
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 18px;
}

.footer-links a {
    color: #aebfd2;

    font-size: 9px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1250px;

    margin: 22px auto 0;

    padding-top: 14px;

    border-top: 1px solid rgba(255,255,255,0.10);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    color: #8197ae;

    font-size: 8px;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-top {
    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 42px;
    height: 42px;

    border: 0;

    border-radius: 11px;

    background: var(--primary);

    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transform: translateY(15px);

    transition: 0.3s;

    z-index: 500;
}

.back-top.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode {
    --bg: #0b1422;
    --white: #111d2d;
    --text: #edf3fa;
    --muted: #9ba8b8;
    --border: #24344a;
}

body.dark-mode .main-header {
    background: rgba(11,20,34,0.97);
}

body.dark-mode #mainNav a {
    color: #b9c5d4;
}

body.dark-mode #mainNav a:hover,
body.dark-mode #mainNav a.active {
    background: #172c46;
    color: #69aaf0;
}

body.dark-mode .theme-btn,
body.dark-mode .mobile-menu {
    background: #17263a;

    color: #ffffff;
}

body.dark-mode .ticker-content,
body.dark-mode .search-wrapper,
body.dark-mode .category-btn,
body.dark-mode .result-card,
body.dark-mode .result-counter,
body.dark-mode .updates-box,
body.dark-mode .official-card {
    background: #111d2d;

    color: #edf3fa;
}

body.dark-mode .search-wrapper input {
    color: #ffffff;
}

body.dark-mode .search-wrapper input::placeholder {
    color: #718096;
}

body.dark-mode .update-date {
    background: #17263a;
}

body.dark-mode .official-section {
    background: #0e1a2a;
}

body.dark-mode .disclaimer {
    background: #211b12;

    border-color: #554326;
}

body.dark-mode #pageLoader {
    background: #0b1422;
}

body.dark-mode .loader-box h3 {
    color: #ffffff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .header-inner {
        padding: 0 3%;
    }

    #mainNav a {
        padding: 9px 8px;

        font-size: 10px;
    }

    .results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .official-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE NAV
========================================================= */

@media (max-width: 800px) {

    .top-left {
        display: none;
    }

    .top-bar {
        justify-content: center;
    }

    .mobile-menu {
        display: flex;

        align-items: center;
        justify-content: center;
    }

    .theme-btn {
        display: none;
    }

    #mainNav {
        position: absolute;

        top: 78px;

        left: 0;
        right: 0;

        padding: 10px 5%;

        display: none;

        flex-direction: column;

        align-items: stretch;

        background: #ffffff;

        border-bottom: 1px solid var(--border);

        box-shadow: var(--shadow);
    }

    #mainNav.show {
        display: flex;
    }

    #mainNav a {
        padding: 12px;
    }


    .result-hero {
        min-height: 520px;

        padding: 50px 25px;

        flex-direction: column;

        justify-content: center;

        text-align: center;
    }

    .hero-badge {
        margin: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        transform: scale(0.82);
        margin-top: -20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .brand-text small {
        display: none;
    }

    .brand-text h1 {
        font-size: 17px;
    }

    .brand-icon {
        width: 43px;
        height: 43px;
    }

    .result-ticker {
        padding: 0 8px;
    }

    .ticker-label {
        padding: 10px 8px;
    }

    .ticker-content {
        padding: 10px 8px;
    }


    .result-hero {
        width: calc(100% - 16px);

        margin-top: 10px;

        border-radius: 0 0 22px 22px;

        padding: 45px 18px;
    }

    .hero-content h2 {
        font-size: 33px;
    }

    .hero-content p {
        font-size: 11px;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;

        justify-content: center;
    }

    .hero-visual {
        width: 270px;

        transform: scale(0.70);
    }


    .search-section {
        width: calc(100% - 30px);
    }

    .search-wrapper {
        height: 57px;
    }

    .search-wrapper input {
        font-size: 11px;
    }


    .category-section,
    .results-container,
    .updates-section {
        width: calc(100% - 10px);

        padding: 0 10px;
    }


    .section-heading {
        flex-direction: column;

        align-items: flex-start;
    }

    .section-heading h2 {
        font-size: 25px;
    }


    .category-buttons {
        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-btn {
        width: 100%;
    }


    .results-grid {
        grid-template-columns: 1fr;
    }


    .update-item {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .update-link {
        grid-column: 2;
    }


    .official-section {
        padding: 50px 15px;
    }

    .official-grid {
        grid-template-columns: 1fr;
    }


    .disclaimer {
        width: calc(100% - 20px);

        margin: 40px auto;
    }


    .footer-inner {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 380px) {

    .brand-text h1 {
        font-size: 15px;
    }

    .hero-content h2 {
        font-size: 29px;
    }

    .result-circle {
        width: 175px;
        height: 175px;
    }

    .floating-card {
        font-size: 9px;
    }

}