/* Shine alignment fixes. Loads after refinements.css. */

/* 1. Hero text lines up with the logo */
.hv2{--v3-edge:max(var(--gut),calc((100vw - var(--max)) / 2))}
@media (max-width:700px){.hv2{--v3-edge:var(--gut)}}

/* 2. Bullets centred on the first line of text */
@media (min-width:601px){
  .ndisv li i{margin-top:calc((1lh - 4px) / 2)}
  .page-body .prose > ul > li::before{top:calc((1lh - 4px) / 2)}
}

/* 3. Hero strip icons line up with their titles */
@media (min-width:601px){
  .hv2 .v3-hero-trust li{align-items:flex-start}
  .hv2 .v3-hero-trust .t-ico{display:flex;align-items:center;height:1.4em;font-size:15px}
  .hv2 .v3-hero-trust strong{line-height:1.4}
}

/* 4. "Why Shine" cards: no empty gaps on mid-size screens */
@media (min-width:900px) and (max-width:1099px){
  .hs-why .trio{grid-template-columns:1fr 1fr}
  .hs-why .tcard.t2{grid-column:1 / -1;order:-1}
  .hs-why .tcard{min-height:0}
}
@media (min-width:1100px){
  .hs-why .tcard.t2{grid-column:auto;order:0}
}

/* 5. "What is the NDIS" heading and columns */
@media (min-width:861px) and (max-width:1099px){
  .ndisv{grid-template-columns:1fr 1fr;gap:40px}
}
#ndis-title > span{display:block;width:fit-content}
@media (max-width:1399px){#ndis-title > span{width:min-content}}
@media (max-width:899px){#ndis-title > span{margin-inline:auto}}

/* 6. Facts row stays inside its box */
@media (min-width:601px) and (max-width:1299px){
  .facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 48px;max-width:none}
  .facts li{min-width:0}
  .facts strong{white-space:normal}
}
@media (min-width:1300px){
  .facts{display:flex;justify-content:center;gap:clamp(24px,3vw,44px);max-width:none}
}

/* 7. "I am not sure yet" icon circle is visible */
.pick li:last-child .pk-i{background:var(--stone)}

/* 8. About page cards: even 24px gaps */
@media (min-width:761px){
  .purpose-grid{grid-template-rows:auto auto 1fr}
  .purpose-grid > .purpose-card:nth-child(4){align-self:stretch}
}

/* 9. Services page card titles line up */
@media (max-width:1050px){
  .service-grid .scard,.directory-body .scard{grid-template-rows:auto 1fr}
}
