/* ==========================================================================
   Bra Size Calculator — Main Stylesheet
   Complete design system: Pink/Magenta theme
   ========================================================================== */


/* ==========================================================================
   SECTION 1 — CSS Custom Properties
   ========================================================================== */

:root {
	/* Colors */
	--color-primary: #e91e8c;
	--color-primary-dark: #c2177a;
	--color-primary-light: #ff6b9d;
	--color-dark: #13111c;
	--color-dark-card: #1e1b2e;
	--color-dark-border: #2d2a3e;
	--color-navy: #1a1a2e;
	--color-white: #ffffff;
	--color-light-bg: #fdf0f7;
	--color-light-card: #fff5fb;
	--color-text-dark: #1a1a2e;
	--color-text-muted: #6b7280;
	--color-text-light: #9ca3af;
	--color-success: #10b981;
	--color-warning: #f59e0b;

	/* Typography */
	--font-body: 'Inter', sans-serif;
	--font-heading: 'Playfair Display', serif;
	--font-size-xs: 0.75rem;
	--font-size-sm: 0.875rem;
	--font-size-base: 1rem;
	--font-size-lg: 1.125rem;
	--font-size-xl: 1.25rem;
	--font-size-2xl: 1.5rem;
	--font-size-3xl: 2rem;
	--font-size-4xl: 2.5rem;
	--font-size-5xl: 3.5rem;

	/* Spacing */
	--space-xs: 0.5rem;
	--space-sm: 0.75rem;
	--space-md: 1rem;
	--space-lg: 1.5rem;
	--space-xl: 2rem;
	--space-2xl: 3rem;
	--space-3xl: 4rem;
	--space-4xl: 6rem;

	/* Border Radius */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--radius-xl: 16px;
	--radius-full: 9999px;

	/* Shadows */
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
	--shadow-md: 0 4px 24px rgba(233, 30, 140, 0.08);
	--shadow-lg: 0 8px 40px rgba(233, 30, 140, 0.15);
	--shadow-dark: 0 4px 24px rgba(0, 0, 0, 0.3);

	/* Transitions */
	--transition: all 0.3s ease;
}


/* ==========================================================================
   SECTION 2 — CSS Reset
   ========================================================================== */

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	font-size: var(--font-size-base);
	line-height: 1.7;
	color: var(--color-text-dark);
	background-color: var(--color-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.menu-open {
	overflow: hidden;
}

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

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

ul,
ol {
	list-style: none;
}

button {
	font-family: inherit;
	cursor: pointer;
}

address {
	font-style: normal;
}


/* ==========================================================================
   SECTION 3 — Typography
   ========================================================================== */

h1 {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 900;
	line-height: 1.15;
	color: var(--color-text-dark);
}

h2 {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-text-dark);
}

h3 {
	font-family: var(--font-body);
	font-size: var(--font-size-2xl);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-text-dark);
}

h4 {
	font-family: var(--font-body);
	font-size: var(--font-size-xl);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-text-dark);
}

h5 {
	font-family: var(--font-body);
	font-size: var(--font-size-lg);
	font-weight: 500;
	line-height: 1.4;
	color: var(--color-text-dark);
}

p {
	font-size: var(--font-size-base);
	line-height: 1.8;
	color: var(--color-text-muted);
}

.text-pink {
	color: var(--color-primary);
}

.text-gradient {
	background: linear-gradient(135deg, var(--color-primary), #8b5cf6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}


/* ==========================================================================
   SECTION 4 — Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--color-dark);
	border-bottom: 1px solid var(--color-dark-border);
	transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
	box-shadow: var(--shadow-dark);
}

.header-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 70px;
}

.site-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}

.site-logo img {
	height: 45px;
	width: auto;
}

.site-logo-text {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-white);
}

.main-nav ul {
	display: flex;
	list-style: none;
	gap: 2rem;
	align-items: center;
}

.main-nav a {
	color: var(--color-white);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	padding: 0.5rem 0;
	transition: var(--transition);
}

.main-nav a:hover {
	color: var(--color-primary);
}

.nav-dropdown {
	position: relative;
}

.nav-dropdown-toggle {
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--color-white);
	font-size: 0.9rem;
	font-weight: 500;
	background: none;
	border: none;
	padding: 0.5rem 0;
	transition: var(--transition);
}

.nav-dropdown-toggle:hover {
	color: var(--color-primary);
}

.nav-dropdown-chevron {
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.nav-dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--color-dark-card);
	border: 1px solid var(--color-dark-border);
	border-radius: var(--radius-lg);
	padding: 0.5rem;
	min-width: 220px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	box-shadow: var(--shadow-dark);
	z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
	opacity: 1;
	visibility: visible;
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown.open .nav-dropdown-chevron {
	transform: rotate(180deg);
}

.nav-dropdown-menu a {
	display: block;
	padding: 0.6rem 1rem;
	color: #d1d5db;
	border-radius: var(--radius-md);
	font-size: var(--font-size-sm);
	transition: var(--transition);
}

.nav-dropdown-menu a:hover {
	background: rgba(233, 30, 140, 0.1);
	color: var(--color-primary);
}

.btn-nav {
	background: var(--color-primary);
	color: var(--color-white);
	padding: 0.5rem 1.25rem;
	border-radius: var(--radius-full);
	font-weight: 600;
	font-size: var(--font-size-sm);
	transition: var(--transition);
	display: inline-flex;
	align-items: center;
	border: none;
	text-decoration: none;
}

.btn-nav:hover {
	background: var(--color-primary-dark);
	color: var(--color-white);
}

.hamburger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.hamburger-box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 24px;
}

.hamburger-line {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--color-white);
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
	opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.nav-close {
	display: none;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 1rem;
	right: 1.25rem;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	color: var(--color-white);
	padding: 0;
	cursor: pointer;
}

.skip-link {
	position: absolute;
	top: -100%;
	left: 16px;
	z-index: 10000;
	padding: 10px 20px;
	background: var(--color-primary);
	color: var(--color-white);
	border-radius: var(--radius-md);
	font-size: var(--font-size-sm);
	font-weight: 600;
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
}


/* ==========================================================================
   SECTION 5 — Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 2rem;
	border-radius: var(--radius-md);
	font-weight: 600;
	font-size: var(--font-size-base);
	cursor: pointer;
	transition: var(--transition);
	border: none;
	text-decoration: none;
	line-height: 1;
}

.btn-primary {
	background: var(--color-primary);
	color: var(--color-white);
}

.btn-primary:hover {
	background: var(--color-primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn-secondary {
	background: transparent;
	color: var(--color-primary);
	border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
	background: var(--color-primary);
	color: var(--color-white);
}

.btn-large {
	padding: 1rem 2.5rem;
	font-size: var(--font-size-lg);
}

.btn-full {
	width: 100%;
	justify-content: center;
}


/* ==========================================================================
   SECTION 6 — Layout Utilities
   ========================================================================== */

.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 2rem;
	width: 100%;
}

.container-sm {
	max-width: 860px;
	margin: 0 auto;
	padding: 0 2rem;
	width: 100%;
}

.section {
	padding: var(--space-4xl) 0;
}

.section-dark {
	background: var(--color-dark);
}

.section-light {
	background: var(--color-light-bg);
}

.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.grid-9 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.flex-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.text-center {
	text-align: center;
}


/* ==========================================================================
   SECTION 7 — Cards
   ========================================================================== */

.card {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	padding: 2rem;
	box-shadow: var(--shadow-md);
	transition: var(--transition);
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.card-dark {
	background: var(--color-dark-card);
	border: 1px solid var(--color-dark-border);
}

.card-icon {
	width: 56px;
	height: 56px;
	background: var(--color-light-bg);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.card-icon svg {
	width: 28px;
	height: 28px;
	color: var(--color-primary);
}

.card-title {
	font-size: var(--font-size-lg);
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--color-text-dark);
}

.card-subtitle {
	font-size: var(--font-size-sm);
	color: var(--color-primary);
	font-weight: 500;
	margin-bottom: 0.75rem;
}

.card-text {
	font-size: 0.9rem;
	color: var(--color-text-muted);
	line-height: 1.7;
}

.card-link {
	color: var(--color-primary);
	font-weight: 600;
	font-size: var(--font-size-sm);
	text-decoration: none;
	margin-top: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	transition: var(--transition);
}

.card-link:hover {
	gap: 0.5rem;
}


/* ==========================================================================
   SECTION 8 — Hero Section
   ========================================================================== */

.hero {
	background: var(--color-dark);
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	max-width: 1280px;
	margin: 0 auto;
	padding: 6rem 2rem;
	width: 100%;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(233, 30, 140, 0.1);
	border: 1px solid rgba(233, 30, 140, 0.3);
	color: var(--color-primary);
	padding: 0.4rem 1rem;
	border-radius: var(--radius-full);
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.hero-title {
	font-size: clamp(2.5rem, 5vw, 4rem);
	color: var(--color-white);
	font-family: var(--font-heading);
	font-weight: 900;
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.hero-title span {
	color: var(--color-primary);
}

.hero-subtitle {
	font-size: 1.1rem;
	color: var(--color-text-light);
	line-height: 1.8;
	margin-bottom: 2rem;
}

.hero-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.hero-trust {
	display: flex;
	align-items: center;
	gap: 2rem;
	margin-top: 2rem;
	font-size: var(--font-size-sm);
	color: var(--color-text-muted);
}

.hero-stats {
	display: flex;
	gap: 2rem;
	margin-top: 1.5rem;
}

.hero-stat-number {
	font-size: var(--font-size-2xl);
	font-weight: 700;
	color: var(--color-white);
}

.hero-stat-label {
	font-size: var(--font-size-xs);
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}


/* ==========================================================================
   SECTION 9 — Post Cards
   ========================================================================== */

.post-card {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	position: relative;
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.post-card-image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	position: relative;
}

.post-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.post-card:hover .post-card-image img {
	transform: scale(1.05);
}

.post-card-body {
	padding: 1.5rem;
}

.post-card-category {
	display: inline-block;
	font-size: var(--font-size-xs);
	font-weight: 600;
	color: var(--color-primary);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

.post-card-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-text-dark);
	line-height: 1.4;
	margin-bottom: 0.75rem;
}

.post-card-title a {
	color: inherit;
	text-decoration: none;
}

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

.post-card-excerpt {
	font-size: var(--font-size-sm);
	color: var(--color-text-muted);
	line-height: 1.7;
	margin-bottom: 1rem;
}

.post-card-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 0.8rem;
	color: var(--color-text-light);
}

.post-card-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: var(--color-primary);
	color: var(--color-white);
	padding: 0.3rem 0.75rem;
	border-radius: var(--radius-full);
	font-size: var(--font-size-xs);
	font-weight: 600;
	z-index: 1;
}


/* ==========================================================================
   SECTION 10 — FAQ Accordion
   ========================================================================== */

.faq-section {
	padding: var(--space-4xl) 0;
}

.faq-tabs {
	display: flex;
	gap: 1rem;
	margin-bottom: 2rem;
	border-bottom: 2px solid #f3f4f6;
	padding-bottom: 1rem;
}

.faq-tab {
	padding: 0.5rem 1.25rem;
	border-radius: var(--radius-full);
	font-weight: 500;
	cursor: pointer;
	border: none;
	background: transparent;
	color: var(--color-text-muted);
	font-size: var(--font-size-sm);
	transition: var(--transition);
}

.faq-tab:hover {
	color: var(--color-primary);
}

.faq-tab.active {
	background: var(--color-primary);
	color: var(--color-white);
}

.faq-stats {
	display: flex;
	gap: 3rem;
	margin-bottom: 2.5rem;
}

.faq-stat-number {
	font-size: var(--font-size-3xl);
	font-weight: 700;
	color: var(--color-primary);
}

.faq-stat-label {
	font-size: var(--font-size-xs);
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.faq-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.faq-item {
	border: 1px solid #f3f4f6;
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: var(--transition);
}

.faq-item.active {
	border-color: var(--color-primary);
}

.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.25rem 1.5rem;
	cursor: pointer;
	background: var(--color-white);
	gap: 1rem;
	border: none;
	width: 100%;
	text-align: left;
}

.faq-question-text {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--color-text-dark);
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.faq-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--color-primary);
	flex-shrink: 0;
}

.faq-toggle {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid #e5e7eb;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: var(--transition);
	font-size: 1.2rem;
	color: var(--color-text-muted);
	background: transparent;
}

.faq-item.active .faq-toggle {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-white);
}

.faq-answer {
	padding: 0 1.5rem;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
	max-height: 500px;
	padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
	font-size: var(--font-size-sm);
	color: var(--color-text-muted);
	line-height: 1.8;
}


/* ==========================================================================
   SECTION 11 — Footer
   ========================================================================== */

.site-footer {
	background: var(--color-dark);
	color: var(--color-white);
	padding: var(--space-4xl) 0 0;
}

.footer-top {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 4rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--color-dark-border);
}

.footer-brand-name {
	font-family: var(--font-heading);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--color-white);
	margin-bottom: 0.5rem;
}

.footer-brand-name span {
	color: var(--color-primary);
}

.footer-tagline {
	font-size: var(--font-size-sm);
	color: var(--color-primary);
	font-weight: 500;
	margin-bottom: 1rem;
}

.footer-description {
	font-size: var(--font-size-sm);
	color: var(--color-text-light);
	line-height: 1.8;
	max-width: 380px;
}

.footer-heading {
	font-size: var(--font-size-sm);
	font-weight: 600;
	color: var(--color-white);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 1.5rem;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 0.75rem;
}

.footer-links a {
	color: var(--color-text-light);
	text-decoration: none;
	font-size: var(--font-size-sm);
	transition: var(--transition);
}

.footer-links a:hover {
	color: var(--color-primary-light);
}

.social-links {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.social-link {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--color-dark-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-text-light);
	transition: var(--transition);
	text-decoration: none;
}

.social-link:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
	background: rgba(233, 30, 140, 0.1);
}

.social-link svg {
	width: 18px;
	height: 18px;
}

.footer-social-text {
	font-size: 0.8rem;
	color: var(--color-text-light);
	line-height: 1.7;
	max-width: 280px;
}

.footer-bottom {
	text-align: center;
	padding: 1.5rem 0;
	color: var(--color-text-muted);
	font-size: var(--font-size-sm);
	border-top: 1px solid var(--color-dark-border);
}

.footer-bottom a {
	color: var(--color-text-light);
	text-decoration: none;
	transition: var(--transition);
}

.footer-bottom a:hover {
	color: var(--color-primary);
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 2rem;
}

.footer-legal {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
}

.footer-legal-sep {
	color: var(--color-dark-border);
}


/* ==========================================================================
   SECTION 12 — Breadcrumbs
   ========================================================================== */

.breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--font-size-sm);
	color: var(--color-text-muted);
	padding: 1rem 0;
	flex-wrap: wrap;
}

.breadcrumb a {
	color: var(--color-primary);
	text-decoration: none;
	transition: var(--transition);
}

.breadcrumb a:hover {
	text-decoration: underline;
}

.breadcrumb__separator {
	color: var(--color-text-light);
}

.breadcrumb__item--current,
.breadcrumb-current {
	color: var(--color-text-dark);
	font-weight: 500;
}


/* ==========================================================================
   SECTION 13 — Trust Bar
   ========================================================================== */

.trust-bar {
	display: flex;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
	font-size: 0.85rem;
	color: var(--color-text-light);
}

.trust-item {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.trust-item svg {
	flex-shrink: 0;
}

.trust-divider {
	color: var(--color-dark-border);
}


/* ==========================================================================
   SECTION 14 — Section Headers
   ========================================================================== */

.section-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--color-primary);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
}

.section-label::before {
	content: "";
	width: 8px;
	height: 8px;
	background: var(--color-primary);
	border-radius: 50%;
}

.section-title {
	font-family: var(--font-heading);
	text-align: center;
	margin-bottom: 1rem;
}

.section-subtitle {
	text-align: center;
	color: var(--color-text-muted);
	font-size: 1.1rem;
	max-width: 600px;
	margin: 0 auto 3rem;
	line-height: 1.8;
}


/* ==========================================================================
   SECTION 15 — Stats Counter
   ========================================================================== */

.stats-bar {
	display: flex;
	justify-content: center;
	gap: 4rem;
	padding: 2rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-dark-border);
}

.stats-bar .stat-item {
	text-align: center;
}

.stat-number {
	font-size: var(--font-size-3xl);
	font-weight: 700;
	color: var(--color-white);
}

.stat-label {
	font-size: var(--font-size-xs);
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}


/* ==========================================================================
   SECTION 16 — Front Page: Hero, Preview Card, Steps, Knowledge Hub
   ========================================================================== */

.site-main {
	min-height: 50vh;
}

/* Hero content / preview grid */
.hero-content {
	max-width: 560px;
}

.hero-preview {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

/* Hero badge dot + separator */
.hero-badge-dot {
	width: 8px;
	height: 8px;
	background: var(--color-primary);
	border-radius: 50%;
	display: inline-block;
}

.hero-badge-sep {
	opacity: 0.5;
	margin: 0 0.25rem;
}

/* Hero title italic styling */
.hero-title em {
	font-style: italic;
	color: var(--color-white);
}

.hero-title span {
	display: block;
}

/* Hero preview card */
.hero-preview-card {
	padding: 1.5rem;
	max-width: 400px;
	width: 100%;
	font-size: 0.85rem;
}

.hero-preview-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(233, 30, 140, 0.15);
	color: var(--color-primary);
	padding: 0.3rem 0.75rem;
	border-radius: var(--radius-full);
	font-size: 0.7rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.hero-preview-header {
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--color-text-light);
	letter-spacing: 0.1em;
	text-align: right;
	margin-bottom: 1rem;
}

.hero-preview-field {
	margin-bottom: 0.75rem;
}

.hero-preview-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: #d1d5db;
	margin-bottom: 0.35rem;
	display: flex;
	justify-content: space-between;
}

.hero-preview-label span {
	color: var(--color-text-light);
	font-weight: 400;
}

.hero-preview-input {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--color-dark-border);
	border-radius: var(--radius-md);
	padding: 0.6rem 0.75rem;
}

.hero-preview-value {
	color: var(--color-white);
	font-family: 'Courier New', monospace;
	font-weight: 600;
}

.hero-preview-tag {
	font-size: 0.7rem;
	padding: 0.2rem 0.5rem;
	border-radius: var(--radius-sm);
	font-weight: 600;
}

.hero-preview-tag--pink {
	background: rgba(233, 30, 140, 0.15);
	color: var(--color-primary);
}

.hero-preview-result {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--color-dark-border);
}

.hero-preview-result-label {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--color-text-light);
	margin-bottom: 0.5rem;
}

.hero-preview-result-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.hero-preview-size {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 900;
	color: var(--color-white);
	line-height: 1;
}

.hero-preview-sisters {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.hero-preview-ideal {
	font-size: 0.75rem;
	color: var(--color-text-light);
	margin-bottom: 0.75rem;
	line-height: 1.4;
}

.hero-preview-shapes {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.hero-shape-tag {
	font-size: 0.7rem;
	padding: 0.25rem 0.6rem;
	border: 1px solid var(--color-dark-border);
	border-radius: var(--radius-full);
	color: var(--color-primary);
	font-weight: 500;
}

.hero-preview-confidence {
	display: flex;
	justify-content: space-between;
	font-size: 0.75rem;
	color: var(--color-text-light);
	margin-bottom: 0.4rem;
}

.hero-preview-stats {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--color-dark-border);
}

.hero-preview-stat {
	text-align: center;
	flex: 1;
}

.hero-preview-stat-number {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-white);
}

.hero-preview-stat-label {
	display: block;
	font-size: 0.6rem;
	color: var(--color-text-light);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 0.15rem;
}

/* Hero steps bar */
.hero-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	padding: 2.5rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	margin-top: 2rem;
}

.hero-step {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.875rem;
}

.hero-step-number {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin-bottom: 0.5rem;
}

/* Calc label hint inline */
.calc-label-hint-inline {
	font-weight: 400;
	color: var(--color-text-muted);
}

/* Calc error */
.calc-error {
	color: var(--color-primary);
	font-size: var(--font-size-sm);
	margin-top: 0.5rem;
	text-align: center;
}

/* FAQ panel */
.faq-panel {
	display: block;
}

/* Post card image meta overlay */
.post-card-image {
	position: relative;
}

.post-card-image-meta {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0.75rem;
}

.post-card-cat-overlay,
.post-card-read-overlay {
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.25rem 0.6rem;
	border-radius: var(--radius-sm);
	background: rgba(0, 0, 0, 0.65);
	color: var(--color-white);
}

/* Stats bar on light backgrounds */
.section:not(.section-dark) .stats-bar {
	background: var(--color-white);
	border-color: #f3f4f6;
}

.section:not(.section-dark) .stat-number {
	color: var(--color-text-dark);
}


/* ==========================================================================
   SECTION 17 — Single Post Template
   ========================================================================== */

.single-breadcrumb-bar {
	background: var(--color-light-bg);
	border-bottom: 1px solid #f3f4f6;
}

/* Hero image */
.single-hero {
	position: relative;
	max-height: 480px;
	overflow: hidden;
}

.single-hero-image {
	width: 100%;
	max-height: 480px;
	overflow: hidden;
}

.single-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-hero-badge {
	position: absolute;
	top: 1.25rem;
	left: 1.25rem;
	background: var(--color-primary);
	color: var(--color-white);
	padding: 0.3rem 0.9rem;
	border-radius: var(--radius-full);
	font-size: var(--font-size-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Header */
.single-header {
	padding: 2.5rem 0 2rem;
	border-bottom: 1px solid #f3f4f6;
	margin-bottom: 2.5rem;
}

.single-category {
	display: inline-block;
	font-size: var(--font-size-xs);
	font-weight: 700;
	color: var(--color-primary);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.75rem;
	text-decoration: none;
}

.single-category:hover {
	text-decoration: underline;
}

.single-title {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 900;
	line-height: 1.2;
	color: var(--color-text-dark);
	margin-bottom: 1.5rem;
}

.single-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

.single-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.single-author-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-light-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
}

.single-author-info {
	display: flex;
	flex-direction: column;
}

.single-author-name {
	font-size: var(--font-size-sm);
	font-weight: 600;
	color: var(--color-text-dark);
}

.single-author-title {
	font-size: var(--font-size-xs);
	color: var(--color-primary);
	font-weight: 500;
}

.single-meta-details {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	font-size: var(--font-size-sm);
	color: var(--color-text-muted);
}

.single-meta-details time,
.single-read-time {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.single-meta-details svg {
	flex-shrink: 0;
	color: var(--color-text-light);
}

/* Two-column layout */
.single-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 3rem;
	align-items: start;
}

/* Content area */
.single-content {
	min-width: 0;
}

.entry-content {
	font-size: 1.05rem;
	line-height: 1.9;
	color: var(--color-text-dark);
}

.entry-content h2 {
	font-family: var(--font-heading);
	font-size: var(--font-size-2xl);
	margin: 2.5rem 0 1rem;
}

.entry-content h3 {
	font-size: var(--font-size-xl);
	margin: 2rem 0 0.75rem;
}

.entry-content p {
	margin-bottom: 1.5rem;
	color: var(--color-text-dark);
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.5rem 1.5rem;
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content li {
	margin-bottom: 0.5rem;
	line-height: 1.8;
}

.entry-content img {
	border-radius: var(--radius-lg);
	margin: 2rem 0;
}

.entry-content blockquote {
	border-left: 4px solid var(--color-primary);
	padding: 1rem 1.5rem;
	margin: 2rem 0;
	background: var(--color-light-bg);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
	font-style: italic;
}

.entry-content blockquote p {
	color: var(--color-text-dark);
	margin-bottom: 0;
}

.entry-content a {
	color: var(--color-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.entry-content a:hover {
	color: var(--color-primary-dark);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	font-size: var(--font-size-sm);
}

.entry-content th,
.entry-content td {
	padding: 0.75rem 1rem;
	border: 1px solid #f3f4f6;
	text-align: left;
}

.entry-content th {
	background: var(--color-light-bg);
	font-weight: 600;
}

/* Mid-content CTA */
.single-cta-box {
	margin: 3rem 0;
}

.single-cta-inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	background: var(--color-light-bg);
	border: 2px solid rgba(233, 30, 140, 0.15);
	border-radius: var(--radius-lg);
	padding: 1.75rem 2rem;
}

.single-cta-inner > svg {
	flex-shrink: 0;
	color: var(--color-primary);
}

.single-cta-text {
	flex: 1;
}

.single-cta-heading {
	font-size: var(--font-size-lg);
	font-weight: 700;
	color: var(--color-text-dark);
	margin-bottom: 0.25rem;
}

.single-cta-sub {
	font-size: var(--font-size-sm);
	color: var(--color-text-muted);
	margin: 0;
}

.single-cta-inner .btn {
	flex-shrink: 0;
	white-space: nowrap;
}

/* Tags */
.single-tags {
	padding: 2rem 0;
	border-top: 1px solid #f3f4f6;
	font-size: var(--font-size-sm);
	color: var(--color-text-muted);
}

.single-tags a {
	color: var(--color-primary);
	text-decoration: none;
}

.single-tags a:hover {
	text-decoration: underline;
}

.single-tags-label {
	font-weight: 600;
	color: var(--color-text-dark);
	margin-right: 0.25rem;
}

/* ── Sidebar ── */
.single-sidebar {
	position: sticky;
	top: 90px;
}

.sidebar-widget {
	background: var(--color-white);
	border: 1px solid #f3f4f6;
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}

.sidebar-widget-title {
	font-size: var(--font-size-base);
	font-weight: 700;
	color: var(--color-text-dark);
	margin-bottom: 0.5rem;
}

.sidebar-widget-desc {
	font-size: var(--font-size-sm);
	color: var(--color-text-muted);
	margin-bottom: 1rem;
	line-height: 1.6;
}

/* Sidebar calculator */
.sidebar-calc-label {
	display: block;
	font-size: var(--font-size-xs);
	font-weight: 600;
	color: var(--color-text-dark);
	margin-bottom: 0.35rem;
}

.sidebar-calc-input {
	width: 100%;
	padding: 0.65rem 0.875rem;
	border: 1px solid #e5e7eb;
	border-radius: var(--radius-md);
	font-size: var(--font-size-sm);
	color: var(--color-text-dark);
	background: var(--color-white);
	outline: none;
	transition: border-color 0.2s ease;
	margin-bottom: 0.75rem;
	font-family: var(--font-body);
}

.sidebar-calc-input:focus {
	border-color: var(--color-primary);
}

.sidebar-calc-btn {
	margin-top: 0.25rem;
	font-size: var(--font-size-sm);
}

.sidebar-calc-result {
	margin-top: 0.75rem;
	text-align: center;
	font-weight: 700;
	color: var(--color-primary);
	font-size: var(--font-size-xl);
	min-height: 1.5em;
}

/* Sidebar popular posts */
.sidebar-popular-list {
	list-style: none;
}

.sidebar-popular-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid #f3f4f6;
}

.sidebar-popular-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.sidebar-popular-item:first-child {
	padding-top: 0;
}

.sidebar-popular-rank {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--color-light-bg);
	color: var(--color-primary);
	font-size: var(--font-size-xs);
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}

.sidebar-popular-link {
	font-size: var(--font-size-sm);
	font-weight: 500;
	color: var(--color-text-dark);
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s ease;
}

.sidebar-popular-link:hover {
	color: var(--color-primary);
}

/* Sidebar categories */
.sidebar-cat-list {
	list-style: none;
}

.sidebar-cat-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.6rem 0;
	border-bottom: 1px solid #f3f4f6;
	text-decoration: none;
	transition: var(--transition);
}

.sidebar-cat-list li:last-child .sidebar-cat-link {
	border-bottom: none;
}

.sidebar-cat-name {
	font-size: var(--font-size-sm);
	font-weight: 500;
	color: var(--color-text-dark);
}

.sidebar-cat-count {
	font-size: var(--font-size-xs);
	font-weight: 600;
	color: var(--color-text-light);
	background: var(--color-light-bg);
	padding: 0.15rem 0.5rem;
	border-radius: var(--radius-full);
}

.sidebar-cat-link:hover .sidebar-cat-name {
	color: var(--color-primary);
}

/* Related posts section */
.single-related {
	background: var(--color-light-bg);
}


/* ==========================================================================
   SECTION 18 — Tool Page Hero & Steps (shared across calculator pages)
   ========================================================================== */

.tool-hero {
	padding: 2.5rem 0 3.5rem;
}

.tool-hero .breadcrumb,
.tool-hero .breadcrumb a {
	color: rgba(255, 255, 255, 0.5);
}

.tool-hero .breadcrumb a:hover {
	color: var(--color-white);
}

.tool-hero .breadcrumb__separator {
	color: rgba(255, 255, 255, 0.25);
}

.tool-hero .section-label {
	color: var(--color-primary-light);
}

.tool-hero .section-label::before {
	background: var(--color-primary-light);
}

.tool-hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	margin-top: 1rem;
}

.tool-hero-content {
	max-width: 580px;
}

.tool-hero-title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 5vw, 3.25rem);
	font-weight: 900;
	color: var(--color-white);
	line-height: 1.15;
	margin-bottom: 1.25rem;
}

.tool-hero-subtitle {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.8;
	margin-bottom: 1rem;
}

.tool-hero-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.5rem 0 2rem;
}

.tool-hero-image {
	display: flex;
	justify-content: center;
}

.tool-hero-image img {
	border-radius: var(--radius-lg);
	max-height: 480px;
	object-fit: cover;
	width: 100%;
}

.tool-hero-placeholder {
	width: 100%;
	max-width: 400px;
	aspect-ratio: 7 / 6;
	background: rgba(255, 255, 255, 0.03);
	border: 1px dashed var(--color-dark-border);
	border-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
}

/* Steps grid */
.tool-steps .card {
	text-align: center;
	position: relative;
}

.tool-step-card img {
	border-radius: var(--radius-md);
	margin: 0 auto 1rem;
}

.tool-step-number {
	font-family: var(--font-heading);
	font-size: 2rem;
	font-weight: 900;
	color: var(--color-primary);
	opacity: 0.2;
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	line-height: 1;
}

/* Sizing button sub-label */
.sizing-btn-sub {
	display: block;
	font-size: 0.65rem;
	font-weight: 400;
	opacity: 0.7;
	margin-top: 2px;
	white-space: nowrap;
}

@media (max-width: 1024px) {
	.tool-hero-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.tool-hero-content {
		max-width: none;
	}
}

@media (max-width: 768px) {
	.tool-hero-grid {
		text-align: center;
	}

	.tool-hero-pills {
		justify-content: center;
	}

	.tool-hero-image {
		display: none;
	}

	.tool-steps .grid-4 {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 480px) {
	.tool-steps .grid-4 {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   SECTION 19 — Archive & Category Pages
   ========================================================================== */

.archive-hero {
	padding: 2.5rem 0 3rem;
}

.archive-hero .breadcrumb {
	margin-bottom: 1.5rem;
}

.archive-hero .breadcrumb,
.archive-hero .breadcrumb a {
	color: rgba(255, 255, 255, 0.5);
}

.archive-hero .breadcrumb a:hover {
	color: var(--color-white);
}

.archive-hero .breadcrumb__separator {
	color: rgba(255, 255, 255, 0.25);
}

.archive-hero .section-label {
	color: var(--color-primary-light);
}

.archive-hero .section-label::before {
	background: var(--color-primary-light);
}

.archive-hero-title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 900;
	color: var(--color-white);
	margin-bottom: 1rem;
}

.archive-hero-desc {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.8;
	max-width: 640px;
}

.archive-hero-desc p {
	color: inherit;
}

.archive-hero-meta {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-top: 1.5rem;
	font-size: var(--font-size-sm);
	color: rgba(255, 255, 255, 0.5);
}

.archive-hero-count,
.archive-hero-updated {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.archive-hero-count svg,
.archive-hero-updated svg {
	color: var(--color-primary-light);
	flex-shrink: 0;
}

/* Filter bar */
.archive-filter {
	border-bottom: 1px solid #f3f4f6;
	background: var(--color-white);
}

.archive-filter-bar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.archive-filter-link {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1.25rem;
	border-radius: var(--radius-full);
	font-size: var(--font-size-sm);
	font-weight: 500;
	color: var(--color-text-muted);
	background: transparent;
	border: 1px solid #e5e7eb;
	white-space: nowrap;
	text-decoration: none;
	transition: var(--transition);
}

.archive-filter-link:hover {
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.archive-filter-link--active {
	background: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}

.archive-filter-link--active:hover {
	background: var(--color-primary-dark);
	color: var(--color-white);
}

/* Posts section */
.archive-posts {
	background: var(--color-light-bg);
}

/* Pagination */
.archive-pagination {
	margin-top: 3rem;
	text-align: center;
}

.archive-pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
}

.archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.5rem;
	border-radius: var(--radius-md);
	font-size: var(--font-size-sm);
	font-weight: 500;
	color: var(--color-text-muted);
	text-decoration: none;
	border: 1px solid #e5e7eb;
	transition: var(--transition);
}

.archive-pagination .page-numbers:hover {
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.archive-pagination .page-numbers.current {
	background: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}

.archive-pagination .prev,
.archive-pagination .next {
	border: none;
	color: var(--color-primary);
	font-weight: 600;
}

.archive-pagination .prev:hover,
.archive-pagination .next:hover {
	color: var(--color-primary-dark);
}

/* Empty state */
.archive-empty {
	padding: 4rem 0;
}

.archive-empty h2 {
	font-family: var(--font-heading);
	margin-bottom: 0.75rem;
}

.archive-empty p {
	max-width: 460px;
	margin: 0 auto;
}

.archive-empty a {
	color: var(--color-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}


/* ==========================================================================
   SECTION 19 — Mobile Responsive
   ========================================================================== */

/* ==========================================================================
   SECTION 20 — Page Template
   ========================================================================== */

.page-breadcrumb-bar {
	background: var(--color-light-bg);
	border-bottom: 1px solid #f3f4f6;
}

.page-hero {
	position: relative;
	overflow: hidden;
}

.page-hero--gradient {
	background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b9d 50%, #f472b6 100%);
	padding: 3.5rem 0;
}

.page-hero--image {
	max-height: 400px;
}

.page-hero-image {
	width: 100%;
	max-height: 400px;
	overflow: hidden;
}

.page-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(19, 17, 28, 0.85) 0%, rgba(19, 17, 28, 0.3) 100%);
	display: flex;
	align-items: flex-end;
	padding-bottom: 2.5rem;
}

.page-hero-title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 900;
	color: var(--color-white);
	line-height: 1.2;
}

.page-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 3rem;
	align-items: start;
}

.page-content {
	min-width: 0;
}

.page-sidebar {
	position: sticky;
	top: 90px;
}


/* ==========================================================================
   SECTION 21 — 404 Page
   ========================================================================== */

.error-404 {
	padding: 5rem 0;
}

.error-404-content {
	max-width: 640px;
	margin: 0 auto;
}

.error-404-code {
	font-family: var(--font-heading);
	font-size: clamp(6rem, 15vw, 10rem);
	font-weight: 900;
	line-height: 1;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, var(--color-primary), #ff6b9d, #f472b6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.error-404-title {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 900;
	color: var(--color-white);
	margin-bottom: 1rem;
}

.error-404-subtitle {
	font-size: 1.1rem;
	color: var(--color-text-light);
	line-height: 1.8;
	max-width: 480px;
	margin: 0 auto 2.5rem;
}

.error-404-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
}

.btn-secondary--light {
	border-color: rgba(255, 255, 255, 0.3);
	color: var(--color-white);
}

.btn-secondary--light:hover {
	background: var(--color-white);
	color: var(--color-dark);
	border-color: var(--color-white);
}

.error-404-search {
	max-width: 480px;
	margin: 0 auto;
}

.error-404-form {
	display: flex;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--color-dark-border);
	border-radius: var(--radius-full);
	overflow: hidden;
	transition: border-color 0.2s ease;
}

.error-404-form:focus-within {
	border-color: var(--color-primary);
}

.error-404-input {
	flex: 1;
	padding: 0.875rem 1.5rem;
	background: transparent;
	border: none;
	outline: none;
	color: var(--color-white);
	font-family: var(--font-body);
	font-size: var(--font-size-sm);
}

.error-404-input::placeholder {
	color: var(--color-text-light);
}

.error-404-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	background: none;
	border: none;
	color: var(--color-primary);
	cursor: pointer;
	transition: color 0.2s ease;
}

.error-404-submit:hover {
	color: var(--color-primary-light);
}

.error-404-posts {
	padding: var(--space-4xl) 0;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal;
}


/* ==========================================================================
   SECTION 22 — Search Template
   ========================================================================== */

.search-hero {
	background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b9d 50%, #f472b6 100%);
	padding: 2.5rem 0 3rem;
}

.search-hero .breadcrumb,
.search-hero .breadcrumb a {
	color: rgba(255, 255, 255, 0.6);
}

.search-hero .breadcrumb a:hover {
	color: var(--color-white);
}

.search-hero .breadcrumb__separator {
	color: rgba(255, 255, 255, 0.3);
}

.search-hero-title {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 900;
	color: var(--color-white);
	margin-bottom: 0.75rem;
}

.search-hero-title .text-pink {
	color: var(--color-white);
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.3);
	text-underline-offset: 4px;
}

.search-hero-count {
	font-size: var(--font-size-base);
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 1.5rem;
}

.search-hero-count strong {
	color: var(--color-white);
}

.search-hero-form {
	display: flex;
	max-width: 560px;
	background: var(--color-white);
	border-radius: var(--radius-full);
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.search-hero-input {
	flex: 1;
	padding: 0.875rem 1.5rem;
	border: none;
	outline: none;
	font-family: var(--font-body);
	font-size: var(--font-size-sm);
	color: var(--color-text-dark);
	background: transparent;
}

.search-hero-input::placeholder {
	color: var(--color-text-light);
}

.search-hero-submit {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 1.5rem;
	background: var(--color-primary);
	border: none;
	color: var(--color-white);
	font-family: var(--font-body);
	font-size: var(--font-size-sm);
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

.search-hero-submit:hover {
	background: var(--color-primary-dark);
}

.search-results {
	padding: var(--space-4xl) 0;
}

.search-empty {
	padding: var(--space-4xl) 0;
}

.search-empty-content {
	max-width: 520px;
	margin: 0 auto 3rem;
}

.search-empty-icon {
	color: var(--color-text-light);
	margin: 0 auto 1.5rem;
	display: block;
}

.search-empty-title {
	font-family: var(--font-heading);
	font-size: var(--font-size-2xl);
	font-weight: 700;
	color: var(--color-text-dark);
	margin-bottom: 0.75rem;
}

.search-empty-text {
	font-size: var(--font-size-base);
	color: var(--color-text-muted);
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.search-empty-tips {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.search-empty-tips-label {
	font-size: var(--font-size-sm);
	font-weight: 600;
	color: var(--color-text-dark);
}

.search-empty-tips a {
	display: inline-block;
	padding: 0.35rem 0.9rem;
	background: var(--color-white);
	border: 1px solid #e5e7eb;
	border-radius: var(--radius-full);
	font-size: var(--font-size-sm);
	color: var(--color-primary);
	font-weight: 500;
	text-decoration: none;
	transition: var(--transition);
}

.search-empty-tips a:hover {
	background: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}


/* ==========================================================================
   SECTION 23 — Responsive: Page, 404, Search
   ========================================================================== */

/* ── ≤ 1024px — Tablet ── */
@media (max-width: 1024px) {
	.page-layout {
		grid-template-columns: 1fr;
	}

	.page-sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.page-sidebar .sidebar-widget {
		margin-bottom: 0;
	}

	.page-sidebar .sidebar-categories {
		grid-column: 1 / -1;
	}
}

/* ── ≤ 768px — Mobile ── */
@media (max-width: 768px) {
	.page-sidebar {
		grid-template-columns: 1fr;
	}

	.page-sidebar .sidebar-categories {
		grid-column: auto;
	}

	.page-hero--gradient {
		padding: 2.5rem 0;
	}

	.page-hero--image {
		max-height: 280px;
	}

	.page-hero-image {
		max-height: 280px;
	}

	.error-404-buttons {
		flex-direction: column;
		align-items: center;
	}

	.search-hero-form {
		flex-direction: column;
		border-radius: var(--radius-lg);
	}

	.search-hero-submit {
		justify-content: center;
		border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	}
}


/* ── ≤ 1024px — Tablet ── */
@media (max-width: 1024px) {
	.single-layout {
		grid-template-columns: 1fr;
	}

	.single-sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.sidebar-widget {
		margin-bottom: 0;
	}

	.sidebar-categories {
		grid-column: 1 / -1;
	}

	.grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero-inner {
		gap: 2rem;
	}

	.footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}

	.hamburger {
		display: flex;
	}

	.main-nav {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--color-dark);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		z-index: 9999;
		padding: 72px 2rem 2rem;
	}

	.main-nav.nav-open {
		display: flex;
		flex-direction: column;
	}

	.main-nav.nav-open .nav-close {
		display: flex;
	}

	.main-nav ul {
		flex-direction: column;
		gap: 0;
		width: 100%;
	}

	.main-nav a {
		padding: 1rem 0;
		font-size: 1rem;
		border-bottom: 1px solid var(--color-dark-border);
		display: block;
		width: 100%;
	}

	.nav-dropdown-toggle {
		padding: 1rem 0;
		font-size: 1rem;
		border-bottom: 1px solid var(--color-dark-border);
		width: 100%;
		justify-content: space-between;
	}

	.nav-dropdown-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		box-shadow: none;
		border: none;
		border-radius: 0;
		padding: 0 0 0 1rem;
		min-width: 0;
		background: transparent;
		display: none;
	}

	.nav-dropdown.open .nav-dropdown-menu {
		display: block;
	}

	.nav-dropdown-menu a {
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
		border-radius: 0;
		padding: 0.75rem 0;
	}

	.btn-nav {
		margin-top: 1.5rem;
		width: 100%;
		justify-content: center;
		padding: 0.875rem 1.5rem;
	}
}

/* ── ≤ 768px — Mobile ── */
@media (max-width: 768px) {
	.archive-hero-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.archive-filter-bar {
		gap: 0.375rem;
	}

	.archive-filter-link {
		padding: 0.4rem 1rem;
		font-size: var(--font-size-xs);
	}

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

	.sidebar-categories {
		grid-column: auto;
	}

	.single-meta {
		flex-direction: column;
		align-items: flex-start;
	}

	.single-cta-inner {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
		padding: 1.5rem;
	}

	.single-hero {
		max-height: 300px;
	}

	.single-hero-image {
		max-height: 300px;
	}

	.hero-inner {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 4rem 2rem;
	}

	.hero-content {
		max-width: none;
	}

	.hero-preview {
		display: none;
	}

	.hero-buttons {
		justify-content: center;
	}

	.hero-trust {
		justify-content: center;
	}

	.hero-stats {
		justify-content: center;
	}

	.hero-steps {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		text-align: center;
	}

	.grid-2 {
		grid-template-columns: 1fr;
	}

	.grid-3 {
		grid-template-columns: 1fr;
	}

	.grid-9 {
		grid-template-columns: 1fr;
	}

	.faq-grid {
		grid-template-columns: 1fr;
	}

	.faq-tabs {
		flex-wrap: wrap;
	}

	.faq-stats {
		flex-wrap: wrap;
		gap: 1.5rem;
	}

	.footer-top {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.stats-bar {
		flex-direction: column;
		gap: 1.5rem;
	}

	.footer-bottom-inner {
		flex-direction: column;
		gap: 0.5rem;
	}

	.footer-legal {
		flex-wrap: wrap;
		justify-content: center;
	}
}

/* ── ≤ 480px — Small phone ── */
@media (max-width: 480px) {
	.container {
		padding: 0 1rem;
	}

	.container-sm {
		padding: 0 1rem;
	}

	.hero-inner {
		padding: 4rem 1rem;
	}

	.btn {
		padding: 0.75rem 1.5rem;
	}

	.section {
		padding: 3rem 0;
	}

	.hero-title {
		font-size: clamp(1.75rem, 8vw, 2.5rem);
	}

	.hero-stats {
		flex-direction: column;
		gap: 1rem;
		align-items: center;
	}

	.trust-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.social-links {
		flex-wrap: wrap;
	}
}
