/* Shared page rhythm: one section, one surface, one closing action. */
:root{--section-space:88px;--section-line:#dce9e2;--surface-soft:#f3f8f4;--surface-warm:#fbf7ef;--card-radius:20px}
body{background:#fff;color:#164b4e}
.wrap{width:min(1160px,calc(100% - 64px))}
main .section-shell{position:relative;isolation:isolate;background:#fff;border-bottom:1px solid var(--section-line)}
main .section-shell[data-section=home]{background:linear-gradient(120deg,#f3f8ef,#fffdf7);border-bottom:1px solid #d8e7dc}
main .section-shell[data-section=about],main .section-shell[data-section=clinics]{background:var(--surface-soft)}
main .section-shell[data-section=reviews],main .section-shell[data-section=section-5]{background:var(--surface-warm)}
main .section-shell :is(.services,.videos,.clinics,.articles,.google-reviews,.faq,.personal-journey){padding-block:var(--section-space);background:transparent;border:0;border-radius:0}
main .section-shell .about-band,main .section-shell .journey{background:transparent}
main .section-shell .about{padding-block:var(--section-space)}
main .section-shell .hero{padding-block:64px;gap:64px}
.hero:before,.hero:after{display:none}
.hero-copy{max-width:560px}.hero h1{font-size:clamp(32px,3.6vw,50px);line-height:1.65}.hero .lead{max-width:480px}
.hero-foot{gap:32px;margin-top:32px;padding-top:22px}.hero-visual{padding:0}.feature-preview{border-radius:24px;border-width:4px;box-shadow:0 16px 40px #164b4e12}.feature-foot{background:none;padding:14px 2px 0}
.section-top{align-items:flex-end;margin-bottom:36px;gap:32px}.section-top>div{max-width:700px}.section-top h2{margin:8px 0 0;font-size:clamp(26px,2.6vw,34px);line-height:1.6}.section-top h2:after{width:36px;height:3px;margin-top:18px}.section-top>p{max-width:340px;margin:0 0 4px;line-height:1.9;font-size:14px}
.eyebrow{font-size:12px;line-height:1.8;letter-spacing:0}.section-more{padding-block:0 36px;margin-top:-28px;position:relative}.section-more .text-link{display:inline-flex;align-items:center;min-height:44px;border-bottom:1px solid #bdd5c7;font-size:14px;padding:8px 0;line-height:1.8}
main .page-teaser{width:min(1160px,calc(100% - 64px));padding:36px 40px;margin-block:40px;border:1px solid var(--section-line);border-radius:24px;background:var(--surface-soft);gap:32px}
.page-teaser h2{font-size:26px;line-height:1.6;margin:6px 0 10px}.page-teaser p{margin:0;max-width:690px;font-size:15px;line-height:1.95}.page-teaser .eyebrow{color:#6c817b}.page-teaser .button{min-width:145px}
.home-page>.page-teaser+.page-teaser{margin-top:-20px}
.service-grid,.clinic-grid,.article-grid,.review-grid{gap:24px;align-items:stretch}
.service-grid article,.article-grid article,.video-tile,.google-review-card{border:1px solid var(--section-line);border-radius:var(--card-radius);background:#fff;box-shadow:0 4px 18px #164b4e04;overflow:hidden}
.service-grid article:nth-child(2){background:#fff}.service-grid article{padding:22px;display:flex;flex-direction:column}.service-photo{width:100%;height:220px;object-fit:cover;border-radius:12px}.service-grid h3{margin:20px 0 10px}.service-grid p{min-height:0;margin:0 0 24px;flex:1}.service-grid button{min-height:46px;margin-top:auto}
.article-grid article{display:flex;flex-direction:column}.article-copy{padding:24px;display:flex;flex-direction:column;flex:1}.article-copy p{flex:1}.article-copy h3{margin-block:14px}.article-grid img{height:220px}.article-copy>a{display:inline-flex;align-items:center;min-height:44px;color:var(--teal);font-weight:500}
.about{grid-template-columns:.85fr 1.15fr;gap:80px}.about-image{max-width:360px;width:100%;margin:auto}.about-image img{height:auto;max-height:none;aspect-ratio:4/5;object-fit:cover;border:0;border-radius:24px;box-shadow:10px 10px 0 #dfebe0}.about-image span{margin-top:24px;color:var(--muted);font-size:12px}.about h2{margin:10px 0 20px}.about .credentials{margin-block:24px}.about .text-link{display:inline-flex;min-height:44px;align-items:center}
.reels-grid{gap:20px}.tile-copy{padding:20px}.tile-copy h3{min-height:0;margin:0 0 12px;line-height:1.8}.tile-copy p{min-height:0;font-size:13px}.tile-copy button{min-height:44px;font-size:13px}.tile-copy>a{line-height:1.8;font-size:12px}.video-label{max-width:calc(100% - 28px)}
.clinic-grid article{background:#fff;border:1px solid #d3e3d8;border-top:3px solid var(--orange);border-radius:16px;padding:28px}.clinic-grid p{min-height:0;flex:1}.clinic-grid a{min-height:36px;display:inline-flex;align-items:center}.clinic-grid button{min-height:44px}.clinics>.fine{margin:24px 0 0}
.review-summary{margin-block:0 32px}.google-review-card{padding:26px}.review-bottom{margin-top:28px}.review-bottom p{margin:0}.google-review-card blockquote{min-height:0}.review-person strong{font-family:inherit}
.faq details{padding:20px 0}.faq summary{line-height:1.9;font-weight:500}.faq details p{font-size:15px;line-height:2;margin-bottom:4px}
.page-masthead{padding-block:48px 52px;background:#f3f8f4;border-bottom:1px solid var(--section-line)}.breadcrumbs{margin-bottom:20px;font-size:13px;line-height:1.9}.page-masthead h1{font-size:clamp(30px,4vw,46px);margin:10px 0 14px;line-height:1.6}.page-masthead p{font-size:16px;line-height:2;margin:0;max-width:760px}
.detail-grid{padding-block:64px;gap:56px}.detail-body{max-width:800px}.detail-body>p{font-size:16px;line-height:2}.detail-body h2{font-size:25px;margin-block:32px 14px}.detail-image{border-radius:20px}.article-meta{font-size:13px;line-height:1.9;display:flex;flex-wrap:wrap;gap:8px 24px;padding-block:24px}.article-meta p{margin:0}.related-panel{background:#f5f9f6;border-color:var(--section-line);padding:28px;border-radius:20px}.related-panel h2{font-size:18px;margin:24px 0 12px}.related-panel a:not(.button){padding-block:10px;margin:0;border-bottom:1px solid #dfebe3;font-size:14px;line-height:1.9}.related-panel .button{display:flex;margin-top:28px;color:white}.prose-content{line-height:2.1}.prose-content p{margin-block:0 20px}
.inner-page .booking{margin-block:56px;padding:40px;gap:40px;border-radius:24px}.inner-page .personal-journey{padding-block:64px}.pagination{padding-block:32px 48px}.pagination .button{min-width:90px}
.site-footer{margin-top:0;padding-block:64px 32px}.site-footer .footer-grid{gap:40px}.site-footer .footer-column h2{font-size:16px;color:#f5b467;margin-bottom:10px}.site-footer .footer-column a{font-size:14px;line-height:1.9;min-height:32px}.site-footer .footer-bottom{margin-top:40px;padding-top:24px;padding-bottom:48px}.floating{min-height:44px}
[data-theme=helal_modern] main .section-shell[data-section=home]{background:linear-gradient(130deg,#e9f5ef,#fcf8ee)}
[data-theme=helal_modern] .hero{border-radius:0;background:none}
[data-theme=helal_modern] :is(.service-grid article,.article-grid article,.google-review-card){border-radius:24px;box-shadow:0 8px 24px #164b4e06}
[data-theme=helal_modern] .page-masthead{border-radius:0;background:#075d63}
[data-theme=helal_modern] .related-panel{border-radius:20px;box-shadow:none}
[data-theme=helal_modern] .site-footer{border-radius:0}
@media(min-width:761px) and (max-width:1100px){:root{--section-space:68px}.hero{gap:32px!important}.about{gap:48px}.service-grid,.clinic-grid,.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:minmax(0,1fr) 250px;gap:32px}.clinic-header .header-account{display:none}}
@media(max-width:760px){:root{--section-space:52px;--card-radius:18px}.wrap{width:calc(100% - 40px)}main .section-shell .hero{padding-block:36px 44px;gap:28px}.hero h1{font-size:32px;line-height:1.7}.hero-foot{gap:24px}.hero-visual{max-width:420px}.feature-preview{border-radius:20px}.feature-caption strong{font-size:23px}.section-top{align-items:flex-start;gap:16px;margin-bottom:28px}.section-top>p{display:none}.section-top h2{font-size:27px}.section-top h2:after{margin-top:14px}.section-more{margin-top:-20px;padding-bottom:28px}.section-more .text-link{font-size:13px}main .page-teaser{width:calc(100% - 40px);margin-block:24px;padding:26px 24px;gap:22px;border-radius:20px;align-items:flex-start}.page-teaser h2{font-size:24px}.page-teaser p{font-size:14px}.page-teaser .button{min-width:0}.home-page>.page-teaser+.page-teaser{margin-top:0}.service-grid,.clinic-grid,.article-grid,.review-grid{grid-template-columns:1fr;gap:20px}.service-grid article{padding:20px}.service-photo{height:220px}.service-grid h3{margin-top:18px}.service-grid p{margin-bottom:20px}.article-copy{padding:22px}.about{grid-template-columns:1fr;gap:36px}.about-image{max-width:320px}.about-image img{box-shadow:7px 7px 0 #dfebe0}.about h2{font-size:27px}.about .credentials{margin-block:20px}.reels-grid{gap:14px}.tile-copy{padding:15px}.tile-copy h3{font-size:16px}.tile-copy p{font-size:12px}.clinic-grid article,.google-review-card{padding:24px}.review-bottom{gap:20px}.page-masthead{padding-block:30px 36px}.page-masthead h1{font-size:30px}.page-masthead p{font-size:15px}.breadcrumbs{margin-bottom:20px;font-size:12px}.detail-grid{grid-template-columns:1fr;padding-block:36px;gap:32px}.detail-body h2{font-size:23px}.related-panel{padding:24px}.inner-page .booking{margin-block:32px;padding:24px 20px;gap:24px}.inner-page .personal-journey{padding-block:48px}.site-footer{padding-top:44px}.site-footer .footer-grid{gap:28px 24px}.site-footer .footer-column a{font-size:13px}.site-footer .footer-bottom{margin-top:32px;gap:16px}.faq summary{font-size:15px}}
@media(max-width:360px){.wrap{width:calc(100% - 32px)}main .page-teaser{width:calc(100% - 32px);padding:24px 20px}.hero h1{font-size:29px}.doctor-name{font-size:18px}.doctor-name span{display:inline-block;margin-top:8px}.feature-caption strong{font-size:21px}.reels-grid{grid-template-columns:1fr}.tile-art{aspect-ratio:4/5}.site-footer .footer-grid{grid-template-columns:1fr}.page-masthead h1{font-size:27px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.service-grid article:hover,.article-grid article:hover,.button:hover{transform:none}}
/* Reset inherited image bleed and the old generic wrapper padding. */
.service-grid .service-photo{max-width:100%;margin:0;width:100%}
main>.section-shell>.section-more{padding-block:0 32px;margin-top:-28px}
main>.section-shell>.google-reviews{padding-inline:0}
@media(max-width:760px){main>.section-shell>.section-more{padding-block:0 28px;margin-top:-20px}}
.article-grid>p:only-child{grid-column:1/-1;padding:24px 28px;margin:0;border:1px dashed #cbded1;border-radius:16px;background:#f7faf7;font-size:14px!important;text-align:center}

.player-status{position:absolute;inset:18px 16px auto;z-index:5;padding:12px 16px;border-radius:10px;background:#fff;color:#164b4e;font-size:14px;line-height:1.8;text-align:center;direction:rtl}.player-status[hidden]{display:none}

/* Professional profile uses shared content and the existing publication cycle. */
.doctor-profile{padding-block:72px;border-bottom:1px solid var(--section-line)}.profile-headline{max-width:760px;font-size:19px;line-height:1.9;margin:0 0 32px;color:var(--teal)}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.profile-card{position:relative;border:1px solid var(--section-line);border-radius:22px;background:#f7faf7;padding:32px}.profile-card h3{font-size:23px;margin:0 0 24px}.profile-mark{position:absolute;inset:30px auto auto 28px;font-size:13px;color:#77948a}.profile-card ul{list-style:none;padding:0;margin:0}.profile-card li{padding:16px 0;border-top:1px solid #dce9e2;line-height:1.9}.profile-qualifications strong{display:block;font-weight:600;font-size:17px}.profile-qualifications span{display:block;color:var(--muted);font-size:14px;margin-top:6px}.profile-memberships li{font-size:16px}.profile-specialties{margin-top:36px}.profile-specialties h3{font-size:23px;margin-bottom:20px}.profile-specialties ul{display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0}.profile-specialties li{border:1px solid #d3e4d9;border-radius:12px;background:#fff;padding:10px 16px;font-size:14px}.profile-specialties .fine{margin-top:24px;max-width:750px}[data-theme=helal_modern] .profile-card{background:white;box-shadow:0 8px 24px #164b4e06}
@media(max-width:760px){.doctor-profile{padding-block:48px}.profile-headline{font-size:17px}.profile-grid{grid-template-columns:1fr;gap:20px}.profile-card{padding:26px 24px}.profile-card h3,.profile-specialties h3{font-size:21px}.profile-mark{inset:27px auto auto 23px}.profile-specialties li{font-size:13px;padding:9px 13px}.profile-specialties ul{gap:10px}}

/* Portrait cinema frame, sized to the viewport rather than stretched. */
#video-dialog{width:min(420px,calc(100vw - 40px),calc((100dvh - 150px)*9/16));max-height:calc(100dvh - 32px);padding:0;overflow:visible}
#video-dialog h3{font-size:15px;line-height:1.7;font-weight:500;margin:0 0 14px;padding:0 0 0 42px;min-height:32px;display:flex;align-items:center}
#video-dialog .close{width:32px;height:32px;top:0;left:0;border-color:#ffffff35;background:#ffffff0b;font-size:22px}
#video-container{aspect-ratio:9/16;border-radius:16px;overflow:hidden;background:#071315;box-shadow:0 24px 80px #0006}
#video-container .vimeo-player{display:block;width:100%;height:100%;border:0;aspect-ratio:9/16}
#video-dialog>a{font-size:11px;opacity:.75;padding-top:12px;margin-top:0}
#video-dialog::backdrop{background:#071113eb;backdrop-filter:blur(10px)}
@media(max-width:480px){#video-dialog{width:min(calc(100vw - 32px),calc((100dvh - 140px)*9/16))}#video-dialog h3{font-size:14px;margin-bottom:12px}#video-container{border-radius:12px}}

/* Compact editorial video cards: fill the row and end with one clear action. */
#videos .reels-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;align-items:stretch}
#videos .video-tile{display:flex;flex-direction:column;border-radius:22px;box-shadow:0 5px 22px #164b4e06;background:#fff}
#videos .tile-art{height:auto;aspect-ratio:4/5;background:#eaf2ee;isolation:isolate}
#videos .real-thumbnail{object-fit:cover;object-position:center 30%;transition:transform .3s}
#videos .tile-art:after{background:linear-gradient(#082e3020,transparent 45%,#082e3059)}
#videos .video-label{top:16px;right:16px;max-width:calc(100% - 32px);padding:5px 12px;background:#fffffff0;font-size:11px}
#videos .tile-art button{width:58px;height:58px;top:calc(50% - 29px);right:calc(50% - 29px);border:1px solid #ffffffa0;background:#fffffff0;box-shadow:0 4px 24px #003f4326;font-size:20px}
#videos .tile-copy{padding:24px;display:flex;flex-direction:column;flex:1}
#videos .tile-copy h3{font-size:20px;line-height:1.8;margin:0 0 12px;min-height:0}
#videos .tile-copy p{font-size:14px;line-height:1.9;margin:0 0 20px;min-height:0;flex:1}
#videos .tile-copy .video-watch{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;border-top:1px solid var(--section-line);padding:14px 0 0;margin-top:auto;font-size:14px;font-weight:500}
#videos .video-section-footer{display:flex;align-items:center;justify-content:space-between;gap:28px;border-top:1px solid var(--section-line);margin-top:32px;padding-top:24px}
#videos .video-section-footer p{margin:0;max-width:700px;line-height:1.9}
#videos .video-section-footer .button{flex-shrink:0}
#videos .video-tile:hover .real-thumbnail{transform:scale(1.025)}
@media(min-width:761px) and (max-width:1000px){#videos .reels-grid{gap:18px}#videos .tile-copy{padding:18px}#videos .tile-copy h3{font-size:17px}#videos .tile-copy p{font-size:13px}}
@media(max-width:760px){#videos .reels-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#videos .tile-copy{padding:18px}#videos .tile-copy h3{font-size:17px}#videos .tile-copy p{font-size:13px}#videos .video-section-footer{flex-direction:column;align-items:flex-start;gap:20px;margin-top:28px}#videos .tile-art button{width:48px;height:48px;top:calc(50% - 24px);right:calc(50% - 24px)}}
@media(max-width:540px){#videos .reels-grid{grid-template-columns:1fr;gap:24px}#videos .tile-art{aspect-ratio:6/5}#videos .real-thumbnail{object-position:center 25%}#videos .tile-copy{padding:22px}#videos .tile-copy h3{font-size:20px}#videos .tile-copy p{font-size:14px}}
@media(prefers-reduced-motion:reduce){#videos .real-thumbnail{transition:none}#videos .video-tile:hover .real-thumbnail{transform:none}}
#videos .tile-art button{top:auto;right:auto;bottom:18px;left:18px}
@media(max-width:760px){#videos .tile-art button{top:auto;right:auto;bottom:16px;left:16px}}

/* Interior titles are compact navigation, rather than a second hero section. */
.inner-page>.page-masthead{padding-block:24px 28px}
.inner-page>.page-masthead .breadcrumbs{margin-bottom:12px}
.inner-page>.page-masthead>.wrap>.eyebrow{display:none}
.inner-page>.page-masthead h1{font-size:clamp(28px,3vw,38px);line-height:1.5;margin:0}
.inner-page>.page-masthead p{margin-top:12px;font-size:15px;line-height:1.9}
.inner-page>.page-masthead+.section-shell :is(.services,.videos,.clinics,.articles,.google-reviews,.faq,.personal-journey,.about){padding-top:40px}
.inner-page>.page-masthead+.section-shell .booking{margin-block:28px 40px}
.inner-page>.page-masthead+.detail-grid{padding-top:36px}
@media(max-width:760px){.inner-page>.page-masthead{padding-block:18px 22px}.inner-page>.page-masthead .breadcrumbs{margin-bottom:10px}.inner-page>.page-masthead h1{font-size:27px}.inner-page>.page-masthead+.section-shell :is(.services,.videos,.clinics,.articles,.google-reviews,.faq,.personal-journey,.about){padding-top:28px}.inner-page>.page-masthead+.section-shell .booking{margin-block:22px 28px}.inner-page>.page-masthead+.detail-grid{padding-top:28px}}
