/**
 * Office page (views/templates/office.twig). Banner and breadcrumbs share
 * the news-post styles (page-hero.css, breadcrumbs.css).
 *
 * Plain CSS outside the Sass build; loaded by AssetsServiceProvider.
 */

.office-page:not(#xpt-office) {
  --op-ink: #16201d;
  --op-text: #3a4744;
  --op-muted: #5f6b67;
  --op-green: #00ce7c;
  --op-green-text: #00744b;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--global--container-horizontal-padding, 20px) clamp(64px, 8vw, 112px);
}

.office-page:not(#xpt-office) .office-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 5vw, 72px);
  align-items: start;
}

.office-page:not(#xpt-office) .office-page__card {
  padding: clamp(28px, 4vw, 44px);
  border-top: 4px solid var(--op-green);
  background: #f4f6f5;
}

.office-page:not(#xpt-office) .office-page__title {
  max-width: none;
  margin: 0 0 14px;
  font-family: "TradeGothicLT-BoldCondTwenty", "TradeGothicLT-Bold", "Arial Narrow", sans-serif;
  font-weight: normal;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--op-ink);
}

.office-page:not(#xpt-office) .office-page__company {
  margin: 0 0 16px;
  font-family: "TradeGothicLT-Bold", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: var(--op-muted);
}

.office-page:not(#xpt-office) .office-page__address {
  margin: 0 0 24px;
  font-style: normal;
  font-size: 20px;
  line-height: 1.5;
  color: var(--op-ink);
}

.office-page:not(#xpt-office) .office-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.office-page:not(#xpt-office) .office-page__actions li { margin: 0; }

.office-page:not(#xpt-office) .office-page__link {
  font-family: "TradeGothicLT-Bold", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: var(--op-green-text);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.office-page:not(#xpt-office) .office-page__link:hover { color: var(--op-ink); }

.office-page:not(#xpt-office) .office-page__text {
  max-width: 60ch;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--op-text);
}

.office-page:not(#xpt-office) .office-page__side > * + * { margin-top: 36px; }

.office-page:not(#xpt-office) .office-page__about .office-page__text { margin: 0 0 12px; }

.office-page:not(#xpt-office) .office-page__nearby ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d9dcd6;
}

.office-page:not(#xpt-office) .office-page__nearby li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #d9dcd6;
  font-size: 16px;
  color: var(--op-ink);
}

.office-page:not(#xpt-office) .office-page__nearby li a { color: var(--op-ink); font-family: "TradeGothicLT-Bold", "Helvetica Neue", Arial, sans-serif; }
.office-page:not(#xpt-office) .office-page__nearby li span { font-size: 14px; color: var(--op-muted); text-align: right; }

.office-page:not(#xpt-office) a:focus-visible { outline: 3px solid var(--op-green); outline-offset: 3px; }

@media (max-width: 781px) {
  .office-page:not(#xpt-office) .office-page__grid { grid-template-columns: 1fr; }
}

/* "Office details" link on the office cards and map popups. */
.office-map .office-map__page a { color: #00744b; }
