/* === Theme and base === */
:root {
    --sun-clr: #f3d05e;
    --dark-clr: #0e3040;
    --light-clr: #f7f3f3;
    --logo-fill-dark-theme: #67809f;
    --logo-fill-light-theme: #124054;
    --text-dark-theme: #ccc;
    --text-light-theme: #0e3040;
    --boxes-dark-theme: #124054;
    --boxes-light-theme: #e9ecef;
    --icons-dark-theme: #ccc;
    --icons-light-theme: #124054;
    --border-heading-orange: #ffa117;
    --dropdown-menu-items: #67809f;
    --dropdown-menu-hover: #ebb25d;
    --dropdown-menu-text-hover: #fff;
    /* --header-height: 100px; */
    /* --header-height: 80px; */
    --header-height: 70px;
    --tbl-color-dark: #0e3040;
    --tbl-color-light: #e9ecef;
    --secondary-bg-colour: #124054;
    --primary-bg-color: #0e3040;
    --footer-text-color: #9eb1c7;
    --footer-logo-text: #708fb4;
    --footer-logo-fill: #708fb4;

    /* Dark */
    --text-mode-dark: #9eb1c7;
    --bg-mode-dark: #0e3040;
    --bg-inner-dark: #124054;
    --color-icon-dark: #9eb1c7;
    --color-border-dark: rgba(255, 255, 255, .12);
    /* Light */
    --text-mode-light: #16475C;
    --bg-mode-light: #ffffff;
    --bg-inner-light: #e9ecef;
    --color-icon-light: #16475C;
    --color-border-light: #0e3040;

    --accent-2: #ffa117;



}

.light-theme {
    --text-color: var(--text-mode-light);
    --bg-color: var(--bg-mode-light);
    --bg-inner: var(--bg-inner-light);
    --color-icon: var(--color-icon-light);
    --color-border: var(--color-icon-light);
    /*  */
    --clr-foreground: var(--dark-clr);
    --tbl-background: var(--light-clr);
    --tbl-bg-v2: var(--tbl-color-light);
    --clr-background: var(--light-clr);
    --text-color: var(--text-light-theme);
    --logo-fill: var(--logo-fill-light-theme);
    --container-background: var(--boxes-light-theme);
    --hamburger-background: #d7e4f1;
    --icons: var(--icons-light-theme);
}

.dark-theme {
    --text-color: var(--text-mode-dark);
    --bg-color: var(--bg-mode-dark);
    --bg-inner: var(--bg-inner-dark);
    --color-icon: var(--color-icon-dark);
    --color-border: var(--color-icon-light);
    /*  */
    --clr-foreground: var(--light-clr);
    --tbl-background: var(--dark-clr);
    --tbl-bg-v2: var(--tbl-color-dark);
    --clr-background: var(--dark-clr);
    --text-color: var(--text-dark-theme);
    --logo-fill: var(--logo-fill-dark-theme);
    --container-background: var(--boxes-dark-theme);
    --icons: var(--icons-dark-theme);
    --hamburger-background: #156082;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html,
body {
    height: 100%
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--clr-background);
    color: var(--text-color)
}

a {
    text-decoration: none;
}

.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* background: var(--clr-background); */
    background: var(--bg-color);
    padding: 10px 0;
    padding-bottom: 18px;
    height: var(--header-height);
    /* box-shadow: 0 1px 1px #0001; */
    transition: height .25s ease, padding .25s ease, box-shadow .25s ease;
    border-bottom: 1px solid rgba(204, 204, 204, 0.15);
}

.header-fixed::before {
    content: "";
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    width: 100%;
    height: 11px;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(204, 204, 204, 0.15);
}

.header-limiter {
    margin-left: 8.5%;
    margin-right: 12.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: 'Lexend Giga', sans-serif;
    font-weight: 550;
    font-size: 24px;
    color: var(--text-color)
}

#svgGroup {
    stroke: var(--logo-fill);
    fill: var(--text-color)
}

.nav-utility-group .icon-buttons {
    display: flex;
    gap: 12px;
    color: var(--icons);
    align-items: center;
}

.icon-buttons i {
    cursor: pointer;
    transition: color .2s
}

.icon-buttons i:hover {
    color: var(--border-heading-orange)
}

.header-sub-page-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    margin-block: auto;
    margin: 0 !important;
    background: var(--border-heading-orange);
    border-radius: 25px;
    width: 145px
}

.page-title-dropdown {
    display: flex;
    align-items: center;
    padding: 2.5px 20px;
    cursor: pointer;
    color: #000;
    font-size: 0.95em;
    font-weight: 500;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
}

.page-current-title {
    flex: 1;
    text-align: center;
}

.dropdown-arrow {
    font-size: .8em
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 0;
    width: 100%;
}

.page-title-dropdown.active .dropdown-arrow {
    transform: rotate(180deg)
}

.dropdown-content a {
    display: inline-block;
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--dropdown-menu-items);
    color: #fff;
    margin: 5px 0;
    margin-bottom: 10px;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: .9em
}

.dropdown-content a:hover {
    background: var(--dropdown-menu-hover);
    color: var(--dropdown-menu-text-hover)
}

.btn-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2.5px 20px;
    border-radius: 25px;
    color: var(--text-color);
    text-decoration: none;
    background-color: var(--container-background);
    width: max-content;
}

.btn-cta:hover {
    background: #ffffff14;
}

.promo-card .btn-cta {
    margin-top: 15px;
}

/* Sticky toolbar row under header */
.toolbar-clock {
    position: sticky;
    top: var(--header-height);
    z-index: 950;
    display: block;
    width: 100%;
    padding: 6px 0;
    background: var(--clr-background);
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.toolbar-inner {
    margin-left: 8.5%;
    margin-right: 12.5%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 12px
}

.sidebar-left {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: visible;
    z-index: 1200
}

.tc-center {
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center
}

.sidebar-right {
    justify-self: end;
    position: relative;
    overflow: visible !important;
}

.clock-container .info-inline {
    display: flex;
    gap: 6px;
    align-items: center;
    /* background: var(--clr-background); */
    background: var(--bg-color);
}

.info-inline {
    position: relative;
    /* top: 22.5px; */
    /* top: 18px; */
}

/* Chips + burger */
.hamburger-inline {
    background: none;
    border: 0;
    padding: 6px;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer
}

.hamburger-inline span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-color)
}

.wrap-topics {
    /* width: max-content; */
    display: flex;
    gap: 10px;
    /* flex-wrap: wrap; */
    align-items: flex-start;
}

.wrap-topics a {
    display: flex;
    width: max-content !important;
    max-width: unset;
}

.toolbar-chips {
    align-items: center;
    /* flex-wrap: wrap; */
    overflow-x: auto;
    /* max-width: 350px; */
}

.toolbar-chips .chip {
    border: 1px solid rgba(255, 255, 255, .2);
    background: transparent;
    color: var(--text-color);
    padding: 2px 12px;
    border-radius: 999px;
    font-size: .9rem;
    cursor: pointer;
    min-height: 26px;

}

.page-chips-v2 {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.page-chips-v2 .wires-link-title {
    display: none;
}

.toolbar-chips .chip.chip-active {
    background: var(--border-heading-orange);
    color: #000;
    border-color: transparent
}

/* Language dropdown - RIGHT sidebar */
.right-stack .edition-card {
    position: relative;
    margin: 4px 0 10px;
}

.right-stack .edition-card .lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 9999px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    /* color: #e7f3f9; */
    color: var(--text-color);
    cursor: pointer;
    background: transparent;
    border: none;
}

.right-stack .edition-card .lang-switch:hover {
    filter: brightness(1.03);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
}

.right-stack .edition-card .lang-switch .caret {
    font-size: .8em;
    opacity: .9;
}

.right-stack .edition-card .lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #124054;
    border: 1px solid rgba(255, 255, 255, .12);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    min-width: 160px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    z-index: 3300;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
    border-radius: 12px;
}

.right-stack .edition-card .lang-menu.show {
    /* display: block; */
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.right-stack .edition-card .lang-menu li {
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
    color: #e7f3f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.right-stack .edition-card .lang-menu li:last-child {
    margin-bottom: 0;
}

.right-stack .edition-card .lang-menu li:hover {
    background: rgba(255, 255, 255, 0.1);
}

.right-stack .edition-card .lang-menu li[aria-selected="true"] {
    /* background: var(--dropdown-menu-items);
    color: #fff; */
}

.right-stack .edition-card .lang-menu li i {
    opacity: 0;
    visibility: hidden;
}

.right-stack .edition-card .lang-menu li[aria-selected="true"] i {
    opacity: 1;
    visibility: visible;
}

.right-stack .edition-card .lang-menu li:hover {
    /* background: var(--dropdown-menu-hover);
    color: var(--dropdown-menu-text-hover); */
    background: rgba(255, 255, 255, 0.08);
}

/* (Keep existing LEFT styles in case you ever return it there) */
.left-stack .edition-card {
    position: relative;
    margin: 4px 0 10px;
}

.left-stack .edition-card .lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    font-size: .9rem;
}

.left-stack .edition-card .lang-switch .caret {
    font-size: .8em;
    opacity: .9;
}

.left-stack .edition-card .lang-menu {
    display: none;
    position: absolute;
    left: 0;
    right: auto;
    margin-top: 8px;
    background: var(--container-background);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
    list-style: none;
    padding: 6px;
    min-width: 180px;
    z-index: 1100;
}

.left-stack .edition-card .lang-menu.show {
    display: block;
}

.left-stack .edition-card .lang-menu li {
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.left-stack .edition-card .lang-menu li[aria-selected="true"] {
    background: var(--dropdown-menu-items);
    color: #fff;
}

.left-stack .edition-card .lang-menu li:hover {
    background: var(--dropdown-menu-hover);
    color: var(--dropdown-menu-text-hover);
}

/* Search panel */
.search-bar-container {
    position: fixed;
    right: 9%;
    width: 360px;
    background: var(--container-background);
    box-shadow: 0 4px 10px #0003;
    border-radius: 8px;
    padding: 12px;
    z-index: 1500;
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
    margin-top: 0px;
}

.search-bar-container.active {
    transform: none;
    opacity: 1;
    visibility: visible;
}

body.fixed .search-bar-container {
    margin-top: 10px;
}

.search-input-wrapper {
    position: relative
}

.search-input {
    width: 100%;
    padding: 10px 36px 10px 8px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--text-color);
    color: var(--text-color)
}

.clear-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.suggestions-container {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px
}

.suggestions-container.has-results {
    display: flex
}

/* News Home */
.news-home {
    margin: 0 auto;
    padding: 24px 0 40px;
    max-width: 1060px;
    width: 86%
}

.section-head {
    margin: 18px 0 8px
}

.section-head h2 {
    font-size: 1.1rem;
    letter-spacing: .3px
}

.lead-and-side {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10rem;
}

.lead-card {
    background: var(--container-background);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px #0001;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.lead-media {
    height: 160px;
    background: #1c5066;
    display: flex;
    align-items: center;
    justify-content: center
}

.lead-body {
    padding: 14px
}

.kicker {
    font-size: .8rem;
    opacity: .8;
    margin-bottom: 6px
}

.lead-title {
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 6px
}

.lead-dek {
    font-size: .95rem;
    opacity: .9
}

.side-stack {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.side-item {
    background: var(--container-background);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 3px 10px #0001
}

.side-item h4 {
    font-size: 1rem;
    margin-bottom: 6px
}

.badges {
    display: flex;
    gap: 6px;
    margin-top: 8px
}

.badge {
    font-size: .7rem;
    border-radius: 6px;
    padding: 3px 6px;
    background: #ffffff1a
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.news-card {
    background: var(--container-background);
    border-radius: 5px;
    box-shadow: 0 3px 10px #0001;
    overflow: hidden
}

.news-card .card-media {
    height: 110px;
    background: #18485b
}

.news-card .card-body {
    padding: 10px
}

.news-card .card-title {
    font-size: 1rem;
    margin-bottom: 6px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-card .chips {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.news-card .chip-mini {
    font-size: .7rem;
    border-radius: 999px;
    padding: 3px 8px;
    background: #ffffff1a
}


/* --- Shrinking header via CSS var override --- */
body.fixed {
    /* --header-height: 56px; */
    --header-height: 80px;
}

.header-fixed {
    will-change: height, padding, box-shadow;
}

.toolbar-clock {
    transition: top .25s ease;
}

body.fixed .header-fixed {
    /* height: 56px; */
    height: 65px;
    padding: 10px 0px;
    box-shadow: 0 2px 8px #0003
}

body.fixed .logo-text {
    font-size: 20px
}

@media(max-width:980px) {
    .lead-and-side {
        grid-template-columns: 1fr
    }

    .cards-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:640px) {
    .toolbar-inner {
        margin-left: 5%;
        margin-right: 7.5%;
        grid-template-columns: 1fr 1fr 1fr
    }

    .cards-grid {
        grid-template-columns: 1fr
    }
}


/* --- Footer (aligned to header gutters) --- */
.site-footer {
    /* background: var(--container-background); */
    background: #124054;
    color: var(--text-color);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-content {
    margin-left: 8.5%;
    margin-right: 12.5%;
    display: flex;
    gap: 50px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.site-footer .footer-left {
    min-width: 220px;
}

.site-footer .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-footer .logo-text {
    font-family: 'Lexend Giga', sans-serif;
    font-weight: 550;
    font-size: 22px !important;
    /* color: var(--text-color); */
    color: #ccc;
}

.site-footer .footer-columns {
    display: flex;
    gap: 50px;
    flex: 1;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-footer .footer-columns div {
    display: flex;
    flex-direction: column;
    min-width: 160px;
}

.site-footer .footer-columns h4 {
    font-weight: 600;
    margin-bottom: 8px;
}

.site-footer .footer-columns a {
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 6px;
    opacity: .9;
}

.site-footer .footer-columns a:hover {
    /* color: var(--dropdown-menu-hover); */
    color: #7be3ff;
    opacity: 1;
}

.site-footer .footer-bottom {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-left: 8.5%;
    margin-right: 12.5%;
    flex-wrap: wrap;
}

.site-footer .social-icons i {
    margin-left: 12px;
    cursor: pointer;
}

@media(max-width: 720px) {
    .site-footer .footer-content {
        margin-left: 5%;
        margin-right: 7.5%;
    }

    .site-footer .footer-bottom {
        margin-left: 5%;
        margin-right: 7.5%;
    }
}


/* Title pill */
:root {
    --title-pill-h: 32px;
}

.header-sub-page-center {
    height: var(--title-pill-h);
    display: flex;
    align-items: center;
    top: 0;
    bottom: 0;
    margin-block: auto;
    left: 50%;
    transform: translateX(-50%);
}

.page-title-dropdown {
    padding: 0 16px;
    min-height: var(--title-pill-h);
    line-height: 1;
}

body.fixed .clock-container {
    top: -7px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85em;
}

.header-clock {
    position: absolute;
    bottom: 0;
    /* left: 50%; */
    left: 10%;
    transform: translateX(-50%) translateY(50%);
    font-size: 0.75rem;
    white-space: nowrap;
}

body.fixed .header-clock {
    font-size: 0.7rem;
    transform: translateX(-50%) translateY(50%);
}


/* --- Sidebars --- */
.sidebar-left,
.sidebar-right {
    position: sticky;
    top: var(--header-height);
    align-self: start;
    max-height: calc(100vh - var(--header-height) - 14px);
    overflow-y: auto;
    padding-block: 4px;
}

.left-stack {
    position: relative;
}

.right-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.left-stack .nav-list {
    list-style: none;
    margin-top: 10px;
    display: grid;
    /* gap: 20px; */
    gap: 12px;
}

.left-stack .nav-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    /* padding: 2.5px 20px; */
    padding: 5px 20px;
    border-radius: 25px;
    color: var(--text-color);
    text-decoration: none;
    background-color: var(--container-background);
    transition: all 0.2s ease-in-out;
}

.left-stack .nav-list li a:hover {
    /* background: #ffffff14; */
    /* background-color: #7be3ff; */
    background-color: #1c5066;
    /* color: #000; */
}

/* === Main layout with sidebars === */
.layout {
    margin-left: 8.5%;
    margin-right: 12.5%;
    display: grid;
    /* grid-template-columns: 200px 1fr 305px; */
    grid-template-columns: 50px 1fr 305px;
    gap: 25px;
    padding-top: calc(var(--header-height));
    padding-bottom: 40px;
}

.home .layout {
    /* gap: 90px; */
    gap: 60px;
    grid-template-columns: 150px 1fr 305px;
}

.main-content {
    min-width: 0;
}

.layout {
    min-height: calc(100vh - 313px);
}

.page-chips {
    position: sticky;
    /* top: var(--header-height); */
    top: 65px;
    z-index: 960;
    /* background: var(--clr-background); */
    background: var(--bg-color);
    /* border-top: 1px solid rgba(255, 255, 255, .08); */
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    padding: 10px 0;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    /* align-items: flex-start; */
    gap: 12px;
    margin-bottom: 12px;
}

@media (max-width: 800px) {
    .page-chips {
        /* flex-wrap: wrap; */
        row-gap: 8px;
    }
}

.main-content .news-home {
    margin: 0;
    max-width: none;
    width: auto;
}

/* Responsive */
@media(max-width: 1100px) {
    .layout {
        /* grid-template-columns: 220px 1fr 260px; */
        /* grid-template-columns: 150px 1fr 300px; */
        grid-template-columns: 200px 1fr 300px;
    }

    .glossary-card {
        margin-left: 0 !important;
    }
}

@media(max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .sidebar-left,
    .sidebar-right {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .right-stack .edition-card .lang-menu {
        left: 0;
        right: unset;
    }
}

.page-chips {
    gap: 12px;
}

.page-chips .hamburger-inline {
    margin-right: 2px;
}

header {
    position: relative;
}

/* new style */

.sth-img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
    object-fit: cover;
}

.suggestion-section a {
    color: var(--text-color);
}

.suggestion-section li {
    list-style: none;
}

.suggestion-section div.sg-post-item:nth-of-type(n+4) {
    display: none;
}

.btn-more-search {
    cursor: pointer;
}

.wires-link-title {
    display: flex;
    gap: 5px;
    align-items: center;
}

.wires-link-title svg {
    max-width: 30px;
    vertical-align: middle;
}

.toolbar-chips {
    width: max-content;
    display: flex;
    gap: 10px;
}

/* .ticker-scroll {
    display: flex;
    color: var(--border-heading-orange);
} */

.ticker-scroll {
    width: 100%;
    overflow: hidden;
    color: var(--border-heading-orange);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: tickerMove 20s linear infinite;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-right: 50px;
}

.ticker-content span {
    margin: 0 10px;
}

.sep {
    opacity: 0.6;
}

@keyframes tickerMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Fix responsive */
.layout {
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.header-limiter {
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.site-footer .footer-content {
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.site-footer .footer-bottom {
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.search-bar-container {
    right: calc((100vw - 1480px) / 2 + 15px);
}

.lead-card a {
    color: unset;
}

a {
    color: unset;
}

.layout-single {
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: calc(var(--header-height) + 14px);
    padding-bottom: 60px;
}

.layout-single .entry-title {
    font-size: 2rem;
}

.layout-single .post-thumbnail img {
    width: 100%;
    vertical-align: middle;
}

.layout-single .post-thumbnail {
    margin-bottom: 40px;
}

.promo-card {
    display: none;
    background: var(--container-background);
    border-radius: 10px;
    box-shadow: 0 3px 10px #0001;
    padding: 20px;
    font-size: 14px;
}

.hamburger-menu {
    width: 100%;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    /* background-color: var(--hamburger-background); */
    background-color: var(--secondary-bg-colour);
    border-radius: 5px;
    padding: 0;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

/* .hamburger-menu ul {
    display: flex;
    gap: 20px;
    row-gap: 10px;
    flex-wrap: wrap;
    width: 50%;
}

.hamburger-menu ul li {
    list-style: none;
    width: calc((100% - 20px) / 2);
}

.hamburger-menu ul li a {
    color: #fff;
} */

/* .hamburger-menu ul li a:hover {
    color: #ffa117;
} */

.hamburger-inline span {
    transition: all 0.2s ease-in-out;
}

.hamburger-inline.active span:last-child {
    opacity: 0;
    visibility: hidden;
}

.hamburger-inline.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 3px);
}

.hamburger-inline.active span:nth-child(2) {
    transform: rotate(-45deg) translate(0.5px, -1px);
}

.sub-cal-title {
    display: flex;
    gap: 5px;
    align-items: center;
}

.sub-cal-title svg {
    width: 30px;
    height: auto;
}

.sub-cal-title span {
    color: var(--border-heading-orange);
    color: #ffc000;
    font-weight: 600;
    font-size: 20px;
}

.sub-cal-title svg path {
    fill: var(--border-heading-orange);
    fill: #ffc000;
}

.cal-title {
    display: block;
    font-size: 18px;
    color: #fff;
}

.sub-cale {
    display: block;
    color: #6fcef9;
    font-size: 14px;
}

.side-stack-calendar {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 50%;
    padding: 10px 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 5px;
    overflow: hidden;
}

.stack-calendar-ct {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

.side-stack-calendar::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.side-stack-charts {
    height: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
}

.stack-charts-ct {
    position: relative;
    padding: 5px 15px 10px;
    background-color: rgba(255, 255, 255, 0.1);
}

.charts-title {
    color: var(--border-heading-orange);
    color: #ffc000;
    font-weight: 600;
    font-size: 20px;
}

.charts-subtitle {
    display: block;
    color: #6fcef9;
    font-size: 14px;
}

.wrap-page-news {
    padding-top: 60px;
    padding-bottom: 60px;
}

.sth-pagination ul {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
}

.sth-pagination ul li {
    list-style: none;
}

.sth-pagination ul li span,
.sth-pagination ul li a {
    background-color: var(--container-background);
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-numbers.current {
    opacity: 0.5;
}

.wrap-page-subscription {
    margin: auto;
    margin-top: 50px;
    background: var(--container-background);
    padding: 40px;
    width: 100%;
    max-width: 550px;
    min-width: 200px;
    border-radius: 10px;
    text-align: center;
}

.sth-form-subscription {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.sth-form-subscription input {
    border: unset;
    background-color: #e4eff8;
    padding: 15px;
    font-size: 15px;
    border-radius: 50px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

.sth-form-subscription input[type='email'] {
    width: calc(100% - 120px);
}

.sth-form-subscription input[type="submit"] {
    background-color: var(--border-heading-orange);
    color: #000;
    border: unset;
    width: 120px;
    font-weight: 500;
    padding: 15px;
    margin-left: 10px;
    cursor: pointer;
}

.wrap-page-subscription .mc4wp-response {
    margin-top: 10px;
}

@media screen and (max-width: 1530px) {
    .search-bar-container {
        right: 25px;
    }
}

@media screen and (max-width: 1200px) {
    .lead-and-side {
        grid-template-columns: 1fr;
    }

    .side-stack-charts,
    .side-stack-calendar {
        width: calc((100% - 12px) / 2);
        height: auto;
        aspect-ratio: 1 / 0.8;
    }

    .side-stack {
        flex-direction: row;
    }
}

@media screen and (min-width: 901px) and (max-width: 1024px) {
    .layout {
        /* grid-template-columns: 220px 1fr 180px; */
        grid-template-columns: 150px 1fr 300px;
    }
}

@media screen and (max-width: 900px) {

    .sidebar-left,
    .sidebar-right {
        z-index: 1;
        width: 100%;
    }

    .left-stack {
        width: 100%;
    }

    .left-stack .nav-list {
        display: flex;
        flex-wrap: wrap;
    }

    .left-stack .nav-list li {
        width: max-content;
    }

    .logo-text {
        font-size: 22px;
    }

    .section-head {
        margin-top: 40px;
    }

    .wrap-page-subscription {
        /* max-width: 100%; */
    }
}

@media screen and (max-width: 767px) {

    .sth-form-subscription input[type='email'] {
        width: 100%;
    }

    .sth-form-subscription {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .sth-form-subscription input[type="submit"] {
        margin-left: 0;
        width: 100%;
    }

    .wrap-page-subscription {
        padding: 25px;
    }

    .header-limiter {
        /* align-items: flex-start; */
        align-items: center;
    }

    .hamburger-menu ul {
        width: 100%;
    }

    .side-stack {
        flex-wrap: wrap;
    }

    .side-stack-charts,
    .side-stack-calendar {
        width: 100%;
        aspect-ratio: 1 / 0.6;
    }

    .header-fixed {
        /* height: 140px; */
        height: 70px;
    }

    .header-sub-page-center {
        margin-bottom: 20px;
    }

    body.fixed .header-fixed {
        /* height: 115px; */
        height: 65px;
    }

    .logo-text {
        font-size: 18px !important;
    }

    .nav-utility-group {
        /* padding-top: 12px; */
    }

    .layout {
        padding-top: 70px;
    }

    .site-footer .footer-columns {
        gap: 25px;
        /* justify-content: flex-start; */
        justify-content: flex-end;
    }

    .header-sub-page-center {
        display: none;
    }
}

@media screen and (max-width: 412px) {

    .logo-text {
        font-size: 16px !important;
    }

    body.fixed .logo-text {
        font-size: 16px;
    }

    .search-bar-container {
        max-width: 325px;
    }
}

.sth-top-posts {
    display: flex;
}

.btn-close-tax {
    width: max-content;
}

.big-post {
    width: 67%;
    padding-right: 16px;
}

.small-posts {
    width: 33%;
}

.toolbar-chips .chip {
    position: relative;
    padding-right: 20px;
}

.big-post img {
    width: 100%;
    vertical-align: middle;
    height: auto;
}

.small-post img {
    width: 100%;
    vertical-align: middle;
    height: auto;
}

.small-posts article {
    margin-bottom: 16px;
    min-height: unset;
}

.small-posts article:last-child {
    margin-bottom: 0;
}

.small-posts .lead-media {
    height: auto;
    aspect-ratio: 1 / 0.3;
}

.small-posts .lead-title {
    font-size: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.big-post article {
    height: 100%;
}

.wrap-more-posts {
    padding-top: 15px;
}

.wrap-more-posts .post-item {
    margin-bottom: 25px;
}

.wrap-more-item {
    display: flex;
}

.more-thumb {
    width: 30%;
    aspect-ratio: 1 / 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-body-post {
    width: 70%;
    padding-left: 16px;
}

@media screen and (max-width: 767px) {
    .big-post {
        width: 100%;
        padding-right: 0;
    }

    .small-posts {
        width: 100%;
    }

    .sth-top-posts {
        flex-wrap: wrap;
        gap: 16px;
    }

    .more-body-post {
        width: 100%;
        padding-left: 0;
    }

    .more-thumb {
        width: 100%;
    }

    .wrap-more-item {
        flex-wrap: wrap;
    }

    .small-posts .lead-media {
        aspect-ratio: 1 / 0.45;
    }
}

.wrap-char-row {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    padding-top: 5px;
    padding-bottom: 15px;
}

.btn-chart {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2.5px 20px;
    border-radius: 25px;
    color: var(--text-color);
    text-decoration: none;
    background-color: var(--container-background);
}

/*  */

.ticker-bar {
    background: #00607c;
    color: #ffcc00;
    padding: 8px 12px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 14px;
    display: flex;
}

.ticker-bar .pair {
    margin-right: 20px;
}

.ticker-bar .value {
    color: #ffcc00;
}

.ticker-bar .change {
    margin-left: 5px;
    font-size: 12px;
}

.ticker-bar .change.up {
    color: #00cc00;
}

.ticker-bar .change.down {
    color: #ff0000;
}

/* end tick */
.box-see-all {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
    padding-bottom: 10px;
}

.see-all {
    padding: 5px 10px;
    min-width: 50px;
    border: 1px solid #67809F;
    border-radius: 30px;
    /* color: #67809F; */
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.2;
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    width: max-content;
    transition: all 0.2s ease-in-out;
}

.see-all svg {
    width: 16px;
    height: auto;
    transition: .5s;
}

.see-all:hover svg {
    transform: translateX(5px);
}

.see-all:hover {
    background-color: #7be3ff;
    color: #000;
}

.section-case-studies {}

.title-case {
    font-size: 1.25rem;
    color: #ffc000;
}

.sth-box-case {
    margin-top: 15px;
    padding: 20px 10px;
    aspect-ratio: 1 / 0.33;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 5px;
}

/*  */
.research {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.research-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.research-title {
    font-size: 1.1rem;
    line-height: 38px;
    font-weight: 700;
}

.research-items {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.research-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.research-item>a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.research-item-img {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
}

.research-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 7;
}

.research-item>span {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
    transition: .3s;
    text-align: center;
}

.research-item.sponsored .research-item-img {
    /* aspect-ratio: 16 / 7; */
    padding-left: 10px;
    padding-right: 10px;
    aspect-ratio: 271 / 125;
    background-color: #105f7f;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
}

.research-item.sponsored .research-item-img p {
    font-size: 16px;
    text-align: center;
}

@media screen and (max-width: 1365px) {
    .ticker-bar {
        flex-direction: column;
        gap: 15px;
    }

    .btn-chart {
        height: max-content;
        min-height: 40px;
    }

    .research-item.sponsored .research-item-img {
        padding: 10px;
        text-align: center;
        font-size: 1rem;
    }

}

@media screen and (max-width: 1023px) {
    .section-head h2 {
        width: 100%;
    }

    .wrap-char-row {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 900px) {
    .ticker-bar {
        flex-direction: row;
        align-items: center;
    }

    .wrap-char-row {
        gap: 15px;
    }
}

@media screen and (max-width: 540px) {
    .research-items {
        flex-wrap: wrap;
    }

    .research-item {
        width: 100%;
        flex: unset;
    }

    .news-card .card-media {
        height: 145px;
    }

    .sth-box-case {
        aspect-ratio: 1 / 0.5;
    }
}

/* New Glossary Home */
/* Card shell */
.glossary-card {
    max-width: 400px;
    margin: 0 auto;
    perspective: 1200px;
}

.glossary-inner {
    position: relative;
    width: 100%;
    min-height: 190px;
    border-radius: 14px;
    background: var(--panel);
    /* single flat color */
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
    transform-style: preserve-3d;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.glossary-inner.is-flipped {
    transform: translateY(-6px) rotateY(180deg);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .32);
}

/* Faces */
.glossary-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 16px;
    backface-visibility: hidden;
    border-radius: 5px;
}

/* Header */
.g-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gold);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.g-header i {
    font-size: 20px;
    color: var(--gold);
}

.g-header h3 {
    margin: 0;
    font-size: 19px;
    color: var(--gold);
}

/* Front */
.glossary-front {
    background: transparent;
    text-align: center;
}

.tagline {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 12px;
}

/* Back */
.glossary-back {
    transform: rotateY(180deg);
    background: var(--panel);
    /* same flat tone */
    position: relative;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 8px;
    right: 10px;
    background: rgba(0, 0, 0, .25);
    border: none;
    color: var(--gold);
    font-size: 18px;
    font-weight: 600;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    transition: background .2s ease, transform .1s ease;
}

.close-btn:hover {
    background: rgba(0, 0, 0, .35);
    transform: scale(1.05);
}

/* Term area */
.term {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.term-word {
    font-weight: 700;
    font-size: 16px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(123, 227, 255, .10);
    border: 1px solid rgba(123, 227, 255, .25);
}

.term-type {
    font-size: 11px;
    color: var(--text);
    background: rgba(255, 161, 23, .14);
    border: 1px solid rgba(255, 161, 23, .3);
    padding: 1px 6px;
    border-radius: 999px;
}

.definition {
    color: var(--text);
    opacity: .9;
    line-height: 1.4;
    text-align: center;
    max-width: 36ch;
    font-size: 13.5px;
    margin: 0;
}

:root {
    --bg: #0e3040;
    --panel: #124054;
    --muted: #8fb0c2;
    --accent: #7be3ff;
    --gold: #ebb25d;
}

/* Buttons */
.g-btn {
    appearance: none;
    border: 2px solid transparent;
    cursor: pointer;
    background: linear-gradient(180deg, var(--accent), #5dcfe8);
    color: #083242;
    font-weight: 600;
    font-size: 13.5px;
    padding: 7px 12px;
    border-radius: 9px;
    box-shadow: 0 1px 4px rgba(123, 227, 255, .18);
    transition: transform .12s ease, box-shadow .2s ease, border .2s ease;
}

.g-btn:hover {
    transform: translateY(-1px);
    border-color: var(--gold);
    box-shadow: 0 0 4px rgba(235, 178, 93, .25);
}

.g-btn.subtle {
    background: rgba(235, 178, 93, .10);
    color: var(--gold);
    border: 1px solid rgba(235, 178, 93, .35);
    box-shadow: none;
}

.g-btn.ghost {
    background: transparent;
    color: var(--gold);
    border: 1px solid rgba(235, 178, 93, .4);
}

.g-btn.ghost:hover {
    background: rgba(235, 178, 93, .05);
    box-shadow: 0 0 6px rgba(235, 178, 93, .2);
}

.actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.glossary-card {
    width: 100%;
    max-width: 400px;
    /* fixed width — same for both faces */
    height: 190px;
    /* fixed height */
    margin: 0 auto;
    perspective: 1200px;
    position: relative;
}

.glossary-inner {
    position: relative;
    width: 100%;
    height: 100%;
    /* ensure full height consistency */
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(.2, .7, .2, 1);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}

.glossary-inner.is-flipped {
    transform: translateY(-6px) rotateY(180deg);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .32);
}

.glossary-face {
    position: absolute;
    inset: 0;
    /* makes both faces fill the same area */
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 16px;
    border-radius: 5px;
    backface-visibility: hidden;
    background: var(--panel);
}

.glossary-back {
    transform: rotateY(180deg);
}

@media screen and (max-width: 1365px) {
    .home .layout {
        gap: 25px;
        grid-template-columns: 40px 1fr 280px;
    }
}

@media screen and (max-width: 900px) {
    .home .layout {
        grid-template-columns: 1fr;
        padding-left: 100px;
    }

    .header-fixed {
        padding-bottom: 10px !important;
    }
}

@media screen and (max-width: 414px) {
    .sidebar-right {
        margin-top: 0 !important;
    }

    .site-footer .footer-content,
    .site-footer .footer-bottom {
        padding-left: 25px !important;
    }
}

@media screen and (max-width: 480px) {
    .sidebar-logo-box {
        max-width: 210px;
    }

    .sidebar-logo-box .logo-container svg {
        max-width: 30px;
    }
}

/* custom menu home */
.menu-content {
    display: flex;
    min-height: 320px;
    min-width: 690px;
}

.main-categories {
    width: 200px;
    padding: 24px;
    list-style: none;
    margin: 0;
}

.sub-menu-wrapper {
    flex: 1;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    max-height: 520px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    padding-top: 25px;
}

.sub-title {
    font-weight: 400;
    margin-bottom: -20px;
    /* color: #4eb0da; */
    color: #000;
    background-color: #4eb0da;
    width: max-content;
    padding: 5px 20px;
    border-radius: 999px;
    margin-right: 0;
    margin-left: auto;
    opacity: 0.8;
    pointer-events: none;
}

.main-categories li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 12px;
    color: #a0b1ba;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.main-categories li:hover {
    /* background: rgba(78, 176, 218, .12); */
    color: #4eb0da;
    /* font-weight: 600; */
}

.main-categories li.active {
    /* pointer-events: none; */
}

.main-categories li::before {
    content: "";
    width: calc(100% - 12px);
    height: 1px;
    position: absolute;
    bottom: -2px;
    left: 12px;
    opacity: 0;
    background-color: #a0b1ba;
}

.main-categories li.active::before {
    opacity: 1;
}

.main-categories li.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 14px 0;
    padding: 0;
    cursor: default;
    pointer-events: none;
}

.sub-categories {
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 15px; */
    display: block;
}

@media screen and (min-width: 1900px) {
    .sub-categories {
        grid-template-columns: 1fr 1fr 1fr;
    }

}

.sub-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 3.5px 5px;
    border-radius: 7.5px;
    /* background: rgba(255, 255, 255, 0.02); */
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    transition: background 140ms ease, border-color 140ms ease;
}

.sub-label {
    font-size: .95rem;
    font-weight: 500;
    color: rgba(160, 177, 186, .9);
}

.group-divider {
    grid-column: 1 / -1;
    margin: 16px 0 6px;
    margin-top: 0;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: #a0b1ba;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 6px;
}

.sub-item:hover,
.sub-item:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);

}

.sub-item:hover .sub-label,
.sub-item:focus-visible .sub-label {
    color: #fff;
}

.badge {
    font-size: .7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.badge[data-badge="data"] {
    background: rgba(255, 255, 255, .20);
}

.sub-categories.active .group-divider {
    color: #4eb0da;
    font-size: 0.95rem;
}

.all-btn-cate {
    border: 1px solid rgba(255, 255, 255, .2);
    background: transparent;
    color: var(--text-color);
    padding: 5px 20px;
    border-radius: 999px;
    font-size: .9rem;
    cursor: pointer;
    min-height: 26px;
    width: max-content;
    text-transform: initial;
}

.group-divider {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-cat-menu {
    font-weight: 600;
    margin-bottom: 0;
    color: #4eb0da;
    font-size: 15px;
}


.wrap-category-all .sub-categories {
    display: block;
    margin-bottom: 15px;
}

.categories-list-home {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.wrap-category-all .categories-list-home {
    padding-bottom: 10px;
}

.categories-list-home .sub-item {
    width: calc((100% - 30px) / 3);
}

.wrap-category-all {
    display: none;
}

.wrap-category-all.active {
    display: block;
}

.sub-categories.active {
    display: block;
}

.sub-categories {
    display: none;
}

@media screen and (max-width: 1200px) {
    .categories-list-home .sub-item {
        width: calc((100% - 15px) / 2);
    }

    .menu-content {
        min-height: unset;
        min-width: unset;
    }
}

@media screen and (max-width: 767px) {
    .menu-content {
        flex-wrap: wrap;
    }

    .sub-menu-wrapper {
        padding-right: 15px;
        padding-left: 15px;
        width: 100%;
    }

    .all-btn-cate {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hamburger-menu ul {
        padding-right: 10px;
        padding-left: 10px;
    }
}