/*
Theme Name: Haake Law
Theme URI: https://haakelawgroup.com
Description: Custom child theme for Astra. Black background with navy sticky header. Navy and gold brand accents.
Author: Haake Law Group
Author URI: https://haakelawgroup.com
Template: astra
Version: 8.5.1
*/

/* =========================================
   FONTS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;0,8..60,700;1,8..60,400;1,8..60,500;1,8..60,600&display=swap');

/* =========================================
   ROOT VARIABLES
   ========================================= */
:root {
  /* Brand */
  --hlg-navy: #122348;
  --hlg-navy-deep: #0A1632;
  --hlg-navy-soft: #1F3262;
  --hlg-gold: #B8924A;
  --hlg-gold-bright: #D4A857;
  --hlg-gold-soft: #C9AB6E;

  /* Black/dark backgrounds */
  --hlg-black: #0A0A0A;
  --hlg-black-soft: #141414;
  --hlg-black-deep: #000000;

  /* Light/cream */
  --hlg-cream: #F5F1EA;
  --hlg-cream-soft: #E8E2D4;
  --hlg-white: #FFFFFF;

  /* Accents */
  --hlg-red: #C8412C;
  --hlg-red-bright: #E04F38;

  /* Text — for dark backgrounds */
  --hlg-text-light: #F5F1EA;
  --hlg-text-light-soft: rgba(245, 241, 234, 0.85);
  --hlg-text-light-muted: rgba(245, 241, 234, 0.65);

  /* Text — for light backgrounds */
  --hlg-text-dark: #1A1A1A;
  --hlg-text-dark-soft: #4A4A4A;

  --hlg-border-gold: rgba(184, 146, 74, 0.3);
  --hlg-border-gold-strong: #B8924A;

  /* Typography */
  --hlg-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --hlg-serif: 'Source Serif 4', Georgia, serif;

  --hlg-max: 1280px;
  --hlg-max-narrow: 920px;
}

/* =========================================
   BASE — BLACK EVERYWHERE
   ========================================= */
html { scroll-behavior: smooth; }

body {
  font-family: var(--hlg-sans);
  color: var(--hlg-text-light);
  background: var(--hlg-black);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hlg-serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--hlg-cream);
  line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 600; }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: 1.25em; }

a {
  color: var(--hlg-gold-bright);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover { color: var(--hlg-cream); }

/* =========================================
   STICKY HEADER — NAVY BAR WITH LIGHT LOGO
   ========================================= */
#masthead,
.site-header,
.ast-above-header-bar,
.ast-above-header,
.ast-primary-header-bar,
.main-header-bar,
.ast-main-header-wrap,
#ast-desktop-header,
.site-above-header-wrap,
.site-primary-header-wrap {
  background-color: var(--hlg-navy-deep) !important;
  background-image: none !important;
}

.site-header,
.ast-primary-header-bar,
.main-header-bar {
  border-bottom: 2px solid var(--hlg-gold) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  transition: all 0.3s ease;
}

#masthead { position: sticky !important; top: 0; z-index: 999; }

.ast-primary-header-bar .ast-builder-grid-row,
.main-header-container {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

/* Keep the header bar's inner container constrained so the logo has room */
.ast-primary-header-bar .ast-container {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* =========================================
   LOGO — SINGLE SOURCE OF TRUTH
   Uses WordPress's native custom logo <img>.
   Do NOT re-add any display:none or
   background-image logo rules — those hid it.
   ========================================= */
.custom-logo-link,
.site-logo-img,
.site-branding,
.ast-site-identity .site-logo-img {
  display: inline-block !important;
}

.site-header img.custom-logo,
.ast-site-identity img.custom-logo,
header.site-header img.custom-logo {
  display: block !important;
  width: 280px !important;
  max-width: 280px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: transparent !important;
}

@media (max-width: 600px) {
  .site-header img.custom-logo,
  .ast-site-identity img.custom-logo,
  header.site-header img.custom-logo {
    width: 200px !important;
    max-width: 200px !important;
  }
}

.site-description { display: none !important; }

/* =========================================
   NAVIGATION — WHITE TEXT, GOLD ACTIVE/HOVER
   ========================================= */
.main-header-menu > .menu-item {
  margin-left: 18px;
  margin-right: 18px;
}

.main-header-menu .menu-link,
.main-navigation a,
.menu-item a,
.ast-primary-header .menu-item a {
  font-family: var(--hlg-sans) !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.05em;
  color: var(--hlg-white) !important;
  border-bottom: none !important;
  position: relative;
  padding: 0.4rem 0 !important;
  text-transform: uppercase;
}

.main-navigation a::after,
.menu-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--hlg-gold);
  transition: width 0.25s ease;
}

.main-navigation a:hover::after,
.menu-item a:hover::after { width: 100%; }

.main-header-menu .menu-item:hover > .menu-link,
.main-header-menu .menu-link:hover,
.main-navigation a:hover,
.menu-item a:hover { color: var(--hlg-gold-bright) !important; }

.main-header-menu .current-menu-item > .menu-link,
.main-header-menu .current-menu-ancestor > .menu-link { color: var(--hlg-gold) !important; }

/* dropdown arrow + toggle icons white */
.main-header-menu .ast-header-navigation-arrow,
.main-header-menu .menu-link .icon-arrow svg {
  color: var(--hlg-white) !important;
  fill: var(--hlg-white) !important;
}

/* Submenu (dropdown): dark bg, padding, same color logic */
.main-header-menu .sub-menu {
  background-color: var(--hlg-navy-deep) !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
.main-header-menu .sub-menu .menu-link {
  color: var(--hlg-white) !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  padding-left: 22px !important;
  padding-right: 28px !important;
}
.main-header-menu .sub-menu .menu-item:hover > .menu-link {
  color: var(--hlg-gold-bright) !important;
}
.main-header-menu .sub-menu .current-menu-item > .menu-link {
  color: var(--hlg-gold) !important;
}

/* =========================================
   HERO — MONTAGE + COPY ON BLACK
   ========================================= */
.hlg-hero {
  position: relative;
  background: var(--hlg-black);
  overflow: hidden;
  border-bottom: 2px solid var(--hlg-gold);
}

.hlg-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: var(--hlg-max);
  margin: 0 auto;
  gap: 3rem;
  padding: 4rem 3rem 5rem;
  position: relative;
}

.hlg-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hlg-hero-eyebrow {
  font-family: var(--hlg-sans);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--hlg-gold-bright);
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hlg-hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--hlg-gold);
}

.hlg-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  font-weight: 600;
  color: var(--hlg-cream);
}

.hlg-hero h1 .hlg-italic {
  font-style: italic;
  color: var(--hlg-gold-bright);
  font-weight: 500;
}

.hlg-hero-tagline {
  font-family: var(--hlg-serif);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--hlg-red-bright);
  margin-bottom: 1.5rem;
  font-weight: 500;
  max-width: 540px;
}

.hlg-hero-lede {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--hlg-text-light-soft);
  margin-bottom: 1.75rem;
  max-width: 540px;
  font-weight: 400;
}

.hlg-hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  max-width: 540px;
}

.hlg-hero-list li {
  font-family: var(--hlg-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hlg-cream);
  padding-left: 1.5rem;
  position: relative;
}

.hlg-hero-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--hlg-gold);
}

.hlg-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* BUTTONS */
.hlg-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  font-family: var(--hlg-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.hlg-btn-primary {
  background: var(--hlg-gold);
  color: var(--hlg-navy) !important;
  border-color: var(--hlg-gold);
}

.hlg-btn-primary:hover {
  background: var(--hlg-cream);
  border-color: var(--hlg-cream);
  color: var(--hlg-navy) !important;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--hlg-gold);
}

.hlg-btn-primary::after {
  content: '→';
  transition: transform 0.2s ease;
}

.hlg-btn-primary:hover::after { transform: translateX(4px); }

.hlg-btn-outline {
  background: transparent;
  color: var(--hlg-cream) !important;
  border-color: var(--hlg-cream);
}

.hlg-btn-outline:hover {
  background: var(--hlg-cream);
  color: var(--hlg-navy) !important;
}

.hlg-btn-gold {
  background: var(--hlg-gold);
  color: var(--hlg-navy) !important;
  border-color: var(--hlg-gold);
}

.hlg-btn-gold:hover {
  background: var(--hlg-cream);
  color: var(--hlg-navy) !important;
  border-color: var(--hlg-cream);
}

/* MONTAGE GRID */
.hlg-hero-montage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  height: 100%;
  min-height: 560px;
  margin-left: auto;
  position: relative;
  align-self: stretch;
}

.hlg-montage-tile {
  background-size: cover;
  background-position: center;
  background-color: var(--hlg-navy);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.hlg-montage-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.hlg-montage-tile-1 {
  background-image: url('https://haakelawgroup.com/wp-content/uploads/2026/05/HeadShot-Uniform.jpg');
  background-position: center 25%;
  background-color: #1A1A1A;
  border: 3px solid var(--hlg-gold);
}

.hlg-montage-tile-1::after { display: none; }

.hlg-montage-tile-2 {
  background:
    linear-gradient(135deg, rgba(212, 168, 87, 0.15), rgba(18, 35, 72, 0.85)),
    radial-gradient(circle at 30% 70%, rgba(212, 168, 87, 0.25), transparent 50%),
    linear-gradient(180deg, #2A2418 0%, #1A1612 100%);
}

.hlg-montage-tile-3 {
  background:
    linear-gradient(135deg, rgba(18, 35, 72, 0.4), rgba(10, 22, 50, 0.95)),
    repeating-linear-gradient(90deg, transparent 0, transparent 30px, rgba(184, 146, 74, 0.08) 30px, rgba(184, 146, 74, 0.08) 32px),
    #0A1632;
}

.hlg-montage-tile-4 {
  background:
    linear-gradient(135deg, rgba(184, 146, 74, 0.15), rgba(0, 0, 0, 0.85)),
    repeating-linear-gradient(0deg, transparent 0, transparent 24px, rgba(212, 168, 87, 0.06) 24px, rgba(212, 168, 87, 0.06) 25px),
    repeating-linear-gradient(90deg, transparent 0, transparent 24px, rgba(212, 168, 87, 0.06) 24px, rgba(212, 168, 87, 0.06) 25px),
    #1A1A1A;
}

.hlg-montage-label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  font-family: var(--hlg-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hlg-cream);
  font-weight: 700;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

.hlg-montage-tile-1 .hlg-montage-label {
  background: var(--hlg-gold);
  color: var(--hlg-navy);
  padding: 0.4rem 0.6rem;
  text-shadow: none;
  width: fit-content;
  bottom: -1px;
  left: -1px;
  right: auto;
}

@media (max-width: 1100px) {
  .hlg-hero-grid { grid-template-columns: 1fr 0.85fr; gap: 2.5rem; padding: 4rem 2rem; }
  .hlg-hero h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
}

@media (max-width: 900px) {
  .hlg-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 1.5rem;
  }
  .hlg-hero-montage { max-width: 380px; margin: 0 auto; }
  .hlg-hero-list { grid-template-columns: 1fr; }
}

/* =========================================
   STATEMENT BAND — DARK NAVY
   ========================================= */
.hlg-statement {
  background: var(--hlg-navy);
  color: var(--hlg-cream);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  border-top: 2px solid var(--hlg-gold);
  border-bottom: 2px solid var(--hlg-gold);
}

.hlg-statement-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hlg-statement p {
  font-family: var(--hlg-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hlg-statement em {
  font-style: italic;
  color: var(--hlg-gold-bright);
  font-weight: 600;
}

/* =========================================
   PRACTICE AREAS — BLACK BG, GOLD BORDERS
   ========================================= */
.hlg-practice {
  padding: 6rem 2rem;
  background: var(--hlg-black);
}

.hlg-section-head {
  max-width: var(--hlg-max);
  margin: 0 auto 4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  flex-wrap: wrap;
}

.hlg-section-head-left { flex: 1; min-width: 280px; }

.hlg-section-eyebrow {
  font-family: var(--hlg-sans);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--hlg-gold-bright);
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}

.hlg-section-head h2 { margin: 0; max-width: 700px; color: var(--hlg-cream); }

.hlg-section-head h2 .hlg-italic {
  font-style: italic;
  color: var(--hlg-gold-bright);
  font-weight: 500;
}

.hlg-section-head-right {
  font-family: var(--hlg-sans);
  font-size: 0.95rem;
  color: var(--hlg-text-light-soft);
  max-width: 320px;
  text-align: right;
  line-height: 1.6;
}

.hlg-practice-grid {
  max-width: var(--hlg-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hlg-gold);
  border-left: 1px solid var(--hlg-gold);
}

.hlg-practice-card {
  background: var(--hlg-black);
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--hlg-gold);
  border-bottom: 1px solid var(--hlg-gold);
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.3s ease;
  display: block;
  position: relative;
  overflow: hidden;
}

.hlg-practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--hlg-gold);
  transition: width 0.3s ease;
}

.hlg-practice-card:hover {
  background: var(--hlg-navy);
}

.hlg-practice-card:hover::before { width: 100%; }

.hlg-practice-num {
  font-family: var(--hlg-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--hlg-gold);
  margin-bottom: 1.25rem;
  display: block;
  text-transform: uppercase;
}

.hlg-practice-card:hover .hlg-practice-num { color: var(--hlg-gold-bright); }

.hlg-practice-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--hlg-cream);
}

.hlg-practice-card p {
  font-family: var(--hlg-sans);
  font-size: 0.95rem;
  color: var(--hlg-text-light-soft);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hlg-practice-link {
  font-family: var(--hlg-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hlg-gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hlg-practice-link::after {
  content: '→';
  transition: transform 0.2s ease;
  font-size: 1.1em;
}

.hlg-practice-card:hover .hlg-practice-link::after { transform: translateX(6px); }

@media (max-width: 900px) {
  .hlg-practice-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hlg-practice-grid { grid-template-columns: 1fr; }
}

/* =========================================
   ABOUT — DEEP NAVY
   ========================================= */
.hlg-about {
  background: var(--hlg-navy-deep);
  color: var(--hlg-cream);
  padding: 0;
  position: relative;
  border-top: 2px solid var(--hlg-gold);
  border-bottom: 2px solid var(--hlg-gold);
}

.hlg-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: stretch;
}

.hlg-about-image {
  background-color: var(--hlg-navy);
  background:
    linear-gradient(135deg, rgba(10, 22, 50, 0.7), rgba(0, 0, 0, 0.85)),
    radial-gradient(ellipse at 30% 40%, rgba(184, 146, 74, 0.2), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(212, 168, 87, 0.15), transparent 50%),
    linear-gradient(180deg, #0A1632 0%, #050B1A 100%);
  min-height: 540px;
  position: relative;
}

.hlg-about-image::after {
  content: '';
  position: absolute;
  top: 2rem;
  right: 2rem;
  bottom: 2rem;
  left: 2rem;
  border: 2px solid var(--hlg-gold);
  pointer-events: none;
}

.hlg-about-content {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hlg-about-eyebrow {
  font-family: var(--hlg-sans);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--hlg-gold-bright);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hlg-about h2 {
  color: var(--hlg-cream);
  margin-bottom: 1.5rem;
  max-width: 600px;
  font-weight: 600;
}

.hlg-about h2 .hlg-italic {
  color: var(--hlg-gold-bright);
  font-style: italic;
  font-weight: 500;
}

.hlg-about p {
  font-family: var(--hlg-sans);
  font-size: 1.0625rem;
  color: var(--hlg-text-light-soft);
  line-height: 1.75;
  max-width: 560px;
}

.hlg-about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--hlg-border-gold);
  max-width: 560px;
}

.hlg-stat-num {
  font-family: var(--hlg-serif);
  font-size: 2.75rem;
  color: var(--hlg-gold-bright);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-style: italic;
}

.hlg-stat-label {
  font-family: var(--hlg-sans);
  font-size: 0.85rem;
  color: var(--hlg-text-light-muted);
  letter-spacing: 0.02em;
  font-weight: 500;
  line-height: 1.4;
}

.hlg-about-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-family: var(--hlg-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hlg-cream) !important;
  border-bottom: 2px solid var(--hlg-gold) !important;
  padding-bottom: 6px;
  width: fit-content;
}

.hlg-about-cta:hover { color: var(--hlg-gold-bright) !important; }

.hlg-about-cta::after {
  content: '→';
  transition: transform 0.2s ease;
}

.hlg-about-cta:hover::after { transform: translateX(4px); }

@media (max-width: 900px) {
  .hlg-about-grid { grid-template-columns: 1fr; }
  .hlg-about-image { min-height: 320px; }
  .hlg-about-content { padding: 4rem 2rem; }
}

/* =========================================
   ARAG — DARK
   ========================================= */
.hlg-arag {
  background: var(--hlg-black-soft);
  color: var(--hlg-cream);
  padding: 4rem 2rem;
  border-top: 2px solid var(--hlg-gold);
  border-bottom: 2px solid var(--hlg-gold);
}

.hlg-arag-inner {
  max-width: var(--hlg-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.hlg-arag-text { flex: 1; min-width: 300px; }

.hlg-arag .hlg-section-eyebrow { color: var(--hlg-gold-bright); margin-bottom: 0.5rem; }

.hlg-arag h3 {
  color: var(--hlg-cream);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.hlg-arag h3 .hlg-italic {
  color: var(--hlg-gold-bright);
  font-style: italic;
  font-weight: 500;
}

.hlg-arag p {
  font-family: var(--hlg-sans);
  color: var(--hlg-text-light-soft);
  margin: 0;
  font-size: 1rem;
  max-width: 600px;
}

/* =========================================
   FAQ — BLACK BG
   ========================================= */
.hlg-faq {
  padding: 5.5rem 2rem;
  background: var(--hlg-black);
  border-bottom: 2px solid var(--hlg-gold);
}

.hlg-faq-inner {
  max-width: var(--hlg-max-narrow);
  margin: 0 auto;
}

.hlg-faq .hlg-section-head { margin-bottom: 3rem; display: block; }

.hlg-faq-list {
  border-top: 1px solid var(--hlg-gold);
}

.hlg-faq-item {
  border-bottom: 1px solid var(--hlg-border-gold);
  padding: 0;
  background: transparent;
  transition: background 0.2s ease;
}

.hlg-faq-item[open] { background: var(--hlg-black-soft); }

.hlg-faq-item summary {
  cursor: pointer;
  font-family: var(--hlg-serif);
  font-size: 1.25rem;
  color: var(--hlg-cream);
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 1rem;
  transition: color 0.2s ease;
}

.hlg-faq-item summary::-webkit-details-marker { display: none; }
.hlg-faq-item summary:hover { color: var(--hlg-gold-bright); }

.hlg-faq-item summary::after {
  content: '+';
  font-family: var(--hlg-sans);
  font-size: 2rem;
  color: var(--hlg-gold);
  font-weight: 300;
  transition: transform 0.25s ease;
  line-height: 1;
}

.hlg-faq-item[open] summary::after { transform: rotate(45deg); }

.hlg-faq-item p {
  font-family: var(--hlg-sans);
  font-size: 1rem;
  color: var(--hlg-text-light-soft);
  line-height: 1.75;
  margin: 0;
  padding: 0 1rem 1.5rem 1rem;
  max-width: 760px;
}

/* =========================================
   CONTACT — NAVY DEEP
   ========================================= */
.hlg-contact {
  padding: 6rem 2rem;
  background: var(--hlg-navy-deep);
  color: var(--hlg-cream);
  text-align: center;
}

.hlg-contact-inner {
  max-width: var(--hlg-max-narrow);
  margin: 0 auto;
}

.hlg-contact .hlg-section-eyebrow { color: var(--hlg-gold-bright); }

.hlg-contact h2 {
  color: var(--hlg-cream);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.hlg-contact h2 .hlg-italic {
  color: var(--hlg-gold-bright);
  font-style: italic;
  font-weight: 500;
}

.hlg-contact-lede {
  font-family: var(--hlg-sans);
  font-size: 1.125rem;
  color: var(--hlg-text-light-soft);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.hlg-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 3rem;
  border: 1px solid var(--hlg-gold);
}

.hlg-contact-item {
  padding: 2.25rem 1.5rem;
  border-right: 1px solid var(--hlg-gold);
  background: transparent;
  transition: all 0.2s ease;
}

.hlg-contact-item:last-child { border-right: none; }

.hlg-contact-item:hover { background: var(--hlg-gold); }

.hlg-contact-label {
  font-family: var(--hlg-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hlg-gold-bright);
  font-weight: 700;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

.hlg-contact-item:hover .hlg-contact-label { color: var(--hlg-navy); }

.hlg-contact-value {
  font-family: var(--hlg-serif);
  font-size: 1.375rem;
  color: var(--hlg-cream);
  line-height: 1.3;
  font-weight: 500;
  font-style: italic;
  transition: color 0.2s ease;
}

.hlg-contact-item:hover .hlg-contact-value { color: var(--hlg-navy); }

.hlg-contact-value-small { font-size: 1rem; font-style: normal; font-family: var(--hlg-sans); font-weight: 500; }

.hlg-contact-value a {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
}

@media (max-width: 700px) {
  .hlg-contact-grid { grid-template-columns: 1fr; }
  .hlg-contact-item {
    border-right: none;
    border-bottom: 1px solid var(--hlg-gold);
  }
  .hlg-contact-item:last-child { border-bottom: none; }
}

/* =========================================
   FOOTER — DEEP BLACK
   ========================================= */
.site-footer,
.ast-small-footer,
footer.site-footer {
  background: var(--hlg-black-deep) !important;
  color: var(--hlg-cream) !important;
  padding: 3rem 2rem 2rem !important;
  border-top: 2px solid var(--hlg-gold) !important;
}

.site-footer a,
.ast-small-footer a {
  color: var(--hlg-gold-bright) !important;
}

/* =========================================
   GENERIC PAGE LAYOUT — BLACK BG
   ========================================= */
.hlg-page-header {
  background: var(--hlg-black);
  padding: 6rem 2rem 4rem;
  border-bottom: 2px solid var(--hlg-gold);
}

.hlg-page-header-inner {
  max-width: var(--hlg-max);
  margin: 0 auto;
}

.hlg-page-header .hlg-section-eyebrow { color: var(--hlg-gold-bright); }

.hlg-page-header h1 {
  margin-bottom: 1rem;
  max-width: 900px;
  font-weight: 600;
  color: var(--hlg-cream);
}

.hlg-page-header h1 .hlg-italic {
  color: var(--hlg-gold-bright);
  font-style: italic;
  font-weight: 500;
}

.hlg-page-header p {
  font-family: var(--hlg-sans);
  font-size: 1.25rem;
  color: var(--hlg-text-light-soft);
  max-width: 700px;
  font-weight: 400;
  line-height: 1.6;
}

.page .entry-content,
.single .entry-content,
.hlg-page-content {
  background: var(--hlg-black);
  color: var(--hlg-text-light);
}

.page .entry-content {
  max-width: var(--hlg-max-narrow) !important;
  margin: 0 auto !important;
  padding: 4rem 2rem !important;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.page .entry-content h1,
.page .entry-content h2,
.page .entry-content h3,
.page .entry-content h4 {
  color: var(--hlg-cream);
}

.page .entry-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.page .entry-content h2:first-child { margin-top: 0; }

.page .entry-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  color: var(--hlg-gold-bright);
}

.page .entry-content p {
  color: var(--hlg-text-light);
  font-family: var(--hlg-sans);
}

.page .entry-content a {
  color: var(--hlg-gold-bright);
  border-bottom: 1px solid rgba(212, 168, 87, 0.4);
  padding-bottom: 1px;
}

.page .entry-content a:hover {
  color: var(--hlg-cream);
  border-bottom-color: var(--hlg-cream);
}

.page .entry-content ul,
.page .entry-content ol {
  color: var(--hlg-text-light);
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.page .entry-content li {
  margin-bottom: 0.5em;
  color: var(--hlg-text-light);
}

.page .entry-content blockquote {
  border-left: 3px solid var(--hlg-gold);
  padding: 0 0 0 2rem;
  margin: 2.5rem 0;
  font-family: var(--hlg-serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  color: var(--hlg-cream);
  line-height: 1.4;
}

.page .entry-content strong {
  color: var(--hlg-cream);
  font-weight: 600;
}

.page .entry-content hr {
  border: none;
  border-top: 1px solid var(--hlg-border-gold);
  margin: 3rem auto;
  width: 100px;
}

/* =========================================
   PRACTICE AREA PAGE — special layout
   ========================================= */
.hlg-practice-page-cta {
  background: var(--hlg-navy);
  padding: 3rem 2rem;
  margin: 3rem -2rem -4rem -2rem;
  border-top: 2px solid var(--hlg-gold);
  text-align: center;
}

.hlg-practice-page-cta h3 {
  color: var(--hlg-cream);
  margin-bottom: 1rem;
}

.hlg-practice-page-cta p {
  color: var(--hlg-text-light-soft);
  margin-bottom: 1.5rem;
}

/* =========================================
   HIDE DEFAULTS + FULL BLEED
   ========================================= */
.home .entry-title,
.page-template-front-page .entry-title,
.page .entry-header,
.ast-article-single .entry-header { display: none !important; }

.ast-container,
.site-content > .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.site-content {
  background: var(--hlg-black) !important;
}

.entry-content .hlg-hero,
.entry-content .hlg-statement,
.entry-content .hlg-practice,
.entry-content .hlg-about,
.entry-content .hlg-arag,
.entry-content .hlg-contact,
.entry-content .hlg-faq,
.entry-content .hlg-page-header {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

/* =========================================
   COMPLIANT FOOTER — v8.5
   ========================================= */

/* Hide Astra's default footer */
.site-footer .ast-small-footer,
.site-footer .ast-builder-html-element,
footer.site-footer > div:not(.hlg-footer-container):not(.hlg-footer-disclosure-bar):not(.hlg-footer-copyright) {
  display: none !important;
}

.hlg-footer-container {
  background: var(--hlg-black);
  color: var(--hlg-text-light);
  padding: 4rem 2rem 3rem;
  border-top: 2px solid var(--hlg-gold);
}

.hlg-footer-grid {
  max-width: var(--hlg-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .hlg-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .hlg-footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hlg-footer-col h4 {
  font-family: var(--hlg-sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hlg-gold-bright);
  font-weight: 700;
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--hlg-border-gold);
}

.hlg-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hlg-footer-col ul li {
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.hlg-footer-col ul li a {
  color: var(--hlg-cream);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.hlg-footer-col ul li a:hover {
  color: var(--hlg-gold-bright);
  border-bottom-color: var(--hlg-gold-bright);
}

.hlg-footer-col p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--hlg-cream);
  margin-bottom: 0.5rem;
}

.hlg-footer-col p a {
  color: var(--hlg-cream);
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.hlg-footer-col p a:hover {
  color: var(--hlg-gold-bright);
  border-bottom-color: var(--hlg-gold-bright);
}

/* Brand column — footer logo via background image (light version on dark) */
.hlg-footer-brand .hlg-footer-logo {
  width: 240px;
  height: 60px;
  background-image: url('https://haakelawgroup.com/wp-content/uploads/2026/05/cropped-cropped-cropped-logo-long-light-1.png');
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  margin-bottom: 1rem;
}

.hlg-footer-tagline {
  font-family: var(--hlg-serif);
  font-style: italic;
  font-size: 1.05rem !important;
  color: var(--hlg-gold-bright) !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.5 !important;
}

.hlg-footer-address,
.hlg-footer-contact {
  font-size: 0.9375rem !important;
  line-height: 1.6 !important;
}

.hlg-footer-address em {
  font-size: 0.85rem;
  color: var(--hlg-text-light-muted);
}

/* ==========================================
   REQUIRED DISCLOSURE BAR
   ========================================== */
.hlg-footer-disclosure-bar {
  background: var(--hlg-cream);
  color: var(--hlg-navy);
  padding: 2.5rem 2rem;
  border-top: 3px solid var(--hlg-gold);
  border-bottom: 3px solid var(--hlg-gold);
}

.hlg-footer-disclosure-inner {
  max-width: var(--hlg-max);
  margin: 0 auto;
}

.hlg-disclosure-label {
  font-family: var(--hlg-sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--hlg-navy);
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--hlg-gold);
  display: inline-block;
}

.hlg-disclosure-primary {
  font-family: var(--hlg-serif);
  font-size: 1.25rem !important;
  font-weight: 600;
  color: var(--hlg-navy) !important;
  line-height: 1.5 !important;
  margin: 0 0 1.25rem 0 !important;
  font-style: normal !important;
  max-width: 900px;
}

.hlg-disclosure-secondary {
  font-family: var(--hlg-sans);
  font-size: 0.95rem !important;
  color: var(--hlg-navy) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  font-style: normal !important;
  max-width: 1100px;
  opacity: 0.92;
}

/* ==========================================
   COPYRIGHT BAR
   ========================================== */
.hlg-footer-copyright {
  background: var(--hlg-black-deep);
  color: var(--hlg-text-light-muted);
  padding: 1.25rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  font-family: var(--hlg-sans);
  letter-spacing: 0.05em;
}

/* Hide the old disclosure class if any page still references it */
.hlg-footer-disclosure {
  display: none !important;
}
