/* Portable behavior and responsive enhancements for original interior pages. */
.an-interior-page img { max-width: 100%; height: auto; }
.an-interior-page #main-content { overflow-wrap: break-word; }
.an-interior-page [id] { scroll-margin-top: 92px; }
.an-interior-page .et_animated { opacity: 1 !important; }
.an-interior-page #main-content .container { max-width: 1240px; }
.an-video-intro { margin-bottom: 32px; font-size: 17px; line-height: 1.7; }
.an-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; }
.an-video-card { min-width: 0; }
.an-video-frame { aspect-ratio: 16 / 9; background: #142e22; overflow: hidden; }
.an-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.an-video-card h2 { font: 400 25px/1.3 Georgia, 'Times New Roman', serif; color: #20392b; margin: 20px 0 10px; padding: 0; }
.an-video-card > a { font-size: 14px; color: #74602f; text-decoration: underline; text-underline-offset: 4px; }
.an-video-gallery { padding-bottom: 30px; }
.an-image-viewer { box-sizing: border-box; border: 1px solid #ffffff26; border-radius: 3px; padding: 16px 20px; background: #10251b; color: #fff; width: min(1180px, calc(100vw - 32px)); height: calc(100dvh - 32px); max-width: none; max-height: none; }
.an-image-viewer[open] { display: flex; flex-direction: column; gap: 12px; }
.an-image-viewer::backdrop { background: #07150ce6; }
.an-image-viewer .an-viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.an-image-viewer .an-viewer-position { margin: 0; padding: 0; font: 400 13px/1.5 Arial, sans-serif; color: #d8dfd7; }
.an-image-viewer button { flex-shrink: 0; border: 1px solid #ffffff55; border-radius: 2px; background: transparent; color: #fff; padding: 8px 12px; font: 400 16px/1.2 Arial, sans-serif; cursor: pointer; min-height: 44px; min-width: 44px; }
.an-image-viewer button:hover { background: #ffffff18; }
.an-image-viewer button:focus-visible { outline: 2px solid #dfc78a; outline-offset: 3px; }
.an-image-viewer button[hidden] { display: none; }
.an-image-viewer .an-viewer-close span { padding-left: 10px; font-size: 22px; }
.an-image-viewer .an-viewer-stage { position: relative; flex: 1; min-height: 0; touch-action: pan-y; }
.an-image-viewer img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.an-image-viewer .an-viewer-previous, .an-image-viewer .an-viewer-next { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); background: #10251bcc; font-size: 24px; }
.an-image-viewer .an-viewer-previous { left: 8px; }
.an-image-viewer .an-viewer-next { right: 8px; }
.an-image-viewer .an-viewer-caption { margin: 0; padding: 0; text-align: center; font: 400 18px/1.5 Georgia, 'Times New Roman', serif; }
@media (max-width: 600px) {
  .an-image-viewer { width: calc(100vw - 16px); height: calc(100dvh - 16px); padding: 10px; }
  .an-image-viewer .an-viewer-caption { font-size: 17px; }
  .an-image-viewer .an-viewer-position { max-width: 65%; }
  .an-image-viewer .an-viewer-previous, .an-image-viewer .an-viewer-next { top: auto; bottom: 8px; transform: none; }
}
@media (max-width: 980px) {
  .an-interior-page .an-footer .et_pb_row { width: 100% !important; }
  .an-interior-page .an-footer { padding-inline: 25px !important; }
}
@media (max-width: 760px) {
  .an-video-grid { grid-template-columns: 1fr; gap: 36px; }
  .an-video-card h2 { font-size: 23px; }
  .an-interior-page #main-content .container { width: calc(100% - 40px); }
  .an-interior-page #main-content #left-area { padding-right: 0; width: 100%; }
  .an-interior-page #main-content p { font-size: max(1rem, 16px); }
  .an-interior-page #main-content table { display: block; max-width: 100%; overflow-x: auto; }
  .an-interior-page #main-content img.alignleft,
  .an-interior-page #main-content img.alignright { float: none; margin: 0 0 20px; }
}
