/* ==========================================================================
   Testimonies: the list (templates/testimonies/list.html), a category's list
   (category.html) and a testimony (details.html), after the design's
   "Powerful Testimonies" pages. Built on the shared pages.css; only what is
   particular to these pages lives here. Loaded after pages.css.
   ========================================================================== */

/* Font Awesome's script swaps every <i> for an <svg class="svg-inline--fa">,
   so pages.css rules written for "i" never match. Their twins, for the
   components used here (also reported to the coordinator). */
.tm-page .vp-field > .svg-inline--fa {
  position: absolute;
  top: 50%;
  left: 0.95rem;
  color: var(--vh-muted);
  font-size: 0.85rem;
  transform: translateY(-50%);
  pointer-events: none;
}
.tm-page .vp-panel__title > .svg-inline--fa,
.tm-page .vp-row__sub .svg-inline--fa { color: var(--vh-orange); }
.tm-page .vp-more .svg-inline--fa { transition: transform 0.15s ease; }
.tm-page .vp-more:hover .svg-inline--fa { transform: translateX(3px); }

/* pages.css's ".vp-page section { padding: 0 }" outranks the padding of the
   components that are <section>s themselves (.vp-hero, .vp-panel): their
   own values again (also reported to the coordinator). */
.vp-page section.vp-hero { padding: 2rem 2.25rem; }
.vp-page section.vp-panel { padding: 1.15rem; }
@media (max-width: 767.98px) {
  .vp-page section.vp-hero { padding: 1.2rem 1.15rem 1.3rem; }
  .vp-page section.vp-panel { padding: 1rem; }
}

/* The current page in the breadcrumbs: pages.css's ellipsis cannot work on
   a flex item's bare text (and clips the chevron), so the title sits in a
   span that is cut instead. Written to hold with the coordinator's fix of
   pages.css too (which makes that item a block with its own margins). */
.tm-page .vp-crumbs li[aria-current] { display: inline-flex; overflow: visible; max-width: none; min-width: 0; }
.tm-page .vp-crumbs li[aria-current]::before { margin: 0; }
.tm-crumb {
  display: block;
  min-width: 0;
  max-width: 26rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 767.98px) {
  .tm-crumb { max-width: 62vw; }
}

/* --------------------------------------------------- the list's banner */

.tm-banner .vp-hero__media { object-position: center 38%; }
.tm-banner .vp-hero__title em { display: block; }
@media (min-width: 768px) {
  .vp-page section.tm-banner { min-height: 17rem; padding: 2.25rem 2.5rem; }
  .tm-banner .vp-hero__title { font-size: clamp(2.4rem, 4vw, 3.6rem); }
  .tm-banner .vp-hero__lead { max-width: 28rem; font-size: 1.02rem; }
  .tm-banner .vp-hero__aside { flex-basis: 18.5rem; }
}

/* The category tiles share out the row when it has room to spare, and
   fade at the right edge while more wait beyond it (the script sets
   .tm-cats--more). */
@media (min-width: 992px) {
  .tm-cats .vp-cat { flex: 1 0 6.5rem; }
}
.tm-cats--more {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 3.5rem), transparent 100%);
          mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 3.5rem), transparent 100%);
}

/* ------------------------------------------------------------ toolbar */

.tm-toolbar { align-items: stretch; }
.tm-toolbar__search { flex: 1 1 18rem; }
.tm-toolbar__select { display: block; flex: 0 1 13rem; min-width: 0; margin: 0; }
.tm-toolbar__select .vp-select { width: 100%; }
.tm-toolbar__go { display: none; }

/* Pop-overs: the Filters panel and the testimony's "more" menu. A <details>
   so they work without JavaScript; the script closes them on Escape and on
   a click elsewhere. */
.tm-pop { position: relative; }
.tm-pop > summary { list-style: none; cursor: pointer; }
.tm-pop > summary::-webkit-details-marker { display: none; }
.tm-filters > summary { height: 100%; min-height: 2.75rem; border-radius: var(--vp-radius-sm); }
.tm-pop__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 16rem;
  max-width: calc(100vw - 2rem);
  padding: 1rem;
  border: 1px solid var(--vh-line);
  border-radius: 16px;
  background: var(--vh-surface);
  box-shadow: 0 18px 40px -18px rgba(43, 29, 22, 0.45);
}
.tm-pop__panel fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.tm-pop__title { float: none; width: auto; margin: 0 0 0.35rem; padding: 0; color: var(--vh-ink); font-size: 0.86rem; font-weight: 800; }
.tm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--vh-grad);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.tm-found { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-top: -0.35rem; }
.tm-found .vp-count { font-size: 0.95rem; }
.tm-found .vp-count strong { color: var(--vh-orange); }

/* -------------------------------------------------------------- cards */

.tm-grid { --vp-min: 16.5rem; }
/* The warm placeholder sits under the picture: it shows while the picture
   loads, when there is none, and when one fails (the script hides it). */
.tm-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vp-warm-bg);
}
.tm-media__icon { color: var(--vp-tone, var(--vh-orange)); font-size: 2.4rem; opacity: 0.4; }
.tm-page .vp-card__media.tm-media > img { position: absolute; inset: 0; }
.tm-card .vp-card__body { gap: 0.55rem; }
.tm-card .vp-card__title { font-size: 1.02rem; }
.tm-card__author { margin: 0.1rem 0 0; }
.tm-card .vp-person__name { font-size: 0.82rem; font-weight: 700; }
.tm-card .vp-card__foot { padding-top: 0.7rem; }
.tm-card .vp-stats { gap: 0.35rem 0.8rem; }
.vp-avatar--anon .svg-inline--fa, .vp-avatar--anon i { font-size: 0.8em; }

/* "Load more" with the page arrows beside it. */
.tm-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem; }
.tm-more__btn { min-width: 14rem; }
.tm-more__info { color: var(--vh-muted); font-size: 0.82rem; font-weight: 600; }
.tm-more__btn[aria-busy="true"] .svg-inline--fa { animation: tm-spin 0.9s linear infinite; }
@keyframes tm-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------- dialogs */

.tm-dialog {
  width: min(34rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--vh-surface);
  color: var(--vh-body);
  box-shadow: 0 30px 60px -20px rgba(20, 10, 6, 0.55);
}
.tm-dialog::backdrop { background: rgba(28, 14, 8, 0.55); }
.tm-dialog__box { display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 1.35rem 1.4rem 1.4rem; }
.tm-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.tm-dialog__title { margin: 0.35rem 0 0; color: var(--vh-ink); font-family: var(--vp-serif); font-size: 1.35rem; font-weight: 700; line-height: 1.25; }
.tm-dialog__note { display: flex; gap: 0.55rem; margin: 0; padding: 0.75rem 0.9rem; border-radius: 12px; background: var(--vp-warm-bg); color: var(--vh-body); font-size: 0.84rem; line-height: 1.5; }
.tm-dialog__note .svg-inline--fa, .tm-dialog__note i { flex: none; margin-top: 0.2rem; color: var(--vh-orange); }
.tm-dialog__foot { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.tm-steps { display: flex; flex-direction: column; gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.tm-steps li { display: flex; gap: 0.85rem; }
.tm-steps__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: var(--vp-tone-bg);
  color: var(--vp-tone);
  font-size: 1.05rem;
}
.tm-steps__title { margin: 0.1rem 0 0.2rem; color: var(--vh-ink); font-size: 0.98rem; font-weight: 800; }
.tm-steps p { margin: 0; font-size: 0.88rem; line-height: 1.5; }

.tm-reasons { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr)); gap: 0 1rem; margin: 0 0 0.85rem; padding: 0; border: 0; }
.tm-reasons legend { grid-column: 1 / -1; }
.tm-field-label { display: block; margin: 0 0 0.35rem; color: var(--vh-ink); font-size: 0.86rem; font-weight: 800; }
[data-tm-report-fields] { display: flex; flex-direction: column; }
[data-tm-report-fields] .tm-dialog__note { margin-top: 0.85rem; }
[data-tm-report-fields][hidden] { display: none; }
.tm-report__done { display: flex; gap: 0.6rem; margin: 0; padding: 1rem; border-radius: 14px; background: rgba(31, 138, 76, 0.1); color: #1d7a45; font-weight: 700; line-height: 1.5; }
.tm-report__error { margin: 0; color: #c0352a; font-size: 0.86rem; font-weight: 700; }
[data-bs-theme="dark"] .tm-report__done { color: #6fd39a; }
[data-bs-theme="dark"] .tm-report__error { color: #f0857b; }

/* ================================================================ detail */

.tm-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(201, 137, 27, 0.35);
  border-radius: var(--vp-radius);
  background: rgba(243, 182, 63, 0.14);
}
.tm-notice > div { flex: 1 1 16rem; min-width: 0; }
.tm-notice__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--vp-gold);
  color: var(--vp-gold-ink);
}
.tm-notice__title { margin: 0; color: var(--vh-ink); font-weight: 800; }
.tm-notice__text { margin: 0; color: var(--vh-body); font-size: 0.88rem; }

/* The picture: date, reactions and menu on top, the category at the foot;
   the title is below it, as in the design. Without a picture, a shorter
   warm banner with the category's icon. */
.tm-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(15rem, 30vw, 24rem);
  border-radius: 22px;
  background: var(--vp-warm-bg);
  box-shadow: 0 14px 34px -24px rgba(60, 30, 20, 0.55);
  isolation: isolate;
}
.tm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(20, 10, 6, 0.28) 0%, rgba(20, 10, 6, 0) 32%, rgba(20, 10, 6, 0) 62%, rgba(20, 10, 6, 0.42) 100%);
  pointer-events: none;
}
.tm-hero--empty { min-height: 11.5rem; }
.tm-hero--empty::before { display: none; }
.tm-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.tm-hero__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -3;
  color: var(--vp-tone, var(--vh-orange));
  font-size: 4.5rem;
  opacity: 0.28;
  transform: translate(-50%, -50%);
}
.tm-hero__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; padding: 1rem; }
.tm-hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.5rem; margin-left: auto; }
.tm-hero__bottom { padding: 0 1rem 1rem; }
/* The pill stays small; the link around it is the finger-sized target. */
.tm-hero__cat { display: inline-flex; align-items: center; min-height: 2.75rem; border-radius: 999px; text-decoration: none; }
.tm-hero__cat:hover .vp-pill { filter: brightness(1.06); }

/* Round white buttons on the picture (heart, menu) and the Share pill. */
.tm-round, .tm-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 2.6rem;
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  color: #2b1d16;
  font-size: 0.95rem;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.tm-round { width: 2.6rem; padding: 0; border-radius: 50%; }
.tm-pill-btn { padding: 0 1rem; border-radius: 999px; font-size: 0.84rem; font-weight: 800; }
.tm-round:hover, .tm-pill-btn:hover { color: #2b1d16; transform: translateY(-1px); }
.tm-round:focus-visible, .tm-pill-btn:focus-visible, .tm-menu__item:focus-visible,
.tm-link:focus-visible, .tm-pop > summary:focus-visible, .vp-chip:focus-visible,
.tm-hero__cat:focus-visible, .tm-byline a:focus-visible, .tm-signin a:focus-visible,
.tm-react__hint a:focus-visible {
  outline: 3px solid var(--vh-focus);
  outline-offset: 2px;
}
.tm-bless.is-on { color: #d2382b; }

/* The two-state heart: outline until this member has reacted. */
.tm-on { display: none; }
.is-on .tm-on { display: inline-flex; }
.is-on .tm-off { display: none; }
.tm-on, .tm-off { align-items: center; }

/* The "more" menu. */
.tm-menu__list { width: 15rem; gap: 0.15rem; padding: 0.4rem; }
.tm-menu__list form { margin: 0; }
.tm-menu__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 2.6rem;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--vh-ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.tm-menu__item:hover { background: rgba(111, 53, 39, 0.07); color: var(--vh-ink); }
.tm-menu__item .svg-inline--fa, .tm-menu__item i { width: 1rem; color: var(--vh-orange); }
.tm-menu__item--danger, .tm-menu__item--danger .svg-inline--fa, .tm-menu__item--danger i { color: #c0352a; }

/* Title and byline. */
.tm-head { display: flex; flex-direction: column; gap: 0.85rem; }
.tm-title { max-width: 60rem; }
.tm-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.tm-byline__who { display: flex; flex-direction: column; min-width: 0; }
.tm-byline__who .vp-person__name { font-size: 0.92rem; }
.tm-byline__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin: 0; padding: 0; list-style: none; color: var(--vh-muted); font-size: 0.86rem; font-weight: 600; }
.tm-byline__meta li { display: inline-flex; align-items: center; gap: 0.4rem; }
.tm-byline__meta .svg-inline--fa, .tm-byline__meta i { color: var(--vh-orange); }
.tm-byline__meta a { display: inline-flex; align-items: center; gap: 0.4rem; color: inherit; text-decoration: none; }
.tm-byline__meta a:hover { color: var(--vh-brown); }

/* The words. */
.tm-body {
  gap: 1.35rem;
  padding: 1.6rem 1.75rem;
  border: 1px solid var(--vh-line);
  border-radius: var(--vp-radius);
  background: var(--vh-surface);
  box-shadow: var(--vp-shadow);
}
.tm-body .vp-prose { font-size: 1.02rem; }
.tm-lead { color: var(--vh-ink); font-size: 1.1rem; font-weight: 600; line-height: 1.6; }
.tm-video { overflow: hidden; border-radius: 16px; background: #000; }
.tm-video video { display: block; width: 100%; max-height: 70vh; }
.tm-verse-ref { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; color: var(--vh-orange); font-weight: 800; }
.tm-tags { display: flex; align-items: center; gap: 0.75rem; padding-top: 1.1rem; border-top: 1px solid var(--vh-line); }
.tm-tags__icon { color: var(--vh-orange); }
.tm-tags .vp-chips { margin: 0; padding: 0; list-style: none; }

/* The column beside it. */
.tm-react .vp-panel__title { margin-bottom: 0.2rem; }
.tm-react .vp-panel__text { margin-bottom: 0.85rem; }
/* Three equal tiles: the count beside its icon, the word under them. */
.tm-reactions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.tm-reactions .vp-react {
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
  min-height: 3.9rem;
  padding: 0.5rem 0.35rem;
  border-radius: 14px;
  text-align: center;
}
.tm-react__top { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.95rem; }
.tm-react__label { max-width: 100%; overflow: hidden; color: var(--vh-muted); font-size: 0.72rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.vp-react.is-on .tm-react__label { color: inherit; }
.tm-pray.is-on { border-color: rgba(123, 79, 208, 0.45); background: rgba(123, 79, 208, 0.07); color: #6a3fc2; }
[data-bs-theme="dark"] .tm-pray.is-on { color: #b9a0f0; }
.tm-react__hint { margin: 0.75rem 0 0; font-size: 0.82rem; }
.tm-react__hint a { color: var(--vh-orange); font-weight: 700; }
.tm-thumb { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--vp-warm-bg); color: var(--vp-tone, var(--vh-orange)); }
.tm-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tm-topic { background: var(--vp-tone-bg, rgba(200, 97, 45, 0.1)); color: var(--vp-tone, var(--vh-orange)); }

/* Comments. */
.vp-page section.tm-comments { padding: 1.35rem 1.5rem 0.75rem; }
.tm-comments__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.tm-comments__count { color: var(--vh-muted); font-family: inherit; font-size: 0.9em; font-weight: 700; }
.tm-comments__sort { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; color: var(--vh-muted); font-size: 0.84rem; font-weight: 600; }
.tm-comments__sort[hidden] { display: none; }
.tm-comment-form { margin-bottom: 0.5rem; }
.tm-comment-form .vp-avatar { margin-top: 0.3rem; }
.tm-comment-form .vh-btn { align-self: flex-start; }
.tm-comment-list { margin: 0; padding: 0; list-style: none; }
.tm-comment-list .vp-comment__text { margin-top: 0.3rem; }
.tm-comments__empty, .tm-signin { margin: 0 0 1rem; color: var(--vh-muted); font-size: 0.92rem; }
.tm-signin a { color: var(--vh-orange); font-weight: 800; }
.tm-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding: 0.2rem 0;
  border: 0;
  background: none;
  color: var(--vh-muted);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.tm-link:hover { color: #c0352a; }

/* A message after Share copies the link. */
.tm-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  z-index: 1090;
  margin: 0;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: #2b1d16;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
}

/* ------------------------------------------------------------ dark theme */

[data-bs-theme="dark"] .tm-round, [data-bs-theme="dark"] .tm-pill-btn { background: rgba(36, 26, 21, 0.92); color: #f4eae0; }
[data-bs-theme="dark"] .tm-round:hover, [data-bs-theme="dark"] .tm-pill-btn:hover { color: #f4eae0; }
[data-bs-theme="dark"] .tm-bless.is-on { color: #ff7a6b; }
[data-bs-theme="dark"] .tm-menu__item--danger,
[data-bs-theme="dark"] .tm-menu__item--danger .svg-inline--fa { color: #f0857b; }
[data-bs-theme="dark"] .tm-notice { border-color: rgba(224, 185, 93, 0.3); background: rgba(224, 185, 93, 0.08); }
[data-bs-theme="dark"] .tm-toast { background: #f4eae0; color: #2b1d16; }
[data-bs-theme="dark"] .tm-dialog::backdrop { background: rgba(0, 0, 0, 0.65); }
/* pages.css keeps tone 8's dark brown icon in the dark theme, where it all
   but disappears (Transport); a lighter brown there. */
[data-bs-theme="dark"] .tm-page .vp-tone-8 { --vp-tone: #d9a07f; }

/* ------------------------------------------------- tablets, small laptops */

@media (min-width: 768px) and (max-width: 1199.98px) {
  /* The search on its own row, the two selects and Filters under it. */
  .tm-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .tm-toolbar__search { grid-column: 1 / -1; }
  /* The column beside the words sits under them here: two panels a row. */
  .tm-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .tm-aside > .tm-react { grid-column: 1 / -1; }
  /* A panel left alone on its row takes the whole row. */
  .tm-aside:has(> .tm-react) > :last-child:nth-child(2),
  .tm-aside:not(:has(> .tm-react)) > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- phones */

@media (max-width: 991.98px) {
  .tm-round { width: 2.75rem; height: 2.75rem; }
  .tm-pill-btn { height: 2.75rem; }
  .tm-menu__item { min-height: 2.75rem; }
  .tm-link { min-height: 2.75rem; margin-top: 0; }
  .tm-byline__meta a { min-height: 2.75rem; }
}

@media (max-width: 767.98px) {
  .tm-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tm-toolbar__search { grid-column: 1 / -1; }
  .tm-toolbar__select { flex: none; }
  .tm-toolbar__go { display: inline-flex; }
  .tm-filters > summary { width: 100%; }
  .tm-pop__panel { left: 0; right: auto; }
  .tm-found { margin-top: 0; }
  .tm-more__btn { flex: 1 1 100%; order: -1; }
  .tm-banner .vp-hero__actions .vh-btn { flex: 1 1 auto; }
  /* A testimony without a picture needs less of a phone's screen. */
  .tm-media--empty { aspect-ratio: 16 / 6; }
  .tm-media--empty .tm-media__icon { font-size: 2rem; }

  .tm-hero { min-height: 13rem; border-radius: 18px; }
  .tm-hero--empty { min-height: 9.5rem; }
  .tm-hero__top { padding: 0.75rem; }
  .tm-hero__bottom { padding: 0 0.75rem 0.75rem; }
  .tm-hero .vp-date--lg { min-width: 3.6rem; padding: 0.45rem 0.55rem; }
  .tm-hero .vp-date--lg .vp-date__d { font-size: 1.5rem; }
  .tm-hero__icon { font-size: 3.5rem; }
  .tm-menu .tm-pop__panel { right: 0; left: auto; }
  .tm-title { font-size: 1.6rem; }
  .tm-byline { gap: 0.6rem 1rem; }
  .tm-byline__meta { gap: 0.25rem 1rem; font-size: 0.82rem; }
  .tm-body { padding: 1.15rem 1.1rem; }
  .tm-body .vp-prose { font-size: 0.98rem; }
  .tm-tags { align-items: flex-start; }
  .vp-page section.tm-comments { padding: 1.1rem 1rem 0.5rem; }
  .tm-comment-form .vp-avatar { display: none; }
  .tm-comment-form .vh-btn { width: 100%; }
  .tm-dialog__box { padding: 1.1rem 1rem 1.15rem; }
  .tm-dialog__foot .vh-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .tm-round, .tm-pill-btn, .tm-page .vp-more .svg-inline--fa { transition: none; }
  .tm-more__btn[aria-busy="true"] .svg-inline--fa { animation: none; }
}
