/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #d9ecf8;
    background-image:
        linear-gradient(
            180deg,
            rgba(232, 245, 255, 0.72) 0%,
            rgba(234, 247, 255, 0.82) 42%,
            rgba(234, 247, 255, 0.94) 100%
        ),
        url("/img/hero/home-hero-yerevan-640.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 18%;
    background-attachment: scroll;
    position: relative;
}

.page-wings {
    position: absolute;
    inset: 0 0 auto;
    height: min(720px, 90vh);
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.page-wing {
    position: absolute;
    top: 92px;
    width: max(110px, calc((100vw - 1240px) / 2 - 32px));
    max-width: 210px;
    color: #07396c;
}

.page-wing--left {
    left: clamp(16px, 2.4vw, 42px);
}

.page-wing--right {

    right: clamp(16px, 2.4vw, 42px);
    text-align: center;
}

.page-wing__slogan {
    margin: 0;
    font-size: clamp(0.88rem, 1vw, 1.12rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.01em;
    color: #07396c;
}

.page-wing--right .page-wing__slogan {
    display: flex;
    flex-direction: column;
    gap: 1.15em;
    font-size: clamp(0.68rem, 0.76vw, 0.82rem);
    font-weight: 600;
    line-height: 1.35;
}

.page-wing__pair {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12em;
}

.page-wing__pair strong {
    display: block;
    font-size: 1.42em;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.page-wing__rule {
    display: block;
    width: 52px;
    height: 2px;
    margin-top: 14px;
    background: linear-gradient(90deg, #07396c, rgba(7, 57, 108, 0));
}

.page-wing__rule--right {
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, rgba(7, 57, 108, 0.15), #07396c, rgba(7, 57, 108, 0.15));
}

@media (max-width: 1479px) {
    .page-wings {
        display: none;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Header Styles */
.main-header {
    background: #07396c;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
}

.main-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.main-nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: #E6F3FF;
    background-color: rgba(255,255,255,0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    color: white;
}

.action-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.action-btn:hover {
    background-color: rgba(255,255,255,0.1);
}


.header-calc-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-calc-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 260px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1100;
}

.header-calc-panel[hidden] {
    display: none !important;
}

.header-calc-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

.header-calc-link:hover {
    background: rgba(0, 102, 204, 0.10);
    color: #004499;
}


.header-calc-link--important {
    color: #047857;
    background: rgba(4, 120, 87, 0.10);
}

.header-calc-link--important:hover {
    background: rgba(4, 120, 87, 0.18);
    color: #065f46;
}

.header-calc-trigger[aria-expanded="true"] {
    background-color: rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    .header-calc-panel {
        position: fixed;
        top: 68px;
        right: 12px;
        left: 12px;
        min-width: 0;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .header-calc-link {
        justify-content: center;
        text-align: center;
        white-space: normal;
    }
}

.search-btn.search-btn--open {
    background-color: rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* Search bar under header — same horizontal bounds as .main-header (no white into side gutters) */
.site-search-panel {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    z-index: 999;
    animation: siteSearchPanelIn 0.3s ease-out;
}

.site-search-panel[hidden] {
    display: none !important;
}

@keyframes siteSearchPanelIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-search-panel__container {
    padding: 18px 20px 20px;
}

.site-search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    max-width: 880px;
    margin: 0 auto;
}

.site-search-field {
    position: relative;
    flex: 1 1 240px;
    min-width: 0;
}

.site-search-field__icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-search-field__input {
    width: 100%;
    padding: 14px 18px 14px 48px;
    font-size: 1rem;
    line-height: 1.4;
    color: #0f172a;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search-field__input::placeholder {
    color: #94a3b8;
}

.site-search-field__input:hover {
    background: #eef2f7;
    border-color: #cbd5e1;
}

.site-search-field__input:focus {
    background: #ffffff;
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15);
}

.site-search-submit {
    flex-shrink: 0;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #ffffff;
    cursor: pointer;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #0b74e5 0%, #004499 100%);
    box-shadow: 0 4px 16px rgba(0, 68, 153, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.site-search-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 68, 153, 0.42);
    filter: brightness(1.03);
}

.site-search-submit:active:not(:disabled) {
    transform: translateY(0);
}

.site-search-submit:disabled {
    color: #94a3b8;
    cursor: not-allowed;
    background: #e2e8f0;
    box-shadow: none;
    filter: none;
    transform: none;
}

@media (max-width: 540px) {
    .site-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .site-search-submit {
        width: 100%;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.search-results-section__title {
    /* inherits unified .section-title; optional emphasis */
    font-size: clamp(1.25rem, 2.35vw, 1.6rem);
}

.search-hint,
.search-empty {
    color: #475569;
    margin-bottom: 16px;
    font-size: 1.02rem;
    line-height: 1.55;
    max-width: 42em;
}

.search-summary {
    color: #334155;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 500;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
}

.main-content .container {
    background-color: #EAF7FF;
    padding: 60px 20px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 48px rgba(15, 39, 68, 0.08);
}

.main-content .container.container--home {
    padding-top: 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.content-wrapper--full {
    grid-template-columns: 1fr;
}

.main-column {
    min-width: 0;
}

/* Breadcrumbs */
.site-breadcrumbs {
    margin: 0 0 22px;
    padding: 12px 18px 14px;
    background: linear-gradient(118deg, rgba(255, 255, 255, 0.98) 0%, rgba(234, 247, 255, 0.88) 55%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(0, 102, 204, 0.14);
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(0, 68, 153, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.site-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 4px;
    column-gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.45;
}

.site-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-width: 0;
}

/* Home + one crumb: keep one visual row; long label wraps inside */
.site-breadcrumbs__item:last-child:not(.site-breadcrumbs__item--final) {
    flex: 1 1 auto;
    min-width: 0;
    align-items: flex-start;
}

/* Home → … → long title: compact trail on first row, current page below */
.site-breadcrumbs__item--final {
    flex: 1 1 100%;
    width: 100%;
    align-items: flex-start;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 102, 204, 0.11);
    gap: 0;
}

.site-breadcrumbs__link {
    color: #0066cc;
    text-decoration: none !important;
    font-weight: 500;
    border-radius: 6px;
    padding: 2px 6px;
    margin: -2px -6px;
    transition: color 0.2s ease, background-color 0.2s ease;
    box-shadow: none;
}

.site-breadcrumbs__link:hover {
    color: #004499;
    background-color: rgba(0, 102, 204, 0.08);
    text-decoration: none !important;
}

.site-breadcrumbs__text {
    color: #475569;
    font-weight: 500;
}

.site-breadcrumbs__current {
    display: block;
    color: #0f2744;
    font-weight: 600;
    padding: 2px 0;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.site-breadcrumbs__item--final .site-breadcrumbs__current {
    font-size: 0.9375rem;
    line-height: 1.38;
    letter-spacing: -0.01em;
}

.site-breadcrumbs__sep {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: rgba(0, 102, 204, 0.35);
    font-size: 0.65rem;
    user-select: none;
}

.site-breadcrumbs__sep > i {
    min-width: 0.625em;
}

@media (max-width: 576px) {
    .site-breadcrumbs {
        padding: 10px 14px 12px;
        margin-bottom: 18px;
        border-radius: 10px;
    }

    .site-breadcrumbs__list {
        font-size: 0.8125rem;
    }

    .site-breadcrumbs__item--final {
        margin-top: 8px;
        padding-top: 8px;
    }

    .site-breadcrumbs__item--final .site-breadcrumbs__current {
        font-size: 0.875rem;
    }
}

/* Sidebar */
.sidebar {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section a {
    text-decoration: none;
}

.sidebar-section .article-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-title a {
    color: inherit;
}

.sidebar-title__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.sidebar-title__link--tags {
    color: #1d4ed8;
}

.sidebar-title__link--tags::after {
    content: "↗";
    font-size: 12px;
    line-height: 1;
    opacity: 0.75;
}

.sidebar-title__link--tags:hover {
    background: rgba(37, 99, 235, 0.10);
    color: #1e40af;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.22);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1e293b;
    text-align: center;
    letter-spacing: 0.01em;
}

.sidebar-currency {
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    border: 1px solid rgba(7, 57, 108, 0.12);
    border-radius: 12px;
    padding: 14px 12px 12px;
    box-shadow: 0 8px 22px rgba(15, 39, 68, 0.06);
}

.currency-rates-list {
    display: flex;
    flex-direction: column;
}

.currency-rate-item {
    display: grid;
    grid-template-columns: 22px minmax(2.4em, auto) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    min-width: 0;
    padding: 10px 4px;
    background: transparent;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(7, 57, 108, 0.08);
}

.currency-rate-item:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
}

.currency-rate-item__flag {
    display: inline-flex;
    width: 22px;
    height: 16px;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(15, 39, 68, 0.12);
}

.currency-rate-item__flag-svg {
    display: block;
    width: 22px;
    height: 16px;
}

.currency-rate-item__code {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #07396c;
}

.currency-rate-item__value {
    font-weight: 700;
    color: #07396c;
    font-size: 14px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.currency-rate-item__change {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    min-width: 4.6em;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.currency-rate-item__arrow {
    width: 8px;
    height: 7px;
    flex: 0 0 auto;
}

.currency-rate-item__change.is-up {
    color: #16a34a;
}

.currency-rate-item__change.is-down {
    color: #dc2626;
}

.currency-rate-item__change.is-flat {
    color: #64748b;
}

.currency-rates-updated {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
}

.currency-rates-empty {
    font-size: 14px;
    color: #64748b;
}

@media (max-width: 768px) {
    .currency-rate-item {
        column-gap: 10px;
        padding: 12px 2px;
    }

    .currency-rate-item__code {
        font-size: 14px;
    }

    .currency-rate-item__value {
        font-size: 15px;
    }

    .currency-rate-item__change {
        font-size: 13px;
        min-width: 5em;
    }
}

.sidebar-analysis-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 68, 153, 0.18);
    background: linear-gradient(135deg, #0066cc 0%, #07396c 100%);
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 20px rgba(7, 57, 108, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.sidebar-analysis-link:hover,
.sidebar-analysis-link:focus-visible {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(7, 57, 108, 0.28);
}

.sidebar-analysis-link:focus-visible {
    outline: 2px solid rgba(0, 102, 204, 0.45);
    outline-offset: 3px;
}

.sidebar-analysis-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.sidebar-calculators {
    background: linear-gradient(135deg, #ffffff 0%, #f6fbff 100%);
    border: 1px solid rgba(0, 102, 204, 0.14);
    border-radius: 10px;
    padding: 14px;
}

.sidebar-calculators .sidebar-title {
    margin-bottom: 10px;
}

.sidebar-section--articles,
.sidebar-section--tags {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.sidebar-section--articles .sidebar-title,
.sidebar-section--tags .sidebar-title {
    margin-bottom: 12px;
}

/* Keep sidebar article rows isolated from global .article-* styles used elsewhere */
.sidebar-section--articles .article-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-section--articles .article-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.sidebar-section--articles .article-item:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.25);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.sidebar-section--articles .article-image {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-section--articles .article-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.sidebar-section--articles .article-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.sidebar-section--articles .article-content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
}

.sidebar-section--articles .article-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #334155;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.currency-rates-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.currency-rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 8px;
}

.currency-rate-item__code {
    font-weight: 700;
    color: #004499;
}

.currency-rate-item__value {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.currency-rates-updated {
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
}

.currency-rates-empty {
    font-size: 14px;
    color: #64748b;
}

.sidebar-calculator-block {
    margin-top: 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-calculator-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 102, 204, 0.18);
    background: #ffffff;
    color: #004499;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sidebar-calculator-link:hover {
    background: #eef6ff;
    border-color: rgba(0, 102, 204, 0.32);
    transform: translateY(-1px);
}

.sidebar-calculator-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sidebar-calculator-link--secondary {
    color: #047857;
    border-color: rgba(4, 120, 87, 0.22);
}

.sidebar-calculator-link--secondary:hover {
    background: #ecfdf5;
    border-color: rgba(4, 120, 87, 0.35);
}

.sidebar-calculator-link--tertiary {
    color: #5b21b6;
    border-color: rgba(91, 33, 182, 0.22);
}

.sidebar-calculator-link--tertiary:hover {
    background: #f5f3ff;
    border-color: rgba(91, 33, 182, 0.38);
}

.sidebar-calculator-link--salary {
    color: #b45309;
    border-color: rgba(180, 83, 9, 0.22);
}

.sidebar-calculator-link--salary:hover {
    background: #fffbeb;
    border-color: rgba(180, 83, 9, 0.38);
}

.calc-switcher {
    margin: 0 0 18px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #dbe8f8;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.calc-switcher__title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
}

.calc-switcher__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.calc-switcher__link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #dbe2ea;
    background: #ffffff;
    color: #1e293b;
    transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.calc-switcher__link:hover {
    transform: translateY(-1px);
    border-color: #93c5fd;
    background: #eff6ff;
}

.calc-switcher__link--mortgage {
    color: #1d4ed8;
}

.calc-switcher__link--salary {
    color: #b45309;
}

.calc-switcher__link--loan {
    color: #047857;
}

.calc-switcher__link--tax {
    color: #5b21b6;
}

@media (max-width: 768px) {
    .calc-switcher__links {
        grid-template-columns: 1fr;
    }
}

/* === Blog / Articles Section === */
.article-section {
    margin-bottom: 40px;
}

.article-section .section-title {
    margin-bottom: 26px;
}

.article-section .tag-page-description {
    margin: 0 0 24px;
    max-width: 760px;
    color: #444;
    font-size: 1rem;
    line-height: 1.65;
}

/* Сетка из 3 карточек */
.article-section .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Карточка */
.article-section .article-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-section .article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* Изображение сверху */
.article-section .article-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.article-section .article-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.article-section .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Контент карточки */
.article-section .article-content {
    padding: 15px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

/* Заголовок */
.article-section .article-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    margin-bottom: 8px;
}

.article-section .article-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 0.72rem;
    line-height: 1;
    color: #64748b;
}

.article-section .article-meta svg {
    flex-shrink: 0;
}

/* Ссылка */
.article-section .article-link {
    color: #3b5af9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.article-section .article-link:hover {
    color: #1f3de6;
}

/* Адаптив */
@media (max-width: 1024px) {
    .article-section .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-section .article-image img {
        object-position: center top;
    }
}

@media (max-width: 768px) {
    .article-section .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-section .article-image {
        height: 210px;
    }

    .news-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .news-card {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* === Blog /End Articles Section === */

.article-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.article-image {
    width: 40px;
    height: 40px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.article-content {
    flex: 1;
}

.article-text {
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

.view-all-link {
    color: #0066CC;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
}

.view-all-link:hover {
    /*text-decoration: underline;*/
}

/* Promo Card */
.promo-card {
    background: linear-gradient(135deg, #0066CC, #004499);
    color: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.promo-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.promo-logo .logo-text {
    color: white;
    font-size: 20px;
}

.promo-text {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.promo-card__cta {
    display: inline-block;
    margin-top: 6px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
}

.promo-card__cta:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.65);
    transform: translateY(-1px);
}

/* Footer */
.main-footer {
    position: relative;
    z-index: 1;
    background: #07396c;
    padding: 36px 0 28px;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 1.05fr);
    gap: 32px 40px;
    align-items: start;
}

.footer-col--brand {
    min-width: 0;
}

.footer-logo .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.footer-tagline {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 22rem;
}

.footer-col__title {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav--stack {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.footer-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-link--inline {
    word-break: break-all;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-copy {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.footer-contact {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.footer-about {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.footer-link--more {
    font-weight: 700;
}

.footer-col--about .footer-link--more + .footer-link--more {
    display: inline-block;
    margin-top: 8px;
}

.legal-page {
    margin: 0 0 40px;
}

.legal-page .about-panel {
    margin-top: 0;
}

.legal-page h1 {
    margin: 0 0 12px;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
    color: #0b3a6e;
}

.legal-page h2 {
    margin: 28px 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.4;
    color: #0b3a6e;
}

.legal-page ul {
    margin: 0 0 16px;
    padding-left: 1.25rem;
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.7;
}

.legal-page li + li {
    margin-top: 6px;
}

.legal-page a {
    color: #0066cc;
    font-weight: 700;
    text-decoration: none;
}

.legal-page a:hover {
    color: #004499;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 28px 32px;
    }

    .footer-col--brand,
    .footer-col--about {
        grid-column: 1 / -1;
        max-width: 36rem;
    }
}

/* About page */
.about-page {
    margin: 0 0 40px;
}

.about-hero {
    position: relative;
    isolation: isolate;
    min-height: 300px;
    overflow: hidden;
    border-radius: 18px;
    background: #d7e6f4;
}

.about-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.about-hero__media,
.about-hero__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.about-hero__media img {
    object-fit: cover;
    object-position: 72% 40%;
}

.about-hero__bg::before,
.about-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.about-hero__bg::before {
    background: linear-gradient(
        90deg,
        #eaf7ff 0%,
        rgba(234, 247, 255, 0.94) 26%,
        rgba(234, 247, 255, 0.42) 52%,
        rgba(234, 247, 255, 0.06) 74%,
        rgba(234, 247, 255, 0) 88%
    );
}

.about-hero__bg::after {
    background: linear-gradient(
        180deg,
        rgba(234, 247, 255, 0.12) 0%,
        rgba(234, 247, 255, 0) 36%,
        rgba(234, 247, 255, 0.22) 78%,
        #eaf7ff 100%
    );
}

.about-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 32rem;
    padding: 36px 28px 48px;
}

.about-hero__kicker {
    margin: 0 0 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
}

.about-hero__kicker::after {
    content: "";
    display: block;
    width: 88px;
    height: 2px;
    margin-top: 10px;
    background: linear-gradient(90deg, #94a3b8, rgba(148, 163, 184, 0));
}

.about-hero__title {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4.6vw, 3.1rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #0b3a6e;
}

.about-hero__lead {
    margin: 0;
    max-width: 22em;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1e4d86;
}

.about-panel {
    position: relative;
    z-index: 1;
    margin-top: -22px;
    padding: 28px 28px 32px;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 39, 68, 0.1);
}

.about-panel p {
    margin: 0 0 16px;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #334155;
}

.about-panel p:last-child {
    margin-bottom: 0;
}

.about-panel__lead {
    font-size: 1.08rem;
    color: #1e293b;
}

.about-panel strong {
    color: #0b3a6e;
    font-weight: 800;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 8px 0 22px;
}

.about-highlight {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 100%;
    padding: 14px 14px 16px;
    text-decoration: none;
    color: inherit;
    background: #f4f9fd;
    border: 1px solid rgba(11, 58, 110, 0.08);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.about-highlight:hover,
.about-highlight:focus-visible {
    background: #fff;
    box-shadow: 0 10px 22px rgba(15, 39, 68, 0.1);
    transform: translateY(-2px);
}

.about-highlight:focus-visible {
    outline: 2px solid rgba(0, 102, 204, 0.55);
    outline-offset: 2px;
}

.about-highlight__label {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0b3a6e;
}

.about-highlight__text {
    font-size: 0.82rem;
    line-height: 1.4;
    color: #64748b;
}

.about-sources {
    margin: 8px 0 22px;
    padding: 20px 22px 8px;
    background: linear-gradient(180deg, #f4f9fd 0%, #eaf7ff 100%);
    border: 1px solid rgba(11, 58, 110, 0.08);
    border-radius: 14px;
}

.about-sources__title {
    margin: 0 0 12px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0b3a6e;
}

.about-sources a {
    color: #0066cc;
    font-weight: 700;
    text-decoration: none;
    word-break: break-all;
}

.about-sources a:hover {
    color: #004499;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.about-closing {
    margin: 0;
    padding-top: 6px;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.45;
    color: #0b3a6e;
}

@media (max-width: 900px) {
    .about-hero {
        min-height: 280px;
        border-radius: 14px;
    }

    .about-hero__bg::before {
        background: linear-gradient(
            180deg,
            rgba(234, 247, 255, 0.88) 0%,
            rgba(234, 247, 255, 0.42) 46%,
            rgba(234, 247, 255, 0.08) 100%
        );
    }

    .about-hero__inner {
        max-width: none;
        padding: 22px 18px 84px;
    }

    .about-hero__media img {
        object-position: 86% 36%;
    }

    .about-panel {
        margin-top: -16px;
        padding: 20px 16px 24px;
        border-radius: 14px;
    }

    .about-highlights {
        grid-template-columns: 1fr 1fr;
    }

    .about-sources {
        padding: 16px 14px 4px;
    }
}

@media (max-width: 560px) {
    .about-highlights {
        grid-template-columns: 1fr;
    }
}

/* Main Content Sections — decorative section headings (site blues) */
.section-title {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 22px 0;
    padding: 14px 26px 14px 20px;
    font-size: clamp(1.2rem, 2.15vw, 1.5rem);
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.02em;
    color: #0f2744;
    text-decoration: none;
    background: linear-gradient(
        110deg,
        rgba(0, 102, 204, 0.11) 0%,
        rgba(234, 247, 255, 0.94) 44%,
        rgba(255, 255, 255, 0.65) 100%
    );
    border-left: 4px solid #0066cc;
    border-radius: 0 16px 16px 0;
    box-shadow:
        0 2px 14px rgba(0, 68, 153, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.32s ease,
        background 0.32s ease,
        border-left-color 0.28s ease,
        color 0.28s ease;
}

.section-title::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        125deg,
        rgba(255, 255, 255, 0.55) 0%,
        transparent 45%,
        rgba(78, 159, 224, 0.06) 100%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: 9px;
    height: 3px;
    width: 56px;
    max-width: 38%;
    background: linear-gradient(90deg, #0066cc, #4e9fe0);
    border-radius: 3px;
    opacity: 0.75;
    transform: scaleX(0.28);
    transform-origin: left center;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
    .section-title:hover,
    a.section-title:visited:hover {
        transform: translateX(6px) translateY(-2px);
        color: #004499;
        border-left-color: #004499;
        background: linear-gradient(
            110deg,
            rgba(0, 102, 204, 0.18) 0%,
            rgba(234, 247, 255, 1) 50%,
            #ffffff 100%
        );
        box-shadow:
            0 14px 36px rgba(0, 82, 168, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 1);
    }

    .section-title:hover::before {
        opacity: 1;
    }

    .section-title:hover::after {
        transform: scaleX(1);
        opacity: 1;
    }
}

.section-title:focus-visible {
    outline: 2px solid rgba(0, 102, 204, 0.55);
    outline-offset: 3px;
}

a.section-title,
a.section-title:hover,
a.section-title:focus,
a.section-title:focus-visible,
a.section-title:visited,
a.section-title:active {
    text-decoration: none;
}

a.section-title:visited {
    color: #0f2744;
}

a.section-title::after,
a.section-title:hover::after {
    content: none;
}

/* Featured News Section */
.home-intro {
    margin: 0 0 22px;
}

.home-intro__title {
    margin: 0;
    padding: 2px 0 2px 16px;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.03em;
    color: #0f2744;
    border-left: 4px solid #0066cc;
}

.home-intro__lead {
    margin: 0;
    max-width: 40rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #334155;
}

/* Homepage hero */
.home-hero {
    position: relative;
    isolation: isolate;
    margin: 0 0 28px;
    padding: 0 0 6px;
}

.home-hero__bg {
    position: absolute;
    z-index: 0;
    top: 0;
    right: -20px;
    bottom: 0;
    left: -20px;
    overflow: hidden;
    pointer-events: none;
}

.home-hero__media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.home-hero__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 82% 22%;
}

.home-hero__bg::before,
.home-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.home-hero__bg::before {
    background: linear-gradient(
        90deg,
        #eaf7ff 0%,
        #eaf7ff 10%,
        rgba(234, 247, 255, 0.9) 24%,
        rgba(234, 247, 255, 0.42) 44%,
        rgba(234, 247, 255, 0.08) 62%,
        rgba(234, 247, 255, 0) 76%
    );
}

.home-hero__bg::after {
    background: linear-gradient(
        180deg,
        rgba(234, 247, 255, 0) 0%,
        rgba(234, 247, 255, 0) 28%,
        rgba(234, 247, 255, 0.12) 62%,
        #eaf7ff 100%
    );
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 20px;
}

.home-hero__kicker {
    margin: 0 0 14px;
    max-width: 28rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
}

.home-hero__kicker::after {
    content: "";
    display: block;
    width: 88px;
    height: 2px;
    margin-top: 10px;
    background: linear-gradient(90deg, #94a3b8, rgba(148, 163, 184, 0));
}

.home-hero__title {
    margin: 0 0 28px;
    max-width: 36rem;
}

.home-hero__brand {
    display: block;
    margin-bottom: 10px;
    font-size: clamp(2.1rem, 5vw, 3.35rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
    color: #0b3a6e;
}

.home-hero__subtitle {
    display: block;
    max-width: 22em;
    font-size: clamp(1.02rem, 1.7vw, 1.22rem);
    font-weight: 600;
    line-height: 1.45;
    color: #1e4d86;
}

.home-hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 6px;
    margin: 0 0 28px;
    max-width: 46rem;
}

.home-hero__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 92px;
    padding: 8px 10px;
    color: #0b3a6e;
    text-decoration: none;
    border-radius: 14px;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.home-hero__link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: #0b3a6e;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(11, 58, 110, 0.08);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(15, 39, 68, 0.08);
}

.home-hero__link-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: center;
    line-height: 1.25;
}

.home-hero__link:hover {
    color: #004499;
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

.home-hero__link:focus-visible {
    outline: 2px solid rgba(0, 102, 204, 0.55);
    outline-offset: 3px;
}

.home-features__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-feature-card {
    --hf-go-bg: #e8f2fb;
    --hf-go-color: #0b3a6e;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 22px rgba(15, 39, 68, 0.1);
    transform: translateY(0);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.home-feature-card__media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #d7e6f4;
}

.home-feature-card__media picture {
    position: absolute;
    inset: 0;
    display: block;
}

.home-feature-card__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.01);
    transform-origin: center center;
    transition: transform 0.45s ease;
}

.home-feature-card__badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 1;
    padding: 4px 8px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    background: #0b3a6e;
    border-radius: 999px;
}

.home-feature-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px 12px;
}

.home-feature-card__title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0b3a6e;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-feature-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.home-feature-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    font-size: 0.78rem;
    color: #64748b;
}

.home-feature-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.home-feature-card__go {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--hf-go-color);
    background: var(--hf-go-bg);
    border-radius: 50%;
    transform: translateX(0);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.35s ease;
}

.home-feature-card:hover,
.home-feature-card:focus-visible {
    --hf-go-bg: #0b3a6e;
    --hf-go-color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 39, 68, 0.18);
}

.home-feature-card:hover .home-feature-card__image,
.home-feature-card:focus-visible .home-feature-card__image {
    transform: scale(1.06);
}

.home-feature-card:hover .home-feature-card__go,
.home-feature-card:focus-visible .home-feature-card__go {
    transform: translateX(3px);
}

.home-feature-card:focus-visible {
    outline: 2px solid rgba(0, 102, 204, 0.7);
    outline-offset: 3px;
}

.home-features__more {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.home-features__more a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0066cc;
    text-decoration: none;
}

.home-features__more a:hover {
    color: #004499;
}

.home-features__more a:focus-visible {
    outline: 2px solid rgba(0, 102, 204, 0.55);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .home-features__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-feature-card {
        flex-direction: row;
        align-items: stretch;
        min-height: 96px;
    }

    .home-feature-card__media {
        flex: 0 0 132px;
        width: 132px;
        max-width: 132px;
        aspect-ratio: 3 / 2;
        align-self: stretch;
    }

    .home-feature-card__image {
        object-position: center top;
        transform-origin: center top;
    }

    .home-feature-card__badge {
        top: auto;
        bottom: 6px;
        left: 6px;
        padding: 1px 5px;
        font-size: 0.48rem;
        letter-spacing: 0.02em;
    }

    .home-feature-card__body {
        padding: 10px 12px;
        min-width: 0;
    }

    .home-hero__media img {
        object-position: 86% 22%;
    }
}

@media (max-width: 768px) {
    .home-hero__links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: none;
        gap: 8px 4px;
    }

    .home-hero__link {
        min-width: 30%;
        padding: 8px 4px;
    }

    .home-hero__brand {
        font-size: clamp(1.85rem, 9vw, 2.4rem);
    }

    .home-hero__media img {
        object-position: 70% 12%;
    }

    .home-hero__bg::before {
        background: linear-gradient(
            180deg,
            rgba(234, 247, 255, 0.55) 0%,
            rgba(234, 247, 255, 0.78) 48%,
            #eaf7ff 100%
        );
    }
}

.featured-news {
    margin-bottom: 40px;
}

.featured-news a {
    text-decoration: none;
}

.featured-news .news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.news-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
}

.news-card:hover {
    transform: translateY(-2px);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

/* Category Navigation */
.category-nav {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #333;
}

.category-btn:hover {
    border-color: #0066CC;
    color: #0066CC;
}

.category-btn.active {
    background: #0066CC;
    border-color: #0066CC;
    color: white;
}

/* Urgent Sales Section */
.urgent-sales {
    margin-bottom: 40px;
}

.sales-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sales-card {
    min-width: 200px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.sales-card:hover {
    transform: translateY(-2px);
}

.sales-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

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

.sales-info {
    padding: 15px;
}

.sales-price {
    font-size: 16px;
    font-weight: bold;
    color: #0066CC;
    margin-bottom: 5px;
}

.sales-location {
    font-size: 14px;
    color: #666;
}

/* Top Banks Section */
.top-banks {
    margin-bottom: 40px;
}

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

.bank-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.bank-card:hover {
    transform: translateY(-2px);
}

.bank-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.bank-icon {
    width: 40px;
    height: 40px;
    background: #0066CC;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.bank-name {
    font-weight: bold;
    color: #333;
}

.bank-rate {
    font-size: 18px;
    font-weight: bold;
    color: #0066CC;
    margin-bottom: 15px;
}

.bank-btn {
    background: #0066CC;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.bank-btn:hover {
    background: #004499;
}

/* Top Banks Widget (main page): featured banks, limit 3, card = link */
.top-banks--widget {
    margin-bottom: 40px;
}

.top-banks--widget .section-title {
    margin-bottom: 8px;
}

.top-banks__lead {
    margin: 0 0 18px;
    max-width: 36rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #4a6a8a;
}

.top-banks__viewport {
    position: relative;
}

.top-banks-swiper.swiper {
    overflow: hidden;
    height: auto;
}

.top-banks-swiper .swiper-wrapper {
    height: auto;
}

.top-banks-swiper .swiper-slide {
    height: auto;
}

.top-banks__card {
    --tb-go-bg: #eef4fb;
    --tb-go-color: #07396c;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 100%;
    height: 100%;
    padding: 20px 18px 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(7, 57, 108, 0.06);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 39, 68, 0.07);
    text-decoration: none;
    color: inherit;
    isolation: isolate;
    transform: translateY(0);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.top-banks__card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 35%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 65%
    );
    transform: translateX(-140%);
    transition: transform 0.7s ease;
    pointer-events: none;
    z-index: 2;
}

.top-banks__card:hover,
.top-banks__card:focus-visible {
    --tb-go-bg: #07396c;
    --tb-go-color: #fff;
    transform: translateY(-8px);
    border-color: rgba(0, 102, 204, 0.22);
    box-shadow: 0 18px 40px rgba(7, 57, 108, 0.16);
}

.top-banks__card:hover::after,
.top-banks__card:focus-visible::after {
    transform: translateX(140%);
}

.top-banks__card:focus-visible {
    outline: 2px solid rgba(0, 102, 204, 0.65);
    outline-offset: 3px;
}

.top-banks__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.top-banks__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.top-banks__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    padding: 3px;
    background: #f4f8fc;
    border-radius: 12px;
}

.top-banks__logo img {
    max-width: 42px;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.top-banks__card:hover .top-banks__logo img,
.top-banks__card:focus-visible .top-banks__logo img {
    transform: scale(1.08);
}

.top-banks__name-en {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #5b7390;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-banks__go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--tb-go-color);
    background: var(--tb-go-bg);
    border-radius: 50%;
    transform: translateX(0);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.top-banks__card:hover .top-banks__go,
.top-banks__card:focus-visible .top-banks__go {
    transform: translateX(4px);
}

.top-banks__name {
    margin: 0 0 6px;
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.25;
    color: #07396c;
    position: relative;
    z-index: 1;
}

.top-banks__desc {
    margin: 0 0 14px;
    min-height: 2.7em;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #6b8199;
    position: relative;
    z-index: 1;
}

.top-banks__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0 0 12px;
    padding: 14px 0 0;
    border-top: 1px solid #e6eef6;
    position: relative;
    z-index: 1;
}

.top-banks__stat {
    padding-right: 12px;
}

.top-banks__stat + .top-banks__stat {
    padding-left: 12px;
    padding-right: 0;
    border-left: 1px solid #e6eef6;
}

.top-banks__stat-label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a93ab;
}

.top-banks__stat-value {
    display: block;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    color: #0f2744;
}

.top-banks__stat-value--rate {
    color: #1f9d5c;
    transition: transform 0.35s ease;
    transform-origin: left center;
}

.top-banks__card:hover .top-banks__stat-value--rate,
.top-banks__card:focus-visible .top-banks__stat-value--rate {
    transform: scale(1.04);
}

.top-banks__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    min-height: 52px;
    padding-right: 63px;
    position: relative;
    z-index: 1;
}

.top-banks__details {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 2px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0066cc;
}

.top-banks__details svg {
    transition: transform 0.3s ease;
}

.top-banks__card:hover .top-banks__details svg,
.top-banks__card:focus-visible .top-banks__details svg {
    transform: translateX(5px);
}

.top-banks__photo {
    position: absolute;
    right: -20px;
    bottom: -23px;
    z-index: 1;
    width: 79px;
    height: 79px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transform-origin: 80% 80%;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.top-banks-swiper .swiper-slide:nth-child(1) .top-banks__photo {
    background-image: url("/img/banks/arch-1.jpg");
}

.top-banks-swiper .swiper-slide:nth-child(2) .top-banks__photo {
    background-image: url("/img/banks/arch-2.jpg");
}

.top-banks-swiper .swiper-slide:nth-child(3) .top-banks__photo {
    background-image: url("/img/banks/arch-3.jpg");
}

.top-banks__card:hover .top-banks__photo,
.top-banks__card:focus-visible .top-banks__photo {
    transform: scale(1.05);
}

.top-banks__nav {
    position: absolute;
    top: 42%;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #07396c;
    background: #fff;
    border: 1px solid rgba(7, 57, 108, 0.12);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(15, 39, 68, 0.1);
    cursor: pointer;
}

.top-banks__prev {
    left: -6px;
    transform: rotate(180deg);
}

.top-banks__next {
    right: -6px;
}

.top-banks__nav:hover,
.top-banks__nav:active {
    color: #fff;
    background: #07396c;
    border-color: #07396c;
}

.top-banks__nav.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

@media (max-width: 699px) {
    .top-banks__viewport {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        grid-template-areas:
            "slider slider slider"
            "prev . next";
        column-gap: 8px;
        row-gap: 10px;
        align-items: stretch;
        padding: 4px 0 2px;
    }

    .top-banks-swiper.swiper {
        grid-area: slider;
        width: 100%;
        height: auto;
        padding: 4px 0 2px;
    }

    .top-banks__nav {
        display: inline-flex;
        position: static;
        top: auto;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        align-self: center;
    }

    .top-banks__prev {
        grid-area: prev;
        left: auto;
    }

    .top-banks__next {
        grid-area: next;
        right: auto;
    }
}

@media (min-width: 700px) {
    .top-banks__nav {
        display: none !important;
    }

    .top-banks-swiper.swiper {
        overflow: visible;
        padding: 0;
    }

    .top-banks-swiper .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        transform: none !important;
    }

    .top-banks-swiper .swiper-slide {
        width: auto !important;
        margin-right: 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-banks__card,
    .top-banks__card::after,
    .top-banks__logo img,
    .top-banks__go,
    .top-banks__details svg,
    .top-banks__stat-value--rate,
    .top-banks__photo {
        transition: none;
    }

    .top-banks__card:hover,
    .top-banks__card:focus-visible {
        transform: none;
    }

    .top-banks__card:hover::after,
    .top-banks__card:focus-visible::after {
        transform: none;
    }
}

/* Banks index page: card grid with logo + title_hy link, hover effect */
.banks-index-section .banks-grid--index {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.banks-index-section .bank-card--index {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banks-index-section .bank-card--index:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.banks-index-section .bank-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 140px;
    margin-bottom: 16px;
}

.banks-index-section .bank-card__logo img {
    max-width: 100%;
    max-height: 128px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.banks-index-section .bank-card__name {
    font-weight: 600;
    color: #6b2d8e;
    text-decoration: underline;
    text-align: center;
    font-size: 1rem;
}

.banks-index-section .bank-card--index:hover .bank-card__name {
    color: #552272;
}

.banks-index-empty {
    color: #666;
    margin-top: 1rem;
}

/* Bank view page: header, info block, mortgage accordion */
.bank-view {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bank-view__header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.bank-view__brand {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bank-view__logo {
    flex-shrink: 0;
}

.bank-view__logo img {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.bank-view__title-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.bank-view__title {
    font-size: 1.5rem;
    margin: 0;
    color: #333;
}

.bank-view__rating {
    font-size: 0.95rem;
    color: #888;
}

.bank-view__info-title,
.bank-view__section-title {
    font-size: 1.15rem;
    margin: 0 0 16px 0;
    color: #333;
}

.bank-view__info {
    margin-bottom: 28px;
}

.bank-view__info-list {
    margin: 0;
    display: grid;
    gap: 0;
}

.bank-view__info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: start;
}

.bank-view__info-row:last-child {
    border-bottom: none;
}

.bank-view__info-label {
    margin: 0;
    font-weight: 500;
    color: #555;
    font-size: 0.95rem;
}

.bank-view__info-value {
    margin: 0;
    color: #333;
    font-size: 0.95rem;
}

.bank-view__link {
    color: #b8860b;
    text-decoration: underline;
}

.bank-view__link:hover {
    color: #8b6914;
}

.bank-view__description {
    margin-bottom: 28px;
}

.bank-view__description-body {
    line-height: 1.65;
    color: #444;
}

.bank-view__products {
    margin-bottom: 28px;
}

.bank-view__accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bank-view__accordion-item {
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    overflow: hidden;
}

.bank-view__accordion-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    font-weight: 500;
}

.bank-view__accordion-summary::-webkit-details-marker {
    display: none;
}

.bank-view__accordion-summary:hover {
    background: #f0f0f0;
}

.bank-view__accordion-name {
    color: #333;
}

.bank-view__accordion-meta {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.bank-view__accordion-body {
    padding: 0 18px 18px 18px;
}

.bank-view__accordion-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 12px;
}

.bank-view__accordion-desc,
.bank-view__accordion-block {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-top: 8px;
}

.bank-view__accordion-block strong {
    display: block;
    margin-bottom: 4px;
    color: #333;
}

.bank-view__back {
    margin: 24px 0 0 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.bank-view__back-link {
    color: #0066CC;
    text-decoration: none;
}

.bank-view__back-link:hover {
    text-decoration: underline;
}

.bank-view__calc-cta {
    margin: 26px 0 0;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #dbe8f8;
    background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.bank-view__calc-cta-text {
    margin: 0 0 10px;
    color: #334155;
    line-height: 1.55;
}

.bank-view__calc-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(135deg, #0b74e5 0%, #004499 100%);
    box-shadow: 0 6px 16px rgba(0, 68, 153, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.bank-view__calc-cta-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 68, 153, 0.35);
    filter: brightness(1.03);
}

@media (max-width: 768px) {
    .bank-view__info-row {
        grid-template-columns: 1fr;
    }

    .bank-view__accordion-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .bank-view__calc-cta-link {
        width: 100%;
    }
}

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

.article-card {
    text-decoration: none;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-2px);
}

.article-image {
    width: 50%;
    height: 120px;
    overflow: hidden;
}

.article-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

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

.article-content {
    padding: 15px;
}

.article-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.article-link {
    color: #0066CC;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #0066CC, #004499);
        flex-direction: column;
        padding: 20px;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 18px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-tagline {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-col--brand,
    .footer-col--about {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-about {
        max-width: 28rem;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-nav--stack {
        align-items: center;
    }

    .footer-col__title {
        margin-bottom: 12px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .category-nav {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .banks-grid {
        grid-template-columns: 1fr;
    }

    .banks-index-section .banks-grid--index {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .sales-grid {
        grid-template-columns: 1fr;
    }
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

/* Post View Styles */
.post-view {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.post-header {
    margin-bottom: 25px;
}

.post-category {
    margin-bottom: 10px;
}

.post-category a {
    display: inline-block;
    padding: 6px 12px;
    background: #0066CC;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.post-category a:hover {
    background: #0052a3;
}

.post-title {
    font-size: 32px;
    font-weight: bold;
    color: #222;
    line-height: 1.3;
    margin: 15px 0;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-date svg {
    width: 16px;
    height: 16px;
}

.post-image {
    width: 100%;
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
}

.post-image picture {
    display: block;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-description {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin: 20px 0;
    padding: 20px;
    background: #f5f5f5;
    border-left: 4px solid #0066CC;
    border-radius: 4px;
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 30px 0;
}

.post-content p {
    margin-bottom: 15px;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #222;
}

.post-content h2 {
    font-size: 24px;
}

.post-content h3 {
    font-size: 20px;
}

.post-content ul,
.post-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}

.post-content a {
    color: #0066CC;
    text-decoration: none;
}

.post-content a:hover {
    /*text-decoration: underline;*/
}

.post-content iframe {
    max-width: 100%;
}

.post-tags {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.post-tags strong {
    display: block;
    margin-bottom: 10px;
    color: #333;
}

.post-tags .tag {
    display: inline-block;
    padding: 5px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 5px 5px 5px 0;
    font-size: 14px;
    color: #666;
}

.post-tags a {
    text-decoration: none;
}

.post-tags a>span:hover {
    background: #0052a3;
    color:white;
}

.post-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.back-link {
    display: inline-block;
    color: #0066CC;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #0052a3;
    /*text-decoration: underline;*/
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    .disabled {
        cursor: not-allowed;
        position: relative;
        display: block;
        padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
        font-size: var(--bs-pagination-font-size);
        color: gray;
        text-decoration: none;
        background-color: var(--bs-pagination-bg);
        border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }
}

@media (max-width: 768px) {
    .post-view {
        padding: 20px;
    }

    .post-title {
        font-size: 24px;
    }

    .post-content {
        font-size: 15px;
        overflow-x: hidden;
    }

    .post-content iframe,
    .guide-view-content iframe,
    .guide-faq-answer iframe {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border: 0;
        border-radius: 8px;
    }

    .post-content p:has(iframe),
    .guide-view-content p:has(iframe) {
        margin-bottom: 16px;
    }
}

/* Tag index page */
.tag-index-section {
    margin-bottom: 40px;
}

.tag-search-wrap {
    margin-bottom: 24px;
}

.tag-search-input {
    width: 100%;
    max-width: 400px;
    padding: 10px 14px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.tag-search-input:focus {
    outline: none;
    border-color: #0052a3;
    box-shadow: 0 0 0 2px rgba(0, 82, 163, 0.2);
}

.tag-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.tag-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.tag-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.tag-card__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.tag-card__name a {
    color: #333;
    text-decoration: none;
}

.tag-card__name a:hover {
    color: #0052a3;
}

.tag-card__count {
    font-size: 0.875rem;
    color: #666;
    white-space: nowrap;
}

.tag-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tag-card__btn {
    display: inline-block;
    padding: 8px 16px;
    background: #0052a3;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.tag-card__btn:hover {
    background: #003d7a;
    color: #fff;
}

.tag-card__badge {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.tag-index-empty {
    color: #666;
    margin-top: 20px;
}

/* Tag cards in sidebar */
.tag-cards--sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-width: 0;
}

.tag-card--sidebar {
    padding: 12px 14px;
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.tag-card--sidebar:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
}

.tag-card--sidebar .tag-card__header {
    margin-bottom: 8px;
    align-items: flex-start;
    min-width: 0;
}

.tag-card--sidebar .tag-card__name {
    font-size: 0.9375rem;
    min-width: 0;
}

.tag-card--sidebar .tag-card__name a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.tag-card__label {
    margin: 0 0 8px;
    font-size: 0.875rem;
    color: #666;
}

.tag-card--sidebar .tag-card__count {
    font-size: 0.8125rem;
    white-space: normal;
    text-align: right;
    flex-shrink: 0;
}

.tag-card--sidebar .tag-card__btn {
    padding: 6px 12px;
    font-size: 13px;
}

.tag-card--sidebar:hover .tag-card__btn {
    background: #0b74e5;
}

.tag-card--sidebar .tag-card__badge {
    width: 36px;
    height: 36px;
}

/* === Projects index (buildings) === */
.projects-index-section {
    margin-bottom: 40px;
}

.projects-index-section .section-title {
    margin-bottom: 24px;
}

.projects-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 28px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.projects-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.projects-filter-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.projects-filter-select {
    min-width: 180px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
}

.projects-filter-input {
    min-width: 180px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
}

.projects-filter-range {
    width: 200px;
    height: 8px;
    accent-color: #0066CC;
}

.projects-price-sliders {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.project-card__thumbnail {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8e8e8;
}

.project-card__figure {
    margin: 0;
    height: 100%;
}

.project-card__figure-link {
    display: block;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.project-card__figcaption {
    position: absolute;
    left: -9999px;
}

.project-card__img,
.project-card__img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.project-card:hover .project-card__img {
    transform: scale(1.05);
}

.project-card__img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #888;
    background: #e8e8e8;
}

.project-card__status {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(0, 102, 204, 0.9);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 4px;
}

.project-card__labels {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.project-card__label {
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}

.project-card__label--sale {
    background: #c62828;
    color: #fff;
}

.project-card__label--new {
    background: #0066CC;
    color: #fff;
}

.project-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #333;
    line-height: 1.35;
}

.project-card__address {
    font-size: 0.9rem;
    color: #666;
    font-style: normal;
    margin: 0;
}

.project-card__price {
    font-size: 1rem;
    font-weight: 600;
    color: #0066CC;
    margin: 0;
}

.project-card__date {
    font-size: 0.875rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-card__date .icon-calendar-lined {
    font-style: normal;
    opacity: 0.8;
}

.project-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 10px 0;
    font-weight: 500;
    color: #0066CC;
    text-decoration: none;
    transition: color 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
}

.project-card__link:hover {
    color: #004499;
}

.projects-index-empty {
    color: #666;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .projects-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .projects-filter-range {
        width: 100%;
    }
}

/* === Guide (Գայդ) === */
.guide-index-section .section-title {
    margin-bottom: 24px;
}

.guide-search-wrap {
    margin-bottom: 28px;
    background: #fff;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.guide-search-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.guide-search-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.guide-search-btn,
.guide-search-btn:visited {
    background: #0066CC;
    border: none;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.guide-search-btn:hover {
    background: #004499;
}

.guide-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 34px;
}

.guide-news {
    margin: 0 0 36px;
}

.guide-news .article-section {
    margin-bottom: 0;
}

.guide-news .article-image img {
    transition: transform 0.45s ease;
}

.guide-news .article-card:hover .article-image img {
    transform: scale(1.06);
}

.guide-category-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px 18px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.guide-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

.guide-category-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #0066CC;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-category-card__icon i {
    font-size: 18px;
}

.guide-category-card__icon-fallback {
    font-weight: 800;
}

.guide-category-card__title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #333;
}

.guide-popular-block {
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.guide-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.guide-faq-item {
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fafafa;
}

.guide-faq-summary {
    cursor: pointer;
}

.guide-faq-summary a {
    text-decoration: none;
    color: #0066CC;
    font-weight: 650;
}

.guide-faq-summary a:hover {
    color: #004499;
}

.guide-faq-answer {
    margin-top: 10px;
    line-height: 1.6;
    color: #333;
}

.guide-category-section .section-title {
    margin-bottom: 18px;
}

.guide-category-main {
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.guide-block-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.guide-faq-count {
    color: #666;
    font-weight: 600;
}

.guide-faq-search-form {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.guide-faq-search-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.guide-btn-secondary {
    background: transparent;
    border: 1px solid #ddd;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    color: #333;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.guide-btn-secondary:hover {
    border-color: #0066CC;
    color: #0066CC;
}

.guide-faq-load-more-wrap {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.guide-articles-block {
    margin-top: 32px;
}

.guide-articles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.guide-article-item {
    background: #fafafa;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    padding: 14px 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.15s ease;
}

.guide-article-item:hover {
    border-color: #0066CC;
    transform: translateY(-2px);
}

.guide-article-item__title {
    font-weight: 750;
    color: #333;
    margin-bottom: 6px;
}

.guide-article-item__meta {
    color: #666;
    font-size: 0.9rem;
}

.guide-view-section {
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.guide-view-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.guide-view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
    color: #555;
}

.guide-view-meta__badge {
    background: #0066CC;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 700;
}

.guide-view-content {
    line-height: 1.7;
    color: #333;
}

.guide-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guide-sidebar-nav__link {
    text-decoration: none;
    color: #333;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.guide-sidebar-nav__link:hover {
    border-color: #e7e7e7;
}

.guide-sidebar-nav__link.active {
    border-color: #0066CC;
    color: #0066CC;
    background: #f4f9ff;
}

@media (max-width: 768px) {
    .guide-search-form {
        flex-direction: column;
        align-items: stretch;
    }
    .guide-faq-search-form {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Homepage Գայդ slider */
.home-guide {
    margin: 8px 0 40px;
}

.home-guide .section-title {
    margin-bottom: 18px;
}

.home-guide__viewport {
    position: relative;
    padding: 6px 2px 8px;
}

.home-guide-swiper.swiper {
    overflow: hidden;
    padding: 10px 4px 12px;
    height: auto;
}

.home-guide-swiper .swiper-wrapper {
    height: auto;
}

.home-guide-swiper .swiper-slide {
    height: auto;
}

.home-guide-card {
    --hg-go-bg: #ece7ff;
    --hg-go-color: #4f3dc8;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    padding: 16px 16px 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(79, 61, 200, 0.06);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(36, 32, 88, 0.07);
    text-decoration: none;
    color: inherit;
    transform: translateY(0);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.home-guide-card:hover,
.home-guide-card:focus-visible {
    --hg-go-bg: #5b45e0;
    --hg-go-color: #fff;
    transform: translateY(-8px);
    border-color: rgba(91, 69, 224, 0.22);
    box-shadow: 0 18px 40px rgba(36, 32, 88, 0.14);
}

.home-guide-card:focus-visible {
    outline: 2px solid rgba(91, 69, 224, 0.55);
    outline-offset: 3px;
}

.home-guide-card__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 168px;
    margin-bottom: 14px;
}

.home-guide-card__glow {
    position: absolute;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: radial-gradient(circle, #dcecff 0%, #eef6ff 62%, rgba(238, 246, 255, 0) 100%);
    z-index: 0;
}

.home-guide-card__icon {
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #5b45e0;
    background: #eee8ff;
    border-radius: 10px;
    font-size: 0.85rem;
}

.home-guide-card__image {
    position: relative;
    z-index: 1;
    width: 138px;
    height: 138px;
    object-fit: contain;
    transform: scale(1);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-guide-card:hover .home-guide-card__image,
.home-guide-card:focus-visible .home-guide-card__image {
    transform: scale(1.08) translateY(-4px);
}

.home-guide-card__title {
    margin: 0 0 6px;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.25;
    color: #241e58;
}

.home-guide-card__desc {
    margin: 0 0 16px;
    min-height: 2.7em;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #6b7288;
}

.home-guide-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.home-guide-card__cta {
    font-size: 0.92rem;
    font-weight: 700;
    color: #5b45e0;
}

.home-guide-card__go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--hg-go-color);
    background: var(--hg-go-bg);
    border-radius: 50%;
    transform: translateX(0);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.35s ease;
}

.home-guide-card:hover .home-guide-card__go,
.home-guide-card:focus-visible .home-guide-card__go {
    transform: translateX(4px);
}

.home-guide__nav {
    position: absolute;
    top: 42%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #4f3dc8;
    background: #fff;
    border: 1px solid rgba(79, 61, 200, 0.12);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(36, 32, 88, 0.1);
    cursor: pointer;
}

.home-guide__prev {
    left: -6px;
    transform: rotate(180deg);
}

.home-guide__next {
    right: -6px;
}

.home-guide__nav:hover,
.home-guide__nav:active {
    color: #fff;
    background: #5b45e0;
    border-color: #5b45e0;
}

.home-guide__nav.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

@media (max-width: 699px) {
    .home-guide__viewport {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        grid-template-areas:
            "slider slider slider"
            "prev . next";
        column-gap: 8px;
        row-gap: 10px;
        align-items: stretch;
        padding: 4px 0 2px;
    }

    .home-guide-swiper.swiper {
        grid-area: slider;
        width: 100%;
        height: auto;
        padding: 4px 0 2px;
    }

    .home-guide__nav {
        position: static;
        top: auto;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        align-self: center;
    }

    .home-guide__prev {
        grid-area: prev;
        left: auto;
    }

    .home-guide__next {
        grid-area: next;
        right: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-guide-card,
    .home-guide-card__image,
    .home-guide-card__go {
        transition: none;
    }

    .home-guide-card:hover,
    .home-guide-card:focus-visible {
        transform: none;
    }
}

/* Homepage calculators */
.home-calcs {
    margin: 8px 0 40px;
}

.home-calcs__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.home-calcs__header .section-title {
    margin-bottom: 0;
}

.home-calcs__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    flex-shrink: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0066cc;
    text-decoration: none;
}

.home-calcs__all svg {
    transition: transform 0.3s ease;
}

.home-calcs__all:hover {
    color: #004499;
}

.home-calcs__all:hover svg {
    transform: translateX(4px);
}

.home-calcs__viewport {
    position: relative;
}

.home-calcs-swiper.swiper {
    overflow: hidden;
    height: auto;
}

.home-calcs-swiper .swiper-wrapper {
    height: auto;
}

.home-calcs-swiper .swiper-slide {
    height: auto;
}

.home-calc-card {
    --hc-go-bg: #e8f2fc;
    --hc-go-color: #07396c;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 14px 14px 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(7, 57, 108, 0.06);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 39, 68, 0.07);
    text-decoration: none;
    color: inherit;
    transform: translateY(0);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.home-calc-card:hover,
.home-calc-card:focus-visible {
    --hc-go-bg: #07396c;
    --hc-go-color: #fff;
    transform: translateY(-8px);
    border-color: rgba(0, 102, 204, 0.22);
    box-shadow: 0 16px 36px rgba(7, 57, 108, 0.14);
}

.home-calc-card:focus-visible {
    outline: 2px solid rgba(0, 102, 204, 0.65);
    outline-offset: 3px;
}

.home-calc-card__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 132px;
    margin-bottom: 10px;
}

.home-calc-card__glow {
    position: absolute;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: radial-gradient(circle, #d7ebff 0%, #eef6ff 62%, rgba(238, 246, 255, 0) 100%);
    z-index: 0;
}

.home-calc-card__icon {
    position: absolute;
    top: 2px;
    left: 2px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #fff;
    background: #0b3a6e;
    border-radius: 8px;
    font-size: 0.72rem;
}

.home-calc-card__image {
    position: relative;
    z-index: 1;
    width: 112px;
    height: 112px;
    object-fit: contain;
    transform: scale(1);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-calc-card:hover .home-calc-card__image,
.home-calc-card:focus-visible .home-calc-card__image {
    transform: scale(1.08) translateY(-3px);
}

.home-calc-card__title {
    margin: 0 0 6px;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.25;
    color: #07396c;
}

.home-calc-card__desc {
    margin: 0 0 12px;
    min-height: 2.6em;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #6b8199;
}

.home-calc-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.home-calc-card__cta {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0066cc;
}

.home-calc-card__go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    color: var(--hc-go-color);
    background: var(--hc-go-bg);
    border-radius: 50%;
    transform: translateX(0);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.35s ease;
}

.home-calc-card:hover .home-calc-card__go,
.home-calc-card:focus-visible .home-calc-card__go {
    transform: translateX(4px);
}

.home-calcs__nav {
    position: absolute;
    top: 42%;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #07396c;
    background: #fff;
    border: 1px solid rgba(7, 57, 108, 0.12);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(15, 39, 68, 0.1);
    cursor: pointer;
}

.home-calcs__prev {
    left: -6px;
    transform: rotate(180deg);
}

.home-calcs__next {
    right: -6px;
}

.home-calcs__nav:hover,
.home-calcs__nav:active {
    color: #fff;
    background: #07396c;
    border-color: #07396c;
}

.home-calcs__nav.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

@media (max-width: 699px) {
    .home-calcs__viewport {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        grid-template-areas:
            "slider slider slider"
            "prev . next";
        column-gap: 8px;
        row-gap: 10px;
        align-items: stretch;
        padding: 4px 0 2px;
    }

    .home-calcs-swiper.swiper {
        grid-area: slider;
        width: 100%;
        height: auto;
        padding: 4px 0 2px;
    }

    .home-calcs__nav {
        display: inline-flex;
        position: static;
        top: auto;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        align-self: center;
    }

    .home-calcs__prev {
        grid-area: prev;
        left: auto;
    }

    .home-calcs__next {
        grid-area: next;
        right: auto;
    }
}

@media (min-width: 700px) {
    .home-calcs__nav {
        display: none !important;
    }

    .home-calcs-swiper.swiper {
        overflow: visible;
        padding: 0;
    }

    .home-calcs-swiper .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
        transform: none !important;
    }

    .home-calcs-swiper .swiper-slide {
        width: auto !important;
        margin-right: 0 !important;
    }
}

@media (min-width: 700px) and (max-width: 1100px) {
    .home-calcs-swiper .swiper-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .home-calcs__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-calcs__all {
        margin-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-calc-card,
    .home-calc-card__image,
    .home-calc-card__go,
    .home-calcs__all svg {
        transition: none;
    }

    .home-calc-card:hover,
    .home-calc-card:focus-visible {
        transform: none;
    }
}

/* Homepage tags slider */
.home-tags {
    margin: 8px 0 40px;
}

.home-tags__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.home-tags__header .section-title {
    margin-bottom: 0;
}

.home-tags__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    flex-shrink: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0066cc;
    text-decoration: none;
}

.home-tags__all svg {
    transition: transform 0.3s ease;
}

.home-tags__all:hover {
    color: #004499;
}

.home-tags__all:hover svg {
    transform: translateX(4px);
}

.home-tags__viewport {
    position: relative;
    padding: 6px 2px 8px;
}

.home-tags-swiper.swiper {
    overflow: hidden;
    padding: 10px 4px 12px;
    height: auto;
}

.home-tags-swiper .swiper-wrapper {
    height: auto;
}

.home-tags-swiper .swiper-slide {
    height: auto;
}

.home-tags-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 168px;
    padding: 18px 16px 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(7, 57, 108, 0.06);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 39, 68, 0.07);
    text-decoration: none;
    color: inherit;
    transform: translateY(0);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.home-tags-card:hover,
.home-tags-card:focus-visible {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 204, 0.22);
    box-shadow: 0 16px 36px rgba(7, 57, 108, 0.14);
}

.home-tags-card:focus-visible {
    outline: 2px solid rgba(0, 102, 204, 0.65);
    outline-offset: 3px;
}

.home-tags-card__slug {
    display: block;
    margin-bottom: 8px;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.3;
    color: #07396c;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.home-tags-card__count {
    display: block;
    margin-bottom: 4px;
    font-size: 0.82rem;
    color: #3d4f66;
}

.home-tags-card__name {
    display: block;
    margin-bottom: 16px;
    font-size: 0.88rem;
    line-height: 1.4;
    color: #2f4258;
}

.home-tags-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.home-tags-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0066cc;
    background: #e8f2fc;
    border-radius: 999px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.home-tags-card__btn svg {
    transition: transform 0.3s ease;
}

.home-tags-card:hover .home-tags-card__btn,
.home-tags-card:focus-visible .home-tags-card__btn {
    color: #fff;
    background: #07396c;
}

.home-tags-card:hover .home-tags-card__btn svg,
.home-tags-card:focus-visible .home-tags-card__btn svg {
    transform: translateX(3px);
}

.home-tags-card__media {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-tags-card__photo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.home-tags__nav {
    position: absolute;
    top: 42%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #07396c;
    background: #fff;
    border: 1px solid rgba(7, 57, 108, 0.12);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(15, 39, 68, 0.1);
    cursor: pointer;
}

.home-tags__prev {
    left: -6px;
    transform: rotate(180deg);
}

.home-tags__next {
    right: -6px;
}

.home-tags__nav:hover,
.home-tags__nav:active {
    color: #fff;
    background: #07396c;
    border-color: #07396c;
}

.home-tags__nav.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

@media (max-width: 699px) {
    .home-tags__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-tags__all {
        margin-top: 0;
    }

    .home-tags__viewport {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        grid-template-areas:
            "slider slider slider"
            "prev . next";
        column-gap: 8px;
        row-gap: 10px;
        align-items: stretch;
        padding: 4px 0 2px;
    }

    .home-tags-swiper.swiper {
        grid-area: slider;
        width: 100%;
        height: auto;
        padding: 4px 0 2px;
    }

    .home-tags__nav {
        position: static;
        top: auto;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        align-self: center;
    }

    .home-tags__prev {
        grid-area: prev;
        left: auto;
    }

    .home-tags__next {
        grid-area: next;
        right: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-tags-card,
    .home-tags-card__btn,
    .home-tags-card__btn svg,
    .home-tags__all svg {
        transition: none;
    }

    .home-tags-card:hover,
    .home-tags-card:focus-visible {
        transform: none;
    }
}

/* Cadastre statistics */
.stat-page {
    background: #fff;
    border-radius: 16px;
    padding: 22px 22px 36px;
    box-shadow: 0 2px 14px rgba(0, 68, 153, 0.07);
}

.stat-hero { margin-bottom: 28px; }

.stat-kicker {
    margin: 0 0 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0066cc;
}

.stat-h1 {
    margin: 0 0 12px;
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
    line-height: 1.25;
    color: #0f2744;
}

.stat-lead {
    margin: 0 0 14px;
    color: #475569;
    max-width: 46rem;
}

.stat-source {
    margin: 0 0 6px;
    font-size: 0.92rem;
    color: #334155;
}

.stat-source a {
    color: #0066cc;
    font-weight: 600;
}

.stat-source__note,
.stat-source__formula,
.stat-note {
    margin: 8px 0 16px;
    font-size: 0.88rem;
    color: #64748b;
}

.stat-quick,
.stat-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.stat-quick a,
.stat-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 102, 204, 0.08);
    color: #07396c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
}

.stat-quick a:hover,
.stat-chip:hover,
.stat-chip.is-active {
    background: #07396c;
    color: #fff;
}

.stat-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 28px;
}

.stat-kpi {
    padding: 14px 16px;
    border: 1px solid rgba(0, 102, 204, 0.12);
    border-radius: 12px;
    background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}

.stat-kpi__label { margin: 0 0 6px; font-size: 0.82rem; color: #64748b; }
.stat-kpi__value { margin: 0; font-size: 1.35rem; font-weight: 800; color: #0f2744; }
.stat-kpi__meta { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.stat-kpi__hint, .stat-kpi__period { font-size: 0.78rem; color: #94a3b8; }
.stat-kpi__period { margin: 6px 0 0; }

.stat-delta { font-weight: 700; font-size: 0.88rem; }
.stat-delta--up { color: #047857; }
.stat-delta--down { color: #dc2626; }
.stat-delta--flat { color: #64748b; }

.stat-table-wrap { margin: 0 0 28px; }
.stat-table-toolbar { margin-bottom: 8px; }
.stat-table-search__input {
    width: 100%;
    max-width: 280px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
}
.stat-table-scroll { overflow-x: auto; }
.stat-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.stat-table caption {
    caption-side: top;
    text-align: left;
    font-weight: 700;
    padding: 0 0 10px;
    color: #0f2744;
}
.stat-table th, .stat-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}
.stat-table thead th {
    background: #f8fafc;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
    position: sticky;
    top: 0;
    z-index: 1;
}
.stat-table__num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-table tbody tr:hover { background: #f8fbff; }
.stat-pdf { font-size: 0.85rem; font-weight: 700; color: #0066cc; text-decoration: none; }
.stat-report-list a strong { display: block; }
.stat-report-list a span { display: block; font-weight: 500; color: #64748b; font-size: 0.88rem; }

.stat-chart {
    margin: 0 0 24px;
    padding: 12px 8px 8px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 12px;
    background: #fff;
}
.stat-chart__title { padding: 0 10px 8px; font-weight: 700; color: #0f2744; }
.stat-chart__canvas { width: 100% !important; max-height: 320px; }

.stat-brief {
    margin: 0 0 32px;
    padding: 18px 18px 10px;
    border: 1px solid rgba(0, 102, 204, 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 38%);
}

.stat-brief__title {
    margin: 0 0 16px;
}

.stat-brief__group { margin: 0 0 18px; }

.stat-brief__kicker {
    margin: 0 0 10px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0066cc;
}

.stat-brief__market,
.stat-brief__prices {
    display: grid;
    gap: 8px;
}

.stat-brief-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.06);
}

.stat-brief-item__label {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
}

.stat-brief-item__value {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.3;
    color: #0f2744;
    font-variant-numeric: tabular-nums;
}

.stat-brief-item--price .stat-brief-item__value {
    font-size: 1.02rem;
}

.stat-brief-item__deltas {
    margin: 2px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.stat-brief-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.35;
    background: #f1f5f9;
    color: #475569;
}

.stat-brief-chip--up { background: #ecfdf5; color: #047857; }
.stat-brief-chip--down { background: #fef2f2; color: #b91c1c; }
.stat-brief-chip--flat { background: #f1f5f9; color: #64748b; }

.stat-brief-item__note {
    margin: 0;
    font-size: 0.82rem;
    color: #475569;
}

.stat-highlights { margin: 0 0 24px; padding-left: 18px; color: #334155; }
.stat-highlights li { margin: 0 0 8px; }

.stat-archive { display: grid; gap: 18px; }
.stat-archive ul, .stat-report-list { list-style: none; margin: 0; padding: 0; }
.stat-archive li, .stat-report-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}
.stat-archive a, .stat-report-list a { color: #07396c; text-decoration: none; font-weight: 600; }
.stat-more, .stat-compare-link a { color: #0066cc; font-weight: 700; text-decoration: none; }

.stat-compare-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
    margin: 0 0 22px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}
.stat-compare-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; font-weight: 600; }
.stat-compare-form select { min-width: 180px; padding: 8px 10px; border-radius: 8px; border: 1px solid #cbd5e1; }
.stat-btn {
    padding: 9px 16px;
    border: 0;
    border-radius: 8px;
    background: #07396c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

@media (min-width: 720px) {
    .stat-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stat-brief__prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
    .stat-brief__market { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-brief__prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .stat-page { padding: 16px 12px 28px; }
    .stat-kpi-grid { grid-template-columns: 1fr; }
}

.ine-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    background: #fff;
    border-top: 3px solid #0b3a6e;
    box-shadow: 0 -4px 16px rgba(11, 58, 110, 0.12);
}
.ine-consent__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.ine-consent__text {
    margin: 0;
    color: #0b3a6e;
    font-size: 0.95rem;
    line-height: 1.45;
}
.ine-consent__text a {
    color: #0066cc;
}
.ine-consent__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.ine-consent__btn {
    border: 0;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 700;
    cursor: pointer;
}
.ine-consent__btn--yes {
    background: #0b3a6e;
    color: #fff;
}
.ine-consent__btn--no {
    background: #e8eef5;
    color: #0b3a6e;
}
