.interior-main { background: var(--soft); }

.page-hero {
  position: relative;
  display: grid;
  min-height: clamp(12rem, 19vw, 18rem);
  isolation: isolate;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.page-hero img, .page-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero img { object-fit: cover; object-position: 56% 46%; }
.page-hero::after { background: linear-gradient(90deg, #081726ef 0%, #0b1e32ab 46%, #0c1d313c 100%); content: ""; }
.page-hero .container { padding-block: 2.4rem; }

.page-hero__title {
  width: fit-content;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
}

.page-hero__title::before {
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-bottom: .9rem;
  background: var(--orange);
  content: "";
}

.breadcrumb-bar { border-bottom: 1px solid var(--line); background: var(--white); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  align-items: center;
  margin: 0;
  padding: .9rem 0;
  color: var(--muted);
  font-size: .9rem;
  list-style: none;
}

.breadcrumbs li { display: flex; align-items: center; gap: .75rem; }
.breadcrumbs li + li::before { width: .32rem; height: .32rem; border-block-start: 1px solid #657889; border-inline-end: 1px solid #657889; transform: rotate(45deg); content: ""; }
.breadcrumbs a { text-decoration-color: #9aaab6; text-underline-offset: .18em; }
.breadcrumbs a:hover { color: var(--orange-dark); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 750; }

.page-section { padding-block: clamp(2.65rem, 5vw, 4.9rem); }
.page-section__heading { margin-bottom: 1.6rem; }
.page-section__heading h2, .contact-panel h2 { font-size: clamp(1.6rem, 2.7vw, 2.5rem); line-height: 1.28; }

.reading-width {
  width: min(100% - 6rem, 60rem);
  min-width: 0;
  margin-inline: auto;
}

.content-panel, .news-article {
  padding: clamp(1.6rem, 4.3vw, 4rem);
  border: 1px solid var(--line);
  background: var(--white);
}

.rich-content {
  overflow-x: auto;
  color: #304354;
  font-size: 1.0625rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.rich-content > :first-child { margin-block-start: 0; }
.rich-content > :last-child { margin-block-end: 0; }
.rich-content :where(p, ul, ol, figure, blockquote, pre, .rich-content__table) { margin: 0 0 1.15em; }
.rich-content :where(h2, h3, h4, h5, h6) { margin: 1.65em 0 .6em; color: var(--ink); line-height: 1.45; }
.rich-content h2 { font-size: clamp(1.4rem, 2.25vw, 1.85rem); }
.rich-content h3 { font-size: 1.3rem; }
.rich-content :where(ul, ol) { padding-inline-start: 1.5em; }
.rich-content li + li { margin-block-start: .3em; }
.rich-content a { color: var(--orange-dark); text-underline-offset: .18em; }
.rich-content a:hover { color: var(--navy-dark); }
.rich-content :where(img, video, iframe) { max-width: 100% !important; }
.rich-content :where(img, video) { height: auto !important; }
.rich-content img { display: inline-block; vertical-align: middle; }
.rich-content figure > img { display: block; margin-inline: auto; }
.rich-content figcaption { padding-top: .55em; color: var(--muted); font-size: .875rem; text-align: center; }
.rich-content :where(blockquote, pre) { padding: .9em 1.2em; border-inline-start: 3px solid var(--orange); background: var(--soft); }
.rich-content blockquote > :last-child { margin-block-end: 0; }
.rich-content pre { overflow: auto; }
.rich-content .rich-content__table { max-width: 100%; overflow-x: auto; }
.rich-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rich-content :where(td, th) { padding: .6em .85em; border: 1px solid var(--line); text-align: start; vertical-align: top; }
.rich-content th { background: var(--soft); color: var(--ink); }
.rich-content .editor-intro { color: var(--ink); font-size: clamp(1.1rem, 1.85vw, 1.35rem); font-weight: 700; }
.editor-cover > img { aspect-ratio: 1.9; width: 100%; object-fit: cover; object-position: 50% 70%; }

.photo-gallery, .news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.photo-gallery { margin: 0; padding: 0; list-style: none; }
.photo-gallery__item { min-width: 0; border: 1px solid var(--line); background: var(--white); }
.photo-gallery__link { position: relative; display: block; cursor: zoom-in; }

.photo-gallery__link > img, .news-card__image > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.8;
  object-fit: cover;
  background: #d9e0e7;
}

.photo-gallery--partners .photo-gallery__link > img { aspect-ratio: 1.5; object-fit: contain; background: var(--white); }

.photo-gallery__title {
  padding: .9rem .85rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1rem, 1.65vw, 1.28rem);
  line-height: 1.45;
  text-align: center;
  overflow-wrap: anywhere;
}

.photo-gallery__zoom {
  position: absolute;
  inset: auto .6rem .6rem auto;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #ffffff73;
  border-radius: 50%;
  background: #0b1928e8;
  color: var(--white);
  pointer-events: none;
}

.photo-gallery__zoom::before, .photo-gallery__zoom::after { position: absolute; content: ""; }
.photo-gallery__zoom::before { inset: .57rem auto auto .57rem; width: .68rem; height: .68rem; border: 1.5px solid; border-radius: 50%; }
.photo-gallery__zoom::after { inset: 1.23rem auto auto 1.12rem; width: .43rem; border-top: 1.5px solid; transform: rotate(45deg); }
.photo-gallery__link:is(:hover, :focus-visible) .photo-gallery__zoom { border-color: var(--orange); background: var(--orange); color: var(--navy-dark); }

html:has(.image-preview[open]) { overflow: hidden; }

.image-preview {
  width: min(64rem, 100% - 1.5rem);
  max-height: calc(100% - 1.5rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  overflow: visible;
}

.image-preview::backdrop { background: #081421e6; }
.image-preview__content { position: relative; background: var(--navy-dark); box-shadow: 0 .8rem 3rem #0008; }

.image-preview__media {
  height: min(40rem, 61vw, 100vh - 5.25rem);
  height: min(40rem, 61vw, 100dvh - 5.25rem);
}

.image-preview__media img { width: 100%; height: 100%; object-fit: contain; }

.image-preview__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .4rem clamp(.6rem, 2vw, 1rem);
  border-top: 1px solid #405366;
  background: var(--navy);
}

.image-preview__step {
  min-height: 2.75rem;
  padding: .35rem .85rem;
  border: 1px solid #71889a;
  background: transparent;
  color: var(--white);
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
}

.image-preview__step:hover { background: var(--white); color: var(--navy-dark); }
.image-preview__count { color: #d9e3ec; font-size: .9375rem; font-variant-numeric: tabular-nums; }

.image-preview__close {
  position: absolute;
  z-index: 1;
  inset: .55rem .55rem auto auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #ffffff9c;
  border-radius: 50%;
  background: #0b1928eb;
  color: var(--white);
  cursor: pointer;
}

.image-preview__close::before, .image-preview__close::after { position: absolute; inset: 50% 24% auto; border-top: 2px solid; content: ""; }
.image-preview__close::before { transform: rotate(45deg); }
.image-preview__close::after { transform: rotate(-45deg); }
.image-preview__close:hover { background: var(--white); color: var(--navy-dark); }
.image-preview :focus-visible { outline-color: #ffb08c; }

.news-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); background: var(--white); }
.news-card__image { display: block; }
.news-card__image:focus-visible { outline-offset: -4px; }
.news-card__body { display: flex; flex: 1; flex-direction: column; padding: clamp(1.15rem, 2.1vw, 1.75rem); }

.news-card h3 {
  margin-block: .35rem .65rem;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.news-card h3 + p { color: var(--muted); }
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover { color: var(--orange-dark); text-decoration: underline; text-underline-offset: .16em; }
.entry-meta { color: var(--orange-dark); font-size: .875rem; font-weight: 750; }

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2.75rem;
  color: var(--orange-dark);
  font-weight: 750;
  text-underline-offset: .2em;
}

.text-link:hover { color: var(--navy-dark); }
.news-card__body > .text-link { margin-block: auto -.45rem; padding-block-start: .85rem; }

.article-header { margin-bottom: 1.5rem; }
.article-header h1 { margin-block: .4rem .85rem; font-size: clamp(1.85rem, 3.25vw, 2.85rem); font-weight: 800; line-height: 1.3; }
.article-lead { color: var(--muted); font-size: 1.1rem; line-height: 1.75; }
.article-cover > img { width: 100%; aspect-ratio: 1.9; object-fit: cover; }

.article-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .15rem 1rem;
  margin-top: 1.7rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}

.article-nav a { padding-block: .3rem; }

.contact-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(1rem, 2.5vw, 2rem); }
.contact-panel { min-width: 0; padding: clamp(1.4rem, 3.3vw, 3rem); border: 1px solid var(--line); background: var(--white); }
.contact-panel p { margin-top: .7rem; color: var(--muted); }

.contact-direct { margin-top: 1.35rem; border-top: 1px solid var(--line); font-style: normal; }
.contact-direct > div { display: grid; gap: .28rem; padding-block: .88rem; border-bottom: 1px solid var(--line); }
.contact-direct span { color: var(--muted); font-size: .9rem; }
.contact-direct a { width: fit-content; color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 750; text-underline-offset: .22em; overflow-wrap: anywhere; }
.contact-direct a:hover { color: var(--orange-dark); }
.contact-panel .contact-panel__tip { margin-top: 1.1rem; font-size: .95rem; }

.location-card { display: flex; min-width: 0; flex-direction: column; background: var(--navy); color: var(--white); }
.location-card > img { width: 100%; height: auto; aspect-ratio: 2.32; object-fit: cover; }
.location-card__body { display: grid; gap: .6rem; align-content: center; flex: 1; padding: clamp(1.4rem, 2vw, 2rem); }
.location-card h2 { font-size: 1.4rem; }
.location-card address { color: #d9e3ec; font-style: normal; }
.location-card__link { display: inline-flex; align-items: center; width: fit-content; min-height: 2.75rem; color: #ffc39e; font-weight: 700; text-underline-offset: .2em; }
.location-card__link:hover { color: var(--white); }
.location-card :focus-visible { outline-color: #ffac82; }

@media (max-width: 75rem) {
  .reading-width { width: min(100% - 3.5rem, 60rem); }
}

@media (max-width: 51rem) {
  .photo-gallery, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 40rem) {
  .reading-width { width: calc(100% - 2.5rem); }
  .page-hero img { object-position: 64% 46%; }
  .page-hero::after { background: linear-gradient(90deg, #081726e3, #0b1e326d); }
  .breadcrumbs { padding-block: .72rem; }
  .photo-gallery { gap: .75rem; }
  .photo-gallery__title { padding: .65rem .5rem; }
  .news-grid { grid-template-columns: 1fr; }
  .content-panel, .news-article { padding: 1.2rem; }
  .rich-content { font-size: 1rem; }
  .rich-content :where(td, th) { padding: .5em .55em; }
}

@media (max-width: 23rem) {
  .reading-width { width: calc(100% - 2rem); }
}
