/* Whitlock Law Office - light overrides (keep Jurex theme design) */

/* Enlarge logo to match header button scale - do not shrink nav or CTAs */
.navbar-brand img {
  max-width: 260px;
  width: auto;
  height: auto;
}

.footer-logo-gold img {
  max-width: 240px;
  width: auto;
  height: auto;
}

.hero-consult-line {
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-color, #c5a059);
}

/* Active nav: override Bootstrap black to theme accent */
.main-menu .navbar-nav .nav-link.active,
.main-menu ul li a.active,
.main-menu ul li a.current,
.slicknav_nav a.active,
.slicknav_nav .active > a {
  color: var(--accent-color, #c5a059) !important;
}

/* Keep header nav + CTA on one line (no wrap) */
.main-menu .navbar-nav {
  flex-wrap: nowrap;
}

.main-menu ul li {
  white-space: nowrap;
}

.main-menu ul li a,
.main-menu .navbar-nav .nav-link {
  white-space: nowrap !important;
}

header.main-header .header-btn {
  flex-shrink: 0;
}

header.main-header .header-btn .btn-default {
  white-space: nowrap !important;
}

@media only screen and (max-width: 1399px) {
  .main-menu ul li {
    margin: 0 6px;
  }

  .main-menu ul li a,
  .main-menu .navbar-nav .nav-link {
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 15px;
  }

  header.main-header .header-btn .btn-default {
    padding-left: 18px;
    padding-right: 48px;
    font-size: 15px;
  }
}

@media only screen and (max-width: 1199px) {
  .main-menu ul li {
    margin: 0 4px;
  }

  .main-menu ul li a,
  .main-menu .navbar-nav .nav-link {
    padding-left: 4px !important;
    padding-right: 4px !important;
    font-size: 14px;
  }

  header.main-header .header-btn .btn-default {
    padding-left: 14px;
    padding-right: 46px;
    font-size: 14px;
  }
}

/* Sticky header: keep frosted bar instead of solid black */
header.main-header .header-sticky.active {
  background: var(--dark-divider-color);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--dark-divider-color);
}

/* Bottom homepage CTA - Ira standing portrait: taller, tighter to content */
.cta-box-gold:has(.cta-ira-standing) {
  padding: 100px 0 0;
  min-height: 0;
}

.cta-box-gold:has(.cta-ira-standing) .cta-box-content-gold {
  padding-bottom: 0;
}

.cta-box-gold:has(.cta-ira-standing) .cta-box-list-gold {
  margin-top: 28px;
  padding-top: 28px;
  margin-bottom: 0;
}

.cta-box-image-gold.cta-ira-standing {
  height: 100%;
  align-content: end;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cta-box-image-gold.cta-ira-standing figure {
  margin: 0 24px -130px -5.5vw;
  padding-top: 8px;
  overflow: hidden;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

.cta-box-image-gold.cta-ira-standing img {
  width: 100%;
  aspect-ratio: 1 / 1.28 !important;
  height: auto;
  max-height: min(820px, 90vh);
  object-fit: cover !important;
  object-position: center top !important;
  display: block;
}

@media only screen and (max-width: 1399px) {
  .cta-box-image-gold.cta-ira-standing img {
    aspect-ratio: 1 / 1.24;
    max-height: min(760px, 85vh);
  }
}

@media only screen and (max-width: 1199px) {
  .cta-box-gold:has(.cta-ira-standing) {
    padding-top: 80px;
  }

  .cta-box-image-gold.cta-ira-standing figure {
    margin: 0 16px -100px -3vw;
    padding-top: 4px;
  }

  .cta-box-image-gold.cta-ira-standing img {
    aspect-ratio: 1 / 1.2;
    max-height: min(680px, 78vh);
  }
}

@media only screen and (max-width: 991px) {
  .cta-box-gold:has(.cta-ira-standing) {
    padding-top: 60px;
  }

  .cta-box-gold:has(.cta-ira-standing) .cta-box-content-gold {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .cta-box-gold:has(.cta-ira-standing) .cta-box-list-gold {
    margin-top: 22px;
    padding-top: 22px;
    margin-bottom: 0;
  }

  .cta-box-image-gold.cta-ira-standing {
    max-width: 520px;
    margin: 0 auto;
  }

  .cta-box-image-gold.cta-ira-standing figure {
    margin: 8px 0 -90px;
    padding-top: 0;
  }

  .cta-box-image-gold.cta-ira-standing img {
    aspect-ratio: 1 / 1.2 !important;
    max-height: min(600px, 74vh);
  }
}

@media only screen and (max-width: 767px) {
  .cta-box-gold:has(.cta-ira-standing) {
    padding-top: 50px;
  }

  .cta-box-image-gold.cta-ira-standing {
    max-width: 400px;
  }

  .cta-box-image-gold.cta-ira-standing figure {
    margin: 4px 0 -55px;
    padding-top: 0;
  }

  .cta-box-image-gold.cta-ira-standing img {
    aspect-ratio: 1 / 1.25 !important;
    max-height: min(520px, 70vh);
  }
}

@media only screen and (max-width: 575px) {
  .cta-box-image-gold.cta-ira-standing {
    max-width: 300px;
  }

  .cta-box-image-gold.cta-ira-standing figure {
    margin: 0 0 -40px;
    padding-top: 0;
  }

  .cta-box-image-gold.cta-ira-standing img {
    aspect-ratio: 1 / 1.3 !important;
    max-height: min(460px, 68vh);
  }
}

/* ---------- Booking wizard (theme-aligned) ---------- */
.booking-panel {
  display: none;
}

.booking-panel.active {
  display: block;
}

.booking-progress {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  margin: 0 0 32px;
  padding: 0;
  flex-wrap: nowrap;
  list-style: none;
}

.booking-progress .step-pill {
  position: relative;
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #8a8a8a;
  background: transparent;
  border: none;
}

.booking-progress .step-pill::before {
  content: attr(data-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 8px;
  border-radius: 50%;
  border: 1.5px solid #d9d3c7;
  background: #fff;
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 700;
}

.booking-progress .step-pill:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 1px;
  background: #e5e1d8;
}

.booking-progress .step-pill.active {
  color: #121619;
}

.booking-progress .step-pill.active::before {
  border-color: var(--accent-color, #c5a059);
  background: var(--accent-color, #c5a059);
  color: #121619;
}

.booking-progress .step-pill.done {
  color: #121619;
}

.booking-progress .step-pill.done::before {
  border-color: var(--accent-color, #c5a059);
  background: #121619;
  color: #fff;
  content: "\2713";
  font-size: 12px;
}

.booking-progress .step-pill.done:not(:last-child)::after {
  background: var(--accent-color, #c5a059);
}

.booking-option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.booking-type-option,
.booking-time-option,
.booking-matter-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 16px 14px;
  border: 1.5px solid #e5e1d8;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  color: #121619;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.booking-type-option:hover,
.booking-time-option:hover,
.booking-matter-option:hover {
  border-color: var(--accent-color, #c5a059);
}

.booking-type-option input,
.booking-time-option input,
.booking-matter-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking-type-option .booking-check,
.booking-time-option .booking-check,
.booking-matter-option .booking-check {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2px solid #cfc8bb;
  background: #fff;
}

.booking-type-option:has(input:checked),
.booking-time-option:has(input:checked),
.booking-matter-option:has(input:checked) {
  border-color: var(--accent-color, #c5a059);
  background: #fbf7ef;
  box-shadow: inset 0 0 0 1px var(--accent-color, #c5a059);
}

.booking-type-option:has(input:checked) .booking-check,
.booking-time-option:has(input:checked) .booking-check,
.booking-matter-option:has(input:checked) .booking-check {
  border-color: var(--accent-color, #c5a059);
  background: var(--accent-color, #c5a059);
  box-shadow: inset 0 0 0 3px #fff;
}

.booking-type-option .booking-copy strong,
.booking-time-option .booking-copy strong,
.booking-matter-option .booking-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.booking-type-option .booking-copy span,
.booking-time-option .booking-copy span,
.booking-matter-option .booking-copy span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #6b655c;
  line-height: 1.4;
}

.booking-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  width: 100%;
}

.booking-nav .btn-default {
  margin: 0;
  flex: 0 1 auto;
  max-width: 100%;
}

.booking-nav .btn-default[data-booking-prev] {
  margin-right: auto;
}

.booking-review {
  margin: 8px 0 16px;
  padding: 18px 20px;
  background: #f7f5f1;
  border-radius: 12px;
  border: 1px solid #e5e1d8;
}

.booking-review dl {
  margin: 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 16px;
}

.booking-review dt {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #888;
  margin: 0;
}

.booking-review dd {
  margin: 0;
  font-weight: 600;
  color: #121619;
}

.booking-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}

.booking-success.active {
  display: block;
}

.booking-success .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-color, #c5a059);
  color: #121619;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

@media (max-width: 700px) {
  .booking-option-grid {
    grid-template-columns: 1fr;
  }

  .booking-progress .step-pill {
    font-size: 11px;
  }

  .booking-progress .step-pill::before {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .booking-progress .step-pill:not(:last-child)::after {
    top: 13px;
    left: calc(50% + 16px);
    width: calc(100% - 32px);
  }

  .booking-review dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .booking-nav {
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    gap: 10px;
  }

  .booking-nav .btn-default,
  .booking-nav .btn-default[data-booking-prev] {
    width: 100%;
    margin: 0 !important;
    text-align: left;
  }
}

@media (max-width: 991px) {
  .booking-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .booking-nav .btn-default,
  .booking-nav .btn-default[data-booking-prev] {
    width: 100%;
    margin: 0 !important;
  }
}

/* FAQs badge: keep static (disable template slide animation) */
.satisfy-client-review-box-gold {
  animation: none !important;
  transform: none !important;
}

/* Hide leftover stock headshot clusters */
.satisfy-client-images,
.satisfy-client-images-gold,
.testimonial-author-image,
.about-us-client-box-gold .satisfy-client-images-gold {
  display: none !important;
}

.about-us-client-box-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-us-client-box-gold .satisfy-client-content-gold {
  width: 100%;
  margin: 0;
}

.satisfy-client-review-box-gold {
  max-width: 240px;
  padding: 22px 18px;
}

.satisfy-client-review-box-content-gold {
  margin-bottom: 0;
}

.satisfy-client-review-box-content-gold .review-years {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  color: inherit;
  font-size: 14px;
}

.satisfy-client-review-box-content-gold .review-years strong {
  color: inherit;
}

.testimonial-rating-box-gold {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.testimonial-item-author {
  align-items: flex-start;
}

/* Bar admission line: no Google logo */
.google-rating-logo-gold {
  display: none !important;
}

.google-rating-info-gold {
  width: auto !important;
  max-width: 100%;
}

/* Schedule step: calendar left, time right */
.booking-schedule-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 24px;
  align-items: start;
  margin-bottom: 8px;
}

.booking-schedule-date,
.booking-schedule-time {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}

.booking-schedule-date > label,
.booking-schedule-time > label {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35;
  min-height: 1.35em;
}

.booking-time-stack {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  margin: 0;
  flex: 1;
}

.booking-time-stack .booking-time-option {
  min-height: 48px;
  padding: 10px 12px;
  margin: 0;
}

/* Booking calendar picker (compact) */
.booking-calendar {
  background: #fff;
  border: 1px solid rgba(26, 32, 44, 0.12);
  border-radius: 12px;
  padding: 10px 10px 8px;
  max-width: none;
  width: 100%;
  margin: 0;
}

.booking-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.booking-cal-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color, #1a202c);
}

.booking-cal-nav {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(26, 32, 44, 0.14);
  border-radius: 50%;
  background: #fff;
  color: var(--primary-color, #1a202c);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.booking-cal-nav:hover {
  border-color: var(--accent-color, #c5a059);
  color: var(--accent-color, #c5a059);
}

.booking-cal-weekdays,
.booking-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}

.booking-cal-weekdays {
  margin-bottom: 2px;
}

.booking-cal-weekdays span {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: rgba(26, 32, 44, 0.55);
  padding: 2px 0;
}

.booking-cal-day {
  aspect-ratio: 1;
  max-height: 34px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--primary-color, #1a202c);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.booking-cal-day.is-empty {
  pointer-events: none;
  visibility: hidden;
}

.booking-cal-day.is-disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.booking-cal-day.is-today {
  box-shadow: inset 0 0 0 1px var(--accent-color, #c5a059);
}

.booking-cal-day:not(.is-disabled):hover {
  background: rgba(197, 160, 89, 0.16);
}

.booking-cal-day.is-selected,
.booking-cal-day.is-selected:hover {
  background: var(--accent-color, #c5a059);
  color: #fff;
}

.booking-cal-selected {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(26, 32, 44, 0.08);
  font-size: 12px;
  color: rgba(26, 32, 44, 0.7);
  line-height: 1.35;
}

.booking-cal-selected strong {
  color: var(--primary-color, #1a202c);
  font-weight: 700;
}

@media (max-width: 767px) {
  .booking-schedule-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .booking-time-stack {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 480px) {
  .booking-time-stack {
    grid-template-columns: 1fr !important;
  }
}

.booking-matter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-urgency-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-matter-option {
  min-height: 58px;
}

@media (max-width: 700px) {
  .booking-matter-grid,
  .booking-urgency-grid {
    grid-template-columns: 1fr;
  }
}

/* Community page - theme-aligned */
.page-community .about-us-image figure img,
.page-community .about-us-image .reveal img {
  object-fit: cover;
  object-position: center 12%;
}

.page-community .community-press-card {
  margin: 28px 0 24px;
  padding: 22px 24px;
  background: #fbfaf7;
  border: 1px solid #e8e2d6;
  border-radius: 14px;
}

.page-community .community-press-card .section-sub-title {
  display: inline-block;
  margin-bottom: 8px;
}

.page-community .community-press-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--primary-color, #1a202c);
}

.page-community .community-press-card p {
  margin-bottom: 16px;
  color: #5f5a52;
}

.page-community .community-engagements-row {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid rgba(26, 32, 44, 0.08);
}

.page-community .community-speak-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.page-community .community-speak-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid rgba(26, 32, 44, 0.08);
  color: var(--primary-color, #1a202c);
  font-weight: 500;
}

.page-community .community-speak-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--accent-color, #c5a059);
}

.page-community .community-media-grid {
  display: grid;
  gap: 18px;
}

.page-community .community-media-grid figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
}

.page-community .community-media-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.page-community .community-top100 {
  max-width: 260px;
}

.page-community .community-top100 img {
  width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .page-community .community-engagements-row {
    margin-top: 48px;
    padding-top: 36px;
  }

  .page-community .community-top100 {
    max-width: 220px;
  }
}

/* Dedicated booking page */
.page-booking {
  /* Clear absolute/sticky header (~30px offset + bar height) + breathing room */
  padding: 150px 0 70px;
  min-height: calc(100vh - 100px);
  background:
    radial-gradient(circle at top left, rgba(197, 160, 89, 0.12), transparent 42%),
    linear-gradient(180deg, #fbfaf7 0%, #f3efe7 100%);
}

body:has(.page-booking) header.main-header .header-sticky {
  background: rgba(18, 22, 25, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
}

.booking-flow-card {
  background: #fff;
  border: 1px solid #e8e2d6;
  border-radius: 18px;
  padding: 36px 34px 30px;
  box-shadow: 0 18px 40px rgba(18, 22, 25, 0.06);
}

.booking-flow-card .section-title {
  margin-bottom: 28px;
}

.booking-flow-card .section-title p {
  margin-top: 12px;
  max-width: 38rem;
  color: #5f5a52;
}

.booking-flow-body {
  margin-top: 8px;
}

.booking-flow-help {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid #ece7dc;
  color: #5f5a52;
  font-size: 0.95rem;
}

.booking-start-box {
  padding: 28px 26px;
  border: 1px solid #e8e2d6;
  border-radius: 14px;
  background: #fbfaf7;
}

.booking-start-box p {
  margin-bottom: 18px;
  color: #5f5a52;
}

.contact-booking-link {
  margin-top: 22px;
  margin-bottom: 0;
  color: #5f5a52;
  font-size: 0.95rem;
}

.contact-booking-link a {
  color: var(--accent-color, #c5a059);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-spam-note {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #6b655c;
}

.contact-spam-note a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Legal Insights / blog */
.blog-empty {
  text-align: center;
  padding: 48px 24px 24px;
  background: var(--secondary-color, #f4f5ef);
  border-radius: 20px;
}
.blog-empty h2 {
  margin: 0 0 12px;
  font-size: 32px;
}
.blog-empty p {
  margin: 0 0 24px;
  color: var(--text-color, #5c6b73);
}
.post-item-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
}
.post-item-btn .btn-default {
  min-height: 42px;
  padding: 10px 18px;
}
.post-entry-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}
.page-single-post .post-single-meta h1 {
  margin-bottom: 12px;
}
.page-single-post .post-content p {
  margin-bottom: 1em;
}

@media (max-width: 991px) {
  .page-booking {
    padding: 130px 0 60px;
  }
}

@media (max-width: 767px) {
  .page-booking {
    padding: 110px 0 50px;
  }

  .booking-flow-card {
    padding: 24px 18px 20px;
    border-radius: 14px;
  }
}
