.community-updates-block{
  margin: 32px 0 40px;
  padding: 28px;
  border: 1px solid #e7dcc4;
  border-radius: 28px;
  background: #f8f2e8;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.community-updates-block .section-head{
  margin: 0 0 18px;
}

.community-updates-block .section-head h2{
  margin: 0 0 10px !important;
  font-size: 30px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #0f172a !important;
}

.community-updates-block .section-head p{
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: #475569 !important;
  max-width: 760px;
}

.community-updates-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 22px;
}

.community-updates-block .offer-style-card{
  display: block;
  padding: 22px !important;
  border: 1px solid #dcc79a !important;
  border-radius: 24px !important;
  background: #fffdf9 !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.community-updates-block .offer-card-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.community-updates-block .offer-badge{
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f3e7c7 !important;
  border: 1px solid #dcc79a !important;
  color: #7b5b17 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.community-updates-block .offer-date{
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #5b6472 !important;
}

.community-updates-block .offer-title{
  margin: 0 0 16px !important;
  font-size: 22px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #0f172a !important;
}

.community-updates-block .offer-title a,
.community-updates-block .offer-title a:visited,
.community-updates-block .offer-title a:hover,
.community-updates-block .offer-title a:focus{
  color: #0f172a !important;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.community-updates-block .offer-title a:hover{
  color: #8a6a20 !important;
}

.community-updates-block .offer-table-wrap{
  overflow: hidden;
  border: 1px solid #e7dcc4 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
}

.community-updates-block .offer-table{
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
  table-layout: fixed;
}

.community-updates-block .offer-table tbody,
.community-updates-block .offer-table tr{
  background: transparent !important;
}

.community-updates-block .offer-table th,
.community-updates-block .offer-table td{
  padding: 14px 16px !important;
  vertical-align: top !important;
  border: 0 !important;
  border-bottom: 1px solid #eee4d2 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.community-updates-block .offer-table tr:last-child th,
.community-updates-block .offer-table tr:last-child td{
  border-bottom: 0 !important;
}

.community-updates-block .offer-table th{
  width: 190px !important;
  background: #fbf5e8 !important;
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

.community-updates-block .offer-table td{
  color: #475569 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  word-break: break-word;
}

.community-updates-block .offer-card-bottom{
  margin-top: 16px;
}

.community-updates-block .offer-link-btn,
.community-updates-block .offer-link-btn:visited,
.community-updates-block .offer-link-btn:hover,
.community-updates-block .offer-link-btn:focus{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  background: #c2a766 !important;
  border: 1px solid #c2a766 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(194, 167, 102, 0.22) !important;
}

.community-updates-block .offer-link-btn:hover{
  background: #af9352 !important;
  border-color: #af9352 !important;
}

.community-updates-block .offer-link-btn::after{
  content: "→";
  margin-left: 8px;
  font-size: 15px;
  line-height: 1;
}

@media (max-width: 768px){
  .community-updates-block{
    padding: 20px;
    border-radius: 22px;
  }

  .community-updates-block .section-head h2{
    font-size: 24px !important;
  }

  .community-updates-block .offer-style-card{
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .community-updates-block .offer-title{
    font-size: 20px !important;
  }

  .community-updates-block .offer-table,
  .community-updates-block .offer-table tbody,
  .community-updates-block .offer-table tr,
  .community-updates-block .offer-table th,
  .community-updates-block .offer-table td{
    display: block;
    width: 100% !important;
  }

  .community-updates-block .offer-table th{
    padding: 12px 14px 4px !important;
    border-bottom: 0 !important;
  }

  .community-updates-block .offer-table td{
    padding: 0 14px 12px !important;
    border-bottom: 1px solid #eee4d2 !important;
  }

  .community-updates-block .offer-table tr:last-child td{
    border-bottom: 0 !important;
  }
}
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;

  --ai-blue: #6366f1;
  --ai-cyan: #22d3ee;
  --ai-violet: #8b5cf6;
  --ai-soft: linear-gradient(135deg,#6366f1,#22d3ee);

  --radius: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* ================= HERO ================= */

.authority-hero {
  padding: 110px 0 80px;
  background:
    radial-gradient(800px 300px at 10% 0%, rgba(99,102,241,.15), transparent 60%),
    radial-gradient(700px 300px at 90% 20%, rgba(34,211,238,.14), transparent 60%);
}

.authority-eyebrow {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ai-blue);
  font-weight: 600;
}

.authority-title {
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.05;
  margin: 18px 0 28px;
  font-weight: 800;
}

.authority-explainer {
  max-width: 720px;
  background: var(--surface);
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.authority-explainer strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.authority-explainer p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ================= RANKED PROJECTS ================= */

.area-ranked-projects {
  margin-top: 90px;
}

.area-ranked-projects h3 {
  font-size: 26px;
  margin-bottom: 22px;
}

.area-project-list,
.area-ranked-projects ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 50px;
}

.area-project-list li a,
.area-ranked-projects ul li a {
  display: block;
  background: var(--surface);
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}

.area-project-list li a:hover,
.area-ranked-projects ul li a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.area-project-list span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* ================= AREA SCORE ================= */

.area-score {
  margin: 100px 0;
}

.score-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  background: var(--surface);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.score-left {
  text-align: center;
}

.score-label {
  font-size: 13px;
  color: var(--muted);
}

.score-value {
  font-size: 64px;
  font-weight: 800;
  background: var(--ai-soft);
  -webkit-background-clip: text;
  color: transparent;
}

.score-max {
  font-size: 13px;
  color: var(--muted);
}

.score-right h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.score-right p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ================= INTELLIGENCE GRID ================= */

.area-intel {
  margin: 120px 0;
}

.area-intel-title {
  font-size: 32px;
  margin-bottom: 36px;
}

.area-intel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.intel-card {
  background: var(--surface);
  padding: 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.intel-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
}

.intel-value {
  display: block;
  font-size: 22px;
  margin: 8px 0;
  font-weight: 700;
}

.intel-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ================= BUYER FIT ================= */

.area-buyer-fit {
  margin: 120px 0;
}

.buyer-fit-title {
  font-size: 32px;
  margin-bottom: 36px;
}

.buyer-fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.buyer-fit-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.buyer-fit-card h3 {
  margin-top: 0;
  font-size: 22px;
}

.fit-score {
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ai-blue);
}

.buyer-fit-card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

/* ================= COMPARISON ================= */

.area-compare {
  margin: 120px 0;
}

.compare-title {
  font-size: 32px;
  margin-bottom: 36px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.compare-card {
  background: var(--surface);
  padding: 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.compare-card.primary {
  border: 2px solid var(--ai-blue);
}

.compare-card h3 {
  margin-top: 0;
}

/* ================= EXPOSURE CARDS ================= */

.tr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.tr-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .2s ease;
}

.tr-card:hover {
  transform: translateY(-4px);
}

.tr-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.tr-body {
  padding: 18px;
}

.tr-name {
  margin: 0 0 4px;
  font-size: 17px;
}

.tr-meta {
  font-size: 13px;
  color: var(--muted);
}

.tr-tags {
  margin-top: 10px;
}

.tr-pill {
  display: inline-block;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--ai-blue);
  margin-right: 6px;
}

/* ================= SUMMARY ================= */

.area-intelligence-summary {
  margin: 120px 0;
  text-align: center;
}

.summary-title {
  font-size: 34px;
  margin-bottom: 14px;
}

.summary-text {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ================= SEO ================= */

.area-seo {
  margin-top: 140px;
  font-size: 14px;
  color: var(--muted);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .score-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* ===============================
   AREA INTELLIGENCE – COLOR LOGIC
================================ */

/* BASE CARD */
.intel-card {
  background: #ffffff;
  padding: 26px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  position: relative;
}

/* LABEL */
.intel-label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

/* VALUE */
.intel-value {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

/* DESCRIPTION */
.intel-card p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: #64748b;
}

/* ===============================
   RISK – GREEN (SAFE)
================================ */
.intel-card.risk {
  border-left: 5px solid #16a34a;
  background: linear-gradient(180deg,#ffffff,#f0fdf4);
}

.intel-card.risk .intel-label,
.intel-card.risk .intel-value {
  color: #15803d;
}

/* ===============================
   DEMAND – BLUE (STABLE)
================================ */
.intel-card.demand {
  border-left: 5px solid #2563eb;
  background: linear-gradient(180deg,#ffffff,#eff6ff);
}

.intel-card.demand .intel-label,
.intel-card.demand .intel-value {
  color: #1d4ed8;
}

/* ===============================
   ROI – VIOLET (GROWTH)
================================ */
.intel-card.roi {
  border-left: 5px solid #7c3aed;
  background: linear-gradient(180deg,#ffffff,#f5f3ff);
}

.intel-card.roi .intel-label,
.intel-card.roi .intel-value {
  color: #6d28d9;
}

/* ===============================
   DELIVERY – AMBER (TIMELINE)
================================ */
.intel-card.delivery {
  border-left: 5px solid #d97706;
  background: linear-gradient(180deg,#ffffff,#fffbeb);
}

.intel-card.delivery .intel-label,
.intel-card.delivery .intel-value {
  color: #b45309;
}
/* =========================================
   AREA RANKED PROJECTS – AI RANKING MODULE
========================================= */

.area-ranked-projects {
  margin: 100px 0;
  display: grid;
  gap: 70px;
}

/* SECTION HEADINGS */
.area-ranked-projects h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 26px;
  position: relative;
}

.area-ranked-projects h3::after {
  content: '';
  display: block;
  width: 54px;
  height: 4px;
  border-radius: 4px;
  margin-top: 10px;
  background: linear-gradient(90deg,#6366f1,#22d3ee);
}

/* LIST RESET */
.area-ranked-projects ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* GRID */
.area-project-list,
.area-ranked-projects ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 22px;
}

/* PROJECT CARD */
.area-ranked-projects li a {
  display: block;
  padding: 26px 28px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}

/* LEFT RANK BAR */
.area-ranked-projects li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #6366f1;
}

/* HOVER */
.area-ranked-projects li a:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0,0,0,.08);
}

/* PROJECT NAME */
.area-ranked-projects li a {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

/* DEVELOPER */
.area-ranked-projects li span {
  display: block;
  font-size: 13px;
  color: #64748b;
  margin-top: 6px;
}

/* ===============================
   SECTION-SPECIFIC COLOR LOGIC
================================ */

/* TOP RANKED */
.area-ranked-projects h3:first-of-type + ul li a::before {
  background: linear-gradient(180deg,#6366f1,#22d3ee);
}

/* END USERS */
.area-ranked-projects h3:nth-of-type(2) + ul li a::before {
  background: #16a34a;
}

.area-ranked-projects h3:nth-of-type(2)::after {
  background: #16a34a;
}

/* INVESTORS */
.area-ranked-projects h3:nth-of-type(3) + ul li a::before {
  background: #7c3aed;
}

.area-ranked-projects h3:nth-of-type(3)::after {
  background: #7c3aed;
}

/* ===============================
   EMPTY STATE FIX
================================ */

.area-ranked-projects ul:empty::after {
  content: 'No projects currently qualify for this category.';
  display: block;
  padding: 22px;
  background: #f8fafc;
  border: 1px dashed #cbd5f5;
  border-radius: 14px;
  color: #64748b;
  font-size: 14px;
}
/* =========================================
   INVESTOR DECISION STRIP
   Why buyers shortlist this area
========================================= */

.area-score {
  margin: 120px 0;
}

.score-card {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  align-items: center;
  gap: 36px;

  background: linear-gradient(180deg,#ffffff,#f8fafc);
  border-radius: 22px;
  padding: 42px 48px;

  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

/* TOP AI SIGNAL LINE */
.score-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg,#6366f1,#22d3ee,#7c3aed);
}

/* ================= LEFT – SCORE SIGNAL ================= */

.score-left {
  text-align: center;
  position: relative;
}

.score-label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.score-value {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg,#16a34a,#22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.score-max {
  font-size: 13px;
  color: #64748b;
}

/* CONFIDENCE DOT */
.score-left::after {
  content: 'High Confidence';
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #15803d;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ================= CENTER – WHY ================= */

.score-right h3 {
  font-size: 26px;
  margin: 0 0 10px;
  font-weight: 800;
}

.score-right p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  max-width: 520px;
}

/* ================= RIGHT – INVESTOR SIGNALS ================= */

.score-card::after {
  content: '';
}

.score-right + * {
  display: none;
}

/* ADD SIGNAL COLUMN USING ::after */
.score-card .score-right::after {
  white-space: pre;
  font-size: 14px;
  line-height: 1.8;
  color: #334155;

  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);

  padding-left: 22px;
  border-left: 2px solid #e5e7eb;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .score-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .score-right::after {
    position: static;
    transform: none;
    display: block;
    margin-top: 24px;
    padding-left: 0;
    border-left: none;
  }
}
