*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.7;color:#111;background:#fff}
.sc-mVDgQr{max-width:900px;margin:0 auto;padding:0 28px}
.sc-PyTrPk{background:#111;color:#fff;padding:64px 0;margin-bottom:48px}
.sc-PyTrPk h1{font-size:42px;font-weight:800;letter-spacing:-1px;margin-bottom:8px}
.sc-PyTrPk p{font-size:18px;opacity:.7}
.sc-PyTrPk a{color:#fff;text-decoration:none;font-size:22px;font-weight:800}
.sc-iUSmIf{padding:0}
.sc-BPKLhJ{padding:32px 0;border-left:4px solid #111;padding-left:24px;margin-bottom:28px}
.sc-BPKLhJ h2{font-size:24px;font-weight:700;margin-bottom:6px}
.sc-BPKLhJ h2 a{color:#111;text-decoration:none}
.sc-BPKLhJ h2 a:hover{text-decoration:underline}
.sc-BPKLhJ .sc-iWfzyD{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;margin-bottom:8px}
.sc-BPKLhJ p{font-size:15px;color:#444;margin-bottom:10px}
.sc-dfPYyq{display:inline-block;background:#111;color:#fff;padding:8px 20px;font-size:13px;font-weight:700;text-decoration:none;text-transform:uppercase;letter-spacing:1px}
.sc-dfPYyq:hover{background:#333}
.sc-KKDaiC{padding-bottom:60px}
.sc-KKDaiC h1{font-size:38px;font-weight:800;letter-spacing:-1px;margin-bottom:10px}
.sc-KKDaiC time{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;display:block;margin-bottom:28px}
.sc-KKDaiC h2{font-size:26px;font-weight:700;margin:40px 0 14px}
.sc-KKDaiC h3{font-size:20px;font-weight:700;margin:32px 0 10px}
.sc-KKDaiC p{margin-bottom:18px;font-size:17px}
.sc-KKDaiC ul,.sc-KKDaiC ol{margin:0 0 18px 24px}
.sc-KKDaiC a{color:#111;font-weight:600;text-decoration:underline}
.sc-KKDaiC img{max-width:100%;height:auto;margin:20px 0}
.sc-uUEWrP{background:#111;color:#888;padding:28px 0;margin-top:48px;text-align:center;font-size:12px}
.sc-uUEWrP a{color:#888;text-decoration:none}
.sc-yokHVn{background:#222;color:#aaa;padding:14px 20px;margin-bottom:24px;font-size:13px;font-style:italic}
.sc-ykEkNQ{background:#1a1a1a;color:#888;padding:14px 20px;margin-top:32px;font-size:12px;border-top:3px solid #444}
.sc-nBWyGO{font-size:12px;font-weight:600;text-transform:uppercase;color:#666;letter-spacing:1px;margin:-20px 0 28px;padding-left:12px;border-left:2px solid #ccc}
.sc-uhiCYL{margin:0 0 24px}
.sc-wgwimd{width:100%;height:auto;border-radius:0}
.sc-qXoYyQ{border-left:4px solid #111;padding-left:24px;margin-top:48px}
.sc-qXoYyQ h3{font-size:18px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.sc-qXoYyQ ul{list-style:none;padding:0}
.sc-qXoYyQ li{padding:6px 0}
.sc-qXoYyQ a{color:#111;text-decoration:underline;font-weight:600}
.sc-jvtcjv{border-left:4px solid #ddd;padding-left:24px;margin-top:36px}
.sc-jvtcjv ul{list-style:none;padding:0}
.sc-jvtcjv li{padding:6px 0;font-size:16px}
.sc-jvtcjv a{color:#111;text-decoration:none;font-weight:600}
.sc-jvtcjv a:hover{text-decoration:underline}
.sc-jvtcjv .sc-iWfzyD{margin:0 0 0 8px}

:root{--primary:#4C2E4A;--accent:#4F6F3A;--bg:#F0E7D2;--fg:#14091A;--border:#C5BAA0;--r:18px;--fb:'Work Sans';--fh:'Quattrocento'}

@import url('https://fonts.googleapis.com/css2?family=Quattrocento:wght@400;700&family=Work+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  --moment: #7A6B4A;      
  --paper:  #FAF5EC;      
  --paper2: #F5EFE1;      
  --hair:   rgba(20,9,26,.10);
  --dot:    rgba(20,9,26,.14);
}

:root body { font-family: var(--fb), system-ui, -apple-system, sans-serif; color: var(--fg); background: var(--bg); line-height: 1.72; font-size: 16.5px; }
::selection { background: var(--accent); color: var(--bg); }
:root hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }

:root > body > div:first-child {
  background:
    linear-gradient(180deg, rgba(28,16,30,.62), rgba(28,16,30,.74)),
    var(--primary);
  color: var(--bg);
  padding: 72px 22px 30px;
  margin-bottom: 76px;
  border-bottom: 4px solid var(--accent);
  position: relative;
  text-align: center;
}

:root > body > div:first-child:has(h1) {
  background:
    linear-gradient(180deg, rgba(28,16,30,.58), rgba(28,16,30,.80)),
    url("/static/cover.jpg") center 42%/cover no-repeat, var(--primary);
  padding: 96px 22px 34px;
}

:root > body > div:first-child:not(:has(h1)) {
  background:
    linear-gradient(180deg, rgba(28,16,30,.60), rgba(28,16,30,.78)),
    url("/static/article-bg.jpg") center 55%/cover no-repeat, var(--primary);
  padding: 40px 22px;
  margin-bottom: 52px;
}
:root > body > div:first-child > div { position: relative; }

:root > body > div:first-child:has(h1) > div::before {
  content: "Strukturierte Kurs-Audits · München-Giesing";
  display: block;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .30em; text-transform: uppercase;
  color: rgba(240,231,210,.82);
  margin-bottom: 16px;
}
:root > body > div:first-child h1 {
  font-family: var(--fh), Cambria, serif;
  font-size: 56px; font-weight: 700; font-style: italic;
  color: var(--bg); letter-spacing: 0; line-height: 1.02;
  margin: 0 0 14px; text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
:root > body > div:first-child p {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 15px; line-height: 1.6; color: rgba(240,231,210,.90);
  font-style: italic; max-width: 560px; margin: 0 auto;
}
:root > body > div:first-child a {
  font-family: var(--fh), Cambria, serif; font-size: 30px; font-style: italic;
  color: var(--bg); text-decoration: none; font-weight: 700;
}

:root > body > div:first-child:has(h1) > div::after {
  content: ""; display: block; height: 9px; width: 132px; margin: 20px auto 0;
  background: repeating-linear-gradient(90deg,
      var(--moment) 0 2px, transparent 2px 9px);
  opacity: .95;
}

:root main { padding-bottom: 90px; }

:root main > hgroup > h1, :root main > h1 { font-family: var(--fh), Cambria, serif; font-size: 42px; font-weight: 700; color: var(--fg); line-height: 1.12; margin: 8px 0 12px; letter-spacing: 0; }
:root main > hgroup > time, :root main > time { display: block; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; color: var(--accent); margin-bottom: 34px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }

:root main > hgroup > time::after, :root main > time::after {
  content: "Von Martin Hofer · Senior DevOps Engineer, München-Giesing";
  display: block; margin-top: 9px;
  font-family: var(--fb), system-ui, sans-serif; font-size: 11.5px;
  font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--fg); opacity: .60;
}

:root main > article > p { margin-bottom: 18px; font-size: 18px; line-height: 1.8; }
:root main > article > p:first-of-type { }
:root main > article > h2 { font-family: var(--fh), Cambria, serif; font-size: 27px; font-weight: 700; color: var(--primary); margin: 2.4em 0 .5em; letter-spacing: 0; border-top: none; padding-top: 0; }

:root main > article > h2::before {
  content: "/ / /"; display: block;
  font-family: var(--fb), system-ui, sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: .5em; color: var(--accent);
  margin: 0 0 .7em; opacity: .7;
}
:root main > article > h2:first-of-type::before { content: none; }
:root main > article > h3 { font-family: var(--fh), Cambria, serif; font-size: 21px; font-weight: 400; color: var(--accent); margin: 1.8em 0 .3em; font-style: italic; }
:root main > article ul, :root main > article ol { margin: 0 0 18px 26px; }
:root main > article li { margin-bottom: 7px; line-height: 1.8; }

:root main > article blockquote {
  position: relative; border-left: 3px solid var(--accent);
  padding: 6px 0 6px 30px; margin: 30px 0; font-style: italic;
  color: var(--fg); font-size: 19px; line-height: 1.6;
}
:root main > article blockquote::before {
  content: "\201C"; position: absolute; left: 8px; top: -6px;
  font-family: var(--fh), Cambria, serif; font-size: 46px; line-height: 1;
  color: var(--accent); opacity: .5;
}
:root main > article pre { background: rgba(20,9,26,.92); color: rgba(240,231,210,.92); padding: 16px 18px; border-radius: 8px; overflow-x: auto; font-family: 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 13.5px; margin: 24px 0; line-height: 1.5; }
:root main > article code { font-family: 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .92em; background: rgba(76,46,74,.08); color: var(--primary); padding: 1px 6px; border-radius: 3px; }

:root main > article > p a, :root main > article > p a:visited, :root main > article > li a, :root main > article > ul > li a, :root main > article > ol > li a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600; }
:root main > article > p a:hover { color: var(--accent); text-decoration-color: var(--primary); }

:root main > article > p a[href^="/link/"], :root main > article > p a[href^="/ref/"], :root main > article > p a[href^="/try/"], :root main > article > p a[href^="/check/"], :root main > article > p a[href^="/partner/"], :root main > article > p a[href^="/go/"], :root main > article > p a[href^="/rec/"],
:root main > article > ul > li a[href^="/link/"], :root main > article > ul > li a[href^="/ref/"], :root main > article > ul > li a[href^="/try/"], :root main > article > ul > li a[href^="/check/"], :root main > article > ul > li a[href^="/partner/"], :root main > article > ul > li a[href^="/go/"], :root main > article > ul > li a[href^="/rec/"],
:root main > article > ol > li a[href^="/link/"], :root main > article > ol > li a[href^="/ref/"], :root main > article > ol > li a[href^="/try/"], :root main > article > ol > li a[href^="/go/"], :root main > article > ol > li a[href^="/rec/"] {
  background: var(--accent); color: var(--bg); padding: 4px 15px; border-radius: 8px; text-decoration: none; font-weight: 700; font-family: var(--fh), Cambria, serif; font-size: 14.5px; letter-spacing: .03em; box-shadow: 0 1px 4px rgba(0,0,0,.10); -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
:root main > article > p a[href^="/link/"]:hover, :root main > article > p a[href^="/ref/"]:hover, :root main > article > p a[href^="/try/"]:hover, :root main > article > p a[href^="/check/"]:hover, :root main > article > p a[href^="/partner/"]:hover, :root main > article > p a[href^="/go/"]:hover, :root main > article > p a[href^="/rec/"]:hover,
:root main > article > ul > li a[href^="/link/"]:hover, :root main > article > ol > li a[href^="/link/"]:hover { background: var(--primary); color: var(--bg); }

:root main > article > section:has(> img) { margin: 0 0 34px; }
:root main > article > section > img { width: 100%; height: auto; display: block; border-radius: 8px; box-shadow: 0 4px 18px rgba(20,9,26,.14); }

:root main > article > aside {
  background: var(--paper2); border: 1px solid var(--hair);
  border-left: 4px solid var(--primary); border-radius: 0 8px 8px 0;
  padding: 20px 24px; margin: 36px 0; font-size: 15px; color: var(--fg);
  font-family: var(--fb), system-ui, sans-serif; font-style: normal; line-height: 1.7;
  box-shadow: 0 1px 5px rgba(20,9,26,.05);
}

:root main > article table { border-collapse: collapse; width: 100%; margin: 26px 0; font-size: 15.5px; }
:root main > article table thead tr { background-color: var(--primary); }
:root main > article table thead th { color: var(--bg); }
:root main > article table th { padding: .7em 1em; font-weight: 700; text-align: left; font-family: var(--fb), system-ui, sans-serif; letter-spacing: .01em; }
:root main > article table td { padding: .68em 1em; border-bottom: 1px solid var(--hair); line-height: 1.5; }
:root main > article table tbody tr:nth-child(even) { background: rgba(76,46,74,.045); }

:root main > div:has(> ul):has(> h3) { margin-top: 3em; padding-top: 1.6em; border-top: 1px solid var(--dot); }
:root main > div:has(> ul) > h3 { font-family: var(--fb), system-ui, sans-serif; font-size: 12px; color: var(--accent); margin-bottom: 16px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

:root footer { background: transparent; border-top: 1px solid var(--border); padding: 26px 0 40px; margin-top: 56px; text-align: center; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; color: var(--fg); opacity: .62; letter-spacing: .04em; font-style: italic; }
:root footer a { color: var(--fg); text-decoration: none; border-bottom: 1px dotted var(--border); font-style: normal; }
:root footer a:hover { color: var(--primary); border-bottom-color: var(--primary); }

:root main:has(> div > h2) {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 28px;
  row-gap: 42px;
  align-items: stretch;
}

:root main:has(> div > h2) > div:has(> h2) {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 9px;
  padding: 26px 32px 24px;
  margin: 0;
  box-shadow: 0 1px 4px rgba(20,9,26,.05);
  transition: transform .15s ease, box-shadow .15s ease;
  order: 5;                       
  grid-column: span 3;            
}
:root main:has(> div > h2) > div:has(> h2):hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(20,9,26,.10); }
:root main:has(> div > h2) > div:has(> h2) > p:first-child {
  font-family: var(--fb), system-ui, sans-serif; font-size: 11px; color: var(--accent);
  letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin: 0 0 10px;
}
:root main:has(> div > h2) > div:has(> h2) > h2 {
  font-family: var(--fh), Cambria, serif; font-size: 20px; font-weight: 700;
  line-height: 1.24; letter-spacing: 0; margin: 0 0 12px;
}
:root main:has(> div > h2) > div:has(> h2) > h2 a { color: var(--fg); text-decoration: none; }
:root main:has(> div > h2) > div:has(> h2) > h2 a:hover { color: var(--primary); }
:root main:has(> div > h2) > div:has(> h2) > p:not(:first-child) {
  font-family: var(--fb), system-ui, sans-serif; font-size: 15px; line-height: 1.62;
  color: var(--fg); opacity: .86; margin: 0 0 16px; max-width: 64ch;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
:root main:has(> div > h2) > div:has(> h2) > a:last-child {
  margin-top: auto; align-self: flex-start;
  font-family: var(--fb), system-ui, sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--primary); border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
:root main:has(> div > h2) > div:has(> h2) > a:last-child:hover { color: var(--accent); border-bottom-color: var(--primary); }

:root main:has(> div > h2) > div:has(> h2):first-of-type {
  order: 1; grid-column: 1 / -1;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper2) 100%);
  border: 1px solid var(--hair); border-top: 4px solid var(--primary);
  border-radius: 10px; padding: 40px 48px 30px;
  box-shadow: 0 3px 16px rgba(20,9,26,.08);
}
:root main:has(> div > h2) > div:has(> h2):first-of-type:hover { transform: none; }
:root main:has(> div > h2) > div:has(> h2):first-of-type > p:first-child {
  font-size: 11.5px; letter-spacing: .22em; color: var(--accent); margin-bottom: 14px;
}
:root main:has(> div > h2) > div:has(> h2):first-of-type > p:first-child::before {
  content: "Neueste Analyse · "; color: var(--primary);
}
:root main:has(> div > h2) > div:has(> h2):first-of-type > h2 {
  font-size: 46px; font-style: italic; font-weight: 700; line-height: 1.08;
  margin-bottom: 18px; max-width: 20ch;
}
:root main:has(> div > h2) > div:has(> h2):first-of-type > p:not(:first-child) {
  font-size: 20px; line-height: 1.5; opacity: .9; max-width: 60ch;
  display: block; overflow: visible; margin-bottom: 22px;
}

:root main:has(> div > h2) > div:has(> h2):first-of-type > p:not(:first-child)::first-letter {
  float: left; font-family: var(--fh), Cambria, serif; font-weight: 700; font-style: normal;
  font-size: 3.4em; line-height: .78; padding: 6px 12px 0 0; color: var(--moment);
}
:root main:has(> div > h2) > div:has(> h2):first-of-type > a:last-child {
  font-size: 13px; border: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  border-radius: 30px; padding: 9px 24px; color: var(--primary);
}
:root main:has(> div > h2) > div:has(> h2):first-of-type > a:last-child:hover {
  background: var(--primary); color: var(--bg); border-color: var(--primary);
}

:root main:has(> div > h2) > div:has(> h2):first-of-type::before {
  content: "N\00B0 I"; position: absolute; top: 26px; right: 40px;
  font-family: var(--fh), Cambria, serif; font-style: italic; font-size: 34px;
  color: var(--primary); opacity: .16; letter-spacing: .04em;
}

:root main:has(> div > h2) > div:has(> h2):first-of-type::after {
  content: "Ein DevOps-Protokoll · Martin Hofer · sieben Kurse, 412 € Lehrgeld";
  order: 2; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--hair);
  font-family: var(--fb), system-ui, sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg); opacity: .6;
}

:root main:has(> div > h2) > div:has(> h2):nth-of-type(2),
:root main:has(> div > h2) > div:has(> h2):nth-of-type(3),
:root main:has(> div > h2) > div:has(> h2):nth-of-type(4) {
  order: 3; grid-column: span 2; border-top: 3px solid var(--accent); background: var(--paper2);
}

:root main:has(> div > h2)::before {
  content: "Redaktions-Empfehlungen — zuerst getestet";
  order: 2; grid-column: 1 / -1; margin: 18px 0 -14px;
  font-family: var(--fb), system-ui, sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--primary);
  padding-bottom: 12px; border-bottom: 1px solid var(--dot);
}

:root main:has(> div > h2)::after {
  content: "Das Notizbuch";
  order: 4; grid-column: 1 / -1; margin: 30px 0 4px;
  min-height: 200px; display: grid; place-items: center; border-radius: 9px; overflow: hidden;
  background:
    linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.30)),
    url("/static/article-bg.jpg") center 30%/cover no-repeat;
  color: #F6EFE1; font-family: var(--fb), system-ui, sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}

:root main:has(> div > h2) > div:has(> ul) {
  order: 6; grid-column: 1 / -1; margin: 0;
  background: transparent; border: 0; border-radius: 0;
  padding: 0;
}

:root main:has(> div > h2) > div:has(> ul)::before {
  content: "Mehr Artikel"; display: grid; place-items: center;
  min-height: 190px; margin: 0 0 26px; border-radius: 9px; overflow: hidden;
  background:
    linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.28)),
    url("/static/article-bg.jpg") center 70%/cover no-repeat;
  color: #F6EFE1; font-family: var(--fb), system-ui, sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
:root main:has(> div > h2) > div:has(> ul) > ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; align-items: stretch;
}
:root main:has(> div > h2) > div:has(> ul) > ul > li {
  display: flex; flex-direction: column; gap: 5px; height: 100%; margin: 0;
  background: var(--paper); border: 1px solid var(--hair); border-radius: 9px;
  box-shadow: 0 1px 4px rgba(20,9,26,.05); padding: 18px 22px;
  transition: transform .15s ease, box-shadow .15s ease;
}
:root main:has(> div > h2) > div:has(> ul) > ul > li:hover {
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(20,9,26,.10);
}
:root main:has(> div > h2) > div:has(> ul) > ul > li > a {
  color: var(--fg); text-decoration: none; font-family: var(--fh), Cambria, serif;
  font-size: 15px; font-weight: 700; line-height: 1.3;
}
:root main:has(> div > h2) > div:has(> ul) > ul > li > a:hover { color: var(--primary); }
:root main:has(> div > h2) > div:has(> ul) > ul > li > span {
  font-family: var(--fb), system-ui, sans-serif; font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent); opacity: .85;
}

@media (max-width: 760px) {
  :root > body > div:first-child:has(h1) { padding: 62px 18px 26px; }
  :root > body > div:first-child h1 { font-size: 40px; }
  :root main:has(> div > h2) { grid-template-columns: 1fr; row-gap: 30px; }
  :root main:has(> div > h2) > div:has(> h2),
  :root main:has(> div > h2) > div:has(> h2):first-of-type,
  :root main:has(> div > h2) > div:has(> h2):nth-of-type(2),
  :root main:has(> div > h2) > div:has(> h2):nth-of-type(3),
  :root main:has(> div > h2) > div:has(> h2):nth-of-type(4) { grid-column: 1 / -1; }
  :root main:has(> div > h2) > div:has(> h2):first-of-type { padding: 30px 26px 24px; }
  :root main:has(> div > h2) > div:has(> h2):first-of-type > h2 { font-size: 33px; }
  :root main:has(> div > h2) > div:has(> h2):first-of-type::before { display: none; }
  :root main:has(> div > h2) > div:has(> ul) > ul { grid-template-columns: repeat(2, 1fr); }
  :root main:has(> div > h2)::after,
  :root main:has(> div > h2) > div:has(> ul)::before { min-height: 150px; font-size: 12px; letter-spacing: .26em; }
  :root main > article > p { font-size: 17px; }
  :root main > hgroup > h1, :root main > h1 { font-size: 32px; }
  
  :root main > article table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  :root main > article table th, :root main > article table td { padding: .6em .8em; }
}

:root main > nav p,
:root main > section p {
  line-height: 1.85;
  margin: 0;
}
:root main > nav a,
:root main > section a {
  display: inline-block;
  margin: 0 4px;
  padding: 0 2px;
}

:root html, :root body { overflow-x: hidden; max-width: 100%; }
@media (max-width: 920px) {
  :root main > * { max-width: 100%; }
  :root main { overflow-x: hidden; }
}

@media (max-width: 640px) {
  :root main,
  :root main > article,
  :root main > div,
  :root main > section,
  :root main > nav {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }
  :root main > article > *,
  :root main > div > *,
  :root main > section > *,
  :root main > nav > * {
    max-width: 100%;
  }
  :root main h1,
  :root main h2,
  :root main h3,
  :root main h4 {
    overflow-wrap: break-word;
    word-break: normal;
  }
  
  :root main :is(ul, ol, section, div, nav)[style*="grid-template-columns"],
  :root main > section > ul,
  :root main > nav > ul,
  :root main > div > ul {
    grid-template-columns: 1fr !important;
  }
  
  :root main :is(ul, ol, section, div, p) {
    columns: 1;
  }
  
  :root main img,
  :root main figure {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 640px) {
  :root main {
    padding-left: 20px;
    padding-right: 20px;
  }
}

:root main:not(:has(> h1)) > div:nth-of-type(1) {
  grid-column: 1 / -1;
  position: relative;      
  overflow: visible;       
  padding: 320px 44px 40px !important;
  border-radius: 8px;
  background:
    url("/static/premium-hero-card-1.webp") no-repeat center top / 100% 300px,
    var(--bg) !important;
  margin-top: 60px !important;  
}

:root main:not(:has(> h1)) > div:nth-of-type(2) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/static/premium-hero-card-2.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:nth-of-type(3) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/static/premium-hero-card-3.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:nth-of-type(4) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/static/premium-hero-card-4.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}

:root main:not(:has(> h1)) > div:nth-of-type(5) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/static/premium-hero-strip-1.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:nth-of-type(6) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/static/premium-hero-strip-2.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}

:root main:has(> h1) > article > p:first-of-type::first-letter {
  font-family: var(--fh), Georgia, serif;
  font-size: 76px; line-height: 0.9; color: var(--primary);
  float: left; margin: 6px 12px 0 0; padding: 0; font-weight: 400;
}
:root main:has(> h1) > article > h2 + p ~ h2::before {
  content: "✦ ✦ ✦";
  display: block; text-align: center; color: var(--accent);
  font-size: 12px; letter-spacing: 0.3em; margin-bottom: 24px;
  font-weight: 400;
}

@media (max-width: 720px) {
  :root main:not(:has(> h1)) > div:nth-of-type(1) {
    padding: 240px 22px 28px !important;
    background:
      url("/static/premium-hero-card-1.webp") no-repeat center top / 100% 220px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:nth-of-type(2) {
    padding: 180px 22px 26px !important;
    background:
      url("/static/premium-hero-card-2.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:nth-of-type(3) {
    padding: 180px 22px 26px !important;
    background:
      url("/static/premium-hero-card-3.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:nth-of-type(4) {
    padding: 180px 22px 26px !important;
    background:
      url("/static/premium-hero-card-4.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1))::before,
  :root main:not(:has(> h1))::after { min-height: 240px; }
  :root main:has(> h1) > article > p:first-of-type::first-letter { font-size: 60px; }
}

