/* Chintai Article Phase 4 public UI polish r1 */

.article-phase4-trust {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto;
  max-width: 900px;
  padding: 0 24px 20px;
  width: 100%;
}

.article-phase4-trust__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}

.article-phase4-chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 999px;
  color: #64748b;
  display: inline-flex;
  font-size: 11px;
  gap: 5px;
  line-height: 1.2;
  min-height: 29px;
  padding: 6px 9px;
}

.article-phase4-chip strong {
  color: #263548;
  font-weight: 700;
}

.article-phase4-chip--fresh {
  background: #f1fbf6;
  border-color: rgba(22, 163, 74, 0.18);
}

.article-phase4-chip--aging {
  background: #fffbeb;
  border-color: rgba(217, 119, 6, 0.2);
}

.article-phase4-chip--stale,
.article-phase4-chip--unverified {
  background: #fff8f8;
  border-color: rgba(220, 38, 38, 0.16);
}

.article-phase4-chip--link {
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}

.article-phase4-chip--link:hover,
.article-phase4-chip--link:focus-visible {
  border-color: rgba(15, 118, 110, 0.28);
  color: #0b5e58;
}

.article-phase4-hub {
  align-items: center;
  background: linear-gradient(180deg, #f1faf7 0%, #edf7f4 100%);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 999px;
  color: #0f766e;
  display: inline-grid;
  font-size: 11px;
  gap: 7px;
  grid-template-columns: auto auto auto;
  line-height: 1.25;
  max-width: 100%;
  padding: 8px 12px;
  text-decoration: none;
}

.article-phase4-hub strong {
  color: #0b4f49;
  font-size: 12px;
}

.article-phase4-hub:hover,
.article-phase4-hub:focus-visible {
  background: #e8f5f2;
  border-color: rgba(15, 118, 110, 0.28);
}

.article-phase4-chip--link:focus-visible,
.article-phase4-hub:focus-visible,
.article-phase4-sources a:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.24);
  outline-offset: 3px;
}

.article-rent-snapshot {
  background: linear-gradient(180deg, #f5fbf9 0%, #ffffff 100%);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 22px;
  margin: 34px 0 44px;
  padding: 24px;
}

.article-rent-snapshot__head {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.article-rent-snapshot__eyebrow,
.article-phase4-sources__head > span,
.article-author-profile-articles > span {
  color: #0f766e;
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-rent-snapshot__head h2 {
  color: #0f172a;
  font-family: var(--font-display, "Manrope", "Inter", sans-serif);
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 4px 0 0;
}

.article-rent-snapshot__verified {
  color: #64748b;
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.article-rent-snapshot__verified time {
  color: #273548;
  display: block;
  font-weight: 700;
}

.article-rent-snapshot__stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-rent-snapshot__stats > div {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  padding: 13px 14px;
}

.article-rent-snapshot__stats span,
.article-rent-snapshot__bedroom span {
  color: #738093;
  display: block;
  font-size: 10.5px;
  line-height: 1.35;
}

.article-rent-snapshot__stats strong {
  color: #0f172a;
  display: block;
  font-size: 15px;
  margin-top: 4px;
}

.article-rent-snapshot__bedrooms {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: thin;
}

.article-rent-snapshot__bedroom {
  background: #eaf6f2;
  border-radius: 12px;
  min-width: 118px;
  padding: 10px 12px;
}

.article-rent-snapshot__bedroom strong,
.article-rent-snapshot__bedroom small {
  display: block;
}

.article-rent-snapshot__bedroom strong {
  color: #17342f;
}

.article-rent-snapshot__bedroom small {
  color: #64748b;
  margin-top: 2px;
}

.article-rent-snapshot__method {
  color: #718094;
  font-size: 11.5px;
  line-height: 1.6;
  margin: 13px 0 0;
}

.article-phase4-sources {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  margin-bottom: 24px;
  margin-top: 58px;
  padding-top: 24px;
}

.article-phase4-sources__head h2 {
  color: #0f172a;
  font-family: var(--font-display, "Manrope", "Inter", sans-serif);
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 4px 0 14px;
}

.article-phase4-sources ol {
  margin: 0;
  padding-left: 20px;
}

.article-phase4-sources li {
  padding: 7px 0;
}

.article-phase4-sources li::marker {
  color: #0f766e;
  font-weight: 800;
}

.article-phase4-sources li div {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.article-phase4-sources a {
  color: #0f766e;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-phase4-sources li span,
.article-phase4-sources li small {
  color: #718094;
  font-size: 11.5px;
}

/* Author profile page: preserve the existing Phase 4 capability, with matching polish. */
.article-author-profile-page {
  margin: 0 auto;
  max-width: 1040px;
  padding: 70px 24px;
}

.article-author-profile-hero {
  background: #f8faf9;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  padding: 32px;
}

.article-author-profile-hero__inner {
  align-items: flex-start;
  display: flex;
  gap: 24px;
}

.article-author-profile-hero__inner img {
  border-radius: 50%;
  object-fit: cover;
}

.article-author-profile-hero__inner h1 {
  margin: 4px 0 2px;
}

.article-author-profile-role {
  color: #0f766e;
  font-weight: 600;
}

.article-author-profile-facts {
  display: flex;
  gap: 28px;
  margin-top: 24px;
}

.article-author-profile-facts strong,
.article-author-profile-facts span {
  display: block;
}

.article-author-profile-facts span {
  color: #64748b;
  font-size: 12px;
}

.article-author-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.article-author-profile-tags span {
  background: #e8f5f2;
  border-radius: 999px;
  color: #0f5d57;
  font-size: 12px;
  padding: 7px 10px;
}

.article-author-profile-articles {
  margin-top: 42px;
}

.article-author-profile-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.article-author-profile-grid article {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  padding: 20px;
}

.article-author-profile-grid h3 {
  margin: 6px 0;
}

.article-author-profile-grid h3 a {
  color: #17211b;
  text-decoration: none;
}

.article-author-profile-grid p,
.article-author-profile-grid small,
.article-author-profile-grid time {
  color: #64748b;
}

@media (max-width: 800px) {
  .article-phase4-trust {
    padding-left: 20px;
    padding-right: 20px;
  }

  .article-rent-snapshot__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-author-profile-grid {
    grid-template-columns: 1fr;
  }

  .article-author-profile-hero__inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .article-phase4-trust {
    align-items: flex-start;
    padding-bottom: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .article-phase4-trust__meta {
    justify-content: flex-start;
  }

  .article-phase4-hub {
    border-radius: 14px;
    grid-template-columns: 1fr auto;
    width: 100%;
  }

  .article-phase4-hub span:first-child {
    grid-column: 1 / -1;
  }

  .article-rent-snapshot {
    border-radius: 18px;
    padding: 18px;
  }

  .article-rent-snapshot__head {
    flex-direction: column;
  }

  .article-rent-snapshot__verified {
    text-align: left;
  }

  .article-rent-snapshot__stats {
    grid-template-columns: 1fr;
  }
}
