:root {
    --blue: #00508F;
    --blue-mid: #0076CE;
    --blue-deep: #003A66;
    --blue-light: #EBF5FF;
    --gold: #C9A227;
    --gold-dark: #A4841A;
    --dark: #1E293B;
    --muted: #64748B;
    --border: #E2E8F0;
    --bg: #F8FAFC;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
}

.pq-portal a {
    text-decoration: none;
    transition: all 0.25s ease;
}

.pq-portal a:hover {
    text-decoration: none;
}

.MSW-menu-mobile,
.all-mobile {
    background: var(--blue);
}

@media (max-width: 991.98px) {
    .header-all {
        overflow: visible;
    }

    .header-all > .all-mobile {
        position: relative;
        z-index: 1200;
        overflow: visible;
        margin-bottom: 0;
    }

    .header-all .MSW-menu-mobile,
    .header-all .dl-menuwrapper {
        overflow: visible;
        z-index: 1200;
    }

    .header-all .dl-menuwrapper .dl-menu.dl-menuopen {
        z-index: 1210;
    }

    .site-header {
        z-index: 1000;
    }
}

.div-principal > .site-content {
    padding-top: 28px;
    padding-bottom: 48px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.topbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: .8rem;
    font-weight: 700;
}

.topbar .date {
    color: var(--blue-mid);
    text-transform: uppercase;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar .right-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0;
}

.topbar .menu-link {
    color: var(--dark);
    padding: 2px 10px;
    border-left: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: .3px;
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    background: none;
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.topbar .menu-link:first-child {
    border-left: none;
}

.topbar .menu-link:hover {
    background: var(--blue-light);
    color: var(--blue);
    text-decoration: underline;
}

.topbar #mudaEstilo.btn {
    padding: 2px 10px;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.4;
    border-radius: 0;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.topbar .portal-link {
    color: var(--blue-mid);
    text-transform: uppercase;
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-weight: 700;
    font-size: .75rem;
    cursor: pointer;
    padding: 0 6px;
}

.topbar .portal-link:hover {
    color: var(--blue);
}

.sitemap-page {
    padding: 36px 0 56px;
}

.sitemap-page h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--blue);
    text-align: center;
    margin: 0 0 36px;
}

.sitemap-page .menu-h-ul4 {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 820px;
}

.sitemap-page .menu-h-ul4 > li {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 16px;
    padding: 14px 18px;
    box-shadow: var(--shadow-sm);
}

.sitemap-page .menu-h-ul4 > li > a {
    color: var(--blue);
    font-weight: 800;
    font-size: 1.05rem;
    display: block;
    padding: 4px 0 10px;
}

.sitemap-page .menu-h-ul4 .sub-1 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-page .menu-h-ul4 .sub-1 li {
    border-top: 1px solid var(--border);
    padding: 8px 4px;
}

.sitemap-page .menu-h-ul4 .sub-1 a {
    color: var(--dark);
    font-weight: 600;
    font-size: .92rem;
}

.sitemap-page .menu-h-ul4 .sub-1 a:hover {
    color: var(--blue-mid);
}

.brand-bar {
    background: var(--blue);
    border-bottom: 4px solid var(--gold);
    padding: 14px 0;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-logo-wrap img,
.brand-icon {
    height: 56px;
    width: 56px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    padding: 4px;
    flex-shrink: 0;
}

.brand-name {
    line-height: 1.15;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name .main-logo {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: .8px;
    color: #fff;
    text-transform: uppercase;
}

.brand-name .sub {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .4px;
    color: var(--gold);
    text-transform: uppercase;
    margin-top: 4px;
}

.brand-name .brand-note {
    font-size: .62rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .78);
    margin-top: 3px;
    line-height: 1.3;
    text-transform: none;
}

.search-box {
    display: flex;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    padding: 2px;
    width: 320px;
    max-width: 100%;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 0;
}

.search-box input {
    border: none;
    padding: 6px 18px;
    font-size: .82rem;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    outline: none;
    font-weight: 500;
    color: var(--dark);
    background: transparent;
}

.search-box button {
    background: var(--blue-mid);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.search-box button:hover {
    background: var(--blue-deep);
}

.site-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.site-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.site-nav ul li a {
    display: block;
    padding: 16px 18px;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--dark);
    letter-spacing: .4px;
    position: relative;
}

.site-nav ul li a:hover,
.site-nav ul li a.active,
.site-nav .pq-nav-pro > a {
    color: var(--blue-mid);
    background: var(--blue-light);
}

.site-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--blue-mid);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.site-nav ul li a:hover::after,
.site-nav ul li a.active::after,
.site-nav .pq-nav-pro > a::after {
    transform: scaleX(1);
}

.site-nav ul li.has-drop {
    position: relative;
}

.site-nav ul li.has-drop .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow-md);
    border-radius: 0 0 8px 8px;
    z-index: 999;
    padding: 6px 0;
}

.site-nav ul li.has-drop:hover .dropdown {
    display: block;
}

.site-nav ul li.has-drop .dropdown a {
    padding: 10px 20px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--dark);
}

.site-nav ul li.has-drop .dropdown a::after {
    display: none;
}

.site-nav ul li.has-drop .dropdown a:hover {
    background: var(--blue-light);
    color: var(--blue-mid);
    padding-left: 24px;
}

.pq-seal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--blue-deep), var(--blue));
    color: #fff;
    border: 1px solid rgba(201, 162, 39, .55);
    border-radius: 999px;
    padding: 8px 16px 8px 8px;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.pq-seal i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--blue-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pq-hero {
    background-color: var(--blue-deep);
    background-image: linear-gradient(115deg, rgba(8, 36, 68, .88) 0%, rgba(0, 80, 143, .72) 48%, rgba(12, 58, 102, .55) 100%), url('img/hero-previdencia.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    color: #fff;
    padding: 64px 0 56px;
    min-height: 340px;
    position: relative;
    overflow: hidden;
}

.pq-hero::after {
    content: none;
}

.pq-hero h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    margin: 14px 0 12px;
    line-height: 1.2;
}

.pq-hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, .88);
    max-width: 640px;
    margin: 0 0 22px;
    line-height: 1.6;
}

.sec {
    padding: 56px 0;
    scroll-margin-top: 96px;
}

.sec.alt {
    background: #fff;
}

.sec-head {
    max-width: 680px;
    margin: 0 auto 36px;
    text-align: center;
}

.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 14px;
}

.sec-eyebrow::before,
.sec-eyebrow::after {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.sec-title {
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 12px;
}

.sec-sub {
    font-size: .98rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.sec-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.sec-bar .ttl {
    border-left: 5px solid var(--blue-mid);
    padding-left: 14px;
}

.sec-bar .ttl .lbl {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--blue-mid);
}

.sec-bar .ttl h2 {
    font-size: clamp(1.2rem, 2.6vw, 1.6rem);
    font-weight: 800;
    color: var(--blue);
    text-transform: uppercase;
    margin: 2px 0 0;
}

.sec-bar .all,
.pq-sec-foot .all {
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--blue-mid);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.sec-bar .all:hover,
.pq-sec-foot .all:hover {
    gap: 11px;
    color: var(--blue);
}

.stats {
    position: relative;
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
    color: #fff;
    padding: 36px 0;
}

.stats-docs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.pq-svc {
    --primary: var(--blue-mid);
    --accent: var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    padding: 22px 14px 18px;
    border-radius: 16px;
    text-decoration: none !important;
    border: 1px solid #eef2f5;
    box-shadow: 0 4px 20px rgba(0, 80, 143, .12);
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
    min-height: 168px;
}

.pq-svc::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: opacity .3s ease;
}

.pq-svc:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 80, 143, .22);
    border-color: rgba(0, 118, 206, .35);
}

.pq-svc:hover::before {
    opacity: 1;
}

.pq-svc-ic {
    width: 56px;
    height: 56px;
    background: var(--blue-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--primary);
    transition: all .3s ease;
    margin: 0 0 14px;
    flex-shrink: 0;
}

.pq-svc:hover .pq-svc-ic {
    background: linear-gradient(135deg, var(--primary), var(--blue));
    color: #fff;
    border-radius: 50%;
    transform: scale(1.12);
}

.pq-svc h3 {
    font-size: .78rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: #1e293b;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.pq-svc:hover h3 {
    color: var(--primary);
}

.pq-svc span {
    font-size: .72rem;
    color: #8898aa;
    font-weight: 500;
    line-height: 1.35;
    display: block;
}

@media (max-width: 991px) {
    .stats-docs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .stats-docs {
        grid-template-columns: repeat(2, 1fr);
    }
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
}

.bol-grid,
.news-grid,
.pg-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.theme-card {
    padding: 26px 22px;
}

.bol-card {
    --acc: var(--blue-mid);
    --acc-bg: var(--blue-light);
}

.bol-card:hover {
    border-color: var(--acc);
}

.bol-top {
    background: var(--acc);
}

.bol-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none !important;
    min-height: 0;
}

.bol-cover {
    position: relative;
    height: 168px;
    overflow: hidden;
    background: var(--acc-bg);
    flex-shrink: 0;
}

.bol-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s ease;
}

.bol-card:hover .bol-cover img {
    transform: scale(1.06);
}

.bol-cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--acc) 0%, var(--blue-deep) 100%);
    color: rgba(255, 255, 255, .92);
    font-size: 2.8rem;
}

.bol-cover .bol-ic {
    position: absolute;
    left: 18px;
    bottom: -22px;
    margin: 0;
    z-index: 2;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.bol-cover + .bol-body {
    padding-top: 34px;
}

.bol-ic,
.theme-ic {
    color: var(--acc);
    background: var(--acc-bg);
}

.bol-kicker,
.bol-link,
.theme-more {
    color: var(--acc);
}

.pub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.pub-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
    text-decoration: none !important;
    color: inherit;
    transition: transform .28s ease, box-shadow .28s ease;
}

.pub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pub-ic {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--acc, var(--blue-mid));
    background: var(--acc-bg, var(--blue-light));
}

.pub-info h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 8px;
}

.pub-info p {
    font-size: .86rem;
    color: var(--muted);
    margin: 0 0 12px;
}

.pq-sec-admin {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.pq-admin-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    font-size: .8rem;
    cursor: pointer;
}

.pq-admin-btn:hover {
    background: var(--blue);
    color: #fff;
}

.bol-card,
.ncard,
.theme-card,
.pub-card {
    position: relative;
}

.bol-meta {
    font-size: .74rem;
    font-weight: 700;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px;
}

.pub-info a,
.pub-info span {
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--acc, var(--blue-mid));
}

.theme-card:hover .theme-ic {
    transform: scale(1.05) rotate(-4deg);
}

.pq-sec-foot {
    text-align: center;
    margin-top: 28px;
}

.bol-card,
.ncard,
.theme-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    text-decoration: none !important;
    color: inherit;
}

.bol-card,
.ncard {
    overflow: hidden;
}

.bol-card:hover,
.ncard:hover,
.theme-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--acc, var(--blue-mid));
}

.bol-top {
    height: 6px;
    background: var(--acc, var(--blue-mid));
    flex-shrink: 0;
}

.bol-body,
.theme-card {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bol-ic,
.theme-ic {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--acc, var(--blue-mid));
    background: var(--acc-bg, var(--blue-light));
    margin-bottom: 16px;
}

.bol-card:hover .bol-ic,
.theme-card:hover .theme-ic {
    background: var(--acc, var(--blue-mid));
    color: #fff;
}

.bol-kicker {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--acc, var(--blue-mid));
    margin-bottom: 8px;
}

.bol-card h3,
.theme-card h3,
.ncard h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 8px;
    line-height: 1.3;
}

.bol-card:hover h3,
.ncard:hover h3 {
    color: var(--blue-mid);
}

.bol-card p,
.theme-card p,
.ncard p {
    font-size: .86rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 16px;
    flex: 1;
}

.bol-link,
.ncard .more,
.theme-more {
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--acc, var(--blue-mid));
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.bol-card:hover .bol-link,
.ncard:hover .more {
    gap: 12px;
}

.ncard .bd {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ncard .time {
    font-size: .74rem;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 9px;
}

.ncard .img {
    height: 168px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--blue-mid), var(--blue-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .9);
    font-size: 2.2rem;
}

.ncard .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: start;
}

.pq-recent-grid {
    display: grid;
  
    gap: 18px;
}

.pq-recent {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 18px 18px 22px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 0 1px rgb(0 0 0 / 10%), 0 2px 6px rgb(0 0 0 / 3%);
    height: 100%;
    transition: box-shadow .25s ease, transform .25s ease;
}

.pq-recent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 80, 143, .08);
}

.pq-recent-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .8rem;
    letter-spacing: .4px;
    margin-bottom: 8px;
}

.pq-recent-meta a {
    text-transform: uppercase;
    font-weight: 800;
    color: var(--blue-mid);
    position: relative;
    z-index: 2;
}

.pq-recent-meta a:hover {
    color: var(--blue);
}

.pq-recent-meta .sep {
    font-size: .6rem;
    opacity: .55;
    color: var(--muted);
}

.pq-recent-meta .when {
    color: var(--muted);
}

.pq-recent h3 {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.pq-recent h3 a {
    color: var(--dark);
}

.pq-recent h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.pq-recent:hover h3 a {
    color: var(--blue);
}

.pq-recent p {
    font-size: .9rem;
    line-height: 1.35;
    color: #6c757d;
    margin: 0;
}

@media (max-width: 767px) {
    .pq-recent-grid {
        grid-template-columns: 1fr;
    }
}

.news-side {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 110px;
}

.widget {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--blue);
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--blue-light);
}

.widget-title i {
    color: var(--blue-mid);
}

.widget.nl {
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    border: none;
}

.widget.nl .widget-title {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, .2);
}

.widget.nl p,
.widget.nl li,
.widget.nl a {
    color: rgba(255, 255, 255, .9);
}

.rank-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #F1F5F9;
    color: inherit;
}

.rank-item:last-child {
    border-bottom: none;
}

.rank-item .n {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rank-item .rt {
    font-size: .85rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
}

.rank-item:hover .rt {
    color: var(--blue-mid);
}

.rank-item .rtime {
    font-size: .72rem;
    color: var(--muted);
    font-weight: 600;
}

.pg-group {
    margin-bottom: 42px;
}

.pg-group h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--blue);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 72px 0 28px;
    border-top: 5px solid var(--gold);
}

.site-footer h5 {
    color: #fff;
    font-size: .85rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 1px;
    position: relative;
}

.site-footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--gold);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 12px;
}

.site-footer ul li a {
    color: #94a3b8;
    font-size: .88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-footer ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-brand-text {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: .6px;
    color: #fff;
    line-height: 1;
}

.footer-brand-sub {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
    margin: 8px 0 14px;
}

.site-footer p.about-text {
    font-size: .85rem;
    line-height: 1.6;
    color: #64748b;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding-top: 24px;
    margin-top: 44px;
    font-size: .82rem;
    color: #475569;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 991px) {
    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-side {
        position: static;
    }

    .site-nav ul {
        overflow-x: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .brand-logo-wrap img,
    .brand-icon {
        height: 48px;
        width: 48px;
    }

    .brand-name .main-logo {
        font-size: 1rem;
    }
}

@media (max-width: 991.98px) {
    .topbar {
        padding: 6px 0;
    }

    .topbar > .container {
        flex-wrap: nowrap;
        gap: 8px;
        min-width: 0;
        align-items: center;
    }

    .topbar .date {
        font-size: .65rem;
        letter-spacing: 0;
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .topbar .date i {
        flex-shrink: 0;
    }

    .topbar .date span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }

    .topbar .right-meta {
        flex: 0 0 auto;
        flex-wrap: nowrap;
        justify-content: flex-end;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .topbar .right-meta::-webkit-scrollbar {
        display: none;
    }

    .topbar .menu-link {
        padding: 6px 8px;
        font-size: .7rem;
        gap: 0;
        flex-shrink: 0;
        min-height: 32px;
        justify-content: center;
    }

    .topbar .menu-link-label {
        display: none;
    }

    .topbar .menu-link i {
        font-size: .95rem;
    }

    .topbar .portal-link span {
        display: none;
    }
}

@media (max-width: 767px) {

    .brand-bar .container {
        position: relative;
        min-height: 48px;
    }

    .search-box {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 38px;
        background: transparent;
        box-shadow: none;
        z-index: 5;
    }

    .search-box input {
        width: 0;
        padding: 0;
        opacity: 0;
    }

    .search-box:focus-within {
        width: calc(100% - 32px);
        background: #fff;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .search-box:focus-within input {
        width: 100%;
        padding: 6px 18px;
        opacity: 1;
    }

    .brand-name .brand-note {
        display: none;
    }
}
