/* V9: fast, focused landing pages; no changes to shared server services. */
.v9-first-info{display:grid;gap:5px;margin:18px 0 20px;padding:13px 16px;border:1px solid #cbd9d5;border-radius:14px;font-size:14px;line-height:1.45;background:#f3f8f5;color:#233b33}
.v9-first-info strong{font-size:21px;line-height:1.2;color:#152e24}.hero .v9-first-info{background:#203a35;color:#edf6ee;border-color:#49635a}.hero .v9-first-info strong{color:#d3f994}
.v9-detail-list{display:grid;gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.v9-detail-list .notice,.v9-detail-list>p{grid-column:1/-1}.v9-service-links{display:grid;gap:9px;padding:20px;border:1px solid #d5dfda;border-radius:16px}.v9-service-links a{font-weight:600;color:#245947;text-decoration:underline;text-underline-offset:3px}.v9-service-links h3{margin:0 0 8px}.v9-no-photo{display:none!important}.detail-layout.v9-no-photo-layout{grid-template-columns:minmax(0,1fr)!important;max-width:900px}.detail-layout.v9-no-photo-layout .detail-intro{max-width:820px}.detail-hero h1{font-size:clamp(28px,4.1vw,56px);overflow-wrap:anywhere}.e-links{max-height:none!important;display:flex;flex-wrap:wrap;gap:7px}.detail-hero .hero-actions{margin-top:12px}
@media(max-width:700px){.v9-detail-list{grid-template-columns:minmax(0,1fr)}.detail-hero .wrap{padding-top:8px}.detail-hero h1{font-size:clamp(28px,8vw,38px);line-height:1.13;margin:9px 0 12px}.detail-lede{font-size:16px;line-height:1.5}.detail-hero .detail-intro{padding:0}.v9-first-info{margin:12px 0;padding:10px 12px;font-size:13px;gap:3px}.v9-first-info strong{font-size:19px}.hero .v8-benefits{display:none}.hero .hero-layout{padding-top:26px}.hero h1{font-size:clamp(30px,8vw,42px)}.hero .v9-first-info{margin:12px 0}.detail-hero .hero-actions{margin-top:10px;gap:8px}.detail-hero .hero-actions .button{min-height:48px}.detail-layout.v9-no-photo-layout{gap:0}.v9-service-links{padding:14px}.hero .hero-actions .button{min-height:48px}}

/* Managed photo visibility is written directly into HTML by the admin. */
figure:has(img[data-photo-empty="1"]),.detail-image:has(img[data-photo-empty="1"]),.hero-art:has(img[data-photo-empty="1"]){display:none!important}.detail-layout:has(img[data-photo-empty="1"]),.hero-layout:has(img[data-photo-empty="1"]){grid-template-columns:minmax(0,1fr)!important}.detail-layout:has(img[data-photo-empty="1"]){max-width:900px}.hero-art:has(img[data-photo-slot][data-photo-custom="1"]) .v8-photo-label{display:none}.e-group-photo:has(img[data-photo-empty="1"]){display:none!important}
