/* TEMP font test 
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600;700&display=swap');
.trnyc-col-right .trnyc-h3{ font-family:"IBM Plex Sans", sans-serif !important; }
*/
/* ===== Foundation ===== */
:root{
  --gold:#D4AF37;
  --black:#000;
  --text:#111;
  --muted:#666;
  --bg:#fff;
  --container:1200px;
}
*{ box-sizing:border-box; }
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:focus,
button:focus{ outline:2px solid var(--gold); outline-offset:2px; }
.container{ width:90%; max-width:var(--container); margin:0 auto; }
.section{ padding:40px 0; }
.gold-title{ color:var(--gold); }
@media (max-width:768px){
  .section{ padding:40px 0; }
}

/* ===== Header / Nav ===== */
.site-header{ background:#000; color:#fff; padding:16px 0; }
.site-header .container{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.site-title{ font-size:1.2rem; letter-spacing:.3px; }
.site-header .menu,
.site-header nav ul{
  display:flex; gap:24px; list-style:none; margin:0; padding:0;
}
.site-header .menu a,
.site-header nav a{ color:#fff; opacity:.9; text-decoration:none; padding:6px 0; }
.site-header .menu a:hover,
.site-header nav a:hover{ opacity:1; }

/* ===== Hero ===== */
.hero{ background:#000; color:#fff; text-align:center; padding:48px 20px; }
.hero h1{ font-family:"Playfair Display",serif; font-size:3.2rem; margin:.2rem 0; color:#fff; }
.hero p{ max-width:400px; margin:6px auto 0; color:#ddd; }
@media (max-width:768px){
  .hero{ padding:36px 16px; display:none;}
  .hero h1{ font-size:2.2rem; }
  section.section.borough-hero {display: none;}
  select#specialty {min-width: 100% !important;}
  section.section.borough-picker {padding: 40px 0 0px;}
  section.trnyc-stats {padding: 30px 0 0px;}
}

/* ===== Grids ===== */
.grid{ display:grid; gap:20px; }
.grid-3{ grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.grid-4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
@media (max-width:1200px){ .grid-4{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:900px){ .grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .grid-4{ grid-template-columns:1fr; } }

/* ===== Buttons & Badges ===== */
.btn{
  display:inline-block; padding:8px 16px; border-radius:999px;
  font-weight:600; font-size:.9rem; cursor:pointer; text-align:center;
  transition:all .2s ease; border:1px solid transparent;
}
.btn-dark{ background:#d3d3d3; color:#000; border-color:#d3d3d3; }
.btn-dark:hover{ background:#bdbdbd; color:#000; border-color:#bdbdbd; }
.btn-gold{ background:var(--gold); color:#000; border-color:var(--gold); }
.btn-gold:hover{ filter:brightness(.95); }
.btn-outline{ background:transparent; color:var(--black); border-color:var(--black); }
.btn-outline:hover{ background:#000; color:#fff; }
.btn-primary{ background:var(--gold); color:#000; border-color:var(--gold); }
.btn-primary:hover{ filter:brightness(.95); }
.btn-block{ width:100%; }

.badge{
  display:inline-block; padding:6px 12px; border-radius:999px;
  background:var(--gold); color:#000; font-weight:700; font-size:.8rem;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}
.badge-verified{ background:var(--gold); color:#000; }
.badge-muted{ background:#2a2a2a; color:#fff; }

/* ===== Generic Card ===== */
.card{
  background:#fff; border:1px solid #eee; border-radius:14px; overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
  box-shadow:0 6px 14px rgba(0,0,0,.06);
}
/* (Intentionally no .card:hover lift) */
.card .thumb{ aspect-ratio:4/5; background:#ddd; overflow:hidden; }
.card .thumb img{ width:100%; height:100%; object-fit:cover; }
.card .name{
  font-family:"Playfair Display",serif; font-size:1.2rem; margin:12px 0 4px; color:#000;
}
.card .meta{ color:var(--muted); font-size:.95rem; }
.card .rank{ font-weight:700; color:#000; margin-top:6px; }

/* ===== Prestige Enhancements ===== */
.prestige-thumb{
  aspect-ratio:4/5; background:#f0f0f0; overflow:hidden;
  border-radius:14px 14px 0 0; position:relative;
}
.prestige-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.prestige-badge{
  position:absolute; top:10px; left:10px;
  background:var(--gold); color:#000; border-radius:999px; padding:4px 10px;
  font-weight:700; font-size:.8rem; box-shadow:0 2px 6px rgba(0,0,0,.08);
}
.realtor-card .card-body{ padding:12px; }
.realtor-card .muted{ color:#999; }
.realtor-card .phone a{ color:var(--black); font-weight:600; text-decoration:none; }
.realtor-card .phone a:hover{ color:var(--gold); }

/* ===== Card Actions ===== */
.card-actions{ margin-top:10px; display:flex; gap:8px; flex-wrap:wrap; }

/* ===== Placeholder (no shimmer) ===== */
.card.placeholder .ph-img{
  width:100%; height:100%;
  background:#e9e9e9 url('../img/placeholder-portrait.jpg') center/cover no-repeat;
  border-radius:14px 14px 0 0;
}
.shimmer,.shimmer:after,.skeleton,.loading{ animation:none!important; background:none!important; }

/* ===== Section Headings ===== */
.featured-realtors h2,
.borough-highlights h2,
.rising-stars h2{
  font-family:"Playfair Display",serif; text-align:center; margin-bottom:24px;
}

/* ===== Borough Highlights block ===== */
.boroughs-wrap{ display:grid; gap:32px; }
.borough-box{ background:#fff; border:1px solid #eee; border-radius:14px; padding:16px; }
.borough-box__head{
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px;
}
.borough-title{ font-family:"Playfair Display",serif; font-size:1.25rem; margin:0; }
.borough-link{ font-weight:600; color:#000; border-bottom:1px solid transparent; }
.borough-link:hover{ border-bottom-color:#000; }

/* ===== Rising Stars (3-col desktop) ===== */
.rising-list{ display:grid; gap:16px; grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:1024px){ .rising-list{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:720px){ .rising-list{ grid-template-columns:1fr; } }


/* ===== Compact Card (used in borough/rising) ===== */
.realtor-card.style-compact{ background:#fff; border-left:4px solid var(--gold); padding:12px 14px; }
.realtor-card.style-compact .compact-grid{
  display:grid; grid-template-columns:88px 1fr auto; align-items:center; gap:14px;
}
.realtor-card.style-compact .thumb{ width:88px; height:88px; overflow:hidden; aspect-ratio:1/1; }
.realtor-card.style-compact .card-body{ padding:0; }
.realtor-card.style-compact .name{ margin:0 0 4px; font-size:1rem; }
.realtor-card.style-compact .name a{ color:#000; text-decoration:none; }
.realtor-card.style-compact .meta{ font-size:.85rem; color:var(--muted); }
.realtor-card.style-compact .meta-row{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.realtor-card.style-compact .pill{
  padding:2px 8px; border:1px solid #eee; border-radius:999px; background:#fafafa;
  font-size:.75rem; font-weight:600; color:#111;
}
.realtor-card.style-compact .pill.verified{ background:var(--gold); border-color:var(--gold); color:#000; }
.realtor-card.style-compact .prestige-badge{ display:none; }
.compact-cta{ display:flex; gap:8px; flex-direction:column; align-items:flex-end; }
.btn-xs{ padding:6px 10px; font-size:.8rem; }

/* ===== Footer ===== */
.site-footer{ background:#000; color:#fff; padding:20px 0; text-align:center; }
.site-footer .footer_menu{ margin-top:8px; opacity:.85; }

/* ===== Utilities ===== */
.muted{ color:var(--muted); }
.center{ text-align:center; }
.max-720{ max-width:720px; margin:0 auto; }
.bg-light{ background:#f9f9f9; }

/* ===== Profile Hero ===== */
.profile-hero h1,
.borough-hero h1,
.profile-header h1{ color:#fff !important; }
.profile-hero p,
.borough-hero p,
.profile-header p{ color:#ddd !important; }

/* =========================
   PROFILE PAGE REFINEMENTS
   ========================= */

/* Containers */
.trnyc-container{ max-width:1100px; margin:0 auto; padding:0 20px; }

/* Hero */
.trnyc-hero{
  background:#0b0b0b; color:#fff; padding:64px 0; width:100%; margin-top:0;
}
.trnyc-hero-grid{
  display:grid; grid-template-columns:280px 1fr 320px; gap:28px; align-items:center;
}
@media (max-width:980px){
  .trnyc-hero-grid{ grid-template-columns:1fr; gap:20px; }
}

/* Hero: top-align meta + CTA (desktop) */
@media (min-width: 981px){
  .trnyc-hero-grid{
    align-items: start;          /* override the current center */
    align-items: flex-start;     /* fallback for older engines */
  }
  .trnyc-hero-meta,
  .trnyc-hero-cta,
  .trnyc-hero-photo{
    align-self: start;           /* make each column honor top alignment */
  }

  /* tiny nudge if you want them a touch higher—optional */
  .trnyc-hero-meta{ padding-top: 14px; }   /* tweak 0–6px to taste */
  .trnyc-hero-cta {
    margin-top: 32px;
}
.cta-title {
    font-weight: 700;
    margin-bottom: 11px !important;
}
}


/* Type & meta */
.trnyc-h1{ font-family:"Playfair Display",serif; font-size:46px; line-height:1.15; margin:0 0 8px; color:#fff; }
.trnyc-h2{ font-family:"Playfair Display",serif; font-size:28px; margin:0 0 14px; }
.trnyc-h3{ font-family:"Playfair Display",serif; font-size:22px; margin:0 0 10px; }
.trnyc-lead{ color:#dcdcdc; max-width:720px; line-height:1.65; margin:12px 0 0; }
.trnyc-brokerage{ font-weight:700; margin:0 0 6px; }
.trnyc-meta-line{ display:flex; flex-direction:column; gap:6px; }


/* Rating row: horizontal layout just for the rating line */
.trnyc-hero-meta .trnyc-meta-line.is-rating{
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

/* 5-star overlay widget */
.rating-stars{
  position: relative;
  display: inline-block;
  line-height: 1;
  white-space: nowrap;        /* keeps the 5 stars on one line */
  font-size: 16px;            /* tweak size if you want bigger/smaller stars */
}
.rating-stars .stars-base{
  color: #d0d0d0;             /* gray “empty” stars */
}
.rating-stars .stars-fill{
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;           /* crops gold stars to the width we set inline */
  white-space: nowrap;
  color: var(--gold);         /* your gold color */
  width: 0;                   /* will be overridden inline (e.g. 94%) */
}




.sep{ opacity:.6; margin:0 6px; }

/* Photo & CTA card */
.trnyc-photo{
  border-radius:16px; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; background:#202020;
}
.trnyc-photo--placeholder{ background:#202020; }
.trnyc-hero-cta .cta-card{ background:#111; border:1px solid #2a2a2a; border-radius:16px; padding:16px; }
.cta-title{ font-weight:700; margin-bottom:10px; }
.cta-actions{ display:grid; gap:10px; }
.cta-address{ color:#bbb; font-size:14px; margin-top:10px; margin-bottom:20px; }
.cta-social{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }

/* Body & spacing */
.single-realtor .site-main{ margin-top:0; padding-top:0; }
.trnyc-stats{ background:#fff; padding:85px 0 0; }
.trnyc-body{ background:#fff; padding:30px 0 72px; }
.trnyc-body-grid{ display:grid; grid-template-columns:2fr 1fr; gap:40px; }
@media (max-width:980px){ .trnyc-body-grid{ grid-template-columns:1fr; } }
.trnyc-col-left{ display:grid; gap:28px; }
.trnyc-col-right{
  display:flex;
  flex-direction:column;
  gap:28px;          /* keep your spacing */
  align-items:stretch;
}

.card{ padding:22px; }
.stats-grid{ gap:20px; margin-bottom:12px; }
.about-meta{ margin-top:12px; }
.reviews-row{ display:flex; gap:14px; flex-wrap:wrap; }
.reviews-links{ margin-top:8px; }

/* Cards: auto height; stop grid stretch */
.trnyc-col-left,
.trnyc-col-right { align-items: start; }

.trnyc-col-left .card,
.trnyc-col-right .card {
  height: auto !important;
  min-height: 0 !important;
  align-self: start;
}


/* Hero rating line */
.hero-rating{
  display:flex; align-items:center; gap:8px;
  margin:8px 0 6px; color:#ddd;
}
.hero-rating .source{ font-weight:700; color:#fff; }
.hero-rating .score{ font-weight:700; color:#fff; }
.hero-rating .star{ font-size:14px; line-height:1; color:#FFD54A; }
.hero-rating .count{ opacity:.85; }



/* KPI row (under hero) */
.kpi-row{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px;
  margin-top:-36px; margin-bottom:12px;
}
.kpi{
  background:#fff; border:1px solid #eee; border-radius:12px; padding:14px;
  display:flex; gap:10px; align-items:center; box-shadow:0 6px 14px rgba(0,0,0,.06);
}
.kpi .k{ font-weight:800; font-size:20px; line-height:1; }
.kpi .l{ opacity:.7; font-size:13px; }
.icon{ width:18px; height:18px; flex:0 0 18px; opacity:.8; display:inline-block; }
@media (max-width:980px){ .kpi-row{ grid-template-columns:repeat(2,1fr); margin-top:16px; } }
@media (max-width:560px){ .kpi-row{ grid-template-columns:1fr; } }

/* Chips & lists (base) */
.chipline{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.chip{ display:inline-block; padding:0px 12px; border-radius:999px; background:#f6f6f6; border:1px solid #eee; }
.chip-muted{ background:#faf7ee; border-color:#f0e6c4; }

.list-plain{ list-style:none; padding:0; margin:0; }
.list-plain li{ margin:6px 0; }

/* Badge row (award logos) */
.badge-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.badge-row img{ height:44px; width:auto; border-radius:8px; }

.trnyc-badges {
    margin-bottom: 15px;
}

/* Sales table */
.trnyc-table{ width:100%; border-collapse:separate; border-spacing:0 8px; }
.trnyc-table thead th{ font-weight:700; font-size:13px; opacity:.7; text-align:left; padding:0 12px; }
.trnyc-table tbody td{ background:#fff; border:1px solid #eee; padding:10px 12px; }
.trnyc-table tbody tr td:first-child{ border-radius:10px 0 0 10px; }
.trnyc-table tbody tr td:last-child{ border-radius:0 10px 10px 0; }

/* Gallery & video */
.gallery-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; }
.gallery-img{ border-radius:10px; display:block; width:100%; height:auto; }
.video-embed{
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  background:#000;
}
.video-embed iframe,
.video-embed embed,
.video-embed object{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}


/* Sticky contact — fixed */
.trnyc-sticky-contact{
  position:fixed; left:0; right:0; top:-80px; z-index:30;
  background:rgba(255,255,255,.95);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid #eee;
  opacity:0; transition:top .25s ease, opacity .25s ease;
}
.trnyc-sticky-contact.is-visible{ top:0; opacity:1; }
.trnyc-sticky-inner{
  display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 20px;
}
.trnyc-sticky-actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* Star rating (text-based, 5 stars with partial fill) */
.rating-stars{
  position:relative;
  display:inline-block;
  font-size:18px;      /* adjust to taste */
  line-height:1;
}
.rating-stars .stars-base{
  color:#ddd;          /* empty star color */
}
.rating-stars .stars-fill{
  position:absolute;
  top:0; left:0;
  overflow:hidden;
  color:var(--gold);   /* filled star color */
  white-space:nowrap;
}
.trnyc-hero-meta .rating-stars{
  font-size:20px;      /* a little bigger in the hero */
  vertical-align:-2px;
}
.rating-numbers{
  margin-left:8px;
  color:#444;
  font-weight:600;
}


/* CTA band */
.trnyc-cta-band{ padding:36px 0; background:var(--gold); color:#000; text-align:center; }
.trnyc-cta-band .cta-band-actions{
  margin-top:10px; display:flex; gap:10px; justify-content:center; flex-wrap:wrap;
}

/* Modal */
.trnyc-modal{ position:fixed; inset:0; display:none; }
.trnyc-modal.is-open{ display:block; }
.trnyc-modal__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.55); }
.trnyc-modal__dialog{
  position:relative; max-width:720px; margin:7vh auto; background:#fff; border-radius:16px; padding:20px;
}
.trnyc-modal__close{ position:absolute; top:8px; right:10px; border:0; background:transparent; font-size:28px; cursor:pointer; }
.trnyc-modal__content{ margin-top:10px; }

/* Map */
.service-map{ width:100%; height:260px; background:#ddd; border-radius:12px; }

/* =========================
   NEW: Social icon pills (no external fonts)
   ========================= */
.social-icons{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.si{
  display:inline-flex; align-items:center; gap:8px; padding:6px 10px;
  border-radius:999px; border:1px solid #e6e6e6; background:#fff;
  font-weight:600; font-size:.9rem; line-height:1; color:#111; transition:all .18s ease;
}
.si:hover{ border-color:#ccc; box-shadow:0 2px 8px rgba(0,0,0,.06); transform:translateY(-1px); }
.si::before{
  content:""; width:20px; height:20px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
  color:#fff; background:#111; font:700 11px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.si span{ white-space:nowrap; }
.si-website::before{ content:"W"; background:#111; }
.si-facebook::before{ content:"f"; background:#1877F2; font-size:13px; }
.si-instagram::before{ content:"IG"; background:#E1306C; font-size:10px; }
.si-linkedin::before{ content:"in"; background:#0A66C2; font-size:11px; text-transform:lowercase; }
.si-google::before{ content:"G"; background:#4285F4; }
.si-zillow::before{ content:"Z"; background:#006AFF; }
.si-yelp::before{ content:"Y"; background:#D32323; }

/* =========================
   NEW: Compact "More Top Agents" list (sidebar)
   ========================= */
.related-compact{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.related-item{
  display:grid; grid-template-columns:56px 1fr auto; gap:12px; align-items:center;
}
.related-item .thumb{
  display:block; border-radius:10px; overflow:hidden; background:#eee; width:56px; height:56px;
}
.related-item .thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.related-item .meta{ min-width:0; }
.related-item .name{ font-weight:700; color:#000; display:block; line-height:1.2; }
.related-item .sub{
  font-size:.85rem; color:#666; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.related-item .view{
  padding:6px 10px; border:1px solid #000; border-radius:999px; font-weight:700; font-size:.85rem; color:#000; text-decoration:none;
}
.related-item .view:hover{ background:#000; color:#fff; }

/* ===== Realtor Card: make image clickable ===== */
.thumb-link{ display:block; width:100%; height:100%; }
.thumb-link img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ===== About > Info grid ===== */
.about-meta.info-grid{ display:grid; gap:12px; margin-top:28px; }
.info-row{
    display: grid;grid-template-columns: 160px 1fr;gap: 0;align-items: start;padding: 15px 0 5px;
    border-top: 1px solid #f2f2f2;
}
.info-row:first-child{ border-top:0; padding-top:0; }
.info-label{
  color:#444; font-weight:600; font-size:14px; line-height:1.4;
}
.info-value{ color:#222; font-weight:400; font-size:15px; min-width:0; }

.info-row{ align-items:flex-start; }
.info-row .chipline{ margin-top:0; }


/* Plain chip links for taxonomy values */
.chipline.is-plain .chip{
  position:relative; display:inline-flex; align-items:center; gap:8px;
  padding:0; background:transparent; border:0; border-radius:0;
  line-height:1.5; color:#111; text-decoration:none; font-weight:400;
}
.chipline.is-plain .chip:hover{ color:#000; text-decoration:underline; }

/* Small dot "pin" for service areas */
.chipline.is-plain .chip-pin::before{
  content:""; width:8px; height:8px; border-radius:50%; background:#E91E63; display:inline-block;
}

/* Prose & awards tweaks */
.prose p{ margin:0 0 12px; }
.awards ul{ list-style:none; margin:0; padding:0; }
.awards li{ position:relative; padding-left:22px; margin:6px 0; }
.awards li::before{ content:"🏆"; position:absolute; left:0; top:0; }

/* Borough picker – active state */
.borough-picker .borough-picker__btn.is-active,
.borough-picker .borough-picker__btn[aria-current="page"]{
  background:#000; color:#fff; border-color:#000;
}
.borough-picker .borough-picker__btn.is-active:hover{
  background:#111; color:#fff; border-color:#111;
}

/* Specialty select: custom arrow + spacing */
#specialty{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  padding-right:36px !important;
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:12px 8px;
  background-image:url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8">\
<path d="M1 1l5 5 5-5" stroke="%23111" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>\
</svg>');
}
#specialty::-ms-expand{ display:none; }





/* ===== Quick Facts (sidebar) ===== */
/* Quick Facts: left fits label, right gets the rest */
.facts-card .facts-grid{
  display:grid;
  grid-template-columns:max-content 1fr;
  column-gap:12px;
  row-gap:10px;
  align-items:baseline;
}

.facts-card dt{
  margin:0;
  color:#666;
  font-weight:600;
  white-space:nowrap;
}

.facts-card dd{
  margin:0;
  color:#111;
  font-weight:700;
  justify-self:end;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap; /* delete this line if you want wrapping instead */
}


.facts-card dt{
  margin:0;
  color:#666;
  font-weight:600;
}
.facts-card dd{
  margin:0;
  color:#111;
  font-weight:700;
  text-align:right;
}
.facts-card .range-pill{
  background:#faf7ee;
  border:1px solid #f0e6c4;
  padding:4px 10px;
  border-radius:8px;
  font-weight:700;
}
.facts-card .fact-links{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:flex-end;
}
.facts-card .chip--mini{
  display:inline-block;
  padding:4px 8px;
  border:1px solid #eee;
  border-radius:999px;
  background:#f6f6f6;
  font-weight:600;
  text-decoration:none;
  color:#111;
}
.facts-card .chip--mini:hover{
  background:#000;
  color:#fff;
  border-color:#000;
}

@media (max-width:560px){
  .facts-card .facts-grid{ grid-template-columns: 1fr; }
  .facts-card dd{ text-align:left; }
  .facts-card .fact-links{ justify-content:flex-start; }
}

/* Quick Facts: fixed label column */
.facts-card .facts-grid{
  grid-template-columns: 160px 1fr;   /* fixed label, flexible value */
}
.facts-card dt{ white-space: nowrap; }
.facts-card dd{ min-width: 0; text-align: right; }



/* Footer menu inline */
.site-footer .menu,
.site-footer nav ul{
  display:flex;
  gap:16px;
  list-style:none;
  justify-content:center;
  margin:8px 0 0;
  padding:0;
}

.site-footer .menu li{ display:inline; }   /* safety */
.site-footer .menu a{
  color:#fff;
  opacity:.9;
  text-decoration:none;
}
.site-footer .menu a:hover{ opacity:1; }



/* Logo + title alignment */
.branding{display:flex;align-items:center;gap:12px}
.site-logo img,.custom-logo{height:30px;width:auto;display:block}




/* Mobile header tweaks */
@media (max-width: 720px){
  .site-header{ padding:12px 0; }
  .site-header .container{
    flex-direction: column;         /* brand on top, menu below */
    align-items: center;
    gap: 10px;
  }

  .branding{
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
	position:relative;
	right: 3px;
  }

  /* Logo sizing */
.branding .custom-logo,
.site-logo img{
  height: 32px;
  width: auto;
  	position:relative;
	right: 3px;
}


  /* Title sizing */
  .branding .site-title{
    font-size: 1.9rem;
    line-height: 1.2;
    margin: 0;
  }

  /* Menu goes full-width and centers */
  .site-nav{ width:100%; }
  .site-header .menu{
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .site-header .menu a{ padding:8px 0; }
  
  
  .hero p {
    max-width: 250px;
    margin: 6px auto 0;
    color: #ddd;
   }
  
  
}



/* Header separator */
.site-header{
  position: relative;
}
.site-header::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  pointer-events:none;
}






/* === Sticky bar (mobile polish) === */
.trnyc-sticky-contact{
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}

/* Safe-area for iOS notch */
@supports (padding: max(0px)) {
  .trnyc-sticky-contact{ padding-top: env(safe-area-inset-top); }
}

/* Truncate long names; keep actions tight */
.trnyc-sticky-inner strong{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:60vw;
}

/* Mobile layout */
@media (max-width: 720px){
  .trnyc-sticky-inner{
    padding:8px 12px;
    gap:10px;
  }
  .trnyc-sticky-inner strong{
    font-size:15px;
    max-width:58vw;
  }
  .trnyc-sticky-actions{
    gap:8px;
    flex-wrap:nowrap;
  }
  .trnyc-sticky-actions .btn{
    padding:10px 15px;
    font-size:.85rem;
    line-height:1.2;
    width:auto;            /* prevent full-width buttons here */
  }
}

/* Extra-small screens: drop Share */
@media (max-width: 380px){
  .trnyc-sticky-inner{ gap:8px; }
  .trnyc-sticky-inner strong{ max-width:52vw; }
  .trnyc-sticky-actions [data-share]{ display:none; }
  .trnyc-sticky-actions .btn{ padding:10px 15px; font-size:.8rem; }
}
