/*
Theme Name: Claudius Limatus
Theme URI: https://pdroms.de
Description: PDRoms theme - clean rebuild, mobile-first, self-hosted
              fonts (GDPR), no external requests, no legacy IE/jQuery-plugin
              baggage.
Author: PDRoms
Version: 1.0
*/

/* ==========================================================================
   1. FONTS (self-hosted, GDPR-safe)
   ========================================================================== */

@font-face {
	font-family: 'Space Grotesk';
	src: url('fonts/SpaceGrotesk-var.woff2') format('woff2');
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('fonts/Inter-var.woff2') format('woff2');
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   2. DESIGN TOKENS
   ========================================================================== */

:root {
	/* Palette */
	--c-graphite:    #2c302e; /* page background */
	--c-iron:        #474a48; /* panels / cards */
	--c-olive:       #909590; /* muted text, borders */
	--c-celadon:     #9ae19d; /* primary accent */
	--c-fern:        #537a5a; /* secondary accent */

	/* Semantic colors */
	--bg:            var(--c-graphite);
	--bg-elevated:   var(--c-iron);
	--bg-elevated-2: #3a3d3b;
	--border:        #565a57;
	--text:          #e7eae6;
	--text-muted:    var(--c-olive);
	--accent:        var(--c-celadon);
	--accent-strong: var(--c-fern);
	--link:          var(--c-celadon);
	--link-hover:    #c2f0c4;

	--danger:        #e2a39a;
	--danger-bg:     #4a3230;

	/* Typography */
	--font-heading: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--fs-base:  1rem;
	--fs-sm:    0.875rem;
	--fs-xs:    0.8rem;
	--fs-lg:    1.125rem;
	--fs-xl:    1.375rem;
	--fs-2xl:   1.75rem;
	--fs-3xl:   2.25rem;

	--lh-body:  1.65;
	--lh-tight: 1.25;

	/* Spacing scale */
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;

	/* Layout */
	--page-max: 1200px;
	--sidebar-w: 300px;
	--radius: 8px;
	--radius-sm: 4px;

	/* Effects */
	--shadow-sm: 0 1px 2px rgba(0,0,0,0.25);
	--shadow-md: 0 4px 12px rgba(0,0,0,0.3);
	--transition: 150ms ease;
}

/* ==========================================================================
   3. RESET & BASE
   ========================================================================== */

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

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--link);
	text-decoration: none;
	transition: color var(--transition);
}

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

a:focus-visible, button:focus-visible, input:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: var(--lh-tight);
	margin: 0 0 var(--space-3) 0;
	color: var(--text);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p {
	margin: 0 0 var(--space-4) 0;
}

ul, ol {
	margin: 0 0 var(--space-4) 0;
	padding-left: 1.4em;
}

hr {
	border: none;
	border-top: 1px solid var(--border);
	margin: var(--space-5) 0;
}

blockquote {
	margin: var(--space-4) 0;
	padding: var(--space-3) var(--space-4);
	border-left: 3px solid var(--accent-strong);
	background: var(--bg-elevated);
	font-style: italic;
	color: var(--text-muted);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* alignment helpers used by post content */
.alignright { float: right; margin: var(--space-2) 0 var(--space-2) var(--space-4); }
.alignleft  { float: left;  margin: var(--space-2) var(--space-4) var(--space-2) 0; }
.aligncenter { display: block; margin: var(--space-3) auto; }
.alignnone  { clear: both; }
.clear      { clear: both; }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--accent);
	color: var(--c-graphite);
	padding: var(--space-2) var(--space-4);
	z-index: 1000;
}

.skip-link:focus {
	left: var(--space-2);
	top: var(--space-2);
}

#site-header {
	background: var(--bg-elevated);
	border-bottom: 1px solid var(--border);
}

.header-inner {
	max-width: var(--page-max);
	margin: 0 auto;
	padding: var(--space-4) var(--space-4) 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
}

#logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

#logo img {
	height: 48px;
	width: auto;
}

/* Primary nav */
#site-nav {
	width: 100%;
}

#site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1);
	border-top: 1px solid var(--border);
	padding-top: var(--space-2);
	margin-top: var(--space-3);
}

#site-nav li {
	margin: 0;
}

#site-nav a {
	display: block;
	padding: var(--space-2) var(--space-3);
	border-radius: var(--radius-sm);
	color: var(--text);
	font-family: var(--font-heading);
	font-size: var(--fs-sm);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
}

#site-nav a:hover,
#site-nav a:focus {
	background: var(--bg-elevated-2);
	color: var(--accent);
}

#site-nav .current a {
	color: var(--accent);
	background: var(--bg-elevated-2);
}

/* category sub-nav */
#cat-nav {
	max-width: var(--page-max);
	margin: 0 auto;
	padding: 0 var(--space-4) var(--space-3);
}

#cat-nav ul {
	list-style: none;
	margin: 0;
	padding: var(--space-2) 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	border-top: 1px dashed var(--border);
	padding-top: var(--space-3);
}

#cat-nav a {
	display: inline-block;
	padding: var(--space-1) var(--space-3);
	border: 1px solid var(--border);
	border-radius: 999px;
	font-size: var(--fs-xs);
	color: var(--text-muted);
	text-decoration: none;
}

#cat-nav a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

#cat-nav .current-cat a {
	background: var(--accent-strong);
	border-color: var(--accent-strong);
	color: #fff;
}

/* Main wrap */
#wrap {
	max-width: var(--page-max);
	margin: 0 auto;
	padding: var(--space-5) var(--space-4);
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-6);
	align-items: flex-start;
}

.main-container {
	flex: 1 1 0;
	min-width: 0;
}

#sidebar {
	flex: 0 1 var(--sidebar-w);
	min-width: 0;
}

@media (max-width: 860px) {
	#wrap {
		flex-direction: column;
	}
	#sidebar, .main-container {
		flex: 1 1 100%;
		width: 100%;
	}
}

/* Footer */
#site-footer {
	background: var(--bg-elevated);
	border-top: 1px solid var(--border);
	margin-top: var(--space-7);
}

.footer-inner {
	max-width: var(--page-max);
	margin: 0 auto;
	padding: var(--space-5) var(--space-4);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--space-4);
	font-size: var(--fs-sm);
	color: var(--text-muted);
}

#site-footer a {
	color: var(--text-muted);
}

#site-footer a:hover {
	color: var(--accent);
}

#footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

/* ==========================================================================
   5. SEARCH FORM
   ========================================================================== */

#searchform {
	margin-bottom: var(--space-5);
}

#searchform form {
	display: flex;
	gap: var(--space-2);
}

#searchform input[type="text"],
input.inputs {
	flex: 1 1 auto;
	min-width: 0;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	padding: var(--space-2) var(--space-3);
	font-family: var(--font-body);
	font-size: var(--fs-sm);
}

#searchform input[type="text"]:focus {
	border-color: var(--accent);
}

button, input[type="submit"], .btn, .download-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	background: var(--accent-strong);
	color: #fff;
	border: 1px solid var(--accent-strong);
	border-radius: var(--radius-sm);
	padding: var(--space-2) var(--space-4);
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: var(--fs-sm);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	text-decoration: none !important;
	transition: background var(--transition), border-color var(--transition);
}

button:hover, input[type="submit"]:hover, .btn:hover, .download-btn:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--c-graphite) !important;
}

/* ==========================================================================
   6. CARDS / POSTS / FILE LISTINGS
   ========================================================================== */

.card {
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--space-5);
	margin-bottom: var(--space-5);
}

/* Post titles */
.post-title-big a, .post-title-big {
	font-family: var(--font-heading);
	font-size: var(--fs-3xl);
	font-weight: 700;
	color: var(--text);
	line-height: var(--lh-tight);
	margin-bottom: var(--space-3);
	display: block;
	text-decoration: none;
}

.post-title-big a:hover {
	color: var(--accent);
	text-decoration: none;
}

.post-title, .post-title a {
	font-family: var(--font-heading);
	font-size: var(--fs-xl);
	font-weight: 600;
	color: var(--text);
	text-decoration: none;
	line-height: var(--lh-tight);
}

.post-title a:hover {
	color: var(--accent);
}

.post-meta-data, .file-meta-data, .author-box-small {
	font-size: var(--fs-xs);
	color: var(--text-muted);
	font-family: var(--font-body);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-bottom: var(--space-3);
}

.marg-bot-15 {
	margin-bottom: var(--space-4);
}

.post-content, .post-excerpt {
	font-size: var(--fs-base);
	line-height: var(--lh-body);
}

.post-content a {
	background: none;
	text-decoration: underline;
}

.post-excerpt {
	max-height: 6.5em;
	overflow: hidden;
}

.post-content h1, .post-content h2, .post-content h3,
.post-content h4, .post-content h5, .post-content h6 {
	font-size: var(--fs-xl);
	margin-top: var(--space-5);
}

.attached_url {
	border: 1px dashed var(--border);
	border-radius: var(--radius-sm);
	padding: var(--space-2) var(--space-3);
	margin: var(--space-3) 0;
	word-break: break-all;
}

.attached_url a {
	display: block;
}

/* Images embedded in post content (single.php no longer renders a separate
   hero image - relies on whatever image(s) the post content itself
   contains, avoiding duplicate images for posts that already embed their
   cover image in the content). */
.post-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
	margin: var(--space-2) 0 var(--space-4);
}

.post-content a img {
	margin: var(--space-2) 0;
}

.file-order-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3);
	font-size: var(--fs-sm);
}

.file-order-box select {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	padding: var(--space-2) var(--space-3);
	font-family: var(--font-body);
}

.download_link {
	/* wrapper retained for legacy selector compatibility; file-card-download
	   provides the actual layout */
}

.nocomments {
	color: var(--text-muted);
}

.comment-form-comment label {
	display: block;
	margin-bottom: var(--space-2);
	font-family: var(--font-heading);
	font-size: var(--fs-sm);
	text-transform: uppercase;
}

/* Latest-posts list (home/archive) */
.post-list-item {
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--space-4) var(--space-5);
	margin-bottom: var(--space-4);
}

.post-list-item:hover {
	border-color: var(--accent-strong);
}

/* File post grid item */
.file_post {
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--space-3);
	float: none;
	width: auto;
	height: auto;
	margin: 0;
	transition: border-color var(--transition);
}

.file_post:hover {
	border-color: var(--accent-strong);
}

.file_post .post-title {
	font-size: var(--fs-lg);
	margin-bottom: var(--space-2);
}

img.thumbs-in-files {
	float: none;
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: var(--radius-sm);
	border: none;
	margin: 0 0 var(--space-3) 0;
	padding: 0;
}

img.thumbs-in-archive {
	float: none;
	border-radius: var(--radius-sm);
	border: none;
	margin: 0 0 var(--space-3) 0;
	padding: 0;
}

/* Homepage/archive/listing thumbnails: centered, 50% width */
.post-list-item a:has(> img.thumbs-in-archive),
.post-list-item .thumb-link {
	display: block;
}

.post-list-item img.thumbs-in-archive {
	display: block;
	width: 50%;
	height: auto;
	margin: 0 auto var(--space-3) auto;
}

.file_thumb_single {
	display: block;
	margin: 0 0 var(--space-4) 0;
	text-align: center;
}

.file_thumb_single img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-sm);
}

/* Grid layouts */
.grid {
	display: grid;
	gap: var(--space-4);
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* ==========================================================================
   7. FILE DETAIL CARD
   ========================================================================== */

.file-card {
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--space-5);
	margin-bottom: var(--space-5);
}

.file-card-body {
	margin-bottom: var(--space-4);
}

.file-card-body .file_thumb_single {
	background: var(--bg-elevated-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: var(--space-2);
}

.file-card-download {
	border-top: 1px dashed var(--border);
	padding-top: var(--space-4);
	text-align: center;
}

.download-btn {
	font-size: var(--fs-base);
	padding: var(--space-3) var(--space-5);
}

.download-btn-icon {
	font-size: 1.1em;
}

.download-size {
	margin-top: var(--space-3);
	font-size: var(--fs-xs);
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.error {
	background: var(--danger-bg);
	border: 1px solid var(--danger);
	color: var(--danger);
	border-radius: var(--radius-sm);
	padding: var(--space-3) var(--space-4);
	font-size: var(--fs-sm);
}

/* Pictures / lightbox grid */
#file_pics {
	margin: var(--space-5) 0;
}

#file_pics h4 {
	margin-bottom: var(--space-3);
}

#file_pics a {
	display: inline-block;
	margin: 0 var(--space-2) var(--space-2) 0;
}

#file_pics img {
	width: 120px;
	height: 90px;
	object-fit: cover;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
}

/* page links / pagination */
#page-links, .next-prev-links, .pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2);
	margin: var(--space-5) 0;
	font-family: var(--font-heading);
	font-size: var(--fs-sm);
	font-weight: 600;
}

#page-links a, .next-prev-links a, .pagination a, .pagination span {
	display: inline-block;
	padding: var(--space-2) var(--space-3);
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	text-decoration: none;
}

#page-links a:hover, .next-prev-links a:hover, .pagination a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* ----------------------------------------------------------------------
   WP-Paginate plugin (wp-content/plugins/wp-paginate). Markup:
   <div class="navigation">
     <ol class="wp-paginate wpp-modern-grey ...">
       <li><span class="title">Pages:</span></li>
       <li><a class="prev">...</a></li>
       <li><a class="page" title="1">1</a></li>
       <li><span class="page current">2</span></li>
       <li class="ellipse-gap"></li>
       <li><a class="next">...</a></li>
     </ol>
   </div>
   The plugin enqueues its own wp-paginate.css (wpp-modern-grey skin); the
   rules below override it to match the theme palette. Each selector is
   duplicated for plain ".wp-paginate" and ".wp-paginate.wpp-modern-grey"
   so we win regardless of which skin class the plugin renders.
   ---------------------------------------------------------------------- */

.navigation ol.wp-paginate,
.navigation ol.wp-paginate.wpp-modern-grey {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2);
	margin: var(--space-5) 0;
	padding: 0;
	list-style: none;
	font-family: var(--font-heading);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.navigation ol.wp-paginate li,
.navigation ol.wp-paginate.wpp-modern-grey li {
	margin: 0;
}

.navigation ol.wp-paginate .title,
.navigation ol.wp-paginate.wpp-modern-grey .title {
	color: var(--text-muted);
	font-weight: 600;
	padding: var(--space-2) var(--space-1);
}

.navigation ol.wp-paginate a,
.navigation ol.wp-paginate.wpp-modern-grey a,
.navigation ol.wp-paginate span.page,
.navigation ol.wp-paginate.wpp-modern-grey span.page {
	display: inline-block;
	padding: var(--space-2) var(--space-3);
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	text-decoration: none;
	line-height: 1.2;
}

.navigation ol.wp-paginate a:hover,
.navigation ol.wp-paginate.wpp-modern-grey a:hover,
.navigation ol.wp-paginate a:focus,
.navigation ol.wp-paginate.wpp-modern-grey a:focus {
	border-color: var(--accent);
	color: var(--accent);
	background: var(--bg-elevated);
}

.navigation ol.wp-paginate span.page.current,
.navigation ol.wp-paginate.wpp-modern-grey span.page.current {
	background: var(--accent-strong);
	border-color: var(--accent-strong);
	color: #fff;
}

.navigation ol.wp-paginate li.ellipse-gap,
.navigation ol.wp-paginate.wpp-modern-grey li.ellipse-gap {
	padding: var(--space-2) var(--space-1);
	color: var(--text-muted);
}

.navigation ol.wp-paginate li.ellipse-gap::before,
.navigation ol.wp-paginate.wpp-modern-grey li.ellipse-gap::before {
	content: "\2026"; /* ellipsis */
}

/* ==========================================================================
   8. AUTHOR BYLINE
   ========================================================================== */

.author-box-small {
	text-align: right;
}

/* ==========================================================================
   9. SIDEBAR
   ========================================================================== */

.sidebar-row, .featbox {
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--space-4);
	margin-bottom: var(--space-4);
	font-size: var(--fs-sm);
}

.sidebar-row h3, .featbox h3 {
	font-size: var(--fs-lg);
	margin-bottom: var(--space-3);
	padding-bottom: var(--space-2);
	border-bottom: 1px solid var(--border);
}

.sidebar-row ul, .featbox ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-row li, .featbox li {
	padding: var(--space-1) 0;
}

/* Images inside sidebar widgets (partner/affiliate badges, etc.) often
   have light/transparent backgrounds baked in - give them a light backing
   card so they read against the dark theme, and keep them from
   overflowing the sidebar width. */
.sidebar-row img, .featbox img {
	max-width: 100%;
	height: auto;
	display: inline-block;
	background: #fff;
	border-radius: var(--radius-sm);
	padding: var(--space-1);
	vertical-align: middle;
}

.sidebar-row a, .featbox a {
	display: inline-block;
}

/* Tag Cloud widget (WordPress core: .tagcloud a) */
.tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.tagcloud a {
	display: inline-block;
	padding: var(--space-1) var(--space-2);
	border: 1px solid var(--border);
	border-radius: 999px;
	line-height: 1.4;
}

/* ==========================================================================
   10. HOMEPAGE HERO SLIDER (vanilla JS carousel, replaces nivoSlider)
   ========================================================================== */

.hero-slider {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--bg-elevated);
	margin-bottom: var(--space-6);
	aspect-ratio: 16 / 7;
}

.hero-slider .slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 500ms ease;
	text-decoration: none;
}

.hero-slider .slide.is-active {
	opacity: 1;
	visibility: visible;
}

.hero-slider .slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-slider .slide-caption {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: var(--space-4) var(--space-5);
	padding-right: var(--space-7);
	background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: var(--fs-xl);
}

.hero-slider .slide-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.45);
	color: #fff;
	border: none;
	border-radius: 999px;
	width: 44px;
	height: 44px;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--transition);
}

.hero-slider .slide-nav:hover,
.hero-slider .slide-nav:focus-visible {
	background: var(--accent-strong);
}

.hero-slider .slide-prev { left: var(--space-3); }
.hero-slider .slide-next { right: var(--space-3); }

.hero-slider .slide-dots {
	position: absolute;
	bottom: var(--space-3);
	right: var(--space-4);
	display: flex;
	gap: var(--space-2);
	z-index: 1;
}

.hero-slider .slide-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.7);
	background: rgba(255,255,255,0.25);
	cursor: pointer;
	padding: 0;
}

.hero-slider .slide-dot.is-active {
	background: var(--accent);
	border-color: var(--accent);
}

@media (max-width: 640px) {
	.hero-slider {
		aspect-ratio: 4 / 3;
	}
	.hero-slider .slide-caption {
		font-size: var(--fs-base);
		padding-right: var(--space-5);
	}
	.hero-slider .slide-nav {
		width: 36px;
		height: 36px;
		font-size: 1.25rem;
	}
}

/* ==========================================================================
   11. COMMENTS
   ========================================================================== */

#comments, .comments-area {
	margin-top: var(--space-6);
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-body {
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--space-4);
	margin-bottom: var(--space-3);
}

#commentform textarea,
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"] {
	width: 100%;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	padding: var(--space-2) var(--space-3);
	font-family: var(--font-body);
	margin-bottom: var(--space-3);
}

/* ==========================================================================
   12. UTILITIES
   ========================================================================== */

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.visually-hidden {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
}

/* Lightbox (from functions.php pdr_inline_lightbox) re-skinned to palette */
.pdr-lightbox-overlay {
	background: rgba(0,0,0,0.9);
}

.pdr-lightbox-close:hover, .pdr-lightbox-prev:hover, .pdr-lightbox-next:hover {
	background: var(--accent-strong) !important;
}
