﻿/* Business Details V3 page styles */

.app-business-hero {
  position: relative;
  color: var(--app-navbar-text);
  background-image: url('/img/pro/office/branch.png');
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.app-business-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--app-hero-overlay-start), var(--app-hero-overlay-end));
  pointer-events: none;
}

.app-business-hero > .container {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.app-business-hero .app-section-heading__eyebrow {
  color: var(--app-color-accent);
  text-shadow: var(--app-text-shadow-on-image);
}

.app-business-hero .app-section-heading__lead {
  color: var(--app-navbar-text-muted);
  text-shadow: var(--app-text-shadow-on-image);
}

.app-business-hero .app-section-heading__title {
  color: var(--app-navbar-text);
  text-shadow: var(--app-text-shadow-on-image-strong);
}

.app-business-section {
  padding: var(--app-space-8) 0;
}

.app-business-section__heading {
  margin-bottom: var(--app-space-5);
}

.app-business-region-content {
  min-height: 18rem;
}

.app-business-office-grid {
  margin-bottom: var(--app-space-8);
}

.app-business-office-card {
  height: 100%;
  flex-direction: column;
}

.app-business-office-card__image {
  height: 12rem;
}

.app-business-office-card__body {
  display: grid;
  gap: var(--app-space-2);
}

.app-business-office-card__title {
  margin: 0;
}

.app-business-office-card__meta {
  display: flex;
  align-items: flex-start;
  gap: var(--app-space-2);
}

.app-business-office-card__icon {
  width: 1.35rem;
  height: 1.35rem;
}

.app-business-details-stack {
  display: grid;
  gap: var(--app-space-6);
}

.app-business-detail {
  scroll-margin-top: 6rem;
}

.app-business-detail__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-business-detail__eyebrow {
  margin-bottom: var(--app-space-2);
  color: var(--app-color-accent);
  font-size: var(--app-font-size-200);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-business-detail__title {
  margin-bottom: var(--app-space-4);
  font-size: var(--app-font-size-600);
  font-weight: 800;
  line-height: var(--app-line-height-tight);
}

.app-business-detail .app-list__value a {
  color: var(--app-color-primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.app-business-services {
  margin-top: var(--app-space-5);
}

.app-business-services__title {
  margin-bottom: var(--app-space-3);
  font-size: var(--app-font-size-300);
  font-weight: 800;
}

.app-business-services__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--app-space-2);
}

.app-business-mobile {
  display: none;
}

.app-business-mobile__content {
  margin-top: var(--app-space-3);
}

.app-business-mobile__office-links {
  margin-bottom: var(--app-space-3);
}

.app-business-mobile__details {
  display: grid;
  gap: var(--app-space-3);
}

.app-business-mobile__detail {
  scroll-margin-top: 4.5rem;
}

.app-business-mobile__empty {
  padding: var(--app-space-6) var(--app-space-4);
  text-align: center;
}

@media (max-width: 991.98px) {
  .app-business-office-grid {
    margin-bottom: var(--app-space-6);
  }

  .app-business-details-stack {
    gap: var(--app-space-5);
  }

  .app-business-detail__title {
    font-size: var(--app-font-size-500);
  }
}

@media (max-width: 767.98px) {
  .app-business-desktop-section {
    display: none;
  }

  .app-business-mobile {
    display: block;
    padding: calc(58px + var(--app-space-5)) 0 var(--app-space-2);
  }

  .app-business-mobile > .container {
    padding-right: 0;
    padding-left: 0;
  }

  .app-business-mobile__stack > * {
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  }

  .app-layout-v3 > footer {
    margin-top: var(--app-space-2);
  }

  .app-floating-actions {
    display: none;
  }

  .app-business-hero {
    --app-page-hero-padding-top: calc(var(--app-space-8) + 3rem);
    --app-page-hero-padding-bottom: var(--app-space-6);
  }

  .app-business-hero .app-section-heading__lead {
    font-size: var(--app-font-size-300);
  }

  .app-business-section {
    padding: var(--app-space-6) 0;
  }

  .app-business-region-content {
    min-height: 0;
  }

  .app-business-office-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--app-space-3);
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    margin-bottom: var(--app-space-5);
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    padding: 0 calc(var(--bs-gutter-x, 1.5rem) * 0.5) var(--app-space-2);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .app-business-office-grid::-webkit-scrollbar {
    display: none;
  }

  .app-business-office-grid > .col {
    width: min(82vw, 18.5rem);
    flex: 0 0 min(82vw, 18.5rem);
    padding: 0;
    scroll-snap-align: start;
  }

  .app-business-office-card__image {
    height: 9.5rem;
  }

  .app-business-office-card__body {
    gap: var(--app-space-1);
    padding: var(--app-space-4);
  }

  .app-business-office-card__title {
    font-size: var(--app-font-size-400);
  }

  .app-business-details-stack {
    gap: var(--app-space-4);
  }

  .app-business-detail {
    scroll-margin-top: 4.5rem;
  }

  .app-business-detail .row {
    --bs-gutter-y: var(--app-space-3);
  }

  .app-business-detail__content {
    justify-content: flex-start;
  }

  .app-business-detail__title {
    margin-bottom: var(--app-space-3);
    font-size: var(--app-font-size-500);
  }

  .app-business-services {
    margin-top: var(--app-space-4);
  }
}

