/*
Theme Name:        PackedTrails
Theme URI:         https://packedtrails.com
Author:            Sophie
Author URI:        https://packedtrails.com
Description:       A premium outdoor hiking blog theme for PackedTrails. Designed for beginner and intermediate hikers with full Customizer support, SEO optimization, and Pinterest-friendly design.
Version:           2.0.0
Requires at least: 6.0
Tested up to:      6.5
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:       packedtrails
Tags:              blog, grid-layout, custom-colors, custom-logo, custom-menu, custom-header, featured-images, footer-widgets, full-width-template, sticky-post, threaded-comments, translation-ready, accessibility-ready
*/

/* ============================================================
   1. CSS RESET & VARIABLES
============================================================ */
:root {
	--pt-dark:          #0D1F12;
	--pt-dark2:         #152A1A;
	--pt-green:         #1A7A4A;
	--pt-green-bright:  #22A05A;
	--pt-green-pale:    #E8F5EE;
	--pt-accent:        #F0A500;
	--pt-accent-pale:   #FEF6E0;
	--pt-light:         #F7F5F0;
	--pt-white:         #FFFFFF;
	--pt-text:          #1A1A18;
	--pt-muted:         #6E6E68;
	--pt-border:        #E4E0D8;
	--pt-radius:        8px;
	--pt-radius-sm:     4px;
	--pt-radius-lg:     12px;
	--pt-shadow:        0 2px 12px rgba(0,0,0,0.06);
	--pt-shadow-hover:  0 8px 32px rgba(0,0,0,0.10);
	--pt-font-body:     -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
	--pt-font-heading:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
	--pt-transition:    0.2s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
	font-family: var(--pt-font-body);
	font-size: 1rem;
	line-height: 1.75;
	color: var(--pt-text);
	background: var(--pt-light);
	-webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--pt-green); text-decoration: none; transition: color var(--pt-transition); }
a:hover { color: var(--pt-green-bright); }
a:focus-visible { outline: 2px solid var(--pt-green-bright); outline-offset: 3px; border-radius: 2px; }
ul, ol { padding-left: 1.5rem; }
h1,h2,h3,h4,h5,h6 { font-family: var(--pt-font-heading); font-weight: 600; line-height: 1.2; color: var(--pt-text); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 0.6rem 0.75rem; border: 1px solid var(--pt-border); text-align: left; }
th { background: var(--pt-light); font-weight: 600; }

/* ============================================================
   2. UTILITY CLASSES
============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; top: -100%; left: 1rem; background: var(--pt-green-bright); color: #fff; padding: 0.5rem 1rem; border-radius: 0 0 var(--pt-radius-sm) var(--pt-radius-sm); z-index: 9999; font-size: 14px; font-weight: 500; }
.skip-link:focus { top: 0; }
.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.section--white { background: var(--pt-white); }
.section--light { background: var(--pt-light); }
.section--dark { background: var(--pt-dark); }
.section--green { background: var(--pt-green); }
.section--accent { background: var(--pt-accent); }
.text-center { text-align: center; }
.text-white { color: #fff !important; }
.eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--pt-green-bright);
	margin-bottom: 0.5rem;
}
.eyebrow--white { color: rgba(255,255,255,0.65); }
.eyebrow--accent { color: var(--pt-accent); }
.section-heading { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 0.4rem; }
.section-sub { font-size: 1rem; color: var(--pt-muted); line-height: 1.65; }
.section-header { margin-bottom: 2.5rem; }
.section-header--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* ============================================================
   3. BUTTONS
============================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: var(--pt-radius-sm);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all var(--pt-transition);
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--pt-green-bright); color: #fff; border-color: var(--pt-green-bright); }
.btn--primary:hover { background: var(--pt-green); border-color: var(--pt-green); color: #fff; }
.btn--accent { background: var(--pt-accent); color: var(--pt-dark); border-color: var(--pt-accent); }
.btn--accent:hover { background: #d99200; border-color: #d99200; color: var(--pt-dark); }
.btn--outline { background: transparent; color: var(--pt-green-bright); border-color: var(--pt-green-bright); }
.btn--outline:hover { background: var(--pt-green-bright); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); color: #fff; }
.btn--white { background: #fff; color: var(--pt-green); border-color: #fff; }
.btn--white:hover { background: var(--pt-green-pale); color: var(--pt-green); }
.btn--dark { background: var(--pt-dark); color: #fff; border-color: var(--pt-dark); }
.btn--dark:hover { background: var(--pt-dark2); color: #fff; }
.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.see-all-link { font-size: 13px; font-weight: 600; color: var(--pt-green); display: inline-flex; align-items: center; gap: 5px; letter-spacing: 0.02em; }
.see-all-link::after { content: '→'; transition: transform var(--pt-transition); }
.see-all-link:hover::after { transform: translateX(4px); }

/* ============================================================
   4. NAVIGATION
============================================================ */
.site-header {
	background: var(--pt-dark);
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: box-shadow var(--pt-transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
	gap: 1.5rem;
}

.site-branding { display: flex; align-items: center; flex-shrink: 0; }

.custom-logo-link img { height: 42px; width: auto; }

.site-title {
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0;
}
.site-title a { color: #fff; text-decoration: none; }
.site-title a:hover { color: var(--pt-accent); }
.site-title .accent { color: var(--pt-accent); }

.site-description { display: none; }

.main-navigation { display: flex; align-items: center; flex: 1; justify-content: flex-end; }

.main-navigation ul {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 2px;
}

.main-navigation li { position: relative; }

.main-navigation a {
	display: block;
	padding: 7px 12px;
	font-size: 13px;
	font-weight: 500;
	color: rgba(255,255,255,0.65);
	text-decoration: none;
	border-radius: var(--pt-radius-sm);
	letter-spacing: 0.03em;
	transition: all var(--pt-transition);
	white-space: nowrap;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a { color: #fff; }

.main-navigation .menu-cta > a {
	background: var(--pt-accent);
	color: var(--pt-dark) !important;
	font-weight: 700;
	margin-left: 8px;
}
.main-navigation .menu-cta > a:hover { background: #d99200; }

/* Dropdown */
.main-navigation .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	background: #fff;
	border: 1px solid var(--pt-border);
	border-radius: var(--pt-radius);
	min-width: 200px;
	box-shadow: var(--pt-shadow-hover);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: all var(--pt-transition);
	flex-direction: column;
	z-index: 999;
}
.main-navigation li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-navigation .sub-menu a { color: var(--pt-text); padding: 9px 16px; border-radius: 0; font-size: 13px; }
.main-navigation .sub-menu a:hover { color: var(--pt-green); background: var(--pt-green-pale); }
.main-navigation .sub-menu li:first-child a { border-radius: var(--pt-radius) var(--pt-radius) 0 0; }
.main-navigation .sub-menu li:last-child a { border-radius: 0 0 var(--pt-radius) var(--pt-radius); }

.nav-search-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: rgba(255,255,255,0.55);
	padding: 6px;
	border-radius: var(--pt-radius-sm);
	transition: color var(--pt-transition);
	display: flex;
	align-items: center;
}
.nav-search-btn:hover { color: #fff; }
.nav-search-btn svg { width: 18px; height: 18px; }

.nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	flex-direction: column;
	gap: 5px;
	align-items: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search overlay */
.search-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(13,31,18,0.96);
	z-index: 9999;
	align-items: center;
	justify-content: center;
}
.search-overlay.active { display: flex; }
.search-overlay-inner { width: 100%; max-width: 640px; padding: 2rem; }
.search-overlay-form { display: flex; gap: 12px; }
.search-overlay input[type="search"] {
	flex: 1;
	padding: 16px 20px;
	font-size: 1.1rem;
	border: 2px solid rgba(255,255,255,0.2);
	border-radius: var(--pt-radius);
	background: rgba(255,255,255,0.08);
	color: #fff;
	outline: none;
}
.search-overlay input::placeholder { color: rgba(255,255,255,0.4); }
.search-overlay input:focus { border-color: var(--pt-green-bright); }
.search-overlay-close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	background: none;
	border: none;
	color: rgba(255,255,255,0.5);
	cursor: pointer;
	font-size: 2rem;
	line-height: 1;
	padding: 4px;
}
.search-overlay-close:hover { color: #fff; }

/* ============================================================
   5. HERO SECTION
============================================================ */
.hero-section {
	position: relative;
	min-height: 580px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--pt-dark);
}

.hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(13,31,18,0.85) 0%, rgba(13,31,18,0.4) 100%);
}

.hero-mountains {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: 5rem 0;
	max-width: 640px;
}

.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(34,160,90,0.45);
	border-radius: 3px;
	padding: 5px 14px;
	font-size: 11px;
	font-weight: 700;
	color: var(--pt-green-bright);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}

.hero-title {
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin-bottom: 1.1rem;
}
.hero-title .highlight { color: var(--pt-accent); }

.hero-subtitle {
	font-size: 1.1rem;
	color: rgba(255,255,255,0.7);
	line-height: 1.7;
	margin-bottom: 2rem;
	max-width: 480px;
}

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero-stats {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 2;
	display: flex;
}
.hero-stat {
	padding: 1.1rem 1.6rem;
	background: rgba(13,31,18,0.88);
	border-left: 1px solid rgba(34,160,90,0.2);
	text-align: center;
	backdrop-filter: blur(4px);
}
.hero-stat-num { font-size: 1.5rem; font-weight: 700; color: var(--pt-accent); line-height: 1; }
.hero-stat-label { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 3px; }

/* ============================================================
   6. TRUST BAR
============================================================ */
.trust-bar { background: var(--pt-green); padding: 0.85rem 0; }
.trust-bar-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.88); }
.trust-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.trust-sep { width: 1px; height: 18px; background: rgba(255,255,255,0.2); flex-shrink: 0; }

/* ============================================================
   7. ARTICLE CARDS
============================================================ */
.card {
	background: var(--pt-white);
	border-radius: var(--pt-radius-lg);
	overflow: hidden;
	border: 1px solid var(--pt-border);
	transition: transform var(--pt-transition), box-shadow var(--pt-transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--pt-shadow-hover); }

.card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--pt-dark2); }
.card-img a { display: block; height: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--pt-dark2); }
.card-img-placeholder svg { width: 48px; height: 48px; opacity: 0.2; }

.card-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--pt-green-bright);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: background var(--pt-transition);
}
.card-badge:hover { background: var(--pt-green); color: #fff; }

.card-body { padding: 1.4rem; }
.card-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pt-green); margin-bottom: 7px; display: block; }
.card-cat a { color: var(--pt-green); }
.card-cat a:hover { color: var(--pt-green-bright); }
.card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.6rem; }
.card-title a { color: var(--pt-text); }
.card-title a:hover { color: var(--pt-green); }
.card-excerpt { font-size: 0.875rem; color: var(--pt-muted); line-height: 1.65; margin-bottom: 1rem; }
.card-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; color: #b0aba0; }
.card-meta svg { width: 13px; height: 13px; }
.card-meta-item { display: flex; align-items: center; gap: 4px; }

/* Small horizontal card */
.card-sm {
	background: var(--pt-white);
	border-radius: var(--pt-radius);
	overflow: hidden;
	border: 1px solid var(--pt-border);
	display: flex;
	transition: transform var(--pt-transition), box-shadow var(--pt-transition);
}
.card-sm:hover { transform: translateY(-2px); box-shadow: var(--pt-shadow); }
.card-sm-img { width: 110px; flex-shrink: 0; background: var(--pt-dark2); overflow: hidden; }
.card-sm-img img { width: 100%; height: 100%; object-fit: cover; }
.card-sm-body { padding: 0.9rem; display: flex; flex-direction: column; justify-content: center; }
.card-sm-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--pt-green); margin-bottom: 4px; display: block; }
.card-sm-title { font-size: 0.85rem; font-weight: 600; color: var(--pt-text); line-height: 1.4; margin-bottom: 5px; }
.card-sm-title a { color: var(--pt-text); }
.card-sm-title a:hover { color: var(--pt-green); }
.card-sm-meta { font-size: 11px; color: #b0aba0; }

/* Grid layouts */
.posts-grid { display: grid; gap: 1.5rem; }
.posts-grid--3 { grid-template-columns: repeat(3, 1fr); }
.posts-grid--2 { grid-template-columns: repeat(2, 1fr); }
.posts-grid--featured { grid-template-columns: 1.6fr 1fr; gap: 1.5rem; }
.card-stack { display: flex; flex-direction: column; gap: 1rem; }

/* Featured large card */
.card--featured .card-img { aspect-ratio: 16/9; }
.card--featured .card-title { font-size: 1.3rem; }

/* ============================================================
   8. CATEGORY CARDS
============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.cat-card {
	background: var(--pt-white);
	border-radius: var(--pt-radius-lg);
	overflow: hidden;
	border: 1px solid var(--pt-border);
	text-decoration: none;
	transition: transform var(--pt-transition), box-shadow var(--pt-transition);
	display: block;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--pt-shadow-hover); }

.cat-card-top {
	height: 90px;
	background: var(--pt-dark2);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}
.cat-card-top svg { width: 34px; height: 34px; color: var(--pt-accent); fill: var(--pt-accent); }
.cat-card-top-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.3; }

.cat-card-body { padding: 1.1rem 1.25rem; }
.cat-card-name { font-size: 0.95rem; font-weight: 700; color: var(--pt-text); margin-bottom: 4px; }
.cat-card-desc { font-size: 0.8rem; color: var(--pt-muted); line-height: 1.55; margin-bottom: 0.6rem; }
.cat-card-link { font-size: 11px; color: var(--pt-green); font-weight: 700; display: flex; align-items: center; gap: 4px; }
.cat-card-link::after { content: '→'; font-size: 12px; transition: transform var(--pt-transition); }
.cat-card:hover .cat-card-link::after { transform: translateX(3px); }

/* ============================================================
   9. ABOUT SECTION
============================================================ */
.about-split { display: grid; grid-template-columns: 1fr 1fr; }

.about-visual { position: relative; min-height: 380px; overflow: hidden; background: var(--pt-dark2); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual-placeholder { width: 100%; height: 100%; min-height: 380px; }

.about-content { background: var(--pt-dark); padding: 4rem; display: flex; flex-direction: column; justify-content: center; }
.about-content .eyebrow { color: var(--pt-green-bright); }
.about-content .section-heading { color: #fff; font-size: 1.75rem; margin-bottom: 1rem; }
.about-content p { font-size: 0.95rem; color: rgba(255,255,255,0.62); line-height: 1.8; margin-bottom: 1.4rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.75rem; }
.about-tag { display: inline-flex; align-items: center; gap: 5px; background: rgba(34,160,90,0.12); border: 1px solid rgba(34,160,90,0.25); border-radius: 3px; padding: 5px 12px; font-size: 12px; color: var(--pt-green-bright); font-weight: 600; }

/* ============================================================
   10. NEWSLETTER
============================================================ */
.newsletter-section { background: var(--pt-green); padding: 4rem 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.newsletter-text .eyebrow { color: rgba(255,255,255,0.6); }
.newsletter-text .section-heading { color: #fff; font-size: 1.75rem; margin-bottom: 0.5rem; }
.newsletter-text p { font-size: 0.95rem; color: rgba(255,255,255,0.68); line-height: 1.65; }
.newsletter-form { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.newsletter-input {
	padding: 13px 18px;
	font-size: 14px;
	border: 1.5px solid rgba(255,255,255,0.25);
	border-radius: var(--pt-radius-sm);
	background: rgba(255,255,255,0.12);
	color: #fff;
	width: 260px;
	outline: none;
	transition: border-color var(--pt-transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-input:focus { border-color: rgba(255,255,255,0.65); }

/* ============================================================
   11. SIDEBAR
============================================================ */
.content-area { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 1.75rem; }

.widget {
	background: var(--pt-white);
	border-radius: var(--pt-radius-lg);
	padding: 1.5rem;
	border: 1px solid var(--pt-border);
}

.widget-title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--pt-text);
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--pt-accent);
	display: block;
}

.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 6px 0; border-bottom: 1px solid var(--pt-border); font-size: 14px; }
.widget ul li:last-child { border-bottom: none; }

.widget--dark { background: var(--pt-dark); border-color: transparent; }
.widget--dark .widget-title { color: #fff; border-color: var(--pt-green-bright); }
.widget--dark p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.65; }

.widget-cat-list li { display: flex; justify-content: space-between; align-items: center; }
.widget-cat-list a { color: var(--pt-text); font-size: 14px; }
.widget-cat-list a:hover { color: var(--pt-green); }
.widget-cat-list .count { font-size: 12px; color: var(--pt-muted); background: var(--pt-light); padding: 2px 8px; border-radius: 10px; }

.widget-recent-post { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--pt-border); }
.widget-recent-post:last-child { border-bottom: none; padding-bottom: 0; }
.widget-recent-post:first-child { padding-top: 0; }
.widget-recent-thumb { width: 64px; height: 64px; border-radius: var(--pt-radius-sm); overflow: hidden; flex-shrink: 0; background: var(--pt-dark2); }
.widget-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-recent-title { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.widget-recent-title a { color: var(--pt-text); }
.widget-recent-title a:hover { color: var(--pt-green); }
.widget-recent-date { font-size: 11px; color: var(--pt-muted); }

/* ============================================================
   12. SINGLE POST
============================================================ */
.post-hero { background: var(--pt-dark); padding: 4rem 0; }
.post-hero .container--narrow { max-width: 860px; }
.post-cat-badge { display: inline-block; background: var(--pt-green-bright); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 1rem; text-decoration: none; }
.post-hero-title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 1rem; }
.post-meta-bar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.55); }
.post-meta-bar a { color: rgba(255,255,255,0.55); }
.post-meta-bar a:hover { color: #fff; }
.post-meta-sep { opacity: 0.3; }

.post-featured-img { border-radius: var(--pt-radius-lg); overflow: hidden; margin-bottom: 2.5rem; }
.post-featured-img img { width: 100%; max-height: 520px; object-fit: cover; }

.entry-content {
	font-size: 1.05rem;
	line-height: 1.85;
	color: var(--pt-text);
}
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content h2 { font-size: 1.6rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--pt-green-pale); }
.entry-content h3 { font-size: 1.25rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.6rem; }
.entry-content h4 { font-size: 1.05rem; font-weight: 700; margin-top: 1.5rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.25rem; padding-left: 1.75rem; }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content img { border-radius: var(--pt-radius); margin: 1.5rem 0; }
.entry-content a { color: var(--pt-green); border-bottom: 1px solid var(--pt-green-pale); }
.entry-content a:hover { color: var(--pt-green-bright); border-bottom-color: var(--pt-green-bright); }
.entry-content strong { font-weight: 700; color: var(--pt-dark); }
.entry-content code { background: var(--pt-light); padding: 2px 6px; border-radius: 3px; font-size: 0.9em; font-family: 'Courier New', monospace; }
.entry-content pre { background: var(--pt-dark); color: #c8e6c9; padding: 1.5rem; border-radius: var(--pt-radius); overflow-x: auto; }
.entry-content pre code { background: none; color: inherit; }
.entry-content blockquote { border-left: 4px solid var(--pt-accent); padding: 1.25rem 1.5rem; margin: 1.75rem 0; background: var(--pt-accent-pale); border-radius: 0 var(--pt-radius) var(--pt-radius) 0; font-style: italic; color: var(--pt-muted); }
.entry-content blockquote p { margin: 0; font-size: 1.05rem; }
.entry-content table { margin-bottom: 1.25rem; }
.entry-content .wp-block-image { margin: 1.5rem 0; }

/* Info/tip boxes */
.info-box, .tip-box, .warning-box {
	padding: 1.1rem 1.25rem;
	border-radius: 0 var(--pt-radius) var(--pt-radius) 0;
	margin: 1.5rem 0;
	font-size: 0.95rem;
}
.info-box { background: var(--pt-green-pale); border-left: 4px solid var(--pt-green-bright); }
.tip-box { background: var(--pt-accent-pale); border-left: 4px solid var(--pt-accent); }
.warning-box { background: #fef2f2; border-left: 4px solid #ef4444; }

/* Post footer */
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2rem 0; }
.post-tag { background: var(--pt-light); color: var(--pt-muted); font-size: 12px; padding: 4px 12px; border-radius: 20px; text-decoration: none; border: 1px solid var(--pt-border); }
.post-tag:hover { background: var(--pt-green-pale); color: var(--pt-green); border-color: var(--pt-green-pale); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 3rem 0; padding: 2rem 0; border-top: 1px solid var(--pt-border); border-bottom: 1px solid var(--pt-border); }
.post-nav-item { padding: 1rem; background: var(--pt-white); border-radius: var(--pt-radius); border: 1px solid var(--pt-border); }
.post-nav-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--pt-muted); margin-bottom: 5px; }
.post-nav-title { font-size: 0.9rem; font-weight: 600; color: var(--pt-text); line-height: 1.4; }
.post-nav-item a { text-decoration: none; }
.post-nav-item:hover { border-color: var(--pt-green-pale); }
.post-nav-next { text-align: right; }

/* Author box */
.author-box {
	display: flex;
	gap: 1.5rem;
	background: var(--pt-white);
	border-radius: var(--pt-radius-lg);
	padding: 1.75rem;
	border: 1px solid var(--pt-border);
	margin: 2rem 0;
}
.author-avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--pt-dark2); }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.author-bio { font-size: 0.875rem; color: var(--pt-muted); line-height: 1.65; }

/* ============================================================
   13. COMMENTS
============================================================ */
.comments-area { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--pt-border); }
.comments-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 2rem; }
.comment-list { list-style: none; padding: 0; }
.comment { margin-bottom: 1.5rem; }
.comment-body { background: var(--pt-white); border: 1px solid var(--pt-border); border-radius: var(--pt-radius-lg); padding: 1.25rem; }
.comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 0.75rem; }
.comment-author img { width: 40px; height: 40px; border-radius: 50%; }
.comment-author .fn { font-weight: 700; font-size: 14px; }
.comment-metadata { font-size: 12px; color: var(--pt-muted); }
.comment-content p { font-size: 14px; line-height: 1.7; margin: 0; }
.reply { margin-top: 0.5rem; }
.reply a { font-size: 12px; color: var(--pt-green); font-weight: 600; }
.children { list-style: none; padding-left: 2rem; margin-top: 1rem; }

.comment-respond { margin-top: 2.5rem; }
.comment-reply-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; }
.comment-form .form-group { margin-bottom: 1.1rem; }
.comment-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.comment-form input, .comment-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid var(--pt-border);
	border-radius: var(--pt-radius-sm);
	font-size: 14px;
	font-family: inherit;
	color: var(--pt-text);
	background: var(--pt-white);
	outline: none;
	transition: border-color var(--pt-transition);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--pt-green-bright); }
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ============================================================
   14. PAGE TEMPLATES
============================================================ */
.page-hero { background: var(--pt-dark); padding: 5rem 0; text-align: center; position: relative; overflow: hidden; }
.page-hero-title { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 0.75rem; }
.page-hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 auto; }

.page-content { padding: 4rem 0; }
.page-entry { font-size: 1rem; line-height: 1.8; }

/* ============================================================
   15. ARCHIVE / CATEGORY / SEARCH
============================================================ */
.archive-header { background: var(--pt-dark); padding: 3.5rem 0; }
.archive-title { font-size: 2rem; color: #fff; margin-bottom: 0.5rem; }
.archive-desc { font-size: 1rem; color: rgba(255,255,255,0.6); }
.archive-cat-desc { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-top: 0.5rem; max-width: 560px; }

.search-results-header { background: var(--pt-dark); padding: 3rem 0; }
.search-query { color: var(--pt-accent); }
.search-form-wrap { display: flex; gap: 10px; margin-top: 1.5rem; max-width: 520px; }
.search-form-wrap input[type="search"] {
	flex: 1;
	padding: 12px 16px;
	border: 1.5px solid rgba(255,255,255,0.2);
	border-radius: var(--pt-radius-sm);
	background: rgba(255,255,255,0.08);
	color: #fff;
	font-size: 14px;
	outline: none;
}
.search-form-wrap input:focus { border-color: var(--pt-green-bright); }

/* ============================================================
   16. BREADCRUMBS
============================================================ */
.breadcrumbs {
	background: var(--pt-white);
	border-bottom: 1px solid var(--pt-border);
	padding: 0.65rem 0;
	font-size: 12px;
	color: var(--pt-muted);
}
.breadcrumbs a { color: var(--pt-green); }
.breadcrumbs .sep { margin: 0 6px; opacity: 0.4; }
.breadcrumbs .current { color: var(--pt-muted); }

/* ============================================================
   17. PAGINATION
============================================================ */
.pagination-wrap { display: flex; justify-content: center; margin-top: 3rem; }
.pagination { display: flex; align-items: center; gap: 5px; }
.pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--pt-radius-sm);
	font-size: 14px;
	font-weight: 500;
	border: 1.5px solid var(--pt-border);
	background: var(--pt-white);
	color: var(--pt-text);
	text-decoration: none;
	transition: all var(--pt-transition);
}
.pagination .page-numbers:hover { background: var(--pt-green-pale); border-color: var(--pt-green-bright); color: var(--pt-green); }
.pagination .page-numbers.current { background: var(--pt-green-bright); color: #fff; border-color: var(--pt-green-bright); }
.pagination .page-numbers.dots { border: none; background: none; }

/* ============================================================
   18. FOOTER
============================================================ */
.site-footer { background: var(--pt-dark); }
.footer-widgets { padding: 4rem 0 2.5rem; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 3rem; }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.75; margin-top: 0.75rem; max-width: 230px; }
.footer-social { display: flex; gap: 8px; margin-top: 1.25rem; }
.footer-social-btn {
	width: 34px;
	height: 34px;
	border-radius: var(--pt-radius-sm);
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all var(--pt-transition);
	color: rgba(255,255,255,0.45);
}
.footer-social-btn:hover { background: var(--pt-green-bright); border-color: var(--pt-green-bright); color: #fff; }
.footer-social-btn svg { width: 16px; height: 16px; }
.footer-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); margin-bottom: 1rem; display: block; }
.footer-link { display: block; font-size: 13px; color: rgba(255,255,255,0.48); text-decoration: none; margin-bottom: 9px; transition: color var(--pt-transition); }
.footer-link:hover { color: var(--pt-green-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.22); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.28); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* ============================================================
   19. FORMS
============================================================ */
.pt-form-group { margin-bottom: 1.25rem; }
.pt-form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--pt-text); margin-bottom: 5px; }
.pt-form-control {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--pt-border);
	border-radius: var(--pt-radius-sm);
	font-size: 14px;
	font-family: inherit;
	color: var(--pt-text);
	background: var(--pt-white);
	outline: none;
	transition: border-color var(--pt-transition);
}
.pt-form-control:focus { border-color: var(--pt-green-bright); }
.pt-form-control--textarea { min-height: 130px; resize: vertical; }

/* ============================================================
   20. LOADING / LAZY
============================================================ */
img[loading="lazy"] { opacity: 0; transition: opacity 0.3s ease; }
img[loading="lazy"].loaded { opacity: 1; }

/* ============================================================
   21. SCHEMA / HIDDEN
============================================================ */
.schema-hidden { display: none; }

/* ============================================================
   22. RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
	.posts-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.cat-grid { grid-template-columns: repeat(2, 1fr); }
	.content-area { grid-template-columns: 1fr; }
	.sidebar { display: grid; grid-template-columns: 1fr 1fr; }
	.footer-widgets { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
	.section { padding: 3rem 0; }
	.hero-section { min-height: 460px; }
	.hero-title { font-size: 2rem; }
	.hero-stats { display: none; }
	.posts-grid--featured { grid-template-columns: 1fr; }
	.posts-grid--3 { grid-template-columns: 1fr; }
	.posts-grid--2 { grid-template-columns: 1fr; }
	.cat-grid { grid-template-columns: 1fr 1fr; }
	.about-split { grid-template-columns: 1fr; }
	.about-visual { min-height: 240px; }
	.about-content { padding: 2.5rem 1.75rem; }
	.newsletter-inner { flex-direction: column; gap: 2rem; }
	.newsletter-input { width: 100%; }
	.newsletter-form { width: 100%; flex-direction: column; }
	.footer-widgets { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 0 2rem; }
	.trust-bar-inner { gap: 1rem; }
	.trust-sep { display: none; }
	.main-navigation ul { display: none; }
	.nav-toggle { display: flex; }
	.main-navigation ul.is-open {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 68px;
		left: 0;
		right: 0;
		background: var(--pt-dark2);
		padding: 1rem;
		border-top: 1px solid rgba(255,255,255,0.07);
		z-index: 998;
		gap: 2px;
	}
	.main-navigation ul.is-open .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(0,0,0,0.15); border: none; border-radius: 0; }
	.sidebar { grid-template-columns: 1fr; }
	.post-nav { grid-template-columns: 1fr; }
	.author-box { flex-direction: column; gap: 1rem; }
	.comment-form .form-row { grid-template-columns: 1fr; }
	.post-hero { padding: 3rem 0; }
	.page-hero { padding: 3rem 0; }
}

@media (max-width: 480px) {
	.container { padding: 0 1rem; }
	.hero-content { padding: 3rem 0; }
	.cat-grid { grid-template-columns: 1fr; }
	.footer-widgets { grid-template-columns: 1fr; }
	.hero-buttons { flex-direction: column; align-items: flex-start; }
	.section-header--row { flex-direction: column; align-items: flex-start; }
	.about-content { padding: 2rem 1.25rem; }
}
