.offices-page .offices-layout {
  display: grid;
  gap: 1.35rem;
}

.offices-page .office-callout {
  display: grid;
  gap: 0.4rem;
}

.offices-page .offices-highlight,
.offices-page .offices-accordion-card,
.offices-page .offices-digital-card {
  background: var(--surface);
  border: 1px solid var(--serviu-border);
  border-radius: 1.25rem;
  box-shadow: var(--serviu-shadow);
}

.offices-page .offices-highlight,
.offices-page .offices-accordion-card,
.offices-page .offices-digital-card {
  padding: 1.15rem;
}

.offices-page .offices-highlight {
  display: grid;
  gap: 1rem;
}

.offices-page .offices-highlight h2,
.offices-page .offices-accordion-card h2,
.offices-page .offices-digital-card h2 {
  margin: 0;
  color: var(--serviu-blue);
  font-size: 1.45rem;
}

.offices-page .offices-highlight > p,
.offices-page .offices-accordion-card > p,
.offices-page .offices-digital-card > p {
  margin: 0;
  color: var(--serviu-muted);
  line-height: 1.7;
}

.offices-page .offices-detail-grid {
  display: grid;
  gap: 0.95rem;
}

.offices-page .offices-detail-item {
  display: grid;
  gap: 0.25rem;
}

.offices-page .offices-detail-label {
  margin: 0;
  color: var(--serviu-muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offices-page .offices-detail-value {
  margin: 0;
  color: var(--serviu-text);
  line-height: 1.65;
}

.offices-page .offices-map {
  overflow: hidden;
  border: 1px solid var(--serviu-border);
  border-radius: 1rem;
}

.offices-page .offices-map iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.offices-page .offices-accordion {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.offices-page .offices-accordion-item {
  border: 1px solid var(--serviu-border);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.84);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.offices-page .offices-accordion-item[open] {
  border-color: rgba(37, 48, 107, 0.26);
  box-shadow: 0 14px 30px rgba(17, 29, 79, 0.08);
}

.offices-page .offices-accordion-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.1rem;
  color: var(--serviu-blue);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.offices-page .offices-accordion-item summary::-webkit-details-marker {
  display: none;
}

.offices-page .offices-accordion-item summary::after {
  content: "\25BE";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(37, 48, 107, 0.1);
  color: var(--serviu-blue);
  font-size: 1rem;
  transition: transform 0.18s ease, background 0.18s ease;
}

.offices-page .offices-accordion-item[open] summary::after {
  transform: rotate(180deg);
  background: rgba(37, 48, 107, 0.16);
}

.offices-page .offices-accordion-item summary:hover,
.offices-page .offices-accordion-item summary:focus-visible {
  background: rgba(232, 238, 248, 0.82);
  outline: none;
}

.offices-page .offices-accordion-panel {
  display: grid;
  gap: 1rem;
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid rgba(37, 48, 107, 0.08);
}

.offices-page .offices-digital-card .promo-feature-card__link {
  width: fit-content;
}

body.theme-dark .offices-page .offices-highlight,
body.theme-dark .offices-page .offices-accordion-card,
body.theme-dark .offices-page .offices-digital-card {
  background: rgba(17, 28, 78, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .offices-page .offices-highlight > p,
body.theme-dark .offices-page .offices-accordion-card > p,
body.theme-dark .offices-page .offices-digital-card > p,
body.theme-dark .offices-page .offices-detail-label {
  color: rgba(255, 255, 255, 0.76);
}

body.theme-dark .offices-page .offices-highlight h2,
body.theme-dark .offices-page .offices-accordion-card h2,
body.theme-dark .offices-page .offices-digital-card h2,
body.theme-dark .offices-page .offices-detail-value,
body.theme-dark .offices-page .offices-accordion-item summary {
  color: #ffffff;
}

body.theme-dark .offices-page .offices-map,
body.theme-dark .offices-page .offices-accordion-panel {
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .offices-page .offices-accordion-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

body.theme-dark .offices-page .offices-accordion-item[open] {
  border-color: rgba(177, 218, 255, 0.38);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

body.theme-dark .offices-page .offices-accordion-item summary:hover,
body.theme-dark .offices-page .offices-accordion-item summary:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

body.theme-dark .offices-page .offices-accordion-item summary::after {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

body.theme-dark .offices-page .offices-accordion-item[open] summary::after {
  background: rgba(255, 255, 255, 0.18);
}

@media (min-width: 992px) {
  .offices-page .offices-highlight {
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
    align-items: start;
  }
}

@media (max-width: 767px) {
  .offices-page .offices-highlight,
  .offices-page .offices-accordion-card,
  .offices-page .offices-digital-card {
    padding: 1rem;
  }

  .offices-page .offices-accordion-item summary {
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }

  .offices-page .offices-accordion-panel {
    padding: 0 1rem 1rem;
  }

  .offices-page .offices-map iframe {
    min-height: 280px;
  }
}
