/*
  Theme Name: Seattle DADU
  Theme URI: https://daduseattlewa.com
  Version: 1.0.0
  Template: Divi
  Author: Sacramento Digital Media
  Author URI: https://sacdm.com/
  Description: Divi Child Theme for Seattle DADU
  Text Domain: seattle-dadu
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* ============================================================================
   DOCKDIRECT | DIVI 4 BRAND DESIGN PRESETS | v1.1 FIXED | November 2026
   SacramentoWarehouse.com - independent informational publication

   INSTALL: Append this file to existing child theme style.css, OR enqueue as
   a separate CSS file via functions.php (snippet provided), OR paste into
   Divi > Theme Options > General > Custom CSS. Choose ONE method only.
   This is CSS, NOT a replacement child theme or a Divi layout import.

   Approved logo: use the supplied original one-door asset. Never redraw.
   CTA design: editorial links (Browse Guides, Contact Editorial Team).
   Do not place quote/service sales claims or unverifiable phone info.
   ============================================================================ */

/*
   v1.1 FIX - Real Divi 4 default modules are targeted below, even WITHOUT
   custom classes. Optional dd-* classes remain available for exact layouts.

   IMPORTANT: PASTE THIS FILE IN Divi > Theme Options > General > Custom CSS
   or APPEND to existing child style.css, or ENQUEUE it. Do NOT replace the
   entire child theme style.css, because it contains required Theme metadata.
   Divi Theme Builder footer layout must be created separately (CSS cannot
   create modules, menus or policy links).
*/

/* 01 | Signal Industrial brand tokens */
:root {
  --dd-navy: #102B3A;
  --dd-panel: #1C4C60;
  --dd-steel: #427F91;
  --dd-orange: #ED8249;
  --dd-orange-hover: #C9632D;
  --dd-slate: #5A6C75;
  --dd-border: #CFDCE1;
  --dd-pale: #F2F7F8;
  --dd-white: #FFFFFF;
  --dd-black: #000000;
  --dd-social-tile: #252A2E;
  --dd-font: "Inter", "Inter Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dd-font-display: "Inter Display", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dd-content-max: 1200px;
  --dd-reading-max: 760px;
  --dd-radius-sm: 6px;
  --dd-radius-md: 10px;
  --dd-radius-lg: 16px;
  --dd-shadow-card: 0 14px 35px rgb(16 43 58 / 6%);
}

/* 02 | Accessible base typography and links */
html { scroll-behavior: smooth; }
body { color: var(--dd-slate); font-family: var(--dd-font); font-size: 17px; line-height: 1.72; background-color: var(--dd-white); }
body, button, input, select, textarea { font-family: var(--dd-font); }
body :is(h1,h2,h3,h4,h5,h6) { color: var(--dd-navy); font-family: var(--dd-font); font-weight: 700; line-height: 1.18; letter-spacing: -0.018em; }
body h1 { font-family: var(--dd-font-display); font-weight: 800; font-size: clamp(2.55rem,4.9vw,4rem); line-height: 1.08; letter-spacing: -0.035em; }
body h2 { font-size: clamp(1.75rem,3.2vw,2.375rem); }
body h3 { font-size: clamp(1.3rem,2.2vw,1.55rem); }
body h4 { font-size: 1.15rem; }
body a { color: var(--dd-steel); text-underline-offset: .14em; }
body a:hover { color: var(--dd-navy); }
body a:focus-visible, body button:focus-visible, body input:focus-visible, body textarea:focus-visible, body select:focus-visible { outline: 3px solid var(--dd-orange); outline-offset: 3px; }
body ::selection { background: #F6D5C2; color: var(--dd-navy); }
body img { max-width: 100%; height: auto; }

/* 03 | Divi 4 header and navigation. A custom Theme Builder header may need dd-* classes. */
#top-header { background: var(--dd-panel); }
#top-header, #top-header a, #et-secondary-nav > li > a { color: var(--dd-white); }
#main-header, #main-header.et-fixed-header { background-color: var(--dd-white); }
#logo { transform: none; filter: none; box-shadow: none; }
#top-menu > li > a, .et_mobile_menu li a { color: var(--dd-navy); font-weight: 700; }
#top-menu li.current-menu-item > a, #top-menu li.current-menu-ancestor > a { color: var(--dd-steel); }
#top-menu li a:hover { color: var(--dd-steel); opacity: 1; }
#top-menu li ul, .et_mobile_menu { background-color: var(--dd-white); border-top: 3px solid var(--dd-orange); box-shadow: var(--dd-shadow-card); }
#top-menu li li a { color: var(--dd-navy); font-size: 14px; font-weight: 600; }
.mobile_menu_bar::before { color: var(--dd-navy); }
/* Accessibility: do not replace real parent category links with '#' toggles. */

/* 04 | Section and container utilities for Divi section/row classes */
.dd-section { padding-top: clamp(62px,7vw,104px) !important; padding-bottom: clamp(62px,7vw,104px) !important; }
.dd-section-tight { padding-top: clamp(38px,4vw,64px) !important; padding-bottom: clamp(38px,4vw,64px) !important; }
.dd-container { width: min(calc(100% - 42px),var(--dd-content-max)); margin-inline: auto; }
.dd-content-narrow { max-width: var(--dd-reading-max); margin-inline: auto; }
.dd-pale, .dd-surface-pale { background-color: var(--dd-pale) !important; }
.dd-navy, .dd-surface-navy { background-color: var(--dd-navy) !important; }
.dd-panel, .dd-surface-panel { background-color: var(--dd-panel) !important; }
.dd-panel :is(h1,h2,h3,p), .dd-navy :is(h1,h2,h3,p), .dd-surface-navy :is(h1,h2,h3,p), .dd-surface-panel :is(h1,h2,h3,p) { color: var(--dd-white); }
.dd-eyebrow, .dd-section-label { color: var(--dd-steel); font-size: 12px; font-weight: 800; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.dd-lead { color: var(--dd-slate); font-size: clamp(18px,2vw,21px); line-height: 1.75; }
.dd-rule { width: 82px; height: 4px; background: var(--dd-orange); margin: 22px 0 28px; }
.dd-hero { background: var(--dd-pale); padding-block: clamp(72px,8vw,122px) !important; }
.dd-hero .et_pb_row { width: min(90%,var(--dd-content-max)); }
.dd-hero :is(h1,h2) { color: var(--dd-navy); }
.dd-hero .et_pb_text { max-width: 780px; }

/* 05 | Divi buttons + reusable class-based CTA presets */
body .et_pb_button.dd-btn-primary, body .dd-btn-primary, body a.dd-btn-primary,
body .et_pb_button_module_wrapper.dd-btn-primary .et_pb_button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  padding: 14px 24px !important; min-height: 49px; border: 2px solid var(--dd-orange) !important;
  border-radius: 8px !important; background-color: var(--dd-orange) !important;
  color: var(--dd-navy) !important; font-size: 15px !important; line-height: 1.35 !important;
  font-weight: 800; letter-spacing: .01em; text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
body .et_pb_button.dd-btn-primary:hover, body .dd-btn-primary:hover, body a.dd-btn-primary:hover,
body .et_pb_button_module_wrapper.dd-btn-primary .et_pb_button:hover {
  border-color: var(--dd-orange-hover) !important; background-color: var(--dd-orange-hover) !important; color: #000 !important;
}
body .et_pb_button.dd-btn-secondary, body a.dd-btn-secondary, body .dd-btn-secondary {
  display: inline-flex; justify-content: center; align-items: center; padding: 14px 24px !important;
  min-height: 49px; border: 2px solid var(--dd-navy) !important; border-radius: 8px !important;
  background: transparent !important; color: var(--dd-navy) !important; font-size: 15px !important; font-weight: 750;
  text-decoration: none;
}
body .et_pb_button.dd-btn-secondary:hover, body a.dd-btn-secondary:hover, body .dd-btn-secondary:hover { background: var(--dd-navy) !important; color: var(--dd-white) !important; }
body .et_pb_button.dd-btn-primary::after, body .et_pb_button.dd-btn-secondary::after { display: none !important; }
body .dd-link-arrow { font-weight: 750; text-decoration: none; }
body .dd-link-arrow::after { content: "  \2192"; color: var(--dd-orange-hover); }

/* 06 | Category cards and editorial directory */
.dd-category-grid, .dd-post-grid-custom { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.dd-category-card, .dd-post-card, .dd-info-card {
  border: 1px solid var(--dd-border); background: var(--dd-white); border-radius: var(--dd-radius-lg);
  box-shadow: var(--dd-shadow-card); padding: 28px; transition: border-color .2s ease, transform .2s ease;
}
.dd-category-card:hover, .dd-post-card:hover, .dd-info-card:hover { border-color: var(--dd-steel); transform: translateY(-2px); }
.dd-category-card .dd-card-number { color: var(--dd-orange-hover); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.dd-category-card :is(h2,h3), .dd-post-card :is(h2,h3) { margin: 10px 0 12px; font-size: 22px; line-height: 1.22; }
.dd-category-card ul { margin: 16px 0 0; padding-left: 20px; }