/* Each theme only swaps these tokens; layout and components are shared. */
.clinic-landing {
  --landing-paper: #f6f3ea;
  --landing-surface: #fffdf8;
  --landing-line: #ddd6c4;
  --landing-ink: #173d30;
  --landing-muted: #4e6256;
  --landing-pine: #194f3b;
  --landing-berry: #a23240;
  --landing-gold: #e6c98a;
  color: var(--landing-ink);
  background: var(--landing-paper);
  min-height: 100vh;
  padding: 0 max(24px, calc((100vw - 1200px) / 2)) 24px;
  overflow: hidden;
}
.clinic-landing.landing-theme-christmas { --landing-paper: #f5f1e8; --landing-line: #dcd3c0; --landing-ink: #1c3a2c; --landing-pine: #1d4a36; --landing-berry: #ab2a33; --landing-gold: #e3c27a; }
.clinic-landing.landing-theme-loykrathong { --landing-paper: #f3f1ec; --landing-surface: #fffefa; --landing-line: #d9d5ca; --landing-ink: #1a2a4a; --landing-muted: #4c5670; --landing-pine: #1b2c55; --landing-berry: #9a4a12; --landing-gold: #f2cf7d; }
.clinic-landing.landing-theme-newyear { --landing-paper: #f4f2f7; --landing-surface: #fffeff; --landing-line: #dad6e3; --landing-ink: #1e1f45; --landing-muted: #50526f; --landing-pine: #1d1f4f; --landing-berry: #a2264b; --landing-gold: #f2c45a; }
.clinic-landing.landing-theme-songkran { --landing-paper: #eef6f8; --landing-surface: #fcfeff; --landing-line: #cfe1e7; --landing-ink: #12394a; --landing-muted: #48626d; --landing-pine: #0d5370; --landing-berry: #0b6488; --landing-gold: #ffd66b; }
.clinic-landing.landing-theme-valentine { --landing-paper: #fbf3f4; --landing-surface: #fffbfb; --landing-line: #ecd6db; --landing-ink: #4a1626; --landing-muted: #6d4a54; --landing-pine: #6e1a33; --landing-berry: #b3214a; --landing-gold: #f4b9c6; }
.clinic-landing.landing-theme-chinesenewyear { --landing-paper: #faf3e8; --landing-surface: #fffcf6; --landing-line: #e8d6bb; --landing-ink: #3d1410; --landing-muted: #6a4a3e; --landing-pine: #7a1016; --landing-berry: #b0161f; --landing-gold: #eec36a; }
.clinic-landing.landing-theme-fathersday { --landing-paper: #fbf6e6; --landing-surface: #fffdf5; --landing-line: #e6dbb6; --landing-ink: #3a2c06; --landing-muted: #625536; --landing-pine: #5a4300; --landing-berry: #8a5a00; --landing-gold: #f6c12f; }
.clinic-landing.landing-theme-mothersday { --landing-paper: #f2f6fb; --landing-surface: #fcfdff; --landing-line: #d5e0ec; --landing-ink: #17304f; --landing-muted: #4b5d73; --landing-pine: #1d3f66; --landing-berry: #2a5f97; --landing-gold: #cfe0f2; }
.clinic-landing.landing-theme-mourning { --landing-paper: #f6f6f4; --landing-surface: #ffffff; --landing-line: #d9d9d5; --landing-ink: #1d1d1d; --landing-muted: #4a4a4a; --landing-pine: #222222; --landing-berry: #1d1d1d; --landing-gold: #c9c9c9; }
.clinic-landing * { box-sizing: border-box; }
.landing-snowfall { position: fixed; inset: 0; z-index: 21; overflow: hidden; pointer-events: none; contain: strict; }
.landing-snowflake {
  position: absolute;
  top: 0;
  left: calc((var(--snow-index) + .5) * 100% / var(--snow-count));
  --snow-drift: 28px;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  text-shadow: 0 0 1px #5f86a8, 0 1px 4px #2f557a99;
  opacity: 0;
  animation: landing-snowfall 16s linear infinite;
  animation-delay: calc(var(--snow-index) * -1s);
}
.landing-snowflake::before { content: '\2744'; }
.landing-snowflake:nth-child(3n) { --snow-drift: -24px; font-size: 18px; animation-duration: 20s; }
.landing-snowflake:nth-child(3n + 1) { --snow-drift: -12px; font-size: 32px; animation-duration: 14s; }
@keyframes landing-snowfall {
  0% { transform: translate3d(0, -36px, 0) rotate(0deg); opacity: 0; }
  8%, 90% { opacity: .95; }
  100% { transform: translate3d(var(--snow-drift), calc(100vh + 36px), 0) rotate(180deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce), print {
  .landing-snowfall { display: none; }
  .landing-snowflake { animation: none; }
}
.landing-lantern-sky { position: fixed; inset: 0; z-index: 21; overflow: hidden; pointer-events: none; contain: strict; }
.landing-lantern {
  position: absolute;
  bottom: 0;
  left: calc((var(--lantern-index) + .5) * 100% / var(--lantern-count));
  --lantern-drift: 36px;
  width: 16px;
  height: 22px;
  border-radius: 7px 7px 4px 4px;
  background: linear-gradient(#ffe2a0, #f39a45 70%, #d9672e);
  box-shadow: 0 0 16px 4px #ffb85a66;
  opacity: 0;
  animation: landing-lantern-rise 22s linear infinite;
  animation-delay: calc(var(--lantern-index) * -1.9s);
}
.landing-lantern:nth-child(3n) { --lantern-drift: -28px; transform: scale(.75); animation-duration: 27s; }
.landing-lantern:nth-child(3n + 1) { --lantern-drift: 14px; animation-duration: 18s; }
@keyframes landing-lantern-rise {
  0% { transform: translate3d(0, 30px, 0); opacity: 0; }
  10%, 80% { opacity: .75; }
  100% { transform: translate3d(var(--lantern-drift), calc(-100vh - 40px), 0); opacity: 0; }
}
.landing-krathong-float { animation: landing-krathong-bob 5s ease-in-out infinite; }
.landing-krathong-float + .landing-krathong-float { animation-delay: -2.5s; }
.landing-krathong-flame { animation: landing-flame-flicker 1.6s ease-in-out infinite alternate; }
@keyframes landing-krathong-bob { 50% { transform: translateY(-5px); } }
@keyframes landing-flame-flicker { to { opacity: .7; } }
.landing-confetti { position: fixed; inset: 0; z-index: 21; overflow: hidden; pointer-events: none; contain: strict; }
.landing-confetti-piece {
  position: absolute;
  top: 0;
  left: calc((var(--confetti-index) + .5) * 100% / var(--confetti-count));
  --confetti-drift: 30px;
  width: 8px;
  height: 13px;
  border-radius: 2px;
  background: #e3b34c;
  opacity: 0;
  animation: landing-confetti-fall 13s linear infinite;
  animation-delay: calc(var(--confetti-index) * -.9s);
}
.landing-confetti-piece:nth-child(4n + 1) { background: #d9566a; --confetti-drift: -26px; animation-duration: 15s; }
.landing-confetti-piece:nth-child(4n + 2) { background: #4f9fb0; width: 6px; animation-duration: 11s; }
.landing-confetti-piece:nth-child(4n + 3) { background: #f4e2a5; border-radius: 50%; width: 8px; height: 8px; --confetti-drift: -14px; }
@keyframes landing-confetti-fall {
  0% { transform: translate3d(0, -20px, 0) rotate(0deg); opacity: 0; }
  8%, 88% { opacity: .85; }
  100% { transform: translate3d(var(--confetti-drift), calc(100vh + 20px), 0) rotate(540deg); opacity: 0; }
}
.landing-firework { animation: landing-firework-glow 3.2s ease-in-out infinite; }
.landing-firework:nth-of-type(even) { animation-delay: -1.6s; }
@keyframes landing-firework-glow { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce), print {
  .landing-confetti { display: none; }
  .landing-confetti-piece, .landing-firework { animation: none; }
}
@media (prefers-reduced-motion: reduce), print {
  .landing-lantern-sky { display: none; }
  .landing-lantern, .landing-krathong-float, .landing-krathong-flame { animation: none; }
}
.landing-water-drops { position: fixed; inset: 0; z-index: 21; overflow: hidden; pointer-events: none; contain: strict; }
.landing-water-drop {
  position: absolute;
  top: 0;
  left: calc((var(--drop-index) + .5) * 100% / var(--drop-count));
  width: 10px;
  height: 14px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: linear-gradient(#d8f4fb, #5fbfdc);
  box-shadow: 0 0 8px #7fd2e866;
  opacity: 0;
  animation: landing-water-fall 9s linear infinite;
  animation-delay: calc(var(--drop-index) * -.7s);
}
.landing-water-drop:nth-child(3n) { transform: scale(.7); animation-duration: 11s; }
.landing-water-drop:nth-child(3n + 1) { animation-duration: 7s; }
@keyframes landing-water-fall {
  0% { transform: translate3d(0, -20px, 0); opacity: 0; }
  10%, 85% { opacity: .7; }
  100% { transform: translate3d(0, calc(100vh + 20px), 0); opacity: 0; }
}
.landing-songkran-splash { animation: landing-splash-bob 2.8s ease-in-out infinite; }
.landing-songkran-sun { animation: landing-firework-glow 4s ease-in-out infinite; }
@keyframes landing-splash-bob { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce), print {
  .landing-water-drops { display: none; }
  .landing-water-drop, .landing-songkran-splash, .landing-songkran-sun { animation: none; }
}
.landing-petal-fall { position: fixed; inset: 0; z-index: 21; overflow: hidden; pointer-events: none; contain: strict; }
.landing-falling-petal {
  position: absolute;
  top: 0;
  left: calc((var(--petal-index) + .5) * 100% / var(--petal-count));
  --petal-drift: 26px;
  opacity: 0;
  animation: landing-petal-fall 12s linear infinite;
  animation-delay: calc(var(--petal-index) * -.75s);
}
.landing-falling-petal:nth-child(3n) { --petal-drift: -20px; animation-duration: 15s; }
.landing-falling-petal:nth-child(3n + 1) { animation-duration: 10s; }
.landing-falling-heart { color: #e2566f; font-size: 18px; line-height: 1; }
.landing-falling-heart::before { content: '\2665'; }
.landing-falling-heart:nth-child(3n) { color: #f4a6b7; font-size: 13px; }
.landing-falling-heart:nth-child(3n + 1) { color: #d9415e; }
.landing-falling-blossom { width: 11px; height: 11px; border-radius: 50% 0 50% 50%; background: #f7b6c4; }
.landing-falling-blossom:nth-child(3n) { background: #f2c45a; border-radius: 50%; width: 8px; height: 8px; }
.landing-falling-blossom:nth-child(3n + 1) { background: #e8707f; }
.landing-falling-canna { width: 9px; height: 16px; border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; background: #f6c12f; }
.landing-falling-canna:nth-child(3n) { background: #e8a317; width: 7px; height: 12px; }
.landing-falling-jasmine { color: #ffffff; font-size: 15px; line-height: 1; text-shadow: 0 0 2px #8fb4d9; }
.landing-falling-jasmine::before { content: '\273F'; }
.landing-falling-jasmine:nth-child(3n) { font-size: 11px; }
@keyframes landing-petal-fall {
  0% { transform: translate3d(0, -20px, 0) rotate(0deg); opacity: 0; }
  8%, 88% { opacity: .8; }
  100% { transform: translate3d(var(--petal-drift), calc(100vh + 20px), 0) rotate(300deg); opacity: 0; }
}
.landing-valentine-float { animation: landing-krathong-bob 4s ease-in-out infinite; }
.landing-valentine-float:nth-of-type(even) { animation-delay: -2s; }
.landing-cny-lantern { animation: landing-lantern-sway 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 0; }
.landing-cny-lantern:nth-of-type(even) { animation-delay: -2.2s; }
@keyframes landing-lantern-sway { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
.landing-jasmine-garland { animation: landing-garland-turn 90s linear infinite; transform-origin: 240px 232px; }
@keyframes landing-garland-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce), print {
  .landing-petal-fall { display: none; }
  .landing-falling-petal, .landing-valentine-float, .landing-cny-lantern, .landing-jasmine-garland { animation: none; }
}
/* Mourning: the conventional Thai black-and-white website, with no motion. */
/* Only the mourning art (logo or photo) is black-and-white; the rest of the page keeps its colours. */
.landing-mourning-art { filter: grayscale(1); }
.landing-mourning-notice { display: grid; gap: 4px; max-width: 520px; margin-bottom: 22px; padding: 16px 22px; border-left: 6px solid #1d1d1d; border-radius: 6px; background: #f3f2ef; color: #1d1d1d; }
.landing-mourning-notice span { font-size: 14px; letter-spacing: .04em; color: #4a4a4a; }
.landing-mourning-notice strong { font-size: 24px; line-height: 1.4; overflow-wrap: anywhere; }
.landing-mourning-notice small { font-size: 15px; line-height: 1.6; color: #4a4a4a; overflow-wrap: anywhere; }
.clinic-landing a { color: inherit; text-decoration: none; }
.clinic-landing a:focus-visible, .landing-language-menu summary:focus-visible { outline: 3px solid var(--landing-berry); outline-offset: 4px; }
.landing-nav { position: relative; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--landing-line); }
.landing-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.landing-brand img { object-fit: contain; border-radius: 12px; }
.landing-brand small { display: block; font-size: 12px; font-weight: 400; color: var(--landing-muted); }
.landing-nav nav { display: flex; gap: 28px; align-items: center; font-size: 15px; }
.landing-nav nav > a:not(.landing-login) { display: inline-flex; align-items: center; min-height: 44px; }
.landing-nav nav > a:not(.landing-login):hover, .landing-secondary:hover, .landing-phone:hover, .landing-facts a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.landing-nav .language-switcher { width: 44px; margin: 0; }
.landing-language-menu { position: relative; }
.landing-language-menu summary { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 50%; border: 1px solid var(--landing-line); background: var(--landing-surface); cursor: pointer; list-style: none; }
.landing-language-menu summary::-webkit-details-marker { display: none; }
.landing-language-options { position: absolute; top: calc(100% + 8px); right: 0; z-index: 10; min-width: 150px; padding: 6px; border: 1px solid var(--landing-line); border-radius: 10px; background: var(--landing-surface); box-shadow: 0 12px 30px #0000001a; }
.landing-language-options button { display: block; width: 100%; text-align: left; border: 0; border-radius: 6px; background: transparent; color: var(--landing-ink); padding: 10px 14px; }
.landing-language-options button:hover, .landing-language-options button[aria-pressed="true"] { background: var(--landing-paper); }
.clinic-landing h1, .clinic-landing h2, .clinic-landing p, .landing-service h3 { overflow-wrap: anywhere; }
.clinic-landing .landing-login { padding: 11px 18px; border: 1px solid var(--landing-pine); border-radius: 8px; background: var(--landing-pine); color: #fffdf7; }
.clinic-landing .landing-login:hover { background: var(--landing-ink); }
.landing-light-string {
  height: 18px;
  margin: 0;
  border-top: 1px solid #cdb781;
  background: radial-gradient(ellipse 4px 6px at 15px 8px, #b94349 98%, transparent) 0 0 / 96px 18px repeat-x,
    radial-gradient(ellipse 4px 6px at 15px 8px, #d2a74e 98%, transparent) 48px 0 / 96px 18px repeat-x;
}
.landing-bunting {
  height: 40px;
  margin: 0;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="320" height="40" viewBox="0 0 320 40"%3E%3Cpath d="M0 4Q80 28 160 4" fill="none" stroke="%23b08a4a" stroke-width="1.2"/%3E%3Cpath d="M6 8.3L26 8.3L16 26.3Z" fill="%23e94b5a"/%3E%3Cpath d="M38 14.1L58 14.1L48 32.1Z" fill="%23f6c12f"/%3E%3Cpath d="M70 16.0L90 16.0L80 34.0Z" fill="%233aa7d8"/%3E%3Cpath d="M102 14.1L122 14.1L112 32.1Z" fill="%234fb36b"/%3E%3Cpath d="M134 8.3L154 8.3L144 26.3Z" fill="%23f08ac0"/%3E%3Cpath d="M160 4Q240 28 320 4" fill="none" stroke="%23b08a4a" stroke-width="1.2"/%3E%3Cpath d="M166 8.3L186 8.3L176 26.3Z" fill="%23ff8a3d"/%3E%3Cpath d="M198 14.1L218 14.1L208 32.1Z" fill="%238a6fd1"/%3E%3Cpath d="M230 16.0L250 16.0L240 34.0Z" fill="%23e94b5a"/%3E%3Cpath d="M262 14.1L282 14.1L272 32.1Z" fill="%233aa7d8"/%3E%3Cpath d="M294 8.3L314 8.3L304 26.3Z" fill="%23f6c12f"/%3E%3C/svg%3E') 0 0 / 320px 40px round no-repeat;
}
.landing-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px 0 80px; }
.landing-season { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--landing-berry); font-size: 15px; font-weight: 700; }
.landing-season::before { content: ''; flex: none; width: 32px; height: 2px; background: currentColor; }
.landing-eyebrow { margin: 0 0 16px; color: var(--landing-muted); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.landing-hero h1 { font-size: clamp(48px, 6.2vw, 84px); font-weight: 700; letter-spacing: -.025em; line-height: 1.04; margin: 0 0 28px; }
.landing-hero h1 span { color: var(--landing-berry); }
.landing-intro { max-width: 30em; font-size: 20px; line-height: 1.7; color: var(--landing-muted); margin: 0 0 32px; }
.landing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.clinic-landing .landing-primary { display: inline-flex; align-items: center; min-height: 48px; padding: 13px 22px; border: 1px solid var(--landing-berry); border-radius: 8px; background: var(--landing-berry); color: #fff; font-size: 15px; font-weight: 600; }
.clinic-landing .landing-primary:hover { filter: brightness(.88); }
.landing-secondary { padding: 12px 0; font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--landing-line); text-underline-offset: 6px; }
.landing-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 460px; margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--landing-line); }
.landing-facts li + li { border-left: 1px solid var(--landing-line); padding-left: 20px; }
.landing-facts a { display: block; padding: 16px 0 4px; }
.landing-facts strong { display: block; font-size: 17px; overflow-wrap: anywhere; }
.landing-facts small { display: block; margin-top: 2px; color: var(--landing-muted); font-size: 13px; }
.landing-caption { font-size: 13px; color: var(--landing-muted); margin: 18px 0 0; }
.landing-hero-art { position: relative; isolation: isolate; display: grid; place-items: center; }
.landing-wreath { position: relative; z-index: 0; width: min(100%, 480px); height: auto; }
.landing-festive-details { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.landing-bauble { position: absolute; display: block; border-radius: 48% 48% 50% 50%; box-shadow: inset -7px -8px 12px #0000001a, 0 8px 18px #3a39201a; }
.landing-bauble::before { content: ''; position: absolute; bottom: 100%; left: calc(50% - 6px); width: 12px; height: 7px; border-radius: 3px 3px 0 0; background: #bb9956; }
.landing-bauble::after { content: ''; position: absolute; bottom: calc(100% + 7px); left: 50%; width: 1px; height: 54px; background: #bb9956; }
.landing-bauble-red { top: 17%; left: 5%; width: 48px; height: 52px; background: radial-gradient(circle at 30% 25%, #f4b4a4, #ba3f46 60%, #8f2f3b); }
.landing-bauble-gold { right: 5%; bottom: 13%; width: 38px; height: 41px; background: radial-gradient(circle at 30% 25%, #fff1bd, #d3a452 65%, #a87933); }
.landing-art-logo { filter: drop-shadow(0 10px 18px #10203a40); }
.landing-section-heading { margin-bottom: 28px; }
.landing-section-heading .landing-eyebrow { margin-bottom: 8px; }
.clinic-landing h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.35; letter-spacing: -.01em; margin: 0; }
.landing-services { padding-top: 56px; border-top: 1px solid var(--landing-line); }
.landing-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.landing-service { padding-top: 20px; border-top: 3px solid var(--landing-berry); }
.landing-service h3 { font-size: 22px; line-height: 1.4; margin: 0 0 8px; }
.landing-service p { color: var(--landing-muted); font-size: 15px; line-height: 1.75; margin: 0; }
.landing-calendar { margin-top: 64px; padding: 36px; border: 1px solid var(--landing-line); border-radius: 16px; background: var(--landing-surface); }
.landing-calendar > p { color: var(--landing-muted); line-height: 1.8; }
.landing-calendar .clinic-calendar-grid { max-width: none; }
/* Separate spacing replaces transparent borders so rounded corners leave no star-shaped gaps. */
.landing-calendar .clinic-calendar-table { border-collapse: separate; border-spacing: 4px; }
.landing-calendar .clinic-calendar-table td { border: 0; border-radius: 6px; padding: 0; }
.landing-calendar .clinic-calendar-table th { overflow-wrap: anywhere; padding: 8px 2px; border-radius: 6px; background: var(--landing-paper); color: var(--landing-ink); }
.landing-calendar .clinic-calendar-day small { font-size: clamp(.55rem, 1.5vw, .8rem); overflow-wrap: anywhere; }
.clinic-landing .landing-calendar button.secondary { border-radius: 8px; background: var(--landing-surface); border-color: var(--landing-line); color: var(--landing-ink); }
.clinic-landing .landing-calendar button.secondary:hover { background: var(--landing-paper); }
.landing-contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; margin-top: 64px; padding: 48px; border-radius: 16px; background: var(--landing-pine); color: #fffaf0; }
.landing-contact p { color: #fffaf0e0; line-height: 1.8; }
.landing-contact .landing-eyebrow { color: var(--landing-gold); }
.landing-phone { display: inline-block; font-size: 28px; font-weight: 700; letter-spacing: .02em; }
.clinic-landing .landing-contact .landing-primary { border-color: #fffaf0; background: #fffaf0; color: var(--landing-pine); }
.clinic-landing .landing-contact .landing-outline { background: transparent; color: #fffaf0; }
.clinic-landing .landing-contact .landing-primary:hover { filter: none; background: #fff; color: var(--landing-pine); }
.landing-nav nav > a[aria-current="page"] { color: var(--landing-berry); font-weight: 700; }
.landing-articles { margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--landing-line); }
.landing-articles-heading { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 24px; }
.landing-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.landing-article-card { overflow: hidden; border: 1px solid var(--landing-line); border-radius: 16px; background: var(--landing-surface); transition: transform .2s ease, box-shadow .2s ease; }
.landing-article-card:hover, .landing-article-card:focus-within { transform: translateY(-4px); box-shadow: 0 18px 36px #173d301f; }
.landing-article-card > a { display: flex; flex-direction: column; height: 100%; }
.landing-article-card-image { aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--landing-paper), var(--landing-line)); }
.landing-article-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.landing-article-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.landing-article-card time, .landing-article-header time { color: var(--landing-muted); font-size: 13px; font-weight: 600; }
.landing-article-card h3 { margin: 0; font-size: 21px; line-height: 1.45; overflow-wrap: anywhere; }
.landing-article-card p { margin: 0; color: var(--landing-muted); font-size: 15px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.landing-article-more { margin-top: auto; padding-top: 6px; color: var(--landing-berry); font-size: 15px; font-weight: 700; }
.landing-article-status { color: var(--landing-muted); }
.clinic-landing .landing-article-retry { margin-left: 8px; padding: 6px 14px; border: 1px solid var(--landing-line); border-radius: 8px; background: var(--landing-surface); color: var(--landing-ink); }
.landing-article-note { display: inline-block; margin: 12px 0 0; padding: 6px 12px; border-radius: 999px; background: var(--landing-surface); border: 1px solid var(--landing-line); color: var(--landing-muted); font-size: 13px; }
.landing-article-main { padding-bottom: 32px; }
.landing-articles-page { margin-top: 0; padding-top: 48px; border-top: 0; }
.landing-articles-page h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.25; margin: 0; }
.landing-article { max-width: 780px; margin: 0 auto; padding-top: 32px; }
.landing-article-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--landing-muted); font-size: 15px; font-weight: 600; }
.landing-article-back:hover { color: var(--landing-berry); }
.landing-article-header { margin: 20px 0 28px; }
.landing-article-header h1 { margin: 10px 0 16px; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.3; letter-spacing: -.01em; }
.landing-article-summary { margin: 0; color: var(--landing-muted); font-size: 20px; line-height: 1.75; }
.landing-article-cover { display: block; width: 100%; height: auto; margin: 0 0 36px; border-radius: 20px; box-shadow: 0 20px 44px #173d3024; }
.landing-article-body { font-size: 18px; line-height: 1.9; }
.landing-article-body p { margin: 0 0 1.1em; }
.landing-article-body h2 { margin: 1.8em 0 .6em; padding-left: 14px; border-left: 5px solid var(--landing-berry); font-size: clamp(24px, 2.6vw, 30px); }
.landing-article-body ul { margin: 0 0 1.4em; padding: 0; list-style: none; }
.landing-article-body li { position: relative; margin: 0 0 .65em; padding-left: 30px; }
.landing-article-body li::before { content: ''; position: absolute; left: 6px; top: .72em; width: 10px; height: 10px; border-radius: 50%; background: var(--landing-berry); box-shadow: 0 0 0 4px color-mix(in srgb, var(--landing-berry) 18%, transparent); }
.landing-article-callout { margin: 1.6em 0; padding: 20px 24px; border-radius: 14px; border-left: 6px solid; }
.landing-article-callout p:last-child { margin-bottom: 0; }
.landing-article-callout-warning { border-color: #c2410c; background: #fff4e8; color: #5c2408; font-weight: 600; }
.landing-article-callout-info { border-color: var(--landing-pine); background: color-mix(in srgb, var(--landing-pine) 8%, var(--landing-surface)); color: var(--landing-ink); }
.landing-article-figure { margin: 2em 0; }
.landing-article-figure img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--landing-line); background: var(--landing-surface); }
.landing-article-figure figcaption { margin-top: 10px; color: var(--landing-muted); font-size: 14px; text-align: center; }
.landing-article-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--landing-line); }
.landing-article-header .landing-share-button { margin-top: 20px; }
.clinic-landing .landing-share-button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px; border: 1px solid var(--landing-pine); border-radius: 999px; background: var(--landing-surface); color: var(--landing-pine); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.clinic-landing .landing-share-button:hover { background: var(--landing-pine); color: #fff; }
.clinic-landing .landing-share-button:focus-visible, .landing-share-target:focus-visible { outline: 3px solid var(--landing-berry); outline-offset: 3px; }
.landing-share-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.landing-share { display: grid; gap: 16px; color: var(--landing-ink, #173d30); }
.landing-share-hint { margin: 0; color: var(--landing-muted, #4e6256); font-size: 14px; }
.landing-share-preview { overflow: hidden; border: 1px solid var(--landing-line, #ddd6c4); border-radius: 14px; background: #fff; box-shadow: 0 12px 30px #173d301f; }
.landing-share-preview img, .landing-share-preview-blank { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--landing-paper, #f6f3ea); }
.landing-share-preview-body { display: grid; gap: 4px; padding: 12px 16px 14px; background: #f3f4f6; border-top: 1px solid #e5e7eb; }
.landing-share-preview-host { color: #65676b; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; }
.landing-share-preview-body strong { color: #1c1e21; font-size: 17px; line-height: 1.4; }
.landing-share-preview-summary { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; color: #4b4f56; font-size: 14px; line-height: 1.5; }
.landing-share-link { display: flex; gap: 8px; }
.landing-share-link input { flex: 1; min-width: 0; margin: 0; }
.landing-share-link button { flex: none; margin: 0; }
.landing-share-targets { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.landing-share-target { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 8px 12px; border: 0; border-radius: 10px; color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.landing-share-target:hover { filter: brightness(1.08); }
.landing-share-facebook { background: #1877f2; }
.landing-share-line { background: #06a74a; }
.landing-share-x { background: #0f1419; }
.landing-share-more { background: var(--landing-pine, #194f3b); }
@media (prefers-reduced-motion: reduce) {
  .landing-article-card { transition: none; }
  .landing-article-card:hover, .landing-article-card:focus-within { transform: none; }
}
.landing-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 28px 0 4px; font-size: 13px; color: var(--landing-muted); }
.landing-traffic p { margin: 0 0 4px; }
.landing-traffic-values { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.landing-traffic small { font-size: inherit; }
.landing-traffic summary { cursor: pointer; }
.landing-skip { position: absolute; top: -100px; }
.landing-skip:focus { top: 10px; left: 16px; z-index: 30; background: white; padding: 12px; }
@media (max-width: 800px) {
  .clinic-landing { padding: 0 16px 16px; }
  .landing-snowflake:nth-child(even), .landing-lantern:nth-child(even), .landing-confetti-piece:nth-child(even), .landing-water-drop:nth-child(even) { display: none; }
  .landing-nav { padding: 14px 0; flex-wrap: wrap; gap: 12px; }
  .landing-nav nav { width: 100%; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
  .landing-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px 0 56px; }
  .landing-hero-art { max-width: 400px; width: 100%; margin: auto; }
  .landing-intro { font-size: 18px; }
  .landing-facts { max-width: none; }
  .landing-services { padding-top: 40px; }
  .landing-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .landing-contact { grid-template-columns: 1fr; padding: 28px; gap: 24px; margin-top: 40px; }
  .landing-calendar { margin-top: 40px; padding: 20px 12px; }
  .landing-articles { margin-top: 40px; padding-top: 40px; }
  .landing-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .landing-article-body { font-size: 17px; }
  .landing-article-summary { font-size: 18px; }
  .landing-article-cover { margin-bottom: 28px; border-radius: 14px; }
}
@media (max-width: 600px) {
  .landing-article-grid { grid-template-columns: 1fr; }
  .landing-share-link { flex-direction: column; }
  .landing-share-targets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .landing-hero h1 { font-size: clamp(40px, 11vw, 48px); }
  .landing-service-grid { grid-template-columns: 1fr; }
  .landing-facts li + li { padding-left: 12px; }
}
