/* ═════════════════════════════════════════════════════════════════
   PAGE — LOQUAT INSIGHTS
   About → Loquat Insights page (see /pages/page-loquat-insights.php).

   Page deltas only — cream background, hero blob decorations,
   featured horizontal article card, 3-column second row, subscribe card.

   Class prefix: `.insights-*`
   ═════════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────────────
   PAGE BACKGROUND
   ───────────────────────────────────────────────────────────────── */
.insights-page {
	background: var(--cream);
}


/* ─────────────────────────────────────────────────────────────────
   HERO BAND — eyebrow + display headline + lede.
   ───────────────────────────────────────────────────────────────── */
.insights-hero-band {
	padding-top: clamp(100px, 11vw, 144px);
	padding-bottom: clamp(40px, 5vw, 80px);
	position: relative;
	overflow: hidden;
}

.insights-hero-blobs {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 0;
}
.insights-blob {
	position: absolute;
	border-radius: 50%;
}
.insights-blob-1 {
	width: 70vw;
	height: 70vw;
	max-width: 920px;
	max-height: 920px;
	background: rgba(245, 244, 240, 0.9);
	filter: blur(80px);
	right: -12%;
	top: -25%;
	opacity: 0.7;
}
.insights-blob-2 {
	width: 42vw;
	height: 42vw;
	max-width: 560px;
	max-height: 560px;
	background: rgba(11, 102, 35, 0.07);
	filter: blur(90px);
	right: 4%;
	top: 8%;
	opacity: 1;
}
.insights-blob-3 {
	width: 54vw;
	height: 32vw;
	max-width: 720px;
	max-height: 430px;
	background: rgba(245, 244, 240, 0.8);
	filter: blur(70px);
	right: -6%;
	bottom: -15%;
	opacity: 0.6;
}

.insights-hero-wrap {
	position: relative;
	z-index: 1;
}

/* Headline — two uppercase stacked lines + right-aligned italic serif tail */
.insights-headline {
	margin: clamp(8px, 1vw, 16px) 0 clamp(28px, 3.5vw, 50px);
}
.insights-headline .hl-line {
	display: block;
	text-transform: uppercase;
	line-height: 0.96;
}
.insights-headline .it-tail.insights-it-tail {
	display: block;
	text-align: right;
	white-space: normal;
	margin-top: 0;
	line-height: 1.02;
	letter-spacing: 0;
}

.insights-lede {
	max-width: 60ch;
	margin: 0;
}


/* ─────────────────────────────────────────────────────────────────
   ARTICLES SECTION
   ───────────────────────────────────────────────────────────────── */
.insights-articles-section {
	padding-top: clamp(40px, 5vw, 80px);
	padding-bottom: clamp(60px, 8vw, 120px);
}

/* Vertical stack: featured card → second row */
.insights-articles-wrap {
	display: flex;
	flex-direction: column;
	gap: 32px;
}


/* ─────────────────────────────────────────────────────────────────
   FEATURED CARD — horizontal, photo left + content right.
   ───────────────────────────────────────────────────────────────── */
.insights-featured {
	display: flex;
	gap: 32px;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 14px;
	padding: 30px 40px 40px 30px;
}

.insights-featured-img-wrap {
	width: 480px;
	height: 344px;
	flex-shrink: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #eeeeed;
}

.insights-featured-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.insights-featured-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-top: 10px;
}

.insights-featured-top {
	display: flex;
	flex-direction: column;
	gap: 24px;
	overflow: hidden;
}

/* Name + heading block */
.insights-featured-title-group {
	overflow: hidden;
}

.insights-featured-name {
	font-family: var(--f-serif);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(28px, 3.5vw, 42px);
	line-height: 1.095;
	color: var(--green);
	margin: 0;
}

.insights-featured-heading {
	font-family: var(--f-sans);
	font-weight: 500;
	font-size: clamp(28px, 3.5vw, 42px);
	line-height: 1.095;
	letter-spacing: -0.03em;
	color: var(--ink);
	margin: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.insights-featured-excerpt {
	font-family: var(--f-sans);
	font-weight: 400;
	font-size: clamp(18px, 2vw, 26px);
	line-height: 1.54;
	color: var(--ink-soft, rgba(26, 26, 26, 0.75));
	margin: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}


/* ─────────────────────────────────────────────────────────────────
   SECOND ROW — 3-column grid.
   ───────────────────────────────────────────────────────────────── */
.insights-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	align-items: stretch;
}


/* ─────────────────────────────────────────────────────────────────
   ARTICLE CARD — gradient tile, no image, title + meta.
   ───────────────────────────────────────────────────────────────── */
.insights-card {
	background: linear-gradient(
		113.3deg,
		rgb(245, 243, 239) 19.1%,
		rgba(250, 249, 247, 0.83) 23.8%,
		rgba(255, 255, 255, 0.80) 29.5%,
		rgba(251, 250, 249, 0.80) 33.8%,
		rgb(245, 243, 239) 45.5%
	);
	border: 1px solid #d7d5d0;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 14px;
	padding: 30px 30px 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 442px;
}

.insights-card-title {
	font-family: var(--f-sans);
	font-weight: 500;
	font-size: clamp(20px, 2.2vw, 32px);
	line-height: 1.125;
	letter-spacing: -0.03em;
	color: var(--ink);
	margin: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
}

/* Green italic serif name prefix — inline in regular cards */
.insights-card-name {
	font-family: var(--f-serif);
	font-style: italic;
	font-weight: 400;
	color: var(--green);
}


/* ─────────────────────────────────────────────────────────────────
   SHARED META — date + tag (used in both featured and grid cards).
   ───────────────────────────────────────────────────────────────── */
.insights-card-meta {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-shrink: 0;
}

.insights-card-date {
	font-family: var(--f-sans);
	font-weight: 400;
	font-size: clamp(16px, 1.5vw, 22px);
	line-height: 1.54;
	color: var(--ink-soft, rgba(26, 26, 26, 0.75));
	margin: 0;
}

.insights-card-tag {
	font-family: var(--f-sans);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.125;
	color: var(--green);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0;
}


/* ─────────────────────────────────────────────────────────────────
   SUBSCRIBE CARD — frosted white, orange label + CTA.
   ───────────────────────────────────────────────────────────────── */
.insights-subscribe-card {
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 14px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 442px;
}

.insights-subscribe-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.insights-subscribe-label {
	font-family: var(--f-sans);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.125;
	color: var(--orange);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0;
}

.insights-subscribe-copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.insights-subscribe-heading {
	font-family: var(--f-sans);
	font-weight: 500;
	font-size: clamp(20px, 2.2vw, 32px);
	line-height: 1.125;
	letter-spacing: -0.03em;
	color: var(--ink);
	margin: 0;
}

.insights-subscribe-text {
	font-family: var(--f-sans);
	font-weight: 400;
	font-size: clamp(16px, 1.5vw, 22px);
	line-height: 1.54;
	color: var(--ink-soft, rgba(26, 26, 26, 0.75));
	margin: 0;
}

/* Inline subscribe form — revealed by JS */
.insights-subscribe-cta {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.insights-subscribe-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.insights-subscribe-input {
	display: block;
	width: 100%;
	padding: 14px 20px;
	background: var(--white);
	border: 1px solid rgba(26, 26, 26, 0.15);
	border-radius: 12px;
	font-family: var(--f-sans);
	font-size: 18px;
	font-weight: 300;
	color: var(--ink);
	box-sizing: border-box;
	transition: border-color 0.15s ease;
}
.insights-subscribe-input::placeholder {
	color: rgba(26, 26, 26, 0.4);
}
.insights-subscribe-input:focus {
	outline: none;
	border-color: var(--green);
	box-shadow: 0 0 0 3px rgba(11, 102, 35, 0.1);
}

.insights-subscribe-msg {
	font-family: var(--f-sans);
	font-size: 15px;
	font-weight: 500;
	padding: 10px 16px;
	border-radius: 8px;
}
.insights-subscribe-msg.is-success {
	background: rgba(11, 102, 35, 0.07);
	color: var(--green);
	border: 1px solid rgba(11, 102, 35, 0.18);
}
.insights-subscribe-msg.is-error {
	background: rgba(190, 30, 30, 0.06);
	color: #a12222;
	border: 1px solid rgba(190, 30, 30, 0.18);
}


/* ─────────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
	.insights-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.insights-subscribe-card {
		grid-column: 1 / -1;
		min-height: auto;
		flex-direction: row;
		align-items: flex-end;
		gap: 40px;
	}
	.insights-subscribe-body {
		flex: 1;
	}
	.insights-subscribe-cta {
		flex-shrink: 0;
	}
}

@media (max-width: 900px) {
	.insights-featured {
		flex-direction: column;
		gap: 24px;
		padding: 24px 24px 32px;
	}
	.insights-featured-img-wrap {
		width: 100%;
		height: auto;
		aspect-ratio: 480 / 344;
	}
	.insights-row {
		grid-template-columns: 1fr;
	}
	.insights-subscribe-card {
		flex-direction: column;
		align-items: flex-start;
		min-height: 0;
	}
}
