/* =====================================================================
   blog.css — blog index (/it/blog) and article (/it/blog/<slug>)
   Ported from the old Assets/CSS/main/blog.css + article-single.css,
   without Bootstrap. Uses the --rx-* tokens of site.css.
   ===================================================================== */

/* ===== Blog index =====
   Cosmetic batch 2 (2026-10-13): photo hero like the cooking / custom-tour pages but centred,
   with the search bar and category chips inside it; then an editorial list (one row per
   article, photo left, the first one of page 1 larger: the featured article (admin star),
   else the newest — layout taken from odontoiatriko.it).
   The previous gradient hero + card grid is archived in _archive/blog-list-2026-10-13/. */

/* --- hero --- */
.bl-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(380px, 40vw, 500px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) var(--rx-gutter) clamp(2.5rem, 5vw, 3.75rem);
  text-align: center; color: #fff; background: #1a2e22;
}
.bl-hero-bg { position: absolute; inset: 0; z-index: -2; }
.bl-hero-bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 70%; }
.bl-hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 50% 42%, rgba(15, 30, 22, .52), transparent 72%),
    linear-gradient(180deg, rgba(15, 30, 22, .62) 0%, rgba(15, 30, 22, .40) 45%, rgba(15, 30, 22, .78) 100%);
}
.bl-hero-inner { width: 100%; max-width: 760px; }
.bl-hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .9rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.bl-hero-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rx-brand); box-shadow: 0 0 8px rgba(47, 140, 98, .8); }
.bl-hero-title {
  font-size: clamp(2.2rem, 5.4vw, 3.8rem); font-weight: 700; line-height: 1.06; letter-spacing: -.02em;
  margin: 0 0 1rem; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.bl-hero-title-line { display: block; }
.bl-hero-title-em { display: block; font-style: italic; font-weight: 500; font-size: .62em; line-height: 1.2; margin-top: .35em; color: rgba(255, 255, 255, .92); }
.bl-hero-sub { max-width: 560px; margin: 0 auto 1.6rem; font-size: clamp(.95rem, 1.5vw, 1.05rem); line-height: 1.65; color: rgba(255, 255, 255, .86); }

/* search: one white bar, icon inside, a real "Cerca" button */
.bl-search {
  position: relative; display: flex; align-items: center; gap: .4rem;
  max-width: 560px; margin: 0 auto; padding: 6px 6px 6px 3rem;
  background: #fff; border-radius: var(--rx-pill);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .28);
  transition: box-shadow .2s ease;
}
.bl-search:focus-within { box-shadow: 0 14px 40px rgba(0, 0, 0, .28), 0 0 0 4px rgba(232, 168, 75, .55); }
.bl-search-icon { position: absolute; left: 1.15rem; top: 50%; transform: translateY(-50%); font-size: 1.05rem; color: var(--rx-muted); pointer-events: none; }
.bl-search-field {
  flex: 1 1 auto; min-width: 0; margin: 0; padding: .6rem 0; border: 0; background: transparent;
  font: inherit; font-size: 1rem; color: var(--rx-ink); -webkit-appearance: none; appearance: none;
}
.bl-search-field::placeholder { color: #8a968f; }
.bl-search-field:focus { outline: none; }
.bl-search-btn {
  flex-shrink: 0; padding: .7rem 1.35rem; border: 0; border-radius: var(--rx-pill);
  font: inherit; font-size: .92rem; font-weight: 700; color: #fff; background: var(--rx-brand);
  cursor: pointer; transition: background .2s ease;
}
.bl-search-btn:hover { background: var(--rx-brand-dark); }
.bl-search-btn:focus-visible { outline: 3px solid var(--rx-accent); outline-offset: 2px; }

.bl-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.1rem; }
.bl-chip {
  display: inline-flex; align-items: center; padding: .4rem 1rem; border-radius: var(--rx-pill);
  font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .92); text-decoration: none;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s ease, color .2s ease;
}
.bl-chip:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.bl-chip[aria-current="page"] { background: #fff; color: var(--rx-brand-dark); border-color: #fff; }

/* --- list --- */
.bl-wrap { max-width: 1120px; margin: 0 auto; padding: clamp(2rem, 4vw, 3.25rem) var(--rx-gutter) 0; }

.blog-results { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.5rem; font-size: .92rem; color: var(--rx-muted); }
.blog-results .i { font-size: .85em; opacity: .7; }
.blog-results strong { color: var(--rx-ink); font-weight: 600; }
.blog-results-clear { margin-left: .4rem; font-weight: 600; color: var(--rx-brand-dark); }

.bl-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rx-ink); }
.bl-list > li { border-bottom: 1px solid var(--rx-line-strong); }
.bl-item {
  position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1.2rem, 3.5vw, 3rem); align-items: center; padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}
.bl-item-media { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--rx-radius-sm); background: var(--rx-cream-warm); }
.bl-item-media img { width: 100%; height: 100%; object-fit: cover; }
.bl-item-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; margin: 0 0 .65rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rx-muted);
}
.bl-item-meta > * { display: inline-flex; align-items: center; }
.bl-item-meta > * + *::before { content: "\00B7"; margin-right: .9rem; color: var(--rx-line-strong); }
.bl-item-cat { color: var(--rx-brand); }
.bl-item-title { font-size: clamp(1.25rem, 2.1vw, 1.7rem); line-height: 1.22; margin: 0 0 .55rem; max-width: 40rem; }
.bl-item-title a { color: var(--rx-ink); text-decoration: none; }
/* the whole row is clickable through the title link */
.bl-item-title a::after { content: ""; position: absolute; inset: 0; }
.bl-item:hover .bl-item-title a, .bl-item-title a:focus-visible {
  text-decoration: underline; text-decoration-color: var(--rx-accent);
  text-decoration-thickness: 3px; text-underline-offset: .18em;
}
.bl-item-title a:focus-visible { outline: none; }
.bl-item:has(.bl-item-title a:focus-visible) { outline: 3px solid var(--rx-accent); outline-offset: 4px; border-radius: 6px; }
.bl-item-excerpt { margin: 0 0 .9rem; max-width: 42rem; font-size: .96rem; line-height: 1.65; color: var(--rx-muted); }
.bl-item-more { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 700; color: var(--rx-brand-dark); }
.bl-item-more .i { transition: transform .2s ease; }
.bl-item:hover .bl-item-more .i { transform: translateX(3px); }

.bl-item--lead { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.bl-item--lead .bl-item-media { aspect-ratio: 3 / 2; }
.bl-item--lead .bl-item-title { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.12; }
.bl-item--noimg { grid-template-columns: 1fr; }

@media (max-width: 760px) {
  .bl-item, .bl-item--lead { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
  .bl-item-media, .bl-item--lead .bl-item-media { aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  /* the meta line wraps here: no separator dots left dangling at a line start */
  .bl-item-meta { gap: .3rem 1rem; letter-spacing: .06em; }
  .bl-item-meta > * + *::before { content: none; }
  .bl-search { padding-left: 2.6rem; }
  .bl-search-icon { left: .95rem; }
  .bl-search-btn { padding: .7rem 1rem; }
}

/* --- pager & empty state --- */
.blog-pager { margin-top: 2.25rem; }
.blog-pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.blog-pager-link {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; min-height: 2.5rem;
  padding: .45rem .85rem; border: 1px solid var(--rx-line-strong); border-radius: var(--rx-pill);
  font-size: .9rem; font-weight: 600; color: var(--rx-ink); text-decoration: none; background: #fff;
}
a.blog-pager-link:hover { border-color: var(--rx-brand); color: var(--rx-brand-dark); background: rgba(47, 140, 98, .06); }
.blog-pager-link.is-active { background: var(--rx-brand); border-color: var(--rx-brand); color: #fff; }
.blog-pager-link.is-disabled { opacity: .45; }
.blog-pager-link.is-gap { border-color: transparent; background: none; }

.blog-empty {
  max-width: 640px; margin: 1rem auto 0; padding: 3rem 1.5rem; text-align: center;
  border: 1px dashed var(--rx-line-strong); border-radius: var(--rx-radius-md); background: #fff;
}
.blog-empty-icon { font-size: 2.5rem; color: var(--rx-brand); margin-bottom: 1rem; }
.blog-empty h2 { font-size: 1.4rem; }
.blog-empty p { color: var(--rx-muted); }

/* ===== Article ===== */
.ar-page {
  --ar-brand: var(--rx-brand);
  --ar-brand-dark: #257a54;
  --ar-brand-soft: rgba(47, 140, 98, .10);
  --ar-brand-ring: rgba(47, 140, 98, .22);
  --ar-ink: var(--rx-ink);
  --ar-ink-soft: #243038;
  --ar-muted: #5a6a62;
  --ar-line: #e6ece8;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  color: var(--ar-ink);
}

/* Hero: photo left, title card right (stacked below 921px) */
.ar-hero { position: relative; display: grid; grid-template-columns: 1fr; background: #fff; isolation: isolate; }
.ar-hero-media { position: relative; margin: 0; overflow: hidden; background: #1a2e22; aspect-ratio: 16 / 11; }
.ar-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-hero-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.ar-hero-tag {
  position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .8rem; border-radius: var(--rx-pill); border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(15, 30, 22, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.ar-title-card { position: relative; z-index: 2; padding: clamp(1.2rem, 3vw, 1.6rem) clamp(1rem, 5vw, 2rem) clamp(1.2rem, 3vw, 1.8rem); }
.ar-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .9rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ar-brand-dark);
}
.ar-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ar-brand); box-shadow: 0 0 8px rgba(47, 140, 98, .55); flex-shrink: 0; }
.ar-title { font-size: clamp(1.55rem, 6vw, 1.95rem); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .8rem; }
.ar-lead { font-size: clamp(.98rem, 1.5vw, 1.08rem); line-height: 1.65; color: var(--ar-muted); margin: 0 0 1.25rem; max-width: 44em; }
.ar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .9rem; padding-top: 1rem; border-top: 1px dashed rgba(15, 30, 22, .12); }
.ar-pill {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--rx-pill); background: var(--ar-brand-soft); color: var(--ar-brand-dark); border: 1px solid var(--ar-brand-ring);
}
a.ar-pill:hover { background: rgba(47, 140, 98, .18); color: var(--rx-brand-deeper); }
.ar-pill--featured { background: rgba(230, 200, 54, .18); color: #6b5a0a; border-color: rgba(230, 200, 54, .45); }
.ar-meta-item { display: inline-flex; align-items: center; gap: .42rem; font-size: .8rem; font-weight: 500; color: var(--ar-muted); }
.ar-meta-item .i { color: var(--ar-brand); }
.ar-meta-author { color: var(--ar-brand-dark); }
.ar-meta-sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(15, 30, 22, .25); flex-shrink: 0; }
.ar-altlang { margin: 1rem 0 0; font-size: .85rem; }
.ar-altlang a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ar-brand-dark); text-decoration: none; }
.ar-altlang a:hover { text-decoration: underline; }

/* Breadcrumb: glass pill over the photo */
.ar-crumbs {
  position: absolute; top: .75rem; left: 1rem; z-index: 3; max-width: calc(100% - 2rem);
  padding: .3rem .8rem; border-radius: var(--rx-pill); border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(15, 30, 22, .48); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ar-crumbs ol { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; font-size: .78rem; color: rgba(255, 255, 255, .8); }
.ar-crumbs li + li:not(.visually-hidden)::before { content: '›'; margin-right: .3rem; color: #fff; opacity: .5; }
.ar-crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.ar-crumbs a:hover { color: #fff; }
.ar-crumbs li:nth-child(2) a { color: #fff; font-weight: 600; }
.ar-hero--minimal .ar-crumbs { position: static; display: inline-block; margin: 1rem 0 0 clamp(1rem, 5vw, 2rem); background: var(--ar-brand-soft); border-color: var(--ar-brand-ring); -webkit-backdrop-filter: none; backdrop-filter: none; }
.ar-hero--minimal .ar-crumbs ol, .ar-hero--minimal .ar-crumbs a { color: var(--ar-muted); }
.ar-hero--minimal .ar-crumbs li + li::before { color: var(--ar-muted); }
.ar-hero--minimal .ar-crumbs li:nth-child(2) a { color: var(--ar-ink); }

@media (min-width: 921px) {
  .ar-hero { grid-template-columns: 1fr 1fr; align-items: stretch; min-height: clamp(360px, 34vw, 520px); }
  .ar-hero::before {
    content: ''; position: absolute; left: 50%; top: 18%; bottom: 12%; width: 1px; z-index: 3; pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 30, 22, .14) 14%, rgba(15, 30, 22, .14) 86%, transparent 100%);
  }
  .ar-hero-media { aspect-ratio: auto; min-height: 100%; }
  .ar-title-card { align-self: center; max-width: 640px; padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 5vw, 2.5rem) clamp(1.4rem, 3vw, 2.2rem) clamp(1.5rem, 4vw, 2.75rem); }
  .ar-title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
  .ar-hero--minimal { grid-template-columns: minmax(0, 880px); justify-content: center; min-height: 0; }
  .ar-hero--minimal::before { display: none; }
  .ar-hero--minimal .ar-title { font-size: clamp(1.95rem, 4.2vw, 3.15rem); }
}

/* Body */
/* Body + sidebar. One column (text, then the tours, then share / "Leggi anche") up to
   1079px; from 1080px the tours sit in a sticky column on the right of the text. */
.ar-shell {
  display: grid; grid-template-columns: minmax(0, 1fr);
  max-width: 760px; margin: 0 auto; padding: clamp(2.25rem, 5vw, 3.25rem) clamp(1.1rem, 4vw, 1.5rem) 0;
}
@media (min-width: 1080px) {
  .ar-shell {
    max-width: 1200px; column-gap: clamp(2.5rem, 4vw, 4rem); justify-content: center;
    grid-template-columns: minmax(0, 740px) 330px;
  }
  .ar-body, .ar-foot { grid-column: 1; }
  .ar-side { grid-column: 2; grid-row: 1 / span 2; }
  .ar-side-inner { position: sticky; top: calc(var(--rx-header-h) + 1.5rem); }
}

/* ===== Sidebar: recommended tours ===== */
.ar-side { margin: 2.75rem 0 0; }
@media (min-width: 1080px) { .ar-side { margin: 0; } }
.ar-side-inner {
  padding: 1.35rem 1.25rem 1.25rem; border: 1px solid var(--ar-line); border-radius: var(--rx-radius-md);
  background: linear-gradient(180deg, #f3faf6 0%, #fff 140px);
}
.ar-side-eyebrow {
  display: flex; align-items: center; gap: .4rem; margin: 0 0 .3rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ar-brand-dark);
}
.ar-side-title { margin: 0 0 1rem; font-size: 1.35rem; line-height: 1.2; color: var(--ar-ink); }
.ar-side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
@media (min-width: 600px) and (max-width: 1079px) { .ar-side-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ar-tour {
  display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: .75rem; align-items: center;
  padding: .5rem; border-radius: var(--rx-radius-sm); text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--ar-line);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ar-tour:hover { border-color: var(--ar-brand-ring); box-shadow: 0 6px 18px rgba(15, 30, 22, .08); transform: translateY(-1px); }
.ar-tour:focus-visible { outline: 3px solid var(--rx-accent); outline-offset: 2px; }
.ar-tour-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--rx-cream-warm); }
.ar-tour-media img { width: 100%; height: 100%; object-fit: cover; }
.ar-tour-body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.ar-tour-name { font-family: var(--rx-font-head); font-size: .97rem; font-weight: 600; line-height: 1.25; color: var(--ar-ink); }
.ar-tour:hover .ar-tour-name { color: var(--ar-brand-dark); }
.ar-tour-meta { display: flex; flex-wrap: wrap; gap: .15rem .7rem; font-size: .76rem; color: var(--ar-muted); }
.ar-tour-meta > span { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.ar-tour-price strong { color: var(--ar-ink); font-weight: 700; }

.ar-side-custom {
  display: flex; flex-direction: column; gap: .15rem; margin-top: 1rem; padding: .85rem 1rem;
  border-radius: var(--rx-radius-sm); background: var(--ar-brand-soft); text-decoration: none;
  font-size: .82rem; color: var(--ar-ink-soft); transition: background .2s ease;
}
.ar-side-custom strong { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; color: var(--ar-brand-dark); }
.ar-side-custom:hover { background: rgba(47, 140, 98, .16); }
.ar-side-custom:hover .i { transform: translateX(3px); }
.ar-side-custom .i { transition: transform .2s ease; }

.ar-prose { font-size: 1.0625rem; line-height: 1.82; color: var(--ar-ink-soft); overflow-wrap: break-word; }
.ar-prose [id] { scroll-margin-top: calc(var(--rx-header-h) + 1rem); }
.ar-prose > *:first-child { margin-top: 0; }
.ar-prose > p:first-of-type::first-letter {
  float: left; margin: .06em .16em 0 0;
  font-family: var(--rx-font-head); font-size: 3.15em; font-weight: 700; line-height: .82; color: var(--ar-brand);
}
.ar-prose h2, .ar-prose h3, .ar-prose h4 { font-weight: 600; line-height: 1.22; letter-spacing: -.02em; color: var(--ar-ink); margin: 2.25rem 0 .85rem; }
.ar-prose h2 { font-size: 1.65rem; }
.ar-prose h3 { font-size: 1.28rem; }
.ar-prose h4 { font-size: 1.1rem; }
.ar-prose :is(h2, h3, h4):empty { display: none; }
.ar-prose h2::after { content: ''; display: block; width: 2.6rem; height: 3px; margin-top: .6rem; border-radius: 2px; background: var(--ar-brand); }
.ar-prose p { margin: 0 0 1.35em; }
.ar-prose a { color: var(--ar-brand-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 600; }
.ar-prose a:hover { color: var(--rx-brand-deeper); }
.ar-prose img { max-width: 100%; height: auto; border-radius: var(--rx-radius-md); margin: 2rem 0; box-shadow: var(--rx-shadow-md); }
.ar-prose ul, .ar-prose ol { margin: 0 0 1.35em; padding-left: 1.35em; }
.ar-prose li { margin-bottom: .45em; }
.ar-prose li + li { margin-top: 0; }
.ar-prose ul li::marker { color: var(--ar-brand); }
.ar-prose nav { margin: 0 0 2rem; padding: 1.1rem 1.4rem; border-radius: var(--rx-radius-md); background: #f4f8f5; border: 1px solid var(--ar-line); }
.ar-prose nav h2 { font-size: 1.1rem; margin: 0 0 .6rem; }
.ar-prose nav h2::after { display: none; }
.ar-prose nav ol, .ar-prose nav ul { margin: 0; }
.ar-prose nav br { display: none; }
.ar-prose blockquote {
  position: relative; margin: 2rem 0; padding: 1.35rem 1.5rem 1.35rem 1.75rem;
  border: 0; border-left: 4px solid var(--ar-brand); border-radius: 0 var(--rx-radius-md) var(--rx-radius-md) 0;
  background: linear-gradient(105deg, var(--ar-brand-soft), rgba(230, 200, 54, .06));
  font-family: var(--rx-font-head); font-size: 1.15rem; font-style: italic; color: #3d4f5a;
}
.ar-prose blockquote::before { content: '\201C'; position: absolute; top: .15rem; left: .55rem; font-size: 2.5rem; line-height: 1; opacity: .22; color: var(--ar-brand); font-family: Georgia, serif; }
.ar-prose blockquote p:last-child { margin-bottom: 0; }
.ar-prose pre { background: #fff; border: 1px solid rgba(15, 30, 22, .08); border-radius: var(--rx-radius-md); padding: 1.25rem; overflow-x: auto; font-size: .9em; margin: 1.5rem 0; }
.ar-prose code { background: var(--ar-brand-soft); padding: .12em .38em; border-radius: 6px; font-size: .88em; }
.ar-prose pre code { background: none; padding: 0; }
.ar-prose table { display: block; overflow-x: auto; }

.ar-tags { margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px dashed rgba(15, 30, 22, .12); }
.ar-tags-label { display: flex; align-items: center; gap: .45rem; margin: 0 0 .85rem; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ar-brand-dark); }
.ar-tags-list { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.ar-tag { padding: .32rem .85rem; font-size: .8rem; font-weight: 600; color: var(--ar-ink); background: #fff; border: 1.5px solid var(--ar-line); border-radius: var(--rx-pill); }


.ar-actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
  margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--ar-line);
}
.ar-back {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .65rem 1.3rem;
  font-size: .88rem; font-weight: 700; color: #fff; text-decoration: none; border-radius: var(--rx-pill);
  background: linear-gradient(135deg, var(--ar-brand), var(--ar-brand-dark)); box-shadow: var(--rx-shadow-sm);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.ar-back:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); box-shadow: var(--rx-shadow-md); }
.ar-back .i { transition: transform .18s ease; }
.ar-back:hover .i { transform: translateX(-3px); }
.ar-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.ar-share-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ar-muted); }
.ar-share-btns { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.ar-share-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; border: 1.5px solid var(--ar-line); background: #fff; color: var(--ar-ink); font-size: 1.05rem;
  text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
.ar-share-btn:hover { color: #fff; }
.ar-share-btn--fb:hover { background: #1877f2; border-color: #1877f2; }
.ar-share-btn--x:hover { background: #000; border-color: #000; }
.ar-share-btn--wa:hover { background: #25d366; border-color: #25d366; }

.ar-related { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--ar-line); }
.ar-related-title { font-size: clamp(1.25rem, 2.5vw, 1.6rem); margin: 0 0 28px; }
.ar-related-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 541px) { .ar-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 861px) { .ar-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ar-related-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ar-line); border-radius: 10px; background: #fff; }
.ar-related-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #1a2e22; }
.ar-related-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ar-related-card:hover .ar-related-media img { transform: scale(1.04); }
.ar-related-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px; }
.ar-related-cat { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ar-brand-dark); }
.ar-related-h3 { font-family: var(--rx-font-body); font-size: .95rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; margin: 0; }
.ar-related-h3 a { color: var(--ar-ink); text-decoration: none; }
.ar-related-h3 a:hover { color: var(--ar-brand-dark); }
.ar-related-h3 a::after { content: ''; position: absolute; inset: 0; }
.ar-related-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; font-size: .82rem; line-height: 1.5; color: var(--ar-muted); }
.ar-related-date { margin-top: auto; font-size: .75rem; color: var(--ar-muted); }

@media (max-width: 580px) {
  .ar-actions { flex-direction: column; align-items: stretch; }
  .ar-share { justify-content: center; }
  .ar-meta-sep { display: none; }
}
