/* Official website — Shri Pabitra Margherita
   Palette: poster navy + gamosa red on white, muga gold for focus and small accents. */
:root {
  --navy: #13265C;
  --navy-deep: #0D1B44;
  --ink: #1A2233;
  --muted: #586276;
  --red: #A51E2A;
  --gold: #C9A04A;
  --gold-light: #E6D29E;
  --paper: #FFFFFF;
  --saffron: #F28C28;
  --saffron-deep: #E07316;
  --saffron-light: #F7A955;
  --wash: #FFF8F0;
  --tint: #FCEBD6;
  --mist: var(--tint);
  --line: #EBDCC9;
  --display: 'PM Display', Georgia, 'Noto Serif', serif;
  --text: 'PM Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--wash);
  text-rendering: optimizeLegibility;
}
:lang(hi) body, body:lang(hi), body:lang(as) { line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--navy-deep); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0; color: var(--navy); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy-deep); padding: .6em 1em; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- header ---------- */
.site-header { background: var(--wash); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.wordmark { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
.wordmark-name { font-family: var(--display); font-size: 1.4rem; color: var(--navy); }
.wordmark-title { font-size: .8rem; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list, .lang-list { list-style: none; margin: 0; padding: 0; display: flex; }
.nav-list { gap: 1.4rem; }
.nav-list a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1rem; padding: .3em 0; border-bottom: 2px solid transparent; }
.nav-list a:hover { color: var(--red); }
.nav-list a[aria-current="page"] { border-bottom-color: var(--red); color: var(--navy); }
.lang-list { gap: .2rem; border-left: 1px solid var(--line); padding-left: 1.25rem; }
.lang-list a { text-decoration: none; font-size: .95rem; color: var(--muted); padding: .25em .5em; border-radius: 4px; }
.lang-list a[aria-current="true"] { background: var(--navy); color: #fff; }
.nav-toggle { display: none; font: inherit; font-weight: 500; font-size: 1rem; background: none; border: 1px solid var(--line); color: var(--navy); border-radius: 6px; padding: .45em .9em; cursor: pointer; }

@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-top: .75rem; padding-bottom: .75rem; }
  .js .nav-toggle { display: block; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1rem 0 .5rem; }
  .js .site-nav[data-open="false"] { display: none; }
  .nav-list { flex-direction: column; gap: .4rem; }
  .lang-list { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1rem; width: 100%; }
  .wordmark-title { max-width: 26ch; }
}

/* ---------- gamosa band: the one ornamental element ---------- */
.gamosa {
  background-color: #fff;
  background-image: url(/static/img/gamosa.svg);
  background-repeat: repeat-x;
  background-position: left center;
  image-rendering: pixelated;
}
.gamosa--hero { height: 57px; background-size: auto 57px; }
.gamosa--page { height: 38px; background-size: auto 38px; }
.gamosa--footer { height: 38px; background-size: auto 38px; }

@media (prefers-reduced-motion: no-preference) {
  .gamosa--hero { animation: weave 1.4s steps(28, end) .25s both; }
  @keyframes weave { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}

/* ---------- hero ---------- */
.hero { background: linear-gradient(115deg, var(--saffron-light) 0%, var(--saffron) 45%, var(--saffron-deep) 100%); color: var(--navy-deep); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 2rem; min-height: min(78vh, 680px); }
.hero-text { padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 6vw, 80px); align-self: center; }
.hero-name { color: var(--navy-deep); display: flex; flex-direction: column; line-height: .98; }
.hero-honorific { font-size: clamp(1.3rem, 2vw, 1.7rem); color: #7A1620; margin-bottom: .35em; }
.hero-l1, .hero-l2 { font-size: clamp(3.4rem, 8.4vw, 7rem); letter-spacing: -.01em; }
.hero-l2 { padding-left: clamp(1.2rem, 4vw, 3.6rem); }
:lang(hi) .hero-name, :lang(as) .hero-name { line-height: 1.15; }
.hero-title { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--navy-deep); margin: 1.6em 0 .2em; max-width: 44ch; }
.hero-sub { color: #2B2F45; margin: 0 0 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-portrait { align-self: end; display: flex; justify-content: flex-end; }
.hero-portrait img { width: 100%; max-width: 500px; margin-top: 2rem; height: auto; }
.portrait-placeholder { width: 100%; max-width: 460px; aspect-ratio: 4 / 5; border-radius: 230px 230px 0 0; background: var(--navy-deep); display: grid; place-items: center; color: var(--gold-light); font-size: .95rem; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding-bottom: 1rem; }
  .hero-portrait { justify-content: center; }
  .portrait-placeholder { max-width: 240px; }
}

/* ---------- buttons & links ---------- */
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; padding: .8em 1.35em; border-radius: 6px; border: 1.5px solid transparent; cursor: pointer; line-height: 1.3; }
.btn--light { background: #fff; color: var(--navy-deep); }
.btn--light:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--red); color: #fff; }
.btn--outline { border-color: var(--navy-deep); color: var(--navy-deep); }
.btn--outline:hover { background: var(--navy-deep); color: #fff; }
.text-link { font-weight: 600; font-size: 1rem; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--mist { background: var(--mist); }
.section--tint { background: var(--tint); }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head h2 { margin-bottom: .45em; }
.section-head--row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 0; }
.section-head--row h2 { margin: 0; }
.lede { font-size: 1.2rem; color: var(--ink); max-width: 62ch; }

.resp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.resp-item { border-top: 2px solid var(--navy); padding-top: 1.25rem; }
.resp-item h3 { margin-bottom: .5em; }
.resp-item p { color: var(--muted); }
@media (max-width: 820px) { .resp { grid-template-columns: 1fr; } }

/* news list */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.news-item time { color: var(--muted); font-size: .95rem; padding-top: .3em; font-variant-numeric: tabular-nums; }
.news-item h3 { font-size: 1.45rem; margin-bottom: .35em; }
.news-item p { margin: 0 0 .4em; max-width: 64ch; }
.news-source { font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; gap: .3rem; } }

.empty { color: var(--muted); padding: 2rem 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.split-h { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.page-head { background: linear-gradient(115deg, var(--saffron-light), var(--saffron) 55%, var(--saffron-deep)); color: var(--navy-deep); padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); }
.page-head h1 { color: var(--navy-deep); font-size: clamp(2.6rem, 6vw, 4.4rem); }
.page-intro { color: #23283D; font-size: 1.2rem; max-width: 60ch; margin: 1rem 0 0; }

.prose p { max-width: 66ch; }
.about { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.bio-lead p { font-size: 1.22rem; }
.bio-lead { border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; margin-bottom: .5rem; }
.bio-section { padding-top: 2rem; }
.bio-section h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: .6em; }
.bio-section h3 { font-family: var(--text); font-weight: 600; font-size: 1.15rem; color: var(--ink); margin: 1.6em 0 .6em; }
.visits { list-style: none; margin: 0; padding: 0; max-width: 66ch; }
.visits li { border-left: 3px solid var(--saffron); padding: .1rem 0 .1rem 1.1rem; margin-bottom: 1.4rem; }
.visit-when { font-size: .92rem; color: var(--muted); margin: 0 0 .15em; }
.visits h4 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--navy); margin: 0 0 .3em; line-height: 1.25; }
.visits li p:last-child { margin: 0; }
.source-note { font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }
.timeline { position: sticky; top: 2rem; }
.timeline h2 { font-size: 1.8rem; margin-bottom: 1.25rem; }
.timeline ol { list-style: none; margin: 0; padding: 0 0 0 1.6rem; border-left: 2px solid var(--gold); }
.timeline li { position: relative; padding: 0 0 1.4rem; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.6rem - 7px); top: .45em; width: 12px; height: 12px; background: var(--red); transform: rotate(45deg); outline: 3px solid var(--wash); }
.tl-year { display: block; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.tl-text { display: block; color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .timeline { position: static; } }

/* gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.gallery figcaption { font-size: .95rem; color: var(--muted); padding-top: .5rem; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.office { margin-bottom: 1.5rem; }
.office h2, .form h2 { font-size: 1.5rem; margin-bottom: .3em; }
.office p { color: var(--muted); margin: 0; }
.contact-dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.25rem; margin: 0 0 2rem; }
.contact-dl dt { font-weight: 600; }
.contact-dl dd { margin: 0; color: var(--muted); }
.follow-h { font-family: var(--text); font-weight: 600; font-size: 1rem; color: var(--ink); margin-bottom: .6rem; }
.contact .social a { color: var(--navy); border-color: var(--line); }
.contact .social a:hover { color: var(--red); }
.contact .social { --yt-play: #fff; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 3vw, 36px); }
.form h2 { margin-bottom: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 500; font-size: 1rem; }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); border: 1px solid #B8C1D3; border-radius: 6px; padding: .7em .8em; background: #fff; width: 100%; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--navy); }
.hp { position: absolute; left: -9999px; }

.notfound-links { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #C6CEE2; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding-top: 3.5rem; padding-bottom: 2.5rem; }
.footer-name { font-family: var(--display); font-size: 1.6rem; color: #fff; margin-bottom: .4em; }
.footer-about p:last-child { max-width: 42ch; font-size: 1rem; }
.footer-h { font-family: var(--text); font-weight: 600; font-size: 1rem; color: #fff; margin-bottom: .8rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .3rem; }
.footer-links a { color: #C6CEE2; text-decoration: none; font-size: 1rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; padding-bottom: 1.6rem; font-size: .9rem; }
.footer-base p { margin: 0; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; }
.social a:hover { color: var(--gold-light); border-color: var(--gold-light); }
.social svg { width: 20px; height: 20px; }
.social span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-footer :focus-visible { outline-color: var(--gold); }
.gamosa--hero { height: 75px; background-size: auto 75px; }
.gamosa--page, .gamosa--footer { height: 50px; background-size: auto 50px; }

/* sub-headings, placeholders, media */
.sub-h { font-family: var(--text); font-weight: 600; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: .6rem; }

.ph { background: var(--tint); border: 1px dashed #D9B68E; border-radius: 6px; display: grid; place-items: center; color: #9A7752; font-size: .9rem; aspect-ratio: 3 / 2; }
.section--tint .ph { background: #F8DDBB; }
.ph-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ph--video { aspect-ratio: 16 / 9; position: relative; background: var(--navy-deep); border: 0; color: #fff; }
.ph--video span { display: none; }
.ph--video::after { content: ""; width: 0; height: 0; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
@media (max-width: 760px) { .ph-grid, .video-grid { grid-template-columns: 1fr 1fr; } }

.placeholder { color: var(--muted); font-size: 1rem; }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; color: #7A1620; background: #F8DDBB; border-radius: 4px; padding: .05em .5em; margin-right: .3em; }
.resp-item .news-list .news-item { grid-template-columns: 1fr; gap: .2rem; padding: 1rem 0; }


/* ---------- cover carousel (hero = slide 1, designed banners after) ---------- */
.carousel { position: relative; background: var(--navy-deep); }
.carousel-track { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; z-index: 1; }
.slide--image { position: relative; background: var(--navy-deep); }
.slide--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel-controls { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: .5rem; background: rgba(13, 27, 68, .78); padding: .35rem .5rem; border-radius: 999px; }
.cc-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.cc-btn:hover { background: rgba(255,255,255,.15); }
.cc-btn svg { width: 18px; height: 18px; }
.cc-pause .i-play { display: none; }
.cc-pause[aria-pressed="true"] .i-play { display: block; }
.cc-pause[aria-pressed="true"] .i-pause { display: none; }
.cc-dots { display: flex; gap: .45rem; padding: 0 .25rem; }
.cc-dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.cc-dot.is-active { background: var(--saffron-light); border-color: var(--saffron-light); }
.carousel :focus-visible { outline-color: #fff; }
/* Cover photos: desktop 1920x900 frame, 4:3 below 1024px. Each photo carries its own
   focus point (--focus-d / --focus-m) so faces stay in frame when cropped. */
.carousel-track { width: 100%; aspect-ratio: 1920 / 900; max-height: 82vh; }
.slide--image img { object-position: var(--focus-d, 50% 40%); }
@media (max-width: 1023px) {
  .carousel-track { aspect-ratio: 4 / 3; max-height: none; }
  .slide--image img { object-position: var(--focus-m, 50% 40%); }
  .carousel-controls { bottom: 8px; gap: .2rem; padding: .15rem .3rem; }
  .cc-btn { width: 30px; height: 30px; }
  .cc-btn svg { width: 15px; height: 15px; }
  .cc-dot { width: 8px; height: 8px; }
}
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 3.5rem var(--gutter) 4.2rem; color: #fff; font-weight: 500; background: linear-gradient(to top, rgba(13,27,68,.75), transparent); }

/* profile block under the cover photos */
.hero--profile .hero-inner { min-height: 0; }
.hero--profile .hero-text { padding: clamp(40px, 6vw, 80px) 0; }
@media (max-width: 820px) {
  .hero--profile .hero-text { padding-bottom: .5rem; }
  /* phones: name on the left, portrait on the right, details below both */
  .hero--profile .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); grid-template-areas: "name photo" "title title" "sub sub" "actions actions"; column-gap: .75rem; row-gap: 0; align-items: end; padding-top: 1.5rem; padding-bottom: clamp(32px, 8vw, 48px); }
  .hero--profile .hero-text { display: contents; }
  .hero--profile .hero-name { grid-area: name; align-self: center; }
  .hero--profile .hero-portrait { grid-area: photo; justify-content: flex-end; }
  .hero--profile .hero-portrait img { max-width: clamp(160px, 40vw, 300px); margin-top: 0; border-bottom: 3px solid var(--red); }
  .hero--profile .hero-title { grid-area: title; margin-top: 1.25em; }
  .hero--profile .hero-sub { grid-area: sub; }
  .hero--profile .hero-actions { grid-area: actions; }
  .hero--profile .hero-honorific { font-size: 1.05rem; }
  .hero--profile .hero-l1, .hero--profile .hero-l2 { font-size: clamp(1.9rem, 9vw, 3.2rem); }
  .hero--profile .hero-l2 { padding-left: .6rem; }
}
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-active { transition: none; } }

.split .news-item { grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; }
@media (max-width: 640px) { .split .news-item { grid-template-columns: 1fr; } }

/* Work: ministry pages */
.work-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: .5rem; }
.crumbs { font-size: .95rem; color: var(--muted); margin-bottom: 2rem; }
.area-h { margin-bottom: 1.5rem; }
.visits--page { max-width: 72ch; }
.visits--page li { margin-bottom: 2rem; padding-left: 1.4rem; }
.visits--page h3 { font-size: 1.55rem; margin: 0 0 .35em; }
.visits--page .news-source { font-size: .9rem; margin-top: .5em; }

/* Textiles visits: topic filters + year groups */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2.5rem; }
.chip { font: inherit; font-size: .95rem; font-weight: 500; padding: .45em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--saffron-deep); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.year { margin-bottom: 3rem; }
.year[hidden] { display: none; }
.year-h { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--saffron-deep); border-bottom: 2px solid var(--line); padding-bottom: .4rem; margin-bottom: 1.5rem; }
.visit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2.5rem; }
.visit { border-left: 3px solid var(--saffron); padding: .1rem 0 .4rem 1.1rem; }
.visit[hidden] { display: none; }
.visit-meta { display: flex; flex-wrap: wrap; gap: .2rem 1rem; font-size: .92rem; color: var(--muted); margin: 0 0 .3rem; }
.visit-meta time { font-weight: 600; color: var(--ink); }
.visit h3 { font-size: 1.3rem; line-height: 1.3; margin: 0 0 .4em; }
.visit p { margin: 0 0 .5em; }
.visit-tags { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.vtag { font-size: .8rem; color: #7A1620; background: var(--tint); border-radius: 4px; padding: .1em .55em; }
.vsource { font-size: .85rem; font-weight: 600; }
@media (max-width: 860px) { .visit-list { grid-template-columns: 1fr; } }

/* ---------- articles ---------- */
.article-list { list-style: none; margin: 0; padding: 0; max-width: 72ch; }
.article { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.article:first-child { padding-top: .5rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 0 0 .6rem; color: var(--muted); font-size: .95rem; }
.article-title { font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.25; margin: 0 0 .5rem; }
.article-title a { color: var(--navy); text-decoration: none; }
.article-title a:hover, .article-title a:focus-visible { text-decoration: underline; text-underline-offset: .15em; }
.article-orig { margin: -.2rem 0 .6rem; color: var(--muted); font-style: italic; font-size: .95rem; }
.article-pub { color: var(--muted); font-size: .95rem; margin: .4rem 0 1rem; }
.article-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; margin: 0; }
.article-also { font-size: .95rem; color: var(--muted); }
.article-also a { color: var(--navy); }
.btn--sm { font-size: .92rem; padding: .55em 1.05em; }
.vtag--link { text-decoration: none; }
.vtag--link:hover, .vtag--link:focus-visible { text-decoration: underline; }
.section--tint .vtag { background: #fff; }
.visit-list--single { grid-template-columns: 1fr; max-width: 72ch; gap: 1.75rem; }
