/**
 * Samye primitives — minimal shared component styles consuming tokens.css.
 * Keep this file small: structural/layout styling belongs to ACSS + Bricks
 * classes; these primitives exist so non-builder surfaces (shortcodes,
 * plugin output, wp-login skins) can look on-brand without Bricks.
 *
 * @package samye
 */

.samye-btn {
  display: inline-block;
  padding: 0.65em 1.6em;
  background: var(--samye-crimson);
  color: var(--samye-white);
  font-family: var(--samye-t-body);
  font-size: 1rem;
  line-height: 1.3;
  border: 1px solid var(--samye-crimson);
  border-radius: var(--samye-radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.samye-btn:hover,
.samye-btn:focus-visible,
.samye-btn:active {
  background: var(--samye-crimson-deep);
  border-color: var(--samye-crimson-deep);
  color: var(--samye-white);
}
.samye-btn--ghost {
  background: transparent;
  color: var(--samye-crimson);
}
.samye-btn--ghost:hover,
.samye-btn--ghost:focus-visible,
.samye-btn--ghost:active {
  background: var(--samye-crimson);
  color: var(--samye-white);
}

.samye-card {
  background: var(--samye-white);
  border: 1px solid var(--samye-silver-soft);
  border-radius: var(--samye-radius);
  padding: 1.25rem;
}

.samye-input {
  /* Its own box model, not the host theme's. width:100% plus padding
     overflows the column by the padding on any host without a global
     border-box reset — Bricks has one, so the fleet never saw it; the
     Elementor site and a bare preview both would. */
  box-sizing: border-box;
  width: 100%;
  padding: 0.55em 0.8em;
  font-family: var(--samye-t-body);
  font-size: 1rem;
  color: var(--samye-ink);
  background: var(--samye-white);
  border: 1px solid var(--samye-silver);
  border-radius: var(--samye-radius);
}
.samye-input:focus {
  outline: 2px solid var(--samye-crimson);
  outline-offset: 1px;
  border-color: var(--samye-crimson);
}

/* ----- Wordmark lockup (SAMYE, optionally + word) ------------------ */
/* Rendered by [samye_wordmark] — see inc/brand.php. Sizing rides on
   font-size of the wrapper; header templates set the scale. Mobile logo
   max-width 160px is the established fleet rule (set in the header).
   The __site line only appears when a caller passes site="…" — the
   per-centre site word was retired in 0.4.0. */

.samye-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  font-family: var(--samye-t-display);
  color: var(--samye-crimson);
  text-decoration: none;
}
.samye-wordmark__samye {
  font-size: 1.55em;
  letter-spacing: 0.18em;
  text-indent: 0.18em; /* optically recenter tracked text */
}
.samye-wordmark__site {
  font-size: 0.7em;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--samye-ink-soft);
  margin-top: 0.28em;
}

/* ----- Seal -------------------------------------------------------- */
/* Inline SVG, so it takes its colour from whatever it sits inside. */

.samye-seal {
  display: block;
  width: 64px;
  height: auto;
  color: var(--samye-crimson);
}

/* ----- Logo lockup ------------------------------------------------- */
/* The official seal + SAMYE mark. One asset serves every centre because it
   carries no site word — and since 0.4.0 no word is rendered beside it
   either. 160px is the established fleet cap. */

.samye-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45em;
  text-decoration: none;
  line-height: 1;
}

.samye-logo__mark {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
}

.samye-logo__site {
  font-family: var(--samye-t-display);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em; /* optically recentre tracked text */
  text-transform: uppercase;
  color: var(--samye-ink-soft);
}

/* --- Upcoming events ([samye_events]) ------------------------------------
   Mirrors samyemandala.org's event list: date tag | square image | details.
   Consumes --samye-* tokens with safe fallbacks; degrades to a single
   column on small screens. NOTE: rem values assume the fleet's ACSS
   62.5% root (1rem = 10px) — do not "fix" them to 16px-root sizes. */

.samye-events {
  list-style: none;
  margin: 4rem 0 5.6rem;
  padding: 0;
}

/* Shared with the news list below (.samye-news__item etc.): the row layout,
   date tag, title and meta line are byte-identical between the two
   features. News has no weekday line, so that one selector stays
   events-only; .samye-events__venue and .samye-news__excerpt/__more are each
   only in one feature's markup and stay where they are. .samye-*__thumb is
   identical too but kept as two separate rules below — see the note there. */
.samye-events__item,
.samye-news__item {
  display: grid;
  grid-template-columns: 6.8rem 13.6rem 1fr;
  gap: 2.4rem;
  align-items: start;
  padding: 2.8rem 0;
  border-bottom: 1px solid var(--samye-silver-soft, #e5e3e0);
}

.samye-events__item:first-child,
.samye-news__item:first-child {
  border-top: 1px solid var(--samye-silver-soft, #e5e3e0);
}

.samye-events__item--no-image,
.samye-news__item--no-image {
  grid-template-columns: 6.8rem 1fr;
}

.samye-events__datetag,
.samye-news__datetag {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding-top: 0.4rem;
  text-align: center;
}

.samye-events__weekday,
.samye-events__month,
.samye-news__month {
  font-family: var(--samye-t-body, sans-serif);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--samye-ink-muted, #6E6E6E);
}

.samye-events__daynum,
.samye-news__daynum {
  font-family: var(--samye-t-heading, Georgia, serif);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--samye-crimson, #B83029);
}

/* Date ranges fit the same narrow date column, including on phones. */
.samye-events__datetag--range {
  align-content: start;
  gap: 0.5rem;
}

.samye-events__datetag--range .samye-events__daynum {
  font-size: 2rem;
  white-space: nowrap;
}

.samye-events__date-endpoint {
  font-family: var(--samye-t-body, sans-serif);
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--samye-crimson, #B83029);
}

.samye-events__year,
.samye-events__range-separator {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--samye-ink-muted, #6E6E6E);
}

.samye-events__year {
  margin-top: 0.3rem;
}

/* Each kept as its own top-level rule, not grouped with the other, even
   though the declarations are byte-identical: primitives-css-test.php pins
   `.samye-events__thumb` and `.samye-news__thumb` as separately-declared
   ratio boxes and does not parse a multi-line grouped selector. */
.samye-events__thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--samye-radius, 4px);
  background: var(--samye-cream, #F8F4ED);
}

.samye-news__thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--samye-radius, 4px);
  background: var(--samye-cream, #F8F4ED);
}

.samye-events__image,
.samye-news__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease-out;
}

.samye-events__item:has(:focus-visible) a[href] .samye-events__image,
.samye-news__item:has(:focus-visible) a[href] .samye-news__image {
  transform: scale(1.04);
}

@media (hover: hover) and (pointer: fine) {
  .samye-events__item:hover a[href] .samye-events__image,
  .samye-news__item:hover a[href] .samye-news__image {
    transform: scale(1.04);
  }
}

.samye-events__details,
.samye-news__details {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.samye-events__title,
.samye-news__title {
  margin: 0;
  font-family: var(--samye-t-heading, Georgia, serif);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1.35;
}

.samye-events__title a,
.samye-news__title a {
  color: var(--samye-ink, #000);
  text-decoration: none;
}

.samye-events__title a:hover,
.samye-news__title a:hover {
  color: var(--samye-crimson, #B83029);
}

.samye-events__meta,
.samye-news__meta {
  margin: 0;
  font-family: var(--samye-t-body, sans-serif);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: var(--samye-ink-soft, #4a4a4a);
}

/* The category after the date: meta-coloured, underlined so it reads as
   the link it is. */
.samye-news__cat a,
.samye-news-single__meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.samye-news__cat a:hover,
.samye-news-single__meta a:hover {
  color: var(--samye-crimson, #B83029);
}

.samye-events__venue {
  font-family: var(--samye-t-body, sans-serif);
  font-style: normal;
  font-size: 1.45rem;
  color: var(--samye-ink-muted, #6E6E6E);
}

/* Filter chips ([samye_events filter="1"]). The nav ships hidden and the
   script reveals it; a grid item's own display would beat the [hidden]
   UA rule, so it is re-asserted here. */

.samye-events__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0 0 2rem;
}

.samye-events__filter[hidden],
.samye-events__item[hidden],
.samye-events__card[hidden] {
  display: none;
}

/* Card grid ([samye_events style="cards"]) — the homepage treatment. */

/* .samye-events--cards carries its own margin:0 because .samye-events (the
   list container) sets a non-zero one; .samye-news--cards needs none because
   .samye-news is already margin:0. Everything else here is shared with the
   news cards below — .samye-news__card, __card-media, __card-img,
   __card-body — byte-for-byte. */
.samye-events--cards,
.samye-news--cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr));
  gap: 2.4rem;
}

.samye-events--cards {
  margin: 0;
}

.samye-events__card,
.samye-news__card {
  display: flex;
  flex-direction: column;
  background: var(--samye-white, #fff);
  border: 1px solid var(--samye-silver-soft, #e5e3e0);
  border-radius: var(--samye-radius, 4px);
  overflow: hidden;
}

/* overflow:hidden is load-bearing, not tidiness. The media box is a flex item
   of .samye-events__card, so it gets min-height:auto — a content-based floor —
   and the <img> inside asks for height:100% against a parent whose height is
   still indefinite, so it lays out at its NATURAL size. That floor then beats
   aspect-ratio, and the declared 3/2 never happens: malaysia's home page drew
   a 768x1152 poster 513px tall beside two 342px squares, so the dates and
   titles in that row started at three different heights. The automatic minimum
   only applies while overflow is visible, so clipping the box restores the
   ratio and lets object-fit do the cropping it was always meant to do.
   .samye-events__thumb above has carried this line from the start, which is
   why the list treatment never showed the fault. */
.samye-events__card-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--samye-parchment, #F5F3F3);
}

.samye-events__card-img,
.samye-news__card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Only linked images respond, and keyboard focus uses :focus-visible so a
   touch tap cannot leave a card enlarged. Hover motion requires a mouse. */

/* Was `opacity: 0.92` with no transition: the image snapped dimmer, which is
   a card apologising for being hovered. It grows instead, slowly, inside the
   media box's own clip — the ratio is declared and the overflow hidden two
   rules up, so the card does not move and its neighbours do not reflow.
   Kept as two separate rules, not grouped, even though identical:
   primitives-css-test.php pins each kind's own `.samye-<kind>__card-img`
   opening brace literally and does not parse a multi-line grouped selector. */
.samye-events__card-img {
  transition: transform 0.5s ease-out;
}

.samye-news__card-img {
  transition: transform 0.5s ease-out;
}

.samye-events__card:has(:focus-visible) a[href] .samye-events__card-img,
.samye-news__card:has(:focus-visible) a[href] .samye-news__card-img {
  transform: scale(1.04);
}

@media (hover: hover) and (pointer: fine) {
  .samye-events__card:hover a[href] .samye-events__card-img,
  .samye-news__card:hover a[href] .samye-news__card-img {
    transform: scale(1.04);
  }
}

.samye-events__card-body,
.samye-news__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 2rem;
}

.samye-events__chip {
  font-family: var(--samye-t-body, sans-serif);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--samye-silver, #cdcdcd);
  border-radius: 999px;
  background: var(--samye-white, #fff);
  color: var(--samye-ink-soft, #4a4a4a);
  cursor: pointer;
}

.samye-events__chip:hover,
.samye-events__chip:focus {
  border-color: var(--samye-crimson, #B83029);
  color: var(--samye-crimson, #B83029);
}

.samye-events__chip.is-active {
  background: var(--samye-crimson, #B83029);
  border-color: var(--samye-crimson, #B83029);
  color: var(--samye-white, #fff);
}

@media (max-width: 640px) {
  .samye-events__item,
  .samye-events__item--no-image,
  .samye-news__item,
  .samye-news__item--no-image {
    grid-template-columns: 5.2rem 1fr;
  }

  .samye-events__thumb,
  .samye-news__thumb {
    grid-column: 2;
    grid-row: 2;
    max-width: 19.2rem;
    margin-top: 0.8rem;
  }

  .samye-events__daynum,
  .samye-news__daynum {
    font-size: 2.4rem;
  }

  .samye-events__datetag--range .samye-events__daynum {
    font-size: 1.7rem;
  }
}

/* ----- Contact form ([samye_contact]) ------------------------------ */
/* Front-end only, so authored at the ACSS 62.5% root (1rem = 10px) —
   same rule as the events block above. */

.samye-contact {
  max-width: 56rem;
}

.samye-contact__field {
  margin: 0 0 1.6rem;
}

.samye-contact__label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--samye-ink, #1a1a2e);
}

.samye-contact .samye-input {
  font-size: 1.6rem;
  line-height: 1.5;
}

.samye-contact .samye-btn {
  font-size: 1.6rem;
}

.samye-contact__notice {
  margin: 0 0 1.6rem;
  padding: 1.2rem 1.4rem;
  font-size: 1.5rem;
  border-radius: var(--samye-radius, 4px);
  border: 1px solid var(--samye-silver-soft, #dcdcde);
  border-left-width: 4px;
}

.samye-contact__notice--ok {
  border-left-color: #3f7d55;
  background: #f3f8f5;
}

.samye-contact__notice--err {
  border-left-color: #b32d2e;
  background: #fbf3f3;
}

/* The honeypot: off-screen, not display:none — bots skip display:none. */
.samye-contact__hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- News ([samye_news]) --------------------------------------------------
   The centre's own announcements. Deliberately the same shapes as
   .samye-events — a date, a title, a line of context, optionally a picture —
   because a visitor should not have to learn a second card. Same token
   fallbacks and the same 62.5%-root rem assumption. */

.samye-news-block {
  margin: 4rem 0 5.6rem;
}

/* The whole section collapses when there is nothing to say. The shortcode
   already returns an empty string, but a Bricks section wrapped around it
   would still contribute its own box — this makes the wrapper disappear
   with its contents, without waiting on a regenerated page CSS file. */
.samye-news-section:not(:has(.samye-news-block)) {
  display: none;
}

.samye-news__heading {
  margin: 0 0 2.4rem;
  font-family: var(--samye-t-heading, Georgia, serif);
  font-weight: 400;
}

.samye-news {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* The row, date tag, title and meta rules live with .samye-events__item
   above — shared byte-for-byte. .samye-news__thumb has its own rule right
   next to .samye-events__thumb up there too (kept separate from it,
   despite being identical — see the note on that pair). */

.samye-news__excerpt {
  margin: 0;
  font-family: var(--samye-t-body, sans-serif);
  font-size: 1.55rem;
  line-height: 1.6;
  color: var(--samye-ink-soft, #4a4a4a);
}

.samye-news__more {
  margin: 2.4rem 0 0;
  font-family: var(--samye-t-body, sans-serif);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.samye-news__more a {
  color: var(--samye-crimson, #B83029);
  text-decoration: none;
}

.samye-news__more a:hover {
  text-decoration: underline;
}

/* Card grid ([samye_news style="cards"]) — the home page treatment.
   .samye-news--cards and __card live with the events equivalents above —
   shared byte-for-byte. */

/* Same load-bearing overflow as .samye-events__card-media — see the note
   there. Kept as its own top-level rule rather than grouped with it, even
   though identical: primitives-css-test.php pins each selector as its own
   declared ratio box and does not parse a multi-line grouped selector. */
.samye-news__card-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--samye-parchment, #F5F3F3);
}

/* ---- Teachers ---------------------------------------------------------
   A grid of people. The news card's treatment, with two differences that
   come from the content rather than from taste.

   The photograph is SQUARE, not 3/2. Retreat.guru's teacher images are
   square at every size it serves (150, 300 and 520), which is what a
   headshot wants anyway, and a 3/2 crop of a portrait takes the top off
   somebody's head.

   The track is 22rem rather than 26rem. A teacher card carries a name, a
   short role and a couple of lines; a news card carries a headline and a
   date. Narrower tracks fit more faces on a row without shrinking the
   photographs, which is the right trade on a page whose job is to let a
   visitor recognise somebody.

   These rules MUST stay above .samye-card-ph: it sets display:grid at equal
   specificity and only wins on source order. See the note there. */
.samye-teachers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  gap: 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.samye-teachers__card {
  display: flex;
  flex-direction: column;
  background: var(--samye-white, #fff);
  border: 1px solid var(--samye-silver-soft, #e5e3e0);
  border-radius: var(--samye-radius, 4px);
  overflow: hidden;
}

.samye-teachers__media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--samye-parchment, #F5F3F3);
}

.samye-teachers__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.samye-teachers__body {
  padding: 1.6rem 1.8rem 2rem;
}

.samye-teachers__name {
  margin: 0;
  font-size: var(--text-m, 1.6rem);
  line-height: 1.3;
}

.samye-teachers__name a {
  color: inherit;
  text-decoration: none;
}

.samye-teachers__name a:hover {
  text-decoration: underline;
}

/* The role sits between the name and the blurb, held back so the NAME is
   what a visitor reads first. It is the one line a centre writes about
   somebody's part here, so it is not hidden, only quiet. */
.samye-teachers__role {
  margin: 0.4rem 0 0;
  font-size: var(--text-s, 1.4rem);
  color: var(--samye-ink-soft, #4a4a4a);
}

.samye-teachers__blurb {
  margin: 0.8rem 0 0;
  font-size: var(--text-s, 1.4rem);
  line-height: 1.6;
  color: var(--samye-ink-soft, #4a4a4a);
}

/* The standing heading, drawn only when a centre asks for the bands. It sits
   above its own grid, so it needs the space a heading needs and no more. */
.samye-teachers__band {
  margin: var(--content-gap, 3.2rem) 0 1.6rem;
  font-size: var(--h3, 2.2rem);
  line-height: 1.2;
}

.samye-teachers__band:first-child {
  margin-top: 0;
}

.samye-teachers__empty {
  margin: 0;
  color: var(--samye-ink-soft, #4a4a4a);
}


/* -------------------------------------------------------------------------
   The single profile at /teacher/<slug>/ — samye_teachers_single_parts(), framed by the theme.

   The head band is .samye-page-head, which the THEME owns (fleet.css); only
   the column and what sits inside it are set here, so the profile and the
   managed listing share one band rather than drifting into two.

   Portrait beside prose above 48rem, portrait above prose below it. A fixed
   two-column grid rather than a float: the bio is the long side and must not
   wrap under a portrait that is only 300px tall, which is what a float does
   the moment the bio runs past the image. */
/* The profile's column (.samye-teacher__inner) is the theme's, with the other
   page columns in fleet.css: --samye-container is a theme token. */
.samye-teacher__name {
  margin: 0;
  font-size: var(--h1, 3.6rem);
  line-height: 1.15;
}

/* Below the name, held back, for the reason .samye-teachers__role gives on
   the listing: the name is what a visitor came to read. */
.samye-teacher__role {
  margin: 0.8rem 0 0;
  font-size: var(--text-m, 1.6rem);
  color: var(--samye-ink-soft, #4a4a4a);
}

.samye-teacher__layout {
  display: grid;
  gap: 3.2rem;
  align-items: start;
}

/* min(100%, …) so the portrait column never forces a horizontal scrollbar on
   a narrow viewport, the same guard the teachers grid uses on its track. */
@media (min-width: 48rem) {
  .samye-teacher__layout {
    grid-template-columns: minmax(min(100%, 24rem), 28rem) 1fr;
    gap: 4rem;
  }
}

.samye-teacher__portrait {
  margin: 0;
  overflow: hidden;
  border-radius: var(--samye-radius, 4px);
  background: var(--samye-parchment, #F5F3F3);
}

/* No aspect-ratio, unlike the listing card. A card is one of a row and has to
   line up with its neighbours; a portrait is alone on the page, so cropping a
   face to a square here would be damage with nothing to gain. */
.samye-teacher__img {
  display: block;
  width: 100%;
  height: auto;
}

/* The measure is the prose's, not the column's: a bio set across the full
   1200px runs to well over 100 characters a line.

   No line-height here. The site sets its own on body and it reached these
   paragraphs already; restating it would be this file inventing a second
   answer to a question the design system has answered. */
.samye-teacher__bio {
  max-width: min(68ch, 100%);
}

/* Bricks resets every paragraph's margin to 0, so a bio of three paragraphs
   rendered as ONE unbroken slab — the paragraph breaks were in the markup and
   invisible on the page, which is the whole point of importing them. Measured
   on the live New York profile, 2026-08-29: margin-top and margin-bottom both
   0px on all three.

   Owl rather than trimming a first and last child, because there is no default
   margin here to trim: the space goes BETWEEN siblings, so the first gets none
   and nothing trails the last. --paragraph-spacing is ACSS's own token for
   exactly this (1em, 18px against the fleet's 18px prose) — aliased, not
   restated. It applies to any block a bio grows later, not only to p. */
.samye-teacher__bio > * + * {
  margin-block-start: var(--paragraph-spacing, 1em);
}


/* The card placeholder, shared by news, events and teachers
   (samye_card_placeholder()).
   It wears the caller's own card-media class as well as this one, so the box,
   the 3/2 ratio and the parchment ground are already set by the rules above
   and below; this only places the mark inside them. It must stay BELOW both
   card-media rules: display:grid here overrides their display:block at equal
   specificity, and that only holds by source order. */
.samye-card-ph {
  display: grid;
  place-items: center;
}

/* The seal inlines as SVG and takes its colour from currentColor, so this is
   one declaration rather than an opacity hack on an img: held well back, it
   reads as an absence rather than as a logo stamped on the card. */
.samye-card-ph__seal {
  width: 34%;
  max-width: 8rem;
  height: auto;
  color: var(--samye-ink-soft, #4A4A4A);
  opacity: 0.22;
}

/* The layout, the lean-in transition and the hover/focus scale all live
   with .samye-events__card-img above — one motion for both grids, since
   they sit on the home page together and any difference would read as a
   mistake. */

@media (prefers-reduced-motion: reduce) {
  .samye-events__image,
  .samye-events__card-img,
  .samye-news__image,
  .samye-news__card-img {
    transition: none;
    transform: none;
  }

  .samye-events__item:is(:hover, :has(:focus-visible)) a[href] .samye-events__image,
  .samye-events__card:is(:hover, :has(:focus-visible)) a[href] .samye-events__card-img,
  .samye-news__item:is(:hover, :has(:focus-visible)) a[href] .samye-news__image,
  .samye-news__card:is(:hover, :has(:focus-visible)) a[href] .samye-news__card-img {
    transform: none;
  }
}

/* __card-body and the mobile breakpoint both live with the events
   equivalents above — shared byte-for-byte. */

/* The News page with nothing on it yet. One plain line, because a published
   page reached from the menu must never be completely blank. */
.samye-news__empty {
  margin: 4rem 0 5.6rem;
  font-family: var(--samye-t-body, sans-serif);
  font-size: 1.55rem;
  color: var(--samye-ink-muted, #6E6E6E);
}
