/* Single app detail — separated panels (v7.1.4.6) */

.rgo-single .rgo-single__wrap {
  padding-bottom: 2.5rem;
}

.rgo-single .rgo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 1.15rem 0 1rem;
  margin: 0;
  font-size: 0.9rem;
  color: #5a6d82;
}

.rgo-single .rgo-breadcrumb a {
  color: #12263a;
  font-weight: 700;
  text-decoration: none;
}

.rgo-single .rgo-breadcrumb__sep {
  opacity: 0.55;
}

/* Hero card */
.rgo-single .rgo-detail-hero {
  display: block;
  padding: 1.2rem 1.05rem 1.25rem;
  margin: 0 0 1.15rem;
  border-radius: 1.05rem;
  border: 1px solid rgba(245, 200, 76, 0.28);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(245, 200, 76, 0.18), transparent 52%),
    linear-gradient(155deg, #0a1628 0%, #12263a 52%, #1a334d 100%);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(10, 22, 40, 0.22);
}

.rgo-single .rgo-detail-hero__top {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 0.9rem;
  align-items: start;
  margin: 0 0 1rem;
}

.rgo-single .rgo-detail-hero__icon {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.rgo-single .rgo-detail-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(245, 200, 76, 0.16);
  color: #f5c84c;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rgo-single .rgo-detail-hero__title {
  margin: 0 0 0.4rem;
  color: #ffffff !important;
  font-family: "Syne", Georgia, serif;
  font-size: clamp(1.4rem, 5.2vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

.rgo-single .rgo-detail-hero__rating {
  margin: 0 0 0.55rem;
  color: #ffffff;
  font-weight: 700;
}

.rgo-single .rgo-detail-hero__rating--empty {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.rgo-single .rgo-detail-hero__summary {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  line-height: 1.5;
}

.rgo-single .rgo-detail-hero__meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.rgo-single .rgo-detail-hero__meta a {
  color: #f5c84c;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

/* Hero stats — 2-col cards */
.rgo-single .rgo-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.rgo-single .rgo-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.7rem;
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rgo-single .rgo-stat-card__label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rgo-single .rgo-stat-card__value {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
  word-break: break-word;
}

.rgo-single .rgo-detail-hero__cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

/* Page tabs */
.rgo-single .rgo-page-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin: 0 0 1.15rem;
  padding: 0.1rem 0 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.rgo-single .rgo-page-tabs__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0.58rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 38, 58, 0.14);
  background: #ffffff;
  color: #12263a !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rgo-single .rgo-page-tabs__item.is-active,
.rgo-single .rgo-page-tabs__item:hover {
  background: linear-gradient(180deg, #f5c84c, #e8a317);
  border-color: transparent;
  color: #0a1628 !important;
}

/* Separated content panels */
.rgo-single .rgo-panel {
  display: block;
  margin: 0 0 1rem;
  padding: 1.15rem 1.05rem 1.2rem;
  background: #ffffff;
  border: 1px solid rgba(18, 38, 58, 0.1);
  border-radius: 1rem;
  box-shadow: 0 8px 22px rgba(10, 22, 40, 0.05);
}

.rgo-single .rgo-panel__title {
  margin: 0 0 0.75rem;
  color: #0a1628;
  font-family: "Syne", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.25;
}

.rgo-single .rgo-panel__text {
  margin: 0 0 0.75rem;
  color: #5a6d82;
  font-size: 0.98rem;
  line-height: 1.6;
}

.rgo-single .rgo-panel__link {
  margin: 0.55rem 0 0;
}

.rgo-single .rgo-panel__link a {
  color: #12263a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Gallery — scraped previews (1:1) + icon fallback */
.rgo-single .rgo-gallery__list {
  display: grid;
  gap: 1rem;
  margin-top: 0.35rem;
}

.rgo-single .rgo-gallery__item {
  margin: 0;
}

.rgo-single .rgo-gallery__item img {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  max-height: 14rem;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 0.55rem;
  background: #eef3f7;
}

.rgo-single .rgo-gallery__item figcaption {
  margin: 0.35rem 0 0;
  color: #526477;
  font-size: 0.78rem;
  line-height: 1.4;
}

.rgo-single .rgo-gallery-box {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  margin-top: 0.25rem;
  padding: 1.15rem 1rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, #eef3f8, #e4ebf3);
  text-align: center;
}

.rgo-single .rgo-gallery-box img {
  width: 128px;
  height: 128px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.16);
}

.rgo-single .rgo-gallery-box p {
  margin: 0;
  color: #5a6d82;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 28rem;
}

/* Feature cards */
.rgo-single .rgo-feature-grid {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.rgo-single .rgo-feature-card {
  padding: 0.9rem 0.95rem;
  border-radius: 0.8rem;
  background: #f4f7fb;
  border: 1px solid rgba(18, 38, 58, 0.08);
}

.rgo-single .rgo-feature-card h3 {
  margin: 0 0 0.35rem;
  color: #0a1628;
  font-size: 1.02rem;
  font-weight: 800;
}

.rgo-single .rgo-feature-card p {
  margin: 0;
  color: #5a6d82;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* FAQ */
.rgo-single .rgo-faq {
  margin-top: 0.25rem;
}

.rgo-single .rgo-faq__item {
  border-bottom: 1px solid rgba(18, 38, 58, 0.1);
  padding: 0.7rem 0;
}

.rgo-single .rgo-faq__item:first-child {
  padding-top: 0.15rem;
}

.rgo-single .rgo-faq__item summary {
  cursor: pointer;
  list-style: none;
  color: #0a1628;
  font-weight: 700;
  line-height: 1.4;
}

.rgo-single .rgo-faq__item summary::-webkit-details-marker {
  display: none;
}

.rgo-single .rgo-faq__item summary::before {
  content: "+";
  display: inline-block;
  width: 1.15rem;
  margin-right: 0.15rem;
  color: #e8a317;
  font-weight: 800;
}

.rgo-single .rgo-faq__item[open] summary::before {
  content: "–";
}

.rgo-single .rgo-faq__a {
  margin-top: 0.5rem;
  padding-left: 1.3rem;
  color: #5a6d82;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* App details key/value rows */
.rgo-single .rgo-kv-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.15rem 0 0;
}

.rgo-single .rgo-kv {
  display: grid;
  grid-template-columns: minmax(7.5rem, 38%) 1fr;
  gap: 0.55rem 0.85rem;
  align-items: start;
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  background: #f4f7fb;
  border: 1px solid rgba(18, 38, 58, 0.07);
}

.rgo-single .rgo-kv__label {
  color: #5a6d82;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.35;
}

.rgo-single .rgo-kv__value {
  color: #0a1628;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-word;
  text-align: left;
}

.rgo-single .rgo-more-details {
  margin-top: 0.95rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(18, 38, 58, 0.1);
}

.rgo-single .rgo-more-details summary {
  cursor: pointer;
  color: #0a1628;
  font-weight: 800;
}

.rgo-single .rgo-more-details p {
  margin: 0.55rem 0 0;
  color: #5a6d82;
  line-height: 1.55;
}

.rgo-single .rgo-related .rgo-app-list {
  margin-top: 0.35rem;
}

@media (min-width: 720px) {
  .rgo-single .rgo-detail-hero__top {
    grid-template-columns: 96px 1fr;
  }

  .rgo-single .rgo-detail-hero__icon {
    width: 96px;
    height: 96px;
  }

  .rgo-single .rgo-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rgo-single .rgo-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rgo-single .rgo-kv {
    grid-template-columns: minmax(10rem, 32%) 1fr;
  }
}
