:root {
    --bg: #f4f8ff;
    --bg-strong: #ecf4ff;
    --card: #ffffff;
    --text: #102038;
    --muted: #66758f;
    --border: #d7e3f3;
    --line: #e8eef8;
    --blue: #2368f5;
    --blue-deep: #0e4ed3;
    --green: #1ea26f;
    --green-soft: #e5f7f0;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow: 0 18px 50px rgba(18, 34, 68, 0.08);
    --shadow-soft: 0 12px 30px rgba(18, 34, 68, 0.05);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Aptos", "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 16px;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

p {
    margin: 0 0 1em;
}

ul {
    margin: 0;
    padding-left: 18px;
}

.container {
    width: min(1280px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(215, 227, 243, 0.9);
}

.topbar {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 16px 0;
}

.site-branding {
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    min-width: 0;
}

.site-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 0;
}

.site-logo-picture {
    display: block;
    line-height: 0;
}

.site-logo-picture img {
    display: block !important;
    width: auto !important;
    height: 58px !important;
    max-width: none !important;
}

.site-title {
    display: inline-flex;
    align-items: center;
    font-size: 34px;
    font-weight: 800;
    color: var(--blue);
}

.primary-nav {
    flex: 1;
}

.primary-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    font-weight: 700;
    color: var(--text);
}

.primary-nav .current-menu-item > a,
.primary-nav .current-menu-parent > a,
.primary-nav a:hover {
    color: var(--blue);
}

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

.search-field {
    min-width: 170px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    padding: 0 14px;
    color: var(--text);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

.bf-lang {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 70;
}

.bf-lang__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(35, 104, 245, 0.06);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.bf-lang__button:hover,
.bf-lang.is-open .bf-lang__button {
    border-color: #b8cbf9;
    box-shadow: 0 14px 28px rgba(35, 104, 245, 0.12);
    transform: translateY(-1px);
}

.bf-lang__current {
    font-size: 14px;
}

.bf-lang__chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.18s ease;
}

.bf-lang.is-open .bf-lang__chevron {
    transform: rotate(225deg) translateY(-1px);
}

.bf-lang__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 110px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.bf-lang.is-open .bf-lang__menu,
.bf-lang:hover .bf-lang__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bf-lang__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 11px;
    color: var(--text);
    font-weight: 800;
    font-size: 14px;
}

.bf-lang__item:hover,
.bf-lang__item.is-active {
    background: #eef4ff;
    color: var(--blue);
}

.bf-lang__item.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.site-main {
    padding: 28px 0 48px;
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
}

.content-with-sidebar--home {
    align-items: start;
}

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

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.card,
.widget {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.section-block {
    margin-top: 30px;
}

.section-head,
.widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.section-head h2,
.widget-title,
.archive-header h1,
.entry-header h1 {
    margin: 0;
    font-size: 30px;
}

.archive-header {
    margin-bottom: 24px;
}

.section-link,
.widget-head a {
    color: var(--blue);
    font-size: 15px;
    font-weight: 700;
}

.eyebrow,
.card-taxonomy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
    background: var(--blue-deep);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(35, 104, 245, 0.18);
}

.button-secondary {
    background: #eef4ff;
    color: var(--blue);
}

.button-secondary:hover {
    background: #dfeafe;
    box-shadow: none;
}

.button-small {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 14px;
}

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

.search-form label {
    flex: 1;
    min-width: 0;
}

.search-form .search-field {
    width: 100%;
}

.search-submit {
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.search-submit:hover {
    background: var(--blue-deep);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(35, 104, 245, 0.18);
}

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

.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cols-2,
.home-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-card {
    overflow: hidden;
    min-width: 0;
}

.card-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #eff4ff 0%, #e6f6ef 100%);
}

.card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-thumb__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.8) 0, rgba(255, 255, 255, 0.08) 24%, transparent 25%),
        linear-gradient(135deg, #2a4c7a 0%, #2863f0 52%, #44c19c 100%);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    min-width: 0;
}

.card-body > * {
    min-width: 0;
}

.card-taxonomy {
    line-height: 1.2;
}

.card-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.card-title a {
    display: block;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.card-body p,
.entry-content,
.archive-header,
.widget,
.hub-page__description,
.home-hero__excerpt,
.story-list__date,
.category-stack__item,
.rank-item__body span,
.meta-row {
    color: var(--muted);
}

.meta-row {
    font-size: 14px;
}

.card-body p {
    margin: 0;
    overflow-wrap: anywhere;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 28px;
    padding: 34px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 55%, #eef9f5 100%);
    overflow: hidden;
}

.home-hero__content {
    min-width: 0;
}

.home-hero__title {
    margin-bottom: 16px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.08;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.home-hero__title a {
    display: block;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.home-spotlight__thumb {
    display: none;
}

.home-hero__mobile-media {
    display: none !important;
}

.home-hero__mobile-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero__mobile-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100%;
    padding: 28px 20px;
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}
.home-spotlight__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-spotlight__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100%;
    padding: 28px 20px;
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.home-hero__visual {
    min-width: 0;
    overflow: hidden;
}

.home-hero__actions,
.home-hero__meta,
.hero-panel__metrics,
.service-card__top {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-hero__meta {
    margin-top: 16px;
    font-size: 14px;
}

.home-hero__excerpt {
    overflow-wrap: anywhere;
}

.hero-panel {
    padding: 24px;
    border: 1px solid #dbe7fb;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(239, 246, 255, 0.92) 100%);
    box-shadow: 0 24px 50px rgba(35, 104, 245, 0.12);
}

.hero-panel__eyebrow {
    margin-bottom: 18px;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-hero__visual .hero-panel__eyebrow,
.home-hero__visual .hero-metric span,
.home-hero__visual .hero-metric strong {
    position: relative;
}

.home-hero__visual .hero-panel__eyebrow {
    font-size: 0;
    margin-bottom: 18px;
}

.home-hero__visual .hero-panel__eyebrow::before {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

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

.hero-metric {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(215, 227, 243, 0.9);
}

.hero-metric span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
}

.hero-metric strong {
    font-size: 26px;
    line-height: 1;
}

.home-hero__visual .hero-metric span,
.home-hero__visual .hero-metric strong {
    font-size: 0 !important;
}

.home-hero__visual .hero-metric span::before,
.home-hero__visual .hero-metric strong::before {
    display: block;
}

.home-hero__visual .hero-metric span::before {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
}

.home-hero__visual .hero-metric strong::before {
    color: var(--text);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

html[lang^="uk"] .home-hero__visual .hero-panel__eyebrow::before {
    content: "Редакційний фокус";
}

html[lang^="uk"] .home-hero__visual .hero-metric:nth-child(1) span::before,
html[lang^="uk"] .home-hero__visual .hero-metric:nth-child(2) span::before,
html[lang^="uk"] .home-hero__visual .hero-metric:nth-child(3) span::before {
    content: "Формат";
}

html[lang^="uk"] .home-hero__visual .hero-metric:nth-child(4) span::before {
    content: "Фокус";
}

html[lang^="uk"] .home-hero__visual .hero-metric:nth-child(1) strong::before {
    content: "Огляди";
}

html[lang^="uk"] .home-hero__visual .hero-metric:nth-child(2) strong::before {
    content: "Гайди";
}

html[lang^="uk"] .home-hero__visual .hero-metric:nth-child(3) strong::before {
    content: "Порівняння";
}

html[lang^="uk"] .home-hero__visual .hero-metric:nth-child(4) strong::before {
    content: "Аналітика";
}

html[lang^="ru"] .home-hero__visual .hero-panel__eyebrow::before {
    content: "Редакционный фокус";
}

html[lang^="ru"] .home-hero__visual .hero-metric:nth-child(1) span::before,
html[lang^="ru"] .home-hero__visual .hero-metric:nth-child(2) span::before,
html[lang^="ru"] .home-hero__visual .hero-metric:nth-child(3) span::before {
    content: "Формат";
}

html[lang^="ru"] .home-hero__visual .hero-metric:nth-child(4) span::before {
    content: "Фокус";
}

html[lang^="ru"] .home-hero__visual .hero-metric:nth-child(1) strong::before {
    content: "Обзоры";
}

html[lang^="ru"] .home-hero__visual .hero-metric:nth-child(2) strong::before {
    content: "Гайды";
}

html[lang^="ru"] .home-hero__visual .hero-metric:nth-child(3) strong::before {
    content: "Сравнения";
}

html[lang^="ru"] .home-hero__visual .hero-metric:nth-child(4) strong::before {
    content: "Аналитика";
}

html[lang^="en"] .home-hero__visual .hero-panel__eyebrow::before {
    content: "Editorial focus";
}

html[lang^="en"] .home-hero__visual .hero-metric:nth-child(1) span::before,
html[lang^="en"] .home-hero__visual .hero-metric:nth-child(2) span::before,
html[lang^="en"] .home-hero__visual .hero-metric:nth-child(3) span::before {
    content: "Format";
}

html[lang^="en"] .home-hero__visual .hero-metric:nth-child(4) span::before {
    content: "Focus";
}

html[lang^="en"] .home-hero__visual .hero-metric:nth-child(1) strong::before {
    content: "Reviews";
}

html[lang^="en"] .home-hero__visual .hero-metric:nth-child(2) strong::before {
    content: "Guides";
}

html[lang^="en"] .home-hero__visual .hero-metric:nth-child(3) strong::before {
    content: "Comparisons";
}

html[lang^="en"] .home-hero__visual .hero-metric:nth-child(4) strong::before {
    content: "Analysis";
}

.hero-panel__stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-showcase {
    display: grid;
    gap: 16px;
    min-width: 0;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #dbe7fb;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 247, 255, 0.96) 100%);
    box-shadow: none;
}

.hero-showcase__media {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #eef4ff 0%, #e8f8f1 100%);
    aspect-ratio: 16 / 9;
}

.hero-showcase__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-showcase__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 28px;
    color: var(--blue);
    font-size: 18px;
    font-weight: 800;
}

.hero-showcase__list {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.hero-showcase__item {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(215, 227, 243, 0.94);
    overflow: hidden;
}

.hero-showcase__item h3 {
    margin-bottom: 0;
    font-size: 19px;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.hero-showcase__item h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hero-showcase__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex-wrap: wrap;
}

.hero-digest {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid #dbe7fb;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 247, 255, 0.96) 100%);
    box-shadow: 0 24px 50px rgba(35, 104, 245, 0.1);
}

.hero-digest__eyebrow {
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-digest__list {
    display: grid;
    gap: 14px;
}

.hero-digest__item {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(215, 227, 243, 0.94);
}

.hero-digest__item h3 {
    margin-bottom: 8px;
    font-size: 21px;
    line-height: 1.2;
}

.hero-digest__item p {
    margin-bottom: 0;
    color: var(--muted);
}

.hero-digest__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-digest__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-pill,
.hub-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.home-hero__visual .hero-pill {
    position: relative;
    font-size: 0;
}

.home-hero__visual .hero-pill::before {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

html[lang^="uk"] .home-hero__visual .hero-pill:nth-child(1)::before {
    content: "Бізнес";
}

html[lang^="uk"] .home-hero__visual .hero-pill:nth-child(2)::before {
    content: "Фінанси";
}

html[lang^="uk"] .home-hero__visual .hero-pill:nth-child(3)::before {
    content: "Маркетинг";
}

html[lang^="uk"] .home-hero__visual .hero-pill:nth-child(4)::before {
    content: "Технології";
}

html[lang^="ru"] .home-hero__visual .hero-pill:nth-child(1)::before {
    content: "Бизнес";
}

html[lang^="ru"] .home-hero__visual .hero-pill:nth-child(2)::before {
    content: "Финансы";
}

html[lang^="ru"] .home-hero__visual .hero-pill:nth-child(3)::before {
    content: "Маркетинг";
}

html[lang^="ru"] .home-hero__visual .hero-pill:nth-child(4)::before {
    content: "Технологии";
}

html[lang^="en"] .home-hero__visual .hero-pill:nth-child(1)::before {
    content: "Business";
}

html[lang^="en"] .home-hero__visual .hero-pill:nth-child(2)::before {
    content: "Finance";
}

html[lang^="en"] .home-hero__visual .hero-pill:nth-child(3)::before {
    content: "Marketing";
}

html[lang^="en"] .home-hero__visual .hero-pill:nth-child(4)::before {
    content: "Technology";
}

.home-spotlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.home-spotlight {
    overflow: hidden;
    padding: 0;
}

.home-spotlight__body {
    padding: 20px;
}

.home-spotlight__thumb {
    overflow: hidden;
    background: linear-gradient(135deg, #eff4ff 0%, #e6f6ef 100%);
    aspect-ratio: 16 / 9;
}

.home-spotlight h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

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

.hub-card {
    padding: 24px;
}

.hub-card h3 {
    font-size: 24px;
}

.hub-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hub-card__footer span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f4f8ff;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
}

.service-card__top {
    align-items: center;
    justify-content: space-between;
}

.service-card__index {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.service-card__score,
.service-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 0;
    font-size: 20px;
}

.service-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
    padding: 26px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.service-feature::after {
    content: "";
    position: absolute;
    right: -22px;
    bottom: -32px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(35, 104, 245, 0.1) 0%, rgba(35, 104, 245, 0) 72%);
    pointer-events: none;
}

.service-feature__top,
.service-feature__footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.service-feature__score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
}

.service-feature h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.12;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.service-feature p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.home-sidebar .widget,
.editorial-sidebar .widget {
    padding: 22px;
}

.rank-list,
.story-list,
.category-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rank-item,
.category-stack__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.rank-item {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

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

.rank-item__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rank-item__body strong {
    color: var(--text);
}

.category-stack__item {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid var(--line);
}

.category-stack__item:hover {
    border-color: #c7d9fb;
    background: #eef4ff;
}

.story-list__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.story-list__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.story-list__item a {
    color: var(--text);
    font-weight: 700;
    line-height: 1.4;
}

.story-list__date {
    font-size: 13px;
}

.newsletter-card,
.cta-card {
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.newsletter-card .button,
.cta-card .button {
    width: 100%;
    margin-top: 12px;
}

.newsletter-card__lead {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.newsletter-form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.newsletter-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.newsletter-card .newsletter-form__grid {
    grid-template-columns: 1fr !important;
}

.newsletter-form__field {
    min-width: 0;
}

.newsletter-form input {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.newsletter-form input::placeholder {
    color: #7a8ca8;
}

.newsletter-form__submit.button {
    width: 100%;
    min-height: 52px;
    margin-top: 0;
    justify-content: center;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.newsletter-form__frame {
    display: none;
}

.newsletter-form__note {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.newsletter-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 120;
    width: min(420px, calc(100vw - 32px));
    padding: 16px 18px;
    border: 1px solid #bfe7d5;
    border-radius: 18px;
    background: #f3fcf7;
    color: #124c33;
    box-shadow: 0 24px 48px rgba(18, 34, 68, 0.16);
    transform: translate(-50%, 16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.newsletter-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.widget-search-card .search-form,
.widget-search-card .wp-block-search__inside-wrapper {
    width: 100%;
}

.widget-search-card .search-form,
.nav-drawer__search .search-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.widget-search-card input[type="search"],
.widget-search-card .wp-block-search__input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

.widget-search-card .wp-block-search__button,
.widget-search-card .search-submit {
    margin-top: 12px;
    width: 100%;
    border: 0;
    border-radius: 14px;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    min-height: 46px;
}

.breadcrumbs {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs span {
    margin: 0 6px;
}

.entry-header,
.archive-header,
.entry-content,
.author-box {
    padding: 26px;
}

.entry-content ul,
.page-content ul {
    margin-top: 0;
}

.single-article .entry-header h1 {
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 22px;
}

.single-article .entry-header .meta-row {
    margin-bottom: 16px;
}

.single-thumb {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 18px;
    border-radius: 22px;
}

.entry-content + .article-feedback,
.article-feedback + .author-box,
.entry-content + .bfe-contact-form-wrap {
    margin-top: 24px;
}

.article-feedback {
    display: grid;
    gap: 18px;
    padding: 26px 28px;
}

.article-feedback__rating {
    min-width: 0;
    margin-bottom: 0;
}

.article-rating-widget {
    display: grid;
    gap: 14px;
}

.article-rating-widget__label {
    color: var(--muted);
    font-weight: 700;
    margin: 0;
}

.article-rating-widget__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px 18px;
    min-width: 0;
}

.article-rating-widget__stars {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.article-rating-widget__star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f0a228;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.article-rating-widget__star:hover {
    transform: translateY(-1px);
}

.article-rating-widget__star svg {
    width: 28px;
    height: 28px;
    display: block;
    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.8;
    transition: fill 0.18s ease, stroke 0.18s ease;
}

.article-rating-widget__star.is-active svg,
.article-rating-widget__star.is-preview svg,
.article-rating-widget__star:hover svg {
    fill: currentColor;
}

.article-rating-widget__summary {
    max-width: 100%;
    min-width: 0;
    color: var(--muted);
    font-style: italic;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.article-rating-widget.is-busy {
    opacity: 0.72;
    pointer-events: none;
}

.article-feedback__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.article-feedback__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.article-feedback__share-label {
    color: var(--muted);
    font-weight: 700;
}

.article-feedback__share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-feedback__share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.article-feedback__share-link:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.article-feedback__share-icon {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
}

.author-box-inner {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.avatar-wrap {
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(215, 227, 243, 0.95);
    box-shadow: 0 10px 24px rgba(35, 104, 245, 0.08);
    background: linear-gradient(135deg, #eef4ff 0%, #e8f8f1 100%);
}

.avatar-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.related-posts {
    margin-top: 28px;
}

.ad-slot {
    padding: 16px;
    border: 1px dashed #9eb8f8;
    border-radius: 16px;
    background: #edf4ff;
    color: var(--muted);
}

.hub-page__hero {
    background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
}

.hub-page__description {
    max-width: 720px;
    font-size: 18px;
}

.hub-page__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.page-content {
    min-width: 0;
}

.site-footer {
    margin-top: 42px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.94);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px 0;
}

.footer-brand {
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 34px;
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 24px;
    border-top: 1px solid var(--line);
}

.footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

@media (max-width: 1180px) {
    .content-with-sidebar,
    .content-with-sidebar--home {
        grid-template-columns: 1fr;
    }

    .service-showcase,
    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .article-feedback {
        padding: 22px 20px;
    }

    .article-rating-widget__row {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 10px;
    }

    .article-feedback__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-hero,
    .hub-grid,
    .home-spotlights,
    .cols-3,
    .cols-2,
    .home-latest-grid {
        grid-template-columns: 1fr;
    }

    .service-showcase,
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topbar {
        flex-wrap: wrap;
    }

    .primary-nav {
        display: none;
        width: 100%;
    }

    .primary-nav ul {
        justify-content: flex-start;
    }

    .menu-toggle {
        display: inline-flex;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100%, calc(100% - 20px));
    }

    .site-main {
        padding-top: 20px;
    }

    .home-hero,
    .entry-header,
    .archive-header,
    .entry-content,
    .author-box,
    .home-sidebar .widget,
    .editorial-sidebar .widget {
        padding: 20px;
    }

    .service-grid,
    .service-showcase,
    .footer-bottom {
        display: grid;
        grid-template-columns: 1fr;
    }

    .section-head,
    .widget-head,
    .footer-bottom {
        align-items: flex-start;
    }

    .section-head h2,
    .widget-title,
    .archive-header h1,
    .entry-header h1 {
        font-size: 26px;
    }

    .card-title,
    .hub-card h3,
    .service-card h3,
    .home-spotlight h3 {
        font-size: 20px;
    }
}

.header-tools {
    margin-left: auto;
}

.header-search--desktop .search-form {
    display: flex;
    align-items: center;
}

.header-search--desktop .search-field {
    min-width: 220px;
}

.header-search--desktop .search-submit {
    display: none;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1f64ef 0%, #0f5ae4 100%);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(35, 104, 245, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(35, 104, 245, 0.24);
}

.menu-toggle {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 0.22s ease, opacity 0.22s ease;
    content: "";
}

.menu-toggle__lines {
    position: relative;
}

.menu-toggle__lines::before {
    position: absolute;
    top: -6px;
    left: 0;
}

.menu-toggle__lines::after {
    position: absolute;
    top: 6px;
    left: 0;
}

body.is-nav-open {
    overflow: hidden;
    overscroll-behavior: none;
}

.nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
}

.nav-drawer[hidden] {
    display: none !important;
}

.nav-drawer__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(9, 18, 35, 0.45);
    backdrop-filter: blur(4px);
}

.nav-drawer__panel {
    position: relative;
    z-index: 1;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: min(420px, calc(100vw - 18px));
    max-width: 100%;
    min-height: 100dvh;
    height: 100dvh;
    max-height: 100dvh;
    padding: 18px;
    padding-top: calc(18px + env(safe-area-inset-top));
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    box-shadow: -24px 0 50px rgba(15, 23, 42, 0.16);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.nav-drawer__header,
.nav-drawer__links,
.nav-drawer__cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-drawer__header {
    justify-content: space-between;
}

.nav-drawer__brand {
    color: var(--blue);
    font-size: 28px;
    font-weight: 800;
}

.nav-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.nav-drawer__search .search-form {
    display: grid;
    gap: 12px;
    width: 100%;
}

.nav-drawer__search .search-field {
    width: 100%;
    min-width: 0;
}

.nav-drawer__nav ul,
.nav-drawer__links,
.nav-drawer__cta {
    flex-direction: column;
    align-items: stretch;
}

.nav-drawer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-drawer__nav a,
.nav-drawer__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.nav-drawer__link {
    color: var(--muted);
}

.nav-drawer__cta .button,
.nav-drawer__cta .button-secondary {
    width: 100%;
}

.site-footer__shell {
    display: grid;
    gap: 24px;
    padding: 38px 0 28px;
}

.site-footer__lead {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    gap: 24px;
    align-items: center;
    padding: 28px 30px;
    background: linear-gradient(135deg, #f6faff 0%, #ecf7ff 52%, #eefaf5 100%);
}

.site-footer__lead-copy h2 {
    font-size: clamp(28px, 3vw, 42px);
    max-width: 780px;
}

.site-footer__lead-copy p {
    max-width: 740px;
    color: var(--muted);
}

.site-footer__lead-actions {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.site-footer__lead-actions .button {
    min-width: 220px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.footer-panel {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
}

.footer-panel--brand {
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 34px;
    font-weight: 800;
}

.footer-brand__picture img {
    width: auto;
    height: 62px;
    max-width: 100%;
}

.footer-text {
    color: var(--muted);
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.footer-tags span,
.hub-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.site-footer__title {
    margin-bottom: 14px;
    font-size: 20px;
}

.footer-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.footer-link-list a {
    color: var(--text);
    font-weight: 600;
}

.footer-link-list a:hover {
    color: var(--blue);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 6px;
    color: var(--muted);
}

.site-footer__bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 981px) {
    .nav-drawer {
        display: none !important;
    }
}

@media (max-width: 1180px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__lead {
        grid-template-columns: 1fr;
    }

    .site-footer__lead-actions {
        justify-items: start;
    }
}

@media (max-width: 980px) {
    .topbar {
        flex-wrap: nowrap;
        gap: 12px;
        padding: 14px 0;
    }

    .primary-nav--desktop,
    .header-search--desktop,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .site-title {
        font-size: 30px;
    }

    .site-logo-picture img {
        height: 52px !important;
    }

    .search-field {
        min-width: 0;
    }

    .home-hero__visual {
        display: block;
        order: -1;
    }

    .hero-showcase__list {
        display: none;
    }
}

@media (min-width: 981px) and (max-width: 1280px) {
    .topbar {
        gap: 12px;
    }

    .site-branding,
    .primary-nav,
    .header-tools {
        min-width: 0;
    }

    .primary-nav ul {
        flex-wrap: nowrap;
        gap: clamp(10px, 1.25vw, 16px);
    }

    .primary-nav a {
        font-size: clamp(14px, 1.2vw, 15px);
        white-space: nowrap;
    }

    .header-search--desktop {
        display: none;
    }

    .header-tools {
        gap: 8px;
        flex-shrink: 0;
    }

    .header-cta {
        min-height: 42px;
        padding: 0 12px;
        font-size: 14px;
        box-shadow: none;
    }

    .bf-lang__button {
        min-width: 60px;
        padding: 0 12px;
    }

    .site-logo-picture img {
        height: 48px !important;
    }
}

@media (max-width: 980px) {
    .home-spotlight__thumb {
        display: block;
    }
}

@media (max-width: 760px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-footer__lead {
        padding: 22px;
    }

    .site-footer__lead-actions .button {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 680px) {
    .topbar {
        gap: 6px;
        justify-content: space-between;
        padding: 12px 0;
    }

    .site-title {
        font-size: 26px;
    }

    .site-logo-picture img {
        height: 40px !important;
    }

    .header-tools {
        gap: 6px;
        flex-shrink: 0;
    }

    .bf-lang__button {
        width: auto;
        min-width: 56px;
        height: 42px;
        padding: 0 10px;
        gap: 6px;
    }

    .menu-toggle {
        display: inline-flex;
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0;
    }

    .bf-lang__current {
        font-size: 13px;
    }

    .nav-drawer__panel {
        width: min(100vw, 100%);
        padding: 16px;
        padding-top: calc(16px + env(safe-area-inset-top));
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }

    .home-hero__actions,
    .site-footer__lead-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-hero__actions .button,
    .site-footer__lead-actions .button {
        width: 100%;
    }

    .hero-digest {
        padding: 18px;
    }

    .hero-digest__item {
        padding: 14px;
    }

    .hero-digest__item h3 {
        font-size: 19px;
    }

    .hero-showcase__item h3 {
        font-size: 18px;
    }

    .home-hero__title {
        font-size: clamp(20px, 7.4vw, 31px);
        line-height: 1.12;
    }

    .home-hero__meta {
        gap: 8px 12px;
        font-size: 13px;
    }

    .home-hero__excerpt {
        font-size: 16px;
        line-height: 1.6;
    }

    .card-body {
        gap: 8px;
        padding: 18px 16px;
    }

    .card-title {
        font-size: 18px;
        line-height: 1.24;
    }

    .card-body p {
        font-size: 15px;
        line-height: 1.55;
    }

    .newsletter-card__lead {
        font-size: 15px;
        line-height: 1.6;
    }

    .newsletter-form__grid {
        grid-template-columns: 1fr;
    }
}
