/* Shared page-head card — title + intro + meta line (calendar/author).
   Used by both the review redesign and the comparison-page redesign.
   Sits at the top of .ccs-rev__container as a white card on the grey body. */

.ccs-rev-pagehead {
  background: #fff;
  border-radius: var(--ccs-radius-xl);
  box-shadow: var(--ccs-shadow-card-hover);
  padding: 32px;
  margin: 0 0 32px;
  text-align: center;
}
@media (min-width: 1024px) {
  .ccs-rev-pagehead {
    text-align: left;
    padding: 40px 48px;
  }
}

.ccs-rev-pagehead__title {
  font-family: var(--ccs-font-display);
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ccs-primary);
  margin: 0 0 16px 0;
}
@media (min-width: 1024px) {
  .ccs-rev-pagehead__title { font-size: 48px; }
}

.ccs-rev-pagehead__intro {
  font-family: var(--ccs-font-display);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ccs-on-surface-variant);
  margin: 0 0 16px;
}
.ccs-rev-pagehead__intro p { margin: 0; }
.ccs-rev-pagehead__intro p + p { margin-top: 12px; }
.ccs-rev-pagehead__intro a { color: var(--ccs-primary); text-decoration: underline; }

.ccs-rev-pagehead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  font-family: var(--ccs-font-display);
  font-size: 14px;
  color: var(--ccs-on-surface-variant);
}
@media (min-width: 1024px) {
  .ccs-rev-pagehead__meta { justify-content: flex-start; }
}
.ccs-rev-pagehead__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ccs-rev-pagehead__meta-item .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
  width: 18px;
  height: 18px;
  color: var(--ccs-primary);
  /* Match opsz to the rendered font-size so wide icons (e.g. format_list_numbered)
     don't get squashed by the 24px opsz default. */
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}
.ccs-rev-pagehead__meta-item a {
  color: var(--ccs-primary);
  font-weight: 600;
  text-decoration: none;
}
.ccs-rev-pagehead__meta-item a:hover { text-decoration: underline; }
.ccs-rev-pagehead__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* Featured-sites wrap — sits inside .ccs-rev__container after the pagehead.
   Override the global .featured-sites max-width so the strip itself can use
   the full container width, then stretch the inner .fs-card items so they
   distribute across the strip evenly (instead of left-aligning with empty
   space on the right at desktop widths). */
.ccs-rev-featured-wrap {
  margin: 0 0 32px;
}
.ccs-rev-featured-wrap .featured-sites { max-width: none !important; }
@media (min-width: 1024px) {
  /* Make the strip a flex row that fills the container width and let each
     card grow equally. The site-wide .fs-card has `width: 178px` + `flex-shrink: 0`;
     setting width:0 + flex longhand here forces the grow distribution. */
  .ccs-rev-featured-wrap .featured-container {
    overflow-x: visible !important;
    width: 100% !important;
  }
  .ccs-rev-featured-wrap .fs-card {
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    flex-basis: 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}