/* Extra styles for the multi-page build. Keeps the original look, adds page chrome. */
.page-head{background:linear-gradient(180deg,var(--navy) 0%,var(--navy-2) 100%);color:#fff;padding:22px 0 24px}
.page-head h1{font-size:27px;font-weight:900;color:#fff;margin:6px 0 8px;line-height:1.45}
.page-head .bar{width:64px;height:4px;background:var(--amber);border-radius:3px;margin:0 0 12px}
.page-head .section-sub{color:#d6e3f1;font-size:16px;margin:0;line-height:1.9}
.crumb-band{background:var(--navy-2);padding:10px 0}
.crumb-band .crumbs{margin:0}
.crumbs{font-size:13px;color:#c3d4e6;margin:0 0 10px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.crumbs a{color:var(--amber);text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.crumbs b{color:#fff;font-weight:700}
.crumbs span{opacity:.6}

.related{padding:28px 0 6px}
.related .section-title h2{font-size:22px}
.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-top:16px}
.related-card{display:block;background:var(--card);border:1px solid var(--line);border-right:4px solid var(--amber);
  border-radius:10px;padding:13px 15px;color:var(--navy);text-decoration:none;font-weight:700;line-height:1.6;
  box-shadow:0 2px 8px rgba(15,39,67,.07);transition:transform .15s ease,box-shadow .15s ease}
.related-card:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(15,39,67,.13)}
.related-card .rc-sub{font-weight:400;color:var(--muted);font-size:13.5px}

.cta-band{background:var(--navy);color:#fff;padding:26px 0;text-align:center;margin-top:26px}
.cta-band h2{font-size:21px;font-weight:900;color:#fff;margin:0 0 14px}
.cta-band .contact-actions{display:flex;gap:10px;flex-wrap:wrap}

.footer-nav{display:flex;flex-wrap:wrap;gap:6px 14px;justify-content:center;margin-bottom:12px}
.footer-nav a{color:#cfe0f0;text-decoration:none;font-size:13px}
.footer-nav a:hover{color:var(--amber)}

@media (max-width:600px){
  .page-head{padding:16px 0 18px}
  .page-head h1{font-size:21px}
  .page-head .section-sub{font-size:14.5px}
  .related-grid{grid-template-columns:1fr}
  .cta-band h2{font-size:18px}
}

/* Sparse galleries (a page with one or two items) should not leave a huge empty row */
.gallery-grid:has(> figure:only-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.gallery-grid:has(> figure:only-child) figure{max-width:520px}
@media (max-width:700px){
  .gallery-grid:has(> figure:only-child){grid-template-columns:1fr}
  .gallery-grid:has(> figure:only-child) figure{max-width:none}
}

/* Multi-page build: the original SPA scrolled inside .elw #scroller (height:100%;overflow-y:auto)
   while html/body stayed at 100%/overflow:hidden. In the multi-page build #scroller IS .elw,
   so that rule never matched and the whole page could not scroll. Make the document scroll. */
html,body{height:auto!important;min-height:100%;overflow-x:hidden!important;overflow-y:auto!important}
body{position:static}
#scroller.elw{height:auto!important;max-height:none!important;overflow:visible!important}

/* Gallery captions must never clip: one line, ellipsis if long */
.gallery-grid figcaption{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 8px;box-sizing:border-box}

/* FAQ block */
.faq{padding:26px 0 6px}
.faq h2{font-size:22px;font-weight:900;color:var(--navy);margin:0 0 14px}
.faq details{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:12px 15px;margin-bottom:9px}
.faq summary{font-weight:700;cursor:pointer;color:var(--navy);list-style:none;font-size:15.5px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";float:left;color:var(--amber);font-weight:900}
.faq details[open] summary::after{content:"−"}
.faq p{margin:9px 0 0;color:var(--muted);line-height:1.9;font-size:14.5px}

/* Footer contact block (phone, WhatsApp, Facebook, address, email) on every page */
.footer-contact{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;margin:0 0 14px;font-size:14px;color:#cfe0f0;text-align:center}
.footer-contact .fc-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:center}
.footer-contact b{color:#fff;font-weight:700}
.footer-contact a{color:#ffb703;text-decoration:none;font-weight:700}
.footer-contact a:hover{text-decoration:underline}
.footer-contact .fc-phone{font-size:17px;font-weight:900;letter-spacing:.5px;direction:ltr;display:inline-block}
.footer-contact .fc-sep{opacity:.5}
@media (max-width:600px){.footer-contact{font-size:13px;gap:4px 10px}.footer-contact .fc-phone{font-size:16px}}

@media (max-width:600px){
  .footer-contact{flex-direction:column;gap:7px}
  .footer-contact .fc-row{flex-direction:column;gap:2px}
  .footer-contact .fc-sep{display:none}
  footer .container{padding-bottom:96px}
}

@media (max-width:600px){
  .fab-wa{bottom:86px}
  footer .container > div:last-child{padding-bottom:8px}
}
