
/* ===== style.css ===== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800&display=swap');
:root{--green:#00ad78;--dark:#007e5e;--light:#f3f6f5;--ink:#182f29;--line:#e0eae6;--muted:#6c7c77;--shadow:0 12px 34px rgba(11,72,49,.055)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Tajawal,Arial,sans-serif;background:#fff;color:var(--ink);line-height:1.7}a{color:inherit;text-decoration:none}a:hover{color:var(--dark)}button,input,textarea,select{font:inherit}button{cursor:pointer}.container{width:min(1240px,calc(100% - 48px));margin-inline:auto}.narrow{max-width:740px}.header{background:white;color:#163d31;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:35px;min-height:91px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand img{height:65px;max-width:190px;object-fit:contain}.brand-subtitle{font-size:12px;color:var(--muted)}.nav{display:flex;gap:26px;align-items:center;font-weight:700}.nav a{white-space:nowrap}.nav .nav-action{background:var(--green);color:white;border-radius:10px;padding:10px 19px}.nav .nav-action:hover{background:var(--dark);color:white}
.hero{text-align:center;background:linear-gradient(125deg,#f7faf9,#eef8f5);padding:104px 16px 94px;margin-inline:calc((min(1240px,100vw - 48px) - 100vw)/2);border-bottom:1px solid var(--line)}.hero-eyebrow{display:inline-flex;background:#dcf4eb;color:var(--dark);font-weight:700;border-radius:100px;padding:7px 22px;font-size:14px}.hero h1{font-size:clamp(36px,5vw,66px);line-height:1.28;letter-spacing:-1.2px;margin:25px 0 13px}.hero h1 em{font-style:normal;color:var(--green)}.hero p{font-size:19px;margin:0}.muted{color:var(--muted)}.search-form{display:flex;align-items:center;background:#fff;border:1px solid #d8e4df;border-radius:17px;max-width:830px;margin:35px auto 0;padding:9px;gap:8px;box-shadow:0 20px 55px #073e2f12}.search-form input{border:0;outline:0;flex:1;padding:15px 20px;min-width:0;background:transparent}.btn{border:0;background:var(--green);color:#fff;border-radius:10px;padding:12px 23px;font-weight:800;display:inline-block}.btn:hover{background:var(--dark);color:white}.btn.outline{background:#fff;color:var(--dark);border:1px solid var(--line)}.btn.small{padding:7px 13px;font-size:13px}
.section{margin:64px 0}.section-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.section-header h2{margin:0}.section-header span{color:var(--muted);font-size:14px}.section h2{font-size:28px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;margin:22px 0;box-shadow:var(--shadow)}.pinned-section{padding:29px}.pinned{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:24px 9px;text-align:center}.pinned-item{padding:12px 3px;border-radius:10px;min-width:0;transition:.2s}.pinned-item:hover{background:#edf8f3;transform:translateY(-2px)}.pinned-item img{width:55px;height:55px;object-fit:contain}.pinned-item span{font-size:13px;display:block}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.category-tile{display:flex;align-items:center;justify-content:flex-start;gap:13px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;text-align:right;box-shadow:var(--shadow);font-weight:700;min-height:83px;transition:.18s}.category-tile:hover{border-color:#75cbb0;background:#f7fdfa;transform:translateY(-2px)}.category-tile .symbol{display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#e5f6ef;border-radius:11px;color:var(--dark);font-size:26px;width:48px;height:48px;line-height:1}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;min-width:0;box-shadow:var(--shadow);transition:.18s}.card:hover{transform:translateY(-2px);border-color:#b1d9ca}.card h3{margin:0 0 7px;font-size:19px}.card p{margin:11px 0;color:#51655d;font-size:14px}.card small{color:var(--muted)}.card .domain{color:var(--dark);direction:ltr;text-align:right;overflow-wrap:anywhere;font-size:14px}.card img.news-image{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:11px;margin-bottom:13px}.split{display:grid;grid-template-columns:minmax(0,2fr) minmax(265px,1fr);gap:25px}.sidebar .panel{margin-top:0}.footer{margin-top:90px;padding:45px 0;background:#073e32;color:#e8f8f1;border-top:1px solid #094d3e;font-size:14px}.footer .container{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.footer-links{display:flex;gap:19px;flex-wrap:wrap}.footer a:hover{color:white}.form-grid{display:grid;gap:17px}.form-grid label{font-weight:700;display:grid;gap:7px}.form-grid input,.form-grid select,.form-grid textarea,input.filter{border:1px solid #cadbd3;border-radius:10px;padding:12px 14px;width:100%;background:#fff;outline-color:var(--green);min-width:0}.form-grid textarea{min-height:120px}.form-grid .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.notice{padding:13px;border-radius:8px;background:#e3f8ed;color:#146447;margin:14px 0}.error{padding:13px;border-radius:8px;background:#ffe5e5;color:#8d1616;margin:14px 0}.meta{padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.breadcrumbs{margin:25px 0;color:var(--muted);font-size:14px}.image-banner{max-width:100%;height:auto;border-radius:9px}.site-info{white-space:pre-line}.site-social{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.site-social a{background:#e8f6f0;padding:7px 12px;border-radius:7px;color:#13674c;font-size:13px}
.admin-layout{display:grid;grid-template-columns:255px 1fr;min-height:100vh;background:#f5f8f6}.admin-sidebar{background:#073e32;color:#fff;padding:25px 15px}.admin-sidebar a{display:block;padding:11px 13px;border-radius:7px}.admin-sidebar a:hover{background:#155d49;color:white}.admin-content{padding:30px;min-width:0}.admin-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.table-scroll{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;background:#fff;text-align:right}.data-table th,.data-table td{border-bottom:1px solid var(--line);padding:11px 12px;vertical-align:top}.data-table th{background:#e9f5ee}.actions,.admin-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.subtle{font-size:12px;color:var(--muted)}.pager{display:flex;justify-content:center;gap:10px;padding:22px}.tag{color:var(--dark);background:#edf9f4;border-radius:5px;padding:3px 8px;font-size:13px}
@media(max-width:1000px){.nav{gap:13px;font-size:13px}.brand img{max-width:130px}.pinned{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:800px){.header-inner{flex-direction:column;padding:14px 0}.nav{justify-content:center;flex-wrap:wrap}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pinned{grid-template-columns:repeat(4,minmax(0,1fr))}.split{grid-template-columns:1fr}.admin-layout{grid-template-columns:1fr}.admin-sidebar{display:flex;flex-wrap:wrap;gap:3px;align-items:center}.admin-sidebar a{font-size:13px}.admin-content{padding:14px}.hero{padding:65px 16px}}
@media(max-width:540px){.container{width:calc(100% - 28px)}.cards{grid-template-columns:1fr}.hero h1{font-size:34px}.hero p{font-size:15px}.pinned{grid-template-columns:repeat(3,minmax(0,1fr))}.panel{padding:17px}.form-grid .row{grid-template-columns:1fr}.category-tile{padding:12px;gap:7px;font-size:13px}.category-tile .symbol{width:37px;height:37px;font-size:20px}.section{margin:42px 0}.nav{gap:10px}}

/* ===== visual-v4.css ===== */
/* Waslat V4 — visual refresh. Exact green sampled from supplied reference: #007782. */
:root{--green:#007782;--dark:#007e58;--light:#f3f7f5;--ink:#163b31;--line:#e1e9e5;--muted:#657d73;--shadow:0 14px 40px rgba(0,72,49,.065)}
body{background:#fff;color:#163b31} .container{width:min(1260px,calc(100% - 56px))}
.header{background:#007782;color:white;border-bottom:1px solid rgba(255,255,255,.19);position:relative;z-index:20}
.header-inner{min-height:92px;gap:22px}.brand{gap:15px}.brand-frame{display:flex;align-items:center;justify-content:center;background:white;border-radius:12px;padding:6px 12px;min-width:142px;box-shadow:0 8px 20px #005c3d22}.brand-frame img{height:58px;max-width:165px}.brand-subtitle{color:#e3fff2;font-size:12px;font-weight:700}.nav{gap:29px}.nav a{color:#fff;font-size:15px}.nav a:hover{color:#ebfff6}.header-submit{background:white;color:#00845c;padding:12px 22px;border-radius:10px;font-weight:800;white-space:nowrap}.header-submit:hover{background:#e9fff5;color:#006748}
.hero{background:#007782;color:#fff;position:relative;isolation:isolate;overflow:hidden;padding:90px 22px 114px;margin-inline:calc((min(1260px,100vw - 56px) - 100vw)/2);border:0;text-align:center}.hero::after{content:"";position:absolute;inset:auto 0 0;height:95px;background:linear-gradient(to bottom,transparent,rgba(0,93,60,.14));pointer-events:none}.hero-content{position:relative;z-index:2;max-width:970px;margin:auto}.hero-glow{position:absolute;border:1px solid #ffffff2b;border-radius:50%;pointer-events:none}.hero-glow-one{width:630px;height:630px;right:-260px;top:-350px;background:#ffffff08}.hero-glow-two{width:480px;height:480px;left:-180px;bottom:-320px;background:#ffffff08}.hero-eyebrow{color:#fff;background:#ffffff20;border:1px solid #ffffff50;border-radius:100px;padding:10px 24px;display:inline-flex;align-items:center;gap:9px;font-size:14px}.hero-eyebrow-dot{background:white;width:8px;height:8px;border-radius:50%}.hero h1{font-size:clamp(42px,5.5vw,76px);font-weight:800;line-height:1.26;margin:27px 0 17px;color:white;letter-spacing:-.6px}.hero h1 em{color:#d2fff0;font-style:normal}.hero p{color:#f1fff8;font-size:19px;max-width:700px;margin:0 auto;line-height:1.9}.hero .search-form{max-width:895px;background:#fff;padding:10px;margin-top:39px;border:0;border-radius:17px;box-shadow:0 25px 60px #00583940}.search-form input{font-size:17px;color:#173b31}.search-icon{font-size:32px;color:var(--green);width:42px;display:inline-flex;justify-content:center}.hero .btn{min-width:151px;padding:17px 20px;background:#056c50;border-radius:12px}.hero .btn:hover{background:#004e39}.hero-trust{display:flex;justify-content:center;flex-wrap:wrap;gap:23px;color:#e4fff1;font-size:13px;margin-top:25px;font-weight:600}
.section{margin:78px 0}.section-header{margin-bottom:26px;gap:22px}.section-header h2{font-size:30px;line-height:1.35;margin:5px 0 3px;font-weight:800}.section-kicker{font-size:13px;color:#008b63;font-weight:800}.section-description{color:var(--muted);font-size:15px;margin:0}.section-count{font-size:13px;color:#078761;background:#e9f9f2;border:1px solid #d4eee4;padding:8px 15px;border-radius:999px;white-space:nowrap}.section-link{color:#008d62;font-weight:800;font-size:14px;white-space:nowrap}.section-link:hover{color:#00694a}
.pinned-section{margin-top:-52px;z-index:4;position:relative;padding:29px 32px 33px;border:1px solid #e7eeea;box-shadow:0 19px 50px #004c2b16;border-radius:22px;background:white}.pinned{grid-template-columns:repeat(9,minmax(0,1fr));gap:19px 10px}.pinned-item{border:1px solid transparent;padding:14px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:106px}.pinned-item img{height:53px;width:59px;object-fit:contain}.pinned-item span{font-size:14px;font-weight:700}.pin-fallback{color:var(--green);font-size:36px!important}.pinned-item:hover{border-color:#cbe9dc;background:#f6fcf9}
.categories-section{margin-top:78px}.category-grid{gap:18px}.category-tile{border:1px solid #e5eee9;background:#fff;border-radius:15px;min-height:104px;padding:18px 20px;box-shadow:0 6px 22px #143f2910;font-size:15px;gap:14px}.category-tile .symbol{width:54px;height:54px;font-size:26px;color:#008d64;background:#e5f7f0;border-radius:14px}.category-tile:hover{border-color:#69d0ac;box-shadow:0 12px 28px #08754b19;transform:translateY(-3px)}
.cards{gap:22px}.card{padding:25px;border-radius:17px;box-shadow:0 8px 24px #053b2610;border:1px solid #e4ece7}.card:hover{box-shadow:0 16px 35px #053b261b;transform:translateY(-3px)}.card h3{font-size:20px;line-height:1.4}.card p{font-size:15px;line-height:1.9}.card .domain{font-size:14px;color:#008c63}.card .btn.outline{border-color:#cce8db;background:#f4fbf7}.card img.news-image{border-radius:13px}
.closing-cta{background:#e9f8f1;margin-top:105px;padding:55px 0;border-top:1px solid #d6efe4}.closing-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.closing-kicker{color:#008b60;font-size:14px;font-weight:800}.closing-inner h2{font-size:32px;line-height:1.4;margin:9px 0}.closing-inner p{color:#55756a;margin:0;max-width:730px;font-size:16px}.btn-white{background:#007782;color:white;white-space:nowrap;font-size:16px;padding:16px 24px;border-radius:12px}.btn-white:hover{background:#00865f}
.footer{margin:0;background:#063d2f;color:#e1f2e9;padding:72px 0 0;border:0;position:relative}.footer::before{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#0a6b4e,#007782,#67dec0)}.footer .footer-grid{display:grid;grid-template-columns:1.65fr 1fr 1fr 1.15fr;gap:55px;align-items:start;padding-bottom:62px}.footer-about p{font-size:15px;line-height:2;color:#b2d8c9;max-width:340px;margin:11px 0}.footer-about h3{color:white;font-size:19px;margin:21px 0 6px}.footer-logo-frame{display:inline-flex;background:#fff;padding:8px 14px;border-radius:12px}.footer-logo-frame img{height:58px;max-width:175px;object-fit:contain}.footer-column{display:flex;flex-direction:column;gap:13px}.footer-column h3{color:#fff;font-size:19px;margin:5px 0 14px;position:relative}.footer-column h3::after{content:"";width:34px;height:3px;position:absolute;right:0;bottom:-9px;border-radius:3px;background:#007782}.footer-column a{color:#b9dacd;font-size:15px}.footer-column a:hover{color:white}.footer-column p{color:#b2d8c9;margin:0;font-size:15px}.footer-social{display:flex;flex-wrap:wrap;gap:9px}.footer-social a{font-size:12px;border:1px solid #286a55;border-radius:8px;padding:7px 10px}.footer-contact{color:#7ee0b7!important;font-weight:800;margin-top:7px}.footer .footer-bottom{padding:22px 0;border-top:1px solid #ffffff29;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#aacdbc;font-size:13px}.footer-bottom a{color:#d7ffe8}
/* Preserve contrast and usability for secondary routes and admin styles */
.section .btn.outline{color:#007b56}.breadcrumbs a{color:#008b60}.search-form:focus-within,.category-tile:focus-visible,.btn:focus-visible{outline:3px solid #77e2b8;outline-offset:3px}
@media(max-width:1040px){.nav{gap:15px}.footer .footer-grid{grid-template-columns:1.5fr 1fr 1fr;gap:30px}.footer-column:last-child{grid-column:2/4}.pinned{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:800px){.container{width:calc(100% - 36px)}.header-inner{flex-direction:column;gap:12px;padding:15px 0}.brand-frame img{height:48px}.nav{justify-content:center;gap:16px}.header-submit{padding:9px 19px}.hero{margin-inline:-18px;padding:75px 18px 85px}.hero h1{font-size:45px}.hero p{font-size:16px}.pinned-section{margin-top:-30px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.closing-inner{flex-direction:column;text-align:center}.footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-column:last-child{grid-column:auto}.section{margin:60px 0}}
@media(max-width:560px){.header-inner{gap:10px}.brand-subtitle{display:none}.nav{font-size:12px;gap:13px;flex-wrap:wrap}.nav a{font-size:12px}.hero{padding:64px 16px 76px}.hero h1{font-size:36px}.hero .search-form{flex-wrap:wrap;padding:9px}.hero .search-form .btn{width:100%}.hero p{font-size:15px}.search-form input{padding:11px}.hero-trust{gap:8px 15px;font-size:11px}.section-header{align-items:flex-start;flex-direction:column}.section-header h2{font-size:25px}.pinned-section{padding:22px 13px}.pinned{grid-template-columns:repeat(3,minmax(0,1fr))}.category-grid{gap:10px}.category-tile{min-height:93px;padding:12px 10px;gap:9px;font-size:12px}.category-tile .symbol{width:37px;height:37px;font-size:20px;border-radius:9px}.cards{grid-template-columns:1fr}.footer{padding-top:50px}.footer .footer-grid{grid-template-columns:1fr 1fr;gap:30px 18px}.footer-about{grid-column:1/-1}.footer-column:last-child{grid-column:1/-1}.footer .footer-bottom{flex-direction:column;text-align:center}.closing-inner h2{font-size:26px}}

/* ===== modern-v5.css ===== */
/* Waslat V5 — contemporary editorial directory UI. Identity: #007782 */
:root{--brand:#007782;--brand-deep:#007a54;--forest:#064736;--ink:#172b27;--cloud:#f5f8f7;--stroke:#e1eae6;--grey:#72857e;--soft:0 12px 35px rgba(19,73,53,.075)}
body{background:#fff;color:var(--ink);font-family:'Tajawal','IBM Plex Sans Arabic',Tahoma,Arial,sans-serif}a{transition:color .2s,background .2s,border .2s,transform .2s}.container{width:min(1280px,calc(100% - 48px))}.header{background:var(--brand);border:0;box-shadow:none}.header-inner{min-height:88px}.nav a{font-weight:700}.header-submit{border-radius:10px}.hero{background:var(--brand);padding:88px 24px 112px}.hero h1{font-weight:900;letter-spacing:0;font-size:clamp(43px,5.4vw,74px)}.hero .search-form{box-shadow:0 22px 68px #005c4430}.hero .btn{background:var(--forest)}.section-header h2{font-size:clamp(24px,2.5vw,34px)}.section{margin-block:68px}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.category-tile{font-weight:800;box-shadow:var(--soft);border-radius:16px}.category-tile:hover{transform:translateY(-5px)}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.card{border:1px solid var(--stroke);box-shadow:var(--soft);border-radius:18px}.card h3 a{color:var(--ink)}.card h3 a:hover{color:var(--brand-deep)}.card .domain{direction:ltr;text-align:right}.pinned-section{border-radius:22px}.footer{background:#073b2d}.footer-grid{width:min(1280px,calc(100% - 48px))}
/* Category landing / archive */
.directory-page{padding:24px 0 50px}.directory-crumb{display:flex;align-items:center;gap:10px;font-size:13px;color:#74867f;margin:8px 0 24px;flex-wrap:wrap}.directory-crumb a{color:#526c61}.directory-crumb a:hover{color:var(--brand-deep)}
.directory-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;overflow:hidden;background:linear-gradient(122deg,#007f59 0%,#00ad76 65%,#00be83 100%);border-radius:28px;min-height:285px;padding:54px 60px;color:#fff;isolation:isolate}.directory-banner::before{content:"";position:absolute;inset:-100px auto auto -90px;width:360px;height:360px;border:1px solid #ffffff30;border-radius:50%;box-shadow:0 0 0 75px #ffffff0c,0 0 0 155px #ffffff08}.directory-banner-copy{position:relative;z-index:2;max-width:730px}.directory-label{display:inline-flex;background:#ffffff26;border:1px solid #ffffff50;border-radius:100px;padding:8px 16px;color:#fff;font-size:13px;font-weight:700}.directory-banner h1{font-size:clamp(31px,4.2vw,55px);font-weight:900;line-height:1.25;color:white;margin:16px 0 12px}.directory-banner p{font-size:17px;line-height:1.9;color:#e7fff5;margin:0;max-width:670px}.directory-metrics{display:flex;flex-wrap:wrap;gap:13px;margin-top:26px}.directory-metrics span{background:#ffffff1a;border:1px solid #ffffff35;border-radius:11px;padding:8px 15px;font-size:13px}.directory-metrics strong{font-size:17px;margin-left:6px}.directory-banner-art{position:relative;z-index:1;width:190px;height:190px;flex-shrink:0;display:grid;place-items:center;border-radius:42px;background:#ffffff19;border:1px solid #ffffff45;transform:rotate(-10deg)}.directory-banner-art span{font-size:105px;line-height:1;color:#ffffffdc;transform:rotate(10deg)}.directory-banner-art i,.directory-banner-art b{position:absolute;width:32px;height:32px;border-radius:10px;background:#ffffff45;left:-18px;top:20px}.directory-banner-art b{left:auto;right:-20px;top:auto;bottom:22px;width:50px;height:50px;background:#ffffff2d}
.directory-subsection,.directory-listing{padding-top:54px}.directory-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:22px}.directory-heading h2{font-size:clamp(24px,2.6vw,32px);color:var(--ink);margin:4px 0;font-weight:900}.directory-muted{font-size:14px;color:var(--grey)}.directory-number{display:inline-flex;vertical-align:middle;font-size:13px;color:var(--brand-deep);padding:5px 10px;background:#e6f8f0;border-radius:8px;margin-right:8px}.directory-subgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.directory-subcard{display:flex;align-items:center;gap:14px;min-height:84px;background:#fff;border:1px solid var(--stroke);border-radius:15px;padding:16px 18px;color:var(--ink);font-weight:800;box-shadow:0 7px 25px #004b3410}.directory-subcard:hover{transform:translateY(-3px);border-color:#5bc8a1;box-shadow:0 15px 30px #004b341b;color:var(--brand-deep)}.directory-subicon{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;background:#e8f8f1;color:#008c63;border-radius:12px;font-size:25px}.directory-subname{flex:1}.directory-arrow{color:#83a498;font-size:21px}.directory-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;background:#f5f8f7;border:1px solid var(--stroke);border-radius:16px;margin-bottom:20px}.directory-filter{display:flex;align-items:center;gap:12px;background:white;border:1px solid #dfe8e4;border-radius:12px;min-height:52px;flex:1;max-width:690px;padding:0 16px}.directory-filter span{font-size:27px;color:var(--brand-deep)}.directory-filter input{border:0;outline:none;background:transparent;width:100%;font:inherit;font-size:15px;color:var(--ink)}.directory-filter:focus-within{border-color:var(--brand)}.directory-view-switch{display:flex;gap:4px;padding:4px;background:#e7efea;border-radius:12px}.directory-view-switch button{background:transparent;border:0;border-radius:9px;padding:10px 16px;cursor:pointer;color:#60786d;font:inherit;font-size:13px;font-weight:700}.directory-view-switch button.active{background:white;color:var(--brand-deep);box-shadow:0 2px 8px #003c2919}.directory-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.directory-site-card{min-width:0;display:flex;flex-direction:column;align-items:flex-start;position:relative;border:1px solid var(--stroke);border-radius:18px;padding:24px;background:white;box-shadow:var(--soft);transition:transform .2s,box-shadow .2s,border-color .2s}.directory-site-card:hover{transform:translateY(-4px);box-shadow:0 20px 35px #004b341a;border-color:#aadcca}.directory-site-icon{display:grid;place-items:center;background:linear-gradient(135deg,#e8faf1,#d5f3e6);color:var(--brand-deep);width:53px;height:53px;border-radius:14px;font-size:25px;margin-bottom:18px}.directory-site-body{width:100%;flex:1}.directory-site-title{font-size:20px;font-weight:900;color:var(--ink);line-height:1.5;display:block}.directory-site-title:hover{color:var(--brand-deep)}.directory-site-domain{display:block;text-align:right;color:var(--brand-deep);font-family:Tahoma,Arial,sans-serif;font-size:13px;margin-top:5px;overflow-wrap:anywhere}.directory-site-card p{font-size:14px;color:#63796f;line-height:1.9;min-height:54px;margin:16px 0}.directory-site-category{font-size:12px;color:#008b60;background:#e9f8f1;padding:7px 10px;border-radius:7px;display:inline-block;margin-bottom:10px}.directory-site-link{position:absolute;left:22px;bottom:24px;display:grid;place-items:center;border:1px solid var(--stroke);border-radius:9px;width:35px;height:35px;color:var(--brand-deep)}.directory-site-link:hover{background:var(--brand);color:white}.directory-results.is-list{grid-template-columns:1fr}.directory-results.is-list .directory-site-card{flex-direction:row;align-items:center;gap:20px;min-height:125px}.directory-results.is-list .directory-site-icon{margin:0}.directory-results.is-list .directory-site-card p{min-height:0;margin:7px 0}.directory-results.is-list .directory-site-category{margin:0}.directory-results.is-list .directory-site-link{position:static;margin-right:auto;flex-shrink:0}.directory-empty{text-align:center;border:1px dashed #c4dacf;background:#f8fbf9;border-radius:20px;padding:60px 20px;color:#657b70}.directory-empty>span{font-size:46px;color:var(--brand)}.directory-empty h3{font-size:22px;color:var(--ink)}.directory-empty p{margin-bottom:20px}.filtered-empty{margin-top:20px}
/* Site detail */
.split{gap:30px;align-items:start}.split>.panel{border-radius:20px;padding:36px;border:1px solid var(--stroke);box-shadow:var(--soft)}.split .sidebar>.panel{border-radius:18px;border:1px solid var(--stroke);padding:26px;box-shadow:var(--soft)}.split h1{font-size:clamp(28px,3.2vw,40px)}.site-info{line-height:2.15}.breadcrumbs{padding-top:30px;color:#778b80}.breadcrumbs a{color:var(--brand-deep)}
@media(max-width:1000px){.directory-results{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-subgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-banner{padding:40px}.directory-banner-art{width:140px;height:140px}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.container{width:calc(100% - 28px)}.directory-page{padding-top:10px}.directory-banner{padding:32px 25px;min-height:250px;border-radius:19px}.directory-banner-art{display:none}.directory-banner p{font-size:15px}.directory-subsection,.directory-listing{padding-top:38px}.directory-subgrid{grid-template-columns:1fr 1fr;gap:9px}.directory-subcard{min-height:74px;padding:11px;gap:9px;font-size:13px}.directory-subicon{width:34px;height:34px;font-size:20px}.directory-toolbar{flex-direction:column;align-items:stretch}.directory-filter{max-width:none}.directory-view-switch{justify-content:center}.directory-results{grid-template-columns:1fr;gap:12px}.directory-site-card{padding:20px}.directory-results.is-list .directory-site-card{align-items:start;gap:11px}.directory-results.is-list .directory-site-icon{display:none}.directory-results.is-list .directory-site-link{display:none}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cards{grid-template-columns:1fr}.split>.panel{padding:22px}}
@media(max-width:400px){.directory-subgrid{grid-template-columns:1fr}.directory-banner h1{font-size:30px}.directory-view-switch button{padding:10px}}
.directory-site-card[hidden],.filtered-empty[hidden]{display:none!important}

/* V5.1: concise homepage hero — search only. */
.hero.hero-search-only{padding:34px 24px 42px;min-height:0;display:flex;align-items:center;justify-content:center;background:#007782}
.hero.hero-search-only .hero-content{width:100%;max-width:960px}
.hero.hero-search-only .search-form{margin:0 auto;max-width:850px;padding:8px 10px;border-radius:17px;box-shadow:0 12px 35px rgba(0,85,55,.15)}
.hero.hero-search-only .search-form input{min-height:48px}
.hero.hero-search-only .search-form .btn{background:#056c50}
.pinned-section{margin-top:22px!important;padding:24px 26px!important}
.pinned-section .pinned{margin:0}
@media(max-width:700px){.hero.hero-search-only{padding:24px 14px 30px;margin-inline:-14px}.hero.hero-search-only .search-form{margin:0 auto}.pinned-section{margin-top:16px!important;padding:18px 12px!important}}
@media(max-width:560px){.hero.hero-search-only .search-form{flex-wrap:nowrap;gap:5px}.hero.hero-search-only .search-form .btn{width:auto;min-width:74px;padding:12px}.hero.hero-search-only .search-form input{padding:10px 7px;min-width:0;font-size:14px}.hero.hero-search-only .search-icon{width:26px;font-size:24px}}


/* V5.4 — compact category directory inspired by classic directories, modernized for Waslat. */
.categories-directory-page{padding:38px 0 68px}.categories-page-head{max-width:760px;margin:0 0 28px}.categories-page-head h1{font-size:clamp(30px,4vw,46px);line-height:1.25;margin:7px 0 10px;color:var(--ink);font-weight:900}.categories-page-head p{color:#61786e;font-size:16px;line-height:1.9;margin:0}.category-showcase-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.category-showcase-card{background:#fff;border:1px solid #dce8e3;border-radius:16px;overflow:hidden;box-shadow:0 9px 28px rgba(0,78,52,.07);transition:.2s ease}.category-showcase-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(0,78,52,.12);border-color:#b7ddce}.category-showcase-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(180deg,#f8fcfa,#f1f8f5);border-bottom:1px solid #dce8e3;padding:14px 16px}.category-showcase-card>header a{font-size:17px;font-weight:900;color:#009b68}.category-showcase-card>header a:hover{color:#007a52}.category-showcase-card>header span{color:#007782;font-size:17px}.category-showcase-sites{min-height:235px;padding:8px 0}.category-showcase-site{display:flex;align-items:center;gap:10px;min-height:44px;padding:7px 15px;border-bottom:1px solid #f0f4f2}.category-showcase-site:last-child{border-bottom:0}.category-site-name{flex:1;min-width:0;color:#34493f;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-site-name:hover{color:#009b68}.category-site-direct{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;border-radius:9px;background:#edf7f3;color:#00875d;font-size:16px;transition:.18s ease}.category-site-direct:hover{background:#007782;color:white;transform:translateY(-1px)}.category-showcase-card>footer{padding:12px 15px;border-top:1px solid #edf2ef;background:#fbfdfc}.category-showcase-card>footer a{display:flex;justify-content:space-between;align-items:center;color:#678077;font-size:12px;font-weight:700}.category-showcase-card>footer a:hover{color:#00875d}.category-showcase-empty{color:#98a8a1;font-size:13px;padding:18px 15px;margin:0}.nav a[href="/categories"]{font-weight:800}
@media(max-width:1100px){.category-showcase-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.category-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-showcase-sites{min-height:225px}}
@media(max-width:520px){.categories-directory-page{padding-top:24px}.category-showcase-grid{grid-template-columns:1fr;gap:12px}.category-showcase-sites{min-height:0}.category-showcase-card>header{padding:13px 14px}.category-showcase-site{padding:6px 14px}}

/* ===== forms-v5-2.css ===== */
/* Waslat V5.2 — modern submission experience / admin domain management */
.submit-shell{margin:42px auto 100px}.submit-intro{padding:34px 40px 36px;border-radius:24px;background:linear-gradient(125deg,#063e30 0%,#07895e 62%,#007782 100%);color:white;position:relative;overflow:hidden}.submit-intro:after{content:"";position:absolute;left:-85px;top:-125px;width:350px;height:350px;border:1px solid #ffffff3b;border-radius:50%;box-shadow:0 0 0 55px #ffffff0c,0 0 0 110px #ffffff09;pointer-events:none}.submit-intro .eyebrow{color:#b5f9dc;font-weight:800;letter-spacing:.2px}.submit-intro h1{font-size:clamp(25px,3vw,40px);margin:7px 0 10px;line-height:1.3;position:relative;z-index:1}.submit-intro p{max-width:680px;color:#e7fff4;margin:0;font-size:16px;position:relative;z-index:1}.submit-steps{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;position:relative;z-index:1}.submit-steps span{padding:8px 12px;background:#ffffff1c;border:1px solid #ffffff35;border-radius:9px;font-size:13px}.submit-steps b{color:#98ffce;margin-left:6px}.submit-main{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start;margin-top:26px}.directory-submit-form{background:white;border:1px solid #e0e9e5;border-radius:22px;padding:32px;box-shadow:0 22px 58px rgba(8,51,39,.06);gap:21px}.directory-submit-form>label,.admin-content .form-grid>label{font-size:14px;color:#24473b}.directory-submit-form input,.directory-submit-form textarea,.directory-submit-form select,.admin-content .form-grid input,.admin-content .form-grid select,.admin-content .form-grid textarea{border:1px solid #d5e3dc;background:#fbfdfc;border-radius:11px;padding:13px 15px;transition:border-color .18s,box-shadow .18s;min-height:48px}.directory-submit-form input:focus,.directory-submit-form textarea:focus,.directory-submit-form select:focus,.admin-content .form-grid input:focus,.admin-content .form-grid select:focus{border-color:#007782;box-shadow:0 0 0 4px #00778217;outline:none}.form-section-title{display:flex;align-items:center;gap:13px;color:#00875e;font-size:14px;font-weight:900;letter-spacing:.4px;margin:10px 0 0}.form-section-title span{color:#173a2d;font-size:18px;letter-spacing:0}.form-section-title:after{content:"";height:1px;background:#e7eeea;flex:1}.domain-entry{padding:20px;background:#f4faf7;border:1px solid #dceee6;border-radius:16px;display:grid;gap:13px}.domain-entry-caption{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center}.domain-entry-caption strong{font-size:14px}.domain-entry-caption span{font-size:12px;color:#688679}.domain-entry-fields{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(145px,.8fr);gap:14px;align-items:end}.domain-entry-fields label{display:grid;gap:7px;font-weight:700;font-size:13px}.domain-entry-fields input{direction:ltr;text-align:left;letter-spacing:.2px}.domain-entry-fields select{direction:ltr;text-align:left}.domain-preview{font-size:13px;background:#e5f4ed;border-radius:10px;padding:10px 14px;color:#45665a;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.domain-preview strong{color:#087f59;font-size:15px;letter-spacing:.3px}.submit-form-categories{display:grid;grid-template-columns:1fr 1fr;gap:16px}.submit-form-categories label{display:grid;gap:7px;font-weight:700;font-size:14px}.submit-form-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding-top:12px;border-top:1px solid #edf1ee}.submit-form-footer p{margin:0;color:#71877d;max-width:390px;font-size:13px}.submit-form-footer .btn{padding:13px 25px}.submit-help-card{background:#f6faf8;border:1px solid #e0ebe5;border-radius:20px;padding:27px;position:sticky;top:115px}.submit-help-card .help-icon{display:inline-grid;place-items:center;width:43px;height:43px;background:#daf4e7;color:#00885d;border-radius:13px;font-weight:900;font-size:24px}.submit-help-card h3{margin:15px 0 7px}.submit-help-card p,.submit-help-card li{color:#657b71;font-size:14px}.submit-help-card ul{padding-right:20px;margin-bottom:0}.submit-help-card li{margin-top:9px}.admin-content .form-intro{padding:23px 26px;background:linear-gradient(120deg,#eaf8f1,#f7fcf9);border:1px solid #d9eee3;border-radius:16px}.admin-content .form-intro .eyebrow{font-size:12px;color:#008a60;font-weight:900}.admin-content .form-intro h2{margin:4px 0 5px;font-size:24px}.admin-content .form-intro p{color:#657d72;margin:0}.admin-content .form-section-title{margin-top:14px}.admin-content .domain-entry{margin:2px 0}.admin-content .suffix-manager{max-width:820px}.suffix-textarea{font-family:ui-monospace,Consolas,monospace;line-height:2.1;text-align:left}.submit-shell .btn{background:#00a672}.submit-shell .btn:hover{background:#007c59}
@media(max-width:900px){.submit-main{grid-template-columns:1fr}.submit-help-card{position:static}.submit-intro{padding:28px}.directory-submit-form{padding:25px}}
@media(max-width:560px){.submit-shell{margin:20px auto 55px}.submit-intro{border-radius:17px;padding:24px 20px}.submit-steps{gap:7px}.submit-steps span{font-size:11px;padding:7px 9px}.directory-submit-form{padding:19px;border-radius:15px}.domain-entry{padding:13px}.domain-entry-fields,.submit-form-categories{grid-template-columns:1fr}.submit-form-footer .btn{width:100%;text-align:center}.form-section-title span{font-size:16px}}

/* Visitor submit V5.3: tags, socials, improved domain entry */
.directory-submit-form .form-helper{margin:0;color:#647b70;font-size:14px}.domain-entry-fields{grid-template-columns:minmax(150px,.75fr) minmax(0,1.4fr)}.tag-field{display:grid;gap:9px}.tag-field>label{font-weight:750;color:#24473b}.tag-field small{font-weight:400;color:#71877d}.tag-input-shell{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border:1px solid #d5e3dc;background:#fbfdfc;border-radius:14px;min-height:56px;padding:9px 12px}.tag-input-shell:focus-within{border-color:#007782;box-shadow:0 0 0 4px #00778217}.tag-input-shell input[data-tag-entry]{border:0;outline:0;box-shadow:none;background:transparent;flex:1 1 160px;min-width:120px;min-height:30px;padding:4px;font-family:inherit}.tag-chips{display:contents}.tag-chip{display:inline-flex;align-items:center;gap:8px;background:#e3f7ed;color:#066847;border:1px solid #bde9d4;padding:6px 10px;border-radius:100px;font-size:13px;font-weight:650;max-width:100%;overflow-wrap:anywhere}.tag-chip button{border:0;background:transparent;color:#066847;cursor:pointer;font-size:19px;line-height:1;padding:0 3px}.field-tip{margin:0;color:#71877d;font-size:12px}.social-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.social-input{display:grid;gap:7px;min-width:0}.social-input .social-platform{color:#24473b;font-weight:700;font-size:13px}.social-input input{width:100%;min-width:0;text-align:left;direction:ltr}.suggest-tags{margin:7px 0;color:#136e50;font-size:12px}.suggest-social{font-size:12px;margin:4px 0;overflow-wrap:anywhere}@media(max-width:640px){.social-input-grid,.domain-entry-fields{grid-template-columns:1fr}}

/* ===== search-v5-5.css ===== */
/* Waslat V5.5 — search engine style results */
.search-page{padding:34px 0 76px}.search-top{max-width:900px;margin:0 auto 34px}.search-engine-form{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #dfe7e4;border-radius:999px;padding:8px 9px 8px 16px;box-shadow:0 8px 30px rgba(14,63,50,.08)}.search-engine-form:focus-within{border-color:#007782;box-shadow:0 10px 34px rgba(0,176,117,.13)}.search-engine-icon{font-size:26px;color:#758681}.search-engine-form input{flex:1;border:0;background:transparent;outline:0;font:inherit;font-size:17px;color:#172b25;padding:12px 4px;min-width:0}.search-engine-form button{border:0;border-radius:999px;background:#007782;color:#fff;padding:13px 30px;font:inherit;font-weight:800;cursor:pointer}.search-engine-form button:hover{background:#009b68}.search-layout{display:grid;grid-template-columns:310px minmax(0,1fr);grid-template-areas:'sidebar results';gap:54px;align-items:start;max-width:1180px;margin:0 auto}.search-results-column{grid-area:results;min-width:0}.search-suggestions{grid-area:sidebar;position:sticky;top:110px}.search-meta{font-size:14px;color:#74817d;margin:2px 0 25px;border-bottom:1px solid #edf1ef;padding-bottom:16px}.search-meta strong{color:#1c342d}.search-meta span{color:#475b55}.search-results-list{display:flex;flex-direction:column;gap:30px}.search-result{max-width:790px}.search-result-source{display:flex;align-items:center;gap:10px;margin-bottom:6px}.search-result-favicon{width:32px;height:32px;border-radius:50%;background:#eef8f4;display:grid;place-items:center;font-size:16px}.search-result-source>div{display:flex;flex-direction:column;line-height:1.25}.search-result-source strong{font-size:13px;color:#263f37}.search-result-source span{font-size:12px;color:#71817c;margin-top:2px}.search-result h2{font-size:22px;line-height:1.45;margin:0 0 6px;font-weight:700}.search-result h2 a{color:#075f4a;text-decoration:none}.search-result h2 a:hover{text-decoration:underline;text-underline-offset:4px}.search-result p{font-size:15px;line-height:1.9;color:#4b5f59;margin:0;max-width:720px}.search-result-foot{display:flex;align-items:center;gap:18px;margin-top:8px;font-size:13px}.search-result-foot a{text-decoration:none;color:#68807a}.search-result-foot a:hover{color:#00a26d}.external-result-link{font-weight:700}.suggestions-box{background:#fff;border:1px solid #e1e9e6;border-radius:18px;overflow:hidden;box-shadow:0 8px 26px rgba(17,65,53,.055)}.suggestions-head{padding:18px 20px 14px;border-bottom:1px solid #edf2f0;display:flex;justify-content:space-between;align-items:end}.suggestions-head span{font-weight:900;color:#17372e;font-size:18px}.suggestions-head small{color:#87948f}.suggestions-list{padding:6px 0}.suggestion-item{position:relative;padding:13px 48px 13px 18px;border-bottom:1px solid #f0f3f2}.suggestion-item:last-child{border-bottom:0}.suggestion-name{display:block;font-weight:800;color:#17372e;text-decoration:none;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggestion-name:hover{color:#00a26d}.suggestion-item>span{display:block;color:#81908b;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggestion-go{position:absolute;right:15px;top:50%;transform:translateY(-50%);width:27px;height:27px;border-radius:50%;background:#e8f8f2;color:#00a26d;display:grid;place-items:center;text-decoration:none;font-weight:900}.suggestion-go:hover{background:#007782;color:#fff}.search-state{padding:50px 0 70px;max-width:720px}.search-state h1{font-size:30px;margin:0 0 10px;color:#18372f}.search-state p{color:#687b75;line-height:1.9}.search-state a{color:#009b68;font-weight:800;text-decoration:none}
@media(max-width:900px){.search-layout{display:flex;flex-direction:column;gap:34px}.search-results-column,.search-suggestions{width:100%}.search-suggestions{position:static}.search-result{max-width:none}.suggestions-box{max-width:none}.search-top{margin-bottom:25px}}
@media(max-width:620px){.search-page{padding-top:20px}.search-engine-form{border-radius:18px;padding:6px 7px}.search-engine-form button{padding:11px 18px}.search-engine-form input{font-size:15px}.search-layout{gap:26px}.search-result h2{font-size:19px}.search-results-list{gap:26px}.search-result-foot{flex-wrap:wrap}.search-suggestions{order:2}}

/* ===== refine-v5-6.css ===== */
/* Waslat V5.6 — refined header, categories, search layout and footer */
:root{--w-green:#007782;--w-green-dark:#008f60;--w-green-soft:#e9f8f3;--w-ink:#16352c;--w-muted:#71847e;--w-line:#e2ebe7;--w-bg:#f7faf9}

/* Header: logo + search + submit only */
.header{background:#fff;border-bottom:1px solid var(--w-line);box-shadow:0 2px 12px rgba(17,70,54,.035);position:sticky;top:0;z-index:50}
.header-inner{min-height:76px;display:grid;grid-template-columns:auto minmax(320px,760px) auto;align-items:center;gap:26px;padding-block:10px}
.brand{display:flex;align-items:center;text-decoration:none;min-width:145px}
.brand-frame{display:flex;align-items:center;justify-content:flex-start;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.brand-frame img{display:block;max-width:150px;max-height:52px;width:auto;height:auto;object-fit:contain}
.brand-subtitle,.nav{display:none!important}
.header-search{width:100%;display:flex;align-items:center;background:#f1f5f3;border:1px solid transparent;border-radius:10px;overflow:hidden;transition:.18s ease}
.header-search:focus-within{background:#fff;border-color:#b9dfd2;box-shadow:0 0 0 3px rgba(0,176,117,.08)}
.header-search span{width:48px;display:grid;place-items:center;color:#5f746d;font-size:22px}
.header-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;padding:13px 4px;font:inherit;font-size:15px;color:var(--w-ink)}
.header-search button{border:0;background:transparent;color:var(--w-green-dark);font:inherit;font-weight:800;padding:12px 18px;cursor:pointer}
.header-submit{justify-self:end;background:var(--w-green);color:#fff!important;border-radius:10px;padding:13px 21px;text-decoration:none;font-weight:900;white-space:nowrap;box-shadow:none;transition:.18s ease}
.header-submit:hover{background:var(--w-green-dark);transform:translateY(-1px)}

/* Search page: suggestions on the opposite side (right), results left */
.search-layout{direction:ltr;grid-template-columns:minmax(0,1fr) 310px!important;grid-template-areas:'results sidebar'!important;gap:54px!important}
.search-results-column,.search-suggestions{direction:rtl}
.search-result{margin-left:auto}

/* Category cards: calm hover, globe before site name */
.category-showcase-card{box-shadow:0 4px 16px rgba(24,74,60,.045)!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}
.category-showcase-card:hover{transform:translateY(-2px)!important;box-shadow:0 9px 24px rgba(24,74,60,.07)!important;border-color:#d0e3dc!important;background:#fff!important}
.category-showcase-site{display:flex;align-items:center;gap:9px;direction:rtl;background:#fff!important;transition:transform .15s ease!important}
.category-showcase-site:hover{transform:translateX(-2px);background:#fff!important}
.category-site-direct{order:0;width:27px!important;height:27px!important;flex:0 0 27px!important;border-radius:50%!important;background:transparent!important;color:#536b63!important;font-size:15px!important;transition:transform .15s ease,color .15s ease!important}
.category-site-direct:hover{background:transparent!important;color:var(--w-green)!important;transform:scale(1.12)!important}
.category-site-name{order:1;flex:1;color:#31473f!important}
.category-site-name:hover{color:var(--w-green-dark)!important;text-decoration:underline;text-underline-offset:3px}

/* Footer aligned with header/content palette */
.closing-cta{background:var(--w-green)!important;color:#fff!important;border:0!important;margin-top:70px}
.closing-inner{padding:34px 0!important}
.closing-kicker,.closing-cta p{color:rgba(255,255,255,.86)!important}
.closing-cta h2{color:#fff!important}
.btn-white{background:#fff!important;color:var(--w-green-dark)!important;border-color:#fff!important}
.footer{background:#f3f8f6!important;color:var(--w-ink)!important;border-top:1px solid #dce9e4!important}
.footer-grid{padding-top:48px!important;padding-bottom:36px!important}
.footer h3,.footer-column h3,.footer-about h3{color:var(--w-ink)!important}
.footer p{color:#657b73!important}
.footer a,.footer-column a{color:#496259!important}
.footer a:hover,.footer-column a:hover{color:var(--w-green-dark)!important}
.footer-logo-frame{background:transparent!important;border:0!important;padding:0!important}
.footer-logo-frame img{max-width:140px;max-height:54px;object-fit:contain}
.footer-social a{border:1px solid #d4e5de!important;background:#fff!important;color:var(--w-green-dark)!important}
.footer-social a:hover{background:var(--w-green-soft)!important}
.footer-contact{color:var(--w-green-dark)!important}
.footer-bottom{border-top:1px solid #dce9e4!important;color:#75877f!important}
.footer-bottom a{color:var(--w-green-dark)!important}

@media(max-width:900px){
 .header-inner{grid-template-columns:auto 1fr auto;gap:12px}.brand{min-width:auto}.brand-frame img{max-width:118px}.header-search{min-width:0}.header-search button{display:none}.header-submit{padding:11px 14px;font-size:13px}
 .search-layout{display:flex!important;direction:rtl;gap:30px!important}.search-results-column{order:1}.search-suggestions{order:2}
}
@media(max-width:620px){
 .header-inner{grid-template-columns:auto 1fr;grid-template-areas:'brand submit' 'search search';gap:9px 12px;padding-block:9px}.brand{grid-area:brand}.header-submit{grid-area:submit}.header-search{grid-area:search}.brand-frame img{max-width:105px;max-height:44px}.header{position:relative}
 .category-showcase-site:hover{transform:none}
}

/* ===== header-v5-7.css ===== */
/* Waslat V5.7 — compact modern header inspired by the supplied reference */
:root{--w57-green:#007782;--w57-green-dark:#008d5e;--w57-green-deep:#006f4b;--w57-soft:#f3f8f6;--w57-line:#dbe8e3;--w57-ink:#17392f}
.header-v57{background:linear-gradient(90deg,var(--w57-green-dark),var(--w57-green));border-bottom:0!important;box-shadow:0 5px 18px rgba(0,91,61,.12)!important;position:sticky;top:0;z-index:80}
.header-inner-v57{min-height:78px;display:grid!important;grid-template-columns:auto auto minmax(320px,1fr) auto!important;align-items:center;gap:16px!important;padding-block:11px!important;direction:rtl}
.brand-v57{min-width:auto!important;padding:0!important;display:flex;align-items:center;background:#fff;border-radius:12px;padding:7px 12px!important;box-shadow:0 2px 9px rgba(0,70,45,.08)}
.brand-v57 img{width:auto;height:45px;max-width:150px;object-fit:contain;display:block}
.header-categories-v57{position:relative;z-index:90}
.header-categories-v57 summary{list-style:none;display:flex;align-items:center;gap:9px;min-height:48px;padding:0 16px;border-radius:10px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.30);color:#fff;font-weight:800;cursor:pointer;white-space:nowrap;transition:.18s ease}
.header-categories-v57 summary::-webkit-details-marker{display:none}
.header-categories-v57 summary:hover,.header-categories-v57[open] summary{background:#fff;color:var(--w57-green-dark)}
.header-categories-menu-v57{position:absolute;top:calc(100% + 10px);right:0;width:280px;max-height:470px;overflow:auto;background:#fff;border:1px solid var(--w57-line);border-radius:14px;padding:10px;box-shadow:0 18px 44px rgba(17,65,51,.18);display:grid;gap:3px}
.header-categories-title-v57{padding:8px 10px;color:#7a8e87;font-size:12px;font-weight:800;border-bottom:1px solid #edf3f1;margin-bottom:4px}
.header-categories-menu-v57 a{padding:9px 11px;border-radius:8px;color:#304c43;text-decoration:none;font-size:14px;transition:.14s ease}
.header-categories-menu-v57 a:hover{background:#edf9f5;color:var(--w57-green-dark);transform:translateX(-2px)}
.header-categories-menu-v57 .all-categories-v57{margin-top:4px;background:#eef8f5;color:var(--w57-green-dark);font-weight:800;text-align:center}
.header-search-v57{height:50px!important;background:#fff!important;border:1px solid rgba(0,0,0,.04)!important;border-radius:11px!important;box-shadow:0 4px 15px rgba(0,88,58,.08)!important;overflow:hidden!important;display:flex!important;align-items:center!important}
.header-search-v57:focus-within{box-shadow:0 0 0 3px rgba(255,255,255,.20),0 5px 18px rgba(0,88,58,.12)!important}
.header-search-v57 .search-icon-v57{display:grid;place-items:center;width:48px;color:#789087;font-size:22px}
.header-search-v57 input{font-size:15px!important;padding:0 5px!important;color:#263f37!important}
.header-search-v57 button{align-self:stretch!important;background:var(--w57-green-deep)!important;color:#fff!important;padding-inline:22px!important;font-weight:900!important;border:0!important}
.header-search-v57 button:hover{background:#005d40!important}
.header-submit-v57{background:#fff!important;color:var(--w57-green-dark)!important;border:1px solid #fff!important;border-radius:10px!important;padding:14px 18px!important;font-weight:900!important;box-shadow:0 3px 10px rgba(0,75,50,.10)!important}
.header-submit-v57:hover{background:#f4fffb!important;color:#006d49!important;transform:translateY(-1px)}

/* Keep the footer in the same visual family as the new header */
.footer{background:#f4f8f6!important;border-top:4px solid var(--w57-green)!important}
.footer-bottom{background:#edf4f1!important}

@media(max-width:980px){
 .header-inner-v57{grid-template-columns:auto auto minmax(220px,1fr) auto!important;gap:9px!important}.brand-v57 img{height:39px;max-width:125px}.header-categories-v57 summary{padding:0 11px}.header-submit-v57{padding:13px 13px!important}.header-search-v57 button{padding-inline:15px!important}
}
@media(max-width:760px){
 .header-v57{position:relative}
 .header-inner-v57{grid-template-columns:auto 1fr auto!important;grid-template-areas:'brand categories submit' 'search search search';gap:9px!important;padding-block:9px!important}
 .brand-v57{grid-area:brand}.header-categories-v57{grid-area:categories;justify-self:start}.header-submit-v57{grid-area:submit}.header-search-v57{grid-area:search;width:100%}
 .brand-v57 img{height:36px;max-width:110px}.header-categories-v57 summary{min-height:43px;font-size:13px}.header-submit-v57{padding:11px 12px!important;font-size:13px}.header-categories-menu-v57{right:auto;left:0;width:min(290px,86vw)}
}
@media(max-width:480px){
 .header-inner-v57{grid-template-columns:auto 1fr!important;grid-template-areas:'brand submit' 'categories categories' 'search search'!important}.header-categories-v57{width:100%}.header-categories-v57 summary{justify-content:space-between;width:100%}.brand-v57 img{height:33px}.header-search-v57{height:47px!important}.header-search-v57 button{padding-inline:13px!important}
}

/* ===== directory-v5-8.css ===== */
/* V5.8: compact home, live search, classic category directory */
.hero-search-only{display:none!important}

.header-search-v57{position:relative}
.live-search-results{position:absolute;z-index:1200;top:calc(100% + 9px);right:0;left:0;background:#fff;border:1px solid #dfe8e4;border-radius:14px;box-shadow:0 18px 45px rgba(26,54,45,.14);overflow:hidden;text-align:right}
.live-search-item{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 14px;border-bottom:1px solid #edf2f0;color:#1e302a;text-decoration:none;transition:background .15s ease,transform .15s ease}
.live-search-item:last-child{border-bottom:0}.live-search-item:hover,.live-search-item.is-active{background:#f3fbf8}.live-search-item:hover{transform:translateX(-2px)}
.live-result-main{display:flex;min-width:0;flex-direction:column;gap:3px}.live-result-main strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-result-main small{font-size:11px;color:#82928c}
.live-result-domain{font-size:12px;color:#00a96e;white-space:nowrap}.live-search-empty{padding:14px;color:#7d8b86;text-align:center;font-size:13px}

.classic-directory-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px;align-items:start;margin:34px 0 55px;direction:ltr}
.classic-directory-sidebar,.classic-directory-content{direction:rtl}
.classic-directory-sidebar{position:sticky;top:94px;background:#f5f8f7;border:1px solid #e0e8e5;border-radius:8px;overflow:hidden}
.classic-sidebar-title{padding:14px 16px;background:#fff;border-bottom:2px solid #007782;color:#007782;font-weight:800;font-size:18px}
.classic-directory-sidebar nav{display:flex;flex-direction:column;padding:10px 0}
.classic-directory-sidebar a{padding:8px 16px;color:#233832;text-decoration:none;font-weight:600;font-size:14px;border-right:3px solid transparent;transition:transform .15s ease,color .15s ease,border-color .15s ease}
.classic-directory-sidebar a:hover{transform:translateX(-2px);color:#006F8D}.classic-directory-sidebar a.active{color:#007782;border-right-color:#007782;background:#fff}
.classic-directory-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:16px;padding:4px 2px}.classic-directory-head h1{margin:3px 0 4px;font-size:27px;color:#18392f}.classic-directory-head p{margin:0;color:#72837d;max-width:760px}.directory-eyebrow{color:#007782;font-size:12px;font-weight:800}.classic-all-link{color:#006F8D;text-decoration:none;font-weight:700;font-size:13px;white-space:nowrap}
.classic-groups{display:flex;flex-direction:column;gap:18px}.classic-group{background:#fff;border:1px solid #dde7e3;border-radius:5px;overflow:hidden;box-shadow:0 2px 9px rgba(23,55,44,.025)}
.classic-group-head{min-height:42px;padding:9px 13px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f9fbfa;border-bottom:1px solid #e7eeeb}.classic-group-head h2{font-size:17px;margin:0}.classic-group-head h2 a{color:#007782;text-decoration:none}.classic-group-head span{font-size:11px;color:#8a9994}
.classic-site-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:5px 10px 9px}.classic-site-row{display:flex;align-items:center;gap:8px;min-height:42px;padding:6px 7px;border-bottom:1px dashed #edf1ef;min-width:0}.classic-site-row:nth-last-child(-n+4){border-bottom-color:transparent}.classic-site-name{min-width:0;color:#4e4d4b;text-decoration:none;font-size:14px;line-height:1.55;overflow-wrap:anywhere}.classic-site-name:hover{color:#006F8D}.classic-site-direct{flex:0 0 auto;text-decoration:none;font-size:16px;filter:grayscale(.1);transition:transform .15s ease}.classic-site-direct:hover{transform:translateY(-2px) scale(1.06)}.classic-group-empty,.classic-empty{padding:22px;color:#82908b;text-align:center}.classic-empty{background:#fff;border:1px solid #e0e8e5;border-radius:8px}

@media(max-width:1100px){.classic-site-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.classic-directory-layout{grid-template-columns:minmax(0,1fr) 190px}}
@media(max-width:820px){.classic-directory-layout{grid-template-columns:1fr;direction:rtl}.classic-directory-sidebar{position:static;order:-1}.classic-directory-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.classic-directory-sidebar a{border-right:0;border-bottom:2px solid transparent;padding:8px}.classic-directory-sidebar a.active{border-bottom-color:#007782}.classic-site-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.classic-directory-head{align-items:flex-start;flex-direction:column}.live-search-results{position:fixed;top:72px;right:12px;left:12px}}
@media(max-width:520px){.classic-site-grid{grid-template-columns:1fr}.classic-directory-sidebar nav{grid-template-columns:1fr 1fr}.classic-directory-head h1{font-size:23px}}

/* ===== hotfix-v5-9.css ===== */
/* V5.9 stability + category/404 refinements */
.classic-directory-layout{
  display:grid!important;
  grid-template-columns:230px minmax(0,1fr)!important;
  gap:24px!important;
  align-items:start!important;
  direction:ltr!important;
  margin:28px 0 54px!important;
}
.classic-directory-sidebar{grid-column:1;direction:rtl!important;position:sticky;top:92px;background:#f4f7f6;border:1px solid #dfe7e4;border-radius:4px;overflow:hidden;box-shadow:none}
.classic-directory-content{grid-column:2;direction:rtl!important;min-width:0}
.classic-sidebar-title{padding:13px 16px;background:#fff;border-bottom:1px solid #007782;color:#007782;font-size:17px;font-weight:800}
.classic-directory-sidebar nav{display:flex;flex-direction:column;padding:8px 0}
.classic-directory-sidebar a{display:block;padding:8px 16px;color:#253631;text-decoration:none;font-size:14px;font-weight:650;border:0;transition:transform .15s ease,color .15s ease,background .15s ease}
.classic-directory-sidebar a:hover{color:#006F8D;transform:translateX(-2px);background:#fff}
.classic-directory-sidebar a.active{color:#007782;background:#fff;font-weight:800;box-shadow:inset -3px 0 0 #007782}
.classic-directory-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin:0 0 14px;padding:0}
.classic-directory-head h1{font-size:28px;line-height:1.3;margin:3px 0 5px;color:#173b31}
.classic-directory-head p{margin:0;color:#71827d;line-height:1.75;max-width:760px}
.classic-all-link{color:#006F8D;text-decoration:none;font-weight:750;white-space:nowrap}
.classic-groups{display:flex;flex-direction:column;gap:18px}
.classic-group{background:#fff;border:1px solid #dfe7e4;border-radius:4px;overflow:hidden;box-shadow:0 1px 2px rgba(16,48,39,.025)}
.classic-group-head{min-height:42px;padding:9px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f7f9f8;border-bottom:1px solid #e6ece9}
.classic-group-head h2{margin:0;font-size:17px}.classic-group-head h2 a{color:#007782;text-decoration:none}.classic-group-head span{color:#6B7F83;font-size:11px}
.classic-site-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;padding:6px 12px 10px!important}
.classic-site-row{display:flex;align-items:center;gap:8px;min-width:0;min-height:43px;padding:7px 8px;border-bottom:1px dashed #edf1ef}
.classic-site-direct{order:0;flex:0 0 auto;text-decoration:none;font-size:16px;line-height:1;transition:transform .15s ease}
.classic-site-direct:hover{transform:translateY(-2px)}
.classic-site-name{order:1;min-width:0;color:#4d504e;text-decoration:none;font-size:14px;line-height:1.55;overflow-wrap:anywhere;transition:color .15s ease}
.classic-site-name:hover{color:#006F8D}

/* Dedicated 404 */
.not-found-page{min-height:520px;display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr);align-items:center;gap:60px;padding:60px 0 80px}
.not-found-code{font:900 clamp(110px,18vw,230px)/.82 system-ui,sans-serif;letter-spacing:-.07em;color:#007782;opacity:.13;text-align:center;user-select:none}
.not-found-copy>span{display:inline-flex;padding:7px 12px;border-radius:999px;background:#e9f8f3;color:#008f60;font-size:12px;font-weight:800}
.not-found-copy h1{margin:15px 0 10px;font-size:clamp(30px,4vw,48px);color:#173b31}.not-found-copy p{max-width:660px;color:#70817b;line-height:1.85;font-size:16px}.not-found-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}

/* Live search should always render above header content */
.header-search-v57{position:relative;z-index:80}.live-search-results{z-index:2000!important}

@media(max-width:1100px){.classic-site-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.classic-directory-layout{grid-template-columns:205px minmax(0,1fr)!important}}
@media(max-width:820px){.classic-directory-layout{grid-template-columns:1fr!important;direction:rtl!important}.classic-directory-sidebar,.classic-directory-content{grid-column:1!important}.classic-directory-sidebar{position:static;order:0}.classic-directory-content{order:1}.classic-directory-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.classic-directory-sidebar a.active{box-shadow:inset 0 -2px 0 #007782}.classic-site-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.not-found-page{grid-template-columns:1fr;gap:18px;text-align:center}.not-found-copy p{margin-inline:auto}.not-found-actions{justify-content:center}.not-found-code{font-size:120px}}
@media(max-width:520px){.classic-site-grid{grid-template-columns:1fr!important}.classic-directory-sidebar nav{grid-template-columns:1fr 1fr}.classic-directory-head{align-items:flex-start;flex-direction:column}.classic-directory-head h1{font-size:24px}}

/* ===== polish-v5-10.css ===== */
/* Waslat V5.10 — header/dropdown/category intro polish */
:root{--v510-green:#007782;--v510-green-dark:#008f60;--v510-green-soft:#f1fbf7;--v510-line:#dce9e4;--v510-ink:#17392f;--v510-muted:#70857d}

/* Logo area uses the same header background — no white island */
.header-v57 .brand-v57{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:2px 4px!important;
}
.header-v57 .brand-v57 img{
  filter:none!important;
  max-height:52px;
}

/* 3-column categories dropdown */
.header-categories-menu-v57{
  width:min(720px,78vw)!important;
  max-height:min(540px,72vh)!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:5px 8px!important;
  padding:14px!important;
  overflow:auto!important;
}
.header-categories-title-v57,
.header-categories-menu-v57 .all-categories-v57{
  grid-column:1 / -1!important;
}
.header-categories-title-v57{
  padding:5px 5px 11px!important;
  margin-bottom:4px!important;
  font-size:13px!important;
}
.header-categories-menu-v57>a:not(.all-categories-v57){
  min-height:42px;
  display:flex!important;
  align-items:center;
  padding:9px 11px!important;
  border:1px solid transparent;
  background:#fff;
}
.header-categories-menu-v57>a:not(.all-categories-v57):hover{
  background:#f5fbf8!important;
  border-color:#dcece6!important;
  transform:translateY(-1px)!important;
}
.header-categories-menu-v57 .all-categories-v57{
  margin-top:8px!important;
  padding:11px 14px!important;
}

/* Restore the intro box before categories/sites on both directory levels */
.categories-directory-page .categories-page-head,
.classic-directory-content .classic-directory-head{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#ffffff 0%,#f2fbf7 100%)!important;
  border:1px solid #dceae5!important;
  border-right:4px solid var(--v510-green)!important;
  border-radius:14px!important;
  padding:22px 24px!important;
  margin:0 0 22px!important;
  box-shadow:0 8px 28px rgba(16,92,67,.055)!important;
}
.categories-directory-page .categories-page-head:after,
.classic-directory-content .classic-directory-head:after{
  content:"";
  position:absolute;
  width:115px;height:115px;
  border-radius:50%;
  left:-48px;top:-58px;
  background:rgba(0,176,117,.07);
  pointer-events:none;
}
.categories-directory-page .categories-page-head h1,
.classic-directory-content .classic-directory-head h1{
  color:var(--v510-ink)!important;
  margin:4px 0 7px!important;
  font-size:clamp(24px,2.3vw,34px)!important;
  line-height:1.25!important;
}
.categories-directory-page .categories-page-head p,
.classic-directory-content .classic-directory-head p{
  color:var(--v510-muted)!important;
  line-height:1.9!important;
  margin:0!important;
  max-width:850px!important;
}
.categories-directory-page .section-kicker,
.classic-directory-content .directory-eyebrow{
  color:var(--v510-green-dark)!important;
  font-weight:900!important;
  letter-spacing:0!important;
}
.classic-directory-content .classic-directory-head{
  align-items:center!important;
}
.classic-directory-content .classic-all-link{
  position:relative;
  z-index:2;
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 14px;
  border:1px solid #cfe5dc;
  border-radius:9px;
  background:#fff;
}

@media(max-width:900px){
  .header-categories-menu-v57{width:min(560px,88vw)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  .header-categories-menu-v57{width:min(92vw,390px)!important;grid-template-columns:1fr!important;left:auto!important;right:0!important}
  .categories-directory-page .categories-page-head,.classic-directory-content .classic-directory-head{padding:18px!important;border-radius:11px!important}
}

/* ===== polish-v5-11.css ===== */
/* Waslat V5.11 — category hero + mobile overflow fix */
:root{
  --w511-green:#007782;
  --w511-green-mid:#07895e;
  --w511-green-dark:#063e30;
  --w511-soft:#f4fbf8;
}

/* Category intro boxes now follow the same visual language as /submit */
.categories-directory-page .categories-page-head,
.classic-directory-content .classic-directory-head{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  min-height:190px;
  padding:32px 40px!important;
  margin:0 0 24px!important;
  border:0!important;
  border-radius:24px!important;
  color:#fff!important;
  background:linear-gradient(125deg,var(--w511-green-dark) 0%,var(--w511-green-mid) 58%,var(--w511-green) 100%)!important;
  box-shadow:0 18px 48px rgba(6,62,48,.12)!important;
}
.categories-directory-page .categories-page-head::before,
.classic-directory-content .classic-directory-head::before{
  content:"";
  position:absolute;
  left:-115px;
  top:-145px;
  width:390px;
  height:390px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:50%;
  box-shadow:0 0 0 68px rgba(255,255,255,.055),0 0 0 138px rgba(255,255,255,.035);
  pointer-events:none;
  z-index:-1;
}
.categories-directory-page .categories-page-head::after,
.classic-directory-content .classic-directory-head::after{
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  right:-45px;
  bottom:-95px;
  border-radius:50%;
  background:rgba(255,255,255,.065);
  pointer-events:none;
  z-index:-1;
}
.categories-directory-page .categories-page-head > *,
.classic-directory-content .classic-directory-head > *{position:relative;z-index:2}
.categories-directory-page .section-kicker,
.classic-directory-content .directory-eyebrow{
  display:inline-flex!important;
  align-items:center;
  width:max-content;
  padding:7px 12px;
  margin-bottom:5px!important;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:#d9fff0!important;
  font-size:12px!important;
  font-weight:800!important;
}
.categories-directory-page .categories-page-head h1,
.classic-directory-content .classic-directory-head h1{
  margin:7px 0 9px!important;
  color:#fff!important;
  font-size:clamp(28px,3vw,42px)!important;
  font-weight:900!important;
  line-height:1.28!important;
}
.categories-directory-page .categories-page-head p,
.classic-directory-content .classic-directory-head p{
  margin:0!important;
  max-width:760px!important;
  color:#e8fff5!important;
  font-size:15px!important;
  line-height:1.9!important;
}
.classic-directory-content .classic-all-link{
  flex:0 0 auto;
  min-height:44px;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  padding:0 16px!important;
  border:1px solid rgba(255,255,255,.38)!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.11)!important;
  color:#fff!important;
  font-weight:800!important;
  backdrop-filter:blur(3px);
}
.classic-directory-content .classic-all-link:hover{background:rgba(255,255,255,.18)!important;color:#fff!important}

/* Prevent horizontal scrolling on mobile, especially /submit */
html,body{max-width:100%;overflow-x:hidden}
*,*::before,*::after{box-sizing:border-box}
.submit-shell,
.submit-main,
.directory-submit-form,
.submit-aside,
.submit-help-card,
.domain-entry,
.domain-entry-fields,
.submit-form-categories,
.social-input-grid,
.submit-form-footer{min-width:0;max-width:100%}
.directory-submit-form input,
.directory-submit-form select,
.directory-submit-form textarea,
.social-input input,
.domain-entry-fields input,
.domain-entry-fields select{min-width:0!important;max-width:100%!important;width:100%!important}
.submit-intro{max-width:100%;overflow:hidden!important}
.submit-intro h1,.submit-intro p{overflow-wrap:anywhere}
.header-v57,.header-inner-v57,.header-search-v57{max-width:100%;min-width:0}

@media(max-width:900px){
  .categories-directory-page .categories-page-head,
  .classic-directory-content .classic-directory-head{
    min-height:165px;
    padding:26px 28px!important;
  }
}
@media(max-width:640px){
  .categories-directory-page .categories-page-head,
  .classic-directory-content .classic-directory-head{
    min-height:0;
    padding:23px 20px!important;
    border-radius:17px!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:16px!important;
  }
  .categories-directory-page .categories-page-head::before,
  .classic-directory-content .classic-directory-head::before{
    width:270px;height:270px;left:-125px;top:-125px;
    box-shadow:0 0 0 45px rgba(255,255,255,.05),0 0 0 90px rgba(255,255,255,.03);
  }
  .categories-directory-page .categories-page-head h1,
  .classic-directory-content .classic-directory-head h1{font-size:28px!important}
  .classic-directory-content .classic-all-link{width:100%;min-height:42px}

  .submit-shell{width:100%;margin-inline:0!important;padding-inline:0!important}
  .submit-main{width:100%;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
  .directory-submit-form{width:100%;padding:17px!important}
  .domain-entry{width:100%;padding:12px!important}
  .domain-entry-fields,.submit-form-categories,.social-input-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important}
  .submit-form-footer{width:100%;align-items:stretch!important}
  .submit-form-footer p{max-width:none!important}
  .submit-aside,.submit-help-card{width:100%}
}

/* ===== polish-v5-12.css ===== */
/* Waslat V5.12 — requested header/categories/footer refinements */
:root{--w512-green:#007782;--w512-green-dark:#00895d;--w512-soft:#f4faf7;--w512-line:#dce8e3;--w512-ink:#18372e}

/* Header: logo lives directly on the green header background */
.header-v57 .brand-v57,
.header-v57 .brand-v57:hover,
.header-v57 .brand-v57:focus{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  outline-offset:4px;
}
.header-v57 .brand-v57 img{background:transparent!important;box-shadow:none!important}

/* Main categories dropdown: 3 clean columns */
.header-categories-menu-v57{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:min(760px,82vw)!important;
  gap:6px 10px!important;
  padding:16px!important;
}
.header-categories-title-v57,.header-categories-menu-v57 .all-categories-v57{grid-column:1/-1!important}
.header-categories-menu-v57>a:not(.all-categories-v57){min-width:0!important}

/* /categories hero should span almost the whole viewport, independent of content max-width */
.categories-directory-page .categories-page-head{
  width:calc(100vw - 48px)!important;
  max-width:none!important;
  margin-inline:calc(50% - 50vw + 24px)!important;
  margin-bottom:28px!important;
}

/* Internal category hero stays aligned with its content but restored clearly before groups */
.classic-directory-content .classic-directory-head{width:100%!important;margin-bottom:22px!important}

/* Footer: shorter upper area, no oversized whitespace */
.footer{padding-top:0!important}
.footer .footer-grid{
  padding-top:28px!important;
  padding-bottom:24px!important;
  gap:24px!important;
}
.footer-about p,.footer-column p{margin-bottom:8px!important}
.footer-logo{margin-bottom:8px!important}
.closing-cta{margin-bottom:0!important}

/* Full-width rights bar */
.footer-bottom{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border-top:1px solid rgba(0,176,117,.16)!important;
  background:#edf7f3!important;
}
.footer-bottom-inner{
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  color:#57736a;
  font-size:13px;
}
.footer-bottom a{color:var(--w512-green-dark)!important}

@media(max-width:900px){
 .header-categories-menu-v57{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:min(600px,92vw)!important}
}
@media(max-width:640px){
 .header-categories-menu-v57{grid-template-columns:1fr!important;width:min(92vw,390px)!important}
 .categories-directory-page .categories-page-head{width:calc(100vw - 24px)!important;margin-inline:calc(50% - 50vw + 12px)!important}
 .footer .footer-grid{padding-top:22px!important;padding-bottom:18px!important}
 .footer-bottom-inner{min-height:0;padding:14px 0;flex-direction:column;align-items:flex-start;gap:5px}
}

/* ===== polish-v5-13.css ===== */
/* Waslat V5.13 — site/news/contact/views and width fixes */
:root{--w-green:#007782;--w-green-dark:#087354;--w-green-deep:#06493a;--w-soft:#f3f8f6;--w-line:#dce8e3;--w-ink:#17352c;--w-muted:#6c817a}

/* Keep category hero at same content width as /submit, not viewport-wide */
.categories-directory-page,.classic-directory-layout{width:100%;max-width:1200px;margin-inline:auto}
.categories-directory-page .categories-page-head{width:100%!important;max-width:none!important;margin-inline:0!important}
.classic-directory-content .classic-directory-head{width:100%!important}

/* Contact page follows /submit visual language */
.contact-shell{width:100%;max-width:1200px;margin:34px auto 46px}
.contact-intro{position:relative;overflow:hidden;isolation:isolate;padding:34px 42px;border-radius:26px;color:#fff;background:linear-gradient(125deg,var(--w-green-deep),var(--w-green-dark) 56%,var(--w-green));box-shadow:0 18px 48px rgba(6,73,58,.12)}
.contact-intro::before{content:"";position:absolute;left:-115px;top:-150px;width:390px;height:390px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 68px rgba(255,255,255,.05),0 0 0 138px rgba(255,255,255,.03);z-index:-1}
.contact-intro .eyebrow{display:inline-flex;padding:7px 12px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.09);border-radius:999px;font-weight:800;font-size:12px;color:#e5fff5}
.contact-intro h1{margin:10px 0 8px;font-size:clamp(30px,4vw,48px);line-height:1.25;color:#fff}
.contact-intro p{max-width:760px;margin:0;color:#e8fff5;line-height:1.9}
.contact-intro-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}.contact-intro-pills span{padding:10px 14px;border:1px solid rgba(255,255,255,.24);border-radius:10px;background:rgba(255,255,255,.08);font-size:13px}
.contact-main{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;margin-top:22px;align-items:start}.contact-form{background:#fff;border:1px solid var(--w-line);border-radius:20px;padding:24px;box-shadow:0 10px 34px rgba(20,64,50,.05)}.contact-fields-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.contact-aside{min-width:0}.contact-phone{margin:18px 0;padding:14px;border:1px solid var(--w-line);border-radius:12px;background:var(--w-soft);display:grid;gap:3px}.contact-phone span{font-size:12px;color:var(--w-muted)}.contact-phone strong{font-size:18px;color:var(--w-green-dark)}

/* Site detail */
.site-detail-page{max-width:1200px;margin:32px auto 45px;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.site-detail-main{min-width:0}.site-breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:13px;font-size:13px;color:var(--w-muted)}.site-breadcrumbs a{color:var(--w-green-dark)}.site-detail-card,.side-card,.news-detail-card{background:#fff;border:1px solid var(--w-line);border-radius:20px;box-shadow:0 10px 32px rgba(20,64,50,.05)}.site-detail-card{padding:28px}.site-detail-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding-bottom:18px;border-bottom:1px solid #edf2f0}.site-detail-heading h1{margin:5px 0 0;font-size:34px;color:var(--w-ink)}.site-detail-domain{color:var(--w-green-dark);font-size:14px}.site-detail-meta{display:flex;flex-wrap:wrap;gap:10px 22px;padding:15px 0;color:var(--w-muted);font-size:13px}.site-detail-copy{padding-top:8px}.site-detail-copy h2,.site-detail-social h2{font-size:20px;color:var(--w-ink)}.site-detail-copy p{line-height:2;color:#425b53}.site-detail-social{margin-top:24px;padding-top:20px;border-top:1px solid #edf2f0}.site-detail-social>div{display:flex;flex-wrap:wrap;gap:8px}.site-detail-social a{padding:8px 11px;border-radius:9px;background:var(--w-soft);color:var(--w-green-dark);font-size:13px}.side-card{padding:18px;margin-bottom:16px}.side-card h3{margin:0 0 13px;font-size:17px;color:var(--w-ink)}.side-card dl{margin:0}.side-card dl>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #edf2f0}.side-card dt{color:var(--w-muted);font-size:13px}.side-card dd{margin:0;font-weight:700;color:var(--w-ink);font-size:13px}.side-link-list{display:grid}.side-link-list a{display:grid;gap:3px;padding:11px 0;border-top:1px solid #edf2f0;color:var(--w-ink)}.side-link-list a:first-child{border-top:0}.side-link-list span{font-weight:700}.side-link-list small{color:var(--w-muted);font-size:11px}.site-visit-btn{white-space:nowrap}

/* News article with left sidebar in RTL layout */
.news-detail-layout{max-width:1200px;margin:32px auto 46px;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.news-detail-card{padding:30px}.news-detail-kicker{color:var(--w-green-dark);font-size:13px;font-weight:900}.news-detail-card h1{margin:8px 0 12px;font-size:clamp(30px,4vw,44px);line-height:1.45;color:var(--w-ink)}.news-detail-meta{display:flex;flex-wrap:wrap;gap:10px 18px;color:var(--w-muted);font-size:13px;padding-bottom:18px}.news-detail-image{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:16px;margin:4px 0 24px}.news-detail-body{font-size:17px;line-height:2.1;color:#354f46;white-space:normal}.news-tags{margin-top:25px;padding-top:18px;border-top:1px solid #edf2f0;color:var(--w-muted);font-size:13px}.news-detail-aside{min-width:0}

@media(max-width:900px){.contact-main,.site-detail-page,.news-detail-layout{grid-template-columns:1fr}.contact-aside,.site-detail-aside,.news-detail-aside{order:2}.contact-intro{padding:28px}.site-detail-heading{flex-direction:column}.site-visit-btn{width:100%;text-align:center}.categories-directory-page,.classic-directory-layout{max-width:100%}}
@media(max-width:640px){.contact-shell,.site-detail-page,.news-detail-layout{margin-top:18px}.contact-intro{padding:23px 20px;border-radius:17px}.contact-intro h1{font-size:29px}.contact-main{gap:16px}.contact-form,.site-detail-card,.news-detail-card{padding:18px;border-radius:16px}.contact-fields-two{grid-template-columns:1fr}.site-detail-heading h1{font-size:29px}.news-detail-card h1{font-size:29px}.contact-intro-pills{display:grid;grid-template-columns:1fr}.categories-directory-page .categories-page-head{width:100%!important;margin-inline:0!important}}

/* ===== polish-v5-14.css ===== */
/* Waslat V5.14 refinements */
.closing-cta{padding:28px 0!important}
.closing-inner{min-height:0!important;padding:26px 34px!important;border-radius:24px!important;gap:24px!important}
.closing-inner h2{font-size:clamp(24px,2.3vw,34px)!important;margin:.25rem 0 .35rem!important}
.closing-inner p{font-size:15px!important;line-height:1.8!important;max-width:720px!important;margin:0!important}
.closing-kicker{font-size:13px!important}
.closing-inner .btn{padding:12px 20px!important;white-space:nowrap!important}

/* Match the content width used by submit page */
.submit-shell,.contact-shell,.categories-directory-page,.category-directory-classic{width:min(1180px,calc(100% - 40px))!important;max-width:1180px!important;margin-inline:auto!important}
.categories-page-head,.classic-directory-hero,.contact-intro,.submit-intro{width:100%!important;box-sizing:border-box!important}

.site-detail-social{margin-top:28px}
.site-social-icons{display:flex!important;flex-wrap:wrap;gap:10px;align-items:center}
.site-social-icon{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;background:#f3f7f6;border:1px solid #dce9e5;color:#087c5c;font-weight:800;font-size:13px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.site-social-icon:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,176,117,.12);border-color:#007782}
.site-social-icon span{line-height:1}
.site-tools{margin-top:28px;padding-top:24px;border-top:1px solid #e7efec}
.site-tools h2{margin:0 0 12px}
.site-tools-grid{display:flex;flex-wrap:wrap;gap:10px}
.site-tools-grid a{display:inline-flex;align-items:center;justify-content:center;min-width:110px;padding:10px 16px;border:1px solid #d8e7e2;border-radius:12px;background:#fff;color:#176b56;text-decoration:none;font-weight:700;transition:.18s ease}
.site-tools-grid a:hover{border-color:#007782;transform:translateY(-1px)}
.site-report-form{margin-top:22px}
.site-report-button{border:1px solid #efc8c8;background:#fff7f7;color:#a83838;border-radius:12px;padding:11px 16px;font:inherit;font-weight:700;cursor:pointer;transition:.18s ease}
.site-report-button:hover{background:#fff0f0;border-color:#df9d9d}

@media (max-width:700px){
 .closing-cta{padding:18px 0!important}
 .closing-inner{padding:22px!important;border-radius:18px!important;align-items:flex-start!important}
 .closing-inner .btn{width:100%;text-align:center}
 .submit-shell,.contact-shell,.categories-directory-page,.category-directory-classic{width:min(100% - 24px,1180px)!important}
 .site-tools-grid a{flex:1 1 calc(50% - 8px);min-width:0}
}

/* ===== polish-v5-15.css ===== */
/* Waslat V5.15 — reverse width unification: /submit follows the wider directory/contact layout */

/* Restore the wider page width used by contact/categories/category pages */
.contact-shell,
.categories-directory-page,
.category-directory-classic,
.submit-shell{
  width:min(1200px,calc(100% - 40px))!important;
  max-width:1200px!important;
  margin-inline:auto!important;
}

/* Keep each hero aligned exactly with its page shell */
.categories-page-head,
.classic-directory-hero,
.contact-intro,
.submit-intro{
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
  box-sizing:border-box!important;
}

@media (max-width:700px){
  .contact-shell,
  .categories-directory-page,
  .category-directory-classic,
  .submit-shell{
    width:calc(100% - 24px)!important;
    max-width:none!important;
    margin-inline:auto!important;
  }
}

/* ===== polish-v5-16.css ===== */
/* Waslat V5.16 — exact public-page alignment with header container */

/*
 * The header already uses .container. Public content is inside <main class="container">.
 * All page-specific wrappers therefore must fill that container, not create a second width.
 */
main.container > .submit-shell,
main.container > .contact-shell,
main.container > .categories-directory-page,
main.container > .category-directory-classic,
main.container > .classic-directory-layout,
main.container > .search-page,
main.container > .site-detail-page,
main.container > .news-detail-layout,
main.container > .not-found-page{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  margin-inline:0!important;
  box-sizing:border-box!important;
}

/* Inner heading/hero boxes stay aligned with the same two edges. */
main.container .submit-intro,
main.container .contact-intro,
main.container .categories-page-head,
main.container .classic-directory-hero,
main.container .classic-directory-head{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  margin-inline:0!important;
  box-sizing:border-box!important;
}

/* Undo older viewport/full-bleed rules that escaped the main container. */
main.container .categories-page-head,
main.container .classic-directory-hero{
  transform:none!important;
}

@media (max-width:700px){
  main.container > .submit-shell,
  main.container > .contact-shell,
  main.container > .categories-directory-page,
  main.container > .category-directory-classic,
  main.container > .classic-directory-layout,
  main.container > .search-page,
  main.container > .site-detail-page,
  main.container > .news-detail-layout,
  main.container > .not-found-page{
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
  }
}

/* ===== polish-v5-18.css ===== */
.static-page-shell{padding:30px 0}.static-page-card{padding:34px;max-width:none}.static-page-card>h1{margin:0 0 22px;color:#17372f}.static-page-content,.news-detail-body{line-height:2;color:#314640}.static-page-content p,.news-detail-body p{margin:0 0 16px}.static-page-content h2,.static-page-content h3,.news-detail-body h2,.news-detail-body h3{margin:26px 0 12px;color:#17372f}.static-page-content ul,.static-page-content ol,.news-detail-body ul,.news-detail-body ol{padding-right:25px;margin:12px 0 20px}.static-page-content blockquote,.news-detail-body blockquote{border-right:4px solid #007782;padding:12px 16px;background:#f6faf9;border-radius:10px;margin:18px 0}.static-page-content a,.news-detail-body a{color:#00895d;text-decoration:underline;text-underline-offset:3px}@media(max-width:700px){.static-page-card{padding:22px}.static-page-shell{padding:20px 0}}

/* ===== polish-v5-20.css ===== */
/* Waslat v5.20 - static pages sidebar */
.static-page-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 270px;
  gap:24px;
  align-items:start;
}
.static-page-card{min-width:0}
.static-pages-aside{min-width:0}
.static-pages-nav{padding:0;overflow:hidden}
.static-pages-nav h3{
  margin:0;
  padding:16px 18px;
  border-bottom:1px solid #e8eceb;
  font-size:18px;
  color:#17352c;
}
.static-pages-nav nav{display:flex;flex-direction:column;padding:8px}
.static-pages-nav a{
  display:block;
  padding:11px 12px;
  border-radius:9px;
  color:#31524a;
  text-decoration:none;
  transition:transform .16s ease, background-color .16s ease, color .16s ease;
}
.static-pages-nav a:hover{transform:translateX(-2px);background:#f2faf7;color:#008f60}
.static-pages-nav a.is-current{background:#eaf8f3;color:#007c55;font-weight:700}
@media (max-width:900px){
  .static-page-layout{grid-template-columns:1fr}
  .static-pages-aside{order:-1}
  .static-pages-nav nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
}
@media (max-width:560px){
  .static-pages-nav nav{grid-template-columns:1fr}
}

/* ===== mobile-hotfix-v5-21.css ===== */
/* Waslat V5.21 - mobile horizontal overflow hotfix */
html,body{max-width:100%;overflow-x:hidden}
*,*::before,*::after{box-sizing:border-box}
img,svg,video,canvas,iframe{max-width:100%;height:auto}
body>*,main,.container,section,article,aside,form,div{min-width:0}

@media (max-width: 900px){
  .container{
    width:calc(100% - 28px)!important;
    max-width:none!important;
    margin-inline:auto!important;
    padding-inline:0!important;
  }

  /* Header: no element may stretch the page */
  .header-v57{width:100%!important;max-width:100%!important;overflow:visible!important}
  .header-inner-v57{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:12px 14px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
    align-items:center!important;
  }
  .brand-v57{grid-column:1!important;grid-row:1!important;min-width:0!important;max-width:170px!important}
  .brand-v57 img{display:block!important;max-width:100%!important;height:auto!important}
  .header-submit-v57{grid-column:2!important;grid-row:1!important;white-space:nowrap!important;max-width:100%!important;padding:10px 14px!important}
  .header-categories-v57{grid-column:1 / -1!important;grid-row:2!important;width:100%!important;min-width:0!important;max-width:100%!important}
  .header-categories-v57>summary{width:100%!important;max-width:100%!important}
  .header-categories-menu-v57{left:0!important;right:0!important;width:100%!important;min-width:0!important;max-width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .header-search-v57{grid-column:1 / -1!important;grid-row:3!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}
  .header-search-v57 input{min-width:0!important;width:100%!important;max-width:100%!important}
  .header-search-v57 button{flex:0 0 auto!important;white-space:nowrap!important}
  .live-search-results{left:0!important;right:0!important;width:100%!important;max-width:100%!important}

  /* Global pinned sites */
  .pinned-global,.pinned-section,.panel{width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important}
  .pinned{width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
  .pinned-item{min-width:0!important;width:auto!important;max-width:100%!important;overflow:hidden!important}
  .pinned-item img{max-width:48px!important;width:48px!important;height:48px!important;object-fit:contain!important}
  .pinned-item span{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

  /* Submit page */
  .submit-shell,.submit-intro,.submit-main,.directory-submit-form,.submit-aside,.submit-help-card,
  .domain-entry,.domain-entry-fields,.submit-form-categories,.social-input-grid,.submit-form-footer{
    width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;
  }
  .submit-shell{padding-inline:0!important}
  .submit-main{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
  .directory-submit-form{padding:18px!important;overflow:hidden!important}
  .domain-entry-fields,.submit-form-categories,.social-input-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  .domain-entry-fields label,.submit-form-categories label,.social-input-grid label{min-width:0!important;width:100%!important;max-width:100%!important}
  .directory-submit-form input,.directory-submit-form select,.directory-submit-form textarea,
  .domain-entry-fields input,.domain-entry-fields select,.social-input-grid input{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  }
  .submit-steps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:8px!important}
  .submit-steps span{min-width:0!important}

  /* Site page */
  .site-detail-page,.site-detail-main,.site-detail-card,.site-detail-aside,.side-card,
  .site-detail-heading,.site-detail-meta,.site-detail-copy,.site-detail-social,.site-social-icons,
  .site-tools,.site-report-form{
    width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;
  }
  .site-detail-page{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;margin-top:18px!important}
  .site-detail-main{overflow:hidden!important}
  .site-detail-card{padding:18px!important;overflow:hidden!important}
  .site-detail-heading{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important}
  .site-detail-heading>div{min-width:0!important;max-width:100%!important}
  .site-detail-domain{display:block!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important}
  .site-detail-heading h1{font-size:28px!important;overflow-wrap:anywhere!important}
  .site-visit-btn{width:100%!important;max-width:100%!important;text-align:center!important;white-space:normal!important}
  .site-detail-meta{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
  .site-detail-copy p{overflow-wrap:anywhere!important}
  .site-social-icons{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
  .site-social-icon{flex:0 0 auto!important}
  .site-tools{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
  .site-tools a,.site-report-button{width:100%!important;max-width:100%!important;white-space:normal!important}

  /* Common page layouts */
  .contact-shell,.contact-main,.categories-directory-page,.classic-directory-layout,.classic-directory-content,
  .news-detail-layout,.static-page-shell,.static-page-layout,.search-layout,.search-page{
    width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;
  }
  .contact-main,.news-detail-layout,.static-page-layout,.search-layout{grid-template-columns:minmax(0,1fr)!important}
  .cards,.category-grid{max-width:100%!important;min-width:0!important}

  /* Tables/text should wrap, never force viewport width */
  table{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important}
  pre,code{white-space:pre-wrap!important;overflow-wrap:anywhere!important}
  a,p,h1,h2,h3,h4,span,strong,small{overflow-wrap:anywhere}
}

@media (max-width: 520px){
  .container{width:calc(100% - 20px)!important}
  .header-inner-v57{padding:10px!important}
  .brand-v57{max-width:135px!important}
  .header-submit-v57{font-size:13px!important;padding:9px 11px!important}
  .header-categories-menu-v57{grid-template-columns:minmax(0,1fr)!important}
  .pinned{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .submit-intro{padding:22px 18px!important}
  .submit-intro h1{font-size:28px!important}
  .submit-steps{grid-template-columns:minmax(0,1fr)!important}
}

/* ===== mobile-order-v5-22.css ===== */
/* Waslat V5.22 - mobile content/sidebar ordering */
@media (max-width:900px){
  /* Static pages: content first, pages navigation after it */
  .static-page-layout{
    display:flex!important;
    flex-direction:column!important;
    gap:16px!important;
  }
  .static-page-layout>.static-page-card{
    order:1!important;
    width:100%!important;
  }
  .static-page-layout>.static-pages-aside{
    order:2!important;
    width:100%!important;
  }

  /* Category pages: category content first, main categories sidebar after it */
  .classic-directory-layout{
    display:flex!important;
    flex-direction:column!important;
    gap:18px!important;
  }
  .classic-directory-layout>.classic-directory-content{
    order:1!important;
    width:100%!important;
  }
  .classic-directory-layout>.classic-directory-sidebar{
    order:2!important;
    width:100%!important;
  }

  /* Make the moved sidebars comfortable on mobile */
  .classic-directory-sidebar nav,
  .static-pages-nav nav{
    width:100%!important;
  }
}

/* ===== editor-v5-18.css ===== */
.rich-editor-label{grid-column:1/-1}.wysiwyg-shell{border:1px solid #d8e1df;border-radius:14px;overflow:hidden;background:#fff}.wysiwyg-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:#f4f8f7;border-bottom:1px solid #dfe8e6}.wysiwyg-toolbar button{border:1px solid #d4dfdc;background:#fff;color:#17372f;border-radius:8px;padding:7px 10px;cursor:pointer;font:inherit;font-size:13px}.wysiwyg-toolbar button:hover{transform:translateY(-1px);border-color:#007782}.wysiwyg-editor{min-height:280px;padding:18px;outline:none;line-height:1.9;color:#233631}.wysiwyg-editor:focus{box-shadow:inset 0 0 0 2px rgba(0,176,117,.14)}.wysiwyg-editor h2,.wysiwyg-editor h3{margin:18px 0 8px}.wysiwyg-editor blockquote{border-right:4px solid #007782;margin:16px 0;padding:10px 14px;background:#f5faf8}.static-page-content{line-height:2}.static-page-content h2,.static-page-content h3,.news-detail-body h2,.news-detail-body h3{margin:24px 0 10px}.static-page-content ul,.static-page-content ol,.news-detail-body ul,.news-detail-body ol{padding-right:24px}.static-page-content blockquote,.news-detail-body blockquote{border-right:4px solid #007782;padding:10px 16px;background:#f6faf9;border-radius:8px}.static-page-content a,.news-detail-body a{color:#00895d;text-decoration:underline}.static-page-shell{padding:28px 0}.static-page-card{padding:32px}.static-page-card>h1{margin-top:0}

/* ===== V5.23: TOTP admin login ===== */
.admin-login-page{padding-top:clamp(32px,8vh,88px)}.admin-login-card{max-width:560px;margin-inline:auto}.totp-setup{padding:18px;border:1px solid #dbe7e2;border-radius:14px;background:#f7fbf9;margin:14px 0}.totp-secret,.totp-uri{display:block;max-width:100%;overflow-wrap:anywhere;white-space:normal;background:#eef7f3;border:1px solid #d3e8df;padding:12px;border-radius:10px;color:#075d42}.totp-secret{font-size:1.08rem;letter-spacing:.08em;text-align:center}


/* ===== V5.24 authoritative mobile layout fix ===== */
@media (max-width: 900px){
  html,body{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow-x:clip!important;
  }
  body{position:relative!important}
  .header-v57,main,footer,.footer,.closing-cta{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    transform:none!important;
  }
  /* On mobile do not use centered calc-width containers. Keep exact viewport edges. */
  .header-inner-v57,
  main.container,
  .footer>.container,
  .footer-bottom>.container,
  .closing-cta>.container{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding-left:12px!important;
    padding-right:12px!important;
    box-sizing:border-box!important;
    transform:none!important;
    inset:auto!important;
  }
  main.container>*{
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
  .header-inner-v57>* , main.container>* , main.container *{
    min-width:0;
  }
  .pinned-global{
    width:100%!important;
    max-width:100%!important;
    margin-inline:0!important;
    padding:14px 10px!important;
    overflow:hidden!important;
  }
  .pinned{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px 8px!important;
    width:100%!important;
  }
  .pinned-item{
    width:100%!important;
    min-width:0!important;
    padding:8px 2px!important;
  }
  .pinned-item img{
    width:46px!important;
    height:46px!important;
    max-width:46px!important;
    margin-inline:auto!important;
  }
  .pinned-item span{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:12px!important;
  }
  /* Neutralize any legacy full-bleed / translated child on mobile. */
  .hero,.categories-page-head,.classic-directory-hero,.submit-intro,.contact-intro,
  .site-detail-page,.submit-shell,.contact-shell,.categories-directory-page,
  .category-directory-classic,.classic-directory-layout,.static-page-shell,
  .static-page-layout,.news-detail-layout,.search-page,.search-layout{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    margin-inline:0!important;
    transform:none!important;
    left:auto!important;
    right:auto!important;
  }
}
@media (max-width: 520px){
  .pinned{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .pinned-item img{width:42px!important;height:42px!important;max-width:42px!important}
  .header-inner-v57,main.container,.footer>.container,.footer-bottom>.container,.closing-cta>.container{
    padding-left:10px!important;
    padding-right:10px!important;
  }
}

/* Waslat V5.26 — compact news cards */
.news-cards-simple{align-items:stretch}
.news-card-simple{padding:0;overflow:hidden}
.news-card-simple .news-card-image-link{display:block}
.news-card-simple img.news-image{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:0;margin:0}
.news-card-simple h3{margin:0;padding:16px 18px 18px;font-size:18px;line-height:1.7}
.news-card-simple h3 a{color:var(--ink,#17372f)}
.news-card-simple h3 a:hover{color:var(--green,#007782)}

/* ===== Waslat V5.27: site edit suggestions ===== */
.site-edit-suggest-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;padding:12px 18px;border:1px solid rgba(0,176,117,.28);border-radius:12px;background:#f2fbf7;color:#087a57;font-weight:800;text-decoration:none;transition:.18s ease}.site-edit-suggest-button:hover{transform:translateY(-1px);border-color:#007782;background:#eaf8f3}.site-edit-suggest-shell{margin-top:24px}.site-edit-suggest-shell .submit-card{min-width:0}.site-edit-suggest-shell input[readonly]{background:#f5f7f6;color:#64736f}.site-edit-suggest-shell .full{grid-column:1/-1}@media(max-width:900px){.site-edit-suggest-button{width:100%}.site-edit-suggest-shell .full{grid-column:auto}}


/* V5.28 duplicate-site feedback */
.duplicate-site-notice{width:100%;margin:22px 0 0;padding:18px 20px;border:1px solid #bfe8d5;background:#effaf5;border-radius:14px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#155f45}
.duplicate-site-notice strong{font-size:16px}.duplicate-site-notice span{direction:ltr;color:#507267}.duplicate-site-notice .btn{margin-inline-start:auto}
@media(max-width:640px){.duplicate-site-notice{margin-top:14px;padding:15px}.duplicate-site-notice .btn{width:100%;margin-inline-start:0;text-align:center}}

/* Waslat V5.29 — footer directory count */
.footer .footer-grid{
  grid-template-columns:1.45fr 1fr 1fr .9fr 1.15fr!important;
  gap:28px!important;
  align-items:start;
}
.footer-count-card{
  align-self:start;
  min-height:132px;
  border:1px solid #cfe6dc;
  border-radius:18px;
  background:linear-gradient(145deg,#ffffff 0%,#edf8f3 100%);
  box-shadow:0 10px 28px rgba(0,112,77,.08);
  padding:22px 20px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  text-align:center;
}
.footer-count-label{color:#55746a;font-size:13px;font-weight:800}
.footer-count-card strong{font-size:36px;line-height:1;color:#008d63;font-weight:900;letter-spacing:-1px}
.footer-count-note{font-size:12px;color:#82978f}
@media(max-width:1100px){
  .footer .footer-grid{grid-template-columns:1.4fr 1fr 1fr!important}
  .footer-count-card{grid-column:auto}
  .footer-column:last-child{grid-column:auto!important}
}
@media(max-width:760px){
  .footer .footer-grid{grid-template-columns:1fr 1fr!important}
  .footer-about{grid-column:1/-1}
  .footer-count-card{min-height:110px;padding:18px}
  .footer-count-card strong{font-size:31px}
}
@media(max-width:480px){
  .footer .footer-grid{grid-template-columns:1fr!important}
  .footer-count-card{width:100%;max-width:none}
}

/* Waslat V5.30 — footer views + authentic social brand icons */
.footer-stats-card{
  align-self:start;
  min-height:132px;
  border:1px solid #cfe6dc;
  border-radius:18px;
  background:linear-gradient(145deg,#ffffff 0%,#edf8f3 100%);
  box-shadow:0 10px 28px rgba(0,112,77,.08);
  padding:14px 16px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  text-align:center;
}
.footer-stat{display:flex;flex-direction:column;justify-content:center;gap:5px;padding:8px 12px;min-width:0}
.footer-stat+ .footer-stat{border-inline-start:1px solid #d9ebe3}
.footer-stats-card strong{font-size:29px;line-height:1;color:#008d63;font-weight:900;letter-spacing:-.8px}
.footer-count-card{display:none!important}
@media(max-width:1100px){.footer-stats-card{grid-column:auto}}
@media(max-width:760px){.footer-stats-card{min-height:110px;padding:12px}.footer-stats-card strong{font-size:27px}}
@media(max-width:480px){.footer-stats-card{width:100%;max-width:none}}

.site-social-icon{
  width:46px!important;height:46px!important;padding:0!important;border:0!important;
  color:#fff!important;background:#0b8!important;box-shadow:0 7px 18px rgba(20,45,38,.10)!important;
  overflow:hidden;
}
.site-social-icon span{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.site-social-icon svg{width:23px;height:23px;display:block}
.site-social-facebook{background:#1877F2!important}
.site-social-twitter{background:#000!important}
.site-social-youtube{background:#FF0000!important}
.site-social-instagram{background:radial-gradient(circle at 30% 107%,#fdf497 0 5%,#fdf497 5% 15%,#fd5949 45%,#d6249f 60%,#285AEB 90%)!important}
.site-social-linkedin{background:#0A66C2!important}
.site-social-whatsapp{background:#25D366!important}
.site-social-telegram{background:#229ED9!important}
.site-social-icon:hover{transform:translateY(-3px) scale(1.03)!important;box-shadow:0 10px 24px rgba(20,45,38,.18)!important}
\n\n/* Waslat V5.31 — compact horizontal footer statistics + global page views */\n.footer .footer-grid{\n  grid-template-columns:1.45fr 1fr 1fr 1.55fr!important;\n  gap:28px!important;\n  align-items:start;\n}\n.footer-stats-card{\n  align-self:start;min-height:0!important;border:0!important;background:transparent!important;box-shadow:none!important;\n  padding:0!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;text-align:right!important;\n}\n.footer-stat{\n  min-height:76px;padding:12px 13px!important;border:1px solid #cfe6dc!important;border-radius:15px!important;\n  background:linear-gradient(145deg,#fff 0%,#edf8f3 100%)!important;box-shadow:0 8px 20px rgba(0,112,77,.07);\n  display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;\n}\n.footer-stat + .footer-stat{border-inline-start:1px solid #cfe6dc!important}\n.footer-stat-icon{width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#dff4ea;color:#008d63;display:grid;place-items:center;font-size:18px;font-weight:900}\n.footer-stat-copy{display:flex;flex-direction:column;gap:4px;min-width:0}\n.footer-stat .footer-count-label{font-size:12px!important;line-height:1.25;color:#5b776d!important;white-space:nowrap}\n.footer-stats-card .footer-stat strong{font-size:24px!important;line-height:1!important;color:#008d63!important;font-weight:900!important;letter-spacing:-.5px!important}\n.footer-count-note{display:none!important}\n@media(max-width:1100px){.footer .footer-grid{grid-template-columns:1.35fr 1fr 1fr!important}.footer-stats-card{grid-column:1/-1!important;max-width:520px}}\n@media(max-width:760px){.footer .footer-grid{grid-template-columns:1fr 1fr!important}.footer-about{grid-column:1/-1}.footer-stats-card{grid-column:1/-1!important;max-width:none}}\n@media(max-width:480px){.footer .footer-grid{grid-template-columns:1fr!important}.footer-stats-card{grid-template-columns:1fr 1fr!important;width:100%!important;gap:8px!important}.footer-stat{min-height:70px;padding:10px!important}.footer-stat-icon{width:30px;height:30px;flex-basis:30px}.footer-stats-card .footer-stat strong{font-size:21px!important}.footer-stat .footer-count-label{font-size:11px!important}}\n

/* Waslat V5.32 — expressive footer counters */
.footer-stats-card{
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  max-width:330px!important;
}
.footer-stat{
  position:relative;
  min-height:86px!important;
  padding:14px 16px!important;
  border:1px solid #d7ebe3!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 10px 26px rgba(0,105,75,.08)!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:14px!important;
  overflow:hidden;
}
.footer-stat::after{
  content:"";
  position:absolute;
  inset-inline-end:-22px;
  top:-28px;
  width:92px;
  height:92px;
  border-radius:50%;
  background:rgba(0,176,117,.07);
}
.footer-stat-icon{
  width:48px!important;
  height:48px!important;
  flex:0 0 48px!important;
  border-radius:14px!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(145deg,#007782,#07976b)!important;
  color:#fff!important;
  box-shadow:0 7px 16px rgba(0,176,117,.22)!important;
}
.footer-stat-icon svg{display:block;width:25px;height:25px}
.footer-stat-copy{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:4px!important;
  min-width:0;
  position:relative;
  z-index:1;
}
.footer-stats-card .footer-stat strong{
  order:1;
  font-size:29px!important;
  line-height:1!important;
  color:#123f34!important;
  font-weight:900!important;
  letter-spacing:-.7px!important;
}
.footer-stat .footer-count-label{
  order:2;
  font-size:13px!important;
  line-height:1.2!important;
  color:#668178!important;
  font-weight:800!important;
}
.footer-stat + .footer-stat{border-inline-start:1px solid #d7ebe3!important}
@media(max-width:1100px){
  .footer-stats-card{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;max-width:620px!important}
}
@media(max-width:760px){
  .footer-stats-card{grid-column:1/-1!important;grid-template-columns:1fr 1fr!important;max-width:none!important;width:100%!important}
}
@media(max-width:480px){
  .footer-stats-card{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .footer-stat{min-height:76px!important;padding:10px!important;gap:9px!important;border-radius:15px!important}
  .footer-stat-icon{width:38px!important;height:38px!important;flex-basis:38px!important;border-radius:11px!important}
  .footer-stat-icon svg{width:21px;height:21px}
  .footer-stats-card .footer-stat strong{font-size:22px!important}
  .footer-stat .footer-count-label{font-size:11px!important}
}

/* Waslat V5.33 — stack footer statistics vertically */
.footer-stats-card{
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
}
.footer-stats-card .footer-stat{
  width:100%!important;
  min-height:76px!important;
  margin:0!important;
}
.footer-stat + .footer-stat{
  border-inline-start:1px solid #d7ebe3!important;
}
@media(max-width:1100px){
  .footer-stats-card{max-width:100%!important;}
}
@media(max-width:760px){
  .footer-stats-card{display:flex!important;flex-direction:column!important;gap:9px!important;}
}
@media(max-width:480px){
  .footer-stats-card{display:flex!important;flex-direction:column!important;gap:8px!important;}
  .footer-stats-card .footer-stat{width:100%!important;min-height:72px!important;}
}

/* Waslat V5.34 — balanced footer layout with vertical stats */
.footer .footer-grid{
  grid-template-columns:minmax(240px,1.45fr) minmax(150px,.9fr) minmax(150px,.9fr) minmax(220px,1fr)!important;
  gap:30px!important;
  align-items:start!important;
}
.footer-stats-card{
  grid-column:auto!important;
  align-self:start!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  width:100%!important;
  max-width:280px!important;
  margin:0!important;
}
.footer-stats-card .footer-stat{
  width:100%!important;
  min-height:66px!important;
  padding:10px 12px!important;
  gap:11px!important;
  border-radius:14px!important;
  box-shadow:0 6px 18px rgba(0,105,75,.06)!important;
}
.footer-stats-card .footer-stat-icon{
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
  border-radius:11px!important;
}
.footer-stats-card .footer-stat-icon svg{width:21px!important;height:21px!important}
.footer-stats-card .footer-stat strong{
  font-size:23px!important;
  letter-spacing:-.4px!important;
}
.footer-stats-card .footer-count-label{
  font-size:12px!important;
  line-height:1.15!important;
}
.footer-stat + .footer-stat{border-inline-start:1px solid #d7ebe3!important}

@media(max-width:1100px){
  .footer .footer-grid{
    grid-template-columns:minmax(260px,1.35fr) minmax(220px,1fr)!important;
    gap:26px 34px!important;
  }
  .footer-about{grid-column:auto!important}
  .footer-stats-card{
    grid-column:auto!important;
    max-width:100%!important;
  }
}

@media(max-width:760px){
  .footer .footer-grid{
    grid-template-columns:1fr 1fr!important;
    gap:24px 20px!important;
  }
  .footer-about{grid-column:1/-1!important}
  .footer-stats-card{
    grid-column:1/-1!important;
    max-width:100%!important;
  }
  .footer-stats-card .footer-stat{min-height:64px!important}
}

@media(max-width:520px){
  .footer .footer-grid{
    grid-template-columns:1fr!important;
    gap:22px!important;
  }
  .footer-about,
  .footer-stats-card{grid-column:auto!important}
  .footer-stats-card{
    max-width:none!important;
    gap:8px!important;
  }
  .footer-stats-card .footer-stat{
    min-height:62px!important;
    padding:9px 11px!important;
  }
}


/* Waslat V5.35 — news image clarity + three footer stats */
.news-card-simple .news-card-image-link{
  display:flex!important;
  align-items:center;
  justify-content:center;
  background:#f4f8f6;
  overflow:hidden;
  aspect-ratio:16/10;
}
.news-card-simple img.news-image{
  width:100%!important;
  height:100%!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#f4f8f6;
}
.footer-stats-card{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
}
.footer-stats-card .footer-stat{
  width:100%!important;
}
.footer-stat-articles .footer-stat-icon{
  background:#e8f5ef!important;
  color:#008d63!important;
}
@media(max-width:760px){
  .news-cards-simple{grid-template-columns:1fr 1fr!important}
}
@media(max-width:520px){
  .news-cards-simple{grid-template-columns:1fr!important}
  .news-card-simple .news-card-image-link{aspect-ratio:16/10}
}


/* Waslat V5.37 — optional theme controls. Original colors remain untouched unless enabled. */
body.theme-custom .header,body.theme-custom .hero{background:var(--theme-primary)!important}
body.theme-custom .btn,body.theme-custom .submit-shell .btn,body.theme-custom .header-search-v57 button,body.theme-custom .search-form button{background:var(--theme-primary)!important}
body.theme-custom .btn:hover,body.theme-custom .submit-shell .btn:hover,body.theme-custom .header-search-v57 button:hover{background:var(--theme-dark)!important}
body.theme-custom .header-submit-v57,body.theme-custom .header-submit,body.theme-custom .btn-white{color:var(--theme-dark)!important}
body.theme-custom .category-tile .symbol,body.theme-custom .pinned-item:hover,body.theme-custom .notice,body.theme-custom .footer-stat-articles .footer-stat-icon{background:var(--theme-soft)!important}
body.theme-custom .closing-cta,body.theme-custom .submit-intro,body.theme-custom .categories-intro,body.theme-custom .directory-intro{background:linear-gradient(125deg,var(--theme-dark),var(--theme-primary))!important}
body.theme-custom .footer{background:var(--theme-dark)!important}
body.theme-custom .footer-bottom{background:color-mix(in srgb,var(--theme-dark),#000 12%)!important}
body.theme-custom .footer-stats-card .footer-stat strong,body.theme-custom .footer-count-label,body.theme-custom .header-categories-menu-v57 .all-categories-v57,body.theme-custom .category-directory-link,body.theme-custom .site-visit-btn{color:var(--theme-dark)!important}
body.theme-custom .header-categories-v57[open]>summary,body.theme-custom .header-categories-v57 summary:hover{background:color-mix(in srgb,var(--theme-primary),#000 8%)!important}

.theme-settings{grid-column:1/-1;padding:20px;border:1px solid var(--line);border-radius:16px;background:#f8fbf9}
.theme-settings h3{margin:0 0 4px}.theme-settings p{margin:0 0 14px}
.theme-color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.theme-color-grid label{display:grid;gap:8px;font-weight:800}
.theme-color-grid input[type=color]{width:100%!important;height:54px!important;padding:4px!important;border-radius:10px!important;cursor:pointer}

/* Social links: calm white pills with recognizable brand marks instead of large colored tiles. */
.site-social-icons{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important}
.site-social-icon{width:auto!important;height:44px!important;min-width:0!important;padding:0 13px!important;border-radius:12px!important;background:#fff!important;border:1px solid #dbe8e3!important;box-shadow:0 5px 15px rgba(20,45,38,.06)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;color:#24483d!important;transition:.18s ease!important}
.site-social-icon:hover{transform:translateY(-2px)!important;background:#f8fbfa!important;border-color:#bfd8cf!important;box-shadow:0 8px 20px rgba(20,45,38,.10)!important}
.site-social-mark{display:grid!important;place-items:center!important;width:22px!important;height:22px!important;flex:0 0 22px!important;background:transparent!important}
.site-social-mark svg{width:20px!important;height:20px!important;display:block!important}
.site-social-label{font-size:13px!important;font-weight:800!important;white-space:nowrap!important}
.site-social-facebook .site-social-mark{color:#1877F2!important}.site-social-twitter .site-social-mark{color:#111!important}.site-social-youtube .site-social-mark{color:#FF0000!important}.site-social-instagram .site-social-mark{color:#C13584!important}.site-social-linkedin .site-social-mark{color:#0A66C2!important}.site-social-whatsapp .site-social-mark{color:#25D366!important}.site-social-telegram .site-social-mark{color:#229ED9!important}

/* Admin desktop polish */
.admin-body{background:#f5f8f6;overflow-x:hidden}
.admin-sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;z-index:60}
.admin-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.admin-sidebar-head h2{margin:0;font-size:19px}
.admin-sidebar a.active{background:#fff;color:#07523f;font-weight:900}
.admin-menu-toggle,.admin-sidebar-close,.admin-backdrop{display:none}
.admin-content{width:100%;max-width:100%;overflow:hidden}
.admin-content .panel{max-width:100%}.admin-content img{max-width:100%;height:auto}

@media(max-width:900px){
 .admin-layout{display:block!important;min-height:100vh!important}
 .admin-content{padding:72px 14px 22px!important;width:100%!important;min-width:0!important}
 .admin-top{align-items:flex-start!important}.admin-top h1{font-size:24px!important;margin:0}
 .admin-menu-toggle{display:grid;place-items:center;position:fixed;top:14px;right:14px;z-index:80;width:44px;height:44px;border:0;border-radius:11px;background:#073e32;color:#fff;font-size:23px;box-shadow:0 8px 24px rgba(0,0,0,.18)}
 .admin-sidebar{display:block!important;position:fixed!important;top:0!important;right:0!important;width:min(86vw,310px)!important;height:100dvh!important;padding:18px 14px!important;transform:translateX(105%);transition:transform .22s ease;z-index:90;box-shadow:-18px 0 45px rgba(0,0,0,.20)}
 .admin-nav-open .admin-sidebar{transform:translateX(0)}
 .admin-sidebar-close{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.22);border-radius:9px;background:transparent;color:#fff;font-size:24px}
 .admin-sidebar a{display:block!important;width:100%!important;font-size:14px!important;padding:10px 12px!important;margin:2px 0!important}
 .admin-sidebar form{margin-top:10px}
 .admin-backdrop{position:fixed;inset:0;background:rgba(4,25,20,.48);z-index:85}
 .admin-nav-open .admin-backdrop{display:block}
 .admin-nav-open{overflow:hidden}
 .admin-content .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .admin-content .form-grid{grid-template-columns:1fr!important}
 .theme-color-grid{grid-template-columns:1fr!important}
 .table-scroll{width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
 .data-table{min-width:720px!important}
 .admin-actions,.actions{gap:6px!important}
 .admin-content .panel{padding:16px!important;margin:14px 0!important}
}
@media(max-width:540px){
 .admin-content{padding-inline:10px!important}
 .admin-content .cards{grid-template-columns:1fr!important}
 .admin-content .card{padding:16px!important}
 .admin-top h1{font-size:21px!important}
 .admin-content input,.admin-content textarea,.admin-content select{font-size:16px!important}
 .admin-actions .btn,.actions .btn{width:auto!important}
}


/* V5.37 suggestion review: approval action is always visible, including mobile. */
.theme-enable-row{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;justify-content:flex-start;gap:9px!important;padding:10px 12px;border:1px solid #dce8e3;border-radius:10px;background:#fff;margin:12px 0 15px}.theme-enable-row input{width:18px!important;height:18px!important;margin:0!important}
.suggestions-admin-list{display:grid;gap:14px;margin-top:18px}.suggestion-admin-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;margin:0!important}.suggestion-admin-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.suggestion-admin-title strong{font-size:18px;color:#17392f}.suggestion-admin-title span{font-size:13px;color:#6c817a}.suggestion-admin-category{display:inline-flex;margin-top:7px;padding:3px 9px;border-radius:999px;background:#eef7f3;color:#087354;font-size:12px;font-weight:800}.suggestion-admin-main p{margin:9px 0 0;color:#536a62}.suggestion-admin-social{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.suggestion-admin-social a{font-size:12px;color:#087354;text-decoration:underline}.suggestion-admin-actions{min-width:210px}.suggestion-admin-actions form{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.suggestion-admin-actions>a{width:100%;text-align:center}.suggestion-approve{background:#007782!important;color:#fff!important;border-color:#007782!important;white-space:nowrap}
@media(max-width:900px){.suggestion-admin-card{grid-template-columns:1fr!important;gap:14px!important}.suggestion-admin-actions{min-width:0;width:100%}.suggestion-admin-actions form{grid-template-columns:1fr 1fr}.suggestion-admin-actions .btn{width:100%!important;text-align:center!important}}
@media(max-width:480px){.suggestion-admin-actions form{grid-template-columns:1fr}.suggestion-admin-title{align-items:flex-start;flex-direction:column;gap:2px}}

/* V5.38 — color code controls */
.theme-color-grid label{display:grid;gap:8px}.theme-color-control{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:center}.theme-color-control input[type="color"]{width:64px;height:44px;padding:3px;border:1px solid #d5e3dc;border-radius:10px;background:#fff;cursor:pointer}.theme-color-control input[type="text"]{direction:ltr;text-align:left;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-transform:uppercase}.theme-color-hint{font-size:12px;color:#72857e;font-weight:400}.theme-color-error{color:#b42318;font-size:12px;display:none}.theme-color-control.is-invalid .theme-color-error{display:block;grid-column:1/-1}@media(max-width:620px){.theme-color-control{grid-template-columns:56px minmax(0,1fr)}.theme-color-control input[type="color"]{width:56px}}


/* Waslat V5.39 — unified teal identity: #007782 + #006F8D */
:root{
  --waslat-primary:#007782;
  --waslat-secondary:#006F8D;
  --waslat-soft:#F1F8F9;
  --green:#007782;
  --brand:#007782;
  --brand-deep:#006F8D;
  --forest:#07545d;
  --v510-green:#007782;
  --v510-green-dark:#006F8D;
  --w511-green:#007782;
  --w512-green:#007782;
  --w512-green-dark:#006F8D;
  --w-green:#007782;
  --w-green-dark:#006F8D;
  --w-green-deep:#07545d;
}

/* Primary surfaces */
.header,.hero,.hero.hero-search-only{background:var(--waslat-primary)!important}
.btn:not(.outline),.header-search-v57 button,.search-form button,.site-visit-btn,.suggestion-approve{background:var(--waslat-primary)!important;border-color:var(--waslat-primary)!important;color:#fff!important}
.btn:not(.outline):hover,.header-search-v57 button:hover,.search-form button:hover,.site-visit-btn:hover,.suggestion-approve:hover{background:var(--waslat-secondary)!important;border-color:var(--waslat-secondary)!important}

/* Secondary links, icons and interactive accents */
a:hover,.category-showcase-card>header a,.category-site-name:hover,.category-showcase-card>footer a:hover,.footer-contact,.form-section-title,.classic-sidebar-title,.suggestion-admin-social a{color:var(--waslat-secondary)}
.category-showcase-card>header span,.category-site-direct,.search-icon,.footer-column h3::after{color:var(--waslat-primary)}
.category-site-direct:hover{background:var(--waslat-primary)!important;color:#fff!important}
.category-tile .symbol,.domain-preview,.notice,.footer-stat-icon{background:var(--waslat-soft)}

/* Forms and focus states */
input:focus,textarea:focus,select:focus,.directory-submit-form input:focus,.directory-submit-form textarea:focus,.directory-submit-form select:focus,.admin-content .form-grid input:focus,.admin-content .form-grid select:focus,.admin-content .form-grid textarea:focus{border-color:var(--waslat-primary)!important;box-shadow:0 0 0 4px rgba(0,119,130,.12)!important}

/* Directory and content accents */
.static-page-content blockquote,.news-detail-body blockquote,.wysiwyg-editor blockquote{border-right-color:var(--waslat-primary)!important}
.static-page-content a,.news-detail-body a{color:var(--waslat-secondary)!important}
.site-edit-suggest-button{border-color:rgba(0,119,130,.28)!important;background:var(--waslat-soft)!important;color:var(--waslat-secondary)!important}
.site-edit-suggest-button:hover{border-color:var(--waslat-primary)!important;background:#e8f4f6!important}

/* Footer aligned to the teal identity */
.footer{background:#064a52!important}
.footer::before{background:linear-gradient(90deg,var(--waslat-secondary),var(--waslat-primary),#26a9b4)!important}
.footer-column h3::after{background:var(--waslat-primary)!important}
.footer-social a:hover{border-color:#4faab1!important}

/* Custom theme keeps the same mapping semantics */
body.theme-custom{
  --waslat-primary:var(--theme-primary);
  --waslat-secondary:var(--theme-dark);
  --waslat-soft:var(--theme-soft);
}
body.theme-custom .header,body.theme-custom .hero,body.theme-custom .hero.hero-search-only{background:var(--waslat-primary)!important}
body.theme-custom .btn:not(.outline),body.theme-custom .header-search-v57 button,body.theme-custom .search-form button{background:var(--waslat-primary)!important;border-color:var(--waslat-primary)!important}
body.theme-custom .btn:not(.outline):hover,body.theme-custom .header-search-v57 button:hover,body.theme-custom .search-form button:hover{background:var(--waslat-secondary)!important;border-color:var(--waslat-secondary)!important}
body.theme-custom .footer{background:color-mix(in srgb,var(--waslat-secondary),#00363c 55%)!important}

/* Waslat V5.40 — final palette correction: #007782 / #006F8D */
:root{
  --waslat-primary:#007782;
  --waslat-secondary:#006F8D;
  --waslat-soft:#F1F8F9;
}
body.theme-custom{
  --waslat-primary:var(--theme-primary,#007782);
  --waslat-secondary:var(--theme-dark,#006F8D);
  --waslat-soft:var(--theme-soft,#F1F8F9);
}

/* Main colored surfaces */
.header,.hero,.hero.hero-search-only,
body.theme-custom .header,body.theme-custom .hero,body.theme-custom .hero.hero-search-only{
  background:var(--waslat-primary)!important;
  color:#fff!important;
}

/* Buttons */
.btn:not(.outline),.header-search-v57 button,.search-form button,.site-visit-btn,.suggestion-approve,
body.theme-custom .btn:not(.outline),body.theme-custom .header-search-v57 button,body.theme-custom .search-form button,
.card .btn,.site-card .btn{
  background:var(--waslat-primary)!important;
  border-color:var(--waslat-primary)!important;
  color:#fff!important;
}
.btn:not(.outline):hover,.header-search-v57 button:hover,.search-form button:hover,.site-visit-btn:hover,.suggestion-approve:hover,
body.theme-custom .btn:not(.outline):hover,body.theme-custom .header-search-v57 button:hover,body.theme-custom .search-form button:hover,
.card .btn:hover,.site-card .btn:hover{
  background:var(--waslat-secondary)!important;
  border-color:var(--waslat-secondary)!important;
  color:#fff!important;
}
.header-submit-v57,.header-submit,.btn-white,
body.theme-custom .header-submit-v57,body.theme-custom .header-submit,body.theme-custom .btn-white{
  background:#fff!important;
  color:var(--waslat-primary)!important;
  border-color:#fff!important;
}
.header-submit-v57:hover,.header-submit:hover,.btn-white:hover{
  background:var(--waslat-soft)!important;
  color:var(--waslat-secondary)!important;
}

/* Links and general accents on light surfaces */
main a:not(.btn):not(.site-social-link):not(.social-link),
.category-directory-link,.category-showcase-card>header a,.category-site-name,.static-page-content a,.news-detail-body a{
  color:var(--waslat-secondary);
}
main a:not(.btn):not(.site-social-link):not(.social-link):hover,
.category-directory-link:hover,.category-showcase-card>header a:hover,.category-site-name:hover{
  color:var(--waslat-primary);
}
.category-tile .symbol,.domain-preview,.notice,.footer-stat-icon{
  background:var(--waslat-soft)!important;
  color:var(--waslat-primary)!important;
}

/* CTA: same palette, readable contrast */
.closing-cta,
body.theme-custom .closing-cta{
  background:linear-gradient(125deg,var(--waslat-primary),var(--waslat-secondary))!important;
  border-color:transparent!important;
}
.closing-cta .closing-kicker,.closing-cta h2,.closing-cta p{color:#fff!important}
.closing-cta p{opacity:.9}

/* Footer: use the brand teal directly; never darken/mix it */
.footer,body.theme-custom .footer{
  background:var(--waslat-primary)!important;
  color:#fff!important;
}
.footer::before{
  background:linear-gradient(90deg,var(--waslat-secondary),#20a2aa,var(--waslat-primary))!important;
}
.footer .footer-about h3,.footer .footer-column h3{color:#fff!important}
.footer .footer-about p,.footer .footer-column p{color:rgba(255,255,255,.82)!important}
.footer .footer-column a,.footer .footer-contact{color:rgba(255,255,255,.88)!important}
.footer .footer-column a:hover,.footer .footer-contact:hover{color:#fff!important}
.footer .footer-column h3::after{background:#fff!important;opacity:.75}
.footer .footer-bottom,body.theme-custom .footer-bottom{
  background:rgba(0,0,0,.08)!important;
  border-top-color:rgba(255,255,255,.18)!important;
  color:rgba(255,255,255,.78)!important;
}
.footer-bottom a{color:#fff!important}
.footer-stats-card{background:rgba(255,255,255,.96)!important;border-color:rgba(255,255,255,.45)!important}
.footer-stats-card .footer-stat strong{color:var(--waslat-primary)!important}
.footer-stats-card .footer-count-label{color:var(--waslat-secondary)!important}
.footer-stat{border-color:#d9ecee!important}

/* Keep forms/accessibility consistent with the palette */
input:focus,textarea:focus,select:focus,.directory-submit-form input:focus,.directory-submit-form textarea:focus,.directory-submit-form select:focus,.admin-content .form-grid input:focus,.admin-content .form-grid select:focus,.admin-content .form-grid textarea:focus{
  border-color:var(--waslat-primary)!important;
  box-shadow:0 0 0 4px rgba(0,119,130,.13)!important;
}

/* Waslat V5.41 — silver footer + remove legacy green remnants */
:root{
  --w57-green:#007782;
  --w57-green-dark:#006F8D;
  --w57-green-deep:#005968;
  --v510-green:#007782;
  --v510-green-dark:#006F8D;
  --w512-green:#007782;
  --w512-green-dark:#006F8D;
  --w-green:#007782;
  --w-green-dark:#006F8D;
  --w-green-deep:#005968;
}

/* Header category control must follow the new palette */
.header-categories-v57 summary{
  color:#fff!important;
}
.header-categories-v57 summary:hover,
.header-categories-v57[open] summary,
body.theme-custom .header-categories-v57 summary:hover,
body.theme-custom .header-categories-v57[open]>summary{
  background:#fff!important;
  color:var(--waslat-secondary)!important;
}
.header-categories-menu-v57 a:hover,
.header-categories-menu-v57 .all-categories-v57{
  color:var(--waslat-secondary)!important;
  background:var(--waslat-soft)!important;
}

/* Category/directory surfaces — no legacy green */
.directory-banner,
.categories-intro,
.directory-intro,
body.theme-custom .categories-intro,
body.theme-custom .directory-intro{
  background:linear-gradient(122deg,var(--waslat-secondary) 0%,var(--waslat-primary) 100%)!important;
}
.directory-eyebrow,.classic-all-link,
.category-showcase-card>header a,
.category-showcase-card>header span,
.category-site-direct,
.category-showcase-card>footer a:hover,
.category-directory-link,
.section-kicker,.section-link,
.breadcrumbs a{
  color:var(--waslat-secondary)!important;
}
.category-showcase-card>header a:hover,
.category-site-name:hover,
.section-link:hover{
  color:var(--waslat-primary)!important;
}
.category-site-direct:hover{
  background:var(--waslat-primary)!important;
  color:#fff!important;
}
.category-showcase-card>header{
  background:linear-gradient(180deg,#fbfdfd,var(--waslat-soft))!important;
  border-bottom-color:#dbe8ea!important;
}
.category-showcase-card,
.category-tile{
  border-color:#dbe8ea!important;
}
.category-tile:hover,.category-showcase-card:hover{
  border-color:#b9d9dd!important;
  background:#fff!important;
}
.category-tile .symbol{
  background:var(--waslat-soft)!important;
  color:var(--waslat-primary)!important;
}

/* Footer returns to the original light silver family */
.footer,
body.theme-custom .footer{
  background:#f2f4f5!important;
  color:#26393d!important;
  border-top:4px solid var(--waslat-primary)!important;
}
.footer::before{
  background:linear-gradient(90deg,var(--waslat-secondary),var(--waslat-primary))!important;
}
.footer .footer-about h3,
.footer .footer-column h3{
  color:#17383e!important;
}
.footer .footer-about p,
.footer .footer-column p{
  color:#60747a!important;
}
.footer .footer-column a,
.footer .footer-contact{
  color:#526970!important;
}
.footer .footer-column a:hover,
.footer .footer-contact:hover{
  color:var(--waslat-primary)!important;
}
.footer .footer-column h3::after{
  background:var(--waslat-primary)!important;
  opacity:1!important;
}
.footer .footer-bottom,
body.theme-custom .footer-bottom{
  background:#e8ecee!important;
  border-top-color:#d6dde0!important;
  color:#687b81!important;
}
.footer-bottom a{color:var(--waslat-secondary)!important}
.footer-stats-card{
  background:transparent!important;
  border-color:transparent!important;
}
.footer-stats-card .footer-stat{
  background:#fff!important;
  border-color:#d9e2e4!important;
  box-shadow:0 6px 18px rgba(32,65,72,.06)!important;
}
.footer-stats-card .footer-stat strong{color:var(--waslat-primary)!important}
.footer-stats-card .footer-count-label{color:#536a70!important}
.footer-stat-icon,
.footer-stat-articles .footer-stat-icon{
  background:linear-gradient(145deg,var(--waslat-primary),var(--waslat-secondary))!important;
  color:#fff!important;
  box-shadow:0 6px 14px rgba(0,119,130,.18)!important;
}
.footer-stat::after{background:rgba(0,119,130,.055)!important}
.footer-social a{color:var(--waslat-secondary)!important;border-color:#cbd8db!important;background:#fff!important}
.footer-social a:hover{color:#fff!important;background:var(--waslat-primary)!important;border-color:var(--waslat-primary)!important}

/* Waslat V5.42 — unified teal identity + high-contrast CTA */
:root{
  --waslat-primary:#007782;
  --waslat-secondary:#006F8D;
  --waslat-soft:#F1F8F9;
  --waslat-border:#CFE1E5;
}

/* Header controls: force readable white text on the teal header */
.header-categories-v57>summary,
.header-categories-v57 summary,
body.theme-custom .header-categories-v57>summary,
body.theme-custom .header-categories-v57 summary{
  color:#fff!important;
  border-color:rgba(255,255,255,.34)!important;
  background:rgba(255,255,255,.06)!important;
}
.header-categories-v57>summary:hover,
.header-categories-v57[open]>summary,
body.theme-custom .header-categories-v57>summary:hover,
body.theme-custom .header-categories-v57[open]>summary{
  color:#fff!important;
  background:rgba(255,255,255,.15)!important;
  border-color:rgba(255,255,255,.58)!important;
}
.header-submit-v57,.header-submit,
body.theme-custom .header-submit-v57,body.theme-custom .header-submit{
  background:#fff!important;
  color:var(--waslat-primary)!important;
  border-color:#fff!important;
}
.header-submit-v57:hover,.header-submit:hover{
  background:#eef8fa!important;
  color:var(--waslat-secondary)!important;
}

/* One visual language for every prominent public banner */
.categories-page-head,
.classic-directory-hero,
.directory-banner,
.categories-intro,
.directory-intro,
.submit-intro,
.contact-intro,
body.theme-custom .categories-page-head,
body.theme-custom .classic-directory-hero,
body.theme-custom .directory-banner,
body.theme-custom .categories-intro,
body.theme-custom .directory-intro,
body.theme-custom .submit-intro,
body.theme-custom .contact-intro{
  background:linear-gradient(122deg,var(--waslat-primary) 0%,var(--waslat-secondary) 100%)!important;
  color:#fff!important;
  box-shadow:0 18px 44px rgba(0,111,141,.12)!important;
}
.categories-page-head::before,
.categories-page-head::after,
.classic-directory-hero::before,
.classic-directory-hero::after,
.directory-banner::before,
.submit-intro::after,
.contact-intro::before{
  border-color:rgba(255,255,255,.18)!important;
}
.categories-page-head h1,.categories-page-head p,.categories-page-head .section-kicker,
.classic-directory-hero h1,.classic-directory-hero h2,.classic-directory-hero p,
.directory-banner h1,.directory-banner p,.directory-label,
.submit-intro h1,.submit-intro p,.submit-intro .eyebrow,
.contact-intro h1,.contact-intro p,.contact-intro .eyebrow{
  color:#fff!important;
}

/* Category cards and links: remove all legacy green remnants */
.category-showcase-card>header{
  background:linear-gradient(180deg,#fff 0%,var(--waslat-soft) 100%)!important;
  border-bottom-color:var(--waslat-border)!important;
}
.category-showcase-card>header a,
.category-showcase-card>header span,
.category-site-name:hover,
.category-showcase-card>footer a:hover,
.category-directory-link,
.directory-number,
.directory-eyebrow,
.classic-all-link,
.section-kicker,
.section-link,
.breadcrumbs a{
  color:var(--waslat-primary)!important;
}
.category-showcase-card>header a:hover,
.section-link:hover,
.classic-all-link:hover{
  color:var(--waslat-secondary)!important;
}
.category-site-direct,
.category-tile .symbol,
.directory-subicon{
  background:var(--waslat-soft)!important;
  color:var(--waslat-primary)!important;
}
.category-site-direct:hover,
.category-tile:hover .symbol{
  background:var(--waslat-primary)!important;
  color:#fff!important;
}
.category-showcase-card,
.category-tile,
.directory-subcard{
  border-color:var(--waslat-border)!important;
}
.category-showcase-card:hover,
.category-tile:hover,
.directory-subcard:hover{
  border-color:#9fcbd2!important;
}

/* Closing CTA: clear action button with strong contrast */
.closing-cta,
body.theme-custom .closing-cta{
  background:var(--waslat-primary)!important;
  border-top:0!important;
}
.closing-cta .closing-kicker,
.closing-cta h2,
.closing-cta p{
  color:#fff!important;
}
.closing-cta .btn-white,
.closing-inner .btn,
body.theme-custom .closing-cta .btn-white,
body.theme-custom .closing-inner .btn{
  background:#fff!important;
  color:var(--waslat-primary)!important;
  border:2px solid #fff!important;
  font-weight:900!important;
  box-shadow:0 8px 24px rgba(0,45,54,.16)!important;
  opacity:1!important;
}
.closing-cta .btn-white:hover,
.closing-inner .btn:hover{
  background:#eef8fa!important;
  color:var(--waslat-secondary)!important;
  border-color:#eef8fa!important;
  transform:translateY(-1px);
}

/* Forms and secondary teal elements */
.submit-shell .btn,
.directory-submit-form .btn,
.contact-form .btn,
.site-visit-btn,
.btn:not(.outline):not(.btn-white){
  background:var(--waslat-primary)!important;
  color:#fff!important;
  border-color:var(--waslat-primary)!important;
}
.submit-shell .btn:hover,
.directory-submit-form .btn:hover,
.contact-form .btn:hover,
.site-visit-btn:hover,
.btn:not(.outline):not(.btn-white):hover{
  background:var(--waslat-secondary)!important;
  border-color:var(--waslat-secondary)!important;
  color:#fff!important;
}
.form-section-title,
.domain-preview strong,
.submit-help-card .help-icon,
.contact-phone strong{
  color:var(--waslat-primary)!important;
}
.submit-help-card .help-icon{
  background:var(--waslat-soft)!important;
}

/* Keep silver footer untouched by theme overrides */
.footer,body.theme-custom .footer{
  background:#f2f4f5!important;
  color:#26393d!important;
}


/* Waslat V5.43 — category cards, CTA hover and article icon refinements */
:root{
  --waslat-primary:#007782;
  --waslat-secondary:#006F8D;
  --waslat-soft:#F1F8F9;
  --waslat-border:#CFE3E7;
}

/* Internal category page boxes (/category/{id}) */
.classic-group{
  border-color:var(--waslat-border)!important;
  border-radius:14px!important;
  box-shadow:0 8px 24px rgba(0,119,130,.06)!important;
  overflow:hidden!important;
}
.classic-group-head{
  background:linear-gradient(180deg,#fff 0%,var(--waslat-soft) 100%)!important;
  border-bottom-color:var(--waslat-border)!important;
  min-height:48px!important;
}
.classic-group-head h2 a{
  color:var(--waslat-primary)!important;
  font-weight:900!important;
}
.classic-group-head h2 a:hover{
  color:var(--waslat-secondary)!important;
}
.classic-group-head span{
  color:#6B7F83!important;
}
.classic-site-name:hover{
  color:var(--waslat-secondary)!important;
}
.classic-directory-sidebar a:hover,
.classic-directory-sidebar a.active{
  color:var(--waslat-primary)!important;
}
.classic-directory-sidebar a.active{
  border-color:var(--waslat-primary)!important;
}

/* Main category cards: icon fades away on hover */
.category-tile .symbol{
  transition:opacity .22s ease, transform .22s ease, background-color .22s ease!important;
}
.category-tile:hover .symbol{
  opacity:0!important;
  transform:scale(.72)!important;
}
.category-tile:hover{
  color:var(--waslat-primary)!important;
  background:#fff!important;
  border-color:#9FCBD2!important;
}

/* Closing CTA: clearer hover without a heavy colored block */
.closing-cta .btn-white,
.closing-inner .btn,
body.theme-custom .closing-cta .btn-white,
body.theme-custom .closing-inner .btn{
  background:#fff!important;
  color:var(--waslat-primary)!important;
  border:2px solid rgba(255,255,255,.95)!important;
  box-shadow:0 8px 22px rgba(0,45,54,.14)!important;
}
.closing-cta .btn-white:hover,
.closing-inner .btn:hover,
body.theme-custom .closing-cta .btn-white:hover,
body.theme-custom .closing-inner .btn:hover{
  background:rgba(255,255,255,.88)!important;
  color:var(--waslat-secondary)!important;
  border-color:#fff!important;
  box-shadow:0 10px 26px rgba(0,45,54,.18)!important;
}

/* Article statistic icon: strong, readable newspaper icon */
.footer-stat-articles .footer-stat-icon{
  background:var(--waslat-secondary)!important;
  color:#fff!important;
  box-shadow:0 6px 16px rgba(0,111,141,.18)!important;
}
.footer-stat-articles .footer-stat-icon svg{
  width:22px!important;
  height:22px!important;
  stroke-width:2!important;
}


/* Waslat V5.44 — definitive internal category page palette fix */
.classic-directory-layout .classic-directory-sidebar{
  background:#F1F8F9!important;
  border-color:#CFE3E7!important;
}
.classic-directory-layout .classic-sidebar-title{
  color:#007782!important;
  border-bottom-color:#007782!important;
  background:#fff!important;
}
.classic-directory-layout .classic-directory-sidebar a{
  color:#334C50!important;
  background:transparent!important;
}
.classic-directory-layout .classic-directory-sidebar a:hover{
  color:#006F8D!important;
  background:#fff!important;
}
.classic-directory-layout .classic-directory-sidebar a.active{
  color:#007782!important;
  background:#fff!important;
  box-shadow:inset -3px 0 0 #007782!important;
}
.classic-directory-layout .classic-group{
  border:1px solid #CFE3E7!important;
  background:#fff!important;
  border-radius:14px!important;
  box-shadow:0 8px 24px rgba(0,119,130,.06)!important;
}
.classic-directory-layout .classic-group-head{
  background:#F1F8F9!important;
  border-bottom:1px solid #CFE3E7!important;
}
.classic-directory-layout .classic-group-head h2 a{
  color:#007782!important;
}
.classic-directory-layout .classic-group-head h2 a:hover{
  color:#006F8D!important;
}
.classic-directory-layout .classic-site-row{
  border-bottom-color:#E7F0F2!important;
}
.classic-directory-layout .classic-site-name{
  color:#334C50!important;
}
.classic-directory-layout .classic-site-name:hover{
  color:#006F8D!important;
}
.classic-directory-layout .classic-site-direct{
  color:#007782!important;
  filter:none!important;
}
.classic-directory-layout .classic-all-link{
  color:#fff!important;
  border-color:rgba(255,255,255,.55)!important;
}
.classic-directory-layout .classic-all-link:hover{
  color:#007782!important;
  background:#fff!important;
}
.classic-directory-layout .directory-eyebrow{
  color:#D7F7FA!important;
}

/* Waslat V5.45 — all category boxes unified + icons stay visible */
:root{
  --cat-primary:#007782;
  --cat-secondary:#006F8D;
  --cat-soft:#F1F8F9;
  --cat-border:#CFE3E7;
  --cat-text:#334C50;
}

/* Main category tiles */
.category-grid .category-tile{
  background:#fff!important;
  border:1px solid var(--cat-border)!important;
  color:var(--cat-primary)!important;
  box-shadow:0 7px 24px rgba(0,119,130,.06)!important;
}
.category-grid .category-tile:hover{
  background:var(--cat-soft)!important;
  border-color:var(--cat-secondary)!important;
  color:var(--cat-secondary)!important;
  transform:translateY(-3px)!important;
  box-shadow:0 12px 30px rgba(0,111,141,.10)!important;
}
.category-grid .category-tile .symbol,
.category-grid .category-tile:hover .symbol{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  background:var(--cat-soft)!important;
  color:var(--cat-primary)!important;
  border:1px solid #DCECEF!important;
}
.category-grid .category-tile:hover .symbol{
  background:#fff!important;
  color:var(--cat-secondary)!important;
  border-color:var(--cat-border)!important;
}

/* Categories directory showcase cards */
.category-showcase-card{
  background:#fff!important;
  border:1px solid var(--cat-border)!important;
  box-shadow:0 7px 24px rgba(0,119,130,.05)!important;
}
.category-showcase-card:hover{
  border-color:#A9D2D8!important;
  box-shadow:0 12px 30px rgba(0,111,141,.08)!important;
}
.category-showcase-card>header{
  background:var(--cat-soft)!important;
  border-bottom-color:var(--cat-border)!important;
}
.category-showcase-card>header a,
.category-showcase-card>header span,
.category-showcase-card>footer a{
  color:var(--cat-primary)!important;
}
.category-showcase-card>header a:hover,
.category-showcase-card>footer a:hover,
.category-site-name:hover{
  color:var(--cat-secondary)!important;
}
.category-site-direct{
  color:var(--cat-primary)!important;
}
.category-site-direct:hover{
  background:var(--cat-primary)!important;
  color:#fff!important;
}

/* Subcategory boxes */
.directory-subgrid .directory-subcard{
  background:#fff!important;
  border:1px solid var(--cat-border)!important;
  color:var(--cat-text)!important;
  box-shadow:0 7px 24px rgba(0,119,130,.05)!important;
}
.directory-subgrid .directory-subcard:hover{
  background:var(--cat-soft)!important;
  border-color:var(--cat-secondary)!important;
  color:var(--cat-secondary)!important;
  transform:translateY(-3px)!important;
  box-shadow:0 12px 30px rgba(0,111,141,.09)!important;
}
.directory-subgrid .directory-subicon,
.directory-subgrid .directory-subcard:hover .directory-subicon{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  background:var(--cat-soft)!important;
  color:var(--cat-primary)!important;
  border:1px solid #DCECEF!important;
}
.directory-subgrid .directory-subcard:hover .directory-subicon{
  background:#fff!important;
  color:var(--cat-secondary)!important;
}
.directory-subgrid .directory-arrow{
  color:var(--cat-primary)!important;
}

/* Internal category groups */
.classic-directory-layout .classic-group{
  background:#fff!important;
  border:1px solid var(--cat-border)!important;
  border-radius:14px!important;
  box-shadow:0 7px 24px rgba(0,119,130,.05)!important;
}
.classic-directory-layout .classic-group:hover{
  border-color:#A9D2D8!important;
  box-shadow:0 11px 28px rgba(0,111,141,.08)!important;
}
.classic-directory-layout .classic-group-head{
  background:var(--cat-soft)!important;
  border-bottom:1px solid var(--cat-border)!important;
}
.classic-directory-layout .classic-group-head h2 a,
.classic-directory-layout .classic-site-direct,
.classic-directory-layout .directory-eyebrow{
  color:var(--cat-primary)!important;
}
.classic-directory-layout .classic-group-head h2 a:hover,
.classic-directory-layout .classic-site-name:hover{
  color:var(--cat-secondary)!important;
}
.classic-directory-layout .classic-site-name{
  color:var(--cat-text)!important;
}
.classic-directory-layout .classic-site-row{
  border-bottom-color:#E5EFF1!important;
}

/* Category sidebar */
.classic-directory-layout .classic-directory-sidebar{
  background:var(--cat-soft)!important;
  border-color:var(--cat-border)!important;
}
.classic-directory-layout .classic-sidebar-title{
  background:#fff!important;
  color:var(--cat-primary)!important;
  border-bottom-color:var(--cat-primary)!important;
}
.classic-directory-layout .classic-directory-sidebar a{
  color:var(--cat-text)!important;
}
.classic-directory-layout .classic-directory-sidebar a:hover{
  background:#fff!important;
  color:var(--cat-secondary)!important;
}
.classic-directory-layout .classic-directory-sidebar a.active{
  background:#fff!important;
  color:var(--cat-primary)!important;
  box-shadow:inset -3px 0 0 var(--cat-primary)!important;
}

/* Never hide category icons on hover anywhere */
.category-tile:hover .symbol,
.directory-subcard:hover .directory-subicon,
.category-showcase-card:hover .symbol,
.category-showcase-card:hover .directory-subicon{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}

/* Waslat V5.46 — category/subcategory pages: secondary teal dominates, no legacy green feel */
:root{
  --cat-primary:#007782;
  --cat-secondary:#006F8D;
  --cat-soft:#F3F8F9;
  --cat-border:#C9DDE2;
  --cat-ink:#2E484E;
}

/* Category + subcategory page hero: use the bluer secondary tone as the dominant surface */
.classic-directory-content .classic-directory-head,
body.theme-custom .classic-directory-content .classic-directory-head{
  background:linear-gradient(122deg,#006F8D 0%,#006F8D 72%,#007782 100%)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 18px 44px rgba(0,111,141,.14)!important;
}
.classic-directory-content .classic-directory-head::before{
  border-color:rgba(255,255,255,.16)!important;
  box-shadow:0 0 0 68px rgba(255,255,255,.045),0 0 0 138px rgba(255,255,255,.025)!important;
}
.classic-directory-content .classic-directory-head::after{
  background:rgba(255,255,255,.055)!important;
}
.classic-directory-content .classic-directory-head h1,
.classic-directory-content .classic-directory-head p,
.classic-directory-content .directory-eyebrow{
  color:#fff!important;
}
.classic-directory-content .directory-eyebrow{
  background:rgba(255,255,255,.10)!important;
  border-color:rgba(255,255,255,.30)!important;
}
.classic-directory-content .classic-all-link{
  background:#fff!important;
  color:#006F8D!important;
  border-color:#fff!important;
}
.classic-directory-content .classic-all-link:hover{
  background:#EEF7F9!important;
  color:#007782!important;
}

/* Internal category/subcategory boxes: neutral silver/blue surfaces */
.classic-directory-layout .classic-group{
  background:#fff!important;
  border:1px solid var(--cat-border)!important;
  box-shadow:0 8px 24px rgba(0,111,141,.055)!important;
}
.classic-directory-layout .classic-group:hover{
  border-color:#9FC5CE!important;
  box-shadow:0 12px 30px rgba(0,111,141,.08)!important;
}
.classic-directory-layout .classic-group-head{
  background:linear-gradient(180deg,#FFFFFF 0%,#F3F8F9 100%)!important;
  border-bottom-color:var(--cat-border)!important;
  box-shadow:inset -4px 0 0 #006F8D!important;
}
.classic-directory-layout .classic-group-head h2 a{
  color:#006F8D!important;
}
.classic-directory-layout .classic-group-head h2 a:hover{
  color:#007782!important;
}
.classic-directory-layout .classic-group-head span{
  color:#61777D!important;
}
.classic-directory-layout .classic-site-name{
  color:var(--cat-ink)!important;
}
.classic-directory-layout .classic-site-name:hover,
.classic-directory-layout .classic-site-direct{
  color:#006F8D!important;
}
.classic-directory-layout .classic-site-row:hover{
  background:#F7FAFB!important;
}

/* Sidebar follows the same blue-teal hierarchy */
.classic-directory-layout .classic-directory-sidebar{
  background:#F3F6F7!important;
  border-color:var(--cat-border)!important;
}
.classic-directory-layout .classic-sidebar-title{
  color:#006F8D!important;
  border-bottom-color:#006F8D!important;
}
.classic-directory-layout .classic-directory-sidebar a:hover{
  color:#006F8D!important;
  background:#fff!important;
}
.classic-directory-layout .classic-directory-sidebar a.active{
  color:#006F8D!important;
  background:#fff!important;
  box-shadow:inset -3px 0 0 #006F8D!important;
}

/* Category icons must always remain visible on hover */
.category-tile .symbol,
.category-tile:hover .symbol,
.directory-subicon,
.directory-subcard:hover .directory-subicon{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}


/* Waslat V5.47 — cosmetic polish + final search hover + clearer article icon */
:root{
  --ui-radius:16px;
  --ui-radius-sm:12px;
  --ui-border:#D8E5E8;
  --ui-shadow:0 8px 28px rgba(18,65,75,.065);
  --ui-shadow-hover:0 14px 34px rgba(0,111,141,.105);
  --ui-text:#29464D;
  --ui-muted:#6C7F84;
}

/* Search page: remove the last legacy green hover and accents */
.search-engine-form{
  border-color:var(--ui-border)!important;
  box-shadow:0 8px 26px rgba(18,65,75,.055)!important;
}
.search-engine-form:focus-within{
  border-color:#007782!important;
  box-shadow:0 0 0 4px rgba(0,119,130,.10),0 12px 30px rgba(0,111,141,.07)!important;
}
.search-engine-form button{
  background:#007782!important;
  border:1px solid #007782!important;
  color:#fff!important;
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.search-engine-form button:hover,
.search-engine-form button:focus-visible{
  background:#006F8D!important;
  border-color:#006F8D!important;
  color:#fff!important;
  transform:translateY(-1px)!important;
  box-shadow:0 7px 18px rgba(0,111,141,.20)!important;
}
.search-result h2 a{color:#006F8D!important}
.search-result h2 a:hover{color:#007782!important}
.search-result-foot a:hover,.suggestion-name:hover,.search-state a{color:#006F8D!important}
.suggestion-go{background:#EEF7F9!important;color:#006F8D!important}
.suggestion-go:hover{background:#006F8D!important;color:#fff!important}

/* Clearer article statistic icon */
.footer-stat-articles .footer-stat-icon{
  background:#EAF5F7!important;
  color:#006F8D!important;
  border:1px solid #C7DEE3!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)!important;
}
.footer-stat-articles .footer-stat-icon svg{
  width:25px!important;
  height:25px!important;
  stroke:currentColor!important;
}

/* Cosmetic pass: cards and panels */
.card,.panel,.pinned-section,.suggestions-box,.static-page-content,.news-detail-card,
.category-showcase-card,.classic-directory-layout .classic-group,.directory-subgrid .directory-subcard,
.site-detail-card,.contact-card,.submit-shell{
  border-color:var(--ui-border)!important;
  box-shadow:var(--ui-shadow)!important;
}
.card,.panel,.suggestions-box,.static-page-content,.news-detail-card,.site-detail-card,.contact-card,.submit-shell{
  border-radius:var(--ui-radius)!important;
}
.card:hover,.category-showcase-card:hover,.directory-subgrid .directory-subcard:hover,
.classic-directory-layout .classic-group:hover{
  box-shadow:var(--ui-shadow-hover)!important;
}

/* Cosmetic pass: buttons */
.btn,.header-search-v57 button,.search-engine-form button,.site-visit-btn{
  border-radius:11px!important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.btn:not(.outline):hover,.site-visit-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 7px 18px rgba(0,111,141,.18)!important;
}
.btn.outline{
  border-color:#C7DADF!important;
  color:#006F8D!important;
  background:#fff!important;
}
.btn.outline:hover{
  border-color:#006F8D!important;
  color:#006F8D!important;
  background:#F2F8F9!important;
}

/* Cosmetic pass: forms */
input,textarea,select{
  border-radius:11px!important;
  border-color:#D7E3E6!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
input:hover,textarea:hover,select:hover{border-color:#C1D5DA!important}
input:focus,textarea:focus,select:focus{
  border-color:#007782!important;
  box-shadow:0 0 0 4px rgba(0,119,130,.09)!important;
}

/* Cosmetic pass: headings, muted copy and section rhythm */
.section-header h2,.classic-group-head h2,.suggestions-head span{letter-spacing:-.15px}
.muted,.search-meta,.suggestions-head small{color:var(--ui-muted)!important}
.section{margin-block:60px}

/* Cosmetic pass: category tiles stay calm and readable */
.category-grid .category-tile,.directory-subgrid .directory-subcard{
  border-radius:14px!important;
}
.category-grid .category-tile:hover,.directory-subgrid .directory-subcard:hover{
  transform:translateY(-2px)!important;
}
.category-grid .category-tile .symbol,.category-grid .category-tile:hover .symbol,
.directory-subgrid .directory-subicon,.directory-subgrid .directory-subcard:hover .directory-subicon{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}

/* Cosmetic pass: silver footer remains light and crisp */
.footer{
  border-top:1px solid #D7E1E3!important;
}
.footer-stats-card{
  gap:8px!important;
}
.footer-stat{
  border-radius:12px!important;
}

@media(max-width:620px){
  .section{margin-block:42px}
  .search-engine-form button{padding-inline:17px!important}
  .card,.panel,.static-page-content,.news-detail-card,.site-detail-card,.contact-card,.submit-shell{border-radius:14px!important}
}

/* V5.48 — site card outline button fix only */
.card .btn.outline,
.site-card .btn.outline,
.card a.btn.small.outline,
.site-card a.btn.small.outline {
  background:#fff !important;
  color:#006F8D !important;
  border:1px solid #BFD6DB !important;
  box-shadow:none !important;
}
.card .btn.outline:hover,
.site-card .btn.outline:hover,
.card a.btn.small.outline:hover,
.site-card a.btn.small.outline:hover {
  background:#F2F8F9 !important;
  color:#007782 !important;
  border-color:#007782 !important;
  box-shadow:0 5px 14px rgba(0,119,130,.10) !important;
  transform:translateY(-1px);
}


/* V5.51 — dedicated latest/popular site archives */
.sites-archive-section{padding-top:26px;padding-bottom:34px}
.sites-archive-section .section-header{align-items:flex-end}
.public-pager{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:28px}
.public-pager a,.public-pager span{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border-radius:12px;border:1px solid rgba(0,119,130,.18);background:#fff;color:#006f8d;font-weight:700}
.public-pager a:hover{background:#f1f8f9;border-color:#006f8d;color:#007782;transform:translateY(-1px)}
.public-pager span{color:#52646a;font-weight:600;background:#f8fbfb}
@media(max-width:640px){.sites-archive-section{padding-top:18px}.sites-archive-section .section-header{align-items:flex-start}.public-pager{gap:8px}.public-pager a,.public-pager span{min-height:40px;padding:8px 12px;font-size:14px}}

/* V5.53 — Search-first homepage */
.search-home-page{background:#fff}
.search-home-page .closing-cta{display:none}
.search-home-header{background:#fff;border-bottom:1px solid #e3ecef;position:sticky;top:0;z-index:1000;box-shadow:0 2px 12px rgba(0,83,96,.04)}
.search-home-nav{min-height:72px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px}
.search-home-nav-brand img{display:block;max-height:42px;max-width:150px}
.search-home-nav nav{display:flex;align-items:center;justify-content:center;gap:28px;min-width:0}
.search-home-nav nav a{position:relative;color:#1f3440;font-weight:800;text-decoration:none;padding:25px 2px 22px;white-space:nowrap}
.search-home-nav nav a:hover,.search-home-nav nav a.active{color:#007782}
.search-home-nav nav a.active:after{content:"";position:absolute;height:3px;border-radius:4px;right:0;left:0;bottom:0;background:#007782}
.search-home-add{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:12px;background:#007782;color:#fff!important;font-weight:900;text-decoration:none;box-shadow:0 8px 20px rgba(0,119,130,.16)}
.search-home-add:hover{background:#006f8d;transform:translateY(-1px)}
.search-home-main{max-width:1220px!important}
.search-home{min-height:calc(100vh - 72px);padding:52px 0 42px;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative}
.home-classic-link{align-self:flex-start;color:#667983;font-size:13px;font-weight:800;text-decoration:none;border:1px solid #d9e5e8;background:#fff;border-radius:999px;padding:8px 13px;transition:.2s ease}
.home-classic-link:hover{color:#007782;border-color:#8bc2c7;background:#f6fbfc}
.search-home-brand{margin-top:22px}
.search-home-brand img{display:block;margin:0 auto 16px;max-width:min(360px,72vw);max-height:132px;object-fit:contain}
.search-home-brand h1{margin:0;color:#243943;font-size:clamp(27px,3vw,40px);font-weight:900}
.search-home-brand p{margin:10px 0 0;color:#6f7f87;font-size:17px}
.search-home-form{position:relative;width:min(920px,100%);margin:34px auto 0;display:flex;direction:rtl;border:1.5px solid #7bbcc2;background:#fff;border-radius:28px;box-shadow:0 13px 34px rgba(0,111,141,.10);padding:5px;transition:.2s ease}
.search-home-form:focus-within{border-color:#007782;box-shadow:0 15px 38px rgba(0,119,130,.16)}
.search-home-form input{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;padding:16px 22px!important;font-size:18px;color:#263b45;box-shadow:none!important}
.search-home-form button{border:0;background:linear-gradient(135deg,#007782,#006f8d);color:#fff;border-radius:22px;min-width:118px;padding:0 22px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:16px;font-weight:900;cursor:pointer}
.search-home-form button span{font-size:27px;line-height:1;transform:rotate(-15deg)}
.search-home-form button:hover{filter:brightness(.96)}
.search-home-form .live-search-results{top:calc(100% + 10px);border-radius:18px;text-align:right}
.search-home-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:22px auto 0;max-width:900px}
.search-home-chips a{padding:9px 15px;border:1px solid #e0eaed;border-radius:999px;background:#f9fbfc;color:#344b55;text-decoration:none;font-weight:800;font-size:13px;transition:.18s ease}
.search-home-chips a:hover{border-color:#8ec6ca;background:#f1f8f9;color:#007782;transform:translateY(-1px)}
.search-home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(860px,100%);margin:30px auto 0;border-top:1px solid #edf2f4;border-bottom:1px solid #edf2f4;padding:18px 0}
.search-home-shortcuts a{display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;color:#263b45;text-decoration:none;font-weight:900;min-height:74px;border-inline-start:1px solid #e6eef0;transition:.18s ease}
.search-home-shortcuts a:last-child{border-inline-start:0}
.search-home-shortcuts a span{font-size:27px;color:#007782}
.search-home-shortcuts a:hover{color:#006f8d;background:#f8fbfc}
.search-home .pinned-global{width:min(1000px,100%);margin:24px auto 0;padding:14px 16px!important;background:#fbfcfd;border:1px solid #e4ecef;box-shadow:none}
.search-home .pinned{justify-content:center}
.search-home-stats{display:grid;grid-template-columns:repeat(3,1fr);width:100%;margin-top:auto;padding-top:34px;gap:1px;background:#e2ebee;border-radius:16px;overflow:hidden}
.search-home-stats>div{background:#f3f7f8;padding:16px 20px;display:flex;align-items:center;justify-content:center;gap:10px}
.search-home-stats strong{color:#17343e;font-size:22px}
.search-home-stats span{color:#71818a;font-size:13px;font-weight:800}
.classic-switch-bar{display:flex;justify-content:flex-start;margin:18px 0 8px}
.classic-switch-bar a{display:inline-flex;padding:8px 13px;border:1px solid #dbe6e9;border-radius:999px;text-decoration:none;color:#007782;background:#fff;font-size:13px;font-weight:900}
.classic-switch-bar a:hover{background:#f1f8f9;border-color:#9bcbd0}
@media(max-width:900px){
 .search-home-nav{grid-template-columns:auto 1fr auto;gap:12px;min-height:64px}.search-home-nav-brand img{max-width:105px;max-height:34px}.search-home-nav nav{justify-content:flex-start;overflow:auto;gap:18px;scrollbar-width:none}.search-home-nav nav::-webkit-scrollbar{display:none}.search-home-nav nav a{padding:22px 0 18px;font-size:13px}.search-home-add{min-height:40px;padding:0 12px;font-size:12px}.search-home{padding-top:34px}.search-home-shortcuts{grid-template-columns:repeat(2,1fr)}.search-home-shortcuts a:nth-child(3){border-top:1px solid #e6eef0}.search-home-shortcuts a:nth-child(4){border-top:1px solid #e6eef0}.search-home-stats{margin-top:30px}
}
@media(max-width:620px){
 .search-home-header{position:static}.search-home-nav{display:flex;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.search-home-nav-brand{order:1}.search-home-add{order:2;margin-inline-start:auto}.search-home-nav nav{order:3;width:100%;justify-content:flex-start}.search-home-nav nav a{padding:10px 0 8px}.search-home{min-height:auto;padding:24px 0 28px}.home-classic-link{align-self:center}.search-home-brand{margin-top:28px}.search-home-brand img{max-width:250px;max-height:100px}.search-home-brand h1{font-size:27px}.search-home-brand p{font-size:14px}.search-home-form{margin-top:26px;border-radius:22px}.search-home-form input{font-size:15px;padding:13px 14px!important}.search-home-form button{min-width:58px;padding:0 13px;border-radius:17px}.search-home-form button b{display:none}.search-home-shortcuts{grid-template-columns:repeat(2,1fr);margin-top:22px}.search-home-stats{grid-template-columns:1fr}.search-home-stats>div{justify-content:space-between}.search-home .pinned-global{margin-top:18px}
}

/* V5.54 — search homepage header matches classic palette + minimal footer */
.search-home-page .search-home-header{
  background:linear-gradient(90deg,#006F8D,#007782)!important;
  border-bottom:0!important;
  box-shadow:0 5px 18px rgba(0,91,109,.14)!important;
}
.search-home-page .search-home-nav nav a{
  color:rgba(255,255,255,.92)!important;
}
.search-home-page .search-home-nav nav a:hover,
.search-home-page .search-home-nav nav a.active{
  color:#fff!important;
}
.search-home-page .search-home-nav nav a.active:after{
  background:#fff!important;
}
.search-home-page .search-home-add{
  background:#fff!important;
  color:#007782!important;
  border:1px solid rgba(255,255,255,.95)!important;
  box-shadow:0 4px 14px rgba(0,60,75,.12)!important;
}
.search-home-page .search-home-add:hover{
  background:#F1F8F9!important;
  color:#006F8D!important;
}
.search-home-page .search-home-nav-brand{
  display:flex;
  align-items:center;
}
.search-home-page .search-home-nav-brand img{
  filter:none!important;
}
.search-home-page .search-home-footer-minimal{
  padding:0!important;
  margin-top:0!important;
  border-top:0!important;
  background:transparent!important;
}
.search-home-page .search-home-footer-minimal .footer-bottom{
  margin:0!important;
}
@media(max-width:620px){
  .search-home-page .search-home-nav nav a{color:#fff!important}
}

/* V5.55 — classic switch compact + search-home uses footer logo */
.classic-switch-bar{margin:12px 0 6px!important}
.classic-switch-bar a{padding:5px 9px!important;font-size:11px!important;font-weight:800!important;border-radius:8px!important;line-height:1.25!important}
.classic-switch-bar a:hover{background:#f1f8f9!important;border-color:#9bcbd0!important;color:#006F8D!important}

/* V5.56 — search pagination */
.search-pagination{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:28px 0 4px;direction:rtl}
.search-page-link{min-width:40px;height:40px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(0,119,130,.22);border-radius:10px;background:#fff;color:#006F8D;text-decoration:none;font-weight:800;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}
.search-page-link:hover{background:#f1f8f9;border-color:#007782;color:#007782;transform:translateY(-1px)}
.search-page-link.active{background:#007782;border-color:#007782;color:#fff}
.search-page-link.prev,.search-page-link.next{padding-inline:16px}
.search-page-dots{color:#7b8f93;padding:0 2px}
@media(max-width:600px){.search-pagination{gap:6px}.search-page-link{min-width:36px;height:36px;padding:0 10px;font-size:13px}.search-page-link.prev,.search-page-link.next{padding-inline:12px}}

/* V5.57 — headerless search homepage + five-link shortcut row */
.search-home-page .search-home-header{display:none!important}
.search-home-page .search-home-main{padding-top:0!important}
.search-home-page .search-home{min-height:100vh;padding-top:46px}
.search-home-shortcuts{grid-template-columns:repeat(5,minmax(0,1fr))!important;width:min(980px,100%)!important;border:1px solid #e2ebee!important;border-radius:18px!important;padding:0!important;overflow:hidden;background:#fff;box-shadow:0 8px 26px rgba(0,76,92,.05)}
.search-home-shortcuts a{min-height:82px!important;border-inline-start:1px solid #e6eef0!important;border-top:0!important;gap:6px!important;padding:10px 8px!important}
.search-home-shortcuts a:first-child{border-inline-start:0!important}
.search-home-shortcuts a span{font-size:24px!important;color:#007782!important}
.search-home-shortcuts a b{font-size:13px;line-height:1.35}
.search-home-shortcuts a:hover{background:#f1f8f9!important;color:#006F8D!important;transform:none!important}
.search-home-shortcuts .shortcut-submit{background:linear-gradient(135deg,#007782,#006F8D)!important;color:#fff!important}
.search-home-shortcuts .shortcut-submit span{color:#fff!important;font-size:25px!important}
.search-home-shortcuts .shortcut-submit:hover{background:linear-gradient(135deg,#006F8D,#007782)!important;color:#fff!important}
.home-classic-switch{margin:12px auto 0;text-align:center}
.home-classic-switch a{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border:1px solid #dbe7ea;border-radius:999px;background:#fff;color:#647982;text-decoration:none;font-size:11px;font-weight:800}
.home-classic-switch a:hover{color:#006F8D;border-color:#9bcbd0;background:#f5fafb}
.search-home-stats{grid-template-columns:repeat(3,1fr)!important;gap:10px!important;background:transparent!important;border-radius:0!important;overflow:visible!important;width:min(760px,100%)!important;margin-inline:auto!important}
.search-home-stats>div{background:#f4f7f8!important;border:1px solid #e2eaed;border-radius:14px!important;padding:14px 18px!important;display:flex!important;flex-direction:column!important;gap:3px!important;align-items:center!important;justify-content:center!important;min-height:78px}
.search-home-stats strong{font-size:24px!important;line-height:1.1;color:#17343e!important}
.search-home-stats span{font-size:12px!important;line-height:1.3;color:#71818a!important}
@media(max-width:820px){.search-home-shortcuts{grid-template-columns:repeat(3,1fr)!important}.search-home-shortcuts a:nth-child(n){border-top:0!important}.search-home-shortcuts a:nth-child(4),.search-home-shortcuts a:nth-child(5){border-top:1px solid #e6eef0!important}.search-home-shortcuts a:nth-child(4){border-inline-start:0!important}}
@media(max-width:560px){.search-home{padding-top:26px!important}.search-home-shortcuts{grid-template-columns:repeat(2,1fr)!important}.search-home-shortcuts a{border-top:1px solid #e6eef0!important}.search-home-shortcuts a:nth-child(-n+2){border-top:0!important}.search-home-shortcuts a:nth-child(odd){border-inline-start:0!important}.search-home-shortcuts .shortcut-submit{grid-column:1/-1;min-height:58px!important}.search-home-stats{grid-template-columns:repeat(3,1fr)!important;gap:6px!important}.search-home-stats>div{padding:10px 6px!important;min-height:70px}.search-home-stats strong{font-size:20px!important}.search-home-stats span{font-size:10px!important}}

/* V5.58 — search layout sides + pagination active contrast */
@media (min-width:901px){
  .search-layout{
    direction:ltr!important;
    grid-template-columns:310px minmax(0,1fr)!important;
    grid-template-areas:'sidebar results'!important;
    gap:54px!important;
  }
  .search-results-column{grid-area:results!important;direction:rtl!important;min-width:0}
  .search-suggestions{grid-area:sidebar!important;direction:rtl!important}
  .search-result{margin-left:0!important;margin-right:0!important;max-width:790px}
}
.search-page-link.active,
.search-page-link.active:visited,
.search-page-link[aria-current="page"],
.search-page-link[aria-current="page"]:visited{
  background:#007782!important;
  border-color:#007782!important;
  color:#fff!important;
  box-shadow:0 4px 12px rgba(0,119,130,.18)!important;
}
.search-page-link.active:hover,
.search-page-link[aria-current="page"]:hover{
  background:#006F8D!important;
  border-color:#006F8D!important;
  color:#fff!important;
  transform:none!important;
}

/* Waslat V5.60 — compact latest/popular names + footer social links */
.search-home-site-lines{
  width:min(920px,100%);
  margin:16px auto 0;
  display:grid;
  gap:7px;
  text-align:center;
}
.search-home-site-line{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  min-height:30px;
  color:#647880;
  font-size:13px;
}
.search-home-site-line-label{font-weight:900;color:#173d47;white-space:nowrap}
.search-home-site-line-links{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}
.search-home-site-line-links a{color:#007782;font-weight:800;text-decoration:none}
.search-home-site-line-links a:hover{color:#006F8D;text-decoration:underline;text-underline-offset:3px}
.search-home-site-sep{color:#b4c4c9}

.footer-social-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:16px}
.footer-social-link{
  width:36px;height:36px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #c8d9dd;background:#fff;color:#007782!important;text-decoration:none!important;
  font-size:14px;font-weight:900;line-height:1;transition:.18s ease;
}
.footer-social-link:hover{background:#007782!important;color:#fff!important;border-color:#007782!important;transform:translateY(-1px)}
.footer-social-link span{display:block;line-height:1}
.footer-social-youtube{font-size:12px}.footer-social-linkedin{font-size:12px}
.search-home-footer-minimal .footer-bottom-inner{gap:14px;flex-wrap:wrap}
.footer-social-links-minimal{margin:0;justify-content:center}
.footer-social-links-minimal .footer-social-link{width:32px;height:32px;border-radius:9px;background:transparent;border-color:#b9cbd0;color:#007782!important}

@media(max-width:640px){
  .search-home-site-lines{margin-top:13px;gap:5px}
  .search-home-site-line{font-size:12px;line-height:1.7;gap:6px}
  .search-home-site-line-links{gap:6px}
  .search-home-footer-minimal .footer-bottom-inner{justify-content:center;text-align:center}
}

/* V5.61 — home selected sites row, statistic icons, Facebook hover fix */
.search-home-site-lines{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  width:min(980px,100%)!important;
  margin:14px auto 0!important;
  align-items:stretch!important;
}
.search-home-site-line{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  min-width:0!important;
  padding:10px 14px!important;
  border:1px solid #dce8ea!important;
  border-radius:14px!important;
  background:#f8fbfb!important;
  box-shadow:0 4px 14px rgba(0,65,73,.04)!important;
}
.search-home-site-line-icon{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#007782!important;
  border-radius:10px!important;
  background:#edf7f7!important;
}
.search-home-site-line-icon svg{width:20px!important;height:20px!important;display:block!important}
.search-home-site-line-links{min-width:0!important;gap:7px!important}
.search-home-site-line-links a{color:#173d47!important;font-weight:800!important}
.search-home-site-line-links a:hover{color:#006F8D!important;text-decoration:none!important}
.search-home-site-sep{color:#a7bbc0!important}

.search-home-stats>div{flex-direction:row!important;gap:8px!important;flex-wrap:wrap!important}
.search-home-stat-icon{
  width:32px!important;
  height:32px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#007782!important;
  background:#eaf5f5!important;
  border-radius:10px!important;
  flex:0 0 32px!important;
}
.search-home-stat-icon svg{width:19px!important;height:19px!important;display:block!important}
.search-home-stats>div>span:not(.search-home-stat-icon){width:100%!important;text-align:center!important}

.footer-social-facebook:hover,
.footer-social-facebook:focus-visible{
  background:#fff!important;
  color:#1877F2!important;
  border-color:#1877F2!important;
  transform:none!important;
  box-shadow:0 0 0 3px rgba(24,119,242,.10)!important;
}
.footer-social-facebook:hover span,
.footer-social-facebook:focus-visible span{color:#1877F2!important}

@media(max-width:720px){
  .search-home-site-lines{grid-template-columns:1fr!important;gap:8px!important}
  .search-home-site-line{padding:9px 11px!important;justify-content:flex-start!important}
  .search-home-site-line-links{justify-content:flex-start!important}
}

/* V5.62 — Domain discovery admin */
.discovery-actions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.form-grid.compact{gap:10px}.discovery-stats{margin:18px 0}.discovery-stats .card h3{font-size:.92rem}.discovery-stats .card h2{color:#007782}.discovery-last-run{margin:0 0 18px}.discovery-filter{display:grid;grid-template-columns:minmax(180px,1.5fr) repeat(4,minmax(130px,1fr)) auto auto auto;gap:9px;align-items:center;margin-bottom:12px}.discovery-filter input,.discovery-filter select{min-width:0}.discovery-bulk{margin:10px 0;justify-content:flex-start}.discovery-bulk select{width:auto;min-width:180px}.discovery-table td{vertical-align:top}.discovery-row-actions{min-width:260px;flex-wrap:wrap}.discovery-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.discovery-meta-grid>div{background:#f5f8f8;border:1px solid #d9e7e8;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:5px}.discovery-meta-grid strong{color:#006f8d}.discovery-favicon{display:flex;align-items:center;gap:12px;padding:12px 0}.discovery-favicon img{object-fit:contain;border-radius:8px;border:1px solid #dce8e9;background:#fff}.discovery-rdap{margin-top:16px}.discovery-rdap pre{white-space:pre-wrap;word-break:break-word;background:#f7f9f9;padding:12px;border-radius:10px;max-height:360px;overflow:auto}.discovery-review-actions form{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:1100px){.discovery-actions-grid{grid-template-columns:1fr 1fr}.discovery-filter{grid-template-columns:1fr 1fr 1fr}.discovery-meta-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.discovery-actions-grid,.discovery-filter,.discovery-meta-grid{grid-template-columns:1fr}.discovery-filter .btn{width:100%}.discovery-row-actions{min-width:210px}.discovery-review-actions form{display:grid;grid-template-columns:1fr 1fr;width:100%}.discovery-review-actions .btn{width:100%}}

/* V5.63 — أخبار مرتبطة بالمواقع */
.site-related-news{margin:28px 0 6px;padding-top:22px;border-top:1px solid #dbe7e9}
.site-related-news-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.site-related-news-head h2{margin:0;color:#007782;font-size:1.25rem}
.site-related-news-head span{font-size:.84rem;color:#61767a;background:#f1f8f9;border:1px solid #d8e8ea;border-radius:999px;padding:5px 10px}
.site-related-news .news-cards-simple{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.site-related-news .news-card-simple{box-shadow:none;border:1px solid #dbe7e9}
.news-linked-site{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:#f1f8f9;color:#006f8d;font-weight:700;text-decoration:none}
.news-linked-site:hover{background:#e5f2f4;color:#007782}
@media(max-width:760px){.site-related-news .news-cards-simple{grid-template-columns:1fr 1fr}.site-related-news-head{align-items:flex-start}.news-linked-site{width:100%;justify-content:center}}
@media(max-width:520px){.site-related-news .news-cards-simple{grid-template-columns:1fr}}
