/* Project "at a glance" facts (Types / Project Area / Status) on project detail pages.
   Replaces hand-positioned inline styles: icon + label + value flow normally, so nothing overlaps. */
.pd-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:10px 0 30px;padding:0;list-style:none}
.pd-fact{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--gov-border,#d9dee3);border-radius:12px;padding:18px 20px;box-shadow:0 4px 14px rgba(11,51,88,.06);margin:0;min-width:0}
.pd-fact__icon{flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:var(--gov-bg-light,#f5f7fa);display:flex;align-items:center;justify-content:center}
.pd-fact__icon img{display:block;width:32px;height:32px;object-fit:contain;max-width:none}
.pd-fact__text{display:flex;flex-direction:column;gap:2px;min-width:0;text-align:left}
.pd-fact__label{font-size:13px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:var(--gov-muted,#6b7280);line-height:1.3}
.pd-fact__value{font-size:17px;font-weight:700;text-transform:uppercase;color:var(--gov-navy,#0b3358);line-height:1.35;overflow-wrap:anywhere}
@media (max-width:991px){.pd-facts{grid-template-columns:1fr;gap:12px;margin:6px 0 24px}.pd-fact{padding:14px 16px}.pd-fact__icon{flex-basis:48px;width:48px;height:48px}.pd-fact__icon img{width:28px;height:28px}.pd-fact__value{font-size:16px}}

/* ---- Layout plans: never force a height (it squashed/stretched the drawings) ---- */
#plans .full-sec-content{margin-bottom:24px}
#plans .pd-plan-img{display:block;width:auto;max-width:100%;height:auto;max-height:520px;margin:0 auto 10px;object-fit:contain}
#plans .pd-plan-name{font-size:22px;text-align:center;margin:0}
@media (max-width:767px){#plans .pd-plan-img{max-height:none;width:100%}#plans .pd-plan-name{font-size:18px}}

/* ---- Amenities: equal boxes in a tidy grid instead of ragged inline blocks ---- */
#amenities .row{display:flex;flex-wrap:wrap;justify-content:center}
#amenities .gov-amenity-item img{display:block;width:44px;height:44px;object-fit:contain;margin:0 auto}
#amenities .row::before,#amenities .row::after{display:none!important;content:none!important} /* theme clearfix would take a grid cell */
#amenities .gov-amenity-item p{margin:8px 0 0;padding:0;line-height:1.3;overflow-wrap:break-word;word-break:normal;hyphens:none}
@media (max-width:767px){
  #amenities .row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 12px}
  #amenities .gov-amenity-item{width:auto;max-width:none;flex:none;margin:0;padding:14px 6px;min-height:104px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;border:1px solid var(--gov-border,#d9dee3);border-radius:10px;background:#fff}
  #amenities .gov-amenity-item p{font-size:12px}
}
@media (max-width:340px){#amenities .row{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---- Brochure + apply buttons ---- */
.pd-brochure{margin:10px 0 30px}
.pd-brochure__head{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 20px;margin-bottom:16px}
.pd-brochure__head h2{margin:0}
.pd-brochure__actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px}
.pd-brochure a{text-decoration:none}
.pd-brochure .thm-btn{margin:0;cursor:pointer}
@media (max-width:575px){
  .pd-brochure__head,.pd-brochure__actions{flex-direction:column;gap:12px}
  .pd-brochure a{display:block;width:100%;max-width:320px}
  .pd-brochure .thm-btn{display:block;width:100%;padding-left:12px;padding-right:12px}
}
