/* =====================================
   Base / Resets
===================================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font: 16px/1.5 Arial, Helvetica, sans-serif; color: #0f172a; background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: #1f3a8a; text-decoration: none; }
a:hover { text-decoration: underline; }
.small { font-size: 12px; }
.muted { color: #64748b; }
.status { margin-left: 10px; color: #64748b; }

/* =====================================
   Layout Helpers
===================================== */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.section { padding: 16px 0; }
.alt { background: #f8fafc; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.sectiontitle { display: block; margin-inline: auto; align-self: center; height: auto; margin-block-end: .1rem; }

/* =====================================
   Header / Nav
===================================== */
.skip { position: absolute; left: 16px; top: 8px; background: #fff; border: 1px solid #e2e8f0; padding: 6px; border-radius: 6px; transform: translateY(-140%); }
.skip:focus { transform: translateY(0); }

.site-header { position: relative; background: #fff; border-bottom: 1px solid #e2e8f0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: bold; color: #0f172a; }
.logo { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: #0b1b3a; color: #fff; font-weight: bold; }
.brand-name { font-weight: bold; }
.brand img { height: 60px; width: auto; }

.menu-toggle { display: none; border: 1px solid #e2e8f0; background: #fff; padding: 8px 10px; border-radius: 6px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; align-items: center; }
.nav li { position: relative; }
.nav a { padding: 8px 4px; display: block; }

.has-sub > .submenu {
  display: none;
  position: absolute; left: 0; top: 100%;
  min-width: 220px; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px;
  box-shadow: 0 6px 24px rgba(2,6,23,.08); padding: 6px;
}
.has-sub:hover > .submenu { display: block; }
.submenu a { padding: 8px 10px; border-radius: 4px; }
.submenu a:hover { background: #f8fafc; }

/* Mobile nav */
@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid #e2e8f0; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav li { border-top: 1px solid #e2e8f0; }
  .has-sub > .submenu { position: static; min-width: auto; border: none; box-shadow: none; padding: 0; }
}

/* Keep header/nav above the banner and dropdowns on top */
header, .site-header, nav.site-nav { position: relative; z-index: 1000; }
.hero-banner { z-index: 0; }
.site-header, nav, .nav-wrapper { overflow: visible; }
.nav .dropdown-menu, .nav .submenu, .dropdown-menu { position: absolute; top: 100%; left: 0; z-index: 1100; }

/* =====================================
   Hero Banner
===================================== */
.hero-banner { position: relative; aspect-ratio: 16 / 9; min-height: clamp(280px, 45vh, 560px); overflow: clip; }
.hero-banner picture,
.hero-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.hero-banner__content { position: absolute; left: 0; right: 0; bottom: clamp(4px, 2vw, 24px); width: auto; text-align: center; padding: .5rem clamp(16px, 4vw, 32px); z-index: 1; color: #fff; }
.hero-banner__content p { font-size: clamp(22px, 5vw, 48px); line-height: 1.1; font-family: Georgia, 'Times New Roman', Times, serif; }
.hero-banner__content h1 { font-size: clamp(1rem, calc(var(--hero-h) * 0.045), 1.4rem); font-family: 'Gill Sans','Gill Sans MT',Calibri,'Trebuchet MS',sans-serif; font-weight: 100; line-height: 1; text-transform: uppercase; }

/* Tablet range — reduce hero text size slightly */
@media (max-width: 1024px) and (min-width: 641px) {
  .hero-banner__content p { font-size: clamp(20px, 4vw, 40px); line-height: 1.15; }
  .hero-banner__content { bottom: 10%; padding: 0 1.5rem; }
}

/* Optional: even taller on very narrow screens */
@media (max-width: 640px) {
  .hero-banner { aspect-ratio: auto; min-height: 75vh; }
}

/* =====================================
   Attorneys
===================================== */
#attorneys { background-color: #081739; padding-block-start: 1.25rem; }
.kicker { font-family: Georgia, 'Times New Roman', Times, serif; font-size: 1.4em; text-align: center; color: #f1f6f6; margin: 0 0 20px; }

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 16px; }
.cards.two .card { flex: 1 1 340px; }
.card { flex: 1 1 320px; border: 1px solid #e2e8f0; border-radius: 6px; padding: 16px; background: #fff; }

/* Attorney cards */
.attorney-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.attorney-card .avatar { width: clamp(220px, 40vw, 360px); max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin: 0 auto; }
.attorney-card .content { width: 100%; margin-top: .75rem; }
.attorney-card .content .role { margin-top: .125rem; }
.attorney-card .content .bio { margin-top: .375rem; }
.attorney-card .content .btn { margin-top: .5rem; }

.attorney-card h3 { margin-bottom: 0.15rem; }
.attorney-card h3 a { color: #880808; font-family: "Frank Ruhl Libre", Georgia, "Times New Roman", Times, serif; font-weight: 400; font-size: 2rem; }
.attorney-card h3 a:hover { color: #ffcc00; }
.attorney-card .role { font-family: 'Gill Sans','Gill Sans MT',Calibri,'Trebuchet MS',sans-serif; font-size: 1rem; text-transform: uppercase; }

/* =====================================
   Practice Areas
===================================== */
#practice-areas { background-color: #081739; padding-block-start: .25rem; }
#practice-areas .card h3 { font-weight: 400; font-family: 'Gill Sans','Gill Sans MT',Calibri,'Trebuchet MS',sans-serif; font-size: 1rem; text-transform: uppercase; color: #880808; }

/* =====================================
   Contact
===================================== */
#contact { background-color: #081739; padding-block-start: 1.25rem; }

.form { max-width: 920px; width: 100%; margin-inline: auto; }
.form .row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.form label { flex: 1 1 260px; display: block; color: white; }
.form input, .form select, .form textarea { width: 100%; padding: 10px; border: 1px solid #e2e8f0; border-radius: 6px; font: inherit; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid #c7d2fe; }

/* Keep original button + disclaimer flow (CSS-only line-up handled elsewhere if desired) */
.office {
  margin-top: 24px; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; background: #fff;
  max-width: 920px; width: 100%; margin-inline: auto;
}

/* Buttons */
.btn { display: inline-block; background:#b30000; color: #fff; padding: 10px 24px; border-radius: 2px; border: 1px solid #FFFFFF; }
.btn:hover { opacity: .9; text-decoration: none; }
.btn-outline { display: inline-block; background: #fff; color: #0f172a; padding: 10px 14px; border-radius: 2px; border: 1px solid #e2e8f0; }
.more { font-weight: bold; }

/* Highlighted phone button */
.phone-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phone-btn {
  font-size: 1.1rem;
  font-weight: bold;
  /* ↑ Increase horizontal padding, slightly reduce roundness ↓ */
  padding: 12px 40px;      /* more space left/right (28 → 36) */
  background: #b30000;
  border-radius: 4px;      /* less rounded corners */
  transition: all 0.2s ease;
}

.nav .phone-btn {
  padding: 12px 30px !important;
  border-radius: 3px !important;
}

.phone-btn:hover {
  background: #d40000;
  transform: scale(1.05);
}

.free-consult {
  font-size: 0.75rem;
  color: #555;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* =====================================
   Footer
===================================== */
.site-footer { background: #061025; color: #cbd5e1; margin-top: 24px; }
.site-footer .footer { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 0; }
.site-footer a { color: #cbd5e1; }

/* =====================================
   Attorney Profile Layout (Individual Page)
===================================== */
#attorney-profile .attorney-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  text-align: left;
}

#attorney-profile .attorney-card .avatar {
  width: 360px;
  flex-shrink: 0;
  border-radius: 8px;
  margin-top: 1.5rem; /* adjust this value for more or less spacing */
}

#attorney-profile .attorney-card .content {
  margin-top: 0;
}

/* Stack vertically on smaller screens */
@media (max-width: 768px) {
  #attorney-profile .attorney-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #attorney-profile .attorney-card .content {
    margin-top: 1rem;
  }
}


