.ir-airview-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  margin-top: 7rem !important;
    margin-bottom: 7rem;
}

.ir-airview-title{
  margin: 0 0 12px 0;
}

.ir-airview-viewer{
  width: 100%;
  height: 70vh;
  min-height: 520px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 4px solid #1d567a;
  filter: drop-shadow(7px 7px 3px #d1d1d1);
}
.psv-panel-menu-title, .psv-panel-menu-item-label {
  color:white !important;
}

.view-nav-buttons a {
  border:3px solid #2d9bff;
  padding: 5px 16px;
  min-width: 120px;
  display: inline-block;
  border-radius: 8px;
  text-align: center;
  text-decoration: none !important;
  transition: all 0.5s ease-in;
}
.view-nav-buttons a:hover {
  background-color:#2d9bff;
  color:#fff;
}

.callout.panorama-help {
  background-color:#1d567a;
  border-width:0;
  border-radius:12px;
}
.callout.panorama-help * {
  color:white !important;
}
.callout.panorama-help h5 {
  text-transform:capitalize;
  font-weight: 700 !important;
}

.ir-airview-hint{
  margin-top: 10px;
  opacity: 0.9;
  font-size: 14px;
  margin-bottom:1rem;
}
.callout.viewer-content {
  border-radius: 12px;
    overflow: hidden;
    border: 4px solid #1d567a;
    filter: drop-shadow(7px 7px 3px #d1d1d1);
    display:none;
}
.callout.viewer-content.active {
  display:block;
}

.ir-airview-warning {
  padding: 14px;
  border-left: 4px solid #b00;
  background: #fff3f3;
}

/* Popup (map-style) */
.ir-airview-popup{
  width: 260px;
  background: #fff;
  color: #111;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  padding: 10px 10px 12px 10px;
  position: relative;
  font-family: system-ui, sans-serif;
  text-align:center;
}

.ir-airview-popup__title{
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 14px;
}

.ir-airview-popup__body{
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.ir-airview-popup__actions{
  display: flex;
  justify-content: center;
}

.ir-airview-popup__btn {
  display: inline-block;
  background: #fff;
  color: #042a6c;
  text-decoration: none !important;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  border: 3px solid #2d9bff;
  padding: 5px 16px;
  transition: all 0.5s ease-in;
}
.ir-airview-popup__btn:hover {
  background:#2d9bff;
  color:#fff;
}

/* little pointer tip */
.ir-airview-popup__tip{
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 6px 6px 16px rgba(0,0,0,0.18);
}

/* =========================================================
   Accessibility: Screen-reader live region
   ========================================================= */

.ir-a11y-live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Keyboard Navigation List
   ========================================================= */

.ir-keynav {
  margin: 16px 0 16px;
  padding: 10px 14px;
  background: #f0f4f8;
  border: 1px solid #c8d6e5;
  border-radius: 8px;
}

.ir-keynav-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1d567a;
}

.ir-keynav-btn {
  display: inline-block;
  margin: 3px 4px 3px 0;
  padding: 4px 12px;
  font-size: 13px;
  background: #fff;
  border: 2px solid #2d9bff;
  border-radius: 20px;
  color: #042a6c;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.ir-keynav-btn:hover,
.ir-keynav-btn:focus {
  background: #2d9bff;
  color: #fff;
  outline: 3px solid #042a6c;
  outline-offset: 2px;
}

.ir-keynav-empty {
  font-size: 13px;
  color: #888;
  font-style: italic;
}

/* =========================================================
   Reduced motion: disable all transitions
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  #ir-airview-viewer,
  .ir-airview-viewer {
    transition: none !important;
  }

  .ir-airview-popup,
  .ir-airview-popup__btn,
  .view-nav-buttons a {
    transition: none !important;
    animation: none !important;
  }

  .ir-tour-overlay,
  .ir-tour-cta-overlay,
  .ir-tour-countdown-bar {
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   Viewer wrapper — needed so tour buttons overlay the pano
   ========================================================= */

.ir-airview-viewer-wrap {
  position: relative;
}

/* =========================================================
   Tour: Prev / Next buttons anchored to the panorama
   ========================================================= */

.ir-tour-pano-btn {
  position: absolute;
  bottom: 50px;
  z-index: 100;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  letter-spacing: 0.02em;
}

.ir-tour-pano-btn:hover,
.ir-tour-pano-btn:focus {
  background: rgba(29, 86, 122, 0.9);
  border-color: #fff;
  outline: none;
}

.ir-tour-pano-btn--prev {
  left: 10px;
}

.ir-tour-pano-btn--next {
  right: 10px;
}

/* =========================================================
   Tour: Exit button top-right of pano
   ========================================================= */

.ir-tour-pano-exit {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 100;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.ir-tour-pano-exit:hover {
  background: rgba(160, 0, 0, 0.75);
  border-color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   Tour info bar (below pano)
   ========================================================= */

.ir-tour-overlay {
  background: #1d567a;
  border-radius: 10px;
  color: #fff;
  padding: 14px 18px 12px;
  display: none;
}

.ir-tour-overlay.is-active {
  display: block;
}

.ir-tour-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.ir-tour-header__left {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.ir-tour-title {
  font-weight: 700;
  font-size: 15px;
}

.ir-tour-progress {
  font-size: 13px;
  opacity: 0.75;
}

/* Narration row: text + listen button side by side */
.ir-tour-narration-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.ir-tour-narration {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  min-height: 36px;
}

/* Listen / audio button */
.ir-tour-audio-btn {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.ir-tour-audio-btn:hover,
.ir-tour-audio-btn:focus {
  background: rgba(255, 255, 255, 0.28);
  outline: 2px solid rgba(255,255,255,0.5);
}

.ir-tour-audio-btn.is-loading {
  opacity: 0.6;
  cursor: wait;
}

.ir-tour-audio-btn.is-playing {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
}

/* Step dots */
.ir-tour-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.ir-tour-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.ir-tour-dot.is-current {
  background: #fff;
}

.ir-tour-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Countdown bar */
.ir-tour-countdown {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  display: none;
}

.ir-tour-countdown.is-active { display: block; }

.ir-tour-countdown-bar {
  height: 100%;
  background: #fff;
  width: 100%;
  transform-origin: left;
  transition: transform linear;
}

/* =========================================================
   Tour CTA overlay
   ========================================================= */

.ir-tour-cta-overlay {
  margin-top: 8px;
  background: linear-gradient(135deg, #1d567a 0%, #014844 100%);
  border-radius: 10px;
  color: #fff;
  padding: 30px 24px;
  text-align: center;
}

.ir-tour-cta-overlay h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #fff;
}

.ir-tour-cta-overlay p {
  margin: 0 0 20px;
  opacity: 0.85;
  font-size: 15px;
}

.ir-tour-cta-btn {
  display: inline-block;
  background: #fff;
  color: #1d567a;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  margin-right: 10px;
  transition: background 0.2s, color 0.2s;
}

.ir-tour-cta-btn:hover {
  background: #2d9bff;
  color: #fff;
}

.ir-tour-restart-btn {
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.ir-tour-restart-btn:hover {
  border-color: #fff;
}
