/**
 * Public site v7
 */
:root {
    --v7-blue: #00afca;
    --v7-blue-nav: #00afca;
    --v7-blue-hover: #0099b3;
    --v7-nav-hover: #0099b3;
    --v7-text: #1f2937;
    --v7-muted: #6b7280;
    --v7-page: #f3f4f6;
    --v7-surface: #ffffff;
    --v7-white: #ffffff;
    --v7-border: #e5e7eb;
    --v7-max: 1180px;
    --v7-radius: 14px;
    --v7-font: "Manrope", "Segoe UI", sans-serif;
    --v7-font-heading: "Manrope", "Segoe UI", sans-serif;
    --v7-font-size: 16px;
    --v7-bg-image: none;
    --v7-bg-size: cover;
    --v7-bg-position: center center;
    --v7-bg-repeat: no-repeat;
    --v7-bg-attachment: scroll;
    --v7-bg-opacity: 1;
    --v7-bg-layer-position: absolute;
}

html.site-v7,
body.site-v7 {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-color: var(--v7-page);
    background-image: none;
    color: var(--v7-text);
    font-family: var(--v7-font);
    font-size: var(--v7-font-size, 16px);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

body.site-v7 {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    isolation: isolate;
}

/* Background image on a separate layer so opacity does not affect content */
body.site-v7::before {
    content: "";
    position: var(--v7-bg-layer-position, absolute);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    min-height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image: var(--v7-bg-image);
    background-size: var(--v7-bg-size);
    background-position: var(--v7-bg-position);
    background-repeat: var(--v7-bg-repeat);
    opacity: var(--v7-bg-opacity, 1);
}

body.site-v7 .site-v7-main {
    flex: 1 0 auto;
}

body.site-v7 a {
    color: inherit;
    text-decoration: none;
}

.site-v7-wrap {
    max-width: var(--v7-max);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ——— Top bar ——— */
.site-v7-topbar {
    background: var(--v7-blue);
    color: var(--v7-white);
}

.site-v7-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.site-v7-topbar-left {
    display: flex;
    align-items: center;
    gap: 28px;
    min-width: 0;
}

.site-v7-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    color: inherit;
}

.site-v7-logo-mark {
    display: block;
    width: 180px;
    height: 40px;
    background-color: currentColor;
    -webkit-mask: url("/D2/logo.svg") center / contain no-repeat;
    mask: url("/D2/logo.svg") center / contain no-repeat;
}

.site-v7-orgs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--v7-white);
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    opacity: 0.95;
}

.site-v7-orgs:hover {
    opacity: 1;
}

.site-v7-orgs-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.85;
}

.site-v7-topbar-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.site-v7-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--v7-white);
    font-size: 18px;
    transition: background 0.15s ease;
}

.site-v7-tool:hover {
    background: rgba(255, 255, 255, 0.12);
}

.site-v7-lang {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    padding: 0 6px;
    border-radius: 10px;
    color: var(--v7-white);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.site-v7-lang a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.75);
}

.site-v7-lang a:hover,
.site-v7-lang a.is-active {
    color: var(--v7-white);
    background: rgba(255, 255, 255, 0.14);
}

/* ——— Brand / org name ——— */
.site-v7-brand .site-v7-wrap {
    padding-top: 22px;
    padding-bottom: 22px;
}

.site-v7-brand-title {
    display: block;
    margin: 0;
    color: var(--v7-text);
    font-family: var(--v7-font-heading);
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.site-v7-brand-title:hover {
    color: var(--v7-blue);
}

/* ——— Main nav ——— */
.site-v7-nav-shell {
    padding: 0 0 18px;
}

.site-v7-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 8px 14px;
    background: var(--v7-blue-nav);
    border-radius: 5px;
    color: var(--v7-white);
    box-sizing: border-box;
}

.site-v7-burger {
    display: inline-flex;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.site-v7-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--v7-white);
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.2s ease;
    transform-origin: center;
}

.site-v7-burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-v7-burger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.site-v7-burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-v7-burger:hover {
    background: rgba(255, 255, 255, 0.12);
}

.site-v7-nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.site-v7-nav-list > li {
    display: flex;
    align-items: center;
}

.site-v7-nav-list > li:not(:last-child)::after {
    content: "";
    width: 4px;
    height: 4px;
    margin: 0 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    flex: 0 0 auto;
}

.site-v7-nav-list a {
    display: inline-block;
    padding: 10px 12px;
    color: var(--v7-white);
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    white-space: nowrap;
}

.site-v7-nav-list a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.site-v7-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    flex: 0 0 auto;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--v7-white);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
}

.site-v7-search:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ——— Search popup ——— */
body.site-v7-search-open {
    overflow: hidden;
}

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

.site-v7-search-layer {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 12vh 16px 24px;
    box-sizing: border-box;
}

.site-v7-search-backdrop {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.site-v7-search-layer.is-open .site-v7-search-backdrop {
    opacity: 1;
}

.site-v7-search-popup {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 640px;
    opacity: 0;
    transform: translateY(-14px) scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-v7-search-layer.is-open .site-v7-search-popup {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.site-v7-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 18px;
    background: var(--v7-white);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.22);
    box-sizing: border-box;
    border: 2px solid transparent;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-v7-search-layer.is-open .site-v7-search-box:focus-within {
    border-color: rgba(0, 175, 202, 0.55);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.22), 0 0 0 4px rgba(0, 175, 202, 0.15);
}

.site-v7-search-box > .icon-search {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 18px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.site-v7-search-layer.is-open .site-v7-search-box > .icon-search {
    color: var(--v7-blue);
    transform: scale(1.08);
}

.site-v7-search-box input {
    flex: 1 1 auto;
    min-width: 0;
    height: 56px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 16px;
    color: var(--v7-text);
}

.site-v7-search-box input::placeholder {
    color: #94a3b8;
}

.site-v7-search-suggest {
    position: relative;
    margin-top: 12px;
    padding: 16px 8px 10px;
    background: var(--v7-white);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease 0.08s, transform 0.3s ease 0.08s;
}

.site-v7-search-layer.is-open .site-v7-search-suggest {
    opacity: 1;
    transform: translateY(0);
}

.site-v7-search-suggest::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 22px;
    width: 14px;
    height: 14px;
    background: var(--v7-white);
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(15, 23, 42, 0.04);
}

.site-v7-search-suggest-title {
    padding: 0 14px 10px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
}

.site-v7-search-suggest-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-v7-search-suggest-list li {
    opacity: 0;
    transform: translateY(6px);
}

.site-v7-search-layer.is-open .site-v7-search-suggest-list li {
    animation: site-v7-qb-in 0.35s ease both;
}

.site-v7-search-layer.is-open .site-v7-search-suggest-list li:nth-child(1) { animation-delay: 0.12s; }
.site-v7-search-layer.is-open .site-v7-search-suggest-list li:nth-child(2) { animation-delay: 0.17s; }
.site-v7-search-layer.is-open .site-v7-search-suggest-list li:nth-child(3) { animation-delay: 0.22s; }
.site-v7-search-layer.is-open .site-v7-search-suggest-list li:nth-child(4) { animation-delay: 0.27s; }
.site-v7-search-layer.is-open .site-v7-search-suggest-list li:nth-child(5) { animation-delay: 0.32s; }

.site-v7-search-suggest-list a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 8px;
    color: #334155;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-v7-search-suggest-list a:hover {
    background: #f1f5f9;
    color: var(--v7-blue);
}

.site-v7-search-suggest-list .icon-search {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: normal;
}

/* ——— Fullscreen menu overlay ——— */
body.site-v7-overlay-open {
    overflow: hidden;
}

.site-v7-overlay[hidden] {
    display: none !important;
}

.site-v7-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--v7-blue-nav);
    color: var(--v7-white);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateY(-18px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-v7-overlay.is-open {
    opacity: 1;
    transform: translateY(0);
}

.site-v7-overlay-inner {
    max-width: var(--v7-max);
    margin: 0 auto;
    padding: 28px 20px 48px;
    box-sizing: border-box;
    position: relative;
}

.site-v7-overlay-close {
    position: absolute;
    top: 18px;
    left: 16px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(15, 23, 42, 0.75);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.9);
    transition: background 0.2s ease, color 0.2s ease, opacity 0.25s ease 0.05s, transform 0.25s ease 0.05s;
}

.site-v7-overlay.is-open .site-v7-overlay-close {
    opacity: 1;
    transform: scale(1);
}

.site-v7-overlay-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--v7-white);
}

.site-v7-overlay-brand {
    max-width: 52rem;
    margin: 8px auto 40px;
    padding: 0 48px;
    text-align: center;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.site-v7-overlay.is-open .site-v7-overlay-brand {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.06s;
}

.site-v7-overlay-brand a {
    display: block;
    color: var(--v7-white);
    font-family: var(--v7-font-heading);
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.site-v7-overlay-brand a:hover {
    text-decoration: underline;
}

.site-v7-overlay-orgs {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.site-v7-overlay.is-open .site-v7-overlay-orgs {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.site-v7-overlay-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.site-v7-overlay.is-open .site-v7-overlay-social {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.12s;
}

.site-v7-overlay-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--v7-white);
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-v7-overlay-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--v7-white);
    transform: translateY(-2px);
}

.site-v7-overlay-social-link svg {
    display: block;
}

.site-v7-overlay-quick li {
    opacity: 0;
    transform: translateY(8px);
}

.site-v7-overlay.is-open .site-v7-overlay-quick li {
    animation: site-v7-qb-in 0.35s ease both;
}

.site-v7-overlay.is-open .site-v7-overlay-quick li:nth-child(1) { animation-delay: 0.12s; }
.site-v7-overlay.is-open .site-v7-overlay-quick li:nth-child(2) { animation-delay: 0.16s; }
.site-v7-overlay.is-open .site-v7-overlay-quick li:nth-child(3) { animation-delay: 0.2s; }
.site-v7-overlay.is-open .site-v7-overlay-quick li:nth-child(4) { animation-delay: 0.24s; }
.site-v7-overlay.is-open .site-v7-overlay-quick li:nth-child(5) { animation-delay: 0.28s; }
.site-v7-overlay.is-open .site-v7-overlay-quick li:nth-child(6) { animation-delay: 0.32s; }

.site-v7-overlay-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 40px;
    align-items: start;
}

.site-v7-overlay-col {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.site-v7-overlay.is-open .site-v7-overlay-col {
    opacity: 1;
    transform: translateY(0);
}

.site-v7-overlay.is-open .site-v7-overlay-col:nth-child(1) { transition-delay: 0.12s; }
.site-v7-overlay.is-open .site-v7-overlay-col:nth-child(2) { transition-delay: 0.18s; }
.site-v7-overlay.is-open .site-v7-overlay-col:nth-child(3) { transition-delay: 0.24s; }

.site-v7-overlay-tree-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-v7-overlay-tree-link {
    display: inline-block;
    color: var(--v7-white);
    line-height: 1.35;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-v7-overlay-tree-link.is-parent {
    font-size: 18px;
    font-weight: 700;
    opacity: 1;
}

.site-v7-overlay-tree-item.has-children > .site-v7-overlay-tree-link.is-parent {
    margin-bottom: 8px;
}

.site-v7-overlay-tree-children {
    list-style: none;
    margin: 0;
    padding: 0 0 0 14px;
    border-left: 2px solid rgba(255, 255, 255, 0.28);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-v7-overlay-tree-link.is-child {
    position: relative;
    padding-left: 12px;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.88;
}

.site-v7-overlay-tree-link.is-child::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 1px;
    background: rgba(255, 255, 255, 0.45);
}

.site-v7-overlay-tree-link:hover {
    opacity: 1;
    text-decoration: underline;
    transform: translateX(4px);
}

/* legacy flat link fallback */
.site-v7-overlay-col > li > a:not(.site-v7-overlay-tree-link) {
    display: inline-block;
    color: var(--v7-white);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0.95;
}

/* ——— Main ——— */
.site-v7-main {
    padding: 28px 0 48px;
}

.site-v7-main .site-v7-wrap {
    min-height: 20vh;
}

/* ——— Home split: hello + news ——— */
@keyframes site-v7-fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-v7-home-split {
    display: grid;
    grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
    width: 100%;
    box-sizing: border-box;
}

.site-v7-home-hello,
.site-v7-home-news {
    min-width: 0;
    max-width: 100%;
}

.site-v7-hello-card {
    background: var(--v7-surface);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--v7-border);
    box-sizing: border-box;
    animation: site-v7-fade-up 0.5s ease both;
}

.site-v7-hello-photo {
    margin-bottom: 14px;
}

.site-v7-hello-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.site-v7-hello-text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--v7-text);
}

.site-v7-hello-text p {
    margin: 0 0 0.75em;
}

.site-v7-hello-text p:last-child {
    margin-bottom: 0;
}

.site-v7-hello-empty {
    color: var(--v7-muted);
}

.site-v7-news-feature {
    border-radius: 12px;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    max-width: 100%;
    animation: site-v7-fade-up 0.5s ease both;
    animation-delay: 0.1s;
}

.site-v7-news-feature-link {
    display: block;
    position: relative;
    color: #fff;
    min-height: 320px;
}

.site-v7-news-feature-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.35s ease;
}

.site-v7-news-feature-link:hover .site-v7-news-feature-media {
    transform: scale(1.03);
}

.site-v7-news-feature-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 56px 22px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
}

.site-v7-news-feature-title {
    margin: 0 0 8px;
    font-family: var(--v7-font-heading);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.site-v7-news-feature-date {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
}

.site-v7-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.site-v7-news-card {
    background: var(--v7-surface);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--v7-border);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    animation: site-v7-fade-up 0.45s ease both;
    animation-delay: calc(0.18s + var(--i, 0) * 55ms);
}

.site-v7-news-card:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.site-v7-news-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.site-v7-news-card-media-wrap {
    overflow: hidden;
}

.site-v7-news-card-media {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-color: #e5e7eb;
    transition: transform 0.4s ease;
}

.site-v7-news-card-link:hover .site-v7-news-card-media {
    transform: scale(1.05);
}

.site-v7-news-card-body {
    padding: 14px 16px 16px;
}

.site-v7-news-card-title {
    margin: 0;
    font-family: var(--v7-font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--v7-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-v7-news-card-date {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 400;
    color: var(--v7-muted);
}

.site-v7-news-empty {
    margin: 0;
    padding: 24px;
    background: var(--v7-surface);
    border-radius: 12px;
    border: 1px solid var(--v7-border);
    color: var(--v7-muted);
}

.site-v7-home-extra {
    margin-top: 8px;
}

/* ——— Home quick blocks ——— */
@keyframes site-v7-qb-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-v7-quick-blocks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 8px 0 28px;
}

.site-v7-d2-blocks {
    display: grid;
    gap: 16px;
    margin: 0 0 28px;
}

.site-v7-d2-blocks .site-d2-home-block,
.site-v7-d2-block {
    min-width: 0;
    overflow: hidden;
}

.site-v7-d2-blocks .site-d2-home-block img,
.site-v7-d2-block img {
    max-width: 100%;
    height: auto;
}

.site-v7-quick-block {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 14px 40px 14px 16px;
    background: var(--v7-surface);
    border: 1px solid var(--v7-border);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    box-sizing: border-box;
    color: var(--v7-text);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    animation: site-v7-qb-in 0.45s ease both;
    animation-delay: calc(var(--i, 0) * 55ms);
}

.site-v7-quick-block::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--v7-blue);
    transition: width 0.25s ease;
}

.site-v7-quick-block:hover {
    border-color: #c5eaf1;
    box-shadow: 0 10px 28px rgba(0, 175, 202, 0.16);
    transform: translateY(-3px);
}

.site-v7-quick-block:hover::before {
    width: 4px;
}

.site-v7-quick-block-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f1f3f5;
    color: var(--v7-blue);
    flex: 0 0 auto;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.site-v7-quick-block:hover .site-v7-quick-block-icon {
    background: rgba(0, 175, 202, 0.16);
    transform: scale(1.08);
}

.site-v7-quick-block-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    transition: transform 0.25s ease;
}

.site-v7-quick-block:hover .site-v7-quick-block-icon svg {
    transform: scale(1.05);
}

.site-v7-quick-block-label {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--v7-text);
    transition: color 0.25s ease;
}

.site-v7-quick-block:hover .site-v7-quick-block-label {
    color: var(--v7-text);
}

.site-v7-quick-block-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    display: inline-flex;
    color: var(--v7-blue);
    opacity: 0;
    transform: translate(6px, -50%);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-v7-quick-block:hover .site-v7-quick-block-arrow {
    opacity: 1;
    transform: translate(0, -50%);
}

@media (prefers-reduced-motion: reduce) {
    .site-v7-quick-block,
    .site-v7-hello-card,
    .site-v7-news-feature,
    .site-v7-news-card,
    .site-v7-search-layer.is-open .site-v7-search-suggest-list li,
    .site-v7-overlay.is-open .site-v7-overlay-quick li {
        animation: none;
    }

    .site-v7-quick-block,
    .site-v7-quick-block::before,
    .site-v7-quick-block-icon,
    .site-v7-quick-block-icon svg,
    .site-v7-quick-block-arrow,
    .site-v7-news-card,
    .site-v7-news-card-media,
    .site-v7-burger span,
    .site-v7-overlay,
    .site-v7-overlay-close,
    .site-v7-overlay-brand,
    .site-v7-overlay-orgs,
    .site-v7-overlay-col,
    .site-v7-overlay-col a,
    .site-v7-search-backdrop,
    .site-v7-search-popup,
    .site-v7-search-box,
    .site-v7-search-suggest {
        transition: none !important;
    }

    .site-v7-quick-block:hover,
    .site-v7-news-card:hover,
    .site-v7-overlay-col a:hover {
        transform: none;
    }

    .site-v7-news-card-link:hover .site-v7-news-card-media,
    .site-v7-news-feature-link:hover .site-v7-news-feature-media {
        transform: none;
    }
}

/* ——— Home map ——— */
.site-v7-map-section {
    position: relative;
    width: 100%;
    height: 420px;
    margin-top: 24px;
    margin-bottom: 24px;
    background: #e5e7eb;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.site-v7-map {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.site-v7-map-card {
    position: absolute;
    right: 20px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: min(420px, calc(100% - 48px));
    padding: 28px 28px 24px;
    background: var(--v7-surface);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.16);
    box-sizing: border-box;
    border-radius: 5px;
}

.site-v7-map-card-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.site-v7-map-card-row + .site-v7-map-card-row {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--v7-border);
}

.site-v7-map-card-icon {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--v7-text);
}

.site-v7-map-card-body {
    min-width: 0;
    flex: 1 1 auto;
}

.site-v7-map-card-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--v7-text);
}

.site-v7-map-card-org {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--v7-text);
}

.site-v7-map-card-text {
    font-size: 14px;
    line-height: 1.45;
    color: var(--v7-muted);
}

.site-v7-map-card-phone {
    display: block;
    margin-top: 2px;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--v7-text);
    letter-spacing: -0.01em;
}

.site-v7-map-card-phone:hover {
    color: var(--v7-blue);
}

.site-v7-map-card-email {
    display: block;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
}

.site-v7-map-card-email:hover {
    color: var(--v7-blue);
}

/* Leaflet under card */
.site-v7-map-section .leaflet-control-container {
    z-index: 3;
}

.site-v7-map-section .leaflet-top.leaflet-left {
    top: 12px;
    left: 12px;
}

/* ——— Partner links carousel (D2/slider.txt) ——— */
.site-v7-partners {
    margin: 0 0 40px;
}

.site-v7-partners-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-v7-partners-viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.site-v7-partners-viewport::-webkit-scrollbar {
    display: none;
}

.site-v7-partners-track {
    display: flex;
    gap: 16px;
    padding: 4px 2px 8px;
}

.site-v7-partner-block {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 220px;
    max-width: 360px;
    scroll-snap-align: start;
    animation: none;
}

.site-v7-partner-icon {
    background: #fff;
    border: 1px solid var(--v7-border);
    overflow: hidden;
}

.site-v7-partner-icon img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.site-v7-partners-nav {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 1px solid var(--v7-border);
    border-radius: 50%;
    background: var(--v7-surface);
    color: var(--v7-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.site-v7-partners-nav:hover:not(:disabled) {
    border-color: #c5eaf1;
    background: rgba(0, 175, 202, 0.1);
    transform: scale(1.05);
}

.site-v7-partners-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.site-v7-partners-carousel:not(.is-scrollable) .site-v7-partners-nav {
    display: none;
}

@media (max-width: 960px) {
    .site-v7-partner-block {
        flex-basis: calc((100% - 16px) / 2);
        min-width: 200px;
    }
}

@media (max-width: 640px) {
    .site-v7-partners-carousel {
        gap: 6px;
    }

    .site-v7-partners-nav {
        width: 34px;
        height: 34px;
    }

    .site-v7-partner-block {
        flex-basis: 85%;
        min-width: 240px;
        max-width: none;
    }
}

/* ——— Footer ——— */
.site-v7-footer {
    background: var(--v7-blue);
    color: var(--v7-white);
    margin-top: auto;
}

.site-v7-footer-inner {
    padding-top: 48px;
    padding-bottom: 36px;
}

.site-v7-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 32px 28px;
    align-items: start;
}

.site-v7-footer-label {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.site-v7-footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.site-v7-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    color: var(--v7-white);
    opacity: 0.95;
}

.site-v7-footer-social-link svg {
    width: 32px;
    height: 32px;
    display: block;
}

.site-v7-footer-social-link:hover {
    background: transparent;
    opacity: 1;
}

.site-v7-footer-logo {
    display: inline-block;
    margin-bottom: 14px;
    color: inherit;
}

.site-v7-footer-logo .site-v7-logo-mark {
    width: 160px;
    height: 36px;
}

.site-v7-footer-tagline {
    margin: 0 0 18px;
    max-width: 22rem;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.92;
}

.site-v7-footer-copy {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    opacity: 0.8;
}

.site-v7-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-v7-footer-links a,
.site-v7-footer-text {
    color: var(--v7-white);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.95;
}

.site-v7-footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.site-v7-totop {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9000;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 175, 202, 0.92);
    color: var(--v7-white);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.site-v7-totop[hidden] {
    display: none !important;
}

.site-v7-totop:hover {
    background: var(--v7-blue-hover);
}

.site-v7-overlay-orgs,
.site-v7-overlay-quick {
    display: none;
}

/* ——— Mobile ——— */
@media (max-width: 960px) {
    .site-v7-wrap {
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-v7-topbar-inner {
        min-height: 60px;
        padding-top: 10px;
        padding-bottom: 10px;
        gap: 10px;
    }

    .site-v7-topbar-left {
        gap: 12px;
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-v7-logo-mark {
        width: 144px;
        height: 32px;
    }

    .site-v7-orgs {
        display: none;
    }

    .site-v7-topbar-tools {
        gap: 2px;
    }

    .site-v7-tool {
        width: 36px;
        height: 36px;
    }

    .site-v7-lang {
        height: 36px;
        padding: 0 2px;
        gap: 0;
    }

    .site-v7-lang a {
        min-width: 30px;
        height: 30px;
        padding: 0 6px;
        font-size: 12px;
    }

    .site-v7-brand .site-v7-wrap {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .site-v7-brand-title {
        font-size: 1.05rem;
    }

    .site-v7-nav-shell {
        padding-bottom: 12px;
    }

    .site-v7-nav {
        min-height: 48px;
        padding: 6px 8px;
        gap: 4px;
    }

    /* Horizontal section links: hide on phone, use overlay instead */
    .site-v7-nav-list {
        display: none;
    }

    .site-v7-search {
        margin-left: auto;
    }

    .site-v7-overlay-orgs {
        display: inline-flex;
        align-items: center;
        margin: 0 0 18px;
        padding: 10px 14px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 8px;
        color: var(--v7-white);
        font-weight: 700;
        font-size: 15px;
    }

    .site-v7-overlay-quick {
        display: flex;
        flex-direction: column;
        gap: 4px;
        list-style: none;
        margin: 0 0 28px;
        padding: 0 0 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .site-v7-overlay-quick a {
        display: block;
        padding: 12px 4px;
        color: var(--v7-white);
        font-size: 17px;
        font-weight: 700;
        line-height: 1.35;
    }

    .site-v7-overlay-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .site-v7-overlay-col {
        gap: 14px;
    }

    .site-v7-overlay-inner {
        padding: max(20px, env(safe-area-inset-top)) 16px max(40px, env(safe-area-inset-bottom));
    }

    .site-v7-overlay-close {
        top: max(10px, env(safe-area-inset-top));
        left: 8px;
    }

    .site-v7-overlay-brand {
        margin: 8px 0 20px;
        padding: 0 8px 0 44px;
        text-align: left;
        max-width: none;
    }

    .site-v7-overlay-brand a {
        font-size: 1.15rem;
    }

    .site-v7-overlay-tree-link.is-parent {
        display: block;
        padding: 4px 0;
        font-size: 17px;
    }

    .site-v7-overlay-tree-children {
        padding-left: 12px;
        gap: 2px;
        margin-bottom: 4px;
    }

    .site-v7-overlay-tree-link.is-child {
        display: block;
        padding: 8px 4px 8px 12px;
        font-size: 15px;
    }

    .site-v7-overlay-col > li > a:not(.site-v7-overlay-tree-link) {
        display: block;
        padding: 11px 4px;
        font-size: 16px;
    }

    .site-v7-search-layer {
        align-items: flex-start;
        padding: max(10vh, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom));
    }

    .site-v7-search-box {
        min-height: 52px;
        padding: 0 14px;
    }

    .site-v7-search-box input {
        height: 52px;
        font-size: 16px; /* avoid iOS zoom */
    }

    .site-v7-search-suggest {
        max-height: min(55vh, 420px);
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-v7-search-suggest-list a {
        padding: 13px 12px;
        font-size: 15px;
    }

    .site-v7-main {
        padding: 18px 0 36px;
    }

    .site-v7-home-split {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .site-v7-news-feature-link {
        min-height: 260px;
    }

    .site-v7-news-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .site-v7-quick-blocks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 20px;
    }

    .site-v7-quick-block {
        min-height: 64px;
        padding: 12px 36px 12px 14px;
        gap: 12px;
    }

    .site-v7-quick-block-icon {
        width: 42px;
        height: 42px;
    }

    .site-v7-quick-block-label {
        font-size: 14px;
    }

    .site-v7-quick-block-arrow {
        right: 10px;
    }

    .site-v7-map-section {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        margin-bottom: 28px;
        border-radius: 5px;
    }

    .site-v7-map {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        height: 280px;
        order: 1;
    }

    .site-v7-map-card {
        position: relative;
        right: auto;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        order: 2;
        box-shadow: none;
        border-top: 1px solid var(--v7-border);
        border-radius: 0;
        padding: 22px 16px;
    }

    .site-v7-map-card-phone {
        font-size: 1.45rem;
    }

    .site-v7-footer-inner {
        padding-top: 36px;
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }

    .site-v7-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-v7-footer-tagline {
        max-width: none;
    }

    .site-v7-totop {
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 380px) {
    .site-v7-lang a:nth-child(3) {
        /* keep EN, just tighter */
        min-width: 28px;
        padding: 0 4px;
    }

    .site-v7-logo-mark {
        width: 126px;
        height: 28px;
    }

    .site-v7-quick-blocks {
        grid-template-columns: 1fr;
    }
}

/* ——— Inner pages: title / content ——— */
.site-v7-page-title {
    margin: 0 0 22px;
    font-family: var(--v7-font-heading);
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--v7-text);
    letter-spacing: -0.02em;
}

.site-v7-content {
    min-width: 0;
    overflow-x: auto;
    color: var(--v7-text);
}

/* Editor inline styles (color/bg on tags) must not fight the theme —
   only neutralize rich text / article body, not UI cards & forms */
body.site-v7 .View .TextInfo *:not(a):not(button):not(input):not(textarea):not(select):not(img),
body.site-v7 .View .Text *:not(a):not(button):not(input):not(textarea):not(select):not(img),
body.site-v7 .site-v7-content .TextInfo *:not(a):not(button):not(input):not(textarea):not(select):not(img),
body.site-v7 .site-v7-content .Text *:not(a):not(button):not(input):not(textarea):not(select):not(img),
body.site-v7 .site-v7-content .BlockContent *:not(a):not(button):not(input):not(textarea):not(select):not(img),
body.site-v7 .site-v7-content article *:not(a):not(button):not(input):not(textarea):not(select):not(img) {
    color: inherit !important;
    background-color: transparent !important;
}

body.site-v7 .site-v7-content .Text a,
body.site-v7 .site-v7-content .TextInfo a,
body.site-v7 .site-v7-content .BlockContent a,
body.site-v7 .site-v7-content article a,
body.site-v7 .View .TextInfo a,
body.site-v7 .View .Text a {
    color: var(--v7-blue) !important;
    background-color: transparent !important;
}

body.site-v7 .site-v7-content .Text a:hover,
body.site-v7 .site-v7-content .TextInfo a:hover,
body.site-v7 .site-v7-content .BlockContent a:hover,
body.site-v7 .site-v7-content article a:hover,
body.site-v7 .View .TextInfo a:hover,
body.site-v7 .View .Text a:hover {
    color: var(--v7-blue-hover) !important;
}

body.site-v7 .View .TextInfo,
body.site-v7 .View .Text {
    color: var(--v7-text);
}

.site-v7-content img,
.site-v7-content table img,
body.site-v7 .View img,
body.site-v7 .View .TextInfo img,
body.site-v7 .site-v7-main .BlockContent img,
body.site-v7 article img {
    max-width: 100%;
    height: auto;
}

/* ——— Breadcrumb ——— */
.site-v7-breadcrumb {
    margin: 0 0 14px;
}

.site-v7-breadcrumb:empty {
    display: none;
}

.site-v7-breadcrumb .breadcrumb,
.site-v7-breadcrumb .bc,
body.site-v7 .site-v7-main .breadcrumb,
body.site-v7 .site-v7-main .bc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--v7-muted);
}

.site-v7-breadcrumb .breadcrumb > li,
.site-v7-breadcrumb .bc > li,
body.site-v7 .site-v7-main .breadcrumb > li,
body.site-v7 .site-v7-main .bc > li {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: var(--v7-muted);
}

.site-v7-breadcrumb .breadcrumb > li + li::before,
.site-v7-breadcrumb .bc > li + li::before,
body.site-v7 .site-v7-main .breadcrumb > li + li::before,
body.site-v7 .site-v7-main .bc > li + li::before {
    content: "/";
    display: inline-block;
    margin: 0 8px;
    color: var(--v7-border);
    font-weight: 600;
}

.site-v7-breadcrumb .breadcrumb > li > a,
.site-v7-breadcrumb .bc > li > a,
body.site-v7 .site-v7-main .breadcrumb > li > a,
body.site-v7 .site-v7-main .bc > li > a {
    color: var(--v7-blue);
    text-decoration: none;
    font-weight: 600;
}

.site-v7-breadcrumb .breadcrumb > li > a:hover,
.site-v7-breadcrumb .bc > li > a:hover,
body.site-v7 .site-v7-main .breadcrumb > li > a:hover,
body.site-v7 .site-v7-main .bc > li > a:hover {
    color: var(--v7-blue-hover);
    text-decoration: underline;
}

.site-v7-breadcrumb .breadcrumb > li:last-child,
.site-v7-breadcrumb .bc > li:last-child,
body.site-v7 .site-v7-main .breadcrumb > li:last-child,
body.site-v7 .site-v7-main .bc > li:last-child {
    color: var(--v7-text);
    font-weight: 600;
}

.site-v7-pages {
    margin-top: 28px;
}

.site-v7-pages .Pages,
.site-v7-pages .pagination,
.site-v7-pages ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-v7-pages a,
.site-v7-pages span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--v7-border);
    background: var(--v7-surface);
    color: var(--v7-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.site-v7-pages a:hover,
.site-v7-pages .active,
.site-v7-pages .current {
    border-color: var(--v7-blue);
    color: var(--v7-blue);
    background: rgba(0, 175, 202, 0.08);
}

/* ——— News list ——— */
body.site-v7 .ListList {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.site-v7 .ListList > li,
body.site-v7 .ListList > li.site-v6-news-item {
    list-style: none;
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 18px 20px;
    align-items: start;
    margin: 0 0 18px;
    padding: 16px;
    background: var(--v7-surface) !important;
    background-color: var(--v7-surface) !important;
    border: 1px solid var(--v7-border);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

body.site-v7 .ListList > li:hover {
    border-color: #d7eef3;
    box-shadow: 0 8px 24px rgba(0, 175, 202, 0.1);
    transform: translateY(-2px);
}

body.site-v7 .ListList > li:last-child {
    margin-bottom: 0;
}

body.site-v7 .site-v6-news-thumb {
    display: block;
    width: 100%;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    background: #eef1f4;
}

body.site-v7 .site-v6-news-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    transition: transform 0.35s ease;
}

body.site-v7 .ListList > li:hover .site-v6-news-thumb img {
    transform: scale(1.04);
}

body.site-v7 .site-v6-news-body {
    min-width: 0;
}

body.site-v7 .site-v6-news-body > .date,
body.site-v7 .ListList .date {
    display: inline-block;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--v7-muted);
}

body.site-v7 .ListList li a.title.site-v6-news-title {
    display: block;
    margin: 0 0 10px;
    font-family: var(--v7-font-heading);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--v7-text);
    text-decoration: none;
}

body.site-v7 .ListList li a.title.site-v6-news-title:hover {
    color: var(--v7-blue);
}

body.site-v7 .site-v6-news-body > .Text,
body.site-v7 .ListList .Text {
    display: block;
    margin: 0;
    color: var(--v7-muted);
    font-size: 14px;
    line-height: 1.55;
}

body.site-v7 .ListList .clearfix {
    display: none;
}

/* ——— Budget nav buttons ——— */
body.site-v7 .site-v6-budget-nav,
body.site-v7 .site-v7-budget-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 24px;
}

body.site-v7 .site-v6-budget-card.btn,
body.site-v7 a.site-v6-budget-card,
body.site-v7 a.site-v7-budget-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    margin: 0;
    padding: 14px 16px;
    background: var(--v7-surface) !important;
    border: 1px solid #eceff3 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    color: var(--v7-text) !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    text-decoration: none !important;
    white-space: normal;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.site-v7 .site-v7-budget-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f1f3f5;
    color: var(--v7-blue);
    flex: 0 0 auto;
    transition: background 0.2s ease, transform 0.2s ease;
}

body.site-v7 .site-v7-budget-card-label {
    flex: 1 1 auto;
    min-width: 0;
}

body.site-v7 .site-v6-budget-card:hover,
body.site-v7 .site-v7-budget-card:hover {
    border-color: #c5eaf1 !important;
    box-shadow: 0 10px 28px rgba(0, 175, 202, 0.14);
    transform: translateY(-2px);
    color: #0f172a !important;
}

body.site-v7 .site-v6-budget-card:hover .site-v7-budget-card-icon,
body.site-v7 .site-v7-budget-card:hover .site-v7-budget-card-icon {
    background: rgba(0, 175, 202, 0.16);
    transform: scale(1.06);
}

body.site-v7 .site-v6-budget-card.is-active,
body.site-v7 .site-v7-budget-card.is-active {
    border-color: var(--v7-blue) !important;
    box-shadow: 0 0 0 2px rgba(0, 175, 202, 0.18);
    color: #0f172a !important;
}

body.site-v7 .site-v6-budget-card.is-active .site-v7-budget-card-icon,
body.site-v7 .site-v7-budget-card.is-active .site-v7-budget-card-icon {
    background: rgba(0, 175, 202, 0.18);
}

/* ——— News open / article ——— */
body.site-v7 .View.Type1 {
    background: var(--v7-surface);
    border: 1px solid var(--v7-border);
    border-radius: 12px;
    padding: 22px 22px 8px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

body.site-v7 .View .TextInfo {
    color: var(--v7-text);
    font-size: 16px;
    line-height: 1.65;
}

body.site-v7 .View .TextInfo .date {
    display: inline-block;
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--v7-muted) !important;
    background-color: transparent !important;
}

body.site-v7 .View .open3 {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 320px;
    margin: 0 0 18px;
    border-radius: 10px;
    background-color: #e5e7eb;
}

body.site-v7 .View .TextInfo img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

body.site-v7 .View + div[style*="text-align:right"] {
    margin: 10px 0 24px;
    font-size: 13px;
    color: var(--v7-muted);
}

body.site-v7 .PhotoListSmall {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

body.site-v7 .PhotoListSmall > li {
    margin: 0;
    padding: 0;
    float: none;
}

body.site-v7 .PhotoListSmall a {
    display: block;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: #eef1f4;
}

body.site-v7 .PhotoListSmall img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

body.site-v7 .PhotoListSmall span {
    display: none;
}

body.site-v7 .fileList {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 8px;
}

body.site-v7 .site-v6-inner-nav {
    margin: 0 0 28px;
}

body.site-v7 .site-v6-inner-nav-title {
    margin: 0 0 14px;
    font-family: var(--v7-font-heading);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 700;
    color: var(--v7-text);
}

body.site-v7 .site-v6-inner-list,
body.site-v7 ul.fileList.pageList {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.site-v7 .site-v6-inner-list > li,
body.site-v7 ul.fileList.pageList > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.site-v7 .fileList li a,
body.site-v7 .site-v6-inner-list > li > a,
body.site-v7 ul.fileList.pageList > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 72px;
    padding: 14px 16px;
    background: var(--v7-surface) !important;
    background-color: var(--v7-surface) !important;
    border: 1px solid var(--v7-border);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
    color: var(--v7-text) !important;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.site-v7 .fileList li a:hover,
body.site-v7 .site-v6-inner-list > li > a:hover,
body.site-v7 ul.fileList.pageList > li > a:hover {
    border-color: var(--v7-blue);
    color: var(--v7-blue) !important;
    box-shadow: 0 0 0 2px rgba(0, 175, 202, 0.12);
}

body.site-v7 .fileList .fileInfo {
    font-size: 12px;
    font-weight: 500;
    color: var(--v7-muted);
}

@media (max-width: 900px) {
    body.site-v7 .site-v6-inner-list,
    body.site-v7 ul.fileList.pageList {
        grid-template-columns: 1fr;
    }
}

/* ——— Tile lists (pages) ——— */
body.site-v7 .TileList,
body.site-v7 .TileList.TileListSmall {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

body.site-v7 .TileList.TileListSmall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.site-v7 .TileList > li,
body.site-v7 .TileList.TileListSmall > li {
    position: relative;
    float: none;
    width: auto;
    margin: 0;
    padding: 12px;
    list-style: none;
    background: var(--v7-surface) !important;
    background-color: var(--v7-surface) !important;
    border: 1px solid var(--v7-border);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
    box-sizing: border-box;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

body.site-v7 .TileList > li:hover,
body.site-v7 .TileList.TileListSmall > li:hover {
    border-color: #d7eef3;
    box-shadow: 0 8px 24px rgba(0, 175, 202, 0.1);
    transform: translateY(-2px);
}

body.site-v7 .TileList > li > .clearfix,
body.site-v7 .TileList.TileListSmall > li > .clearfix {
    display: none;
}

body.site-v7 .TileList > li > a.title,
body.site-v7 .TileList.TileListSmall > li > a.title {
    display: block;
    margin: 0 0 10px;
    border-radius: 10px;
    overflow: hidden;
    background: #eef1f4;
    text-decoration: none !important;
}

body.site-v7 .TileList > li > a.title .mainImg,
body.site-v7 .TileList.TileListSmall > li > a.title .mainImg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 140px;
    max-height: 180px;
    object-fit: cover;
    border: 0;
    border-radius: 10px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

body.site-v7 .TileList.TileListSmall > li > a.title .mainImg {
    min-height: 120px;
    max-height: 150px;
}

body.site-v7 .TileList > li > a.title2,
body.site-v7 .TileList.TileListSmall > li > a.title2 {
    display: block;
    margin: 0;
    padding: 0 2px;
    font-family: var(--v7-font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--v7-text) !important;
    text-decoration: none !important;
    background: transparent !important;
}

body.site-v7 .TileList > li > a.title2:hover,
body.site-v7 .TileList.TileListSmall > li > a.title2:hover {
    color: var(--v7-blue) !important;
}

body.site-v7 .TileList > li > .price,
body.site-v7 .TileList.TileListSmall > li > .price {
    display: block;
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--v7-muted);
}

body.site-v7 .TileList .AdminActions,
body.site-v7 .TileList.TileListSmall .AdminActions {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.site-v7 .TileList .AdminActions a,
body.site-v7 .TileList.TileListSmall .AdminActions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--v7-surface);
    border: 1px solid var(--v7-border);
    color: var(--v7-blue) !important;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

body.site-v7 .TileList .AdminActions a:hover,
body.site-v7 .TileList.TileListSmall .AdminActions a:hover {
    border-color: var(--v7-blue);
    color: var(--v7-blue-hover) !important;
}

body.site-v7 .AddButton {
    margin: 0 0 16px;
}

body.site-v7 .AddButton a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--v7-blue) !important;
    font-weight: 600;
    text-decoration: none !important;
    background: transparent !important;
}

@media (max-width: 960px) {
    body.site-v7 .TileList,
    body.site-v7 .TileList.TileListSmall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.site-v7 .TileList,
    body.site-v7 .TileList.TileListSmall {
        grid-template-columns: 1fr;
    }
}

body.site-v7 .blog {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 12px;
}

body.site-v7 .blog > li {
    background: var(--v7-surface);
    border: 1px solid var(--v7-border);
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

body.site-v7 .blog .name {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--v7-text);
}

body.site-v7 .blog .name small {
    margin-left: 8px;
    font-weight: 500;
    color: var(--v7-muted);
}

body.site-v7 .blog .Q,
body.site-v7 .blog .A {
    display: block;
    color: var(--v7-muted);
    line-height: 1.55;
}

body.site-v7 .blog .A {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eef0f3;
    color: #0f766e;
}

body.site-v7 h2,
body.site-v7 h3 {
    margin: 0 0 14px;
    color: var(--v7-text);
    font-weight: 700;
    line-height: 1.3;
}

body.site-v7 .site-v7-news-feature-title,
body.site-v7 h3.site-v7-news-feature-title {
    color: #fff;
}

body.site-v7 .site-v7-news-feature-date {
    color: rgba(255, 255, 255, 0.9);
}

body.site-v7 .site-v7-news-feature-link,
body.site-v7 .site-v7-news-feature-link:visited,
body.site-v7 .site-v7-news-feature-link:hover {
    color: #fff;
}

/* ——— Comment / feedback forms ——— */
body.site-v7 .Form,
body.site-v7 .site-v7-form {
    display: grid;
    gap: 6px;
    max-width: 640px;
    margin: 0 0 24px;
    padding: 22px;
    background: var(--v7-surface) !important;
    background-color: var(--v7-surface) !important;
    border: 1px solid var(--v7-border);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
    box-sizing: border-box;
}

body.site-v7 .site-v7-form-wrap {
    max-width: 640px;
    margin: 0 auto;
}

body.site-v7 .Form label,
body.site-v7 .site-v7-form-label,
body.site-v7 .site-v7-form label {
    display: block;
    margin: 8px 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--v7-text);
}

body.site-v7 .Form .red,
body.site-v7 .site-v7-form .red,
body.site-v7 .red {
    color: #dc2626;
}

body.site-v7 .Form .nopublish,
body.site-v7 .nopublish {
    font-size: 12px;
    font-weight: 500;
    color: var(--v7-muted);
}

body.site-v7 .Form input[type="text"],
body.site-v7 .Form input[type="email"],
body.site-v7 .Form input[type="tel"],
body.site-v7 .Form textarea,
body.site-v7 .form-control,
body.site-v7 .site-v7-form input[type="text"],
body.site-v7 .site-v7-form textarea {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    padding: 12px 14px;
    border: 1px solid var(--v7-border);
    border-radius: 10px;
    background: var(--v7-surface);
    color: var(--v7-text);
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.site-v7 .Form textarea,
body.site-v7 .site-v7-form textarea,
body.site-v7 textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

body.site-v7 .Form input:focus,
body.site-v7 .Form textarea:focus,
body.site-v7 .form-control:focus {
    outline: none;
    border-color: var(--v7-blue);
    box-shadow: 0 0 0 3px rgba(0, 175, 202, 0.15);
}

body.site-v7 .btn,
body.site-v7 .btn-primary,
body.site-v7 .site-v7-btn,
body.site-v7 input[type="submit"].btn,
body.site-v7 input[type="button"].btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 0;
    padding: 12px 20px;
    border: 0;
    border-radius: 10px;
    background: var(--v7-blue);
    color: #fff !important;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.site-v7 .btn:hover,
body.site-v7 .btn-primary:hover,
body.site-v7 .site-v7-btn:hover,
body.site-v7 input[type="submit"].btn:hover,
body.site-v7 input[type="button"].btn:hover {
    background: var(--v7-blue-hover);
    box-shadow: 0 6px 18px rgba(0, 175, 202, 0.25);
}

body.site-v7 .site-v6-budget-card.btn:hover,
body.site-v7 a.site-v6-budget-card:hover,
body.site-v7 a.site-v7-budget-card:hover,
body.site-v7 .site-v6-budget-card.btn.is-active,
body.site-v7 a.site-v6-budget-card.is-active {
    background: var(--v7-surface) !important;
    color: #0f172a !important;
}

body.site-v7 .Form img[src="/robo/"],
body.site-v7 .Form img[src*="robo"] {
    display: block;
    margin: 4px 0 8px;
    border-radius: 8px;
}

/* ——— Gallery ——— */
body.site-v7 .PhotoList {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.site-v7 .PhotoList > li {
    float: none;
    margin: 0;
    width: auto;
    min-height: 0;
    background: var(--v7-surface);
    border: 1px solid var(--v7-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

body.site-v7 .PhotoList > li:hover {
    box-shadow: 0 10px 28px rgba(0, 175, 202, 0.12);
    transform: translateY(-2px);
}

body.site-v7 .PhotoList > li > a {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 0;
    background-size: cover !important;
    background-position: center !important;
    background-color: #eef1f4;
    position: relative;
    overflow: hidden;
}

body.site-v7 .PhotoList > li > a > span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 12px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

body.site-v7 .PhotoList > li > b {
    display: block;
    margin: 0;
    padding: 12px 14px 14px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--v7-text);
}

body.site-v7 .PhotoList.filesOrder > li > b {
    display: none;
}

/* ——— Contacts rows ——— */
body.site-v7 .Contacts,
body.site-v7 .site-v7-contacts {
    display: grid;
    gap: 10px;
    max-width: 720px;
}

body.site-v7 .Contacts .form-group {
    margin: 0;
}

body.site-v7 .Contacts .form-control {
    display: block;
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--v7-border);
    border-radius: 10px;
    background: var(--v7-surface) !important;
    background-color: var(--v7-surface) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    color: var(--v7-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    box-sizing: border-box;
}

body.site-v7 .Contacts .form-group:first-child .form-control {
    border-color: rgba(0, 175, 202, 0.35);
    box-shadow: 0 0 0 2px rgba(0, 175, 202, 0.08);
    color: var(--v7-text);
    font-size: 16px;
}

body.site-v7 .clearfix {
    clear: both;
    height: 0;
    overflow: hidden;
}

@media (max-width: 960px) {
    body.site-v7 .ListList > li,
    body.site-v7 .ListList > li.site-v6-news-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.site-v7 .site-v6-news-thumb {
        height: 200px;
    }

    body.site-v7 .site-v6-budget-nav,
    body.site-v7 .site-v7-budget-nav {
        grid-template-columns: 1fr;
    }

    body.site-v7 .PhotoList {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.site-v7 .PhotoListSmall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.site-v7 .View .open3 {
        height: 220px;
    }

    body.site-v7 .View.Type1,
    body.site-v7 .Form,
    body.site-v7 .site-v7-form {
        padding: 16px;
    }
}

@media (max-width: 560px) {
    body.site-v7 .PhotoList {
        grid-template-columns: 1fr;
    }
}

/* ——— Search page ——— */
body.site-v7 .site-v7-search-form {
    margin: 0 0 28px;
    padding: 20px;
    background: var(--v7-surface);
    border: 1px solid var(--v7-border);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

body.site-v7 .site-v7-search-form-label {
    display: block;
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--v7-text);
}

body.site-v7 .site-v7-search-form-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

body.site-v7 .site-v7-search-form-field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

body.site-v7 .site-v7-search-form-field > .icon-search {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--v7-muted);
    font-size: 16px;
    pointer-events: none;
}

body.site-v7 .site-v7-search-form-input,
body.site-v7 .site-v7-search-form .form-control {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 42px;
    border: 1px solid var(--v7-border);
    border-radius: 10px;
    background: var(--v7-page);
    color: var(--v7-text);
    font-size: 15px;
    box-sizing: border-box;
    box-shadow: none;
}

body.site-v7 .site-v7-search-form-input:focus,
body.site-v7 .site-v7-search-form .form-control:focus {
    outline: none;
    border-color: var(--v7-blue);
    box-shadow: 0 0 0 3px rgba(0, 175, 202, 0.15);
    background: var(--v7-surface);
}

body.site-v7 .site-v7-search-form-btn,
body.site-v7 .site-v7-search-form .btn-primary {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: var(--v7-blue);
    color: var(--v7-white);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

body.site-v7 .site-v7-search-form-btn:hover,
body.site-v7 .site-v7-search-form .btn-primary:hover {
    background: var(--v7-blue-hover);
}

body.site-v7 .site-v7-search-results {
    margin: 0 0 8px;
}

body.site-v7 .site-v7-search-results-head {
    margin: 0 0 16px;
}

body.site-v7 .site-v7-search-results-title {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--v7-text);
    letter-spacing: -0.01em;
}

body.site-v7 .site-v7-search-results-query {
    margin: 0;
    font-size: 14px;
    color: var(--v7-muted);
}

body.site-v7 .site-v7-search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.site-v7 .site-v7-search-result {
    margin: 0;
    padding: 0;
}

body.site-v7 .site-v7-search-result-link {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    padding: 14px;
    background: var(--v7-surface);
    border: 1px solid var(--v7-border);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
    color: var(--v7-text);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.site-v7 .site-v7-search-result-link:hover {
    border-color: #c5eaf1;
    box-shadow: 0 10px 28px rgba(0, 175, 202, 0.12);
    transform: translateY(-2px);
    color: var(--v7-text);
}

body.site-v7 .site-v7-search-result-media {
    display: block;
    width: 120px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--v7-page);
    flex-shrink: 0;
}

body.site-v7 .site-v7-search-result-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.site-v7 .site-v7-search-result-media--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--v7-blue);
    font-size: 22px;
    border: 1px dashed var(--v7-border);
}

body.site-v7 .site-v7-search-result-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 2px 4px 2px 0;
}

body.site-v7 .site-v7-search-result-name {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--v7-text);
}

body.site-v7 .site-v7-search-result-link:hover .site-v7-search-result-name {
    color: var(--v7-blue);
}

body.site-v7 .site-v7-search-result-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: var(--v7-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.site-v7 .site-v7-search-result-more {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--v7-blue);
    opacity: 0.85;
}

body.site-v7 .site-v7-search-empty {
    text-align: center;
    padding: 48px 20px;
    background: var(--v7-surface);
    border: 1px solid var(--v7-border);
    border-radius: 14px;
}

body.site-v7 .site-v7-search-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(0, 175, 202, 0.1);
    color: var(--v7-blue);
    font-size: 26px;
}

body.site-v7 .site-v7-search-empty-text {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--v7-text);
}

body.site-v7 .site-v7-search-empty-hint {
    margin: 0;
    font-size: 14px;
    color: var(--v7-muted);
}

@media (max-width: 640px) {
    body.site-v7 .site-v7-search-form-row {
        flex-direction: column;
    }

    body.site-v7 .site-v7-search-form-btn,
    body.site-v7 .site-v7-search-form .btn-primary {
        width: 100%;
    }

    body.site-v7 .site-v7-search-result-link {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    body.site-v7 .site-v7-search-result-media {
        width: 88px;
        height: 72px;
    }

    body.site-v7 .site-v7-search-result-name {
        font-size: 15px;
    }
}
