/*------------------------------------------------------------------
WomenSutra front page styles (plain CSS, no build step).
Requires assets/css/ws-tokens.css. Built from the "Homepage · Sections
01–11" frames of the WomenSutra Figma file.

Breakpoints (Design System v1.0): mobile < 768px, tablet 768-1023px,
desktop >= 1024px.
-------------------------------------------------------------------*/

:root {
	--ws-stack-heading: "Lora", "Noto Sans Devanagari", Georgia, serif;
	--ws-stack-body: "DM Sans", "Noto Sans Devanagari", Arial, sans-serif;
	--ws-stack-brand: "Playfair Display", Georgia, serif;
	--ws-stack-hindi: "Noto Sans Devanagari", "DM Sans", sans-serif;
}

/* Base ------------------------------------------------------------- */
.ws-front {
	margin: 0;
	background: var(--ws-surface-canvas);
	color: var(--ws-text-primary);
	font-family: var(--ws-stack-body);
	font-size: 16px;
	line-height: 24px;
	-webkit-font-smoothing: antialiased;
}

.ws-front *,
.ws-front *::before,
.ws-front *::after {
	box-sizing: border-box;
}

.ws-front img {
	max-width: 100%;
	height: auto;
}

.ws-front [hidden] {
	display: none !important;
}

.ws-front a {
	color: var(--ws-text-brand);
	text-decoration: none;
}

.ws-front a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ws-front :focus-visible {
	outline: 2px solid var(--ws-border-focus);
	outline-offset: 2px;
}

.ws-front .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ws-front .ws-skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 16px;
	clip: auto;
	background: var(--ws-surface-default);
	color: var(--ws-text-brand);
	border-radius: var(--ws-radius-medium);
}

.ws-front h1,
.ws-front h2,
.ws-front h3,
.ws-front h4,
.ws-main h1,
.ws-main h2,
.ws-main h3 {
	margin: 0;
	font-family: var(--ws-stack-heading);
	font-weight: 500;
	color: var(--ws-text-primary);
}

.ws-main p {
	margin: 0;
}

/* Sections --------------------------------------------------------- */
.ws-section {
	padding: 48px 24px;
	border-top: 1px solid var(--ws-border-subtle);
}

.ws-main > .ws-section:first-child {
	border-top: 0;
}

@media (min-width: 768px) {
	.ws-section {
		padding-block: 64px;
	}
}

/* Shared text styles */
.ws-main .ws-eyebrow {
	margin: 0;
	font-family: var(--ws-stack-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	text-transform: uppercase;
	color: var(--ws-text-brand);
}

.ws-main .ws-eyebrow a {
	color: inherit;
}

.ws-main .ws-section-title {
	font-size: 28px;
	line-height: 36px;
	font-weight: 500;
}

.ws-main .ws-section-intro {
	color: var(--ws-text-secondary);
}

.ws-main .ws-arrow-link {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}

.ws-main .ws-arrow-link a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.ws-main .ws-arrow-link a::after {
	content: " →";
	content: " →" / "";
	white-space: pre;
}

.ws-main .ws-arrow-link--strong {
	font-weight: 600;
}

.ws-main .ws-arrow-link--quiet {
	font-weight: 400;
}

.ws-main .ws-arrow-link--quiet a {
	color: var(--ws-text-secondary);
}

@media (min-width: 768px) {
	.ws-main .ws-section-title {
		font-size: 32px;
		line-height: 40px;
	}
}

/* Section heading row */
.ws-main .ws-section-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 32px;
}

.ws-main .ws-section-head__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 800px;
}

.ws-main .ws-section-head__text > * {
	margin: 0;
}

@media (min-width: 768px) {
	.ws-main .ws-section-head {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
	}
}

/* Buttons ---------------------------------------------------------- */
.ws-main .wp-block-buttons {
	margin: 0;
	gap: 24px;
	align-items: center;
}

.ws-main .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--ws-radius-medium);
	background: var(--ws-action-primary);
	color: var(--ws-action-on-primary);
	font-family: var(--ws-stack-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	text-decoration: none;
}

.ws-main .wp-block-button__link:hover {
	background: var(--ws-action-hover);
	color: var(--ws-action-on-primary);
	text-decoration: none;
}

.ws-main .wp-block-button__link:active {
	background: var(--ws-action-pressed);
}

.ws-main .is-style-ws-text-link .wp-block-button__link {
	padding: 0;
	background: transparent;
	color: var(--ws-text-brand);
}

.ws-main .is-style-ws-text-link .wp-block-button__link::after {
	content: " →";
	content: " →" / "";
	white-space: pre;
}

.ws-main .is-style-ws-text-link .wp-block-button__link:hover {
	background: transparent;
	color: var(--ws-action-hover);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 02 · Hero -------------------------------------------------------- */
.ws-hero {
	background-color: var(--ws-surface-canvas);
}

.ws-main .ws-hero__columns {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 32px;
	margin: 0;
}

.ws-main .ws-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	flex-basis: auto;
}

.ws-main .ws-hero__title {
	font-size: 40px;
	line-height: 48px;
	font-weight: 400;
	margin: 0;
}

.ws-main .ws-hero__title mark {
	background: none;
	color: var(--ws-text-brand);
}

.ws-main .ws-hero__curve {
	margin: -24px 0 0;
}

.ws-main .ws-hero__curve img {
	display: block;
	width: 248px;
	max-width: 100%;
	height: 14px;
}

.ws-main .ws-hero__lead {
	max-width: 488px;
	font-size: 18px;
	line-height: 28px;
	color: var(--ws-text-secondary);
}

.ws-main .ws-hero__note {
	font-size: 14px;
	line-height: 20px;
	color: var(--ws-text-secondary);
}

.ws-main .ws-hero__panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex-basis: auto;
}

.ws-main .ws-hero__photo {
	margin: 0;
}

.ws-main .ws-hero__photo img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 100px 100px var(--ws-radius-medium) var(--ws-radius-medium);
}

.ws-main .ws-hero__feature-title {
	max-width: 475px;
	font-size: 24px;
	line-height: 32px;
}

.ws-main .ws-hero__feature-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 44px;
}

.ws-main .ws-hero__feature-foot > * {
	margin: 0;
}

@media (min-width: 768px) {
	.ws-main .ws-hero__photo img {
		height: 344px;
		border-radius: 160px 160px var(--ws-radius-medium) var(--ws-radius-medium);
	}
}

@media (min-width: 1024px) {
	.ws-main .ws-hero__columns {
		flex-direction: row;
		align-items: center;
		gap: 64px;
	}

	.ws-main .ws-hero__columns > .ws-hero__copy {
		flex: 1 1 0;
	}

	.ws-main .ws-hero__columns > .ws-hero__panel {
		flex: 0 0 43.6%;
	}

	.ws-main .ws-hero__title {
		font-size: 64px;
		line-height: 72px;
	}
}

/* 03 · Find what you need ------------------------------------------ */
.ws-main .ws-find {
	padding-block: 48px;
}

.ws-main .ws-find__intro {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 24px;
}

.ws-main .ws-find__intro > * {
	margin: 0;
}

.ws-main .ws-topics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.ws-main .ws-topic {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 44px 16px 16px;
	background: var(--ws-surface-default);
	border: 1px solid var(--ws-border-default);
	border-radius: var(--ws-radius-medium);
}

.ws-main .ws-topic::after {
	content: "→";
	content: "→" / "";
	position: absolute;
	top: 16px;
	right: 16px;
	font-size: 18px;
	line-height: 24px;
	color: var(--ws-text-brand);
}

.ws-main .ws-topic:hover {
	background: var(--ws-surface-brand);
	border-color: var(--ws-border-focus);
}

.ws-main .ws-topic > * {
	margin: 0;
}

.ws-main .ws-topic__title {
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
}

.ws-main .ws-topic__title a {
	color: var(--ws-text-primary);
}

.ws-main .ws-topic__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.ws-main .ws-topic__title a:hover {
	text-decoration: none;
}

.ws-main .ws-topic__meta {
	font-size: 14px;
	line-height: 20px;
	color: var(--ws-text-secondary);
}

@media (min-width: 1024px) {
	.ws-main .ws-topics {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Article cards (Query Loop) ---------------------------------------- */
.ws-main .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ws-main .ws-grid .wp-block-post-template {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px 24px;
}

@media (min-width: 768px) {
	.ws-main .ws-grid--3 .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ws-main .ws-grid--3 .wp-block-post-template {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ws-main .ws-card {
	position: relative;
	display: flex;
	flex-direction: column;
}

.ws-main .ws-card__image {
	margin: 0;
}

.ws-main .ws-card__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 8 / 5;
	object-fit: cover;
	object-position: 50% 25%;
	border-radius: var(--ws-radius-medium);
}

.ws-main .ws-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding-top: 20px;
}

.ws-main .ws-card__body > * {
	margin: 0;
}

.ws-main .ws-card__title {
	font-size: 24px;
	line-height: 32px;
	font-weight: 500;
}

.ws-main .ws-card__title a {
	color: var(--ws-text-primary);
}

.ws-main .ws-card__title a:hover {
	color: var(--ws-text-brand);
	text-decoration: none;
}

/* Category links stay individually clickable above the card-wide title link. */
.ws-main .ws-card .wp-block-post-terms a,
.ws-main .ws-guide .wp-block-post-terms a {
	position: relative;
	z-index: 1;
}

/* The title link covers the whole card, so the entire card is one click target. */
.ws-main .ws-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.ws-main .ws-card__excerpt {
	color: var(--ws-text-secondary);
	font-size: 16px;
	line-height: 24px;
}

.ws-main .ws-card__excerpt p {
	margin: 0;
}

.ws-main .ws-card__date {
	font-size: 14px;
	line-height: 20px;
	color: var(--ws-text-secondary);
}

.ws-main .ws-card__date::before {
	content: var(--ws-label-published, "");
}

.ws-main .ws-card__more {
	display: inline-block;
	padding-block: 12px;
	font-size: 14px;
	line-height: 20px;
	color: var(--ws-text-brand);
	text-decoration: none;
}

.ws-main .ws-card__more::after {
	content: " →";
	content: " →" / "";
	white-space: pre;
}

.ws-main .ws-card__more--strong {
	font-weight: 600;
}

/* Grid cards: equal height, call to action pinned to the bottom. */
.ws-main .ws-grid .wp-block-post {
	display: flex;
	flex-direction: column;
}

.ws-main .ws-grid .wp-block-post > .ws-card {
	flex: 1;
}

.ws-main .ws-grid .ws-card__body {
	flex: 1;
}

.ws-main .ws-grid .ws-card__more {
	margin-top: auto;
}

.ws-main .ws-grid .ws-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

/* Feature variant */
.ws-main .ws-card--feature .ws-card__title,
.ws-main .ws-card__title--large {
	font-size: 28px;
	line-height: 36px;
}

@media (min-width: 768px) {
	.ws-main .ws-card--feature .ws-card__title,
	.ws-main .ws-card__title--large {
		font-size: 32px;
		line-height: 40px;
	}
}

/* Mobile: after the first card, the grid collapses to compact rows (design 04 · Mobile). */
@media (max-width: 767px) {
	.ws-main .ws-grid--3 .wp-block-post-template {
		gap: 24px;
	}

	.ws-main .ws-grid--3 .wp-block-post:nth-child(n+2) .ws-card {
		flex-direction: row;
		align-items: flex-start;
		gap: 20px;
	}

	.ws-main .ws-grid--3 .wp-block-post:nth-child(n+2) .ws-card__image {
		flex: 0 0 80px;
	}

	.ws-main .ws-grid--3 .wp-block-post:nth-child(n+2) .ws-card__image img {
		width: 80px;
		height: 80px;
		aspect-ratio: 1;
	}

	.ws-main .ws-grid--3 .wp-block-post:nth-child(n+2) .ws-card__body {
		flex: 1;
		min-width: 0;
		gap: 8px;
		padding-top: 0;
	}

	.ws-main .ws-grid--3 .wp-block-post:nth-child(n+2) .ws-card__title {
		font-size: 18px;
		line-height: 24px;
	}

	.ws-main .ws-grid--3 .wp-block-post:nth-child(n+2) .ws-card__excerpt,
	.ws-main .ws-grid--3 .wp-block-post:nth-child(n+2) .ws-card__more {
		display: none;
	}

	.ws-main .ws-grid--3 .wp-block-post:nth-child(n+2) .ws-card__date::before {
		content: none;
	}
}

/* Row variant (thumbnail beside text) */
.ws-main .ws-row {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.ws-main .ws-row .ws-card__image {
	flex: 0 0 80px;
}

.ws-main .ws-row .ws-card__image img {
	width: 80px;
	height: 80px;
	aspect-ratio: 1;
}

.ws-main .ws-row .ws-card__body {
	flex: 1;
	min-width: 0;
	gap: 8px;
	padding-top: 0;
}

.ws-main .ws-row .ws-card__title {
	font-size: 18px;
	line-height: 24px;
}

.ws-main .ws-row .ws-card__excerpt {
	display: none;
}

@media (min-width: 768px) {
	.ws-main .ws-row .ws-card__image {
		flex-basis: 144px;
	}

	.ws-main .ws-row .ws-card__image img {
		width: 144px;
		height: 144px;
	}

	.ws-main .ws-row .ws-card__title {
		font-size: 24px;
		line-height: 32px;
	}

	.ws-main .ws-row .ws-card__excerpt {
		display: block;
	}
}

.ws-main .ws-row-list .wp-block-post-template {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ws-main .ws-row-list .wp-block-post + .wp-block-post {
	padding-top: 24px;
	border-top: 1px solid var(--ws-border-subtle);
}

/* Split layouts (05, 06) */
.ws-main .ws-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

@media (min-width: 1024px) {
	.ws-main .ws-split--feature-list {
		grid-template-columns: minmax(0, 650fr) minmax(0, 486fr);
		gap: 64px;
		align-items: center;
	}

	.ws-main .ws-split--skin {
		grid-template-columns: minmax(0, 656fr) minmax(0, 512fr);
		gap: 32px;
	}
}

.ws-main .ws-hair .ws-card--feature .ws-card__image img {
	aspect-ratio: 650 / 384;
}

.ws-main .ws-skin .ws-card--feature .ws-card__image img {
	aspect-ratio: 656 / 384;
}

/* Guide list (text-first, trailing arrow) */
.ws-main .ws-guide {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
}

.ws-main .ws-guide::after {
	content: "→";
	content: "→" / "";
	flex: 0 0 20px;
	font-size: 18px;
	line-height: 28px;
	color: var(--ws-text-brand);
}

.ws-main .ws-guide__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
}

.ws-main .ws-guide__body > * {
	margin: 0;
}

.ws-main .ws-guide__title {
	font-size: 24px;
	line-height: 32px;
	font-weight: 500;
}

.ws-main .ws-guide__title a {
	color: var(--ws-text-primary);
}

.ws-main .ws-guide__title a:hover {
	color: var(--ws-text-brand);
	text-decoration: none;
}

.ws-main .ws-guide__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.ws-main .ws-guide__excerpt {
	font-size: 14px;
	line-height: 20px;
	color: var(--ws-text-secondary);
}

.ws-main .ws-guide__excerpt p {
	margin: 0;
}

.ws-main .ws-guide-list .wp-block-post-template {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ws-main .ws-guide-list .wp-block-post + .wp-block-post {
	padding-top: 16px;
	border-top: 1px solid var(--ws-border-subtle);
}

/* 07 · Life & relationships ----------------------------------------- */
.ws-main .ws-life__feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	align-items: center;
}

.ws-main .ws-life__media {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ws-main .ws-life__media > * {
	margin: 0;
}

.ws-main .ws-life__media .ws-card__image img {
	aspect-ratio: 523 / 360;
	object-position: 50% 20%;
}

.ws-main .ws-life__feature .ws-card__body {
	gap: 16px;
	padding-top: 0;
}

@media (min-width: 1024px) {
	.ws-main .ws-life__feature {
		grid-template-columns: minmax(0, 523fr) minmax(0, 613fr);
		gap: 64px;
	}
}

/* 08 · Read in Hindi ------------------------------------------------ */
.ws-main .ws-lang-hi,
.ws-main .ws-lang-hi a,
.ws-main [lang="hi"],
.ws-main [lang="hi"] a {
	font-family: var(--ws-stack-hindi);
}

.ws-main .ws-hindi__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
}

.ws-main .ws-hindi__intro {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ws-main .ws-hindi__intro > * {
	margin: 0;
}

.ws-main .ws-hindi__title {
	font-size: 28px;
	font-weight: 500;
	line-height: 40px;
}

.ws-main .ws-hindi__lead,
.ws-main .ws-hindi__text,
.ws-main .ws-hindi__prompt {
	font-size: 16px;
	line-height: 28px;
}

.ws-main .ws-hindi__text {
	color: var(--ws-text-secondary);
}

.ws-main .ws-hindi__prompt {
	color: var(--ws-text-secondary);
}

.ws-main .ws-guide-list--hindi {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ws-main .ws-guide-list--hindi > .ws-guide + .ws-guide {
	padding-top: 24px;
	border-top: 1px solid var(--ws-border-subtle);
}

.ws-main .ws-guide-list--hindi .ws-guide__title {
	font-size: 20px;
	line-height: 32px;
}

.ws-main .ws-guide-list--hindi .ws-guide__excerpt {
	font-size: 16px;
	line-height: 28px;
}

@media (min-width: 1024px) {
	.ws-main .ws-hindi__layout {
		grid-template-columns: minmax(0, 478fr) minmax(0, 658fr);
		gap: 64px;
	}
}

/* 09 · About -------------------------------------------------------- */
.ws-main .ws-about__columns {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0 0 40px;
}

.ws-main .ws-about__brand,
.ws-main .ws-about__text {
	display: flex;
	flex-direction: column;
	gap: 24px;
	flex-basis: auto;
}

.ws-main .ws-about__brand > *,
.ws-main .ws-about__text > * {
	margin: 0;
}

.ws-main .ws-lockup {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ws-main .ws-lockup > * {
	margin: 0;
}

.ws-main .ws-lockup__mark img {
	display: block;
	width: 48px;
	height: 48px;
}

.ws-main .ws-wordmark,
.ws-front .ws-wordmark {
	font-family: var(--ws-stack-brand);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--ws-text-brand);
}

.ws-main .ws-about__title {
	font-size: 32px;
	line-height: 40px;
	font-weight: 400;
}

.ws-main .ws-about__subtitle {
	font-size: 24px;
	line-height: 32px;
}

.ws-main .ws-about__lead {
	font-size: 18px;
	line-height: 28px;
	color: var(--ws-text-secondary);
}

.ws-main .wp-block-separator.ws-divider:not(.is-style-wide):not(.is-style-dots) {
	width: 100%;
	max-width: 1200px;
	height: 0;
	margin: 40px 0;
	border: 0;
	border-top: 1px solid var(--ws-border-subtle);
	background: none;
	opacity: 1;
}

.ws-main .ws-pillars {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0;
}

.ws-main .ws-pillar {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-basis: auto;
}

.ws-main .ws-pillar > * {
	margin: 0;
}

.ws-main .ws-pillar__title {
	font-size: 24px;
	line-height: 32px;
}

.ws-main .ws-pillar__text {
	color: var(--ws-text-secondary);
}

@media (min-width: 768px) {
	.ws-main .ws-about__title {
		font-size: 40px;
		line-height: 48px;
	}
}

@media (min-width: 1024px) {
	.ws-main .ws-about__columns {
		flex-direction: row;
		gap: 80px;
	}

	.ws-main .ws-about__columns > .ws-about__brand {
		flex: 0 0 43.5%;
	}

	.ws-main .ws-about__columns > .ws-about__text {
		flex: 1;
	}

	.ws-main .ws-pillars {
		flex-direction: row;
	}

	.ws-main .ws-pillars > .ws-pillar {
		flex: 1;
	}
}

/* 10 · Newsletter --------------------------------------------------- */
.ws-main .ws-newsletter__columns {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin: 0;
}

.ws-main .ws-newsletter__intro {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex-basis: auto;
}

.ws-main .ws-newsletter__intro > * {
	margin: 0;
}

.ws-main .ws-newsletter__title {
	font-size: 32px;
	line-height: 40px;
	font-weight: 400;
}

.ws-main .ws-newsletter__text {
	color: var(--ws-text-secondary);
}

.ws-main .ws-newsletter__form-col {
	flex-basis: auto;
}

.ws-form {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ws-form__label {
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: var(--ws-text-primary);
}

.ws-form__row {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ws-form__input {
	width: 100%;
	height: 48px;
	padding: 12px;
	border: 1px solid var(--ws-text-secondary);
	border-radius: var(--ws-radius-medium);
	background: var(--ws-surface-default);
	color: var(--ws-text-primary);
	font: inherit;
	font-size: 16px;
	line-height: 24px;
}

.ws-form__input::placeholder {
	color: var(--ws-text-secondary);
}

.ws-form__input:focus {
	border-color: var(--ws-border-focus);
}

.ws-form__input[aria-invalid="true"] {
	border-color: var(--ws-border-error);
}

.ws-form__submit {
	min-height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--ws-radius-medium);
	background: var(--ws-action-primary);
	color: var(--ws-action-on-primary);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	cursor: pointer;
}

.ws-form__submit:hover {
	background: var(--ws-action-hover);
}

.ws-form__submit:active {
	background: var(--ws-action-pressed);
}

.ws-form__note,
.ws-form__status {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
}

.ws-form__note {
	color: var(--ws-text-secondary);
}

.ws-form__status {
	padding: 12px;
	border-radius: var(--ws-radius-medium);
}

.ws-form__status--error {
	background: var(--ws-status-error-bg);
	color: var(--ws-status-error-text);
}

.ws-form__status--success {
	background: var(--ws-status-success-bg);
	color: var(--ws-status-success-text);
}

.ws-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	margin: 0;
	overflow: hidden;
}

@media (min-width: 768px) {
	.ws-main .ws-newsletter__title {
		font-size: 40px;
		line-height: 48px;
	}

	.ws-form__row {
		flex-direction: row;
		align-items: flex-end;
	}

	.ws-form__input {
		flex: 1;
	}
}

@media (min-width: 1024px) {
	.ws-main .ws-newsletter__columns {
		flex-direction: row;
		align-items: center;
		gap: 80px;
	}

	.ws-main .ws-newsletter__columns > .ws-newsletter__intro {
		flex: 0 0 49.8%;
	}

	.ws-main .ws-newsletter__columns > .ws-newsletter__form-col {
		flex: 1;
	}
}

/* 01 · Header ------------------------------------------------------- */
.ws-header {
	position: relative;
	z-index: 20;
	background: var(--ws-surface-default);
	border-bottom: 1px solid var(--ws-border-subtle);
}

.ws-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 96px;
	max-width: 1248px;
	margin-inline: auto;
	padding: 24px;
}

.ws-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ws-text-brand);
	text-decoration: none;
}

.ws-brand:hover {
	text-decoration: none;
}

.ws-brand__mark {
	display: block;
	width: 48px;
	height: 48px;
}

.ws-brand__name {
	font-size: 24px;
	line-height: 1.2;
	white-space: nowrap;
}

.ws-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ws-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--ws-radius-medium);
	background: var(--ws-surface-default);
	color: var(--ws-text-primary);
	cursor: pointer;
}

.ws-icon-button:hover {
	background: var(--ws-surface-brand);
	text-decoration: none;
}

.ws-menu-toggle__bars,
.ws-menu-toggle__bars::before,
.ws-menu-toggle__bars::after {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--ws-text-primary);
	content: "";
}

.ws-menu-toggle__bars {
	position: relative;
}

.ws-menu-toggle__bars::before,
.ws-menu-toggle__bars::after {
	position: absolute;
	left: 0;
}

.ws-menu-toggle__bars::before {
	top: -6px;
}

.ws-menu-toggle__bars::after {
	top: 6px;
}

.ws-header .ws-menu,
.ws-header .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Mobile and tablet: the navigation opens as a panel */
.ws-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	padding: 8px 24px 24px;
	background: var(--ws-surface-default);
	border-bottom: 1px solid var(--ws-border-subtle);
}

.ws-nav.is-open {
	display: block;
}

.ws-header .ws-menu a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--ws-text-primary);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	text-decoration: none;
}

.ws-header .ws-menu a:hover,
.ws-header .ws-menu .current-menu-item > a {
	color: var(--ws-text-brand);
}

.ws-header .menu-item-has-children > a::after {
	content: "";
	width: 16px;
	height: 16px;
	background: url("../images/ws/ws-icon-chevron.svg") center / 16px no-repeat;
}

.ws-header .sub-menu {
	padding-left: 16px;
}

.ws-header .sub-menu a {
	font-weight: 400;
}

.ws-search {
	max-width: 1248px;
	margin-inline: auto;
	padding: 0 24px 16px;
}

.ws-search__form {
	display: flex;
	gap: 16px;
}

.ws-search__form .ws-form__input {
	flex: 1;
}

@media (min-width: 1024px) {
	.ws-menu-toggle {
		display: none;
	}

	.ws-brand__name {
		font-size: 28px;
	}

	.ws-nav {
		position: static;
		display: block;
		padding: 0;
		background: none;
		border: 0;
	}

	.ws-header .ws-menu {
		display: flex;
		align-items: center;
		gap: 32px;
	}

	.ws-header .ws-menu > li {
		position: relative;
	}

	.ws-header .sub-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: -16px;
		z-index: 30;
		min-width: 220px;
		padding: 8px;
		background: var(--ws-surface-default);
		border: 1px solid var(--ws-border-subtle);
		border-radius: var(--ws-radius-medium);
		box-shadow: var(--ws-shadow-card);
	}

	.ws-header .sub-menu a {
		padding-inline: 12px;
		font-weight: 600;
	}

	.ws-header .sub-menu a:hover {
		background: var(--ws-surface-brand);
		border-radius: var(--ws-radius-small);
	}

	.ws-header .menu-item-has-children:hover > .sub-menu,
	.ws-header .menu-item-has-children:focus-within > .sub-menu {
		display: block;
	}
}

/* 11 · Footer ------------------------------------------------------- */
.ws-footer {
	padding: 48px 24px 32px;
	background: var(--ws-surface-canvas);
	border-top: 1px solid var(--ws-border-subtle);
}

.ws-footer__inner {
	max-width: 1200px;
	margin-inline: auto;
}

.ws-footer__top {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.ws-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.ws-footer__brand > p {
	margin: 0;
}

.ws-footer__tagline {
	font-family: var(--ws-stack-heading);
	font-size: 24px;
	font-weight: 500;
	line-height: 32px;
}

.ws-footer__text {
	color: var(--ws-text-secondary);
}

.ws-footer__nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.ws-footer .ws-footer__heading {
	margin: 0 0 8px;
	font-family: var(--ws-stack-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}

.ws-footer .ws-footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ws-footer .ws-footer-menu a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--ws-text-primary);
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
}

.ws-footer .ws-footer-menu a:hover {
	color: var(--ws-text-brand);
	text-decoration: underline;
}

.ws-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid var(--ws-border-subtle);
}

.ws-footer__copy {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	color: var(--ws-text-secondary);
}

.ws-footer__privacy {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 14px;
	line-height: 20px;
	color: var(--ws-text-secondary);
}

@media (min-width: 768px) {
	.ws-footer {
		padding: 64px 24px 40px;
	}

	.ws-footer__bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 24px;
		margin-top: 40px;
		padding-top: 40px;
	}
}

@media (min-width: 1024px) {
	.ws-footer__top {
		flex-direction: row;
		gap: 64px;
	}

	.ws-footer__brand {
		flex: 0 0 37.4%;
	}

	.ws-footer__nav {
		flex: 1;
		gap: 64px;
	}
}

/* Cookie notice ----------------------------------------------------- */
.ws-cookie {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 50;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 16px 24px;
	background: var(--ws-surface-inverse);
	color: var(--ws-text-inverse);
	font-size: 14px;
	line-height: 20px;
}

.ws-cookie p {
	margin: 0;
}

.ws-cookie a {
	color: var(--ws-text-inverse);
	font-weight: 600;
	text-decoration: underline;
}

.ws-cookie__accept {
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid var(--ws-text-inverse);
	border-radius: var(--ws-radius-medium);
	background: transparent;
	color: var(--ws-text-inverse);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ws-cookie__accept:hover {
	background: var(--ws-text-inverse);
	color: var(--ws-text-primary);
}

.ws-cookie :focus-visible {
	outline-color: var(--ws-text-inverse);
}

/* Reduced motion: nothing here animates, but keep smooth scroll opt-in. */
@media (prefers-reduced-motion: no-preference) {
	.ws-front {
		scroll-behavior: smooth;
	}
}
