/* ===========================================================================
   PASHAN — Legal Journal article stylesheet
   Shared by all article pages in /media/
   Brand: maroon #6f2720 · light blue #cbe5fd · ink #15171b
   =========================================================================== */

@font-face { font-family: "Maax"; src: url("../../working/fonts/Maax-Regular-205TF.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Maax"; src: url("../../working/fonts/Maax-Bold-205TF.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "FrankRuhl"; src: url("../../working/fonts/FrankRuhlLibre-Regular.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "FrankRuhl"; src: url("../../working/fonts/FrankRuhlLibre-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --maroon: #6f2720;
  --maroon-dark: #561d18;
  --blue: #cbe5fd;
  --ink: #15171b;
  --muted: #5a6069;
  --line: #e5e8ec;
  --sans: "Maax", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "FrankRuhl", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.art-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- Header ---- */
.art-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.art-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.art-logo img { height: 34px; width: auto; }
.art-nav { display: flex; gap: 28px; }
.art-nav a { font-size: 14px; font-weight: 500; letter-spacing: .01em; text-decoration: none; color: var(--ink); opacity: .82; transition: opacity .2s ease, color .2s ease; }
.art-nav a:hover { opacity: 1; color: var(--maroon); }
.art-nav a.is-active { color: var(--maroon); opacity: 1; }
@media (max-width: 760px) { .art-nav { display: none; } }

/* ---- Hero ---- */
.art-hero { padding: 64px 0 28px; }
.art-hero__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.art-pill { display: inline-block; padding: 6px 16px; border: 1px solid var(--maroon); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--maroon); }
.art-backlink { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--maroon); text-decoration: none; margin-bottom: 22px; }
.art-backlink:hover { text-decoration: underline; }
.art-title { font-family: var(--sans); font-weight: 700; font-size: clamp(30px, 5vw, 48px); line-height: 1.12; letter-spacing: -0.01em; margin: 20px 0 18px; color: var(--ink); }
.art-dek { font-family: var(--serif); font-size: 20px; line-height: 1.6; color: var(--muted); margin: 0 auto; max-width: 640px; }

/* meta row */
.art-meta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.art-author { display: flex; align-items: center; gap: 12px; }
.art-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--maroon); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.art-avatar svg { width: 22px; height: 22px; fill: #fff; }
.art-author__name { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.art-author__role { font-size: 13px; color: var(--muted); }
.art-meta__sep { width: 4px; height: 4px; border-radius: 50%; background: #c3c8cf; }
.art-meta__item { font-size: 14px; color: var(--muted); }
.art-meta__item strong { color: var(--ink); font-weight: 700; }

/* ---- Hero image (maroon duotone) ---- */
.art-figure { margin: 40px 0 8px; }
.art-figure__media { position: relative; border-radius: 18px; overflow: hidden; background: var(--maroon); aspect-ratio: 16 / 8; }
.art-figure__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.05) brightness(1.05); mix-blend-mode: multiply; }
.art-figure figcaption { margin-top: 12px; font-size: 13px; color: #9aa0a8; text-align: center; }

/* ---- Body ---- */
.art-body { max-width: 720px; margin: 24px auto 0; padding-bottom: 8px; }
.art-body p { font-family: var(--serif); font-size: 18.5px; line-height: 1.8; color: #2c3037; margin: 0 0 24px; }
.art-body h2 { font-family: var(--sans); font-weight: 700; font-size: 26px; line-height: 1.25; margin: 44px 0 16px; color: var(--ink); }
.art-body h3 { font-family: var(--sans); font-weight: 700; font-size: 20px; margin: 32px 0 12px; color: var(--ink); }
.art-body ul, .art-body ol { font-family: var(--serif); font-size: 18.5px; line-height: 1.75; color: #2c3037; padding-left: 24px; margin: 0 0 24px; }
.art-body li { margin-bottom: 10px; }
.art-body li::marker { color: var(--maroon); }
.art-body strong { color: var(--ink); }
.art-body a { color: var(--maroon); text-underline-offset: 3px; }
.art-body blockquote { margin: 32px 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--maroon); font-family: var(--serif); font-size: 22px; line-height: 1.5; font-style: italic; color: var(--ink); }
.art-callout { background: var(--blue); border-radius: 14px; padding: 26px 28px; margin: 32px 0; }
.art-callout p { margin: 0; font-size: 17px; color: #21405e; }
.art-callout strong { color: var(--maroon); }

/* ---- Author bio ---- */
.art-authorbox { max-width: 720px; margin: 48px auto 0; display: flex; gap: 20px; align-items: flex-start; background: #f6f7f9; border-radius: 16px; padding: 28px; }
.art-authorbox .art-avatar { width: 60px; height: 60px; }
.art-authorbox .art-avatar svg { width: 30px; height: 30px; }
.art-authorbox h4 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.art-authorbox .art-authorbox__role { color: var(--maroon); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.art-authorbox p { margin: 0; font-family: var(--serif); font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* ---- Share / tags ---- */
.art-foot { max-width: 720px; margin: 36px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.art-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.art-tag { font-size: 12px; font-weight: 600; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; transition: border-color .2s, color .2s; }
.art-tag:hover { border-color: var(--maroon); color: var(--maroon); }
.art-share { display: flex; gap: 10px; align-items: center; }
.art-share span { font-size: 13px; color: var(--muted); }
.art-share a { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--maroon); transition: background .2s, color .2s, border-color .2s; }
.art-share a:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.art-share svg { width: 16px; height: 16px; }

/* ---- CTA ---- */
.art-cta { background: var(--blue); margin-top: 64px; padding: 70px 0; text-align: center; }
.art-cta h2 { font-family: var(--sans); font-weight: 700; font-size: 30px; margin: 0 0 14px; color: var(--ink); }
.art-cta p { font-family: var(--serif); font-size: 18px; line-height: 1.7; color: #21405e; max-width: 620px; margin: 0 auto 26px; }
.art-btn { display: inline-block; padding: 15px 40px; background: var(--maroon); color: #fff !important; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; border-radius: 6px; transition: transform .2s, background .2s, color .2s; }
.art-btn:hover { background: #fff; color: var(--ink) !important; transform: translateY(-2px); }

/* ---- Footer ---- */
.art-footer { background: #111; color: #c7ccd3; padding: 44px 0; }
.art-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.art-footer img { height: 30px; opacity: .9; }
.art-footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.art-footer a { font-size: 14px; color: #c7ccd3; text-decoration: none; }
.art-footer a:hover { color: #fff; }
.art-footer__copy { font-size: 13px; color: #8a9099; width: 100%; }

@media (max-width: 600px) {
  .art-hero { padding: 40px 0 18px; }
  .art-figure__media { aspect-ratio: 4 / 3; }
  .art-body p, .art-body ul, .art-body ol { font-size: 17.5px; }
  .art-authorbox { flex-direction: column; }
}
