/*
Theme Name: FixCare Editorial
Version: 1.1.4
Description: Arabic appliance maintenance editorial theme.
Text Domain: fixcare
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
*/
:root{--navy:#102b4d;--blue:#1764e8;--paper:#f5f8fc;--ink:#17314e;--muted:#61758b;--line:#dbe5ef;--copper:#dd966a}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Tahoma,Arial,sans-serif;line-height:1.85;font-size:17px}a{color:inherit;text-decoration:none}button,input{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--blue);outline-offset:5px}.wrap{width:min(1200px,90%);margin:auto}.skip{position:absolute;top:-100px}.skip:focus{top:0;background:white;z-index:100}.site-head{background:#ffffffed;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(14px)}.head-inner{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-family:Arial,sans-serif;font-size:29px;font-weight:800;letter-spacing:-1px;direction:ltr}.brand span{color:var(--blue)}.nav{display:flex;gap:25px;align-items:center;font-size:15px}.nav ul{display:flex;list-style:none;gap:24px;margin:0;padding:0}.hero{position:relative;background:var(--navy);color:white;overflow:hidden;min-height:560px;display:grid;align-items:center}.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(270deg,rgba(10,30,54,.92),rgba(10,30,54,.5) 48%,transparent 78%)}.hero-copy{position:relative;z-index:1;max-width:580px;padding:65px 0}.eyebrow{font-size:14px;font-weight:bold;letter-spacing:1px;color:#9dc5ff}.hero h1{font-size:clamp(36px,4.3vw,64px);line-height:1.35;margin:18px 0 24px;letter-spacing:-1.5px}.hero h1 em{font-style:normal;color:#a5cbff}.hero p{max-width:470px;color:#d3e1f1;font-size:18px;margin-bottom:32px}.button{display:inline-flex;align-items:center;justify-content:center;gap:15px;background:var(--blue);color:white;padding:12px 24px;border-radius:8px;border:0;cursor:pointer;transition:transform .25s,background .25s}.button:hover{transform:translateY(-3px);background:#1255c7}.hero .button{background:white;color:var(--navy)}.section{padding:64px 0}.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.section-title h2{font-size:32px;line-height:1.5;margin:0}.section-title p{color:var(--muted);margin:5px 0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:transform .3s,box-shadow .3s}.card:hover{transform:translateY(-6px);box-shadow:0 18px 38px #17314e12}.card img{width:100%;height:235px;object-fit:cover;display:block}.card-body{padding:25px}.category{color:var(--blue);font-size:14px;font-weight:bold}.card h2,.card h3{font-size:23px;line-height:1.6;margin:10px 0}.card p{color:var(--muted);font-size:16px}.meta{color:var(--muted);font-size:14px}.read{display:inline-block;color:var(--blue);font-weight:bold;font-size:15px;margin-top:15px}.site-foot{border-top:1px solid var(--line);padding:30px 0;margin-top:30px}.foot-inner{display:flex;justify-content:space-between;gap:20px;align-items:center}.site-foot p{color:var(--muted);font-size:14px}.article-head{padding:60px 0 35px;max-width:920px}.article-head h1{font-size:clamp(32px,4vw,54px);line-height:1.45;margin:15px 0 25px}.crumb{font-size:14px;color:var(--muted)}.cover{width:100%;max-height:550px;object-fit:cover;border-radius:18px;display:block}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:50px;align-items:start;padding-top:45px}.prose{background:white;padding:42px;border:1px solid var(--line);border-radius:14px;min-width:0;font-size:18px;line-height:2.05}.prose h2{font-size:29px;line-height:1.6;margin-top:40px}.prose h3{font-size:23px}.prose a{color:var(--blue);text-decoration:underline}.prose img,.prose video,.prose iframe{max-width:100%;height:auto}.prose figure{max-width:100%;margin:25px 0}.prose pre{overflow:auto}.prose table{display:block;overflow:auto}.prose blockquote{border-right:4px solid var(--blue);margin:25px 0;padding:15px 25px;background:#edf4ff}.toc{position:sticky;top:110px;background:white;border:1px solid var(--line);border-radius:14px;padding:24px;font-size:15px}.toc strong{font-size:18px}.toc a{display:block;margin-top:12px;color:var(--muted)}.toc a:hover,.toc a.active{color:var(--blue)}.progress{position:fixed;top:0;right:0;height:3px;background:var(--blue);width:0;z-index:40}.search-form{display:flex;gap:8px;flex-wrap:wrap}.search-field{min-width:0;width:220px;padding:10px;border:1px solid var(--line);border-radius:8px}.empty{padding:35px;background:white;border:1px solid var(--line);border-radius:14px}.pagination{margin:35px 0}.pagination .page-numbers{padding:8px 14px;border:1px solid var(--line);display:inline-block}.pagination .current{background:var(--blue);color:white}.reveal{animation:arrive .7s both}.motion-ready .reveal.pending{opacity:0;transform:translateY(22px);animation:none}.motion-ready .reveal.shown{opacity:1;transform:none;transition:opacity .65s,transform .65s}@keyframes arrive{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}@media(max-width:900px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-layout{grid-template-columns:1fr}.toc{position:static;grid-row:1}.hero:after{background:linear-gradient(270deg,#0a1e36e8,#0a1e3688)}.nav ul{gap:12px}.head-inner{flex-wrap:wrap;padding:15px 0;gap:10px}}@media(max-width:600px){.grid{grid-template-columns:1fr}.hero{min-height:540px}.hero-copy{padding:45px 0}.hero-image{object-position:35% center}.hero:after{background:#0a1e36ab}.section{padding:40px 0}.section-title h2{font-size:27px}.section-title{align-items:start;flex-direction:column}.prose{padding:22px}.article-layout{gap:22px}.foot-inner{flex-direction:column;align-items:start}.nav{font-size:14px}.nav ul{flex-wrap:wrap}.article-head{padding-top:35px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.motion-ready .reveal.pending{opacity:1;transform:none}}

.hotline{background:#edf4ff;color:var(--blue);border-radius:8px;padding:8px 14px;font-size:14px;white-space:nowrap}.hotline b{font-size:20px;margin-inline-start:8px}.contact-band{background:var(--navy);color:white;margin-top:55px;padding:55px 0}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px}.contact-band h2{font-size:34px;line-height:1.5;margin:12px 0}.contact-band p{color:#d3e1f1}.contact-band h3{font-size:18px;margin:0 0 14px}.hotline-big{display:inline-flex;gap:22px;align-items:center;margin-top:10px}.hotline-big strong{font:700 48px Arial}.phone-list{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:28px}.phone-link{border:1px solid #ffffff40;border-radius:8px;padding:8px 16px;font-size:17px;font-family:Arial,sans-serif}.phone-link:hover{background:#ffffff15}.contact-band a:focus-visible{outline-color:white}@media(max-width:700px){.contact-grid{grid-template-columns:1fr;gap:30px}.contact-band h2{font-size:28px}.head-inner{justify-content:center}.brand{margin-inline-end:auto}.hotline{margin-inline-start:auto}.nav{order:3;width:100%;justify-content:center}}

.brand{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}.brand-symbol{width:43px;height:43px;object-fit:contain}.brand .wordmark{color:var(--navy)}.brand .wordmark span{color:var(--blue)}.brand small{font-family:Tahoma,Arial,sans-serif;color:var(--muted)}@media(max-width:700px){.brand{font-size:25px;gap:7px}.brand-symbol{width:36px;height:36px}.brand small{font-size:12px!important;margin-inline-start:0!important}}

.brand-logo{width:190px;height:auto;max-height:70px;object-fit:contain;display:block}.site-foot .brand-logo{width:160px}@media(max-width:600px){.brand-logo{width:155px}.brand small{display:block;width:100%;text-align:center}}

/* Article layout matches the editorial preview. */
.single .article-head{max-width:1000px;margin-inline:auto;padding-top:48px}
.single .article-head h1{font-size:clamp(32px,5vw,56px);line-height:1.5}
.single .article-layout{display:flex;flex-direction:column;max-width:1000px;margin-inline:auto;gap:24px;padding-top:20px}
.single .article-layout>.prose{width:100%;max-width:1000px;margin-inline:auto;padding:42px;line-height:2.05;overflow-wrap:anywhere}
.single .article-layout>.toc{order:-1;position:static;width:100%;background:#edf4ff;padding:20px 24px}
.single .toc nav{display:flex;flex-wrap:wrap;gap:8px 20px}
.single .toc a{margin-top:8px;font-size:14px}
.single .prose table{display:table;width:100%;min-width:560px;border-collapse:collapse;font-size:16px}
.single .prose table td,.single .prose table th{vertical-align:top;line-height:1.85}
.single .prose>div[style*="overflow:auto"]{overflow-x:auto}
.single .prose h2{font-size:29px;line-height:1.6;margin:44px 0 18px}
.single .prose h3{font-size:23px;line-height:1.6;margin:0 0 14px}
.single .prose .fc-lead{font-size:22px;line-height:1.9}
.single .prose details{background:white;margin:12px 0;border:1px solid #dbe5ef;border-radius:12px;padding:20px}
.single .prose summary{line-height:1.7;font-weight:700;cursor:pointer}
.single .prose details p{margin-bottom:0}
.single .prose figure{margin:28px 0}
.single .prose figure img{display:block;width:100%;height:auto;border-radius:18px}
.single .prose p{margin:0 0 20px}
.single .prose li{margin-bottom:8px}
.single .prose>div[style*="display:flex"]{display:flex;gap:16px;flex-wrap:wrap}
.single .prose>div[style*="display:flex"]>section{flex:1 1 260px;padding:24px;border:1px solid #dbe5ef;border-radius:14px;background:#f5f8fc}
.single .prose>div[style*="display:flex"]>section p{font-size:17px;line-height:1.95}
.single .prose>div[style*="display:flex"]>section h3{color:#1764e8}
@media(max-width:600px){.single .article-layout>.prose{padding:22px}.single .prose h2{font-size:25px}.single .prose .fc-lead{font-size:20px}.single .article-layout{gap:16px}.single .toc nav{display:block}.single .prose>div[style*="display:flex"]>section{flex-basis:100%}}

/* FixCare: mobile header and footer */
.site-head .brand{min-width:0;flex-shrink:1}
.site-head .brand small{direction:rtl;letter-spacing:0}
.contact-grid>div{min-width:0}
.site-foot .brand{max-width:100%}
.phone-link{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:center}
body.admin-bar .site-head{top:32px}
@media(max-width:782px){body.admin-bar .site-head{top:46px}}
@media(max-width:700px){
 html{scroll-padding-top:160px}
 .site-head .head-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 10px;min-height:0;padding:12px 0}
 .site-head .brand{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:0;direction:rtl;max-width:100%}
 .site-head .brand-logo{width:clamp(108px,32vw,148px);max-width:100%;height:auto;max-height:none}
 .site-head .brand small{display:block;width:auto;max-width:100%;margin:0!important;text-align:right;font-size:12px!important;line-height:1.6;letter-spacing:0;overflow-wrap:break-word}
 .site-head .hotline{grid-column:2;grid-row:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0;min-height:52px;padding:6px 12px;margin:0;font-size:12px;line-height:1.5;white-space:normal;text-align:center}
 .site-head .hotline b{font-size:23px;margin:0;line-height:1.3}
 .site-head .nav{grid-column:1/-1;grid-row:2;order:initial;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;width:100%;min-width:0;padding-top:8px;border-top:1px solid var(--line);font-size:14px;line-height:1.5}
 .site-head .nav a{display:block;padding:9px 4px;min-height:40px;overflow-wrap:break-word}
 .site-head .nav ul{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;min-width:0;max-width:100%}
 .contact-band{margin-top:36px;padding:36px 0}
 .contact-band .contact-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:30px}
 .contact-band h2{font-size:clamp(23px,6vw,28px);line-height:1.6;margin:12px 0}
 .contact-band p{font-size:16px;line-height:1.9;overflow-wrap:break-word}
 .contact-band .hotline-big{display:flex;justify-content:space-between;align-items:center;gap:12px;max-width:100%;border:1px solid #ffffff40;border-radius:12px;padding:14px 18px;margin:20px 0 0}
 .contact-band .hotline-big span{font-size:16px;line-height:1.5}
 .contact-band .hotline-big strong{font-size:40px;line-height:1.2}
 .contact-band .phone-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}
 .contact-band .phone-link{display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;padding:10px 5px;font-size:16px;line-height:1.5;direction:ltr}
 .site-foot{padding:24px 0 90px;margin-top:0}
 .site-foot .foot-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}
 .site-foot .brand{margin:0}
 .site-foot .brand-logo{width:150px;max-width:100%;height:auto}
 .site-foot p{margin:0;font-size:14px;overflow-wrap:anywhere}
}
@media(max-width:600px){body.admin-bar .site-head{top:0}}
@media(max-width:359px){.contact-band .phone-list{grid-template-columns:minmax(0,1fr)}.site-head .hotline{padding-inline:9px}.contact-band .hotline-big strong{font-size:34px}}
