/*
Theme Name: Poveștile Științei
Theme URI: https://povestilestiintei.ro/
Author: George
Description: Temă de blog sportiv pentru povești despre Universitatea Craiova. Header bleumarin, poveste principală în prim-plan, bară de meciuri, carduri de articole, categorii, secțiune despre autor și abonare. Culori, logo, meniuri și secțiunile paginii principale se editează din Aspect › Personalizare.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
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: povestile
Tags: blog, news, sports, two-columns, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks, editor-style
*/

/* ---------- Variabile (suprascrise din Personalizare) ---------- */
:root {
	--ps-accent: #007FC3;
	--ps-accent-light: #2592D0;
	--ps-navy: #0B1F3A;
	--ps-navy-deep: #071427;
	--ps-light: #F3F6FA;
	--ps-white: #FFFFFF;
	--ps-text: #0B1F3A;
	--ps-muted: #4A5D75;
	--ps-line: #E2E8F0;
	--ps-link: #005A9C;
	--ps-font-display: "Oswald", "Arial Narrow", sans-serif;
	--ps-font-serif: "Source Serif 4", Georgia, serif;
	--ps-font-ui: "Inter", system-ui, -apple-system, sans-serif;
	--ps-wrap: 1240px;
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ps-light);
	color: var(--ps-text);
	font-family: var(--ps-font-ui);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--ps-link); }
a:hover, a:focus { color: var(--ps-navy); }
:focus-visible { outline: 3px solid var(--ps-accent-light); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--ps-font-display); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1.2em; }

.ps-wrap { max-width: var(--ps-wrap); margin: 0 auto; padding: 0 24px; }
.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;
}
.screen-reader-text:focus {
	background: var(--ps-white); color: var(--ps-navy); clip: auto !important; clip-path: none;
	display: block; height: auto; width: auto; left: 8px; top: 8px; padding: 12px 20px; z-index: 100000;
}

/* ---------- Butoane / etichete ---------- */
.ps-btn, .wp-block-button__link, button, input[type="submit"] {
	display: inline-block;
	font-family: var(--ps-font-display);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 14px 26px;
	border: 2px solid transparent;
	border-radius: 0;
	cursor: pointer;
	background: var(--ps-navy);
	color: var(--ps-white);
	transition: background .2s, color .2s, border-color .2s;
}
.ps-btn:hover, button:hover, input[type="submit"]:hover { background: var(--ps-accent); color: var(--ps-white); }
.ps-btn--light { background: var(--ps-white); color: var(--ps-navy); }
.ps-btn--light:hover { background: var(--ps-accent-light); color: var(--ps-white); }
.ps-btn--outline { background: transparent; color: var(--ps-navy); border-color: var(--ps-navy); }
.ps-btn--outline:hover { background: var(--ps-navy); color: var(--ps-white); }

.ps-kicker {
	display: inline-block;
	font-family: var(--ps-font-display);
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--ps-link);
	text-decoration: none;
}
.ps-chip {
	display: inline-block;
	background: var(--ps-accent);
	color: var(--ps-white);
	font-family: var(--ps-font-display);
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 6px 12px;
	text-decoration: none;
}
.ps-chip:hover { color: var(--ps-white); background: var(--ps-accent-light); }

/* ---------- Header ---------- */
.ps-header { background: var(--ps-navy); color: var(--ps-white); position: relative; z-index: 50; }
.ps-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.ps-brand { display: flex; align-items: center; gap: 14px; color: var(--ps-white); text-decoration: none; }
.ps-brand:hover { color: var(--ps-white); }
.ps-brand .custom-logo { max-height: 56px; width: auto; display: block; }
.ps-brand__mark {
	width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ps-white); background: var(--ps-accent);
	display: flex; align-items: center; justify-content: center; flex: none;
	font-family: var(--ps-font-display); font-weight: 700; font-size: 18px; letter-spacing: 1px;
}
.ps-brand__text { display: flex; flex-direction: column; gap: 2px; }
.ps-brand__name { font-family: var(--ps-font-display); font-weight: 700; font-size: 24px; letter-spacing: 2px; text-transform: uppercase; line-height: 1; }
.ps-brand__tagline { font-size: 12px; color: #B9C8DA; letter-spacing: 1px; }

.ps-nav { display: flex; align-items: center; gap: 8px; }
.ps-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.ps-nav li { position: relative; }
.ps-nav a {
	display: block; color: #DCE6F2; text-decoration: none;
	font-family: var(--ps-font-display); font-weight: 500; font-size: 15px; letter-spacing: 1px; text-transform: uppercase;
	padding: 12px; border-bottom: 3px solid transparent;
}
.ps-nav a:hover, .ps-nav .current-menu-item > a, .ps-nav .current-menu-ancestor > a { color: var(--ps-white); border-bottom-color: var(--ps-accent-light); }
.ps-nav .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; min-width: 220px; flex-direction: column; align-items: stretch;
	background: var(--ps-navy-deep); border-top: 3px solid var(--ps-accent); padding: 8px 0; z-index: 60;
}
.ps-nav .sub-menu a { border-bottom: 0; padding: 10px 18px; }
.ps-nav li:hover > .sub-menu, .ps-nav li:focus-within > .sub-menu { display: flex; }
.ps-nav .sub-menu .sub-menu { top: 0; left: 100%; }

.ps-icon-btn {
	width: 44px; height: 44px; padding: 0; border-radius: 50%;
	border: 1px solid #3A5578; background: transparent; color: var(--ps-white);
	display: inline-flex; align-items: center; justify-content: center;
}
.ps-icon-btn:hover { background: var(--ps-accent); border-color: var(--ps-accent); }
.ps-menu-toggle { display: none; }

.ps-search-panel { background: var(--ps-navy-deep); padding: 20px 0; }
.ps-search-panel[hidden] { display: none; }

/* Formular căutare */
.search-form { display: flex; gap: 0; max-width: 640px; }
.search-form label { flex: 1; }
.search-form .search-field {
	width: 100%; height: 52px; border: 0; padding: 0 16px; font-size: 16px; font-family: var(--ps-font-ui); color: var(--ps-text); border-radius: 0;
}
.search-form .search-submit { height: 52px; padding: 0 24px; background: var(--ps-accent); }

/* ---------- Hero ---------- */
.ps-hero { background: var(--ps-navy); color: var(--ps-white); padding-bottom: 72px; }
.ps-hero__grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.ps-hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-top: 40px; }
.ps-hero__title { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; text-transform: uppercase; letter-spacing: .5px; }
.ps-hero__title a { color: var(--ps-white); text-decoration: none; }
.ps-hero__title a:hover { color: #CFE8FA; }
.ps-hero__excerpt { margin: 0; font-family: var(--ps-font-serif); font-size: 21px; line-height: 1.55; color: #D3DEEA; max-width: 640px; }
.ps-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 14px; color: #B9C8DA; }
.ps-hero__media {
	flex: 1 1 400px; min-height: 460px; margin-top: 40px; position: relative; overflow: hidden;
	background-color: #12315A;
	background-image: repeating-linear-gradient(90deg, #12315A 0 44px, #163A69 44px 88px);
	border-bottom: 6px solid var(--ps-accent);
}
.ps-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Bara de meciuri ---------- */
.ps-matches { position: relative; z-index: 2; }
.ps-matches__box {
	margin-top: -36px; background: var(--ps-white); box-shadow: 0 10px 30px rgba(11,31,58,.12);
	display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.ps-match { padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; }
.ps-match + .ps-match { border-left: 1px solid var(--ps-line); }
.ps-match--next { background: #EAF3FB; }
.ps-match__label { font-family: var(--ps-font-display); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--ps-muted); }
.ps-match__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ps-match__team { font-family: var(--ps-font-display); font-weight: 600; font-size: 20px; text-transform: uppercase; flex: 1; }
.ps-match__team:last-child { text-align: right; }
.ps-match__score { font-family: var(--ps-font-display); font-weight: 700; font-size: 32px; background: var(--ps-light); padding: 4px 14px; white-space: nowrap; }
.ps-match__vs { font-family: var(--ps-font-display); font-weight: 700; font-size: 20px; color: var(--ps-link); }
.ps-match__info { font-size: 14px; color: var(--ps-muted); }
.ps-match a { font-size: 14px; font-weight: 600; }

/* ---------- Secțiuni ---------- */
.ps-section { padding: 80px 0; }
.ps-section--tight { padding-top: 0; }
.ps-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.ps-section__title { margin: 6px 0 0; font-size: clamp(32px, 4vw, 44px); text-transform: uppercase; }

/* ---------- Carduri ---------- */
.ps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.ps-card { background: var(--ps-white); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.ps-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11,31,58,.12); }
.ps-card__media { display: block; aspect-ratio: 16 / 10; background: #12315A; position: relative; overflow: hidden; }
.ps-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.ps-card:hover .ps-card__media img { transform: scale(1.04); }
.ps-card__media .ps-chip { position: absolute; left: 16px; bottom: 16px; }
.ps-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ps-card__title { margin: 0; font-family: var(--ps-font-serif); font-weight: 600; font-size: 25px; line-height: 1.25; }
.ps-card__title a { color: var(--ps-text); text-decoration: none; }
.ps-card__title a:hover { color: var(--ps-link); }
.ps-card__excerpt { margin: 0; font-family: var(--ps-font-serif); font-size: 17px; line-height: 1.55; color: #3D4F66; }
.ps-card__excerpt p { margin: 0; }
.ps-meta { font-size: 13px; color: #5A6B80; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; }
.ps-meta a { color: inherit; }

/* ---------- Categorii ---------- */
.ps-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.ps-cat {
	background: var(--ps-navy); color: var(--ps-white); text-decoration: none; padding: 26px 22px; min-height: 170px;
	display: flex; flex-direction: column; gap: 14px; border-top: 5px solid var(--ps-accent-light); transition: background .2s;
}
.ps-cat:nth-child(even) { border-top-color: var(--ps-white); }
.ps-cat:hover { background: var(--ps-accent); color: var(--ps-white); }
.ps-cat__name { font-family: var(--ps-font-display); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: 1px; }
.ps-cat__desc { font-family: var(--ps-font-serif); font-size: 16px; line-height: 1.5; color: #C9D6E5; }
.ps-cat__count { margin-top: auto; font-size: 13px; color: #8FD0FF; font-weight: 600; }
.ps-cat:hover .ps-cat__desc, .ps-cat:hover .ps-cat__count { color: var(--ps-white); }

/* ---------- Despre autor ---------- */
.ps-about { background: var(--ps-white); display: flex; flex-wrap: wrap; }
.ps-about__media { flex: 1 1 320px; min-height: 360px; background: #DCE6F2; position: relative; overflow: hidden; }
.ps-about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ps-about__text { flex: 999 1 480px; min-width: 0; padding: 48px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ps-about__text h2 { margin: 0; font-size: 40px; text-transform: uppercase; }
.ps-about__text p { margin: 0; font-family: var(--ps-font-serif); font-size: 20px; line-height: 1.6; color: #2A3D55; }

/* ---------- Abonare ---------- */
.ps-newsletter { background: var(--ps-accent); color: var(--ps-white); padding: 64px 0; }
.ps-newsletter__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.ps-newsletter__text { flex: 1 1 420px; }
.ps-newsletter__text h2 { margin: 0 0 10px; font-size: 40px; text-transform: uppercase; }
.ps-newsletter__text p { margin: 0; font-family: var(--ps-font-serif); font-size: 19px; color: #EAF4FD; }
.ps-newsletter__form { flex: 1 1 420px; }
.ps-newsletter form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.ps-newsletter label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; flex: 1 1 240px; }
.ps-newsletter input[type="email"] { height: 52px; border: 0; padding: 0 16px; font-size: 16px; font-family: var(--ps-font-ui); color: var(--ps-text); }
.ps-newsletter button, .ps-newsletter input[type="submit"] { height: 52px; background: var(--ps-navy); }

/* ---------- Footer ---------- */
.ps-footer { background: var(--ps-navy-deep); color: #B9C8DA; padding: 56px 0 32px; font-size: 14px; }
.ps-footer a { color: #DCE6F2; text-decoration: none; }
.ps-footer a:hover { color: var(--ps-white); text-decoration: underline; }
.ps-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.ps-footer__brand { flex: 1 1 360px; max-width: 480px; }
.ps-footer__name { font-family: var(--ps-font-display); font-weight: 700; font-size: 22px; letter-spacing: 2px; text-transform: uppercase; color: var(--ps-white); display: block; margin-bottom: 12px; }
.ps-footer__menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ps-footer__menu a { display: inline-block; padding: 8px 0; }
.ps-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 40px; }
.ps-footer__widgets .widget-title { color: var(--ps-white); font-size: 18px; text-transform: uppercase; letter-spacing: 1px; }
.ps-footer__bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid #1E3352; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.ps-social { display: flex; gap: 10px; }
.ps-social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #1E3352; border-radius: 50%; }
.ps-social a:hover { background: var(--ps-accent); border-color: var(--ps-accent); text-decoration: none; }

/* ---------- Antet pagini interioare ---------- */
.ps-page-head { background: var(--ps-navy); color: var(--ps-white); padding: 64px 0 72px; }
.ps-page-head h1 { margin: 10px 0 0; font-size: clamp(36px, 5vw, 56px); text-transform: uppercase; }
.ps-page-head .ps-kicker { color: #8FD0FF; }
.ps-page-head__desc { margin-top: 16px; font-family: var(--ps-font-serif); font-size: 19px; color: #D3DEEA; max-width: 720px; }
.ps-page-head__desc p { margin: 0; }
.ps-breadcrumbs { font-size: 13px; color: #B9C8DA; }
.ps-breadcrumbs a { color: #DCE6F2; text-decoration: none; }

/* ---------- Layout cu sidebar ---------- */
.ps-layout { display: flex; flex-wrap: wrap; gap: 40px; padding: 64px 0 80px; }
.ps-layout__main { flex: 999 1 640px; min-width: 0; }
.ps-layout__side { flex: 1 1 300px; }
.ps-layout--full .ps-layout__main { flex-basis: 100%; }

.widget { background: var(--ps-white); padding: 28px; margin-bottom: 24px; }
.widget-title { font-size: 20px; text-transform: uppercase; letter-spacing: 1px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 3px solid var(--ps-accent); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--ps-line); }
.widget li:last-child { border-bottom: 0; }
.widget a { text-decoration: none; color: var(--ps-text); }
.widget a:hover { color: var(--ps-link); }
.ps-footer .widget { background: transparent; padding: 0; }
.ps-footer .widget li { border-color: #1E3352; }
.ps-footer .widget a { color: #DCE6F2; }

/* ---------- Articol ---------- */
.ps-single-head { background: var(--ps-navy); color: var(--ps-white); padding: 56px 0 120px; }
.ps-single-head h1 { margin: 18px 0 20px; font-size: clamp(36px, 5vw, 60px); text-transform: uppercase; line-height: 1.05; max-width: 960px; }
.ps-single-head .ps-meta { color: #B9C8DA; font-size: 14px; }
.ps-single-media { margin-top: -88px; }
.ps-single-media img { width: 100%; display: block; max-height: 640px; object-fit: cover; border-bottom: 6px solid var(--ps-accent); }
.ps-article { background: var(--ps-white); padding: 48px clamp(20px, 5vw, 64px); }
.ps-layout--single { padding-top: 0; }
.ps-article--lift { margin-top: -88px; position: relative; }
.ps-single-media { margin-left: 0; margin-right: 0; margin-bottom: 0; }

.entry-content { font-family: var(--ps-font-serif); font-size: 20px; line-height: 1.75; color: #1E2F45; }
.entry-content > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: 1000px; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--ps-text); text-transform: uppercase; margin-top: 1.6em; }
.entry-content h2 { font-size: 34px; }
.entry-content h3 { font-size: 27px; }
.entry-content blockquote, .wp-block-quote {
	border-left: 0; border-top: 4px solid var(--ps-accent); background: var(--ps-light);
	padding: 28px 32px; margin: 2em auto; font-size: 24px; font-style: italic;
}
.entry-content blockquote cite { display: block; margin-top: 12px; font-family: var(--ps-font-ui); font-size: 14px; font-style: normal; color: var(--ps-muted); }
.wp-block-pullquote { border-top: 4px solid var(--ps-accent); border-bottom: 4px solid var(--ps-accent); }
.entry-content img { display: block; }
.entry-content figcaption, .wp-caption-text { font-family: var(--ps-font-ui); font-size: 14px; color: var(--ps-muted); text-align: center; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.sticky, .bypostauthor { }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--ps-font-ui); font-size: 16px; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--ps-line); text-align: left; }
.entry-content th { background: var(--ps-navy); color: var(--ps-white); font-family: var(--ps-font-display); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }

.ps-tags { max-width: 720px; margin: 32px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ps-tags a { font-size: 13px; text-decoration: none; background: var(--ps-light); color: var(--ps-text); padding: 6px 12px; }
.ps-tags a:hover { background: var(--ps-accent); color: var(--ps-white); }

.ps-author-box { max-width: 720px; margin: 40px auto 0; display: flex; gap: 20px; align-items: center; padding: 24px; background: var(--ps-light); }
.ps-author-box img { border-radius: 50%; flex: none; }
.ps-author-box h2 { font-size: 20px; margin: 0 0 4px; text-transform: uppercase; }
.ps-author-box p { margin: 0; font-size: 15px; color: var(--ps-muted); }

.ps-share { max-width: 720px; margin: 32px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--ps-font-display); text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
.ps-share a { text-decoration: none; background: var(--ps-navy); color: var(--ps-white); padding: 10px 16px; }
.ps-share a:hover { background: var(--ps-accent); }

.post-navigation { margin-top: 32px; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.post-navigation a { display: block; background: var(--ps-white); padding: 24px; text-decoration: none; color: var(--ps-text); height: 100%; }
.post-navigation a:hover { background: var(--ps-navy); color: var(--ps-white); }
.post-navigation .nav-next { text-align: right; }
.ps-nav-label { display: block; font-family: var(--ps-font-display); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--ps-accent-light); margin-bottom: 6px; }
.ps-nav-title { font-family: var(--ps-font-serif); font-weight: 600; font-size: 19px; }

.ps-related { margin-top: 64px; }

/* ---------- Paginare ---------- */
.pagination, .posts-pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	min-width: 48px; height: 48px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--ps-white); color: var(--ps-text); text-decoration: none; font-family: var(--ps-font-display); font-size: 17px;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--ps-navy); color: var(--ps-white); }

/* ---------- Comentarii ---------- */
.ps-comments { background: var(--ps-white); padding: 48px clamp(20px, 5vw, 64px); margin-top: 32px; }
.ps-comments > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.comments-title, .comment-reply-title { font-size: 28px; text-transform: uppercase; }
.comment-list { list-style: none; padding: 0; margin: 0 auto 40px; }
.comment-list .children { list-style: none; padding-left: 32px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--ps-line); }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; margin: 4px 0 10px; }
.comment-metadata a { color: var(--ps-muted); text-decoration: none; }
.reply a { font-family: var(--ps-font-display); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; border: 1px solid #C4D0DE; padding: 12px 14px; font-size: 16px; font-family: var(--ps-font-ui); border-radius: 0;
}
.comment-form textarea { min-height: 160px; }
.comment-form p { margin-bottom: 16px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ---------- 404 / fără rezultate ---------- */
.ps-empty { background: var(--ps-white); padding: 56px clamp(20px, 5vw, 64px); text-align: center; }
.ps-empty .ps-big { font-family: var(--ps-font-display); font-weight: 700; font-size: clamp(96px, 16vw, 180px); line-height: 1; color: var(--ps-accent); }
.ps-empty .search-form { margin: 24px auto 0; }

/* ---------- Mobil ---------- */
@media (max-width: 1080px) {
	.ps-menu-toggle { display: inline-flex; }
	.ps-nav__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ps-navy-deep); padding: 12px 24px 20px; }
	.ps-nav__menu.is-open { display: block; }
	.ps-nav__menu ul { flex-direction: column; align-items: stretch; }
	.ps-nav__menu a { border-bottom: 1px solid #1E3352; }
	.ps-nav .sub-menu { display: flex; position: static; border-top: 0; padding: 0 0 0 16px; background: transparent; }
}
@media (max-width: 640px) {
	.ps-brand__tagline { display: none; }
	.ps-brand__name { font-size: 19px; }
	.ps-hero__media { min-height: 280px; }
	.ps-match + .ps-match { border-left: 0; border-top: 1px solid var(--ps-line); }
	.ps-about__text { padding: 32px 24px; }
	.entry-content { font-size: 18px; }
	.alignleft, .alignright { float: none; margin: 0 auto 16px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
