/* Критический слой первого экрана + лента (SSR первой карточки). Полная вёрстка — oldgeek.css (preload + отложенное применение).
 * Синхронизация с oldgeek.css (≈): шапка 387–1048, карточка 1143–1597, #ogFeedCards .og-comment 3131–3197. */
@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/IBMPlexSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Merriweather, Georgia, "Times New Roman", serif;
    background-color: #f6f0e7;
    color: #1e1e1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.og-page {
    min-height: 100vh;
    background-color: #f6f0e7;
    display: flex;
    flex-direction: column;
}

.og-main {
    flex: 1 0 auto;
}

.og-main__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px;
}

.og-header {
    background-color: #fafafa;
    border-bottom: 2px solid #e5e0d5;
    padding: 16px 0 18px;
    /* Десктоп: не sticky; мобилка — @media max-width 768px */
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.og-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-items: stretch;
    gap: clamp(22px, 3.2vw, 44px);
}

.og-logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
    grid-column: 1;
    justify-self: start;
}

.og-logo__img {
    display: block;
    height: clamp(123px, 17.8vw, 171px);
    width: auto;
    max-width: min(100%, 1135px);
}

.og-logo--brand {
    line-height: normal;
    max-width: min(100%, 960px);
    --header-brand-zoom: 0.8;
    flex-shrink: 0;
    min-width: 0;
    color: #000000;
}

.og-logo--brand:hover,
.og-logo--brand:focus,
.og-logo--brand:active,
.og-logo--brand:visited {
    color: #000000;
}

.og-logo--brand .og-logo__mob-wrap,
.og-logo--brand > img.og-logo__mob {
    display: none;
}

.og-logo--brand .oldgeek-brand {
    zoom: var(--header-brand-zoom);
    --wordmark-intrinsic-width: 646px;
    --logo-width: var(--wordmark-intrinsic-width);
    --mark-height: clamp(152px, 18.8vw, 200px);
    --text-stack-natural: 228px;
    --brand-text-scale: min(0.72, calc(var(--mark-height) / var(--text-stack-natural)));
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(12px, 2vw, 26px);
    max-width: 100%;
    min-width: 0;
}

.og-logo--brand .oldgeek-mark {
    height: var(--mark-height);
    width: auto;
    max-width: min(52vw, calc(var(--mark-height) * 1.18));
    object-fit: contain;
    flex: 0 0 auto;
    display: block;
}

.og-logo--brand .oldgeek-text-scaler {
    flex: 1 1 0;
    min-width: min(300px, 40vw);
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.og-logo--brand .oldgeek-text-scaler .oldgeek-text-logo {
    transform: scale(var(--brand-text-scale));
    transform-origin: left center;
}

.og-logo--brand .oldgeek-text-logo {
    --tagline-bottom-size: calc(24px * 1.1);
    --tagline-top-size: calc(24px * 1.1 * 1.1);
    --logo-row-gap: 6px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    align-content: start;
    width: min(var(--wordmark-intrinsic-width), 100%);
    max-width: 100%;
    min-width: 0;
    gap: var(--logo-row-gap);
    line-height: 1;
}

.og-logo--brand .oldgeek-line {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    inline-size: 100%;
    margin: 0;
    padding: 0;
    text-align: justify;
    text-align-last: justify;
    text-justify: inter-character;
    hyphens: none;
    line-height: 1.05;
}

.og-logo--brand .oldgeek-line.oldgeek-line--spread {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: baseline;
    box-sizing: border-box;
    text-align: left;
    text-align-last: auto;
    text-justify: auto;
    min-width: 0;
    font-size: 0;
}

.og-logo--brand .oldgeek-line.oldgeek-line--spread::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.og-logo--brand .oldgeek-line--spread .oldgeek-line__w {
    flex: 0 0 auto;
    white-space: nowrap;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.05;
}

.og-logo--brand .oldgeek-top.oldgeek-line--spread .oldgeek-line__w {
    font-size: var(--tagline-top-size);
    letter-spacing: -0.045em;
}

.og-logo--brand .oldgeek-bottom.oldgeek-line--spread .oldgeek-line__w {
    font-size: var(--tagline-bottom-size);
    letter-spacing: -0.052em;
}

@media (max-width: 640px) {
    .og-logo--brand .oldgeek-line.oldgeek-line--spread {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.14em;
        column-gap: 0.32em;
    }

    .og-logo--brand .oldgeek-line--spread .oldgeek-line__w {
        white-space: normal;
    }
}

.og-logo.og-logo--brand .oldgeek-text-logo > .oldgeek-line,
.og-logo.og-logo--brand .oldgeek-text-logo .oldgeek-line__w {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    opacity: 1 !important;
}

.og-logo--brand .oldgeek-line::after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
    vertical-align: top;
}

.og-logo--brand .oldgeek-top {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: calc(var(--tagline-top-size) * -0.32);
    transform: translateY(calc(var(--tagline-top-size) * 0.108));
    text-shadow: none;
}

.og-logo--brand .oldgeek-wordmark-wrap {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    line-height: 0;
    margin-top: calc(var(--tagline-top-size) * 0.28 + 6px);
}

.og-logo--brand .oldgeek-wordmark {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

.og-logo--brand .oldgeek-bottom {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    margin-top: 0;
}

@media (max-width: 480px) {
    .og-logo--brand {
        flex-shrink: 1;
        max-width: 100%;
    }

    .og-logo--brand .oldgeek-brand {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        --mark-height: clamp(120px, 34vw, 188px);
        --text-stack-natural: 228px;
    }

    .og-logo--brand .oldgeek-text-scaler {
        justify-content: center;
        min-width: 0;
        width: 100%;
        max-width: min(100%, var(--wordmark-intrinsic-width));
    }

    .og-logo--brand .oldgeek-text-scaler .oldgeek-text-logo {
        transform-origin: center top;
        transform: scale(var(--brand-text-scale));
    }
}

.og-header__end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(4px, 0.8vw, 10px);
    grid-column: 3;
    justify-self: end;
    min-width: 0;
    margin-inline-start: clamp(2px, 0.5vw, 8px);
}

.og-nav-toggle {
    display: none;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #385556;
    cursor: pointer;
    flex-shrink: 0;
}

.og-nav-toggle:focus-visible {
    outline: 2px solid #385556;
    outline-offset: 2px;
}

.og-nav-toggle__bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
}

.og-nav-toggle__bar {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.og-header--menu-open .og-nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.og-header--menu-open .og-nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.og-header--menu-open .og-nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.og-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 510;
    background: rgba(30, 30, 26, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.og-header--menu-open .og-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.og-menu-open {
    overflow: hidden;
}

.og-nav {
    display: flex;
    column-gap: clamp(18px, 2.2vw, 34px);
    row-gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
    align-self: center;
    grid-column: 2;
    justify-self: stretch;
    box-sizing: border-box;
    padding-inline: clamp(4px, 0.8vw, 12px);
    padding-inline-end: clamp(14px, 2.2vw, 28px);
    width: 100%;
    max-width: 100%;
    justify-content: center;
    min-width: 0;
}

.og-nav__item {
    position: relative;
    flex-shrink: 0;
}

.og-nav__panel-head {
    display: none;
}

.og-nav__close {
    display: none;
}

.og-nav__link {
    font-family: Oswald, system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 1.08vw, 21px);
    line-height: 1.15;
    color: #1e1e1a;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    cursor: pointer;
    transition: color 0.2s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.og-nav__link:hover,
.og-nav__link.is-active {
    color: #385556;
}

.og-nav__link:hover:not(.is-active) {
    border-bottom-color: rgba(56, 85, 86, 0.22);
}

.og-nav__link.is-active {
    border-bottom-color: rgba(56, 85, 86, 0.55);
}

.og-nav__chev {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.og-nav__link--icon {
    justify-content: center;
    box-sizing: border-box;
    min-width: max(2.5em, 40px);
    min-height: max(2.5em, 40px);
    padding: 0.28em 0.42em;
    margin-inline: 2px;
    border-radius: 10px;
    border-bottom: none;
}

.og-nav__mail-icon {
    width: 1.56em;
    height: 1.56em;
    display: block;
    flex-shrink: 0;
}

.og-nav__link--icon:hover:not(.is-active) {
    border-bottom-color: transparent;
    background: rgba(56, 85, 86, 0.08);
}

.og-nav__link--icon.is-active {
    border-bottom-color: transparent;
    background: rgba(56, 85, 86, 0.13);
}

.og-nav__item:hover .og-nav__chev {
    transform: rotate(180deg);
}

.og-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 320px;
    background: #ffffff;
    border: 1px solid #e5e0d5;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 200;
}

.og-nav__item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}

.og-nav__item:hover .og-dropdown,
.og-nav__item:focus-within .og-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.og-dropdown__search {
    position: relative;
    margin-bottom: 12px;
}

.og-dropdown__search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #385556;
    pointer-events: none;
}

.og-dropdown__search input {
    width: 100%;
    font-family: Merriweather, Georgia, serif;
    font-size: 15px;
    padding: 12px 12px 12px 40px;
    border: 1px solid #e5e0d5;
    border-radius: 10px;
    background: #fafafa;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.og-dropdown__search input:focus {
    border-color: #385556;
    background: #ffffff;
}

.og-dropdown__list {
    list-style: none;
    max-height: 280px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

.og-dropdown__list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #1e1e1a;
    font-family: Oswald, system-ui, sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.15s, color 0.15s;
}

.og-dropdown__list li a:hover {
    background-color: rgba(56, 85, 86, 0.08);
    color: #385556;
}

.og-search {
    position: relative;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    align-self: center;
    flex-shrink: 0;
    z-index: 150;
}

.og-search__btn {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #385556;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.og-search__btn svg {
    width: 24px;
    height: 24px;
}

.og-search__btn:focus-visible {
    outline: 2px solid #385556;
    outline-offset: 2px;
}

.og-search__input {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    width: 0;
    opacity: 0;
    padding: 0;
    border: 1px solid transparent;
    box-shadow: none;
    background: transparent;
    color: #1e1e1a;
    caret-color: #385556;
    font-family: Merriweather, Georgia, serif;
    font-size: 16px;
    border-radius: 16px;
    transition:
        width 0.35s ease,
        opacity 0.25s ease,
        padding 0.35s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
    outline: none;
    margin: 0;
    height: 56px;
    box-sizing: border-box;
}

.og-search__input::placeholder {
    color: rgba(30, 30, 26, 0.45);
}

.og-search:hover .og-search__input,
.og-search:focus-within .og-search__input {
    width: 300px;
    opacity: 1;
    padding: 0 56px 0 16px;
    border: 1px solid #e5e0d5;
    background-color: #fafafa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.og-search:hover .og-search__input:focus,
.og-search__input:focus {
    border-color: #385556;
    background-color: #ffffff;
    box-shadow: 0 4px 18px rgba(56, 85, 86, 0.12);
}

/* До oldgeek.css: не показывать сырой текст слоганов / лишних полос (в oldgeek — display на брейкпоинтах). */
.og-header-mobile-top-tagline,
.og-header-mobile-menu-strip-rule {
    display: none;
    margin: 0;
}

.og-header-mobile-extra-rule {
    display: none;
}

.og-feed-cards {
    display: block;
}

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

/* ---------- Карточка ленты (как oldgeek.css «Главная: main и карточка») ---------- */
.og-card {
    position: relative;
}

.og-main__inner > .og-card + .og-card {
    margin-top: 64px;
}

.og-card__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 32px;
}

.og-card__grid > .og-card__body:only-child {
    grid-column: 1 / -1;
}

.og-card__media {
    position: relative;
    display: block;
    align-self: start;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.og-card__media--placeholder {
    min-height: 840px;
    background: linear-gradient(135deg, #e5e0d5 0%, #f6f0e7 55%, #fafafa 100%);
    box-shadow: inset 0 0 0 1px rgba(229, 224, 213, 0.9);
}

.og-card__img {
    width: 100%;
    height: auto;
    aspect-ratio: 160 / 147;
    max-height: 840px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.og-card__badges {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.og-card__media-date {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    max-width: calc(100% - 32px);
    pointer-events: none;
}

.og-card__media-date-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    font-family: Oswald, system-ui, sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.og-card__media-date-inner svg,
.og-card__media-date-icon {
    flex-shrink: 0;
    color: #ffffff;
    opacity: 0.95;
}

@media (prefers-contrast: more) {
    .og-card__media-date-inner {
        background-color: rgba(0, 0, 0, 0.85);
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
    }
}

.og-badge {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 10px 20px;
    border-radius: 12px;
    font-family: Oswald, system-ui, sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.og-badge--country {
    color: #1e1e1a;
}

.og-badge--topic {
    color: #385556;
}

.og-card__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.og-card__headblock {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.og-card__title {
    font-family: Inter, system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1e1e1a;
}

.og-card__title-link {
    color: inherit;
    text-decoration: none;
}

.og-card__title-link:hover {
    opacity: 0.92;
}

.og-comment {
    position: relative;
    background: linear-gradient(165deg, rgba(56, 85, 86, 0.06) 0%, rgba(56, 85, 86, 0.03) 100%);
    border: 1px solid rgba(56, 85, 86, 0.14);
    border-left: 3px solid #385556;
    border-radius: 12px;
    padding: 16px 18px 18px 16px;
    overflow: visible;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.og-comment::before {
    display: none;
}

.og-comment__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    margin-left: 0;
}

.og-comment__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: block;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-sizing: border-box;
}

.og-comment__meta {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.og-comment__label {
    font-family: Inter, system-ui, sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #385556;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.og-comment__rule {
    display: block;
    width: 40px;
    height: 2px;
    margin-top: 6px;
    border-radius: 1px;
    background: rgba(56, 85, 86, 0.35);
}

.og-comment__text {
    font-family: Merriweather, Georgia, serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.75;
    color: #4a4641;
    margin: 0;
    padding-left: 0;
    border-left: none;
    display: block;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.og-comment .og-comment__text a,
.og-comment .og-comment__text p a {
    color: #385556;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(56, 85, 86, 0.42);
    text-underline-offset: 0.18em;
}

.og-comment .og-comment__text a:hover,
.og-comment .og-comment__text p a:hover {
    color: #2a4142;
}

.og-comment .og-comment__text a[target="_blank"]::after,
.og-comment .og-comment__text p a[target="_blank"]::after {
    content: " ↗";
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.82em;
    font-weight: 700;
    opacity: 0.62;
    text-decoration: none;
}

.og-main .og-comment {
    position: relative;
    background: linear-gradient(165deg, rgba(56, 85, 86, 0.06) 0%, rgba(56, 85, 86, 0.03) 100%);
    border: 1px solid rgba(56, 85, 86, 0.14);
    border-left: 3px solid #385556;
    border-radius: 12px;
    padding: 16px 18px 18px 16px;
    overflow: visible;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.og-main .og-comment__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.og-main .og-comment__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-sizing: border-box;
}

.og-main .og-comment__meta {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.og-main .og-comment__label {
    font-family: Inter, system-ui, sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #385556;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.og-main .og-comment__rule {
    display: block;
    width: 40px;
    height: 2px;
    margin-top: 6px;
    border-radius: 1px;
    background: rgba(56, 85, 86, 0.35);
}

.og-main .og-comment__text {
    font-family: Merriweather, Georgia, serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.75;
    color: #4a4641;
    margin: 0;
    padding: 0;
    border: none;
    display: block;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Специфичность как oldgeek.css (контент из #ogFeedCards; WP core может обнулять врезку) */
#ogFeedCards .og-comment {
    position: relative;
    background: linear-gradient(165deg, rgba(56, 85, 86, 0.06) 0%, rgba(56, 85, 86, 0.03) 100%);
    border: 1px solid rgba(56, 85, 86, 0.14);
    border-left: 3px solid #385556;
    border-radius: 12px;
    padding: 16px 18px 18px 16px;
    overflow: visible;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

#ogFeedCards .og-comment__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

#ogFeedCards .og-comment__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-sizing: border-box;
}

#ogFeedCards .og-comment__meta {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#ogFeedCards .og-comment__label {
    font-family: Inter, system-ui, sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #385556;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

#ogFeedCards .og-comment__rule {
    display: block;
    width: 40px;
    height: 2px;
    margin-top: 6px;
    border-radius: 1px;
    background: rgba(56, 85, 86, 0.35);
}

#ogFeedCards .og-comment__text {
    font-family: Merriweather, Georgia, serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.75;
    color: #4a4641;
    margin: 0;
    padding: 0;
    border: none;
    display: block;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.og-card__excerpt {
    font-family: Merriweather, Georgia, serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.8;
    color: #4a4641;
    display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.og-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: Inter, system-ui, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #385556;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.og-card__more svg {
    flex-shrink: 0;
}

.og-card__share-wrap {
    position: relative;
    margin-top: 48px;
    margin-bottom: 24px;
}

.og-card__share-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e5e0d5;
    transform: translateY(-50%);
}

.og-card__share-inner {
    position: relative;
    display: flex;
    justify-content: center;
}

.og-share-btn {
    background-color: #f6f0e7;
    border: 2px solid #e5e0d5;
    border-radius: 16px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font: inherit;
}

.og-share-btn__text {
    font-family: Oswald, system-ui, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #385556;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.og-share-btn:hover {
    border-color: #385556;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1280px) {
    .og-nav {
        column-gap: clamp(14px, 1.8vw, 26px);
        padding-inline-end: clamp(12px, 2vw, 24px);
    }
}

@media (max-width: 1140px) {
    .og-nav {
        column-gap: clamp(10px, 1.3vw, 20px);
        padding-inline-end: clamp(10px, 1.8vw, 20px);
    }

    .og-nav__link {
        font-size: clamp(15px, 1.02vw, 19px);
        letter-spacing: 0.06em;
    }

    .og-search:hover .og-search__input,
    .og-search:focus-within .og-search__input {
        width: min(260px, calc(100vw - 120px));
    }
}

@media (max-width: 1024px) {
    .og-header__inner {
        padding: 0 24px;
        gap: 16px;
    }

    .og-logo__img {
        height: clamp(104px, 21.3vw, 141px);
        max-width: min(100%, 946px);
    }

    .og-logo--brand .oldgeek-brand {
        --mark-height: clamp(132px, 23vw, 176px);
        --text-stack-natural: 228px;
    }

    .og-logo--brand .oldgeek-text-scaler {
        min-width: min(252px, 46vw);
    }

    .og-nav__link {
        font-size: clamp(15px, 1.65vw, 19px);
        padding: 9px 0;
    }

    .og-nav {
        column-gap: clamp(12px, 1.8vw, 22px);
        padding-inline-end: clamp(10px, 2vw, 18px);
    }

    .og-search:hover .og-search__input,
    .og-search:focus-within .og-search__input {
        width: 240px;
    }

    .og-card__grid {
        grid-template-columns: 1fr;
    }

    .og-card__img {
        max-height: 560px;
    }

    .og-card__media--placeholder {
        min-height: 560px;
    }
}

@media (max-width: 768px) {
    .og-header {
        position: sticky;
        top: 0;
    }
    .og-header__inner {
        position: relative;
        align-items: center;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto auto;
        gap: 8px;
        padding: 0 16px;
    }

    .og-header-mobile-top-tagline {
        display: block;
        grid-column: 1 / -1;
        grid-row: 1;
        margin: 0 -24px 0 -24px;
        padding: 2px 12px 2px;
        font-family: "IBM Plex Sans", sans-serif;
        font-weight: 700;
        font-size: clamp(7px, calc((100vw - 40px) / 19), 14px);
        letter-spacing: -0.045em;
        line-height: 1.05;
        text-transform: uppercase;
        text-align: center;
        color: #000000;
        white-space: nowrap;
    }

    .og-header-mobile-menu-strip-rule {
        display: block;
        grid-column: 1 / -1;
        grid-row: 2;
        align-self: end;
        height: 0;
        border-bottom: 2px solid #e5e0d5;
        margin-left: -24px;
        margin-right: -24px;
        width: auto;
        min-width: 0;
        justify-self: stretch;
    }

    .og-logo {
        grid-column: 1;
        grid-row: 3;
        justify-self: start;
        align-items: center;
        position: relative;
        z-index: 2;
    }

    .og-logo--brand .og-logo__mob-wrap {
        display: block;
        line-height: 0;
        max-width: min(100%, calc(100vw - 132px));
    }

    .og-logo--brand .og-logo__mob-wrap .og-logo__mob,
    .og-logo--brand > img.og-logo__mob {
        display: block;
        line-height: 0;
        width: auto !important;
        height: auto !important;
        max-height: clamp(56px, 16vw, 88px);
        max-width: min(100%, calc(100vw - 132px));
        object-fit: contain;
    }

    .og-logo--brand .oldgeek-brand {
        display: none !important;
    }

    .og-header-mobile-extra-rule {
        display: block;
        padding: 4px 16px 0;
        border-bottom: 2px solid #e5e0d5;
    }

    .og-header-mobile-extra-rule__line {
        margin: 0 0 6px;
        padding: 0;
        font-family: "IBM Plex Sans", sans-serif;
        font-weight: 700;
        font-size: clamp(8px, calc((100vw - 40px) / 20.2), 14px);
        letter-spacing: -0.045em;
        line-height: 1.05;
        text-transform: uppercase;
        text-align: center;
        color: #000000;
        white-space: nowrap;
    }

    .og-header__end {
        grid-column: 2;
        grid-row: 3;
        justify-self: end;
        margin-inline-start: 0;
        gap: 2px;
        align-self: center;
        position: relative;
        z-index: 2;
    }

    .og-header__end .og-nav-toggle {
        display: inline-flex;
    }

    .og-nav {
        grid-column: 1 / -1;
        grid-row: 1 / -1;
        align-self: stretch;
        justify-self: stretch;
        min-height: 0;
        margin: 0;
        pointer-events: none;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        column-gap: 0;
        row-gap: 0;
        padding: 0 0 28px;
        padding-inline: 16px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: auto;
        max-width: none;
        height: min(100vh, 100dvh);
        max-height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        box-sizing: border-box;
        background: #fafafa;
        box-shadow: -4px 0 28px rgba(0, 0, 0, 0.12);
        z-index: 1;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.28s ease, visibility 0.28s ease;
    }

    .og-nav__panel-head {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        flex-shrink: 0;
        margin: 0 -16px 0;
        padding: calc(10px + env(safe-area-inset-top, 0px)) calc(8px + env(safe-area-inset-right, 0px)) 12px calc(8px + env(safe-area-inset-left, 0px));
        border-bottom: 1px solid #e8e4dc;
    }

    .og-nav__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: transparent;
        color: #385556;
        cursor: pointer;
        flex-shrink: 0;
    }

    .og-nav__close:hover {
        background: rgba(56, 85, 86, 0.1);
    }

    .og-nav__close:focus-visible {
        background: rgba(56, 85, 86, 0.1);
        outline: none;
        box-shadow: 0 0 0 2px rgba(56, 85, 86, 0.35);
    }

    .og-header--menu-open .og-nav {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        z-index: 520;
    }

    .og-nav__item {
        width: 100%;
        flex-shrink: 0;
        border-bottom: 1px solid #e8e4dc;
        padding-block: 4px;
    }

    .og-nav__link {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 4px;
        font-size: 18px;
    }

    .og-nav__link--icon {
        min-width: 0;
        width: 100%;
        justify-content: flex-start;
        padding: 14px 4px;
    }

    .og-nav .og-dropdown {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 4px 0 8px;
        padding: 12px;
        box-shadow: none;
        border: 1px solid #e5e0d5;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
    }

    .og-nav__item.og-nav__item--dropdown-open .og-dropdown {
        display: block;
        transform: none;
        left: auto;
        right: auto;
        top: auto;
    }

    .og-nav__item--dropdown-open .og-nav__chev {
        transform: rotate(180deg);
    }

    .og-nav__item::after {
        display: none;
    }

    .og-search {
        width: 52px;
        height: 52px;
        flex: 0 0 52px;
        align-self: center;
        padding-bottom: 0;
    }

    .og-search__btn {
        width: 52px;
        height: 52px;
    }

    .og-search__btn svg {
        width: 22px;
        height: 22px;
    }

    .og-search__input {
        height: 52px;
    }

    .og-search:hover .og-search__input,
    .og-search:focus-within .og-search__input {
        padding: 0 52px 0 16px;
    }

    .og-logo__img {
        height: clamp(95px, 28.4vw, 133px);
        max-width: min(100%, 92vw);
    }

    .og-main__inner {
        padding: 24px 16px;
    }
}
