/* ==========================================================================
   Kweh Herbs: WordPress + WooCommerce specifics (loads after kweh.css)
   ========================================================================== */

[hidden] { display: none !important; }
body { overflow-x: hidden; }
.logo img { max-width: 100%; }

/* Hero images set in the Customizer may not exist yet: warm gradient fallbacks. */
.hero__media--fallback { background: radial-gradient(120% 120% at 75% 30%, #8a5a2c 0%, #4a2412 45%, #1c0f08 100%); }
.hero__media--sunset { background: linear-gradient(180deg, #1d2b3a 0%, #c7652a 46%, #3b1d0e 70%, #1c0f08 100%); }
.hero.is-paused .hero__dot-fill, .hero.is-static .hero__dot-fill { animation-play-state: paused; }
.hero__dot:not(.is-active) .hero__dot-fill { display: none; }
.hero__dot-fill { animation: dot-fill 7000ms linear forwards; }
.hero-product__img img { width: 100%; height: 100%; object-fit: cover; }

/* Product cards from wp_get_attachment_image */
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__price .woocommerce-Price-amount { font-weight: 700; }
.card__add.is-busy, .line.is-busy { opacity: .5; pointer-events: none; }
.collection__img img, .founder__img img, .tea-cta__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Qty input (real form field so WooCommerce's fallback post works) */
.qty input {
  width: 44px; text-align: center; border: 0; background: transparent; font: inherit; font-weight: 700;
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy__price del, .buy__price s { font-size: 20px; color: var(--ink-soft); font-weight: 500; }
.buy__price ins { text-decoration: none; }

/* Drawer extras */
.drawer__cartlink { display: block; text-align: center; margin-top: 12px; font-size: 14px; color: var(--ink-soft); }
.drawer__error { margin: 0; padding: 12px 22px; background: #fbe9e7; color: var(--red); font-weight: 600; font-size: 14px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; translate: -50% 20px; opacity: 0;
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow); transition: opacity .25s ease, translate .25s ease; max-width: calc(100% - 32px);
}
.toast.is-in { opacity: 1; translate: -50% 0; }

/* Shop extras */
.shop__desc { color: var(--ink-soft); max-width: 70ch; margin-top: 10px; }
.pager { margin-top: 48px; display: flex; justify-content: center; }
.pager ul { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; flex-wrap: wrap; }
.pager a, .pager span {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; background: var(--white);
}
.pager .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager a:hover { border-color: var(--ink); }

/* Generic pages, posts */
.page { padding-block: 34px 80px; }
.page__head h1 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 26px; }
.prose h2 { font-size: 28px; margin: 28px 0 10px; }
.prose h3 { font-size: 22px; margin: 22px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose img { border-radius: var(--radius); height: auto; }
.post-list { display: grid; gap: 22px; }
.post-item h2 { font-size: 26px; }
.post-item h2 a { text-decoration: none; }

/* ---------- WooCommerce notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  list-style: none; margin: 0 0 22px; padding: 14px 18px !important; border-radius: var(--radius);
  border: 1px solid var(--line); border-left: 4px solid var(--teal); background: var(--white); color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.woocommerce-error { border-left-color: var(--red); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }

/* ---------- WooCommerce buttons + fields (cart, checkout, account) ---------- */
.page--wc .button, .page--wc button.button, .page--wc input.button, .page--wc a.button,
.page--wc .wc-block-components-button, .woocommerce .button.alt {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  background: var(--teal) !important; color: var(--white) !important; border: 0 !important; border-radius: 999px !important;
  padding: 13px 26px !important; font: 700 14.5px/1.2 var(--font-body) !important; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none !important; transition: background-color .15s ease;
}
.page--wc .button:hover, .page--wc .wc-block-components-button:hover { background: var(--teal-deep) !important; }
.page--wc .button:disabled, .page--wc .button.disabled { opacity: .45; }

.page--wc input[type=text], .page--wc input[type=email], .page--wc input[type=tel], .page--wc input[type=password],
.page--wc input[type=number], .page--wc select, .page--wc textarea, .page--wc .select2-container .select2-selection--single {
  font: inherit; border: 1.5px solid var(--line) !important; border-radius: 12px !important; padding: 11px 14px; background: var(--white);
  min-height: 46px; box-shadow: none !important;
}
.page--wc input:focus, .page--wc select:focus, .page--wc textarea:focus { outline: none; border-color: var(--teal) !important; }
.page--wc label { font-weight: 600; font-size: 14.5px; }

/* Classic cart table */
.page--wc table.shop_table { border: 1px solid var(--line); border-radius: var(--radius-lg); border-collapse: separate; overflow: hidden; background: var(--white); width: 100%; }
.page--wc table.shop_table th { text-transform: uppercase; font-size: 12.5px; letter-spacing: .1em; color: var(--ink-soft); background: var(--cream); padding: 14px 16px; }
.page--wc table.shop_table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.page--wc table.shop_table img { width: 64px; border-radius: 10px; }
.page--wc .cart_totals, .page--wc .woocommerce-checkout-review-order {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow);
}
.page--wc .cart_totals h2, .page--wc #order_review_heading, .page--wc .woocommerce-billing-fields h3, .page--wc .woocommerce-shipping-fields h3,
.page--wc .woocommerce-additional-fields h3 { font-size: 24px; margin: 0 0 14px; }

/* Block cart / checkout */
.page--wc .wc-block-cart, .page--wc .wc-block-checkout { font-family: var(--font-body); }
.page--wc .wc-block-components-sidebar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px !important; }
.page--wc .wc-block-components-text-input input, .page--wc .wc-block-components-combobox input { border-radius: 12px !important; }
.page--wc .wc-block-components-product-name { font-weight: 700; text-decoration: none; }

/* My account */
.page--wc .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 6px; }
.page--wc .woocommerce-MyAccount-navigation a {
  display: block; padding: 11px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; background: var(--white); border: 1px solid var(--line);
}
.page--wc .woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.page--wc .woocommerce-form-login, .page--wc .woocommerce-form-register {
  background: var(--white); border: 1px solid var(--line) !important; border-radius: var(--radius-lg) !important; padding: 26px !important;
}

@media (min-width: 900px) {
  .page--wc .woocommerce-MyAccount-navigation { float: left; width: 24%; }
  .page--wc .woocommerce-MyAccount-content { float: right; width: 72%; }
  .page--wc .woocommerce::after { content: ""; display: table; clear: both; }
}

@media (max-width: 720px) {
  .toast { bottom: 16px; }
  .page--wc table.shop_table_responsive tr td { padding: 10px 14px; }
}

/* ==========================================================================
   v1.1: rounded floating navbar
   ========================================================================== */
.site-header { background: transparent; border-bottom: 0; padding: 12px var(--gutter) 0; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-header__inner {
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 14px 34px -22px rgba(30, 22, 17, .45);
  padding: 8px 10px 8px 26px;
}
.site-header__ask { border-radius: 999px; }
.logo img { height: 44px; }
.mega {
  left: 0; right: 0; margin: 10px auto 0; width: calc(100% - 2 * var(--gutter)); max-width: var(--max);
  border: 1px solid var(--line); border-radius: 30px; overflow: hidden;
}
.search-bar {
  margin: 10px auto 0; max-width: var(--max); background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 10px 8px 22px; box-shadow: 0 14px 34px -22px rgba(30, 22, 17, .45);
}
.search-bar input { border-bottom: 0; padding: 6px 2px; }
/* the hero tucks up under the floating bar */
.hero { margin-top: -78px; }
.hero__content { padding-top: 120px; }
.page-hero { margin-top: -78px; padding-top: calc(clamp(56px, 8vw, 104px) + 78px); }

@media (max-width: 960px) {
  .site-header__inner { padding: 6px 8px 6px 6px; }
  .main-nav {
    top: calc(100% + 8px); left: var(--gutter); right: var(--gutter); border: 1px solid var(--line);
    border-radius: 24px; padding: 6px 20px 16px;
  }
  .mega { width: 100%; margin: 0; border: 0; border-radius: 0; }
  .logo img { height: 36px; }
}
@media (max-width: 720px) {
  .site-header { padding-top: 8px; }
  .hero, .page-hero { margin-top: -66px; }
  .hero__content { padding-top: 96px; }
  .page-hero { padding-top: calc(56px + 66px); }
}

/* ==========================================================================
   v1.1: inner-page banners with a background image
   ========================================================================== */
.page-hero--image { background: #1c2a24 var(--hero-bg) center / cover no-repeat; }
.page-hero--image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 58, 55, .92) 0%, rgba(18, 58, 55, .72) 45%, rgba(18, 58, 55, .35) 100%);
}
.page-hero--image .page-hero__leaf { opacity: .55; }

/* ==========================================================================
   v1.1: tea product "Origin story" + "How to brew" (split sections)
   ========================================================================== */
.pdp { padding-bottom: 0; }
.pdp--after { padding-block: 0 80px; }
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; margin-top: 80px; }
.split + .split { margin-top: 0; }
.split--origin .split__body { background: var(--paper); }
.split--brew .split__body { background: var(--white); }
.split__body { padding: clamp(40px, 6vw, 96px) clamp(24px, 7vw, 120px); display: flex; flex-direction: column; justify-content: center; }
.split__body h2 { font-size: clamp(34px, 3.6vw, 48px); margin-bottom: 26px; }
.split__media { position: relative; overflow: hidden; background: var(--cream); min-height: 360px; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__media--blank {
  background:
    radial-gradient(circle at 25% 30%, rgba(29, 95, 90, .10), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(180, 139, 87, .18), transparent 50%),
    repeating-linear-gradient(135deg, var(--cream) 0 18px, #efe3cf 18px 36px);
}
.split__leaf { position: absolute; width: 46%; left: 27%; top: 50%; translate: 0 -50%; }
.split__leaf path { fill: rgba(29, 95, 90, .06); stroke: rgba(29, 95, 90, .22); stroke-width: 1.2; }

.split__tabs { display: flex; gap: 30px; flex-wrap: wrap; border-bottom: 1.5px solid var(--line); margin-bottom: 26px; max-width: 560px; }
.split__tabs button, .split__tabs span {
  background: none; border: 0; padding: 0 0 12px; margin-bottom: -1.5px; border-bottom: 2.5px solid transparent;
  text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: 14.5px; color: var(--ink-soft);
}
.split__tabs button:hover { color: var(--ink); }
.split__tabs .is-active { color: var(--red); border-bottom-color: var(--red); }

.facts-list { margin: 0; display: grid; gap: 16px; }
.facts-list dt { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: 12.5px; }
.facts-list dt::after { content: ":"; }
.facts-list dt:empty { display: none; }
.facts-list dd { margin: 3px 0 0; font-size: 17.5px; }
.split__desc { margin: 26px 0 0; font-size: 17.5px; line-height: 1.75; max-width: 62ch; color: #3d3129; }

.brew { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.brew h3 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: 12.5px; margin: 0 0 12px; }
.brew__overview { background: #f3f1ee; padding: 22px 24px; }
.brew__overview ul, .brew__steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16.5px; }
.brew__steps li { display: flex; gap: 6px; flex-wrap: wrap; }
.brew__time { font-variant-numeric: tabular-nums; }
.brew__time::after { content: " –"; }
.split--brew .btn { align-self: flex-start; margin-top: 30px; }
.btn--outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline-dark:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split--brew .split__media { order: -1; }
  .split__media { min-height: 260px; aspect-ratio: 16 / 10; }
  .brew { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v1.2: social links
   ========================================================================== */
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.socials a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.socials__icon {
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.socials a:hover .socials__icon { transform: translateY(-2px); }
.socials--light .socials__icon { border: 1.5px solid rgba(255,255,255,.55); color: var(--white); }
.socials--light a:hover .socials__icon { background: var(--white); color: var(--ink); }
.socials--dark .socials__icon { background: var(--teal-tint); color: var(--teal); }
.socials--dark a:hover .socials__icon { background: var(--teal); color: var(--white); }
.socials--labels { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 6px; }
.socials__text { display: flex; flex-direction: column; line-height: 1.2; }
.socials__text strong { font-size: 16px; }
.socials__text small { color: var(--ink-soft); font-size: 14px; }
.site-footer__follow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-footer__follow p { margin: 0; }
.help__socials { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.help__socials > span { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 700; opacity: .8; }
.detail--socials p { font-size: 16px; }

/* ==========================================================================
   v1.3: customer reviews
   ========================================================================== */
.reviews { padding-block: 80px; background: var(--cream); }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.reviews__head .section-title { margin-bottom: 0; }
.reviews__summary { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { fill: #e3d6c1; }
.stars svg.is-on { fill: #d9902f; }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 22px) / 3); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin;
}
.review {
  scroll-snap-align: start; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 16px 34px -28px rgba(30,22,17,.45);
}
.review blockquote { margin: 0; flex: 1; font-size: 17px; line-height: 1.65; color: #3d3129; }
.review blockquote p { margin: 0 0 10px; }
.review blockquote p:first-child::before { content: "“"; }
.review blockquote p:last-child::after { content: "”"; }
.review figcaption { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.review__avatar { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; background: var(--teal); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.review__who { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.review__who small { color: var(--ink-soft); font-size: 13.5px; }
.review__product { font-size: 13px; font-weight: 700; text-decoration: none; background: var(--teal-tint); color: var(--teal); padding: 5px 10px; border-radius: 999px; }
.pdp--after .reviews, .split + .reviews { margin-top: 0; }
@media (max-width: 1024px) { .reviews__track { grid-auto-columns: calc((100% - 22px) / 2); } }
@media (max-width: 720px) { .reviews { padding-block: 56px; } .reviews__track { grid-auto-columns: 86%; } }

/* ==========================================================================
   v1.4: motion, sticky add to cart, reassurance, cart suggestion
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.card__media, .collection, .review, .pillar { will-change: auto; }
.card { transition: transform .3s ease; }
.card:hover { transform: translateY(-3px); }
.btn { transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn--teal:hover:not(:disabled), .btn--dark:hover { box-shadow: 0 10px 22px -12px rgba(18,58,55,.65); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .card:hover { transform: none; } }

/* Sticky add to cart */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 0 var(--gutter) 14px;
  transform: translateY(120%); transition: transform .35s cubic-bezier(.2,.8,.2,1); pointer-events: none;
}
.sticky-buy.is-on { transform: none; pointer-events: auto; }
.sticky-buy__inner {
  max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 10px; box-shadow: 0 18px 40px -18px rgba(30,22,17,.5);
}
.sticky-buy__img { width: 46px; height: 46px; border-radius: 999px; overflow: hidden; flex-shrink: 0; background: var(--cream); display: grid; place-items: center; color: var(--kraft-deep); }
.sticky-buy__img img { width: 100%; height: 100%; object-fit: cover; }
.sticky-buy__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.sticky-buy__text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__text > span { font-size: 14.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__price { color: var(--ink); font-weight: 700; }
.sticky-buy__price small { font-weight: 500; }
.sticky-buy__btn { padding: 12px 22px; flex-shrink: 0; }
.sticky-buy__btn.is-busy { opacity: .6; }
body:has(.drawer.is-open) .sticky-buy { transform: translateY(120%); }
@media (max-width: 520px) { .sticky-buy__btn { padding: 11px 16px; font-size: 13px; } .sticky-buy__text strong { font-size: 15px; } }

/* Reassurance */
.trust { font-size: 14.5px; color: var(--ink-soft); }
.trust__pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.trust__pay svg { color: var(--teal); }
.trust__pay > span:first-of-type { font-weight: 700; color: var(--ink); margin-right: 2px; }
.trust__pill { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--white); }
.trust__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.trust__list li { display: flex; align-items: center; gap: 10px; }
.trust__list svg { color: var(--teal); flex-shrink: 0; }
.trust--product { margin: -6px 0 24px; padding: 16px 18px; border: 1px dashed var(--line); border-radius: var(--radius); }
.trust--drawer { margin: 12px 0 0; }
.trust--drawer .trust__pay { justify-content: center; font-size: 13px; }
.trust--page { margin-top: 20px; padding: 18px 20px; background: var(--cream); border-radius: var(--radius); }
.pdp__perks { display: none; } /* replaced by the reassurance block */

/* Pairs well with */
.drawer__suggest { margin: 0 0 14px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.drawer__suggest-title { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.drawer__suggest-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; }
.drawer__suggest .line__img { width: 52px; height: 52px; }
.drawer__suggest-body { display: flex; flex-direction: column; min-width: 0; }

/* ---------- Community: updates, outreach and events ---------- */
.community { padding-block: 80px; }
.community--more { background: var(--cream); padding-block: 64px; }
.community__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px 28px; flex-wrap: wrap; margin-bottom: 30px; }
.community__head .section-title { margin-bottom: 0; }
.community__lead { margin: 12px 0 0; max-width: 54ch; color: var(--ink-soft); font-size: 17px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,250,242,.9); }
.post-card--teal .post-card__art { background: radial-gradient(circle at 30% 25%, #2a7a73, var(--teal-deep)); }
.post-card--clay .post-card__art { background: radial-gradient(circle at 30% 25%, #b25a37, var(--clay)); }
.post-card--kraft .post-card__art { background: radial-gradient(circle at 30% 25%, var(--kraft), var(--kraft-deep)); }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.post-card h3 { font-size: 23px; line-height: 1.12; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.post-card { position: relative; }
.post-card__excerpt { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.post-card__where { margin: auto 0 0; display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--teal); }
.post-card__where svg { flex-shrink: 0; }
.post-card.is-past .date-badge { background: var(--ink-soft); }

.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-deep); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.post-card--clay .tag { background: #f4e2d8; color: var(--clay); }
.post-card--kraft .tag { background: var(--cream); color: #7a5a30; }

.date-badge { position: absolute; top: 14px; left: 14px; z-index: 1; display: grid; place-items: center; width: 62px; padding: 8px 0 9px; border-radius: 14px; background: var(--red); color: var(--white); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1; box-shadow: 0 10px 22px -12px rgba(0,0,0,.6); }
.date-badge b { font-family: var(--font-display); font-size: 27px; letter-spacing: -.02em; margin-bottom: 3px; }
.date-badge--lg { position: static; width: 72px; flex-shrink: 0; }
.date-badge--lg b { font-size: 31px; }

/* Community page */
.community-page { padding-block: 30px 90px; }
.upcoming { margin: 6px 0 40px; padding: clamp(20px, 3vw, 32px); background: var(--cream); border-radius: var(--radius-lg); }
.upcoming__title { display: flex; align-items: center; gap: 10px; font-size: 26px; margin-bottom: 18px; color: var(--teal-deep); }
.upcoming__list { display: grid; gap: 12px; }
.upcoming__item { display: flex; align-items: center; gap: 18px; padding: 12px 20px 12px 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.upcoming__item:hover { border-color: var(--teal); transform: translateX(3px); }
.upcoming__item > svg { margin-left: auto; color: var(--teal); flex-shrink: 0; }
.upcoming__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.upcoming__text strong { font-family: var(--font-display); font-size: 21px; line-height: 1.15; }
.upcoming__text small { color: var(--ink-soft); font-size: 14.5px; font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters .chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: 14px; text-decoration: none; transition: background .15s ease, color .15s ease; }
.filters .chip:hover { border-color: var(--teal); }
.filters .chip.is-active { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }

.community-page .pagination { margin-top: 40px; }
.community-page .nav-links { display: flex; justify-content: center; gap: 8px; }
.community-page .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.community-page .page-numbers.current { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }

/* Single post */
.post-hero h1 { max-width: 22ch; }
.post { padding-block: 30px 80px; }
.post__grid { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 48px; }
.post__grid--event { grid-template-columns: minmax(0, 1fr) 340px; justify-content: stretch; align-items: start; }
.post__body { font-size: 17.5px; line-height: 1.7; }
.post__body > *:first-child { margin-top: 0; }
.post__body .wp-block-image, .post__body figure { margin: 24px 0; }
.post__body .wp-block-gallery { gap: 10px; }
.post__body .wp-block-gallery img { border-radius: var(--radius); }
.event-box { position: sticky; top: 110px; padding: 26px; background: var(--teal-deep); color: var(--white); border-radius: var(--radius-lg); display: grid; gap: 16px; }
.event-box .date-badge { box-shadow: none; }
.event-box.is-past .date-badge { background: rgba(255,255,255,.2); }
.event-box__status { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--kraft); }
.event-box dl { margin: 0; display: grid; gap: 14px; }
.event-box dl div { border-top: 1px solid rgba(255,255,255,.15); padding-top: 12px; }
.event-box dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kraft); }
.event-box dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; }
.event-box dd a { color: var(--white); }
.event-box .btn--teal { background: var(--kraft); color: var(--teal-deep); }
.event-box .btn--teal:hover { background: var(--white); }
.share { display: flex; align-items: center; gap: 10px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.share span { font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-right: 4px; }
.share a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); color: var(--teal-deep); }
.share a:hover { background: var(--teal-deep); color: var(--white); border-color: var(--teal-deep); }

@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post__grid--event { grid-template-columns: 1fr; }
  .event-box { position: static; order: -1; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; gap: 18px; }
  .community { padding-block: 56px; }
  .upcoming__item { gap: 14px; padding-right: 14px; }
  .upcoming__text strong { font-size: 18px; }
}

/* Six menu items: tighten the bar between tablet and laptop widths */
@media (min-width: 961px) and (max-width: 1180px) {
  .main-nav__link { font-size: 13px; letter-spacing: .05em; }
  .main-nav ul { gap: clamp(14px, 1.7vw, 22px); }
}
@media (min-width: 961px) and (max-width: 1060px) {
  .site-header__ask { display: none; }
}
