/*
Theme Name: Newpress
Theme URI: https://example.com/newpress
Author: Custom Build
Description: A custom WordPress theme for SaaS and tech product reviews.
Version: 4.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newpress
Tags: blog, custom-logo, featured-images, translation-ready

CUSTOMIZATION GUIDE:
To customize colors, fonts, and spacing, edit the CSS variables in the :root{} section below.

Color Variables:
- --ttr-primary: Main brand color (teal)
- --ttr-primary-dark: Dark variant of primary
- --ttr-bg: Page background
- --ttr-text: Text color

To add custom images in WordPress Admin:
1. Go to Appearance > Customize
2. Add header/footer images in "Site Identity"
3. Or upload via Media Library for post featured images

For featured images on posts/pages, upload via the WordPress Editor sidebar.
Fallback placeholder images will auto-generate if images are missing.
*/

:root {
	--ttr-bg: #f5f7fa;
	--ttr-surface: #ffffff;
	--ttr-surface-soft: #f0f5f8;
	--ttr-surface-tint: #e6f2f7;
	--ttr-border: #dae5f0;
	--ttr-border-strong: #c5d8e8;
	--ttr-text: #0a1929;
	--ttr-muted: #5a7285;
	--ttr-muted-strong: #3a4a5c;
	--ttr-primary: #0d947f;
	--ttr-primary-dark: #086555;
	--ttr-accent: #134b8b;
	--ttr-accent-2: #0d3b7a;
	--ttr-shadow-sm: 0 16px 32px rgba(10, 25, 41, 0.08);
	--ttr-shadow-lg: 0 32px 72px rgba(10, 25, 41, 0.15);
	--ttr-radius-sm: 16px;
	--ttr-radius: 24px;
	--ttr-radius-lg: 36px;
}

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

/* Placeholder Image Solutions */
.placeholder-image,
img.placeholder {
	width: 100%;
	height: auto;
	display: block;
	background: linear-gradient(135deg, #e6f2f7 0%, #f0f5f8 100%);
	min-height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ttr-muted);
	font-weight: 600;
	border-radius: var(--ttr-radius-sm);
	font-size: 0.9rem;
}

/* For featured images that don't have thumbnails */
.no-featured-image {
	width: 100%;
	height: 220px;
	background: linear-gradient(135deg, rgba(13, 148, 127, 0.1), rgba(19, 75, 139, 0.1));
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ttr-text);
	font-weight: 700;
	border-radius: var(--ttr-radius-sm);
	font-size: 1rem;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at top left, rgba(13, 148, 127, 0.12), transparent 32%),
		radial-gradient(circle at top right, rgba(19, 75, 139, 0.1), transparent 32%),
		var(--ttr-bg);
	color: var(--ttr-text);
	font-family: "Plus Jakarta Sans", sans-serif;
	line-height: 1.65;
	font-size: 1rem;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: inherit;
	text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid rgba(13, 148, 127, 0.45);
	outline-offset: 2px;
}

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

figure {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 1rem;
	color: var(--ttr-text);
	font-family: "Manrope", sans-serif;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

h1 {
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.1;
	letter-spacing: -0.04em;
}

h2 {
	font-size: clamp(1.6rem, 3.5vw, 2.5rem);
	line-height: 1.2;
}

h3 {
	font-size: clamp(1.3rem, 2.5vw, 1.8rem);
	line-height: 1.25;
}

h4 {
	font-size: 1.2rem;
	line-height: 1.3;
}

h5 {
	font-size: 1.1rem;
	line-height: 1.35;
}

h6 {
	font-size: 1rem;
	line-height: 1.4;
}

p {
	margin: 0 0 1rem;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

.container {
	width: min(1200px, calc(100% - 2rem));
	margin: 0 auto;
}

.site {
	min-height: 100vh;
}

.site-main {
	padding-bottom: 5rem;
	position: relative;
	isolation: isolate;
}

.site-main::before,
.site-main::after {
	content: "";
	position: absolute;
	pointer-events: none;
	z-index: -1;
}

.site-main::before {
	inset: 0;
	background:
		linear-gradient(120deg, rgba(13, 148, 127, 0.05), transparent 35%),
		linear-gradient(300deg, rgba(19, 75, 139, 0.06), transparent 38%);
}

.site-main::after {
	width: min(780px, 82vw);
	height: min(780px, 82vw);
	right: -240px;
	top: 24vh;
	background: radial-gradient(circle, rgba(13, 148, 127, 0.09), rgba(13, 148, 127, 0) 68%);
	filter: blur(3px);
}

.site-topbar {
	background: #0d1f46;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.85rem;
}

.site-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 0;
}

.site-topbar__inner p {
	margin: 0;
}

.site-topbar__links {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.site-topbar__links a {
	color: rgba(255, 255, 255, 0.88);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(247, 248, 251, 0.92);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(221, 227, 237, 0.92);
}

body.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: grid;
	grid-template-columns: 250px 1fr auto;
	align-items: center;
	gap: 2rem;
	padding: 1.15rem 0;
}

.site-branding {
	min-width: 0;
}

.custom-logo-link,
.site-branding a {
	display: inline-flex;
	align-items: center;
}

.custom-logo-link img,
.site-branding img {
	max-height: 78px;
	width: auto;
}

.site-title {
	margin: 0;
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -0.05em;
}

.site-nav ul,
.site-nav__menu,
.footer-menu,
.footer-list,
.editorial-list,
.trust-list,
.front-hero__points {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav ul,
.site-nav__menu {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 2rem;
}

.site-nav a {
	color: var(--ttr-text);
	font-size: 1.02rem;
	font-weight: 700;
}

.site-nav .current-menu-item > a,
.site-nav a:hover,
.text-link:hover,
.footer-menu a:hover,
.footer-list a:hover {
	color: var(--ttr-primary-dark);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.header-button,
.site-button,
.cta-strip .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0.95rem 1.8rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--ttr-primary);
	color: #fff;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
	box-shadow: 0 4px 16px rgba(13, 148, 127, 0.25);
}

.header-button:hover,
.site-button:hover,
.cta-strip .button:hover {
	background: var(--ttr-primary-dark);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(13, 148, 127, 0.35);
}

.closing-panel .site-button,
.editorial-band .site-button {
	background: rgba(255, 255, 255, 0.95);
	color: #0a1f35;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.closing-panel .site-button:hover,
.editorial-band .site-button:hover {
	background: #ffffff;
	color: #0a1f35;
}

.header-button--ghost,
.site-button--ghost,
.cta-strip .button--ghost {
	background: transparent;
	color: var(--ttr-text);
	border-color: var(--ttr-border-strong);
}

.header-button--ghost:hover,
.site-button--ghost:hover,
.cta-strip .button--ghost:hover {
	background: #fff;
	color: var(--ttr-text);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--ttr-primary);
	font-weight: 800;
	font-size: 1rem;
	transition: gap 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.text-link::after {
	content: "→";
	font-size: 0.95em;
	display: inline-block;
	transition: transform 0.25s ease;
}

.text-link:hover {
	color: var(--ttr-primary-dark);
	gap: 0.75rem;
}

.text-link:hover::after {
	transform: translateX(3px);
}

@keyframes ttr-fade-up {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes ttr-soft-float {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-4px);
	}
}

body.motion-ready .motion-target {
	opacity: 0;
	transform: translate3d(0, 22px, 0) scale(0.995);
	transition:
		opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--motion-delay, 0ms);
	will-change: transform, opacity;
}

body.motion-ready .motion-target.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
}

body.home:not(.motion-ready) .front-hero__intro,
body.home:not(.motion-ready) .front-brief,
body.home:not(.motion-ready) .section-head,
body.home:not(.motion-ready) .story-grid > *,
body.home:not(.motion-ready) .topic-grid > *,
body.home:not(.motion-ready) .pillar-grid > *,
body.home:not(.motion-ready) .editorial-band,
body.home:not(.motion-ready) .closing-panel {
	opacity: 0;
	animation: ttr-fade-up 0.7s ease-out forwards;
	will-change: transform, opacity;
}

body.home:not(.motion-ready) .front-hero__intro {
	animation-delay: 0.05s;
}

body.home:not(.motion-ready) .front-brief {
	animation-delay: 0.16s;
}

body.home:not(.motion-ready) .story-grid > *:nth-child(1),
body.home:not(.motion-ready) .topic-grid > *:nth-child(1),
body.home:not(.motion-ready) .pillar-grid > *:nth-child(1) {
	animation-delay: 0.08s;
}

body.home:not(.motion-ready) .story-grid > *:nth-child(2),
body.home:not(.motion-ready) .topic-grid > *:nth-child(2),
body.home:not(.motion-ready) .pillar-grid > *:nth-child(2) {
	animation-delay: 0.14s;
}

body.home:not(.motion-ready) .story-grid > *:nth-child(3),
body.home:not(.motion-ready) .topic-grid > *:nth-child(3),
body.home:not(.motion-ready) .pillar-grid > *:nth-child(3) {
	animation-delay: 0.2s;
}

body.home:not(.motion-ready) .story-grid > *:nth-child(4),
body.home:not(.motion-ready) .topic-grid > *:nth-child(4),
body.home:not(.motion-ready) .pillar-grid > *:nth-child(4) {
	animation-delay: 0.26s;
}

body.home:not(.motion-ready) .section-head {
	animation-delay: 0.05s;
}

body.home:not(.motion-ready) .editorial-band {
	animation-delay: 0.1s;
}

body.home:not(.motion-ready) .closing-panel {
	animation-delay: 0.12s;
}

body.home .front-brief::before,
body.home .topic-card::before,
body.home .closing-panel::before,
body.home .editorial-band::before {
	animation: ttr-soft-float 9s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
	body.motion-ready .motion-target,
	body.home:not(.motion-ready) .front-hero__intro,
	body.home:not(.motion-ready) .front-brief,
	body.home:not(.motion-ready) .section-head,
	body.home:not(.motion-ready) .story-grid > *,
	body.home:not(.motion-ready) .topic-grid > *,
	body.home:not(.motion-ready) .pillar-grid > *,
	body.home:not(.motion-ready) .editorial-band,
	body.home:not(.motion-ready) .closing-panel {
		opacity: 1;
		animation: none;
		transform: none;
		transition: none;
	}

	body.home .front-brief::before,
	body.home .topic-card::before,
	body.home .closing-panel::before,
	body.home .editorial-band::before {
		animation: none;
	}
}

.hero-kicker,
.section-kicker,
.eyebrow,
.feature-tag,
.topic-card__eyebrow,
.footer-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.2rem;
	color: var(--ttr-muted-strong);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.front-hero .hero-kicker,
.front-hero .hero-kicker::before {
	color: rgba(255, 255, 255, 0.8);
}

.front-hero .hero-kicker::before {
	background: rgba(255, 255, 255, 0.6);
}

.hero-kicker::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	background: var(--ttr-primary);
	border-radius: 50%;
}

.section-kicker::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	background: var(--ttr-primary);
	border-radius: 50%;
}

.eyebrow::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	background: var(--ttr-primary);
	border-radius: 50%;
}

.feature-tag {
	margin-bottom: 0.85rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(13, 148, 127, 0.08);
	color: #0d947f;
	letter-spacing: 0.08em;
	font-weight: 700;
	font-size: 0.8rem;
}

.front-hero,
.front-section,
.homepage-section,
.page-hero,
.single-header {
	padding: 3.5rem 0;
	position: relative;
	isolation: isolate;
}

.front-section::after,
.homepage-section::after,
.page-hero::after,
.single-header::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 10% 20%, rgba(13, 148, 127, 0.06), transparent 26%),
		radial-gradient(circle at 85% 82%, rgba(19, 75, 139, 0.06), transparent 24%);
	pointer-events: none;
	z-index: -1;
}

.front-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #1a4d42 0%, #0d3b4a 50%, #134b8b 100%);
	color: #ffffff;
	padding: 5rem 0 4rem;
}

.front-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.08), transparent 40%),
		radial-gradient(circle at 20% 80%, rgba(13, 148, 127, 0.2), transparent 45%);
	pointer-events: none;
	z-index: 0;
}

.front-section,
.homepage-section {
	padding: 4rem 0;
}

.front-section--soft,
.homepage-section--soft {
	background: linear-gradient(135deg, rgba(240, 245, 248, 0.8) 0%, rgba(230, 242, 247, 0.6) 100%);
}

.front-section--bordered {
	padding-top: 1.25rem;
}

.front-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 2rem;
	align-items: center;
	position: relative;
	z-index: 1;
}

.front-hero__intro {
	padding-right: 1rem;
}

.front-hero__intro h1,
.hero-copy h1 {
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	max-width: 13ch;
	line-height: 1.15;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.04em;
	margin-bottom: 1.5rem;
}

.hero-copy h1,
.page-title {
	color: var(--ttr-text);
}

.front-hero__intro p:last-of-type {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.1rem;
	line-height: 1.7;
}

.front-hero__intro p:last-of-type,
.archive-description,
.single-hero__excerpt,
.hero-copy p,
.editorial-copy p,
.method-card p,
.entry-page p,
.content-placeholder p,
.closing-panel__copy p,
.site-footer__brand p,
.site-footer__notes p {
	color: var(--ttr-muted);
}

.front-hero__actions,
.hero-actions,
.cta-panel__actions,
.closing-panel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 1.25rem;
}

.front-hero__points {
	display: grid;
	gap: 0.55rem;
	margin-top: 1.15rem;
	font-size: 0.95rem;
}

.front-hero__points li,
.editorial-list li,
.trust-list li,
.footer-list li,
.footer-menu li {
	position: relative;
	padding-left: 1.2rem;
	color: var(--ttr-muted-strong);
}

.front-hero__points li {
	color: rgba(255, 255, 255, 0.85);
}

.front-hero__points li::before,
.editorial-list li::before,
.trust-list li::before,
.footer-list li::before,
.footer-menu li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72rem;
	width: 0.42rem;
	height: 0.42rem;
	border-radius: 50%;
	background: var(--ttr-primary);
}

.lead-story,
.stack-story,
.review-card,
.journal-feature,
.content-placeholder,
.entry-page,
.entry-single,
.review-box,
.widget,
.topic-card,
.closing-panel,
.hero-proof,
.method-card,
.pillar-card {
	background: var(--ttr-surface);
	border: 1px solid var(--ttr-border);
	border-radius: var(--ttr-radius);
	box-shadow: 0 2px 8px rgba(16, 33, 63, 0.08), 0 4px 16px rgba(16, 33, 63, 0.04);
	transition: all 0.25s ease;
}

.lead-story {
	overflow: hidden;
	border-radius: 24px;
	position: relative;
}

.lead-story__media {
	position: relative;
	display: block;
	overflow: hidden;
}

.lead-story__media img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.lead-story:hover .lead-story__media img {
	transform: scale(1.03);
}

.lead-story__body {
	padding: 1.8rem;
	background: #ffffff;
}

.lead-story__body h2 {
	font-size: clamp(1.9rem, 3.2vw, 3rem);
	max-width: 11ch;
	line-height: 1;
	margin-bottom: 0.85rem;
}

.lead-story--placeholder {
	display: none;
}

/* Featured Slider Styles */
.featured-slider-wrapper {
	position: relative;
	z-index: 1;
	padding: 0 60px;
	margin: 0 -15px;
}

.featured-slider {
	position: relative;
	margin: 0 -15px;
}

.featured-slide {
	outline: none;
	padding: 0 15px;
}

.featured-slide.lead-story {
	border-radius: 20px;
	height: 100%;
}

.featured-slide .lead-story__media {
	border-radius: 20px 20px 0 0;
}

.featured-slide .lead-story__media img {
	height: 280px;
	object-fit: cover;
	display: block;
}

.featured-slide .lead-story__body {
	padding: 1.5rem;
	background: #fff;
	border-radius: 0 0 20px 20px;
}

.featured-slide .lead-story__body h2 {
	font-size: 1.3rem;
	max-width: 100%;
	margin-bottom: 0.75rem;
	line-height: 1.2;
	color: var(--ttr-text);
}

.featured-slide .lead-story__body p {
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--ttr-muted);
	margin-bottom: 1rem;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	display: -webkit-box;
}

.featured-slide .lead-story__body h2 a {
	color: var(--ttr-text);
	text-decoration: none;
}

.featured-slide .lead-story__body h2 a:hover {
	color: var(--ttr-primary);
}

.featured-slide .feature-tag {
	font-size: 0.8rem;
	margin-bottom: 0.5rem;
}

.featured-slide .post-meta {
	font-size: 0.9rem;
}

.featured-slider .slick-prev,
.featured-slider .slick-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 44px;
	height: 44px;
	background: var(--ttr-primary);
	border: none;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
}

.featured-slider .slick-prev::before,
.featured-slider .slick-next::before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	font-size: 20px;
	opacity: 1;
}

.featured-slider .slick-prev::before {
	border-width: 8px 12px 8px 0;
	border-color: transparent #fff transparent transparent;
}

.featured-slider .slick-next::before {
	border-width: 8px 0 8px 12px;
	border-color: transparent transparent transparent #fff;
}

.featured-slider .slick-prev {
	left: -55px;
}

.featured-slider .slick-next {
	right: -55px;
}

.featured-slider .slick-prev:hover,
.featured-slider .slick-next:hover {
	background: var(--ttr-primary-dark);
	transform: translateY(-50%) scale(1.1);
}

.featured-slider .slick-dots {
	display: none !important;
}

@media (max-width: 991px) {
	.featured-slider-wrapper {
		padding: 0 50px;
	}

	.featured-slider .slick-prev {
		left: -45px;
	}

	.featured-slider .slick-next {
		right: -45px;
	}

	.featured-slider .slick-prev,
	.featured-slider .slick-next {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 767px) {
	.featured-slider-wrapper {
		padding: 0 45px;
	}

	.featured-slider .slick-prev {
		left: 5px;
	}

	.featured-slider .slick-next {
		right: 5px;
	}

	.featured-slider .slick-prev,
	.featured-slider .slick-next {
		width: 36px;
		height: 36px;
	}

	.featured-slide {
		padding: 0 0.5rem;
	}
}

.front-featured {
	background: var(--ttr-surface);
	border-top: 1px solid var(--ttr-border);
	border-bottom: 1px solid var(--ttr-border);
	padding: 4rem 0;
}

.front-featured .front-hero__lead {
	margin: 0;
	padding: 0;
}

.front-featured .lead-story {
	border: none;
	box-shadow: none;
	background: transparent;
}

.front-featured .lead-story__media {
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(16, 33, 63, 0.08), 0 4px 16px rgba(16, 33, 63, 0.04);
	margin-bottom: 1.5rem;
}

.front-featured .lead-story__body {
	padding: 0;
	background: transparent;
}

.front-featured .lead-story__body h2 {
	font-size: clamp(2rem, 3.5vw, 3.2rem);
	max-width: 15ch;
	line-height: 1.1;
	margin-bottom: 1rem;
}

.front-featured .lead-story__body p {
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--ttr-muted);
	margin-bottom: 1.5rem;
}

.front-featured .feature-tag {
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ttr-primary);
	margin-bottom: 0.75rem;
}

.front-featured .lead-story--placeholder {
	display: block;
	border: none;
	background: transparent;
	padding: 3rem 0;
	text-align: center;
}

.front-featured .lead-story--placeholder h2 {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	color: var(--ttr-muted-strong);
}

.front-featured .lead-story--placeholder p {
	color: var(--ttr-muted);
}

.content-placeholder {
	display: block;
}

.stack-story--placeholder {
	display: none;
}

.front-hero__subgrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin-top: 1rem;
	align-items: start;
	position: relative;
	z-index: 1;
}

.stack-story-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.2rem;
}

.stack-story {
	overflow: hidden;
	border-radius: 20px;
}

.stack-story__media img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.stack-story__body {
	padding: 1.25rem;
}

.stack-story__body h3 {
	font-size: 1.2rem;
	line-height: 1.2;
	margin-bottom: 0.4rem;
}

.stack-story:hover .stack-story__media img {
	transform: scale(1.05);
}

.stack-story__body p {
	color: var(--ttr-muted);
	font-size: 0.88rem;
}

.stack-story--placeholder {
	min-height: 100%;
}

.front-brief {
	padding: 1.5rem;
	border-top: 5px solid var(--ttr-primary);
	background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
	border-radius: 20px;
	position: relative;
	overflow: hidden;
}

.front-brief::before {
	content: "";
	position: absolute;
	bottom: -30px;
	right: -50px;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(13, 148, 127, 0.1), transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.front-brief h2 {
	font-size: 1.45rem;
	max-width: 12ch;
	margin-bottom: 0.85rem;
	color: var(--ttr-text);
	position: relative;
	z-index: 2;
}

.front-brief__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 1.1rem 0 1.2rem;
	position: relative;
	z-index: 2;
}

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-bottom: 1.8rem;
}

.section-head h2,
.editorial-band__copy h2,
.hero-proof h2,
.method-card h3,
.closing-panel h2,
.cta-panel h2 {
	font-size: clamp(1.8rem, 3.5vw, 2.8rem);
	max-width: 14ch;
	color: var(--ttr-text);
	font-weight: 800;
}

.section-head p {
	max-width: 48ch;
	color: var(--ttr-muted);
	font-size: 1.02rem;
}

.section-head__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.85rem 1rem;
}

.story-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
}

.story-slider {
	position: relative;
}

.story-grid--slider {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-bottom: 0.35rem;
}

.story-grid--slider::-webkit-scrollbar {
	display: none;
}

.story-grid--slider > * {
	flex: 0 0 calc((100% - 1.4rem) / 2);
	min-width: 280px;
	scroll-snap-align: start;
}

.story-slider-nav {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.story-slider-nav.is-hidden {
	display: none;
}

.story-slider-nav__button {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid #d4e7f0;
	background: #ffffff;
	color: var(--ttr-text);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	transition: all 0.22s ease;
}

.story-slider-nav__button:hover {
	background: var(--ttr-primary);
	border-color: var(--ttr-primary);
	color: #ffffff;
}

.story-slider-nav__button[disabled] {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.story-grid--slider {
		scroll-behavior: auto;
	}
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
}

.review-card {
	overflow: hidden;
	border-radius: 20px;
	transition: all 0.25s ease;
}

.review-card__media img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.review-card:hover .review-card__media img {
	transform: scale(1.05);
}

.review-card__media--empty {
	display: grid;
	place-items: center;
	height: 220px;
	background: linear-gradient(135deg, rgba(13, 148, 127, 0.1), rgba(19, 75, 139, 0.1));
	color: var(--ttr-accent);
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.review-card__body {
	padding: 1.35rem;
}

.review-card h3 {
	font-size: 1.25rem;
	line-height: 1.15;
	margin-bottom: 0.5rem;
	color: var(--ttr-text);
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 0.95rem;
	margin-bottom: 1rem;
	color: var(--ttr-muted);
	font-size: 0.82rem;
}

.content-placeholder {
	display: block;
	padding: 1.15rem;
	background: rgba(255, 255, 255, 0.62);
	border-style: dashed;
	box-shadow: none;
}

.content-placeholder--feature {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 244, 255, 0.82));
	border-style: solid;
}

.content-placeholder h3 {
	font-size: 1.02rem;
	line-height: 1.15;
	margin-bottom: 0.55rem;
}

.content-placeholder p {
	font-size: 0.84rem;
	line-height: 1.55;
}

.editorial-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 2rem;
	align-items: start;
	padding: 3rem;
	background: linear-gradient(135deg, #1a4d42 0%, #0d3b4a 100%);
	color: #ffffff;
	border-radius: var(--ttr-radius);
	border: none;
	position: relative;
	overflow: hidden;
}

.editorial-band::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.editorial-band__copy h2 {
	color: #ffffff;
}

.editorial-band__copy p {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.05rem;
	line-height: 1.7;
}

.editorial-band__stats {
	display: grid;
	gap: 1.2rem;
	position: relative;
	z-index: 2;
}

.editorial-band__stats div {
	padding: 1.25rem 1.5rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--ttr-radius-sm);
	backdrop-filter: blur(10px);
}

.editorial-band__stats span {
	display: block;
	margin-bottom: 0.6rem;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.editorial-band__stats strong {
	font-size: 1.1rem;
	line-height: 1.4;
	color: #ffffff;
}

.topic-grid,
.pillar-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.4rem;
}

.front-section--compact {
	padding-top: 1.2rem;
}

.category-hub-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
}

.category-hub-card {
	padding: 1.7rem;
	border-radius: 20px;
	background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
	border: 1px solid #e6f2f7;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.category-hub-card__head h2 {
	font-size: 1.45rem;
	margin-bottom: 0.7rem;
	color: var(--ttr-text);
}

.category-hub-card__head p {
	color: var(--ttr-muted);
	margin-bottom: 0.65rem;
}

.category-hub-card__detail {
	font-size: 0.92rem;
	margin-bottom: 0.75rem;
}

.category-hub-card__meta {
	font-size: 0.83rem;
	font-weight: 700;
	color: var(--ttr-accent) !important;
	letter-spacing: 0.02em;
	margin-bottom: 0;
}

.category-hub-card__points {
	list-style: none;
	margin: 0 0 0.8rem;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.category-hub-card__points li {
	position: relative;
	padding-left: 1rem;
	color: var(--ttr-muted);
	font-size: 0.9rem;
	line-height: 1.4;
}

.category-hub-card__points li::before {
	content: "";
	position: absolute;
	top: 0.55rem;
	left: 0;
	width: 6px;
	height: 6px;
	background: var(--ttr-primary);
	border-radius: 50%;
}

.category-hub-card__posts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.category-hub-card__posts li {
	margin: 0;
}

.category-hub-card__posts a {
	color: var(--ttr-text);
	font-weight: 600;
	line-height: 1.4;
}

.category-hub-card__posts a:hover {
	color: var(--ttr-primary);
}

.category-hub-card__empty {
	color: var(--ttr-muted);
	font-size: 0.92rem;
	margin-bottom: 0;
}

.category-hub-card .text-link {
	margin-top: auto;
}

.topic-card,
.pillar-card {
	padding: 2rem;
	border-radius: 20px;
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
	border: 1px solid #e6f2f7;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.topic-card::before {
	content: "";
	position: absolute;
	top: -40px;
	right: -40px;
	width: 180px;
	height: 180px;
	background: radial-gradient(circle, rgba(13, 148, 127, 0.1), transparent 70%);
	pointer-events: none;
	border-radius: 50%;
}

.topic-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #0d947f 0%, #0d947f 100%);
	z-index: 1;
}

.topic-card h3,
.pillar-card h3 {
	font-size: 1.3rem;
	line-height: 1.25;
	margin-bottom: 0.9rem;
	color: var(--ttr-text);
	font-weight: 700;
	position: relative;
	z-index: 2;
}

.topic-card h3 a {
	color: inherit;
}

.topic-card h3 a:hover {
	color: var(--ttr-primary);
}

.topic-card p,
.pillar-card p {
	color: var(--ttr-muted);
	font-size: 0.95rem;
	line-height: 1.5;
	position: relative;
	z-index: 2;
}

.topic-card__detail {
	font-size: 0.9rem !important;
	margin-top: -0.15rem;
}

.topic-card__points {
	list-style: none;
	margin: 0.2rem 0 0.6rem;
	padding: 0;
	display: grid;
	gap: 0.45rem;
	position: relative;
	z-index: 2;
}

.topic-card__points li {
	position: relative;
	padding-left: 1rem;
	color: var(--ttr-muted);
	font-size: 0.88rem;
	line-height: 1.4;
}

.topic-card__points li::before {
	content: "";
	position: absolute;
	top: 0.5rem;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ttr-primary);
}

.topic-card__meta {
	font-size: 0.82rem !important;
	font-weight: 700;
	color: var(--ttr-accent) !important;
	letter-spacing: 0.01em;
}

.topic-card__link {
	position: relative;
	z-index: 2;
	margin-top: auto;
}

.topic-card:hover,
.review-card:hover,
.stack-story:hover,
.lead-story:hover,
.journal-feature:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(16, 33, 63, 0.15), 0 4px 12px rgba(16, 33, 63, 0.08);
}

.closing-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 2.5rem;
	padding: 2.8rem 3rem;
	background: linear-gradient(135deg, #0a1f35 0%, #1a4d42 100%);
	color: #ffffff;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
	overflow: hidden;
}

.closing-panel::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.closing-panel__copy {
	position: relative;
	z-index: 2;
}

.closing-panel__copy h2 {
	margin-bottom: 1.2rem;
	color: #ffffff;
}

.closing-panel__copy p {
	color: rgba(255, 255, 255, 0.85);
}

.closing-panel__actions {
	position: relative;
	z-index: 2;
}

.page-hero {
	padding: 4.5rem 0 2.5rem;
	background:
		linear-gradient(135deg, rgba(240, 245, 248, 0.88) 0%, rgba(230, 242, 247, 0.58) 100%),
		repeating-linear-gradient(90deg, rgba(19, 75, 139, 0.03) 0 1px, transparent 1px 30px);
	border-bottom: 1px solid rgba(218, 229, 240, 0.4);
}

.page-template-page-about .page-hero {
	background:
		radial-gradient(circle at 14% 18%, rgba(13, 148, 127, 0.15), transparent 28%),
		radial-gradient(circle at 82% 12%, rgba(19, 75, 139, 0.12), transparent 30%),
		linear-gradient(135deg, rgba(240, 245, 248, 0.92) 0%, rgba(230, 242, 247, 0.62) 100%);
}

.page-template-page-contact .page-hero {
	background:
		radial-gradient(circle at 18% 14%, rgba(13, 148, 127, 0.13), transparent 30%),
		radial-gradient(circle at 88% 78%, rgba(19, 75, 139, 0.1), transparent 26%),
		linear-gradient(135deg, rgba(240, 245, 248, 0.9) 0%, rgba(230, 242, 247, 0.58) 100%);
}

.page-title--archive {
	max-width: 12ch;
}

.blog-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.95rem 1.2rem;
	margin-top: 1rem;
}

.blog-intel {
	padding-top: 2rem;
}

.blog-intel-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.2rem;
}

.blog-intel-card {
	padding: 1.35rem 1.45rem;
	border-radius: 18px;
	background: linear-gradient(135deg, #ffffff 0%, #f6fafc 100%);
	border: 1px solid #dcebf4;
	box-shadow: 0 12px 28px rgba(10, 25, 41, 0.07);
}

.blog-intel-card span {
	display: inline-flex;
	margin-bottom: 0.78rem;
	font-size: 0.74rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ttr-muted-strong);
}

.blog-intel-card strong {
	display: block;
	font-size: clamp(1.25rem, 2.1vw, 1.8rem);
	line-height: 1.1;
	color: var(--ttr-accent-2);
	margin-bottom: 0.65rem;
}

.blog-intel-card p {
	color: var(--ttr-muted);
	margin-bottom: 0;
}

.blog-topic-strip {
	margin-top: 1.25rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
}

.blog-topic-strip > span {
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--ttr-muted-strong);
}

.blog-topic-strip__items {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.blog-topic-strip__items a {
	display: inline-flex;
	align-items: center;
	padding: 0.42rem 0.76rem;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid #d6e7f2;
	color: var(--ttr-accent);
	font-size: 0.84rem;
	font-weight: 700;
}

.blog-topic-strip__items a:hover {
	background: rgba(13, 148, 127, 0.12);
	border-color: rgba(13, 148, 127, 0.34);
	color: var(--ttr-primary-dark);
}

.blog-editor-note {
	margin-bottom: 1.55rem;
	padding: 1.55rem 1.7rem;
	border-radius: 20px;
	background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
	border: 1px solid #dcebf4;
	box-shadow: 0 8px 24px rgba(16, 33, 63, 0.08);
}

.blog-editor-note h2 {
	font-size: clamp(1.45rem, 2.7vw, 2rem);
	max-width: 22ch;
	margin-bottom: 0.6rem;
}

.blog-editor-note p {
	color: var(--ttr-muted);
	margin-bottom: 0;
}

.hero-shell,
.editorial-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 1.5rem;
	align-items: start;
}

.hero-copy,
.hero-proof,
.entry-page,
.method-card {
	padding: 2rem;
}

.hero-proof h2 {
	font-size: 2rem;
}

.method-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 1rem 0 1.4rem;
}

.method-tags span {
	display: inline-flex;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	background: rgba(21, 53, 111, 0.08);
	color: var(--ttr-accent);
	font-size: 0.92rem;
	font-weight: 700;
}

.about-proof-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.about-proof-card {
	padding: 1.35rem 1.45rem;
	border-radius: 18px;
	background: linear-gradient(135deg, #ffffff 0%, #f6fafc 100%);
	border: 1px solid #dcebf4;
	box-shadow: 0 12px 28px rgba(10, 25, 41, 0.07);
}

.about-proof-card span {
	display: inline-flex;
	margin-bottom: 0.8rem;
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ttr-muted-strong);
}

.about-proof-card strong {
	display: block;
	font-size: clamp(1.35rem, 2.3vw, 2rem);
	line-height: 1.1;
	color: var(--ttr-accent-2);
	margin-bottom: 0.7rem;
}

.about-proof-card p {
	color: var(--ttr-muted);
	margin-bottom: 0;
}

.about-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem;
}

.about-step {
	padding: 1.7rem;
	border-radius: 20px;
	background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
	border: 1px solid #e6f2f7;
	box-shadow: 0 2px 8px rgba(16, 33, 63, 0.08), 0 4px 16px rgba(16, 33, 63, 0.04);
}

.about-step span {
	display: inline-flex;
	margin-bottom: 0.9rem;
	padding: 0.38rem 0.62rem;
	border-radius: 999px;
	background: rgba(13, 148, 127, 0.12);
	color: var(--ttr-primary-dark);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.about-step h3 {
	font-size: 1.3rem;
	margin-bottom: 0.72rem;
}

.about-step p {
	color: var(--ttr-muted);
	margin-bottom: 0;
}

.about-coverage-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 1.45rem;
	align-items: start;
}

.about-coverage-list {
	display: grid;
	gap: 1rem;
}

.about-coverage-card {
	padding: 1.35rem;
	border-radius: 16px;
	background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
	border: 1px solid #e1edf5;
}

.about-coverage-card h3 {
	font-size: 1.25rem;
	margin-bottom: 0.6rem;
}

.about-coverage-card h3 a:hover {
	color: var(--ttr-primary);
}

.about-coverage-card p {
	color: var(--ttr-muted);
	margin-bottom: 0.95rem;
}

.about-recent-list {
	padding: 1.5rem;
	border-radius: 20px;
	background: linear-gradient(145deg, #11345f 0%, #1a4d42 100%);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.about-recent-list h3 {
	color: #fff;
	margin-bottom: 1rem;
}

.about-recent-card + .about-recent-card {
	margin-top: 1.05rem;
	padding-top: 1.05rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.about-recent-card .feature-tag {
	margin-bottom: 0.6rem;
	color: rgba(255, 255, 255, 0.84);
}

.about-recent-card h4 {
	font-size: 1.12rem;
	margin-bottom: 0.55rem;
	color: #fff;
}

.about-recent-card h4 a:hover {
	color: #d3f7ef;
}

.about-recent-card p {
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.95rem;
	margin-bottom: 0.65rem;
}

.about-recent-list .text-link {
	color: #9ff0df;
}

.about-recent-list .text-link:hover {
	color: #e4fff9;
}

.entry-page--contact-form > :not(.section-kicker):not(h2) {
	margin-top: 1rem;
}

.contact-direct-card {
	background: linear-gradient(145deg, #11345f 0%, #1a4d42 100%);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-direct-card h2 {
	color: #fff;
}

.contact-direct-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.contact-direct-list li {
	padding: 0.75rem 0.85rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.92);
}

.contact-direct-list a {
	color: #b5f8ea;
}

.contact-metrics-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.2rem;
}

.contact-metric-card {
	padding: 1.35rem 1.45rem;
	border-radius: 18px;
	background: linear-gradient(135deg, #ffffff 0%, #f6fafc 100%);
	border: 1px solid #dcebf4;
	box-shadow: 0 12px 28px rgba(10, 25, 41, 0.07);
}

.contact-metric-card span {
	display: inline-flex;
	margin-bottom: 0.78rem;
	font-size: 0.74rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ttr-muted-strong);
}

.contact-metric-card strong {
	display: block;
	font-size: clamp(1.25rem, 2.1vw, 1.8rem);
	line-height: 1.1;
	color: var(--ttr-accent-2);
	margin-bottom: 0.65rem;
}

.contact-metric-card p {
	color: var(--ttr-muted);
	margin-bottom: 0;
}

.contact-form-shell {
	max-width: 980px;
	margin: 0 auto;
}

.contact-alert {
	border-radius: 14px;
	padding: 0.9rem 1rem;
	border: 1px solid transparent;
}

.contact-alert p {
	margin-bottom: 0.45rem;
}

.contact-alert ul {
	margin: 0.2rem 0 0 1.1rem;
	padding: 0;
}

.contact-alert--success {
	background: rgba(13, 148, 127, 0.1);
	border-color: rgba(13, 148, 127, 0.35);
}

.contact-alert--error {
	background: rgba(185, 48, 48, 0.08);
	border-color: rgba(185, 48, 48, 0.28);
}

.contact-form {
	display: grid;
	gap: 1rem;
}

.contact-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.95rem;
}

.contact-form__trap {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.contact-field {
	display: grid;
	gap: 0.45rem;
}

.contact-field label {
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ttr-muted-strong);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
	width: 100%;
	padding: 0.82rem 0.9rem;
	border: 1px solid #cfe0ec;
	border-radius: 12px;
	background: #fff;
	font: inherit;
	color: var(--ttr-text);
}

.contact-field textarea {
	resize: vertical;
	min-height: 180px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
	border-color: rgba(13, 148, 127, 0.48);
	box-shadow: 0 0 0 4px rgba(13, 148, 127, 0.12);
	outline: none;
}

.entry-page--contact-form iframe,
.entry-page--contact-form form,
.entry-page--contact-form .zcwf_lblLeft,
.entry-page--contact-form .zcwf_lblTop {
	width: 100% !important;
	max-width: 100% !important;
}

.entry-page--contact-form iframe {
	min-height: 640px;
	border: 0;
	border-radius: 14px;
	background: #fff;
}

.entry-page--contact-form input,
.entry-page--contact-form select,
.entry-page--contact-form textarea {
	max-width: 100%;
	box-sizing: border-box;
}

.content-shell--narrow {
	max-width: 900px;
}

.journal-layout,
.archive-layout,
.single-layout,
.layout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 2.2rem;
	align-items: start;
}

.posts-feed {
	min-width: 0;
}

.journal-feature {
	margin-bottom: 1.75rem;
}

.journal-sidebar,
.archive-sidebar,
.single-sidebar,
.sidebar-area {
	position: sticky;
	top: 136px;
}

.journal-feature {
	overflow: hidden;
	border-radius: 20px;
}

.journal-feature__media {
	display: block;
	overflow: hidden;
}

.journal-feature__media img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.journal-feature:hover .journal-feature__media img {
	transform: scale(1.03);
}

.journal-feature__body {
	padding: 1.5rem;
}

.story-grid--journal {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.6rem;
}

.story-grid--journal .review-card__media img,
.story-grid--journal .review-card__media--empty {
	height: 260px;
}

.story-grid--journal .review-card__body {
	padding: 1.5rem;
}

.widget {
	padding: 1.5rem;
}

.widget + .widget {
	margin-top: 1rem;
}

.widget-title {
	font-size: 1.2rem;
	margin-bottom: 1rem;
}

.widget--toc {
	padding: 1.25rem 1.2rem;
	background: linear-gradient(180deg, rgba(244, 248, 255, 0.9), rgba(255, 255, 255, 0.95));
	border: 1px solid var(--ttr-border);
	border-radius: var(--ttr-radius-sm);
}

.toc-list {
	margin: 0;
	padding: 0;
	list-style: none;
	max-height: 56vh;
	overflow: auto;
}

.toc-list li + li {
	margin-top: 0.55rem;
}

.toc-list a {
	display: block;
	position: relative;
	padding-left: 0.9rem;
	color: var(--ttr-muted-strong);
	font-size: 0.92rem;
	line-height: 1.4;
}

.toc-list a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.58rem;
	width: 0.35rem;
	height: 0.35rem;
	border-radius: 50%;
	background: rgba(13, 148, 127, 0.55);
}

.toc-list a:hover {
	color: var(--ttr-primary-dark);
}

.toc-list a.is-active {
	color: var(--ttr-primary-dark);
	font-weight: 700;
}

.toc-list a.is-active::before {
	background: var(--ttr-primary);
}

.single-header {
	padding-bottom: 1.5rem;
}

.single-header__inner {
	max-width: 900px;
}

.single-header__media {
	margin: 0 auto 1.6rem;
	max-width: 980px;
	overflow: hidden;
	border-radius: var(--ttr-radius-lg);
	box-shadow: var(--ttr-shadow-lg);
}

.single-header__media img {
	width: 100%;
	height: clamp(320px, 52vw, 560px);
	object-fit: cover;
}

.single-layout--with-sidebar {
	grid-template-columns: minmax(0, 880px) minmax(0, 280px);
	justify-content: center;
}

.entry-single {
	padding: 2.2rem;
}

.entry-single--editorial {
	border-radius: 28px;
}

.single-layout--with-sidebar .single-sidebar {
	top: 124px;
}

.entry-content {
	max-width: 100%;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2.2rem;
}

.entry-content blockquote {
	margin: 2rem 0;
	padding: 1.4rem 1.6rem;
	border-left: 4px solid var(--ttr-primary);
	background: #f4f8ff;
	border-radius: 0 var(--ttr-radius-sm) var(--ttr-radius-sm) 0;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.25rem 1.2rem;
	padding-left: 1rem;
}

.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.post-tags a {
	display: inline-flex;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	background: rgba(13, 148, 127, 0.08);
	color: var(--ttr-primary-dark);
	font-size: 0.82rem;
	font-weight: 700;
}

.review-box {
	margin-bottom: 2rem;
	padding: 2rem;
	background: linear-gradient(180deg, rgba(239, 244, 255, 0.7), rgba(255, 255, 255, 0.94));
}

.review-box__header,
.pros-cons,
.cta-strip {
	display: flex;
	gap: 1rem;
}

.review-box__header {
	align-items: start;
	justify-content: space-between;
}

.rating-pill {
	min-width: 112px;
	padding: 1rem;
	border-radius: var(--ttr-radius-sm);
	background: var(--ttr-accent);
	color: #fff;
	text-align: center;
}

.rating-pill__value {
	display: block;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
}

.review-box__summary {
	color: var(--ttr-muted-strong);
}

.pros-cons {
	margin: 1.5rem 0;
}

.pros-cons__card {
	flex: 1;
	padding: 1.35rem;
	border-radius: var(--ttr-radius-sm);
	background: #f4fbf7;
}

.pros-cons__card--cons {
	background: #fff7f2;
}

.pros-cons__card ul {
	margin: 0;
	padding-left: 1.1rem;
}

.cta-strip {
	flex-wrap: wrap;
	margin-top: 1rem;
}

.comparison-table {
	margin-top: 1.25rem;
	border: 1px solid var(--ttr-border);
	border-radius: var(--ttr-radius-sm);
	overflow: hidden;
}

.comparison-table__head,
.comparison-table__row {
	display: grid;
	grid-template-columns: 1.2fr 1fr 0.8fr;
	gap: 1rem;
	padding: 1rem 1.1rem;
}

.comparison-table__head {
	background: var(--ttr-accent);
	color: #fff;
	font-weight: 700;
}

.comparison-table__row:nth-child(even) {
	background: #f7faff;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 2rem;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	min-height: 46px;
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--ttr-border);
	border-radius: 999px;
	background: var(--ttr-surface);
	font-weight: 700;
}

.pagination .current,
.pagination .page-numbers:hover {
	background: var(--ttr-primary);
	border-color: var(--ttr-primary);
	color: #fff;
}

.site-footer {
	padding-top: 0;
	background: linear-gradient(135deg, #0a1f35 0%, #1a4d42 100%);
	color: #ffffff;
	border-top: none;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 0.85fr));
	gap: 1.5rem;
	padding: 3rem 0 2rem;
}

.site-footer__grid > div {
	min-width: 0;
}

.site-footer__grid h3 {
	margin-bottom: 1.2rem;
	font-size: 1.15rem;
	color: #ffffff;
	font-weight: 700;
}

.site-footer__brand .custom-logo-link img {
	max-height: 54px;
	margin-bottom: 1.2rem;
	filter: brightness(1.1);
}

.site-footer__brand p,
.site-footer__nav a,
.site-footer__admin a,
.site-footer__contact a,
.site-footer__notes li {
	color: rgba(255, 255, 255, 0.75);
}

.site-footer__nav a:hover,
.site-footer__admin a:hover,
.site-footer__contact a:hover,
.site-footer__notes li a:hover {
	color: #ffffff;
}

.site-footer__contact a,
.site-footer__admin a {
	overflow-wrap: anywhere;
}

.footer-menu li,
.footer-list li {
	margin-bottom: 0.9rem;
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.5rem 0 2rem;
	background: rgba(10, 31, 53, 0.5);
}

.site-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.9rem;
}

.empty-state {
	padding: 2rem;
	background: var(--ttr-surface);
	border: 1px solid var(--ttr-border);
	border-radius: var(--ttr-radius);
}

.single-comments-wrap {
	max-width: 980px;
	margin: 2.2rem auto 0;
}

#comments {
	margin-top: 0;
	max-width: 880px;
	padding: 1.8rem 2rem;
	background: var(--ttr-surface);
	border: 1px solid var(--ttr-border);
	border-radius: 22px;
}

.comment-list {
	margin: 1rem 0 1.5rem;
	padding-left: 1.2rem;
}

.comment-list .comment {
	margin-bottom: 1rem;
}

.comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem 1rem;
}

.comment-form .comment-notes,
.comment-form .logged-in-as,
.comment-form .comment-form-comment,
.comment-form .comment-form-cookies-consent,
.comment-form .form-submit {
	grid-column: 1 / -1;
}

.comment-form p {
	margin-bottom: 0.9rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	max-width: 100%;
	border: 1px solid var(--ttr-border-strong);
	border-radius: 12px;
	padding: 0.7rem 0.85rem;
	font: inherit;
	color: var(--ttr-text);
	background: #fff;
}

.comment-form textarea {
	min-height: 170px;
	resize: vertical;
}

.comment-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.75rem 1.2rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--ttr-primary);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.comment-form input[type="submit"]:hover {
	background: var(--ttr-primary-dark);
}

@media (max-width: 991px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	.site-topbar__inner,
	.site-header__inner,
	.site-footer__bottom-inner,
	.section-head,
	.closing-panel,
	.about-coverage-grid,
	.hero-shell,
	.editorial-layout,
	.editorial-band,
	.front-hero__grid,
	.front-hero__subgrid,
	.journal-layout,
	.archive-layout,
	.single-layout,
	.layout-grid {
		grid-template-columns: 1fr;
		flex-direction: column;
	}

	.site-header__inner {
		display: grid;
	}

	.site-nav ul,
	.site-nav__menu {
		justify-content: flex-start;
		gap: 1rem 1.4rem;
	}

	.section-head {
		align-items: flex-start;
	}

	.section-head__actions {
		width: 100%;
		justify-content: space-between;
	}

	.story-grid--slider > * {
		flex-basis: calc((100% - 1.4rem) / 2);
		min-width: min(420px, calc(100% - 1rem));
	}

	.front-hero__intro {
		padding-right: 0;
	}

	.front-brief {
		width: 100%;
	}

	.site-header__actions {
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	.front-hero__intro h1,
	.hero-copy h1,
	.page-title {
		max-width: 100%;
	}

	.stack-story-list,
	.story-grid,
	.post-grid,
	.about-proof-grid,
	.about-steps,
	.blog-intel-grid,
	.contact-metrics-grid,
	.category-hub-grid,
	.topic-grid,
	.pillar-grid,
	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.journal-sidebar,
	.archive-sidebar,
	.single-sidebar {
		position: static;
	}

	.lead-story__media img,
	.journal-feature__media img {
		height: 420px;
	}
}

@media (max-width: 767px) {
	.container {
		width: min(100%, calc(100% - 1.4rem));
	}

	.site-topbar {
		display: none;
	}

	.site-header {
		position: static;
	}

	.site-header__inner {
		grid-template-columns: 1fr;
		padding: 1rem 0;
	}

	.custom-logo-link img,
	.site-branding img {
		max-height: 60px;
	}

	.front-hero,
	.front-section,
	.homepage-section,
	.page-hero,
	.single-header {
		padding: 2.25rem 0;
	}

	.front-hero__grid {
		gap: 1.15rem;
		align-items: stretch;
	}

	.front-hero__intro {
		padding-right: 0;
	}

	.front-hero__intro h1 {
		font-size: clamp(1.9rem, 8.6vw, 2.6rem);
		line-height: 1.08;
	}

	.front-hero__intro p:last-of-type {
		font-size: 1rem;
		line-height: 1.6;
	}

	.front-hero__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 0.7rem;
	}

	.front-hero__actions .site-button {
		width: 100%;
		justify-content: center;
	}

	.front-brief {
		padding: 1.25rem;
		margin: 0;
		border-radius: 16px;
	}

	.front-brief h2 {
		max-width: 100%;
		font-size: 1.35rem;
	}

	.section-head {
		align-items: flex-start;
		gap: 0.75rem;
	}

	.section-head h2 {
		max-width: 100%;
		font-size: clamp(1.7rem, 7vw, 2.2rem);
	}

	.section-head .text-link {
		align-self: flex-start;
	}

	.section-head__actions {
		width: 100%;
		justify-content: space-between;
	}

	.lead-story__media img,
	.journal-feature__media img,
	.review-card__media img {
		height: 260px;
	}

	.story-grid--slider > * {
		flex-basis: 100%;
		min-width: 100%;
	}

	.stack-story-list,
	.story-grid,
	.post-grid,
	.about-proof-grid,
	.about-steps,
	.blog-intel-grid,
	.contact-metrics-grid,
	.category-hub-grid,
	.topic-grid,
	.pillar-grid,
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.blog-topic-strip {
		align-items: flex-start;
		flex-direction: column;
	}

	.contact-form__grid {
		grid-template-columns: 1fr;
	}

	.lead-story__body,
	.journal-feature__body,
	.review-card__body,
	.entry-page,
	.entry-single,
	.review-box,
	.widget,
	.hero-copy,
	.hero-proof,
	.method-card,
	.closing-panel,
	.topic-card,
	.pillar-card,
	.content-placeholder {
		padding: 1.35rem;
	}

	.review-box__header,
	.pros-cons,
	.cta-strip {
		flex-direction: column;
	}

	.single-layout--with-sidebar {
		grid-template-columns: 1fr;
	}

	.comparison-table__head,
	.comparison-table__row {
		grid-template-columns: 1fr;
	}

	.comment-form {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
