/* Citizen Property Rwanda V4.98 — Pearl/navy frosted glass areas.
   Scope: benefits ribbon and featured section surrounding property cards only.
   The real property photos and JS behavior remain untouched. */
#home .citizen-home-benefits {
  max-width: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 24px max(24px,calc((100vw - 1280px) / 2)) !important;
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  align-items: stretch;
  gap: 13px !important;
  background: linear-gradient(115deg,#0a2545 0%,#1d4568 54%,#0b2a4b 100%) !important;
  border-top: 1px solid rgba(240,199,110,.32);
  border-bottom: 1px solid rgba(236,193,103,.3);
}
#home .citizen-home-benefits > div {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 19px 16px !important;
  display: grid !important;
  grid-template-columns: 37px minmax(0,1fr) !important;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  border: 1px solid rgba(255,255,255,.26) !important;
  border-radius: 15px;
  background: linear-gradient(125deg,rgba(255,255,255,.18),rgba(209,230,251,.08)) !important;
  -webkit-backdrop-filter: blur(13px) saturate(1.15);
  backdrop-filter: blur(13px) saturate(1.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.21),0 8px 19px rgba(2,18,37,.14);
}
#home .citizen-home-benefits > div > span {
  grid-row: 1 / 3;
  color: #f1c96b !important;
  font-size: 27px;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,.24);
}
#home .citizen-home-benefits strong {
  font-size: 13px !important;
  line-height: 1.4;
  font-weight: 800;
  color: #fff !important;
  overflow-wrap: anywhere;
}
#home .citizen-home-benefits small {
  font-size: 11px !important;
  line-height: 1.55 !important;
  color: #dfebf7 !important;
  overflow-wrap: anywhere;
}
/* The heading and introductory words live in a light glass panel, on a
   blue pearl gradient — deliberately NO house image in this area. */
#home .citizen-home-featured {
  background: linear-gradient(142deg,#e3edf5 0%,#f6fafc 56%,#e6f1f7 100%) !important;
  padding-top: 30px !important;
  padding-bottom: 47px !important;
}
#home .citizen-home-featured-head {
  box-sizing: border-box;
  display: flex;
  align-items: center !important;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 24px !important;
  padding: 24px clamp(18px,3vw,32px);
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 19px;
  background: linear-gradient(125deg,rgba(255,255,255,.83),rgba(232,244,253,.71)) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  backdrop-filter: blur(18px) saturate(1.18);
  box-shadow: 0 14px 34px rgba(10,45,79,.11),inset 0 1px 0 rgba(255,255,255,.86);
}
#home .citizen-home-featured-head > div:first-child {min-width:0}
#home .citizen-home-featured-overline {
  color: #956312 !important;
  font-size: 11px !important;
  font-weight: 900;
}
#home .citizen-home-featured-head h3 {
  color: #102d4e !important;
  line-height: 1.18 !important;
  text-wrap: balance;
  margin: 7px 0 9px !important;
}
#home .citizen-home-featured-head p {
  color: #395977 !important;
  font-size: 13px !important;
  line-height: 1.6;
}
#home .citizen-home-view-all {
  color: #62420e !important;
  background: rgba(251,232,177,.7) !important;
  border: 1px solid rgba(192,142,53,.37) !important;
  border-radius: 10px !important;
  padding: 10px 13px !important;
  white-space: normal !important;
  line-height: 1.4;
}
/* Listings stay visually separated on neutral white cards, keeping the real
   house/plot photographs full priority with no glass overlay on their media. */
#home .citizen-home-featured-grid {position:relative}
#home .citizen-feature-card {
  background: #fff !important;
  border: 1px solid #d9e5ec !important;
  box-shadow: 0 13px 28px rgba(15,45,76,.12) !important;
}
@media (max-width: 920px) {
  #home .citizen-home-benefits {
    padding: 20px 22px !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  #home .citizen-home-featured-head {align-items: flex-start !important;flex-wrap:wrap}
}
@media (max-width: 620px) {
  #home .citizen-home-benefits {
    max-width: none !important;
    margin: 0 !important;
    padding: 16px 11px !important;
    gap: 10px !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  #home .citizen-home-benefits > div {
    grid-template-columns: 24px minmax(0,1fr) !important;
    gap: 5px 7px;
    padding: 13px 9px !important;
    border-radius: 12px;
  }
  #home .citizen-home-benefits > div > span {font-size:21px !important}
  #home .citizen-home-benefits strong {font-size: 11px !important}
  #home .citizen-home-benefits small {font-size: 10px !important}
  #home .citizen-home-featured {
    padding: 18px 12px 28px !important;
  }
  #home .citizen-home-featured-head {
    padding: 18px 16px !important;
    gap: 14px;
    margin: 0 0 17px !important;
    border-radius: 15px;
  }
  #home .citizen-home-featured-head h3 {font-size: clamp(23px,6vw,28px) !important}
  #home .citizen-home-feature-buttons {width:100%}
}
@media (max-width: 360px) {
  #home .citizen-home-benefits {grid-template-columns:1fr !important;}
}
@supports not ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
  #home .citizen-home-benefits > div {background: #2f536f !important}
  #home .citizen-home-featured-head {background:#f8fbfd !important}
}
