.synergy-home-panorama,
.synergy-header-panorama,
.synergy-sidebar-panorama,
.synergy-footer-panorama,
.synergy-bottom-nav--panorama {
  --panorama-ink: #111317;
  --panorama-paper: #fbf7ef;
  --panorama-soft: #efe6d7;
  --panorama-line: rgba(17, 19, 23, 0.16);
  --panorama-red: #e2382a;
  --panorama-blue: #1e6b83;
  --panorama-muted: #67625a;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.synergy-header-panorama {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--panorama-line);
  background: rgba(251, 247, 239, 0.94);
  color: var(--panorama-ink);
  backdrop-filter: blur(18px);
}

.panorama-toolbar {
  display: grid;
  grid-template-columns: 42px minmax(180px, auto) auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
}

.panorama-logo,
.panorama-footer-logo,
.panorama-drawer-logo {
  display: inline-flex;
  align-items: center;
  color: var(--panorama-ink);
  text-decoration: none;
}

.panorama-logo-image,
.panorama-footer-logo .panorama-logo-image,
.panorama-drawer-logo .panorama-logo-image {
  width: auto;
  max-width: min(260px, 40vw);
  max-height: 50px;
  object-fit: contain;
}

.panorama-logo-text,
.panorama-footer-logo-text,
.panorama-drawer-logo-text {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3.1vw, 46px);
  font-weight: 900;
  line-height: 1;
}

.panorama-icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--panorama-line);
  border-radius: 50%;
  background: #fff;
  color: var(--panorama-ink);
  cursor: pointer;
}

.panorama-toolbar > .panorama-icon-button:first-child {
  grid-column: 1;
  grid-row: 1;
}

.panorama-toolbar > .panorama-logo {
  grid-column: 2;
  grid-row: 1;
}

.panorama-icon-button svg {
  width: 20px;
  height: 20px;
}

.panorama-nav {
  --synergy-design-nav-column-gap: 8px;
  grid-column: 1 / -1;
  grid-row: 2;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 12px;
}

.panorama-nav-link {
  flex: 0 0 auto;
  border: 1px solid var(--panorama-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 12px;
  color: var(--panorama-ink);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.panorama-actions {
  grid-column: 3;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.panorama-language {
  position: relative;
}

.panorama-language > button {
  border: 0;
  border-radius: 999px;
  background: var(--panorama-ink);
  color: var(--panorama-paper);
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 900;
}

.panorama-language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  display: grid;
  gap: 4px;
  min-width: 96px;
  border: 1px solid var(--panorama-line);
  background: #fff;
  padding: 8px;
  box-shadow: 0 18px 40px rgba(17, 19, 23, 0.15);
}

.panorama-language-menu a {
  color: var(--panorama-ink);
  padding: 7px 9px;
  text-decoration: none;
}

.synergy-home-panorama {
  background: linear-gradient(90deg, #f4ece0 0 22%, #fbf7ef 22% 100%);
  color: var(--panorama-ink);
}

.panorama-page {
  padding-top: 24px;
  padding-bottom: 52px;
}

.panorama-runway {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  border-top: 5px solid var(--panorama-red);
  padding-top: 16px;
}

.panorama-runway-head {
  display: grid;
  align-content: start;
  gap: 8px;
}

.panorama-runway-head span {
  color: var(--panorama-red);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.panorama-runway-head time {
  color: var(--panorama-muted);
  font-size: 13px;
  font-weight: 800;
}

.panorama-runway-strip {
  display: grid;
  grid-auto-columns: minmax(220px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.panorama-card {
  min-width: 0;
}

.panorama-media {
  --synergy-design-media-ratio: 4 / 3;
  background: #ded7ca;
}

.panorama-card-runway {
  width: auto;
}

.panorama-title {
  margin: 0;
  line-height: 1.02;
}

.panorama-title a {
  color: inherit;
  text-decoration: none;
}

.panorama-title-runway {
  margin-top: 8px;
  font-size: clamp(15px, 1.15vw, 19px);
  font-weight: 950;
}

.panorama-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr);
  gap: 24px;
  margin-top: 24px;
}

.panorama-card-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  min-height: 390px;
  border: 1px solid var(--panorama-line);
  background: #fff;
}

.panorama-media-lead {
  --synergy-design-media-ratio: 1 / 1;
  height: 100%;
}

.panorama-card-lead .panorama-title,
.panorama-card-lead .panorama-excerpt,
.panorama-card-lead .panorama-meta {
  padding-inline: clamp(18px, 2.6vw, 40px);
}

.panorama-card-lead .panorama-title {
  align-self: end;
  margin-top: auto;
  padding-top: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.2vw, 62px);
  font-weight: 900;
}

.panorama-excerpt {
  color: var(--panorama-muted);
  font-size: 15px;
  line-height: 1.5;
}

.panorama-meta {
  color: var(--panorama-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.panorama-caption-stack {
  display: grid;
  align-content: start;
  gap: 14px;
  border-left: 1px solid var(--panorama-line);
  padding-left: 22px;
}

.panorama-caption-stack h2 {
  margin: 0;
  color: var(--panorama-red);
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
}

.panorama-card-caption {
  border-bottom: 1px solid var(--panorama-line);
  padding-bottom: 13px;
}

.panorama-title-caption {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 950;
}

.panorama-native-band {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 18px;
  margin-top: 28px;
  align-items: stretch;
}

.panorama-ad-slot,
.panorama-native-band .synergy-home-ad {
  min-height: 250px;
  border: 1px dashed var(--panorama-line);
  background: rgba(255,255,255,0.62);
}

.panorama-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--panorama-line);
  margin-bottom: 16px;
  padding-bottom: 10px;
}

.panorama-section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.2vw, 54px);
  line-height: 0.95;
}

.panorama-section-head a {
  color: inherit;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.panorama-gallery {
  margin-top: 34px;
}

.panorama-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.panorama-gallery-grid .panorama-card-portrait {
  grid-column: span 2;
  grid-row: span 2;
}

.panorama-gallery-grid .panorama-card-tile,
.panorama-gallery-grid .panorama-card-caption {
  grid-column: span 2;
}

.panorama-media-portrait {
  --synergy-design-media-ratio: 3 / 4;
}

.panorama-title-portrait,
.panorama-title-tile {
  margin-top: 9px;
  font-size: clamp(17px, 1.8vw, 28px);
  font-weight: 950;
}

.panorama-ad-row {
  margin-top: 28px;
}

.panorama-latest {
  margin-top: 42px;
}

.panorama-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.synergy-sidebar-panorama {
  --synergy-design-drawer-bg: var(--panorama-paper);
  --synergy-design-drawer-fg: var(--panorama-ink);
  --synergy-design-drawer-width: 380px;
}

.panorama-drawer,
.dispatch-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 95;
  height: 100vh;
  overflow-y: auto;
  transform: translateX(-105%);
  transition: transform 180ms ease;
}

.panorama-drawer.is-open,
.dispatch-drawer.is-open {
  transform: translateX(0);
}

.panorama-drawer {
  border-right: 6px solid var(--panorama-red);
  background: var(--panorama-paper);
  box-shadow: 18px 0 55px rgba(17, 19, 23, 0.2);
}

.panorama-drawer-head,
.dispatch-drawer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  padding: 18px;
}

.panorama-drawer-close,
.dispatch-drawer-close {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.panorama-drawer-close svg,
.dispatch-drawer-close svg {
  width: 20px;
  height: 20px;
}

.panorama-drawer-search,
.dispatch-drawer-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 0 18px 18px;
}

.panorama-drawer-search input,
.dispatch-drawer-search input {
  min-width: 0;
  border: 1px solid var(--panorama-line);
  background: #fff;
  padding: 11px;
  color: var(--panorama-ink);
}

.panorama-drawer-search button,
.dispatch-drawer-search button {
  border: 0;
  background: var(--panorama-red);
  color: #fff;
  padding: 0 12px;
  font-weight: 950;
}

.panorama-drawer-langs,
.dispatch-drawer-langs {
  padding: 0 18px 14px;
}

.panorama-drawer-langs a,
.dispatch-drawer-langs a {
  border: 1px solid var(--panorama-line);
  padding: 7px 10px;
  color: inherit;
  text-decoration: none;
}

.panorama-drawer-langs a.is-active,
.dispatch-drawer-langs a.is-active {
  background: var(--panorama-ink);
  color: var(--panorama-paper);
}

.panorama-drawer-nav,
.dispatch-drawer-nav {
  display: grid;
  padding: 6px 18px 28px;
}

.panorama-drawer-nav a,
.dispatch-drawer-nav a {
  border-top: 1px solid var(--panorama-line);
  color: inherit;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.panorama-drawer-backdrop,
.dispatch-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  border: 0;
  background: rgba(17, 19, 23, 0.45);
}

.synergy-footer-panorama {
  border-top: 1px solid var(--panorama-line);
  background: #111317;
  color: #fbf7ef;
}

.panorama-footer-inner {
  display: grid;
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 38px;
}

.panorama-footer-brand {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr);
  gap: 22px;
}

.panorama-footer-brand p {
  margin: 0;
  color: rgba(251,247,239,0.72);
}

.panorama-footer-logo,
.panorama-footer-logo-text,
.panorama-footer-nav-link,
.panorama-footer-group-link {
  color: #fbf7ef;
}

.panorama-footer-nav {
  border-top: 1px solid rgba(251,247,239,0.2);
  border-bottom: 1px solid rgba(251,247,239,0.2);
  padding-block: 14px;
}

.panorama-footer-nav-link,
.panorama-footer-group-link {
  text-decoration: none;
}

.panorama-footer-heading {
  margin: 0 0 12px;
  color: #ff5a4d;
  font-size: 12px;
  text-transform: uppercase;
}

.panorama-footer-bottom {
  color: rgba(251,247,239,0.64);
  font-size: 13px;
}

.synergy-bottom-nav--panorama {
  --synergy-bottom-design-bg: rgba(17, 19, 23, 0.92);
  --synergy-bottom-design-fg: #fbf7ef;
  --synergy-bottom-design-border: 1px solid rgba(255, 255, 255, 0.14);
  --synergy-bottom-design-shadow: 0 -18px 40px rgba(17, 19, 23, 0.28);
  --synergy-bottom-design-item-radius: 999px;
  --synergy-bottom-design-icon-radius: 50%;
}

.synergy-bottom-nav--panorama .synergy-bottom-nav-item.is-active,
.synergy-bottom-nav--panorama .synergy-bottom-nav-item:hover {
  background: var(--panorama-red);
  color: #fff;
}

@media (max-width: 980px) {
  .panorama-toolbar {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .panorama-nav {
    grid-column: 1 / -1;
    padding-bottom: 10px;
  }

  .panorama-cover,
  .panorama-card-lead,
  .panorama-native-band {
    grid-template-columns: 1fr;
  }

  .panorama-media-lead {
    height: auto;
  }

  .panorama-card-lead {
    min-height: 0;
  }

  .panorama-caption-stack {
    border-left: 0;
    padding-left: 0;
  }

  .panorama-gallery-grid,
  .panorama-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panorama-gallery-grid .panorama-card-portrait,
  .panorama-gallery-grid .panorama-card-tile,
  .panorama-gallery-grid .panorama-card-caption {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .panorama-toolbar {
    min-height: 62px;
    gap: 10px;
  }

  .panorama-actions .panorama-language {
    display: none;
  }

  .panorama-runway {
    grid-template-columns: 1fr;
  }

  .panorama-card-runway {
    width: 74vw;
  }

  .panorama-card-lead .panorama-title {
    font-size: clamp(30px, 11vw, 46px);
  }

  .panorama-gallery-grid,
  .panorama-latest-grid {
    grid-template-columns: 1fr;
  }
}
