:root {
    --bg: #f6f9fd;
    --surface: #ffffff;
    --surface-soft: #eef6ff;
    --text: #172238;
    --muted: #66758c;
    --line: #dfeaf5;
    --blue: #0874c9;
    --blue-dark: #075ca0;
    --blue-soft: #e6f3ff;
    --shadow: 0 18px 50px rgba(27, 78, 126, .10);
    --shadow-soft: 0 10px 30px rgba(27, 78, 126, .08);
    --radius: 18px;
    --radius-lg: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.container { width: min(1510px, calc(100% - 42px)); margin: 0 auto; }
.page-shell { overflow: clip; }

.btn {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: .18s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 26px rgba(8,116,201,.24); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--text); border-color: var(--line); }
.btn-light:hover { color: var(--blue); border-color: rgba(8,116,201,.35); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(223,234,245,.85);
}
.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 190px; height: auto; }
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.4vw, 42px);
    color: #26344a;
    font-size: 15px;
    font-weight: 700;
}
.main-nav a { padding: 10px 0; }
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { color: #20304b; font-weight: 800; white-space: nowrap; }
.header-btn { border-radius: 8px; min-width: 160px; }
.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 10px 13px;
    font-weight: 800;
    color: var(--text);
}

.home-hero { padding: 18px 0 10px; }
.hero-card {
    min-height: 320px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.55);
}
.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.74) 31%, rgba(255,255,255,.16) 60%, rgba(255,255,255,.03) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    padding: clamp(34px, 5vw, 70px) clamp(34px, 6vw, 78px);
}
.eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(8,116,201,.10);
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 900;
}
.hero-content h1 {
    margin: 0 0 18px;
    max-width: 560px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.06;
    letter-spacing: -.03em;
    color: #11203a;
}
.hero-content p {
    max-width: 430px;
    margin: 0 0 26px;
    color: #53647a;
    font-size: 18px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 28px rgba(16,46,84,.15);
    color: var(--text);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.hero-arrow-left { left: 16px; }
.hero-arrow-right { right: 16px; }

.directions-section { padding: 0 0 10px; }
.mosaic-grid {
    display: grid;
    grid-template-columns: 1.12fr .9fr .78fr;
    grid-template-rows: 132px 132px;
    gap: 8px;
}
.destination-card {
    min-height: 132px;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    padding: 22px;
    background-size: cover;
    background-position: center;
    color: #fff;
    box-shadow: var(--shadow-soft);
    isolation: isolate;
}
.destination-large {
    grid-row: span 2;
    min-height: 272px;
}
.destination-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: rgba(8,116,201,.2);
}
.destination-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(10,40,75,.58), rgba(10,40,75,.12) 60%, rgba(10,40,75,.05));
}
.destination-text { display: grid; gap: 3px; text-shadow: 0 2px 12px rgba(0,0,0,.28); }
.destination-text b { font-size: clamp(23px, 2.6vw, 34px); line-height: 1.05; }
.destination-text small { max-width: 280px; font-size: 15px; line-height: 1.24; color: rgba(255,255,255,.9); }
.round-link {
    position: absolute;
    left: 20px;
    bottom: 18px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--blue);
    font-weight: 900;
}
.destination-card:hover { color: #fff; transform: translateY(-2px); transition: .18s ease; }

.home-panels { padding: 0 0 12px; }
.panels-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, .9fr);
    gap: 10px;
}
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    padding: 22px;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.section-head h2 { margin: 0; font-size: 24px; line-height: 1.15; }
.section-head a, .section-head span { color: var(--blue); font-size: 14px; font-weight: 800; }
.mini-tour-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.mini-tour {
    position: relative;
    min-height: 48px;
    display: grid;
    grid-template-columns: 1fr 46%;
    gap: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
}
.mini-tour:hover { color: var(--text); border-color: rgba(8,116,201,.35); }
.mini-tour-date {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}
.mini-tour-body {
    padding: 50px 0 14px 14px;
    display: grid;
    align-content: end;
    gap: 5px;
}
.mini-tour-body b { font-size: 17px; line-height: 1.15; }
.mini-tour-body small { color: var(--muted); font-weight: 700; }
.mini-tour-body em { color: #52647c; font-size: 13px; font-style: normal; }
.mini-tour img { width: 100%; height: 100%; min-height: 48px; object-fit: cover; }
.about-panel p { margin: 0 0 22px; color: #53647a; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.benefits-grid span {
    min-height: 78px;
    display: grid;
    gap: 4px;
    align-content: center;
    padding: 12px;
    border-radius: 12px;
    background: var(--surface-soft);
    color: #243a58;
    font-size: 13px;
    font-weight: 800;
}
.benefits-grid b { color: var(--blue); font-size: 16px; }

.site-main { padding: 22px 0 34px; }
.layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}
.content-title { margin-top: 0; }
.tour-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.tour-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.tour-card-media {
    height: 230px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #d8ecff, #ffffff);
    color: var(--blue);
    font-weight: 900;
}
.tour-card-media img { width: 100%; height: 100%; object-fit: cover; }
.tour-card-body { padding: 20px; }
.tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}
.tour-meta span {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--surface-soft);
}
.tour-card h2 { margin: 0 0 11px; font-size: 23px; line-height: 1.18; }
.tour-excerpt { color: #53647a; }
.tour-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    color: var(--muted);
    font-size: 14px;
}
.read-more { color: var(--blue); font-weight: 900; }

.sidebar {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 16px;
}
.side-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
    padding: 22px;
}
.side-box h3 { margin: 0 0 12px; font-size: 21px; }
.contact-subtitle { margin: -6px 0 16px; color: var(--muted); }
.contact-card ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 11px; }
.contact-card li { display: grid; gap: 2px; }
.contact-card li span { color: var(--muted); font-size: 13px; }
.contact-card li b { font-size: 15px; color: #253751; }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rating-widget { margin: 16px 0 0; }
.side-search { display: grid; gap: 10px; }
.side-search input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 13px 14px;
    background: #fff;
    color: var(--text);
}
.side-search button {
    border: 0;
    border-radius: 12px;
    padding: 13px 14px;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.full-article, .related-block, .comment-form-box, .comment-item, .system-message {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
    padding: clamp(22px, 3vw, 34px);
}
.article-head h1 {
    margin: 0;
    font-size: clamp(31px, 4vw, 50px);
    line-height: 1.07;
    letter-spacing: -.03em;
}
.article-cover { margin: 24px 0; overflow: hidden; border-radius: 16px; }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.story-text { color: #34445c; font-size: 18px; }
.story-text p { margin: 0 0 18px; }
.story-text h2, .story-text h3 { color: var(--text); line-height: 1.2; }
.story-text a { color: var(--blue); font-weight: 800; }
.story-text table { width: 100%; margin: 20px 0; border-collapse: collapse; overflow: hidden; border-radius: 14px; }
.story-text th, .story-text td { border: 1px solid var(--line); padding: 12px; text-align: left; }
.story-text th { background: var(--surface-soft); }
.article-cta {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-soft);
    padding: 20px;
}
.article-cta strong { display: block; font-size: 18px; }
.article-cta span { color: var(--muted); }
.article-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.related-block { margin-top: 18px; }
.related-block h2 { margin: 0 0 12px; }
.related-item { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 800; }
.related-item:last-child { border-bottom: 0; }

.comment-item { display: flex; gap: 14px; margin-top: 16px; }
.comment-avatar img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.comment-head { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); }
.comment-head b { color: var(--text); }
.comment-form-box { margin-top: 18px; }
.form-row { margin-bottom: 12px; }
.two-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.form-row input, .comment-form-box textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 13px 14px;
}
.login-box { display: grid; gap: 10px; }
.login-box input { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.logged-box { display: flex; gap: 10px; flex-wrap: wrap; }

.pagination { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination a, .pagination span {
    min-width: 38px;
    min-height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 0 12px;
}

.site-footer {
    padding: 28px 0 18px;
    background: #fff;
    border-top: 1px solid var(--line);
}
.footer-main {
    display: grid;
    grid-template-columns: minmax(220px, .9fr) minmax(320px, 1fr) auto minmax(260px, .8fr);
    align-items: center;
    gap: 22px;
}
.footer-brand p { margin: 8px 0 0; font-weight: 800; color: #233650; }
.footer-contacts { display: grid; gap: 8px; color: #263b57; }
.footer-contacts p { margin: 0; }
.footer-contacts span { color: var(--blue); margin-right: 7px; }
.footer-widget { display: flex; justify-content: center; }
.footer-widget .rating-widget { margin: 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.footer-card-link {
    min-height: 56px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
    color: var(--blue-dark);
    font-weight: 900;
    text-align: center;
}
.social-links { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; }
.social-links a {
    min-width: 34px;
    min-height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}
.social-links a:hover { color: #fff; background: var(--blue-dark); }
.footer-bottom {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

.offline-page { min-height: 100vh; display: grid; place-items: center; }
.offline-box {
    width: min(560px, calc(100% - 32px));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    padding: 32px;
    text-align: center;
}

@media (max-width: 1240px) {
    .header-phone { display: none; }
    .main-nav { gap: 20px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-widget { justify-content: flex-start; }
}

@media (max-width: 1040px) {
    .main-nav {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 78px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--shadow);
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { width: 100%; padding: 12px; border-radius: 10px; }
    .main-nav a:hover { background: var(--surface-soft); }
    .menu-toggle { display: inline-flex; }
    .mosaic-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .destination-large { grid-row: auto; }
    .panels-grid, .layout-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .mini-tour-grid { grid-template-columns: 1fr; }
    .mini-tour { grid-template-columns: 1fr 38%; }
}

@media (max-width: 720px) {
    .container { width: min(100% - 24px, 1510px); }
    .brand img { width: 148px; }
    .header-inner { min-height: 68px; }
    .header-btn { display: none; }
    .main-nav { top: 68px; }
    .home-hero { padding-top: 12px; }
    .hero-card { min-height: 450px; }
    .hero-card::before { background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.74) 55%, rgba(255,255,255,.12)); }
    .hero-content { padding: 34px 22px; }
    .hero-arrow { display: none; }
    .mosaic-grid { grid-template-columns: 1fr; }
    .destination-card, .destination-large { min-height: 190px; }
    .tour-list { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .two-cols { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
}


/* Inline fallback: стили ниже нужны для версии без внешнего logo.svg и img-тегов */
.brand-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-weight: 900;
    line-height: 1;
}
.brand-logo svg,
.footer-logo svg { flex: 0 0 auto; display: block; }
.brand-logo-title { display: grid; gap: 4px; }
.brand-logo-title strong { font-size: 30px; letter-spacing: .08em; color: var(--blue); }
.brand-logo-title span { font-size: 12px; letter-spacing: .02em; color: #477193; font-weight: 700; }
.footer-logo .brand-logo-title strong { font-size: 22px; }
.footer-logo .brand-logo-title span { font-size: 11px; }
.mini-tour-image {
    min-height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #dcecf9;
}
.mini-tour-image::after {
    content: "";
    display: block;
    height: 100%;
    min-height: 48px;
}
@media (max-width: 760px) {
    .brand-logo-title strong { font-size: 24px; }
    .brand-logo-title span { font-size: 11px; }
}

/* Full article page: minimalist two-column layout */
.site-main-article {
    padding-top: 26px;
    background: #f7f9fc;
}
.site-main-article .layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}
.site-main-article .sidebar {
    display: grid;
}
.site-main-article .fullstory-layout {
    display: block;
}
.site-main-article .article-related-sidebar {
    display: none;
}
.article-speedbar {
    margin: 0 0 20px;
    color: #858d9a;
    font-size: 16px;
    font-weight: 700;
}
.article-speedbar a {
    color: #7b8390;
}
.article-speedbar a:hover {
    color: var(--blue);
}
.fullstory-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 30px;
    align-items: start;
}
.article-card-modern {
    padding: clamp(30px, 4.2vw, 54px);
    border-radius: 18px;
    border: 1px solid #e3e8ef;
    background: #fff;
    box-shadow: 0 22px 58px rgba(19, 42, 70, .07);
}
.article-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}
.article-meta-author {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}
.article-avatar {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(8,116,201,.15);
    box-shadow: 0 8px 20px rgba(8,116,201,.12);
}
.article-meta-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.article-category-name,
.article-category-name a {
    color: var(--blue);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
}
.article-author-line {
    color: #808997;
    font-size: 15px;
    font-weight: 700;
}
.article-author-line span {
    margin-left: 12px;
}
.article-dots {
    color: #8993a3;
    letter-spacing: 3px;
    font-size: 20px;
    line-height: 1;
    font-weight: 900;
}
.article-card-modern h1 {
    margin: 0 0 24px;
    max-width: 940px;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.08;
    letter-spacing: -.045em;
    color: #05070a;
}
.article-lead {
    margin-bottom: 20px;
}
.article-cover-wide {
    margin: 26px 0 26px;
    overflow: hidden;
    border-radius: 12px;
    background: #e7eef7;
}
.article-cover-wide img {
    width: 100%;
    max-height: 490px;
    min-height: 280px;
    object-fit: cover;
}
.article-body-text {
    color: #2e3948;
    font-size: 18px;
    line-height: 1.72;
}
.article-body-text > :first-child {
    margin-top: 0;
}
.article-body-text h2,
.article-body-text h3 {
    margin: 30px 0 14px;
    color: #05070a;
    letter-spacing: -.02em;
}
.article-body-text h2 {
    font-size: clamp(26px, 3vw, 34px);
}
.article-body-text h3 {
    font-size: 24px;
}
.article-body-text ul,
.article-body-text ol {
    padding-left: 24px;
}
.article-body-text li {
    margin: 8px 0;
}
.article-cta-modern {
    margin-top: 34px;
    border-color: #dce8f5;
    background: linear-gradient(135deg, #eef7ff, #ffffff);
}
.article-related-sidebar {
    position: sticky;
    top: 100px;
}
.article-related-card {
    padding: 28px 30px;
    border: 1px solid #e3e8ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 58px rgba(19, 42, 70, .07);
}
.article-related-card h3 {
    margin: 0 0 24px;
    color: #05070a;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -.02em;
}
.article-related-list,
.article-related-fallback {
    display: grid;
}
.article-related-list + .article-related-fallback {
    display: none;
}
.related-post-row,
.article-related-fallback a {
    display: grid;
    gap: 10px;
    padding: 20px 0;
    border-bottom: 1px solid #e8edf3;
    color: #05070a;
}
.related-post-row:first-child,
.article-related-fallback a:first-child {
    padding-top: 0;
}
.related-post-row:last-child,
.article-related-fallback a:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.related-post-row b,
.article-related-fallback b {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;
}
.related-post-row span,
.article-related-fallback span {
    color: #858d9a;
    font-size: 15px;
    font-weight: 700;
}
.related-post-row em,
.article-related-fallback em {
    margin: 0 12px;
    color: #bdc5cf;
    font-style: normal;
}
.related-post-row:hover,
.article-related-fallback a:hover {
    color: var(--blue);
}
.site-main-article .comment-item,
.site-main-article .comment-form-box {
    max-width: calc(100% - 460px);
    margin-top: 18px;
}

@media (max-width: 1180px) {
    .fullstory-layout {
        grid-template-columns: 1fr;
    }
    .article-related-sidebar {
        position: static;
    }
    .site-main-article .comment-item,
    .site-main-article .comment-form-box {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .article-speedbar {
        font-size: 14px;
    }
    .article-card-modern,
    .article-related-card {
        padding: 22px;
        border-radius: 16px;
    }
    .article-top {
        margin-bottom: 22px;
    }
    .article-author-line span {
        display: block;
        margin-left: 0;
    }
    .article-card-modern h1 {
        font-size: 30px;
    }
}


/* Main page products and reviews */
.section-kicker {
    display: inline-flex;
    margin-bottom: 7px;
    color: var(--blue);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.products-section {
    padding: 18px 0 10px;
}
.products-head {
    margin-bottom: 18px;
}
.products-head h2,
.reviews-intro h2 {
    margin: 0;
    color: #101828;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.13;
    letter-spacing: -.03em;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.product-image {
    display: block;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
}
.product-content {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.product-category {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #6a7890;
    font-size: 13px;
    font-weight: 800;
}
.product-card h3 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    line-height: 1.18;
    letter-spacing: -.02em;
}
.product-card p {
    margin: 0;
    color: #53647a;
    font-size: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-meta {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.product-meta strong {
    color: var(--blue-dark);
    font-size: 22px;
    line-height: 1;
}
.product-meta span {
    color: #8793a5;
    font-size: 13px;
    font-weight: 800;
}
.reviews-section {
    padding: 18px 0 28px;
}
.reviews-panel {
    display: grid;
    grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
    gap: 18px;
    align-items: stretch;
}
.reviews-intro,
.review-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.reviews-intro {
    padding: 28px;
}
.reviews-intro p {
    color: #53647a;
    font-size: 16px;
    margin: 14px 0 22px;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.review-card {
    padding: 22px;
}
.review-stars {
    color: #f6ad1b;
    letter-spacing: 2px;
    font-size: 18px;
    margin-bottom: 12px;
}
.review-card p {
    margin: 0 0 16px;
    color: #243246;
    font-size: 16px;
    line-height: 1.55;
}
.review-card span {
    color: #78879b;
    font-size: 14px;
    font-weight: 800;
}
.social-icon-links a {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.social-icon-links img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}
.global-speedbar-wrap:empty {
    display: none;
}

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reviews-panel { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .products-grid,
    .reviews-grid { grid-template-columns: 1fr; }
    .product-card h3 { font-size: 20px; }
}


/* Products and services on the main page */
.services-section,
.reviews-section {
    padding: 24px 0 16px;
}
.services-head,
.reviews-head {
    align-items: end;
}
.services-head h2,
.reviews-head h2 {
    margin: 8px 0 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    letter-spacing: -.035em;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.service-card {
    overflow: hidden;
    min-height: 100%;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(8,116,201,.35);
    box-shadow: var(--shadow);
}
.service-card-wide {
    grid-column: span 2;
}
.service-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}
.service-card-wide img {
    height: 300px;
}
.service-card-body {
    padding: 18px 18px 20px;
    display: grid;
    gap: 10px;
}
.service-tag {
    width: fit-content;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 900;
}
.service-card h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.02em;
}
.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}
.service-meta {
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.service-meta b {
    color: var(--blue-dark);
    font-size: 22px;
}
.service-meta span {
    color: #7c8999;
    font-size: 13px;
    font-weight: 800;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.review-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}
.review-top b {
    font-size: 18px;
}
.review-top span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}
.review-stars {
    color: #ffb72c;
    letter-spacing: 2px;
    font-size: 18px;
    margin-bottom: 10px;
}
.review-card p {
    margin: 0;
    color: #52647c;
    line-height: 1.65;
}
.social-links-icons a {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    border: 0;
    background: transparent;
}
.social-links-icons img {
    width: 38px;
    height: 38px;
    display: block;
}
@media (max-width: 1040px) {
    .services-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .service-card-wide {
        grid-column: span 2;
    }
}
@media (max-width: 680px) {
    .services-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .service-card-wide {
        grid-column: auto;
    }
    .service-card img,
    .service-card-wide img {
        height: 220px;
    }
}


/* Feedback page */
.contact-page-modern {
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.contact-page-modern h1 {
    margin-top: 0;
    font-size: clamp(34px, 4vw, 48px);
    letter-spacing: -.035em;
}
.contact-page-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
}
.contact-page-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f9fcff;
}
.feedback-form-card {
    display: grid;
    gap: 10px;
}
.feedback-form-card h2,
.contact-page-card h2 {
    margin: 0 0 8px;
}
.feedback-form-card label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}
.feedback-form-card input,
.feedback-form-card textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 13px 14px;
    color: var(--text);
    outline: none;
}
.feedback-form-card input:focus,
.feedback-form-card textarea:focus {
    border-color: rgba(8,116,201,.55);
    box-shadow: 0 0 0 4px rgba(8,116,201,.10);
}
.security-code {
    display: inline-flex;
    width: fit-content;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
@media (max-width: 860px) {
    .contact-page-grid { grid-template-columns: 1fr; }
}


.speedbar-box { padding: 18px 0 0; }
.review-person { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #0f172a; }
.review-avatar { width: 34px; height: 34px; border-radius: 50%; background: #0b70d7; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.reviews-grid-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .reviews-grid-six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .reviews-grid-six { grid-template-columns: 1fr; } }


/* Final fixes */
.review-avatar{color:#fff!important}.review-avatar *{color:#fff!important}.site-main-article .full-article{max-width:none}@media (max-width:1180px){.site-main-article .layout-grid{grid-template-columns:1fr}.site-main-article .sidebar{position:static}}.search-page-card,.search-result-card{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow-soft)}.search-page-card{padding:clamp(24px,4vw,42px)}.search-page-card h1,.search-results-title{margin:0 0 14px;font-size:clamp(30px,3.4vw,44px);line-height:1.1;letter-spacing:-.035em}.search-page-card p{margin:0 0 22px;color:var(--muted);font-size:17px}.search-main-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.search-main-form input[type="text"],.search-main-form input[type="search"]{width:100%;min-height:54px;border:1px solid var(--line);border-radius:14px;padding:0 18px;outline:none;background:#fff;color:var(--text)}.search-main-form input:focus{border-color:rgba(8,116,201,.55);box-shadow:0 0 0 4px rgba(8,116,201,.10)}.search-result-card{padding:24px;margin-bottom:16px}.search-result-card h2{margin:0 0 10px;font-size:26px;line-height:1.18}.search-result-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:var(--muted);font-size:14px;font-weight:800;margin-bottom:12px}.search-result-text{color:#53647a;font-size:16px;line-height:1.62}@media (max-width:620px){.search-main-form{grid-template-columns:1fr}}
