/* Hensley CPA — Divi-like layout (export + live reference: hensleycpa.com) */

/* Divi icon font — self-hosted copy of the live site's modules.woff/.ttf.
   Used for button arrow icons (:after, content "5" or data-icon attr) and
   blurb circle icons (private-use-area glyphs baked into the HTML). */
@font-face {
  font-family: 'ETmodules';
  src: url(../fonts/etmodules/modules.woff) format('woff'),
       url(../fonts/etmodules/modules.ttf) format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

html, body { margin: 0; padding: 0; }

/* Body typography — match live Divi: Open Sans, 14px, #666, line-height 1.7em */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.7em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Content area links — live customizer uses #828b98; CTAs stay #2EA3F2 */
#main-content a:not(.et_pb_button) { color: #828b98; }
#main-content a:not(.et_pb_button):hover { color: #2EA3F2; }

/* Top bar (phone) — live uses #838b98 when secondary nav enabled */
#top-header {
  background-color: #838b98;
  font-size: 12px;
  line-height: 1.3;
  color: #fff;
  z-index: 100000;
}
#top-header a { color: #fff; text-decoration: none; }
#top-header .container { padding: 0.75em 0; line-height: 1em; font-weight: 600; }
#et-info { float: right; }
#et-info-phone { margin-right: 13px; }
body.et_fixed_nav #top-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100001; }

/* Page container — leave room for fixed header when scrolled */
#page-container { padding-top: 0; }
.et_fixed_nav.et_show_nav #page-container { padding-top: 80px; }

/* Main header — export: white bg, height 70, fixed 40 */
#main-header {
  background-color: #fff;
  width: 100%;
  box-shadow: 0 1px 0 rgba(0,0,0,.1);
  position: relative;
  z-index: 99999;
  line-height: 1.5;
  min-height: 70px;
  display: block;
  transition: min-height 0.4s ease, box-shadow 0.4s ease;
}
#main-header.et-fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 40px;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
}
#main-header.et-fixed-header .logo_container a img#logo { max-height: 40px; }
body.et_fixed_nav #page-container { padding-top: 80px; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
#main-header .container { position: relative; }
.clearfix::after { content: ""; display: table; clear: both; }
.logo_container { position: absolute; top: 0; left: 0; }
.logo_container a img#logo { max-height: 70px; width: auto; display: block; transition: max-height 0.4s ease; }
#et-top-navigation { float: right; }
#top-menu.nav { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 0 1.5rem; }
#top-menu.nav a {
  color: #838b98;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#top-menu.nav a:hover,
#top-menu .current-menu-item a { color: #778399; }
.et_menu_container { display: block; }

/* Mobile menu: hide desktop nav at 980px, show toggle and dropdown */
#et_mobile_nav_menu { display: none; }
#mobile_menu { display: none; }
@media (max-width: 980px) {
  #top-menu-nav { display: none !important; }
  #et_mobile_nav_menu { display: block; }
  .mobile_nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 0;
    cursor: pointer;
  }
  .mobile_menu_bar_toggle {
    cursor: pointer;
    display: inline-block;
    width: 30px;
    height: 24px;
    border: none;
    background: linear-gradient(to bottom, #333 3px, transparent 3px, transparent 9px, #333 9px, #333 12px, transparent 12px);
    vertical-align: middle;
  }
  #mobile_menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
  }
  #mobile_menu.show { display: block; }
  #mobile_menu li { padding: 0.5rem 0; border-bottom: 1px solid #eee; }
  #mobile_menu a { display: block; padding: 0.5rem; color: #333; text-decoration: none; }
  #mobile_menu a:hover { color: #2EA3F2; }
}

/* Section / row / column — CSS Grid */
.et_pb_section { position: relative; padding: 4rem 0; }
.et_pb_row {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 30px;
  padding: 0 20px;
}
.et_pb_row_2 { grid-template-columns: repeat(4, 1fr); }
.et_pb_row_3 { grid-template-columns: repeat(3, 1fr); }
.et_pb_column_4_4 { grid-column: 1 / -1; min-width: 0; }
.et_pb_column_1_4 { min-width: 0; }
.et_pb_column_1_3 { min-width: 0; }
@media (max-width: 768px) {
  .et_pb_row { grid-template-columns: 1fr; }
  .et_pb_row_2 { grid-template-columns: 1fr; }
  .et_pb_row_3 { grid-template-columns: 1fr; }
}

/* Hero section (section_0) — background image set per-page via inline style
   in hero.html/page_hero.html (each page has its own live photo); overlay
   tint/blend is the same across all pages. */
.et_pb_section_0.et_pb_section {
  background-size: cover;
  background-position: 50%;
  background-color: rgba(102, 102, 102, 0.5);
  background-blend-mode: multiply;
  padding: 0;
}
.et_pb_slider { min-height: 400px; display: flex; align-items: center; justify-content: center; color: #fff; }
@media (min-width: 981px) { .et_pb_slider { min-height: 50vh; } }
.et_pb_slide_description { text-align: center; padding: 2rem; }
.et_pb_slide_content .slide-h2 { font-size: 44px; font-weight: 700; font-style: italic; letter-spacing: 1px; margin: 0 0 0.5rem; color: #fff; }
@media (max-width: 767px) {
  .et_pb_slide_content .slide-h2 { font-size: 28px; }
  .et_pb_fullwidth_header_0 .et_pb_module_header { font-size: 22px; }
  .et_pb_cta_0.et_pb_promo .slide-h2, .et_pb_cta_0.et_pb_promo h2 { font-size: 26px; }
  .et_pb_promo_description { font-size: 16px; }
}
.et_pb_slide_content p { margin: 0 0 1rem; color: rgba(255,255,255,0.9); }

/* Interior-page hero titles (page_hero.html: "ABOUT US", "PRACTICE AREAS", etc.)
   use Divi's default .et_pb_slide_title, not the home page's custom .slide-h2 —
   live is 46px/700/letter-spacing 2px on desktop, scaling down at narrower widths. */
.et_pb_slide_description .et_pb_slide_title { font-size: 46px; font-weight: 700; letter-spacing: 2px; margin-top: 0; color: #fff; }
@media (max-width: 980px) {
  .et_pb_slide_description .et_pb_slide_title { font-size: 26px; }
}
@media (max-width: 767px) {
  .et_pb_slide_description .et_pb_slide_title { font-size: 20px; }
}
/* Sitewide Divi "ghost" button — transparent fill, 2px border in the
   current text color, arrow icon slides in from the right on hover.
   Live reference: divi-style-inline-inline-css's .et_pb_button rule. */
.et_pb_button_wrapper { margin-top: 1rem; }
.et_pb_button {
  display: inline-block;
  position: relative;
  margin-top: 20px;
  padding: .3em 1em;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7em;
  background-color: transparent;
  border: 2px solid;
  border-radius: 3px;
  text-decoration: none;
  transition: all .2s;
}
.et_pb_button:after {
  font-family: 'ETmodules';
  content: "5";
  font-size: 32px;
  line-height: 1em;
  opacity: 0;
  position: absolute;
  margin-left: -1em;
  transition: all .2s;
}
.et_pb_button[data-icon]:not([data-icon=""]):after { content: attr(data-icon); }
.et_pb_button:hover { border-color: transparent; padding: .3em 2em .3em .7em; }
.et_pb_button:hover:after { opacity: 1; margin-left: 0; }
/* Dark-background ghost buttons (hero slide, promo CTA) — white text/border,
   translucent white hover fill. */
.et_pb_bg_layout_dark .et_pb_button { color: #fff; }
.et_pb_bg_layout_dark .et_pb_button:hover { background-color: hsla(0,0%,100%,.2); }

/* Section 1 — fullwidth header (gray bar) — homepage only; text_image/single_text on
   interior pages reuse the same "et_pb_section_1" class name and must stay white */
.home-content .et_pb_section_1.et_pb_section { background-color: #838b98; padding: 4rem 2rem; }
.et_pb_fullwidth_header_0 .header-content { text-align: center; color: #fff; }
.et_pb_fullwidth_header_0 .et_pb_module_header { font-size: 28px; font-weight: 600; text-transform: uppercase; line-height: 1.3; margin: 0 0 0.5rem; }
.et_pb_fullwidth_header_subhead { display: block; margin-bottom: 1rem; font-size: 16px; opacity: 0.95; }
.et_pb_fullwidth_header_0 .et_pb_button_one.et_pb_button,
.et_pb_fullwidth_header_0 .et_pb_button_two.et_pb_button {
  background: #fff; color: #838b98; margin: 0 0.5rem; border: 0;
  font-size: 16px; font-weight: 700; letter-spacing: 1px;
}
.et_pb_fullwidth_header_0 .et_pb_button:hover { background: rgba(255,255,255,0.65); color: #666; }
.et_pb_fullwidth_header_0 .et_pb_button:after { font-size: inherit; color: #fff; }
.et_pb_fullwidth_header_0 .et_pb_button:hover:after { color: #666; }

/* Section 2 — text block */
.et_pb_text_align_center { text-align: center; }
.et_pb_text_inner { max-width: 800px; margin: 0 auto; }
.et_pb_text_inner h2 { color: #333; margin: 0 0 1rem; }
.et_pb_text_inner p { color: #666; line-height: 1.7; }
.et_pb_text_0.et_pb_text h1 { color: #778399; }
.et_pb_text_0.et_pb_text h2 { color: #666; }
/* et_pb_text_0's own body copy is #838b98 on live, not the generic #666 above */
.et_pb_text_0 .et_pb_text_inner p { color: #838b98; }

/* Blurbs (section 2 — four icons) */
.et_pb_blurb_content { padding: 1rem 0; text-align: center; }
.et_pb_blurb .et_pb_module_header { font-weight: 800; color: #999; margin: 0.5rem 0; font-size: 1.1rem; }
.et-pb-icon-circle {
  background-color: #838b98; color: #fff; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 25px; margin: 0 auto;
  font-family: 'ETmodules'; font-size: 40px; line-height: 1;
}

/* Section 3 — three images (gray bar from export) */
.et_pb_section_3.et_pb_section { background-color: #838b98; padding: 4rem 2rem; }
.et_pb_image { text-align: center; }
.et_pb_image img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* Section 5 — CTA / promo */
.et_pb_section_5.et_pb_section {
  background-image: url(../images/office2.jpg);
  background-size: cover;
  background-position: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  background-blend-mode: overlay;
  padding: 4rem 2rem;
}
.et_pb_cta_0.et_pb_promo { padding: 3rem 2rem; background: transparent; color: #fff; text-align: center; }
.et_pb_cta_0.et_pb_promo .slide-h2,
.et_pb_cta_0.et_pb_promo h2 { font-size: 34px; font-weight: 700; font-style: italic; letter-spacing: 1px; margin: 0 0 0.5rem; color: #fff; }
.et_pb_promo_description { margin-bottom: 1rem; font-size: 21px; }
.et_pb_promo_description a { color: #fff; }
/* .et_pb_promo_button uses the sitewide ghost-button style (transparent,
   white border/text — set via .et_pb_bg_layout_dark .et_pb_button above) */

/* Home content wrapper */
.home-content { padding: 0; }

.et_pb_text_inner .alignright { float: right; margin-left: 1em; margin-bottom: 0.5em; }
.single-page .et_pb_section { padding: 3rem 0; }
.single-page .et_pb_image img { max-width: 100%; height: auto; }
/* Video / iframe embed (e.g. Google Maps on message page) */
.single-page .et_pb_code_inner iframe,
.video-embed iframe {
  max-width: 100%;
  width: 100%;
  height: 400px;
}
@media (min-width: 768px) {
  .single-page .et_pb_code_inner iframe { height: 500px; }
}

/* Footer — match live: #666666 bar, white footer-info */
#footer-bottom {
  background-color: #666666;
  padding: 15px 0 5px;
  font-size: 14px;
}
#footer-info,
#footer-info a {
  color: #ffffff;
}
#footer-info {
  text-align: center;
}
#footer-info a:hover {
  opacity: 0.7;
}
