/* Saudizle common secondary-page presentation v1.0
   Contact.html is the reference. Scoped rules: never touch the homepage hero,
   marketplace cards, input forms, or calculator calculation logic. */
:root{--sz-hero-green:#00381B;--sz-hero-gold:#C5A059}
/* Shared Contact-page banner dimensions, gradients and image position */
body .hero-card,
body .article-header,
body .banking-guide .banking-article-header,
body .sz-utility-header{
  position:relative;isolation:isolate;overflow:hidden;
  min-height:12.5rem;
  display:flex;flex-direction:column;justify-content:center;
  background-color:#00381B;
  background-image:linear-gradient(90deg,rgba(0,56,27,.96) 0%,rgba(0,80,39,.90) 54%,rgba(0,56,27,.76) 100%),url('../images/banner.webp');
  background-position:center 42%;background-size:100% auto;background-repeat:no-repeat;
  border:1px solid var(--sz-hero-gold);border-radius:16px;
  padding:2rem 1.7rem;box-shadow:0 10px 28px rgba(15,23,42,.14);
  color:#fff;
}
body .hero-card h1,body .article-header h1,body .banking-guide .banking-article-header h1,body .sz-utility-header h1{color:#fff}
body .hero-card p,body .article-header p,body .banking-guide .banking-article-header .s,body .sz-utility-header p{color:#DCECE2}
body .article-header::after{content:'S';position:absolute;right:1.1rem;top:50%;transform:translateY(-52%);font-size:clamp(5rem,14vw,8rem);line-height:1;font-weight:800;color:rgba(255,255,255,.055);pointer-events:none}
body .article-header::before,body .banking-guide .banking-article-header::after,body .sz-utility-header::before{content:'';position:absolute;left:1.7rem;bottom:1.05rem;top:auto;right:auto;width:68px;height:3px;background:var(--sz-hero-gold);border-radius:999px;transform:none;pointer-events:none}
/* Banking guide has its own component layout; match the outside banner dimensions. */
body .banking-guide .banking-article-header{width:min(100% - 2rem,860px);margin:1rem auto 0;display:block;padding:0;min-height:12.5rem}
body .banking-guide .banking-article-header .w{max-width:none;min-height:12.5rem;display:flex;flex-direction:column;justify-content:center;padding:2rem 1.7rem}
body .banking-guide .banking-article-header::after{left:1.7rem;bottom:1.05rem}
body .banking-guide .banking-article-header .k{color:#F0D095}
/* All bottom guide links: Contact's gold-edge, dark-green hover design. */
body .related-section{max-width:860px}
body .related-grid .related-link,
body .sz-utility-resources .resource{
  position:relative;isolation:isolate;overflow:hidden;
  display:flex;flex-direction:column;justify-content:center;
  min-height:92px;border:1px solid #E2E8F0;border-radius:12px;
  padding:1rem;background:#fff;color:#0F172A;text-decoration:none;
  box-shadow:0 2px 8px rgba(15,23,42,.04);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
body .related-grid .related-link::before,
body .sz-utility-resources .resource::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(135deg,#006333,#00381B);opacity:0;transition:opacity .24s ease;pointer-events:none}
body .related-grid .related-link:is(:hover,:focus-visible),
body .sz-utility-resources .resource:is(:hover,:focus-visible){transform:translateY(-3px);border-color:#C5A059;box-shadow:0 12px 26px rgba(0,56,27,.18);text-decoration:none}
body .related-grid .related-link:is(:hover,:focus-visible)::before,
body .sz-utility-resources .resource:is(:hover,:focus-visible)::before{opacity:1}
body .related-grid .related-link strong,body .sz-utility-resources .resource strong{color:#00381B;font-family:var(--font-heading);font-size:.88rem}
body .related-grid .related-link span,body .sz-utility-resources .resource span{color:#64748B;font-size:.78rem;line-height:1.45;margin-top:.2rem}
body .related-grid .related-link:is(:hover,:focus-visible) strong,
body .sz-utility-resources .resource:is(:hover,:focus-visible) strong{color:#fff!important}
body .related-grid .related-link:is(:hover,:focus-visible) span,
body .sz-utility-resources .resource:is(:hover,:focus-visible) span{color:#DCECE2!important}
/* Contact-like presentation for the standalone electricity/water tool. */
body.sz-utility-page{padding:0;background:#F7F9F7;color:#0F172A}
body.sz-utility-page>.wrap{padding:1.3rem 1rem 3rem}
body .sz-utility-header{max-width:1120px;margin:0 auto 1.7rem}
body .sz-utility-header .badge{align-self:flex-start;background:rgba(255,255,255,.1);border:1px solid #C5A059;color:#F1D27A}
body .sz-utility-header p{color:#DCECE2;max-width:70ch}
body .sz-utility-resources{max-width:1120px;margin:2rem auto 0;padding-top:1rem}
body .sz-utility-resources h2{font-family:var(--font-heading);font-size:1.15rem;color:#00381B;margin:0 0 .85rem}
body .sz-utility-resources .resources{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}
body .sz-utility-resources .resource{font-family:var(--font-body)}
body .sz-utility-resources .resource strong{display:block}
/* Keep inherited dark-mode styling inside the interactive banking tool intact. */
@media(max-width:640px){
 body .hero-card,body .article-header,body .sz-utility-header{min-height:11.75rem;padding:1.15rem;background-size:100% auto;background-position:center 42%}
 body .article-header::before,body .sz-utility-header::before{left:1.15rem}
 body .banking-guide .banking-article-header{min-height:11.75rem;width:calc(100% - 1.8rem);background-size:100% auto;background-position:center 42%}
 body .banking-guide .banking-article-header .w{min-height:11.75rem;padding:1.15rem}
 body .banking-guide .banking-article-header::after{left:1.15rem}
 body .sz-utility-resources .resources{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:460px){body .sz-utility-resources .resources{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body .related-grid .related-link,body .related-grid .related-link::before,body .sz-utility-resources .resource,body .sz-utility-resources .resource::before{transition:none}body .related-grid .related-link:is(:hover,:focus-visible),body .sz-utility-resources .resource:is(:hover,:focus-visible){transform:none}}
