/* =========================================================
   ThaiDataWeb V4.3 — Brand clarity, readable type, localized UX
   Loaded last. No commercial body copy below the readable floor.
   ========================================================= */

/* Brand: the V4.3 horizontal mark contains symbol + wordmark only. */
.site-header .brand{min-width:270px!important;flex:0 0 auto!important;background:transparent!important;border:0!important;padding:0!important}
.site-header .brand img{height:62px!important;max-height:62px!important;width:auto!important;max-width:300px!important;object-fit:contain!important;object-position:left center!important}
.footer .brand,.footer-brand{background:transparent!important;border:0!important;padding:0!important;min-width:0!important;display:inline-flex!important}
.footer .brand img,.footer-brand img{height:52px!important;width:auto!important;max-width:250px!important;object-fit:contain!important}
.footer-brand-copy{font-size:15px!important;line-height:1.65!important}

/* Site-wide typography floor. */
body{font-size:16px!important;line-height:1.68!important}
.navlinks a{font-size:14.5px!important}.desktop-quote span{font-size:14.5px!important}.promo{font-size:14px!important}
.tdw-hero-copy p{font-size:17px!important}.tdw-hero-checks span{font-size:14px!important}.tdw-domain-search input,.tdw-domain-search button{font-size:14px!important}
.tdw-consult-head strong{font-size:13.5px!important}.tdw-consult-card>p{font-size:14.5px!important}.tdw-contact-row small{font-size:12px!important}.tdw-contact-row strong{font-size:15px!important}
.tdw-capability-card strong{font-size:14px!important;line-height:1.35!important}.tdw-capability-card small{font-size:12.5px!important;line-height:1.35!important}
.tdw-kicker{font-size:12px!important}.tdw-section-title p{font-size:15px!important;line-height:1.6!important}.tdw-section-title>a{font-size:14px!important}
.tdw-service-card-head span{font-size:15px!important}.tdw-service-card-head b{font-size:13.5px!important}.tdw-service-card p{font-size:14px!important;line-height:1.58!important}.tdw-service-action{font-size:14px!important}
.tdw-filter-row .chip{font-size:13px!important}.tdw-showcase-body span{font-size:13px!important}.tdw-showcase-body h3{font-size:16px!important}.tdw-showcase-body a{font-size:14px!important}
.tdw-price-card-top span,.tdw-price-card-top b{font-size:13px!important}.tdw-price-card>p{font-size:14px!important}.tdw-price-card li{font-size:13.5px!important;line-height:1.5!important}.tdw-package-price small{font-size:13px!important}
.tdw-quote-head strong{font-size:14px!important}.tdw-step-dot{font-size:13px!important}.tdw-quote-step b{font-size:14px!important}.tdw-type-choice small{font-size:13px!important}.tdw-type-choice b{font-size:13px!important}.tdw-feature-list label{font-size:13.5px!important}.tdw-feature-list small{font-size:12.5px!important}.tdw-estimate-box>span{font-size:13px!important}.tdw-estimate-box small{font-size:12.5px!important}.tdw-included-mini b{font-size:13.5px!important}.tdw-included-mini span{font-size:13px!important}
.package-card .badge{font-size:12.5px!important}.package-card .tag,.package-grid .package-card>.tag{font-size:14px!important}.package-card .price small,.package-card .price em,.package-grid .package-card .price small{font-size:13px!important}.pkg-meta,.pkg-meta span,.package-grid .pkg-meta span{font-size:12.5px!important}.package-card .feature-list li,.feature-list li{font-size:14px!important;line-height:1.55!important}
.breadcrumb,.article-meta,.portfolio-meta,.v3-asset-top>span,.v3-domain-face>span,.v3-asset-media>span,.browser-chrome span,.v3-feature-chips span,.v3-filter-bar>span,.process-grid article>span{font-size:13px!important}
.v3-domain-face>small,.v3-link-list small{font-size:13px!important}.v3-link-list a>span{font-size:12.5px!important}.browser-chrome b{font-size:12px!important}
.article-card p,.portfolio-card p,.info-card p,.page-hero p,.section-head p{font-size:15px!important;line-height:1.7!important}
.form-field>span,.builder-fields label>span,.form-required-note{font-size:14.5px!important}.input,input,select,textarea{font-size:16px!important}.consent{font-size:13.5px!important}
.footer{font-size:15px!important}.footer a,.footer p,.footer-bottom{font-size:14.5px!important;line-height:1.7!important}.footer h4{font-size:15px!important}
.float-contact-item strong{font-size:14.5px!important}.float-contact-item small{font-size:12.5px!important}
.tdw-promo-badge{font-size:12px!important}.tdw-promo-copy>p{font-size:15.5px!important}.tdw-promo-price small,.tdw-promo-price span,.tdw-promo-trust span{font-size:13px!important}.tdw-promo-btn{font-size:14.5px!important}.tdw-promo-package-picks b{font-size:13px!important}.tdw-promo-package-picks span{font-size:14px!important}.tdw-promo-proof span{font-size:12.5px!important}.tdw-promo-countdown span{font-size:12.5px!important}.tdw-promo-contact-mini small{font-size:12px!important}.tdw-promo-contact-mini b{font-size:13px!important}.tdw-promo-lead input:not([type="checkbox"]){font-size:16px!important}.tdw-promo-lead label{font-size:13px!important}.tdw-promo-mini small{font-size:11.5px!important}

/* Clear required-state feedback. */
.js-quote-form .is-invalid{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.10)!important}
.form-required-note{color:var(--text-secondary);margin:0 0 12px}.form-required-note span,.form-field b{color:#dc2626}

/* Preserve brand contrast in dark theme without placing it in a white box. */
body[data-theme="midnight"] .site-header .brand{background:transparent!important;border:0!important}

@media(max-width:1200px) and (min-width:721px){
  .site-header .brand{min-width:240px!important}.site-header .brand img{height:56px!important;max-height:56px!important;max-width:270px!important}
}

@media(max-width:720px){
  :root{--header-h:76px!important}
  .site-header,.site-header .container.nav{height:76px!important}
  .site-header .brand{min-width:0!important;max-width:172px!important;left:50%!important;right:auto!important}
  .site-header .brand img{height:50px!important;max-height:50px!important;max-width:172px!important;width:auto!important;object-position:center!important}
  .menu-btn{left:2px!important}.mobile-pref-wrap{right:2px!important}.mobile-quote-btn{right:48px!important}
  .mobile-pref-section>strong{font-size:14px!important}.mobile-lang-grid a span{font-size:12.5px!important}.mobile-lang-grid a small{font-size:13px!important}.mobile-theme-grid button span{font-size:13.5px!important}.mobile-menu a{font-size:15.5px!important}
  .tdw-hero-copy p{font-size:16px!important}.tdw-hero-checks span{font-size:13.5px!important}.tdw-section-title p{font-size:14px!important}.tdw-capability-card strong{font-size:13.5px!important}.tdw-capability-card small{font-size:12px!important}.tdw-service-card p{font-size:13.5px!important}
  .breadcrumb,.article-meta,.portfolio-meta{font-size:12.5px!important}.footer a,.footer p,.footer-bottom{font-size:14px!important}.footer .brand img{height:48px!important;max-width:230px!important}
  .tdw-promo-copy>p{font-size:15px!important}.tdw-promo-trust span{font-size:12.5px!important}.tdw-promo-lead label{font-size:12.5px!important}
}
@media(max-width:380px){
  .site-header .brand{max-width:150px!important}.site-header .brand img{height:46px!important;max-height:46px!important;max-width:150px!important}
  .menu-btn,.mobile-quote-btn,.mobile-pref-btn{width:40px!important;height:40px!important}.mobile-quote-btn{right:44px!important}
}
.brand-logo-inverse{display:none!important}
body[data-theme="midnight"] .site-header .brand-logo-light{display:none!important}
body[data-theme="midnight"] .site-header .brand-logo-inverse{display:block!important}
