/* Dudak Dolgu — modern clinic design */

:root {
  --bg: #f3f7fc;
  --bg-deep: #e6eef8;
  --surface: #ffffff;
  --ink: #1a2740;
  --ink-soft: #5a6b82;
  --rose: #1e6fd9;
  --rose-deep: #1554a8;
  --blush: #d7e6f8;
  --gold: #4f8fd6;
  --line: rgba(26, 39, 64, 0.1);
  --shadow: 0 24px 60px rgba(21, 84, 168, 0.08);
  --radius: 22px;
  --header: 84px;
  --container: 1160px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
input,
textarea {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section.compact {
  padding-top: 0;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.section-lead {
  margin: 0;
  color: var(--ink-soft);
  max-width: 58ch;
  font-size: 16.5px;
}

.section-head {
  margin-bottom: 40px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(243, 247, 252, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(21, 84, 168, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo img {
  height: 52px;
  width: auto;
  max-width: min(280px, 52vw);
  object-fit: contain;
  object-position: left center;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-desktop a:not(.btn) {
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-desktop a:not(.btn):hover,
.nav-desktop a:not(.btn).is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 111, 217, 0.22);
}

.btn-primary:hover {
  background: var(--rose-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--rose);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 3px auto;
  background: var(--rose);
  transition: 0.2s var(--ease);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header) 0 0 0;
  background: rgba(26, 39, 64, 0.35);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.nav-mobile.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-panel {
  margin-left: auto;
  width: min(100%, 360px);
  height: 100%;
  background: var(--surface);
  padding: 28px 24px;
  transform: translateX(20px);
  transition: transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-mobile.is-open .nav-mobile-panel {
  transform: none;
}

.nav-mobile a {
  padding: 14px 6px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.nav-mobile .btn {
  margin-top: 18px;
}

body.nav-open {
  overflow: hidden;
}

/* Hero */

.hero {
  padding: 28px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose);
}

.hero-sub {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.hero p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  max-width: 48ch;
  font-size: 16.5px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #d7e6f8;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  position: absolute;
  inset: 0;
}

.hero-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  max-width: 220px;
}

.hero-badge span {
  display: block;
  color: var(--rose);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Cards */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  min-height: 100%;
  transition: transform 0.25s var(--ease);
}

.info-card:hover {
  transform: translateY(-4px);
}

.info-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blush);
  color: var(--rose-deep);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.info-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.2;
}

.info-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  position: relative;
  box-shadow: var(--shadow);
  background: #d7e6f8;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.split-copy p + p {
  margin-top: 14px;
}

.split-copy p {
  color: var(--ink-soft);
}

.split-copy a {
  color: var(--rose);
  font-weight: 600;
}

.split-copy .hero-actions,
.contact-form .hero-actions {
  margin-top: 22px;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  background: #d7e6f8;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 12px 12px 12px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
}

/* CTA band */

.cta-band {
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 8px;
  font-weight: 500;
}

.cta-band p {
  margin: 0;
  opacity: 0.9;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--rose-deep);
  box-shadow: none;
  flex-shrink: 0;
}

/* Page intro */

.page-intro {
  position: relative;
  padding: 52px 0 64px;
  color: #fff;
  background:
    radial-gradient(900px 380px at 92% -10%, rgba(90, 160, 230, 0.32), transparent 58%),
    radial-gradient(700px 280px at 0% 110%, rgba(21, 84, 168, 0.45), transparent 50%),
    linear-gradient(128deg, #102744 0%, #163a6b 46%, #1a4f9c 100%);
  overflow: hidden;
}

.page-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

.page-intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.page-intro .container {
  position: relative;
  z-index: 1;
}

.page-intro h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1;
  font-weight: 500;
  margin: 0 0 14px;
  color: #fff;
}

.page-intro .section-kicker {
  color: #9cc4f0;
}

.page-intro .section-lead,
.page-intro .split-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.page-intro .split-copy a {
  color: #d4e6fb;
}

.page-intro .breadcrumb {
  color: rgba(255, 255, 255, 0.55);
}

.page-intro .breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
}

.page-intro .split-media {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 60px rgba(8, 20, 40, 0.35);
}

.page-intro + .section.compact {
  padding-top: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.faq-card h2 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 0 0 10px;
  font-weight: 600;
  line-height: 1.25;
}

.faq-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* Contact */

.contact-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 20px;
  align-items: stretch;
}

.contact-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.contact-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item:last-of-type {
  border-bottom: 0;
  padding-bottom: 8px;
}

.contact-item h2 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 8px;
  font-weight: 700;
}

.contact-item p,
.contact-item a {
  margin: 0;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}

.contact-item a {
  display: inline-block;
}

.contact-item a + a {
  display: block;
  margin-top: 6px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.contact-split .map-wrap {
  margin-top: 0;
  min-height: 520px;
  height: 100%;
}

.contact-split .map-wrap iframe {
  height: 100%;
  min-height: 520px;
}

.map-wrap {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Footer */

.site-footer {
  position: relative;
  margin-top: 8px;
  padding: 56px 0 0;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(800px 280px at 100% 0%, rgba(90, 160, 230, 0.22), transparent 55%),
    linear-gradient(128deg, #102744 0%, #163a6b 52%, #14407f 100%);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 80%);
  pointer-events: none;
}

.footer-main,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 40px;
  align-items: start;
}

.footer-brand .logo img {
  height: 48px;
  max-width: 260px;
}

.footer-brand p {
  margin: 16px 0 0;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 28px;
}

.footer-cols h2 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9cc4f0;
  margin: 0 0 14px;
  font-weight: 700;
}

.footer-cols a {
  display: block;
  margin: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
}

.footer-cols a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 14px 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s var(--ease), border-color 0.2s, transform 0.2s var(--ease);
}

.footer-credit span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9cc4f0;
  font-weight: 700;
}

.footer-credit strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}

.footer-credit:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

/* Floating WhatsApp */

.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(160deg, #4de37e 0%, #25d366 42%, #1ebe57 100%);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.38), 0 2px 8px rgba(16, 39, 68, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.float-wa::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.float-wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2.6s ease-out infinite;
  pointer-events: none;
}

.float-wa svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}

.float-wa-label {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  background: #102744;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s var(--ease);
  box-shadow: 0 10px 24px rgba(16, 39, 68, 0.2);
}

.float-wa:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(16, 39, 68, 0.2);
}

.float-wa:hover .float-wa-label {
  opacity: 1;
  transform: none;
}

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .float-wa::after {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-desktop a:not(.btn) {
    padding-inline: 8px;
    font-size: 13px;
  }

  .nav-desktop .btn {
    min-height: 42px;
    padding-inline: 16px;
  }
}

@media (max-width: 900px) {
  :root {
    --header: 72px;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-mobile {
    display: block;
  }

  .logo img {
    height: 42px;
    max-width: calc(100vw - 120px);
  }

  .hero-grid,
  .split,
  .info-grid,
  .faq-grid,
  .contact-cards,
  .contact-layout,
  .contact-split {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .split-media {
    min-height: 320px;
  }

  .contact-split .map-wrap,
  .contact-split .map-wrap iframe {
    min-height: 320px;
  }

  .cta-band,
  .footer-main,
  .footer-bottom,
  .footer-cols {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .float-wa-label {
    display: none;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .site-footer {
    padding-bottom: 88px;
  }

  .section {
    padding: 64px 0;
  }

  .page-intro {
    padding: 36px 0 44px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-item {
    min-height: 210px;
  }

  .hero-actions .btn,
  .cta-band .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-copy,
  .faq-card,
  .contact-form,
  .blog-card,
  .article-wrap,
  .contact-panel {
    padding: 22px 18px;
  }

  .blog-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog & article */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.breadcrumb a {
  font-weight: 600;
}

.breadcrumb .sep {
  opacity: 0.4;
}

.article-wrap {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
}

.article-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 22px;
}

.article-wrap h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  margin: 32px 0 12px;
  font-weight: 600;
  line-height: 1.2;
}

.article-wrap h3 {
  font-size: 17px;
  margin: 22px 0 8px;
  font-weight: 700;
}

.article-wrap p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.article-wrap ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--ink-soft);
}

.article-wrap li {
  margin: 7px 0;
}

.article-wrap a {
  color: var(--rose);
  font-weight: 600;
}

.blog-card h2 a,
.blog-card h3 a {
  color: inherit;
}

.article-note {
  margin-top: 28px;
  padding: 14px 16px;
  border-left: 3px solid var(--rose);
  background: var(--blush);
  border-radius: 0 12px 12px 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.blog-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.blog-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.blog-card .tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-card h2,
.blog-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 0 0 10px;
  font-weight: 600;
  line-height: 1.2;
}

.blog-card p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 15px;
  flex: 1;
}

.blog-card .more {
  font-size: 14px;
  font-weight: 700;
  color: var(--rose);
}

@media (max-width: 900px) {
  .blog-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .article-wrap {
    padding: 24px 18px;
  }
}
