
/* ======= Page hero / breadcrumb ======= */
.page-hero { padding: 80px 40px 60px; max-width: 1560px; margin: 0 auto; }
.breadcrumb { font-size: 12.5px; color: var(--ink-50); letter-spacing: 0.05em; }
.breadcrumb a { color: var(--ink-70); }
.breadcrumb a:hover { color: var(--teal-800); }
.page-hero h1 { font-family: 'Fraunces', serif; font-size: clamp(56px, 7vw, 104px); font-weight: 400; line-height: 0.98; letter-spacing: -0.025em; margin-top: 24px; }
.page-hero h1 .it { color: var(--teal-800); }
.page-hero .lead { margin-top: 28px; font-size: 18px; line-height: 1.6; color: var(--ink-70); max-width: 640px; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.page-hero .split { align-items: end; }
.page-hero .ph-media { aspect-ratio: 5/4; border-radius: 18px; overflow: hidden; background: var(--mint-100); max-height: 60vh; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; }

/* ======= Team grid ======= */
.team { padding: 40px 40px 120px; max-width: 1560px; margin: 0 auto; }
.team-filter { display: flex; gap: 6px; padding: 4px; background: var(--cream); border: 1px solid var(--hair); border-radius: 999px; width: max-content; margin: 0 auto 50px; }
.team-filter button { padding: 10px 22px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-70); transition: all .2s; }
.team-filter button.active { background: var(--teal-800); color: var(--ivory); }
.team-filter button:hover:not(.active) { color: var(--teal-800); }
.team-section-head { font-family: 'Fraunces', serif; font-size: 32px; letter-spacing: -0.01em; margin: 40px 0 24px; color: var(--teal-800); display: flex; align-items: center; gap: 16px; }
.team-section-head::after { content: ''; flex: 1; height: 1px; background: var(--hair); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { background: var(--cream); border: 1px solid var(--hair); border-radius: 16px; overflow: hidden; transition: all .3s; }
.member:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(10,47,58,0.2); border-color: var(--teal-500); }
.member-photo { aspect-ratio: 1/1; background: var(--mint-100); overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s; }
.member:hover .member-photo img { transform: scale(1.04); }
.member-body { padding: 20px; }
.member-name { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
.member-role { font-size: 12.5px; color: var(--ink-70); line-height: 1.5; margin-top: 8px; min-height: 38px; }
.member-chip { margin-top: 14px; display: inline-block; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); padding: 4px 10px; border-radius: 999px; background: var(--mint-50); }

/* ======= Service long pages ======= */
.svc-list { padding: 40px 0 120px; display: flex; flex-direction: column; gap: 80px; }
.svc-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.svc-row.reverse { grid-template-columns: 1fr 1.1fr; }
.svc-row.reverse .svc-row-text { order: 2; }
.svc-row-text .eyebrow { margin-bottom: 14px; display: block; }
.svc-row-text h3 { font-family: 'Fraunces', serif; font-size: clamp(32px, 3.5vw, 48px); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
.svc-row-text p { margin-top: 20px; font-size: 16px; line-height: 1.65; color: var(--ink-70); }
.svc-row-text ul { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; list-style: none; }
.svc-row-text ul li { font-size: 14.5px; color: var(--ink-70); padding-left: 22px; position: relative; }
.svc-row-text ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; background: var(--mint-100); border: 1.5px solid var(--teal-700); border-radius: 50%; }
.svc-row-media { aspect-ratio: 5/4; border-radius: 16px; overflow: hidden; background: var(--mint-100); max-height: 60vh; }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; }

/* ======= Pricing table ======= */
.pricing { padding: 40px 40px 120px; max-width: 1200px; margin: 0 auto; }
.pricing-tabs { display: flex; gap: 4px; padding: 4px; background: var(--cream); border: 1px solid var(--hair); border-radius: 999px; width: max-content; margin: 0 auto 40px; }
.pricing-tabs > button,
.pricing-tabs > a { padding: 12px 28px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-70); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; line-height: 1; letter-spacing: .01em; transition: background .25s ease, color .25s ease; cursor: pointer; white-space: nowrap; }
.pricing-tabs > button:hover,
.pricing-tabs > a:hover { color: var(--teal-800); background: rgba(10, 47, 58, .06); }
.pricing-tabs > button.active,
.pricing-tabs > a.active { background: var(--teal-800); color: var(--ivory); }
.pricing-tabs > button.active:hover,
.pricing-tabs > a.active:hover { background: var(--teal-800); color: var(--ivory); }
.price-section { margin-bottom: 48px; }
.price-section h3 { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); color: var(--teal-800); }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--hair); }
.price-row:last-child { border-bottom: none; }
.price-name { font-size: 15px; color: var(--ink); }
.price-val { font-family: 'Fraunces', serif; font-size: 18px; color: var(--teal-800); font-weight: 500; white-space: nowrap; }

/* ======= Contact page ======= */
.contact-wrap { padding: 40px 40px 120px; max-width: 1360px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-form { background: var(--cream); padding: 40px; border-radius: 20px; border: 1px solid var(--hair); }
.contact-form h3 { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 8px; }
.contact-form p.sub { color: var(--ink-70); font-size: 14.5px; margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 8px; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; background: var(--ivory); border: 1px solid var(--hair); border-radius: 10px; font-family: inherit; font-size: 14.5px; color: var(--ink); transition: border-color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal-800); }
.field textarea { resize: vertical; min-height: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card { background: var(--cream); border: 1px solid var(--hair); border-radius: 16px; padding: 28px; }
.info-card h4 { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 400; letter-spacing: -0.01em; color: var(--teal-800); }
.info-card .row { margin-top: 14px; display: flex; gap: 12px; font-size: 14px; color: var(--ink-70); line-height: 1.55; align-items: flex-start; }
.info-card .row svg { margin-top: 3px; color: var(--teal-700); flex-shrink: 0; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 40px 40px 120px; max-width: 1560px; margin: 0 auto; }
.blog-card { background: var(--cream); border: 1px solid var(--hair); border-radius: 16px; overflow: hidden; transition: all .3s; }
.blog-card:hover { transform: translateY(-4px); border-color: var(--teal-500); }
.blog-media { aspect-ratio: 16/10; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-media img { transform: scale(1.04); }
.blog-body { padding: 26px; }
.blog-body .meta { font-size: 11.5px; color: var(--ink-50); letter-spacing: 0.1em; text-transform: uppercase; }
.blog-body h3 { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; margin-top: 12px; }
.blog-body p { margin-top: 10px; font-size: 14px; color: var(--ink-70); line-height: 1.55; }

/* Clinic detail page */
.clinic-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.clinic-gallery { padding: 20px 40px 120px; max-width: 1560px; margin: 0 auto; }
.clinic-gallery-head { margin-bottom: 40px; }
.clinic-gallery-head h2 { font-family: 'Fraunces', serif; font-size: clamp(36px, 4vw, 56px); font-weight: 400; letter-spacing: -0.02em; }

/* ===== Service detail page ===== */
.svc-detail-hero { padding-bottom: 40px; }
.svc-detail-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; margin-top: 32px; }
.svc-detail-hero-grid .eyebrow { color: var(--teal-800); }
.svc-detail-hero-grid h1 { font-family: 'Fraunces', serif; font-size: clamp(42px, 5.2vw, 72px); font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; margin-top: 20px; }
.svc-detail-hero-grid .lead { margin-top: 22px; font-size: 17px; line-height: 1.6; color: var(--ink-70); max-width: 540px; }
.svc-detail-hero-media { aspect-ratio: 4/3; border-radius: 18px 18px 90px 18px; overflow: hidden; background: var(--mint-100); max-height: 60vh; }
.svc-detail-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.svc-detail-body { padding: 60px 40px 100px; max-width: 1100px; margin: 0 auto; }
.svc-detail-content > * + * { margin-top: 20px; }
.svc-detail-content h2.svc-detail-heading { font-family: 'Fraunces', serif; font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -0.015em; color: var(--ink); margin-top: 48px; line-height: 1.15; }
.svc-detail-content h3.svc-detail-heading { font-family: 'Fraunces', serif; font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; color: var(--teal-800); margin-top: 40px; letter-spacing: -0.01em; }
.svc-detail-content h4.svc-detail-heading, .svc-detail-content h4.svc-detail-subhead { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 500; color: var(--ink); margin-top: 28px; letter-spacing: -0.005em; }
.svc-detail-content p { font-size: 16px; line-height: 1.7; color: var(--ink-70); }
.svc-detail-content p:first-of-type { font-size: 17.5px; color: var(--ink); font-weight: 500; }
.svc-detail-list { list-style: none; padding: 0; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.svc-detail-list li { font-size: 15px; color: var(--ink-70); line-height: 1.65; padding-left: 28px; position: relative; }
.svc-detail-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; background: var(--mint-100); border: 1.5px solid var(--teal-700); border-radius: 50%; }

.svc-detail-videos { margin-top: 80px; padding-top: 56px; border-top: 1px solid var(--hair); }
.svc-detail-videos-title { font-family: 'Fraunces', serif; font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -0.015em; margin-bottom: 32px; }
.svc-detail-videos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-detail-videos-grid.single { grid-template-columns: 1fr; max-width: 820px; }
.svc-detail-video { aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: var(--mint-100); box-shadow: 0 10px 30px -12px rgba(6,34,43,0.15); }
.svc-detail-video iframe { width: 100%; height: 100%; display: block; border: 0; }

.svc-detail-other { margin-top: 80px; padding-top: 56px; border-top: 1px solid var(--hair); }
.svc-detail-other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-detail-other-card { display: block; border-radius: 16px; overflow: hidden; background: var(--ivory); border: 1px solid var(--hair); transition: transform .3s, box-shadow .3s, border-color .3s; color: var(--ink); }
.svc-detail-other-card:hover { transform: translateY(-4px); border-color: var(--teal-700); box-shadow: 0 24px 50px -18px rgba(6,34,43,0.18); }
.svc-detail-other-img { aspect-ratio: 4/3; overflow: hidden; background: var(--mint-100); }
.svc-detail-other-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.svc-detail-other-card:hover .svc-detail-other-img img { transform: scale(1.05); }
.svc-detail-other-meta { padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.svc-detail-other-n { font-family: 'Fraunces', serif; font-size: 22px; color: var(--teal-800); font-weight: 400; flex-shrink: 0; }
.svc-detail-other-t { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 500; line-height: 1.25; }

/* ===== Responsive — Laptop ≤1200 ===== */
@media (max-width: 1200px) {
  .page-hero, .team, .svc-list, .pricing, .contact-wrap, .blog-grid, .clinic-gallery { padding-left: 28px; padding-right: 28px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Responsive — Tablet ≤960 ===== */
@media (max-width: 960px) {
  .page-hero { padding: 56px 24px 40px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .page-hero .lead { margin-top: 22px; font-size: 16.5px; }

  .team { padding: 28px 24px 80px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-filter { flex-wrap: wrap; justify-content: center; max-width: 100%; }
  .team-filter button { padding: 9px 16px; font-size: 12.5px; }

  .svc-list { padding: 28px 24px 80px; gap: 56px; }
  .svc-row, .svc-row.reverse { grid-template-columns: 1fr; gap: 32px; }
  .svc-row.reverse .svc-row-text { order: 0; }
  .svc-row-media { max-width: 600px; }

  .pricing { padding: 28px 24px 80px; }
  .price-section h3 { font-size: 24px; }

  .contact-wrap { padding: 28px 24px 80px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 32px 28px; }

  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 28px 24px 80px; }

  .clinic-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .clinic-gallery { padding: 16px 24px 80px; }

  .svc-detail-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-detail-hero-media { border-radius: 18px 18px 60px 18px; }
  .svc-detail-body { padding: 40px 24px 80px; }
  .svc-detail-videos-grid { grid-template-columns: 1fr; gap: 18px; }
  .svc-detail-other-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Responsive — Mobile ≤640 ===== */
@media (max-width: 640px) {
  .page-hero { padding: 36px 18px 28px; }
  .page-hero h1 { font-size: clamp(36px, 9.5vw, 52px); margin-top: 16px; }
  .page-hero .lead { font-size: 15.5px; margin-top: 18px; }

  .team { padding: 20px 18px 60px; }
  .team-grid { grid-template-columns: 1fr; gap: 14px; }
  .team-section-head { font-size: 24px; margin: 28px 0 18px; }
  .member-body { padding: 18px; }
  .member-name { font-size: 18px; }
  .member-role { min-height: auto; }

  .svc-list { padding: 20px 18px 60px; gap: 44px; }
  .svc-row, .svc-row.reverse { gap: 22px; }
  .svc-row-text h3 { font-size: 28px; }
  .svc-row-text p { font-size: 15px; margin-top: 16px; }

  .pricing { padding: 20px 18px 60px; }
  .pricing-tabs { max-width: 100%; flex-wrap: wrap; justify-content: center; }
  .pricing-tabs button { padding: 10px 18px; font-size: 12.5px; }
  .price-section { margin-bottom: 36px; }
  .price-section h3 { font-size: 22px; margin-bottom: 14px; }
  .price-row { grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; }
  .price-name { font-size: 14px; }
  .price-val { font-size: 16px; }

  .contact-wrap { padding: 20px 18px 60px; }
  .contact-form { padding: 26px 20px; border-radius: 16px; }
  .contact-form h3 { font-size: 26px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .info-card { padding: 22px; }
  .info-card h4 { font-size: 22px; }

  .blog-grid { grid-template-columns: 1fr; gap: 14px; padding: 20px 18px 60px; }
  .blog-body { padding: 22px; }
  .blog-body h3 { font-size: 20px; }

  .clinic-gallery { padding: 12px 18px 60px; }

  .svc-detail-hero-grid { gap: 22px; margin-top: 22px; }
  .svc-detail-hero-grid h1 { font-size: clamp(32px, 8.5vw, 46px); margin-top: 14px; }
  .svc-detail-hero-grid .lead { font-size: 15.5px; margin-top: 16px; }
  .svc-detail-body { padding: 30px 18px 60px; }
  .svc-detail-content h2.svc-detail-heading { font-size: 24px; margin-top: 36px; }
  .svc-detail-content h3.svc-detail-heading { font-size: 20px; margin-top: 28px; }
  .svc-detail-content p:first-of-type { font-size: 16px; }
  .svc-detail-list li { font-size: 14.5px; }
  .svc-detail-videos, .svc-detail-other { margin-top: 56px; padding-top: 36px; }
  .svc-detail-other-grid { grid-template-columns: 1fr; }
}

/* ======= Blog listing ======= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1320px; margin: 0 auto; padding: 20px 40px 120px; }
.blog-card { display: block; text-decoration: none; color: inherit; border-radius: 16px; overflow: hidden; background: var(--cream); transition: transform .35s ease, box-shadow .35s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -22px rgba(10,47,58,.28); }
.blog-media { aspect-ratio: 4/3; overflow: hidden; background: var(--mint-100); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-media img { transform: scale(1.04); }
.blog-body { padding: 24px 26px 28px; }
.blog-body .meta { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 10px; }
.blog-body h3 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 24px; letter-spacing: -0.015em; line-height: 1.2; color: var(--ink); }
/* ======= Responsive — Laptop optimizations (page-specific) ======= */

@media (min-width: 1201px) and (max-width: 1600px) {
  .page-hero, .team, .svc-list, .pricing, .contact-wrap, .blog-grid, .clinic-gallery { padding-left: 36px; padding-right: 36px; }
}

@media (min-width: 1201px) and (max-width: 1440px) {
  .page-hero { padding: 64px 32px 48px; }
  .page-hero h1 { font-size: clamp(48px, 6.4vw, 88px); }
  .page-hero .lead { font-size: 17px; }
  .team, .svc-list, .pricing, .contact-wrap, .blog-grid, .clinic-gallery { padding-left: 32px; padding-right: 32px; }
  .team-grid { gap: 18px; }
  .blog-grid { gap: 22px; }
  .svc-detail-body { padding: 48px 32px 80px; }
}

@media (min-width: 1201px) and (max-width: 1366px) {
  .page-hero { padding: 52px 32px 38px; }
  .page-hero h1 { font-size: clamp(44px, 6.2vw, 76px); }
  .page-hero .lead { font-size: 16.5px; margin-top: 22px; }
  .team-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .member-body { padding: 18px; }
  .member-name { font-size: 18px; }
  .member-role { font-size: 12px; min-height: 34px; }
  .blog-grid { gap: 20px; }
  .svc-row { gap: 44px; }
  .svc-row-text h3 { font-size: clamp(28px, 3.2vw, 42px); }
  .article-page { max-width: 780px; }
  .art-body p { font-size: 16.5px; }
}
/* ======= Legal pages ======= */
.legal-body { max-width: 1100px; margin: 0 auto; padding: 8px 40px 100px; }
.legal-body h2 { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(28px, 2.8vw, 38px); letter-spacing: -0.018em; line-height: 1.18; color: var(--teal-800); margin: 56px 0 18px; }
.legal-body h2:first-child { margin-top: 12px; }
.legal-body h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); margin: 36px 0 14px; }
.legal-body p { font-size: 16px; line-height: 1.78; color: var(--ink-70); margin-bottom: 20px; }
.legal-body p strong, .legal-body p b { color: var(--ink); font-weight: 600; }
.legal-list { list-style: none; padding: 0; margin: 14px 0 28px; }
.legal-list li { position: relative; padding: 11px 0 11px 28px; font-size: 15px; line-height: 1.7; color: var(--ink-70); border-bottom: 1px dashed var(--hair); }
.legal-list li:last-child { border-bottom: none; }
.legal-list li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 10px; height: 2px; background: var(--teal-800); border-radius: 2px; }

@media (max-width: 1366px) { .legal-body { padding-left: 32px; padding-right: 32px; } }
@media (max-width: 960px)  { .legal-body { padding: 0 24px 80px; } .legal-body h2 { margin-top: 44px; } }
@media (max-width: 640px)  { .legal-body { padding: 0 18px 60px; } .legal-body h2 { margin: 36px 0 14px; } .legal-body p { font-size: 15.5px; line-height: 1.72; } }


/* Legal pages — constrain page-hero same as legal-body for visual alignment */
.page-hero:has(+ .legal-body) { max-width: 1100px; padding-top: 64px; padding-bottom: 16px; }
.page-hero:has(+ .legal-body) h1 { font-size: clamp(42px, 5vw, 68px); margin-top: 18px; }

/* Article page hero — slightly smaller h1 to feel proportional with content */
.article-page .page-hero h1 { font-size: clamp(40px, 5.2vw, 64px); }
/* ======= Article page (blog post) ======= */
.article-page { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.article-page .page-hero { padding: 64px 0 16px; max-width: none; }
.article-page .page-hero h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.06; margin-top: 18px; letter-spacing: -0.02em; }
.art-meta-top { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); margin-top: 28px; font-weight: 500; }

.art-hero-media { border-radius: 18px; overflow: hidden; background: var(--mint-100); aspect-ratio: 16/9; margin: 36px 0 56px; max-width: none; }
.art-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.art-body { padding: 0 0 64px; max-width: none; }
.art-body ol.art-list { counter-reset: art-num; padding-left: 0; }
.art-body ol.art-list li::before { content: counter(art-num); counter-increment: art-num; position: absolute; left: 2px; top: 12px; width: 28px; height: 28px; background: var(--teal-800); color: var(--ivory); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-size: 13px; font-weight: 500; line-height: 1; }
.art-body ol.art-list li { padding: 14px 0 14px 48px; }
.art-body p { font-size: 17.5px; line-height: 1.85; color: var(--ink-70); margin-bottom: 26px; }
.art-body p:last-child { margin-bottom: 0; }
.art-body h2 { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.02em; color: var(--teal-800); margin: 56px 0 22px; line-height: 1.15; }
.art-body h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.01em; color: var(--ink); margin: 40px 0 14px; line-height: 1.25; }
.art-body h2 + p, .art-body h3 + p { margin-top: 0; }
.art-list { list-style: none; padding: 0; margin: 12px 0 32px; }
.art-list li { position: relative; padding: 14px 0 14px 36px; font-size: 16.5px; line-height: 1.7; color: var(--ink-70); border-bottom: 1px dashed var(--hair); }
.art-list li:last-child { border-bottom: none; }
.art-list li::before { content: ''; position: absolute; left: 6px; top: 25px; width: 14px; height: 2px; background: var(--teal-800); border-radius: 2px; }
.art-inline-img { display: block; width: 100%; height: auto; border-radius: 14px; margin: 36px 0; }

.art-cta { margin: 72px 0 56px; }
.art-cta-inner { background: var(--teal-800); color: var(--ivory); border-radius: 22px; padding: 56px 48px; text-align: center; }
.art-cta-inner .eyebrow { color: rgba(255,253,249,.7); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.art-cta-inner h3 { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(28px, 3.5vw, 40px); letter-spacing: -0.018em; margin: 14px 0 30px; color: var(--ivory); line-height: 1.15; }
.art-cta-inner .btn-primary { display: inline-block; background: var(--ivory); color: var(--teal-800); padding: 15px 36px; border-radius: 999px; font-weight: 500; font-size: 14.5px; letter-spacing: .015em; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.art-cta-inner .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(0,0,0,.35); }

.art-related { margin: 72px 0 120px; }
.art-related .eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); }
.art-related > h3 { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(28px, 3.5vw, 40px); letter-spacing: -0.02em; margin: 12px 0 36px; color: var(--ink); line-height: 1.15; }
.rel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.rel-card { display: block; text-decoration: none; color: inherit; border-radius: 14px; overflow: hidden; background: var(--cream); transition: transform .3s ease, box-shadow .3s ease; }
.rel-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(10,47,58,.25); }
.rel-media { aspect-ratio: 4/3; overflow: hidden; background: var(--mint-100); }
.rel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rel-card:hover .rel-media img { transform: scale(1.03); }
.rel-body { padding: 18px 22px 22px; }
.rel-meta { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 8px; }
.rel-body h4 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); line-height: 1.22; }

@media (max-width: 960px) {
  .article-page { max-width: 720px; padding: 0 32px; }
  .article-page .page-hero { padding: 48px 0 12px; }
  .art-body p { font-size: 17px; }
  .art-body h2 { margin-top: 48px; }
  .art-cta-inner { padding: 44px 32px; }
}
@media (max-width: 640px) {
  .article-page { padding: 0 22px; }
  .article-page .page-hero { padding: 36px 0 10px; }
  .art-body p { font-size: 16.5px; line-height: 1.75; margin-bottom: 22px; }
  .art-body h2 { font-size: clamp(24px, 7vw, 30px); margin: 40px 0 16px; }
  .art-body h3 { font-size: clamp(18px, 5.5vw, 22px); margin: 32px 0 12px; }
  .art-list li { font-size: 15.5px; padding: 12px 0 12px 28px; }
  .art-list li::before { top: 22px; }
  .art-hero-media { margin: 28px 0 40px; border-radius: 14px; }
  .art-cta { margin: 56px 0 40px; }
  .art-cta-inner { padding: 36px 24px; border-radius: 18px; }
  .art-related { margin: 56px 0 80px; }
  .rel-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ===== Videouri educative (reels) ===== */
.reels-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:28px;
  max-width:1120px;
  margin:0 auto;
}
.reel-card{
  display:flex;
  flex-direction:column;
  opacity:0;
  transform:translateY(18px);
  animation:reelIn .7s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes reelIn{to{opacity:1;transform:none;}}
.reel-media{
  position:relative;
  aspect-ratio:9/16;
  border-radius:18px;
  overflow:hidden;
  background:var(--teal-900,#0A2F3A);
  box-shadow:0 14px 34px rgba(10,31,44,.16);
  transition:transform .35s ease, box-shadow .35s ease;
}
.reel-card:hover .reel-media{
  transform:translateY(-4px);
  box-shadow:0 22px 48px rgba(10,31,44,.24);
}
.reel-video{
  width:100%;height:100%;
  object-fit:cover;display:block;
}
.reel-cap{
  display:flex;align-items:baseline;gap:10px;
  padding:14px 4px 0;
}
.reel-num{
  font-family:'Fraunces',Georgia,serif;
  font-size:14px;font-weight:500;
  color:var(--teal-700,#1E6B7E);
  letter-spacing:.02em;flex-shrink:0;
}
.reel-cap h3{
  font-family:'Fraunces',Georgia,serif;
  font-weight:500;font-size:17px;line-height:1.3;
  color:var(--ink,#0A1F2C);margin:0;
}
@media (max-width:560px){
  .reels-grid{grid-template-columns:1fr;gap:22px;}
  .reel-card{max-width:340px;width:100%;margin-inline:auto;}
  .reel-cap h3{font-size:15px;}
}

/* Fullscreen: show the full 9:16 frame (no crop) on any screen/orientation.
   Separate rules per vendor prefix so one unknown selector can't void the rest. */
.reel-video:fullscreen{object-fit:contain;width:100%;height:100%;background:#000;}
.reel-video:-webkit-full-screen{object-fit:contain;width:100%;height:100%;background:#000;}
.reel-video:-moz-full-screen{object-fit:contain;width:100%;height:100%;background:#000;}
.reel-video:-ms-fullscreen{object-fit:contain;width:100%;height:100%;background:#000;}
/* Some browsers wrap the element in a ::backdrop */
.reel-video::backdrop{background:#000;}
