/* Small Django-specific additions; the visual system comes from the original Clinic theme CSS. */
.header { --background-color: #ffffff; background-color: #ffffff !important; }
.header .branding { background-color: #ffffff; }
.header .branding { min-height: 106px; }
.clinic-brand { min-width: 390px; gap: 17px; }
.clinic-brand .clinic-eye-logo { display: block; width: 122px; height: 77px; max-height: none !important; margin-right: 0 !important; flex: 0 0 auto; object-fit: contain; }
.clinic-brand-text { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.clinic-brand-text strong { color: #080b10; font-family: var(--heading-font); font-size: 26px; font-weight: 800; line-height: .92; letter-spacing: -.02em; }
.clinic-brand-text small { color: #345a70; font-family: var(--nav-font); font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; }
.clinic-brand-text .brand-name-accent { color: var(--accent-color); }
.footer-16 .clinic-brand .clinic-eye-logo { width: 100px; height: 64px; max-height: none !important; margin-right: 0 !important; }
.footer-16 .clinic-brand-text strong { font-size: 22px; color: var(--heading-color); }
.footer-16 .clinic-brand-text small { font-size: 11px; }
.index-page .hero { padding-top: 140px; }
.index-page .hero .main-image { background: #e8f2f8; }
.index-page .hero .main-image .doctor-portrait { object-fit: cover; object-position: center center; }
.index-page .hero .hero-content h1 { font-size: clamp(38px, 4.2vw, 58px); line-height: 1.12; }
.home-about .about-visual .main-image { aspect-ratio: 3 / 4; min-height: 0; display: flex; align-items: stretch; justify-content: center; background: #fff; }
.home-about .about-visual .main-image img.professor-portrait { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.home-about .about-visual .main-image:hover img.professor-portrait { transform: none; }
.home-about .about-visual { width: min(100%, 520px); margin-left: auto; }
.home-about .about-visual .experience-badge { right: -10px; top: 24px; }
.home-about .about-visual .floating-card { left: -20px; bottom: -26px; }
.academic-about-content { padding-right: 18px; }
.academic-eyebrow { display: inline-flex; align-items: center; gap: 22px; color: var(--accent-color); font-family: var(--heading-font); font-size: 20px; font-weight: 800; letter-spacing: .08em; }
.academic-eyebrow::before { content: ''; width: 72px; height: 4px; background: var(--accent-color); border-radius: 4px; }
.academic-about-content .section-heading { margin: 0 0 18px; color: var(--heading-color); font-size: clamp(30px, 2.8vw, 42px); line-height: 1.14; letter-spacing: -.035em; }
.academic-specialty { margin: 0 0 30px; color: var(--accent-color); font-family: var(--heading-font); font-size: 21px; font-weight: 800; }
.academic-bio-slider { height: 370px; display: flex; flex-direction: column; padding: 26px 28px; border: 1px solid rgba(170, 215, 193, .72); border-radius: 16px; background: radial-gradient(circle at 92% 8%, rgba(127, 201, 167, .12), transparent 28%), linear-gradient(135deg, #ffffff 0%, #f2faf6 100%); box-shadow: 0 14px 34px rgba(17, 55, 43, .08); }
.academic-bio-slider .carousel-inner { flex: 1 1 auto; min-height: 0; }
.academic-bio-slider .carousel-item.active { height: 100%; display: flex; flex-direction: column; }
.academic-slide-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--heading-color); font-family: var(--heading-font); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.academic-slide-meta span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--accent-color), transparent 88%); color: var(--accent-color); font-size: 11px; }
.academic-timeline-row { display: flex; align-items: baseline; gap: 14px; margin: -3px 0 16px; padding-bottom: 13px; border-bottom: 1px solid rgba(170, 215, 193, .55); }
.academic-timeline-year { flex: 0 0 auto; color: var(--accent-color); font: 800 19px/1 "Montserrat", sans-serif; letter-spacing: -.025em; }
.academic-timeline-row strong { color: var(--heading-color); font: 700 13px/1.35 "Montserrat", sans-serif; }
.academic-memberships { display: flex; flex-wrap: wrap; gap: 8px; margin: -2px 0 16px; }
.academic-memberships span { padding: 7px 10px; border: 1px solid rgba(127, 201, 167, .4); border-radius: 999px; background: #effaf4; color: #39745b; font: 700 10px/1.1 "Montserrat", sans-serif; }
.academic-bio-slider p { max-width: 560px; margin: 0; color: var(--default-color); font-size: 16px; line-height: 1.7; }
.academic-slider-nav { display: flex; align-items: center; justify-content: space-between; flex: 0 0 40px; gap: 18px; margin-top: 22px; }
.academic-slider-dots { display: flex; align-items: center; gap: 8px; }
.academic-slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #cbd6dc; transition: all .2s ease; }
.academic-slider-dots button.active { width: 28px; border-radius: 8px; background: var(--accent-color); }
.academic-slider-arrows { display: flex; gap: 8px; }
.academic-slider-arrows button { width: 40px; height: 40px; border: 1px solid #d8e2e7; border-radius: 50%; background: #fff; color: #13284b; transition: all .2s ease; }
.academic-slider-arrows button:hover { border-color: var(--accent-color); background: var(--accent-color); color: #fff; }
@media (max-width: 991px) { .home-about .about-visual .main-image { aspect-ratio: 3 / 4; min-height: 0; } .home-about .about-visual .main-image img.professor-portrait { height: 100%; } }
@media (max-width: 768px) { .academic-about-content { padding-right: 0; } .academic-eyebrow { font-size: 13px; gap: 10px; } .academic-eyebrow::before { width: 42px; height: 3px; } .academic-about-content .section-heading { font-size: 30px; } .academic-specialty { margin-bottom: 24px; font-size: 20px; } .academic-bio-slider { height: 340px; padding: 22px; } .academic-bio-slider .carousel-item.active { height: 100%; } .academic-timeline-row { gap: 10px; margin-bottom: 13px; padding-bottom: 10px; } .academic-timeline-year { font-size: 16px; } .academic-timeline-row strong { font-size: 11px; } .academic-memberships { gap: 6px; margin-bottom: 13px; } .academic-memberships span { padding: 6px 8px; font-size: 9px; } .academic-bio-slider p { font-size: 15px; line-height: 1.65; } .academic-slider-nav { margin-top: 18px; } .home-about .about-visual { width: 100%; margin-left: 0; } .home-about .about-visual .main-image { aspect-ratio: 3 / 4; min-height: 0; } .home-about .about-visual .main-image img.professor-portrait { height: 100%; } }
.trust-profile-section { background: #fff; padding: 38px 0 96px; }
.medical-notice { max-width: 1320px; margin: 0 auto; border-left: 7px solid var(--accent-color); background: #fff; padding: 20px 28px; color: #667384; font-size: 16px; line-height: 1.4; text-align: center; box-shadow: 0 14px 36px rgba(17, 35, 68, .07); }
.medical-notice strong { color: var(--accent-color); font-weight: 800; }
.trust-profile-intro { max-width: 1000px; margin: 96px auto 52px; text-align: center; }
.trust-kicker { color: var(--accent-color); font-family: var(--heading-font); font-size: 17px; font-weight: 800; letter-spacing: .08em; }
.trust-profile-intro h2 { color: #080b10; font-family: var(--heading-font); font-size: clamp(30px, 3.5vw, 49px); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; margin: 16px auto 23px; }
.trust-profile-intro p { max-width: 800px; margin: 0 auto; color: #778494; font-size: 16px; line-height: 1.6; }
.credentials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.credential-card { min-height: 170px; padding: 28px 30px; border: 1px solid #d9e1e8; background: #fff; box-shadow: 0 10px 24px rgba(17, 35, 68, .035); }
.credential-card h3 { color: #243d66; font-family: var(--heading-font); font-size: 22px; font-weight: 800; line-height: 1.12; margin: 7px 0 18px; }
.credential-card p { color: #7b8794; font-size: 14px; line-height: 1.55; margin: 0; }
.trust-profile-section .credential-card { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.trust-profile-section .credential-card:hover { transform: translateY(-8px); border-color: rgba(23, 92, 221, .35); box-shadow: 0 18px 34px rgba(17, 35, 68, .11); }
@media (max-width: 991px) { .trust-profile-intro { margin-top: 90px; } .credentials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .medical-notice { padding: 18px 20px; font-size: 14px; } .trust-profile-section { padding-bottom: 70px; } .trust-profile-intro { margin: 70px auto 42px; } .trust-kicker { font-size: 15px; } .trust-profile-intro h2 { font-size: 32px; } .trust-profile-intro p { font-size: 15px; } .credentials-grid { grid-template-columns: 1fr; gap: 16px; } .credential-card { min-height: auto; padding: 26px; } .credential-card h3 { font-size: 22px; } }

.academic-work-section { padding: 96px 0 108px; background: radial-gradient(circle at 12% 8%, rgba(23, 92, 221, .08), transparent 26%), linear-gradient(180deg, #eef9fc 0%, #f8fcff 68%, #fff 100%); }
.academic-work-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.academic-work-kicker { display: block; margin-bottom: 14px; color: #129aaf; font: 800 10px/1 "Montserrat", sans-serif; letter-spacing: .14em; }
.academic-work-heading h2 { max-width: 700px; margin: 0 auto 14px; color: #111820; font: 800 clamp(30px, 3.4vw, 46px)/1.12 "Montserrat", sans-serif; letter-spacing: -.045em; }
.academic-work-heading p { max-width: 700px; margin: 0 auto; color: #718092; font-size: 14px; line-height: 1.7; }
.academic-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1080px; }
.academic-work-card { position: relative; min-height: 420px; padding: 36px 38px 30px; border: 1px solid rgba(173, 198, 224, .72); border-radius: 24px 24px 8px 24px; background: radial-gradient(circle at 100% 0%, rgba(23, 92, 221, .07), transparent 18%), rgba(255, 255, 255, .97); box-shadow: 0 18px 42px rgba(17, 35, 68, .08); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.academic-work-card::after { content: ""; position: absolute; top: 0; right: 0; width: 96px; height: 96px; border-radius: 0 0 0 96px; background: rgba(23, 92, 221, .06); pointer-events: none; }
.academic-work-card:hover { transform: translateY(-6px); border-color: rgba(23, 92, 221, .28); box-shadow: 0 20px 40px rgba(17, 35, 68, .1); }
.academic-card-label { display: none; }
.academic-card-label span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e7f0ff; color: var(--accent-color); font-size: 11px; }
.academic-work-card h3 { position: relative; z-index: 1; margin: 0 0 22px; color: #243d66; font: 800 clamp(22px, 2vw, 26px)/1.2 "Montserrat", sans-serif; letter-spacing: -.03em; }
.publication-list { position: relative; z-index: 1; display: grid; gap: 15px; margin: 0; padding: 0 0 5px 20px; color: #5f6e81; font: 400 14px/1.65 "Lato", sans-serif; }
.publication-list li::marker { color: var(--accent-color); }
.academic-focus-list { position: relative; z-index: 1; display: grid; border-top: 1px solid #e5edf3; }
.academic-focus-list div { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e5edf3; }
.academic-focus-list strong { color: #129aaf; font: 800 13px/1.4 "Montserrat", sans-serif; }
.academic-focus-list span { color: #5f6e81; font: 400 13px/1.6 "Lato", sans-serif; }
.academic-collapsible { position: relative; z-index: 1; margin-top: 14px; border-top: 0; }
.academic-collapsible summary { display: flex; align-items: center; gap: 7px; padding-top: 14px; cursor: pointer; list-style: none; color: #243d66; font: 700 14px/1.4 "Montserrat", sans-serif; }
.academic-collapsible summary::-webkit-details-marker { display: none; }
.academic-collapsible summary i { color: var(--accent-color); font-size: 12px; }
.academic-collapsible p { margin: 12px 0 0; color: #718092; font: 400 13px/1.65 "Lato", sans-serif; }
.professional-duties { margin-top: 15px; }
.academic-work-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; padding: 10px 12px 10px 17px; border-radius: 999px; background: var(--accent-color); color: #fff; text-decoration: none; font: 700 11px "Montserrat", sans-serif; box-shadow: 0 8px 18px rgba(23, 92, 221, .2); transition: gap .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.academic-work-link i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .18); font-size: 12px; }
.academic-work-link:hover { gap: 12px; transform: translateY(-2px); background: #124db8; color: #fff; box-shadow: 0 11px 22px rgba(23, 92, 221, .28); }
@media (max-width: 767px) { .academic-work-section { padding: 70px 0 82px; } .academic-work-heading { margin-bottom: 26px; } .academic-work-heading h2 { font-size: 32px; } .academic-work-heading p { font-size: 13px; } .academic-work-grid { grid-template-columns: 1fr; gap: 16px; } .academic-work-card { min-height: auto; padding: 24px 22px; } .academic-focus-list div { grid-template-columns: 70px 1fr; gap: 10px; } }

.specialties-section { padding: 74px 0 88px; background: linear-gradient(180deg, #fbfdff 0%, #fff 42%, #fff 100%); }
.specialties-section .section-title { max-width: 780px; margin: 0 auto 32px; text-align: center; }
.specialties-kicker { display: block; margin-bottom: 14px; color: var(--accent-color); font: 800 11px/1 "Montserrat", sans-serif; letter-spacing: .12em; }
.specialties-section .section-title h2 { margin: 0 0 12px; color: var(--heading-color); font: 800 clamp(34px, 4vw, 50px)/1.1 "Montserrat", sans-serif; letter-spacing: -.04em; }
.specialties-section .section-title p { max-width: 700px; margin: 0 auto; color: #6f7d90; font-size: 15px; line-height: 1.65; }
.specialty-slider { max-width: 100%; margin: 0 auto; padding: 8px 0 6px; }
.specialty-slider .carousel-inner, .specialty-slider .carousel-item { min-height: 340px; }
.specialty-slider .carousel-inner { overflow: visible; }
.specialty-slider .carousel-item { display: none; float: none; width: 100%; margin: 0; transform: none !important; transition: none !important; }
.specialty-slider .carousel-item.active { display: block; }
.specialty-slide { display: flex; justify-content: center; padding: 0 4px; }
.specialty-info-card { position: relative; overflow: hidden; width: 100%; max-width: none; min-height: 340px; display: flex; flex-direction: column; padding: 34px 34px 28px 38px; border: 1px solid rgba(170, 193, 224, .72); border-radius: 22px 22px 9px 22px; background: radial-gradient(circle at 95% 8%, rgba(127, 201, 167, .13), transparent 25%), linear-gradient(135deg, #fff 0%, #f5fafc 100%); box-shadow: 0 17px 38px rgba(31, 65, 94, .08); transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.specialty-info-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, #7fc9a7 0%, #b8e5cb 100%); }
.specialty-info-card::after { content: ""; position: absolute; right: -78px; bottom: -112px; width: 238px; height: 238px; border-radius: 50%; background: rgba(127, 201, 167, .08); box-shadow: inset 0 0 0 1px rgba(127, 201, 167, .13); pointer-events: none; }
.specialty-info-card:hover { transform: translateY(-6px); border-color: rgba(127, 201, 167, .55); box-shadow: 0 22px 44px rgba(31, 65, 94, .13); }
.specialty-slider .specialty-info-card { opacity: 1; }
.specialty-slider .carousel-item.active .specialty-info-card { animation: retina-slide-in .35s ease both; }
.specialty-card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.specialty-index { align-self: flex-start; padding: 8px 12px; border-radius: 999px; background: #edf8f2; color: #399b74; font: 800 10px/1 "Montserrat", sans-serif; letter-spacing: .1em; }
.specialty-card-mark { color: rgba(127, 201, 167, .2); font: 900 50px/.8 "Montserrat", sans-serif; letter-spacing: -.08em; }
.specialty-info-card h3 { position: relative; z-index: 1; margin: 19px 0 11px; color: #24395d; font: 800 20px/1.24 "Montserrat", sans-serif; letter-spacing: -.025em; }
.specialty-info-card > strong { position: relative; z-index: 1; max-width: 720px; color: #171b23; font-size: 16px; line-height: 1.55; }
.specialty-info-card > p { position: relative; z-index: 1; margin: 18px 0 18px; max-width: 740px; color: #718092; font-size: 14px; line-height: 1.7; }
.trust-line { position: relative; z-index: 1; padding-top: 16px; border-top: 1px solid #e1e9f2; color: #657487; font-size: 13px; line-height: 1.65; }
.trust-line b { color: var(--accent-color); }
.specialty-info-card a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 22px; padding-right: 112px; color: var(--accent-color); text-decoration: none; font: 700 13px "Montserrat", sans-serif; }
.specialty-info-card a:hover { gap: 9px; }
.card-gallery-image { position: absolute; z-index: 2; right: 30px; bottom: 24px; display: block; width: 86px; height: 58px; overflow: hidden; border: 2px solid rgba(255, 255, 255, .82); border-radius: 14px 14px 5px 14px; background: #e7f5ee; box-shadow: 0 10px 22px rgba(17, 55, 43, .16); pointer-events: none; }
.card-gallery-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.specialty-slider-nav { max-width: 100%; display: flex; align-items: center; justify-content: space-between; margin: 22px auto 0; padding: 0 4px; }
.specialty-slider-dots { display: flex; align-items: center; gap: 8px; }
.specialty-slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #cbd6dc; transition: all .2s ease; }
.specialty-slider-dots button.active { width: 28px; border-radius: 8px; background: var(--accent-color); }
.specialty-slider-arrows { display: flex; gap: 8px; }
.specialty-slider-arrows button { width: 40px; height: 40px; border: 1px solid #d8e2e7; border-radius: 50%; background: #fff; color: var(--heading-color); transition: all .2s ease; }
.specialty-slider-arrows button:hover { border-color: var(--accent-color); background: var(--accent-color); color: #fff; }
@media (prefers-reduced-motion: reduce) { .specialty-info-card, .retina-information-slide.active { transition: none; animation: none !important; } }
@media (max-width: 991px) { .specialty-slide { display: flex; padding: 0 18px; } .specialty-info-card { min-height: 330px; padding: 32px 34px 28px; } .specialty-slider-nav { max-width: calc(100% - 36px); } }
@media (max-width: 767px) { .specialties-section { padding: 64px 0 74px; } .specialties-section .section-title { margin-bottom: 20px; } .specialties-section .section-title h2 { font-size: 36px; } .specialties-section .section-title p { font-size: 14px; } .specialty-slider .carousel-inner, .specialty-slider .carousel-item { min-height: 0; } .specialty-slide { display: flex; padding: 0 8px; } .specialty-info-card { min-height: 0; padding: 28px 24px 26px; border-radius: 22px 22px 8px 22px; } .specialty-card-mark { font-size: 46px; } .specialty-info-card h3 { font-size: 24px; } .specialty-info-card > strong { font-size: 15px; } .specialty-info-card > p, .trust-line { font-size: 13px; } .specialty-slider-nav { max-width: calc(100% - 16px); } }

.clinic-gallery-section { padding: 96px 0 112px; background: linear-gradient(180deg, #fff 0%, #f8fcfa 100%); }
.gallery-page { padding-top: 120px !important; }
.gallery-page .clinic-gallery-section { min-height: calc(100vh - 120px); }
.gallery-page .clinic-gallery-grid { max-width: 1120px; }
.clinic-gallery-heading { max-width: 780px; margin: 0 auto 38px; text-align: center; }
.clinic-gallery-kicker { display: block; margin-bottom: 14px; color: var(--accent-color); font: 800 10px/1 "Montserrat", sans-serif; letter-spacing: .14em; }
.clinic-gallery-heading h2 { margin: 0 0 14px; color: #111820; font: 800 clamp(34px, 4vw, 50px)/1.08 "Montserrat", sans-serif; letter-spacing: -.045em; }
.clinic-gallery-heading p { max-width: 760px; margin: 0 auto; color: #6f7d90; font: 400 15px/1.7 "Lato", sans-serif; }
.clinic-gallery-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .72fr) minmax(0, .72fr); grid-template-rows: 250px 250px; gap: 14px; max-width: 1040px; }
.clinic-gallery-tile { position: relative; overflow: hidden; display: block; min-height: 0; border: 1px solid rgba(173, 211, 190, .65); border-radius: 18px 18px 6px 18px; background: #eaf7f0; box-shadow: 0 14px 32px rgba(17, 35, 68, .07); text-decoration: none; }
.clinic-gallery-tile::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent 0%, rgba(5, 21, 28, .72) 100%); pointer-events: none; }
.clinic-gallery-tile img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .55s cubic-bezier(.22, 1, .36, 1), filter .35s ease; }
.clinic-gallery-tile:hover img { transform: scale(1.06); filter: saturate(1.08); }
.clinic-gallery-tile span { position: absolute; z-index: 1; right: 16px; bottom: 15px; left: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #fff; font: 700 12px/1.3 "Montserrat", sans-serif; }
.clinic-gallery-tile span i { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; background: var(--accent-color); color: #fff; font-size: 12px; transition: transform .25s ease; }
.clinic-gallery-tile:hover span i { transform: rotate(45deg); }
.gallery-empty-state { grid-column: 1 / -1; display: grid; place-items: center; gap: 8px; min-height: 260px; padding: 32px; border: 1px dashed rgba(127, 201, 167, .45); border-radius: 18px; color: var(--clinic-muted, #718096); background: rgba(127, 201, 167, .06); text-align: center; }
.gallery-empty-state i { color: var(--clinic-accent, #7fc9a7); font-size: 34px; }
.gallery-empty-state strong { color: var(--clinic-heading, #24395d); font: 700 15px "Montserrat", sans-serif; }
.gallery-feature { grid-column: 1; grid-row: 1 / 3; }
.gallery-reception { grid-column: 2; grid-row: 1; }
.gallery-waiting { grid-column: 3; grid-row: 1; }
.gallery-doctor { grid-column: 2; grid-row: 2; background: #effaf4; }
.gallery-doctor::after { display: none; }
.gallery-doctor img { object-fit: contain; object-position: center bottom; }
.gallery-identity { grid-column: 3; grid-row: 2; background: linear-gradient(135deg, #effaf4, #dff3e8); }
.gallery-identity::after { display: none; }
.gallery-identity img { object-fit: contain; padding: 24px; }
.gallery-doctor::after { display: block; }
.gallery-doctor img { object-fit: cover; object-position: center; }
@media (max-width: 767px) { .gallery-page { padding-top: 90px !important; } .clinic-gallery-section { padding: 70px 0 82px; } .gallery-page .clinic-gallery-section { min-height: auto; } .clinic-gallery-heading { margin-bottom: 26px; } .clinic-gallery-heading h2 { font-size: 36px; } .clinic-gallery-heading p { font-size: 14px; } .clinic-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 190px 190px; gap: 10px; } .gallery-feature { grid-column: 1 / 3; grid-row: 1; } .gallery-reception { grid-column: 1; grid-row: 2; } .gallery-waiting { grid-column: 2; grid-row: 2; } .gallery-doctor { grid-column: 1; grid-row: 3; } .gallery-identity { grid-column: 2; grid-row: 3; } .clinic-gallery-tile span { right: 10px; bottom: 10px; left: 10px; font-size: 10px; } .gallery-identity img { padding: 16px; } }

.specialty-detail-modal { --bs-modal-bg: transparent; }
.specialty-detail-modal .modal-dialog { width: calc(100% - 32px); max-width: 1040px; margin: 24px auto; }
.specialty-detail-modal .modal-content { max-width: 100%; overflow: hidden; border: 1px solid rgba(170, 193, 224, .72); border-radius: 24px 24px 8px 24px; background: #fff; box-shadow: 0 28px 80px rgba(8, 26, 58, .28); }
.specialty-detail-modal .modal-header { position: relative; align-items: flex-start; min-height: 124px; padding: 30px 74px 24px 38px; border-bottom: 0; background: linear-gradient(135deg, #f5f9ff 0%, #eaf2ff 100%); }
.specialty-detail-modal .modal-header::before { display: none; }
.specialty-modal-eyebrow { display: block; margin-bottom: 12px; color: var(--accent-color); font: 800 10px/1 "Montserrat", sans-serif; letter-spacing: .12em; }
.specialty-detail-modal .modal-title { margin: 0; color: #243d66; font: 800 clamp(30px, 3.4vw, 44px)/1.08 "Montserrat", sans-serif; letter-spacing: -.045em; }
.specialty-modal-close { position: absolute; top: 30px; right: 28px; display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #edf3fb; color: #243d66; transition: transform .2s ease, background .2s ease, color .2s ease; }
.specialty-modal-close:hover { transform: rotate(90deg); background: var(--accent-color); color: #fff; }
.specialty-detail-modal .modal-body { max-width: 100%; overflow-x: hidden; padding: 0 38px 34px; color: #5e6c7d; }
.specialty-modal-quote { margin: 0 0 17px; color: #202a36; font-size: 15px; font-weight: 700; line-height: 1.6; }
.specialty-modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.specialty-modal-tags span { padding: 7px 12px; border: 1px solid #d2dfed; border-radius: 999px; background: #f8fbff; color: #42566e; font: 600 11px/1.1 "Montserrat", sans-serif; }
.specialty-modal-copy p { margin: 0 0 18px; color: #5e6c7d; font-size: 14px; line-height: 1.75; }
.specialty-modal-copy { max-width: 100%; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.specialty-modal-copy img, .specialty-modal-copy video, .specialty-modal-copy iframe { display: block; max-width: 100% !important; height: auto !important; margin: 18px auto; border-radius: 12px; }
.specialty-modal-copy table { display: block; max-width: 100%; overflow-x: auto; }
.specialty-modal-copy pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; }
.specialty-modal-copy p:last-child { margin-bottom: 22px; }
.specialty-modal-note { padding: 15px 18px; border-left: 4px solid #d2a14a; background: #fff7e6; color: #6e624c; font-size: 11px; line-height: 1.6; }
.specialty-modal-note strong { color: #4d4434; }
@media (max-width: 767px) { .specialty-detail-modal .modal-dialog { margin: 10px; } .specialty-detail-modal .modal-header { min-height: 106px; padding: 25px 60px 18px 24px; } .specialty-detail-modal .modal-body { padding: 0 24px 25px; } .specialty-detail-modal .modal-title { font-size: 28px; } .specialty-modal-close { top: 22px; right: 18px; } .specialty-modal-copy p { font-size: 13px; } }

.appointment-page { padding-top: 150px; min-height: 75vh; background: var(--background-color); }
.appointment-page .page-title { padding-top: 0; }
.appointment-shell { max-width: 860px; margin: 0 auto; background: var(--surface-color); padding: 42px; box-shadow: 0 15px 45px rgba(17, 35, 68, .08); border-radius: 12px; }
.appointment-shell h2 { color: var(--heading-color); font-family: var(--heading-font); margin-bottom: 8px; }
.appointment-shell .intro { color: var(--default-color); margin-bottom: 28px; }
.appointment-form { display: grid; gap: 18px; }
.appointment-form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.appointment-form label { color: var(--heading-color); font-weight: 600; font-size: 14px; }
.appointment-form input, .appointment-form select, .appointment-form textarea { width: 100%; margin-top: 8px; border: 1px solid #dfe5ee; border-radius: 6px; padding: 12px 14px; font: inherit; background: #fff; }
.appointment-form input:focus, .appointment-form select:focus, .appointment-form textarea:focus { outline: 0; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(23, 92, 221, .12); }
.appointment-form textarea { min-height: 120px; resize: vertical; }
.appointment-form .form-actions { display: flex; justify-content: flex-end; }
.appointment-form button { border: 0; }
.appointment-form .form-disclaimer { text-align: center; color: #8490a1; font-size: 12px; }
.success-state { text-align: center; padding: 40px 15px; }
.success-state > span { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 18px; background: rgba(23, 92, 221, .1); color: var(--accent-color); border-radius: 50%; font-size: 24px; }
.success-state h3 { color: var(--heading-color); }
.success-state p { color: var(--default-color); }
@media (max-width: 1199px) { .index-page .hero { padding-top: 140px; } .clinic-brand { min-width: 340px; gap: 15px; } .clinic-brand .clinic-eye-logo { width: 120px; height: 76px; } .clinic-brand-text strong { font-size: 24px; } .clinic-brand-text small { font-size: 11px; } }
@media (max-width: 767px) { .header .branding { min-height: 70px; } .clinic-brand { min-width: 0; gap: 7px; } .clinic-brand .clinic-eye-logo { width: 70px; height: 47px; } .clinic-brand-text strong { font-size: 14px; } .clinic-brand-text small { font-size: 6px; } .index-page .hero { padding-top: 105px; } .appointment-page { padding-top: 110px; } .appointment-shell { padding: 24px 18px; } .appointment-form .form-row { grid-template-columns: 1fr; } }

/* Authenticated draft preview controls. */
.cms-preview-toolbar { position: fixed; inset: 0 0 auto 0; z-index: 10000; min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px clamp(16px, 4vw, 48px); border-bottom: 1px solid #273b58; background: #10213f; color: #f3f7fc; font-family: "Roboto", sans-serif; }
.cms-preview-toolbar > div { display: grid; gap: 2px; }
.cms-preview-toolbar strong { font: 700 13px "Montserrat", sans-serif; }
.cms-preview-toolbar span { color: #b7c6da; font-size: 11px; }
.cms-preview-toolbar nav { display: flex; align-items: center; gap: 7px; }
.cms-preview-toolbar a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border: 1px solid #41536d; border-radius: 7px; color: #e9f1fb; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cms-preview-toolbar a:hover, .cms-preview-toolbar a.active { border-color: #80b1f4; background: #1b3962; color: #fff; }
.header.cms-preview-header { top: 62px; }
.cms-preview-page .hero, .cms-preview-page .appointment-page { padding-top: 202px; }
.cms-section-shell { position: relative; }
.cms-section-edit { position: absolute; z-index: 8; top: 14px; right: 18px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid #2f5486; border-radius: 7px; color: #fff; background: #163b6d; box-shadow: 0 8px 20px rgba(17, 35, 68, .18); font: 700 12px "Montserrat", sans-serif; text-decoration: none; }
.cms-section-edit:hover { color: #fff; background: #0f2e59; }
.cms-nav-edit-icon { margin-left: 5px; font-size: 11px; }
.footer-nav span { display: block; color: var(--default-color); }
.footer-16 .contact-item a { color: inherit; text-decoration: none; }
.form-alert { padding: 12px 14px; border: 1px solid #e2a9ad; border-radius: 7px; background: #fff2f3; color: #9b2630; }
.appointment-form .errorlist { margin: 7px 0 0; padding: 0; color: #a82430; font-size: 12px; list-style: none; }
.appointment-form input[aria-invalid="true"], .appointment-form select[aria-invalid="true"], .appointment-form textarea[aria-invalid="true"] { border-color: #b4232f; }
@media (max-width: 767px) { .cms-preview-toolbar { position: sticky; min-height: 0; align-items: flex-start; flex-direction: column; gap: 8px; } .cms-preview-toolbar nav { width: 100%; overflow-x: auto; } .header.cms-preview-header { top: 0; } .cms-preview-page .hero, .cms-preview-page .appointment-page { padding-top: 105px; } .cms-section-edit { top: 8px; right: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
/* Brand accent: the mint green from ozlem-eye-logo.svg. */
:root { --accent-color: #7FC9A7; --nav-hover-color: #7FC9A7; }
.academic-work-section { background: radial-gradient(circle at 12% 8%, rgba(127, 201, 167, .12), transparent 26%), linear-gradient(180deg, #f0fbf6 0%, #f8fcff 68%, #fff 100%); }
.academic-work-card { background: radial-gradient(circle at 100% 0%, rgba(127, 201, 167, .14), transparent 18%), rgba(255, 255, 255, .97); }
.academic-work-card::after { background: rgba(127, 201, 167, .1); }
.academic-work-kicker, .academic-focus-list strong { color: #399b74; }
.academic-work-link:hover { background: #5ba884; }
.specialty-info-card::before { background: linear-gradient(180deg, #7FC9A7 0%, #b0e3c7 100%); }
.specialty-info-card::after { background: rgba(127, 201, 167, .08); box-shadow: inset 0 0 0 1px rgba(127, 201, 167, .12); }
.specialty-info-card:hover { border-color: rgba(127, 201, 167, .5); }
.specialty-index { background: #edf8f2; }
.specialty-slider-arrows button:hover { border-color: var(--accent-color); background: var(--accent-color); }
.specialty-detail-modal .modal-header { background: linear-gradient(135deg, #f4fbf7 0%, #eaf7f0 100%); }
.specialty-modal-tags span { border-color: #cfe8da; background: #f8fdf9; }
.navmenu li:hover > a, .navmenu li:hover > a:focus, .navmenu a:hover, .navmenu a:focus, .navmenu a.active, .navmenu a.active:focus { color: var(--accent-color) !important; }
.navmenu > ul > li > a::before, .navmenu > ul > li > a:hover::before, .navmenu > ul > li > a.active::before, .navmenu > ul > li:hover > a::before { background-color: var(--accent-color) !important; }
.trust-profile-section .credential-card:hover { border-color: rgba(127, 201, 167, .5); }
.academic-work-card:hover { border-color: rgba(127, 201, 167, .42); }
.academic-work-link { box-shadow: 0 8px 18px rgba(127, 201, 167, .28); }
.academic-work-link:hover { background: #5ba884; box-shadow: 0 11px 22px rgba(127, 201, 167, .35); }
.specialty-card-mark { color: rgba(127, 201, 167, .24); }
.specialty-info-card:hover { border-color: rgba(127, 201, 167, .5); box-shadow: 0 22px 46px rgba(17, 35, 68, .12); }
.appointment-form input:focus, .appointment-form select:focus, .appointment-form textarea:focus { box-shadow: 0 0 0 3px rgba(127, 201, 167, .2); }
.success-state > span { background: rgba(127, 201, 167, .16); }

/* Information center replacing the old generic CTA. */
.information-center-section { background: #f5f9fc; padding: 88px 0 104px; }
.information-center-heading { max-width: 850px; margin: 0 auto 38px; text-align: center; }
.information-center-kicker { display: inline-block; color: #399b74; font: 800 11px/1.2 "Montserrat", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.information-center-heading h2 { margin: 16px 0 14px; color: #111; font: 800 clamp(34px, 4vw, 48px)/1.08 "Montserrat", sans-serif; letter-spacing: -.035em; }
.information-center-heading p { max-width: 780px; margin: 0 auto; color: #687688; font-size: 16px; line-height: 1.65; }
.information-center-toolbar { display: flex; flex-direction: column; align-items: stretch; gap: 14px; max-width: 1120px; margin: 0 auto; }
.information-search { position: relative; display: flex; align-items: center; flex: 1 1 auto; min-height: 58px; border: 1px solid #c8d8e4; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 28px rgba(31, 65, 94, .07); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.information-search:focus-within { border-color: #7fc9a7; box-shadow: 0 0 0 4px rgba(127, 201, 167, .18), 0 14px 30px rgba(31, 65, 94, .1); transform: translateY(-1px); }
.information-search i { margin: 0 14px 0 18px; color: #168fa1; font-size: 17px; }
.information-search input { width: 100%; height: 56px; padding: 0 18px 0 0; border: 0; outline: 0; background: transparent; color: #233b5e; font: 500 14px "Montserrat", sans-serif; }
.information-search input::placeholder { color: #7b858e; }
.information-filters { display: flex; align-items: center; justify-content: center; gap: 9px; order: 1; }
.information-search { order: 2; }
.information-filter { min-height: 48px; padding: 0 17px; border: 1px solid #c8d8e4; border-radius: 999px; background: rgba(255, 255, 255, .86); color: #24395d; cursor: pointer; font: 700 12px "Montserrat", sans-serif; box-shadow: 0 6px 16px rgba(31, 65, 94, .04); transition: .2s ease; }
.information-filter:hover, .information-filter.active { border-color: #399b74; background: #399b74; color: #fff; box-shadow: 0 9px 18px rgba(57, 155, 116, .22); transform: translateY(-1px); }
.information-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1180px; margin: 36px auto 0; }
.retina-information-slider { width: 100%; max-width: 1180px; margin: 36px auto 0; }
.retina-information-track { min-height: 286px; }
.retina-information-slide { display: none; min-height: 286px; }
.retina-information-slide.active { display: block; animation: retina-slide-in .35s ease both; }
.retina-information-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.retina-information-dots { display: flex; align-items: center; gap: 7px; }
.retina-information-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #cbd8df; cursor: pointer; transition: .2s ease; }
.retina-information-dots button.active { width: 28px; border-radius: 8px; background: #399b74; }
.retina-information-arrows { display: flex; gap: 8px; }
.retina-information-arrows button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #c8d8e4; border-radius: 50%; background: #fff; color: #24395d; cursor: pointer; transition: .2s ease; }
.retina-information-arrows button:hover { border-color: #399b74; background: #399b74; color: #fff; transform: translateY(-2px); }
.retina-information-slide h3 { max-width: 620px; }
.information-card { position: relative; overflow: hidden; min-height: 278px; display: flex; flex-direction: column; padding: 34px 34px 28px 38px; border: 1px solid rgba(170, 193, 224, .72); border-radius: 22px 22px 9px 22px; background: radial-gradient(circle at 95% 8%, rgba(127, 201, 167, .13), transparent 25%), linear-gradient(135deg, #fff 0%, #f5fafc 100%); box-shadow: 0 17px 38px rgba(31, 65, 94, .08); transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.information-card.retina-information-slide { display: none; }
.information-card.retina-information-slide.active { display: flex; }
.information-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, #7fc9a7 0%, #b8e5cb 100%); }
.information-card::after { content: ""; position: absolute; right: -78px; bottom: -112px; width: 238px; height: 238px; border-radius: 50%; background: rgba(127, 201, 167, .08); box-shadow: inset 0 0 0 1px rgba(127, 201, 167, .13); pointer-events: none; }
.information-card:hover { transform: translateY(-6px); border-color: rgba(127, 201, 167, .55); box-shadow: 0 22px 44px rgba(31, 65, 94, .13); }
.information-card[hidden] { display: none; }
.information-card-mark { position: absolute; z-index: 1; top: 30px; right: 30px; color: rgba(127, 201, 167, .2); font: 900 50px/.8 "Montserrat", sans-serif; letter-spacing: -.08em; }
.information-card-category { position: relative; z-index: 1; align-self: flex-start; padding: 8px 12px; border-radius: 999px; background: #edf8f2; color: #399b74; font: 800 10px/1 "Montserrat", sans-serif; letter-spacing: .1em; }
.information-card h3 { position: relative; z-index: 1; margin: 19px 0 11px; color: #24395d; font: 800 20px/1.24 "Montserrat", sans-serif; letter-spacing: -.025em; }
.information-card p { position: relative; z-index: 1; min-height: 70px; margin: 0 0 20px; color: #687688; font-size: 13px; line-height: 1.65; }
.information-card a { position: relative; z-index: 1; margin-top: auto; padding-right: 100px; color: #399b74; font: 700 12px "Montserrat", sans-serif; }
.information-card a i { margin-left: 5px; }
.information-card .card-gallery-image { right: 24px; bottom: 24px; width: 76px; height: 52px; }
.information-empty { margin: 34px auto 0; color: #687688; text-align: center; }
.collection-empty-state, .information-empty { width: 100%; min-height: 340px; display: grid; place-items: center; margin: 0; padding: 42px 28px; box-sizing: border-box; border: 1px dashed rgba(127, 201, 167, .58); border-radius: 28px 28px 10px 28px; background: linear-gradient(135deg, rgba(247, 253, 250, .95), rgba(237, 248, 242, .78)); color: #607487; text-align: center; font: 600 15px/1.6 "Montserrat", sans-serif; }
.information-empty { min-height: 210px; margin-top: 28px; border: 0; }
.specialty-info-card .card-gallery-image { right: 30px; bottom: 24px; }
@media (max-width: 767px) {
  .specialty-info-card a { padding-right: 92px; }
  .specialty-info-card .card-gallery-image { right: 22px; bottom: 22px; width: 70px; height: 48px; }
  .information-card a { padding-right: 88px; }
  .information-card .card-gallery-image { right: 20px; bottom: 20px; width: 68px; height: 46px; }
}
@keyframes retina-slide-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
@media (max-width: 991px) { .information-center-toolbar { flex-direction: column; } .information-filters { overflow-x: auto; padding-bottom: 4px; } .information-filter { min-height: 42px; white-space: nowrap; } .information-card-grid { grid-template-columns: repeat(2, 1fr); } .retina-information-slider { max-width: 100%; } }
@media (max-width: 575px) { .information-center-section { padding: 68px 0 78px; } .information-center-heading p { font-size: 14px; } .information-card-grid { grid-template-columns: 1fr; } .information-card { min-height: 264px; padding: 30px 26px 26px 32px; } .information-card p { min-height: 0; } .information-card-mark { right: 24px; top: 26px; font-size: 44px; } .retina-information-track, .retina-information-slide { min-height: 310px; } }

.information-article-modal { --bs-modal-bg: transparent; }
.information-article-modal .modal-dialog { width: calc(100% - 32px); max-width: 1040px; margin: 24px auto; }
.information-article-modal .modal-content { max-width: 100%; overflow: hidden; border: 1px solid rgba(170, 193, 224, .72); border-radius: 24px 24px 8px 24px; background: #fff; box-shadow: 0 28px 80px rgba(8, 26, 58, .28); }
.information-article-modal .modal-header { position: relative; align-items: flex-start; min-height: 148px; padding: 34px 78px 26px 40px; border-bottom: 0; background: linear-gradient(135deg, #f4fbf7 0%, #eaf7f0 100%); }
.information-article-eyebrow { display: block; margin-bottom: 12px; color: #399b74; font: 800 10px/1 "Montserrat", sans-serif; letter-spacing: .14em; }
.information-article-modal .modal-title { margin: 0; color: #243d66; font: 800 clamp(27px, 3.2vw, 42px)/1.1 "Montserrat", sans-serif; letter-spacing: -.045em; }
.information-article-date { margin: 12px 0 0; color: #708095; font: 600 12px/1.2 "Montserrat", sans-serif; }
.information-article-close { position: absolute; top: 28px; right: 28px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #e4f2eb; color: #243d66; transition: transform .2s ease, background .2s ease, color .2s ease; }
.information-article-close:hover { transform: rotate(90deg); background: #399b74; color: #fff; }
.information-article-modal .modal-body { max-width: 100%; overflow-x: hidden; padding: 30px 40px 36px; color: #5e6c7d; }
.information-article-lead { margin-bottom: 28px; padding: 20px 22px; border-left: 4px solid #7fc9a7; border-radius: 0 14px 14px 0; background: #f4fbf7; }
.information-article-lead p { margin: 0; color: #3f526b; font-size: 15px; line-height: 1.75; }
.information-article-copy h3 { margin: 26px 0 10px; color: #243d66; font: 800 20px/1.25 "Montserrat", sans-serif; letter-spacing: -.025em; }
.information-article-copy h3:first-child { margin-top: 0; }
.information-article-copy h4 { margin: 20px 0 7px; color: #399b74; font: 800 14px/1.35 "Montserrat", sans-serif; }
.information-article-copy p { margin: 0 0 16px; color: #5e6c7d; font-size: 14px; line-height: 1.78; }
.information-article-copy { max-width: 100%; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.information-article-copy img, .information-article-copy video, .information-article-copy iframe { display: block; max-width: 100% !important; height: auto !important; margin: 18px auto; border-radius: 12px; }
.information-article-copy table { display: block; max-width: 100%; overflow-x: auto; }
.information-article-copy pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; }
.information-article-caption { padding-left: 14px; color: #8a98a8 !important; font-size: 12px !important; font-style: italic; }
.information-article-copy ul { display: grid; gap: 9px; margin: 0 0 26px; padding-left: 20px; color: #5e6c7d; font-size: 14px; line-height: 1.65; }
.information-article-copy li::marker { color: #399b74; }
.information-article-note { padding: 15px 18px; border-left: 4px solid #d2a14a; background: #fff7e6; color: #6e624c; font-size: 11px; line-height: 1.6; }
.information-article-note strong { color: #4d4434; }
.information-article-source { margin: 18px 0 0; color: #8794a4; font-size: 11px; }
.information-article-source a { color: #399b74; font-weight: 700; }
@media (max-width: 767px) { .information-article-modal .modal-dialog { margin: 10px; } .information-article-modal .modal-header { min-height: 124px; padding: 27px 58px 22px 24px; } .information-article-modal .modal-body { padding: 24px 24px 28px; } .information-article-modal .modal-title { font-size: 27px; } .information-article-close { top: 20px; right: 18px; } .information-article-lead p, .information-article-copy p, .information-article-copy ul { font-size: 13px; } }

.appointment-request-modal { --bs-modal-bg: transparent; }
.appointment-request-modal .modal-dialog { max-width: 820px; margin: 14px auto; }
.appointment-request-modal .modal-content { overflow: hidden; border: 1px solid rgba(170, 193, 224, .72); border-radius: 24px 24px 8px 24px; background: #fff; box-shadow: 0 28px 80px rgba(8, 26, 58, .28); }
.appointment-request-modal .modal-header { position: relative; align-items: flex-start; padding: 38px 78px 24px 34px; border-bottom: 0; background: linear-gradient(135deg, #f4fbf7 0%, #eaf7f0 100%); }
.appointment-request-eyebrow { display: block; margin-bottom: 14px; color: #008fa3; font: 800 10px/1 "Montserrat", sans-serif; letter-spacing: .14em; }
.appointment-request-modal .modal-title { margin: 0; color: #243d66; font: 800 clamp(30px, 4vw, 42px)/1.08 "Montserrat", sans-serif; letter-spacing: -.045em; }
.appointment-request-intro { max-width: 690px; margin: 17px 0 0; color: #5e6c7d; font-size: 15px; line-height: 1.7; }
.appointment-request-close { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #e6f3ed; color: #243d66; transition: transform .2s ease, background .2s ease, color .2s ease; }
.appointment-request-close:hover { transform: rotate(90deg); background: #399b74; color: #fff; }
.appointment-request-modal .modal-body { padding: 24px 34px 32px; }
.appointment-request-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.appointment-request-grid label { display: grid; gap: 8px; color: #243d66; font: 700 12px/1.2 "Montserrat", sans-serif; }
.appointment-request-grid input, .appointment-request-grid select { width: 100%; min-height: 54px; padding: 0 18px; border: 1px solid #cbdde5; border-radius: 11px; outline: 0; color: #435970; background: #fff; font: 400 15px "Lato", sans-serif; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.appointment-request-grid input::placeholder { color: #8a9299; }
.appointment-request-grid input:focus, .appointment-request-grid select:focus { border-color: #399b74; box-shadow: 0 0 0 3px rgba(127, 201, 167, .2); }
.appointment-request-grid input[readonly] { background: #f1f7f5; color: #5d7485; }
.appointment-consent { display: flex; align-items: flex-start; gap: 12px; margin: 20px 4px 0; color: #6f7d90; font: 400 12px/1.5 "Lato", sans-serif; cursor: pointer; }
.appointment-consent input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; accent-color: #399b74; }
.appointment-request-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 21px; }
.appointment-request-submit { display: inline-flex; align-items: center; gap: 9px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 5px; background: #08afc1; color: #fff; cursor: pointer; font: 800 13px "Montserrat", sans-serif; box-shadow: 0 10px 22px rgba(8, 175, 193, .2); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.appointment-request-submit:hover { transform: translateY(-2px); background: #058f9f; box-shadow: 0 14px 26px rgba(8, 175, 193, .28); }
.appointment-request-phone { color: #008fa3; font: 800 12px "Montserrat", sans-serif; text-decoration: none; }
.appointment-request-disclaimer { margin: 15px 0 0; color: #8291a0; font-size: 11px; line-height: 1.55; }
.appointment-request-notice { margin-top: 15px; padding: 13px 15px; border-left: 4px solid #7fc9a7; background: #edf8f2; color: #356653; font-size: 12px; line-height: 1.5; }
@media (max-width: 767px) { .appointment-request-modal .modal-dialog { margin: 8px; } .appointment-request-modal .modal-header { padding: 30px 58px 21px 24px; } .appointment-request-modal .modal-body { padding: 22px 24px 26px; } .appointment-request-modal .modal-title { font-size: 28px; } .appointment-request-intro { font-size: 13px; } .appointment-request-grid { grid-template-columns: 1fr; gap: 14px; } .appointment-request-actions { align-items: flex-start; flex-direction: column; gap: 14px; } }

.contact-center-section { position: relative; overflow: hidden; padding: 94px 0 108px; background: linear-gradient(125deg, #102f2b 0%, #1d5746 56%, #2d765b 100%); color: #fff; }
.contact-center-section::before { content: ""; position: absolute; top: -180px; right: -110px; width: 520px; height: 520px; border: 1px solid rgba(204, 242, 222, .15); border-radius: 50%; box-shadow: 0 0 0 45px rgba(204, 242, 222, .035), 0 0 0 90px rgba(204, 242, 222, .025); pointer-events: none; }
.contact-center-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; max-width: 1060px; }
.contact-center-copy { max-width: 500px; }
.contact-center-kicker { display: inline-flex; align-items: center; gap: 8px; color: #62c5a0; font: 800 11px "Montserrat", sans-serif; letter-spacing: .14em; }
.contact-center-kicker i { display: inline-block; width: 26px; height: 2px; background: #7fc9a7; }
.contact-center-copy h2 { margin: 12px 0 18px; color: #fff; font: 800 clamp(34px, 4vw, 48px)/1.08 "Montserrat", sans-serif; letter-spacing: -.045em; }
.contact-center-copy > p { margin: 0 0 24px; color: #c3ccdc; font-size: 14px; line-height: 1.7; }
.contact-center-details { display: grid; gap: 10px; }
.contact-center-detail { display: flex; flex-direction: column; gap: 4px; padding: 15px 17px; border: 1px solid rgba(214, 247, 228, .24); border-radius: 12px; background: rgba(255, 255, 255, .11); color: #fff; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: blur(8px); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.contact-center-detail:hover { border-color: rgba(127, 201, 167, .75); background: rgba(127, 201, 167, .12); color: #fff; transform: translateX(4px); }
.contact-center-detail strong { font: 700 11px "Montserrat", sans-serif; }
.contact-center-detail span { color: #d5dcea; font-size: 12px; line-height: 1.45; }
.contact-center-location { position: relative; z-index: 1; padding: 27px 27px 29px; border: 1px solid rgba(255, 255, 255, .65); border-radius: 24px 24px 8px 24px; background: rgba(255, 255, 255, .96); color: #24395d; box-shadow: 0 28px 70px rgba(4, 35, 25, .28); }
.contact-center-location h3 { margin: 0 0 12px; font: 800 18px "Montserrat", sans-serif; }
.contact-center-location > p { margin: 0 0 16px; color: #718092; font-size: 13px; line-height: 1.55; }
.contact-map-placeholder { min-height: 218px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid #dce9ef; border-radius: 16px; background: radial-gradient(circle at 50% 30%, rgba(127, 201, 167, .28), transparent 25%), linear-gradient(135deg, #f5fcfd 0%, #edf9f1 100%); text-align: center; }
.contact-map-placeholder iframe { display: block; width: 100%; height: 218px; border: 0; border-radius: 15px; }
.contact-map-placeholder i { color: #399b74; font-size: 44px; }
.contact-map-placeholder strong { color: #24395d; font: 700 13px "Montserrat", sans-serif; }
.contact-map-placeholder span { color: #8a98a8; font-size: 11px; }
.contact-map-button { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 13px 18px; border-radius: 999px; background: #399b74; color: #fff; font: 700 12px "Montserrat", sans-serif; text-decoration: none; box-shadow: 0 10px 22px rgba(57, 155, 116, .24); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.contact-map-button:hover { background: #2f855f; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px rgba(57, 155, 116, .32); }
@media (max-width: 767px) { .contact-center-section { padding: 72px 0 82px; } .contact-center-grid { grid-template-columns: 1fr; gap: 34px; } .contact-center-copy { max-width: none; } .contact-center-location { padding: 20px; } }

/* Public-site controls: a calm editorial green, with compact glassy controls. */
.site-tools { display: flex; align-items: center; gap: 8px; margin-left: 18px; flex: 0 0 auto; }
.site-tool-button { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #d5e7df; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #243d66; box-shadow: 0 7px 18px rgba(35, 61, 102, .08); cursor: pointer; transition: transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease; }
.site-tool-button:hover { transform: translateY(-2px); border-color: #7fc9a7; background: #effaf4; color: #2f855f; box-shadow: 0 11px 24px rgba(57, 155, 116, .16); }
.site-tool-button:focus-visible { outline: 3px solid rgba(127, 201, 167, .35); outline-offset: 3px; }
.language-menu { position: relative; z-index: 20; }
.language-toggle { position: relative; justify-content: center; width: auto; min-width: 104px; height: 38px; padding: 0 13px; border-color: #cfe8da; border-radius: 999px; background: #f2faf6; color: #27704f; }
.language-toggle .language-label { font: 800 11px/1 "Montserrat", sans-serif; letter-spacing: .02em; }
.language-toggle .language-chevron { position: absolute; right: 7px; margin: 0; font-size: 10px; transition: transform .2s ease; }
.language-menu.is-open .language-chevron { transform: rotate(180deg); }
.language-toggle:hover, .language-menu.is-open .language-toggle { border-color: #7fc9a7; background: #e4f5eb; color: #236747; }
.language-dropdown { position: absolute; top: calc(100% + 10px); right: 0; display: grid; width: 158px; padding: 6px; border: 1px solid #d5e7df; border-radius: 15px; background: rgba(255, 255, 255, .98); box-shadow: 0 18px 36px rgba(35, 61, 102, .16); backdrop-filter: blur(12px); }
.language-dropdown[hidden] { display: none; }
.language-dropdown button { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 39px; padding: 0 11px; border: 0; border-radius: 10px; background: transparent; color: #243d66; cursor: pointer; text-align: left; font: 700 12px/1 "Montserrat", sans-serif; }
.language-dropdown button b { color: #7b8b98; font-size: 10px; letter-spacing: .08em; }
.language-dropdown button:hover, .language-dropdown button.is-active { background: #effaf4; color: #2f855f; }
.language-dropdown button.is-active b { color: #399b74; }
.hero-actions .btn, .academic-work-link, .appointment-request-submit, .contact-map-button { transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease; }
.hero-actions .btn.btn-primary { border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: linear-gradient(135deg, #399b74, #2f855f); box-shadow: 0 13px 28px rgba(57, 155, 116, .22); }
.hero-actions .btn.btn-primary:hover { transform: translateY(-3px); background: linear-gradient(135deg, #48aa83, #2f855f); box-shadow: 0 18px 34px rgba(57, 155, 116, .3); }
.hero-actions .btn.btn-outline, .hero-actions .btn.btn-outline-primary { border: 1px solid #7fc9a7; border-radius: 999px; background: rgba(255, 255, 255, .66); color: #2f855f; }
.hero-actions .btn.btn-outline:hover, .hero-actions .btn.btn-outline-primary:hover { transform: translateY(-3px); border-color: #399b74; background: #effaf4; color: #27704f; box-shadow: 0 14px 26px rgba(57, 155, 116, .15); }
.academic-work-link, .contact-map-button { border-radius: 999px !important; }
.appointment-request-submit { background: linear-gradient(135deg, #399b74, #2f855f); border-radius: 999px; box-shadow: 0 12px 24px rgba(57, 155, 116, .22); }
.appointment-request-submit:hover { background: linear-gradient(135deg, #48aa83, #2f855f); box-shadow: 0 16px 30px rgba(57, 155, 116, .3); }
.information-filter { font-weight: 800 !important; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.information-filter:hover, .information-filter.active { transform: translateY(-2px); border-color: #7fc9a7 !important; background: #effaf4 !important; color: #2f855f !important; box-shadow: 0 9px 20px rgba(57, 155, 116, .13); }
.specialty-slider-arrows button, .academic-slider-arrows button, .retina-information-arrows button { transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.specialty-slider-arrows button:hover, .academic-slider-arrows button:hover, .retina-information-arrows button:hover { transform: translateY(-2px); border-color: #7fc9a7; background: #effaf4; color: #2f855f; box-shadow: 0 9px 18px rgba(57, 155, 116, .13); }

/* Dark mode keeps the same identity: deep botanical surfaces, mint accents and quiet contrast. */
body.site-dark-mode { --background-color: #0d1e1a; --default-color: #c7d9d1; --heading-color: #effaf4; --surface-color: #142b25; --contrast-color: #fff; --accent-color: #7fc9a7; background: #0d1e1a; color: #c7d9d1; }
body.site-dark-mode .header, body.site-dark-mode .header .branding { background: #102a24 !important; border-color: rgba(127, 201, 167, .16); }
body.site-dark-mode .gallery-page .clinic-gallery-section { background: #0d1e1a !important; }
body.site-dark-mode .gallery-page .clinic-gallery-heading h2 { color: #effaf4 !important; }
body.site-dark-mode .gallery-page .clinic-gallery-heading p { color: #b2c8bf !important; }
body.site-dark-mode .topbar { background: #09201a !important; }
body.site-dark-mode .clinic-brand-text strong, body.site-dark-mode .clinic-brand-text small { color: #effaf4; }
body.site-dark-mode .navmenu a, body.site-dark-mode .navmenu a:focus { color: #c7d9d1; }
body.site-dark-mode .navmenu a:hover, body.site-dark-mode .navmenu .active { color: #8bd4b0; }
body.site-dark-mode .hero, body.site-dark-mode .home-about, body.site-dark-mode .trust-profile-section, body.site-dark-mode .featured-departments, body.site-dark-mode .information-center-section, body.site-dark-mode .clinic-gallery-section, body.site-dark-mode .academic-work-section { background: #0d1e1a !important; }
body.site-dark-mode .medical-notice, body.site-dark-mode .credential-card, body.site-dark-mode .academic-bio-slider, body.site-dark-mode .academic-work-card, body.site-dark-mode .information-card, body.site-dark-mode .retina-information-slide, body.site-dark-mode .specialty-detail-modal .modal-content, body.site-dark-mode .information-article-modal .modal-content, body.site-dark-mode .appointment-request-modal .modal-content { background: #142b25 !important; color: #c7d9d1; border-color: rgba(127, 201, 167, .25); }
body.site-dark-mode h1, body.site-dark-mode h2, body.site-dark-mode h3, body.site-dark-mode h4, body.site-dark-mode h5, body.site-dark-mode h6, body.site-dark-mode .modal-title { color: #effaf4 !important; }
body.site-dark-mode p, body.site-dark-mode li, body.site-dark-mode .information-card p, body.site-dark-mode .academic-work-card p, body.site-dark-mode .academic-slider-copy, body.site-dark-mode .appointment-request-intro, body.site-dark-mode .appointment-request-disclaimer { color: #b2c8bf !important; }
body.site-dark-mode .information-search, body.site-dark-mode .information-filter, body.site-dark-mode .appointment-request-grid input, body.site-dark-mode .appointment-request-grid select { background: #10231f; color: #e9f7ef; border-color: #365d4e; }
body.site-dark-mode .information-filter:hover, body.site-dark-mode .information-filter.active, body.site-dark-mode .specialty-slider-arrows button:hover, body.site-dark-mode .academic-slider-arrows button:hover, body.site-dark-mode .retina-information-arrows button:hover { background: #19372d !important; color: #a9e4c3 !important; border-color: #7fc9a7; }
body.site-dark-mode .appointment-request-grid input[readonly] { background: #19372d; }
body.site-dark-mode .information-article-modal .modal-header, body.site-dark-mode .appointment-request-modal .modal-header { background: linear-gradient(135deg, #16362d, #10251f); }
body.site-dark-mode .information-article-lead, body.site-dark-mode .appointment-request-notice { background: #19372d; color: #c7d9d1; }
body.site-dark-mode .contact-center-location { background: #142b25; color: #effaf4; border-color: rgba(127, 201, 167, .24); }
body.site-dark-mode .contact-center-location > p, body.site-dark-mode .contact-center-location strong { color: #c7d9d1; }
body.site-dark-mode .contact-map-placeholder { background: radial-gradient(circle at 50% 30%, rgba(127, 201, 167, .25), transparent 25%), linear-gradient(135deg, #132c26, #19372d); border-color: #365d4e; }
body.site-dark-mode .contact-map-placeholder strong { color: #effaf4; }
body.site-dark-mode .footer { background: #081915 !important; }

/* Appointment page: compact, calm booking surface for both themes. */
.appointment-page {
  min-height: 100vh;
  padding: 154px 0 92px;
  background:
    radial-gradient(circle at 88% 12%, rgba(127, 201, 167, .12), transparent 26%),
    var(--background-color);
}
.appointment-page .page-title {
  padding: 0 0 34px;
}
.appointment-page .page-title .container,
.appointment-page > .section > .container {
  max-width: 1120px;
}
.appointment-page .page-title .heading {
  max-width: 760px;
  margin: 0;
}
.appointment-page .page-title h1 {
  margin-bottom: 10px;
  color: var(--heading-color);
  font: 800 clamp(34px, 4vw, 54px)/1.04 "Montserrat", sans-serif;
  letter-spacing: -.045em;
}
.appointment-page .page-title p {
  max-width: 660px;
  margin: 0;
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.65;
}
.appointment-page > .section {
  padding: 0;
}
.appointment-shell {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 34px 40px 28px;
  overflow: hidden;
  border: 1px solid rgba(127, 201, 167, .24);
  border-radius: 22px 22px 8px 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(127, 201, 167, .1), transparent 30%),
    var(--surface-color);
  box-shadow: 0 24px 60px rgba(9, 34, 26, .12);
}
.appointment-shell::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #7fc9a7, #399b74);
  content: "";
}
.appointment-shell h2 {
  margin: 0 0 7px;
  color: var(--heading-color);
  font: 800 clamp(25px, 3vw, 34px)/1.1 "Montserrat", sans-serif;
  letter-spacing: -.035em;
}
.appointment-shell .intro {
  max-width: 620px;
  margin: 0 0 27px;
  color: var(--default-color);
  font-size: 14px;
  line-height: 1.6;
}
.appointment-form {
  display: grid;
  gap: 18px;
}
.appointment-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.appointment-form label {
  display: grid;
  gap: 8px;
  align-content: start;
  color: var(--heading-color);
  font: 700 12px/1.2 "Montserrat", sans-serif;
}
.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid rgba(127, 201, 167, .28);
  border-radius: 11px;
  outline: 0;
  color: var(--heading-color);
  background: color-mix(in srgb, var(--surface-color) 76%, var(--background-color));
  font: 500 14px/1.45 "Lato", sans-serif;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.appointment-form input::placeholder,
.appointment-form textarea::placeholder { color: color-mix(in srgb, var(--default-color) 70%, transparent); }
.appointment-form textarea {
  min-height: 116px;
  padding: 13px 15px;
  resize: vertical;
}
.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color: #7fc9a7;
  box-shadow: 0 0 0 4px rgba(127, 201, 167, .16);
}
.appointment-form .form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}
.appointment-form button.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 21px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #399b74, #2f855f);
  box-shadow: 0 12px 24px rgba(57, 155, 116, .22);
  font: 800 12px "Montserrat", sans-serif;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.appointment-form button.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #48aa83, #2f855f);
  box-shadow: 0 16px 30px rgba(57, 155, 116, .3);
}
.appointment-form .form-disclaimer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
  color: var(--default-color);
  font-size: 11px;
  opacity: .75;
}
.appointment-form .form-disclaimer i { color: #7fc9a7; }
.appointment-form .errorlist {
  margin: -2px 0 0;
  color: #ef8e98;
  font-size: 11px;
}
.appointment-form input[aria-invalid="true"],
.appointment-form select[aria-invalid="true"],
.appointment-form textarea[aria-invalid="true"] { border-color: #dc6d79; }
.appointment-doctor-field input[readonly] {
  color: var(--default-color);
  background: color-mix(in srgb, var(--accent-color) 8%, var(--surface-color));
}
.success-state { padding: 34px 15px 18px; }
.success-state > span { background: rgba(127, 201, 167, .16); color: #399b74; }

body.site-dark-mode .appointment-shell {
  border-color: rgba(127, 201, 167, .3);
  background:
    radial-gradient(circle at 100% 0%, rgba(127, 201, 167, .13), transparent 32%),
    #142b25;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .22);
}
body.site-dark-mode .appointment-form input,
body.site-dark-mode .appointment-form select,
body.site-dark-mode .appointment-form textarea {
  border-color: #365d4e;
  color: #e9f7ef;
  background: #10231f;
}
body.site-dark-mode .appointment-form input:focus,
body.site-dark-mode .appointment-form select:focus,
body.site-dark-mode .appointment-form textarea:focus {
  border-color: #7fc9a7;
  background: #132b24;
}

/* Appointment date picker: a quiet calendar control that matches the mint brand. */
.appointment-date-control {
  position: relative;
  display: block;
}
.appointment-date-control > i {
  position: absolute;
  top: 50%;
  right: 16px;
  z-index: 1;
  color: #399b74;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}
.appointment-form .appointment-date-control input[type="date"] {
  position: relative;
  padding-right: 48px;
  cursor: pointer;
}
.appointment-form .appointment-date-control input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.appointment-request-grid input[type="date"] {
  padding-right: 48px;
  color-scheme: light;
  cursor: pointer;
}
.appointment-request-grid input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: .72;
  cursor: pointer;
  filter: sepia(30%) saturate(80%) hue-rotate(90deg);
}
body.site-dark-mode .appointment-form .appointment-date-control > i { color: #9be0ba; }
body.site-dark-mode .appointment-form .appointment-date-control input[type="date"] { color-scheme: dark; }

/* Custom appointment calendar popup. Native browser calendars cannot be themed reliably. */
.appointment-date-control { position: relative; display: block; }
.appointment-date-control > input[type="hidden"] { display: none !important; }
.date-picker-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid #d6e3e8;
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface-color) 76%, var(--background-color));
  color: var(--default-color);
  cursor: pointer;
  font: 500 14px/1.45 "Lato", sans-serif;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.date-picker-trigger:hover,
.appointment-date-control.is-open .date-picker-trigger {
  border-color: #399b74;
  box-shadow: 0 0 0 4px rgba(127, 201, 167, .16);
}
.date-picker-trigger:focus { outline: 0; }
.date-picker-trigger:focus-visible { outline: 2px solid #399b74; outline-offset: 2px; }
.date-picker-trigger [data-date-label] { color: var(--default-color); }
.date-picker-trigger [data-date-label]:empty,
.date-picker-trigger [data-date-label] { min-width: 0; }
.date-picker-trigger i { color: #399b74; font-size: 18px; }
.date-picker-popover {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  z-index: 20;
  display: block;
  width: min(310px, calc(100vw - 34px));
  padding: 14px;
  border: 1px solid rgba(127, 201, 167, .4);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(17, 35, 68, .2);
  color: #243d66;
}
.date-picker-popover[hidden] { display: none; }
.date-picker-popover.opens-up { top: auto; bottom: calc(100% + 9px); }
.date-picker-popover[style*="position: fixed"] { z-index: 1080; bottom: auto; }
.date-picker-header,
.date-picker-footer,
.date-picker-weekdays,
.date-picker-days { display: grid; }
.date-picker-header { grid-template-columns: 34px 1fr 34px; align-items: center; gap: 8px; margin-bottom: 13px; }
.date-picker-header strong { color: #243d66; font: 800 13px/1.2 "Montserrat", sans-serif; text-align: center; text-transform: capitalize; }
.date-picker-header button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: #eef8f2; color: #399b74; cursor: pointer; }
.date-picker-header button:hover { background: #399b74; color: #fff; }
.date-picker-weekdays,
.date-picker-days { grid-template-columns: repeat(7, 1fr); gap: 4px; }
.date-picker-weekdays { margin-bottom: 7px; color: #7d8b9c; font: 800 10px/1 "Montserrat", sans-serif; text-align: center; text-transform: uppercase; }
.date-picker-days { min-height: 190px; }
.date-picker-day { display: grid; place-items: center; width: 32px; height: 32px; margin: auto; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #435970; cursor: pointer; font: 700 12px/1 "Lato", sans-serif; }
.date-picker-day:hover:not(:disabled) { background: #e5f5eb; color: #2f855f; }
.date-picker-day.is-selected { background: #399b74; color: #fff; box-shadow: 0 5px 12px rgba(57, 155, 116, .24); }
.date-picker-day.is-today:not(.is-selected) { outline: 1px solid #399b74; outline-offset: -2px; color: #2f855f; }
.date-picker-day.is-muted,
.date-picker-day:disabled { color: #c4d0d7; cursor: not-allowed; }
.date-picker-footer { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #e3ecee; }
.date-picker-footer button { padding: 7px 8px; border: 0; border-radius: 8px; background: transparent; color: #399b74; cursor: pointer; font: 800 11px "Montserrat", sans-serif; }
.date-picker-footer button:hover { background: #eef8f2; }
.appointment-request-grid .date-picker-trigger { min-height: 54px; padding: 0 18px; }
.appointment-request-grid .date-picker-popover { width: min(310px, calc(100vw - 48px)); }
body.site-dark-mode .date-picker-trigger { border-color: #365d4e; background: #10231f; color: #e9f7ef; }
body.site-dark-mode .date-picker-trigger [data-date-label] { color: #e9f7ef; }
body.site-dark-mode .date-picker-popover { border-color: rgba(127, 201, 167, .42); background: #142b25; color: #d6e9df; box-shadow: 0 22px 55px rgba(0, 0, 0, .35); }
body.site-dark-mode .date-picker-header strong { color: #effaf4; }
body.site-dark-mode .date-picker-header button { background: #19372d; color: #9be0ba; }
body.site-dark-mode .date-picker-header button:hover { background: #399b74; color: #fff; }
body.site-dark-mode .date-picker-weekdays { color: #86aa9a; }
body.site-dark-mode .date-picker-day { color: #c7d9d1; }
body.site-dark-mode .date-picker-day:hover:not(:disabled) { background: #19372d; color: #b9edcc; }
body.site-dark-mode .date-picker-day.is-muted,
body.site-dark-mode .date-picker-day:disabled { color: #496a5c; }
body.site-dark-mode .date-picker-footer { border-color: rgba(127, 201, 167, .18); }
body.site-dark-mode .date-picker-footer button:hover { background: #19372d; }

@media (max-width: 767px) {
  .appointment-page { padding: 112px 0 64px; }
  .appointment-page .page-title { padding-bottom: 25px; }
  .appointment-page .page-title h1 { font-size: 34px; }
  .appointment-shell { padding: 26px 20px 23px; border-radius: 18px 18px 7px 18px; }
  .appointment-form .form-row { grid-template-columns: 1fr; gap: 16px; }
  .appointment-form .form-actions { justify-content: stretch; }
  .appointment-form button.btn-primary { width: 100%; justify-content: center; }
}
body.site-dark-mode .site-tool-button { background: rgba(127, 201, 167, .09); border-color: rgba(127, 201, 167, .34); color: #bfe9d0; box-shadow: 0 7px 18px rgba(0, 0, 0, .16); }
body.site-dark-mode .language-toggle { border-color: #7fc9a7; background: #102a24; color: #bfe9d0; }
body.site-dark-mode .language-toggle:hover, body.site-dark-mode .language-menu.is-open .language-toggle { background: #14352c; border-color: #a1dfbc; color: #effaf4; }
body.site-dark-mode .language-dropdown { border-color: rgba(127, 201, 167, .32); background: rgba(16, 42, 36, .98); box-shadow: 0 18px 36px rgba(0, 0, 0, .3); }
body.site-dark-mode .language-dropdown button { color: #d6eee0; }
body.site-dark-mode .language-dropdown button b { color: #8dbba2; }
body.site-dark-mode .language-dropdown button:hover, body.site-dark-mode .language-dropdown button.is-active { background: #19372d; color: #a9e4c3; }
body.site-dark-mode .language-dropdown button.is-active b { color: #91d7b2; }
body.site-dark-mode .site-tool-button:hover { background: rgba(127, 201, 167, .2); border-color: #a1dfbc; color: #effaf4; }
body.site-dark-mode .hero-actions .btn.btn-outline, body.site-dark-mode .hero-actions .btn.btn-outline-primary { background: rgba(20, 43, 37, .72); color: #a9e4c3; }
body.site-dark-mode .hero-actions .btn.btn-outline:hover, body.site-dark-mode .hero-actions .btn.btn-outline-primary:hover { background: #19372d; color: #effaf4; }
body.site-dark-mode .specialties-section { background: #0d1e1a !important; }
body.site-dark-mode .academic-work-section { background: #0d1e1a !important; }
body.site-dark-mode .academic-work-card { border-color: rgba(127, 201, 167, .34); background: radial-gradient(circle at 100% 0%, rgba(127, 201, 167, .14), transparent 22%), #142b25; box-shadow: 0 18px 42px rgba(0, 0, 0, .2); }
body.site-dark-mode .academic-work-card::after { background: rgba(127, 201, 167, .1); }
body.site-dark-mode .academic-work-card h3 { color: #effaf4 !important; }
body.site-dark-mode .academic-focus-list, body.site-dark-mode .academic-focus-list div, body.site-dark-mode .academic-collapsible { border-color: rgba(127, 201, 167, .28); }
body.site-dark-mode .academic-focus-list span, body.site-dark-mode .academic-collapsible p { color: #b2c8bf !important; }
body.site-dark-mode .academic-collapsible summary { color: #effaf4 !important; }
body.site-dark-mode .collection-empty-state, body.site-dark-mode .information-empty { border-color: rgba(127, 201, 167, .5); background: rgba(20, 43, 37, .8); color: #b2c8bf; }
body.site-dark-mode .specialties-section .section-title p { color: #b2c8bf !important; }
body.site-dark-mode .specialty-info-card { border-color: rgba(127, 201, 167, .36); background: radial-gradient(circle at 92% 10%, rgba(127, 201, 167, .18), transparent 28%), linear-gradient(135deg, #142b25 0%, #19372d 100%); box-shadow: 0 22px 52px rgba(0, 0, 0, .2); }
body.site-dark-mode .specialty-info-card::after { background: rgba(127, 201, 167, .08); box-shadow: inset 0 0 0 1px rgba(127, 201, 167, .14); }
body.site-dark-mode .specialty-info-card:hover { border-color: rgba(127, 201, 167, .68); box-shadow: 0 24px 52px rgba(0, 0, 0, .28); }
body.site-dark-mode .specialty-index { background: #19372d; color: #9be0b9; }
body.site-dark-mode .specialty-card-mark { color: rgba(127, 201, 167, .2); }
body.site-dark-mode .specialty-info-card > strong { color: #effaf4 !important; }
body.site-dark-mode .specialty-info-card > p { color: #b2c8bf !important; }
body.site-dark-mode .specialty-info-card a { color: #9be0b9; }
body.site-dark-mode .specialty-slider-dots button { background: #365d4e; }
body.site-dark-mode .specialty-slider-arrows button { border-color: #365d4e; background: #142b25; color: #d6eee0; }
body.site-dark-mode .specialty-detail-modal .modal-header { background: linear-gradient(135deg, #16362d 0%, #10251f 100%); color: #effaf4; }
body.site-dark-mode .specialty-detail-modal .modal-title { color: #effaf4 !important; }
body.site-dark-mode .specialty-detail-modal .modal-body { color: #c7d9d1; }
body.site-dark-mode .specialty-modal-quote { color: #effaf4 !important; }
body.site-dark-mode .specialty-modal-tags span { border-color: #3f6d5b; background: #19372d; color: #d6eee0; }
body.site-dark-mode .specialty-modal-copy p { color: #b2c8bf !important; }
body.site-dark-mode .specialty-modal-note { border-left-color: #c59b4c; background: #302b1f; color: #eadfbe; }
body.site-dark-mode .specialty-modal-note strong { color: #fff1c9; }
body.site-dark-mode .specialty-modal-close { background: #19372d; color: #d6eee0; }
body.site-dark-mode .specialty-modal-close:hover { background: #7fc9a7; color: #10251f; }
@media (max-width: 1199px) {
  .header .branding .container { gap: 12px; }
  .navmenu { flex: 1 1 auto; min-width: 0; }
  .navmenu ul { gap: 13px !important; }
  .navmenu a { padding: 8px 2px !important; font-size: 12px !important; white-space: nowrap; }
  .site-tools { position: relative; z-index: 10000; margin-left: 4px; }
  .language-menu { z-index: 10001; }
  .language-dropdown { z-index: 10002; }
}
@media (max-width: 767px) {
  .header .branding .container { min-height: 70px; padding-right: 18px; padding-left: 18px; }
  .clinic-brand { max-width: calc(100% - 160px); overflow: hidden; }
  .clinic-brand-text { min-width: 0; overflow: hidden; }
  .clinic-brand-text strong, .clinic-brand-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .site-tools { position: absolute; top: 50%; right: 45px; display: flex; align-items: center; width: max-content; margin: 0; gap: 6px; transform: translateY(-50%); }
  .site-tool-button { width: 34px; height: 34px; }
  .language-toggle { min-width: 96px; width: 96px; height: 34px; }
  .language-toggle .language-label { font-size: 10px; }
  .language-dropdown { right: -4px; }
}

/* Long-form academic archive page. */
.academic-profile-page { background: #f5f9fc; }
.academic-profile-hero { position: relative; overflow: hidden; padding: 84px 0 76px; background: radial-gradient(circle at 84% 20%, rgba(127, 201, 167, .2), transparent 28%), linear-gradient(135deg, #102f2b 0%, #1d5746 62%, #2d765b 100%); color: #fff; }
.academic-profile-hero::after { content: ""; position: absolute; right: -120px; bottom: -250px; width: 560px; height: 560px; border: 1px solid rgba(214, 247, 228, .2); border-radius: 50%; box-shadow: 0 0 0 46px rgba(214, 247, 228, .04), 0 0 0 92px rgba(214, 247, 228, .025); }
.academic-profile-hero-grid { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: 1080px; margin: 0 auto; }
.academic-profile-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; color: #c8f1d8; font: 700 12px "Montserrat", sans-serif; text-decoration: none; transition: gap .2s ease, color .2s ease; }
.academic-profile-back:hover { gap: 12px; color: #fff; }
.academic-profile-kicker { display: block; margin-bottom: 14px; color: #9be0b9; font: 800 11px "Montserrat", sans-serif; letter-spacing: .16em; }
.academic-profile-hero h1 { margin: 0 0 15px; color: #fff; font: 800 clamp(38px, 5vw, 64px)/1.02 "Montserrat", sans-serif; letter-spacing: -.055em; }
.academic-profile-hero p { max-width: 650px; margin: 0; color: #d4e8dc; font-size: 16px; line-height: 1.7; }
.academic-profile-hero-mark { display: grid; place-items: center; width: 176px; height: 176px; flex: 0 0 auto; border: 1px solid rgba(214, 247, 228, .3); border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 14px rgba(255, 255, 255, .035); transform: rotate(-8deg); }
.academic-profile-hero-mark span, .academic-profile-hero-mark strong, .academic-profile-hero-mark em { grid-area: 1 / 1; color: #d5f5e1; font-family: "Montserrat", sans-serif; font-style: normal; }
.academic-profile-hero-mark span { align-self: start; margin-top: 35px; font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.academic-profile-hero-mark strong { margin-top: 8px; font-size: 62px; letter-spacing: -.08em; }
.academic-profile-hero-mark em { align-self: end; margin-bottom: 34px; color: #9be0b9; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.academic-profile-content { padding: 64px 0 100px; }
.academic-profile-notice { display: flex; align-items: center; gap: 14px; max-width: 1080px; margin: 0 auto 28px; padding: 17px 21px; border: 1px solid #d5e7df; border-radius: 14px; background: #effaf4; color: #3f6754; }
.academic-profile-notice i { color: #399b74; font-size: 21px; }
.academic-profile-notice p { margin: 0; font-size: 13px; line-height: 1.55; }
.academic-profile-sections { display: grid; gap: 22px; max-width: 1080px; margin: 0 auto; }
.academic-profile-section { padding: 30px 34px 34px; border: 1px solid #d6e3e8; border-radius: 22px 22px 8px 22px; background: #fff; box-shadow: 0 14px 34px rgba(17, 35, 68, .055); }
.academic-profile-section-top { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.academic-profile-section-top span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e5f5eb; color: #399b74; font: 800 11px "Montserrat", sans-serif; }
.academic-profile-section-top p { margin: 0; color: #399b74; font: 800 10px "Montserrat", sans-serif; letter-spacing: .13em; }
.academic-profile-section h2 { margin: 0 0 24px; color: #243d66; font: 800 clamp(22px, 2.5vw, 31px)/1.16 "Montserrat", sans-serif; letter-spacing: -.04em; }
.academic-profile-entries { display: grid; gap: 0; }
.academic-profile-entries p { margin: 0; padding: 15px 0 15px 25px; border-top: 1px solid #e7eef1; color: #607083; font-size: 14px; line-height: 1.72; text-indent: -25px; }
.academic-profile-entries p::first-letter { color: #399b74; }
.academic-profile-footer-action { max-width: 1080px; margin: 28px auto 0; }
body.site-dark-mode .academic-profile-page { background: #0d1e1a; }
body.site-dark-mode .academic-profile-notice, body.site-dark-mode .academic-profile-section { background: #142b25; border-color: rgba(127, 201, 167, .25); }
body.site-dark-mode .academic-profile-notice { color: #b2c8bf; }
body.site-dark-mode .academic-profile-section h2 { color: #effaf4; }
body.site-dark-mode .academic-profile-entries p { border-color: rgba(127, 201, 167, .16); color: #b2c8bf; }
@media (max-width: 767px) { .academic-profile-hero { padding: 66px 0 58px; } .academic-profile-hero-grid { display: block; } .academic-profile-hero-mark { display: none; } .academic-profile-hero h1 { font-size: 42px; } .academic-profile-hero p { font-size: 14px; } .academic-profile-content { padding: 40px 0 70px; } .academic-profile-section { padding: 24px 20px 26px; border-radius: 18px 18px 7px 18px; } .academic-profile-section h2 { font-size: 23px; } .academic-profile-entries p { padding-left: 20px; font-size: 13px; text-indent: -20px; } }
/* Dashboard-managed public collections */
.gallery-show-more { display: inline-flex; align-items: center; justify-content: center; margin: 22px auto 0; padding: 11px 20px; border: 1px solid var(--clinic-accent, #7fc9a7); border-radius: 999px; color: var(--clinic-accent-strong, #2f9b72); background: transparent; cursor: pointer; font: 700 13px/1 "Montserrat", sans-serif; transition: 160ms ease; }
.gallery-show-more:hover { color: #ffffff; background: var(--clinic-accent-strong, #2f9b72); }
.clinic-gallery-grid + .gallery-show-more { display: flex; }
[data-theme="dark"] .gallery-show-more { color: #9fe0bf; border-color: #7fc9a7; }

/* Gallery lightbox: keep every image inside one calm, fixed-size viewing frame. */
.glightbox-container .gslide-image {
  display: grid;
  place-items: center;
  width: min(88vw, 980px);
  height: min(78vh, 700px);
  margin: 0 auto;
  padding: 26px;
  border: 1px solid rgba(127, 201, 167, .35);
  border-radius: 22px;
  background: rgba(13, 30, 26, .94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
}
.glightbox-container .gslide-image img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  border-radius: 12px;
}
.glightbox-container .gslide-description { display: none; }
.glightbox-container .gclose,
.glightbox-container .gnext,
.glightbox-container .gprev {
  border: 1px solid rgba(127, 201, 167, .5);
  border-radius: 999px;
  background: #142b25;
}
.glightbox-container .gclose:hover,
.glightbox-container .gnext:hover,
.glightbox-container .gprev:hover { background: #399b74; }
@media (max-width: 680px) {
  .glightbox-container .gslide-image { width: 92vw; height: 68vh; padding: 14px; border-radius: 16px; }
}

/* Blog: a calm editorial layout for dashboard-managed articles. */
.blog-page { background: #f5f9fc; color: #152b50; }
.blog-hero { position: relative; overflow: hidden; padding: 148px 0 74px; background: radial-gradient(circle at 86% 12%, rgba(127, 201, 167, .2), transparent 30%), linear-gradient(135deg, #eef8f4 0%, #f5f9fc 58%, #edf4ff 100%); }
.blog-hero::after { content: ""; position: absolute; right: -130px; bottom: -240px; width: 520px; height: 520px; border: 1px solid rgba(57, 155, 116, .17); border-radius: 50%; box-shadow: 0 0 0 40px rgba(57, 155, 116, .045), 0 0 0 80px rgba(57, 155, 116, .025); }
.blog-hero .container, .blog-list-section .container { position: relative; z-index: 1; }
.blog-kicker, .section-kicker { display: inline-block; color: #2f9b72; font: 800 11px/1.2 "Montserrat", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.blog-hero h1 { max-width: 760px; margin: 18px 0 13px; color: #132b52; font: 800 clamp(42px, 5.4vw, 72px)/1.02 "Montserrat", sans-serif; letter-spacing: -.06em; }
.blog-hero p { max-width: 640px; margin: 0; color: #64768b; font-size: 17px; line-height: 1.7; }
.blog-list-section { padding: 68px 0 110px; }
.blog-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.blog-section-heading h2 { margin: 9px 0 0; color: #19345f; font: 800 clamp(25px, 3vw, 38px)/1.15 "Montserrat", sans-serif; letter-spacing: -.045em; }
.blog-count { padding: 10px 15px; border: 1px solid #cde5d9; border-radius: 999px; background: #effaf4; color: #2f9b72; font: 700 12px "Montserrat", sans-serif; white-space: nowrap; }
.blog-grid { display: grid; gap: 18px; max-width: 980px; margin: 0 auto; }
.blog-card { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: center; overflow: hidden; border: 1px solid #d7e5ea; border-radius: 22px 22px 8px 22px; background: #fff; box-shadow: 0 16px 38px rgba(17, 35, 68, .06); color: inherit; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.blog-card:hover { border-color: rgba(127, 201, 167, .75); box-shadow: 0 24px 55px rgba(17, 35, 68, .11); transform: translateY(-5px); }
.blog-card-media { position: relative; align-self: center; height: 205px; overflow: hidden; border-radius: 22px 0 0 22px; background: linear-gradient(135deg, #e8f7ef, #dceaf4); }
.blog-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-placeholder { display: grid; place-items: center; height: 100%; color: #399b74; font-size: 52px; background: radial-gradient(circle at 75% 20%, rgba(127, 201, 167, .45), transparent 32%), linear-gradient(135deg, #e8f7ef, #edf4ff); }
.blog-card-number { position: absolute; top: 15px; right: 17px; color: rgba(57, 155, 116, .2); font: 800 45px/1 "Montserrat", sans-serif; letter-spacing: -.1em; }
.blog-card-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 25px 30px 27px; }
.blog-card-label { display: inline-block; margin-bottom: 12px; color: #2f9b72; font: 800 10px/1.2 "Montserrat", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.blog-card-copy h3 { margin: 0 0 12px; color: #243d66; font: 800 21px/1.22 "Montserrat", sans-serif; letter-spacing: -.03em; }
.blog-card-copy p { margin: 0 0 20px; color: #687a8d; font-size: 14px; line-height: 1.7; }
.blog-card-link { display: inline-flex; align-items: center; gap: 9px; color: #2f9b72; font: 800 12px "Montserrat", sans-serif; transition: gap .2s ease, color .2s ease; }
.blog-card-link:hover { gap: 13px; color: #1e7654; }
.blog-empty { grid-column: 1 / -1; display: grid; place-items: center; min-height: 250px; padding: 42px; border: 1px dashed rgba(57, 155, 116, .45); border-radius: 24px; background: linear-gradient(135deg, rgba(239, 250, 244, .82), rgba(245, 249, 252, .9)); text-align: center; }
.blog-empty i { margin-bottom: 12px; color: #399b74; font-size: 34px; }
.blog-empty h3 { margin: 0 0 7px; color: #254267; font: 800 21px "Montserrat", sans-serif; }
.blog-empty p { max-width: 520px; margin: 0; color: #718195; font-size: 14px; }
.blog-article-modal .modal-content { overflow: hidden; border: 1px solid rgba(127, 201, 167, .42); border-radius: 24px 24px 8px 24px; background: #fff; box-shadow: 0 30px 90px rgba(11, 29, 55, .25); }
.blog-article-modal .modal-header { align-items: flex-start; padding: 28px 32px 24px; border-bottom: 1px solid #e5eef0; background: linear-gradient(135deg, #effaf4, #f2f7ff); }
.blog-article-modal .modal-title { margin: 0; color: #19345f; font: 800 clamp(25px, 3vw, 42px)/1.12 "Montserrat", sans-serif; letter-spacing: -.045em; }
.blog-article-modal .modal-body { padding: 30px 32px 38px; color: #5f7184; font-size: 16px; line-height: 1.8; }
.blog-article-image { display: block; width: 100%; max-height: 360px; margin: 0 0 26px; object-fit: cover; border-radius: 16px; }
.blog-article-summary { margin: 0 0 25px; color: #243d66; font-size: 18px; font-weight: 700; line-height: 1.55; }
.blog-article-copy > :first-child { margin-top: 0; }
.blog-article-copy h2, .blog-article-copy h3 { margin: 28px 0 10px; color: #243d66; font: 800 22px/1.25 "Montserrat", sans-serif; }
.blog-article-copy p { margin: 0 0 16px; }
.blog-article-copy img { max-width: 100%; height: auto; border-radius: 12px; }
body.site-dark-mode .blog-page { background: #0d1e1a; color: #edf9f2; }
body.site-dark-mode .blog-hero { background: radial-gradient(circle at 86% 12%, rgba(127, 201, 167, .16), transparent 30%), linear-gradient(135deg, #102c25 0%, #0d1e1a 60%, #11263c 100%); }
body.site-dark-mode .blog-hero h1, body.site-dark-mode .blog-section-heading h2, body.site-dark-mode .blog-card-copy h3, body.site-dark-mode .blog-empty h3, body.site-dark-mode .blog-article-modal .modal-title, body.site-dark-mode .blog-article-copy h2, body.site-dark-mode .blog-article-copy h3 { color: #f0fff6; }
body.site-dark-mode .blog-hero p, body.site-dark-mode .blog-card-copy p, body.site-dark-mode .blog-empty p, body.site-dark-mode .blog-article-modal .modal-body { color: #b7cec4; }
body.site-dark-mode .blog-count { border-color: rgba(127, 201, 167, .34); background: rgba(57, 155, 116, .15); }
body.site-dark-mode .blog-card { border-color: rgba(127, 201, 167, .3); background: #142b25; box-shadow: 0 18px 48px rgba(0, 0, 0, .16); }
body.site-dark-mode .blog-card-placeholder { background: radial-gradient(circle at 75% 20%, rgba(127, 201, 167, .2), transparent 32%), #19372e; }
body.site-dark-mode .blog-empty { border-color: rgba(127, 201, 167, .4); background: rgba(20, 43, 37, .72); }
body.site-dark-mode .blog-article-modal .modal-content { background: #142b25; border-color: rgba(127, 201, 167, .35); }
body.site-dark-mode .blog-article-modal .modal-header { border-color: rgba(127, 201, 167, .2); background: linear-gradient(135deg, #183b30, #152d43); }
body.site-dark-mode .blog-article-summary { color: #dff6e7; }
.blog-article-page { min-height: 100vh; background: #fff; }
.blog-back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 21px; color: #2f9b72; font: 700 12px "Montserrat", sans-serif; text-decoration: none; }
.blog-back-link:hover { gap: 12px; color: #1e7654; }
.blog-article-section { padding: 104px 0 110px; }
.blog-article-shell { max-width: 700px; margin: 0 auto; padding: 0; overflow: visible; }
.blog-article-shell .blog-kicker { display: block; margin-bottom: 10px; }
.blog-article-heading { padding-bottom: 11px; }
.blog-article-heading h1 { margin: 0 0 8px; color: #171717; font: 800 clamp(27px, 4vw, 39px)/1.16 "Montserrat", sans-serif; letter-spacing: -.045em; overflow-wrap: anywhere; }
.blog-article-heading time { display: block; color: #7c8790; font-size: 11px; }
.blog-article-shell .blog-article-image { display: block; width: 100%; height: min(440px, 48vw); min-height: 240px; margin: 0 0 22px; object-fit: cover; border-radius: 10px; }
.blog-article-summary { margin: 0 0 19px; color: #4b5660; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.blog-article-copy { color: #30363b; font: 400 13px/1.75 "Roboto", sans-serif; overflow-wrap: anywhere; word-break: break-word; }
.blog-article-copy h2, .blog-article-copy h3 { margin: 28px 0 10px; color: #171717; font: 800 21px/1.25 "Montserrat", sans-serif; }
.blog-article-copy p { margin: 0 0 17px; }
.blog-article-copy ul, .blog-article-copy ol { padding-left: 22px; margin: 0 0 18px; }
body.site-dark-mode .blog-article-page { background: #fff; }
body.site-dark-mode .blog-article-heading h1, body.site-dark-mode .blog-article-copy h2, body.site-dark-mode .blog-article-copy h3 { color: #f0fff6; }
body.site-dark-mode .blog-article-heading time, body.site-dark-mode .blog-article-summary, body.site-dark-mode .blog-article-copy { color: #b7cec4; }
@media (max-width: 640px) { .blog-hero { padding: 116px 0 55px; } .blog-hero h1 { font-size: 44px; } .blog-hero p { font-size: 15px; } .blog-section-heading { display: block; } .blog-count { display: inline-flex; margin-top: 16px; } .blog-card { grid-template-columns: 1fr; } .blog-card-media { height: 190px; border-radius: 22px 22px 0 0; } .blog-card-copy p { min-height: 0; } .blog-article-section { padding: 86px 18px 80px; } .blog-article-shell .blog-article-image { height: 250px; min-height: 0; } .blog-article-heading h1 { font-size: 29px; } }

/* Blog article: restrained editorial reading experience. */
.blog-article-page {
  min-height: 100vh;
  background: radial-gradient(circle at 8% 6%, rgba(127, 201, 167, .12), transparent 24%), #f7faf9;
}
.blog-article-section { padding: 118px 0 132px; }
.blog-article-shell {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dce9e5;
  border-radius: 28px 28px 10px 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(25, 61, 75, .09);
}
.blog-article-header { padding: 30px 72px 34px; }
.blog-article-header .blog-back-link { margin-bottom: 34px; }
.blog-article-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.blog-article-kicker { color: #2f9b72; font: 800 10px/1.2 "Montserrat", sans-serif; letter-spacing: .16em; }
.blog-article-dot { width: 4px; height: 4px; border-radius: 50%; background: #9bcdb6; }
.blog-article-meta time { color: #83918f; font: 600 12px/1.2 "Lato", sans-serif; }
.blog-article-header h1 {
  max-width: 760px;
  margin: 0;
  color: #17345d;
  font: 800 clamp(34px, 5vw, 58px)/1.08 "Montserrat", sans-serif;
  letter-spacing: -.055em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.blog-article-figure { margin: 0 72px; }
.blog-article-shell .blog-article-image {
  display: block;
  width: 100%;
  height: min(480px, 48vw);
  min-height: 280px;
  margin: 0;
  object-fit: cover;
  border-radius: 18px;
}
.blog-article-copy {
  max-width: 720px;
  margin: 0 auto;
  padding: 42px 28px 78px;
  color: #4f6170;
  font: 400 17px/1.86 "Lato", sans-serif;
  overflow-wrap: break-word;
  word-break: normal;
}
.blog-article-copy > :first-child { margin-top: 0; }
.blog-article-copy p { margin: 0 0 22px; }
.blog-article-copy h1,
.blog-article-copy h2,
.blog-article-copy h3,
.blog-article-copy h4 {
  margin: 42px 0 15px;
  color: #17345d;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.blog-article-copy h1 { font-size: 34px; }
.blog-article-copy h2 { font-size: 29px; }
.blog-article-copy h3 { font-size: 23px; }
.blog-article-copy h4 { font-size: 19px; }
.blog-article-copy ul,
.blog-article-copy ol { margin: 0 0 24px; padding-left: 26px; }
.blog-article-copy li { margin-bottom: 8px; padding-left: 4px; }
.blog-article-copy blockquote {
  margin: 30px 0;
  padding: 19px 24px;
  border-left: 3px solid #7fc9a7;
  border-radius: 0 12px 12px 0;
  background: #f0f8f4;
  color: #315b4c;
  font-size: 19px;
  line-height: 1.6;
}
.blog-article-copy img { max-width: 100%; height: auto; margin: 28px auto; border-radius: 14px; }
.blog-article-copy a { color: #2f9b72; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(47, 155, 114, .35); text-underline-offset: 3px; }
.blog-article-copy strong { color: #294363; font-weight: 800; }
body.site-dark-mode .blog-article-page { background: radial-gradient(circle at 8% 6%, rgba(127, 201, 167, .11), transparent 24%), #0d1e1a; }
body.site-dark-mode .blog-article-shell { border-color: rgba(127, 201, 167, .32); background: #132d25; box-shadow: 0 26px 70px rgba(0, 0, 0, .22); }
body.site-dark-mode .blog-article-header h1,
body.site-dark-mode .blog-article-copy h1,
body.site-dark-mode .blog-article-copy h2,
body.site-dark-mode .blog-article-copy h3,
body.site-dark-mode .blog-article-copy h4 { color: #effaf4; }
body.site-dark-mode .blog-article-meta time,
body.site-dark-mode .blog-article-copy { color: #b7cec4; }
body.site-dark-mode .blog-article-copy blockquote { background: rgba(127, 201, 167, .1); color: #d4eee0; }
body.site-dark-mode .blog-article-copy strong { color: #effaf4; }
@media (max-width: 700px) {
  .blog-article-section { padding: 92px 14px 84px; }
  .blog-article-header { padding: 24px 24px 28px; }
  .blog-article-header .blog-back-link { margin-bottom: 26px; }
  .blog-article-header h1 { font-size: clamp(30px, 9vw, 43px); }
  .blog-article-figure { margin: 0 18px; }
  .blog-article-shell .blog-article-image { height: 250px; min-height: 0; border-radius: 14px; }
  .blog-article-copy { padding: 34px 24px 54px; font-size: 16px; line-height: 1.78; }
  .blog-article-copy h1 { font-size: 29px; }
  .blog-article-copy h2 { font-size: 25px; }
  .blog-article-copy h3 { font-size: 21px; }
}

/* Final article presentation: a clean, magazine-style reading page. */
.blog-article-page {
  background: #fff;
  color: #182b45;
}
.blog-article-section { padding: 112px 0 120px; }
.blog-article-shell {
  max-width: 780px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.blog-article-header {
  position: relative;
  padding: 0 0 30px 28px;
}
.blog-article-header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 28px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: #7fc9a7;
}
.blog-article-header .blog-back-link {
  margin-bottom: 46px;
  color: #3a9f77;
  font-size: 12px;
}
.blog-article-meta { margin-bottom: 14px; }
.blog-article-header h1 {
  max-width: 760px;
  color: #132d52;
  font-size: clamp(32px, 5vw, 55px);
  line-height: 1.08;
  letter-spacing: -.06em;
}
.blog-article-figure { margin: 0 0 0 28px; }
.blog-article-shell .blog-article-image {
  width: 100%;
  height: min(470px, 58vw);
  min-height: 270px;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(18, 45, 82, .12);
}
.blog-article-copy {
  max-width: 700px;
  padding: 42px 0 0 28px;
  color: #536477;
  font-family: "Lato", sans-serif;
  font-size: 17px;
  line-height: 1.88;
}
.blog-article-copy p { margin-bottom: 24px; }
.blog-article-copy h1,
.blog-article-copy h2,
.blog-article-copy h3,
.blog-article-copy h4 { color: #132d52; }
.blog-article-copy h2 { margin-top: 48px; font-size: 28px; }
.blog-article-copy h3 { margin-top: 38px; font-size: 22px; }
.blog-article-copy blockquote {
  margin-left: 0;
  border-left-color: #7fc9a7;
  background: #f2faf6;
}
body.site-dark-mode .blog-article-page { background: #0d1e1a; }
body.site-dark-mode .blog-article-header h1,
body.site-dark-mode .blog-article-copy h1,
body.site-dark-mode .blog-article-copy h2,
body.site-dark-mode .blog-article-copy h3,
body.site-dark-mode .blog-article-copy h4 { color: #effaf4; }
body.site-dark-mode .blog-article-copy { color: #b7cec4; }
body.site-dark-mode .blog-article-shell .blog-article-image { box-shadow: 0 18px 44px rgba(0, 0, 0, .28); }
body.site-dark-mode .blog-article-copy blockquote { background: rgba(127, 201, 167, .1); }
@media (max-width: 700px) {
  .blog-article-section { padding: 86px 20px 80px; }
  .blog-article-header { padding-left: 20px; }
  .blog-article-header .blog-back-link { margin-bottom: 34px; }
  .blog-article-figure { margin-left: 20px; }
  .blog-article-shell .blog-article-image { height: 250px; min-height: 0; border-radius: 12px; }
  .blog-article-copy { padding: 32px 0 0 20px; font-size: 16px; line-height: 1.8; }
}

/* Article layout matched to the reference: title, date, cover image, then readable copy. */
.blog-article-page { background: #fff; }
.blog-article-section { padding: 32px 0 92px; }
.blog-article-shell { max-width: 1068px; }
.blog-article-header { padding: 0; }
.blog-article-header::before { display: none; }
.blog-article-header h1 {
  max-width: none;
  margin: 0;
  color: #202020;
  font: 800 clamp(30px, 3.4vw, 44px)/1.16 "Roboto", sans-serif;
  letter-spacing: -.035em;
  text-wrap: initial;
}
.blog-article-header time {
  display: block;
  margin-top: 20px;
  color: #737373;
  font: 400 18px/1.3 "Roboto", sans-serif;
}
.blog-article-figure { margin: 10px 0 34px; }
.blog-article-shell .blog-article-image {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: none;
}
.blog-article-copy {
  max-width: none;
  padding: 0;
  color: #262626;
  font: 400 24px/1.68 Arial, Helvetica, sans-serif;
}
.blog-article-copy p { margin: 0 0 24px; }
.blog-article-copy h1,
.blog-article-copy h2,
.blog-article-copy h3,
.blog-article-copy h4 {
  margin: 40px 0 16px;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -.025em;
}
.blog-article-copy h1 { font-size: 34px; }
.blog-article-copy h2 { font-size: 32px; }
.blog-article-copy h3 { font-size: 27px; }
.blog-article-copy h4 { font-size: 23px; }
.blog-article-copy ul,
.blog-article-copy ol { margin-bottom: 24px; }
.blog-article-copy strong { color: #202020; }
body.site-dark-mode .blog-article-page { background: #0d1e1a; }
body.site-dark-mode .blog-article-header h1,
body.site-dark-mode .blog-article-copy h1,
body.site-dark-mode .blog-article-copy h2,
body.site-dark-mode .blog-article-copy h3,
body.site-dark-mode .blog-article-copy h4,
body.site-dark-mode .blog-article-copy strong { color: #202020; }
body.site-dark-mode .blog-article-header time,
body.site-dark-mode .blog-article-copy { color: #262626; }
@media (max-width: 700px) {
  .blog-article-section { padding: 30px 18px 70px; }
  .blog-article-header h1 { font-size: 31px; }
  .blog-article-header time { margin-top: 14px; font-size: 16px; }
  .blog-article-figure { margin: 9px 0 26px; }
  .blog-article-shell .blog-article-image { aspect-ratio: 1.45 / 1; border-radius: 11px; }
  .blog-article-copy { font-size: 17px; line-height: 1.75; }
  .blog-article-copy h2 { font-size: 26px; }
}

/* Keep the article media and copy on the page canvas, without a separate panel background. */
.blog-article-page,
.blog-article-section,
.blog-article-shell,
.blog-article-copy,
.blog-article-figure { background: transparent; }
.blog-article-shell { border: 0; box-shadow: none; }

/* Post detail page v2: clean editorial layout with isolated light/dark tokens. */
.post-detail-page {
  --post-page-bg: #ffffff;
  --post-text: #24344a;
  --post-heading: #172e52;
  --post-muted: #758496;
  --post-accent: #399b74;
  --post-line: #dce9e4;
  --post-soft: #eff8f3;
  min-height: 100vh;
  background: var(--post-page-bg);
  color: var(--post-text);
}
body.site-dark-mode .post-detail-page {
  --post-page-bg: #0d1e1a;
  --post-text: #c5d8ce;
  --post-heading: #f0fff6;
  --post-muted: #9bb6aa;
  --post-accent: #7fc9a7;
  --post-line: rgba(127, 201, 167, .26);
  --post-soft: rgba(127, 201, 167, .1);
}
.post-detail-section { padding: 164px 0 84px; }
.post-detail-container { width: min(1120px, calc(100% - 48px)); }
.post-detail-shell { max-width: 1080px; margin: 0 auto; }
.post-detail-header { max-width: 790px; margin: 0 auto 20px; }
.post-detail-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.post-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--post-accent);
  font: 700 13px/1.2 "Montserrat", sans-serif;
  text-decoration: none;
  transition: gap .2s ease, color .2s ease;
}
.post-detail-back:hover { gap: 13px; color: var(--post-heading); }
.post-detail-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--post-line);
  border-radius: 999px;
  background: var(--post-soft);
  color: var(--post-accent);
  font: 800 10px/1.1 "Montserrat", sans-serif;
  letter-spacing: .14em;
}
.post-detail-header h1 {
  max-width: 960px;
  margin: 0;
  color: var(--post-heading);
  font: 800 clamp(32px, 4vw, 50px)/1.1 "Montserrat", sans-serif;
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.post-detail-date {
  display: block;
  margin-top: 12px;
  color: var(--post-muted);
  font: 400 15px/1.3 "Lato", sans-serif;
}
.post-detail-cover { max-width: 790px; margin: 0 auto 36px; }
.post-detail-cover img {
  display: block;
  width: 100%;
  height: min(430px, 40vw);
  min-height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(20, 51, 72, .12);
}
body.site-dark-mode .post-detail-cover img { box-shadow: 0 18px 42px rgba(0, 0, 0, .24); }
.post-detail-content {
  max-width: 790px;
  margin: 0 auto;
  color: var(--post-text);
  font: 400 17px/1.78 "Lato", sans-serif;
  overflow-wrap: anywhere;
  word-break: normal;
}
.post-detail-content > :first-child { margin-top: 0; }
.post-detail-content p { margin: 0 0 20px; }
.post-detail-content h1,
.post-detail-content h2,
.post-detail-content h3,
.post-detail-content h4 {
  margin: 38px 0 13px;
  color: var(--post-heading);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.04em;
}
.post-detail-content h1 { font-size: 36px; }
.post-detail-content h2 { font-size: 30px; }
.post-detail-content h3 { font-size: 24px; }
.post-detail-content h4 { font-size: 20px; }
.post-detail-content ul,
.post-detail-content ol { margin: 0 0 24px; padding-left: 26px; }
.post-detail-content li { margin-bottom: 6px; padding-left: 4px; }
.post-detail-content li::marker { color: var(--post-accent); }
.post-detail-content strong { color: var(--post-heading); font-weight: 800; }
.post-detail-content a { color: var(--post-accent); font-weight: 700; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--post-accent), transparent 60%); text-underline-offset: 3px; }
.post-detail-content blockquote {
  margin: 30px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--post-accent);
  border-radius: 0 12px 12px 0;
  background: var(--post-soft);
}
.post-detail-content img { display: block; max-width: 100%; height: auto; margin: 30px auto; border-radius: 14px; }
.post-detail-content figure { margin: 30px 0; }
.post-detail-content figure img { margin: 0 auto 10px; }
.post-detail-content figcaption { color: var(--post-muted); font-size: 13px; text-align: center; }
.post-detail-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.post-detail-content th,
.post-detail-content td { padding: 10px 12px; border: 1px solid var(--post-line); text-align: left; }
.post-detail-footer { max-width: 790px; margin: 52px auto 0; padding-top: 24px; border-top: 1px solid var(--post-line); }
.post-detail-back-bottom { font-size: 12px; }
@media (max-width: 700px) {
  .post-detail-section { padding: 126px 0 68px; }
  .post-detail-container { width: min(100% - 32px, 560px); }
  .post-detail-topline { align-items: flex-start; flex-direction: column-reverse; gap: 18px; margin-bottom: 25px; }
  .post-detail-header h1 { font-size: clamp(30px, 9vw, 44px); }
  .post-detail-date { margin-top: 14px; font-size: 14px; }
  .post-detail-cover { max-width: none; margin-bottom: 32px; }
  .post-detail-cover img { height: 220px; min-height: 0; border-radius: 13px; }
  .post-detail-content { font-size: 16px; line-height: 1.72; }
  .post-detail-content h1 { font-size: 30px; }
  .post-detail-content h2 { font-size: 26px; }
  .post-detail-content h3 { font-size: 22px; }
  .post-detail-footer { margin-top: 38px; }
}
