/* Goldziher Institute — v50
   Fonts: Montserrat (UI/nav), Source Serif 4 (headings/hero)
*/

:root {
  --wash:       #f4f5f7;
  --paper:      #ffffff;
  --ink:        #0d1117;
  --muted:      #4a5568;
  --line:       #dde1e7;
  --accent:     #0b2545;
  --accent-mid: #1a3a5c;
  --gold-rgb:   11,37,69;
  --accent-rgb: 11,37,69;
  --font-ui:    "Montserrat", system-ui, -apple-system, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --shadow-sm:  0 1px 3px rgba(13,17,23,.06), 0 4px 12px rgba(13,17,23,.06);
  --shadow:     0 2px 4px rgba(13,17,23,.06), 0 12px 32px rgba(13,17,23,.10);
  --max:        1120px;
  --textmax:    68ch;
  --radius:     10px;
}

*, *::before, *::after { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none }
a:hover { text-decoration: underline; text-underline-offset: 5px }
img { display: block; max-width: 100% }

/* ── HEADER ─────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 14px }
.brand-mark { width: 72px; height: 72px; flex: 0 0 auto; overflow: hidden }
.brand-mark svg { width: 100%; height: 100%; display: block }
.brand-text .name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink);
}
.brand-text .tagline {
  margin-top: 4px;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  align-items: center;
}
.nav a {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--ink); background: rgba(var(--accent-rgb),.05); text-decoration: none }
.nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(var(--accent-rgb),.07);
  font-weight: 600;
}

/* ── HOME LAYOUT ─────────────────────────────── */
.home-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 24px 88px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 52px;
  align-items: start;
}
.home-hero {
  margin-bottom: 36px;
}
.home-hero h1 {
  font-family: var(--font-serif);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 8px 0 18px;
}
.home-hero .lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 58ch;
  margin: 0 0 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px }
.home-main > p { max-width: 60ch }
.home-main > .meta { max-width: 60ch }
.home-rail { position: sticky; top: 100px }

/* Portré kártya */
.portrait-card { padding: 0; overflow: hidden }
.portrait-card .kicker { padding: 16px 18px 0 }
.portrait { margin: 0 }
.portrait-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  border-radius: 0;
}
.portrait-caption {
  padding: 12px 18px 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.portrait-caption strong { color: var(--ink); font-weight: 600 }
.portrait-caption a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px }

/* ── LAYOUT HELPERS ──────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.home-split {
  display: grid;
  grid-template-columns: minmax(0,1fr) 360px;
  gap: 36px;
  align-items: start;
}

/* ── TYPOGRAPHY ─────────────────────────────── */
.kicker {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
h1 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.005em;
  margin: 0 0 14px;
}
h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 12px;
}
h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}
p { margin: 0 0 14px; max-width: var(--textmax) }
.lead { font-size: 17px; color: var(--muted); line-height: 1.65 }
.meta { color: var(--muted); font-size: 13.5px }
.meta2 { color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 5px }
.small-links { font-size: 13.5px; color: var(--muted) }
.rule { height: 1px; background: var(--line); margin: 22px 0 }

/* ── CARDS / PANELS ─────────────────────────── */
.page {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 32px 24px;
  box-shadow: var(--shadow);
}
.page > :last-child { margin-bottom: 0 }

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

/* ── CALLOUTS ────────────────────────────────── */
.callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.callout:first-child { border-top: 0; padding-top: 4px }
.callout strong { font-weight: 600; font-size: 14px }
.callout .meta { margin-top: 3px; line-height: 1.35 }

.callout.link {
  border-top: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 140px minmax(0,1fr);
  gap: 16px;
  align-items: center;
}
.callout.link:hover {
  text-decoration: none;
  border-color: rgba(var(--accent-rgb),.3);
  background: rgba(var(--accent-rgb),.02);
}

/* ── THUMBNAILS ─────────────────────────────── */
.thumb {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  background: var(--wash);
}
.thumb.targum {
  object-fit: contain;
  padding: 14px;
  background: var(--wash);
  object-position: center;
}

/* ── BADGE ───────────────────────────────────── */
.badge {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  border: 1px solid rgba(var(--accent-rgb),.25);
  background: rgba(var(--accent-rgb),.07);
  padding: 5px 10px;
  border-radius: 20px;
  color: var(--accent);
  white-space: nowrap;
}
.badge.badge-closed {
  border-color: rgba(0,0,0,.15);
  background: rgba(0,0,0,.05);
  color: var(--muted);
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  display: inline-block;
  transition: border-color .15s, background .15s;
}
.btn:hover { border-color: rgba(var(--accent-rgb),.3); background: rgba(var(--accent-rgb),.04); text-decoration: none }
.btn.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn.secondary:hover {
  background: rgba(var(--accent-rgb),.06);
}
.btn.primary:hover { background: var(--accent-mid); border-color: var(--accent-mid) }

a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid rgba(var(--accent-rgb),.3);
  background: rgba(var(--accent-rgb),.06);
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  width: 100%;
}
a.cta:hover { background: rgba(var(--accent-rgb),.12); text-decoration: none }

/* ── PEOPLE ──────────────────────────────────── */
.person {
  display: grid;
  grid-template-columns: 150px minmax(0,1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.person:first-child { border-top: 0; padding-top: 4px }
.avatar {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid var(--line);
  background: var(--wash);
}
.person strong { font-size: 15px; font-weight: 600 }
.research {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
  max-width: var(--textmax);
}
.research strong {
  font-weight: 600;
  color: var(--ink);
  font-size: 13.5px;
}

/* ── ICONS ───────────────────────────────────── */
.iconrow { display: flex; gap: 8px; align-items: center; margin: 10px 0 }
.iconbtn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--accent);
  transition: border-color .15s;
}
.iconbtn:hover { border-color: rgba(var(--accent-rgb),.3) }
.iconbtn.disabled { opacity: .4; pointer-events: none }
.iconbtn img, .iconbtn-disabled img { width: 16px; height: 16px; display: block }
.iconbtn svg { width: 16px; height: 16px; display: block }
.iconbtn svg * { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.iconbtn-disabled {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); opacity: .4;
}

/* ── FORMS ───────────────────────────────────── */
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb),.45);
}
.textarea { resize: vertical; min-height: 120px }
.section-title { margin: 24px 0 10px; font-size: 17px }
.radiogrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 10px 0 }
.radioitem { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper) }
.radioitem input { margin: 0 }
.note { margin: 16px 0 14px; padding: 14px 16px; border-radius: 10px; background: #eff3f8; border: 1px solid var(--line); color: var(--muted); font-size: 14px }
.panel.soft { background: #f8f9fb; border: 1px solid var(--line); padding: 16px; border-radius: var(--radius); margin-top: 12px }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 10px }

/* ── FOOTER ──────────────────────────────────── */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px;
}
.footer-inner.footer-inner-v2 {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.4fr) minmax(0,.7fr);
  gap: 28px;
  align-items: start;
}
.footer-left { display: flex; flex-direction: column; gap: 10px }
.footer-copy { color: var(--muted); font-size: 12.5px }
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px }
.footer-contact { color: var(--muted); font-size: 13px; line-height: 1.7 }
.footer-contact-title {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--muted);
}
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start }
.footer-contact-item .icon { flex: 0 0 18px; line-height: 1.7; color: var(--muted) }
.footer-contact a { color: inherit; text-decoration: underline; text-underline-offset: 3px }
.footer-right { justify-self: end }
.footer-logo { width: 110px; max-width: 100%; height: auto; opacity: .88 }

/* ── KAPCSOLAT (social icons) ────────────────── */
.socialrow { gap: 8px }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 980px) {
  .header-inner { flex-direction: column; align-items: stretch; padding: 12px 20px }
  .brand { min-width: unset }
  .home-wrap { grid-template-columns: 1fr; padding: 36px 20px 60px; gap: 36px }
  .home-rail { position: static }
  .home-hero h1 { font-size: 40px }
  .home-split { grid-template-columns: 1fr }
  .layout { grid-template-columns: 1fr }
}
@media (max-width: 700px) {
  h1 { font-size: 30px }
  .home-hero h1 { font-size: 34px }
  .brand-mark { width: 60px; height: 60px }
  .person { grid-template-columns: 120px minmax(0,1fr); gap: 14px }
  .avatar { width: 120px; height: 120px }
  .two-col { grid-template-columns: 1fr }
  .callout.link { grid-template-columns: 110px minmax(0,1fr); gap: 12px }
  .thumb { width: 110px; height: 110px }
  .page { padding: 22px 18px 18px }
  .footer-inner.footer-inner-v2 { grid-template-columns: 1fr; gap: 20px }
  .footer-right { justify-self: start }
}

/* ── LAYOUT (belső oldalak) ──────────────────── */
.layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 380px;
  gap: 36px;
  align-items: start;
}


/* ── Fellowship page layout ── */
.fellowship-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 240px;
  gap: 40px;
  align-items: start;
  margin-top: 28px;
}
.fellowship-body h3 {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 32px 0 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.fellowship-body h3:first-child { margin-top: 0 }
.fellowship-body p { color: var(--ink); line-height: 1.7; margin: 0 0 14px }
.fellowship-body .lead { font-size: 16px; margin-bottom: 20px }
.checklist {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}
.checklist li {
  padding: 7px 0 7px 16px;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}
.checklist li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}
.fellowship-meta .panel { position: sticky; top: 100px }
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.meta-item:first-child { border-top: none; padding-top: 0 }
.meta-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.meta-val {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.kicker-back {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 20px;
}
.kicker-back a { color: var(--accent); text-decoration: none }
.kicker-back a:hover { text-decoration: underline; text-underline-offset: 3px }
@media (max-width: 780px) {
  .fellowship-grid { grid-template-columns: 1fr }
  .fellowship-meta .panel { position: static }
}

/* Readability, consistent navigation and small-screen layout. */
body { font-size: 16px; }
.brand { min-width: 0; }
.brand-mark { width: 108px; height: 60px; }
.brand-text { min-width: 0; }
.brand-text .name { font-size: 12.5px; }
.brand-text .tagline, .kicker { font-size: 12px; }
.meta, .meta2, .research, .research strong, .small-links { font-size: 14px; }
.page { box-shadow: var(--shadow-sm); }
.page > .panel { border: 0; border-radius: 0; padding: 16px 0 0; box-shadow: none; }
.portrait-img { height: auto; }
.callout.link { grid-template-columns: 88px minmax(0,1fr); gap: 14px; }
.callout.link .thumb { width: 88px; height: 88px; }
.person > *, .callout > *, .home-main, .home-rail { min-width: 0; }
.person, .footer-contact, .meta-val { overflow-wrap: anywhere; }
.secretariat, .institutional-note { margin-top: 32px; }
.secretariat { padding-top: 28px; border-top: 1px solid var(--line); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible,
a:focus-visible, button:focus-visible { outline: 3px solid #315e89; outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px 18px; background: var(--accent); color: white; z-index: 100; }
.skip-link:focus { top: 12px; }
.menu-toggle { display: none; }
[hidden] { display: none !important; }
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; }
  .nav { flex-wrap: wrap; }
}
@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 700px) {
  .header-inner { flex-direction: row; align-items: center; gap: 12px; padding: 12px 16px; }
  .brand { flex: 1 1 240px; gap: 10px; }
  .brand-mark { width: 82px; height: 48px; }
  .brand-text .name { font-size: 11px; }
  .brand-text .tagline { font-size: 9px; letter-spacing: .07em; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--accent); font: inherit; cursor: pointer; }
  .nav { width: 100%; flex-wrap: wrap; gap: 4px; }
  .nav a { min-height: 44px; display: flex; align-items: center; }
  .nav-enhanced .nav { display: none; }
  .nav-enhanced .nav.is-open { display: flex; }
  .container { padding: 24px 16px 48px; }
  .home-wrap { padding: 28px 16px 48px; }
  .radiogrid { grid-template-columns: minmax(0,1fr); }
  .radioitem { align-items: flex-start; }
  .radioitem input { margin-top: 6px; flex-shrink: 0; }
  .person { grid-template-columns: 88px minmax(0,1fr); }
  .avatar { width: 88px; height: 88px; }
  .input, .select, .textarea { font-size: 16px; min-width: 0; }
  .callout { flex-wrap: wrap; }
  .fellowship-grid { gap: 24px; }
  .home-rail .portrait-card { max-width: 380px; margin-inline: auto; }
  .footer { margin-top: 24px; }
}
@media (max-width: 420px) {
  .person { grid-template-columns: minmax(0,1fr); }
  .avatar { width: 110px; height: 110px; }
  h1 { overflow-wrap: anywhere; }
}


/* Screen adaptation: wide desktop, tablet and narrow mobile viewports. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-wrap: break-word; }
.home-hero h1 { font-size: clamp(2rem, 4vw, 3.125rem); }
h1 { font-size: clamp(1.75rem, 3.3vw, 2.375rem); }
.header-inner > *, .fellowship-grid > *, .two-col > *,
.footer-inner > *, .radioitem > *, .footer-contact-item > * { min-width: 0; }
.home-rail { position: static; }
.iconrow { flex-wrap: wrap; }
.iconbtn, .iconbtn-disabled { width: 44px; height: 44px; flex: 0 0 44px; }
.btn, a.cta { min-height: 44px; text-align: center; white-space: normal; }
.footer-contact a, .small-links a, .input, .meta { overflow-wrap: anywhere; }
.input, .select, .textarea { max-width: 100%; }
input[type="file"] { overflow: hidden; }
input[type="file"]::file-selector-button { max-width: 100%; white-space: normal; }
#main-content { scroll-margin-top: 110px; }
@media (min-width: 981px) {
  .header-inner { display: grid; grid-template-columns: minmax(240px,1fr) auto; }
  .nav { flex-wrap: nowrap; gap: 2px; }
  .nav a { padding-inline: 9px; }
}
@media (min-width: 701px) and (max-width: 980px) {
  .home-wrap { grid-template-columns: minmax(0,1fr); }
  .home-rail { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-items: start; }
  .home-rail > .panel { margin-top: 0 !important; }
  .nav { justify-content: center; }
}
@media (max-width: 780px) {
  .fellowship-meta { grid-row: 1; }
  .fellowship-meta .panel { position: static; }
}
@media (max-width: 700px) {
  .header { position: relative; }
  .header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; }
  .brand { min-width: 0; }
  .brand-mark { width: 70px; height: 48px; }
  .brand-text .name { font-size: 11px; letter-spacing: .035em; line-height: 1.4; }
  .brand-text .tagline { font-size: 10px; letter-spacing: .035em; }
  .menu-toggle { grid-column: 2; grid-row: 1; }
  .nav { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nav-enhanced .nav.is-open { display: grid; }
  .nav a { font-size: 12px; letter-spacing: .035em; padding: 10px; }
  .home-hero h1 { line-height: 1.15; }
  .lead, .home-hero .lead { font-size: 16px; }
  .home-rail { display: block; }
  .hero-actions .btn { flex: 1 1 120px; }
  .page { padding: 22px 16px; }
  .fellowship-grid { gap: 28px; }
  .footer-inner { padding: 28px 16px; }
  #main-content { scroll-margin-top: 16px; }
}
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand-mark { width: 54px; height: 42px; }
  .brand-text .tagline { display: none; }
  .menu-toggle:not([hidden]) { padding-inline: 10px; font-size: 14px; }
  .callout.link { grid-template-columns: 64px minmax(0,1fr); gap: 12px; padding: 10px; }
  .callout.link .thumb { width: 64px; height: 64px; padding: 8px; }
  .panel { padding: 16px; }
}
.home-rail .portrait-card { padding: 0; }

.badge-closed { background: #eef0f2; color: #4a5568; border-color: #c9cfd7; }
button:disabled { opacity: .55; cursor: not-allowed; }
