/* ============================================================================
   LeArtista Blog Archive — "Истории от L'Artista"
   ----------------------------------------------------------------------------
   Editorial featured-first magazine grid. Reuses the brand vocabulary from
   the win-win-event landing (color, type, asymmetric radius, eyebrow tracking).
   Brand vars are redeclared here because this CSS loads on blog views where
   win-win-event.css isn't enqueued.
   ========================================================================== */

:root {
	--lalp-c-primary:    #575756;
	--lalp-c-secondary:  #A18067;
	--lalp-c-text:       #000000;
	--lalp-c-brown:      #C2B1A5;
	--lalp-c-gray:       #DADADA;
	--lalp-c-gray-soft:  #EEEDED;
	--lalp-c-white:      #FFFFFF;
	--lalp-c-brown-soft: #efe9e3;
	--lalp-c-line:       rgba(87, 87, 86, .15);

	/* Cool-gray premium palette for the blog pages — replaces the warm
	   brown-soft base with a near-white that leans slightly cool. The
	   taupe brand still anchors the accents (chips, eyebrows, links). */
	--lalp-c-blog-bg:    #f3f4f6;          /* page background */
	--lalp-c-blog-mote:  #c8cdd4;          /* drifting motes */

	--lalp-font:         "Montserrat", Sans-serif;
	--lalp-fw-light:     200;
	--lalp-fw-regular:   300;
	--lalp-fw-medium:    400;
	--lalp-fw-bold:      500;

	--lalp-radius-pill:  100px;
}

/* ---------- Page-level chrome ---------- */
.lalp-blog {
	position: relative;                  /* anchor for .lalp-blog__atmosphere */
	background: var(--lalp-c-blog-bg);
	color: var(--lalp-c-text);
	font-family: var(--lalp-font);
	font-weight: var(--lalp-fw-regular);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;                    /* sticky-bar etc. */
}

/* Atmosphere: one continuous animated background that covers hero + filters
   + grid, eliminating the visual seam between sections. Mask gradients fade
   the FX toward the bottom so the grid below the fold stays readable. */
.lalp-blog__atmosphere {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	/* Symmetric light → dark → light mask. The start AND end are both
	   transparent, so wherever the FX visually "ends" against the page
	   bg, the end-intensity matches the start-intensity — the eye can't
	   pin a boundary line. Wide dark plateau in the middle keeps the FX
	   fully visible across the hero + grid area; soft fades on both ends
	   blend invisibly into the page background. */
	-webkit-mask-image: linear-gradient(180deg,
		transparent 0,
		#000 8%,
		#000 78%,
		transparent 100%
	);
	mask-image: linear-gradient(180deg,
		transparent 0,
		#000 8%,
		#000 78%,
		transparent 100%
	);
}
.lalp-blog > section,
.lalp-blog > nav {
	position: relative;
	z-index: 1;                          /* above the atmosphere */
}
.lalp-blog * { box-sizing: border-box; }
.lalp-blog__container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 clamp(20px, 4vw, 48px);
}

/* Mirror the eyebrow style from win-win-event so the brand language stays consistent */
.lalp-blog .lalp-event__eyebrow,
.lalp-blog__eyebrow {
	font-size: 11px;
	font-weight: var(--lalp-fw-medium);
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--lalp-c-secondary);
	margin: 0 0 14px;
	padding-left: .28em;                 /* optical centering, matches landing */
}

/* ---------- Hero ---------- */
/* Animated background — port of the invitation-section FX vocabulary
   (liquid-metal mesh + shimmer + drifting motes), tuned subtler so the
   editorial copy reads cleanly against it. */
@property --x1 { syntax: '<percentage>'; inherits: false; initial-value: 18%; }
@property --y1 { syntax: '<percentage>'; inherits: false; initial-value: 22%; }
@property --x2 { syntax: '<percentage>'; inherits: false; initial-value: 78%; }
@property --y2 { syntax: '<percentage>'; inherits: false; initial-value: 35%; }
@property --x3 { syntax: '<percentage>'; inherits: false; initial-value: 45%; }
@property --y3 { syntax: '<percentage>'; inherits: false; initial-value: 78%; }
@property --x4 { syntax: '<percentage>'; inherits: false; initial-value: 88%; }
@property --y4 { syntax: '<percentage>'; inherits: false; initial-value: 82%; }
@property --x5 { syntax: '<percentage>'; inherits: false; initial-value: 8%;  }
@property --y5 { syntax: '<percentage>'; inherits: false; initial-value: 65%; }

.lalp-blog__hero {
	position: relative;
	padding: clamp(72px, 11vw, 140px) 0 clamp(32px, 5vw, 56px);
	text-align: left;
}
.lalp-blog__hero .lalp-blog__container {
	position: relative;
	z-index: 2;
}

/* --- Mesh: 5 radial blobs of brand color. Lives inside .lalp-blog__atmosphere,
       which handles vertical fade-out, so no per-element mask needed. --- */
.lalp-blog__mesh {
	position: absolute;
	/* Bleed past the section edge so the SVG displacement's ragged border
	   falls outside the visible area on every side. */
	inset: -40px;
	z-index: 0;
	pointer-events: none;
	--x1: 18%;  --y1: 22%;
	--x2: 78%;  --y2: 35%;
	--x3: 45%;  --y3: 78%;
	--x4: 88%;  --y4: 82%;
	--x5: 8%;   --y5: 65%;
	background:
		/* Bright cool catch-light — clean white highlight */
		radial-gradient(circle at var(--x3) var(--y3), rgba(255, 255, 255, .75) 0%, transparent 55%),
		/* Cool mid-gray "metal" tones — replace the old taupe blobs */
		radial-gradient(circle at var(--x2) var(--y2), rgba(180, 190, 200, .50) 0%, transparent 60%),
		radial-gradient(circle at var(--x4) var(--y4), rgba(180, 190, 200, .42) 0%, transparent 65%),
		/* Slightly lighter cool-gray mid-tones */
		radial-gradient(circle at var(--x1) var(--y1), rgba(210, 216, 222, .55) 0%, transparent 60%),
		radial-gradient(circle at var(--x5) var(--y5), rgba(210, 216, 222, .48) 0%, transparent 65%),
		/* Subtle diagonal mist for depth */
		linear-gradient(135deg, rgba(225, 230, 235, .22) 0%, transparent 55%);
	will-change: background;
	filter: contrast(1.04) saturate(.85) url(#lalp-blog-liquid);
	opacity: .85;
}
.lalp-blog__mesh::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,0) 35%, rgba(0,0,0,.04) 100%);
	pointer-events: none;
}

/* --- Shimmer sweep: diagonal light pass over the mesh.
   Two-band gradient — a broad soft halo plus a narrow bright crest —
   so the light reads as a moving "fold" of brightness, not a thin line.
   `screen` blend lifts the cool gray base; opacity bumped for visibility. */
.lalp-blog__shimmer {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		115deg,
		transparent 18%,
		rgba(255, 255, 255, .15) 35%,
		rgba(255, 255, 255, .55) 47%,
		rgba(255, 255, 255, .90) 50%,
		rgba(255, 255, 255, .55) 53%,
		rgba(255, 255, 255, .15) 65%,
		transparent 82%
	);
	background-size: 260% 100%;
	background-position: 110% 0;
	animation: lalp-blog-shimmer 12s ease-in-out infinite;
	mix-blend-mode: screen;
	opacity: .85;
}
@keyframes lalp-blog-shimmer {
	0%   { background-position: 110% 0; }
	50%  { background-position: -30% 0; }
	100% { background-position: -180% 0; }
}
@media (prefers-reduced-motion: reduce) {
	.lalp-blog__shimmer { animation: none; opacity: .25; }
	.lalp-blog__mesh    { filter: none; }
}

/* --- Particles: floating taupe motes drifting up. JS (initParticles in
   win-win-event.js) drives the motion; the [data-lalp-particles] hook on
   the hero is what activates the existing animator. --- */
.lalp-blog__particles {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}
.lalp-blog__particles .lalp-event__particle {
	position: absolute;
	bottom: -20px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	/* Cool gray-white motes — soft glow on the premium near-white background. */
	background: radial-gradient(circle, rgba(255, 255, 255, .85) 0%, var(--lalp-c-blog-mote) 40%, rgba(200, 205, 212, 0) 70%);
	opacity: 0;
	will-change: transform, opacity;
	filter: blur(1px);
}
.lalp-blog__particles .lalp-event__particle:nth-child(3n)   { width: 4px;  height: 4px; }
.lalp-blog__particles .lalp-event__particle:nth-child(3n+1) { width: 8px;  height: 8px; }
.lalp-blog__particles .lalp-event__particle:nth-child(3n+2) { width: 12px; height: 12px; filter: blur(2px); }
@media (prefers-reduced-motion: reduce) {
	.lalp-blog__particles .lalp-event__particle { display: none; }
}
.lalp-blog__headline {
	margin: 0;
	font-family: var(--lalp-font);
	font-weight: var(--lalp-fw-light);
	font-size: clamp(40px, 7vw, 88px);
	line-height: 1.02;
	letter-spacing: -.01em;
	color: var(--lalp-c-primary);
	text-wrap: balance;
}
.lalp-blog__lede {
	margin: clamp(18px, 2.5vw, 28px) 0 0;
	max-width: 56ch;
	font-size: clamp(15px, 1.2vw, 18px);
	line-height: 1.65;
	color: rgba(87, 87, 86, .82);
}

/* ---------- Category pills ---------- */
.lalp-blog__filters {
	padding-bottom: clamp(24px, 3.5vw, 40px);
}
.lalp-blog__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lalp-blog .lalp-blog__pill,
.lalp-blog a.lalp-blog__pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--lalp-c-primary);
	background: var(--lalp-c-white);
	border: 1px solid var(--lalp-c-line);
	border-radius: 999px;
	text-decoration: none !important;
	transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.lalp-blog a.lalp-blog__pill:hover {
	color: var(--lalp-c-secondary);
	border-color: var(--lalp-c-secondary);
}
.lalp-blog a.lalp-blog__pill.is-active {
	background: var(--lalp-c-secondary);
	color: var(--lalp-c-white);
	border-color: var(--lalp-c-secondary);
}

/* ---------- Grid ---------- */
.lalp-blog__grid-section {
	padding-bottom: clamp(64px, 9vw, 120px);
}
.lalp-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.5vw, 36px);
}
/* Feature card spans 2 cols (the magazine-feature layout the user chose) */
.lalp-blog__card--feature {
	grid-column: span 2;
}
.lalp-blog__card--feature .lalp-blog__card-media {
	aspect-ratio: 16 / 9;
}
.lalp-blog__card--feature .lalp-blog__card-body {
	padding: clamp(24px, 2.4vw, 36px) clamp(24px, 2.4vw, 40px);
}

/* ---------- Cards ---------- */
/* Entrance state — JS adds .is-revealed sequentially via setTimeout for a
   gentle stagger. Idle/no-JS users see the cards immediately (the .no-js
   fallback below). */
.lalp-blog__card {
	position: relative;
	background: var(--lalp-c-white);
	border: 1px solid var(--lalp-c-line);
	/* Asymmetric brand radius — sharp top-left, rounded everywhere else */
	border-radius: 0 50px 50px 50px;
	/* Note: overflow on the card was previously `hidden` to clip the
	   image to the radius, but that also clipped decorative elements
	   (editor's-pick chip) poking over the top edge. Moved the clip onto
	   .lalp-blog__card-link (still rounds the inner content) — the card
	   itself stays visible so the chip can overhang. */
	overflow: visible;
	box-shadow: 0 16px 40px -24px rgba(87, 87, 86, .18);
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 1.1s cubic-bezier(.22, .61, .36, 1),
		transform 1.1s cubic-bezier(.22, .61, .36, 1),
		box-shadow .35s ease;
	will-change: opacity, transform;
}
.lalp-blog__card.is-revealed {
	opacity: 1;
	transform: translateY(0);
}
.lalp-blog__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 60px -28px rgba(87, 87, 86, .28);
}
/* No-JS / reduced-motion fallback: show cards immediately. */
.no-js .lalp-blog__card {
	opacity: 1;
	transform: none;
	transition: box-shadow .35s ease;
}
@media (prefers-reduced-motion: reduce) {
	.lalp-blog__card {
		opacity: 1;
		transform: none;
		transition: box-shadow .35s ease;
	}
}

/* Grid loading transition for AJAX filter swaps — fades the old grid out
   gently while we await the new one. */
.lalp-blog__grid-wrap {
	transition: opacity .45s ease;
	min-height: 100px;                  /* prevent layout jolt during swap */
}
.lalp-blog__grid-wrap.is-loading {
	opacity: .35;
	pointer-events: none;
}
.lalp-blog__card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: var(--lalp-c-text) !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
	/* Match the parent card's radius and clip image/text content to it.
	   Card itself has overflow:visible so decorative overhangs (editor's
	   pick chip) can sit above the top edge. */
	border-radius: inherit;
	overflow: hidden;
	background: inherit;
}
.lalp-blog__card-media {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--lalp-c-gray-soft);
	/* Match the card's top corners directly on the media element. Without
	   this, the image-scale-on-hover transform breaks the parent's
	   overflow-clip in WebKit, making the rounded top-right corner appear
	   to "straighten" during the hover transition. */
	border-top-left-radius: 0;
	border-top-right-radius: 50px;
}
.lalp-blog__card-img,
.lalp-blog__card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s ease;
}
.lalp-blog__card:hover .lalp-blog__card-img,
.lalp-blog__card:hover .lalp-blog__card-media img {
	transform: scale(1.04);
}
.lalp-blog__card-fallback {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--lalp-c-brown) 0%, var(--lalp-c-brown-soft) 100%);
}

/* Category chip pinned top-left of the image */
.lalp-blog__card-chip {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 6px 14px;
	font-size: 10px;
	font-weight: var(--lalp-fw-medium);
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--lalp-c-white);
	background: rgba(161, 128, 103, .92);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-radius: 999px;
}

.lalp-blog__card-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px 24px 28px;
	flex: 1;                              /* push CTA to bottom in equal-height grid */
}
/* Big day-number on the left of each card body, month + reading-time
   stacked tiny beside it. Editorial magazine pattern — replaces the old
   inline single-line eyebrow. */
.lalp-blog__card-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 2px;
}
.lalp-blog__card-day {
	font-family: var(--lalp-font);
	font-style: italic;
	font-weight: var(--lalp-fw-light);
	font-size: clamp(36px, 3.4vw, 48px);
	line-height: .9;
	letter-spacing: -.02em;
	color: var(--lalp-c-secondary);
	font-variant-numeric: tabular-nums;
}
.lalp-blog__card-meta-sub {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 10px;
	font-weight: var(--lalp-fw-medium);
	letter-spacing: .22em;
	text-transform: uppercase;
	color: rgba(87, 87, 86, .68);
	line-height: 1.3;
}
.lalp-blog__card-month {
	color: var(--lalp-c-primary);
}
.lalp-blog__card-reading {
	opacity: .75;
}
/* Specificity-boosted h-tag selectors so Hello Elementor's reset
   (h2{font-size:2rem}, h3{font-size:1.75rem} loaded later in cascade)
   doesn't overpower the class rule. */
.lalp-blog h2.lalp-blog__card-title,
.lalp-blog h3.lalp-blog__card-title {
	margin: 0;
	font-family: var(--lalp-font);
	font-weight: var(--lalp-fw-regular);
	font-size: clamp(16px, 1.2vw, 19px);
	line-height: 1.3;
	color: var(--lalp-c-secondary);
	letter-spacing: -.003em;
	text-wrap: balance;
}
.lalp-blog__card-excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: rgba(87, 87, 86, .85);
}
.lalp-blog__card-cta {
	display: inline-block;
	margin-top: auto;
	padding-top: 4px;
	font-size: 12px;
	font-weight: var(--lalp-fw-medium);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--lalp-c-secondary);
	transition: color .25s ease, letter-spacing .25s ease;
}
.lalp-blog__card:hover .lalp-blog__card-cta {
	color: var(--lalp-c-primary);
	letter-spacing: .18em;
}

/* ---------- Empty state ---------- */
.lalp-blog__empty {
	padding: clamp(48px, 8vw, 96px) 0;
	text-align: center;
	color: rgba(87, 87, 86, .68);
}

/* ---------- Pagination ---------- */
.lalp-blog__pagination {
	margin-top: clamp(40px, 5vw, 64px);
	display: flex;
	justify-content: center;
	gap: 6px;
}
.lalp-blog__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	font-size: 13px;
	font-weight: var(--lalp-fw-medium);
	color: var(--lalp-c-primary);
	background: var(--lalp-c-white);
	border: 1px solid var(--lalp-c-line);
	border-radius: 999px;
	text-decoration: none !important;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.lalp-blog__pagination .page-numbers:hover {
	background: var(--lalp-c-brown-soft);
	border-color: var(--lalp-c-secondary);
}
.lalp-blog__pagination .page-numbers.current {
	background: var(--lalp-c-secondary);
	color: var(--lalp-c-white);
	border-color: var(--lalp-c-secondary);
}
.lalp-blog__pagination .page-numbers.dots {
	border: 0;
	background: transparent;
}

/* ============================================================================
   Character moves — vertical spine, editor's-pick chip, tilted feature card,
   editorial pull-quote, animated pill underline.
   ========================================================================== */

/* --- Vertical 'БЛОГ' wordmark spine ---
   Lives inside .lalp-blog__atmosphere so it can extend through hero + grid
   freely. Anchored from a top offset so the wordmark always starts visible
   below the global site header; JS drives a small parallax-down on scroll. */
.lalp-blog__spine {
	position: absolute;
	left: clamp(8px, 1vw, 24px);
	/* Land in the middle-vertical of the hero, with the wordmark drifting
	   downward from there as the user scrolls (handled in JS). Using a
	   pixel-anchored top instead of `50%` so the position is predictable
	   regardless of viewport height / mesh mask compositing. */
	top: clamp(180px, 26vh, 320px);
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-family: var(--lalp-font);
	font-weight: var(--lalp-fw-light);
	font-size: clamp(40px, 5vw, 84px);
	letter-spacing: .42em;
	text-transform: uppercase;
	color: var(--lalp-c-secondary);
	opacity: .12;
	pointer-events: none;
	user-select: none;
	white-space: nowrap;
	will-change: transform;               /* hint for scroll-driven transform */
}

/* --- Tilted feature card + editor's-pick chip --- */
/* Subtle -1° tilt — just enough to read as "this is special" without
   looking broken. The chip pokes over the top edge of the card. */
.lalp-blog__card.lalp-blog__card--feature {
	transform: rotate(-.6deg);
	transform-origin: center top;
}
.lalp-blog__card.lalp-blog__card--feature.is-revealed {
	/* Keep the tilt even after the entrance animation lands */
	transform: rotate(-.6deg) translateY(0);
}
.lalp-blog__card.lalp-blog__card--feature:hover {
	transform: rotate(-.6deg) translateY(-6px);
}
/* Editor's-pick chip — sits at the top-right corner of the feature card,
   away from the category chip (which lives top-left). Pokes slightly above
   the card edge for that magazine-cover overhang. No rotation — sits
   square so the brand mark stays legible. */
.lalp-blog__editor-pick {
	position: absolute;
	top: -14px;
	right: 24px;
	z-index: 3;
	padding: 7px 16px;
	font-size: 10px;
	font-weight: var(--lalp-fw-medium);
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--lalp-c-white);
	background: var(--lalp-c-secondary);
	border-radius: 999px;
	box-shadow: 0 6px 16px -6px rgba(161, 128, 103, .5);
}

/* --- Editorial pull-quote between feature + grid --- */
/* Spans the same 2 cols as the feature card to mirror its presence; on
   the 3-col grid this means it occupies row 2, columns 1-2 (with the
   first equal card naturally filling column 3 if any). */
.lalp-blog__quote {
	grid-column: span 2;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: clamp(20px, 2.4vw, 36px);
	align-items: start;
	padding: clamp(48px, 6vw, 88px) clamp(28px, 4vw, 64px);
	font-family: var(--lalp-font);
}
.lalp-blog__quote-mark {
	color: var(--lalp-c-brown);
	flex-shrink: 0;
	margin-top: 10px;
	width: clamp(40px, 4vw, 56px);
	height: auto;
}
.lalp-blog__quote-text {
	margin: 0;
	font-family: var(--lalp-font);
	font-weight: var(--lalp-fw-light);
	font-style: italic;
	font-size: clamp(28px, 3.4vw, 52px);
	line-height: 1.18;
	color: var(--lalp-c-primary);
	text-wrap: balance;
	max-width: 22ch;
}
.lalp-blog__quote-attrib {
	grid-column: 2;
	display: inline-block;
	margin-top: 18px;
	font-size: 10px;
	font-weight: var(--lalp-fw-medium);
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--lalp-c-secondary);
	position: relative;
	padding-left: 38px;
}
.lalp-blog__quote-attrib::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 28px;
	height: 1px;
	background: var(--lalp-c-secondary);
}

/* --- Animated underline on pill hover + active --- */
/* Pill keeps its rounded background; the underline is a tiny taupe bar
   that slides in from the left on hover, full-width when active. */
.lalp-blog a.lalp-blog__pill {
	position: relative;
	overflow: hidden;                      /* clip the underline slide-in */
}
.lalp-blog a.lalp-blog__pill::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 5px;
	height: 1px;
	background: var(--lalp-c-secondary);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}
.lalp-blog a.lalp-blog__pill:hover::after {
	transform: scaleX(1);
}
.lalp-blog a.lalp-blog__pill.is-active::after {
	background: var(--lalp-c-white);
	transform: scaleX(1);
}

/* ============================================================================
   Responsive — tablet (≤1024px) → 2 cols; mobile (≤600px) → 1 col
   ========================================================================== */
@media (max-width: 1024px) {
	.lalp-blog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.lalp-blog__card--feature {
		grid-column: span 2;
	}
	.lalp-blog__quote {
		grid-column: span 2;
	}
	/* Spine becomes more subtle on tablet */
	.lalp-blog__spine {
		font-size: clamp(36px, 6vw, 56px);
		opacity: .08;
	}
}

@media (max-width: 600px) {
	/* Mobile: drop ALL filter + blend-mode work that creates an offscreen
	   composite buffer. Mobile WebKit renders 1px visible seams along the
	   buffer edges (the "vertical line" bug). Mesh keeps its color blobs +
	   slow drift; shimmer keeps the diagonal sweep. We lose: the liquid-
	   wobble, the screen-blend brighten effect, and the slight contrast
	   bump. We gain: a clean viewport edge. */
	/* Kill the mesh + shimmer + diagonal overlay entirely on mobile.
	   All three are gradient / filter / blend-mode layers that have been
	   showing as a visible vertical seam on the left edge in mobile WebKit.
	   Mobile atmosphere is now: cool gray bg + lots of drifting motes only.
	   That's the brand feel without any of the line-causing chrome. */
	.lalp-blog__mesh,
	.lalp-blog__mesh::after,
	.lalp-blog__shimmer {
		display: none !important;
	}

	/* Mobile motes fall instead of rise — visually denser/faster cycle.
	   Position them above the viewport (top:-20px) so GSAP's y:0 → y:+travel
	   carries them down through the page. The JS in win-win-event.js
	   detects (max-width: 600px) and flips the y direction + duration. */
	.lalp-blog__particles .lalp-event__particle {
		top: -20px;
		bottom: auto;
	}

	.lalp-blog__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.lalp-blog__card--feature {
		grid-column: span 1;
	}
	.lalp-blog__card--feature .lalp-blog__card-media {
		aspect-ratio: 3 / 2;            /* match equal cards on mobile */
	}
	.lalp-blog__quote {
		grid-column: span 1;
		grid-template-columns: 1fr;
		padding: 40px 22px;
		gap: 16px;
	}
	.lalp-blog__quote-mark {
		width: 32px;
		height: auto;
	}
	.lalp-blog__quote-text {
		font-size: clamp(22px, 6vw, 32px);
		line-height: 1.22;
		max-width: 100%;
	}
	.lalp-blog__quote-attrib {
		grid-column: 1;
		margin-top: 10px;
	}
	/* Hide the magazine spine on phones — it crowds the narrow viewport */
	.lalp-blog__spine {
		display: none;
	}
	/* Drop the feature-card tilt on mobile — looks broken on a single-col stack */
	.lalp-blog__card.lalp-blog__card--feature {
		transform: none;
	}
	.lalp-blog__card.lalp-blog__card--feature:hover,
	.lalp-blog__card.lalp-blog__card--feature.is-revealed {
		transform: none;
	}
	.lalp-blog__editor-pick {
		right: 16px;
		font-size: 9px;
		padding: 6px 14px;
		letter-spacing: .22em;
	}
	/* Big day-number more compact on phones */
	.lalp-blog__card-day {
		font-size: 30px;
	}
	.lalp-blog__card-meta {
		gap: 12px;
	}
	.lalp-blog h2.lalp-blog__card-title,
	.lalp-blog h3.lalp-blog__card-title {
		font-size: 16px;
	}
	.lalp-blog__card--feature .lalp-blog__card-body {
		padding: 22px 22px 26px;
	}
	.lalp-blog__card {
		border-radius: 0 36px 36px 36px;
	}
	.lalp-blog__card-media {
		border-top-right-radius: 36px;
	}
	.lalp-blog__card-body {
		padding: 22px;
	}
	/* Hero: tighter */
	.lalp-blog__hero {
		padding-top: clamp(56px, 14vw, 96px);
	}
	.lalp-blog__headline {
		font-size: clamp(34px, 9vw, 48px);
	}
	/* Pills: horizontal scroll instead of wrap so all categories stay accessible */
	.lalp-blog__filters {
		padding-bottom: 24px;
	}
	.lalp-blog__pills {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 4px;
		margin: 0 calc(-1 * clamp(20px, 4vw, 48px));         /* bleed to viewport edges */
		padding-left: clamp(20px, 4vw, 48px);
		padding-right: clamp(20px, 4vw, 48px);
	}
	.lalp-blog__pills::-webkit-scrollbar { display: none; }
	.lalp-blog__pill { flex-shrink: 0; }
}
