/* Meridian v15 – public-only accessibility and contrast fixes.
   Loaded last after the legacy, edition, mosaic, premium and v14 styles. */

/* The catalog and owner dashboard use a pale/white title surface.
   Override the legacy rule that forced white text on .page-heading. */
body.edition-site .edition-mainarea .page-heading{
  background:#fff!important;
  color:#102a42!important;
  border:1px solid #dce6ee!important;
  border-left:4px solid #176bb5!important;
  border-radius:14px!important;
  padding:clamp(22px,3vw,35px)!important;
  box-shadow:0 12px 35px rgba(13,43,72,.06)!important;
}
body.edition-site .edition-mainarea .page-heading h1{
  color:#102a42!important;
  -webkit-text-fill-color:#102a42!important;
  text-shadow:none!important;
}
body.edition-site .edition-mainarea .page-heading p{
  color:#4b647b!important;
  -webkit-text-fill-color:#4b647b!important;
  opacity:1!important;
}
body.edition-site .edition-mainarea .page-heading .eyebrow{
  color:#aa492e!important;
  -webkit-text-fill-color:#aa492e!important;
}

/* The directory CTA uses a dark blue gradient; keep the section name white. */
body.edition-site .edition-guide-banner h2{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:none!important;
}
body.edition-site .edition-guide-banner .edition-eyebrow{color:#afd5ee!important}
body.edition-site .edition-guide-banner p{color:#e4f0f9!important}

/* Poll cards now use the same radius as every other portal card.
   !important is required by old .poll-box { border-radius:0!important; }. */
body.edition-site .poll-box{
  border-radius:var(--premium-radius,14px)!important;
  border:1px solid #dce5ed!important;
  box-shadow:var(--premium-shadow,0 14px 40px rgba(14,42,70,.075))!important;
  background:#fff;
  overflow:hidden;
}

/* Whole news tile opens its article, while its category pill remains a separate link.
   The heading anchor is the accessible, keyboard-focusable stretched link. */
body.edition-site .edition-card{position:relative;cursor:pointer}
body.edition-site .edition-card h3 a::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
}
body.edition-site .edition-card .edition-meta .edition-category{
  position:relative;
  z-index:3;
}
body.edition-site .edition-card h3 a:focus-visible::after{
  outline:3px solid #f5a65e;
  outline-offset:-4px;
  border-radius:var(--premium-radius,14px);
}
body.edition-site .edition-card .edition-read{display:none!important}

/* The address label should remain readable when cards are compact. */
body.edition-site .biz-card-address{
  display:block;
  overflow-wrap:anywhere;
  color:#4b647b!important;
}
body.edition-site .biz-card-address b{font-weight:750;color:#1a3750}

@media(prefers-reduced-motion:reduce){
  body.edition-site .edition-card{scroll-behavior:auto}
}
