/*
Theme Name: Плевен Днес 2026
Author: ITService
Description: Собствена тема на pleven-dnes.com — посока „Епопея“. Знакът е фасадата на Панорамата.
Version: 1.0.0
Requires PHP: 8.1
Text Domain: pd2026
*/

:root {
	--bg: #FAF8F4;
	--ink: #17130F;
	--text: #2B2621;
	--muted: #5B544C;
	--rule: #E3DDD3;
	--panel: #EFEAE1;
	--accent: #8C1D2B;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: Onest, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--ink); }

.pd-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.pd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pd-skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.pd-skip:focus { left: 8px; color: #fff; }

/* ── Горна лента ─────────────────────────────── */
.pd-topbar { border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.pd-topbar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 9px; padding-bottom: 9px; }
.pd-date { font-weight: 600; color: var(--ink); }
.pd-topbar-links { display: flex; flex-wrap: wrap; gap: 18px; }
.pd-topbar-links a { color: var(--muted); }

/* ── Хедър ──────────────────────────────────── */
.pd-header { padding-top: 24px; }
.pd-masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pd-brand { display: flex; align-items: center; gap: 14px; }
.pd-brand-text { display: flex; flex-direction: column; line-height: 1; }
.pd-brand-name { font-family: var(--serif); font-weight: 700; font-size: 44px; letter-spacing: -0.5px; color: var(--ink); }
.pd-brand-tag { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-top: 7px; }
.pd-iconbtn { background: none; border: 0; padding: 0; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.pd-menu-btn, .pd-search-btn-m { display: none; }
.pd-ad--header { width: 728px; max-width: 100%; }

.pd-nav { margin-top: 22px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); display: flex; align-items: center; }
.pd-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 26px; flex: 1; }
.pd-menu > li { position: relative; }
.pd-menu a { display: block; padding: 12px 0; font-size: 15px; font-weight: 600; color: var(--ink); }
/* само категорията, в която сме — статиите са в по 5-9 категории и current-post-ancestor свети навсякъде */
.pd-menu > .current-menu-item > a, .pd-menu > .current-menu-ancestor:not(.current-post-ancestor) > a { color: var(--accent); }
.pd-menu .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: -16px; top: 100%; min-width: 220px; background: var(--bg); border: 1px solid var(--ink); z-index: 20; display: none; }
.pd-menu li:hover > .sub-menu, .pd-menu li:focus-within > .sub-menu { display: block; }
.pd-menu .sub-menu a { padding: 9px 16px; font-weight: 500; }
.pd-menu .menu-item-has-children > a::after { content: " ▾"; font-size: 11px; color: var(--muted); }
.pd-search { padding: 14px 0 4px; }
.pd-search form, .pd-searchform { display: flex; gap: 8px; max-width: 640px; }
.pd-search input, .pd-searchform input { flex: 1; min-height: 46px; padding: 0 14px; border: 1px solid var(--ink); background: #fff; font: inherit; color: var(--ink); }
.pd-search button, .pd-searchform button { min-height: 46px; padding: 0 20px; border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }

/* ── Мрежа ──────────────────────────────────── */
.pd-main { padding-top: 32px; padding-bottom: 64px; }
.pd-grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.pd-col8 { grid-column: span 8; min-width: 0; }
.pd-col4 { grid-column: span 4; min-width: 0; }
.pd-col12 { grid-column: span 12; min-width: 0; }
.pd-block { margin-top: 52px; }
.pd-cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 22px; }
.pd-cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 22px; }
.pd-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pd-cols3 .pd-card { margin: 20px 0 6px; }

/* ── Заглавия на секции ─────────────────────── */
.pd-shead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 3px solid var(--ink); padding-bottom: 8px; }
.pd-shead h2 { margin: 0; font-family: var(--serif); font-size: 30px; line-height: 1.15; }
.pd-shead a { font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.pd-cols3 .pd-shead h2 { font-size: 24px; }
.pd-shead-s { margin: 0 0 4px; padding-bottom: 8px; border-bottom: 3px solid var(--ink); font-family: var(--serif); font-size: 24px; }
.pd-kicker { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); }
.pd-kicker--accent { color: var(--accent); }

/* ── Карти ──────────────────────────────────── */
.pd-media { display: block; background: var(--panel); overflow: hidden; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pd-media:hover img { transform: scale(1.03); }
.pd-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.pd-cat { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.pd-meta { margin-top: 8px; font-size: 13px; color: var(--muted); }

.pd-lead .pd-media { aspect-ratio: 16 / 9; }
.pd-lead-title { margin: 8px 0 0; font-family: var(--serif); font-size: 44px; line-height: 1.08; letter-spacing: -0.5px; }
.pd-excerpt { margin: 14px 0 0; font-size: 18px; color: #3F3933; max-width: 680px; }

.pd-card .pd-media { aspect-ratio: 3 / 2; }
.pd-card-title { margin: 6px 0 0; font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.pd-card--small .pd-media { aspect-ratio: 4 / 3; }
.pd-card--small .pd-card-title { font-size: 19px; line-height: 1.25; }

.pd-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule); }
.pd-row .pd-media { width: 96px; height: 72px; }
.pd-row-title { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.25; font-weight: 600; }
.pd-row .pd-meta { margin-top: 4px; font-size: 12px; }

.pd-latest { border-left: 1px solid var(--rule); padding-left: 28px; }
.pd-latest .pd-kicker { margin-bottom: 6px; }
.pd-line { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--rule); }
.pd-line-when { font-size: 13px; font-weight: 600; color: var(--accent); padding-top: 3px; }
.pd-line-title { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.pd-line:hover .pd-line-title { color: var(--accent); }

/* ── Днес в Плевен ──────────────────────────── */
.pd-today { margin-top: 44px; background: var(--ink); color: var(--bg); padding: 22px 28px; display: grid; grid-template-columns: 160px repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.pd-today-h { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.1; color: var(--bg); }
.pd-today-item { display: flex; flex-direction: column; gap: 6px; color: var(--bg); }
.pd-today-item:hover { color: #fff; }
.pd-today-item:hover .pd-today-t { text-decoration: underline; }
.pd-today-k { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #CFC6B8; }
.pd-today-t { font-size: 16px; font-weight: 600; line-height: 1.3; }

/* ── Странична колона ───────────────────────── */
.pd-side { display: flex; flex-direction: column; gap: 32px; }
.pd-popular ol { list-style: none; margin: 0; padding: 0; counter-reset: pd; }
.pd-popular li { counter-increment: pd; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.pd-popular li::before { content: counter(pd); font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1; color: var(--accent); }
.pd-popular a { font-size: 16px; font-weight: 600; line-height: 1.3; }
.pd-side-block .pd-row:first-of-type { border-top: 0; }

/* ── Реклами ────────────────────────────────── */
.pd-ad { text-align: center; }
.pd-ad img { margin: 0 auto; }
.pd-ad--wide { margin-top: 52px; display: flex; justify-content: center; }
.pd-ad--content { margin: 28px 0; display: flex; justify-content: center; }

/* ── Призив ─────────────────────────────────── */
.pd-cta { margin-top: 56px; padding: 32px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.pd-cta h2 { margin: 8px 0 0; font-family: var(--serif); font-size: 34px; line-height: 1.15; }
.pd-cta p { margin: 10px 0 0; color: #3F3933; max-width: 560px; }
/* .pd-btn е зает от pd-grid.css (бутоните в бизнес каталога) */
.pd-button, .pd-comments .submit { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; border: 0; cursor: pointer; }
.pd-button:hover, .pd-comments .submit:hover { background: #6F1621; color: #fff; }

/* ── Статия ─────────────────────────────────── */
.pd-crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.pd-crumbs a { color: var(--muted); }
.pd-article-head .pd-cat { margin-top: 18px; }
.pd-article-title { margin: 10px 0 0; font-family: var(--serif); font-size: 44px; line-height: 1.1; letter-spacing: -0.5px; }
.pd-page .pd-article-title { margin-top: 0; }
.pd-article-img { margin: 24px 0 0; }
.pd-article-img img { width: 100%; }
.pd-article-img figcaption, .pd-content figcaption, .pd-content .wp-caption-text { font-size: 13px; color: var(--muted); margin-top: 8px; }
.pd-content { font-size: 19px; line-height: 1.7; color: var(--text); max-width: 720px; margin-top: 28px; overflow-wrap: break-word; }
.pd-content--wide { max-width: none; }
.pd-content p { margin: 0 0 1.1em; }
.pd-content h2, .pd-content h3, .pd-content h4 { font-family: var(--serif); line-height: 1.25; margin: 1.6em 0 .6em; }
.pd-content h2 { font-size: 30px; } .pd-content h3 { font-size: 24px; }
.pd-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pd-content img { height: auto; }
.pd-content figure, .pd-content .wp-caption { margin: 1.4em 0; max-width: 100%; }
.pd-content blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 22px; color: var(--ink); }
.pd-content iframe, .pd-content video, .pd-content embed { max-width: 100%; }
.pd-content iframe[src*="youtube"], .pd-content iframe[src*="facebook.com/plugins/video"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.pd-content ul, .pd-content ol { padding-left: 1.3em; }
.pd-content table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.pd-content td, .pd-content th { border: 1px solid var(--rule); padding: 8px 10px; }
.pd-content .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.pd-content .alignright { float: right; margin: .3em 0 1em 1.4em; }
.pd-content .aligncenter { margin-left: auto; margin-right: auto; }
.pd-content .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pd-content .gallery-item { margin: 0; }

.pd-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-tags a { font-size: 14px; padding: 6px 12px; background: var(--panel); color: var(--ink); }
.pd-share { margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pd-share a, .pd-share button { font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background: none; border: 1px solid var(--ink); min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; cursor: pointer; }
.pd-share a:hover, .pd-share button:hover { background: var(--ink); color: #fff; }
.pd-related { margin-top: 44px; }

/* ── Коментари ──────────────────────────────── */
.pd-comments { margin-top: 44px; }
.pd-comment-list { list-style: none; padding: 0; margin: 16px 0; }
.pd-comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.pd-comment-list .children { list-style: none; padding-left: 24px; }
.pd-comment-list .comment-meta { font-size: 13px; color: var(--muted); }
.pd-comment-list .fn { font-weight: 700; color: var(--ink); font-style: normal; }
.pd-comments .comment-reply-title { font-family: var(--serif); font-size: 24px; }
.pd-comments label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.pd-comments input[type=text], .pd-comments input[type=email], .pd-comments input[type=url], .pd-comments textarea { width: 100%; padding: 10px 12px; border: 1px solid #BDB3A3; background: #fff; font: inherit; }
.pd-comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.pd-comments .comment-form-cookies-consent label { font-weight: 400; }

/* ── Архив ──────────────────────────────────── */
.pd-archive-head { border-bottom: 3px solid var(--ink); padding-bottom: 12px; margin-bottom: 28px; }
.pd-archive-head h1 { margin: 0; font-family: var(--serif); font-size: 42px; line-height: 1.1; }
.pd-archive-desc { color: var(--muted); margin-top: 8px; }
.pd-archive-grid { margin-top: 36px; }
.pd-archive-grid .pd-card-title { font-size: 21px; }
.navigation.pagination { margin-top: 44px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links .page-numbers { min-width: 44px; min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); font-weight: 600; }
.nav-links .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pd-empty { font-size: 18px; }
.pd-404 { text-align: center; }
.pd-404 > svg { margin: 24px auto 0; }
.pd-404 h1 { font-family: var(--serif); font-size: 40px; margin: 20px 0 8px; }
.pd-404 .pd-searchform { margin: 20px auto 0; }
.pd-404 .pd-block { text-align: left; }

/* ── Футър ──────────────────────────────────── */
.pd-footer { background: var(--ink); color: #CFC6B8; margin-top: 24px; }
.pd-footer-in { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; font-size: 14px; }
.pd-brand--footer .pd-brand-name { font-size: 26px; color: var(--bg); }
.pd-footer a { color: #CFC6B8; }
.pd-footer a:hover { color: #fff; }
.pd-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.pd-footer-social { display: flex; gap: 18px; }

/* ── Рекламни тарифи: схема и таблица ──────── */
.pd-adsmap { margin: 1.6em 0; }
.pd-adsmap-page { background: #fff; border: 1px solid var(--rule); padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.pd-adsmap-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pd-adsmap-logo { display: flex; align-items: center; gap: 6px; font-family: var(--serif); font-size: 16px; color: var(--ink); white-space: nowrap; }
.pd-adsmap-nav { height: 8px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.pd-adsmap-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 14px; }
.pd-adsmap-main, .pd-adsmap-side { display: flex; flex-direction: column; gap: 10px; }
.pd-adsmap-lead { aspect-ratio: 16 / 7; background: var(--panel); }
.pd-adsmap-lines { display: flex; flex-direction: column; gap: 6px; }
.pd-adsmap-lines i { height: 8px; background: var(--panel); }
.pd-adsmap-lines i:nth-child(2n) { width: 75%; }
.pd-adsmap-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pd-adsmap-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pd-adsmap-cards i { aspect-ratio: 3 / 2; background: var(--panel); }
.pd-adsmap-slot { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; background: var(--accent); color: #fff; font-weight: 700; letter-spacing: .5px; line-height: 1.25; }
.pd-adsmap-slot b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--accent); flex: none; }
.pd-adsmap-slot--h { min-height: 44px; padding: 6px 12px; flex: 1; max-width: 62%; }
.pd-adsmap-main .pd-adsmap-slot--h { max-width: none; }
.pd-adsmap-slot--s { aspect-ratio: 1 / 1; flex-direction: column; }
.pd-adsmap figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

.pd-content .pd-prices { display: table; border-collapse: collapse; width: 100%; margin: 1em 0 1.4em; font-size: 16px; }
.pd-content .pd-prices th { text-align: left; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); border: 0; border-bottom: 2px solid var(--ink); padding: 8px 10px 8px 0; }
.pd-content .pd-prices td { border: 0; border-bottom: 1px solid var(--rule); padding: 12px 10px 12px 0; vertical-align: top; }
.pd-content .pd-prices td:first-child { font-weight: 700; color: var(--accent); white-space: nowrap; }
.pd-content .pd-prices td:last-child { font-weight: 700; white-space: nowrap; }

@media (max-width: 600px) {
	.pd-adsmap-head { flex-direction: column; align-items: stretch; }
	.pd-adsmap-slot--h { max-width: none; }
	.pd-adsmap-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pd-content .pd-prices thead { display: none; }
	.pd-content .pd-prices, .pd-content .pd-prices tbody, .pd-content .pd-prices tr, .pd-content .pd-prices td { display: block; width: 100%; }
	.pd-content .pd-prices tr { border-bottom: 1px solid var(--rule); padding: 10px 0; }
	.pd-content .pd-prices td { border: 0; padding: 2px 0; }
}

/* ── Контакти ───────────────────────────────── */
.pd-content .pd-intro { font-size: 21px; line-height: 1.5; color: var(--ink); max-width: 720px; }
.pd-contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 1.6em 0 2.4em; }
.pd-contact-card { background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--accent); padding: 22px 22px 6px; }
.pd-content .pd-contact-card h2 { margin: 6px 0 4px; font-size: 22px; }
.pd-contact-card p { font-size: 16px; margin: 0 0 14px; color: var(--muted); }
.pd-content .pd-contact-phone { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: .5px; }
.pd-content .pd-contact-phone:hover { background: #6F1621; color: #fff; }
.pd-contact-form { background: #fff; border: 1px solid var(--rule); padding: 28px 28px 12px; max-width: 760px; }
.pd-content .pd-contact-form h2 { margin: 0 0 4px; }
.pd-contact-form > p { font-size: 16px; color: var(--muted); }
.wpcf7 form p { margin: 0 0 16px; }
.wpcf7 label { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.wpcf7 .pd-req { color: var(--accent); }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 textarea, .wpcf7 .wpcf7-quiz { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #BDB3A3; background: var(--bg); font: inherit; font-size: 16px; color: var(--ink); border-radius: 0; }
.wpcf7 textarea { min-height: 160px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--accent); background: #fff; }
.pd-cf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.pd-cf-quiz label { display: inline; }
.pd-cf-quiz .wpcf7-quiz-label { font-weight: 700; margin: 0 8px; }
.pd-cf-quiz .wpcf7-quiz { width: 100px; display: inline-block; }
.wpcf7 .wpcf7-submit { border-radius: 0; }
.wpcf7 .wpcf7-not-valid-tip { color: var(--accent); font-size: 14px; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 8px 0 16px; padding: 10px 14px; border-width: 2px; font-size: 15px; }
.wpcf7 .wpcf7-spinner { vertical-align: middle; }
@media (max-width: 860px) {
	.pd-contact-cards { grid-template-columns: 1fr; }
	.pd-cf-grid { grid-template-columns: 1fr; }
	.pd-contact-form { padding: 20px 16px 6px; margin: 0 -16px; border-left: 0; border-right: 0; }
}

/* Cookie Notice в стила на темата */
#cookie-notice .cn-button { background: #fff !important; color: var(--accent) !important; font-weight: 600; border: 0; }

/* ── Таблет ─────────────────────────────────── */
@media (max-width: 1100px) {
	.pd-today { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pd-today-h { grid-column: 1 / -1; }
	.pd-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pd-lead-title, .pd-article-title { font-size: 38px; }
	.pd-ad--header { width: 100%; }
}

/* ── Телефон ────────────────────────────────── */
@media (max-width: 860px) {
	body { font-size: 16px; }
	.pd-wrap { padding: 0 16px; }
	.pd-topbar-links { display: none; }
	.pd-header { padding-top: 0; background: var(--bg); border-bottom: 3px solid var(--ink); }
	.pd-masthead { flex-wrap: wrap; gap: 0 8px; padding: 0 0 6px; }
	.pd-masthead .pd-brand { flex: 1; justify-content: center; }
	.pd-menu-btn, .pd-search-btn-m { display: inline-flex; }
	.pd-brand { gap: 8px; }
	.pd-brand .pd-mark { width: 38px; height: 38px; }
	.pd-brand-name { font-size: 26px; }
	.pd-brand-tag { display: none; }
	.pd-masthead .pd-ad--header { order: -1; width: calc(100% + 32px); margin: 0 -16px 6px; }
	.pd-nav { display: none; margin: 0; border: 0; border-top: 1px solid var(--rule); padding: 8px 0 16px; }
	.pd-nav.is-open { display: block; max-height: calc(100vh - 60px); overflow-y: auto; }
	.pd-menu { display: block; }
	.pd-menu a { padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--rule); }
	.pd-menu .sub-menu { display: block; position: static; border: 0; padding: 0 0 0 16px; background: none; min-width: 0; }
	.pd-menu .sub-menu a { font-size: 16px; padding: 10px 0; }
	.pd-menu .menu-item-has-children > a::after { content: ""; }
	.pd-search-btn { display: none; }

	.pd-main { padding-top: 18px; }
	.pd-grid12 { display: block; }
	.pd-latest { border-left: 0; padding-left: 0; margin-top: 28px; }
	.pd-lead-title, .pd-article-title { font-size: 29px; line-height: 1.12; }
	.pd-excerpt { font-size: 16px; }
	.pd-today { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; gap: 16px; margin-top: 28px; }
	.pd-today-h { font-size: 20px; }
	.pd-today-t { font-size: 15px; }
	.pd-cards2, .pd-cards4 { grid-template-columns: 1fr; gap: 22px; }
	.pd-cols3 { grid-template-columns: 1fr; gap: 36px; }
	.pd-block { margin-top: 40px; }
	.pd-shead h2 { font-size: 24px; }
	.pd-side { margin-top: 40px; }
	.pd-cta h2 { font-size: 26px; }
	.pd-content { font-size: 18px; }
	.pd-content .alignleft, .pd-content .alignright { float: none; margin: 1em 0; }
	.pd-archive-head h1 { font-size: 30px; }
	.pd-ad--wide, .pd-ad--content { margin-left: -16px; margin-right: -16px; }
}
