/* ========================================
   Gunderson Law Firm - Attorney Styles
   Attorney index and detail page styles
   ======================================== */

/* ========================================
   Attorneys Index — Intro
   ======================================== */

.attorneys-intro {
  padding: 40px 40px 20px;
  text-align: center;
}

.attorneys-intro p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.75;
}

/* ========================================
   Attorney Detail — Hero Banner
   Consistent with other subpage heroes
   ======================================== */

.attorney-hero-banner {
  position: relative;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.attorney-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom, 
    rgba(10, 10, 10, 0.25) 0%, 
    rgba(10, 10, 10, 0.55) 100%
  );
  z-index: 0;
}

.attorney-hero-banner .hero-label {
  position: relative;
  z-index: 1;
  font-size: 2.4rem;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  line-height: 1.15;
  text-align: center;
}

/* ========================================
   Attorney Intro Section
   Centered profile band below hero
   ======================================== */

.attorney-intro {
  background-color: #f8f8f8;
  border-bottom: 1px solid #e5e5e5;
  padding: 0 40px;
  display: flex;
  justify-content: center;
}

.attorney-intro-inner {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 36px 0;
  display: flex;
  align-items: center;
  gap: 32px;
}

.attorney-photo {
  flex-shrink: 0;
  width: 265px;
  aspect-ratio: 145 / 180;
  object-fit: cover;
  object-position: top center;
  border: 1px solid #ddd;
}

.attorney-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.attorney-info h1 {
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 3px;
  line-height: 1.2;
}

.attorney-role {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  font-weight: 600;
}

.attorney-info .btn-email {
  display: inline-block;
  border: 1px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  padding: 8px 20px;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-weight: 600;
  width: fit-content;
}

.attorney-info .btn-email:hover {
  background-color: var(--primary);
  color: #fff;
}

/* ========================================
   Attorney Detail Content
   ======================================== */

.attorney-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

.attorney-section {
  margin-bottom: 45px;
}

.attorney-section:last-child {
  margin-bottom: 0;
}

.attorney-section h2 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.attorney-section-rule {
  width: 40px;
  height: 2px;
  background-color: var(--primary);
  margin-bottom: 20px;
}

.attorney-section p {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.85;
  margin-bottom: 1em;
}

.attorney-section p:last-child {
  margin-bottom: 0;
}

.attorney-section ul {
  list-style: disc;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.attorney-section ul li {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
}

.attorney-section ul ul {
  margin-top: 8px;
  gap: 4px;
}

.attorney-section ul li a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(155, 32, 32, 0.3);
}

.attorney-section ul li a:hover {
  color: #7a1a1a;
}

/* Attorney Awards/Publications Images */
.attorney-media {
  text-align: center;
  padding-top: 10px;
}

.attorney-media img {
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
}

.attorney-media img:last-child {
  margin-bottom: 0;
}

.attorney-media img.magazine-cover {
  max-width: 280px;
}

.attorney-media img.awards-banner {
  max-width: 480px;
}

/* ========================================
   LEGACY: Old attorney hero styles
   Keeping for backward compatibility
   ======================================== */

.attorney-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
  padding: 100px 60px 50px;
  display: flex;
  align-items: flex-end;
  gap: 40px;
  min-height: 400px;
}

.attorney-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(15, 15, 15, 0.55);
  z-index: 0;
}

.attorney-hero > * {
  position: relative;
  z-index: 1;
}

.attorney-hero-photo {
  flex-shrink: 0;
  width: 200px;
  height: 220px;
  object-fit: cover;
  object-position: top center;
}

.attorney-hero-info {
  padding-bottom: 10px;
}

.attorney-hero-info h1 {
  font-size: 1.9rem;
  color: #fff;
  font-weight: normal;
  margin-bottom: 6px;
}

.attorney-hero-role {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}

.btn-email {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 9px 20px;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-email:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.attorney-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.attorney-badges img {
  height: 70px;
  width: auto;
}

.attorney-feature-img {
  max-width: 200px;
  height: auto;
  margin-bottom: 24px;
}

/* =========================
   TABLET
   ========================= */
@media (max-width: 1024px) {
  .attorney-hero-banner {
    height: 300px;
    padding: 0 40px;
  }

  .attorney-hero-banner .hero-label {
    font-size: 2.1rem;
  }

  .attorney-intro {
    padding: 0 30px;
  }

  .attorney-intro-inner {
    padding: 32px 0;
    gap: 24px;
  }

  .attorney-photo {
    width: 220px;
  }
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 900px) {
  .attorney-hero {
    padding: 90px 30px 40px;
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .attorney-hero-banner {
    height: 260px;
    padding: 0 30px;
  }

  .attorney-hero-banner .hero-label {
    font-size: 1.85rem;
  }

  .attorney-intro {
    padding: 0 20px;
  }

  .attorney-intro-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 0 32px;
    gap: 16px;
    max-width: none;
  }

  .attorney-photo {
    width: 195px;
  }

  .attorney-info {
    align-items: center;
  }

  .attorney-info h1 {
    font-size: 1.4rem;
  }

  .attorney-content {
    padding: 40px 25px 55px;
  }

  .attorney-section h2 {
    font-size: 1.1rem;
  }
}

/* =========================
   SMALL MOBILE
   ========================= */
@media (max-width: 600px) {
  .attorney-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 80px 20px 30px;
    min-height: 320px;
  }

  .attorney-hero-banner {
    height: 220px;
    padding: 0 20px;
  }

  .attorney-hero-banner .hero-label {
    font-size: 1.6rem;
  }

  .attorney-intro {
    padding: 0 15px;
  }

  .attorney-intro-inner {
    padding: 22px 0 26px;
  }

  .attorney-photo {
    width: 170px;
  }

  .attorney-info h1 {
    font-size: 1.25rem;
  }

  .attorney-role {
    font-size: 0.62rem;
    margin-bottom: 12px;
  }

  .attorney-content {
    padding: 35px 18px 50px;
  }

  .attorney-section {
    margin-bottom: 35px;
  }

  .attorney-media img.magazine-cover {
    max-width: 220px;
  }

  .attorney-media img.awards-banner {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .attorney-hero-banner {
    height: 190px;
    padding: 0 15px;
  }

  .attorney-hero-banner .hero-label {
    font-size: 1.4rem;
  }

  .attorney-photo {
    width: 150px;
  }

  .attorney-info h1 {
    font-size: 1.15rem;
  }

  .attorney-info .btn-email {
    padding: 7px 16px;
    font-size: 0.62rem;
  }
}
