/*
Theme Name: dds_franzconst.com
Theme URI: https://franzconst.com/
Author: Серова Марина
Author URI: https://franzconst.com/
Description: Корпоративный блог архитектурного бюро: проекты зданий, дизайн и современные архитектурные решения. Минимализм с элементами брутализма.
Version: 1.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dds_franz
*/

/* ============================================================
   1. Базовый сброс и переменные
   ============================================================ */
:root {
    --bg-base: #F5F7FA;
    --bg-sand: #E6DDD0;
    --ink-graphite: #2B2C30;
    --ink-concrete: #A0A5A9;
    --accent-terracotta: #B25A3A;
    --accent-terracotta-deep: #8C4128;
    --line-soft: #D9DCE0;
    --line-strong: #2B2C30;
    --gutter: clamp(16px, 3vw, 32px);
    --grid-pattern: repeating-linear-gradient(0deg, rgba(43,44,48,.18) 0 1px, transparent 1px 24px),
                    repeating-linear-gradient(90deg, rgba(43,44,48,.18) 0 1px, transparent 1px 24px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Helvetica Neue", "Arial", "Inter", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-graphite);
    background: var(--bg-base);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--accent-terracotta);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, color .2s ease;
}
a:hover { border-bottom-color: var(--accent-terracotta); }

h1, h2, h3, h4, h5, h6 {
    font-family: "Helvetica Neue Condensed", "Helvetica Neue", "Arial Narrow", sans-serif;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ink-graphite);
    margin: 0 0 .6em;
    line-height: 1.15;
}
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

hr {
    border: none;
    border-top: 1px solid var(--line-soft);
    margin: 2em 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--ink-graphite);
    margin: 1.5em 0;
}
th, td {
    border: 1px solid var(--ink-graphite);
    padding: .6em .8em;
    text-align: left;
    vertical-align: top;
}
th {
    background: var(--ink-graphite);
    color: var(--bg-base);
    font-weight: 700;
}

blockquote {
    border-left: 4px solid var(--accent-terracotta);
    margin: 1.6em 0;
    padding: .4em 0 .4em 1.4em;
    color: var(--ink-graphite);
    font-style: normal;
    font-size: 1.08em;
}
blockquote p:last-child { margin-bottom: 0; }

code, pre {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    background: var(--ink-graphite);
    color: var(--bg-base);
    font-size: .92em;
}
code { padding: .1em .35em; }
pre {
    padding: 1em 1.2em;
    overflow-x: auto;
    margin: 1.4em 0;
}
pre code { background: none; padding: 0; }

::selection { background: var(--accent-terracotta); color: var(--bg-base); }

/* ============================================================
   2. Контейнер и сетка
   ============================================================ */
.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.layout {
    display: grid;
    grid-template-columns: 67% 27%;
    gap: 6%;
    margin: 40px 0 80px;
}
.layout--full { grid-template-columns: 85%; justify-content: center; }
.layout--front { grid-template-columns: 85%; justify-content: center; }

@media (max-width: 960px) {
    .layout, .layout--full, .layout--front {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============================================================
   3. Шапка
   ============================================================ */
.site-header {
    background: var(--bg-base);
    border-bottom: 1px solid var(--ink-graphite);
    transition: background-color .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
    background: rgba(245, 247, 250, 0.86);
    backdrop-filter: blur(6px);
    border-bottom-color: var(--line-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 22px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    border: none;
    flex-shrink: 0;
}
.brand:hover { border: none; }
.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
    filter: grayscale(100%);
}
.brand-text { line-height: 1.15; }
.brand-name {
    font-family: "Helvetica Neue Condensed", "Helvetica Neue", "Arial Narrow", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--ink-graphite);
    display: block;
    max-width: 360px;
}
.brand-desc {
    font-size: .78rem;
    color: var(--ink-concrete);
    display: block;
    margin-top: 4px;
    max-width: 360px;
}

@media (max-width: 600px) {
    .brand-name { font-size: .9rem; }
    .brand-desc { display: none; }
}

/* Главное меню */
.primary-nav { flex: 1; display: flex; justify-content: flex-end; }
.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.primary-nav a {
    font-size: .95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ink-graphite);
    padding: 6px 0;
    position: relative;
    border: none;
}
.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--accent-terracotta);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease;
}
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after { transform: scaleX(1); }
.primary-nav .current-menu-item > a { color: var(--accent-terracotta); }

/* Бургер */
.nav-toggle[hidden] { display: none !important; }
.nav-toggle {
    background: var(--ink-graphite);
    color: var(--bg-base);
    border: none;
    padding: 12px 16px;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
    border-radius: 0;
}
.nav-toggle:hover { background: var(--accent-terracotta); }

@media (max-width: 800px) {
    .nav-toggle { display: inline-block; }
    .primary-nav {
        position: absolute;
        left: 0; right: 0;
        top: 100%;
        background: var(--bg-base);
        border-top: 1px solid var(--ink-graphite);
        border-bottom: 1px solid var(--ink-graphite);
        padding: 18px var(--gutter);
        display: none;
    }
    .primary-nav.is-open { display: block; }
    .primary-nav ul { flex-direction: column; gap: 14px; }
    .site-header { position: relative; }
}

/* ============================================================
   4. Основной контент
   ============================================================ */
.site-main { padding-top: 16px; }

.page-title {
    margin-top: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--ink-graphite);
    padding-bottom: 14px;
}

.entry-content :where(h2, h3, h4) { margin-top: 1.6em; }
.entry-content img,
.wp-block-image img { display: block; margin: 1.4em auto; }
.alignleft  { float: left;  margin: .25em 1.2em 1em 0; }
.alignright { float: right; margin: .25em 0 1em 1.2em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide   { max-width: 110%; margin-left: -5%; }

.wp-caption {
    max-width: 100%;
    background: var(--bg-sand);
    padding: 12px;
}
.wp-caption-text {
    margin: 8px 0 0;
    font-size: .85rem;
    color: var(--ink-graphite);
    text-align: left;
}

/* ============================================================
   5. Хлебные крошки
   ============================================================ */
.breadcrumbs {
    font-size: .82rem;
    color: var(--ink-concrete);
    padding: 18px 0 8px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.breadcrumbs a {
    color: var(--ink-concrete);
    border: none;
}
.breadcrumbs a:hover { color: var(--accent-terracotta); }
.breadcrumbs .sep { margin: 0 .5em; color: var(--ink-concrete); }
.breadcrumbs .current { color: var(--ink-graphite); }

/* ============================================================
   6. Карточки записей
   ============================================================ */
.card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--ink-graphite);
}
.card-list > li { margin: 0; padding: 0; }

.card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 36px;
    padding: 40px 0;
    border-bottom: 1px solid var(--line-strong);
    background: transparent;
}

/* image dominant on the right (~70%), text on the left (~30%) */
.card-thumb-wrap {
    flex: 1 1 60%;
    order: 2;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}
.card-thumb-wrap a {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: none;
}
.card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter .3s ease;
}
.card-thumb-wrap:hover img { filter: grayscale(0%); }

/* эффект «лекала» — координатная сетка при наведении */
.card-thumb-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--grid-pattern);
    background-color: rgba(245, 247, 250, 0.32);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
.card-thumb-wrap:hover::after { opacity: 1; }

.card-body {
    flex: 1 1 30%;
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.card-meta {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-concrete);
    margin-bottom: 10px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.card-meta a { color: var(--ink-concrete); border: none; }
.card-meta a:hover { color: var(--accent-terracotta); }
.card-meta .cat-pictogram {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.card-meta svg { display: block; }

.card-title {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    margin: 0 0 12px;
    line-height: 1.2;
}
.card-title a {
    color: var(--ink-graphite);
    border: none;
    background-image: linear-gradient(var(--accent-terracotta), var(--accent-terracotta));
    background-size: 0% 2px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size .3s ease;
}
.card-title a:hover { background-size: 100% 2px; }

.card-excerpt {
    color: var(--ink-graphite);
    font-size: .98rem;
    line-height: 1.6;
    margin-bottom: 18px;
}
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-excerpt p:last-child { margin-bottom: 0; }

.card-cta {
    align-self: flex-start;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
    color: var(--ink-graphite);
    border: none;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--ink-graphite);
}
.card-cta:hover {
    color: var(--accent-terracotta);
    border-bottom-color: var(--accent-terracotta);
}
.card-cta::after { content: " →"; }

@media (max-width: 700px) {
    .card { flex-direction: column; gap: 18px; padding: 28px 0; }
    .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
    }
    .card-thumb-wrap a {
        position: static;
    }
    .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }
}

/* ============================================================
   7. Главная: тематические блоки
   ============================================================ */
.front-section {
    padding: 60px 0;
    border-top: 1px solid var(--ink-graphite);
}
.front-section:first-of-type { border-top: none; padding-top: 28px; }
.front-section--sand { background: var(--bg-sand); }
.front-section--graphite { background: var(--ink-graphite); color: var(--bg-base); }
.front-section--graphite h1,
.front-section--graphite h2,
.front-section--graphite h3 { color: var(--bg-base); }
.front-section--graphite a:not(.btn) { color: var(--bg-sand); }

.section-eyebrow {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--accent-terracotta);
    margin-bottom: 12px;
    display: inline-block;
    border-top: 2px solid var(--accent-terracotta);
    padding-top: 8px;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 36px;
}
@media (max-width: 800px) { .section-grid { grid-template-columns: 1fr; gap: 24px; } }

.tectonic-block {
    border-top: 1px solid currentColor;
    padding-top: 20px;
}
.tectonic-block h3 { margin-top: 0; }
.tectonic-num {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent-terracotta);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
}

/* «Архитектурный разрез» — чередующиеся колонны разной высоты */
.section-cut {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: end;
    margin-top: 30px;
}
.cut-col {
    background: var(--ink-graphite);
    color: var(--bg-base);
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.cut-col:nth-child(1) { min-height: 220px; }
.cut-col:nth-child(2) { min-height: 320px; background: var(--accent-terracotta); }
.cut-col:nth-child(3) { min-height: 180px; background: var(--bg-sand); color: var(--ink-graphite); }
.cut-col:nth-child(4) { min-height: 280px; }
.cut-col strong { display: block; font-size: 1.6rem; margin-bottom: 6px; }
.cut-col span { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 700px) {
    .section-cut { grid-template-columns: repeat(2, 1fr); }
}

/* лента последних записей на главной */
.front-recent { padding: 60px 0; }
.front-recent .card-list { border-top: 1px solid var(--ink-graphite); }

/* ============================================================
   8. Кнопка
   ============================================================ */
.btn {
    display: inline-block;
    background: var(--ink-graphite);
    color: var(--bg-base);
    padding: 14px 32px 16px 30px; /* нижняя грань длиннее — имитация стального листа */
    font-size: .92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
    box-shadow: 6px 6px 0 var(--ink-concrete);
    clip-path: polygon(0 0, 100% 0, calc(100% + 8px) 100%, -8px 100%);
}
.btn:hover {
    background: var(--accent-terracotta-deep);
    color: var(--bg-base);
    box-shadow: 8px 10px 0 var(--ink-graphite);
    border: none;
}
.btn--ghost {
    background: transparent;
    color: var(--ink-graphite);
    border: 2px solid var(--ink-graphite);
    box-shadow: none;
    clip-path: none;
    padding: 12px 28px;
}
.btn--ghost:hover {
    background: var(--ink-graphite);
    color: var(--bg-base);
    box-shadow: none;
}

/* ============================================================
   9. Сайдбар
   ============================================================ */
.sidebar { font-size: .95rem; }
.widget {
    margin-bottom: 36px;
    border-top: 2px solid var(--ink-graphite);
    padding-top: 18px;
}
.widget-title {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 14px;
}
.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
}
.widget li:last-child { border-bottom: none; }
.widget a {
    color: var(--ink-graphite);
    border: none;
}
.widget a:hover { color: var(--accent-terracotta); }

/* ============================================================
   10. Подвал
   ============================================================ */
.site-footer {
    background: var(--ink-graphite);
    color: var(--bg-base);
    padding: 60px 0 0;
    margin-top: 80px;
}
.site-footer h2,
.site-footer h3,
.site-footer .widget-title { color: var(--bg-base); }
.site-footer a {
    color: var(--bg-sand);
    border: none;
}
.site-footer a:hover { color: var(--accent-terracotta); }

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
@media (max-width: 800px) { .footer-cols { grid-template-columns: 1fr; gap: 30px; } }

.site-footer .widget {
    border-top: 2px solid var(--accent-terracotta);
}
.site-footer .widget li { border-bottom-color: rgba(245, 247, 250, 0.12); }

.copyright {
    border-top: 1px solid rgba(245, 247, 250, 0.18);
    padding: 22px 0;
    margin-top: 50px;
    font-size: .85rem;
    color: var(--ink-concrete);
    text-align: center;
}

/* ============================================================
   11. Пагинация
   ============================================================ */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 48px 0 20px;
    padding-top: 28px;
    border-top: 1px solid var(--ink-graphite);
}
.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid var(--ink-graphite);
    color: var(--ink-graphite);
    font-weight: 600;
    font-size: .92rem;
    background: transparent;
    border-radius: 0;
}
.pagination a { border-color: var(--ink-graphite); }
.pagination a:hover {
    background: var(--ink-graphite);
    color: var(--bg-base);
    border-color: var(--ink-graphite);
}
.pagination .current {
    background: var(--accent-terracotta);
    border-color: var(--accent-terracotta);
    color: var(--bg-base);
}
.pagination .dots { border-color: transparent; }

/* ============================================================
   12. Поиск и формы
   ============================================================ */
.search-form {
    display: flex;
    gap: 8px;
    margin: 16px 0;
    align-items: stretch;
}
.search-form input[type="search"] {
    flex: 1;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--ink-graphite);
    background: transparent;
    font-size: 1rem;
    color: var(--ink-graphite);
    border-radius: 0;
    outline: none;
    transition: border-color .2s ease, border-bottom-width .2s ease;
}
.search-form input[type="search"]:focus {
    border-bottom: 2px solid var(--accent-terracotta);
}

input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--ink-graphite);
    background: transparent;
    font-size: 1rem;
    font-family: inherit;
    color: var(--ink-graphite);
    border-radius: 0;
    outline: none;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, textarea:focus {
    border-bottom: 2px solid var(--accent-terracotta);
}
label {
    display: block;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 6px;
    color: var(--ink-concrete);
}

/* ============================================================
   13. Комментарии
   ============================================================ */
.comments-area {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid var(--ink-graphite);
}
.comments-title {
    margin-bottom: 24px;
}
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list li { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.comment-list .children {
    list-style: none;
    margin: 24px 0 0 28px;
    padding-left: 20px;
    border-left: 2px solid var(--accent-terracotta);
}
.comment-author {
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink-graphite);
}
.comment-meta {
    font-size: .82rem;
    color: var(--ink-concrete);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.comment-body { font-size: .98rem; }
.comment-reply-link {
    display: inline-block;
    margin-top: 8px;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--accent-terracotta);
    border: none;
}
.comment-respond { margin-top: 36px; }
.comment-form { display: grid; gap: 14px; }
.comment-form .form-submit { margin-top: 12px; }
.comment-form input[type="submit"] {
    background: var(--ink-graphite);
    color: var(--bg-base);
    padding: 12px 28px 14px 26px;
    border: none;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    cursor: pointer;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, calc(100% + 6px) 100%, -6px 100%);
}
.comment-form input[type="submit"]:hover { background: var(--accent-terracotta-deep); }

/* ============================================================
   14. 404
   ============================================================ */
.notfound {
    text-align: center;
    padding: 60px 0 40px;
}
.notfound .code {
    font-family: "Helvetica Neue Condensed", "Helvetica Neue", "Arial Narrow", sans-serif;
    font-size: clamp(5rem, 16vw, 11rem);
    font-weight: 800;
    line-height: 1;
    color: var(--ink-graphite);
    margin: 0 0 10px;
    letter-spacing: -.04em;
}
.notfound .code span { color: var(--accent-terracotta); }
.notfound .lead { max-width: 520px; margin: 0 auto 24px; color: var(--ink-graphite); }
.notfound .search-form { max-width: 480px; margin: 0 auto 24px; }

/* ============================================================
   15. Cookie-баннер
   ============================================================ */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    background: var(--ink-graphite);
    color: var(--bg-base);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid var(--accent-terracotta);
    box-shadow: 6px 6px 0 var(--accent-terracotta);
    font-size: .92rem;
}
.cookie-banner p { margin: 0; }
.cookie-banner a {
    color: var(--bg-sand);
    border-bottom: 1px solid var(--bg-sand);
}
.cookie-banner a:hover { color: var(--accent-terracotta); border-bottom-color: var(--accent-terracotta); }
.cookie-accept {
    flex-shrink: 0;
    background: var(--accent-terracotta);
    color: var(--bg-base);
    border: none;
    padding: 10px 22px 12px 20px;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    cursor: pointer;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, calc(100% + 6px) 100%, -6px 100%);
}
.cookie-accept:hover { background: var(--accent-terracotta-deep); }
@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
    .cookie-accept { align-self: flex-end; }
}

/* ============================================================
   16. Утилиты
   ============================================================ */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px; width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.sticky, .gallery-caption, .bypostauthor { display: block; }

/* единичная карточка/страница: типографика контента */
.entry-content {
    font-size: 1.02rem;
    line-height: 1.7;
}
.entry-content p { margin: 0 0 1.2em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.2em; }
.entry-content li { margin-bottom: .4em; }

/* мета записи */
.post-meta {
    font-size: .82rem;
    color: var(--ink-concrete);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 18px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.post-meta a { color: var(--ink-concrete); border: none; }
.post-meta a:hover { color: var(--accent-terracotta); }

.tags-line {
    margin: 30px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
    font-size: .85rem;
    color: var(--ink-concrete);
}
.tags-line a {
    display: inline-block;
    margin-right: 6px;
    padding: 4px 10px;
    border: 1px solid var(--ink-graphite);
    color: var(--ink-graphite);
    border-radius: 0;
    text-transform: lowercase;
}
.tags-line a:hover { background: var(--ink-graphite); color: var(--bg-base); }
