/*
Theme Name: NewsPressGeek
Author: Tecnología Geek
Author URI: https://tecnologiageek.com/
Description: NewsPressGeek is a lightweight news and magazine theme with a photo-first front page: a lead story with a 2x2 secondary grid, category sections with photo cards and a latest-stories river. Clean code, no frameworks, no jQuery, Customizer-driven and WooCommerce ready.
Version: 1.0.6
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newspressgeek
Tags: news, blog, grid-layout, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, e-commerce, rtl-language-support, sticky-post, editor-style, wide-blocks
*/

/* ---------------------------------------------------------------------------
   NewsPressGeek 1.0.6 — hoja de estilos principal
   CSS propio y ligero: sin frameworks, sin dependencias externas.
--------------------------------------------------------------------------- */

:root {
	--pf-ink: #17242f;
	--pf-ink-soft: #43586a;
	--pf-muted: #68798a;
	--pf-paper: #ffffff;
	--pf-soft: #f4f7f8;
	--pf-line: #e2e9ec;
	--pf-accent: #0e7a5f;
	--pf-accent-dark: #0a5c48;
	--pf-accent-soft: #e3f2ec;
	--pf-radius: 14px;
	--pf-shadow: 0 10px 30px rgba(23, 36, 47, 0.08);
	--pf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--pf-font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--pf-ink);
	background: var(--pf-soft);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--pf-accent-dark);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--pf-accent);
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--pf-font);
	line-height: 1.2;
	margin: 0 0 0.5em;
	color: var(--pf-ink);
	letter-spacing: -0.01em;
	/* Long page/post titles wrap instead of overflowing the screen. */
	overflow-wrap: break-word;
}

/* The site title is a <p>, not a heading: same long-title protection. */
.site-title {
	overflow-wrap: break-word;
}

p { margin: 0 0 1em; }

.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;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--pf-paper);
	clip: auto !important;
	clip-path: none;
	color: var(--pf-ink);
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	height: auto;
	left: 8px;
	padding: 10px 16px;
	top: 8px;
	width: auto;
	z-index: 100000;
}

.pf-container {
	width: min(1240px, 100% - 2.5rem);
	margin-inline: auto;
}

.pf-tag {
	display: inline-block;
	background: var(--pf-accent);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.28rem 0.6rem;
	border-radius: 999px;
	line-height: 1;
}

.pf-tag a { color: #fff; }
.pf-tag a:hover { color: #fff; text-decoration: none; }

.pf-meta {
	font-size: 0.8rem;
	color: var(--pf-muted);
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.9rem;
	align-items: center;
}

.pf-meta .pf-author { font-weight: 700; color: var(--pf-ink-soft); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.72rem; }

/* --- Barra superior ---------------------------------------------------- */

.pf-topbar {
	background: var(--pf-ink);
	color: #cfe0ea;
	font-size: 0.78rem;
}

.pf-topbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-top: 0.4rem;
	padding-bottom: 0.4rem;
}

.pf-topbar a { color: #cfe0ea; }
.pf-topbar a:hover { color: #fff; }

.pf-social {
	display: flex;
	gap: 0.25rem;
	align-items: center;
}

.pf-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
}

.pf-social a:hover { background: rgba(255, 255, 255, 0.14); text-decoration: none; }
.pf-social svg { width: 15px; height: 15px; fill: currentColor; }

/* --- Cabecera ----------------------------------------------------------- */

.pf-masthead {
	background: var(--pf-paper);
	border-bottom: 1px solid var(--pf-line);
}

.pf-masthead-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
}

.pf-branding .site-title {
	font-size: 2rem;
	font-weight: 900;
	letter-spacing: -0.03em;
	margin: 0;
	line-height: 1;
}

.pf-branding .site-title a { color: var(--pf-ink); }
.pf-branding .site-title a:hover { color: var(--pf-accent-dark); text-decoration: none; }
.pf-branding .site-title span { color: var(--pf-accent); }

.pf-branding .site-description {
	margin: 0.25rem 0 0;
	color: var(--pf-muted);
	font-size: 0.85rem;
}

.pf-branding .custom-logo { max-height: 64px; width: auto; }

.pf-header-tools {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.pf-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--pf-line);
	background: var(--pf-paper);
	color: var(--pf-ink);
	cursor: pointer;
}

.pf-icon-btn:hover { border-color: var(--pf-accent); color: var(--pf-accent-dark); }
.pf-icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }

.pf-search-panel {
	display: none;
	background: var(--pf-paper);
	border-bottom: 1px solid var(--pf-line);
	padding: 0.9rem 0;
}

.pf-search-panel.is-open { display: block; }

.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 640px;
	margin-inline: auto;
}

.search-form label { flex: 1; }

.search-field {
	width: 100%;
	padding: 0.7rem 1rem;
	border: 1px solid var(--pf-line);
	border-radius: 999px;
	font: inherit;
	background: var(--pf-soft);
}

.search-submit,
button,
input[type="submit"] {
	font: inherit;
}

.search-submit {
	background: var(--pf-accent);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 0.7rem 1.4rem;
	font-weight: 700;
	cursor: pointer;
}

.search-submit:hover { background: var(--pf-accent-dark); }

/* --- Navegación ---------------------------------------------------------- */

.pf-navbar {
	background: var(--pf-paper);
	border-bottom: 1px solid var(--pf-line);
	position: sticky;
	top: 0;
	z-index: 900;
}

body.admin-bar .pf-navbar { top: 32px; }

.pf-navbar.is-stuck { box-shadow: var(--pf-shadow); }

.pf-nav-inner {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.pf-menu-toggle {
	display: none;
	margin: 0.5rem 0;
}

.pf-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.4rem;
}

.pf-menu li { position: relative; }

.pf-menu a {
	display: block;
	padding: 0.85rem 0.1rem;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pf-ink);
}

.pf-menu a:hover { color: var(--pf-accent-dark); text-decoration: none; }
.pf-menu .current-menu-item > a,
.pf-menu .current_page_item > a { color: var(--pf-accent-dark); box-shadow: inset 0 -3px 0 var(--pf-accent); }

.pf-menu ul {
	list-style: none;
	margin: 0;
	padding: 0.5rem;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 220px;
	background: var(--pf-paper);
	border: 1px solid var(--pf-line);
	border-radius: 10px;
	box-shadow: var(--pf-shadow);
	display: none;
	z-index: 950;
}

.pf-menu li:hover > ul,
.pf-menu li:focus-within > ul { display: block; }

.pf-menu ul a { padding: 0.5rem 0.7rem; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 0.9rem; }

/* --- Héroe --------------------------------------------------------------- */

.pf-hero {
	padding: 2rem 0 0.5rem;
}

.pf-hero-grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 1.25rem;
}

.pf-hero-main {
	position: relative;
	background: var(--pf-paper);
	border-radius: var(--pf-radius);
	overflow: hidden;
	box-shadow: var(--pf-shadow);
}

.pf-hero-main .pf-hero-media { aspect-ratio: 16 / 10; overflow: hidden; }
.pf-hero-main .pf-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.pf-hero-main .pf-tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; }

.pf-hero-body { padding: 1.25rem 1.4rem 1.4rem; }

.pf-hero-body h2 {
	font-size: clamp(1.6rem, 3.2vw, 2.4rem);
	font-weight: 900;
	margin-bottom: 0.6rem;
}

.pf-hero-body h2 a { color: var(--pf-ink); }
.pf-hero-body h2 a:hover { color: var(--pf-accent-dark); text-decoration: none; }

.pf-hero-body .pf-excerpt { color: var(--pf-ink-soft); margin-bottom: 0.8rem; }

.pf-hero-side {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

/* --- Tarjetas ------------------------------------------------------------- */

.pf-card {
	background: var(--pf-paper);
	border-radius: var(--pf-radius);
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(23, 36, 47, 0.06);
	display: flex;
	flex-direction: column;
}

.pf-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pf-accent-soft); }
.pf-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.pf-card:hover .pf-card-media img { transform: scale(1.04); }
.pf-card-media .pf-tag { position: absolute; top: 0.7rem; left: 0.7rem; }

.pf-card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }

.pf-card-title { font-size: 1.06rem; font-weight: 800; margin: 0; }
.pf-card-title a { color: var(--pf-ink); }
.pf-card-title a:hover { color: var(--pf-accent-dark); text-decoration: none; }

.pf-card .pf-excerpt { color: var(--pf-ink-soft); font-size: 0.9rem; margin: 0; }

.pf-card-small .pf-card-title { font-size: 0.98rem; }

/* --- Secciones de portada -------------------------------------------------- */

.pf-section { padding: 1.6rem 0 0.4rem; }

.pf-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	border-bottom: 2px solid var(--pf-ink);
	padding-bottom: 0.5rem;
	margin-bottom: 1.2rem;
}

.pf-section-head h2 {
	font-size: 1.35rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0;
}

.pf-section-head h2 a { color: var(--pf-ink); }
.pf-section-head h2 a:hover { color: var(--pf-accent-dark); text-decoration: none; }

.pf-section-more {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.pf-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.pf-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pf-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* --- Río de últimas + layout con barra lateral ------------------------------ */

.pf-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 2rem;
	align-items: start;
	padding-bottom: 2.5rem;
}

/* Grid children must be allowed to shrink below their content size,
   or wide content inside them pushes the whole page sideways. */
.pf-river,
.pf-single-main,
.pf-sidebar {
	min-width: 0;
}

.pf-list-card {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 1.2rem;
	background: var(--pf-paper);
	border-radius: var(--pf-radius);
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(23, 36, 47, 0.06);
	margin-bottom: 1.25rem;
}

.pf-list-media { position: relative; min-height: 100%; }
.pf-list-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.pf-list-media .pf-tag { position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2; }
.pf-list-media .pf-comments-badge {
	position: absolute;
	right: 0.7rem;
	bottom: 0.7rem;
	z-index: 2;
	background: rgba(23, 36, 47, 0.85);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	border-radius: 999px;
	padding: 0.15rem 0.55rem;
}

.pf-list-body { padding: 1.1rem 1.2rem 1.1rem 0; display: flex; flex-direction: column; gap: 0.45rem; }
.pf-list-title { font-size: 1.25rem; font-weight: 800; margin: 0; }
.pf-list-title a { color: var(--pf-ink); }
.pf-list-title a:hover { color: var(--pf-accent-dark); text-decoration: none; }
.pf-list-body .pf-excerpt { color: var(--pf-ink-soft); font-size: 0.94rem; margin: 0; }

.pf-read-more {
	margin-top: auto;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* --- Barra lateral y widgets ------------------------------------------------ */

.pf-sidebar { position: sticky; top: 76px; }

.widget {
	background: var(--pf-paper);
	border-radius: var(--pf-radius);
	box-shadow: 0 4px 18px rgba(23, 36, 47, 0.06);
	padding: 1.2rem 1.25rem;
	margin-bottom: 1.5rem;
	font-size: 0.94rem;
}

.widget-title {
	font-size: 0.95rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.9rem;
	padding-bottom: 0.55rem;
	border-bottom: 2px solid var(--pf-accent);
}

.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 0.35rem 0; border-bottom: 1px solid var(--pf-line); }
.widget li:last-child { border-bottom: 0; }

.pf-thumb-list { list-style: none; margin: 0; padding: 0; }
.pf-thumb-list li { border-bottom: 1px solid var(--pf-line); padding: 0.6rem 0; }
.pf-thumb-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.pf-thumb-list li:first-child { padding-top: 0; }

.pf-thumb-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0.8rem; align-items: center; }
.pf-thumb-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.pf-thumb-item .pf-thumb-title { font-weight: 700; font-size: 0.9rem; line-height: 1.35; display: block; }
.pf-thumb-item .pf-thumb-title a { color: var(--pf-ink); }
.pf-thumb-item .pf-thumb-date { font-size: 0.75rem; color: var(--pf-muted); }

/* --- Encabezados de archivo -------------------------------------------------- */

.pf-archive-head { padding: 2.2rem 0 0.4rem; }
.pf-archive-head h1 { font-size: 2rem; font-weight: 900; margin-bottom: 0.3rem; }
.pf-archive-head .pf-archive-desc { color: var(--pf-ink-soft); max-width: 720px; }

.pf-pagination { margin: 1.5rem 0 0.5rem; }
.pf-pagination .nav-links { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.pf-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.7rem;
	border-radius: 10px;
	background: var(--pf-paper);
	border: 1px solid var(--pf-line);
	font-weight: 700;
	color: var(--pf-ink);
}
.pf-pagination .page-numbers.current { background: var(--pf-accent); border-color: var(--pf-accent); color: #fff; }
.pf-pagination a.page-numbers:hover { border-color: var(--pf-accent); text-decoration: none; }

/* --- Artículo individual ------------------------------------------------------ */

.pf-single { padding: 2rem 0 0.5rem; }
.pf-single-head { max-width: 820px; }
.pf-single-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; margin: 0.7rem 0 0.8rem; }
.pf-single-head .pf-standfirst { font-size: 1.12rem; color: var(--pf-ink-soft); margin-bottom: 1rem; }

.pf-single-media { border-radius: var(--pf-radius); overflow: hidden; margin: 1.2rem 0 1.6rem; box-shadow: var(--pf-shadow); }
.pf-single-media img { width: 100%; }

.pf-entry-content { font-size: 1.05rem; color: #263645; max-width: 760px; }
.pf-entry-content h2 { font-size: 1.6rem; margin-top: 1.8em; }
.pf-entry-content h3 { font-size: 1.3rem; margin-top: 1.6em; }
.pf-entry-content ul, .pf-entry-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.pf-entry-content blockquote {
	margin: 1.6em 0;
	padding: 0.4em 0 0.4em 1.2em;
	border-left: 4px solid var(--pf-accent);
	color: var(--pf-ink-soft);
	font-size: 1.12rem;
}
.pf-entry-content img { border-radius: 10px; }
.pf-entry-content .wp-caption { max-width: 100%; }
.pf-entry-content .wp-caption-text { font-size: 0.85rem; color: var(--pf-muted); text-align: center; padding-top: 0.4rem; }

.pf-entry-tags { margin: 1.6rem 0; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pf-entry-tags a {
	background: var(--pf-paper);
	border: 1px solid var(--pf-line);
	border-radius: 999px;
	padding: 0.3rem 0.8rem;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--pf-ink-soft);
}
.pf-entry-tags a:hover { border-color: var(--pf-accent); text-decoration: none; }

.pf-author-box {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 1.1rem;
	background: var(--pf-paper);
	border-radius: var(--pf-radius);
	padding: 1.3rem;
	box-shadow: 0 4px 18px rgba(23, 36, 47, 0.06);
	margin: 2rem 0;
	max-width: 760px;
}
.pf-author-box img { border-radius: 50%; }
.pf-author-box .pf-author-name { font-weight: 900; font-size: 1.05rem; margin-bottom: 0.3rem; }
.pf-author-box p { color: var(--pf-ink-soft); font-size: 0.92rem; margin: 0; }

.pf-post-nav { display: flex; justify-content: space-between; gap: 1rem; margin: 1.5rem 0 2rem; max-width: 760px; }
.pf-post-nav a { font-weight: 700; }

.pf-related { padding-bottom: 0.5rem; }

/* --- Comentarios --------------------------------------------------------------- */

.pf-comments { max-width: 760px; margin-top: 2rem; }
.pf-comments h2, .pf-comments h3 { font-size: 1.3rem; font-weight: 900; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list li { background: var(--pf-paper); border-radius: var(--pf-radius); padding: 1.1rem 1.25rem; margin-bottom: 1rem; box-shadow: 0 4px 18px rgba(23, 36, 47, 0.05); }
.comment-list .children { list-style: none; margin-top: 1rem; padding-left: 1.5rem; }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 0.5rem; }
.comment-metadata { font-size: 0.8rem; color: var(--pf-muted); }
.comment-form label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1px solid var(--pf-line);
	border-radius: 10px;
	padding: 0.65rem 0.9rem;
	font: inherit;
	background: var(--pf-paper);
}
.comment-form input[type="submit"] {
	background: var(--pf-accent);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 0.7rem 1.6rem;
	font-weight: 700;
	cursor: pointer;
}
.comment-form input[type="submit"]:hover { background: var(--pf-accent-dark); }

/* --- Pie de página -------------------------------------------------------------- */

.pf-footer {
	background: var(--pf-ink);
	color: #b9cbd8;
	margin-top: 2.5rem;
}

.pf-footer-main {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1.5rem;
	padding-top: 2.2rem;
	padding-bottom: 1.6rem;
	align-items: flex-start;
}

.pf-footer-brand .site-title { font-size: 1.6rem; font-weight: 900; margin: 0 0 0.4rem; }
.pf-footer-brand .site-title a { color: #fff; }
.pf-footer-brand .site-title span { color: var(--pf-accent); }
.pf-footer-brand p { max-width: 420px; font-size: 0.9rem; margin: 0; }

.pf-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.pf-footer-menu a { color: #b9cbd8; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.pf-footer-menu a:hover { color: #fff; }

.pf-footer .pf-social a:hover { background: rgba(255, 255, 255, 0.16); }

.pf-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding: 1rem 0 1.2rem;
	font-size: 0.85rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.6rem 1.5rem;
}

.pf-footer-bottom a { color: #fff; font-weight: 700; }

/* --- WooCommerce básico (gratis) -------------------------------------------------- */

.woocommerce .pf-container { padding-top: 1.5rem; }
.woocommerce ul.products { display: grid; gap: 1.25rem; }
.woocommerce ul.products li.product {
	background: var(--pf-paper);
	border-radius: var(--pf-radius);
	padding: 1rem;
	box-shadow: 0 4px 18px rgba(23, 36, 47, 0.06);
	margin: 0;
	width: auto;
	float: none;
}
.woocommerce ul.products li.product img { border-radius: 10px; }
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: var(--pf-accent);
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--pf-accent-dark); color: #fff; }
.woocommerce .price { color: var(--pf-accent-dark); font-weight: 800; }

@media (min-width: 769px) {
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.woocommerce ul.products li.product { width: auto; }
}

/* --- Varios ------------------------------------------------------------------------ */

.pf-empty {
	background: var(--pf-paper);
	border-radius: var(--pf-radius);
	padding: 2.5rem;
	text-align: center;
	box-shadow: 0 4px 18px rgba(23, 36, 47, 0.06);
}

.pf-404 { text-align: center; padding: 4rem 0; }
.pf-404 h1 { font-size: 4rem; font-weight: 900; color: var(--pf-accent); margin-bottom: 0.5rem; }

.sticky { outline: 2px solid var(--pf-accent); outline-offset: -2px; }
.gallery-caption { font-size: 0.85rem; color: var(--pf-muted); text-align: center; }
.bypostauthor { border-left: 3px solid var(--pf-accent); }

.alignleft { float: left; margin: 0.4em 1.2em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.2em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-block-image img { border-radius: 10px; }

/* --- Responsive ---------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.pf-grid { grid-template-columns: repeat(2, 1fr); }
	.pf-hero-grid { grid-template-columns: 1fr; }
	.pf-layout { grid-template-columns: minmax(0, 1fr) 280px; }
}

@media (max-width: 860px) {
	.pf-layout { grid-template-columns: minmax(0, 1fr); }
	.pf-sidebar { position: static; }
	.pf-list-card { grid-template-columns: 180px minmax(0, 1fr); }
}

@media (max-width: 640px) {
	.pf-menu-toggle { display: inline-flex; }
	.pf-nav-collapse { display: none; width: 100%; }
	.pf-nav-collapse.is-open { display: block; }
	.pf-menu { flex-direction: column; gap: 0; padding-bottom: 0.8rem; }
	.pf-menu a { padding: 0.6rem 0.1rem; }
	.pf-menu ul { position: static; display: block; box-shadow: none; border: 0; padding-left: 1rem; }
	.pf-hero-side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
	.pf-grid { grid-template-columns: minmax(0, 1fr); }
	.pf-list-card { grid-template-columns: 1fr; }
	.pf-list-media { aspect-ratio: 16 / 9; position: relative; }
	.pf-list-body { padding: 1rem 1.1rem 1.15rem; }
	.pf-topbar .pf-date { display: none; }
	.pf-masthead-inner { padding-top: 0.8rem; padding-bottom: 0.8rem; }
	.pf-branding .site-title { font-size: 1.6rem; }
	.pf-author-box { grid-template-columns: 1fr; }
}
