/*
Theme Name: AsiaWeb Directory Theme
Theme URI: https://thaiwebwizard.com/
Author: ThaiWebWizard.com
Author URI: https://thaiwebwizard.com/
Description: Official lightweight theme foundation for AsiaWeb Directory Standard and compatible Business/Feature Modules.
Version: 1.0.7
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:#0f5fa8;
  --awdt-primary-dark:#0b4b85;
  --awdt-accent:#18a999;
  --awdt-bg:#f6f8fb;
  --awdt-surface:#ffffff;
  --awdt-text:#172033;
  --awdt-muted:#64748b;
  --awdt-border:#e2e8f0;
  --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;
  }
}
