:root {
  --bg: #f5fbfb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-soft: #eff8f6;
  --line: rgba(72, 120, 125, 0.16);
  --text: #1c3b42;
  --muted: #53717a;
  --primary: #5aafc3;
  --primary-deep: #2f6c80;
  --accent: #8cc98f;
  --shadow: 0 24px 60px rgba(56, 108, 121, 0.15);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 5.8rem;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(122, 201, 214, 0.28), transparent 34%),
    radial-gradient(circle at top right, rgba(140, 201, 143, 0.22), transparent 26%),
    linear-gradient(180deg, #f8fefe 0%, #eef7f7 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(10px);
}

body::before {
  width: 20rem;
  height: 20rem;
  right: -5rem;
  top: 8rem;
  background: rgba(140, 201, 143, 0.14);
}

body::after {
  width: 24rem;
  height: 24rem;
  left: -9rem;
  bottom: 10rem;
  background: rgba(90, 175, 195, 0.13);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 4rem;
}

.topbar,
.hero-card,
.service-card,
.equipment-card,
.contact-panel,
.benefit-band,
.timeline article {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: fixed;
  top: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: min(1180px, calc(100% - 2rem));
  padding: 1rem 1.2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 249, 248, 0.8)),
    url("./assets/logo-physio-center-pernik-transparent.png?v=4");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center center;
  background-size: auto, 20rem auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 10px 30px rgba(63, 112, 121, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  min-width: 0;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.brand-favicon {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(63, 112, 121, 0.16));
}

.brand-logo {
  width: clamp(5.8rem, 12vw, 9.5rem);
  height: auto;
  max-width: 100%;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(63, 112, 121, 0.14));
}

.brand-text {
  font-size: 1rem;
}

.brand-phone {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(74, 157, 179, 0.16), rgba(124, 195, 145, 0.2));
  border: 1px solid rgba(74, 157, 179, 0.18);
  color: var(--primary-deep);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(74, 157, 179, 0.12);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  font-size: 1.1rem;
}

.topbar-links {
  display: flex;
  gap: 1.1rem;
  color: var(--muted);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.hero {
  padding-top: 1rem;
}

.hero-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.12));
  box-shadow:
    inset 0 0 0 1px rgba(90, 175, 195, 0.08),
    0 14px 34px rgba(63, 112, 121, 0.08);
}

.hero-logo {
  width: min(100%, 520px);
  display: block;
  max-width: 100%;
  max-height: 34vh;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(63, 112, 121, 0.12));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1.5rem;
  padding: 2.8rem 0 1.4rem;
}

.hero-copy h1,
.section-heading h2,
.service-card h3,
.equipment-card h3,
.benefit-band h3,
.contact-panel h2,
.hero-card h2 {
  font-family: "Fraunces", serif;
}

.hero-copy h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.9rem, 6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.eyebrow,
.mini-label,
.equipment-type {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.lead {
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #4a9db3 0%, #7cc391 100%);
  box-shadow: 0 18px 30px rgba(78, 149, 167, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.hero-points {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-points li::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 0 0 6px rgba(140, 201, 143, 0.12);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(238, 248, 247, 0.82));
  border: 1px solid rgba(90, 175, 195, 0.18);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.card-glow {
  position: absolute;
  top: -5rem;
  right: -4rem;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: rgba(122, 201, 214, 0.18);
}

.metric {
  display: grid;
  gap: 0.3rem;
  margin: 1rem 0 1.5rem;
}

.metric strong {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  color: var(--primary-deep);
}

.metric span,
.feature-list p,
.intro-grid p,
.service-card p,
.timeline p,
.equipment-card p,
.equipment-card li,
.benefit-band p {
  color: var(--muted);
  line-height: 1.75;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-list article {
  position: relative;
  padding: 1rem 1rem 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(90, 175, 195, 0.14);
  border-radius: var(--radius-md);
}

.section {
  padding: 3rem 0 0;
}

.section-heading {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.intro-grid,
.benefit-band,
.contact-panel {
  display: grid;
  gap: 1.2rem;
}

.intro-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-grid,
.equipment-grid,
.timeline {
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.equipment-card,
.timeline article,
.benefit-band {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-card,
.equipment-card,
.timeline article {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
}

.specialist-card {
  position: relative;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 248, 247, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.specialist-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(90, 175, 195, 0.12);
  color: var(--primary-deep);
  font-size: 0.85rem;
  font-weight: 800;
}

.specialist-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.15fr 1fr;
  gap: 1.2rem;
}

.specialist-profile {
  display: flex;
  align-items: center;
  justify-content: center;
}

.specialist-photo-shell {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 1;
  padding: 0.85rem;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(90, 175, 195, 0.22), rgba(140, 201, 143, 0.18)),
    rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.8),
    0 18px 38px rgba(63, 112, 121, 0.16);
}

.specialist-photo-shell::after {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(90, 175, 195, 0.18);
  pointer-events: none;
}

.specialist-photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  object-position: center 22%;
  box-shadow: 0 16px 28px rgba(35, 84, 96, 0.14);
}

.specialist-grid h3 {
  margin: 0 0 0.8rem;
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.specialist-name {
  margin: 0 0 0.65rem;
  color: var(--primary-deep);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.specialist-grid p,
.specialist-list li {
  color: var(--muted);
  line-height: 1.75;
}

.specialist-list {
  margin: 0;
  padding-left: 1.1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.gallery-card {
  overflow: hidden;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 420px;
  object-fit: cover;
}

.gallery-card figcaption {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.15rem;
}

.gallery-card figcaption strong {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.gallery-card figcaption span {
  color: var(--muted);
  line-height: 1.65;
}

.gallery-card-large {
  grid-row: span 2;
}

.gallery-card-wide {
  grid-column: 2;
}

.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.location-card,
.map-card {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.83), rgba(239, 248, 246, 0.72)),
    url("./assets/logo-physio-center-pernik-transparent.png?v=4");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center 66%;
  background-size: auto, 16rem auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.location-card {
  padding: 1.5rem;
}

.location-card h3 {
  margin: 0 0 0.75rem;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
}

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

.location-note {
  margin: 0 0 1rem;
}

.location-note a {
  color: var(--primary-deep);
  font-weight: 800;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.2rem 0 1.4rem;
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  backdrop-filter: blur(2px);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--primary-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-card h3,
.equipment-card h3,
.benefit-band h3 {
  margin: 0 0 0.7rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline article strong {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.equipment-grid {
  grid-template-columns: 1.1fr 1fr 0.95fr;
  align-items: start;
}

.equipment-media {
  overflow: hidden;
  margin: -1.4rem -1.4rem 1rem;
  border-radius: calc(var(--radius-lg) - 0.1rem) calc(var(--radius-lg) - 0.1rem) 1.1rem 1.1rem;
  border-bottom: 1px solid rgba(90, 175, 195, 0.16);
  background: linear-gradient(180deg, rgba(233, 247, 250, 0.9), rgba(246, 252, 251, 0.8));
}

.equipment-media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.equipment-card ul {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
}

.equipment-card a {
  display: inline-flex;
  margin-top: 1.1rem;
  color: var(--primary-deep);
  font-weight: 800;
}

.equipment-card.featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 248, 246, 0.95));
}

.equipment-card.soft {
  background: linear-gradient(180deg, rgba(246, 253, 250, 0.95), rgba(236, 247, 248, 0.92));
}

.benefit-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1.4rem;
  border-radius: var(--radius-xl);
}

.contact-panel {
  grid-template-columns: 1.2fr auto;
  align-items: center;
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(46, 108, 128, 0.88), rgba(102, 175, 146, 0.8)),
    url("./assets/logo-physio-center-pernik-transparent.png?v=4");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center center;
  background-size: auto, 18rem auto;
  color: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 70px rgba(42, 97, 113, 0.28);
}

.contact-panel .eyebrow,
.contact-panel p,
.contact-panel h2 {
  color: white;
}

.contact-panel h2 {
  margin: 0;
  max-width: 18ch;
}

.contact-copy {
  margin: 0.45rem 0 0;
  max-width: 42ch;
  line-height: 1.7;
}

.contact-panel .button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: white;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding: 0.95rem 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .hero-grid,
  .intro-grid,
  .specialist-grid,
  .gallery-grid,
  .location-grid,
  .service-grid,
  .timeline,
  .equipment-grid,
  .benefit-band,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .topbar {
    border-radius: 28px;
    flex-direction: column;
    align-items: stretch;
    background-position: center, center center;
    background-size: auto, 15rem auto;
  }

  .brand {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .topbar-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-copy h1,
  .section-heading h2,
  .contact-panel h2 {
    max-width: none;
  }

  .gallery-card-large,
  .gallery-card-wide {
    grid-row: auto;
    grid-column: auto;
  }

  .specialist-profile {
    order: -1;
    margin-bottom: 0.3rem;
  }

  .location-card,
  .map-card {
    background-position: center, center 68%;
    background-size: auto, 12rem auto;
  }

  .contact-panel {
    background-position: center, center center;
    background-size: auto, 13rem auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 1180px);
    padding-bottom: 2.5rem;
  }

  .topbar {
    padding: 0.9rem 0.85rem;
    gap: 0.85rem;
    background-position: center, center center;
    background-size: auto, 12rem auto;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-favicon {
    width: 1.9rem;
    height: 1.9rem;
  }

  .brand-text,
  .brand-phone {
    width: 100%;
    justify-content: center;
  }

  .brand-text {
    font-size: 0.96rem;
    line-height: 1.25;
  }

  .brand-phone {
    padding: 0.4rem 0.7rem;
    font-size: 0.9rem;
  }

  .topbar-links {
    gap: 0.7rem 1rem;
    font-size: 0.92rem;
  }

  .hero-grid {
    padding-top: 1.6rem;
  }

  .location-card,
  .map-card {
    background-position: center, center 70%;
    background-size: auto, 10.25rem auto;
  }

  .contact-panel {
    background-position: center, center center;
    background-size: auto, 11rem auto;
  }

  .specialist-photo-shell {
    width: min(72vw, 240px);
    padding: 0.7rem;
  }

  .hero-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0.85rem;
    padding: 0.55rem 0.7rem;
  }

  .hero-logo {
    width: min(78vw, 18rem);
    max-height: none;
  }

  .hero-copy h1 {
    font-size: 2.55rem;
  }

  .button,
  .contact-actions .button {
    width: 100%;
  }

.hero-actions,
.contact-actions {
  flex-direction: column;
}
}

.topbar-inner {
  margin-bottom: 1.2rem;
}

.service-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-link-card,
.service-page-card,
.service-hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-link-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 175, 195, 0.26);
  box-shadow: 0 28px 54px rgba(56, 108, 121, 0.18);
}

.service-link-card span {
  display: inline-flex;
  color: var(--primary-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-link-card h3,
.service-page-card h2,
.service-hero-card h1 {
  margin: 0;
  font-family: "Fraunces", serif;
}

.service-link-card h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.service-link-card p,
.service-page-card p,
.service-page-card li {
  color: var(--muted);
  line-height: 1.75;
}

.service-hero {
  padding-top: 1rem;
}

.service-hero-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 248, 247, 0.84)),
    url("./assets/logo-physio-center-pernik-transparent.png?v=4");
  background-repeat: no-repeat, no-repeat;
  background-position: center, right -1rem center;
  background-size: auto, 16rem auto;
}

.service-hero-card h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-page-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.service-page-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.service-page-card h2 {
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
}

.service-bullets {
  margin: 0;
  padding-left: 1.15rem;
}

@media (max-width: 820px) {
  body {
    padding-top: 0;
  }

  .topbar {
    position: static;
    left: auto;
    transform: none;
    width: auto;
  }

  .service-directory-grid,
  .service-page-grid {
    grid-template-columns: 1fr;
  }

  .service-hero-card {
    padding: 1.5rem;
    background-position: center, right -2rem bottom -1rem;
    background-size: auto, 12rem auto;
  }

  .service-hero-card h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .service-hero-card {
    padding: 1.25rem;
    background-position: center, right -2rem bottom -1rem;
    background-size: auto, 9rem auto;
  }
}

@media (hover: none), (pointer: coarse) {
  body {
    padding-top: 0;
  }

  .topbar {
    position: static;
    left: auto;
    transform: none;
    width: auto;
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs span {
  opacity: 0.7;
}

.article-layout,
.about-layout {
  display: grid;
  gap: 1rem;
}

.article-layout {
  grid-template-columns: 1.2fr 0.8fr;
}

.article-card,
.sidebar-card,
.faq-card,
.about-card,
.not-found-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.article-card,
.sidebar-card,
.faq-card,
.about-card,
.not-found-card {
  padding: 1.5rem;
}

.article-card h2,
.sidebar-card h3,
.faq-card h3,
.about-card h3,
.not-found-card h1 {
  margin-top: 0;
  font-family: "Fraunces", serif;
}

.related-links,
.faq-list,
.about-list {
  display: grid;
  gap: 0.9rem;
}

.related-links a {
  color: var(--primary-deep);
  font-weight: 700;
}

.faq-list article + article,
.about-list li + li {
  border-top: 1px solid rgba(90, 175, 195, 0.12);
  padding-top: 0.9rem;
}

.faq-list p,
.article-card p,
.sidebar-card p,
.about-card p,
.about-list li,
.not-found-card p {
  color: var(--muted);
  line-height: 1.78;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.not-found-wrap {
  min-height: 60vh;
  display: grid;
  place-items: center;
}

.not-found-card {
  max-width: 42rem;
  text-align: center;
}

@media (max-width: 960px) {
  .article-layout,
  .about-grid {
    grid-template-columns: 1fr;
  }
}
