/* Contacts-only presentation. The two supplied photographs stay unmodified. */
.rc-contacts .rc-contact-grid { align-items: start; }
.rc-contacts .rc-office-gallery { align-self: center; }
.rc-contacts .rc-contact-details { justify-content: flex-start; gap: 20px; }
.rc-contacts .rc-contact-list { gap: 15px; }
.rc-contacts .rc-contact-item { transition: transform .2s ease; }
.rc-contacts .rc-contact-icon {
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.rc-contacts .rc-contact-item:focus-within .rc-contact-icon {
  color: #07845f;
  background: #d1fae5;
  box-shadow: 0 3px 10px #07845f14;
}
.rc-contacts .rc-photo-switch {
  display: flex;
  gap: 5px;
  width: fit-content;
  padding: 5px;
  margin: 0 auto 16px;
  border: 1px solid #dce7e3;
  border-radius: 12px;
  background: #f2f7f5;
}
.rc-contacts .rc-photo-switch button {
  min-height: 44px;
  min-width: 108px;
  border: 0;
  border-radius: 8px;
  padding: 10px 20px;
  font: inherit;
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.5;
  color: #334e45;
  background: transparent;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.rc-contacts .rc-photo-switch button[aria-pressed="true"] {
  color: #fff;
  background: #07845f;
  box-shadow: 0 2px 6px #07845f25;
}
.rc-contacts .rc-office-photo-frame {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: var(--rc-photo-ratio, 937 / 1136);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #dce5ec;
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 8px 24px #162d4a14;
  transition: aspect-ratio .32s ease;
}
.rc-contacts .rc-office-photo-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  opacity: 0;
  transition: opacity .32s ease;
}
.rc-contacts .rc-office-photo-frame img.is-active { opacity: 1; }
.rc-contacts .rc-office-gallery figcaption { text-align: center; min-height: 1.75em; }
.rc-contacts .rc-photo-fallback { margin-top: 8px; text-align: center; font-size: .9rem; }
.rc-contacts .rc-photo-fallback a { color: #07845f; text-decoration: underline; }
.rc-contacts .rc-booking-button {
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.rc-contacts .rc-booking-button:focus-visible { box-shadow: 0 7px 18px #07845f25; }
.rc-contacts .rc-visit-info { margin-top: 2px; }
.rc-contacts .rc-visit-info h2 {
  margin: 0 0 13px;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.45;
  color: #162d4a;
}
.rc-contacts .rc-visit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.rc-contacts .rc-visit-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #deebe5;
  border-radius: 13px;
  background: #f6faf8;
  box-shadow: 0 3px 10px #162d4a04;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rc-contacts .rc-visit-entrance { grid-column: 1 / -1; background: #eef8f3; }
.rc-contacts .rc-visit-card-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.rc-contacts .rc-visit-icon { display: flex; flex: 0 0 24px; color: #07845f; }
.rc-contacts .rc-visit-icon svg { width: 24px; height: 24px; }
.rc-contacts .rc-visit-card h3 { margin: 0; color: #07845f; font-size: .93rem; font-weight: 700; line-height: 1.4; }
.rc-contacts .rc-visit-card p { margin: 0; color: #1e2a3b; font-size: .875rem; line-height: 1.7; }
.rc-contacts .rc-visit-card strong { font-weight: 600; }
.rc-contacts .rc-intercom-code {
  display: inline-block;
  padding: 0 7px;
  border-radius: 5px;
  color: #fff;
  background: #07845f;
  font-size: 1.05em;
  letter-spacing: .035em;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .rc-contacts .rc-contact-item:hover { transform: translateY(-2px); }
  .rc-contacts .rc-contact-item:hover .rc-contact-icon {
    color: #07845f;
    background: #d1fae5;
    box-shadow: 0 3px 10px #07845f14;
  }
  .rc-contacts .rc-photo-switch button[aria-pressed="false"]:hover { color: #07845f; background: #e0f2e9; }
  .rc-contacts .rc-booking-button:hover { transform: translateY(-2px); box-shadow: 0 7px 18px #07845f25; }
  .rc-contacts .rc-visit-card:hover {
    transform: translateY(-2px);
    border-color: #bbdecf;
    background: #eaf7ef;
    box-shadow: 0 6px 16px #07845f0d;
  }
}
@media (max-width: 960px) {
  .rc-contacts .rc-contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .rc-contacts .rc-office-gallery { width: 100%; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .rc-contacts .rc-contact-details { gap: 24px; }
  .rc-contacts .rc-visit-grid { grid-template-columns: 1fr; }
  .rc-contacts .rc-visit-card { padding: 18px; }
  .rc-contacts .rc-visit-card h3 { font-size: 1rem; }
  .rc-contacts .rc-visit-card p { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-contacts .rc-contact-item:hover,
  .rc-contacts .rc-booking-button:hover,
  .rc-contacts .rc-visit-card:hover { transform: none; }
}
