/*
Theme Name: Ask Maya Wellness
Template: twentytwentyfive
Description: Mobile-first child theme for Ask Maya Wellness, built for visitors arriving from social media.
Version: 2.8.0
Requires at least: 6.7
Text Domain: askmaya
*/

:root {
	--am-cream: #F7F3EC;
	--am-white: #FFFDF9;
	--am-ink: #2B2622;
	--am-muted: #6B625A;
	--am-teal: #2F6B5E;
	--am-teal-dark: #234F45;
	--am-teal-soft: #E3EEEA;
	--am-sky: #5B9FC7;
	--am-sand: #EFE6D8;
	--am-line: #E4DCCF;
	--am-serif: Fraunces, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

/* ---------- Global ---------- */
.wp-element-button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.wc-block-components-button:not(.is-link) {
	border-radius: 999px !important;
}
.am-wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.am-wrap, .am-start, .am-quiz, .am-research { box-sizing: border-box; }
.am-wrap *, .am-wrap *::before, .am-wrap *::after, .am-start *, .am-quiz *, .am-research *, .am-tabbar * { box-sizing: border-box; }
.am-h2 { font-family: var(--am-serif); font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.2; margin: 0; }
.am-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--am-teal); }
.am-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.am-link { font-size: 14px; font-weight: 700; color: var(--am-teal); text-decoration: none; }
.am-section { margin-top: 36px; }
.am-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; text-decoration: none !important; font-size: 16px; border: 0; cursor: pointer; }
.am-btn-light { background: var(--am-cream); color: var(--am-ink) !important; }
.am-btn-teal { background: var(--am-teal); color: #fff !important; }
.am-btn-teal:hover { background: var(--am-teal-dark); }
.am-btn-outline { border: 1.5px solid currentColor; color: var(--am-cream) !important; background: transparent; }
.am-btn-block { display: flex; width: 100%; }

/* ---------- Hero ---------- */
.am-hero { position: relative; height: min(78vh, 620px); min-height: 440px; border-radius: 28px; overflow: hidden; background: #8FA9A0 center/cover no-repeat; }
.am-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,38,34,0) 30%, rgba(43,38,34,.78) 100%); }
.am-hero-inner { position: absolute; left: 24px; right: 24px; bottom: 28px; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.am-hero h1 { margin: 0; color: #fff; font-family: var(--am-serif); font-size: clamp(42px, 7vw, 72px); line-height: 1.02; font-weight: 600; letter-spacing: -.02em; }

/* ---------- Topic highlights ---------- */
.am-highlights { display: flex; gap: 12px; overflow-x: auto; padding: 22px 2px 4px; scrollbar-width: none; }
.am-highlights::-webkit-scrollbar { display: none; }
.am-hl { flex: none; width: 72px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--am-ink); font-size: 12px; font-weight: 600; }
.am-hl span { width: 66px; height: 66px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--am-teal-soft); color: var(--am-teal); border: 3px solid var(--am-cream); box-shadow: 0 0 0 1.5px var(--am-teal); }

/* ---------- Story cards (posts) ---------- */
.am-stories .wp-block-post-template { display: flex !important; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 6px; margin: 12px 0 0; scrollbar-width: none; }
.am-stories .wp-block-post-template::-webkit-scrollbar { display: none; }
.am-stories .wp-block-post { flex: none; width: 172px; height: 288px; border-radius: 20px; overflow: hidden; position: relative; scroll-snap-align: start; background: linear-gradient(170deg, #8FA9A0, var(--am-teal) 80%); margin: 0 !important; }
.am-stories .wp-block-post:nth-child(3n+2) { background: linear-gradient(170deg, #9CC3DA, var(--am-sky) 80%); }
.am-stories .wp-block-post:nth-child(3n+3) { background: linear-gradient(170deg, #A79C8F, #4A433D 80%); }
.am-stories .wp-block-post-featured-image { position: absolute !important; inset: 0; margin: 0 !important; height: 100% !important; }
.am-stories .wp-block-post-featured-image img { width: 100%; height: 100% !important; object-fit: cover; }
.am-stories .wp-block-post-featured-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.65)); pointer-events: none; }
.am-stories .wp-block-post-terms { position: absolute; left: 14px; right: 14px; bottom: 74px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #fff; margin: 0; }
.am-stories .wp-block-post-terms a { color: #fff; text-decoration: none; }
.am-stories .wp-block-post-title { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; margin: 0; font-family: var(--am-serif); font-size: 18px; line-height: 1.2; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.am-stories .wp-block-post-title a { color: #fff !important; text-decoration: none; }
.am-stories .wp-block-post-title a::before { content: ""; position: absolute; inset: -400px -20px -20px; }

/* ---------- Product chooser ---------- */
.am-chooser { border-radius: 28px; overflow: hidden; background: var(--am-sand); }
.am-chooser-img { aspect-ratio: 4 / 3; background: #F1E9DD center/cover no-repeat; max-height: 380px; width: 100%; }
.am-chooser-body { padding: 20px 16px; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.am-pills { display: flex; gap: 10px; }
.am-pill { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 68px; border-radius: 18px; text-decoration: none !important; color: #fff !important; font-weight: 700; font-size: 17px; }
.am-pill small { font-size: 12px; font-weight: 500; opacity: .9; }
.am-pill.sky { background: var(--am-sky); }
.am-pill.teal { background: var(--am-teal); }

/* ---------- Why STOLLE ---------- */
.am-why { border-radius: 28px; overflow: hidden; background: var(--am-ink); color: var(--am-cream); }
.am-why-img { height: 220px; background: center/cover no-repeat; }
.am-why-body { padding: 24px 20px 26px; display: flex; flex-direction: column; gap: 18px; }
.am-why .am-eyebrow { color: #9CC9BC; }
.am-why .am-h2 { color: #fff; }
.am-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.am-stats b { display: block; font-family: var(--am-serif); font-size: 32px; font-weight: 600; line-height: 1.1; }
.am-stats span { font-size: 12px; color: #C9BFB2; }
.am-why .am-small { margin: 0; font-size: 11px; color: #8A8076; text-align: center; }

/* ---------- Trust ---------- */
.am-trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 782px) { .am-trust { grid-template-columns: repeat(4, 1fr); } }
.am-trust div { padding: 14px 8px; border-radius: 16px; background: var(--am-white); text-align: center; font-size: 13px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--am-ink); }
.am-trust svg { color: var(--am-teal); }

/* ---------- Newsletter / CTA band ---------- */
.am-band { border-radius: 24px; background: var(--am-teal); color: #fff; padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.am-band .am-h2 { color: #fff; font-size: 22px; }
.am-band p { margin: 0; font-size: 15px; color: #DDEBE6; }

/* ---------- Link-in-bio /start ---------- */
.am-start { max-width: 520px; margin: 0 auto; padding: 28px 16px 40px; display: flex; flex-direction: column; gap: 10px; }
.am-start-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-bottom: 8px; }
.am-avatar { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--am-teal-soft), var(--am-sand)); display: flex; align-items: center; justify-content: center; font-family: var(--am-serif); font-size: 40px; color: var(--am-teal); border: 3px solid var(--am-white); box-shadow: 0 4px 16px rgba(43,38,34,.08); overflow: hidden; }
.am-avatar img { width: 100%; height: 100%; object-fit: cover; }
.am-start h1 { margin: 0; font-family: var(--am-serif); font-size: 30px; font-weight: 600; }
.am-start-head p { margin: 0; color: #4A433D; max-width: 320px; }
.am-label { margin: 16px 4px 2px; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--am-teal); }
.am-big { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--am-white); border: 1px solid var(--am-line); text-decoration: none !important; color: var(--am-ink) !important; }
.am-big b { display: block; font-size: 16px; font-weight: 600; }
.am-big small { display: block; font-size: 13px; color: var(--am-muted); margin-top: 2px; }
.am-big .ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; background: var(--am-teal-soft); color: var(--am-teal); overflow: hidden; }
.am-big .ico img { width: 42px; height: auto; }
.am-big.feature { background: var(--am-teal-soft); border-color: #CFE0DA; }
.am-big.feature .ico { background: var(--am-teal); color: #fff; }
.am-big.wa { background: #25D366; border-color: #25D366; color: #fff !important; }
.am-big.wa small { color: #E9FBEF; }
.am-big.wa .ico { background: rgba(255,255,255,.2); color: #fff; }
.am-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.am-chip { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 18px; background: var(--am-white); border: 1px solid var(--am-line); font-size: 14px; font-weight: 500; color: var(--am-ink) !important; text-decoration: none !important; }
.am-video { display: flex; gap: 14px; padding: 12px; border-radius: 20px; background: var(--am-ink); color: var(--am-cream) !important; text-decoration: none !important; }
.am-video-thumb { width: 96px; height: 120px; border-radius: 14px; flex: none; background: linear-gradient(160deg, #4A433D, var(--am-teal)) center/cover; }
.am-video b { font-family: var(--am-serif); font-size: 19px; font-weight: 600; line-height: 1.25; display: block; margin: 4px 0 8px; }
.am-video small { font-size: 12px; color: #C9BFB2; }
.am-video span { font-size: 14px; font-weight: 600; color: #BFE0D6; }

/* ---------- Quiz ---------- */
.am-quiz { max-width: 520px; margin: 0 auto; padding: 28px 16px 40px; display: flex; flex-direction: column; gap: 12px; }
.am-progress { display: flex; gap: 6px; }
.am-progress i { flex: 1; height: 6px; border-radius: 3px; background: var(--am-line); }
.am-progress i.on { background: var(--am-teal); }
.am-quiz h2 { margin: 6px 0 4px; font-family: var(--am-serif); font-size: 28px; font-weight: 600; line-height: 1.2; }
.am-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px; border-radius: 16px; background: var(--am-white); border: 1.5px solid var(--am-line); font: inherit; font-size: 16px; font-weight: 500; color: var(--am-ink); text-align: left; cursor: pointer; }
.am-opt:hover, .am-opt:focus-visible { border-color: var(--am-teal); outline: none; }
.am-opt .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C9BFB2; flex: none; }
.am-step[hidden], .am-result[hidden] { display: none !important; }
.am-result-card { border-radius: 24px; background: var(--am-white); border: 1px solid var(--am-line); overflow: hidden; }
.am-result-card .img { padding: 16px; display: flex; justify-content: center; background: var(--am-teal-soft); }
.am-result-card .img img { width: 220px; height: auto; }
.am-result-card .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.am-result-card h3 { margin: 0; font-family: var(--am-serif); font-size: 30px; font-weight: 600; }
.am-result-card .price { font-size: 24px; font-weight: 700; margin: 0; }
.am-result-card .price span { font-size: 14px; font-weight: 400; color: var(--am-muted); }
.am-note { font-size: 13px; color: var(--am-muted); margin: 6px 4px 0; }
.am-restart { background: none; border: 0; color: var(--am-teal); font: inherit; font-weight: 600; cursor: pointer; padding: 8px; }

/* ---------- Research ---------- */
.am-research { max-width: 720px; margin: 0 auto; padding: 32px 16px 48px; }
.am-research h1 { font-family: var(--am-serif); font-size: clamp(34px, 5vw, 48px); font-weight: 600; line-height: 1.1; margin: 8px 0 12px; }
.am-patents { list-style: none; margin: 8px 0 0; padding: 0; }
.am-patents li { border-bottom: 1px solid var(--am-line); }
.am-patents a { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; text-decoration: none; color: var(--am-ink); }
.am-patents .no { flex: none; width: 92px; font-size: 13px; font-weight: 700; color: var(--am-teal); line-height: 1.4; }
.am-patents .no span { display: block; font-weight: 500; color: var(--am-muted); }
.am-patents .t { flex: 1; font-size: 15px; line-height: 1.45; }
.am-callout { margin-top: 24px; padding: 18px; border-radius: 18px; background: var(--am-sand); font-size: 14px; line-height: 1.6; color: #4A433D; }
.am-callout b { display: block; color: var(--am-ink); margin-bottom: 6px; }
.am-statbox { margin: 16px 0 8px; padding: 18px; border-radius: 20px; background: var(--am-white); display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 6px; }
.am-statbox b { display: block; font-family: var(--am-serif); font-size: 30px; font-weight: 600; color: var(--am-teal); }
.am-statbox span { font-size: 12px; color: var(--am-muted); }

/* ---------- Mobile tab bar + WhatsApp ---------- */
.am-tabbar { display: none; }
.am-wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--am-teal); color: #fff !important; font-weight: 600; text-decoration: none !important; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.am-wa:hover { background: var(--am-teal-dark); }

@media (max-width: 781px) {
	.am-wa { display: none; }
	.am-tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: calc(64px + env(safe-area-inset-bottom)); padding: 6px 4px env(safe-area-inset-bottom); background: var(--am-white); border-top: 1px solid var(--am-line); box-shadow: 0 -4px 16px rgba(43,38,34,.06); }
	.am-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--am-muted); text-decoration: none; }
	.am-tabbar a.on { color: var(--am-teal); }
	.am-tabbar a.wa { color: #128C4A; }
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

@media (min-width: 782px) {
	.am-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
	.am-home-grid > * { margin-top: 0; }
	.am-why { display: grid; grid-template-columns: 1fr 1fr; }
	.am-why-img { height: auto; min-height: 320px; }
}

/* ---------- v2.1: Maya-first home ---------- */
.am-intro { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; padding: 28px 0 8px; }
.am-intro h1 { margin: 8px 0 14px; font-family: var(--am-serif); font-size: clamp(44px, 7vw, 76px); line-height: 1.02; font-weight: 600; letter-spacing: -.02em; color: var(--am-ink); }
.am-lede { margin: 0; font-size: 19px; line-height: 1.55; color: #4A433D; max-width: 520px; }
.am-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.am-btn-ghost { border: 1.5px solid var(--am-teal); color: var(--am-teal) !important; background: transparent; }
.am-intro-art { display: flex; justify-content: center; }
.am-arch { width: min(100%, 340px); aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; background: radial-gradient(120% 80% at 30% 20%, #FFFDF9 0%, var(--am-sand) 45%, var(--am-teal-soft) 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: inset 0 0 0 1px var(--am-line); background-size: cover; background-position: center; }
.am-arch span { font-family: var(--am-serif); font-size: 120px; line-height: 1; color: var(--am-teal); }
.am-arch small { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--am-muted); font-weight: 600; }
.am-muted { color: var(--am-muted); }
.am-shelf { padding: 24px 16px; border-radius: 28px; background: var(--am-white); }
.am-shelf-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.am-shelf-head p { margin: 0; }
.am-shelf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.am-product { display: flex; flex-direction: column; gap: 4px; text-decoration: none !important; color: var(--am-ink) !important; }
.am-product-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 18px; padding: 14px; margin-bottom: 8px; }
.am-product-img img { width: 100%; height: auto; mix-blend-mode: multiply; }
.am-product-tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--am-teal); }
.am-product-tag.sky { color: #3E7FA6; }
.am-product b { font-family: var(--am-serif); font-size: 22px; font-weight: 600; }
.am-product .am-muted { font-size: 14px; }
.am-price { font-weight: 700; margin-top: 2px; }
.am-shelf-foot { margin: 16px 0 0; font-size: 14px; }
.am-trust div { font-size: 13px; }

/* Header: menu left, title centre, account + cart right */
.am-header { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 56px; }
.am-header > .wp-block-navigation { grid-column: 1; grid-row: 1; justify-self: start; }
.am-header > .wp-block-site-title { grid-column: 2; grid-row: 1; text-align: center; margin: 0; }
.am-header > .wp-block-woocommerce-customer-account { grid-column: 3; grid-row: 1; justify-self: end; margin-right: 44px; }
.am-header > .wp-block-woocommerce-mini-cart { grid-column: 3; grid-row: 1; justify-self: end; }
.am-header .wp-block-site-title a { text-decoration: none; }

@media (min-width: 782px) {
	.am-intro { grid-template-columns: 1.2fr 1fr; gap: 48px; padding: 48px 0 16px; }
	.am-shelf { padding: 36px; }
	.am-shelf-grid { grid-template-columns: repeat(2, minmax(0, 260px)); gap: 24px; }
}
@media (max-width: 781px) {
	.am-intro-art { order: -1; }
	.am-arch { width: 150px; aspect-ratio: 1; border-radius: 50%; }
	.am-arch span { font-size: 64px; }
	.am-arch small { display: none; }
}

.am-hl { width: 84px; text-align: center; line-height: 1.25; }

/* ---------- v2.3: Maya portrait ---------- */
.am-intro-art { margin: 0; flex-direction: column; align-items: center; gap: 10px; }
.am-intro-art figcaption { font-size: 13px; color: var(--am-muted); letter-spacing: .02em; }
.am-arch-photo { position: relative; overflow: hidden; padding: 0; background: var(--am-sand); }
.am-arch-photo picture, .am-arch-photo img { display: block; width: 100%; height: 100%; }
.am-arch-photo img { object-fit: cover; object-position: center 20%; }
.am-ai-badge { position: absolute; right: 14px; bottom: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(255,253,249,.92); color: var(--am-ink); font-size: 11px; font-weight: 600; letter-spacing: .04em; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.am-avatar-wrap { position: relative; display: inline-block; }
.am-avatar-wrap .am-ai-badge { right: -6px; bottom: 2px; }
@media (max-width: 781px) {
	.am-arch-photo { width: 168px; aspect-ratio: 1; border-radius: 50%; }
	.am-arch-photo .am-ai-badge { right: 50%; transform: translateX(50%); bottom: 6px; font-size: 10px; }
}
.am-arch .am-ai-badge { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 11px; line-height: 1.4; color: var(--am-ink); }
@media (max-width: 781px) { .am-arch .am-ai-badge { font-size: 10px; } }

/* ---------- v2.4: editorial story cards (square image, title below) ---------- */
.am-stories .wp-block-post { width: 220px; height: auto; background: none !important; overflow: visible; border-radius: 0; }
.am-stories .wp-block-post:nth-child(n) { background: none !important; }
.am-stories .wp-block-post-featured-image { position: relative !important; inset: auto; aspect-ratio: 1; height: auto !important; border-radius: 18px; overflow: hidden; background: var(--am-teal-soft); }
.am-stories .wp-block-post-featured-image::after { display: none; }
.am-stories .wp-block-post-featured-image img { aspect-ratio: 1; object-fit: cover; }
.am-stories .wp-block-post-terms { position: static; margin: 12px 0 4px; color: var(--am-teal); font-size: 11px; }
.am-stories .wp-block-post-terms a { color: var(--am-teal); }
.am-stories .wp-block-post-title { position: static; color: var(--am-ink); font-size: 18px; -webkit-line-clamp: 3; }
.am-stories .wp-block-post-title a { color: var(--am-ink) !important; }
.am-stories .wp-block-post-title a::before { display: none; }
@media (min-width: 782px) { .am-stories .wp-block-post { width: 260px; } }

/* ---------- v2.6: pillars as text ---------- */
.am-pillars .am-h2 { margin: 6px 0 8px; }
.am-pillars-lede { margin: 0 0 18px; max-width: 560px; }
.am-pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--am-line); }
.am-pillar-grid a { display: flex; flex-direction: column; gap: 4px; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--am-line); text-decoration: none !important; color: var(--am-ink) !important; }
.am-pillar-grid a:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--am-line); }
.am-pillar-grid a:nth-child(even) { padding-left: 14px; }
.am-pillar-grid b { font-family: var(--am-serif); font-size: 20px; font-weight: 600; }
.am-pillar-grid b::after { content: " →"; color: var(--am-teal); font-family: Inter, sans-serif; font-size: 15px; }
.am-pillar-grid span { font-size: 14px; color: var(--am-muted); line-height: 1.4; }
@media (min-width: 782px) {
	.am-pillar-grid { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--am-line); }
	.am-pillar-grid a { border-bottom: 0; padding: 18px 20px !important; border-right: 1px solid var(--am-line); }
	.am-pillar-grid a:first-child { padding-left: 0 !important; }
	.am-pillar-grid a:last-child { border-right: 0; }
}

.am-intro-art figcaption { text-align: center; line-height: 1.5; font-size: 14px; }
.am-intro-art figcaption b { color: var(--am-ink); font-weight: 600; }

/* ---------- v2.8: Pinterest-style article wall ---------- */
.am-archive { padding-top: 28px; padding-bottom: 40px; }
.am-archive .am-eyebrow { margin: 0 0 6px; }
.am-archive-title { font-family: var(--am-serif); font-size: clamp(30px, 5vw, 46px); font-weight: 600; line-height: 1.1; margin: 0 0 10px; }
.am-archive-desc { color: var(--am-muted); max-width: 620px; margin: 0 0 6px; }
.am-archive-desc p { margin: 0; }
.am-filter { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 22px; scrollbar-width: none; }
.am-filter::-webkit-scrollbar { display: none; }
.am-filter a { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--am-line); background: var(--am-white); color: var(--am-ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.am-filter a.on { background: var(--am-ink); border-color: var(--am-ink); color: var(--am-cream); }
.am-masonry .wp-block-post-template { display: block !important; columns: 2; column-gap: 14px; margin: 0; padding: 0; list-style: none; }
.am-masonry .wp-block-post { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 22px !important; }
.am-masonry .wp-block-post-featured-image { margin: 0 0 10px !important; border-radius: 16px; overflow: hidden; background: var(--am-teal-soft); }
.am-masonry .wp-block-post-featured-image img { width: 100%; height: auto !important; display: block; transition: transform .3s ease; }
.am-masonry .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.am-masonry .wp-block-post-terms { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 4px; }
.am-masonry .wp-block-post-terms a { color: var(--am-teal); text-decoration: none; }
.am-masonry .wp-block-post-title { font-family: var(--am-serif); font-size: 17px; line-height: 1.25; font-weight: 600; margin: 0 0 6px; }
.am-masonry .wp-block-post-title a { color: var(--am-ink); text-decoration: none; }
.am-masonry .wp-block-post-excerpt { margin: 0; }
.am-masonry .wp-block-post-excerpt__excerpt { font-size: 14px; line-height: 1.5; color: var(--am-muted); margin: 0; }
.am-masonry .wp-block-post-excerpt__more-text { display: none; }
@media (min-width: 700px) { .am-masonry .wp-block-post-template { columns: 3; column-gap: 20px; } .am-masonry .wp-block-post-title { font-size: 19px; } }
@media (min-width: 1100px) { .am-masonry .wp-block-post-template { columns: 4; } }
