﻿:root{
    --ink:#12213A;
    --ink-2:#1F3B5C;
    --paper:#EDE6D3;
    --paper-2:#E2D9BF;
    --stamp:#B23A2E;
    --gold:#C9A227;
    --green:#3F6E4C;
    --line: rgba(18,33,58,0.16);
    --shadow: rgba(18,33,58,0.25);
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--ink);
    color:var(--paper);
    font-family:'IBM Plex Sans', sans-serif;
    overflow-x:hidden;
  }
  ::selection{ background:var(--gold); color:var(--ink); }

  /* subtle paper-grain + ruled texture on dark bg */
  .grain{
    position:fixed; inset:0; pointer-events:none; z-index:0; opacity:0.05;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(237,230,211,0.6) 28px);
  }

  a{ color:inherit; text-decoration:none; }
  .wrap{ max-width:1180px; margin:0 auto; padding:0 28px; position:relative; z-index:1; }

  /* ---------- NAV ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(18,33,58,0.86);
    backdrop-filter: blur(10px);
    border-bottom:1px solid rgba(237,230,211,0.12);
  }
  nav{ display:flex; align-items:center; justify-content:space-between; padding:16px 28px; max-width:1180px; margin:0 auto; }
  .brand{ display:flex; align-items:center; gap:10px; font-family:'Archivo',sans-serif; font-weight:800; font-size:1.15rem; letter-spacing:0.01em; }
  .brand .mark{
    width:34px; height:34px; border-radius:6px;
    background:var(--stamp);
    display:flex; align-items:center; justify-content:center;
    color:var(--paper); font-family:'IBM Plex Mono',monospace; font-weight:700; font-size:0.85rem;
    transform:rotate(-4deg);
    box-shadow:0 3px 0 var(--gold);
  }
  .navlinks{ display:flex; gap:28px; font-size:0.92rem; font-weight:500; color:rgba(237,230,211,0.75); }
  .navlinks a:hover, .navlinks a.on{ color:var(--gold); }
  .nav-right{ display:flex; gap:10px; align-items:center; }
  .nav-cta{
    border:1px solid rgba(237,230,211,0.35); padding:8px 16px; border-radius:3px;
    font-family:'IBM Plex Mono',monospace; font-size:0.8rem; letter-spacing:0.03em;
  }
  .nav-cta:hover{ border-color:var(--gold); color:var(--gold); }
  .navlinks-mobile{ display:none; }

  .blog-list{ display:grid; gap:18px; margin-top:28px; }
  .blog-card{
    display:block; padding:22px 24px; border:1px solid rgba(237,230,211,0.12);
    background:rgba(237,230,211,0.03); transition:border-color .2s, background .2s;
  }
  .blog-card:hover{ border-color:rgba(201,162,39,0.45); background:rgba(201,162,39,0.06); }
  .blog-card time, .blog-meta time{
    font-family:'IBM Plex Mono',monospace; font-size:0.78rem; color:var(--gold); letter-spacing:0.04em;
  }
  .blog-card h2{ font-family:'Archivo',sans-serif; font-size:1.2rem; margin:10px 0 8px; color:var(--ink); }
  .blog-card p{ color:rgba(237,230,211,0.7); font-size:0.95rem; line-height:1.55; margin:0 0 12px; }
  .blog-body{ margin-top:20px; max-width:680px; }
  .blog-body p{ color:rgba(237,230,211,0.82); line-height:1.7; margin:0 0 16px; font-size:1.02rem; }
  .blog-meta{ margin-top:8px; }

  .contact-form{ display:grid; gap:14px; max-width:480px; margin-top:8px; }
  .contact-form label{ display:grid; gap:6px; font-size:0.88rem; color:rgba(237,230,211,0.7); }
  .contact-form input, .contact-form textarea{
    width:100%; padding:12px 14px; border-radius:3px;
    border:1px solid rgba(237,230,211,0.22); background:rgba(0,0,0,0.25);
    color:var(--ink); font:inherit;
  }
  .contact-form input:focus, .contact-form textarea:focus{
    outline:none; border-color:var(--gold);
  }
  .contact-form button{ justify-self:start; margin-top:4px; cursor:pointer; border:0; }

  /* ---------- HERO ---------- */
  .hero{
    position:relative; padding:96px 0 80px;
    background:
      radial-gradient(ellipse 900px 500px at 15% -10%, rgba(201,162,39,0.14), transparent 60%),
      radial-gradient(ellipse 700px 500px at 100% 10%, rgba(178,58,46,0.12), transparent 55%);
  }
  .eyebrow{
    font-family:'Special Elite', monospace; font-size:0.85rem; letter-spacing:0.12em;
    color:var(--gold); text-transform:uppercase; display:inline-flex; align-items:center; gap:10px;
    border:1px dashed rgba(201,162,39,0.5); padding:6px 14px; border-radius:2px;
  }
  .eyebrow .dot{ width:6px; height:6px; background:var(--stamp); border-radius:50%; display:inline-block; }

  .hero-grid{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:center; margin-top:28px; }

  h1.headline{
    font-family:'Archivo', sans-serif; font-weight:900; font-size:clamp(2.4rem, 5vw, 3.6rem);
    line-height:1.06; letter-spacing:-0.01em; color:var(--paper); margin-top:22px;
  }
  h1.headline .accent{ color:var(--gold); }

  /* split-flap / departure-board style animated word */
  .flip-row{ display:inline-flex; gap:3px; vertical-align:bottom; }
  .flip-slot{
    position:relative; display:inline-block; width:1ch; overflow:hidden; height:1.06em; line-height:1.06em;
  }
  .flip-slot .col{
    display:flex; flex-direction:column; transition:transform 0.45s cubic-bezier(.5,0,.2,1);
  }
  .flip-slot .col span{ height:1.06em; line-height:1.06em; display:block; }

  .subhead{
    margin-top:20px; font-size:1.05rem; line-height:1.65; color:rgba(237,230,211,0.72); max-width:520px;
  }

  .hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
  .btn-primary{
    background:var(--stamp); color:var(--paper); font-weight:600; padding:13px 26px; border-radius:3px;
    font-size:0.95rem; box-shadow:0 4px 0 #7d2820; transition:transform 0.15s ease, box-shadow 0.15s ease;
    display:inline-flex; align-items:center; gap:8px;
  }
  .btn-primary:hover{ transform:translateY(2px); box-shadow:0 2px 0 #7d2820; }
  .btn-secondary{
    border:1px solid rgba(237,230,211,0.35); color:var(--paper); padding:13px 24px; border-radius:3px;
    font-size:0.95rem; font-weight:500; transition:border-color 0.15s ease, color 0.15s ease;
  }
  .btn-secondary:hover{ border-color:var(--gold); color:var(--gold); }

  .hero-stats{ display:flex; gap:32px; margin-top:44px; }
  .stat-num{ font-family:'IBM Plex Mono',monospace; font-weight:600; font-size:1.5rem; color:var(--gold); }
  .stat-label{ font-size:0.78rem; color:rgba(237,230,211,0.55); text-transform:uppercase; letter-spacing:0.06em; margin-top:2px; }
  .lang-note{ margin-top:16px; font-size:0.82rem; color:rgba(237,230,211,0.5); }
  .lang-note strong{ color:var(--gold); font-weight:600; }
  .mini-notice{
    display:flex; align-items:center; gap:10px; margin-top:18px; max-width:460px;
    background:rgba(201,162,39,0.07); border:1px solid rgba(201,162,39,0.28); border-radius:8px;
    padding:12px 16px; font-size:0.82rem; color:rgba(237,230,211,0.7); line-height:1.4;
  }
  .mini-notice svg{ width:18px; height:18px; flex:none; color:var(--gold); }
  .mini-notice strong{ color:var(--gold); font-weight:600; }

  /* admit-card visual on right */
  .admit-card{
    background:var(--paper); color:var(--ink); border-radius:10px; padding:26px;
    position:relative; box-shadow:0 30px 60px rgba(0,0,0,0.4); transform:rotate(2.5deg);
    border:1px solid rgba(18,33,58,0.15);
  }
  .admit-card::before{
    content:""; position:absolute; top:0; bottom:0; left:-11px; width:22px;
    background-image: radial-gradient(circle, var(--ink) 5px, transparent 5.5px);
    background-size:22px 26px; background-repeat:repeat-y; background-position:center;
  }
  .admit-card-top{ display:flex; justify-content:space-between; align-items:flex-start; border-bottom:2px dashed rgba(18,33,58,0.25); padding-bottom:14px; }
  .admit-card-top .label{ font-family:'Special Elite',monospace; font-size:0.7rem; letter-spacing:0.08em; color:var(--ink-2); text-transform:uppercase; }
  .admit-card-top .title{ font-family:'Archivo',sans-serif; font-weight:800; font-size:1.05rem; margin-top:4px; }
  .stampbox{
    border:2px solid var(--stamp); color:var(--stamp); font-family:'Special Elite',monospace;
    font-size:0.68rem; padding:6px 10px; border-radius:4px; transform:rotate(-8deg); letter-spacing:0.04em;
  }
  .admit-row{ display:flex; justify-content:space-between; padding:12px 0; border-bottom:1px solid rgba(18,33,58,0.12); font-size:0.85rem; }
  .admit-row:last-of-type{ border-bottom:none; }
  .admit-row .k{ color:var(--ink-2); }
  .admit-row .v{ font-weight:600; font-family:'IBM Plex Mono',monospace; }
  .admit-card-foot{ margin-top:16px; display:flex; align-items:center; justify-content:space-between; }
  .barcode{ display:flex; gap:2px; align-items:flex-end; height:26px; }
  .barcode span{ width:3px; background:var(--ink); display:block; }
  .float-tag{
    position:absolute; background:var(--green); color:var(--paper); font-family:'IBM Plex Mono',monospace;
    font-size:0.75rem; padding:8px 14px; border-radius:20px; box-shadow:0 8px 20px rgba(0,0,0,0.3);
  }
  .tag-1{ top:-16px; right:18px; transform:rotate(-6deg); }
  .tag-2{ bottom:-14px; left:-24px; background:var(--gold); color:var(--ink); font-weight:600; transform:rotate(4deg); }

  /* ---------- MARQUEE ---------- */
  .marquee-wrap{ background:var(--paper); color:var(--ink); padding:14px 0; overflow:hidden; border-top:1px solid rgba(0,0,0,0.1); border-bottom:1px solid rgba(0,0,0,0.1); }
  .marquee{ display:flex; width:max-content; animation: scroll-left 32s linear infinite; }
  .marquee span{ font-family:'IBM Plex Mono',monospace; font-size:0.85rem; font-weight:600; padding:0 26px; white-space:nowrap; display:flex; align-items:center; gap:10px; }
  .marquee span::after{ content:"â—†"; color:var(--stamp); font-size:0.6rem; margin-left:26px; }
  @keyframes scroll-left{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

  /* ---------- SECTION HEADERS ---------- */
  section{ position:relative; z-index:1; }
  .section-pad{ padding:88px 0; }
  .section-head{ max-width:640px; margin-bottom:52px; }
  .section-eyebrow{ font-family:'Special Elite',monospace; color:var(--gold); font-size:0.8rem; letter-spacing:0.1em; text-transform:uppercase; }
  .section-title{ font-family:'Archivo',sans-serif; font-weight:800; font-size:clamp(1.8rem,3.4vw,2.5rem); margin-top:10px; line-height:1.15; }
  .section-desc{ margin-top:14px; color:rgba(237,230,211,0.65); font-size:1.02rem; line-height:1.6; }

  /* ---------- SUBJECT GRID ---------- */
  .grid{
    display:grid; grid-template-columns:repeat(auto-fill, minmax(230px,1fr)); gap:18px;
  }
  .ticket{
    background:var(--paper); color:var(--ink); border-radius:10px; padding:22px 20px 20px;
    position:relative; overflow:hidden; border:1px solid rgba(18,33,58,0.08);
    opacity:0; transform:translateY(18px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.6s ease;
  }
  .ticket.in-view{ opacity:1; transform:translateY(0); }
  .ticket:hover{ transform:translateY(-6px); box-shadow:0 18px 34px rgba(0,0,0,0.35); }
  .ticket::after{
    content:""; position:absolute; right:-9px; top:50%; transform:translateY(-50%);
    width:18px; height:18px; background:var(--ink); border-radius:50%;
  }
  .ticket::before{
    content:""; position:absolute; left:-9px; top:50%; transform:translateY(-50%);
    width:18px; height:18px; background:var(--ink); border-radius:50%;
  }
  .ticket-num{ position:absolute; top:14px; right:18px; font-family:'IBM Plex Mono',monospace; font-size:0.68rem; color:rgba(18,33,58,0.35); }
  .ticket-icon{
    width:46px; height:46px; border-radius:8px; background:var(--ink); color:var(--gold);
    display:flex; align-items:center; justify-content:center; margin-bottom:14px;
    transition: transform 0.3s ease, background 0.3s ease;
  }
  .ticket:hover .ticket-icon{ transform:rotate(-6deg) scale(1.06); background:var(--stamp); color:var(--paper); }
  .ticket-icon svg{ width:24px; height:24px; }
  .ticket-name{ font-family:'Archivo',sans-serif; font-weight:700; font-size:1.02rem; line-height:1.25; }
  .ticket-meta{
    margin-top:14px; padding-top:12px; border-top:1px dashed rgba(18,33,58,0.25);
    display:flex; align-items:center; justify-content:space-between; font-size:0.78rem;
  }
  .ticket-count{ font-family:'IBM Plex Mono',monospace; color:var(--ink-2); font-weight:600; }
  .ticket-arrow{
    width:26px; height:26px; border-radius:50%; background:var(--ink); color:var(--paper);
    display:flex; align-items:center; justify-content:center; transition:transform 0.25s ease, background 0.25s ease;
  }
  .ticket:hover .ticket-arrow{ transform:translateX(3px); background:var(--stamp); }
  .ticket-arrow svg{ width:13px; height:13px; }

  /* ---------- HOW IT WORKS ---------- */
  .steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  .step{
    border:1px solid rgba(237,230,211,0.14); border-radius:10px; padding:26px;
    background:linear-gradient(180deg, rgba(237,230,211,0.04), transparent);
  }
  .step-icon{ width:42px; height:42px; border-radius:8px; background:rgba(201,162,39,0.15); color:var(--gold); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
  .step-icon svg{ width:22px; height:22px; }
  .step h3{ font-family:'Archivo',sans-serif; font-size:1.05rem; margin-bottom:8px; }
  .step p{ font-size:0.9rem; color:rgba(237,230,211,0.6); line-height:1.55; }

  /* ---------- FEATURES STRIP ---------- */
  .feat-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
  .feat{ text-align:center; padding:20px 10px; }
  .feat-icon{ width:48px; height:48px; margin:0 auto 12px; border-radius:50%; border:1px solid rgba(201,162,39,0.4); display:flex; align-items:center; justify-content:center; color:var(--gold); }
  .feat-icon svg{ width:22px; height:22px; }
  .feat h4{ font-family:'Archivo',sans-serif; font-size:0.92rem; margin-bottom:4px; }
  .feat p{ font-size:0.78rem; color:rgba(237,230,211,0.55); }

  /* ---------- CTA BAND ---------- */
  .cta-band{
    background:var(--paper); color:var(--ink); border-radius:16px; padding:56px 48px;
    display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
    position:relative; overflow:hidden;
  }
  .cta-band::before{
    content:""; position:absolute; inset:0; opacity:0.05;
    background-image: repeating-linear-gradient(45deg, var(--ink) 0 2px, transparent 2px 14px);
  }
  .cta-band h2{ font-family:'Archivo',sans-serif; font-weight:800; font-size:1.7rem; max-width:440px; position:relative; }
  .cta-band p{ color:var(--ink-2); margin-top:8px; max-width:420px; position:relative; }
  .cta-band .btn-primary{ position:relative; }

  /* ---------- FOOTER ---------- */
  .notice-box{
    display:flex; gap:18px; align-items:flex-start; background:rgba(201,162,39,0.07);
    border:1px solid rgba(201,162,39,0.28); border-radius:10px; padding:24px 26px;
  }
  .notice-icon{ width:38px; height:38px; flex:none; border-radius:8px; background:rgba(201,162,39,0.18); color:var(--gold); display:flex; align-items:center; justify-content:center; }
  .notice-icon svg{ width:20px; height:20px; }
  .notice-box h3{ font-family:'Archivo',sans-serif; font-size:1rem; margin-bottom:6px; color:var(--paper); }
  .notice-box p{ font-size:0.86rem; color:rgba(237,230,211,0.6); line-height:1.6; max-width:760px; }

  footer{ background:#0C1729; border-top:1px solid rgba(237,230,211,0.1); padding:64px 0 28px; margin-top:40px; }
  .foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(237,230,211,0.08); }
  .foot-brand .brand{ margin-bottom:12px; }
  .foot-brand p{ font-size:0.88rem; color:rgba(237,230,211,0.5); line-height:1.6; max-width:280px; }
  .foot-col h5{ font-family:'IBM Plex Mono',monospace; font-size:0.75rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--gold); margin-bottom:16px; }
  .foot-col ul{ list-style:none; display:flex; flex-direction:column; gap:10px; }
  .foot-col a{ font-size:0.88rem; color:rgba(237,230,211,0.62); transition:color 0.15s ease; }
  .foot-col a:hover{ color:var(--paper); }
  .foot-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:24px; flex-wrap:wrap; gap:12px; }
  .foot-bottom p{ font-size:0.78rem; color:rgba(237,230,211,0.4); }
  .foot-socials{ display:flex; gap:10px; }
  .foot-socials a{ width:34px; height:34px; border-radius:50%; border:1px solid rgba(237,230,211,0.16); display:flex; align-items:center; justify-content:center; color:rgba(237,230,211,0.6); transition:border-color .15s, color .15s; }
  .foot-socials a:hover{ border-color:var(--gold); color:var(--gold); }
  .foot-socials svg{ width:15px; height:15px; }

  /* ---------- SCROLL REVEAL for generic blocks ---------- */
  .reveal{ opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
  .reveal.in-view{ opacity:1; transform:translateY(0); }

  .nav-burger{
    display:none; width:42px; height:42px; padding:0; border-radius:3px; cursor:pointer;
    border:1px solid rgba(237,230,211,0.35); background:transparent; flex-direction:column;
    align-items:center; justify-content:center; gap:5px;
  }
  .nav-burger span{
    display:block; width:18px; height:2px; background:rgba(237,230,211,0.9); border-radius:1px;
    transition:transform .2s, opacity .2s;
  }
  .nav-burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
  .mobile-nav{
    display:none; flex-direction:column; gap:2px; padding:8px 16px 18px;
    border-top:1px solid rgba(237,230,211,0.1); background:rgba(12,23,41,0.98);
  }
  .mobile-nav[hidden]{ display:none !important; }
  .mobile-nav a{
    display:block; padding:14px 12px; border-radius:6px; font-weight:600; font-size:1rem;
    color:rgba(237,230,211,0.85);
  }
  .mobile-nav a:hover, .mobile-nav a.on{ background:rgba(201,162,39,0.1); color:var(--gold); }
  body.nav-open{ overflow:hidden; }

  @media (max-width:900px){
    .wrap{ padding:0 16px; }
    nav{ padding:12px 16px; gap:10px; }
    .hero{ padding:56px 0 48px; }
    .hero-grid{ grid-template-columns:1fr; gap:28px; }
    .admit-card{ transform:rotate(0); max-width:100%; margin:0 auto; }
    .steps{ grid-template-columns:1fr; }
    .feat-strip{ grid-template-columns:repeat(2,1fr); gap:12px; }
    .foot-grid{ grid-template-columns:1fr 1fr; gap:24px; }
    .navlinks{ display:none; }
    .nav-cta--desk{ display:none; }
    .nav-burger{ display:inline-flex; }
    .mobile-nav:not([hidden]){ display:flex; }
    .section-pad{ padding:48px 0; }
    .tickets{ grid-template-columns:1fr 1fr; gap:12px; }
    .btn-primary, .btn-secondary{ min-height:44px; padding:12px 18px; }
    .hero-actions{ gap:10px; }
    .hero-actions .btn-primary, .hero-actions .btn-secondary{ flex:1 1 auto; text-align:center; justify-content:center; }
  }
  @media (max-width:520px){
    .wrap{ padding:0 14px; }
    .brand-text{ font-size:0.95rem; }
    .brand .mark{ width:30px; height:30px; font-size:0.75rem; }
    .nav-cta--lang{ padding:8px 10px; font-size:0.72rem; }
    .feat-strip{ grid-template-columns:1fr 1fr; }
    .foot-grid{ grid-template-columns:1fr; gap:22px; }
    footer{ padding:40px 0 24px; }
    .hero-stats{ gap:16px; flex-wrap:wrap; }
    .hero-stats > div{ min-width:40%; }
    .cta-band{ padding:28px 20px; border-radius:12px; }
    .tickets{ grid-template-columns:1fr; }
    .subhead{ font-size:0.95rem; }
    .notice-box{ flex-direction:column; padding:18px; }
  }

  @media (prefers-reduced-motion: reduce){
    *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
  }

  a:focus-visible, button:focus-visible{ outline:2px solid var(--gold); outline-offset:2px; }

/* Subject page extras */
.subject-hero{ padding:48px 0 24px; }
.year-block{ margin:0 0 28px; }
.year-block h2{ font-family:'Archivo',sans-serif; font-size:1.2rem; color:var(--gold); margin:0 0 12px; }
.paper-list{ list-style:none; display:grid; gap:12px; }
.paper{
  display:flex; gap:14px; align-items:flex-start; justify-content:space-between;
  background:var(--paper); color:var(--ink); border-radius:10px; padding:16px 18px;
  border:1px solid rgba(18,33,58,0.08);
}
.paper-title{ font-family:'Archivo',sans-serif; font-weight:700; font-size:0.98rem; }
.paper-meta{ margin-top:4px; font-size:0.78rem; color:var(--ink-2); font-family:'IBM Plex Mono',monospace; }
.paper-notes{ margin:8px 0 0; font-size:0.86rem; color:rgba(18,33,58,0.75); line-height:1.5; }
.btn-pdf{
  flex-shrink:0; background:var(--stamp); color:var(--paper); font-weight:600;
  padding:10px 14px; border-radius:3px; font-size:0.82rem; box-shadow:0 3px 0 #7d2820;
}
.btn-pdf:hover{ transform:translateY(1px); box-shadow:0 2px 0 #7d2820; }
.back-link{ color:var(--gold); font-family:'IBM Plex Mono',monospace; font-size:0.85rem; }
.paper-actions{ display:flex; flex-direction:column; gap:8px; flex-shrink:0; align-items:flex-end; }
.paper .share-label{ color:rgba(18,33,58,0.5); }
.paper .share-btn{
  border-color:rgba(18,33,58,0.2); background:rgba(18,33,58,0.05); color:#12213A;
}
.paper .share-btn:hover{ border-color:var(--stamp); color:var(--stamp); background:rgba(178,58,46,0.08); }
@media (max-width:560px){
  .paper{ flex-direction:column; }
  .btn-pdf, .paper-actions{ align-self:stretch; text-align:center; }
  .paper-actions{ align-items:stretch; }
  .paper .share-bar{ justify-content:center; }
}

/* ---------- SHARE ---------- */
.share-bar{
  display:inline-flex; align-items:center; gap:6px; flex-wrap:wrap;
  margin-top:14px;
}
.share-bar--compact{ margin-top:0; }
.share-label{
  font-family:'IBM Plex Mono',monospace; font-size:0.72rem; letter-spacing:0.04em;
  color:rgba(237,230,211,0.55); text-transform:uppercase; margin-right:2px;
}
.share-btn{
  display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:3px; padding:0; cursor:pointer;
  border:1px solid rgba(237,230,211,0.28); background:rgba(237,230,211,0.06);
  color:rgba(237,230,211,0.85); text-decoration:none; flex-shrink:0;
}
.share-btn:hover{ border-color:var(--gold); color:var(--gold); background:rgba(201,162,39,0.1); }
.share-btn.is-copied{ border-color:#7dcea0; color:#7dcea0; }
.jobs-row-wrap{
  display:flex; flex-direction:column;
  border:1px solid rgba(237,230,211,0.14);
  background:linear-gradient(90deg, rgba(201,162,39,0.07), transparent 55%);
  transition:border-color .2s, background .2s;
}
.jobs-row-wrap:hover{
  border-color:rgba(201,162,39,0.45);
  background:rgba(201,162,39,0.1);
}
.jobs-row-wrap .jobs-row{
  border:0; background:transparent; padding-bottom:10px;
}
.jobs-row-share{
  display:flex; align-items:center;
  padding:0 16px 14px;
  border-top:1px solid rgba(237,230,211,0.08);
  margin:0 2px;
}
.jobs-row-share .share-bar{ margin-top:10px; gap:8px; }
.subject-share{ margin-top:18px; }
html[data-theme="light"] .share-label{ color:rgba(18,33,58,0.5); }
html[data-theme="light"] .share-btn{
  border-color:rgba(18,33,58,0.18); background:rgba(18,33,58,0.04); color:#12213A;
}
html[data-theme="light"] .share-btn:hover{ border-color:var(--stamp); color:var(--stamp); }
html[data-theme="light"] .jobs-row-wrap{
  border-color:rgba(18,33,58,0.12);
  background:linear-gradient(90deg, rgba(201,162,39,0.1), transparent 55%);
}
html[data-theme="light"] .jobs-row-share{ border-top-color:rgba(18,33,58,0.08); }

/* Admin shell */
.admin-body{ background:var(--ink); color:var(--paper); font-family:'IBM Plex Sans',sans-serif; min-height:100vh; }
.admin-wrap{ max-width:960px; margin:0 auto; padding:28px 20px 60px; }
.admin-card{ background:rgba(237,230,211,0.06); border:1px solid rgba(237,230,211,0.14); border-radius:12px; padding:22px; margin-bottom:16px; }
.admin-card h2{ font-family:'Archivo',sans-serif; font-size:1.15rem; margin-bottom:10px; }
.admin-login{ max-width:420px; margin:80px auto; }
.admin-login input{ width:100%; padding:12px 14px; border-radius:6px; border:1px solid rgba(237,230,211,0.25); background:#0C1729; color:var(--paper); margin:6px 0 14px; font:inherit; }
.admin-login label{ font-size:0.85rem; color:rgba(237,230,211,0.7); }
.admin-err{ background:rgba(178,58,46,0.2); border:1px solid rgba(178,58,46,0.5); padding:10px 12px; border-radius:8px; margin-bottom:14px; font-size:0.9rem; }
.admin-ok{ background:rgba(63,110,76,0.2); border:1px solid rgba(63,110,76,0.5); padding:10px 12px; border-radius:8px; margin-bottom:14px; font-size:0.9rem; }
.admin-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.admin-table{ width:100%; border-collapse:collapse; font-size:0.85rem; }
.admin-table th,.admin-table td{ text-align:left; padding:8px 6px; border-bottom:1px solid rgba(237,230,211,0.1); }
.admin-table th{ color:var(--gold); font-family:'IBM Plex Mono',monospace; font-size:0.72rem; text-transform:uppercase; letter-spacing:0.06em; }

/* ===== Theme toggle ===== */
.theme-toggle{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  cursor:pointer; background:transparent; font:inherit; color:inherit;
  border:1px solid rgba(237,230,211,0.28); border-radius:8px;
  padding:8px 12px; line-height:1; width:auto; max-width:100%;
}
.theme-toggle svg{
  width:18px !important; height:18px !important; max-width:18px; max-height:18px;
  flex:0 0 18px; display:block;
}
.theme-toggle .ico-sun{ display:none; }
.theme-toggle .ico-moon{ display:block; }
html[data-theme="light"] .theme-toggle .ico-sun{ display:block; }
html[data-theme="light"] .theme-toggle .ico-moon{ display:none; }
html[data-theme="light"] .theme-toggle{ border-color:rgba(18,33,58,0.22); color:#12213A; }
.theme-toggle--side{
  width:100%; justify-content:flex-start;
  color:rgba(237,230,211,0.75); font-size:0.85rem; font-weight:500;
}
.theme-toggle--side:hover{ border-color:var(--gold); color:var(--gold); }

/* ===== Light theme ===== */
html[data-theme="light"]{
  --ink:#EDE6D3;
  --ink-2:#1F3B5C;
  --paper:#12213A;
  --paper-2:#E2D9BF;
  --stamp:#B23A2E;
  --gold:#8A6B12;
  --green:#2F5A3A;
  --line: rgba(18,33,58,0.12);
  --shadow: rgba(18,33,58,0.12);
}
html[data-theme="light"] body{
  background: #F4EFE3;
  color: #12213A;
}
html[data-theme="light"] .grain{
  opacity:0.08;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(18,33,58,0.08) 28px);
}
html[data-theme="light"] header{
  background:rgba(244,239,227,0.92);
  border-bottom-color: rgba(18,33,58,0.12);
}
html[data-theme="light"] .navlinks{ color:rgba(18,33,58,0.65); }
html[data-theme="light"] .blog-card{ border-color:rgba(18,33,58,0.1); background:rgba(18,33,58,0.03); }
html[data-theme="light"] .blog-card:hover{ border-color:rgba(201,162,39,0.5); background:rgba(201,162,39,0.08); }
html[data-theme="light"] .blog-card h2{ color:var(--ink); }
html[data-theme="light"] .blog-card p,
html[data-theme="light"] .blog-body p{ color:rgba(18,33,58,0.72); }
html[data-theme="light"] .contact-form label{ color:rgba(18,33,58,0.65); }
html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea{
  border-color:rgba(18,33,58,0.18); background:#fff; color:var(--ink);
}
html[data-theme="light"] .navlinks a:hover,
html[data-theme="light"] .navlinks a.on,
html[data-theme="light"] .nav-cta:hover{ color:var(--stamp); border-color:var(--stamp); }
html[data-theme="light"] .nav-cta{ border-color:rgba(18,33,58,0.25); color:#12213A; }
html[data-theme="light"] h1.headline,
html[data-theme="light"] .section-title,
html[data-theme="light"] .brand{ color:#12213A; }
html[data-theme="light"] .subhead,
html[data-theme="light"] .section-desc,
html[data-theme="light"] .step p,
html[data-theme="light"] .feat p{ color:rgba(18,33,58,0.68); }
html[data-theme="light"] .hero{
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(201,162,39,0.18), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(178,58,46,0.1), transparent 55%);
}
html[data-theme="light"] .ticket{ background:#fff; color:#12213A; }
html[data-theme="light"] .ticket::before,
html[data-theme="light"] .ticket::after{ background:#F4EFE3; }
html[data-theme="light"] .ticket-icon{ background:#12213A; color:var(--gold); }
html[data-theme="light"] .marquee-wrap{ background:#12213A; color:#EDE6D3; }
html[data-theme="light"] .step{
  border-color:rgba(18,33,58,0.12);
  background:linear-gradient(180deg, rgba(18,33,58,0.03), transparent);
}
html[data-theme="light"] .step h3,
html[data-theme="light"] .feat h4{ color:#12213A; }
html[data-theme="light"] .cta-band{ background:#12213A; color:#EDE6D3; }
html[data-theme="light"] .cta-band p{ color:rgba(237,230,211,0.7); }
html[data-theme="light"] .notice-box{
  background:rgba(178,58,46,0.06);
  border-color:rgba(178,58,46,0.25);
}
html[data-theme="light"] .notice-box h3{ color:#12213A; }
html[data-theme="light"] .notice-box p{ color:rgba(18,33,58,0.65); }
html[data-theme="light"] footer{ background:#E8E0CC; border-top-color:rgba(18,33,58,0.1); }
html[data-theme="light"] .foot-brand p,
html[data-theme="light"] .foot-col a,
html[data-theme="light"] .foot-bottom p{ color:rgba(18,33,58,0.55); }
html[data-theme="light"] .foot-col h5{ color:var(--stamp); }
html[data-theme="light"] .paper{ background:#fff; }
html[data-theme="light"] .year-block h2{ color:var(--stamp); }
html[data-theme="light"] .back-link{ color:var(--stamp); }
html[data-theme="light"] .admit-card{ background:#fff; }
html[data-theme="light"] .mini-notice{
  background:rgba(201,162,39,0.12);
  border-color:rgba(138,107,18,0.35);
  color:rgba(18,33,58,0.75);
}

/* ===== Notice page ===== */
.notice-page{ padding:48px 0 64px; max-width:820px; }
.notice-lead{ margin:18px 0 32px; color:rgba(237,230,211,0.72); line-height:1.7; font-size:1.05rem; }
html[data-theme="light"] .notice-lead{ color:rgba(18,33,58,0.7); }
.notice-block{
  display:flex; gap:18px; align-items:flex-start;
  border:1px solid rgba(237,230,211,0.14); border-radius:12px;
  padding:24px; margin-bottom:16px;
  background:linear-gradient(180deg, rgba(237,230,211,0.04), transparent);
}
html[data-theme="light"] .notice-block{
  border-color:rgba(18,33,58,0.12);
  background:#fff;
}
.notice-block h2{ font-family:'Archivo',sans-serif; font-size:1.15rem; margin-bottom:10px; }
.notice-block p{ color:rgba(237,230,211,0.68); line-height:1.65; margin-bottom:10px; font-size:0.95rem; }
html[data-theme="light"] .notice-block p{ color:rgba(18,33,58,0.7); }
.notice-icon-lg{
  width:44px; height:44px; flex:none; border-radius:10px;
  background:rgba(201,162,39,0.15); color:var(--gold);
  display:flex; align-items:center; justify-content:center;
}
.notice-icon-lg svg{ width:22px; height:22px; }
.contact-line{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.contact-line a{ color:var(--gold); font-weight:600; }

/* ===== Admin shell ===== */
.admin-body{ background:var(--ink); color:var(--paper); font-family:'IBM Plex Sans',sans-serif; min-height:100vh; }
html[data-theme="light"] .admin-body{ background:#F4EFE3; color:#12213A; }
.admin-shell{ display:grid; grid-template-columns:220px 1fr; min-height:100vh; }
.admin-side{
  background:#0C1729; border-right:1px solid rgba(237,230,211,0.1);
  padding:20px 16px; display:flex; flex-direction:column; gap:18px;
  position:sticky; top:0; height:100vh;
}
html[data-theme="light"] .admin-side{ background:#12213A; }
.admin-nav{ display:flex; flex-direction:column; gap:4px; flex:1; }
.admin-nav a{
  padding:10px 12px; border-radius:8px; color:rgba(237,230,211,0.7); font-size:0.92rem; font-weight:500;
}
.admin-nav a:hover, .admin-nav a.on{ background:rgba(201,162,39,0.12); color:var(--gold); }
.admin-side-foot{
  display:flex; flex-direction:column; gap:10px; font-size:0.85rem;
  margin-top:auto; padding-top:16px; border-top:1px solid rgba(237,230,211,0.1);
}
.admin-side-foot a{
  color:rgba(237,230,211,0.55); padding:6px 4px;
}
.admin-side-foot a:hover{ color:var(--gold); }
.admin-main{ padding:24px 28px 60px; }
.admin-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; gap:12px; }
.admin-top h1{ font-family:'Archivo',sans-serif; font-size:1.45rem; margin:0; }
.admin-user{ font-size:0.85rem; color:rgba(237,230,211,0.5); }
html[data-theme="light"] .admin-user{ color:rgba(18,33,58,0.5); }
.admin-wrap{ max-width:960px; margin:0 auto; padding:28px 20px 60px; }
.admin-login{ max-width:420px; margin:80px auto; }
.admin-card{
  background:rgba(237,230,211,0.06); border:1px solid rgba(237,230,211,0.14);
  border-radius:12px; padding:20px; margin-bottom:14px;
}
html[data-theme="light"] .admin-card{ background:#fff; border-color:rgba(18,33,58,0.1); }
.admin-card h2{ font-family:'Archivo',sans-serif; font-size:1.1rem; margin:0 0 10px; }
.admin-grid-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:14px; }
.admin-toolbar{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; margin-bottom:12px; }
.filter-row{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.admin-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.admin-hint{ margin-top:12px; font-size:0.88rem; color:rgba(237,230,211,0.55); line-height:1.55; }
html[data-theme="light"] .admin-hint{ color:rgba(18,33,58,0.55); }
.admin-steps{ margin:0; padding-left:20px; color:rgba(237,230,211,0.7); line-height:1.7; }
html[data-theme="light"] .admin-steps{ color:rgba(18,33,58,0.7); }
.admin-table{ width:100%; border-collapse:collapse; font-size:0.85rem; }
.admin-table th,.admin-table td{ text-align:left; padding:10px 8px; border-bottom:1px solid rgba(237,230,211,0.1); vertical-align:top; }
html[data-theme="light"] .admin-table th,
html[data-theme="light"] .admin-table td{ border-bottom-color:rgba(18,33,58,0.08); }
.admin-table th{ color:var(--gold); font-family:'IBM Plex Mono',monospace; font-size:0.7rem; text-transform:uppercase; letter-spacing:0.06em; }
.admin-table .acts{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.admin-table .acts a, .admin-table .acts button{
  background:transparent; border:0; color:var(--gold); cursor:pointer; font:inherit; padding:0; text-decoration:none;
}
.admin-table .acts button.danger, .admin-table .acts .danger{ color:#e07a6e; }
.admin-table form.inline{ display:inline; }
.badge-on{ color:#7dcea0; font-weight:600; font-size:0.78rem; }
.badge-off{ color:#e07a6e; font-weight:600; font-size:0.78rem; }
.muted{ opacity:0.65; font-size:0.82rem; }
.tiny{ font-size:0.75rem; }
label{ display:block; font-size:0.85rem; margin:10px 0 4px; color:rgba(237,230,211,0.7); }
html[data-theme="light"] label{ color:rgba(18,33,58,0.65); }
.fc, .admin-login input, textarea.fc, select.fc{
  width:100%; padding:11px 12px; border-radius:8px;
  border:1px solid rgba(237,230,211,0.22); background:#0C1729; color:var(--paper);
  font:inherit; margin-bottom:4px;
}
html[data-theme="light"] .fc,
html[data-theme="light"] .admin-login input,
html[data-theme="light"] textarea.fc,
html[data-theme="light"] select.fc{
  background:#fff; color:#12213A; border-color:rgba(18,33,58,0.18);
}
.frow{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; }
.check{ display:flex !important; align-items:center; gap:8px; margin:12px 0; cursor:pointer; }
.also-box{ display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 12px; max-height:140px; overflow:auto; padding:10px; border:1px solid rgba(237,230,211,0.14); border-radius:8px; }
.chip{ display:inline-flex !important; align-items:center; gap:6px; font-size:0.8rem; margin:0 !important; }
.admin-err{ background:rgba(178,58,46,0.2); border:1px solid rgba(178,58,46,0.5); padding:10px 12px; border-radius:8px; margin-bottom:14px; font-size:0.9rem; }
.admin-ok{ background:rgba(63,110,76,0.2); border:1px solid rgba(63,110,76,0.5); padding:10px 12px; border-radius:8px; margin-bottom:14px; font-size:0.9rem; }
@media (max-width:900px){
  .admin-shell{ grid-template-columns:1fr; }
  .admin-side{ position:relative; height:auto; border-right:0; border-bottom:1px solid rgba(237,230,211,0.1); }
  .admin-nav{ flex-direction:row; flex-wrap:wrap; }
  .admin-grid-stats{ grid-template-columns:repeat(2,1fr); }
}

/* ---------- JOBS ---------- */
.jobs-hero{
  padding:40px 0 20px;
  background:
    radial-gradient(ellipse 800px 420px at 10% -10%, rgba(201,162,39,0.16), transparent 60%),
    radial-gradient(ellipse 600px 400px at 100% 0%, rgba(178,58,46,0.12), transparent 55%);
}
.jobs-panel{ padding:8px 0 48px; }
.jobs-sticky{
  position:sticky; top:58px; z-index:40; margin:0 -14px 16px; padding:10px 14px 12px;
  background:rgba(18,33,58,0.94); backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(237,230,211,0.1);
}
.jobs-tabs{
  display:flex; flex-wrap:nowrap; gap:8px; margin-bottom:12px;
  overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none;
  padding-bottom:2px;
}
.jobs-tabs::-webkit-scrollbar{ display:none; }
.jobs-tab{
  flex:0 0 auto; font-family:'IBM Plex Mono',monospace; font-size:0.78rem; letter-spacing:0.03em;
  padding:11px 14px; border:1px solid rgba(237,230,211,0.22); border-radius:3px;
  color:rgba(237,230,211,0.75); white-space:nowrap; min-height:42px;
  display:inline-flex; align-items:center;
}
.jobs-tab:hover, .jobs-tab.on{ border-color:var(--gold); color:var(--gold); background:rgba(201,162,39,0.08); }
.jobs-filters{ display:grid; gap:10px; margin-bottom:0; align-items:start; }
.jobs-search-row{ display:flex; gap:8px; width:100%; }
.jobs-filters input[type=search]{
  flex:1; width:100%; min-width:0; padding:12px 14px; border-radius:3px; min-height:44px;
  border:1px solid rgba(237,230,211,0.28); background:rgba(0,0,0,0.35);
  color:#EDE6D3; font:inherit; font-size:16px;
}
.jobs-filters input[type=search]::placeholder{ color:rgba(237,230,211,0.45); }
.jobs-filters .btn-secondary{
  flex:0 0 auto; background:transparent; color:#EDE6D3;
  border:1px solid rgba(237,230,211,0.35); min-height:44px; padding:10px 14px;
}
.jobs-filters .btn-secondary:hover{ border-color:var(--gold); color:var(--gold); }
.jobs-chips{
  display:flex; flex-wrap:nowrap; gap:8px; overflow-x:auto; -webkit-overflow-scrolling:touch;
  scrollbar-width:none; padding-bottom:2px;
}
.jobs-chips::-webkit-scrollbar{ display:none; }
.jobs-chip{
  flex:0 0 auto; font-size:0.78rem; padding:9px 12px; border:1px dashed rgba(237,230,211,0.28);
  border-radius:2px; color:rgba(237,230,211,0.7); font-family:'IBM Plex Mono',monospace;
  white-space:nowrap; min-height:38px; display:inline-flex; align-items:center;
}
.jobs-chip.on, .jobs-chip:hover{ border-color:var(--gold); color:var(--gold); }
.jobs-list{ display:grid; gap:12px; }
.jobs-row{
  display:block; padding:14px 14px 8px;
  transition:none;
}
.jobs-row h2{
  font-family:'Archivo',sans-serif; font-size:1.02rem; margin:10px 0 12px;
  color:#EDE6D3; line-height:1.4; font-weight:700;
  word-break:break-word;
}
.jobs-row-meta, .jobs-row-foot{
  display:flex; flex-wrap:wrap; gap:10px 14px; align-items:center;
  font-family:'IBM Plex Mono',monospace; font-size:0.72rem; color:rgba(237,230,211,0.6);
}
.jobs-cat{ color:#f0a39a; border:1px solid rgba(178,58,46,0.55); padding:2px 8px; }
.jobs-fam{ color:var(--gold); }
.jobs-empty{ padding:36px 18px; border:1px dashed rgba(237,230,211,0.25); text-align:center; color:rgba(237,230,211,0.75); }
.jobs-attrib{ margin-top:28px; font-size:0.85rem; color:rgba(237,230,211,0.55); line-height:1.55; max-width:720px; }
.job-detail .headline{ color:#EDE6D3 !important; }
.job-meta-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:14px;
  margin:22px 0; padding:18px; border:1px solid rgba(237,230,211,0.12);
  background:rgba(237,230,211,0.03);
}
.job-meta-grid span{ display:block; font-size:0.72rem; font-family:'IBM Plex Mono',monospace; color:var(--gold); margin-bottom:4px; letter-spacing:0.04em; text-transform:uppercase; }
.job-meta-grid strong{ font-weight:600; color:#EDE6D3; }
html[data-theme="light"] .jobs-tab{ color:rgba(18,33,58,0.65); border-color:rgba(18,33,58,0.18); }
html[data-theme="light"] .jobs-tab.on, html[data-theme="light"] .jobs-tab:hover{ color:var(--stamp); border-color:var(--stamp); }
html[data-theme="light"] .jobs-filters input[type=search]{ background:#fff; color:#12213A; border-color:rgba(18,33,58,0.18); }
html[data-theme="light"] .jobs-filters .btn-secondary{ color:#12213A; border-color:rgba(18,33,58,0.25); }
html[data-theme="light"] .jobs-chip{ color:rgba(18,33,58,0.6); border-color:rgba(18,33,58,0.2); }
html[data-theme="light"] .jobs-row h2{ color:#12213A; }
html[data-theme="light"] .jobs-row-meta, html[data-theme="light"] .jobs-row-foot,
html[data-theme="light"] .jobs-attrib, html[data-theme="light"] .jobs-empty{ color:rgba(18,33,58,0.55); }
html[data-theme="light"] .job-detail .headline{ color:#12213A !important; }
html[data-theme="light"] .job-meta-grid{ border-color:rgba(18,33,58,0.1); background:rgba(18,33,58,0.03); }
html[data-theme="light"] .job-meta-grid strong{ color:#12213A; }
html[data-theme="light"] .mobile-nav{ background:rgba(244,239,227,0.98); }
html[data-theme="light"] .mobile-nav a{ color:#12213A; }
html[data-theme="light"] .nav-burger{ border-color:rgba(18,33,58,0.25); }
html[data-theme="light"] .nav-burger span{ background:#12213A; }
html[data-theme="light"] .jobs-sticky{
  background:rgba(244,239,227,0.96); border-bottom-color:rgba(18,33,58,0.1);
}

@media (min-width:901px){
  .jobs-hero{ padding:72px 0 28px; }
  .jobs-sticky{ margin:0 0 22px; padding:0; position:static; background:transparent; border:0; backdrop-filter:none; }
  .jobs-tabs, .jobs-chips{ flex-wrap:wrap; overflow:visible; }
  .jobs-filters input[type=search]{ max-width:420px; font-size:inherit; }
  .jobs-search-row{ max-width:520px; }
  .jobs-row{ padding:16px 18px 8px; }
  .jobs-row h2{ font-size:1.08rem; }
  .nav-burger{ display:none !important; }
  .mobile-nav{ display:none !important; }
}

@media (max-width:900px){
  .jobs-row-share{ padding:0 12px 12px; }
  .jobs-row-share .share-bar{ width:100%; justify-content:flex-start; gap:8px; }
  .share-btn{ width:40px; height:40px; }
  .share-label{ width:100%; margin:0 0 2px; }
  .jobs-row-share .share-bar{ flex-wrap:wrap; }
  .jobs-row-meta, .jobs-row-foot{ gap:8px 10px; font-size:0.7rem; }
  .job-meta-grid{ grid-template-columns:1fr 1fr; gap:12px; padding:14px; margin:16px 0; }
  .hero-actions{ width:100%; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary{ width:100%; text-align:center; justify-content:center; }
  .notice-page{ padding:28px 0 48px; }
  .subject-hero{ padding:28px 0 16px; }
  .paper-actions{ width:100%; }
  .paper .share-bar{ width:100%; justify-content:flex-start; }
  .admin-main{ padding:16px 14px 48px; }
  .admin-table{ display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
}

@media (max-width:520px){
  .jobs-hero .headline{ font-size:1.55rem !important; line-height:1.2; }
  .jobs-hero .subhead{ font-size:0.9rem; margin-top:10px; }
  .jobs-hero .eyebrow{ font-size:0.72rem; padding:5px 10px; }
  .jobs-sticky{ top:54px; }
  .jobs-tab{ padding:10px 12px; font-size:0.72rem; }
  .jobs-attrib{ font-size:0.8rem; }
}
