/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Heebo', sans-serif;
  direction: rtl;
  background-color: #ffffff;
  color: #000000;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 4.359px + 3.104vw, 58px);
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================
   TOP HEADER
   ========================================= */
.top-header {
  width: 100%;
  height: 44px;
  background-color: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.top-header-container {
  display: flex;
  flex-direction: row-reverse; /* ×ª×™×§×•×Ÿ: ×”×¦×‘×ª ×”×—×™×¤×•×© ×‘×™×ž×™×Ÿ ×•×”×˜×œ×¤×•×Ÿ ×‘×©×ž××œ */
  justify-content: space-between;
  align-items: center;
}

.top-right-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search-form {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 19px);
  flex-direction: row-reverse;
}

.header-search-input {
  width: clamp(90px, 22vw, 170px);
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0.18em;
  text-align: right;
  color: #ffffff;
}

.header-search-input::placeholder {
  color: #ffffff;
  opacity: 1;
}

.header-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

/* Live-search results dropdown (see search-autocomplete.js) - not part of
   the original FRONT static design; added for the live-search feature. */
.header-search-results {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  max-width: 90vw;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  padding: 8px;
  z-index: 200;
  list-style: none;
  max-height: 320px;
  overflow-y: auto;
}

.header-search-results[hidden] {
  display: none;
}

.header-search-results li + li {
  border-top: 1px solid #eeece6;
}

.header-search-results li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 6px;
  color: #000000;
  font-size: 14px;
}

.header-search-results li a:hover {
  color: #94793C;
}

.header-search-results .ywk-search-type {
  flex-shrink: 0;
  font-size: 12px;
  color: #94793C;
}

.header-search-results .ywk-search-empty {
  padding: 10px 6px;
  color: #999999;
  font-size: 14px;
}

.top-text {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0.04em;
  text-align: right;
  color: #FFFFFF;
}

.top-left-section {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-direction: row-reverse;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-direction: row-reverse;
}

.social-icons a {
  display: flex;
  align-items: center;
}

.divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.5);
}

.phone-section {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-direction: row-reverse;
}

.phone-number {
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

/* =========================================
   MAIN HEADER (NAVIGATION)
   ========================================= */
.main-header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.main-header-container {
  display: flex;
  flex-direction: row; /* ×ª×™×§×•×Ÿ: ×”×œ×•×’×• ×‘×™×ž×™×Ÿ ×•×”×ª×¤×¨×™×˜ ×ž×©×ž××œ */
  justify-content: flex-start;
  align-items: center;
  gap: clamp(28px, 24.674px + 0.887vw, 40px);
  align-items: flex-end;
}

.logo {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 7px;
}

.logo-circle {
  width: 68px;
  height: 68px;
  border: 1.5px solid #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: clamp(16px, 15.446px + 0.148vw, 18px);
  letter-spacing: 0.05em;
}

.logo-text {
  font-size: 14px;
  font-weight: 400;
  max-width: 180px;
  line-height: 1.2;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.main-nav a,
.main-nav .submenu-toggle {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 15.446px + 0.148vw, 18px);
  line-height: 100%;
  letter-spacing: 0.01em;
  color: #000000;
  position: relative;
  padding-bottom: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 115px;
  justify-content: space-evenly;
}

.main-nav a.active::after,
.main-nav a:hover::after,
.main-nav .submenu-toggle.active::after,
.main-nav .submenu-toggle:hover::after,
.has-mega-menu.open .submenu-toggle::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: #B0924F;
}

.has-submenu .arrow {
  transition: transform 0.2s ease;
}

/* =========================================
   PAGE HERO (used by: articles-grid.html, publications.html)
   Scoped with a unique "page-hero-*" prefix so it can never collide
   with other hero-style sections (article-hero-*, practice-hero-*, hp03-hero-*, about-hero-*)
   ========================================= */
.page-hero-section {
  width: 100%;
  padding-top: clamp(35px, 30.843px + 1.109vw, 50px);
  padding-bottom: clamp(36px, 29.348px + 1.774vw, 60px);
  background-color: #ffffff;
}

.page-hero-container {
  display: flex;
  flex-direction: row; /* ×ª×™×§×•×Ÿ: ×”×›×•×ª×¨×ª ×”×’×“×•×œ×” ×‘×™×ž×™×Ÿ, ×”×ª×™××•×¨ ×”×§×˜×Ÿ ×ž×©×ž××œ */
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1860px;
  margin: 0 auto;
  padding-inline-end: clamp(245px , 4.359px + 3.104vw, 245px);
}

/* Right Side Block */
.page-hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

/* Breadcrumbs (shared component, single definition site-wide) */
.breadcrumbs {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  color: #8B887F;
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: #8B887F;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #000000;
}

.breadcrumb-separator {
  margin: 0 6px;
}

.breadcrumb-current {
  color: #8B887F;
}

/* Subtitle & Accent Line */
.hero-subtitle-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-subtitle {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.18em;
  color: #B0924F;
  text-transform: uppercase;
}

.hero-line {
  width: 52px;
  height: 1px;
  background-color: #B0924F;
}

/* Main Heading */
.page-hero-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(31px, 24.071px + 1.848vw, 56px);
  line-height: 110%;
  letter-spacing: 0;
  color: #000000;
  text-align: right;
}

/* Left Side Block (Description) */
.page-hero-left {
  text-align: right;
  padding-bottom: 8px;
}

.page-hero-description {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 170%;
  letter-spacing: 0;
  color: #000000;
  text-align: right;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  width: 100%;
  min-height: 460px;
  background-color: #000000;
  color: #ffffff;
  padding-top: clamp(52px, 42.576px + 2.513vw, 86px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-container {
  display: flex;
  flex-direction: row; /* ×ª×™×§×•×Ÿ: ×¢×ž×•×“×ª ×”×œ×•×’×• ×‘×™×ž×™×Ÿ, ×©×¢×•×ª ×”×ž×¢× ×” ×‘×©×ž××œ */
  justify-content: flex-start;
  align-items: flex-start;
  width: 1440px;
  max-width: 100%;
  padding: 0;
  gap: clamp(100px, 72.284px + 7.391vw, 200px);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.col-contact {
  width: 345px;
  display: flex;
  gap: 10px;
}

.logo-circle-lg {
  width: 80px;
  height: 80px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 17.446px + 0.148vw, 20px);
  margin-bottom: 8px;
}

.logo-text-sm {
  font-size: 12px;
  font-weight: 300;
  margin-bottom: 24px;
}

.footer-address {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
  font-style: normal;
  color: #ffffff;
  opacity: .6;
}

.footer-address a {
  color: #ffffff;
}

.footer-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0.18em;
  color: #B0924F;
  margin-bottom: 20px;
  text-align: right;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  color: #ffffff;
  transition: color 0.2s;
  opacity: .6;
}

.footer-links a:hover {
  color: #B0924F;
}

.hours-text {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 140%;
  color: #ffffff;
  opacity: .6;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  margin-top: clamp(36px, 29.348px + 1.774vw, 60px);
  padding: 20px 0;
  width: 1440px;
  margin: 0 auto;
  max-width: 100%;
}

.footer-bottom-container {
  display: flex;
  flex-direction: row-reverse; /* ×ª×™×§×•×Ÿ: ×–×›×•×™×•×ª ×”×™×•×¦×¨×™× ×‘×™×ž×™×Ÿ, Created by dooble ×‘×©×ž××œ */
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.copyright {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #ffffff;
  text-align: right;
  opacity: .6;
}

.created-by {
  font-family: 'Open Sans Hebrew', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #ffffff;
  opacity: .6;
}

/* =========================================
   PUBLICATIONS PAGE (standalone list â€” publications.html)
   Scoped with "pubpage-*" to avoid colliding with the embedded
   ".publications-section" teaser used on home/practice-area/torts.
   ========================================= */
.pubpage-section {
  width: 100%;
  padding: clamp(28px, 24.674px + 0.887vw, 40px) 0 clamp(50px, 36.142px + 3.695vw, 100px);
  background-color: #ffffff;
}

.pubpage-container {
  max-width: 1768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.pubpage-item {
  display: flex;
  flex-direction: row; /* Maintains Right-to-Left column layout */
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(226, 223, 215, 0.5); /* #E2DFD7 at 50% opacity */
}

/* Number Column (Far Right) */
.pubpage-number {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0.08em; /* 8% */
  color: #B0924F;
  text-align: right;
  width: 60px;
  flex-shrink: 0;
  padding-top: 6px;
}

/* Content Column (Middle Right) */
.pubpage-content {
  flex: 1;
  text-align: right;
  padding-left: clamp(28px, 24.674px + 0.887vw, 40px);
}

.pubpage-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(19px, 18.169px + 0.222vw, 22px);
  line-height: 128%;
  color: #0C0C0B;
  margin-bottom: 8px;
}

.pubpage-desc {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 170%;
  color: #55534E;
  max-width: 800px;
}

/* Links Column (Far Left) â€” single wrapper: text link(s) + trailing arrow */
.pubpage-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 200px;
  flex-shrink: 0;
  padding-top: 6px;
}

.pubpage-link-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.pubpage-link-arrow {
  flex-shrink: 0;
  line-height: 0;
}

.pubpage-link {
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  color: #94793C;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pubpage-link-arrow .pubpage-link {
  font-size: 19px;
}

.pubpage-link:hover {
  color: #B0924F;
  text-decoration: underline;
}

.pubpage-link-arrow .pubpage-link:hover {
  text-decoration: none;
  transform: translateX(-3px);
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}


/* =========================================
   ARTICLE HERO SECTION
   ========================================= */
.article-hero-section {
  width: 100%;
  padding-top: clamp(35px, 30.843px + 1.109vw, 50px);
  padding-bottom: clamp(36px, 29.348px + 1.774vw, 60px);
  background-color: #ffffff;
  text-align: center;
}

.article-hero-container {
  max-width: 1840px;
  margin: 0 auto;
  padding: 0 clamp(28px, 24.674px + 0.887vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Breadcrumbs (Centered) */
.article-breadcrumbs {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  color: #8B887F;
  text-align: center;
  margin-bottom: 20px;
}

.article-breadcrumbs a {
  color: #8B887F;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-breadcrumbs a:hover {
  color: #000000;
}

.article-breadcrumbs .breadcrumb-separator {
  margin: 0 6px;
}

.article-breadcrumbs .breadcrumb-current {
  color: #8B887F;
}

/* Category & Date Line */
.article-meta {
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.12em; /* 12% letter-spacing */
  color: #B0924F;
  text-align: center;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* Article Title */
.article-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(31px, 24.071px + 1.848vw, 56px);
  line-height: 110%;
  letter-spacing: 0;
  color: #0C0C0B;
  text-align: center;
  margin-bottom: clamp(28px, 24.674px + 0.887vw, 40px);
}

/* Hero Banner Image Box */
.article-hero-banner {
  width: 100%;
  max-width: 1840px;
  height: 400px;
  background-color: #ECE8DF; /* Fallback background color */
  overflow: hidden;
  position: relative;
  border-radius: 0px;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =========================================
   ARTICLE CONTENT & SIDEBAR
   ========================================= */
.article-content-section {
  width: 100%;
  padding: clamp(20px, 20px, 60px) 0 clamp(50px, 36.142px + 3.695vw, 100px);
  background-color: #ffffff;
}

.article-container {
  max-width: 1401px;
  margin: 0 auto;
  display: flex;
  flex-direction: row; /* Right to Left Column Placement */
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(48px, 39.131px + 2.365vw, 80px);
}

/* Right Main Article Body */
.article-main {
  width: 760px;
  flex-shrink: 0;
  text-align: right;
}

.article-lead {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: clamp(19px, 18.169px + 0.222vw, 22px);
  line-height: 160%;
  color: #2E2C29;
  margin-bottom: clamp(28px, 24.674px + 0.887vw, 40px);
}

.section-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 18.891px + 0.296vw, 24px);
  line-height: 110%;
  color: #0C0C0B;
  margin-bottom: 16px;
}

.divider-line {
  width: 760px;
  height: 1px;
  background-color: rgba(226, 223, 215, 0.6);
  margin-bottom: 24px;
  max-width: 100%;
}

/* Numbered List */
.numbered-list {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(28px, 24.674px + 0.887vw, 40px) 0;
}

.numbered-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.numbered-list .num {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0.08em;
  color: #B0924F;
  padding-top: 4px;
}

.numbered-list .text {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 174%;
  color: #55534E;
}

.subsection-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 18.891px + 0.296vw, 24px);
  line-height: 110%;
  color: #0C0C0B;
  margin: clamp(28px, 24.674px + 0.887vw, 40px) 0 16px 0;
}

.wp-block-paragraph,
.article-text {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 178%;
  color: #55534E;
  margin-bottom: 24px;
}

/* Case Callout Box (Quote) */
.quote-box {
  width: 760px;
  background-color: #F7F5F0;
  border-top: 2px solid #B0924F;
  padding: 32px;
  margin: clamp(28px, 24.674px + 0.887vw, 40px) 0 clamp(80px, 24.674px + 0.887vw, 80px);
  box-sizing: border-box;
  max-width: 100%;
}

.quote-title {
  display: block;
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.16em;
  color: #B0924F;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.quote-text {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 174%;
  color: #2E2C29;
}

.conclusion-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 20.891px + 0.296vw, 26px);
  line-height: 110%;
  color: #0C0C0B;
  margin: clamp(28px, 24.674px + 0.887vw, 40px) 0 16px 0;
}

/* Left Sidebar Area */
.article-sidebar {
  width: 460px;
  flex-shrink: 0;
}

.sidebar-box {
  width: 460px;
  background-color: #F7F5F0;
  padding: 32px 30px;
  position: relative;
  box-sizing: border-box;
}

.sidebar-top-border {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: #B0924F;
}

.sidebar-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.14em;
  color: #94793C;
  margin-bottom: 24px;
  text-align: right;
  text-transform: uppercase;
}

.related-articles-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-articles-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #0C0C0B;
  text-decoration: none;
  padding: 16px 0;
  transition: color 0.2s ease;
}

.related-articles-list li a:hover {
  color: #B0924F;
}

.related-articles-list .arrow {
  font-size: 13px;
  color: #B0924F;
}

.related-articles-list .separator {
  width: 100%;
  height: 1px;
  background-color: rgba(226, 223, 215, 0.5);
  margin: 8px 0;
}


/* =========================================
   ARTICLES GRID SECTION
   ========================================= */
.articles-grid-section {
  width: 100%;
  padding: clamp(28px, 24.674px + 0.887vw, 40px) 0 clamp(50px, 36.142px + 3.695vw, 100px);
  background-color: #ffffff;
}

.articles-grid-container {
  max-width: 1368px; /* 3 cards * 436px + gaps */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 436px);
  gap: clamp(36px, 29.348px + 1.774vw, 60px) 30px; /* 60px vertical space, 30px horizontal space */
  justify-content: center;
}

/* Individual Card */
.article-card {
  width: 436px;
  display: flex;
  flex-direction: column;
  text-align: right;
}

.card-img-wrapper {
  width: 436px;
  height: 327px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #ECE8DF;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.article-card:hover .card-img {
  transform: scale(1.03);
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.card-meta {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0.12em; /* 12% */
  color: #B0924F;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.card-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(19px, 18.169px + 0.222vw, 22px);
  line-height: 132%;
  color: #0C0C0B;
  margin-bottom: 10px;
}

.card-title a {
  color: #0C0C0B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-title a:hover {
  color: #B0924F;
}

.card-excerpt {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 172%;
  color: #55534E;
  margin-bottom: 16px;
}

.card-read-more {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #B0924F;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.card-read-more:hover {
  color: #94793C;
  gap: 8px;
}


/* =========================================
   PRACTICE AREA HERO SECTION
   ========================================= */

.practice-hero {
  width: 100%;
  padding: clamp(35px, 30.843px + 1.109vw, 50px) 0 clamp(48px, 39.131px + 2.365vw, 80px);
  background-color: #ffffff;
}

.practice-hero-container {
  display: flex;
  flex-direction: row; /* ×©×•×ž×¨ ×¢×œ ×ª×•×›×Ÿ ×‘×™×ž×™×Ÿ ×•×ª×¤×¨×™×˜ ×‘×©×ž××œ */
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1768px;
  margin: 0 auto;
  gap: clamp(48px, 39.131px + 2.365vw, 80px);
}

/* Right Content Area */
.practice-hero-right {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Subtitle Header â€” scoped override, does not redeclare the shared component globally */
.practice-hero-right .hero-subtitle-wrapper {
  margin-bottom: 12px;
}

.practice-hero-right .hero-subtitle {
  font-weight: 600;
}

/* Title */
.practice-hero-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: clamp(31px, 24.071px + 1.848vw, 56px);
  line-height: 110%;
  color: #0C0C0B;
  margin-bottom: 32px;
  text-align: right;
}

/* Text Content */
.practice-hero-text {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.practice-hero-text p {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 15.446px + 0.148vw, 18px);
  line-height: 178%;
  color: #55534E;
  text-align: right;
}

.practice-hero-text .paragraph-lead {
  font-size: clamp(19px, 18.446px + 0.148vw, 21px);
  line-height: 170%;
  color: #2E2C29;
  font-weight: 300;
}

.practice-hero-text .paragraph-accent {
  color: #2E2C29;
  font-weight: 300;
}

/* Left Navigation Box (×ª×—×•×ž×™ ×”×ž×—×œ×§×”) */
.practice-hero-left {
  width: 460px;
  flex-shrink: 0;
}

.department-box {
  width: 100%;
  background-color: #F7F5F0;
  padding: 36px 32px;
  box-sizing: border-box;
}

.department-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.14em;
  color: #94793C;
  text-align: right;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.department-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.department-list li {
  border-bottom: 1px solid rgba(226, 223, 215, 0.6);
}

.department-list li:last-child {
  border-bottom: none;
}

.department-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #0C0C0B;
  text-decoration: none;
  transition: color 0.2s ease;
  flex-direction: row-reverse;
}

.department-list li.active a,
.department-list a:hover {
  color: #B0924F;
  font-weight: 500;
}

.department-list .arrow {
  font-size: 14px;
  color: #B0924F;
}


/* =========================================
   SECTION 2: STAGES / MORE INFO
   ========================================= */

.stages-section {
  width: 100%;
  padding: clamp(48px, 39.131px + 2.365vw, 80px) 0;
  background-color: #ffffff;
}

.stages-container {
  max-width: 1476px;
  margin: 0 auto;
  text-align: right;
  /* padding: 0; */
}

/* Header */
.stages-header {
  margin-bottom: clamp(28px, 24.674px + 0.887vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stages-main-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 22.120px + 1.035vw, 40px);
  line-height: 110%;
  color: #0C0C0B;
  margin-top: 12px;
}

/* List Structure */
.stages-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(226, 223, 215, 0.6);
}

.stage-item {
  display: flex;
  flex-direction: row; /* ×©×•×ž×¨ ×¢×œ ×ž×¡×¤×¨ ×‘×™×ž×™×Ÿ ×•×ª×•×›×Ÿ ×ž×©×ž××œ */
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(226, 223, 215, 0.6);
  gap: 32px;
}

/* Right Number Column */
.stage-num {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0.08em;
  color: #B0924F;
  width: 60px;
  flex-shrink: 0;
  text-align: right;
  padding-top: 4px;
}

/* Content Area */
.stage-content {
  flex: 1;
  text-align: right;
}

.stage-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(19px, 18.169px + 0.222vw, 22px);
  line-height: 130%;
  color: #0C0C0B;
  margin-bottom: 8px;
}

.stage-desc {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 170%;
  color: #55534E;
  max-width: 1100px;
}



/* =========================================
   SECTION 4: FAQ ACCORDION SECTION
   ========================================= */

.faq-section {
  width: 100%;
  background-color: #F7F5F0;
  padding: clamp(50px, 36.142px + 3.695vw, 100px) 0;
}

.faq-container {
  max-width: 1438px;
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse; /* ×©×•×ž×¨ ×¢×œ ×”×›×•×ª×¨×ª ×‘×™×ž×™×Ÿ ×•×”×©××œ×•×ª ×ž×©×ž××œ */
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(60px, 43.370px + 4.435vw, 120px);
}

/* Right Side Block */
.faq-right {
  width: 360px;
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq-main-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 22.120px + 1.035vw, 40px);
  line-height: 110%;
  color: #0C0C0B;
  margin-top: 16px;
  text-align: right;
}

/* Left Accordion Column */
.faq-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(226, 223, 215, 0.8);
  padding: 24px 0;
  box-sizing: border-box;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: none;
}

/* Accordion Header â€” now a real <button> inside an <h3> for accessibility */
.faq-item h3 {
  margin: 0;
}

.faq-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 15.446px + 0.148vw, 18px);
  line-height: 130%;
  color: #0C0C0B;
  text-align: right;
}

.faq-item[data-open="true"] .faq-title {
  color: #94793C;
}

.faq-icon {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: clamp(19px, 18.169px + 0.222vw, 22px);
  color: #B0924F;
  line-height: 100%;
}

/* Open Accordion Content Body */
.faq-body {
  margin-top: 15px;
  text-align: right;
  display: flex;
  flex-direction: column;
}

.faq-body p {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 175%;
  color: #55534E;
  margin: 0;
}

/* Bulleted List Inside Open Body */
.faq-bullet-list {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-bullet-list li {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 175%;
  color: #55534E;
  position: relative;
  padding-right: 16px;
}

.faq-bullet-list li::before {
  content: "â€¢";
  position: absolute;
  right: 0;
  color: #55534E;
}


/* =========================================
   SECTION 5: PUBLICATIONS & RULINGS
   ========================================= */

.publications-section {
  width: 100%;
  padding: clamp(50px, 36.142px + 3.695vw, 100px) 0;
  background-color: #ffffff;
}

.publications-container {
  max-width: 1362px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Header Block */
.pub-section-header {
  display: flex;
  flex-direction: row; /* ×©×•×ž×¨ ×¢×œ ×”×›×•×ª×¨×ª ×‘×™×ž×™×Ÿ ×•×”×§×™×©×•×¨ ×ž×©×ž××œ */
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: clamp(36px, 29.348px + 1.774vw, 60px);
}

.pub-header-right {
  max-width: 960px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pub-main-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(31px, 24.071px + 1.848vw, 56px);
  line-height: 110%;
  color: #0C0C0B;
  margin-top: 12px;
  margin-bottom: 24px;
}

.pub-main-desc {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 170%;
  color: #55534E;
}

/* All Publications Link (Left side) */
.pub-header-left {
  padding-top: 16px;
}

.all-publications-link {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  color: #0C0C0B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.all-publications-link:hover {
  color: #B0924F;
}

/* List Structure */
.publications-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(226, 223, 215, 0.6);
}

.pub-item {
  display: flex;
  flex-direction: row; /* ×©×•×ž×¨ ×¢×œ ×”×ž×¡×¤×¨ ×‘×™×ž×™×Ÿ, ×ª×•×›×Ÿ ×‘×ž×¨×›×–, ×§×™×©×•×¨×™× ×ž×©×ž××œ */
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(226, 223, 215, 0.6);
}

/* Number Column (Far Right) */
.pub-number {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0.08em;
  color: #B0924F;
  width: 60px;
  flex-shrink: 0;
  text-align: right;
  padding-top: 4px;
}

/* Content Column */
.pub-content {
  flex: 1;
  text-align: right;
  padding-left: clamp(28px, 24.674px + 0.887vw, 40px);
}

.pub-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(19px, 18.169px + 0.222vw, 22px);
  line-height: 130%;
  color: #0C0C0B;
  margin-bottom: 8px;
}

.pub-desc {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 170%;
  color: #55534E;
  max-width: 800px;
}

/* Links Column (Far Left) â€” single wrapper: text link(s) + trailing arrow */
.pub-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 200px;
  flex-shrink: 0;
  padding-top: 4px;
}

.pub-link-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.pub-link-arrow {
  flex-shrink: 0;
  line-height: 0;
}

.pub-link {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  color: #B0924F;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pub-link-arrow .pub-link {
  font-size: 18px;
}

.pub-link:hover {
  color: #B0924F;
  text-decoration: underline;
}

.pub-link-arrow .pub-link:hover {
  text-decoration: none;
  transform: translateX(-3px);
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}



/* =========================================
   SECTION 6: CONTACT BANNER
   ========================================= */

.contact-banner-section {
  width: 100%;
  background-color: #F7F5F0;
  padding: clamp(48px, 39.131px + 2.365vw, 80px) 0 clamp(50px, 36.142px + 3.695vw, 100px);
}

.contact-banner-container {
  max-width: 1556px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Right Header Block */
.contact-banner-header {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: clamp(36px, 29.348px + 1.774vw, 60px);
}

.contact-banner-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 22.120px + 1.035vw, 40px);
  line-height: 110%;
  color: #0C0C0B;
  margin-top: 12px;
  margin-bottom: 12px;
}

.contact-banner-subtitle {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #55534E;
}

/* 3-Column Layout */
.contact-banner-grid {
  display: flex;
  flex-direction: row; /* ×©×•×ž×¨ ×¢×œ ×¡×“×¨ ×”×¢×ž×•×“×•×ª ×ž×™×ž×™×Ÿ ×œ×©×ž××œ */
  align-items: flex-start;
  justify-content: flex-start;
}

.contact-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  width: 320px;
}

/* Column Header with Small Gold Line */
.col-title-wrapper {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 12px;
}

.col-line {
  width: 28px;
  height: 1px;
  background-color: #B0924F;
}

.col-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 100%;
  color: #B0924F;
}

/* Column Content Text */
.col-text {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #0C0C0B;
  margin: 0;
}

.col-link {
  text-decoration: none;
  transition: color 0.2s ease;
}

.col-link:hover {
  color: #B0924F;
}

/* Vertical Separator Divider */
.contact-divider {
  width: 1px;
  min-height: 60px;
  background-color: rgba(226, 223, 215, 0.8);
  margin: 0 clamp(36px, 29.348px + 1.774vw, 60px);
  height: stretch;
}


/* =========================================
   HERO BANNER SECTION (× ×–×™×§×™×Ÿ)
   ========================================= */

.torts-hero-section {
  width: 100%;
  padding-top: clamp(35px, 30.843px + 1.109vw, 50px);
  padding-bottom: clamp(48px, 39.131px + 2.365vw, 80px);
  background-color: #ffffff;
}

.torts-hero-container {
  max-width: 1768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Header Text Block (Right Aligned) â€” scoped to torts.html hero only */
.torts-hero-header {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: clamp(28px, 24.674px + 0.887vw, 40px);
}

/* Breadcrumbs */
.torts-hero-header .breadcrumbs {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  color: #8B887F;
  margin-bottom: 24px;
}

.torts-hero-header .breadcrumbs a {
  color: #8B887F;
  text-decoration: none;
  transition: color 0.2s ease;
}

.torts-hero-header .breadcrumbs a:hover {
  color: #000000;
}

.torts-hero-header .breadcrumb-separator {
  margin: 0 6px;
}

.torts-hero-header .breadcrumb-current {
  color: #8B887F;
}

/* Subtitle & Accent Line */
.torts-hero-header .hero-subtitle-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.torts-hero-header .hero-subtitle {
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.18em;
  color: #B0924F;
  text-transform: uppercase;
}

.torts-hero-header .hero-line {
  width: 52px;
  height: 1px;
  background-color: #B0924F;
}

/* Main Title */
.torts-hero-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(31px, 24.071px + 1.848vw, 56px);
  line-height: 110%;
  color: #0C0C0B;
  margin-bottom: 16px;
  text-align: right;
}

/* Description Paragraph */
.torts-hero-desc {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 15.446px + 0.148vw, 18px);
  line-height: 160%;
  color: #55534E;
  text-align: right;
}

/* Banner Image Box */
.torts-hero-banner {
  width: 100%;
  height: 480px;
  background-color: #ECE8DF;
  overflow: hidden;
  position: relative;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* =========================================
   2. ABOUT SECTION (× ×–×™×§×™×Ÿ - ×ª×™××•×¨ ×›×œ×œ×™)
   ========================================= */

.about-main-section {
  width: 100%;
  padding: clamp(28px, 24.674px + 0.887vw, 40px) 0;
  background-color: #ffffff;
}

.about-main-container {
  max-width: 1000px; /* ×¨×•×—×‘ ×ž×ž×•×§×“ ×œ×§×¨×™××” × ×•×—×” ×›×ž×• ×‘×ª×ž×•× ×” */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.about-lead-text {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 17.446px + 0.148vw, 20px);
  line-height: 160%;
  color: #2E2C29;
  margin-bottom: 30px;
}

.about-body-text {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.about-body-text p {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 17.446px + 0.148vw, 20px);
  line-height: 178%;
  color: #55534E;
  margin: 0;
}


/* =========================================
   3. SUB-AREAS GRID SECTION (×‘×ž×” ×× ×—× ×• ×ž×˜×¤×œ×™×)
   ========================================= */

.sub-areas-section {
  width: 100%;
  padding: clamp(28px, 24.674px + 0.887vw, 40px) 0 clamp(70px, 50.599px + 5.174vw, 140px);
  background-color: #ffffff;
}

.sub-areas-container {
  max-width: 1438px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Header Block */
.sub-areas-header {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 35px;
}

.sub-areas-main-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(29px, 24.843px + 1.109vw, 44px);
  line-height: 110%;
  color: #0C0C0B;
  margin-top: 12px;
  margin-bottom: 12px;
  text-align: right;
}

.sub-areas-main-desc {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #55534E;
  text-align: right;
}

/* 3-Column Grid Layout */
.sub-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Individual Card */
.sub-area-card {
  background-color: #F7F5F0;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: right;
  min-height: 245px;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sub-area-card:hover {
  transform: translateY(-3px);
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.04);
}

.card-top {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-num {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0.08em;
  color: #94793C;
  margin-bottom: 0px;
}

.sub-area-card-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 18.891px + 0.296vw, 24px);
  line-height: 120%;
  color: #0C0C0B;
  margin-bottom: 16px;
}

.card-desc {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 170%;
  color: #5C5C56;
  margin-bottom: 28px;
  margin-inline: 10px;
}

.card-link {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #B0924F;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-link:hover {
  color: #94793C;
}


/* =========================================
   ABOUT PAGE STYLES
   ========================================= */

/* Hero Banner */
.about-banner-section {
  width: 100%;
  padding-top: clamp(35px, 30.843px + 1.109vw, 50px);
  padding-bottom: clamp(36px, 29.348px + 1.774vw, 60px);
  background-color: #ffffff;
}

.about-banner-container {
  max-width: 1900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.about-hero-header {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(28px, 24.674px + 0.887vw, 40px);
  width: 100%;
}

.hero-right-title {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-banner-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(35px, 26.962px + 2.143vw, 64px);
  line-height: 110%;
  color: #0C0C0B;
  margin-top: 12px;
}

.about-tagline {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 16.446px + 0.148vw, 19px);
  line-height: 160%;
  color: #5C5C56;
  text-align: right;
}

.about-banner-image {
  width: 100%;
  height: 562px;
  background-color: #ECE8DF;
  overflow: hidden;
}

.about-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.4s ease;
}

/* Gentle arrival zoom, timed with the section's fade-up so the image
   settles into place instead of just appearing static. Only kicks in
   when JS animation support is confirmed (progressive enhancement). */
.js-anim .reveal .about-banner-image img {
  transform: scale(1.08);
  transition: transform 1.4s ease;
}

.js-anim .reveal.is-visible .about-banner-image img {
  transform: scale(1);
}

.about-banner-image:hover img {
  transform: scale(1.04);
  transition: transform 0.4s ease;
}

/* About Content & Stats */
.about-content-section {
  width: 100%;
  padding: clamp(48px, 39.131px + 2.365vw, 80px) 0;
  background-color: #ffffff;
}

.about-content-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(60px, 43.370px + 4.435vw, 120px);
}

.about-main-text {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-lead {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 17.446px + 0.148vw, 20px);
  line-height: 170%;
  color: #2E2C29;
}

.about-paragraph {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 15.446px + 0.148vw, 18px);
  line-height: 178%;
  color: #5C5C56;
}

.about-paragraph.highlight {
  /* color: #0C0C0B; */
  /* font-weight: 500; */
}

/* Stats Sidebar */
.about-stats-sidebar {
  width: 320px;
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stats-main-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 22.120px + 1.035vw, 40px);
  line-height: 110%;
  color: #0C0C0B;
  margin-bottom: 24px;
}

.stats-divider-line {
  width: 100%;
  height: 1px;
  background-color: rgba(226, 223, 215, 0.8);
  margin-bottom: 32px;
}

.stats-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 32px;
}

.stat-box .stat-number {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 23.783px + 0.591vw, 34px);
  line-height: 100%;
  color: #0C0C0B;
  margin-bottom: 6px;
}

.stat-box .stat-label {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #B0924F;
}

/* Partners Section */
.partners-section {
  width: 100%;
  padding: clamp(48px, 39.131px + 2.365vw, 80px) 0;
  background-color: #ECE8DF;
}

.partners-container {
  max-width: 1898px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.partners-header {
  margin-bottom: clamp(28px, 24.674px + 0.887vw, 40px);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 24.674px + 0.887vw, 40px);
}

.partner-card {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.partner-img-wrapper {
  width: 100%;
  height: 480px;
  background-color: #FFFFFF;
  overflow: hidden;
  margin-bottom: 24px;
  border-bottom: 2px #B0924F solid;
}

.partner-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.partner-card:hover .partner-img-wrapper img {
  transform: scale(1.05);
}

.partner-role {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 100%;
  color: #B0924F;
  margin-bottom: 8px;
  display: block;
}

.partner-name {
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: clamp(19px, 18.169px + 0.222vw, 22px);
  line-height: 120%;
  color: #0C0C0B;
  margin-bottom: 16px;
  display: inline-block;
  position: relative;
}

.partner-name::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: #B0924F;
  transition: width 0.35s ease;
}

.partner-card:hover .partner-name::after {
  width: 100%;
}

.partner-bio {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 15.446px + 0.148vw, 18px);
  line-height: 170%;
  color: #55534E;
  margin-bottom: 16px;
}

/* Legal Team Grid Section */
.team-section {
  width: 100%;
  padding: clamp(48px, 39.131px + 2.365vw, 80px) 0 clamp(60px, 43.370px + 4.435vw, 120px);
  background-color: #ffffff;
}

.team-container {
  max-width: 1768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.team-header {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: clamp(35px, 30.843px + 1.109vw, 50px);
}

.team-main-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 25.228px + 0.739vw, 38px);
  line-height: 110%;
  color: #0C0C0B;
  margin-top: 12px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  border-block: 1px #B0924F59 solid;
  padding: clamp(28px, 24.674px + 0.887vw, 40px) 0;
}

.team-card {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.team-card-image {
  width: 100%;
  height: 360px;
  background-color: #ECE8DF;
  overflow: hidden;
  margin-bottom: 16px;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-image img {
  transform: scale(1.06);
}

.team-member-role {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  color: #B0924F;
  margin-bottom: 6px;
  display: block;
}

.team-member-name {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  color: #0C0C0B;
  display: inline-block;
  position: relative;
}

.team-member-name::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background-color: #B0924F;
  transition: width 0.35s ease;
}

.team-card:hover .team-member-name::after {
  width: 100%;
}



/* =========================================
   HOME PAGE (INDEX.HTML) STYLES
   ========================================= */

/* Hero Section */
.hp03-hero-section {
  width: 100%;
  /* padding: 60px 0 80px; */
  background-color: #F7F5F0;
}

.hp03-hero-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.hp03-hero-content {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-inline-start: 25px;
  /* gap: 40px; */
}

.hp03-hero-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: clamp(35px, 26.962px + 2.143vw, 64px);
  line-height: 115%;
  color: #0C0C0B;
  margin-top: 16px;
  margin-bottom: 20px;
}

.hp03-hero-subtitle {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 17.446px + 0.148vw, 20px);
  line-height: 165%;
  color: #5C5C56;
  margin-bottom: clamp(48px, 39.131px + 2.365vw, 80px);
}

.hero-action-link {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  color: #0C0C0B;
  text-decoration: none;
  margin-bottom: clamp(50px, 36.142px + 3.695vw, 100px);
  transition: color 0.2s ease;
  text-decoration: underline;
  text-decoration-color: #B0924F;
}

.hero-action-link:hover {
  color: #B0924F;
}

.hp03-hero-stats {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: flex-start;
  gap: clamp(60px, 43.370px + 4.435vw, 120px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-inline-start: 1px #E2DFD7 solid;
  padding-inline-start: 18px;
}

.stat-item .stat-number {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 22.120px + 1.035vw, 40px);
  color: #0C0C0B;
  line-height: 100%;
}

.stat-item .stat-label {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #94793C;
  margin-top: 6px;
}

.hp03-hero-image-wrap {
  width: 1152px;
  height: 798px;
  flex-shrink: 0;
  background-color: #ECE8DF;
  overflow: hidden;
}

.hp03-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Practice Intro Section */
.hp03-practice-intro {
  padding: clamp(48px, 39.131px + 2.365vw, 80px) 0;
  background-color: #ffffff;
  width: 1556px;
  max-width: 100%;
  margin: 0 auto;
}

.intro-header {
  text-align: start;
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(35px, 30.843px + 1.109vw, 50px);
}

.hero-subtitle-wrapper.centered {
  justify-content: center;
}

.hp03-practice-intro-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(29px, 24.843px + 1.109vw, 44px);
  line-height: 120%;
  color: #0C0C0B;
  margin-top: 12px;
  margin-bottom: 16px;
}

.hp03-practice-intro-subtitle {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 170%;
  color: #55534E;
  margin-bottom: 20px;
}

.read-more-top {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #0C0C0B;
  text-decoration: none;
}

.hp03-intro-cards-grid {
  max-width: 1768px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hp03-intro-card {
  background-color: #F7F5F0;
  padding: 18px 12px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  box-sizing: border-box;
}

.hp03-intro-card-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: clamp(19px, 18.169px + 0.222vw, 20px);
  color: #0C0C0B;
  margin-top: 12px;
  margin-bottom: 0;
  margin-inline: 10px;
}

.card-arrow-btn {
  font-size: clamp(16px, 15.446px + 0.148vw, 18px);
  color: #0C0C0B;
  text-decoration: none;
  border: 1px solid #B0924F;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-inline: 10px;
  margin-bottom: 6px;
}

/* About Section */
.hp03-about-section {
  width: 100%;
  padding: clamp(50px, 36.142px + 3.695vw, 100px) 0;
  background-color: #F7F5F0;
}

.hp03-about-container {
  max-width: 1816px;
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  gap: clamp(48px, 39.131px + 2.365vw, 80px);
}

.hp03-about-text {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hp03-about-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: clamp(29px, 24.843px + 1.109vw, 44px);
  line-height: 115%;
  color: #0C0C0B;
  margin-top: 12px;
  margin-bottom: 12px;
}

.hp03-about-lead {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 17.446px + 0.148vw, 20px);
  line-height: 175%;
  color: #2A2A27;
  margin-bottom: 8px;
}

.hp03-about-body {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 175%;
  color: #5C5C56;
  margin-bottom: 16px;
}

.about-more-btn {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #0C0C0B;
  text-decoration: none;
}

.hp03-about-image {
  width: 750px;
  height: 640px;
  flex-shrink: 0;
  background-color: #ECE8DF;
  overflow: hidden;
}

.hp03-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Team Section */
.hp03-team-section {
  width: 100%;
  max-width: 1554px;
  padding: clamp(50px, 36.142px + 3.695vw, 100px) 0;
  background-color: #ffffff;
  margin: 0 auto;
}

.team-top-header {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: clamp(28px, 24.674px + 0.887vw, 20px);
  border-bottom: 1px rgba(176, 146, 79, 0.35) solid;
  margin-bottom: 20px;
}

.hp03-team-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 25.228px + 0.739vw, 38px);
  color: #0C0C0B;
  margin-top: 12px;
}

.partners-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 24.674px + 0.887vw, 40px);
  margin-bottom: clamp(36px, 29.348px + 1.774vw, 60px);
  display: flex;
  justify-content: j;
  justify-content: space-between;
}

/* Row of team subgroups (repeater: any number of labeled groups,
   e.g. "Lawyers" / "Administrative staff"), placed side by side with
   a vertical divider between each group. */
.team-subgroups-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.team-subgroup {
  display: flex;
  flex-direction: column;
}

.team-subgroup:not(:first-child) .legal-staff-grid{
   border-inline-start: 1px solid rgba(226, 223, 215, 0.8); 
}

.team-subgroup:first-child .legal-staff-grid{
   padding-inline-end: 12px;
}
.team-subgroup:not(:first-child) .legal-staff-grid{
   padding-inline-start: 12px;
}

.subgroup-title-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.subgroup-label {
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #94793C;
  white-space: nowrap;
}

.subgroup-line {
  /* flex: 1; */
  height: 1px;
  background-color: #B0924F;
  margin-inline-end: 8px;
  width: 52px;
}

.legal-staff-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-block: 1px #B0924F59 solid;
  padding-block: 20px;
}

.legal-staff-grid .hp03-team-card.small {
  width: 275px;
  max-width: 100%;
}

.hp03-team-card {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.hp03-team-card.hp03-team-card-partner {
  width: 375px;
}

.hp03-team-card.hp03-team-card-partner .hp03-team-card-image img {
  border-bottom: 3px #B0924F solid;
}

.hp03-team-card-image {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  background-color: #ECE8DF;
  overflow: hidden;
  margin-bottom: 16px;
  border-bottom: 2px #B0924F80 solid;
}

.hp03-team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hp03-team-member-role {
  display: block;
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94793C;
  margin-bottom: 6px;
}

.hp03-team-member-name {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 17.446px + 0.148vw, 18px);
  line-height: 130%;
  color: #0C0C0B;
}

.hp03-team-card.small .hp03-team-card-image {
  aspect-ratio: 1 / 1.1;
}

.hp03-team-card.small .hp03-team-member-name {
  font-size: 16px;
}

/* Testimonials Section */
.hp03-testimonials-section {
  width: 100%;
  padding: clamp(50px, 36.142px + 3.695vw, 100px) 0;
  background-color: #F7F5F0;
  border-top: 1px solid rgba(226, 223, 215, 0.6);
}

.hp03-testimonials-section .container{
  width: 1556px;
  max-width: 100%;
  margin: 0 auto;
}

/* Eyebrow header: label flush to the reading-start side, with a rule
   filling the rest of the row \u2014 mirrors the reference design where the
   label sits at the top corner and the line runs the width of the section. */
.testimonials-top-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(28px, 24.674px + 0.887vw, 40px);
}

.testimonials-eyebrow-label {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #B0924F;
  white-space: nowrap;
}

.testimonials-eyebrow-line {
  flex: 1;
  height: 1px;
  background-color: rgba(176, 146, 79, 0.35);
}

.hp03-testimonials-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 24.674px + 0.887vw, 40px);
  margin-top: 40px;
}

.testimonial-card {
  background-color: transparent;
  border-top: 1px solid #B0924F;
  padding-top: 24px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
}

.testimonial-quote-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.quote-mark {
  flex-shrink: 0;
  font-size: 56px;
  line-height: 1;
  color: #B0924F;
  font-weight: 700;
}

.testimonial-quote {
  flex: 1;
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: #2A2A27;
  font-weight: 300;
}

.testimonial-quote p {
  margin: 0;
}

.testimonial-quote p + p {
  margin-top: 12px;
}

.testimonial-author {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #94793C;
  margin-top: 16px;
}
/* =========================================================================
   ACCESSIBILITY BASICS
   ========================================================================= */

/* Visually hide content but keep it available to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link: hidden until focused, then jumps above the header */
.skip-link {
  position: absolute;
  top: -60px;
  right: 16px;
  z-index: 1000;
  background: #0C0C0B;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 4px;
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid #B0924F;
  outline-offset: 2px;
}

/* Consistent, visible focus state for every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #B0924F;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Reset native button styles used for our accessible controls */
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}


/* =========================================================================
   SCROLL-REVEAL ANIMATIONS (task 2)
   Progressive enhancement: elements start visible in CSS, JS adds
   ".reveal" state classes only after confirming animation support.
   ========================================================================= */
.reveal {
  opacity: 1;
  transform: none;
}

.js-anim .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-anim .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered grid entrance â€” used for cards inside a grid/row so each one
   fades up slightly after the previous, instead of the whole grid arriving
   as a single flat block. The container gets "reveal-stagger" (observed
   for is-visible), direct children animate via nth-child delays â€” no
   per-item JS bookkeeping needed. */
.js-anim .reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-anim .reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.js-anim .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.js-anim .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 90ms; }
.js-anim .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.js-anim .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 270ms; }
.js-anim .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 360ms; }
.js-anim .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 450ms; }

@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js-anim .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Subtle hover/interaction motion, used broadly across the site */
.hp03-intro-card,
.hp03-team-card,
.article-card,
.testimonial-card,
.card-arrow-btn,
.hero-action-link,
.about-more-btn,
.read-more-top {
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.2s ease;
}

.hp03-intro-card:hover,
.hp03-team-card:hover,
.article-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
}

.card-arrow-btn:hover {
  transform: translateX(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .hp03-intro-card:hover,
  .hp03-team-card:hover,
  .article-card:hover,
  .testimonial-card:hover,
  .card-arrow-btn:hover {
    transform: none;
  }
}


/* =========================================================================
   LOGO (real image, shared by every page â€” task 1)
   ========================================================================= */
.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 87px;
  width: auto;
  display: block;
}

.footer-logo img {
  height: 68px;
  width: auto;
  display: block;
}


/* =========================================================================
   MOBILE MENU TOGGLE (task 8)
   ========================================================================= */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
}

.mobile-menu-toggle .hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #0C0C0B;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================================
   MEGA MENU (× ×–×™×§×™×Ÿ â€” task 9)
   ========================================================================= */
.has-mega-menu {
  position: static;
}

.main-header {
  position: relative;
}

/* The whole label + arrow is one <button>; no inner link/row to lay out
   separately anymore, so this just adds pointer affordance and the arrow
   flip on open. */
.submenu-toggle {
  cursor: pointer;
}

.submenu-toggle .arrow {
  transition: transform 0.2s ease;
}

.has-mega-menu.open .submenu-toggle .arrow {
  transform: rotate(180deg);
}

/* Full-width bar directly under the whole nav (not just the parent item),
   matching the reference design: a single row of links spanning edge to
   edge, on the site's cream background, with a thin gold underline. */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #F7F5F0;
  border-top: none;
  border-bottom: 1px solid #B0924F;
  box-shadow: 0 12px 24px rgba(12, 12, 11, 0.06);
  padding: clamp(18px, 15.783px + 0.887vw, 30px) 0;
  z-index: 60;
  display: none;
}

.has-mega-menu.open .mega-menu {
  display: block;
}

@media (hover: hover) {
  .has-mega-menu:hover .mega-menu {
    display: block;
  }

  .has-mega-menu:hover .submenu-toggle .arrow {
    transform: rotate(180deg);
  }
}

.mega-menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 20.348px + 1.478vw, 48px);
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4.359px + 3.104vw, 58px);
}

.mega-menu a {
  display: block;
  padding: 4px 0;
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #0C0C0B;
  text-align: center;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.mega-menu a:hover,
.mega-menu a:focus-visible {
  color: #94793C;
}


/* =========================================================================
   FAQ ACCORDION â€” accessible button/panel pattern (task 4)
   ========================================================================= */
.faq-question-btn {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: right;
  padding: 0;
}

.faq-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq-item[data-open="true"] .faq-panel {
  max-height: 2000px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-panel {
    transition: none;
  }
}


/* =========================================================================
   FOOTER ACCORDION (accessible on mobile â€” task 8)
   ========================================================================= */
.footer-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: right;
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #B0924F;
}

.footer-accordion-icon {
  display: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.footer-col[data-open="true"] .footer-accordion-icon {
  transform: rotate(180deg);
}


/* =========================================================================
   RESPONSIVE BREAKPOINTS (task 8)
   ========================================================================= */
/* Font sizes and most spacing above are fluid, via clamp() â€” they scale
   smoothly between a mobile minimum and a desktop maximum automatically,
   with no breakpoints needed. Layout changes that clamp() can't express
   (stacking columns, changing grid-template-columns, the mobile menu,
   the footer accordion) live in a dedicated stylesheet instead:
   assets/css/responsive.css â€” loaded right after this file on every page. */

/* =========================================================================
   404 / ERROR PAGE
   ========================================================================= */
.error-section {
  width: 100%;
  padding: clamp(50px, 36.142px + 3.695vw, 100px) 0 clamp(60px, 43.370px + 4.435vw, 120px);
  background-color: #ffffff;
}

.error-container {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-code {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(77px, 59.539px + 4.656vw, 140px);
  line-height: 100%;
  color: #B0924F;
  margin-bottom: 8px;
}

.error-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 23.783px + 0.591vw, 34px);
  line-height: 130%;
  color: #0C0C0B;
  margin-bottom: 16px;
}

.error-desc {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 170%;
  color: #55534E;
  margin-bottom: clamp(28px, 24.674px + 0.887vw, 40px);
  max-width: 560px;
}

.error-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(39px, 34.288px + 1.256vw, 56px);
}

.error-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background-color: #0C0C0B;
  color: #ffffff;
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.error-btn-primary:hover {
  background-color: #B0924F;
}

.error-btn-secondary {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #0C0C0B;
  text-decoration: underline;
  text-decoration-color: #B0924F;
  transition: color 0.2s ease;
}

.error-btn-secondary:hover {
  color: #B0924F;
}

.error-links-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94793C;
  margin-bottom: 20px;
}

.error-quick-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.error-quick-links a {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #0C0C0B;
  transition: color 0.2s ease;
}

.error-quick-links a:hover {
  color: #B0924F;
}


/* =========================================================================
   SEARCH PAGE
   ========================================================================= */
.search-hero-section {
  width: 100%;
  padding: clamp(36px, 29.348px + 1.774vw, 60px) 0 clamp(28px, 24.674px + 0.887vw, 40px);
  background-color: #F7F5F0;
}

.search-hero-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.search-hero-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 22.120px + 1.035vw, 40px);
  line-height: 120%;
  color: #0C0C0B;
  margin-bottom: 24px;
}

.search-form {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 12px;
  background-color: #ffffff;
  border: 1px solid #E2DFD7;
  padding: 6px;
}

.search-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-form input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 18px;
  font-family: 'Heebo', sans-serif;
  font-size: 17px;
  color: #0C0C0B;
  text-align: right;
  background: transparent;
}

.search-form button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  background-color: #0C0C0B;
  color: #ffffff;
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.search-form button:hover {
  background-color: #B0924F;
}

.search-suggestions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.search-suggestions span {
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  color: #55534E;
  margin-inline-end: 4px;
}

.search-suggestions a {
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  color: #94793C;
  border: 1px solid #E2DFD7;
  padding: 6px 14px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.search-suggestions a:hover {
  background-color: #0C0C0B;
  color: #ffffff;
  border-color: #0C0C0B;
}

.search-results-section {
  width: 100%;
  padding: clamp(36px, 29.348px + 1.774vw, 60px) 0 clamp(60px, 43.370px + 4.435vw, 120px);
  background-color: #ffffff;
}

.search-results-container {
  max-width: 1100px;
  margin: 0 auto;
}

.search-status {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #55534E;
  text-align: right;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(226, 223, 215, 0.8);
  padding-bottom: 24px;
}

.search-status strong {
  color: #0C0C0B;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  list-style-type: none;
}

.search-result-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(226, 223, 215, 0.6);
  text-align: right;
}

.search-result-tag {
  display: inline-block;
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #B0924F;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.search-result-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 17.446px + 0.148vw, 20px);
  color: #0C0C0B;
  margin-bottom: 8px;
}

.search-result-title a {
  transition: color 0.2s ease;
}

.search-result-title a:hover {
  color: #B0924F;
}

.search-result-desc {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 170%;
  color: #55534E;
}

.search-empty-state {
  display: none;
  text-align: center;
  padding: clamp(36px, 29.348px + 1.774vw, 60px) 0;
}

.search-empty-state.is-visible {
  display: block;
}

.search-empty-state p {
  font-family: 'Heebo', sans-serif;
  font-size: 16px;
  color: #55534E;
}