/* ==========================================================================
   Roxy — Main Stylesheet
   Digital newspaper WordPress theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (tokens)
   -------------------------------------------------------------------------- */
:root {
	--roxy-accent:    #e8202a;
	--roxy-nav-bg:    #111111;
	--roxy-nav-text:  #ffffff;
	--roxy-container: 1200px;

	--roxy-text:      #1a1a1a;
	--roxy-text-muted:#666666;
	--roxy-border:    #e5e5e5;
	--roxy-bg:        #ffffff;
	--roxy-bg-alt:    #f7f7f7;

	--roxy-font-heading: 'Merriweather', 'Georgia', 'Times New Roman', serif;
	--roxy-font-body:    'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

	--roxy-radius: 3px;
	--roxy-shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* --------------------------------------------------------------------------
   2. Reset / Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--roxy-font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--roxy-text);
	background: var(--roxy-bg);
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--roxy-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--roxy-font-heading);
	line-height: 1.2;
	margin: 0 0 .5em;
	color: var(--roxy-text);
}

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.5em; margin: 0 0 1em; }
figure { margin: 0; }
.screen-reader-text { position: absolute; clip: rect(0,0,0,0); overflow: hidden; }
.skip-link { position: absolute; top: -100%; left: 0; padding: .5rem 1rem; background: var(--roxy-accent); color: #fff; z-index: 9999; }
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   3. Layout — Container & Grid
   -------------------------------------------------------------------------- */
.roxy-container {
	max-width: var(--roxy-container);
	margin: 0 auto;
	padding: 0 1.25rem;
}
.roxy-container--narrow { max-width: 780px; }

.roxy-layout {
	display: grid;
	gap: 2.5rem;
}
.roxy-layout--right  { grid-template-columns: 1fr 300px; }
.roxy-layout--left   { grid-template-columns: 300px 1fr; }
.roxy-layout--full   { grid-template-columns: 1fr; }

@media (max-width: 900px) {
	.roxy-layout--right,
	.roxy-layout--left { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   4. Top Bar
   -------------------------------------------------------------------------- */
.site-header__topbar {
	background: var(--roxy-bg-alt);
	border-bottom: 1px solid var(--roxy-border);
	padding: .25rem 0;
}
.site-header__topbar .roxy-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.topbar-nav__menu {
	display: flex;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.topbar-nav__menu a { font-size: .8125rem; color: var(--roxy-text-muted); }
.topbar-nav__menu a:hover { color: var(--roxy-accent); text-decoration: none; }
.topbar-date { font-size: .8125rem; color: var(--roxy-text-muted); white-space: nowrap; }

/* --------------------------------------------------------------------------
   5. Site Header — Branding
   -------------------------------------------------------------------------- */
.site-header__main { padding: 1rem 0; border-bottom: 3px solid var(--roxy-accent); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; }
.site-branding__name { font-family: var(--roxy-font-heading); font-size: 2rem; font-weight: 900; color: var(--roxy-text); text-decoration: none; letter-spacing: -.025em; }
.site-branding__name:hover { text-decoration: none; color: var(--roxy-accent); }
.site-branding__tagline { font-size: .8125rem; color: var(--roxy-text-muted); margin: .125rem 0 0; }
.site-branding img { max-height: 60px; width: auto; }

/* --------------------------------------------------------------------------
   6. Primary Navigation
   -------------------------------------------------------------------------- */
.site-nav {
	background: var(--roxy-nav-bg);
	position: relative;
	z-index: 100;
}
.site-nav .roxy-container { position: relative; }
.site-nav__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav__menu > li > a {
	display: block;
	padding: .7rem 1rem;
	color: var(--roxy-nav-text);
	font-size: .875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
	white-space: nowrap;
	transition: background .15s;
}
.site-nav__menu > li > a:hover,
.site-nav__menu > li.current-menu-item > a {
	background: var(--roxy-accent);
	text-decoration: none;
}

/* Sub-menus */
.site-nav__menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	min-width: 200px;
	background: #222;
	list-style: none;
	margin: 0;
	padding: .25rem 0;
	box-shadow: 0 4px 12px rgba(0,0,0,.3);
	z-index: 200;
}
.site-nav__menu li:hover > .sub-menu,
.site-nav__menu li.focus > .sub-menu { display: block; }
.site-nav__menu .sub-menu a { display: block; padding: .55rem 1.25rem; color: #ddd; font-size: .8125rem; white-space: nowrap; }
.site-nav__menu .sub-menu a:hover { background: var(--roxy-accent); color: #fff; text-decoration: none; }

/* Hamburger */
.site-nav__toggle {
	display: none;
	background: transparent;
	border: 1.5px solid rgba(255,255,255,.5);
	border-radius: var(--roxy-radius);
	padding: .35rem .55rem;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.site-nav__toggle-icon,
.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--roxy-nav-text);
	transition: .2s;
}
.site-nav__toggle-icon { position: relative; }
.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after { content: ''; position: absolute; }
.site-nav__toggle-icon::before { top: -6px; }
.site-nav__toggle-icon::after  { top:  6px; }

@media (max-width: 900px) {
	.site-nav__toggle { display: flex; }
	.site-nav__menu {
		display: none;
		flex-direction: column;
		gap: 0;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--roxy-nav-bg);
		border-top: 1px solid rgba(255,255,255,.1);
		box-shadow: 0 6px 20px rgba(0,0,0,.25);
		padding: .5rem 0;
		z-index: 200;
	}
	.site-nav__menu.is-open { display: flex; }
	.site-nav__menu .sub-menu { position: static; box-shadow: none; background: rgba(255,255,255,.05); }
}

/* --------------------------------------------------------------------------
   7. Breaking News Ticker
   -------------------------------------------------------------------------- */
.roxy-ticker {
	background: var(--roxy-accent);
	color: #fff;
	overflow: hidden;
	padding: .35rem 0;
}
.roxy-ticker .roxy-container { display: flex; align-items: center; gap: .75rem; overflow: hidden; }
.roxy-ticker__label {
	flex-shrink: 0;
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	background: rgba(0,0,0,.25);
	padding: .15rem .6rem;
	border-radius: 2px;
}
.roxy-ticker__track { overflow: hidden; flex: 1; }
.roxy-ticker__list {
	display: flex;
	gap: 3rem;
	list-style: none;
	margin: 0;
	padding: 0;
	animation: roxy-ticker-scroll 30s linear infinite;
	white-space: nowrap;
}
.roxy-ticker__list:hover { animation-play-state: paused; }
.roxy-ticker__item a { color: #fff; font-size: .875rem; font-weight: 500; }
.roxy-ticker__item a:hover { text-decoration: underline; }

@keyframes roxy-ticker-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   8. Category Badge
   -------------------------------------------------------------------------- */
.roxy-cat-badge {
	display: inline-block;
	padding: .15rem .55rem;
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	background: var(--roxy-cat-color, var(--roxy-accent));
	color: #fff;
	border-radius: 2px;
	margin-bottom: .4rem;
	text-decoration: none;
}
.roxy-cat-badge:hover { filter: brightness(.9); text-decoration: none; color: #fff; }

/* Nav dot next to category items */
.roxy-nav-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--roxy-cat-color, var(--roxy-accent));
	margin-right: .35rem;
	vertical-align: middle;
}

/* --------------------------------------------------------------------------
   8b. Breadcrumbs
   -------------------------------------------------------------------------- */
.roxy-breadcrumbs {
	background: var(--roxy-bg-alt);
	border-bottom: 1px solid var(--roxy-border);
	padding: .5rem 1.25rem;
	font-size: .75rem;
}
.roxy-breadcrumbs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .25rem .35rem;
	align-items: center;
}
.roxy-breadcrumbs__item { display: flex; align-items: center; }
.roxy-breadcrumbs__item a { color: var(--roxy-text-muted); text-decoration: none; }
.roxy-breadcrumbs__item a:hover { color: var(--roxy-accent); text-decoration: underline; }
.roxy-breadcrumbs__item--current { color: var(--roxy-text); font-weight: 500; }
.roxy-breadcrumbs__item:not(:last-child)::after {
	content: '/';
	margin-left: .35rem;
	color: var(--roxy-border);
}

/* --------------------------------------------------------------------------
   9. Post Meta
   -------------------------------------------------------------------------- */
.roxy-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .25rem .75rem;
	font-size: .8125rem;
	color: var(--roxy-text-muted);
	margin: .4rem 0 .75rem;
}
.roxy-meta a { color: var(--roxy-text-muted); }
.roxy-meta a:hover { color: var(--roxy-accent); text-decoration: none; }
.roxy-meta__date::after,
.roxy-meta__author::after { content: '·'; margin-left: .75rem; }
.roxy-meta__reading::before { content: '·'; margin-right: .75rem; }

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.roxy-card {
	background: var(--roxy-bg);
	border-radius: var(--roxy-radius);
	overflow: hidden;
	box-shadow: var(--roxy-shadow);
	transition: box-shadow .2s;
}
.roxy-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.roxy-card__img-link img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.roxy-card__body { padding: .875rem 1rem 1rem; }
.roxy-card__title { font-size: 1rem; font-weight: 700; line-height: 1.3; margin: 0 0 .35rem; }
.roxy-card__title a { color: var(--roxy-text); }
.roxy-card__title a:hover { color: var(--roxy-accent); text-decoration: none; }
.roxy-card__excerpt { font-size: .875rem; color: var(--roxy-text-muted); margin: .35rem 0 0; line-height: 1.5; }

.roxy-card--large .roxy-card__title { font-size: 1.35rem; }
.roxy-card--large .roxy-card__img-link img { aspect-ratio: 16/9; }

/* --------------------------------------------------------------------------
   11. Grid
   -------------------------------------------------------------------------- */
.roxy-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.5rem;
}

@media (max-width: 600px) {
	.roxy-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   12. List
   -------------------------------------------------------------------------- */
.roxy-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.125rem;
}
.roxy-list__item {
	display: flex;
	gap: .875rem;
	align-items: flex-start;
}
.roxy-list__thumb-link { flex-shrink: 0; }
.roxy-list__thumb-link img { width: 110px; height: 72px; object-fit: cover; border-radius: var(--roxy-radius); }
.roxy-list__title { font-size: .9375rem; font-weight: 700; line-height: 1.35; margin: 0 0 .25rem; }
.roxy-list__title a { color: var(--roxy-text); }
.roxy-list__title a:hover { color: var(--roxy-accent); text-decoration: none; }

/* --------------------------------------------------------------------------
   13. Home Sections
   -------------------------------------------------------------------------- */
.roxy-home { padding: 1.5rem 0 3rem; }
.home-top-widgets { margin-bottom: 1.5rem; }

.roxy-home-section { margin-bottom: 2.5rem; }

.roxy-home-section--list   .roxy-list { border-top: 1px solid var(--roxy-border); padding-top: 1rem; }

.roxy-section-title {
	font-size: 1.0625rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .04em;
	border-bottom: 3px solid var(--roxy-accent);
	padding-bottom: .4rem;
	margin-bottom: 1.125rem;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}
.roxy-section-title a { color: var(--roxy-text); text-decoration: none; }
.roxy-section-title a:hover { color: var(--roxy-accent); }
.roxy-section-title--small { font-size: .875rem; border-bottom-width: 2px; }
.roxy-section-title__more a { font-size: .75rem; font-weight: 600; color: var(--roxy-text-muted); text-transform: none; letter-spacing: 0; }
.roxy-section-title__more a:hover { color: var(--roxy-accent); }

/* Featured + list */
.roxy-section-featured {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 1.5rem;
	align-items: start;
}
.roxy-section-featured__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.roxy-section-featured__item { padding: .625rem 0; border-bottom: 1px solid var(--roxy-border); }
.roxy-section-featured__item:last-child { border-bottom: none; }
.roxy-section-featured__title { font-size: .9rem; font-weight: 700; color: var(--roxy-text); line-height: 1.3; }
.roxy-section-featured__title:hover { color: var(--roxy-accent); text-decoration: none; }
.roxy-section-featured__item time { display: block; font-size: .75rem; color: var(--roxy-text-muted); margin-top: .2rem; }

@media (max-width: 700px) {
	.roxy-section-featured { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   14. Home — Magazine Hero
   -------------------------------------------------------------------------- */
.roxy-hero {
	margin: 1.5rem auto 2.5rem;
}
.roxy-hero__article {
	display: grid;
	grid-template-columns: 1.75fr 1fr;
	gap: 2rem;
	align-items: center;
	background: var(--roxy-bg);
}
.roxy-hero__img-link img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--roxy-radius); }
.roxy-hero__title { font-size: 2rem; font-weight: 900; line-height: 1.15; margin-bottom: .5rem; }
.roxy-hero__title a { color: var(--roxy-text); }
.roxy-hero__title a:hover { color: var(--roxy-accent); text-decoration: none; }
.roxy-hero__excerpt { font-size: 1rem; color: var(--roxy-text-muted); line-height: 1.6; margin-bottom: .5rem; }

@media (max-width: 700px) {
	.roxy-hero__article { grid-template-columns: 1fr; }
	.roxy-hero__title { font-size: 1.5rem; }
}

/* --------------------------------------------------------------------------
   15. Home — Breaking Layout
   -------------------------------------------------------------------------- */
.roxy-breaking-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 2.5rem;
	align-items: start;
	padding: 1.5rem 1.25rem 3rem;
}
.roxy-breaking-layout__featured { margin-bottom: 1.25rem; }
.roxy-breaking-layout__featured .roxy-breaking-layout__img-link img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--roxy-radius); margin-bottom: .75rem; }
.roxy-breaking-layout__title { font-size: 1.5rem; font-weight: 900; margin-bottom: .35rem; }
.roxy-breaking-layout__title a { color: var(--roxy-text); }
.roxy-breaking-layout__title a:hover { color: var(--roxy-accent); text-decoration: none; }
.roxy-breaking-layout__excerpt { font-size: .9rem; color: var(--roxy-text-muted); }
.roxy-breaking-layout__list { list-style: none; margin: 0; padding: 0; }
.roxy-breaking-layout__list-item { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .55rem 0; border-top: 1px solid var(--roxy-border); }
.roxy-breaking-layout__list-title { font-size: .9rem; font-weight: 700; color: var(--roxy-text); flex: 1; }
.roxy-breaking-layout__list-title:hover { color: var(--roxy-accent); text-decoration: none; }
.roxy-breaking-layout__list-date { font-size: .75rem; color: var(--roxy-text-muted); white-space: nowrap; }

.roxy-breaking-sidebar-section { margin-bottom: 1.75rem; }
.roxy-breaking-sidebar-list { list-style: none; margin: 0; padding: 0; }
.roxy-breaking-sidebar-list__item { display: flex; gap: .6rem; align-items: flex-start; padding: .5rem 0; border-bottom: 1px solid var(--roxy-border); }
.roxy-breaking-sidebar-list__thumb img { width: 70px; height: 50px; object-fit: cover; border-radius: var(--roxy-radius); flex-shrink: 0; }
.roxy-breaking-sidebar-list__title { font-size: .85rem; font-weight: 700; color: var(--roxy-text); line-height: 1.3; display: block; }
.roxy-breaking-sidebar-list__title:hover { color: var(--roxy-accent); text-decoration: none; }
.roxy-breaking-sidebar-list__body time { font-size: .75rem; color: var(--roxy-text-muted); }

@media (max-width: 900px) {
	.roxy-breaking-layout { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   16. Single Article
   -------------------------------------------------------------------------- */
.roxy-article { padding: 2rem 0; }
.roxy-article__title { font-size: 2rem; font-weight: 900; line-height: 1.15; margin-bottom: .5rem; }
.roxy-article__thumbnail { margin: 1rem 0 1.5rem; }
.roxy-article__thumbnail img { width: 100%; border-radius: var(--roxy-radius); }
.roxy-article__thumbnail--wide { margin-left: calc(-1 * ((780px - 100%) / 2)); margin-right: calc(-1 * ((780px - 100%) / 2)); max-width: 780px; }
.roxy-article__caption { font-size: .8125rem; color: var(--roxy-text-muted); text-align: center; margin-top: .5rem; }

.roxy-article__content { font-size: 1.0625rem; line-height: 1.75; }
.roxy-article__content h2 { font-size: 1.5rem; margin-top: 2rem; }
.roxy-article__content h3 { font-size: 1.25rem; margin-top: 1.75rem; }
.roxy-article__content p { margin-bottom: 1.25em; }
.roxy-article__content blockquote { border-left: 4px solid var(--roxy-accent); margin: 1.5rem 0; padding: .75rem 1.25rem; background: var(--roxy-bg-alt); font-style: italic; }
.roxy-article__content img { margin: 1.25rem auto; border-radius: var(--roxy-radius); }
.roxy-article__content a { text-decoration: underline; }

.roxy-article__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.roxy-article__tags a { padding: .25rem .65rem; border: 1.5px solid var(--roxy-border); border-radius: 2px; font-size: .8125rem; color: var(--roxy-text-muted); }
.roxy-article__tags a:hover { border-color: var(--roxy-accent); color: var(--roxy-accent); text-decoration: none; }

.roxy-article--photo-feature .roxy-article__content,
.roxy-article--minimal .roxy-article__content { font-size: 1.125rem; }

/* --------------------------------------------------------------------------
   17. Photo Feature Hero
   -------------------------------------------------------------------------- */
.roxy-photo-hero { position: relative; max-height: 540px; overflow: hidden; background: #111; }
.roxy-photo-hero img { width: 100%; max-height: 540px; object-fit: cover; opacity: .75; }
.roxy-photo-hero__overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 2.5rem 0 2rem; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 100%); }
.roxy-photo-hero__title { font-size: 2.25rem; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: .5rem; }
.roxy-photo-hero .roxy-meta { color: rgba(255,255,255,.8); }
.roxy-photo-hero .roxy-meta a { color: rgba(255,255,255,.8); }
.roxy-photo-hero .roxy-cat-badge { margin-bottom: .5rem; }

/* --------------------------------------------------------------------------
   18. Author Box
   -------------------------------------------------------------------------- */
.roxy-author-box {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1.25rem;
	background: var(--roxy-bg-alt);
	border-radius: var(--roxy-radius);
	margin: 2rem 0;
	border-left: 3px solid var(--roxy-accent);
}
.roxy-author-box__img { border-radius: 50%; }
.roxy-author-box__name { font-weight: 700; font-size: .9375rem; margin: 0 0 .35rem; }
.roxy-author-box__name a { color: var(--roxy-text); }
.roxy-author-box__name a:hover { color: var(--roxy-accent); text-decoration: none; }
.roxy-author-box__bio { font-size: .875rem; color: var(--roxy-text-muted); margin: 0; line-height: 1.5; }

/* --------------------------------------------------------------------------
   19. Related Posts
   -------------------------------------------------------------------------- */
.roxy-related { margin: 2.5rem 0; padding-top: 1.5rem; border-top: 2px solid var(--roxy-accent); }
.roxy-related__title { font-size: 1rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1.25rem; }
.roxy-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.roxy-related__item { display: flex; flex-direction: column; gap: .5rem; }
.roxy-related__img-link img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--roxy-radius); }
.roxy-related__post-title { font-size: .875rem; font-weight: 700; margin: 0 0 .2rem; line-height: 1.35; }
.roxy-related__post-title a { color: var(--roxy-text); }
.roxy-related__post-title a:hover { color: var(--roxy-accent); text-decoration: none; }
.roxy-related__date { font-size: .75rem; color: var(--roxy-text-muted); }

@media (max-width: 640px) {
	.roxy-related__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   20. Sidebar & Widgets
   -------------------------------------------------------------------------- */
.roxy-sidebar { padding-top: .5rem; }
.widget { margin-bottom: 2rem; }
.widget-title { font-size: .9375rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--roxy-accent); padding-bottom: .4rem; margin-bottom: .875rem; }

/* --------------------------------------------------------------------------
   21. Pagination
   -------------------------------------------------------------------------- */
.roxy-pagination { display: flex; flex-wrap: wrap; gap: .375rem; margin: 2.5rem 0; }
.roxy-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 2.25rem; height: 2.25rem; padding: 0 .75rem;
	border: 1.5px solid var(--roxy-border); border-radius: var(--roxy-radius);
	font-size: .875rem; font-weight: 600; color: var(--roxy-text);
}
.roxy-pagination .page-numbers:hover,
.roxy-pagination .page-numbers.current { background: var(--roxy-accent); border-color: var(--roxy-accent); color: #fff; text-decoration: none; }

/* --------------------------------------------------------------------------
   22. Archive
   -------------------------------------------------------------------------- */
.roxy-archive { padding: 1.75rem 0 3rem; }
.roxy-archive__header { margin-bottom: 1.5rem; }
.roxy-archive__title { font-size: 1.5rem; font-weight: 900; }
.roxy-archive__description { font-size: .9375rem; color: var(--roxy-text-muted); margin-top: .5rem; }

/* --------------------------------------------------------------------------
   23. Search Form
   -------------------------------------------------------------------------- */
.search-form { display: flex; gap: .5rem; }
.search-form input[type="search"] {
	flex: 1; padding: .55rem .875rem;
	border: 1.5px solid var(--roxy-border); border-radius: var(--roxy-radius);
	font-size: .9375rem; font-family: inherit;
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--roxy-accent); }
.search-form input[type="submit"],
.search-form button {
	padding: .55rem 1.125rem;
	background: var(--roxy-accent); color: #fff;
	border: none; border-radius: var(--roxy-radius);
	font-size: .9375rem; font-weight: 600; cursor: pointer;
}

/* --------------------------------------------------------------------------
   24. Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 3px solid var(--roxy-accent); margin-top: 2.5rem; }
.footer-widgets { background: #1a1a1a; color: #ccc; padding: 2.5rem 0; }
.footer-widgets .widget-title { color: #fff; border-bottom-color: var(--roxy-accent); }
.footer-widgets a { color: #bbb; }
.footer-widgets a:hover { color: var(--roxy-accent); }
.footer-widgets__grid { display: grid; gap: 2rem; }
.footer-widgets__grid--1col { grid-template-columns: 1fr; }
.footer-widgets__grid--2col { grid-template-columns: repeat(2, 1fr); }
.footer-widgets__grid--3col { grid-template-columns: repeat(3, 1fr); }
.footer-widgets__grid--4col { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
	.footer-widgets__grid--3col,
	.footer-widgets__grid--4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.footer-widgets__grid--2col,
	.footer-widgets__grid--3col,
	.footer-widgets__grid--4col { grid-template-columns: 1fr; }
}

.footer-bottom { background: #111; padding: .875rem 0; }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.footer-bottom__credit { font-size: .8125rem; color: #888; margin: 0; }
.footer-bottom__credit a { color: #888; }
.footer-bottom__credit a:hover { color: var(--roxy-accent); }
.footer-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.footer-nav__menu a { font-size: .8125rem; color: #888; }
.footer-nav__menu a:hover { color: var(--roxy-accent); text-decoration: none; }

/* --------------------------------------------------------------------------
   25. 404 & No Results
   -------------------------------------------------------------------------- */
.roxy-404 { padding: 4rem 1.25rem; text-align: center; }
.roxy-404__title { font-size: 2.5rem; margin-bottom: .75rem; }
.roxy-404__text { color: var(--roxy-text-muted); margin-bottom: 1.5rem; }
.roxy-no-results { padding: 3rem 0; color: var(--roxy-text-muted); }

/* --------------------------------------------------------------------------
   26. Author Profile Page
   -------------------------------------------------------------------------- */
.roxy-author-profile {
	background: var(--roxy-bg-alt);
	border-bottom: 3px solid var(--roxy-accent);
	padding: 2.5rem 0;
	margin-bottom: 2.5rem;
}
.roxy-author-profile__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.roxy-author-profile__avatar {
	border-radius: 50%;
	flex-shrink: 0;
	width: 96px;
	height: 96px;
	object-fit: cover;
}
.roxy-author-profile__name { font-size: 1.75rem; font-weight: 900; margin: 0 0 .4rem; }
.roxy-author-profile__bio  { font-size: .9375rem; color: var(--roxy-text-muted); margin: 0 0 .4rem; line-height: 1.55; }
.roxy-author-profile__count { font-size: .8125rem; color: var(--roxy-text-muted); margin: 0; }
.roxy-author-articles { margin-bottom: 2.5rem; }

@media (max-width: 600px) {
	.roxy-author-profile__inner { flex-direction: column; text-align: center; }
}

/* Subtitle / deck */
.roxy-article__subtitle {
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--roxy-text-muted);
	line-height: 1.45;
	margin: .25rem 0 .75rem;
	font-family: var(--roxy-font-body);
}
.roxy-photo-hero__subtitle {
	font-size: 1.125rem;
	color: rgba(255,255,255,.85);
	margin: .25rem 0 .5rem;
	line-height: 1.4;
}

/* --------------------------------------------------------------------------
   27. Advertising
   -------------------------------------------------------------------------- */
.roxy-ad {
	text-align: center;
	padding: .75rem 0;
	overflow: hidden;
}
.roxy-ad--full { width: 100%; }

/* Desktop/mobile switching — CSS only, no JS */
.roxy-ad__mobile { display: none; }
.roxy-ad__desktop { display: block; }
@media (max-width: 768px) {
	.roxy-ad__desktop { display: none; }
	.roxy-ad__mobile  { display: block; }
}

/* Zone-specific spacing */
.roxy-ad--after_header,
.roxy-ad--before_footer { background: var(--roxy-bg-alt); border-top: 1px solid var(--roxy-border); border-bottom: 1px solid var(--roxy-border); margin: 0; padding: 1rem 0; }

.roxy-ad--mid_article { margin: 1.75rem 0; }
.roxy-ad--before_article { margin-bottom: 1.5rem; }
.roxy-ad--after_article  { margin-top: 1.5rem; }
.roxy-ad--sidebar { margin-bottom: 1.5rem; }

/* --------------------------------------------------------------------------
   27. Comments
   -------------------------------------------------------------------------- */
.roxy-comments { margin-top: 3rem; padding-top: 1.5rem; border-top: 2px solid var(--roxy-border); }
.roxy-comments__title { font-size: 1.125rem; font-weight: 900; margin-bottom: 1.5rem; }
.roxy-comments__reply-title { font-size: 1.125rem; font-weight: 900; margin: 2.5rem 0 1.25rem; }
.roxy-comments__closed { font-size: .875rem; color: var(--roxy-text-muted); font-style: italic; }

.roxy-comment-list { list-style: none; margin: 0; padding: 0; }
.roxy-comment-list .children { list-style: none; padding-left: 2rem; margin: 0; border-left: 2px solid var(--roxy-border); }

.roxy-comment { padding: 1.25rem 0; border-bottom: 1px solid var(--roxy-border); }
.roxy-comment__body { display: block; }
.roxy-comment__header { display: flex; align-items: flex-start; gap: .875rem; margin-bottom: .625rem; }
.roxy-comment__avatar img { border-radius: 50%; flex-shrink: 0; }
.roxy-comment__author { font-weight: 700; font-size: .9375rem; display: block; }
.roxy-comment__author a { color: var(--roxy-text); }
.roxy-comment__date a { font-size: .8125rem; color: var(--roxy-text-muted); }
.roxy-comment__date a:hover { color: var(--roxy-accent); }
.roxy-comment__moderation { font-size: .8125rem; color: #c57a00; }
.roxy-comment__content { font-size: .9375rem; line-height: 1.65; }
.roxy-comment__content p { margin-bottom: .75em; }
.roxy-comment__actions { margin-top: .5rem; }
.roxy-comment__reply a,
.roxy-comment__edit a { font-size: .8125rem; font-weight: 600; color: var(--roxy-text-muted); margin-right: 1rem; }
.roxy-comment__reply a:hover,
.roxy-comment__edit a:hover { color: var(--roxy-accent); text-decoration: none; }

/* Comment form */
.roxy-comment-form { margin-top: 1.75rem; }
.roxy-comment-form p { margin-bottom: 1rem; }
.roxy-comment-form label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .35rem; }
.roxy-comment-form input[type="text"],
.roxy-comment-form input[type="email"],
.roxy-comment-form input[type="url"],
.roxy-comment-form textarea {
	width: 100%;
	padding: .575rem .875rem;
	border: 1.5px solid var(--roxy-border);
	border-radius: var(--roxy-radius);
	font-size: .9375rem;
	font-family: inherit;
	line-height: 1.5;
	background: var(--roxy-bg);
	color: var(--roxy-text);
}
.roxy-comment-form input:focus,
.roxy-comment-form textarea:focus { outline: none; border-color: var(--roxy-accent); box-shadow: 0 0 0 3px rgba(232,32,42,.12); }
.roxy-comment-form textarea { min-height: 140px; resize: vertical; }
.roxy-comment-form__submit {
	padding: .625rem 1.5rem;
	background: var(--roxy-accent);
	color: #fff;
	border: none;
	border-radius: var(--roxy-radius);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s;
}
.roxy-comment-form__submit:hover { background: #c41920; }

/* --------------------------------------------------------------------------
   28. Social Sharing
   -------------------------------------------------------------------------- */
.roxy-share {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 1.5rem 0;
	padding: 1rem 0;
	border-top: 1px solid var(--roxy-border);
	border-bottom: 1px solid var(--roxy-border);
}
.roxy-share__label {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--roxy-text-muted);
	margin-right: .25rem;
}
.roxy-share__btn {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--roxy-bg-alt);
	color: var(--roxy-text);
	transition: all .15s;
}
.roxy-share__btn svg { width: 18px; height: 18px; }
.roxy-share__btn:hover { transform: translateY(-2px); }
.roxy-share__btn--twitter:hover  { background: #000; color: #fff; }
.roxy-share__btn--facebook:hover { background: #1877f2; color: #fff; }
.roxy-share__btn--whatsapp:hover { background: #25d366; color: #fff; }
.roxy-share__btn--linkedin:hover { background: #0a66c2; color: #fff; }
.roxy-share__btn--email:hover    { background: var(--roxy-accent); color: #fff; }

/* --------------------------------------------------------------------------
   29. Dark Mode
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
	--roxy-bg: #1a1a1a;
	--roxy-bg-alt: #252525;
	--roxy-text: #e8e8e8;
	--roxy-text-muted: #999999;
	--roxy-border: #333333;
}
[data-theme="dark"] .site-header,
[data-theme="dark"] .site-footer { background: #111; }
[data-theme="dark"] .roxy-top-bar { background: #0c0c0c; border-color: #222; }
[data-theme="dark"] .roxy-ticker { background: #0f0f0f; }
[data-theme="dark"] .roxy-nav-toggle span { background: #fff; }
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select { background: #252525; color: #e8e8e8; border-color: #333; }
[data-theme="dark"] .roxy-photo-hero__overlay { background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.2) 100%); }

/* Dark mode toggle button */
.roxy-dark-toggle {
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	z-index: 9999;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: var(--roxy-accent);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0,0,0,.3);
	transition: transform .15s;
}
.roxy-dark-toggle:hover { transform: scale(1.05); }
.roxy-dark-toggle svg { width: 20px; height: 20px; }

/* Hide toggle when not enabled */
html:not([data-theme-toggle]) .roxy-dark-toggle { display: none; }

/* System preference (auto) */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) {
		--roxy-bg: #1a1a1a;
		--roxy-bg-alt: #252525;
		--roxy-text: #e8e8e8;
		--roxy-text-muted: #999999;
		--roxy-border: #333333;
	}
	:root:not([data-theme]) .site-header,
	:root:not([data-theme]) .site-footer { background: #111; }
	:root:not([data-theme]) .roxy-top-bar { background: #0c0c0c; border-color: #222; }
	:root:not([data-theme]) .roxy-ticker { background: #0f0f0f; }
}
