/* AICS V2-A3 Resource Hub Foundation
   Page-scoped styles only. Loaded after /assets/css/style.css on /resources/. */
.resource-hub-page .resource-hub-hero{
  background-image:url('/assets/images/content-tasmania-support.png');
  background-position:center right;
}
.resource-hub-page .resource-hub-hero .shade{
  /* Opaque left field intentionally masks legacy text baked into the source image. */
  background:linear-gradient(90deg,rgba(93,35,105,1) 0%,rgba(93,35,105,1) 43%,rgba(105,43,116,.94) 61%,rgba(105,43,116,.58) 100%);
}
.resource-hub-page .resource-hub-hero h1{max-width:820px}
.resource-hub-page .resource-hub-hero p{max-width:900px}
.resource-hub-page .resource-narrow{width:min(980px,calc(100% - 40px))}
.resource-hub-page .resource-kicker{
  display:inline-block;
  margin:0 0 12px;
  color:var(--p);
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.resource-hub-page .resource-intro-copy{max-width:980px}
.resource-hub-page .resource-intro-copy p{font-size:18px;line-height:1.8}
.resource-hub-page .resource-start-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.resource-hub-page .resource-start-card{
  background:#fff;
  border:1px solid rgba(105,43,116,.15);
  border-radius:24px;
  padding:28px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  min-width:0;
}
.resource-hub-page .resource-card-label{
  color:var(--p);
  font-size:12px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
  margin-bottom:10px;
}
.resource-hub-page .resource-start-card h3,
.resource-hub-page .resource-topic-card h3{
  color:var(--p);
  font-size:24px;
  line-height:1.24;
  margin:0 0 12px;
}
.resource-hub-page .resource-start-card > p,
.resource-hub-page .resource-topic-card > p{
  font-size:16px;
  line-height:1.7;
  margin:0 0 18px;
}
.resource-hub-page .resource-link-stack{
  display:grid;
  gap:10px;
  margin-top:auto;
}
.resource-hub-page .resource-link-stack a{
  color:var(--p);
  font-weight:850;
  text-decoration:none;
  border-bottom:1px solid rgba(105,43,116,.2);
  padding:10px 0;
}
.resource-hub-page .resource-link-stack a:hover,
.resource-hub-page .resource-link-stack a:focus{border-bottom-color:var(--p)}
.resource-hub-page .resource-topic-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.resource-hub-page .resource-topic-card{
  background:#fff;
  border:1px solid rgba(105,43,116,.16);
  border-radius:24px;
  padding:28px;
  box-shadow:0 12px 28px rgba(105,43,116,.08);
  min-width:0;
}
.resource-hub-page .resource-topic-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  border-radius:14px;
  background:var(--p);
  color:#fff;
  font-weight:900;
  margin-bottom:18px;
}
.resource-hub-page .resource-topic-card ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}
.resource-hub-page .resource-topic-card li{margin:0}
.resource-hub-page .resource-topic-card a{
  display:block;
  color:var(--p);
  font-weight:800;
  line-height:1.45;
  text-decoration:none;
  padding:9px 12px;
  border-radius:12px;
  background:var(--soft);
  border:1px solid transparent;
}
.resource-hub-page .resource-topic-card a:hover,
.resource-hub-page .resource-topic-card a:focus{
  background:#fff;
  border-color:var(--border);
}
.resource-hub-page .resource-split{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:40px;
  align-items:start;
}
.resource-hub-page .resource-service-links,
.resource-hub-page .resource-location-links{
  display:grid;
  gap:14px;
}
.resource-hub-page .resource-service-links a,
.resource-hub-page .resource-location-links a{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:18px 20px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(105,43,116,.14);
  text-decoration:none;
  box-shadow:0 8px 20px rgba(105,43,116,.06);
}
.resource-hub-page .resource-service-links strong,
.resource-hub-page .resource-location-links strong{
  color:var(--p);
  font-size:18px;
}
.resource-hub-page .resource-service-links span,
.resource-hub-page .resource-location-links span{
  color:var(--muted);
  font-size:15px;
  line-height:1.5;
}
.resource-hub-page .resource-service-links a:hover,
.resource-hub-page .resource-service-links a:focus,
.resource-hub-page .resource-location-links a:hover,
.resource-hub-page .resource-location-links a:focus{
  border-color:var(--p);
  transform:translateY(-1px);
}
.resource-hub-page .resource-location-links{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.resource-hub-page .resource-location-links a{min-width:0}
.resource-hub-page .resource-featured-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.resource-hub-page .resource-featured-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  background:#fff;
  border:1px solid rgba(105,43,116,.15);
  border-radius:22px;
  padding:24px;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(105,43,116,.07);
}
.resource-hub-page .resource-featured-card > span{
  color:var(--p2);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.07em;
  margin-bottom:10px;
}
.resource-hub-page .resource-featured-card > strong{
  color:var(--p);
  font-size:20px;
  line-height:1.3;
  margin-bottom:10px;
}
.resource-hub-page .resource-featured-card p{
  font-size:15px;
  line-height:1.6;
  margin:0;
}
.resource-hub-page .resource-featured-card:hover,
.resource-hub-page .resource-featured-card:focus{
  border-color:var(--p);
  transform:translateY(-2px);
}
.resource-hub-page .resource-faq-section .faq-list{max-width:980px}
.resource-hub-page .nav a[aria-current="page"]{
  background:var(--soft);
  color:var(--p);
  border-color:var(--border);
}
@media(max-width:1080px){
  .resource-hub-page .resource-location-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .resource-hub-page .resource-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .resource-hub-page .resource-start-grid,
  .resource-hub-page .resource-topic-grid,
  .resource-hub-page .resource-split{grid-template-columns:1fr}
}
@media(max-width:620px){
  .resource-hub-page .resource-narrow{width:min(100% - 28px,980px)}
  .resource-hub-page .resource-location-links,
  .resource-hub-page .resource-featured-grid{grid-template-columns:1fr}
  .resource-hub-page .resource-start-card,
  .resource-hub-page .resource-topic-card{padding:22px}
  .resource-hub-page .resource-hub-hero h1{font-size:38px}
}
@media(prefers-reduced-motion:reduce){
  .resource-hub-page .resource-service-links a,
  .resource-hub-page .resource-location-links a,
  .resource-hub-page .resource-featured-card{transition:none;transform:none!important}
}


/* V2-A3A visual and accessibility cleanup */
.resource-hub-page .resource-jump-wrap{
  background:#fff;
  border-bottom:1px solid rgba(105,43,116,.14);
  box-shadow:0 6px 18px rgba(105,43,116,.04);
}
.resource-hub-page .resource-jump-nav{
  display:flex;
  align-items:center;
  gap:10px;
  padding-top:14px;
  padding-bottom:14px;
  overflow-x:auto;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}
.resource-hub-page .resource-jump-label{
  color:var(--text);
  font-weight:800;
  white-space:nowrap;
  margin-right:2px;
}
.resource-hub-page .resource-jump-nav a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:9px 14px;
  border:1px solid rgba(105,43,116,.18);
  border-radius:999px;
  background:var(--soft);
  color:var(--p);
  font-size:14px;
  font-weight:800;
  line-height:1.2;
  text-decoration:none;
}
.resource-hub-page .resource-jump-nav a:hover{
  background:#fff;
  border-color:var(--p);
}
.resource-hub-page #getting-started,
.resource-hub-page #funding-reviews,
.resource-hub-page #sil-sda-housing,
.resource-hub-page #daily-life-community,
.resource-hub-page #rights-safety,
.resource-hub-page #families-coordinators{
  scroll-margin-top:110px;
}
.resource-hub-page .contact-details-panel a.email-btn,
.resource-hub-page .contact-details-panel a.email-btn:visited{
  color:#fff !important;
  text-align:center;
  min-width:210px;
}
.resource-hub-page .contact-details-panel a.email-btn:hover{
  color:#fff !important;
  background:var(--p2);
  border-color:var(--p2);
}
.resource-hub-page a:focus-visible,
.resource-hub-page button:focus-visible,
.resource-hub-page summary:focus-visible{
  outline:3px solid #d5a8de;
  outline-offset:3px;
}
@media(max-width:620px){
  /* V2-A3B mobile finalisation: the source photo contains legacy Tasmania/Melbourne
     artwork baked into the image. Remove that image on small screens so no legacy
     text can bleed through behind the Resource Centre CTAs. Desktop remains unchanged. */
  .resource-hub-page .resource-hub-hero{
    background-image:none;
    background-color:#5d2369;
  }
  .resource-hub-page .resource-hub-hero .shade{
    background:#5d2369;
  }
  .resource-hub-page .resource-hub-hero .actions{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
  }
  .resource-hub-page .resource-hub-hero .actions .btn{
    width:100%;
  }
  .resource-hub-page .resource-jump-nav{
    width:100%;
    padding-left:14px;
    padding-right:14px;
  }
  .resource-hub-page .resource-jump-label{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
  }
  .resource-hub-page .contact-details-panel a.email-btn{
    display:flex;
    width:100%;
    min-width:0;
  }
}
