/* ==========================================================
   PlanMon News – main stylesheet
   Colors are CSS variables set from the Customizer.
   ========================================================== */

:root {
	--pm-primary: #0b57a7;
	--pm-accent: #f7941d;
	--pm-breaking: #d71920;
	--pm-topbar: #1a1a1a;
	--pm-dark: #1d3461;
	--pm-footer: #f4f6f9;
	--pm-footer-tx: #1a1a1a;
	--pm-text: #1a1a1a;
	--pm-muted: #6b7280;
	--pm-border: #e6e8ec;
	--pm-soft: #f4f6f9;
	--pm-radius: 8px;
	--pm-font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--pm-container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--pm-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--pm-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--pm-primary); }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--pm-container); margin: 0 auto; padding: 0 16px; }

.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000;
	top: 8px; left: 8px; padding: 10px 16px; background: #fff; color: var(--pm-primary);
}

.pm-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.pm-btn, .comment-form .submit {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--pm-primary); color: #fff; border: 1px solid var(--pm-primary);
	padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 14px;
	transition: opacity .15s ease;
}
.pm-btn:hover, .comment-form .submit:hover { color: #fff; opacity: .9; }
.pm-btn--outline { background: #fff; color: var(--pm-primary); }
.pm-btn--outline:hover { background: var(--pm-primary); color: #fff; opacity: 1; }

.pm-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border: 0; background: transparent; color: var(--pm-text);
	border-radius: 50%; padding: 0;
}
.pm-icon-btn:hover { background: var(--pm-soft); color: var(--pm-primary); }

/* ---------- Top bar ---------- */
.pm-topbar { background: var(--pm-topbar); color: #fff; font-size: 12px; font-weight: 600; }
.pm-topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 34px; }
.pm-topbar__date { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--pm-accent); }
.pm-topbar__nav { flex: 1; overflow-x: auto; scrollbar-width: none; }
.pm-topbar__nav::-webkit-scrollbar { display: none; }
.pm-topbar__menu { list-style: none; display: flex; justify-content: space-between; gap: 22px; white-space: nowrap; }
.pm-topbar__menu a { color: #fff; }
.pm-topbar__menu a:hover { color: var(--pm-accent); }
.pm-topbar__tagline { flex: 1; color: #cfd3da; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Social ---------- */
.pm-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pm-social a { display: inline-flex; align-items: center; justify-content: center; }
.pm-social--topbar { gap: 12px; }
.pm-social--topbar a { color: #fff; }
.pm-social--topbar a:hover { color: var(--pm-accent); }
.pm-social--topbar .pm-icon { width: 15px; height: 15px; }
.pm-social--boxed a {
	width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--pm-text);
	border: 1px solid var(--pm-border);
}
.pm-social--boxed a:hover { background: var(--pm-primary); border-color: var(--pm-primary); color: #fff; }

/* ---------- Masthead ---------- */
.site-header { background: #fff; position: relative; z-index: 50; }
.pm-masthead__inner {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px;
}
.pm-burger { justify-self: start; }
.pm-masthead__actions { justify-self: end; display: flex; gap: 4px; }
.site-branding { text-align: center; line-height: 1; }
.site-branding .custom-logo-link { display: inline-block; }
.site-branding .custom-logo { max-height: 44px; width: auto; margin: 0 auto; }
.site-title {
	margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.5px; line-height: 1;
	font-family: Georgia, "Times New Roman", serif;
}
.site-title a { color: var(--pm-primary); }
.site-title .accent { color: var(--pm-accent); }

/* ---------- Primary nav ---------- */
.pm-nav { background: #fff; border-bottom: 1px solid var(--pm-border); }
.pm-nav__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; }
.pm-nav__logo, .pm-nav__search { display: none; }
.pm-menu { list-style: none; display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pm-menu::-webkit-scrollbar { display: none; }
.pm-menu > li { position: relative; }
.pm-menu > li > a {
	display: block; padding: 12px 12px; font-size: 13px; font-weight: 700; text-transform: uppercase;
	color: #333; letter-spacing: .2px; white-space: nowrap; position: relative;
}
.pm-menu > li > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px;
	background: var(--pm-primary); border-radius: 3px; transform: scaleX(0); transition: transform .2s ease;
}
.pm-menu > li > a:hover::after,
.pm-menu > li.current-menu-item > a::after,
.pm-menu > li.current-menu-ancestor > a::after,
.pm-menu > li.current-category-ancestor > a::after { transform: scaleX(1); }
.pm-menu > li.current-menu-item > a, .pm-menu > li.current-menu-ancestor > a { color: var(--pm-text); }
.pm-menu .sub-menu {
	list-style: none; position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff;
	box-shadow: 0 10px 30px rgba(0,0,0,.12); border-radius: var(--pm-radius); padding: 8px 0;
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; z-index: 60;
}
.pm-menu li:hover > .sub-menu, .pm-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.pm-menu .sub-menu a { display: block; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.pm-menu .sub-menu a:hover { background: var(--pm-soft); }

/* Sticky compact header */
.has-sticky-header .site-header.is-stuck .pm-nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 90;
	box-shadow: 0 2px 12px rgba(0,0,0,.08); animation: pmSlide .25s ease;
}
.admin-bar.has-sticky-header .site-header.is-stuck .pm-nav { top: 32px; }
.site-header.is-stuck .pm-nav__inner { justify-content: flex-start; }
.site-header.is-stuck .pm-nav__logo { display: flex; align-items: center; flex-shrink: 0; margin-right: 12px; }
.site-header.is-stuck .pm-nav__logo img { max-height: 28px; width: auto; }
.site-header.is-stuck .pm-nav__logo .site-title { font-size: 20px; }
.site-header.is-stuck .pm-nav__search { display: inline-flex; margin-left: auto; }
.site-header.is-stuck .pm-menu { justify-content: flex-start; }
@keyframes pmSlide { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Breaking news ---------- */
.pm-breaking { background: var(--pm-primary); color: #fff; }
.pm-breaking__inner { display: flex; align-items: stretch; height: 40px; overflow: hidden; }
.pm-breaking__label {
	background: var(--pm-breaking); color: #fff; font-weight: 800; font-size: 13px; text-transform: uppercase;
	display: flex; align-items: center; padding: 0 14px; white-space: nowrap; letter-spacing: -.2px; position: relative; z-index: 1;
}
.pm-breaking__track { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center;
	mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
.pm-breaking__items { display: flex; gap: 40px; white-space: nowrap; animation: pmTicker 60s linear infinite; padding-left: 20px; }
.pm-breaking__track:hover .pm-breaking__items { animation-play-state: paused; }
.pm-breaking__items a { color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.pm-breaking__items a:hover { color: var(--pm-accent); }
.pm-breaking__items .dot { width: 6px; height: 6px; background: var(--pm-accent); border-radius: 50%; }
@keyframes pmTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pm-breaking__items { animation: none; } }

/* ---------- Search overlay ---------- */
.pm-search-overlay {
	position: fixed; inset: 0 0 auto 0; background: #fff; z-index: 200; padding: 28px 0;
	box-shadow: 0 10px 40px rgba(0,0,0,.15);
}
.pm-search-overlay .container { display: flex; gap: 12px; align-items: center; }
.pm-search-overlay .pm-search-form { flex: 1; }
.pm-search-form { display: flex; align-items: center; background: var(--pm-soft); border: 1px solid var(--pm-border); border-radius: 999px; overflow: hidden; }
.pm-search-form__input { flex: 1; border: 0; background: transparent; padding: 12px 18px; font: inherit; font-size: 15px; outline: none; min-width: 0; }
.pm-search-form__btn { border: 0; background: var(--pm-primary); color: #fff; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; }

/* ---------- Off-canvas ---------- */
.pm-offcanvas { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.pm-offcanvas.is-open { visibility: visible; }
.pm-offcanvas__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .25s ease; }
.pm-offcanvas.is-open .pm-offcanvas__overlay { opacity: 1; }
.pm-offcanvas__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); background: #fff;
	transform: translateX(-100%); transition: transform .28s ease; overflow-y: auto; padding: 18px 20px 30px;
}
.pm-offcanvas.is-open .pm-offcanvas__panel { transform: none; }
.pm-offcanvas__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.site-branding--small .custom-logo { max-height: 32px; margin: 0; }
.site-branding--small .site-title { font-size: 22px; }
.pm-offcanvas__label { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--pm-muted); margin: 22px 0 8px; letter-spacing: .5px; }
.pm-offcanvas__menu { list-style: none; }
.pm-offcanvas__menu li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--pm-border); font-weight: 700; font-size: 15px; }
.pm-offcanvas__menu .sub-menu { list-style: none; padding-left: 14px; }
.pm-offcanvas__menu .sub-menu a { font-weight: 600; font-size: 14px; }
.pm-offcanvas .pm-menu { flex-direction: column; align-items: stretch; }
body.pm-locked { overflow: hidden; }

/* ---------- Ads ---------- */
.pm-ad { text-align: center; margin: 16px auto; overflow: hidden; }
.pm-ad--header { margin: 12px auto; }
.pm-ad-below-header { margin-top: 16px; }

/* ---------- Layout ---------- */
.site-content { min-height: 50vh; }
.pm-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 32px; margin-top: 28px; margin-bottom: 40px; }
.pm-layout--single { grid-template-columns: minmax(0,1fr) 320px; }
.pm-sidebar__inner { position: sticky; top: 64px; display: flex; flex-direction: column; gap: 24px; }
.admin-bar .pm-sidebar__inner { top: 96px; }

/* ---------- Section title ---------- */
.pm-section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pm-section-title h2 {
	margin: 0; font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 8px; color: var(--pm-text);
	position: relative; padding-left: 12px;
}
.pm-section-title h2::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; background: var(--pm-primary); border-radius: 4px; }
.pm-section-title h2 .pm-icon { color: var(--pm-primary); }
.pm-section-title__more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--pm-primary); white-space: nowrap; }

/* ---------- Meta / category ---------- */
.pm-cat { display: inline-block; font-size: 13px; font-weight: 600; color: var(--pm-muted); line-height: 1.3; }
.pm-cat:hover { color: var(--pm-primary); }
.pm-cat--badge {
	background: var(--pm-primary); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 12px;
}
.pm-cat--badge:hover { color: #fff; opacity: .9; }
.pm-meta, .pm-time { font-size: 12px; color: var(--pm-muted); }

/* ---------- Thumbnails ---------- */
.pm-thumb { display: block; position: relative; overflow: hidden; border-radius: var(--pm-radius); background: var(--pm-soft); aspect-ratio: 16 / 9; }
.pm-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.pm-thumb:hover img, article:hover > .pm-thumb img { transform: scale(1.04); }
.pm-thumb__placeholder {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--pm-primary), var(--pm-dark)); color: rgba(255,255,255,.35);
	font-size: 42px; font-weight: 800; font-family: Georgia, serif;
}

/* ---------- Headline ---------- */
.pm-headline-wrap { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 32px; margin-top: 24px; }
.pm-slider { position: relative; border-radius: var(--pm-radius); overflow: hidden; background: #000; }
.pm-slider__track { display: flex; transition: transform .5s ease; }
.pm-slide { position: relative; flex: 0 0 100%; }
.pm-slide__img { border-radius: 0; aspect-ratio: 16 / 9; }
.pm-slide__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.85) 100%); }
.pm-slide__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 24px 36px; color: #fff; z-index: 2; }
.pm-slide__cat { color: #fff; font-size: 13px; font-weight: 600; opacity: .9; }
.pm-slide__cat:hover { color: var(--pm-accent); }
.pm-slide__title { font-size: 26px; font-weight: 800; margin: 6px 0 0; line-height: 1.3; }
.pm-slide__title a { color: #fff; }
.pm-slide__title a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pm-slider__nav {
	position: absolute; top: 40%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%;
	border: 0; background: rgba(255,255,255,.9); color: var(--pm-text); display: flex; align-items: center; justify-content: center;
	opacity: 0; transition: opacity .2s ease;
}
.pm-slider:hover .pm-slider__nav, .pm-slider__nav:focus { opacity: 1; }
.pm-slider__nav.is-prev { left: 14px; }
.pm-slider__nav.is-next { right: 14px; }
.pm-slider__dots { position: absolute; left: 24px; bottom: 14px; display: flex; gap: 6px; z-index: 3; }
.pm-slider__dots button { width: 8px; height: 8px; border-radius: 8px; border: 0; padding: 0; background: rgba(255,255,255,.5); transition: all .2s ease; }
.pm-slider__dots button.is-active { width: 24px; background: #fff; }

.pm-headline__sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.pm-card__body { padding-top: 10px; }
.pm-card__title { font-size: 15px; font-weight: 700; margin: 4px 0 6px; line-height: 1.4; }
.pm-headline__side { display: flex; flex-direction: column; gap: 24px; }

/* ---------- Boxes (sidebar) ---------- */
.pm-box { background: var(--pm-soft); border-radius: 12px; padding: 18px; }
.pm-box--dark { background: var(--pm-dark); color: #fff; }
.pm-box--dark .pm-section-title h2, .pm-box--dark h3 a, .pm-box--dark .pm-section-title__more { color: #fff; }
.pm-box--dark .pm-section-title h2::before { background: var(--pm-accent); }
.pm-box--dark .pm-section-title h2 .pm-icon { color: var(--pm-accent); }
.pm-box--dark .pm-time { color: rgba(255,255,255,.65); }
.pm-box--dark h3 a:hover { color: var(--pm-accent); }

.pm-mini { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 12px; align-items: start; padding: 10px 0; }
.pm-mini + .pm-mini { border-top: 1px solid rgba(0,0,0,.06); }
.pm-box--dark .pm-mini + .pm-mini { border-top-color: rgba(255,255,255,.12); }
.pm-mini .pm-thumb { aspect-ratio: 4 / 3; border-radius: 6px; }
.pm-mini h3 { font-size: 14px; font-weight: 700; line-height: 1.4; margin: 0 0 4px; }

/* Popular */
.pm-popular ol, .pm-popular-list { list-style: none; counter-reset: pmpop; }
.pm-popular li, .pm-popular-list li { counter-increment: pmpop; display: flex; gap: 14px; padding: 12px 0; }
.pm-popular li + li, .pm-popular-list li + li { border-top: 1px solid var(--pm-border); }
.pm-popular li::before, .pm-popular-list li::before {
	content: counter(pmpop); font-size: 30px; font-weight: 800; line-height: 1; color: var(--pm-primary); opacity: .35; min-width: 26px;
}
.pm-popular h3, .pm-popular-list h3 { font-size: 14px; font-weight: 700; margin: 2px 0 0; line-height: 1.45; }

/* Hot topic */
.pm-hot-topic { background: transparent; padding: 0; }
.pm-hot-topic__title { font-size: 20px; font-weight: 800; text-transform: uppercase; text-align: center; margin-bottom: 14px; }
.pm-hot-topic__title .hash { color: var(--pm-breaking); }
.pm-hot-topic ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pm-hot-topic a {
	display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 8px;
	background: color-mix(in srgb, var(--pm-accent) 18%, #fff); font-weight: 600; font-size: 14px; max-width: 100%;
}
.pm-hot-topic li:nth-child(even) a { margin-left: auto; }
.pm-hot-topic li:nth-child(even) { display: flex; }
.pm-hot-topic img, .pm-hot-topic .hash-icon { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.pm-hot-topic .hash-icon { display: flex; align-items: center; justify-content: center; background: var(--pm-accent); color: #fff; font-weight: 800; }

/* ---------- Latest list ---------- */
.pm-list-item {
	display: grid; grid-template-columns: 110px minmax(0,1fr) 220px; gap: 20px; align-items: start;
	padding: 18px 0; border-bottom: 1px solid var(--pm-border);
}
.pm-list-item__cat { text-align: center; padding-top: 4px; }
.pm-list-item__cat .pm-cat { font-size: 13px; color: #555; }
.pm-list-item__title { font-size: 18px; font-weight: 600; margin: 0 0 8px; line-height: 1.45; }
.pm-list-item__excerpt { font-size: 14px; color: #555; margin: 0 0 8px; }
.pm-list-item__thumb { border-radius: var(--pm-radius); }
.pm-more-wrap { text-align: center; margin: 24px 0 8px; }
.pm-empty { padding: 30px 0; color: var(--pm-muted); }

/* ---------- Category block ---------- */
.pm-cat-block { margin-top: 40px; }
.pm-cat-block__grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 24px; }
.pm-cat-block__main h3 { font-size: 20px; font-weight: 800; margin: 12px 0 8px; }
.pm-cat-block__main p { color: #555; font-size: 14px; margin: 0 0 8px; }
.pm-cat-block__list .pm-mini:first-child { padding-top: 0; }
.pm-cat-block__list .pm-mini + .pm-mini { border-top-color: var(--pm-border); }

/* ---------- Video band ---------- */
.pm-video-band { background: var(--pm-dark); color: #fff; padding: 36px 0 40px; margin-top: 8px; }
.pm-video-band .pm-section-title h2, .pm-video-band .pm-section-title__more { color: #fff; }
.pm-video-band .pm-section-title h2::before { background: var(--pm-accent); }
.pm-video-band .pm-section-title h2 .pm-icon { color: var(--pm-accent); }
.pm-video-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 20px; }
.pm-video-item__media { position: relative; }
.pm-play {
	position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--pm-breaking);
	color: #fff; display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.pm-video-item h3 { font-size: 15px; margin: 12px 0 6px; }
.pm-video-item:first-child h3 { font-size: 20px; }
.pm-video-item h3 a { color: #fff; }
.pm-video-item h3 a:hover { color: var(--pm-accent); }
.pm-video-band .pm-meta, .pm-video-band .pm-time { color: rgba(255,255,255,.65); }

/* ---------- Opinion ---------- */
.pm-opinion { margin-top: 40px; margin-bottom: 48px; }
.pm-opinion__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pm-opinion__item { background: var(--pm-soft); border-radius: 12px; padding: 18px; border-top: 4px solid var(--pm-accent); }
.pm-opinion__author { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 700; font-size: 13px; }
.pm-opinion__author img { border-radius: 50%; width: 44px; height: 44px; }
.pm-opinion__item h3 { font-size: 16px; font-family: Georgia, serif; font-style: italic; font-weight: 700; }

/* ---------- Grids ---------- */
.pm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pm-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- Archive ---------- */
.pm-breadcrumb { font-size: 13px; color: var(--pm-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 20px 0 8px; }
.pm-breadcrumb a { color: var(--pm-primary); font-weight: 600; }
.pm-breadcrumb .sep { display: inline-flex; opacity: .6; }
.pm-page-header { padding: 8px 0 20px; border-bottom: 1px solid var(--pm-border); }
.pm-page-title { font-size: 30px; font-weight: 800; margin: 0; }
.pm-page-desc { color: var(--pm-muted); margin-top: 8px; }
.pm-page-desc p { margin: 0; }
.pm-subcats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pm-subcats a { display: inline-block; padding: 6px 14px; border: 1px solid var(--pm-border); border-radius: 999px; font-size: 13px; font-weight: 600; }
.pm-subcats a:hover { border-color: var(--pm-primary); }
.pm-search-inline { max-width: 520px; margin-top: 14px; }

.pm-archive-lead { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--pm-border); }
.pm-archive-lead h2 { font-size: 24px; font-weight: 800; margin: 8px 0; }
.pm-archive-lead p { color: #555; font-size: 15px; }

.pm-pagination { margin: 32px 0 0; }
.pm-pagination .nav-links, .pm-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pm-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px;
	border: 1px solid var(--pm-border); border-radius: 8px; font-weight: 700; font-size: 14px;
}
.pm-pagination .page-numbers.current { background: var(--pm-primary); color: #fff; border-color: var(--pm-primary); }
.pm-pagination a.page-numbers:hover { border-color: var(--pm-primary); }

.pm-index-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: var(--pm-soft); padding: 16px; border-radius: 12px; margin-bottom: 8px; }
.pm-index-filter label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--pm-muted); }
.pm-index-filter input, .pm-index-filter select { font: inherit; font-size: 14px; padding: 9px 12px; border: 1px solid var(--pm-border); border-radius: 8px; background: #fff; min-width: 180px; }

/* ---------- Single ---------- */
.pm-article__header { margin-bottom: 20px; }
.pm-article__title { font-size: 34px; font-weight: 800; line-height: 1.25; margin: 0 0 12px; letter-spacing: -.3px; }
.pm-article__summary { font-size: 17px; color: #444; margin: 0 0 16px; }
.pm-article__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--pm-border); border-bottom: 1px solid var(--pm-border); }
.pm-article__byline { display: flex; align-items: center; gap: 10px; }
.pm-article__byline img { border-radius: 50%; }
.pm-article__author { display: block; font-size: 14px; font-weight: 700; }
.pm-article__author a { color: var(--pm-primary); }
.pm-article__date { display: block; font-size: 13px; color: var(--pm-muted); }
.pm-article__date .sep { margin: 0 6px; }
.pm-article__figure { margin: 0 0 24px; }
.pm-article__figure img { width: 100%; border-radius: var(--pm-radius); }
.pm-article__figure figcaption { font-size: 13px; color: var(--pm-muted); margin-top: 8px; line-height: 1.5; }

.entry-content { font-size: 18px; line-height: 1.8; color: #222; }
.entry-content > * { margin: 0 0 1.2em; }
.entry-content a { color: var(--pm-primary); text-decoration: underline; text-underline-offset: 2px; }
.entry-content h2 { font-size: 26px; margin-top: 1.4em; }
.entry-content h3 { font-size: 22px; margin-top: 1.3em; }
.entry-content blockquote { border-left: 4px solid var(--pm-primary); margin-left: 0; padding: 8px 20px; background: var(--pm-soft); border-radius: 0 8px 8px 0; font-style: italic; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .wp-caption-text { font-size: 13px; color: var(--pm-muted); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--pm-border); padding: 8px 10px; }
.entry-content img { border-radius: 6px; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { margin-left: auto; margin-right: auto; }

.pm-read-also { border-left: 4px solid var(--pm-accent); background: var(--pm-soft); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 1.5em 0; }
.pm-read-also__label { display: block; font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--pm-accent); margin-bottom: 6px; letter-spacing: .4px; }
.pm-read-also ul { list-style: none; padding: 0 !important; margin: 0; }
.pm-read-also li { font-size: 16px; line-height: 1.5; margin: 4px 0; }
.entry-content .pm-read-also a { color: var(--pm-text); text-decoration: none; font-weight: 700; }
.entry-content .pm-read-also a:hover { color: var(--pm-primary); }

.pm-share { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pm-share__label { font-size: 13px; font-weight: 700; color: var(--pm-muted); margin-right: 4px; }
.pm-share__btn {
	width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	color: #fff; border: 0; padding: 0; background: #555;
}
.pm-share__btn:hover { color: #fff; opacity: .85; }
.pm-share__btn.is-facebook { background: #1877f2; }
.pm-share__btn.is-x { background: #000; }
.pm-share__btn.is-whatsapp { background: #25d366; }
.pm-share__btn.is-telegram { background: #229ed9; }
.pm-share__btn.is-linkedin { background: #0a66c2; }
.pm-share__btn.is-copy { background: var(--pm-soft); color: var(--pm-text); border: 1px solid var(--pm-border); }
.pm-share__btn.is-copied { background: var(--pm-primary); color: #fff; }

.pm-article__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0; }
.pm-article__tags-label { font-weight: 800; font-size: 14px; }
.pm-article__tags a { background: var(--pm-soft); border: 1px solid var(--pm-border); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pm-article__tags a:hover { border-color: var(--pm-primary); }
.pm-article__footer-share { padding: 14px 0; border-top: 1px solid var(--pm-border); border-bottom: 1px solid var(--pm-border); }

.pm-author-box { display: flex; gap: 16px; background: var(--pm-soft); padding: 20px; border-radius: 12px; margin-top: 24px; }
.pm-author-box img { border-radius: 50%; flex-shrink: 0; }
.pm-author-box__label { font-size: 12px; font-weight: 700; color: var(--pm-muted); text-transform: uppercase; }
.pm-author-box h3 { margin: 2px 0 6px; font-size: 17px; }
.pm-author-box p { margin: 0; font-size: 14px; color: #555; }

.pm-related { margin-top: 40px; }

/* Comments */
.pm-comments { margin-top: 40px; }
.pm-comment-list { list-style: none; }
.pm-comment-list .children { list-style: none; padding-left: 40px; }
.pm-comment { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--pm-border); }
.pm-comment img { border-radius: 50%; }
.pm-comment__meta { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
.pm-comment__meta time { font-size: 12px; color: var(--pm-muted); }
.pm-comment__body p { margin: 6px 0; font-size: 15px; }
.comment-reply-link { font-size: 13px; font-weight: 700; color: var(--pm-primary); }
.comment-respond { margin-top: 24px; }
.comment-reply-title { font-size: 20px; font-weight: 800; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; font: inherit; padding: 10px 14px; border: 1px solid var(--pm-border); border-radius: 8px; background: #fff;
}
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }

/* 404 */
.pm-404 { text-align: center; padding: 60px 16px 20px; max-width: 640px; }
.pm-404__code { font-size: 110px; font-weight: 800; color: var(--pm-primary); line-height: 1; margin: 0 0 10px; }
.pm-404 h1 { font-size: 28px; }
.pm-404 p { color: var(--pm-muted); }
.pm-404__search { margin: 24px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pm-footer); color: var(--pm-footer-tx); margin-top: 20px; border-top: 4px solid var(--pm-primary); }
.pm-footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-top: 44px; padding-bottom: 36px; }
.site-branding--footer { text-align: left; margin-bottom: 14px; }
.site-branding--footer .custom-logo { margin: 0; }
.pm-footer__about { font-size: 14px; opacity: .85; }
.pm-footer__about p { margin: 0 0 10px; }
.pm-footer__label { font-weight: 800; font-size: 13px; text-transform: uppercase; margin: 18px 0 10px; }
.pm-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-title { font-size: 15px; font-weight: 800; text-transform: uppercase; margin: 0 0 14px; letter-spacing: .3px; }
.pm-footer__list, .footer-widget ul { list-style: none; }
.pm-footer__list li, .footer-widget li { margin-bottom: 8px; font-size: 14px; }
.pm-footer__list a, .footer-widget a { color: inherit; opacity: .85; }
.pm-footer__list a:hover, .footer-widget a:hover { color: var(--pm-primary); opacity: 1; }
.pm-footer__list .children { display: none; }
.pm-footer__menu { padding-bottom: 20px; }
.pm-footer__inline { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; font-weight: 600; }
.pm-footer__bottom { background: var(--pm-topbar); color: #cfd3da; font-size: 13px; text-align: center; }
.pm-footer__bottom p { margin: 0; padding: 16px 0; }
.pm-footer__bottom a { color: #fff; }

.pm-to-top {
	position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0;
	background: var(--pm-primary); color: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 20px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s ease; z-index: 80;
}
.pm-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* Gutenberg basics */
.wp-block-image { margin-left: 0; margin-right: 0; }
.wp-block-embed iframe { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.pm-layout, .pm-layout--single, .pm-headline-wrap { grid-template-columns: minmax(0,1fr); }
	.pm-sidebar__inner { position: static; }
	.pm-headline__side { display: grid; grid-template-columns: 1fr 1fr; }
	.pm-video-grid { grid-template-columns: 1fr 1fr; }
	.pm-opinion__grid, .pm-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.pm-footer__top { grid-template-columns: 1fr; gap: 28px; }
	.pm-menu { justify-content: flex-start; }
}

@media (max-width: 782px) {
	.admin-bar.has-sticky-header .site-header.is-stuck .pm-nav { top: 0; }
	.pm-topbar__nav, .pm-social--topbar { display: none; }
	.pm-topbar__inner { justify-content: center; }
	.pm-masthead__inner { min-height: 60px; }
	.site-branding .custom-logo { max-height: 34px; }
	.site-title { font-size: 24px; }
	.pm-index-link { display: none; }
	.pm-nav__inner { justify-content: flex-start; }
	.pm-menu > li > a { padding: 11px 10px; font-size: 12px; }
	.pm-breaking__label { font-size: 11px; padding: 0 10px; }

	.pm-slide__title { font-size: 19px; }
	.pm-slide__caption { padding: 16px 16px 30px; }
	.pm-slider__dots { left: 16px; bottom: 10px; }
	.pm-headline__sub { grid-template-columns: minmax(0,1fr); gap: 0; }
	.pm-headline__sub .pm-card { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--pm-border); }
	.pm-headline__sub .pm-card__body { padding-top: 0; }
	.pm-headline__side { grid-template-columns: minmax(0,1fr); }

	.pm-list-item { grid-template-columns: minmax(0,1fr) 120px; gap: 12px; padding: 14px 0; }
	.pm-list-item__cat { grid-column: 1 / -1; text-align: left; padding: 0; margin-bottom: -6px; }
	.pm-list-item__title { font-size: 15px; }
	.pm-list-item__excerpt { display: none; }
	.pm-list-item__thumb { aspect-ratio: 4 / 3; }

	.pm-cat-block__grid, .pm-archive-lead { grid-template-columns: minmax(0,1fr); }
	.pm-grid-3 { grid-template-columns: 1fr 1fr; gap: 14px; }
	.pm-card__title { font-size: 14px; }
	.pm-video-grid { grid-template-columns: minmax(0,1fr); }
	.pm-opinion__grid, .pm-grid-4 { grid-template-columns: minmax(0,1fr); }

	.pm-page-title { font-size: 24px; }
	.pm-article__title { font-size: 25px; }
	.entry-content { font-size: 17px; }
	.pm-article__meta .pm-share__label { display: none; }
	.pm-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
	.pm-grid-3 { grid-template-columns: minmax(0,1fr); }
	.pm-footer__cols { grid-template-columns: minmax(0,1fr); }
	.pm-index-filter input, .pm-index-filter select { min-width: 0; width: 100%; }
	.pm-index-filter label { flex: 1 1 100%; }
}

/* ---------- Core block widgets in sidebar ---------- */
.pm-box .wp-block-heading, .pm-box h2.widget-title { font-size: 18px; font-weight: 800; margin: 0 0 12px; }
.pm-box ul:not(.pm-social):not(.pm-hot-topic ul) { list-style: none; }
.pm-box .wp-block-latest-posts li, .pm-box .wp-block-categories li, .pm-box .wp-block-archives li,
.pm-box .widget_recent_entries li, .pm-box .widget_categories li { padding: 8px 0; border-bottom: 1px solid var(--pm-border); font-size: 14px; font-weight: 600; }
.pm-box .wp-block-search__label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.pm-box .wp-block-search__inside-wrapper { display: flex; border: 1px solid var(--pm-border); border-radius: 999px; overflow: hidden; background: #fff; }
.pm-box .wp-block-search__input { flex: 1; border: 0; padding: 10px 14px; font: inherit; min-width: 0; outline: none; }
.pm-box .wp-block-search__button { border: 0; margin: 0; background: var(--pm-primary); color: #fff; padding: 0 16px; font-weight: 700; border-radius: 0; }
