/*
Theme Name: AsiaWeb General Business Directory
Theme URI: https://thaiwebwizard.com/
Author: ThaiWebWizard.com
Author URI: https://thaiwebwizard.com/
Description: Premium general-business presentation theme for AsiaWeb Directory with editable colors, Hero image, wording, CTA, header, footer and member branding. Presentation only; Directory Core and Business Modules remain unchanged.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: asiaweb-directory-theme
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: directory, business, responsive, custom-logo, custom-menu, featured-images
*/

:root{
  --awdt-primary:#e11d2e;
  --awdt-primary-dark:#b41221;
  --awdt-accent:#f59e0b;
  --awdt-bg:#fffaf7;
  --awdt-surface:#ffffff;
  --awdt-text:#211816;
  --awdt-muted:#78645f;
  --awdt-border:#eadfd9;
  --awdt-radius:16px;
  --awdt-shadow:0 12px 32px rgba(15,23,42,.08);
  --awdt-container:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--awdt-bg);color:var(--awdt-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Thai",Tahoma,Arial,sans-serif;line-height:1.65}
a{color:var(--awdt-primary);text-decoration:none}
a:hover{color:var(--awdt-primary-dark)}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
.awdt-container{width:min(calc(100% - 32px),var(--awdt-container));margin-inline:auto}
.awdt-site-main{min-height:60vh}
.awdt-content{padding:38px 0 56px}

/* Header */
.awdt-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--awdt-border)}
.admin-bar .awdt-header{top:32px}
.awdt-header-inner{min-height:74px;display:flex;align-items:center;gap:28px}
.awdt-brand{display:flex;align-items:center;gap:12px;min-width:180px}
.awdt-brand .custom-logo{max-height:44px;width:auto}
.awdt-brand-text{display:flex;flex-direction:column;line-height:1.15;font-weight:800;color:var(--awdt-text)}
.awdt-brand-text small{font-size:11px;font-weight:600;color:var(--awdt-muted);margin-top:4px}
.awdt-nav{margin-left:auto}
.awdt-menu{display:flex;list-style:none;gap:5px;padding:0;margin:0;align-items:center}
.awdt-menu li{position:relative}
.awdt-menu a{display:block;padding:10px 13px;border-radius:10px;color:var(--awdt-text);font-weight:600;font-size:14px}
.awdt-menu a:hover,.awdt-menu .current-menu-item>a{background:#eef5fb;color:var(--awdt-primary)}
.awdt-header-actions{display:flex;gap:8px;align-items:center}
.awdt-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border-radius:11px;border:1px solid var(--awdt-border);font-size:14px;font-weight:700;background:#fff;color:var(--awdt-text)}
.awdt-action-primary{background:var(--awdt-primary);border-color:var(--awdt-primary);color:#fff}
.awdt-action-primary:hover{background:var(--awdt-primary-dark);color:#fff}
.awdt-mobile-toggle{display:none;border:1px solid var(--awdt-border);background:#fff;border-radius:10px;width:44px;height:44px;font-size:22px;cursor:pointer}

/* Generic content */
.awdt-page-header{padding:44px 0 18px}
.awdt-page-title{margin:0;font-size:clamp(30px,5vw,48px);line-height:1.15;letter-spacing:-.02em}
.awdt-entry{background:var(--awdt-surface);border:1px solid var(--awdt-border);border-radius:var(--awdt-radius);padding:clamp(22px,4vw,40px);box-shadow:var(--awdt-shadow)}
.awdt-entry>*:first-child{margin-top:0}.awdt-entry>*:last-child{margin-bottom:0}
.awdt-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.awdt-post-card{background:#fff;border:1px solid var(--awdt-border);border-radius:var(--awdt-radius);overflow:hidden;box-shadow:0 8px 22px rgba(15,23,42,.05)}
.awdt-post-card-body{padding:20px}.awdt-post-card h2{margin:0 0 8px;font-size:20px;line-height:1.35}.awdt-post-card p{color:var(--awdt-muted)}

/* Footer */
.awdt-footer{background:#101827;color:#dbe4ef;margin-top:44px}
.awdt-footer-main{padding:42px 0 32px;display:grid;grid-template-columns:1.4fr 1fr;gap:40px}
.awdt-footer h2,.awdt-footer h3{color:#fff;margin-top:0}
.awdt-footer a{color:#dbe4ef}.awdt-footer a:hover{color:#fff}
.awdt-footer-menu{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.awdt-footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;color:#94a3b8;font-size:13px}

/* AsiaWeb Directory integration layer. Keeps Core functionality intact. */
body .awd-directory-wrap,body .awd-page-shell,body .awd-single-shell,body .awd-account-shell,body .awd-submission-wrap{max-width:var(--awdt-container);margin-left:auto;margin-right:auto}
body .awd-search-panel,body .awd-panel,body .awd-card,body .awd-account-card,body .awd-form-section{border-radius:var(--awdt-radius)}
body .awd-btn-primary{background:var(--awdt-primary);border-color:var(--awdt-primary)}
body .awd-btn-primary:hover{background:var(--awdt-primary-dark);border-color:var(--awdt-primary-dark)}
body .awd-card{transition:transform .18s ease,box-shadow .18s ease}
body .awd-card:hover{transform:translateY(-2px);box-shadow:var(--awdt-shadow)}
body .awd-single-page,body .awd-archive-page{background:transparent}

/* v0.5.1 — Mobile / Tablet off-canvas navigation */
.awdt-mobile-overlay{display:none}
.awdt-mobile-panel-head,.awdt-mobile-panel-actions{display:none}
@media (max-width:900px){
  body.awdt-menu-open{overflow:hidden}
  .awdt-mobile-toggle{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;position:relative;z-index:1202}
  .awdt-header-actions{display:none}
  .awdt-mobile-overlay{display:block;position:fixed;inset:0;background:rgba(15,23,42,.48);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease;z-index:1198}
  .awdt-mobile-overlay.is-open{opacity:1;visibility:visible}
  .awdt-nav{display:block;position:fixed;top:0;right:0;left:auto;width:min(86vw,390px);height:100dvh;margin:0;background:#fff;border:0;padding:0;box-shadow:-22px 0 52px rgba(15,23,42,.20);transform:translateX(105%);transition:transform .26s cubic-bezier(.2,.8,.2,1);z-index:1201;overflow-y:auto;overscroll-behavior:contain}
  .awdt-nav.is-open{transform:translateX(0)}
  .awdt-mobile-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 20px 18px;border-bottom:1px solid var(--awdt-border);background:linear-gradient(135deg,#f8fbff,#eef6fb)}
  .awdt-mobile-panel-brand{display:flex;flex-direction:column;line-height:1.2;color:var(--awdt-text);font-weight:800;font-size:17px}.awdt-mobile-panel-brand small{margin-top:4px;color:var(--awdt-muted);font-size:11px;font-weight:650}
  .awdt-mobile-close{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--awdt-border);border-radius:12px;background:#fff;color:var(--awdt-text);font-size:25px;line-height:1;cursor:pointer}
  .awdt-menu{display:block;padding:14px 12px;margin:0}.awdt-menu li{border-bottom:1px solid #f0f3f7}.awdt-menu li:last-child{border-bottom:0}.awdt-menu a{display:flex;align-items:center;min-height:50px;padding:12px 13px;border-radius:11px;font-size:15px}.awdt-menu a:hover,.awdt-menu .current-menu-item>a{background:#eef5fb}
  .awdt-mobile-panel-actions{display:grid;gap:10px;padding:16px 20px 26px;border-top:1px solid var(--awdt-border);background:#fafcff}
  .awdt-mobile-panel-actions .awdt-action{display:flex;width:100%;min-height:48px}
  .awdt-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .awdt-footer-main{grid-template-columns:1fr}
}
@media (max-width:600px){
  .admin-bar .awdt-header{top:46px}
  .awdt-container{width:min(calc(100% - 22px),var(--awdt-container))}
  .awdt-header-inner{min-height:66px}
  .awdt-nav{width:min(90vw,360px)}
  .awdt-post-grid{grid-template-columns:1fr}
  .awdt-content{padding-top:24px}
}


/* ==========================================================
   Member/Auth experience – v0.2.0
   ========================================================== */
body.awdt-member-page{background:#eef3f8}
body.awdt-member-page .awdt-site-main{min-height:auto}
.awdt-auth{position:relative;overflow:hidden;background:linear-gradient(135deg,#0b1727 0%,#123c61 48%,#eaf3f8 48%,#f8fbfd 100%);min-height:calc(100vh - 74px)}
.awdt-auth::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 20%,rgba(24,169,153,.24),transparent 28%),radial-gradient(circle at 86% 22%,rgba(15,95,168,.16),transparent 24%);pointer-events:none}
.awdt-auth-inner{position:relative;z-index:1;width:min(calc(100% - 32px),1180px);margin:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(430px,560px);gap:54px;align-items:center;padding:70px 0 76px}
.awdt-auth-copy{color:#fff;padding:16px 8px}
.awdt-auth-kicker{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.08);font-size:13px;font-weight:700}
.awdt-auth-copy h1{margin:20px 0 12px;font-size:clamp(42px,6vw,72px);line-height:1.02;letter-spacing:-.04em}
.awdt-auth-copy h1 span{color:#2dd4bf}
.awdt-auth-copy>p{max-width:580px;margin:0 0 28px;color:#d8e5f0;font-size:19px}
.awdt-auth-benefits{display:grid;gap:16px;margin-top:30px}
.awdt-auth-benefit{display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:center}
.awdt-auth-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#0ea5e9,#14b8a6);font-size:22px;box-shadow:0 10px 24px rgba(2,132,199,.22)}
.awdt-auth-benefit strong{display:block;font-size:16px}.awdt-auth-benefit small{display:block;color:#c9d8e5;font-size:13px;margin-top:2px}
.awdt-auth-card{background:rgba(255,255,255,.98);border:1px solid rgba(255,255,255,.75);border-radius:22px;padding:clamp(26px,4vw,42px);box-shadow:0 28px 70px rgba(15,23,42,.20)}
.awdt-auth-card-head{text-align:center;margin-bottom:24px}.awdt-auth-card-head h2{margin:0;color:#10243d;font-size:30px;line-height:1.2}.awdt-auth-card-head p{margin:8px 0 0;color:#718096}
.awdt-auth-links{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:18px;padding-top:18px;border-top:1px solid #e7edf3;font-size:14px}
.awdt-auth-security{margin-top:22px;padding:16px 18px;border-radius:14px;background:#f1f8fd;border:1px solid #dbeaf6;color:#526477;font-size:13px}
.awdt-auth-security strong{color:#17324f}
.awdt-auth-card .awd-account-shell{max-width:none;margin:0;padding:0}
.awdt-auth-card .awd-account-form{display:grid;gap:16px}
.awdt-auth-card .awd-field{display:grid;gap:7px}.awdt-auth-card .awd-field label{font-size:14px;font-weight:700;color:#25364c}
.awdt-auth-card .awd-field input,.awdt-auth-card .awd-field select,.awdt-auth-card .awd-field textarea{width:100%;min-height:48px;border:1px solid #d7e0ea;border-radius:10px;background:#fff;padding:10px 13px;outline:none;transition:border-color .16s,box-shadow .16s}
.awdt-auth-card .awd-field input:focus,.awdt-auth-card .awd-field select:focus,.awdt-auth-card .awd-field textarea:focus{border-color:#2684d6;box-shadow:0 0 0 4px rgba(38,132,214,.10)}
.awdt-auth-card .awd-check{display:flex;align-items:center;gap:8px;color:#42556c;font-size:14px}
.awdt-auth-card .awd-btn{width:100%;min-height:50px;border:0;border-radius:10px;font-weight:800;font-size:16px;cursor:pointer}
.awdt-auth-card .awd-btn-primary{background:linear-gradient(90deg,var(--awdt-primary),var(--awdt-primary-dark));color:#fff;box-shadow:0 12px 26px rgba(21,101,216,.20)}
.awdt-auth-card .awd-btn-primary:hover{filter:brightness(.97)}
.awdt-auth-card .awd-notice{border-radius:10px;padding:12px 14px;margin:0 0 16px}
.awdt-auth-card .awd-account-guest-grid{display:block}
.awdt-auth-card .awd-account-card{padding:0;border:0;box-shadow:none;background:transparent}
.awdt-auth-card .awd-account-card>h2{display:none}
body.awdt-member-page #wpadminbar{display:none!important}

@media (max-width:900px){
  .awdt-auth{background:linear-gradient(180deg,#102b45 0,#174f78 33%,#eef4f8 33%,#f8fbfd 100%)}
  .awdt-auth-inner{grid-template-columns:1fr;gap:34px;padding:44px 0 58px}
  .awdt-auth-copy{text-align:center}.awdt-auth-copy>p{margin-left:auto;margin-right:auto}.awdt-auth-benefits{max-width:570px;margin-left:auto;margin-right:auto;text-align:left}
  .awdt-auth-card{width:min(100%,620px);margin:auto}
}
@media (max-width:600px){
  .awdt-auth-inner{width:min(calc(100% - 22px),1180px);padding-top:30px}
  .awdt-auth-copy h1{font-size:40px}.awdt-auth-copy>p{font-size:16px}
  .awdt-auth-benefit{grid-template-columns:42px 1fr}.awdt-auth-icon{width:42px;height:42px;font-size:19px}
  .awdt-auth-card{padding:24px 18px;border-radius:17px}
}


/* ==========================================================
   Directory Homepage & Template System – v0.3.0
   ========================================================== */
.awdt-home{background:#f6f8fb}
.awdt-home-hero{position:relative;overflow:hidden;padding:86px 0 76px;background:linear-gradient(135deg,#0b2949 0%,#0f5fa8 56%,#159f9b 100%);color:#fff}
.awdt-home-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 88% 20%,rgba(255,255,255,.16),transparent 25%),radial-gradient(circle at 8% 88%,rgba(45,212,191,.18),transparent 28%)}
.awdt-home-hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:60px;align-items:center}
.awdt-home-kicker{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);font-weight:700;font-size:13px}
.awdt-home-hero h1{font-size:clamp(42px,6vw,70px);line-height:1.05;letter-spacing:-.04em;margin:18px 0 16px;max-width:800px}
.awdt-home-hero p{font-size:18px;color:#dbeafe;max-width:720px;margin:0 0 28px}
.awdt-home-search{display:flex;gap:10px;background:#fff;border-radius:16px;padding:9px;box-shadow:0 18px 45px rgba(2,6,23,.22);max-width:760px}
.awdt-home-search input{flex:1;min-width:0;height:52px;border:0;outline:0;padding:0 15px;color:#172033;background:transparent}
.awdt-home-search button{min-width:130px;border:0;border-radius:11px;background:#0f5fa8;color:#fff;font-weight:800;cursor:pointer;padding:0 22px}
.awdt-home-search button:hover{background:#0b4b85}
.awdt-home-hero-card{background:rgba(255,255,255,.97);color:#172033;border-radius:22px;padding:28px;box-shadow:0 24px 60px rgba(2,6,23,.22)}
.awdt-home-hero-card h2{margin:0 0 8px;font-size:24px}.awdt-home-hero-card p{font-size:14px;color:#64748b;margin:0 0 18px}
.awdt-home-stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.awdt-home-stat{border:1px solid #e2e8f0;border-radius:14px;padding:16px;background:#f8fafc}.awdt-home-stat strong{display:block;font-size:24px;color:#0f5fa8}.awdt-home-stat span{font-size:13px;color:#64748b}
.awdt-home-section{padding:68px 0}.awdt-home-section.is-white{background:#fff}
.awdt-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.awdt-section-head h2{margin:0;font-size:clamp(28px,4vw,40px);line-height:1.15}.awdt-section-head p{margin:8px 0 0;color:#64748b}.awdt-section-more{font-weight:800;white-space:nowrap}
.awdt-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.awdt-category-card{display:flex;align-items:center;gap:14px;padding:20px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;color:#172033;box-shadow:0 8px 24px rgba(15,23,42,.04);transition:.18s ease}
.awdt-category-card:hover{transform:translateY(-2px);border-color:#b9d5ed;box-shadow:0 14px 34px rgba(15,23,42,.08)}
.awdt-category-icon{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#eef6fc;color:#0f5fa8;font-size:20px;font-weight:900}.awdt-category-card strong{display:block}.awdt-category-card small{color:#64748b}
.awdt-listing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.awdt-listing-card{overflow:hidden;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.05);transition:.18s ease}.awdt-listing-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(15,23,42,.10)}
.awdt-listing-media{display:block;aspect-ratio:16/9;background:#eaf0f6;overflow:hidden}.awdt-listing-media img{width:100%;height:100%;object-fit:cover}.awdt-listing-placeholder{width:100%;height:100%;display:grid;place-items:center;font-size:54px;color:#9fb0c3}
.awdt-listing-body{padding:20px}.awdt-listing-category{font-size:12px;font-weight:800;color:#0f5fa8;text-transform:uppercase;letter-spacing:.02em}.awdt-listing-body h3{font-size:20px;line-height:1.35;margin:6px 0 8px}.awdt-listing-body h3 a{color:#172033}.awdt-listing-body p{color:#64748b;margin:0 0 15px;font-size:14px}.awdt-listing-link{font-size:14px;font-weight:800}
.awdt-empty-section{padding:28px;border:1px dashed #cbd5e1;border-radius:16px;background:#f8fafc;color:#64748b;text-align:center}
.awdt-home-cta{padding:64px 0}.awdt-home-cta-box{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:42px;border-radius:24px;background:linear-gradient(135deg,#0b2949,#0f5fa8);color:#fff;box-shadow:0 20px 50px rgba(15,95,168,.18)}.awdt-home-cta-box h2{margin:0 0 8px;font-size:clamp(28px,4vw,42px)}.awdt-home-cta-box p{margin:0;color:#dbeafe}.awdt-home-cta-actions{display:flex;gap:10px;flex-wrap:wrap}.awdt-home-cta .awdt-action{min-height:48px}.awdt-home-cta .awdt-action-primary{background:var(--awdt-primary);border-color:var(--awdt-primary)}.awdt-home-cta .awdt-action-primary:hover{background:var(--awdt-primary-dark);border-color:var(--awdt-primary-dark)}
@media(max-width:900px){.awdt-home-hero-inner{grid-template-columns:1fr;gap:34px}.awdt-home-hero-card{max-width:620px}.awdt-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.awdt-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.awdt-home-cta-box{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.awdt-home-hero{padding:56px 0 50px}.awdt-home-search{flex-direction:column}.awdt-home-search input,.awdt-home-search button{width:100%;height:48px}.awdt-home-stat-grid{grid-template-columns:1fr 1fr}.awdt-home-section{padding:48px 0}.awdt-section-head{align-items:flex-start;flex-direction:column}.awdt-category-grid,.awdt-listing-grid{grid-template-columns:1fr}.awdt-home-cta{padding:44px 0}.awdt-home-cta-box{padding:28px 22px}}

/* ================================================================
   v0.4.0 — Installer-ready system page templates
   ================================================================ */
.awdt-system-page{min-height:55vh;background:#f5f8fc}
.awdt-page-hero{padding:56px 0 44px;background:linear-gradient(135deg,#0f356d 0%,#146fc2 58%,#0ea5a5 100%);color:#fff}
.awdt-page-hero.is-compact{padding:38px 0 32px}
.awdt-page-kicker{display:inline-block;margin-bottom:8px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.82}
.awdt-page-hero h1{margin:0 0 8px;color:#fff;font-size:clamp(30px,4vw,46px);line-height:1.15}
.awdt-page-hero p{margin:0;max-width:720px;font-size:17px;opacity:.9}
.awdt-system-content{padding-top:38px;padding-bottom:56px}
.awdt-system-content > .awd-directory,
.awdt-system-content > .awd-submit-listing,
.awdt-system-content > .awd-my-listings{background:#fff;border:1px solid #e3eaf3;border-radius:18px;box-shadow:0 12px 35px rgba(15,35,65,.06)}
@media (max-width:767px){
  .awdt-page-hero{padding:38px 0 30px}
  .awdt-page-hero.is-compact{padding:30px 0 26px}
  .awdt-system-content{padding-top:24px;padding-bottom:40px}
}

/* ================================================================
   v0.4.2 — Premium Frontend Login / Member Experience
   ================================================================ */
body.awdt-member-page{background:#eef4f9}
body.awdt-member-page .awdt-site-main{background:#eef4f9}
.awdt-auth-v2{position:relative;overflow:hidden;padding:42px 0;background:radial-gradient(circle at 9% 12%,rgba(25,143,255,.10),transparent 22%),radial-gradient(circle at 91% 86%,rgba(16,205,183,.10),transparent 20%),#eef4f9}
.awdt-auth-shell{display:grid;grid-template-columns:minmax(0,1.07fr) minmax(410px,.83fr);gap:26px;align-items:stretch}
.awdt-auth-showcase{position:relative;overflow:hidden;min-height:650px;border-radius:28px;background:radial-gradient(circle at 80% 13%,rgba(16,205,183,.34),transparent 25%),radial-gradient(circle at 13% 82%,rgba(38,126,255,.26),transparent 25%),linear-gradient(145deg,#061a31 0%,#0a365f 52%,#075f72 100%);color:#fff;box-shadow:0 24px 60px rgba(8,40,69,.20)}
.awdt-auth-showcase:before{content:"";position:absolute;right:-12%;bottom:-18%;width:72%;height:66%;border-radius:50%;background:radial-gradient(circle,rgba(255,183,65,.24),rgba(255,183,65,.03) 45%,transparent 70%);filter:blur(4px)}
.awdt-auth-showcase:after{content:"";position:absolute;inset:auto -6% -14% 30%;height:47%;background:linear-gradient(140deg,rgba(255,255,255,.09),rgba(255,255,255,.01));clip-path:polygon(12% 34%,100% 0,100% 100%,0 100%);opacity:.9}
.awdt-auth-showcase-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,20,39,.15),transparent 60%);pointer-events:none}
.awdt-auth-showcase-content{position:relative;z-index:2;display:flex;flex-direction:column;height:100%;box-sizing:border-box;padding:60px 58px 50px}
.awdt-auth-script{align-self:flex-start;display:inline-block;margin-bottom:34px;padding-bottom:7px;border-bottom:3px solid #24d2bd;color:#d9fff8;font-size:17px;font-style:italic}
.awdt-auth-showcase h1{margin:0 0 22px;font-size:clamp(40px,4.8vw,64px);line-height:1.06;letter-spacing:-.035em;color:#fff}.awdt-auth-showcase h1 span{color:#30dec8}
.awdt-auth-showcase-content>p{max-width:630px;margin:0 0 34px;color:#e5f3ff;font-size:18px;line-height:1.7}
.awdt-auth-feature-list{display:grid;gap:18px;margin-top:4px}
.awdt-auth-feature-item{display:grid;grid-template-columns:56px 1fr;gap:16px;align-items:center}
.awdt-auth-feature-icon{width:56px;height:56px;border-radius:17px;display:grid;place-items:center;color:#fff;font-size:22px;font-weight:900;box-shadow:0 13px 26px rgba(0,0,0,.18)}
.awdt-auth-feature-icon.is-blue{background:linear-gradient(145deg,#1b82ff,#2563eb)}.awdt-auth-feature-icon.is-green{background:linear-gradient(145deg,#18d4a4,#0ba888)}.awdt-auth-feature-icon.is-orange{background:linear-gradient(145deg,#ffb02f,#f28a16)}
.awdt-auth-feature-item strong{display:block;font-size:17px;color:#fff}.awdt-auth-feature-item small{display:block;margin-top:4px;color:#d7e7f4;font-size:13px;line-height:1.5}
.awdt-auth-quote{margin-top:auto;padding-top:36px;color:#e9fbff;font-size:17px;font-style:italic}
.awdt-auth-panel{display:flex;align-items:stretch}
.awdt-auth-panel-card{position:relative;width:100%;box-sizing:border-box;padding:48px 42px 40px;border:1px solid rgba(210,224,237,.9);border-radius:28px;background:rgba(255,255,255,.98);box-shadow:0 24px 62px rgba(15,44,71,.12)}
.awdt-auth-panel-card:before{content:"";position:absolute;inset:0 18% auto;height:4px;border-radius:0 0 8px 8px;background:linear-gradient(90deg,#0968dc,#12c8b2)}
.awdt-auth-lock{width:68px;height:68px;margin:0 auto 18px;border-radius:21px;display:grid;place-items:center;background:linear-gradient(145deg,#eef7ff,#deefff);color:#0d68b8;font-size:29px;font-weight:900;box-shadow:inset 0 0 0 1px #d7e8f7}
.awdt-auth-panel-card .awdt-auth-card-head{text-align:center;margin-bottom:28px}.awdt-auth-panel-card .awdt-auth-card-head h2{margin:0;color:#10243d;font-size:32px;line-height:1.2}.awdt-auth-panel-card .awdt-auth-card-head p{max-width:420px;margin:9px auto 0;color:#728197;line-height:1.6}
.awdt-auth-panel-card .awd-account-shell{max-width:none!important;margin:0!important;padding:0!important}.awdt-auth-panel-card .awd-account-card{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.awdt-auth-panel-card .awd-account-card>h2{display:none!important}
.awdt-auth-panel-card .awd-account-form{display:grid;gap:16px}.awdt-auth-panel-card .awd-field{display:grid;gap:7px}.awdt-auth-panel-card .awd-field label{font-size:14px;font-weight:750;color:#25384f}
.awdt-auth-panel-card input[type=text],.awdt-auth-panel-card input[type=email],.awdt-auth-panel-card input[type=password],.awdt-auth-panel-card select,.awdt-auth-panel-card textarea{box-sizing:border-box;width:100%;min-height:52px;border:1px solid #d5e0eb;border-radius:12px;padding:11px 14px;background:#fbfdff;color:#17263a;outline:0;transition:.16s ease;box-shadow:none}
.awdt-auth-panel-card input:focus,.awdt-auth-panel-card select:focus,.awdt-auth-panel-card textarea:focus{border-color:#1776cd;box-shadow:0 0 0 4px rgba(23,118,205,.09)}
.awdt-auth-panel-card .awd-check{display:flex;align-items:center;gap:8px;color:#4c6078;font-size:14px}.awdt-auth-panel-card input[type=checkbox]{width:18px;height:18px;accent-color:#0d68d8}
.awdt-auth-panel-card .awd-btn{width:100%;min-height:52px;border:0;border-radius:12px;font-size:16px;font-weight:800;cursor:pointer;transition:.18s ease}.awdt-auth-panel-card .awd-btn-primary{background:linear-gradient(90deg,var(--awdt-primary),var(--awdt-primary-dark));color:#fff;box-shadow:0 12px 26px rgba(8,103,223,.21)}.awdt-auth-panel-card .awd-btn-primary:hover{transform:translateY(-1px);filter:brightness(1.03)}
.awdt-auth-panel-card .awd-notice,.awdt-auth-panel-card .awd-message{border-radius:11px}
.awdt-auth-helper-row{display:flex;justify-content:flex-end;margin-top:15px;font-size:14px}.awdt-auth-helper-row a{color:#0c69be;font-weight:750}
.awdt-auth-divider{display:flex;align-items:center;gap:13px;margin:25px 0;color:#8a98aa;font-size:13px}.awdt-auth-divider:before,.awdt-auth-divider:after{content:"";height:1px;background:#e2e9f0;flex:1}
.awdt-auth-register-box{padding:20px;border:1px solid #e1eaf3;border-radius:15px;background:linear-gradient(145deg,#f7fbff,#eff7fd);text-align:center}.awdt-auth-register-box strong{display:block;color:#1e3149;font-size:16px}.awdt-auth-register-box span{display:block;margin:5px 0 14px;color:#718196;font-size:13px}
.awdt-auth-secondary-btn{display:flex;align-items:center;justify-content:center;min-height:47px;border:1px solid #1472c7;border-radius:11px;background:#fff;color:#0d67b8;font-weight:800;transition:.16s ease}.awdt-auth-secondary-btn:hover{background:#f4faff;transform:translateY(-1px)}
.awdt-auth-back{display:block;margin-top:20px;text-align:center;color:#0b68ba;font-size:14px;font-weight:750}
@media(max-width:980px){.awdt-auth-shell{grid-template-columns:1fr}.awdt-auth-showcase{min-height:auto}.awdt-auth-showcase-content{padding:46px 38px}.awdt-auth-panel-card{max-width:720px;margin:0 auto}.awdt-auth-quote{margin-top:34px}}
@media(max-width:600px){.awdt-auth-v2{padding:20px 0}.awdt-auth-shell{width:min(calc(100% - 20px),1180px);gap:16px}.awdt-auth-showcase,.awdt-auth-panel-card{border-radius:19px}.awdt-auth-showcase-content{padding:34px 24px}.awdt-auth-showcase h1{font-size:38px}.awdt-auth-showcase-content>p{font-size:16px}.awdt-auth-feature-icon{width:50px;height:50px;border-radius:15px}.awdt-auth-panel-card{padding:34px 22px 28px}.awdt-auth-panel-card .awdt-auth-card-head h2{font-size:28px}}

/* ================================================================
   v0.5.0 — Template Completion
   ================================================================ */
.awdt-breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:18px 0 0;color:var(--awdt-muted);font-size:13px}.awdt-breadcrumbs a{font-weight:700}.awdt-breadcrumbs strong{color:var(--awdt-text);font-weight:700}
.awdt-post-card-media{display:block;aspect-ratio:16/9;overflow:hidden;background:#e9eff6}.awdt-post-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.awdt-post-card:hover .awdt-post-card-media img{transform:scale(1.025)}
.navigation.pagination{margin:34px 0 0}.nav-links{display:flex;gap:7px;flex-wrap:wrap}.page-numbers{display:grid;place-items:center;min-width:40px;height:40px;padding:0 12px;border:1px solid var(--awdt-border);border-radius:10px;background:#fff;font-weight:700}.page-numbers.current{background:var(--awdt-primary);border-color:var(--awdt-primary);color:#fff}
/* Standard/Core visual contract: style only; Core retains markup and behavior. */
body.awdt-directory-ready .awd-search-panel{background:#fff;border:1px solid var(--awdt-border);box-shadow:0 10px 30px rgba(15,23,42,.05)}
body.awdt-directory-ready .awd-directory-wrap input,body.awdt-directory-ready .awd-directory-wrap select,body.awdt-directory-ready .awd-submission-wrap input,body.awdt-directory-ready .awd-submission-wrap select,body.awdt-directory-ready .awd-submission-wrap textarea{border-radius:10px}
body.awdt-directory-ready .awd-card,body.awdt-directory-ready .awd-panel{border-color:var(--awdt-border);box-shadow:0 8px 24px rgba(15,23,42,.045)}
body.single-awd_listing .awdt-footer{margin-top:0}
@media(max-width:600px){.awdt-breadcrumbs{padding-top:13px}.navigation.pagination{margin-top:24px}.page-numbers{min-width:36px;height:36px}}

/* ================================================================
   v0.6.0 — Theme Settings & Branding live color integration
   ================================================================ */
.awdt-home-search button,
.awdt-category-icon,
.awdt-listing-category,
.awdt-section-more,
.awdt-listing-link{color:var(--awdt-primary)}
.awdt-home-search button{background:var(--awdt-primary);color:#fff}
.awdt-home-search button:hover{filter:brightness(.9)}
.awdt-home-stat strong{color:var(--awdt-primary)}
.awdt-home-cta .awdt-action-primary{background:var(--awdt-primary);border-color:var(--awdt-primary)}
.awdt-auth-feature-icon.is-green{background:color-mix(in srgb,var(--awdt-accent) 14%,white);color:var(--awdt-accent)}
.awdt-auth-card .awd-btn-primary,
.awdt-auth-panel .awd-btn-primary{background:linear-gradient(90deg,var(--awdt-primary),var(--awdt-primary-dark));border-color:transparent;color:#fff}
.awdt-menu a:hover,.awdt-menu .current-menu-item>a{color:var(--awdt-primary)}

/* v0.6.5 — Primary button colour synchronization */
.awdt-action-primary,
.awdt-home-search button,
.awdt-home-cta .awdt-action-primary,
.awdt-auth-card .awd-btn-primary,
.awdt-auth-panel .awd-btn-primary,
body .awd-btn-primary{background:var(--awdt-primary)!important;border-color:var(--awdt-primary)!important;color:#fff!important}
.awdt-action-primary:hover,
.awdt-home-search button:hover,
.awdt-home-cta .awdt-action-primary:hover,
.awdt-auth-card .awd-btn-primary:hover,
.awdt-auth-panel .awd-btn-primary:hover,
body .awd-btn-primary:hover{background:var(--awdt-primary-dark)!important;border-color:var(--awdt-primary-dark)!important;color:#fff!important}


/* ================================================================
   v0.7.0 — AsiaWeb Theme Design System
   All current and future templates should consume these tokens.
   ================================================================ */
:root{
  --awdt-header-bg:#ffffff;
  --awdt-header-text:#172033;
  --awdt-header-hover-bg:#eef5fb;
  --awdt-hero-start:#0b2949;
  --awdt-hero-end:#159f9b;
  --awdt-hero-text:#ffffff;
  --awdt-hero-card-bg:#ffffff;
  --awdt-cta-start:#0b2949;
  --awdt-cta-end:#0f5fa8;
  --awdt-cta-text:#ffffff;
  --awdt-footer-bg:#101827;
  --awdt-footer-heading:#ffffff;
  --awdt-footer-text:#dbe4ef;
  --awdt-footer-link:#dbe4ef;
  --awdt-footer-link-hover:#ffffff;
  --awdt-login-start:#0b1727;
  --awdt-login-end:#123c61;
  --awdt-login-text:#ffffff;
  --awdt-login-card-bg:#ffffff;
  --awdt-mobile-bg:#ffffff;
  --awdt-mobile-text:#172033;
  --awdt-mobile-hover:#eef5fb;
  --awdt-directory-card-bg:#ffffff;
  --awdt-directory-panel-bg:#ffffff;
  --awdt-directory-badge:#0f5fa8;
  --awdt-button-primary-bg:#0f5fa8;
  --awdt-button-primary-text:#ffffff;
  --awdt-button-secondary-bg:#ffffff;
  --awdt-button-secondary-text:#172033;
}

/* Global */
body,.awdt-home,body.awdt-member-page,body.awdt-member-page .awdt-site-main{background:var(--awdt-bg);color:var(--awdt-text)}
.awdt-entry,.awdt-post-card,.awdt-category-card,.awdt-listing-card{background:var(--awdt-surface);border-color:var(--awdt-border)}
.awdt-post-card p,.awdt-section-head p,.awdt-category-card small,.awdt-listing-body p,.awdt-empty-section{color:var(--awdt-muted)}

/* Header */
.awdt-header{background:var(--awdt-header-bg);border-bottom-color:var(--awdt-border)}
.awdt-brand-text,.awdt-menu a{color:var(--awdt-header-text)}
.awdt-menu a:hover,.awdt-menu .current-menu-item>a{background:var(--awdt-header-hover-bg);color:var(--awdt-primary)}
.awdt-action{background:var(--awdt-button-secondary-bg);color:var(--awdt-button-secondary-text);border-color:var(--awdt-border)}
.awdt-action-primary,body .awd-btn-primary{background:var(--awdt-button-primary-bg);border-color:var(--awdt-button-primary-bg);color:var(--awdt-button-primary-text)}
.awdt-action-primary:hover,body .awd-btn-primary:hover{background:var(--awdt-primary-dark);border-color:var(--awdt-primary-dark);color:var(--awdt-button-primary-text)}

/* Homepage Hero */
.awdt-home-hero{background:linear-gradient(135deg,var(--awdt-hero-start) 0%,var(--awdt-primary) 56%,var(--awdt-hero-end) 100%);color:var(--awdt-hero-text)}
.awdt-home-hero-inner>div>p{color:var(--awdt-hero-text);opacity:.88}
.awdt-home-hero-card{background:var(--awdt-hero-card-bg);color:var(--awdt-text)}
.awdt-home-hero-card p,.awdt-home-stat span{color:var(--awdt-muted)}
.awdt-home-stat{background:var(--awdt-surface);border-color:var(--awdt-border)}
.awdt-home-stat strong{color:var(--awdt-primary)}
.awdt-home-search{background:var(--awdt-surface)}
.awdt-home-search input{color:var(--awdt-text)}
.awdt-home-search button{background:var(--awdt-button-primary-bg);color:var(--awdt-button-primary-text)}
.awdt-home-search button:hover{background:var(--awdt-primary-dark)}

/* CTA */
.awdt-home-cta-box{background:linear-gradient(135deg,var(--awdt-cta-start),var(--awdt-cta-end));color:var(--awdt-cta-text)}
.awdt-home-cta-box p{color:var(--awdt-cta-text);opacity:.88}

/* Footer */
.awdt-footer{background:var(--awdt-footer-bg);color:var(--awdt-footer-text)}
.awdt-footer h2,.awdt-footer h3{color:var(--awdt-footer-heading)}
.awdt-footer a{color:var(--awdt-footer-link)}
.awdt-footer a:hover{color:var(--awdt-footer-link-hover)}
.awdt-footer-bottom{color:var(--awdt-footer-text)}

/* Login / member */
.awdt-auth{background:linear-gradient(135deg,var(--awdt-login-start) 0%,var(--awdt-login-end) 48%,var(--awdt-bg) 48%,var(--awdt-bg) 100%)}
.awdt-auth-copy,.awdt-auth-showcase{color:var(--awdt-login-text)}
.awdt-auth-card{background:var(--awdt-login-card-bg);border-color:var(--awdt-border)}
.awdt-auth-card-head h2{color:var(--awdt-text)}
.awdt-auth-card-head p{color:var(--awdt-muted)}

/* Mobile menu */
@media (max-width:900px){
  .awdt-nav{background:var(--awdt-mobile-bg)}
  .awdt-mobile-panel-head,.awdt-mobile-panel-actions{background:var(--awdt-mobile-bg)}
  .awdt-mobile-panel-brand,.awdt-mobile-close,.awdt-menu a{color:var(--awdt-mobile-text)}
  .awdt-menu a:hover,.awdt-menu .current-menu-item>a{background:var(--awdt-mobile-hover)}
}

/* Directory integration */
body .awd-search-panel,body .awd-panel,body .awd-account-card,body .awd-form-section{background:var(--awdt-directory-panel-bg)}
body .awd-card{background:var(--awdt-directory-card-bg)}
.awdt-listing-category,.awdt-category-icon{color:var(--awdt-directory-badge)}
.awdt-category-icon{background:color-mix(in srgb,var(--awdt-directory-badge) 10%,var(--awdt-surface))}
.awdt-listing-body h3 a,.awdt-category-card{color:var(--awdt-text)}


/* v0.7.0 compatibility bridge: legacy templates now resolve through tokens. */
.awdt-home-section.is-white{background:var(--awdt-surface)}
.awdt-system-page{background:var(--awdt-bg)}
.awdt-page-hero{background:linear-gradient(135deg,var(--awdt-hero-start),var(--awdt-primary),var(--awdt-hero-end));color:var(--awdt-hero-text)}
.awdt-page-hero h1,.awdt-page-hero p{color:var(--awdt-hero-text)}
.awdt-system-content > .awd-directory,
.awdt-system-content > .awd-submit-listing,
.awdt-system-content > .awd-my-listings{background:var(--awdt-directory-panel-bg);border-color:var(--awdt-border)}

.awdt-auth-v2{background:var(--awdt-bg)}
.awdt-auth-showcase{background:linear-gradient(145deg,var(--awdt-login-start),var(--awdt-login-end));color:var(--awdt-login-text)}
.awdt-auth-showcase h1,.awdt-auth-showcase h1 span,.awdt-auth-showcase-content>p,.awdt-auth-feature-item strong,.awdt-auth-feature-item small,.awdt-auth-quote,.awdt-auth-script{color:var(--awdt-login-text)}
.awdt-auth-panel-card{background:var(--awdt-login-card-bg);border-color:var(--awdt-border)}
.awdt-auth-panel-card .awdt-auth-card-head h2,.awdt-auth-panel-card .awd-field label{color:var(--awdt-text)}
.awdt-auth-panel-card .awdt-auth-card-head p,.awdt-auth-divider{color:var(--awdt-muted)}
.awdt-auth-panel-card input[type=text],.awdt-auth-panel-card input[type=email],.awdt-auth-panel-card input[type=password],.awdt-auth-panel-card select,.awdt-auth-panel-card textarea{background:var(--awdt-surface);color:var(--awdt-text);border-color:var(--awdt-border)}
.awdt-auth-panel-card .awd-btn-primary{background:var(--awdt-button-primary-bg)!important;color:var(--awdt-button-primary-text)!important}
.awdt-auth-secondary-btn{background:var(--awdt-button-secondary-bg);color:var(--awdt-button-secondary-text);border-color:var(--awdt-border)}

body .awd-btn-primary{background:var(--awdt-button-primary-bg)!important;border-color:var(--awdt-button-primary-bg)!important;color:var(--awdt-button-primary-text)!important}
body .awd-btn-primary:hover{background:var(--awdt-primary-dark)!important;border-color:var(--awdt-primary-dark)!important;color:var(--awdt-button-primary-text)!important}
.awdt-home-cta .awdt-action-primary{background:var(--awdt-button-primary-bg);border-color:var(--awdt-button-primary-bg);color:var(--awdt-button-primary-text)}
.awdt-home-cta .awdt-action-primary:hover{background:var(--awdt-primary-dark);border-color:var(--awdt-primary-dark)}
.navigation.pagination .page-numbers{background:var(--awdt-surface);border-color:var(--awdt-border);color:var(--awdt-text)}
body.awdt-directory-ready .awd-search-panel{background:var(--awdt-directory-panel-bg);border-color:var(--awdt-border)}


/* v0.7.1 — Footer Design Token hotfix.
   Force every footer layer to consume the central footer token. */
.awdt-footer{
  background-color:var(--awdt-footer-bg)!important;
  background-image:none!important;
  color:var(--awdt-footer-text)!important;
}
.awdt-footer-main,
.awdt-footer-bottom{
  background:transparent!important;
}
.awdt-footer h2,
.awdt-footer h3{color:var(--awdt-footer-heading)!important}
.awdt-footer p,
.awdt-footer-bottom{color:var(--awdt-footer-text)!important}
.awdt-footer a{color:var(--awdt-footer-link)!important}
.awdt-footer a:hover{color:var(--awdt-footer-link-hover)!important}


/* v0.7.2 — Footer rendering hardening.
   The footer background is driven only by the Design System token. */
html body footer.awdt-footer{
  background:var(--awdt-footer-bg)!important;
  background-color:var(--awdt-footer-bg)!important;
}
html body footer.awdt-footer .awdt-footer-main,
html body footer.awdt-footer .awdt-footer-bottom{
  background-color:transparent!important;
}


/* ================================================================
   v0.8.0 — Template Engine Foundation
   Template presets alter layout/presentation while reusing Design System.
   ================================================================ */
body.awdt-template-classic .awdt-home-hero{padding:58px 0 52px}
body.awdt-template-classic .awdt-home-hero-inner{grid-template-columns:1fr;gap:28px;max-width:980px}
body.awdt-template-classic .awdt-home-hero h1{font-size:clamp(38px,5vw,58px);max-width:900px}
body.awdt-template-classic .awdt-home-hero-card{display:none}
body.awdt-template-classic .awdt-home-search{max-width:900px}
body.awdt-template-classic .awdt-home-section{padding:52px 0}
body.awdt-template-classic .awdt-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.awdt-template-classic .awdt-listing-card{border-radius:12px;box-shadow:none}
body.awdt-template-classic .awdt-home-cta-box{border-radius:14px}

body.awdt-template-corporate .awdt-home-hero{padding:96px 0 88px}
body.awdt-template-corporate .awdt-home-hero-inner{grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr)}
body.awdt-template-corporate .awdt-home-kicker{text-transform:uppercase;letter-spacing:.08em}
body.awdt-template-corporate .awdt-home-hero h1{font-size:clamp(44px,6vw,74px)}
body.awdt-template-corporate .awdt-home-hero-card{border-radius:10px;box-shadow:0 18px 45px rgba(2,6,23,.18)}
body.awdt-template-corporate .awdt-home-section{padding:76px 0}
body.awdt-template-corporate .awdt-category-card,
body.awdt-template-corporate .awdt-listing-card{border-radius:10px}
body.awdt-template-corporate .awdt-section-head h2{letter-spacing:-.025em}
body.awdt-template-corporate .awdt-home-cta-box{border-radius:10px;padding:48px}

@media(max-width:900px){
 body.awdt-template-classic .awdt-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.awdt-template-corporate .awdt-home-hero-inner{grid-template-columns:1fr}
}
@media(max-width:600px){body.awdt-template-classic .awdt-category-grid{grid-template-columns:1fr}}


/* ================================================================
   v0.8.1 — Corporate Template structural identity
   Corporate is intentionally a different layout, not merely a CSS skin.
   ================================================================ */
body.awdt-template-corporate .awdt-corporate-hero{
  padding:0;
  background:linear-gradient(110deg,var(--awdt-hero-start) 0%,var(--awdt-hero-start) 54%,var(--awdt-hero-end) 100%);
}
body.awdt-template-corporate .awdt-corporate-hero::before{
  background:linear-gradient(90deg,transparent 0 56%,rgba(255,255,255,.07) 56% 100%);
}
.awdt-corporate-hero-shell{
  position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
  gap:72px;align-items:stretch;min-height:560px
}
.awdt-corporate-hero-copy{display:flex;flex-direction:column;justify-content:center;padding:86px 0}
body.awdt-template-corporate .awdt-corporate-hero h1{
  max-width:850px;margin:18px 0 18px;font-size:clamp(46px,6.2vw,76px);line-height:1.02;letter-spacing:-.045em
}
body.awdt-template-corporate .awdt-corporate-hero-copy>p{
  max-width:720px;margin:0 0 30px;font-size:18px;color:var(--awdt-hero-text);opacity:.82
}
.awdt-corporate-search{max-width:720px;border-radius:7px;padding:7px}
.awdt-corporate-search button{border-radius:5px}
.awdt-corporate-panel{
  align-self:stretch;display:flex;flex-direction:column;justify-content:center;
  margin-right:0;padding:58px 42px;background:var(--awdt-hero-card-bg);color:var(--awdt-text);
  border-radius:0;box-shadow:none;border-left:1px solid rgba(255,255,255,.16)
}
.awdt-corporate-panel-label{font-size:11px;font-weight:900;letter-spacing:.16em;color:var(--awdt-primary)}
.awdt-corporate-panel h2{font-size:30px;line-height:1.2;margin:14px 0 10px}
.awdt-corporate-panel>p{margin:0 0 28px;color:var(--awdt-muted);font-size:14px}
.awdt-corporate-panel-metrics{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--awdt-border);border-bottom:1px solid var(--awdt-border)}
.awdt-corporate-panel-metrics>div{padding:22px 0}
.awdt-corporate-panel-metrics>div+div{padding-left:24px;border-left:1px solid var(--awdt-border)}
.awdt-corporate-panel-metrics strong{display:block;font-size:30px;color:var(--awdt-primary)}
.awdt-corporate-panel-metrics span{display:block;margin-top:2px;font-size:12px;color:var(--awdt-muted)}
.awdt-corporate-panel-action{margin-top:26px;font-weight:850}
.awdt-corporate-trust{background:var(--awdt-surface);border-bottom:1px solid var(--awdt-border)}
.awdt-corporate-trust-grid{display:grid;grid-template-columns:1.7fr repeat(3,.7fr);align-items:center;min-height:112px}
.awdt-corporate-trust-intro{padding-right:32px}
.awdt-corporate-trust-intro span{display:block;font-size:10px;letter-spacing:.16em;font-weight:900;color:var(--awdt-primary)}
.awdt-corporate-trust-intro strong{display:block;margin-top:5px;font-size:17px}
.awdt-corporate-trust-item{padding:18px 26px;border-left:1px solid var(--awdt-border)}
.awdt-corporate-trust-item strong{display:block;font-size:25px;color:var(--awdt-primary)}
.awdt-corporate-trust-item span{display:block;font-size:12px;color:var(--awdt-muted)}
body.awdt-template-corporate .awdt-home-section{padding:82px 0}
body.awdt-template-corporate .awdt-home-section .awdt-section-head{
  align-items:center;padding-bottom:22px;border-bottom:1px solid var(--awdt-border);margin-bottom:30px
}
body.awdt-template-corporate .awdt-section-head h2{font-size:clamp(30px,3.5vw,44px);letter-spacing:-.035em}
body.awdt-template-corporate .awdt-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body.awdt-template-corporate .awdt-listing-card{display:grid;grid-template-columns:42% 58%;border-radius:6px;box-shadow:none}
body.awdt-template-corporate .awdt-listing-media{height:100%;aspect-ratio:auto;min-height:220px}
body.awdt-template-corporate .awdt-listing-body{padding:24px}
body.awdt-template-corporate .awdt-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.awdt-template-corporate .awdt-category-card{
  border-radius:4px;box-shadow:none;padding:18px 20px;border-left:4px solid var(--awdt-primary)
}
body.awdt-template-corporate .awdt-category-icon{
  width:38px;height:38px;flex-basis:38px;border-radius:4px
}
body.awdt-template-corporate .awdt-home-cta-box{
  border-radius:4px;padding:48px 52px;background:linear-gradient(100deg,var(--awdt-cta-start),var(--awdt-cta-end))
}

@media(max-width:980px){
  .awdt-corporate-hero-shell{grid-template-columns:1fr;gap:0;min-height:auto}
  .awdt-corporate-hero-copy{padding:66px 0 48px}
  .awdt-corporate-panel{margin-bottom:48px;border-left:0;border-radius:8px;padding:34px}
  .awdt-corporate-trust-grid{grid-template-columns:1fr 1fr}
  .awdt-corporate-trust-intro{grid-column:1/-1;padding:22px 0;border-bottom:1px solid var(--awdt-border)}
  .awdt-corporate-trust-item{border-left:0;border-right:1px solid var(--awdt-border)}
  body.awdt-template-corporate .awdt-listing-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  body.awdt-template-corporate .awdt-corporate-hero h1{font-size:42px}
  .awdt-corporate-panel{padding:28px 22px}
  .awdt-corporate-trust-grid{grid-template-columns:1fr}
  .awdt-corporate-trust-item{border-right:0;border-bottom:1px solid var(--awdt-border);padding:16px 0}
  body.awdt-template-corporate .awdt-category-grid{grid-template-columns:1fr}
  body.awdt-template-corporate .awdt-listing-card{grid-template-columns:1fr}
  body.awdt-template-corporate .awdt-listing-media{min-height:190px;aspect-ratio:16/9}
}


/* ================================================================
   v0.8.2 — Classic Template structural identity
   Classic prioritizes fast search, dense information and familiar
   directory presentation. It deliberately avoids Modern card-heavy UI.
   ================================================================ */
body.awdt-template-classic .awdt-header{box-shadow:none}
body.awdt-template-classic .awdt-header-inner{min-height:70px}
.awdt-classic-hero{
  padding:52px 0 0;background:var(--awdt-surface);color:var(--awdt-text);
  border-bottom:1px solid var(--awdt-border)
}
.awdt-classic-hero-copy{max-width:900px}
.awdt-classic-hero .awdt-home-kicker{
  background:transparent;padding:0;color:var(--awdt-primary);letter-spacing:.12em
}
.awdt-classic-hero h1{
  max-width:900px;margin:10px 0 12px;font-size:clamp(36px,4.8vw,58px);
  line-height:1.08;letter-spacing:-.035em;color:var(--awdt-text)
}
.awdt-classic-hero-copy>p{max-width:760px;margin:0 0 26px;color:var(--awdt-muted);font-size:16px}
.awdt-classic-search{
  display:grid;grid-template-columns:1fr auto;max-width:900px;border:1px solid var(--awdt-border);
  background:var(--awdt-surface);border-radius:4px;overflow:hidden
}
.awdt-classic-search input{
  min-width:0;border:0;padding:17px 18px;background:transparent;color:var(--awdt-text);outline:0;font-size:16px
}
.awdt-classic-search button{
  border:0;border-left:1px solid var(--awdt-border);border-radius:0;padding:0 28px;
  background:var(--awdt-button-primary-bg);color:var(--awdt-button-primary-text);font-weight:850;cursor:pointer
}
.awdt-classic-search button:hover{background:var(--awdt-primary-dark)}
.awdt-classic-quick{
  display:flex;align-items:center;gap:0;margin-top:30px;border-top:1px solid var(--awdt-border)
}
.awdt-classic-quick>*{padding:15px 24px 15px 0;margin-right:24px;font-size:13px;color:var(--awdt-muted)}
.awdt-classic-quick>*+*{border-left:1px solid var(--awdt-border);padding-left:24px}
.awdt-classic-quick a{margin-left:auto;margin-right:0;padding-right:0;color:var(--awdt-primary);font-weight:800}
body.awdt-template-classic .awdt-home-section{padding:48px 0}
body.awdt-template-classic .awdt-home-section.is-white{background:var(--awdt-bg)}
body.awdt-template-classic .awdt-section-head{
  align-items:end;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid var(--awdt-border)
}
body.awdt-template-classic .awdt-section-head h2{
  font-size:28px;letter-spacing:-.02em
}
body.awdt-template-classic .awdt-section-head p{margin-top:4px}
body.awdt-template-classic .awdt-category-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--awdt-border);background:var(--awdt-surface)
}
body.awdt-template-classic .awdt-category-card{
  min-height:74px;border:0;border-bottom:1px solid var(--awdt-border);border-radius:0;
  padding:14px 18px;box-shadow:none;background:var(--awdt-surface)
}
body.awdt-template-classic .awdt-category-card:nth-child(odd){border-right:1px solid var(--awdt-border)}
body.awdt-template-classic .awdt-category-icon{
  width:40px;height:40px;flex-basis:40px;border-radius:3px
}
body.awdt-template-classic .awdt-listing-grid{
  grid-template-columns:1fr;gap:0;border:1px solid var(--awdt-border);background:var(--awdt-surface)
}
body.awdt-template-classic .awdt-listing-card{
  display:grid;grid-template-columns:180px 1fr;border:0;border-bottom:1px solid var(--awdt-border);
  border-radius:0;box-shadow:none;background:var(--awdt-directory-card-bg)
}
body.awdt-template-classic .awdt-listing-card:last-child{border-bottom:0}
body.awdt-template-classic .awdt-listing-media{
  height:132px;aspect-ratio:auto;border-right:1px solid var(--awdt-border)
}
body.awdt-template-classic .awdt-listing-body{padding:18px 20px}
body.awdt-template-classic .awdt-listing-body h3{font-size:19px;margin:4px 0 6px}
body.awdt-template-classic .awdt-listing-body p{margin:0;font-size:13px}
body.awdt-template-classic .awdt-listing-category{
  background:transparent;padding:0;border-radius:0;font-size:10px;letter-spacing:.08em
}
body.awdt-template-classic .awdt-empty-section{
  border-radius:3px;background:var(--awdt-surface)
}
body.awdt-template-classic .awdt-home-cta{padding-top:28px}
body.awdt-template-classic .awdt-home-cta-box{
  border-radius:4px;padding:34px 38px;box-shadow:none
}

@media(max-width:760px){
  .awdt-classic-hero{padding-top:38px}
  .awdt-classic-search{grid-template-columns:1fr}
  .awdt-classic-search button{min-height:48px;border-left:0;border-top:1px solid var(--awdt-border)}
  .awdt-classic-quick{flex-wrap:wrap}
  .awdt-classic-quick>*{padding:11px 14px 11px 0;margin-right:14px}
  .awdt-classic-quick>*+*{padding-left:14px}
  .awdt-classic-quick a{width:100%;margin-left:0;border-left:0;padding-left:0}
  body.awdt-template-classic .awdt-category-grid{grid-template-columns:1fr}
  body.awdt-template-classic .awdt-category-card:nth-child(odd){border-right:0}
  body.awdt-template-classic .awdt-listing-card{grid-template-columns:118px 1fr}
  body.awdt-template-classic .awdt-listing-media{height:100%;min-height:112px}
}
@media(max-width:480px){
  body.awdt-template-classic .awdt-listing-card{grid-template-columns:1fr}
  body.awdt-template-classic .awdt-listing-media{height:auto;aspect-ratio:16/9;border-right:0}
}


/* ================================================================
   v0.9.0 — Template Polish & Responsive Standardization
   Shared quality layer across Modern / Classic / Corporate.
   ================================================================ */

/* Shared template rhythm */
.awdt-template-engine .awdt-home-section{scroll-margin-top:92px}
.awdt-template-engine .awdt-section-head h2{font-weight:850}
.awdt-template-engine .awdt-section-head p{max-width:720px}
.awdt-template-engine .awdt-listing-card,
.awdt-template-engine .awdt-category-card,
.awdt-template-engine .awdt-home-hero-card,
.awdt-template-engine .awdt-corporate-panel{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.awdt-template-engine .awdt-listing-card a:focus-visible,
.awdt-template-engine .awdt-category-card:focus-visible,
.awdt-template-engine .awdt-action:focus-visible,
.awdt-template-engine button:focus-visible,
.awdt-template-engine input:focus-visible{
  outline:3px solid color-mix(in srgb,var(--awdt-accent) 55%,transparent);
  outline-offset:2px
}

/* Modern polish */
body.awdt-template-modern .awdt-home-hero{padding:82px 0 72px}
body.awdt-template-modern .awdt-home-hero-inner{gap:52px}
body.awdt-template-modern .awdt-home-hero h1{max-width:760px}
body.awdt-template-modern .awdt-home-hero-card{border:1px solid color-mix(in srgb,var(--awdt-border) 70%,transparent)}
body.awdt-template-modern .awdt-category-card:hover,
body.awdt-template-modern .awdt-listing-card:hover{transform:translateY(-4px)}
body.awdt-template-modern .awdt-listing-body h3{min-height:54px}
body.awdt-template-modern .awdt-home-cta-box{overflow:hidden;position:relative}
body.awdt-template-modern .awdt-home-cta-box::after{
  content:"";position:absolute;width:220px;height:220px;border-radius:50%;
  right:-80px;top:-110px;background:rgba(255,255,255,.07);pointer-events:none
}

/* Classic polish */
body.awdt-template-classic .awdt-classic-hero{padding-top:48px}
body.awdt-template-classic .awdt-classic-quick{margin-top:26px}
body.awdt-template-classic .awdt-listing-card:hover{
  transform:none;background:color-mix(in srgb,var(--awdt-primary) 3%,var(--awdt-directory-card-bg))
}
body.awdt-template-classic .awdt-category-card:hover{
  transform:none;background:color-mix(in srgb,var(--awdt-primary) 3%,var(--awdt-surface))
}
body.awdt-template-classic .awdt-listing-body{display:flex;flex-direction:column;justify-content:center}
body.awdt-template-classic .awdt-section-more{font-size:13px}
body.awdt-template-classic .awdt-home-cta-box h2{font-size:clamp(26px,3.4vw,36px)}

/* Corporate polish */
body.awdt-template-corporate .awdt-corporate-hero-shell{min-height:530px}
body.awdt-template-corporate .awdt-corporate-hero-copy{padding:78px 0}
body.awdt-template-corporate .awdt-corporate-panel{padding:50px 40px}
body.awdt-template-corporate .awdt-corporate-panel h2{font-size:28px}
body.awdt-template-corporate .awdt-corporate-trust-grid{min-height:104px}
body.awdt-template-corporate .awdt-listing-card:hover{transform:translateY(-2px)}
body.awdt-template-corporate .awdt-category-card:hover{
  transform:translateY(-1px);border-color:var(--awdt-primary)
}

/* Tablet standardization */
@media (max-width:1024px){
  .awdt-template-engine .awdt-home-section{padding-left:0;padding-right:0}
  body.awdt-template-modern .awdt-home-hero-inner{gap:34px}
  body.awdt-template-modern .awdt-home-hero-card{max-width:none}
  body.awdt-template-modern .awdt-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.awdt-template-modern .awdt-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.awdt-template-corporate .awdt-home-section{padding:66px 0}
  body.awdt-template-corporate .awdt-corporate-hero-copy{padding:62px 0 44px}
}

/* Mobile standardization */
@media (max-width:700px){
  .awdt-template-engine .awdt-section-head{gap:10px}
  .awdt-template-engine .awdt-section-head h2{font-size:30px}
  .awdt-template-engine .awdt-home-section{padding:44px 0}
  .awdt-template-engine .awdt-home-cta{padding:38px 0}
  .awdt-template-engine .awdt-home-cta-box{padding:26px 20px}
  .awdt-template-engine .awdt-home-cta-actions{width:100%}
  .awdt-template-engine .awdt-home-cta-actions .awdt-action{flex:1;min-width:130px}

  body.awdt-template-modern .awdt-home-hero{padding:50px 0 46px}
  body.awdt-template-modern .awdt-home-hero h1{font-size:40px}
  body.awdt-template-modern .awdt-home-hero-card{padding:22px}
  body.awdt-template-modern .awdt-listing-grid,
  body.awdt-template-modern .awdt-category-grid{grid-template-columns:1fr}
  body.awdt-template-modern .awdt-listing-body h3{min-height:auto}

  body.awdt-template-classic .awdt-classic-hero h1{font-size:38px}
  body.awdt-template-classic .awdt-classic-hero-copy>p{font-size:15px}
  body.awdt-template-classic .awdt-classic-quick{margin-top:22px}

  body.awdt-template-corporate .awdt-corporate-hero-copy{padding:50px 0 38px}
  body.awdt-template-corporate .awdt-corporate-panel{margin-bottom:34px}
  body.awdt-template-corporate .awdt-home-section{padding:52px 0}
  body.awdt-template-corporate .awdt-home-cta-box{padding:30px 22px}
}

/* Very small screens */
@media (max-width:420px){
  .awdt-template-engine .awdt-container{width:min(calc(100% - 18px),var(--awdt-container))}
  .awdt-template-engine .awdt-home-search{padding:7px}
  .awdt-template-engine .awdt-home-search button{min-width:0}
  .awdt-template-engine .awdt-home-cta-actions{display:grid;grid-template-columns:1fr;width:100%}
  .awdt-template-engine .awdt-home-cta-actions .awdt-action{width:100%}
}

/* v0.9.1 Branding integration */
.awdt-footer-contact{margin-top:16px;display:grid;gap:6px}
.awdt-footer-contact-row{margin:0;line-height:1.65}
.awdt-footer-contact-row strong{color:var(--awdt-footer-heading,#fff)}
.awdt-footer-contact-row a{color:inherit;text-decoration:none}
.awdt-footer-contact-row a:hover{text-decoration:underline}

/* v0.9.2 Footer cleanup */
.awdt-footer-main{align-items:start}
.awdt-footer-main h2{margin:0 0 10px}
.awdt-footer-contact{margin-top:8px;display:grid;gap:2px}
.awdt-footer-contact-row{margin:0 !important;line-height:1.45}
.awdt-footer-contact-row + .awdt-footer-contact-row{margin-top:0 !important}
.awdt-footer-contact-row strong{margin-right:4px}
.awdt-footer-bottom{margin-top:18px}

/* v0.9.4 Footer Menu polish */
.awdt-footer-menu li{margin:0;padding:0;width:100%}
.awdt-footer-menu a{display:inline-block;line-height:1.45}


/* ================================================================
   v0.9.5 — Corporate Professional Polish + Dark Contrast Audit
   ================================================================ */

/* Corporate: remove the old full-height visual split/stripe and use a
   contained executive information card instead. */
body.awdt-template-corporate .awdt-corporate-hero{
  position:relative;
  overflow:hidden;
}
body.awdt-template-corporate .awdt-corporate-hero::before{
  display:none;
}
body.awdt-template-corporate .awdt-corporate-hero-shell{
  grid-template-columns:minmax(0,1.22fr) minmax(330px,.78fr);
  gap:48px;
  min-height:540px;
}
body.awdt-template-corporate .awdt-corporate-hero-copy{
  min-width:0;
  padding:72px 0;
}
body.awdt-template-corporate .awdt-corporate-hero-copy .awdt-home-kicker{
  width:max-content;
  max-width:100%;
}
body.awdt-template-corporate .awdt-corporate-search{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
body.awdt-template-corporate .awdt-corporate-panel{
  align-self:center;
  margin:42px 0;
  padding:38px 34px;
  border:1px solid color-mix(in srgb,var(--awdt-border) 78%,transparent);
  border-radius:18px;
  background:color-mix(in srgb,var(--awdt-hero-card-bg) 94%,transparent);
  box-shadow:0 24px 60px rgba(2,6,23,.18);
  backdrop-filter:blur(8px);
}
body.awdt-template-corporate .awdt-corporate-panel h2{
  color:var(--awdt-text);
}
body.awdt-template-corporate .awdt-corporate-panel-metrics{
  border-color:var(--awdt-border);
}
body.awdt-template-corporate .awdt-corporate-panel-metrics>div+div{
  border-color:var(--awdt-border);
}
body.awdt-template-corporate .awdt-corporate-trust{
  border-top:1px solid var(--awdt-border);
}
body.awdt-template-corporate .awdt-corporate-trust-grid{
  min-height:96px;
}
body.awdt-template-corporate .awdt-corporate-trust-intro{
  padding-top:18px;
  padding-bottom:18px;
}
body.awdt-template-corporate .awdt-corporate-trust-item{
  padding-top:18px;
  padding-bottom:18px;
}
body.awdt-template-corporate .awdt-home-section .awdt-section-head{
  border-bottom-color:color-mix(in srgb,var(--awdt-border) 78%,transparent);
}
body.awdt-template-corporate .awdt-listing-card{
  border:1px solid var(--awdt-border);
}
body.awdt-template-corporate .awdt-category-card{
  border-top:1px solid var(--awdt-border);
  border-right:1px solid var(--awdt-border);
  border-bottom:1px solid var(--awdt-border);
}

/* Standard/Core Design-System bridge.
   Standard owns behavior; Theme supplies the presentation tokens. */
body.awdt-directory-ready .awd-directory-wrap,
body.awdt-directory-ready .awd-page-shell,
body.awdt-directory-ready .awd-single-page,
body.awdt-directory-ready .awd-account-shell,
body.awdt-directory-ready .awd-submission-wrap,
body.awdt-directory-ready .awd-my-listings{
  --awd-accent:var(--awdt-primary);
  --awd-accent-strong:var(--awdt-primary-dark);
  --awd-accent-soft:color-mix(in srgb,var(--awdt-primary) 14%,var(--awdt-surface));
  --awd-text:var(--awdt-text);
  --awd-muted:var(--awdt-muted);
  --awd-border:var(--awdt-border);
  --awd-surface:var(--awdt-directory-card-bg);
  --awd-soft:var(--awdt-bg);
}

/* Directory cards and typography */
body.awdt-directory-ready .awd-card,
body.awdt-directory-ready .awd-search-panel,
body.awdt-directory-ready .awd-panel,
body.awdt-directory-ready .awd-account-card,
body.awdt-directory-ready .awd-form-section,
body.awdt-directory-ready .awd-owner-list-item,
body.awdt-directory-ready .awd-ad-slot{
  background:var(--awdt-directory-card-bg);
  border-color:var(--awdt-border);
  color:var(--awdt-text);
}
body.awdt-directory-ready .awd-card-title,
body.awdt-directory-ready .awd-card-title a,
body.awdt-directory-ready .awd-panel h2,
body.awdt-directory-ready .awd-form-section h2,
body.awdt-directory-ready .awd-account-card h2,
body.awdt-directory-ready .awd-owner-list-item h3,
body.awdt-directory-ready .awd-single-summary h1,
body.awdt-directory-ready .awd-empty strong{
  color:var(--awdt-text)!important;
}
body.awdt-directory-ready .awd-card-location,
body.awdt-directory-ready .awd-card-excerpt,
body.awdt-directory-ready .awd-single-address,
body.awdt-directory-ready .awd-single-excerpt,
body.awdt-directory-ready .awd-account-head p,
body.awdt-directory-ready .awd-field-help,
body.awdt-directory-ready .awd-page-count,
body.awdt-directory-ready .awd-result-toolbar{
  color:var(--awdt-muted)!important;
}
body.awdt-directory-ready .awd-card-footer{
  border-top-color:var(--awdt-border);
}
body.awdt-directory-ready .awd-card-type,
body.awdt-directory-ready .awd-card-footer a,
body.awdt-directory-ready .awd-breadcrumb a,
body.awdt-directory-ready .awd-contact-row a{
  color:var(--awdt-primary)!important;
}

/* Forms / filters */
body.awdt-directory-ready .awd-field label{
  color:var(--awdt-text)!important;
}
body.awdt-directory-ready .awd-directory-wrap input,
body.awdt-directory-ready .awd-directory-wrap select,
body.awdt-directory-ready .awd-directory-wrap textarea,
body.awdt-directory-ready .awd-submission-wrap input,
body.awdt-directory-ready .awd-submission-wrap select,
body.awdt-directory-ready .awd-submission-wrap textarea,
body.awdt-directory-ready .awd-account-shell input,
body.awdt-directory-ready .awd-account-shell select,
body.awdt-directory-ready .awd-account-shell textarea{
  background:var(--awdt-surface);
  color:var(--awdt-text);
  border-color:var(--awdt-border);
}
body.awdt-directory-ready input::placeholder,
body.awdt-directory-ready textarea::placeholder{
  color:var(--awdt-muted);
  opacity:.88;
}

/* View switch, ghost buttons and pagination must remain readable in dark mode. */
body.awdt-directory-ready .awd-view-switch,
body.awdt-directory-ready .awd-account-nav{
  background:color-mix(in srgb,var(--awdt-surface) 86%,var(--awdt-bg));
  border-color:var(--awdt-border);
}
body.awdt-directory-ready .awd-view-switch a,
body.awdt-directory-ready .awd-account-nav a{
  color:var(--awdt-muted);
}
body.awdt-directory-ready .awd-view-switch a.is-active{
  background:var(--awdt-surface);
  color:var(--awdt-primary);
}
body.awdt-directory-ready .awd-btn-ghost,
body.awdt-directory-ready .awd-pagination a{
  background:var(--awdt-surface)!important;
  border-color:var(--awdt-border)!important;
  color:var(--awdt-text)!important;
}
body.awdt-directory-ready .awd-btn-ghost:hover,
body.awdt-directory-ready .awd-pagination a:hover{
  background:color-mix(in srgb,var(--awdt-primary) 10%,var(--awdt-surface))!important;
  border-color:var(--awdt-primary)!important;
}
body.awdt-directory-ready .awd-pagination a.is-current{
  background:var(--awdt-primary)!important;
  border-color:var(--awdt-primary)!important;
  color:var(--awdt-button-primary-text)!important;
}

/* System pages must also inherit the active Design System in Dark mode. */
body.awdt-template-engine .awdt-system-page{
  background:var(--awdt-bg);
}
body.awdt-template-engine .awdt-system-content{
  color:var(--awdt-text);
}
body.awdt-template-engine .awdt-system-content > .awd-directory,
body.awdt-template-engine .awdt-system-content > .awd-submit-listing,
body.awdt-template-engine .awdt-system-content > .awd-my-listings{
  background:var(--awdt-directory-panel-bg);
  border-color:var(--awdt-border);
}

/* Generic Theme content contrast audit */
body.awdt-template-engine .awdt-entry,
body.awdt-template-engine .awdt-post-card{
  background:var(--awdt-surface);
  border-color:var(--awdt-border);
  color:var(--awdt-text);
}
body.awdt-template-engine .awdt-post-card h2 a,
body.awdt-template-engine .awdt-page-title{
  color:var(--awdt-text);
}

/* Responsive Corporate refinements */
@media(max-width:980px){
  body.awdt-template-corporate .awdt-corporate-hero-shell{
    grid-template-columns:1fr;
    gap:0;
  }
  body.awdt-template-corporate .awdt-corporate-panel{
    margin:0 0 42px;
    border-radius:16px;
  }
}
@media(max-width:600px){
  body.awdt-template-corporate .awdt-corporate-hero-copy{
    padding:46px 0 34px;
  }
  body.awdt-template-corporate .awdt-corporate-panel{
    padding:26px 22px;
    margin-bottom:30px;
  }
}


/* ================================================================
   v1.0.0 — Business Module Template Engine Foundation
   ================================================================ */
body.awdt-business-module{
  --awdt-business-radius:14px;
  --awdt-business-gap:24px;
  --awdt-business-panel:var(--awdt-surface);
  --awdt-business-border:var(--awdt-border);
  --awdt-business-text:var(--awdt-text);
  --awdt-business-muted:var(--awdt-muted);
  --awdt-business-accent:var(--awdt-primary);
}
.awdt-business-module .awdt-business-block{
  background:var(--awdt-business-panel);
  border:1px solid var(--awdt-business-border);
  border-radius:var(--awdt-business-radius);
  color:var(--awdt-business-text);
}
.awdt-business-module .awdt-business-muted{color:var(--awdt-business-muted)}
.awdt-business-module .awdt-business-accent{color:var(--awdt-business-accent)}


/* ================================================================
   v1.0.1 — Homepage UX + Central Grid/List Presentation Control
   ================================================================ */

/* Footer Quick Links: keep vertical but remove unnecessary line gaps. */
.awdt-footer-menu{gap:1px}
.awdt-footer-menu li{line-height:1.3}
.awdt-footer-menu a{padding:2px 0;line-height:1.3}

/* Central listing layout. This overrides template defaults only when the
   resolved presentation setting says Grid/List. */
.awdt-listing-grid.awdt-listing-layout-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  border:0;
  background:transparent;
}
.awdt-listing-grid.awdt-listing-layout-grid .awdt-listing-card{
  display:block;
  border:1px solid var(--awdt-border);
  border-radius:var(--awdt-radius);
  overflow:hidden;
  box-shadow:0 8px 22px rgba(15,23,42,.05);
}
.awdt-listing-grid.awdt-listing-layout-grid .awdt-listing-media{
  height:auto;
  aspect-ratio:16/9;
  border-right:0;
}
.awdt-listing-grid.awdt-listing-layout-list{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  border:1px solid var(--awdt-border);
  background:var(--awdt-surface);
}
.awdt-listing-grid.awdt-listing-layout-list .awdt-listing-card{
  display:grid;
  grid-template-columns:180px 1fr;
  border:0;
  border-bottom:1px solid var(--awdt-border);
  border-radius:0;
  box-shadow:none;
  background:var(--awdt-directory-card-bg);
}
.awdt-listing-grid.awdt-listing-layout-list .awdt-listing-card:last-child{border-bottom:0}
.awdt-listing-grid.awdt-listing-layout-list .awdt-listing-media{
  height:132px;
  aspect-ratio:auto;
  border-right:1px solid var(--awdt-border);
}
.awdt-listing-grid.awdt-listing-layout-list .awdt-listing-body{
  padding:18px 20px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* Classic Hero: clearer hierarchy with Search as the primary focus. */
body.awdt-template-classic .awdt-classic-hero{
  padding:54px 0 42px;
  background:
    radial-gradient(circle at 88% 20%,color-mix(in srgb,var(--awdt-primary) 8%,transparent),transparent 30%),
    linear-gradient(180deg,var(--awdt-surface),color-mix(in srgb,var(--awdt-bg) 72%,var(--awdt-surface)));
  border-bottom:1px solid var(--awdt-border);
}
body.awdt-template-classic .awdt-classic-hero>.awdt-container{max-width:1040px}
body.awdt-template-classic .awdt-classic-hero-copy{max-width:800px}
body.awdt-template-classic .awdt-classic-hero h1{
  max-width:780px;
  margin-top:14px;
  margin-bottom:12px;
  line-height:1.08;
}
body.awdt-template-classic .awdt-classic-hero-copy>p{max-width:700px}
body.awdt-template-classic .awdt-classic-search{
  max-width:900px;
  margin-top:28px;
  background:var(--awdt-surface);
  border:2px solid color-mix(in srgb,var(--awdt-primary) 38%,var(--awdt-border));
  box-shadow:0 14px 34px rgba(15,23,42,.08);
}
body.awdt-template-classic .awdt-classic-search:focus-within{
  border-color:var(--awdt-primary);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--awdt-primary) 11%,transparent),0 14px 34px rgba(15,23,42,.08);
}
body.awdt-template-classic .awdt-classic-quick{
  max-width:900px;
  margin-top:18px;
  border-top:0;
  border-bottom:1px solid var(--awdt-border);
}

/* Grid/List responsive standard. */
@media(max-width:900px){
  .awdt-listing-grid.awdt-listing-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .awdt-listing-grid.awdt-listing-layout-list .awdt-listing-card{grid-template-columns:118px 1fr}
  .awdt-listing-grid.awdt-listing-layout-list .awdt-listing-media{height:100%;min-height:112px}
}
@media(max-width:600px){
  .awdt-listing-grid.awdt-listing-layout-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
  .awdt-listing-grid.awdt-listing-layout-list .awdt-listing-card{grid-template-columns:1fr}
  .awdt-listing-grid.awdt-listing-layout-list .awdt-listing-media{height:auto;aspect-ratio:16/9;border-right:0}
}


/* ================================================================
   v1.0.2 — Visible Homepage Grid/List Switch + Legacy Stat Migration
   ================================================================ */
.awdt-section-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  flex-wrap:wrap;
}
.awdt-layout-switch{
  display:inline-flex;
  align-items:center;
  gap:3px;
  padding:3px;
  border:1px solid var(--awdt-border);
  border-radius:10px;
  background:color-mix(in srgb,var(--awdt-surface) 92%,var(--awdt-bg));
}
.awdt-layout-switch a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:34px;
  padding:5px 10px;
  border-radius:7px;
  color:var(--awdt-muted);
  font-size:12px;
  font-weight:800;
  line-height:1;
}
.awdt-layout-switch a:hover{
  background:color-mix(in srgb,var(--awdt-primary) 8%,var(--awdt-surface));
  color:var(--awdt-primary);
}
.awdt-layout-switch a.is-active{
  background:var(--awdt-primary);
  color:var(--awdt-button-primary-text,#fff);
  box-shadow:0 3px 10px rgba(15,23,42,.10);
}
@media(max-width:700px){
  .awdt-section-head{align-items:flex-start}
  .awdt-section-actions{width:100%;justify-content:space-between}
}


/* ================================================================
   v1.0.3 — Unified Hero Image + Overlay System
   Modern / Classic / Corporate share controls, not layouts.
   ================================================================ */

/* Keep hero content above decorative/image layers. */
.awdt-home-hero.awdt-hero-has-image,
.awdt-classic-hero.awdt-hero-has-image{
  position:relative;
  isolation:isolate;
}
.awdt-home-hero.awdt-hero-has-image::before{
  z-index:-1;
}
.awdt-classic-hero.awdt-hero-has-image::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(0,0,0,.08));
  pointer-events:none;
}

/* Classic only changes its color treatment when an image is actually selected.
   Without an image it remains the clean/light Classic established in v1.0.1. */
body.awdt-template-classic .awdt-classic-hero.awdt-hero-has-image{
  color:var(--awdt-hero-text);
  border-bottom-color:color-mix(in srgb,var(--awdt-hero-text) 22%,transparent);
}
body.awdt-template-classic .awdt-classic-hero.awdt-hero-has-image .awdt-home-kicker{
  color:var(--awdt-hero-text);
  background:color-mix(in srgb,var(--awdt-hero-text) 10%,transparent);
  border-color:color-mix(in srgb,var(--awdt-hero-text) 28%,transparent);
}
body.awdt-template-classic .awdt-classic-hero.awdt-hero-has-image h1{
  color:var(--awdt-hero-text);
  text-shadow:0 3px 24px rgba(0,0,0,.22);
}
body.awdt-template-classic .awdt-classic-hero.awdt-hero-has-image .awdt-classic-hero-copy>p{
  color:color-mix(in srgb,var(--awdt-hero-text) 88%,transparent);
  text-shadow:0 2px 14px rgba(0,0,0,.18);
}
body.awdt-template-classic .awdt-classic-hero.awdt-hero-has-image .awdt-classic-quick{
  border-bottom-color:color-mix(in srgb,var(--awdt-hero-text) 26%,transparent);
  color:var(--awdt-hero-text);
}
body.awdt-template-classic .awdt-classic-hero.awdt-hero-has-image .awdt-classic-quick a{
  color:var(--awdt-hero-text);
}

/* Corporate keeps the executive panel readable regardless of chosen image. */
body.awdt-template-corporate .awdt-corporate-hero.awdt-hero-has-image .awdt-corporate-panel{
  background:color-mix(in srgb,var(--awdt-hero-card-bg) 94%,transparent);
  backdrop-filter:blur(10px);
}

/* Modern hero card stays presentation-safe over photography. */
body.awdt-template-modern .awdt-home-hero.awdt-hero-has-image .awdt-home-hero-card{
  backdrop-filter:blur(8px);
}

/* Responsive image treatment stays identical across template families. */
@media(max-width:700px){
  .awdt-home-hero.awdt-hero-has-image,
  .awdt-classic-hero.awdt-hero-has-image{
    background-position:center center;
  }
}


/* ================================================================
   v1.0.4 — Hero background specificity hotfix
   ================================================================ */
/*
 * Corporate and Classic have template-specific background declarations later
 * in the stylesheet. When a Hero image exists, the unified photo contract must
 * win without changing the no-image identity.
 */
body.awdt-template-classic .awdt-classic-hero.awdt-hero-has-image,
body.awdt-template-corporate .awdt-corporate-hero.awdt-hero-has-image,
body.awdt-template-modern .awdt-home-hero.awdt-hero-has-image{
  background-image:var(--awdt-hero-photo)!important;
  background-size:cover!important;
  background-position:var(--awdt-hero-photo-position,center center)!important;
  background-repeat:no-repeat!important;
}

/* Corporate photo should cover the complete hero canvas, while its contained
   executive panel stays readable. */
body.awdt-template-corporate .awdt-corporate-hero.awdt-hero-has-image{
  background-color:var(--awdt-hero-start);
}

/* Classic keeps the new clean layout structure; only background/contrast switch
   when a photo is selected. */
body.awdt-template-classic .awdt-classic-hero.awdt-hero-has-image{
  background-color:var(--awdt-hero-start);
}


/* ================================================================
   v1.0.5 — Corporate Template Identity Redesign
   Executive / B2B presentation. Modern remains consumer-friendly;
   Corporate now uses a distinctly different visual hierarchy.
   ================================================================ */

body.awdt-template-corporate .awdt-corporate-hero-v2{
  padding:0;
  min-height:auto;
  color:var(--awdt-hero-text);
}

/* Executive top zone */
body.awdt-template-corporate .awdt-corporate-executive{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:72px;
  align-items:center;
  min-height:520px;
  padding-top:72px;
  padding-bottom:54px;
}
.awdt-corporate-executive-copy{
  max-width:720px;
}
.awdt-corporate-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  color:var(--awdt-hero-text);
  font-size:12px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
  opacity:.78;
}
.awdt-corporate-eyebrow::before{
  content:"";
  width:34px;
  height:2px;
  background:var(--awdt-primary);
}
body.awdt-template-corporate .awdt-corporate-executive h1{
  max-width:720px;
  margin:24px 0 18px;
  font-size:clamp(42px,5.25vw,68px);
  line-height:1.04;
  letter-spacing:-.045em;
  color:var(--awdt-hero-text);
  text-wrap:balance;
}
body.awdt-template-corporate .awdt-corporate-executive-copy>p{
  max-width:650px;
  margin:0;
  color:color-mix(in srgb,var(--awdt-hero-text) 82%,transparent);
  font-size:17px;
  line-height:1.72;
}
.awdt-corporate-hero-actions{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  margin-top:32px;
}
.awdt-corporate-primary-link,
.awdt-corporate-secondary-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  font-weight:850;
}
.awdt-corporate-primary-link{
  padding:0 21px;
  background:var(--awdt-button-primary-bg);
  border:1px solid var(--awdt-button-primary-bg);
  border-radius:6px;
  color:var(--awdt-button-primary-text);
  box-shadow:0 10px 28px rgba(2,6,23,.14);
}
.awdt-corporate-primary-link:hover{
  background:var(--awdt-primary-dark);
  color:var(--awdt-button-primary-text);
}
.awdt-corporate-secondary-link{
  color:var(--awdt-hero-text);
  border-bottom:1px solid color-mix(in srgb,var(--awdt-hero-text) 44%,transparent);
}
.awdt-corporate-secondary-link:hover{
  color:var(--awdt-hero-text);
  border-bottom-color:var(--awdt-hero-text);
}

/* Executive dashboard: dense B2B information instead of Modern's rounded stat card */
.awdt-corporate-dashboard{
  position:relative;
  overflow:hidden;
  align-self:center;
  padding:32px 34px 28px;
  background:color-mix(in srgb,var(--awdt-hero-card-bg) 95%,transparent);
  border:1px solid color-mix(in srgb,var(--awdt-border) 88%,transparent);
  border-radius:10px;
  color:var(--awdt-text);
  box-shadow:0 28px 70px rgba(2,6,23,.22);
  backdrop-filter:blur(12px);
}
.awdt-corporate-dashboard::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,var(--awdt-primary),var(--awdt-accent));
}
.awdt-corporate-dashboard-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  padding-bottom:18px;
  border-bottom:1px solid var(--awdt-border);
}
.awdt-corporate-dashboard-head span{
  color:var(--awdt-primary);
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
}
.awdt-corporate-dashboard-head strong{
  color:var(--awdt-text);
  font-size:16px;
}
.awdt-corporate-dashboard-metrics{
  display:grid;
  grid-template-columns:repeat(3,1fr);
}
.awdt-corporate-dashboard-metrics>div{
  min-width:0;
  padding:24px 16px 22px 0;
}
.awdt-corporate-dashboard-metrics>div+div{
  padding-left:18px;
  border-left:1px solid var(--awdt-border);
}
.awdt-corporate-dashboard-metrics strong{
  display:block;
  color:var(--awdt-primary);
  font-size:30px;
  line-height:1;
  letter-spacing:-.035em;
}
.awdt-corporate-dashboard-metrics span{
  display:block;
  margin-top:8px;
  color:var(--awdt-muted);
  font-size:11px;
  line-height:1.4;
}
.awdt-corporate-dashboard-note{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  padding-top:17px;
  border-top:1px solid var(--awdt-border);
}
.awdt-corporate-dashboard-note span{
  color:var(--awdt-muted);
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}
.awdt-corporate-dashboard-note b{
  color:var(--awdt-text);
  font-size:12px;
  text-align:right;
}

/* Full-width search dock makes Corporate structurally different from Modern */
.awdt-corporate-search-dock{
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:230px 1fr;
  gap:30px;
  align-items:center;
  margin-bottom:-42px;
  padding:24px 26px;
  background:var(--awdt-surface);
  border:1px solid var(--awdt-border);
  border-radius:8px;
  box-shadow:0 20px 50px rgba(15,23,42,.16);
}
.awdt-corporate-search-copy span{
  display:block;
  color:var(--awdt-primary);
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
}
.awdt-corporate-search-copy strong{
  display:block;
  margin-top:4px;
  color:var(--awdt-text);
  font-size:16px;
}
.awdt-corporate-search-form{
  display:grid;
  grid-template-columns:1fr auto;
  min-width:0;
  border:1px solid var(--awdt-border);
  border-radius:5px;
  background:var(--awdt-surface);
  overflow:hidden;
}
.awdt-corporate-search-form input{
  min-width:0;
  height:52px;
  padding:0 16px;
  border:0;
  outline:0;
  background:transparent;
  color:var(--awdt-text);
}
.awdt-corporate-search-form input::placeholder{
  color:var(--awdt-muted);
}
.awdt-corporate-search-form button{
  min-width:150px;
  border:0;
  border-left:1px solid var(--awdt-border);
  background:var(--awdt-button-primary-bg);
  color:var(--awdt-button-primary-text);
  font-weight:850;
  cursor:pointer;
}
.awdt-corporate-search-form button:hover{
  background:var(--awdt-primary-dark);
}

/* Give the existing trust strip breathing room below the floating search dock. */
body.awdt-template-corporate .awdt-corporate-trust{
  padding-top:54px;
}

/* Photo mode remains compatible with the shared Hero Image/Overlay engine. */
body.awdt-template-corporate .awdt-corporate-hero-v2.awdt-hero-has-image .awdt-corporate-dashboard{
  background:color-mix(in srgb,var(--awdt-hero-card-bg) 93%,transparent);
}

/* Corporate content sections remain deliberately sharper than Modern. */
body.awdt-template-corporate .awdt-home-section .awdt-section-head{
  position:relative;
}
body.awdt-template-corporate .awdt-home-section .awdt-section-head::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-1px;
  width:54px;
  height:2px;
  background:var(--awdt-primary);
}

/* Responsive */
@media(max-width:1020px){
  body.awdt-template-corporate .awdt-corporate-executive{
    grid-template-columns:1fr;
    gap:34px;
    padding-top:60px;
    padding-bottom:50px;
  }
  .awdt-corporate-executive-copy{max-width:820px}
  .awdt-corporate-dashboard{max-width:760px}
  .awdt-corporate-search-dock{
    grid-template-columns:1fr;
    gap:14px;
    margin-bottom:-34px;
  }
  .awdt-corporate-search-copy{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }
}
@media(max-width:700px){
  body.awdt-template-corporate .awdt-corporate-executive{
    padding-top:46px;
    padding-bottom:38px;
  }
  body.awdt-template-corporate .awdt-corporate-executive h1{
    font-size:clamp(38px,11vw,52px);
  }
  .awdt-corporate-dashboard{
    padding:26px 22px 22px;
  }
  .awdt-corporate-dashboard-head{
    display:block;
  }
  .awdt-corporate-dashboard-head strong{
    display:block;
    margin-top:5px;
  }
  .awdt-corporate-dashboard-metrics{
    grid-template-columns:1fr;
  }
  .awdt-corporate-dashboard-metrics>div,
  .awdt-corporate-dashboard-metrics>div+div{
    padding:15px 0;
    border-left:0;
    border-bottom:1px solid var(--awdt-border);
  }
  .awdt-corporate-dashboard-metrics>div:last-child{border-bottom:0}
  .awdt-corporate-dashboard-note{
    display:block;
  }
  .awdt-corporate-dashboard-note b{
    display:block;
    margin-top:5px;
    text-align:left;
  }
  .awdt-corporate-search-dock{
    width:min(calc(100% - 22px),var(--awdt-container));
    padding:18px;
    margin-bottom:-28px;
  }
  .awdt-corporate-search-form{
    grid-template-columns:1fr;
  }
  .awdt-corporate-search-form button{
    min-height:48px;
    border-left:0;
    border-top:1px solid var(--awdt-border);
  }
  body.awdt-template-corporate .awdt-corporate-trust{
    padding-top:42px;
  }
}


/* ================================================================
   v1.0.6 — Corporate Search Dock / Responsive Polish
   ================================================================ */

/* Reserve real layout space below the hero so the floating search dock
   never gets visually clipped or overlapped by the trust strip. */
body.awdt-template-corporate .awdt-corporate-hero-v2{
  overflow:visible;
  padding-bottom:74px;
}
body.awdt-template-corporate .awdt-corporate-search-dock{
  margin-bottom:-38px;
  z-index:8;
}
body.awdt-template-corporate .awdt-corporate-trust{
  position:relative;
  z-index:2;
  padding-top:48px;
}

/* Keep the Search Dock visually complete even when its left label wraps. */
body.awdt-template-corporate .awdt-corporate-search-copy{
  min-width:0;
}
body.awdt-template-corporate .awdt-corporate-search-copy strong{
  line-height:1.35;
}
body.awdt-template-corporate .awdt-corporate-search-form{
  min-width:0;
}
body.awdt-template-corporate .awdt-corporate-search-form input{
  width:100%;
}

/* Improve spacing between the executive zone and the dock. */
body.awdt-template-corporate .awdt-corporate-executive{
  padding-bottom:66px;
}

/* Tablet */
@media(max-width:1020px){
  body.awdt-template-corporate .awdt-corporate-hero-v2{
    padding-bottom:62px;
  }
  body.awdt-template-corporate .awdt-corporate-search-dock{
    margin-bottom:-30px;
  }
  body.awdt-template-corporate .awdt-corporate-trust{
    padding-top:40px;
  }
}

/* Mobile: stop using a floating overlap entirely. A stacked dock is more
   reliable and professional on narrow screens. */
@media(max-width:700px){
  body.awdt-template-corporate .awdt-corporate-hero-v2{
    padding-bottom:20px;
  }
  body.awdt-template-corporate .awdt-corporate-executive{
    padding-bottom:28px;
  }
  body.awdt-template-corporate .awdt-corporate-search-dock{
    position:relative;
    margin-top:0;
    margin-bottom:0;
    z-index:4;
  }
  body.awdt-template-corporate .awdt-corporate-trust{
    padding-top:18px;
  }
}


/* ==========================================================
   AsiaWeb Directory Modern v2.0.0
   Presentation layer only. Core/Module data and logic remain external.
   ========================================================== */
:root{
  --awdt-container:1280px;
  --awdt-primary:#0b63ce;
  --awdt-primary-dark:#084b9e;
  --awdt-navy:#072b4d;
  --awdt-bg:#f7f9fc;
  --awdt-soft:#f3f7fb;
  --awdt-surface:#ffffff;
  --awdt-text:#0f2742;
  --awdt-muted:#68788a;
  --awdt-border:#e3eaf2;
  --awdt-radius:18px;
  --awdt-shadow:0 12px 34px rgba(23,54,87,.10);
}
html{scroll-behavior:smooth}
body{margin:0;background:var(--awdt-bg);color:var(--awdt-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Thai",Tahoma,Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{text-decoration:none}
.awdt-container{width:min(calc(100% - 48px),var(--awdt-container));margin-inline:auto}
.awdt-site-main{min-height:60vh}

/* Header */
.awdt-modern-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.98)!important;border-bottom:1px solid rgba(224,232,242,.9);box-shadow:0 3px 18px rgba(18,46,79,.05);backdrop-filter:blur(12px)}
.awdt-modern-header .awdt-header-inner{min-height:78px;display:flex;align-items:center;gap:28px}
.awdt-brand{display:flex;align-items:center;gap:10px;min-width:max-content;color:#0a2d55}
.awdt-brand .custom-logo{max-height:52px;width:auto}
.awdt-modern-logo-mark{width:38px;height:38px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);display:grid;place-items:center;background:linear-gradient(135deg,#1684ff,#0b56c5);color:transparent;box-shadow:0 8px 20px rgba(11,99,206,.25)}
.awdt-brand-text{display:flex;flex-direction:column;line-height:1.05;font-size:20px}
.awdt-brand-text b{font-weight:850}.awdt-brand-text small{font-size:11px;color:#7b8a9c;margin-top:5px;font-weight:500}
.awdt-nav{margin-left:auto}.awdt-menu{display:flex;align-items:center;gap:4px;margin:0;padding:0;list-style:none}.awdt-menu li{margin:0}.awdt-menu a{display:block;padding:28px 12px 25px;color:#20384f;font-weight:650;font-size:14px;border-bottom:3px solid transparent}.awdt-menu a:hover,.awdt-menu .current-menu-item>a{color:var(--awdt-primary);border-bottom-color:var(--awdt-primary)}
.awdt-header-actions{display:flex;align-items:center;gap:10px}.awdt-modern-login{color:#20384f;font-weight:700;font-size:14px;padding:11px 10px}.awdt-modern-submit,.awdt-modern-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#156ed8,#0a58c6);color:#fff!important;font-weight:800;border-radius:10px;padding:13px 20px;box-shadow:0 8px 18px rgba(11,99,206,.22);transition:.2s ease}.awdt-modern-submit:hover,.awdt-modern-primary:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(11,99,206,.28)}
.awdt-mobile-toggle{display:none}.awdt-mobile-panel-head,.awdt-mobile-panel-actions,.awdt-mobile-overlay{display:none}

/* Hero */
.awdt-modern-hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#082d50,#0d5b8d 58%,#1f7da6);min-height:420px;display:flex;align-items:center;background-size:cover;background-position:center}
.awdt-modern-hero:before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle at 85% 18%,rgba(255,255,255,.18),transparent 28%),linear-gradient(135deg,rgba(7,35,67,.86),rgba(8,66,112,.58) 58%,rgba(5,48,81,.72));z-index:0}
.awdt-modern-hero.awdt-hero-has-image:before{background:linear-gradient(90deg,rgba(4,28,55,.86) 0%,rgba(6,45,77,.65) 52%,rgba(4,31,57,.50) 100%)}
.awdt-modern-hero-shade{position:absolute;inset:auto 0 0;height:120px;background:linear-gradient(transparent,rgba(3,24,44,.48));z-index:0}
.awdt-modern-hero-inner{position:relative;z-index:2;padding:64px 0 34px;color:#fff}
.awdt-modern-hero-copy{max-width:780px}.awdt-modern-eyebrow{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.13);font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.awdt-modern-eyebrow.is-blue{background:#eaf3ff;color:#0b63ce}
.awdt-modern-hero h1{max-width:820px;margin:14px 0 10px;font-size:clamp(38px,4.4vw,64px);line-height:1.08;letter-spacing:-.035em;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.18)}
.awdt-modern-hero p{margin:0;font-size:18px;color:rgba(255,255,255,.9);font-weight:500}
.awdt-modern-search{margin-top:30px;width:min(950px,100%);background:#fff;border-radius:14px;padding:6px;display:grid;grid-template-columns:minmax(280px,1.55fr) minmax(220px,.8fr) 150px;align-items:stretch;box-shadow:0 16px 40px rgba(0,22,50,.25)}
.awdt-modern-search-field{display:flex;align-items:center;gap:10px;padding:0 14px;border-right:1px solid #e6edf4}.awdt-modern-search-field input,.awdt-modern-search-field select{width:100%;border:0!important;box-shadow:none!important;outline:0;background:transparent;color:#293d53;font:inherit;font-size:14px;min-height:48px}.awdt-modern-search-field select{cursor:pointer}.awdt-modern-search-icon{color:#0b63ce;font-size:20px;line-height:1}.awdt-modern-search-button{border:0;border-radius:10px;background:#0b63ce;color:#fff;font-weight:800;font-size:15px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}.awdt-modern-search-button:hover{background:#084fa8}
.awdt-modern-popular{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:15px;font-size:13px}.awdt-modern-popular strong{opacity:.9}.awdt-modern-popular a{color:#fff;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.12);padding:7px 12px;border-radius:999px;backdrop-filter:blur(4px)}.awdt-modern-popular a:hover{background:#fff;color:#0b63ce}

/* Sections */
.awdt-modern-section{padding:52px 0;background:#fff}.awdt-modern-section.is-soft{background:#f6f8fb}.awdt-modern-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.awdt-modern-section-head h2{margin:0;color:#0e2c4e;font-size:29px;line-height:1.2;letter-spacing:-.02em}.awdt-modern-section-head p{margin:6px 0 0;color:#738296;font-size:14px}.awdt-modern-more{color:#0b63ce;font-weight:800;font-size:14px;white-space:nowrap}.awdt-modern-crown{color:#ffb000}
.awdt-modern-category-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:10px}.awdt-modern-category-card{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:18px 8px 16px;background:#fff;border:1px solid #e8edf3;border-radius:14px;color:#18314d;transition:.2s ease}.awdt-modern-category-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(31,70,111,.10);border-color:#cfe2f7}.awdt-modern-category-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#eff6ff;font-size:27px;margin-bottom:10px}.awdt-modern-category-card:nth-child(3n+2) .awdt-modern-category-icon{background:#fff1eb}.awdt-modern-category-card:nth-child(3n+3) .awdt-modern-category-icon{background:#effaf4}.awdt-modern-category-card strong{font-size:13px;line-height:1.25}.awdt-modern-category-card small{font-size:11px;color:#8492a3;margin-top:4px}

/* Listing cards */
.awdt-modern-listing-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.awdt-modern-listing-grid .awdt-listing-card{overflow:hidden;background:#fff;border:1px solid #e3eaf2;border-radius:14px;box-shadow:0 5px 18px rgba(18,54,92,.06);transition:.2s ease}.awdt-modern-listing-grid .awdt-listing-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(18,54,92,.12)}.awdt-modern-listing-grid .awdt-listing-media{display:block;position:relative;aspect-ratio:16/10;overflow:hidden;background:#eaf0f6}.awdt-modern-listing-grid .awdt-listing-media img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.awdt-modern-listing-grid .awdt-listing-card:hover .awdt-listing-media img{transform:scale(1.035)}.awdt-modern-listing-grid .awdt-listing-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:48px;color:#8fa3b8}.awdt-modern-listing-grid .awdt-listing-body{padding:14px 14px 15px}.awdt-modern-listing-grid .awdt-listing-category{display:inline-block;color:#0b63ce;background:#edf5ff;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800;margin-bottom:7px}.awdt-modern-listing-grid h3{margin:0 0 7px;font-size:15px;line-height:1.35}.awdt-modern-listing-grid h3 a{color:#132e4b}.awdt-modern-listing-grid p{margin:0 0 11px;color:#758497;font-size:12px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.awdt-modern-listing-grid .awdt-listing-link{display:block;border-top:1px solid #eef2f6;padding-top:10px;color:#0b63ce;font-weight:800;font-size:12px}

/* CTA */
.awdt-modern-cta{background:linear-gradient(90deg,#f0f8ff,#eaf4ff 52%,#f8fbff);border-top:1px solid #dbeaf7;border-bottom:1px solid #dbeaf7}.awdt-modern-cta-grid{display:grid;grid-template-columns:.9fr 1.1fr;min-height:300px}.awdt-modern-cta-art{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:linear-gradient(135deg,#9dd5f4,#d7effb 46%,#8dc9e8);color:#0b4e78}.awdt-modern-cta-art:before,.awdt-modern-cta-art:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.35)}.awdt-modern-cta-art:before{width:260px;height:260px;left:-80px;bottom:-110px}.awdt-modern-cta-art:after{width:180px;height:180px;right:30px;top:-70px}.awdt-modern-cta-art span{position:relative;z-index:1;font-size:64px}.awdt-modern-cta-art b{position:relative;z-index:1;font-size:22px;max-width:330px}.awdt-modern-cta-copy{padding:44px 54px}.awdt-modern-cta-copy h2{margin:10px 0 7px;font-size:31px;color:#0c2d50}.awdt-modern-cta-copy p{color:#60768d;line-height:1.7;max-width:640px}.awdt-modern-cta-copy ul{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;list-style:none;padding:0;margin:20px 0 24px}.awdt-modern-cta-copy li{font-size:12px;color:#35516d}.awdt-modern-cta-copy li:before{content:"✓";display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;margin-right:6px;background:#e7f2ff;color:#0b63ce;font-weight:900}

/* Footer */
.awdt-modern-footer{background:#062b4a!important;color:#d5e2ee;margin-top:0}.awdt-modern-footer-grid{display:grid;grid-template-columns:1.3fr .8fr .9fr 1.2fr;gap:56px;padding:52px 0 42px}.awdt-modern-footer h2,.awdt-modern-footer h3{color:#fff;margin:0 0 14px}.awdt-modern-footer h2{font-size:25px}.awdt-modern-footer h3{font-size:14px}.awdt-modern-footer p{color:#abc0d2;line-height:1.7;font-size:13px}.awdt-modern-footer a{color:#c8d9e6}.awdt-modern-footer a:hover{color:#fff}.awdt-modern-footer .awdt-footer-menu{list-style:none;margin:0;padding:0}.awdt-modern-footer .awdt-footer-menu li{margin:8px 0;font-size:13px}.awdt-modern-footer-contact{display:flex;flex-direction:column;gap:7px;font-size:13px}.awdt-footer-bottom{border-top:1px solid rgba(255,255,255,.10);padding:15px 0;color:#8eacc3;font-size:12px}

/* System pages and module compatibility */
.awdt-system-page,.single-awd_listing .awdt-site-main{background:#f7f9fc}.awdt-system-content{padding-top:34px;padding-bottom:54px}.awdt-page-hero{background:linear-gradient(135deg,#0a3d6d,#0b63ce);color:#fff;padding:50px 0}.awdt-page-hero h1{color:#fff;margin:7px 0 0}.awdt-page-kicker{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;opacity:.75}
.awdt-directory-page .awd-directory,.awdt-directory-page [class*="awd-directory"]{max-width:none}

/* Responsive */
@media(max-width:1180px){
  .awdt-modern-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .awdt-modern-listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .awdt-menu a{padding-inline:8px;font-size:13px}
  .awdt-modern-login{display:none}
}
@media(max-width:900px){
  .awdt-container{width:min(calc(100% - 30px),var(--awdt-container))}
  .awdt-mobile-toggle{display:inline-grid;place-items:center;margin-left:auto;width:42px;height:42px;border:1px solid #dce5ee;border-radius:10px;background:#fff;color:#163653;font-size:20px}
  .awdt-header-actions{display:none}
  .awdt-nav{position:fixed;top:0;right:0;z-index:1002;width:min(360px,88vw);height:100vh;background:#fff;transform:translateX(105%);transition:.25s ease;padding:18px;box-shadow:-15px 0 40px rgba(0,0,0,.14);overflow:auto}.awdt-nav.is-open{transform:translateX(0)}
  .awdt-mobile-overlay{position:fixed;inset:0;z-index:1001;background:rgba(2,24,45,.48)}body.awdt-menu-open .awdt-mobile-overlay{display:block}.awdt-mobile-panel-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid #e7edf3}.awdt-mobile-close{border:0;background:#f1f5f9;width:36px;height:36px;border-radius:50%;font-size:23px}.awdt-menu{display:block;padding-top:10px}.awdt-menu a{padding:13px 6px;border:0}.awdt-mobile-panel-actions{display:grid;gap:10px;margin-top:20px}.awdt-mobile-panel-actions .awdt-modern-login{display:block;text-align:center;border:1px solid #dce5ee;border-radius:10px}.awdt-modern-submit{justify-content:center}
  .awdt-modern-search{grid-template-columns:1fr 1fr 120px}
  .awdt-modern-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .awdt-modern-cta-grid{grid-template-columns:1fr}.awdt-modern-cta-art{min-height:220px}.awdt-modern-cta-copy{padding:34px 28px}.awdt-modern-footer-grid{grid-template-columns:repeat(2,1fr);gap:30px}
}
@media(max-width:640px){
  .awdt-modern-header .awdt-header-inner{min-height:68px}.awdt-brand-text{font-size:17px}.awdt-brand-text small{display:none}
  .awdt-modern-hero{min-height:auto}.awdt-modern-hero-inner{padding:48px 0 28px}.awdt-modern-hero h1{font-size:38px}.awdt-modern-hero p{font-size:15px}
  .awdt-modern-search{grid-template-columns:1fr;padding:7px;margin-top:23px}.awdt-modern-search-field{border-right:0;border-bottom:1px solid #e6edf4}.awdt-modern-search-button{min-height:48px}.awdt-modern-popular{display:none}
  .awdt-modern-section{padding:38px 0}.awdt-modern-section-head{align-items:flex-start}.awdt-modern-section-head h2{font-size:24px}.awdt-modern-section-head p{font-size:13px}.awdt-modern-more{font-size:12px}
  .awdt-modern-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.awdt-modern-category-card{padding:16px 8px}.awdt-modern-category-icon{width:52px;height:52px}
  .awdt-modern-listing-grid{grid-template-columns:1fr}.awdt-modern-listing-grid .awdt-listing-media{aspect-ratio:16/9}
  .awdt-modern-cta-copy ul{grid-template-columns:1fr}.awdt-modern-footer-grid{grid-template-columns:1fr;gap:24px;padding:38px 0}
}


/* v1.1.2 — Modern homepage Hero image hotfix */
.awdt-modern-hero.awdt-hero-has-image{
  background-image:var(--awdt-hero-photo)!important;
  background-size:cover!important;
  background-position:var(--awdt-hero-photo-position,center center)!important;
  background-repeat:no-repeat!important;
}


/* ==========================================================
   v1.2.0 Premium Restaurant Presentation
   Presentation-only upgrade. Directory data/queries remain unchanged.
   ========================================================== */
:root{
  --awdt-premium-gold:#d6a84b;
  --awdt-premium-ink:#17120f;
  --awdt-premium-warm:#fbf7f2;
  --awdt-premium-line:rgba(76,49,35,.12);
}
body{background:linear-gradient(180deg,#fff 0,#fdfaf7 38%,#fff 100%)}
.awdt-container{width:min(calc(100% - 40px),1240px)}
.awdt-modern-header{background:rgba(255,255,255,.90)!important;border-bottom:1px solid rgba(74,44,27,.10);box-shadow:0 8px 32px rgba(47,27,17,.06);backdrop-filter:blur(18px) saturate(160%)}
.awdt-modern-header .awdt-header-inner{min-height:84px}
.awdt-brand{gap:14px}.awdt-brand-text b{font-size:18px;letter-spacing:-.02em}.awdt-brand-text small{text-transform:uppercase;letter-spacing:.12em;font-size:9px}
.awdt-modern-logo-mark{width:42px;height:42px;border-radius:13px;transform:none;background:linear-gradient(145deg,var(--awdt-primary),var(--awdt-primary-dark));box-shadow:0 12px 28px color-mix(in srgb,var(--awdt-primary) 28%,transparent)}
.awdt-modern-logo-mark:after{content:"✦";color:#fff;font-size:17px}
.awdt-menu{gap:3px}.awdt-menu a{padding:11px 14px;border-radius:999px;font-size:13px}.awdt-menu a:hover,.awdt-menu .current-menu-item>a{background:color-mix(in srgb,var(--awdt-primary) 8%,#fff);color:var(--awdt-primary)}
.awdt-modern-login{border:1px solid var(--awdt-premium-line);border-radius:999px;padding:10px 14px;background:rgba(255,255,255,.65)}
.awdt-modern-submit,.awdt-modern-primary{border-radius:999px;padding:13px 22px;background:linear-gradient(135deg,var(--awdt-button-primary-bg),var(--awdt-primary-dark));box-shadow:0 12px 28px color-mix(in srgb,var(--awdt-primary) 23%,transparent)}

.awdt-modern-hero{min-height:560px;background:linear-gradient(118deg,var(--awdt-hero-start),var(--awdt-hero-end));border-bottom:1px solid rgba(255,255,255,.12)}
.awdt-modern-hero:before{background:radial-gradient(circle at 82% 18%,rgba(214,168,75,.18),transparent 26%),linear-gradient(100deg,rgba(18,10,7,.88),rgba(47,17,13,.62) 54%,rgba(24,12,9,.42))}
.awdt-modern-hero.awdt-hero-has-image:before{background:linear-gradient(96deg,rgba(18,10,7,.90) 0%,rgba(31,15,11,.73) 47%,rgba(28,14,10,.38) 100%)}
.awdt-modern-hero-shade{height:180px;background:linear-gradient(transparent,rgba(12,7,5,.44))}
.awdt-modern-hero-inner{padding:94px 0 54px}
.awdt-modern-eyebrow{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px);padding:8px 13px;letter-spacing:.10em}
.awdt-modern-hero h1{max-width:900px;margin:18px 0 14px;font-size:clamp(43px,5.1vw,72px);line-height:1.02;letter-spacing:-.045em;text-shadow:0 8px 32px rgba(0,0,0,.24)}
.awdt-modern-hero p{max-width:790px;font-size:19px;line-height:1.7;color:rgba(255,255,255,.88)}
.awdt-modern-search{margin-top:38px;width:min(1020px,100%);border-radius:20px;padding:8px;background:rgba(255,255,255,.96);box-shadow:0 24px 70px rgba(10,5,2,.33);border:1px solid rgba(255,255,255,.55)}
.awdt-modern-search-field{padding:0 17px}.awdt-modern-search-field input,.awdt-modern-search-field select{min-height:56px}.awdt-modern-search-icon{color:var(--awdt-primary)}
.awdt-modern-search-button{border-radius:14px;background:linear-gradient(135deg,var(--awdt-button-primary-bg),var(--awdt-primary-dark));font-size:15px;box-shadow:0 8px 18px color-mix(in srgb,var(--awdt-primary) 22%,transparent)}
.awdt-modern-popular{margin-top:18px}.awdt-modern-popular a{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.17);padding:7px 13px}.awdt-modern-popular a:hover{color:var(--awdt-primary)}

.awdt-modern-section{padding:72px 0}.awdt-modern-section.is-soft{background:linear-gradient(180deg,#fbf7f2,#fff)}
.awdt-modern-section-head{margin-bottom:30px;align-items:center}.awdt-modern-section-head h2{font-size:clamp(27px,3vw,38px);color:var(--awdt-text);letter-spacing:-.035em}.awdt-modern-section-head p{font-size:15px;color:var(--awdt-muted)}
.awdt-modern-more{color:var(--awdt-primary);padding:10px 14px;border-radius:999px;background:color-mix(in srgb,var(--awdt-primary) 7%,#fff)}
.awdt-modern-category-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.awdt-modern-category-card{padding:24px 14px 20px;border:1px solid var(--awdt-premium-line);border-radius:20px;box-shadow:0 8px 28px rgba(50,29,18,.045)}
.awdt-modern-category-card:hover{transform:translateY(-5px);box-shadow:0 20px 44px rgba(50,29,18,.10);border-color:color-mix(in srgb,var(--awdt-primary) 26%,#eee)}
.awdt-modern-category-icon{width:64px;height:64px;font-size:29px;background:linear-gradient(145deg,#fff4ec,#fbe3d7);box-shadow:inset 0 0 0 1px rgba(120,58,31,.06)}
.awdt-modern-category-card strong{font-size:14px}.awdt-modern-category-card small{font-size:12px}

.awdt-modern-listing-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.awdt-modern-listing-grid .awdt-listing-card{border:1px solid var(--awdt-premium-line);border-radius:22px;box-shadow:0 10px 34px rgba(48,28,18,.07)}
.awdt-modern-listing-grid .awdt-listing-card:hover{transform:translateY(-6px);box-shadow:0 24px 52px rgba(48,28,18,.13)}
.awdt-modern-listing-grid .awdt-listing-media{aspect-ratio:4/3}.awdt-modern-listing-grid .awdt-listing-body{padding:18px 18px 19px}.awdt-modern-listing-grid .awdt-listing-category{background:color-mix(in srgb,var(--awdt-primary) 9%,#fff);color:var(--awdt-primary);padding:5px 9px}.awdt-modern-listing-grid h3{font-size:17px}.awdt-modern-listing-grid h3 a{color:var(--awdt-text)}.awdt-modern-listing-grid p{font-size:13px}.awdt-modern-listing-grid .awdt-listing-link{color:var(--awdt-primary);font-size:13px}

.awdt-modern-cta{margin:10px 0;background:linear-gradient(120deg,#211510,#442019 54%,var(--awdt-primary-dark));border:0;color:#fff;position:relative;overflow:hidden}.awdt-modern-cta:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-140px;top:-220px;background:radial-gradient(circle,rgba(214,168,75,.26),transparent 67%)}
.awdt-modern-cta-grid{position:relative;z-index:1;min-height:360px;align-items:stretch}.awdt-modern-cta-art{background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(214,168,75,.12));color:#fff;border-right:1px solid rgba(255,255,255,.10)}
.awdt-modern-cta-art:before,.awdt-modern-cta-art:after{background:rgba(214,168,75,.12)}.awdt-modern-cta-copy{padding:58px 62px}.awdt-modern-cta-copy h2{color:#fff;font-size:38px}.awdt-modern-cta-copy p,.awdt-modern-cta-copy li{color:rgba(255,255,255,.78)}.awdt-modern-cta-copy li:before{background:rgba(214,168,75,.16);color:#f3d28b}.awdt-modern-eyebrow.is-blue{background:rgba(214,168,75,.14);color:#f3d28b}

.awdt-modern-footer{background:linear-gradient(160deg,#15100d,#241611)!important}.awdt-modern-footer-grid{padding:62px 0 48px}.awdt-modern-footer h2{font-size:28px}.awdt-modern-footer p,.awdt-modern-footer a{color:rgba(255,255,255,.70)}

@media (max-width:1100px){.awdt-modern-listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.awdt-modern-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (max-width:800px){.awdt-container{width:min(calc(100% - 28px),1240px)}.awdt-modern-hero{min-height:0}.awdt-modern-hero-inner{padding:66px 0 34px}.awdt-modern-search{grid-template-columns:1fr}.awdt-modern-search-field{border-right:0;border-bottom:1px solid #eee}.awdt-modern-search-button{min-height:54px}.awdt-modern-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.awdt-modern-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.awdt-modern-cta-grid{grid-template-columns:1fr}.awdt-modern-cta-art{min-height:220px;border-right:0;border-bottom:1px solid rgba(255,255,255,.10)}.awdt-modern-cta-copy{padding:38px 26px}}
@media (max-width:520px){.awdt-modern-listing-grid{grid-template-columns:1fr}.awdt-modern-hero h1{font-size:40px}.awdt-modern-section{padding:54px 0}.awdt-modern-section-head{align-items:flex-start}.awdt-modern-more{display:none}}


/* ================================================================
   v1.2.1 — Premium usability refinements
   - Centered homepage hero/search composition
   - Directory page follows selected global Page Background token
   ================================================================ */
.awdt-modern-hero-inner{
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.awdt-modern-hero-copy{
  width:min(100%,900px);
  margin-inline:auto;
  text-align:center;
}
.awdt-modern-hero-copy h1,
.awdt-modern-hero-copy p{
  margin-left:auto;
  margin-right:auto;
}
.awdt-modern-search{
  width:min(100%,1040px);
  margin-left:auto!important;
  margin-right:auto!important;
}
.awdt-modern-popular{
  width:100%;
  justify-content:center;
  text-align:center;
}

/* Directory archive/page canvas follows Theme Settings > Page Background. */
.awdt-directory-page,
.awdt-directory-page .awdt-system-content,
body.page-template-templatesdirectory-php .awdt-site-main,
body.page-template-templatesdirectory-php .awdt-system-page{
  background-color:var(--awdt-bg)!important;
}
.awdt-directory-page .awdt-system-content{
  background-image:none!important;
}
.awdt-directory-page .awd-directory-wrap{
  background-color:transparent!important;
}

@media(max-width:760px){
  .awdt-modern-hero-inner{align-items:stretch;text-align:center}
  .awdt-modern-hero-copy{width:100%}
  .awdt-modern-popular{justify-content:center}
}


/* ================================================================
   v1.2.2 — Directory page palette bridge
   Make /businesses/ and other system pages follow Theme Settings.
   ================================================================ */
body.awdt-directory-ready,
body.awdt-directory-ready .awdt-site-main,
body.awdt-directory-ready .awdt-system-page,
.awdt-directory-page,
.awdt-directory-page .awdt-system-content{
  background:var(--awdt-bg)!important;
  color:var(--awdt-text)!important;
}

/* System page hero now follows the selected Hero palette. */
body.awdt-directory-ready .awdt-page-hero,
.awdt-directory-page .awdt-page-hero,
body.page-template-templatesdirectory-php .awdt-page-hero{
  background:linear-gradient(135deg,var(--awdt-hero-start) 0%,var(--awdt-hero-end) 100%)!important;
  color:var(--awdt-hero-text)!important;
}
body.awdt-directory-ready .awdt-page-hero h1,
body.awdt-directory-ready .awdt-page-hero p,
body.awdt-directory-ready .awdt-page-kicker,
.awdt-directory-page .awdt-page-hero h1,
.awdt-directory-page .awdt-page-hero p,
.awdt-directory-page .awdt-page-kicker{
  color:var(--awdt-hero-text)!important;
}

/* Directory filter/results surfaces follow selected panel/card colors. */
body.awdt-directory-ready .awd-search-panel,
body.awdt-directory-ready .awd-panel,
body.awdt-directory-ready .awd-account-card,
body.awdt-directory-ready .awd-form-section,
body.awdt-directory-ready .awd-view-switch,
.awdt-directory-page .awd-search-panel,
.awdt-directory-page .awd-panel,
.awdt-directory-page .awd-view-switch{
  background:var(--awdt-directory-panel-bg)!important;
  border-color:var(--awdt-border)!important;
  color:var(--awdt-text)!important;
}
body.awdt-directory-ready .awd-card,
.awdt-directory-page .awd-card{
  background:var(--awdt-directory-card-bg)!important;
  border-color:var(--awdt-border)!important;
  color:var(--awdt-text)!important;
}

/* Inputs and selects should not keep legacy plugin colors. */
body.awdt-directory-ready .awd-directory-wrap input,
body.awdt-directory-ready .awd-directory-wrap select,
body.awdt-directory-ready .awd-directory-wrap textarea,
.awdt-directory-page .awd-directory-wrap input,
.awdt-directory-page .awd-directory-wrap select,
.awdt-directory-page .awd-directory-wrap textarea{
  background:var(--awdt-surface)!important;
  color:var(--awdt-text)!important;
  border-color:var(--awdt-border)!important;
}

/* Primary controls follow Theme Settings even if Core CSS loads later. */
body.awdt-directory-ready .awd-btn-primary,
body.awdt-directory-ready button.awd-btn-primary,
.awdt-directory-page .awd-btn-primary,
.awdt-directory-page button.awd-btn-primary{
  background:var(--awdt-button-primary-bg)!important;
  border-color:var(--awdt-button-primary-bg)!important;
  color:var(--awdt-button-primary-text)!important;
}
body.awdt-directory-ready .awd-btn-primary:hover,
.awdt-directory-page .awd-btn-primary:hover{
  background:var(--awdt-primary-dark)!important;
  border-color:var(--awdt-primary-dark)!important;
}


/* =========================================================
   v1.2.6 — Homepage presentation fixes
   - CTA now follows Theme Settings CTA color tokens.
   - Homepage featured/latest sections honor Listing Layout.
   These rules are presentation-only and do not alter Directory Core.
   ========================================================= */
.awdt-modern-cta{
  background:linear-gradient(120deg,var(--awdt-cta-start),var(--awdt-cta-end))!important;
  border-color:color-mix(in srgb,var(--awdt-cta-start) 70%,var(--awdt-border))!important;
  color:var(--awdt-cta-text)!important;
}
.awdt-modern-cta:after{
  background:radial-gradient(circle,color-mix(in srgb,var(--awdt-cta-text) 16%,transparent),transparent 67%)!important;
}
.awdt-modern-cta-art{
  background:linear-gradient(145deg,color-mix(in srgb,var(--awdt-cta-text) 7%,transparent),color-mix(in srgb,var(--awdt-accent) 14%,transparent))!important;
  color:var(--awdt-cta-text)!important;
  border-color:color-mix(in srgb,var(--awdt-cta-text) 10%,transparent)!important;
}
.awdt-modern-cta-art:before,.awdt-modern-cta-art:after{
  background:color-mix(in srgb,var(--awdt-accent) 14%,transparent)!important;
}
.awdt-modern-cta-copy h2,
.awdt-modern-cta-copy p,
.awdt-modern-cta-copy li{
  color:var(--awdt-cta-text)!important;
}
.awdt-modern-cta-copy p,.awdt-modern-cta-copy li{opacity:.82}
.awdt-modern-cta-copy li:before{
  background:color-mix(in srgb,var(--awdt-accent) 18%,transparent)!important;
  color:color-mix(in srgb,var(--awdt-accent) 70%,var(--awdt-cta-text))!important;
}
.awdt-modern-cta .awdt-modern-eyebrow.is-blue{
  background:color-mix(in srgb,var(--awdt-accent) 16%,transparent)!important;
  color:color-mix(in srgb,var(--awdt-accent) 72%,var(--awdt-cta-text))!important;
}

/* Homepage List mode — scoped only to front-page listing sections. */
.awdt-modern-listing-grid.awdt-listing-layout-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.awdt-modern-listing-grid.awdt-listing-layout-list .awdt-listing-card{
  display:grid;
  grid-template-columns:minmax(220px,300px) minmax(0,1fr);
  width:100%;
  min-height:190px;
  border-radius:20px;
}
.awdt-modern-listing-grid.awdt-listing-layout-list .awdt-listing-media{
  aspect-ratio:auto;
  height:100%;
  min-height:190px;
}
.awdt-modern-listing-grid.awdt-listing-layout-list .awdt-listing-body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:24px 28px;
}
.awdt-modern-listing-grid.awdt-listing-layout-list .awdt-listing-body p{
  display:block;
  -webkit-line-clamp:unset;
  max-width:780px;
}
.awdt-modern-listing-grid.awdt-listing-layout-list .awdt-listing-link{
  margin-top:auto;
}
@media(max-width:700px){
  .awdt-modern-listing-grid.awdt-listing-layout-list .awdt-listing-card{grid-template-columns:1fr}
  .awdt-modern-listing-grid.awdt-listing-layout-list .awdt-listing-media{height:auto;min-height:0;aspect-ratio:16/9}
  .awdt-modern-listing-grid.awdt-listing-layout-list .awdt-listing-body{padding:18px}
}


/* =========================================================
   v1.2.10 — Full palette bridge for Modern homepage
   The homepage now follows the same Design System tokens as
   Directory/System pages. Presentation only; no Core changes.
   ========================================================= */
body.home{
  background:var(--awdt-bg)!important;
  color:var(--awdt-text)!important;
}
body.home .awdt-site-main{
  background:var(--awdt-bg)!important;
  color:var(--awdt-text)!important;
}

/* Header follows the selected palette instead of the premium light hard-code. */
body.home .awdt-modern-header,
.awdt-modern-header{
  background:color-mix(in srgb,var(--awdt-header-bg) 94%,transparent)!important;
  border-bottom-color:color-mix(in srgb,var(--awdt-border) 82%,transparent)!important;
}
.awdt-modern-header .awdt-brand,
.awdt-modern-header .awdt-brand-text b,
.awdt-modern-header .awdt-menu a,
.awdt-modern-header .awdt-modern-login{
  color:var(--awdt-header-text)!important;
}
.awdt-modern-header .awdt-brand-text small{
  color:color-mix(in srgb,var(--awdt-header-text) 62%,transparent)!important;
}
.awdt-modern-header .awdt-menu a:hover,
.awdt-modern-header .awdt-menu .current-menu-item>a{
  background:var(--awdt-header-hover-bg)!important;
  color:var(--awdt-primary)!important;
}
.awdt-modern-header .awdt-modern-login{
  background:color-mix(in srgb,var(--awdt-header-bg) 86%,transparent)!important;
  border-color:var(--awdt-border)!important;
}

/* Homepage content canvas and section headings use global page tokens. */
body.home .awdt-modern-section,
body.home .awdt-modern-section.is-soft{
  background:var(--awdt-bg)!important;
  color:var(--awdt-text)!important;
}
body.home .awdt-modern-section.is-soft{
  background:color-mix(in srgb,var(--awdt-bg) 92%,var(--awdt-surface))!important;
}
body.home .awdt-modern-section-head h2{
  color:var(--awdt-text)!important;
}
body.home .awdt-modern-section-head p{
  color:var(--awdt-muted)!important;
}
body.home .awdt-modern-more{
  color:var(--awdt-primary)!important;
  background:color-mix(in srgb,var(--awdt-primary) 10%,var(--awdt-surface))!important;
}

/* Category cards follow card/surface/text tokens. */
body.home .awdt-modern-category-card{
  background:var(--awdt-directory-card-bg)!important;
  border-color:var(--awdt-border)!important;
  color:var(--awdt-text)!important;
}
body.home .awdt-modern-category-card strong{
  color:var(--awdt-text)!important;
}
body.home .awdt-modern-category-card small{
  color:var(--awdt-muted)!important;
}
body.home .awdt-modern-category-icon,
body.home .awdt-modern-category-card:nth-child(3n+2) .awdt-modern-category-icon,
body.home .awdt-modern-category-card:nth-child(3n+3) .awdt-modern-category-icon{
  background:color-mix(in srgb,var(--awdt-primary) 12%,var(--awdt-directory-card-bg))!important;
  color:var(--awdt-primary)!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--awdt-border) 80%,transparent)!important;
}

/* Featured/latest cards use the same palette contract as Directory cards. */
body.home .awdt-modern-listing-grid .awdt-listing-card{
  background:var(--awdt-directory-card-bg)!important;
  border-color:var(--awdt-border)!important;
  color:var(--awdt-text)!important;
}
body.home .awdt-modern-listing-grid h3 a{
  color:var(--awdt-text)!important;
}
body.home .awdt-modern-listing-grid p{
  color:var(--awdt-muted)!important;
}
body.home .awdt-modern-listing-grid .awdt-listing-category{
  background:color-mix(in srgb,var(--awdt-primary) 13%,var(--awdt-directory-card-bg))!important;
  color:var(--awdt-primary)!important;
}
body.home .awdt-modern-listing-grid .awdt-listing-link{
  border-top-color:var(--awdt-border)!important;
  color:var(--awdt-primary)!important;
}
body.home .awdt-modern-listing-grid .awdt-listing-media,
body.home .awdt-modern-listing-grid .awdt-listing-placeholder{
  background:color-mix(in srgb,var(--awdt-surface) 88%,var(--awdt-bg))!important;
}

/* Hero always respects Hero tokens, including no-image mode. */
body.home .awdt-modern-hero{
  color:var(--awdt-hero-text)!important;
}
body.home .awdt-modern-hero h1,
body.home .awdt-modern-hero p,
body.home .awdt-modern-popular strong{
  color:var(--awdt-hero-text)!important;
}

/* Footer follows Footer tokens rather than the premium brown hard-code. */
.awdt-modern-footer{
  background:var(--awdt-footer-bg)!important;
  color:var(--awdt-footer-text)!important;
}
.awdt-modern-footer h2,
.awdt-modern-footer h3,
.awdt-modern-footer h4{
  color:var(--awdt-footer-heading)!important;
}
.awdt-modern-footer p{
  color:var(--awdt-footer-text)!important;
}
.awdt-modern-footer a{
  color:var(--awdt-footer-link)!important;
}
.awdt-modern-footer a:hover{
  color:var(--awdt-footer-link-hover)!important;
}


/* ==========================================================
   v1.2.11 — Hero background image compatibility fix
   Keep palette presets from replacing a saved Hero photo.
   The image/overlay/focal values continue to come from Theme Settings.
   ========================================================== */
body.home .awdt-modern-hero:not(.awdt-hero-has-image){
  background:linear-gradient(118deg,var(--awdt-hero-start),var(--awdt-hero-end))!important;
}
body.home .awdt-modern-hero.awdt-hero-has-image{
  background-image:var(--awdt-hero-photo)!important;
  background-color:var(--awdt-hero-start)!important;
  background-size:cover!important;
  background-position:var(--awdt-hero-photo-position,center center)!important;
  background-repeat:no-repeat!important;
}
body.home .awdt-modern-hero.awdt-hero-has-image:before{
  background:none!important;
}

/* ==========================================================
   General Business Layout Family — v1.0.0
   ========================================================== */
.awdt-general-home{background:var(--awdt-bg)}
.awdt-general-hero{position:relative;overflow:hidden;background:linear-gradient(118deg,var(--awdt-hero-start),var(--awdt-hero-end));color:var(--awdt-hero-text);min-height:520px}
.awdt-general-hero.awdt-hero-has-image{background-image:var(--awdt-hero-photo)!important;background-size:cover!important;background-position:var(--awdt-hero-photo-position)!important;background-repeat:no-repeat!important}
.awdt-general-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,25,50,.20),rgba(5,25,50,.04));pointer-events:none}
.awdt-general-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:54px;align-items:center;padding:78px 0 96px}
.awdt-general-kicker{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:13px;font-weight:800;letter-spacing:.03em}
.awdt-general-hero-copy h1{margin:18px 0 12px;max-width:760px;font-size:clamp(44px,5.4vw,76px);line-height:1.03;letter-spacing:-.045em}.awdt-general-hero-copy>p{max-width:690px;margin:0 0 28px;font-size:19px;color:rgba(255,255,255,.9)}
.awdt-general-search{display:grid;grid-template-columns:minmax(280px,1.4fr) minmax(180px,.7fr) auto;background:#fff;border-radius:16px;padding:7px;box-shadow:0 20px 50px rgba(3,20,42,.22);max-width:850px}.awdt-general-search-keyword{display:flex;align-items:center;gap:10px;padding:0 14px}.awdt-general-search-keyword span{color:var(--awdt-primary);font-size:24px}.awdt-general-search input,.awdt-general-search select{width:100%;min-height:52px;border:0;background:transparent;color:#243244;outline:0}.awdt-general-search select{border-left:1px solid #e6ebf1;padding:0 14px}.awdt-general-search button{min-width:128px;border:0;border-radius:11px;background:var(--awdt-button-primary-bg);color:var(--awdt-button-primary-text);font-weight:800;cursor:pointer}.awdt-general-search button:hover{background:var(--awdt-primary-dark)}
.awdt-general-popular{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:16px}.awdt-general-popular strong{font-size:13px}.awdt-general-popular a{color:#fff;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.16);padding:7px 11px;border-radius:999px;font-size:13px}.awdt-general-popular a:hover{background:#fff;color:var(--awdt-primary)}
.awdt-general-hero-panel{background:rgba(255,255,255,.95);color:var(--awdt-text);border-radius:22px;padding:30px;box-shadow:0 26px 70px rgba(3,20,42,.22);backdrop-filter:blur(12px)}.awdt-general-panel-badge{display:inline-block;color:var(--awdt-primary);font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.awdt-general-hero-panel h2{margin:10px 0 8px;font-size:28px}.awdt-general-hero-panel p{margin:0;color:var(--awdt-muted)}.awdt-general-mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.awdt-general-mini-stats div{padding:15px;border-radius:14px;background:var(--awdt-bg);border:1px solid var(--awdt-border)}.awdt-general-mini-stats b,.awdt-general-mini-stats span{display:block}.awdt-general-mini-stats b{font-size:24px;color:var(--awdt-primary)}.awdt-general-mini-stats span{font-size:12px;color:var(--awdt-muted)}.awdt-general-panel-link{display:flex;justify-content:center;padding:12px 16px;border-radius:11px;background:var(--awdt-primary);color:#fff;font-weight:800}.awdt-general-panel-link:hover{background:var(--awdt-primary-dark);color:#fff}
.awdt-general-category-dock{position:relative;z-index:3;margin-top:-45px}.awdt-general-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:14px;background:var(--awdt-surface);border:1px solid var(--awdt-border);border-radius:22px;box-shadow:0 18px 50px rgba(15,23,42,.10)}.awdt-general-category-card{min-height:126px;border-radius:15px;padding:17px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--awdt-text);transition:.18s ease}.awdt-general-category-card:hover{background:color-mix(in srgb,var(--awdt-primary) 7%,#fff);transform:translateY(-2px);color:var(--awdt-primary)}.awdt-general-category-card span{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--awdt-primary) 10%,#fff);font-size:24px;margin-bottom:8px}.awdt-general-category-card strong{font-size:14px;line-height:1.25}.awdt-general-category-card small{margin-top:4px;color:var(--awdt-muted);font-size:11px}
.awdt-general-section{padding:72px 0}.awdt-general-section.is-latest{background:var(--awdt-surface)}.awdt-general-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.awdt-general-section-head>div{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center}.awdt-general-section-head span{grid-row:1/3;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--awdt-accent) 18%,#fff);color:var(--awdt-accent);font-size:20px}.awdt-general-section-head h2{margin:0;font-size:32px;line-height:1.15}.awdt-general-section-head p{margin:5px 0 0;color:var(--awdt-muted)}.awdt-general-section-head>a{font-weight:800}
.awdt-general-featured.awdt-listing-layout-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.awdt-general-latest.awdt-listing-layout-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.awdt-general-value{padding:0 0 72px}.awdt-general-value-grid{display:grid;grid-template-columns:110px 1fr auto;gap:28px;align-items:center;padding:36px 42px;border-radius:24px;background:linear-gradient(120deg,var(--awdt-cta-start),var(--awdt-cta-end));color:var(--awdt-cta-text);overflow:hidden;box-shadow:0 20px 55px rgba(15,23,42,.13)}.awdt-general-value-icon{font-size:58px}.awdt-general-value span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;opacity:.85}.awdt-general-value h2{margin:4px 0 8px;font-size:32px}.awdt-general-value p{margin:0;max-width:760px;opacity:.88}.awdt-general-value ul{display:flex;gap:22px;flex-wrap:wrap;padding:0;margin:16px 0 0;list-style:none}.awdt-general-value li:before{content:'✓';margin-right:7px;color:var(--awdt-accent);font-weight:900}.awdt-general-value-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 22px;border-radius:12px;background:#fff;color:var(--awdt-primary);font-weight:900;white-space:nowrap}.awdt-general-value-button:hover{color:var(--awdt-primary-dark);transform:translateY(-1px)}
.awdt-general-home .awdt-modern-listing-grid{gap:18px}
.awdt-general-home .awdt-modern-listing-card{border-radius:16px}
@media(max-width:1000px){.awdt-general-hero-grid{grid-template-columns:1fr;gap:30px;padding:58px 0 86px}.awdt-general-hero-panel{max-width:620px}.awdt-general-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.awdt-general-featured.awdt-listing-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.awdt-general-latest.awdt-listing-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.awdt-general-value-grid{grid-template-columns:80px 1fr}.awdt-general-value-button{grid-column:2}}
@media(max-width:700px){.awdt-general-hero-grid{padding:44px 0 72px}.awdt-general-hero-copy h1{font-size:42px}.awdt-general-search{grid-template-columns:1fr}.awdt-general-search select{border-left:0;border-top:1px solid #e6ebf1}.awdt-general-search button{min-height:48px}.awdt-general-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.awdt-general-category-dock{margin-top:-28px}.awdt-general-section{padding:52px 0}.awdt-general-section-head{align-items:flex-start}.awdt-general-featured.awdt-listing-layout-grid,.awdt-general-latest.awdt-listing-layout-grid{grid-template-columns:1fr}.awdt-general-value-grid{grid-template-columns:1fr;padding:28px 24px}.awdt-general-value-icon{font-size:46px}.awdt-general-value-button{grid-column:auto}.awdt-general-value h2{font-size:27px}}


/* ==========================================================
   v1.0.1 — Mobile navigation hard containment fix
   Prevent the closed off-canvas drawer from becoming visible
   through horizontal swipe/overscroll before Hamburger opens.
   ========================================================== */
html,body{max-width:100%;overflow-x:hidden}
@supports (overflow:clip){html,body{overflow-x:clip}}

@media (max-width:900px){
  .awdt-header,.awdt-site-main,.awdt-footer{max-width:100%;overflow-x:clip}

  #awdt-primary-nav.awdt-nav{
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    width:min(88vw,360px)!important;
    max-width:360px!important;
    height:100dvh!important;
    transform:translate3d(110%,0,0)!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:transform .26s cubic-bezier(.2,.8,.2,1),opacity .18s ease,visibility 0s linear .26s!important;
    will-change:transform;
    contain:layout paint;
    overscroll-behavior:contain;
    touch-action:pan-y;
  }

  #awdt-primary-nav.awdt-nav.is-open{
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    transition:transform .26s cubic-bezier(.2,.8,.2,1),opacity .18s ease,visibility 0s!important;
  }

  .awdt-mobile-overlay{
    display:block!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  .awdt-mobile-overlay.is-open,
  body.awdt-menu-open .awdt-mobile-overlay{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  body.awdt-menu-open{overflow:hidden!important;touch-action:none}
}
