:root {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #201f1b;
  background: #f6f1e7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --bg: #f6f1e7;
  --paper: #fffaf0;
  --paper-soft: #fff6df;
  --paper-strong: #fffdf7;
  --ink: #201f1b;
  --muted: #6f6a60;
  --line: #c7b794;
  --line-soft: #ded3be;
  --danger: #d94e36;
  --teal: #1d8b7b;
  --gold: #cf9825;
  --guide-readable-width: 820px;
  --guide-sidebar-width: 280px;
  --guide-layout-gap: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(32, 31, 27, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(32, 31, 27, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
}

a {
  color: inherit;
}

.guides-shell {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.guides-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.guides-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 950;
}

.guides-brand img {
  width: 52px;
  height: 52px;
  display: block;
  padding: 3px;
  border-radius: 8px;
  background: var(--ink);
  object-fit: contain;
  box-shadow: 5px 5px 0 var(--danger);
}

.guides-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.small-button,
.guides-nav > a,
.guides-nav-cta,
.guide-sidebar-cta,
.guide-sidebar-link,
.guide-cta-panel a,
.guide-more-panel a,
.guide-card-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--paper-strong);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(32, 31, 27, 0.16);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.language-picker {
  position: relative;
  z-index: 20;
  flex: 0 0 auto;
}

.language-picker[open] {
  z-index: 30;
}

.language-button {
  min-width: 88px;
  padding: 0 15px;
  color: var(--ink);
  background: var(--paper);
  font-size: 0.94rem;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.language-button::-webkit-details-marker {
  display: none;
}

.language-button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-button .language-chevron {
  width: 15px;
  height: 15px;
  transition: transform 160ms ease;
}

.language-picker[open] .language-chevron {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 170px;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  box-shadow:
    4px 4px 0 rgba(32, 31, 27, 0.18),
    0 16px 40px rgba(32, 31, 27, 0.18);
}

.language-option {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0 10px;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  font-weight: 900;
  text-decoration: none;
  text-align: left;
}

.language-option small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
}

.language-option:hover,
.language-option:focus-visible,
.language-option.active {
  border-color: var(--ink);
  background: var(--paper-soft);
  box-shadow: none;
  transform: none;
}

.guides-nav-cta,
.guide-sidebar-cta,
.guide-sidebar-link,
.guide-cta-panel a {
  color: var(--paper);
  background: var(--teal);
}

.guides-nav-link.active {
  background: var(--paper-soft);
}

.guides-nav .guides-nav-cta {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--teal);
}

.guides-nav .guides-nav-cta svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.small-button:hover,
.small-button:focus-visible,
.guides-nav > a:hover,
.guides-nav > a:focus-visible,
.guide-sidebar-cta:hover,
.guide-sidebar-cta:focus-visible,
.guide-sidebar-link:hover,
.guide-sidebar-link:focus-visible,
.guide-cta-panel a:hover,
.guide-cta-panel a:focus-visible,
.guide-more-panel a:hover,
.guide-more-panel a:focus-visible,
.guide-card-link:hover,
.guide-card-link:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 rgba(32, 31, 27, 0.2);
}

.guide-more-panel a {
  color: var(--ink);
  background: var(--gold);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.7fr);
  gap: 22px;
  align-items: start;
  margin-top: 42px;
  padding: 22px 0 0;
  border-top: 2px solid var(--ink);
}

.site-footer-brand {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.site-footer-logo {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
}

.site-footer-logo img {
  width: 44px;
  height: 44px;
  display: block;
  padding: 3px;
  border-radius: 8px;
  background: var(--ink);
  object-fit: contain;
  box-shadow: 4px 4px 0 var(--danger);
}

.site-footer-brand p,
.site-footer-meta {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.site-footer-links,
.site-footer-languages {
  min-width: 0;
  display: flex;
  gap: 10px 14px;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer-language-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper-strong);
  box-shadow: 3px 3px 0 rgba(32, 31, 27, 0.14);
  text-decoration: none;
}

.site-footer-language-link.active {
  background: var(--paper-soft);
}

.site-footer-language-link small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
}

.site-footer-links a,
.site-footer-languages a,
.site-footer-meta a {
  color: var(--ink);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer-meta {
  grid-column: 1 / -1;
  padding-top: 4px;
  font-size: 0.92rem;
}

.guides-index-hero,
.guide-hero {
  display: grid;
  gap: 14px;
}

.guide-article {
  display: grid;
  gap: 16px;
}

.guide-breadcrumb,
.guide-hero {
  width: 100%;
  margin-inline: 0;
}

.guides-index-hero > span,
.guides-card > span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.guides-index-hero h1,
.guide-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.3rem, 6vw, 4.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.guides-index-hero p,
.guide-hero > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
}

.guides-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.guides-index-layout {
  display: grid;
  gap: 16px;
}

.guides-directory {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.guides-index-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.guides-directory-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 16px;
  align-items: end;
}

.guides-directory-heading span,
.guides-search span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.guides-directory-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1;
}

.guides-search {
  display: grid;
  gap: 8px;
  width: 100%;
}

.guides-search input {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper-strong);
  font: inherit;
  outline: none;
}

.guides-search input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal), transparent 78%);
}

.guides-card {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 9px;
  align-content: start;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.98), color-mix(in srgb, var(--teal), var(--paper) 88%));
  box-shadow: 5px 5px 0 var(--teal);
}

.guides-card:hover,
.guides-card:focus-within {
  transform: translate(-1px, -1px);
  box-shadow: 7px 7px 0 var(--teal);
}

.guides-card[hidden],
.guides-empty[hidden] {
  display: none;
}

.guides-card h2 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.08;
}

.guides-card h2 a {
  text-decoration: none;
}

.guides-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
}

.guides-card h2 a:focus-visible {
  outline: none;
}

.guides-card:focus-within {
  outline: 3px solid color-mix(in srgb, var(--teal), transparent 35%);
  outline-offset: 4px;
}

.guides-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.guides-card time,
.guide-meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.guides-empty {
  margin: 0;
  padding: 16px;
  border: 2px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 250, 240, 0.72);
  font-weight: 850;
}

.guides-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 4px 4px 0 rgba(32, 31, 27, 0.12);
}

.guides-sidebar h2 {
  margin: 0;
  font-size: 1.1rem;
}

.guides-recent-list {
  display: grid;
  gap: 10px;
}

.guides-recent-list a {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  text-decoration: none;
}

.guides-recent-list span {
  font-weight: 950;
  line-height: 1.15;
}

.guides-recent-list time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.guide-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.guide-breadcrumb a {
  text-decoration: none;
}

.guide-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.guide-meta > * {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: var(--paper-strong);
}

.guide-meta-short {
  display: none;
}

.guide-answer {
  width: min(
    var(--guide-readable-width),
    calc(100% - var(--guide-sidebar-width) - var(--guide-layout-gap))
  );
  margin-top: 4px;
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 4px 4px 0 color-mix(in srgb, var(--gold), transparent 22%);
}

.guide-answer > strong {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.guide-answer p {
  margin: 0;
  line-height: 1.5;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--guide-sidebar-width);
  justify-content: stretch;
  gap: var(--guide-layout-gap);
  align-items: start;
}

.guide-recent-sidebar {
  position: sticky;
  top: 18px;
  width: 100%;
  justify-self: end;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 4px 4px 0 rgba(32, 31, 27, 0.12);
}

.guide-recent-sidebar h2 {
  margin: 0;
  font-size: 1.1rem;
}

.guide-copy-section ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.guide-copy-section li {
  line-height: 1.45;
}

.guide-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-inline-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.guide-inline-links a:hover,
.guide-inline-links a:focus-visible {
  border-color: var(--teal);
  box-shadow: 3px 3px 0 rgba(32, 31, 27, 0.12);
}

.guide-sources-section {
  padding-top: 4px;
}

.guide-sources-section h2 {
  font-size: 1.22rem;
}

.guide-body {
  width: min(var(--guide-readable-width), 100%);
  justify-self: start;
  display: grid;
  gap: 28px;
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 8px 8px 0 rgba(32, 31, 27, 0.14);
}

.guide-copy-section {
  display: grid;
  gap: 12px;
}

.guide-copy-section h2,
.guide-cta-panel h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
  line-height: 1;
}

.guide-copy-section p,
.guide-cta-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.6;
}

.guide-couch-pals-link {
  color: var(--teal);
  font-weight: 950;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.guide-couch-pals-link:hover,
.guide-couch-pals-link:focus-visible {
  color: var(--ink);
}

.guide-body-figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.guide-body-figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1693 / 929;
  border: 2px solid var(--ink);
  border-radius: 8px;
  object-fit: cover;
  box-shadow:
    5px 5px 0 var(--teal),
    0 16px 34px rgba(32, 31, 27, 0.1);
}

.guide-body-figure figcaption {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.4;
}

.guide-setup-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

.guide-setup {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 13px;
  align-content: start;
  align-items: start;
  min-height: 220px;
  padding: 16px 46px 16px 15px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--mode-card-accent), var(--paper) 78%),
      rgba(255, 250, 240, 0.96) 54%
    );
  box-shadow:
    7px 7px 0 var(--mode-card-accent),
    0 16px 34px rgba(32, 31, 27, 0.08);
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.guide-setup::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 17px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  opacity: 0.55;
  transform: rotate(-45deg);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.guide-setup:hover,
.guide-setup:focus-within {
  transform: translate(-2px, -2px);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--mode-card-accent), var(--paper) 68%),
      rgba(255, 250, 240, 0.98) 58%
    );
  box-shadow:
    10px 10px 0 var(--mode-card-accent),
    0 20px 38px rgba(32, 31, 27, 0.11);
}

.guide-setup:hover::after,
.guide-setup:focus-within::after {
  opacity: 0.9;
  transform: translate(2px, -2px) rotate(-45deg);
}

.guide-setup:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--mode-card-accent), transparent 50%);
  outline-offset: 4px;
}

.guide-setup:active {
  transform: translate(3px, 3px);
  box-shadow:
    3px 3px 0 var(--mode-card-accent),
    0 8px 18px rgba(32, 31, 27, 0.08);
}

.guide-setup-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 3px 3px 0 var(--mode-card-accent);
  transition: transform 160ms ease;
}

.guide-setup-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-setup:hover .guide-setup-icon,
.guide-setup:focus-visible .guide-setup-icon {
  transform: rotate(-2deg);
}

.guide-setup-copy {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: start;
}

.guide-setup h3 {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.12;
}

.guide-setup-summary {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.38;
}

.guide-setup-summary span {
  min-width: 0;
}

.guide-setup-summary strong {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.guide-setup-cta {
  width: fit-content;
  margin-top: 2px;
  padding: 8px 11px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  color: var(--paper);
  background: var(--mode-card-accent);
  box-shadow: 3px 3px 0 rgba(32, 31, 27, 0.2);
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1;
}

.guide-card-link {
  width: fit-content;
}

.guide-cta-panel {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.98), color-mix(in srgb, var(--danger), var(--paper) 86%));
  box-shadow: 6px 6px 0 var(--danger);
}

.guide-cta-panel a {
  width: fit-content;
}

.guide-more-panel {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-soft);
  box-shadow: 5px 5px 0 var(--gold);
}

.guide-more-panel h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1;
}

.guide-more-panel p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.guide-more-panel a,
.guide-sidebar-link {
  width: fit-content;
}

.guides-recent-list a[aria-current="page"] {
  border-color: var(--teal);
  box-shadow: inset 4px 0 0 var(--teal);
}

.guide-faq-list {
  display: grid;
  gap: 10px;
}

.guide-faq-item {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 4px 4px 0 rgba(32, 31, 27, 0.11);
}

.guide-faq-item summary {
  display: block;
  min-height: 56px;
  padding: 16px 14px;
  cursor: pointer;
  font-weight: 950;
  line-height: 1.35;
}

.guide-faq-item p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 820px) {
  .site-footer {
    grid-template-columns: 1fr;
  }

  .guides-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .guides-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-answer {
    width: min(var(--guide-readable-width), 100%);
  }

  .guide-recent-sidebar,
  .guides-sidebar {
    position: static;
  }

  .guides-index-content,
  .guides-directory-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .guides-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 18px;
  }

  .guides-header {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .guides-brand {
    min-width: 0;
  }

  .guides-brand span {
    white-space: nowrap;
  }

  .guides-nav {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
  }

  .site-footer {
    margin-top: 30px;
    gap: 16px;
  }

  .site-footer-links,
  .site-footer-languages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .guides-nav > a:not(.guides-nav-cta) {
    display: none;
  }

  .guides-nav .guides-nav-cta {
    width: auto;
    min-height: 42px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .guides-nav-cta-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .guides-nav .language-menu .language-option {
    display: flex;
  }

  .guides-nav > a,
  .guides-nav-cta,
  .guide-sidebar-cta,
  .guide-sidebar-link,
  .guide-cta-panel a,
  .guide-more-panel a,
  .guide-card-link {
    width: 100%;
  }

  .guides-index-content,
  .guides-list,
  .guides-card,
  .guides-sidebar,
  .guides-recent-list a {
    max-width: 100%;
    min-width: 0;
  }

  .guides-card h2,
  .guides-card p,
  .guides-recent-list span {
    overflow-wrap: anywhere;
  }

  .guides-index-hero h1,
  .guide-hero h1 {
    font-size: 2.25rem;
    line-height: 0.96;
  }

  .guide-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .guide-meta > * {
    min-width: 0;
    min-height: 24px;
    justify-content: center;
    padding: 0 5px;
    font-size: 0.62rem;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
  }

  .guide-meta-full {
    display: none;
  }

  .guide-meta-short {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .guide-setup-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .guides-brand span {
    display: none;
  }
}
