.river-360-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.14), transparent 34rem),
    linear-gradient(180deg, #f8f6ef 0%, #ffffff 44%, #f4efe4 100%);
}

.river-360-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(118px, 14vw, 154px) 0 32px;
}

.river-360-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 0.46fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: end;
}

.river-360-hero h1 {
  max-width: 820px;
  margin: 10px 0 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
}

.river-360-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.72;
}

.river-360-actions,
.river-360-mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.river-360-actions {
  margin-top: 24px;
}

.river-360-note-card {
  padding: 22px;
  border: 1px solid rgba(13, 27, 42, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 54px rgba(11, 17, 29, 0.1);
}

.river-360-note-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
}

.river-360-note-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.river-360-viewer-section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 78px;
}

.river-360-frame-shell {
  overflow: hidden;
  border: 1px solid rgba(200, 164, 93, 0.28);
  border-radius: 26px;
  background: #0d1b2a;
  box-shadow: 0 26px 70px rgba(11, 17, 29, 0.18);
}

.river-360-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  color: #ead7a4;
  background: linear-gradient(90deg, #0d1b2a, #13263a);
}

.river-360-toolbar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

.river-360-toolbar strong {
  color: #fff;
}

.river-360-toolbar a {
  color: #ead7a4;
  font-weight: 900;
  text-decoration: none;
}

.river-360-frame-wrap {
  position: relative;
  height: min(78vh, 760px);
  min-height: 560px;
}

.river-360-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

.river-360-fallback {
  padding: 16px 18px;
  color: #526071;
  background: #fff;
  font-size: 14px;
  line-height: 1.65;
}

.river-360-fallback a {
  color: var(--green-dark);
  font-weight: 900;
}

.river-360-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 88px;
}

.river-360-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: 24px;
  align-items: start;
}

.river-360-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(13, 27, 42, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(11, 17, 29, 0.08);
}

.river-360-panel h2,
.river-360-panel h3 {
  margin-top: 0;
  color: var(--ink);
}

.river-360-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
}

.river-360-panel p,
.river-360-panel li {
  color: var(--muted);
  line-height: 1.72;
}

.river-360-panel ul,
.river-360-panel ol {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
  padding-left: 22px;
}

.river-360-side {
  position: sticky;
  top: 96px;
}

.river-360-cta {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 860px) {
  .river-360-hero,
  .river-360-viewer-section,
  .river-360-content {
    width: min(100% - 28px, 1180px);
  }

  .river-360-hero-grid,
  .river-360-grid {
    grid-template-columns: 1fr;
  }

  .river-360-frame-wrap {
    height: 68vh;
    min-height: 460px;
  }

  .river-360-side {
    position: static;
  }
}

@media (max-width: 560px) {
  .river-360-hero {
    padding-top: 98px;
  }

  .river-360-frame-shell {
    border-radius: 18px;
  }

  .river-360-frame-wrap {
    height: 64vh;
    min-height: 390px;
  }

  .river-360-toolbar {
    align-items: flex-start;
  }
}
