/* Editorial article template — Sultan Water Service */
.sw-single{--sw-ink:#18334a;--sw-deep:#123249;--sw-blue:#167c91;--sw-teal:#1c9c9c;--sw-gold:#c7a05a;--sw-paper:#f5f8f8;--sw-muted:#637782;color:var(--sw-ink);background:var(--sw-paper);padding-bottom:64px}
.sw-single .page-header.sw-hero{position:relative;overflow:hidden;margin:0 0 34px;padding:46px 0 66px;color:#fff;background:radial-gradient(circle at 12% 12%,rgba(39,164,172,.28),transparent 30%),linear-gradient(125deg,#123249 0%,#174b5e 58%,#116e79 100%)}
.sw-single .page-header.sw-hero:after{content:"";position:absolute;inset:auto -7% -88px 48%;height:170px;border:1px solid rgba(255,255,255,.16);border-radius:50%;transform:rotate(-9deg);pointer-events:none}
.sw-single .sw-hero .wrapper{position:relative;z-index:1;max-width:1120px}
.sw-single .sw-hero .breadcrumbs{margin:0 0 22px;padding:0;font-size:13px;color:rgba(255,255,255,.72)}
.sw-single .sw-hero .breadcrumbs a,.sw-single .sw-hero .breadcrumbs span{color:rgba(255,255,255,.78);font-weight:500}
.sw-single .sw-chip{display:inline-flex;align-items:center;margin:0 0 14px;padding:4px 13px;border:1px solid rgba(255,255,255,.34);border-radius:99px;color:#fff;background:rgba(255,255,255,.09);font-size:13px}
.sw-single .sw-title{max-width:900px;margin:0 0 19px;padding:0;color:#fff;font-size:clamp(30px,4.2vw,48px);line-height:1.45;letter-spacing:-.04em}
.sw-single .sw-meta{display:flex;flex-wrap:wrap;gap:10px 22px;color:rgba(255,255,255,.78);font-size:13px}
.sw-single .sw-meta span{display:inline-flex;align-items:center;gap:7px}
.sw-single .sw-meta svg{fill:none;stroke:currentColor;stroke-width:1.6}
.sw-single>.wrapper{max-width:1180px}
.sw-single .sw-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;align-items:start}
.sw-single .main-content.content-right,.sw-single .widgets-area.side-left{float:none;width:auto;min-width:0}
.sw-single .sw-article{overflow:visible;border:1px solid #e1e9e8;border-radius:18px;background:#fff;box-shadow:0 14px 40px rgba(20,52,67,.07)}
.sw-single .sw-cover{margin:0;overflow:hidden;border-radius:18px 18px 0 0;background:#dce8e8}
.sw-single .sw-cover img{display:block;width:100%;max-height:500px;object-fit:cover;border:0;border-radius:0;box-shadow:none}
.sw-single .entry-content{max-width:820px;margin:auto;padding:34px clamp(22px,5vw,66px) 20px;font-size:17px;line-height:2.05;color:#334e5c}
.sw-single .entry-content>p:first-child{font-size:19px;color:#294958}
.sw-single .entry-content h2{margin:1.9em 0 .65em;padding:.2em .7em .2em 0;border-right:3px solid var(--sw-teal);color:var(--sw-deep);font-size:clamp(22px,2.4vw,29px);line-height:1.55}
.sw-single .entry-content h3{margin:1.5em 0 .45em;color:#205e70;font-size:21px}
.sw-single .entry-content p{margin:0 0 1.15em}
.sw-single .entry-content ul,.sw-single .entry-content ol{padding-right:1.4em}
.sw-single .entry-content li{margin:.35em 0}
.sw-single .entry-content a{color:#087c8b;text-decoration-thickness:1px;text-underline-offset:3px}
.sw-single .entry-content blockquote{margin:26px 0;padding:16px 21px;border:0;border-right:4px solid var(--sw-gold);border-radius:12px;background:#f4f7f3;color:#395665}
.sw-single .sw-toc{margin:22px 0 30px;padding:22px 25px;border:1px solid #d9e8e7;border-radius:14px;background:#f4f9f8}
.sw-single .sw-toc__title{margin-bottom:9px;color:var(--sw-deep);font-weight:800}
.sw-single .sw-toc ol{margin:0;padding-right:22px}
.sw-single .sw-toc li{margin:4px 0;font-size:15px}
.sw-single .sw-toc a{color:#176b79;text-decoration:none}
.sw-single .sw-toc a:hover{text-decoration:underline}
.sw-single .sw-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 30px 30px;padding:22px 25px;border:1px solid #d6e9e6;border-radius:16px;background:linear-gradient(120deg,#f0f8f6,#f6f8f2)}
.sw-single .sw-cta__text strong{color:#143d50;font-size:18px}
.sw-single .sw-cta__text p{margin:4px 0 0;color:#617782;font-size:14px}
.sw-single .sw-cta__btns{display:flex;flex-shrink:0;gap:9px}
.sw-single .sw-btn{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:8px 18px;border-radius:10px;font-weight:700;text-decoration:none}
.sw-single .sw-btn--call{background:#15566c;color:#fff}
.sw-single .sw-btn--wa{background:#198d73;color:#fff}
.sw-single .entry-footer{padding:0 30px 25px}
.sw-single .sw-side{position:sticky;top:22px;display:grid;gap:17px;overflow:visible}
.sw-single .sw-card{padding:20px;border:1px solid #e0e9e8;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(20,52,67,.06)}
.sw-single .sw-card--call{background:linear-gradient(150deg,#12364d,#1b6574);color:#fff}
.sw-single .sw-card__label{display:block;color:rgba(255,255,255,.78);font-size:13px}
.sw-single .sw-card__phone{display:block;margin:8px 0 15px;color:#fff;font-size:24px;font-weight:800}
.sw-single .sw-card__title{margin-bottom:12px;color:#17394e;font-size:17px;font-weight:800}
.sw-single .sw-rel{display:flex;align-items:center;gap:11px;padding:11px 0;border-top:1px solid #edf1f0;color:#294b5d;font-size:13px;line-height:1.65}
.sw-single .sw-rel:first-of-type{border-top:0}
.sw-single .sw-rel img{flex:0 0 56px;width:56px;height:56px;object-fit:cover;border:0;border-radius:10px;box-shadow:none}
.sw-single .sw-rel--text{padding:9px 0}
.sw-single .sw-tax-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sw-single .sw-tax-links a{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px 10px;border:1px solid #e3ecea;border-radius:10px;color:#245268;font-size:12px;line-height:1.5;background:#f8fbfa}
.sw-single .sw-tax-links a:hover{border-color:#7abcb8;background:#eff8f6}
.sw-single .sw-tax-links small{color:#708993}
.sw-single .sw-progress{position:fixed;z-index:99;top:0;right:0;left:0;height:3px;background:transparent;pointer-events:none}
.sw-single .sw-progress span{display:block;width:100%;height:100%;background:linear-gradient(90deg,#c7a05a,#28a6a0);transform:scaleX(0);transform-origin:right center}
.sw-single .faqs{margin:34px 0}
.sw-single .sw-faq-title{color:#183c51}
.sw-single .faq-panel{margin:10px 0;padding:15px 18px;border:1px solid #e2ebea;border-radius:12px;box-shadow:none}
.sw-single .faq-question{color:#244b5d;font-size:17px}
@media(max-width:900px){.sw-single .sw-grid{grid-template-columns:minmax(0,1fr) 270px;gap:18px}.sw-single .entry-content{padding:28px 28px 16px}}
@media(max-width:720px){.sw-single{padding-bottom:36px}.sw-single .page-header.sw-hero{padding:28px 0 40px;margin-bottom:20px}.sw-single .sw-hero .breadcrumbs{margin-bottom:15px}.sw-single .sw-title{font-size:29px}.sw-single .sw-grid{display:flex;flex-direction:column}.sw-single .main-content.content-right,.sw-single .widgets-area.side-left{width:100%}.sw-single .sw-side{position:static;width:100%;grid-template-columns:1fr}.sw-single .entry-content{padding:24px 21px 12px;font-size:16px}.sw-single .entry-content>p:first-child{font-size:17px}.sw-single .sw-cta{display:block;margin:0 16px 20px;padding:18px}.sw-single .sw-cta__btns{margin-top:14px}.sw-single .sw-btn{flex:1}.sw-single .entry-footer{padding:0 18px 20px}.sw-single .sw-cover img{max-height:300px}}
@media(prefers-reduced-motion:reduce){.sw-single *{scroll-behavior:auto!important;transition:none!important}}
/* Dark article palette: controlled by the site's color-mode switch. */
html[data-color-mode="dark"] .sw-single{
  --sw-night:#0d202b;
  --sw-night-card:#142f3d;
  --sw-night-raised:#193b49;
  --sw-night-border:#315664;
  --sw-night-text:#e3edf0;
  --sw-night-muted:#b2c7ce;
  --sw-night-heading:#f2f7f8;
  --sw-night-link:#77d8e0;
  color:var(--sw-night-text);
  background:var(--sw-night);
}
html[data-color-mode="dark"] .sw-single .sw-article,
html[data-color-mode="dark"] .sw-single .sw-card:not(.sw-card--call){
  border-color:var(--sw-night-border);
  background:var(--sw-night-card);
  box-shadow:0 16px 42px rgba(0,0,0,.22);
}
html[data-color-mode="dark"] .sw-single .entry-content,
html[data-color-mode="dark"] .sw-single .entry-content>p:first-child,
html[data-color-mode="dark"] .sw-single .entry-content p,
html[data-color-mode="dark"] .sw-single .entry-content li,
html[data-color-mode="dark"] .sw-single .sw-rel,
html[data-color-mode="dark"] .sw-single .sw-faq-title,
html[data-color-mode="dark"] .sw-single .faq-question,
html[data-color-mode="dark"] .sw-single .faq-answer{
  color:var(--sw-night-text);
}
html[data-color-mode="dark"] .sw-single .entry-content h1,
html[data-color-mode="dark"] .sw-single .entry-content h2,
html[data-color-mode="dark"] .sw-single .entry-content h3,
html[data-color-mode="dark"] .sw-single .entry-content h4,
html[data-color-mode="dark"] .sw-single .sw-card__title,
html[data-color-mode="dark"] .sw-single .faq-question{
  color:var(--sw-night-heading);
}
html[data-color-mode="dark"] .sw-single .sw-meta,
html[data-color-mode="dark"] .sw-single .sw-cta__text p,
html[data-color-mode="dark"] .sw-single .sw-tax-links small{
  color:var(--sw-night-muted);
}
html[data-color-mode="dark"] .sw-single .entry-content a,
html[data-color-mode="dark"] .sw-single .sw-toc a{
  color:var(--sw-night-link);
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
html[data-color-mode="dark"] .sw-single .entry-content a:hover,
html[data-color-mode="dark"] .sw-single .sw-toc a:hover{
  color:#b1f4f2;
}
html[data-color-mode="dark"] .sw-single .entry-content blockquote,
html[data-color-mode="dark"] .sw-single .sw-toc,
html[data-color-mode="dark"] .sw-single .sw-tax-links a,
html[data-color-mode="dark"] .sw-single .faq-panel{
  border-color:var(--sw-night-border);
  background:var(--sw-night-raised);
  color:var(--sw-night-text);
}
html[data-color-mode="dark"] .sw-single .sw-toc__title{
  color:var(--sw-night-heading);
}
html[data-color-mode="dark"] .sw-single .sw-cta{
  border-color:var(--sw-night-border);
  background:linear-gradient(120deg,#173c49,#203c3e);
}
html[data-color-mode="dark"] .sw-single .sw-cta__text strong{
  color:var(--sw-night-heading);
}
html[data-color-mode="dark"] .sw-single .sw-tax-links a{
  color:var(--sw-night-text);
}
html[data-color-mode="dark"] .sw-single .sw-tax-links a:hover{
  border-color:#5aa8a8;
  background:#204b57;
}
html[data-color-mode="dark"] .sw-single .sw-rel{
  border-color:rgba(177,207,213,.16);
}
html[data-color-mode="dark"] .sw-single .sw-cover{
  background:#183441;
}
html[data-color-mode="dark"] .sw-single :focus-visible{
  outline:3px solid #73d9df;
  outline-offset:3px;
}
@media(max-width:720px){
  html[data-color-mode="dark"] .sw-single .sw-cta{
    background:linear-gradient(145deg,#173c49,#203c3e);
  }
}

/* Bring the legacy WordPress sidebar widgets into the same readable night palette. */
html[data-color-mode="dark"] .sw-single .sw-side .side-widget{
  border-color:var(--sw-night-border);
  background:var(--sw-night-card);
  color:var(--sw-night-text);
}
html[data-color-mode="dark"] .sw-single .sw-side .side-widget h1,
html[data-color-mode="dark"] .sw-single .sw-side .side-widget h2,
html[data-color-mode="dark"] .sw-single .sw-side .side-widget h3,
html[data-color-mode="dark"] .sw-single .sw-side .side-widget .wp-block-heading{
  color:var(--sw-night-heading);
}
html[data-color-mode="dark"] .sw-single .sw-side .side-widget a,
html[data-color-mode="dark"] .sw-single .sw-side .side-widget .wp-block-latest-posts__post-title,
html[data-color-mode="dark"] .sw-single .sw-side .side-widget .wp-block-archives-list a,
html[data-color-mode="dark"] .sw-single .sw-side .side-widget .wp-block-categories-list a{
  color:var(--sw-night-link);
  text-decoration-color:rgba(119,216,224,.55);
}
html[data-color-mode="dark"] .sw-single .sw-side .side-widget li,
html[data-color-mode="dark"] .sw-single .sw-side .side-widget .no-comments,
html[data-color-mode="dark"] .sw-single .sw-side .side-widget p{
  color:var(--sw-night-text);
}
html[data-color-mode="dark"] .sw-single .sw-side .side-widget li::marker{
  color:#6fcbd3;
}
html[data-color-mode="dark"] .sw-single .sw-side .side-widget input[type="search"]{
  border-color:var(--sw-night-border);
  background:#0f2632;
  color:var(--sw-night-text);
}
html[data-color-mode="dark"] .sw-single .sw-side .side-widget input[type="search"]::placeholder{
  color:#9bb4bd;
}
html[data-color-mode="dark"] .sw-single .sw-side .sw-rel,
html[data-color-mode="dark"] .sw-single .sw-side .sw-rel span,
html[data-color-mode="dark"] .sw-single .sw-side .sw-tax-links a span{
  color:var(--sw-night-text);
}
html[data-color-mode="dark"] .sw-single .sw-side .sw-rel:hover,
html[data-color-mode="dark"] .sw-single .sw-side .sw-tax-links a:hover{
  color:#b1f4f2 !important;
}

/* Explicit foreground colors protect widget text from the theme's legacy link rules. */
html[data-color-mode="dark"] .sw-single .sw-side .sw-card,
html[data-color-mode="dark"] .sw-single .sw-side .sw-card *{
  color:var(--sw-night-text) !important;
}
html[data-color-mode="dark"] .sw-single .sw-side .sw-card .sw-card__title{
  color:var(--sw-night-heading) !important;
}
html[data-color-mode="dark"] .sw-single .sw-side .sw-card .sw-card__label,
html[data-color-mode="dark"] .sw-single .sw-side .sw-tax-links small{
  color:var(--sw-night-muted) !important;
}
html[data-color-mode="dark"] .sw-single .sw-side .sw-card a:not(.sw-btn),
html[data-color-mode="dark"] .sw-single .sw-side .sw-card a:not(.sw-btn) span,
html[data-color-mode="dark"] .sw-single .sw-side .sw-tax-links a,
html[data-color-mode="dark"] .sw-single .sw-side .sw-tax-links a span{
  color:var(--sw-night-link) !important;
}
html[data-color-mode="dark"] .sw-single .sw-side .side-widget,
html[data-color-mode="dark"] .sw-single .sw-side .side-widget *{
  color:var(--sw-night-text) !important;
}
html[data-color-mode="dark"] .sw-single .sw-side .side-widget h1,
html[data-color-mode="dark"] .sw-single .sw-side .side-widget h2,
html[data-color-mode="dark"] .sw-single .sw-side .side-widget h3,
html[data-color-mode="dark"] .sw-single .sw-side .side-widget .wp-block-heading{
  color:var(--sw-night-heading) !important;
}
html[data-color-mode="dark"] .sw-single .sw-side .side-widget a,
html[data-color-mode="dark"] .sw-single .sw-side .side-widget a:visited{
  color:var(--sw-night-link) !important;
}
