:root {
	--oy-primary: #1d4ed8;
	--oy-primary-dark: #1e3a8a;
	--oy-navy: #172554;
	--oy-navy-dark: #0f172a;
	--oy-blue-soft: #eff6ff;
	--oy-accent: #facc15;
	--oy-accent-dark: #eab308;
	--oy-yellow-soft: #fefce8;
	--oy-background: #f8fafc;
	--oy-surface: #ffffff;
	--oy-text: #1f2937;
	--oy-heading: #172554;
	--oy-muted: #64748b;
	--oy-border: #e2e8f0;
	--oy-container-width: 1180px;
	--oy-content-width: 800px;
	--oy-radius-sm: 10px;
	--oy-radius-md: 14px;
	--oy-radius-lg: 20px;
	--oy-shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
	--oy-shadow-md: 0 12px 35px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	background: var(--oy-background);
	color: var(--oy-text);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.7;
	overflow-x: hidden;
	margin: 0;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

a {
	color: var(--oy-primary);
	text-underline-offset: 0.16em;
}

a:hover {
	color: var(--oy-primary-dark);
}

.site,
.site-content,
.content-area,
.site-main,
#primary {
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.site-content {
	display: block;
	padding: 0;
}

.inside-article {
	padding-left: 0;
	padding-right: 0;
}

.oyonights-container {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--oy-container-width);
	padding-left: 20px;
	padding-right: 20px;
	width: 100%;
}

.screen-reader-text:focus,
.skip-link:focus {
	background: var(--oy-navy-dark);
	color: #ffffff;
	padding: 12px 16px;
	position: fixed;
	z-index: 100000;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--oy-accent);
	outline-offset: 3px;
}

/* Header */
.oyonights-site-header {
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--oy-border);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.oyonights-header-inner {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: var(--oy-container-width);
	min-height: 74px;
	padding: 12px 20px;
}

.oyonights-branding {
	align-items: center;
	display: flex;
	gap: 12px;
	min-width: 0;
}

.oyonights-branding .custom-logo {
	max-height: 48px;
	width: auto;
}

.oyonights-site-title {
	color: var(--oy-navy);
	font-size: 1.5rem;
	font-weight: 800;
	text-decoration: none;
}

.oyonights-site-description {
	border-left: 1px solid var(--oy-border);
	color: var(--oy-muted);
	font-size: 0.78rem;
	line-height: 1.25;
	max-width: 180px;
	padding-left: 12px;
}

.oyonights-navigation {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: flex-end;
	min-width: 0;
}

.oyonights-primary-menu {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.oyonights-primary-menu li {
	margin: 0;
}

.oyonights-primary-menu a {
	border-radius: 8px;
	color: var(--oy-heading);
	display: block;
	font-size: 0.84rem;
	font-weight: 700;
	padding: 8px 10px;
	text-decoration: none;
}

.oyonights-primary-menu a:hover,
.oyonights-primary-menu .current-menu-item > a {
	background: var(--oy-blue-soft);
	color: var(--oy-primary);
}

.oyonights-header-search form {
	display: flex;
	gap: 6px;
	margin: 0;
}

.oyonights-header-search input[type="search"] {
	border: 1px solid var(--oy-border);
	border-radius: 8px;
	min-width: 170px;
	padding: 8px 10px;
}

.oyonights-header-search button {
	background: var(--oy-primary);
	border: 0;
	border-radius: 8px;
	color: #fff;
	padding: 8px 12px;
}

.oyonights-menu-toggle {
	background: transparent;
	border: 0;
	display: none;
	padding: 8px;
	cursor: pointer;
}

.oyonights-menu-toggle span {
	background: var(--oy-navy);
	display: block;
	height: 2px;
	margin: 4px 0;
	width: 24px;
}

/* Hero */
.oyonights-home-hero {
	background: radial-gradient(circle at 82% 15%, rgba(250, 204, 21, 0.22), transparent 30%), linear-gradient(135deg, var(--oy-navy) 0%, var(--oy-primary) 100%);
	color: #ffffff;
	padding: 78px 0 70px;
}

.oyonights-home-hero__inner {
	align-items: center;
	display: grid;
	gap: 44px;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.oyonights-home-hero h1 {
	color: #ffffff;
	font-size: clamp(2.35rem, 5vw, 4.3rem);
	letter-spacing: -0.04em;
	line-height: 1.06;
	margin-bottom: 20px;
	max-width: 820px;
}

.oyonights-home-hero__description {
	color: #dbeafe;
	font-size: 1.15rem;
	max-width: 760px;
}

.oyonights-eyebrow {
	color: var(--oy-primary);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.oyonights-home-hero .oyonights-eyebrow {
	color: #fef9c3;
}

.oyonights-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.oyonights-hero-card {
	background: rgba(255, 255, 255, 0.11);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--oy-radius-lg);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
	color: #ffffff;
	padding: 24px;
}

.oyonights-hero-card h2 {
	color: #ffffff;
	font-size: 1.3rem;
	margin-top: 0;
}

.oyonights-hero-card ul {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.oyonights-hero-card li {
	color: #dbeafe;
	display: flex;
	gap: 10px;
}

.oyonights-hero-card li span {
	color: var(--oy-accent);
	font-weight: 800;
}

.oyonights-hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 32px;
}

.oyonights-hero-trust span {
	color: #dbeafe;
	font-size: 0.9rem;
	font-weight: 600;
}

/* Buttons */
.oyonights-button {
	align-items: center;
	border: 2px solid transparent;
	border-radius: 10px;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	min-height: 46px;
	padding: 12px 18px;
	text-decoration: none;
}

.oyonights-button--yellow {
	background: var(--oy-accent);
	border-color: var(--oy-accent);
	color: var(--oy-navy);
}

.oyonights-button--yellow:hover {
	background: var(--oy-accent-dark);
	border-color: var(--oy-accent-dark);
	color: var(--oy-navy);
}

.oyonights-button--outline {
	border-color: #ffffff;
	color: #ffffff;
}

.oyonights-button--outline:hover {
	background: #ffffff;
	color: var(--oy-primary);
}

/* Sections */
.oyonights-home-section,
.oyonights-page-shell,
.oyonights-single-shell {
	padding: 64px 0;
}

.oyonights-home-section:nth-of-type(even),
.oyonights-trust-section,
.oyonights-editorial-section,
.oyonights-featured-section {
	background: var(--oy-surface);
}

.oyonights-section-heading {
	align-items: flex-end;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 28px;
}

.oyonights-section-heading h2 {
	margin-bottom: 8px;
}

.oyonights-text-link {
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.oyonights-text-link::after {
	content: " →";
}

/* Featured Guide Section */
.oyonights-featured-card {
	background: var(--oy-surface);
	border: 1px solid var(--oy-border);
	border-radius: var(--oy-radius-lg);
	box-shadow: var(--oy-shadow-md);
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
	overflow: hidden;
	padding: 24px;
}

.oyonights-featured-card__media img {
	aspect-ratio: 16 / 10;
	border-radius: var(--oy-radius-sm);
	object-fit: cover;
	width: 100%;
}

.oyonights-featured-card__placeholder {
	aspect-ratio: 16 / 10;
	background: var(--oy-blue-soft);
	border-radius: var(--oy-radius-sm);
}

.oyonights-featured-card__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.oyonights-featured-card__content h3 {
	font-size: clamp(1.4rem, 2.5vw, 1.9rem);
	line-height: 1.2;
	margin: 8px 0 14px;
}

.oyonights-featured-card__content h3 a {
	color: var(--oy-heading);
	text-decoration: none;
}

.oyonights-featured-card__content h3 a:hover {
	color: var(--oy-primary);
}

.oyonights-featured-card__content p {
	color: var(--oy-muted);
	font-size: 1.02rem;
	margin-bottom: 20px;
}

.oyonights-card-details {
	align-items: center;
	border-top: 1px solid var(--oy-border);
	color: var(--oy-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.85rem;
	gap: 16px;
	padding-top: 16px;
}

/* Cards Grid */
.oyonights-card-grid {
	display: grid;
	gap: 24px;
	width: 100%;
}

.oyonights-card-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.oyonights-card-grid--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.oyonights-post-card {
	background: var(--oy-surface);
	border: 1px solid var(--oy-border);
	border-radius: var(--oy-radius-md);
	box-shadow: var(--oy-shadow-sm);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.oyonights-post-card__image img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	width: 100%;
}

.oyonights-post-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px;
}

.oyonights-post-card__title {
	font-size: 1.2rem;
	line-height: 1.3;
	margin: 0 0 10px;
}

.oyonights-post-card__title a {
	color: var(--oy-heading);
	text-decoration: none;
}

.oyonights-post-card__excerpt {
	color: var(--oy-muted);
}

.oyonights-card-meta {
	color: var(--oy-muted);
	font-size: 0.82rem;
	margin-top: auto;
	padding-top: 16px;
}

/* Value Grid */
.oyonights-value-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.oyonights-value-card {
	background: var(--oy-surface);
	border: 1px solid var(--oy-border);
	border-radius: var(--oy-radius-md);
	box-shadow: var(--oy-shadow-sm);
	padding: 28px 24px;
}

.oyonights-value-icon {
	background: var(--oy-blue-soft);
	border-radius: 8px;
	color: var(--oy-primary);
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 800;
	margin-bottom: 14px;
	padding: 6px 10px;
}

.oyonights-value-card h3 {
	font-size: 1.15rem;
	margin: 0 0 8px;
}

.oyonights-value-card p {
	color: var(--oy-muted);
	font-size: 0.92rem;
	margin: 0;
}

/* Popular Guides Links */
.oyonights-guide-links {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oyonights-guide-links a {
	background: var(--oy-surface);
	border: 1px solid var(--oy-border);
	border-radius: var(--oy-radius-md);
	box-shadow: var(--oy-shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 24px;
	text-decoration: none;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.oyonights-guide-links a:hover {
	border-color: var(--oy-primary);
	transform: translateY(-2px);
}

.oyonights-guide-links strong {
	color: var(--oy-heading);
	font-size: 1.1rem;
}

.oyonights-guide-links span {
	color: var(--oy-muted);
	font-size: 0.92rem;
}

/* Editorial Standards */
.oyonights-editorial-card {
	background: var(--oy-blue-soft);
	border: 1px solid #bfdbfe;
	border-radius: var(--oy-radius-lg);
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	padding: 40px;
}

.oyonights-editorial-card h2 {
	color: var(--oy-heading);
	font-size: clamp(1.5rem, 2.5vw, 2.1rem);
	line-height: 1.25;
	margin-top: 6px;
}

.oyonights-editorial-points {
	display: grid;
	gap: 16px;
}

.oyonights-editorial-points p {
	color: var(--oy-text);
	font-size: 0.96rem;
	margin: 0;
}

.oyonights-editorial-points strong {
	color: var(--oy-heading);
}

/* Newsletter */
.oyonights-newsletter-section {
	background: var(--oy-navy);
	padding: 60px 0;
}

.oyonights-newsletter {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--oy-radius-lg);
	color: #ffffff;
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
	padding: 32px;
}

.oyonights-newsletter h2,
.oyonights-newsletter p,
.oyonights-newsletter .oyonights-eyebrow {
	color: #ffffff;
}

.oyonights-newsletter-placeholder {
	border: 1px dashed rgba(255, 255, 255, 0.45);
	border-radius: var(--oy-radius-md);
	color: #dbeafe;
	padding: 20px;
}

/* Trust Section */
.oyonights-trust-section__inner {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	padding: 64px 20px;
}

.oyonights-trust-section__inner p {
	color: var(--oy-muted);
}

/* Footer */
.oyonights-site-footer {
	background: var(--oy-navy-dark);
	color: #cbd5e1;
}

.oyonights-footer-inner {
	display: grid;
	gap: 32px;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	margin: 0 auto;
	max-width: var(--oy-container-width);
	padding: 56px 20px;
}

.oyonights-footer-title {
	color: #ffffff;
	font-size: 1.5rem;
	font-weight: 800;
	text-decoration: none;
}

.oyonights-footer-about p {
	color: #94a3b8;
	font-size: 0.9rem;
	max-width: 330px;
}

.oyonights-footer-column h2 {
	color: #ffffff;
	font-size: 0.9rem;
	text-transform: uppercase;
}

.oyonights-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.oyonights-footer-menu li {
	margin: 0;
}

.oyonights-footer-menu a {
	color: #cbd5e1;
	display: inline-Item;
	font-size: 0.9rem;
	padding: 4px 0;
	text-decoration: none;
}

.oyonights-footer-menu a:hover {
	color: var(--oy-accent);
}

.oyonights-footer-bottom {
	border-top: 1px solid #1e293b;
}

.oyonights-footer-bottom p {
	color: #64748b;
	font-size: 0.8rem;
	margin: 0;
	padding: 18px 0;
}

/* Empty State */
.oyonights-empty-state {
	background: var(--oy-surface);
	border: 1px dashed var(--oy-border);
	border-radius: var(--oy-radius-md);
	padding: 32px;
	text-align: center;
}

/* Responsive Styles */
@media (max-width: 1023px) {
	.oyonights-menu-toggle {
		display: block;
	}

	.oyonights-navigation {
		background: var(--oy-surface);
		border-bottom: 1px solid var(--oy-border);
		box-shadow: var(--oy-shadow-md);
		display: none;
		left: 0;
		padding: 16px 20px 22px;
		position: absolute;
		right: 0;
		top: 100%;
	}

	.oyonights-navigation.is-open {
		display: block;
	}

	.oyonights-primary-menu {
		display: block;
	}

	.oyonights-primary-menu a {
		border-bottom: 1px solid var(--oy-border);
		padding: 12px 4px;
	}

	.oyonights-header-search {
		margin-top: 14px;
	}

	.oyonights-home-hero__inner,
	.oyonights-featured-card,
	.oyonights-editorial-card {
		grid-template-columns: 1fr;
	}

	.oyonights-card-grid--three,
	.oyonights-card-grid--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.oyonights-value-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.oyonights-newsletter,
	.oyonights-trust-section__inner,
	.oyonights-footer-inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.oyonights-container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.oyonights-home-hero,
	.oyonights-home-section,
	.oyonights-page-shell,
	.oyonights-single-shell {
		padding: 44px 0;
	}

	.oyonights-home-hero h1 {
		font-size: clamp(2.2rem, 11vw, 3.4rem);
	}

	.oyonights-card-grid--three,
	.oyonights-card-grid--four,
	.oyonights-value-grid,
	.oyonights-guide-links,
	.oyonights-newsletter,
	.oyonights-trust-section__inner,
	.oyonights-footer-inner {
		grid-template-columns: 1fr;
	}

	.oyonights-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.oyonights-footer-column {
		border-top: 1px solid #1e293b;
		padding-top: 20px;
	}
}

/* =========================================
   Search Results Page Styles
   ========================================= */

.oyonights-search-page {
	padding: 48px 0 72px;
}

.oyonights-search-header {
	background: var(--oy-surface);
	border: 1px solid var(--oy-border);
	border-radius: var(--oy-radius-lg);
	box-shadow: var(--oy-shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 36px;
	padding: 40px;
}

.oyonights-search-header__top {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.oyonights-search-title {
	color: var(--oy-heading);
	font-size: clamp(1.75rem, 3vw, 2.4rem);
	letter-spacing: -0.03em;
	line-height: 1.2;
	margin: 0;
}

.oyonights-search-title span {
	color: var(--oy-primary);
	word-break: break-word;
}

.oyonights-search-count {
	color: var(--oy-muted);
	font-size: 0.95rem;
	font-weight: 600;
	margin: 0;
}

/* Search Form Inside Header / Empty State */
.oyonights-search-box-wrap form,
.oyonights-no-results-form form {
	display: flex;
	gap: 10px;
	max-width: 500px;
}

.oyonights-search-box-wrap input[type="search"],
.oyonights-no-results-form input[type="search"] {
	background: var(--oy-background);
	border: 1px solid var(--oy-border);
	border-radius: 10px;
	color: var(--oy-text);
	flex: 1;
	font-size: 0.95rem;
	min-height: 46px;
	padding: 0 16px;
}

.oyonights-search-box-wrap input[type="search"]:focus,
.oyonights-no-results-form input[type="search"]:focus {
	border-color: var(--oy-primary);
	outline: none;
}

.oyonights-search-box-wrap input[type="submit"],
.oyonights-no-results-form input[type="submit"] {
	background: var(--oy-primary);
	border: 0;
	border-radius: 10px;
	color: #ffffff;
	cursor: pointer;
	font-weight: 700;
	min-height: 46px;
	padding: 0 20px;
	transition: background 0.2s ease;
}

.oyonights-search-box-wrap input[type="submit"]:hover,
.oyonights-no-results-form input[type="submit"]:hover {
	background: var(--oy-primary-dark);
}

.oyonights-search-content {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* Empty State / No Results */
.oyonights-no-search-results {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
	padding: 60px 20px;
}

.oyonights-no-search-results h3 {
	color: var(--oy-heading);
	font-size: 1.5rem;
	margin: 0;
}

.oyonights-no-search-results p {
	color: var(--oy-muted);
	max-width: 480px;
	margin: 0;
}

.oyonights-no-results-form {
	margin-top: 10px;
	width: 100%;
	display: flex;
	justify-content: center;
}

/* Responsive Adjustments for Search Page */
@media (max-width: 767px) {
	.oyonights-search-page {
		padding: 32px 0 54px;
	}

	.oyonights-search-header {
		padding: 24px;
		margin-bottom: 24px;
	}

	.oyonights-search-box-wrap form,
	.oyonights-no-results-form form {
		flex-direction: column;
	}

	.oyonights-search-box-wrap input[type="submit"],
	.oyonights-no-results-form input[type="submit"] {
		width: 100%;
	}
}
/* =========================================
   404 Error Page Styles
   ========================================= */

.oyonights-404-page {
	padding: 80px 0 100px;
}

.oyonights-404-card {
	background: var(--oy-surface);
	border: 1px solid var(--oy-border);
	border-radius: var(--oy-radius-lg);
	box-shadow: var(--oy-shadow-md);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
	padding: 60px 40px;
}

.oyonights-404-badge {
	background: var(--oy-blue-soft);
	border-radius: 20px;
	color: var(--oy-primary);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 6px 16px;
	margin-bottom: 20px;
}

.oyonights-404-title {
	color: var(--oy-heading);
	font-size: clamp(2rem, 4vw, 2.8rem);
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin: 0 0 14px;
}

.oyonights-404-description {
	color: var(--oy-muted);
	font-size: 1.05rem;
	max-width: 520px;
	margin: 0 0 32px;
}

.oyonights-404-search {
	width: 100%;
	max-width: 480px;
	margin-bottom: 28px;
}

.oyonights-404-search-label {
	color: var(--oy-heading);
	font-size: 0.92rem;
	font-weight: 700;
	margin: 0 0 10px;
	text-align: left;
}

.oyonights-404-search form {
	display: flex;
	gap: 10px;
}

.oyonights-404-search input[type="search"] {
	background: var(--oy-background);
	border: 1px solid var(--oy-border);
	border-radius: 10px;
	color: var(--oy-text);
	flex: 1;
	font-size: 0.95rem;
	min-height: 46px;
	padding: 0 16px;
}

.oyonights-404-search input[type="search"]:focus {
	border-color: var(--oy-primary);
	outline: none;
}

.oyonights-404-search input[type="submit"] {
	background: var(--oy-primary);
	border: 0;
	border-radius: 10px;
	color: #ffffff;
	cursor: pointer;
	font-weight: 700;
	min-height: 46px;
	padding: 0 20px;
	transition: background 0.2s ease;
}

.oyonights-404-search input[type="submit"]:hover {
	background: var(--oy-primary-dark);
}

.oyonights-404-actions {
	margin-top: 4px;
}

/* Responsive Adjustments for 404 Page */
@media (max-width: 767px) {
	.oyonights-404-page {
		padding: 40px 0 60px;
	}

	.oyonights-404-card {
		padding: 36px 20px;
	}

	.oyonights-404-search form {
		flex-direction: column;
	}

	.oyonights-404-search input[type="submit"] {
		width: 100%;
	}
}

/* =========================================
   Single Post Page Styles (with Sidebar)
   ========================================= */

/* Reading Progress Bar */
.reading-progress {
	background: transparent;
	height: 4px;
	position: sticky;
	top: 74px;
	width: 100%;
	z-index: 999;
}

.reading-progress__bar {
	background: var(--oy-primary);
	height: 100%;
	transform-origin: left;
	transform: scaleX(0);
	width: 100%;
}

.oyonights-single-page {
	padding: 48px 0 80px;
}

.oyonights-single-article {
	display: grid;
	gap: 48px;
	grid-template-columns: minmax(0, 1fr) 360px;
	align-items: start;
}

.oyonights-single-main-col {
	background: var(--oy-surface);
	border: 1px solid var(--oy-border);
	border-radius: var(--oy-radius-lg);
	box-shadow: var(--oy-shadow-sm);
	padding: 48px;
	min-width: 0;
}

.oyonights-single-header {
	margin-bottom: 32px;
}

.oyonights-single-meta-top {
	color: var(--oy-primary);
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.oyonights-single-meta-top a {
	color: var(--oy-primary);
	text-decoration: none;
}

.oyonights-single-meta-top a:hover {
	text-decoration: underline;
}

.oyonights-single-title {
	color: var(--oy-heading);
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin: 0 0 16px;
}

.oyonights-single-meta-bottom {
	align-items: center;
	color: var(--oy-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9rem;
	gap: 8px;
}

.oyonights-single-meta-bottom .oyonights-author {
	color: var(--oy-heading);
	font-weight: 700;
}

.oyonights-single-thumbnail {
	margin-bottom: 36px;
}

.oyonights-single-thumbnail img {
	border-radius: var(--oy-radius-md);
	width: 100%;
	object-fit: cover;
	max-height: 480px;
}

/* Entry Content Typography */
.oyonights-single-body {
	color: var(--oy-text);
	font-size: 1.05rem;
	line-height: 1.8;
}

.oyonights-single-body h2,
.oyonights-single-body h3,
.oyonights-single-body h4 {
	color: var(--oy-heading);
	margin-top: 2em;
	margin-bottom: 0.75em;
	line-height: 1.25;
}

.oyonights-single-body h2 {
	font-size: 1.6rem;
}

.oyonights-single-body h3 {
	font-size: 1.35rem;
}

.oyonights-single-body p {
	margin-bottom: 1.5em;
}

.oyonights-single-body ul,
.oyonights-single-body ol {
	margin-bottom: 1.5em;
	padding-left: 1.5em;
}

.oyonights-single-body li {
	margin-bottom: 0.5em;
}

.oyonights-single-body blockquote {
	border-left: 4px solid var(--oy-primary);
	background: var(--oy-blue-soft);
	margin: 2em 0;
	padding: 20px 24px;
	border-radius: 0 var(--oy-radius-sm) var(--oy-radius-sm) 0;
}

.oyonights-single-body blockquote p:last-child {
	margin-bottom: 0;
}

.oyonights-single-footer {
	border-top: 1px solid var(--oy-border);
	margin-top: 48px;
	padding-top: 24px;
}

.oyonights-tags-list a {
	background: var(--oy-background);
	border: 1px solid var(--oy-border);
	border-radius: 6px;
	color: var(--oy-heading);
	display: inline-block;
	font-size: 0.85rem;
	margin: 4px 4px 4px 0;
	padding: 4px 10px;
	text-decoration: none;
}

.oyonights-tags-list a:hover {
	border-color: var(--oy-primary);
	color: var(--oy-primary);
}

/* Sidebar Styles */
.oyonights-single-sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
	position: sticky;
	top: 96px;
}

.oyonights-single-sidebar .widget {
	background: var(--oy-surface);
	border: 1px solid var(--oy-border);
	border-radius: var(--oy-radius-lg);
	box-shadow: var(--oy-shadow-sm);
	padding: 28px;
}

.oyonights-single-sidebar .widget-title {
	color: var(--oy-heading);
	font-size: 1.15rem;
	font-weight: 800;
	margin-top: 0;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--oy-blue-soft);
}

.oyonights-single-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.oyonights-single-sidebar li {
	border-bottom: 1px solid var(--oy-border);
	margin: 0;
	padding: 10px 0;
}

.oyonights-single-sidebar li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.oyonights-single-sidebar li:first-child {
	padding-top: 0;
}

.oyonights-single-sidebar a {
	color: var(--oy-text);
	text-decoration: none;
	display: flex;
	justify-content: space-between;
}

.oyonights-single-sidebar a:hover {
	color: var(--oy-primary);
}

/* Responsive Adjustments for Single Post */
@media (max-width: 1023px) {
	.oyonights-single-article {
		grid-template-columns: 1fr;
	}

	.oyonights-single-sidebar {
		position: static;
	}
}

@media (max-width: 767px) {
	.oyonights-single-page {
		padding: 24px 0 48px;
	}

	.oyonights-single-main-col {
		padding: 24px 16px;
	}
}