body.portal-shell {
    background-color: #f5f8ff;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 246, 255, 0.94) 100%),
        url('../img/banner/hero_bg.jpg');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

.portal-shell .scroll__top,
.index-two-home .scroll__top {
    display: none;
}

.portal-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding-top: 12px;
    background: transparent;
}

.portal-header .tgmenu__wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(18, 36, 92, 0.14);
}

.portal-header .tgmenu__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 0;
}

.portal-header .mobile-nav-toggler {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border: 1px solid rgba(20, 99, 255, 0.08);
    border-radius: 16px;
    background: #e8f0ff;
    cursor: pointer;
    transition: background 0.18s ease;
}

.portal-header .mobile-nav-toggler:hover {
    background: #dbe7ff;
}

.portal-header .mobile-nav-toggler span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #12245c;
}

.tgmobile__menu .close-btn svg {
    vertical-align: middle;
}

.tgmobile__menu-backdrop {
    z-index: 990;
}

.portal-header .logo img,
.portal-footer .footer__logo img {
    display: block;
    max-height: 40px;
    width: auto;
}

.header-search-form,
.hero-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search-form {
    flex: 0 1 640px;
    min-width: 0;
    margin-left: auto;
}

.search-field {
    position: relative;
    flex: 1 1 auto;
}

.search-field svg {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #6e86b2;
    pointer-events: none;
}

.search-field input,
.search-field select {
    width: 100%;
    height: 46px;
    padding: 0 16px 0 46px;
    border: 0;
    outline: none;
    border-radius: 16px;
    background: #e8f0ff;
    color: #12245c;
    font-size: 14px;
    font-weight: 600;
}

.portal-header .search-field input {
    border: 1px solid rgba(20, 99, 255, 0.08);
}

.portal-search-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(18, 36, 92, 0.12);
    box-shadow: 0 20px 40px rgba(18, 36, 92, 0.12);
}

.portal-search-suggestions[hidden] {
    display: none !important;
}

.portal-search-suggestion,
.portal-search-empty {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
}

.portal-search-suggestion {
    color: #12245c;
    transition: background 0.18s ease, color 0.18s ease;
}

.portal-search-suggestion:hover,
.portal-search-suggestion.is-active {
    background: #eef4ff;
    color: #0d46c4;
}

.portal-search-suggestion__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.portal-search-suggestion__text strong {
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.portal-search-suggestion__meta,
.portal-search-suggestion__desc,
.portal-search-empty {
    color: #5d6f93;
    font-size: 12px;
    line-height: 1.45;
}

.portal-search-suggestion__desc {
    display: block;
}

.portal-btn,
.portal-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 46px;
    padding: 10px 18px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.portal-btn {
    border: 0;
    background: linear-gradient(135deg, #1463ff 0%, #0d46c4 100%);
    color: #fff;
}

.portal-btn:hover {
    color: #fff;
    background: linear-gradient(135deg, #1058df 0%, #0a389c 100%);
}

.portal-ghost-btn {
    border: 1px solid rgba(20, 99, 255, 0.2);
    background: rgba(255, 255, 255, 0.92);
    color: #12306f;
}

.portal-ghost-btn:hover {
    color: #1463ff;
    border-color: rgba(20, 99, 255, 0.24);
}

.portal-footer {
    position: relative;
    padding-bottom: 18px;
    background: linear-gradient(180deg, rgba(245, 248, 255, 0) 0%, rgba(244, 248, 255, 0.92) 28%, #f4f8ff 100%);
}

.portal-footer .footer__top-two {
    margin-top: 0;
    padding: 24px 0 18px;
    border-top: 1px solid rgba(18, 36, 92, 0.08);
}

.portal-footer .footer__content p {
    max-width: 100%;
    margin: 12px 0 0;
    color: #506483;
    font-size: 13px;
    line-height: 1.65;
}

.portal-footer .footer__widget-title {
    margin-bottom: 12px;
    color: #12245c;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.portal-footer .footer__link li + li {
    margin-top: 8px;
}

.portal-footer .footer__link a,
.portal-footer .footer__contact a {
    color: #4d6286;
    font-size: 13px;
    font-weight: 500;
}

.portal-footer .footer__link a:hover,
.portal-footer .footer__contact a:hover {
    color: #1463ff;
}

.portal-footer .footer__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 14px;
}

.portal-footer .footer__bottom {
    padding: 14px 0 0;
    border-top: 1px solid rgba(18, 36, 92, 0.08);
    background: transparent;
}

.portal-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.portal-footer__copy,
.portal-footer__mini-nav a {
    color: #6a7a9c;
    font-size: 12px;
    font-weight: 500;
}

.portal-footer__copy {
    margin: 0;
}

.portal-footer__mini-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.portal-footer__mini-nav a:hover {
    color: #1463ff;
}

body.index-two-home {
    background-color: #f5f8ff;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 246, 255, 0.9) 100%),
        url('../img/banner/hero_bg.jpg');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

.index-two-home .portal-banner {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 0 34px;
    background: transparent;
    overflow: hidden;
}

.index-two-home .portal-banner::before {
    content: "";
    position: absolute;
    right: 9%;
    top: 50%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 99, 255, 0.22), rgba(20, 99, 255, 0.08) 52%, transparent 72%);
    transform: translateY(-50%);
    filter: blur(8px);
    pointer-events: none;
}

.index-two-home .portal-banner .banner__content {
    width: 100%;
    max-width: 100%;
    padding-right: 24px;
}

.index-two-home .portal-banner .banner__content .sub-title {
    margin-bottom: 10px;
    color: #1463ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.index-two-home .portal-banner .banner__content .title {
    margin-bottom: 10px;
    color: #12245c;
    max-width: 760px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.index-two-home .portal-banner .banner__content p {
    max-width: 760px;
    margin-bottom: 14px;
    color: #5d6f93;
    font-size: 14px;
    line-height: 1.55;
}

.index-two-home .hero-search-form {
    max-width: 760px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(20, 99, 255, 0.1);
}

.index-two-home .hero-search-form .search-field input {
    height: 50px;
    font-size: 14px;
}

.index-two-home .hero-search-form .portal-btn {
    min-width: 156px;
    height: 50px;
}

.index-two-home .portal-banner .banner__img {
    position: relative;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.index-two-home .portal-banner .banner__img img {
    width: 100%;
    max-width: 100%;
    max-height: 640px;
    margin-left: auto;
    margin-top: -12px;
    filter: drop-shadow(0 28px 42px rgba(20, 99, 255, 0.14));
    object-fit: contain;
}

.index-two-home .portal-topics {
    margin-top: 14px;
    max-width: 860px;
}

.index-two-home .portal-topics__label {
    display: block;
    margin-bottom: 8px;
    color: #12245c;
    font-size: 12px;
    font-weight: 700;
}

.index-two-home .portal-topics__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.index-two-home .portal-topics__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 99, 255, 0.08);
    color: #4f6287;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.index-two-home .portal-topics__item:hover {
    color: #1463ff;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(20, 99, 255, 0.14);
}

.index-two-home .portal-topics--new {
    margin-top: 10px;
}

.index-two-home .portal-topics__label--new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(20, 99, 255, 0.08);
    color: #1463ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.index-two-home .portal-topics__label--new::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1463ff;
}

.index-two-home .portal-topics__item--new {
    background: rgba(237, 244, 255, 0.92);
    color: #35507f;
    border-color: rgba(20, 99, 255, 0.08);
    font-weight: 600;
}

.index-two-home .portal-topics__item--new:hover {
    background: #fff;
    color: #1463ff;
    border-color: rgba(20, 99, 255, 0.14);
}

.index-two-home .portal-banner .overlay__text-two {
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(18, 36, 92, 0.05);
    font-size: clamp(74px, 13vw, 190px);
    line-height: 0.8;
    white-space: nowrap;
    pointer-events: none;
}

.search-state {
    padding: 90px 0 110px;
    background:
        linear-gradient(180deg, rgba(247, 248, 252, 0.96), rgba(247, 248, 252, 1)),
        url('../img/bg/breadcrumb_bg.jpg') center/cover no-repeat;
}

.search-state__card {
    max-width: 860px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.search-state__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 92, 27, 0.1);
    color: #ff5c1b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-state__card h1 {
    margin-bottom: 16px;
    color: #0f172a;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.1;
}

.search-state__card p {
    margin-bottom: 28px;
    color: #475467;
    font-size: 17px;
    line-height: 1.8;
}

.search-state__query {
    color: #ff5c1b;
}

.search-state__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.search-state__actions .tg-btn {
    border-radius: 16px;
}

.search-state__actions .ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 16px 28px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #0f172a;
    font-weight: 700;
    background: #fff;
}

.search-state__actions .ghost-btn:hover {
    border-color: #ff5c1b;
    color: #ff5c1b;
}

.search-page {
    padding: 24px 0 84px;
}

.search-page__hero {
    margin-bottom: 22px;
    padding: 30px 32px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 36, 92, 0.1);
    box-shadow: 0 20px 60px rgba(18, 36, 92, 0.08);
}

.search-page__eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(20, 99, 255, 0.1);
    color: #1463ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.search-page__hero h1 {
    margin-bottom: 10px;
    color: #12245c;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.search-page__hero p {
    max-width: 780px;
    margin: 0;
    color: #5d6f93;
    font-size: 15px;
    line-height: 1.7;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.search-result-card,
.search-empty-state {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(18, 36, 92, 0.1);
    box-shadow: 0 20px 50px rgba(18, 36, 92, 0.06);
}

.search-result-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.search-result-card__meta span,
.search-empty-state__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(20, 99, 255, 0.08);
    color: #1463ff;
    font-size: 11px;
    font-weight: 700;
}

.search-result-card h2,
.search-empty-state h2 {
    margin-bottom: 12px;
    color: #12245c;
    font-size: 24px;
    line-height: 1.2;
}

.search-result-card p,
.search-empty-state p {
    margin-bottom: 18px;
    color: #5d6f93;
    font-size: 14px;
    line-height: 1.7;
}

.search-result-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 124px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1463ff 0%, #0d46c4 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.search-result-card__link:hover {
    color: #fff;
    background: linear-gradient(135deg, #1058df 0%, #0a389c 100%);
}

.search-empty-state__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-empty-state__list a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(237, 244, 255, 0.92);
    border: 1px solid rgba(20, 99, 255, 0.08);
    color: #35507f;
    font-size: 12px;
    font-weight: 600;
}

.search-empty-state__list a:hover {
    color: #1463ff;
    background: #fff;
}

.tool-page {
    padding: 26px 0 72px;
}

.tool-hero {
    margin-bottom: 24px;
    padding: 26px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(18, 36, 92, 0.1);
}

.tool-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: #506483;
    font-size: 12px;
    font-weight: 600;
}

.tool-breadcrumbs a:hover {
    color: #1463ff;
}

.tool-hero h1 {
    margin-bottom: 12px;
    color: #12245c;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.tool-hero p {
    max-width: 760px;
    margin: 0;
    color: #49607f;
    font-size: 16px;
    line-height: 1.8;
}

.tool-card,
.sidebar-card,
.seo-card {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 36, 92, 0.1);
}

.tool-card {
    padding: 28px;
}

.tool-card__header {
    margin-bottom: 22px;
}

.tool-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(20, 99, 255, 0.12);
    color: #1052df;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tool-card__header h2 {
    margin-bottom: 8px;
    color: #12245c;
    font-size: 28px;
}

.tool-card__header p {
    margin: 0;
    color: #4d6286;
    font-size: 14px;
    line-height: 1.7;
}

.calculator-grid {
    display: grid;
    gap: 18px;
}

.calculator-fieldset {
    margin: 0;
}

.calculator-fieldset legend,
.calculator-label {
    margin-bottom: 10px;
    color: #12245c;
    font-size: 14px;
    font-weight: 700;
}

.choice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.choice-grid input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-grid label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #eef4ff;
    border: 1px solid transparent;
    color: #395273;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.choice-grid input:checked + label {
    color: #12306f;
    background: rgba(20, 99, 255, 0.16);
    border-color: rgba(20, 99, 255, 0.28);
}

.calculator-inputs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, 180px);
    gap: 14px;
}

.tool-input,
.tool-select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(18, 36, 92, 0.12);
    border-radius: 16px;
    background: #eef4ff;
    color: #12245c;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

.tool-select {
    appearance: none;
}

.tool-select:disabled,
.tool-input:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.calculator-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.calculator-message {
    display: none;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(20, 99, 255, 0.12);
    color: #12306f;
    font-size: 13px;
    font-weight: 600;
}

.calculator-message.is-visible {
    display: block;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.result-item {
    padding: 18px 18px 16px;
    border-radius: 20px;
    background: #f1f6ff;
    border: 1px solid rgba(18, 36, 92, 0.1);
}

.result-item__label {
    display: block;
    margin-bottom: 8px;
    color: #4f6487;
    font-size: 12px;
    font-weight: 700;
}

.result-item__value {
    color: #12245c;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
}

.seo-card {
    margin-top: 22px;
    padding: 28px;
}

.seo-content h2 {
    margin: 28px 0 12px;
    color: #12245c;
    font-size: 24px;
    line-height: 1.2;
}

.seo-content h2:first-child {
    margin-top: 0;
}

.seo-content p {
    margin: 0;
    color: #485f80;
    font-size: 15px;
    line-height: 1.85;
}

.sidebar-stack {
    display: grid;
    gap: 18px;
}

.sidebar-card {
    padding: 24px;
}

.sidebar-card h3 {
    margin-bottom: 14px;
    color: #12245c;
    font-size: 20px;
}

.sidebar-card p {
    margin-bottom: 0;
    color: #4d6286;
    font-size: 14px;
    line-height: 1.75;
}

.sidebar-list {
    display: grid;
    gap: 12px;
}

.sidebar-list a {
    display: block;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f1f6ff;
    color: #18336d;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    border: 1px solid rgba(18, 36, 92, 0.1);
}

.sidebar-list a span {
    display: block;
    margin-top: 6px;
    color: #5f7394;
    font-size: 12px;
    font-weight: 500;
}

.sidebar-list a:hover {
    border-color: rgba(20, 99, 255, 0.18);
    color: #1463ff;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(20, 99, 255, 0.12);
    color: #1052df;
    font-size: 12px;
    font-weight: 700;
}

.category-page {
    padding: 26px 0 72px;
}

.category-hero,
.category-card,
.category-side-card {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(18, 36, 92, 0.08);
}

.category-hero {
    margin-bottom: 24px;
    padding: 26px 28px;
}

.category-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(20, 99, 255, 0.08);
    color: #1463ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.category-hero h1 {
    margin-bottom: 12px;
    color: #12245c;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.category-hero p {
    margin: 0;
    color: #5d6f93;
    font-size: 15px;
    line-height: 1.8;
}

.category-grid {
    display: grid;
    gap: 16px;
}

.category-card {
    padding: 22px 24px;
}

.category-card h2 {
    margin-bottom: 10px;
    color: #12245c;
    font-size: 22px;
}

.category-card p {
    margin: 0 0 16px;
    color: #5d6f93;
    font-size: 14px;
    line-height: 1.75;
}

.category-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(20, 99, 255, 0.08);
    color: #1463ff;
    font-size: 11px;
    font-weight: 700;
}

.category-card__link {
    color: #12306f;
    font-size: 13px;
    font-weight: 700;
}

.category-card__link:hover {
    color: #1463ff;
}

.category-side-stack {
    display: grid;
    gap: 18px;
}

.category-side-card {
    padding: 24px;
}

.category-side-card h3 {
    margin-bottom: 14px;
    color: #12245c;
    font-size: 20px;
}

.category-side-card p {
    color: #5d6f93;
    font-size: 14px;
    line-height: 1.75;
}

.category-side-list {
    display: grid;
    gap: 10px;
}

.category-side-list a {
    display: block;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f7faff;
    color: #18336d;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(18, 36, 92, 0.06);
}

.category-side-list a:hover {
    color: #1463ff;
    border-color: rgba(20, 99, 255, 0.18);
}

.salary-mode-switch {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
}

.salary-mode-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.salary-mode-switch label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #eef4ff;
    border: 1px solid rgba(18, 36, 92, 0.08);
    color: #35507a;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.salary-mode-switch input:checked + label {
    background: linear-gradient(135deg, #1463ff 0%, #0d46c4 100%);
    border-color: transparent;
    color: #fff;
}

.salary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.salary-grid--single {
    grid-template-columns: 1fr;
}

.salary-form-hint {
    margin: -2px 0 0;
    color: #5d6f93;
    font-size: 13px;
    line-height: 1.6;
}

.salary-summary {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
}

.salary-summary__hero {
    padding: 22px 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0f4fe0 0%, #0d46c4 100%);
    color: #fff;
}

.salary-summary__hero span {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.salary-summary__hero strong {
    display: block;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.salary-detail-card {
    padding: 18px;
    border-radius: 20px;
    background: #f1f6ff;
    border: 1px solid rgba(18, 36, 92, 0.1);
}

.salary-detail-card__label {
    display: block;
    margin-bottom: 8px;
    color: #4f6487;
    font-size: 12px;
    font-weight: 700;
}

.salary-detail-card__value {
    color: #12245c;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
}

.salary-results-panel {
    display: grid;
    gap: 14px;
}

.salary-results-panel__header {
    display: grid;
    gap: 6px;
}

.salary-results-panel__header h3 {
    margin: 0;
    color: #12245c;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.salary-results-panel__header p {
    margin: 0;
    color: #5d6f93;
    font-size: 13px;
    line-height: 1.7;
}

.salary-table-card {
    border-radius: 24px;
    background: #f7faff;
    border: 1px solid rgba(18, 36, 92, 0.08);
    overflow: hidden;
}

.salary-table-card__empty {
    padding: 20px 22px;
    color: #5d6f93;
    font-size: 14px;
    font-weight: 600;
}

.salary-table-scroll {
    overflow-x: auto;
}

.salary-matrix {
    width: 100%;
    min-width: 1280px;
    border-collapse: collapse;
}

.salary-matrix thead th {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(18, 36, 92, 0.1);
    color: #12245c;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
    vertical-align: bottom;
    background: #f7faff;
}

.salary-matrix thead th:first-child,
.salary-matrix tbody td:first-child,
.salary-matrix tfoot td:first-child {
    text-align: left;
}

.salary-matrix tbody td,
.salary-matrix tfoot td {
    padding: 14px;
    border-bottom: 1px solid rgba(18, 36, 92, 0.08);
    color: #223a66;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
}

.salary-matrix tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.62);
}

.salary-matrix td.is-label,
.salary-matrix tfoot td.is-label {
    color: #12245c;
    font-weight: 700;
}

.salary-matrix tfoot td {
    background: #edf3ff;
    color: #12245c;
    font-weight: 700;
}

.salary-note {
    margin-top: 16px;
    color: #5d6f93;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .portal-header {
        padding-top: 12px;
    }

    .portal-header .tgmenu__wrap {
        display: grid;
        grid-template-columns: 1fr 46px;
        grid-template-areas:
            "logo toggler"
            "search search";
        align-items: center;
        gap: 10px 14px;
        padding: 12px;
    }

    .portal-header .tgmenu__nav {
        display: contents;
    }

    .portal-header .tgmenu__wrap .logo {
        grid-area: logo;
    }

    .portal-header .mobile-nav-toggler {
        grid-area: toggler;
    }

    .header-search-form,
    .hero-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .header-search-form {
        grid-area: search;
        width: 100%;
        margin-left: 0;
    }

    .index-two-home .portal-banner {
        min-height: auto;
        padding: 28px 0 24px;
        height: auto;
    }

    .index-two-home .portal-banner .banner__content {
        max-width: 100%;
        text-align: center;
        padding-right: 0;
    }

    .index-two-home .portal-banner .banner__content p,
    .index-two-home .hero-search-form {
        max-width: 100%;
    }

    .index-two-home .portal-banner .banner__img {
        margin-top: 24px;
        text-align: center;
        justify-content: center;
    }

    .index-two-home .portal-banner .banner__img img {
        max-width: 430px;
        max-height: none;
        margin: 0 auto;
    }

    .index-two-home .portal-banner .overlay__text-two {
        font-size: clamp(72px, 18vw, 150px);
    }

    .portal-footer .footer__top-two {
        padding: 20px 0 14px;
    }

    .portal-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .tool-page,
    .category-page,
    .search-page {
        padding: 20px 0 56px;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
    }

    .salary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .portal-header {
        position: static;
        top: auto;
    }

    .portal-header .logo img,
    .portal-footer .footer__logo img {
        max-height: 38px;
    }

    .search-field input {
        height: 46px;
        font-size: 13px;
    }

    .portal-btn,
    .portal-ghost-btn {
        width: 100%;
        min-width: 0;
        height: 46px;
    }

    .index-two-home .portal-banner .banner__content .title {
        font-size: clamp(26px, 8vw, 36px);
    }

    .index-two-home .portal-banner .banner__content p {
        font-size: 13px;
    }

    .index-two-home .hero-search-form .search-field input,
    .index-two-home .hero-search-form .portal-btn {
        height: 50px;
    }

    .index-two-home .portal-banner .banner__img img {
        max-width: 330px;
        margin-top: 0;
    }

    .portal-footer .footer__content p,
    .portal-footer .footer__link a,
    .portal-footer .footer__contact a {
        font-size: 12px;
    }

    .portal-footer__mini-nav {
        gap: 12px;
        flex-wrap: wrap;
    }

    .search-state {
        padding: 72px 0 84px;
    }

    .search-page__hero,
    .search-state__card {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .search-state__actions a,
    .search-state__actions button {
        width: 100%;
    }

    .search-result-card,
    .search-empty-state,
    .tool-hero,
    .tool-card,
    .seo-card,
    .sidebar-card,
    .category-hero,
    .category-card,
    .category-side-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .calculator-inputs,
    .result-grid {
        grid-template-columns: 1fr;
    }

    .tool-hero p,
    .seo-content p,
    .category-hero p {
        font-size: 14px;
    }

    .salary-mode-switch {
        grid-template-columns: 1fr;
    }

    .salary-summary__hero {
        padding: 20px 18px;
        border-radius: 22px;
    }

    .salary-results-panel__header h3 {
        font-size: 26px;
    }

    .salary-table-card {
        border-radius: 20px;
    }
}
