/* ============================================================
   paragraf theme — privatkopie.net
   Fonts: Bitter (headlines) + Raleway (body)
   Colors: Navy #1B2A4A + Orange #E8871E
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@400;600;700&family=Raleway:wght@400;500;600;700&display=swap');

/* --- Variables --- */
:root {
  --clr-navy: #1B2A4A;
  --clr-navy-light: #2A3D66;
  --clr-orange: #E8871E;
  --clr-orange-light: #F5A623;
  --clr-bg: #F8F9FA;
  --clr-white: #FFFFFF;
  --clr-text: #2D3748;
  --clr-text-light: #6B7280;
  --clr-border: #D1D5DB;
  --clr-success: #38A169;
  --clr-danger: #E53E3E;
  --clr-warning: #D69E2E;
  --wrap: 1140px;
  --ff-head: 'Bitter', Georgia, serif;
  --ff-body: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-law: Georgia, 'Times New Roman', serif;
  --ff-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--clr-orange); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  color: var(--clr-navy);
  line-height: 1.25;
}
h1 { font-size: 2.25rem; margin-bottom: 1rem; font-weight: 700; }
h2 { font-size: 1.65rem; margin-top: 2.5rem; margin-bottom: .75rem; font-weight: 600; }
h3 { font-size: 1.25rem; margin-top: 1.75rem; margin-bottom: .5rem; font-weight: 600; }
h4 { font-size: 1.05rem; margin-top: 1.25rem; margin-bottom: .5rem; }

p { margin-bottom: 1rem; }

blockquote {
  font-family: var(--ff-law);
  border-left: 4px solid var(--clr-orange);
  padding: .75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(27,42,74,.04);
  color: var(--clr-navy);
  font-style: italic;
}

code, .law-ref {
  font-family: var(--ff-mono);
  font-size: .9em;
  background: rgba(27,42,74,.06);
  padding: .15em .4em;
  border-radius: 3px;
}

/* --- Layout --- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Masthead (Header) --- */
.masthead {
  background: var(--clr-white);
  padding: .75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
  border-bottom: 2px solid var(--clr-border);
}

.masthead .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand span {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--clr-navy);
  letter-spacing: .02em;
}

/* --- Top Nav --- */
.topnav { display: flex; gap: .25rem; list-style: none; }

.topnav a {
  color: var(--clr-navy);
  font-size: .9rem;
  font-weight: 500;
  padding: .45rem .75rem;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: border-color .2s, color .2s;
}

.topnav a:hover,
.topnav a.active {
  color: var(--clr-orange);
  border-color: var(--clr-orange);
}

/* Hamburger */
.ham-btn {
  display: none;
  background: none;
  border: 2px solid var(--clr-navy);
  color: var(--clr-navy);
  font-size: 1.4rem;
  padding: .25rem .5rem;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, rgba(26,35,75,.85) 0%, rgba(44,62,120,.8) 100%), url('/images/homepage-hero.jpg') center/cover no-repeat;
  color: var(--clr-white);
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.hero h1 {
  color: var(--clr-white);
  font-size: 2.5rem;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

/* --- Hero Image --- */
.hero-img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 2rem;
}

/* --- Content Area --- */
.content-area {
  background: var(--clr-white);
  padding: 2.5rem 0;
}

.content-area article {
  max-width: 780px;
  margin: 0 auto;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: 1.5rem;
  transition: border-color .2s;
}

.card:hover {
  border-color: var(--clr-orange);
}

.card h3 {
  margin-top: 0;
  color: var(--clr-navy);
}

.card p {
  color: var(--clr-text-light);
  font-size: .95rem;
}

.card-link {
  display: inline-block;
  margin-top: .75rem;
  font-weight: 600;
  color: var(--clr-orange);
  font-size: .9rem;
}
.card-link:hover { color: var(--clr-navy); }

/* --- Feature Cards (Homepage) --- */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.feature-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-top: 3px solid var(--clr-orange);
  border-radius: 0 0 4px 4px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color .2s;
}

.feature-card:hover {
  border-color: var(--clr-orange);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 { margin-top: 0; font-size: 1.15rem; }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 1rem 0;
  font-size: .85rem;
  color: var(--clr-text-light);
}

.breadcrumb a { color: var(--clr-text-light); }
.breadcrumb a:hover { color: var(--clr-orange); }
.breadcrumb span { margin: 0 .4rem; }

/* --- FAQ --- */
.faq-list { margin: 2rem 0; }

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  margin-bottom: .5rem;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-navy);
  text-align: left;
  padding: 1rem 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--clr-orange);
  transition: transform .2s;
}

.faq-item.open .faq-q::after {
  content: '−';
}

.faq-a {
  display: none;
  padding: 0 1.25rem 1rem;
  color: var(--clr-text);
  line-height: 1.7;
}

.faq-item.open .faq-a { display: block; }

/* --- Tables --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .95rem;
}

th {
  background: var(--clr-navy);
  color: var(--clr-white);
  text-align: left;
  padding: .75rem 1rem;
  font-weight: 600;
}

td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--clr-border);
}

tr:nth-child(even) td { background: rgba(27,42,74,.02); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: .7rem 1.5rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  text-align: center;
}

.btn-primary {
  background: var(--clr-orange);
  color: var(--clr-white);
}
.btn-primary:hover {
  background: transparent;
  border-color: var(--clr-orange);
  color: var(--clr-orange);
}

.btn-outline {
  background: transparent;
  border-color: var(--clr-navy);
  color: var(--clr-navy);
}
.btn-outline:hover {
  background: var(--clr-navy);
  color: var(--clr-white);
}

/* --- Ampel (Traffic Light for Checker) --- */
.ampel { display: inline-block; padding: .3rem .75rem; border-radius: 4px; font-weight: 600; font-size: .9rem; }
.ampel-green { background: rgba(56,161,105,.12); color: var(--clr-success); border: 1px solid var(--clr-success); }
.ampel-yellow { background: rgba(214,158,46,.12); color: var(--clr-warning); border: 1px solid var(--clr-warning); }
.ampel-red { background: rgba(229,62,62,.12); color: var(--clr-danger); border: 1px solid var(--clr-danger); }

/* --- Footer --- */
.site-footer {
  background: var(--clr-navy);
  color: rgba(255,255,255,.7);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: var(--clr-white);
  font-size: .95rem;
  margin-bottom: .75rem;
}

.footer-grid ul { list-style: none; }

.footer-grid a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  line-height: 2;
  transition: color .2s;
}
.footer-grid a:hover { color: var(--clr-orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1rem;
  font-size: .8rem;
  text-align: center;
}

/* --- Law Text Styling --- */
.law-block {
  font-family: var(--ff-law);
  background: rgba(27,42,74,.03);
  border-left: 3px solid var(--clr-navy);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  line-height: 1.8;
}

.law-block .section-num {
  font-family: var(--ff-mono);
  font-weight: 700;
  color: var(--clr-orange);
}

/* --- Tool Output / Results --- */
.result-box {
  padding: 1.5rem;
  border-radius: 4px;
  margin: 1.5rem 0;
}
.result-box.allowed { border: 2px solid var(--clr-success); background: rgba(56,161,105,.05); }
.result-box.forbidden { border: 2px solid var(--clr-danger); background: rgba(229,62,62,.05); }
.result-box.grey-area { border: 2px solid var(--clr-warning); background: rgba(214,158,46,.05); }

/* --- Search / Input --- */
.tool-input {
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--ff-body);
  font-size: 1rem;
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  outline: none;
  transition: border-color .2s;
}
.tool-input:focus { border-color: var(--clr-orange); }

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: .5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--clr-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: .35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-orange);
  border: 2px solid var(--clr-white);
}

.timeline-year {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--clr-navy);
  font-size: 1.05rem;
}

/* --- News Feed Items --- */
.feed-item {
  border-bottom: 1px solid var(--clr-border);
  padding: 1rem 0;
}

.feed-item:last-child { border-bottom: none; }

.feed-source {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--clr-orange);
}

.feed-date {
  font-size: .8rem;
  color: var(--clr-text-light);
}

/* --- Glossary --- */
.glossary-list dt {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--clr-navy);
  font-size: 1.05rem;
  margin-top: 1.25rem;
}

.glossary-list dd {
  margin-left: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--clr-border);
  margin-bottom: 1rem;
}

/* --- Checker Tool --- */
.ck-container {
  margin: 2rem 0;
  min-height: 200px;
}

.ck-loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--clr-text-light);
  font-size: 1.05rem;
}

.ck-noscript {
  background: rgba(229,62,62,.08);
  border: 1px solid var(--clr-danger);
  border-radius: 4px;
  padding: 1.25rem;
}

.ck-step { animation: ckFadeIn .3s ease; }

@keyframes ckFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ck-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.ck-step-num {
  font-family: var(--ff-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--clr-orange);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ck-back {
  background: none;
  border: 1px solid var(--clr-border);
  font-family: var(--ff-body);
  font-size: .85rem;
  color: var(--clr-text-light);
  padding: .35rem .75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.ck-back:hover { border-color: var(--clr-navy); color: var(--clr-navy); }

.ck-question {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: .75rem;
}

.ck-info {
  background: rgba(27,42,74,.04);
  border-left: 3px solid var(--clr-navy-light);
  padding: .75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: .92rem;
  color: var(--clr-text);
  line-height: 1.6;
}

.ck-info-icon {
  color: var(--clr-navy);
  font-weight: 700;
  margin-right: .25rem;
}

.ck-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
}

.ck-opt {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: .9rem 1rem;
  font-family: var(--ff-body);
  font-size: .95rem;
  color: var(--clr-text);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, background .15s;
  line-height: 1.4;
}

.ck-opt:hover {
  border-color: var(--clr-orange);
  background: rgba(232,135,30,.04);
}

.ck-opt:focus-visible {
  outline: 2px solid var(--clr-orange);
  outline-offset: 2px;
}

.ck-opt-icon { font-size: 1.5rem; flex-shrink: 0; }
.ck-opt-label { flex: 1; }

/* --- Checker Result --- */
.ck-result {
  border-radius: 4px;
  padding: 1.75rem;
  margin: 1rem 0;
  animation: ckFadeIn .3s ease;
}

.ck-allowed {
  border: 2px solid var(--clr-success);
  background: rgba(56,161,105,.04);
}

.ck-forbidden {
  border: 2px solid var(--clr-danger);
  background: rgba(229,62,62,.04);
}

.ck-warning {
  border: 2px solid var(--clr-warning);
  background: rgba(214,158,46,.04);
}

.ck-ampel-row { margin-bottom: 1rem; }

.ck-result-title {
  margin-top: 0;
  font-size: 1.3rem;
  margin-bottom: .75rem;
}

.ck-result-text {
  line-height: 1.7;
}

.ck-legal {
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--clr-border);
  font-size: .92rem;
}

.ck-legal .law-ref {
  white-space: nowrap;
}

.ck-conditions {
  margin-top: .75rem;
  font-size: .92rem;
}

.ck-conditions ul {
  margin: .4rem 0 0 1.25rem;
  list-style: disc;
}

.ck-conditions li {
  margin-bottom: .25rem;
}

.ck-max {
  margin-top: .75rem;
  font-size: .92rem;
}

.ck-tip {
  margin-top: 1rem;
  background: rgba(27,42,74,.04);
  padding: .75rem 1rem;
  border-radius: 4px;
  font-size: .92rem;
  line-height: 1.6;
}

.ck-actions {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

/* --- Checker How-To --- */
.ck-howto {
  margin: 1.5rem 0 2rem;
}

.ck-howto-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.ck-howto-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clr-orange);
  color: var(--clr-white);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .15rem;
}

.ck-howto-step p {
  margin: .2rem 0 0;
  font-size: .92rem;
  color: var(--clr-text-light);
}

.ck-disclaimer {
  background: rgba(27,42,74,.03);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  font-size: .85rem;
  color: var(--clr-text-light);
}

.ck-disclaimer p { margin: 0; }

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
  .hero h1 { font-size: 1.85rem; }
  .hero { padding: 2.5rem 0 2rem; }

  .ham-btn { display: block; }

  .topnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--clr-white);
    flex-direction: column;
    padding: .5rem 1.5rem 1rem;
    border-top: 1px solid var(--clr-border);
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
  }

  .topnav.open { display: flex; }

  .topnav a { padding: .6rem 0; border: none; }

  .masthead .wrap { position: relative; }

  .feature-cards { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ck-options { grid-template-columns: 1fr; }
  .ck-question { font-size: 1.2rem; }
  .ck-result { padding: 1.25rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  .hero h1 { font-size: 1.5rem; }
  .wrap { padding: 0 1rem; }
}

/* --- Interactive Timeline --- */
.tl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.5rem 0 2rem;
}

.tl-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: .45rem .9rem;
  font-family: var(--ff-body);
  font-size: .85rem;
  font-weight: 500;
  color: var(--clr-text);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.tl-filter-btn:hover { border-color: var(--clr-orange); }
.tl-filter-btn.active {
  background: var(--clr-navy);
  color: var(--clr-white);
  border-color: var(--clr-navy);
}

.tl-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tl-track {
  position: relative;
  padding-left: 2.5rem;
}

.tl-track::before {
  content: '';
  position: absolute;
  left: .6rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--clr-navy), var(--clr-orange));
  border-radius: 2px;
}

.tl-year-section {
  margin-bottom: 1rem;
}

.tl-year-marker {
  position: relative;
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-navy);
  padding: .75rem 0 .5rem;
}

.tl-year-marker::before {
  content: '';
  position: absolute;
  left: -2.15rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--clr-orange);
  border: 3px solid var(--clr-white);
  box-shadow: 0 0 0 2px var(--clr-orange);
}

.tl-card {
  position: relative;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: 1.25rem;
  margin-bottom: .75rem;
  margin-left: .5rem;
  transition: border-color .2s;
  animation: tlSlideIn .35s ease;
}

@keyframes tlSlideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

.tl-card:hover { border-color: var(--clr-orange); }

.tl-card::before {
  content: '';
  position: absolute;
  left: -1.35rem;
  top: 1.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-border);
}

.tl-card-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
}

.tl-badge {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 3px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--clr-white);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.tl-date {
  font-size: .82rem;
  color: var(--clr-text-light);
}

.tl-card-title {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-navy);
  margin: 0 0 .4rem;
  line-height: 1.35;
}

.tl-card-desc {
  font-size: .92rem;
  color: var(--clr-text);
  line-height: 1.65;
  margin-bottom: .5rem;
}

.tl-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem;
}

.tl-links a {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-orange);
  border: 1px solid var(--clr-orange);
  border-radius: 3px;
  padding: .2rem .6rem;
  transition: background .2s, color .2s;
}

.tl-links a:hover {
  background: var(--clr-orange);
  color: var(--clr-white);
}

/* --- Document List (Archiv) --- */
.doc-list {
  margin: 1.5rem 0;
}

.doc-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  margin-bottom: .75rem;
  transition: border-color .2s;
}

.doc-item:hover { border-color: var(--clr-orange); }

.doc-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: rgba(27,42,74,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--clr-navy);
}

.doc-body { flex: 1; }

.doc-body h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  line-height: 1.35;
}

.doc-body h3 a { color: var(--clr-navy); }
.doc-body h3 a:hover { color: var(--clr-orange); }

.doc-meta {
  font-size: .82rem;
  color: var(--clr-text-light);
  margin-bottom: .35rem;
}

.doc-body p {
  font-size: .9rem;
  margin: 0;
  color: var(--clr-text);
}

.doc-signatories {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .5rem;
}

.doc-signatories span {
  font-size: .75rem;
  background: rgba(27,42,74,.06);
  padding: .15rem .5rem;
  border-radius: 3px;
  color: var(--clr-text-light);
}

@media (max-width: 768px) {
  .tl-filters { gap: .35rem; }
  .tl-filter-btn { font-size: .8rem; padding: .35rem .65rem; }
  .tl-track { padding-left: 2rem; }
  .tl-year-marker { font-size: 1.25rem; }
  .tl-year-marker::before { left: -1.65rem; width: 12px; height: 12px; }
  .tl-card { margin-left: 0; }
  .tl-card::before { left: -1.1rem; }
  .doc-item { flex-direction: column; gap: .5rem; }
  .doc-icon { width: 36px; height: 36px; font-size: 1.1rem; }
}
