/* GolMedee Stage 3 — typography, colors, sticky nav, mobile bar, footer */

:root {
    --gm-blue: #1557a5;
    --gm-blue-dark: #0d407b;
    --gm-blue-deep: #202f5b;
    --gm-accent: #1151d3;
    --gm-accent-hover: #0d3fb0;
    --gm-bg: #ffffff;
    --gm-card: #ffffff;
    --gm-text: #1b2433;
    --gm-muted: #5c6778;
    --gm-line: #e3e8f0;
    --gm-line-strong: #cfd7e4;
    --gm-radius: 8px;
    --headFont: "Noto Sans", "Inter", "Montserrat", system-ui, sans-serif;
    --bodyFont: "Noto Sans", "Inter", system-ui, sans-serif;
    --headWeight: 700;
    --bodyWeight: 400;
}

html {
    scroll-behavior: smooth;
}

body.golmedee-stage3 {
    background: #fff;
    color: var(--gm-text);
    font-family: var(--bodyFont);
    font-weight: var(--bodyWeight);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.golmedee-stage3 .wrapper,
body.golmedee-stage3 #content,
body.golmedee-stage3 .mg-card-box,
body.golmedee-stage3 .missed-section {
    background: #fff;
}

body.golmedee-stage3 h1,
body.golmedee-stage3 h2,
body.golmedee-stage3 h3,
body.golmedee-stage3 h5,
body.golmedee-stage3 h6,
body.golmedee-stage3 .site-title,
body.golmedee-stage3 .entry-title,
body.golmedee-stage3 .mg-sec-title,
body.golmedee-stage3 .mg-widget .wtitle,
body.golmedee-stage3 .mg-widget h6 {
    font-family: var(--headFont);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.28;
}

body.golmedee-stage3 .mg-headwidget .navbar-wp .navbar-nav > li > a {
    font-family: var(--headFont);
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0;
    text-transform: none;
    padding: 10px 12px;
    line-height: 1.2;
}

body.golmedee-stage3 a {
    color: var(--gm-blue);
}

body.golmedee-stage3 a:hover,
body.golmedee-stage3 a:focus {
    color: var(--gm-accent-hover);
}

body.golmedee-stage3 .btn,
body.golmedee-stage3 button.btn,
body.golmedee-stage3 input[type="submit"],
body.golmedee-stage3 .wp-block-search__button,
body.golmedee-stage3 .searchinner .btn {
    background: var(--gm-blue) !important;
    border-color: var(--gm-blue) !important;
    color: #fff !important;
    border-radius: 8px;
    font-family: var(--bodyFont);
    font-weight: 600;
}

body.golmedee-stage3 .btn:hover,
body.golmedee-stage3 input[type="submit"]:hover {
    background: var(--gm-blue-dark) !important;
    border-color: var(--gm-blue-dark) !important;
}

/* Top bar + compact logo */
body.golmedee-stage3 .mg-head-detail {
    background: var(--gm-blue-deep);
    color: rgba(255, 255, 255, 0.86);
    padding: 4px 0;
    border: 0;
}

body.golmedee-stage3 .mg-head-detail .info-left li,
body.golmedee-stage3 .mg-head-detail a {
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
}

body.golmedee-stage3 .mg-social .icon-soci,
body.golmedee-stage3 .gm-footer-social a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
}

body.golmedee-stage3 .mg-social .icon-soci i,
body.golmedee-stage3 .gm-footer-social a i {
    color: inherit;
    font-size: 16px;
    line-height: 1;
}

body.golmedee-stage3 .icon-soci.facebook,
body.golmedee-stage3 .gm-footer-social a[aria-label="Facebook"] {
    background: #1877f2 !important;
}

body.golmedee-stage3 .icon-soci.facebook i,
body.golmedee-stage3 .gm-footer-social a[aria-label="Facebook"] i {
    color: #fff !important;
}

body.golmedee-stage3 .icon-soci.instagram,
body.golmedee-stage3 .gm-footer-social a[aria-label="Instagram"] {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
}

body.golmedee-stage3 .icon-soci.instagram i,
body.golmedee-stage3 .gm-footer-social a[aria-label="Instagram"] i {
    color: #fff !important;
}

body.golmedee-stage3 .icon-soci.telegram,
body.golmedee-stage3 .gm-footer-social a[aria-label="Telegram"] {
    background: #229ed9 !important;
}

body.golmedee-stage3 .icon-soci.telegram i,
body.golmedee-stage3 .gm-footer-social a[aria-label="Telegram"] i {
    color: #fff !important;
}

body.golmedee-stage3 .mg-nav-widget-area-back {
    background-image: none !important;
    background: linear-gradient(180deg, var(--gm-blue-deep) 0%, var(--gm-blue-dark) 100%) !important;
}

body.golmedee-stage3 .mg-nav-widget-area-back .overlay .inner {
    background-color: transparent !important;
    padding: 8px 0 10px !important;
}

body.golmedee-stage3 .site-title {
    margin: 0;
}

body.golmedee-stage3 .site-title a,
body.golmedee-stage3 .site-title a[rel="home"] {
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 800;
    width: auto !important;
    text-align: center;
    line-height: 1.1;
}

body.golmedee-stage3 .site-description {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}

/* Sticky compact menu */
body.golmedee-stage3 .mg-menu-full {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: var(--gm-blue);
    box-shadow: 0 2px 14px rgba(13, 64, 123, 0.18);
}

body.golmedee-stage3 .mg-headwidget .navbar-wp {
    background: var(--gm-blue) !important;
    min-height: 48px;
    padding: 0;
}

body.golmedee-stage3 .mg-headwidget .navbar-wp .navbar-nav > li > a {
    color: #fff;
}

body.golmedee-stage3 .mg-headwidget .navbar-wp .navbar-nav > li > a:hover,
body.golmedee-stage3 .mg-headwidget .navbar-wp .navbar-nav > li > a:focus,
body.golmedee-stage3 .mg-headwidget .navbar-wp .navbar-nav > .active > a,
body.golmedee-stage3 .mg-headwidget .navbar-wp .navbar-nav > .current-menu-item > a {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 6px;
}

body.golmedee-stage3 .mg-search-box .msearch,
body.golmedee-stage3 .btn-bell {
    color: #fff !important;
}

body.golmedee-stage3 .btn-bell.btn-theme {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none;
    padding: 6px 8px;
}

body.golmedee-stage3.gm-scrolled .mg-head-detail,
body.golmedee-stage3.gm-scrolled .mg-nav-widget-area-back {
    display: none;
}

body.golmedee-stage3 .searchinner {
    border: 1px solid var(--gm-line);
    border-radius: 10px;
    padding: 12px;
}

body.golmedee-stage3 .searchinner .form-control {
    border-radius: 8px 0 0 8px;
    border-color: var(--gm-line-strong);
    font-family: var(--bodyFont);
}

body.golmedee-stage3 .mg-sec-title h4 {
    font-size: 16px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--gm-text);
}

/* Overlay news cards: white text on photo, readable */
body.golmedee-stage3 .mg-blog-post-3.back-img,
body.golmedee-stage3 .back-img.mg-blog-post-3,
body.golmedee-stage3 .missed-section .mg-blog-post-3 {
    background-color: #1b2433;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

body.golmedee-stage3 .mg-blog-post-3.back-img::after,
body.golmedee-stage3 .missed-section .mg-blog-post-3::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 14, 26, 0.82) 0%, rgba(8, 14, 26, 0.28) 48%, rgba(8, 14, 26, 0.08) 100%);
    pointer-events: none;
    z-index: 1;
}

body.golmedee-stage3 .mg-blog-post-3 .mg-blog-inner {
    position: relative;
    z-index: 2;
    background: transparent !important;
    padding: 12px 14px !important;
}

body.golmedee-stage3 .mg-blog-post-3 .mg-blog-inner h4,
body.golmedee-stage3 .mg-blog-post-3 .mg-blog-inner h4 a,
body.golmedee-stage3 .mg-blog-post-3 .mg-blog-inner h1,
body.golmedee-stage3 .mg-blog-post-3 .mg-blog-inner h1 a,
body.golmedee-stage3 .mg-blog-post-3 .title,
body.golmedee-stage3 .mg-blog-post-3 .title a,
body.golmedee-stage3 .missed-section h4,
body.golmedee-stage3 .missed-section h4 a,
body.golmedee-stage3 .missed-section .mg-blog-meta,
body.golmedee-stage3 .missed-section .mg-blog-meta a,
body.golmedee-stage3 .missed-section .mg-blog-date,
body.golmedee-stage3 .missed-section .mg-blog-date a {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

body.golmedee-stage3 .missed-section .mg-sec-title h4 {
    color: var(--gm-text) !important;
    text-shadow: none;
}

body.golmedee-stage3 .mg-blog-post-3 .newsup-categories {
    color: #fff !important;
}

body.golmedee-stage3 .missed-section {
    padding-top: 8px;
    padding-bottom: 8px;
}

body.golmedee-stage3 .missed-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer */
body.golmedee-stage3 footer.footer {
    display: none !important;
}

body.golmedee-stage3 .golmedee-montsame-footer {
    margin-top: 0;
    color: #fff;
    font-family: var(--bodyFont);
}

body.golmedee-stage3 .golmedee-montsame-footer__nav {
    background: var(--gm-blue) !important;
    padding: 22px 0 18px !important;
}

body.golmedee-stage3 .golmedee-montsame-footer__container {
    max-width: 1160px;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

body.golmedee-stage3 .golmedee-montsame-footer__columns {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 10px 36px !important;
    align-items: center !important;
}

body.golmedee-stage3 .golmedee-montsame-footer__links {
    display: contents !important;
}

body.golmedee-stage3 .golmedee-montsame-footer__links a {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    line-height: 1.35 !important;
}

body.golmedee-stage3 .golmedee-montsame-footer__up,
body.golmedee-stage3 .gm-footer-extra {
    display: none !important;
}

body.golmedee-stage3 .golmedee-montsame-footer__bottom {
    background: var(--gm-blue-dark) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.golmedee-stage3 .golmedee-montsame-footer__bottom-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0 16px !important;
}

body.golmedee-stage3 .golmedee-montsame-footer__contact,
body.golmedee-stage3 .golmedee-montsame-footer__copyright,
body.golmedee-stage3 .golmedee-montsame-footer__contact a {
    color: #d5deea !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    font-family: var(--bodyFont) !important;
}

body.golmedee-stage3 .golmedee-montsame-footer__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}

body.golmedee-stage3 .gm-footer-social {
    display: flex;
    gap: 10px;
}

body.golmedee-stage3 .gm-footer-social a {
    width: 32px;
    height: 32px;
    text-decoration: none !important;
}

/* Mobile bottom menu */
.gm-mobilebar,
.gm-sheet,
.gm-search-sheet {
    display: none;
}

@media (max-width: 991.98px) {
    body.golmedee-stage3 {
        padding-bottom: 64px;
    }

    body.golmedee-stage3 .mg-head-detail {
        display: none;
    }

    body.golmedee-stage3 .site-title a {
        font-size: 22px !important;
    }

    body.golmedee-stage3 .m-header {
        min-height: 48px;
        padding: 4px 8px;
    }

    body.golmedee-stage3 .m-header .btn-bell {
        display: none;
    }

    body.golmedee-stage3 .ta_upscr {
        bottom: 76px;
    }

    .gm-mobilebar {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1300;
        height: 58px;
        background: #fff;
        border-top: 1px solid var(--gm-line);
        box-shadow: 0 -6px 20px rgba(13, 64, 123, 0.08);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .gm-mobilebar a,
    .gm-mobilebar button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        background: none;
        border: 0;
        color: var(--gm-muted);
        font-family: var(--bodyFont);
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
        text-decoration: none;
        padding: 0;
    }

    .gm-mobilebar a.is-active,
    .gm-mobilebar button.is-active,
    .gm-mobilebar a:hover,
    .gm-mobilebar button:hover {
        color: var(--gm-blue);
    }

    .gm-mobilebar svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .gm-sheet,
    .gm-search-sheet {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1400;
        background: rgba(16, 28, 48, 0.46);
    }

    .gm-sheet.is-open,
    .gm-search-sheet.is-open {
        display: block;
    }

    .gm-sheet__panel,
    .gm-search-sheet__panel {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        border-radius: 16px 16px 0 0;
        padding: 16px 16px 24px;
        max-height: 78vh;
        overflow: auto;
    }

    .gm-sheet__title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 700;
        font-size: 16px;
        margin-bottom: 12px;
    }

    .gm-sheet__title button {
        border: 0;
        background: #f3f5f8;
        border-radius: 8px;
        padding: 6px 10px;
        font-weight: 600;
    }

    .gm-sheet__list a {
        display: block;
        padding: 12px 4px;
        border-bottom: 1px solid var(--gm-line);
        color: var(--gm-text);
        text-decoration: none;
        font-weight: 600;
    }

    .gm-search-sheet input[type="search"] {
        width: 100%;
        border: 1px solid var(--gm-line-strong);
        border-radius: 10px;
        padding: 12px 14px;
        font-size: 16px;
        font-family: var(--bodyFont);
        margin-bottom: 10px;
    }

    .gm-search-sheet button[type="submit"] {
        width: 100%;
        background: var(--gm-blue);
        color: #fff;
        border: 0;
        border-radius: 10px;
        padding: 12px;
        font-weight: 700;
    }

    body.golmedee-stage3 .golmedee-montsame-footer__bottom-inner {
        display: block !important;
    }

    body.golmedee-stage3 .golmedee-montsame-footer__copyright {
        margin-top: 8px !important;
        text-align: left !important;
    }
}


/* Category pills and sidebar labels: white text on blue chips */
body.golmedee-stage3 a.newsup-categories,
body.golmedee-stage3 .newsup-categories,
body.golmedee-stage3 .mg-blog-category a,
body.golmedee-stage3 .small-post .mg-blog-category a,
body.golmedee-stage3 .mg-posts-modul-2 .mg-blog-category a,
body.golmedee-stage3 article.bottom .mg-blog-category a {
    color: #fff !important;
    background: var(--gm-blue) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    padding: 3px 8px !important;
    border-radius: 3px;
    display: inline-block;
}

body.golmedee-stage3 #exTab2 .nav-tabs .nav-link {
    color: var(--gm-text) !important;
    font-family: var(--bodyFont);
    font-weight: 600;
}

body.golmedee-stage3 #exTab2 .nav-tabs .nav-link.active {
    color: var(--gm-blue) !important;
}

body.golmedee-stage3 .small-post .title a,
body.golmedee-stage3 .small-list-post .title a,
body.golmedee-stage3 .mg-posts-modul-2 .title a {
    color: var(--gm-text) !important;
}


/* Mobile home button contrast */
@media (max-width: 991.98px) {
    body.golmedee-stage3 .m-header .mobilehomebtn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: #fff !important;
        color: #1557a5 !important;
        text-decoration: none !important;
        box-shadow: 0 1px 2px rgba(0,0,0,.12);
    }
    body.golmedee-stage3 .m-header .mobilehomebtn span,
    body.golmedee-stage3 .m-header .mobilehomebtn i,
    body.golmedee-stage3 .m-header .mobilehomebtn .fa-house-chimney,
    body.golmedee-stage3 .m-header .mobilehomebtn .fa-solid {
        color: #1557a5 !important;
        font-size: 18px !important;
        line-height: 1 !important;
    }
    body.golmedee-stage3 .m-header .navbar-toggler,
    body.golmedee-stage3 .m-header .burger-line,
    body.golmedee-stage3 .m-header .msearch,
    body.golmedee-stage3 .m-header .msearch i {
        color: #fff !important;
    }
    body.golmedee-stage3 .m-header .burger-line {
        background: #fff !important;
    }
}
