/*
Theme Name: Tema Partido
Theme URI: https://example.com/tema-partido
Author: Sonny
Description: Tema propio para sitio de partido político. Inspirado en la estructura de un portal de opinión y noticias: cabecera limpia, grilla de notas con imagen, nota individual con imagen a ancho completo, compartir en redes, notas relacionadas con "Cargar más" y pie con redes. Colores, logo, banner y redes se configuran desde Apariencia > Personalizar.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tema-partido
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Variables (los colores se sobrescriben desde el Personalizador)
   ========================================================================== */
:root {
	--tp-primary: #0b3d6e;
	--tp-primary-dark: #082b4e;
	--tp-accent: #e8742a;
	--tp-text: #1f2933;
	--tp-muted: #6b7785;
	--tp-bg: #ffffff;
	--tp-bg-soft: #f4f6f9;
	--tp-border: #e2e7ee;
	--tp-radius: 10px;
	--tp-shadow: 0 6px 22px rgba(11, 61, 110, .10);
	--tp-container: 1180px;
	--tp-narrow: 760px;
	--tp-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--tp-font-title: 'Merriweather', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--tp-bg);
	color: var(--tp-text);
	font-family: var(--tp-font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--tp-primary); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--tp-accent); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--tp-font-title);
	line-height: 1.25;
	color: var(--tp-primary-dark);
	margin: 0 0 .6em;
}

p { margin: 0 0 1.3em; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: #fff; clip: auto !important; clip-path: none; color: #000;
	display: block; height: auto; left: 8px; top: 8px; padding: 12px 18px;
	width: auto; z-index: 100000; border-radius: 4px;
}

.tp-container { width: 100%; max-width: var(--tp-container); margin: 0 auto; padding: 0 20px; }
.tp-narrow { max-width: var(--tp-narrow); margin: 0 auto; padding: 0 20px; }

/* Botones */
.tp-btn, .wp-block-button__link, input[type="submit"], button[type="submit"] {
	display: inline-block;
	background: var(--tp-accent);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 13px 30px;
	font: 700 15px/1 var(--tp-font-body);
	letter-spacing: .03em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform .2s, background .2s, box-shadow .2s;
}
.tp-btn:hover, input[type="submit"]:hover, button[type="submit"]:hover {
	background: var(--tp-primary);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: var(--tp-shadow);
}
.tp-btn--outline {
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
}
.tp-btn--outline:hover { background: #fff; color: var(--tp-primary); }

/* ==========================================================================
   Cabecera
   ========================================================================== */
.tp-topbar {
	background: var(--tp-primary-dark);
	color: #cfdbe8;
	font-size: 13px;
}
.tp-topbar .tp-container {
	display: flex; justify-content: space-between; align-items: center;
	min-height: 38px; gap: 16px;
}
.tp-topbar a { color: #cfdbe8; }
.tp-topbar a:hover { color: #fff; }
.tp-topbar .tp-social { gap: 6px; }

.tp-header {
	position: sticky; top: 0; z-index: 900;
	background: #fff;
	border-bottom: 1px solid var(--tp-border);
	transition: box-shadow .25s;
}
.tp-header.is-scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, .08); }
.admin-bar .tp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tp-header { top: 46px; } }

.tp-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; min-height: 84px;
}

.tp-brand { display: flex; align-items: center; gap: 14px; }
.tp-brand .custom-logo { max-height: 62px; width: auto; }
.tp-brand__name {
	font: 800 22px/1.1 var(--tp-font-title);
	color: var(--tp-primary-dark);
}
.tp-brand__tagline { display: block; font: 500 12px/1.3 var(--tp-font-body); color: var(--tp-muted); }

/* Menú principal */
.tp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.tp-nav li { position: relative; }
.tp-nav a {
	display: block; padding: 10px 16px;
	font: 600 15px/1 var(--tp-font-body);
	color: var(--tp-text);
	border-radius: 999px;
}
.tp-nav a:hover,
.tp-nav .current-menu-item > a,
.tp-nav .current-menu-ancestor > a { background: var(--tp-bg-soft); color: var(--tp-primary); }

.tp-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 230px;
	flex-direction: column; align-items: stretch; gap: 0;
	background: #fff; border: 1px solid var(--tp-border);
	border-radius: var(--tp-radius); box-shadow: var(--tp-shadow);
	padding: 8px;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .2s;
}
.tp-nav li:hover > .sub-menu,
.tp-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tp-nav .sub-menu a { border-radius: 6px; }

.tp-nav__cta a {
	background: var(--tp-accent); color: #fff !important;
}
.tp-nav__cta a:hover { background: var(--tp-primary) !important; }

.tp-header__actions { display: flex; align-items: center; gap: 8px; }

.tp-icon-btn {
	width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
	background: transparent; border: 0; border-radius: 50%; cursor: pointer;
	color: var(--tp-primary-dark);
}
.tp-icon-btn:hover { background: var(--tp-bg-soft); color: var(--tp-accent); }
.tp-icon-btn svg { width: 22px; height: 22px; fill: currentColor; }

.tp-menu-toggle { display: none; }

/* Buscador desplegable */
.tp-search-panel {
	max-height: 0; overflow: hidden; background: var(--tp-bg-soft);
	transition: max-height .3s ease;
}
.tp-search-panel.is-open { max-height: 120px; border-bottom: 1px solid var(--tp-border); }
.tp-search-panel .tp-container { padding-top: 22px; padding-bottom: 22px; }

.tp-searchform { display: flex; gap: 10px; }
.tp-searchform input[type="search"] {
	flex: 1; padding: 13px 20px; border: 1px solid var(--tp-border);
	border-radius: 999px; font: 16px var(--tp-font-body); background: #fff;
}
.tp-searchform input[type="search"]:focus { outline: 2px solid var(--tp-primary); outline-offset: 1px; }

/* ==========================================================================
   Redes sociales
   ========================================================================== */
.tp-social { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tp-social a {
	width: 38px; height: 38px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .12); color: #fff;
}
.tp-social a:hover { background: var(--tp-accent); color: #fff; }
.tp-social svg { width: 18px; height: 18px; fill: currentColor; }
.tp-topbar .tp-social a { width: 28px; height: 28px; background: transparent; }
.tp-topbar .tp-social svg { width: 15px; height: 15px; }
.tp-topbar .tp-social a:hover { background: rgba(255, 255, 255, .15); }

/* ==========================================================================
   Home: Hero
   ========================================================================== */
.tp-hero {
	position: relative; color: #fff; overflow: hidden;
	background: linear-gradient(135deg, var(--tp-primary-dark), var(--tp-primary));
}
.tp-hero__bg {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	opacity: .28;
}
.tp-hero__inner {
	position: relative; padding: 96px 0 104px; max-width: 760px;
}
.tp-hero__kicker {
	display: inline-block; background: var(--tp-accent); color: #fff;
	font: 700 12px/1 var(--tp-font-body); letter-spacing: .14em; text-transform: uppercase;
	padding: 8px 14px; border-radius: 999px; margin-bottom: 22px;
}
.tp-hero h1 {
	color: #fff; font-size: clamp(32px, 5vw, 56px); margin-bottom: 18px;
}
.tp-hero p { font-size: 19px; color: #dbe6f2; max-width: 620px; margin-bottom: 30px; }
.tp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Banner */
.tp-banner { padding: 36px 0 0; }
.tp-banner a { display: block; border-radius: var(--tp-radius); overflow: hidden; box-shadow: var(--tp-shadow); }
.tp-banner img { width: 100%; transition: transform .5s; }
.tp-banner a:hover img { transform: scale(1.015); }

/* ==========================================================================
   Secciones / títulos
   ========================================================================== */
.tp-section { padding: 56px 0; }
.tp-section--soft { background: var(--tp-bg-soft); }

.tp-section__title {
	display: flex; align-items: center; gap: 16px;
	font-size: 28px; margin-bottom: 30px;
}
.tp-section__title::after {
	content: ""; flex: 1; height: 3px; background: var(--tp-border);
	border-radius: 3px;
}
.tp-section__title span { position: relative; padding-bottom: 0; }
.tp-section__title span::before {
	content: ""; display: inline-block; width: 8px; height: 26px;
	background: var(--tp-accent); border-radius: 3px; margin-right: 12px; vertical-align: -4px;
}

/* ==========================================================================
   Tarjetas de notas
   ========================================================================== */
.tp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.tp-card {
	background: #fff; border-radius: var(--tp-radius); overflow: hidden;
	border: 1px solid var(--tp-border);
	display: flex; flex-direction: column;
	transition: transform .25s, box-shadow .25s;
}
.tp-card:hover { transform: translateY(-5px); box-shadow: var(--tp-shadow); }

.tp-card__media { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tp-bg-soft); }
.tp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tp-card:hover .tp-card__media img { transform: scale(1.06); }
.tp-card__placeholder {
	width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--tp-primary), var(--tp-primary-dark));
	color: rgba(255, 255, 255, .5); font: 800 38px var(--tp-font-title);
}

.tp-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }

.tp-cat {
	display: inline-block; align-self: flex-start;
	font: 700 12px/1 var(--tp-font-body); letter-spacing: .1em; text-transform: uppercase;
	color: var(--tp-accent); margin-bottom: 12px;
}
.tp-cat:hover { color: var(--tp-primary); }

.tp-card__title { font-size: 21px; margin-bottom: 10px; }
.tp-card__title a { color: var(--tp-primary-dark); }
.tp-card__title a:hover { color: var(--tp-accent); }
.tp-card__excerpt { color: var(--tp-muted); font-size: 15px; margin-bottom: 16px; }
.tp-meta { margin-top: auto; font-size: 13px; color: var(--tp-muted); display: flex; gap: 14px; flex-wrap: wrap; }

/* Nota destacada (primera de la home) */
.tp-featured {
	display: grid; grid-template-columns: 1.25fr 1fr; gap: 0;
	background: #fff; border: 1px solid var(--tp-border);
	border-radius: var(--tp-radius); overflow: hidden; margin-bottom: 30px;
}
.tp-featured .tp-card__media { aspect-ratio: auto; min-height: 340px; }
.tp-featured__body { padding: 38px; display: flex; flex-direction: column; justify-content: center; }
.tp-featured__title { font-size: clamp(24px, 3vw, 34px); }
.tp-featured__title a { color: var(--tp-primary-dark); }
.tp-featured__title a:hover { color: var(--tp-accent); }

/* Cargar más */
.tp-loadmore { text-align: center; margin-top: 44px; }
.tp-loadmore button {
	background: var(--tp-primary);
}
.tp-loadmore button[disabled] { opacity: .6; cursor: wait; }

/* ==========================================================================
   Banda de llamado a la acción
   ========================================================================== */
.tp-cta {
	background: linear-gradient(120deg, var(--tp-accent), #f19a4d);
	color: #fff; text-align: center; padding: 64px 0;
}
.tp-cta h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); }
.tp-cta p { max-width: 640px; margin: 0 auto 28px; font-size: 18px; }
.tp-cta .tp-btn { background: var(--tp-primary-dark); }
.tp-cta .tp-btn:hover { background: #fff; color: var(--tp-primary-dark); }

/* ==========================================================================
   Nota individual
   ========================================================================== */
.tp-post-hero {
	position: relative; max-height: 520px; overflow: hidden; background: var(--tp-primary-dark);
}
.tp-post-hero img { width: 100%; height: 520px; object-fit: cover; }
.tp-post-hero::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(8, 43, 78, .35), transparent 55%);
}

.tp-breadcrumbs { font-size: 13px; color: var(--tp-muted); padding: 26px 0 8px; }
.tp-breadcrumbs a { color: var(--tp-muted); }
.tp-breadcrumbs a:hover { color: var(--tp-accent); }
.tp-breadcrumbs .sep { margin: 0 8px; opacity: .6; }

.tp-post-header { padding-bottom: 8px; }
.tp-post-header h1 { font-size: clamp(28px, 4.2vw, 44px); margin-bottom: 14px; }

.tp-post-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
	font-size: 14px; color: var(--tp-muted); padding: 14px 0;
	border-top: 1px solid var(--tp-border); border-bottom: 1px solid var(--tp-border);
	margin: 14px 0 28px;
}
.tp-post-meta .tp-share { margin-left: auto; }

.tp-content { font-size: 18.5px; line-height: 1.85; }
.tp-content > p:first-of-type { font-size: 20px; color: #2b3640; }
.tp-content h2, .tp-content h3 { margin-top: 1.8em; }
.tp-content a { text-decoration: underline; text-underline-offset: 3px; }
.tp-content img { border-radius: var(--tp-radius); margin: 1.6em auto; }
.tp-content blockquote {
	margin: 2em 0; padding: 18px 26px; border-left: 5px solid var(--tp-accent);
	background: var(--tp-bg-soft); font: italic 20px/1.6 var(--tp-font-title);
	color: var(--tp-primary-dark); border-radius: 0 var(--tp-radius) var(--tp-radius) 0;
}
.tp-content ul, .tp-content ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.tp-content li { margin-bottom: .4em; }
.tp-content strong { color: var(--tp-primary-dark); }
.tp-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 16px; }
.tp-content th, .tp-content td { border: 1px solid var(--tp-border); padding: 10px 14px; text-align: left; }
.tp-content th { background: var(--tp-bg-soft); }
.alignwide { max-width: var(--tp-container); }
.alignleft { float: left; margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--tp-muted); text-align: center; margin-top: 6px; }

.tp-author {
	margin: 40px 0 10px; font: 700 18px var(--tp-font-title);
	color: var(--tp-primary-dark);
}
.tp-tags { margin: 22px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tp-tags a {
	background: var(--tp-bg-soft); color: var(--tp-primary); font-size: 13px;
	padding: 6px 14px; border-radius: 999px; border: 1px solid var(--tp-border);
}
.tp-tags a:hover { background: var(--tp-primary); color: #fff; }

/* Compartir */
.tp-share { display: flex; align-items: center; gap: 8px; }
.tp-share__label { font: 700 12px var(--tp-font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--tp-muted); }
.tp-share a, .tp-share button {
	width: 36px; height: 36px; border-radius: 50%; border: 0;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--tp-bg-soft); color: var(--tp-primary); cursor: pointer; padding: 0;
	transition: all .2s;
}
.tp-share a:hover, .tp-share button:hover { background: var(--tp-accent); color: #fff; transform: translateY(-2px); }
.tp-share svg { width: 17px; height: 17px; fill: currentColor; }
.tp-share--bottom {
	justify-content: center; padding: 26px 0; margin-top: 34px;
	border-top: 1px solid var(--tp-border);
}

/* Anterior / siguiente */
.tp-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0 0; }
.tp-postnav a {
	display: flex; align-items: center; gap: 16px; padding: 14px;
	border: 1px solid var(--tp-border); border-radius: var(--tp-radius);
	color: var(--tp-text); background: #fff;
}
.tp-postnav a:hover { box-shadow: var(--tp-shadow); border-color: var(--tp-accent); }
.tp-postnav img { width: 78px; height: 78px; object-fit: cover; border-radius: 8px; flex: none; }
.tp-postnav small { display: block; font: 700 11px var(--tp-font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--tp-accent); }
.tp-postnav strong { font: 700 15px/1.35 var(--tp-font-title); color: var(--tp-primary-dark); }
.tp-postnav .next { flex-direction: row-reverse; text-align: right; grid-column: 2; }

/* Bloque redes (nota individual) */
.tp-follow { background: var(--tp-primary); color: #fff; padding: 44px 0; text-align: center; margin-top: 56px; }
.tp-follow h2 { color: #fff; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; font-family: var(--tp-font-body); }
.tp-follow__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.tp-follow__links a {
	display: inline-flex; align-items: center; gap: 10px;
	background: rgba(255, 255, 255, .12); color: #fff; padding: 12px 22px;
	border-radius: 999px; font-weight: 600; font-size: 15px;
}
.tp-follow__links a:hover { background: var(--tp-accent); }
.tp-follow__links svg { width: 18px; height: 18px; fill: currentColor; }

/* ==========================================================================
   Archivos / búsqueda / páginas
   ========================================================================== */
.tp-page-head {
	background: linear-gradient(135deg, var(--tp-primary-dark), var(--tp-primary));
	color: #fff; padding: 56px 0; text-align: center;
}
.tp-page-head h1 { color: #fff; margin: 0; font-size: clamp(28px, 4vw, 42px); }
.tp-page-head p { margin: 12px auto 0; max-width: 620px; color: #dbe6f2; }

.tp-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.tp-pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex;
	align-items: center; justify-content: center; border-radius: 999px;
	border: 1px solid var(--tp-border); font-weight: 600; color: var(--tp-text);
}
.tp-pagination .page-numbers.current,
.tp-pagination .page-numbers:hover { background: var(--tp-primary); color: #fff; border-color: var(--tp-primary); }

.tp-empty { text-align: center; padding: 70px 0; }
.tp-404 { text-align: center; padding: 100px 0; }
.tp-404 h1 { font-size: 110px; color: var(--tp-accent); margin-bottom: 0; }

/* ==========================================================================
   Comentarios
   ========================================================================== */
.tp-comments { margin-top: 50px; }
.tp-comments .comment-list { list-style: none; padding: 0; }
.tp-comments .comment-body { padding: 18px 0; border-bottom: 1px solid var(--tp-border); }
.tp-comments .children { list-style: none; padding-left: 28px; }
.tp-comments .avatar { border-radius: 50%; float: left; margin-right: 14px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 16px; border: 1px solid var(--tp-border);
	border-radius: var(--tp-radius); font: 16px var(--tp-font-body); margin-top: 4px;
}

/* ==========================================================================
   Pie
   ========================================================================== */
.tp-footer { background: var(--tp-primary-dark); color: #b9c8d9; padding: 0; margin-top: 0; }
.tp-footer__top {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
	padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.tp-footer h3 { color: #fff; font: 700 15px var(--tp-font-body); letter-spacing: .1em; text-transform: uppercase; }
.tp-footer a { color: #b9c8d9; }
.tp-footer a:hover { color: #fff; }
.tp-footer .custom-logo { max-height: 70px; width: auto; margin-bottom: 16px; }
.tp-footer__name { font: 800 22px var(--tp-font-title); color: #fff; margin-bottom: 12px; display: block; }
.tp-footer ul { list-style: none; margin: 0; padding: 0; }
.tp-footer li { margin-bottom: 10px; }
.tp-footer__bottom {
	display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
	gap: 14px; padding: 26px 0; font-size: 14px; text-align: center;
}

.tp-totop {
	position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
	background: var(--tp-accent); color: #fff; border: 0; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s;
	box-shadow: var(--tp-shadow); z-index: 800;
}
.tp-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.tp-totop svg { width: 20px; height: 20px; fill: currentColor; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
	.tp-grid { grid-template-columns: repeat(2, 1fr); }
	.tp-featured { grid-template-columns: 1fr; }
	.tp-featured .tp-card__media { min-height: 260px; aspect-ratio: 16 / 9; }
	.tp-footer__top { grid-template-columns: 1fr 1fr; }

	.tp-menu-toggle { display: inline-flex; }
	.tp-nav {
		position: absolute; top: 100%; left: 0; right: 0; background: #fff;
		border-bottom: 1px solid var(--tp-border); box-shadow: 0 14px 24px rgba(0, 0, 0, .08);
		max-height: 0; overflow: hidden; transition: max-height .3s ease;
	}
	.tp-nav.is-open { max-height: 80vh; overflow-y: auto; }
	.tp-nav ul { flex-direction: column; align-items: stretch; padding: 14px 20px 20px; gap: 2px; }
	.tp-nav a { border-radius: 8px; padding: 14px 16px; }
	.tp-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0;
	}
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.tp-grid { grid-template-columns: 1fr; }
	.tp-header__inner { min-height: 70px; }
	.tp-brand .custom-logo { max-height: 48px; }
	.tp-hero__inner { padding: 64px 0 70px; }
	.tp-post-hero img { height: 300px; }
	.tp-content { font-size: 17px; }
	.tp-post-meta .tp-share { margin-left: 0; width: 100%; }
	.tp-postnav { grid-template-columns: 1fr; }
	.tp-postnav .next { grid-column: auto; }
	.tp-footer__top { grid-template-columns: 1fr; }
	.tp-featured__body { padding: 24px; }
	.tp-topbar__text { display: none; }
	.tp-topbar .tp-container { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
