/* Reviva editorial media and GEO summary blocks — 2026-07-30 */
.article-cover-shell,
.article-ai-summary {
  width: min(100%, 1328px);
  margin-inline: auto;
  padding-inline: 24px;
}

.article-cover-shell {
  margin-top: 40px;
}

.article-cover {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: #ece9e3;
}

.article-cover img,
.article-thumb-img,
.featured-main-image,
.featured-small-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-cover img {
  aspect-ratio: 16 / 9;
}

.article-ai-summary {
  margin-top: 24px;
}

.article-ai-summary-inner {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(255, 77, 0, .14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 101, 45, .14), transparent 34%),
    #f6f4f0;
}

.article-ai-summary-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #ff4d00;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.article-ai-summary h2 {
  max-width: 900px;
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
}

.article-ai-summary p {
  max-width: 980px;
  margin: 0;
  color: var(--text-secondary, #666);
  font-size: 16px;
  line-height: 1.7;
}

.article-ai-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.article-ai-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(24, 23, 21, .14);
  border-radius: 999px;
  color: var(--text-primary, #1a1917);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}

.article-ai-links a:hover {
  border-color: #ff4d00;
  color: #ff4d00;
  transform: translateY(-1px);
}

.article-updated {
  margin-top: 18px !important;
  font-size: 12px !important;
  color: var(--text-muted, #8a8781) !important;
}

.article-thumb {
  overflow: hidden;
}

.article-thumb-img {
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
}

.article-card:hover .article-thumb-img {
  transform: scale(1.035);
}

.featured-main,
.featured-small {
  isolation: isolate;
}

.featured-main-image,
.featured-small-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.featured-main-image {
  opacity: .58;
}

.featured-main::before {
  z-index: 1 !important;
  background: linear-gradient(180deg, rgba(15, 14, 13, .08) 0%, rgba(15, 14, 13, .88) 100%) !important;
}

.featured-main > :not(.featured-main-image) {
  position: relative;
  z-index: 2;
}

.featured-small {
  position: relative;
  overflow: hidden;
}

.featured-small-image {
  opacity: .24;
  filter: saturate(.9);
}

.featured-small::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(248, 246, 242, .78);
  pointer-events: none;
}

.featured-small > :not(.featured-small-image) {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .article-cover-shell,
  .article-ai-summary {
    padding-inline: 16px;
  }

  .article-cover-shell {
    margin-top: 24px;
  }

  .article-cover,
  .article-ai-summary-inner {
    border-radius: 18px;
  }

  .article-ai-summary-inner {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-thumb-img,
  .article-ai-links a {
    transition: none;
  }
}
