/* =========================================================
   ResidentDoctor.net — Main Stylesheet
   Design: Clean editorial. DM Serif Display + DM Sans.
   Palette: Deep teal primary, warm white backgrounds.
   ========================================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal-900: #073832;
  --teal-800: #0A5F55;
  --teal-700: #0D7A6D;
  --teal-600: #10947F;
  --teal-100: #E6F4F2;
  --teal-050: #F2FAF9;

  --slate-900: #111827;
  --slate-700: #374151;
  --slate-500: #6B7280;
  --slate-300: #D1D5DB;
  --slate-100: #F3F4F6;
  --white:     #FFFFFF;

  --accent:    #C8732A;   /* warm amber — used for CTAs, badges */
  --accent-lt: #FEF3E2;

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --radius:    6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);

  --max-w: 1180px;
  --header-h: 64px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-800); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }
a:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 3px; border-radius: 2px; }

/* --- Skip Link --- */
.skip-link {
  position: fixed; top: -60px; left: 0; background: var(--teal-800);
  color: #fff; padding: .5rem 1rem; z-index: 9999; text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
  transition: top .2s; outline: none;
}
.skip-link:focus { top: 0; outline: 2px solid #fff; outline-offset: -2px; }

/* --- Container --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--slate-300);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; color: var(--slate-900);
  flex-shrink: 0; outline: none;
}
.site-logo:hover { color: var(--teal-800); }
.site-logo:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 3px; border-radius: var(--radius); }
.logo-text { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.logo-dot { color: var(--teal-700); }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }

.nav-list {
  display: flex; list-style: none; gap: .25rem;
  align-items: center;
}
.nav-list a {
  display: block; padding: .4rem .75rem;
  text-decoration: none; font-size: .9rem; font-weight: 500;
  color: var(--slate-700); border-radius: var(--radius);
  transition: background .15s, color .15s;
}
.nav-list a:hover, .nav-list li.active a {
  background: var(--teal-100); color: var(--teal-800);
}
.nav-list li.active a { font-weight: 600; }

.nav-search {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius);
  color: var(--slate-500); text-decoration: none;
  transition: background .15s, color .15s;
}
.nav-search:hover { background: var(--teal-100); color: var(--teal-800); }

.nav-toggle { display: none; }

/* =========================================================
   HERO — Homepage
   ========================================================= */
.hero {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-800) 60%, var(--teal-700) 100%);
  color: var(--white);
  padding: 5rem 0 4.5rem;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15; font-weight: 400;
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: rgba(255,255,255,.85); }
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,.8);
  max-width: 580px; margin: 0 auto 2.5rem;
}
.hero-countries {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  font-size: .85rem;
}
.hero-countries a {
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
  padding: .3rem .8rem; border-radius: 100px; text-decoration: none;
  border: 1px solid rgba(255,255,255,.2);
  transition: background .15s;
}
.hero-countries a:hover { background: rgba(255,255,255,.22); }

/* =========================================================
   PAGE HERO — Interior pages
   ========================================================= */
.page-hero {
  background: var(--teal-050);
  border-bottom: 1px solid var(--teal-100);
  padding: 3rem 0 2.5rem;
}
.page-hero--dark {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-800));
  color: var(--white);
}
.page-hero .breadcrumb { margin-bottom: .75rem; }
.page-hero h1 {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400; line-height: 1.2; margin-bottom: .75rem;
}
.page-hero p.lead {
  font-size: 1.1rem; color: var(--slate-500); max-width: 640px;
}
.page-hero--dark p.lead { color: rgba(255,255,255,.75); }

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb {
  font-size: .82rem; color: var(--slate-500);
  display: flex; flex-wrap: wrap; gap: .25rem; align-items: center;
  list-style: none;
}
.breadcrumb li + li::before { content: '/'; margin-right: .25rem; color: var(--slate-300); }
.breadcrumb a { color: var(--slate-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-800); text-decoration: underline; }

/* =========================================================
   CATEGORY GRID — Homepage sections
   ========================================================= */
.section { padding: 4rem 0; }
.section--alt { background: var(--slate-100); }
.section--teal { background: var(--teal-050); }

.section-header { margin-bottom: 2.5rem; }
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400;
  margin-bottom: .5rem;
}
.section-header p { color: var(--slate-500); max-width: 560px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg); padding: 1.5rem;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.card:hover {
  box-shadow: var(--shadow); border-color: var(--teal-600);
  transform: translateY(-2px); color: inherit; text-decoration: none;
}
.card-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--teal-100); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.4rem;
}
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .4rem; }
.card p { font-size: .9rem; color: var(--slate-500); flex: 1; }
.card-arrow {
  margin-top: 1rem; font-size: .85rem; font-weight: 600;
  color: var(--teal-700); display: flex; align-items: center; gap: .3rem;
}
.card-arrow::after { content: '→'; }

/* Country cards */
.card--country { align-items: flex-start; }
.card--country .country-flag-lg { font-size: 2rem; margin-bottom: .75rem; }

/* =========================================================
   COUNTRY SWITCHER
   ========================================================= */
.country-switcher {
  background: var(--teal-050); border: 1px solid var(--teal-100);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.country-switcher ul {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem;
}
.country-switcher a {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .9rem; border-radius: 100px; font-size: .875rem; font-weight: 500;
  background: var(--white); border: 1px solid var(--slate-300);
  text-decoration: none; color: var(--slate-700);
  transition: background .15s, border-color .15s, color .15s;
}
.country-switcher a:hover { background: var(--teal-100); border-color: var(--teal-600); color: var(--teal-800); }
.country-switcher a[aria-current="true"] {
  background: var(--teal-800); border-color: var(--teal-800); color: var(--white);
}

/* =========================================================
   COUNTRY BANNER
   ========================================================= */
.country-banner {
  display: flex; align-items: flex-start; gap: .875rem;
  background: var(--teal-050); border-left: 4px solid var(--teal-700);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem; margin: 1.5rem 0;
  font-size: .9rem;
}
.country-flag { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.country-banner a { color: var(--teal-800); }

/* =========================================================
   ARTICLE LAYOUT — Content pages
   ========================================================= */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
}

.article-body h2 {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400;
  margin: 2.5rem 0 .75rem; padding-top: 1rem;
  border-top: 1px solid var(--slate-300);
  color: var(--teal-900);
}
.article-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.article-body h3 {
  font-size: 1.1rem; font-weight: 600; margin: 1.75rem 0 .5rem;
  color: var(--slate-900);
}
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol {
  margin: .75rem 0 1rem 1.25rem;
}
.article-body li { margin-bottom: .4rem; }
.article-body a { font-weight: 500; }
.article-body strong { font-weight: 600; }
.article-body table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem;
}
.article-body th {
  background: var(--teal-800); color: var(--white);
  padding: .6rem 1rem; text-align: left; font-weight: 600;
}
.article-body td { padding: .6rem 1rem; border-bottom: 1px solid var(--slate-300); }
.article-body tr:nth-child(even) td { background: var(--slate-100); }

/* Info box */
.infobox {
  background: var(--teal-050); border: 1px solid var(--teal-100);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.infobox h4 { font-size: .9rem; font-weight: 600; color: var(--teal-800); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .05em; }
.infobox p, .infobox ul { font-size: .9rem; margin-bottom: 0; }

/* Warning box */
.warnbox {
  background: var(--accent-lt); border: 1px solid #F0C097;
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
  margin: 1.5rem 0; font-size: .9rem;
}
.warnbox strong { color: var(--accent); }

/* Stat pills */
.stat-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0; }
.stat-pill {
  background: var(--white); border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg); padding: 1rem 1.25rem;
  min-width: 140px; flex: 1;
}
.stat-pill .stat-val {
  font-family: var(--font-serif); font-size: 1.6rem; color: var(--teal-800);
  line-height: 1; margin-bottom: .25rem;
}
.stat-pill .stat-lbl { font-size: .8rem; color: var(--slate-500); }

/* =========================================================
   SIDEBAR
   ========================================================= */
.sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.sidebar-card {
  background: var(--slate-100); border-radius: var(--radius-lg);
  padding: 1.25rem; margin-bottom: 1.25rem;
}
.sidebar-card h3 { font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-500); margin-bottom: .875rem; }
.sidebar-card ul { list-style: none; }
.sidebar-card li { border-bottom: 1px solid var(--slate-300); }
.sidebar-card li:last-child { border-bottom: none; }
.sidebar-card a {
  display: block; padding: .5rem 0; font-size: .9rem; text-decoration: none;
  color: var(--slate-700); font-weight: 500;
  transition: color .15s;
}
.sidebar-card a:hover { color: var(--teal-800); }
.sidebar-card a[aria-current="page"] { color: var(--teal-800); font-weight: 600; }

/* Newsletter sidebar card */
.sidebar-newsletter { background: var(--teal-800); color: var(--white); }
.sidebar-newsletter h3 { color: rgba(255,255,255,.7); }
.sidebar-newsletter p { font-size: .875rem; color: rgba(255,255,255,.85); margin-bottom: 1rem; }
.sidebar-newsletter input[type="email"] {
  width: 100%; padding: .6rem .75rem; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1);
  color: var(--white); font-size: .875rem; margin-bottom: .5rem;
}
.sidebar-newsletter input::placeholder { color: rgba(255,255,255,.5); }
.sidebar-newsletter input:focus { outline: 2px solid rgba(255,255,255,.6); border-color: transparent; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .65rem 1.25rem; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; cursor: pointer;
  text-decoration: none; border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
  line-height: 1;
}
.btn--primary { background: var(--teal-800); color: var(--white); }
.btn--primary:hover { background: var(--teal-700); color: var(--white); }
.btn--outline { background: transparent; color: var(--teal-800); border-color: var(--teal-800); }
.btn--outline:hover { background: var(--teal-100); }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: #B5621F; color: var(--white); }
.btn--sm { padding: .45rem .9rem; font-size: .82rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--white { background: var(--white); color: var(--teal-800); }
.btn--white:hover { background: var(--teal-100); }

/* =========================================================
   NEWSLETTER SECTION — Homepage
   ========================================================= */
.newsletter-section {
  background: var(--teal-900); color: var(--white);
  padding: 4rem 0; text-align: center;
}
.newsletter-section h2 {
  font-family: var(--font-serif); font-size: 1.9rem; font-weight: 400;
  margin-bottom: .75rem;
}
.newsletter-section p { color: rgba(255,255,255,.75); margin-bottom: 2rem; }
.newsletter-form {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
  max-width: 480px; margin: 0 auto;
}
.newsletter-form input[type="email"] {
  flex: 1; min-width: 220px; padding: .7rem 1rem;
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1); color: var(--white); font-size: .95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { outline: 2px solid rgba(255,255,255,.5); }

/* =========================================================
   SEARCH
   ========================================================= */
.search-hero {
  background: var(--teal-050); padding: 3rem 0; border-bottom: 1px solid var(--teal-100);
}
.search-form { display: flex; gap: .75rem; max-width: 600px; }
.search-input {
  flex: 1; padding: .75rem 1rem; border: 1px solid var(--slate-300);
  border-radius: var(--radius); font-size: 1rem; font-family: var(--font-sans);
  transition: border-color .15s;
}
.search-input:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(10,95,85,.12); }
.search-results { padding: 3rem 0; }
.search-result-item {
  padding: 1.25rem 0; border-bottom: 1px solid var(--slate-300);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .25rem; }
.search-result-item h3 a { text-decoration: none; }
.search-result-item h3 a:hover { text-decoration: underline; }
.search-result-item .url { font-size: .8rem; color: var(--teal-700); margin-bottom: .3rem; }
.search-result-item p { font-size: .9rem; color: var(--slate-500); }

/* =========================================================
   PATHWAY DIAGRAM
   ========================================================= */
.pathway {
  margin: 2rem 0;
  display: flex; flex-direction: column; gap: 0;
}
.pathway-step {
  display: flex; gap: 1rem; align-items: flex-start;
  position: relative;
}
.pathway-step::before {
  content: ''; position: absolute;
  left: 15px; top: 36px; width: 2px;
  height: calc(100% + 0px);
  background: var(--teal-200, #A8D5D0);
}
.pathway-step:last-child::before { display: none; }
.pathway-node {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal-800); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
  flex-shrink: 0; z-index: 1;
}
.pathway-content {
  background: var(--slate-100); border-radius: var(--radius);
  padding: .875rem 1rem; margin-bottom: 1.25rem; flex: 1;
}
.pathway-content h4 { font-weight: 600; margin-bottom: .25rem; }
.pathway-content p { font-size: .88rem; color: var(--slate-500); margin: 0; }

/* =========================================================
   TABS (Country sub-pages / Exam sections)
   ========================================================= */
.tab-nav {
  display: flex; flex-wrap: wrap; gap: .25rem;
  border-bottom: 2px solid var(--slate-300); margin-bottom: 2rem;
}
.tab-btn {
  padding: .6rem 1.1rem; font-size: .875rem; font-weight: 500;
  background: none; border: none; border-bottom: 3px solid transparent;
  margin-bottom: -2px; cursor: pointer; color: var(--slate-500);
  font-family: var(--font-sans);
  transition: color .15s, border-color .15s;
}
.tab-btn.active, .tab-btn[aria-selected="true"] {
  color: var(--teal-800); border-bottom-color: var(--teal-800); font-weight: 600;
}
.tab-btn:hover { color: var(--teal-700); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--slate-900); color: rgba(255,255,255,.75);
  padding-top: 4rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .site-logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand .logo-dot { color: rgba(255,255,255,.5); }
.footer-tagline { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.55; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.footer-col h3 {
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.45); margin-bottom: .875rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .3rem; }
.footer-col a {
  color: rgba(255,255,255,.65); text-decoration: none; font-size: .875rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom { padding: 1.25rem 0; }
.footer-bottom .container {
  display: flex; flex-wrap: wrap; gap: .75rem;
  align-items: center; justify-content: space-between;
}
.footer-legal { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-countries { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-countries a {
  font-size: .8rem; text-decoration: none; color: rgba(255,255,255,.5);
  transition: color .15s;
}
.footer-countries a:hover { color: var(--white); }

/* =========================================================
   BADGES & TAGS
   ========================================================= */
.badge {
  display: inline-block; padding: .2rem .65rem; border-radius: 100px;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
}
.badge--teal { background: var(--teal-100); color: var(--teal-800); }
.badge--amber { background: var(--accent-lt); color: var(--accent); }
.badge--gray  { background: var(--slate-100); color: var(--slate-500); }

/* =========================================================
   UTILITY
   ========================================================= */
.text-center { text-align: center; }
.text-muted  { color: var(--slate-500); }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }

  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 40px; height: 40px; padding: 8px;
    background: none; border: none; cursor: pointer;
    border-radius: var(--radius);
  }
  .nav-toggle span {
    display: block; height: 2px; background: var(--slate-700);
    border-radius: 2px; transition: transform .2s, opacity .2s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--slate-300);
    box-shadow: var(--shadow); padding: .5rem 0;
  }
  .main-nav.open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: .75rem 1.25rem; border-radius: 0; }
  .nav-aux { padding: .5rem 1.25rem; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: 1fr; }
  .stat-row { flex-direction: column; }
  .hero { padding: 3.5rem 0 3rem; }
}

@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: unset; }
  .search-form { flex-direction: column; }
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  .site-header, .site-footer, .sidebar, .nav-toggle { display: none; }
  .content-layout { display: block; }
  a[href]::after { content: " (" attr(href) ")"; font-size: .75em; }
}
