.otr-article-page .header-content {
  max-width: none;
}

.otr-article-page .otr-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 4vw, 44px);
  align-items: center;
}

.otr-article-page .otr-hero-visual {
  position: relative;
}

.otr-article-page .spec-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.otr-article-page .spec-strip-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(var(--white-rgb), 0.8);
}

.otr-article-page .spec-strip-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.otr-article-page .spec-strip-value {
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.otr-article-page .otr-hero-gallery {
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(var(--brand-rgb), 0.14);
  background: linear-gradient(180deg, rgba(var(--white-rgb), 0.98), rgba(var(--brand-rgb), 0.08));
}

.otr-article-page .otr-hero-brand-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.otr-article-page .otr-hero-brand-logo {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(var(--brand-rgb), 0.12);
  background: rgba(var(--white-rgb), 0.92);
}

.otr-article-page .otr-hero-brand-logo img {
  max-width: 100%;
  max-height: 34px;
  width: auto;
  object-fit: contain;
}

.otr-article-page .otr-hero-brand-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(var(--brand-rgb), 0.08), rgba(var(--brand-rgb), 0.3), rgba(var(--brand-rgb), 0.08));
}

.otr-article-page .otr-gallery-stage {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 18px 20px 16px;
  border-radius: 24px;
  border: 1px solid rgba(var(--brand-rgb), 0.12);
  background: linear-gradient(180deg, rgba(var(--white-rgb), 0.98), rgba(var(--brand-rgb), 0.05));
}

.otr-article-page .otr-gallery-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(var(--brand-rgb), 0.06), transparent 46%);
  pointer-events: none;
}

.otr-article-page .otr-gallery-main-frame {
  position: relative;
  z-index: 1;
  min-height: clamp(280px, 31vw, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2.8rem;
}

.otr-article-page .otr-gallery-main-image {
  width: 100%;
  max-width: 420px;
  max-height: 320px;
  object-fit: contain;
  transform-origin: center;
  transition: opacity 180ms ease, transform 220ms ease;
}

.otr-article-page .otr-gallery-main-image.is-transitioning {
  opacity: 0.18;
  transform: scale(0.985);
}

.otr-article-page .otr-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.85rem;
  height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--brand-rgb), 0.16);
  border-radius: 999px;
  background: rgba(var(--white-rgb), 0.94);
  color: var(--brand-dark);
  box-shadow: 0 12px 24px -20px rgba(15, 23, 42, 0.42);
  transform: translateY(-50%);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.otr-article-page .otr-gallery-nav:hover {
  transform: translateY(-50%) scale(1.04);
  border-color: rgba(var(--brand-rgb), 0.28);
  background: #ffffff;
  box-shadow: 0 18px 28px -18px rgba(var(--accent-rgb), 0.24);
}

.otr-article-page .otr-gallery-nav:focus-visible,
.otr-article-page .otr-gallery-thumb:focus-visible,
.otr-article-page .otr-gallery-stage:focus-visible {
  outline: 2px solid rgba(var(--brand-rgb), 0.3);
  outline-offset: 3px;
}

.otr-article-page .otr-gallery-nav-prev {
  left: 0.95rem;
}

.otr-article-page .otr-gallery-nav-next {
  right: 0.95rem;
}

.otr-article-page .otr-gallery-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: start;
  margin-bottom: 14px;
}

.otr-article-page .otr-gallery-caption {
  min-height: 4.2rem;
}

.otr-article-page .otr-gallery-caption-eyebrow {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.otr-article-page .otr-gallery-caption-title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

.otr-article-page .otr-gallery-caption-copy {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.otr-article-page .otr-gallery-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--brand-rgb), 0.12);
  background: rgba(var(--white-rgb), 0.94);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.otr-article-page .otr-gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.otr-article-page .otr-gallery-thumb {
  appearance: none;
  display: grid;
  gap: 0.45rem;
  padding: 0.42rem;
  border: 1px solid rgba(var(--brand-rgb), 0.12);
  border-radius: 14px;
  background: rgba(var(--white-rgb), 0.92);
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.otr-article-page .otr-gallery-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-rgb), 0.24);
  background: #ffffff;
  box-shadow: 0 18px 36px -32px rgba(var(--accent-rgb), 0.18);
}

.otr-article-page .otr-gallery-thumb[aria-pressed="true"] {
  border-color: rgba(var(--brand-rgb), 0.34);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.1);
  background: #ffffff;
}

.otr-article-page .otr-gallery-thumb-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 10px;
  padding: 0.4rem;
  background: linear-gradient(180deg, rgba(var(--white-rgb), 1), rgba(var(--brand-rgb), 0.08));
}

.otr-article-page .otr-gallery-thumb-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--muted);
}

.otr-article-page .challenge-icon {
  width: fit-content;
  min-width: 46px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 12px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--brand-tint), rgba(var(--white-rgb), 0.96));
  border: 1px solid rgba(var(--brand-rgb), 0.14);
  color: var(--brand-dark);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.otr-article-page .otr-note {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--brand-rgb), 0.14);
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.08), rgba(var(--white-rgb), 0.94));
}

.otr-article-page .otr-note p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink);
}

.otr-article-page .otr-logo-section {
  background: var(--surface) !important;
}

.otr-article-page .otr-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.otr-article-page .otr-logo-card {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(var(--white-rgb), 0.86);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.otr-article-page .otr-logo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-rgb), 0.2);
  box-shadow: 0 18px 36px -32px rgba(var(--accent-rgb), 0.18);
}

.otr-article-page .otr-logo-card img {
  max-width: 100%;
  max-height: 34px;
  width: auto;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.otr-article-page .otr-logo-card:hover img {
  transform: scale(1.02);
}

.otr-article-page .otr-logo-name {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .otr-article-page .spec-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .otr-article-page .otr-hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .otr-article-page .otr-hero-gallery {
    padding: 18px;
  }

  .otr-article-page .otr-gallery-toolbar {
    grid-template-columns: 1fr;
  }

  .otr-article-page .otr-gallery-counter {
    justify-self: start;
  }

  .otr-article-page .spec-strip {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(170px, 72vw);
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .otr-article-page .otr-gallery-thumbnails {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(110px, 34vw);
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .otr-article-page .otr-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .otr-article-page .otr-hero-brand-row {
    grid-template-columns: 1fr;
  }

  .otr-article-page .otr-hero-brand-divider {
    display: none;
  }

  .otr-article-page .otr-gallery-main-frame {
    min-height: 240px;
    padding: 0 2.45rem;
  }

  .otr-article-page .otr-gallery-nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .otr-article-page .spec-strip {
    grid-auto-columns: minmax(160px, 78vw);
  }

  .otr-article-page .otr-gallery-thumbnails {
    grid-auto-columns: minmax(108px, 42vw);
  }

  .otr-article-page .otr-logo-grid {
    grid-template-columns: 1fr;
  }
}