/* DEPLOY MARKER: 2026-02-06 11:xx */

/* ===== Secondary page hero (clean, calm, editorial) ===== */

.page-hero{
  text-align:center;
  padding:4.25rem 1.5rem 3rem;
  background:transparent;
}

.page-hero-inner{
  max-width:900px;
  margin:0 auto;
  position:relative;
}

/* Main heading */
.page-hero h1{
  margin:0 0 .65rem;
  font-family:"Playfair Display",serif;
  font-weight:700;
  font-size:2.6rem;
  line-height:1.14;
  letter-spacing:.1px;
  color:#161616;
}

/* Location label under H1 */

.page-hero .h1-location{
  display:block;
  margin-top:.5rem;
  font-size:1rem;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#1a2a3a;
  opacity:.8;
}

/* Subtitle */

.page-hero-subtitle{
  max-width:720px;
  margin:.4rem auto 1.1rem;
  font-size:1.05rem;
  line-height:1.6;
  color:#2a2a2a;
  opacity:.88;
}

/* Meta line (Established 2004) */

.page-hero-meta{
  margin-top:.25rem;
  font-size:.75rem;
  opacity:.72;
}

/* Subtle divider (replaces green bar) */
.page-hero::after{
  content:"";
  display:block;
  width:min(760px,88%);
  height:1px;
  margin:2.25rem auto 0;
  background:rgba(0,0,0,.10);
}

/* Logo watermark behind hero */
.hero-logo-overlay{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  opacity:.30;
  pointer-events:none;
  z-index:0;
}

.hero-logo-overlay img{
  width:80px;
  height:auto;
}

/* Mobile tuning */
@media (max-width:480px){
  .page-hero{
    padding:3.25rem 1rem 2.25rem;
  }

  .page-hero h1{
    font-size:2rem;
    line-height:1.15;
  }

  .page-hero .h1-location{
    font-size:.95rem;
  }

  .page-hero-subtitle{
    font-size:1rem;
  }
}

/* Main H1: more “class”, a touch tighter and heavier */
.page-hero h1{
  font-family:"Playfair Display",serif;
  font-weight:800;
  font-size:2.65rem;
  line-height:1.12;
  letter-spacing:.2px;
  color:#111;
  margin:0 0 .75rem;
}

/* Sydney CBD line: separate, smaller, more label-like */
.page-hero .h1-location{
  display:block;
  margin-top:.55rem;
  font-size:1.05rem;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#1a2a3a;
  opacity:.9;
}

/* Subtitle: more readable + calmer */
.page-hero-subtitle{
  max-width:720px;
  margin:.25rem auto 1rem;
  font-size:1.08rem;
  line-height:1.55;
  color:#2a2a2a;
  opacity:.92;
}

/* Replace the green bar with a fine divider line */
.page-hero::after{
  content:"";
  display:block;
  width:min(760px,88%);
  height:1px;
  margin:2.25rem auto 0;
  background:rgba(0,0,0,.10);
}

/* If you currently have a green line element, hide it */
.section-divider{display:none!important;}

/* Mobile tune */
@media (max-width:480px){
  .page-hero{padding:3.25rem 1rem 2.5rem;}
  .page-hero h1{font-size:2rem;line-height:1.15;}
  .page-hero .h1-location{font-size:.95rem;}
  .page-hero-subtitle{font-size:1rem;}
}
/* Main body spacing + readability */
.secondary-page{
  max-width:900px;
  margin:0 auto;
  padding:0 0 3rem;
}

.secondary-page .content-card{
  padding:2.4rem 2.6rem;
}

.secondary-page h2{
  margin:0 0 1rem;
  line-height:1.2;
  color:#161616;
}

/* Secondary pages: centre section headings reliably */
.secondary-page .section-heading-wrapper{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}



.secondary-page p{
  margin:0 0 1rem;        /* consistent paragraph rhythm */
  line-height:1.7;        /* more readable */
  color:#2b2b2b;
  opacity:.92;
}

/* “Last updated” spacing so it doesn’t feel stranded */
.page-updated{
  margin:1.25rem 0 1.25rem;
  opacity:.75;
}

/* --- Grouped assessment lists (the special feature you actually need) --- */
.list-subhead{
  margin: 1rem 0 .5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #17496b;
  letter-spacing: .2px;
  text-align: left;
}
.feature-checklist{
  list-style:none;
  padding-left:0;
  margin:0 0 .75rem;
}
.feature-checklist li{
  position:relative;
  padding-left:1.6rem;
  margin:.35rem 0;
  line-height:1.55;
  color:#222;
}
.feature-checklist li::before{
  content:"\f058";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  opacity:.7;
  position:absolute;
  left:0;
  top:.15rem;
  font-size:.9rem;
  color:rgba(47,143,107,.55);
}
@media (min-width:900px){
  .feature-checklist{
    column-count:2;
    column-gap:3rem;
  }
  .feature-checklist li{break-inside:avoid}
}
.list-subhead{
  margin:1.3rem 0 .6rem;   /* more separation */
  color:#173b57;           /* a bit less saturated */
}

.feature-checklist li{
  margin:.45rem 0;         /* more air */
}

.feature-checklist li::before{
  opacity:.85;             /* quieter */
}

/* --- Images on secondary pages --- */
.secondary-page img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.secondary-page .fixed-cta {
  display: none;
}
.secondary-page a.return-home {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.6rem 1.25rem;
  background: #17496b;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease;
}

.secondary-page a.return-home:hover {
  background: #0f3652;
}
/* Secondary pages: match homepage canvas + white card */
.page-background{
  background:#f4f6f8; /* adjust if your home grey is slightly different */
  padding:4rem 1.5rem 5rem;
}

.page-card{
  max-width:1100px;
  margin:0 auto;
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
  overflow:hidden;
}

@media (max-width:768px){
  .page-background{padding:2.25rem 1rem 3rem}
  .page-card{border-radius:14px}
}
.page-hero h1{
  display:flex;
  flex-direction:column;
  align-items:center;
  line-height:1.15;
}

.page-hero .h1-location{
  display:block;
  margin-top:0.35rem;
  font-size:0.45em;     /* smaller than H1 */
  font-weight:500;
  letter-spacing:0.08em;
  text-transform:uppercase;
  opacity:0.85;
}
/* Meet the Team: expanded bios by default */
.team-page .doctor-description{
  max-height:none;
  overflow:visible;
  display:block;
  -webkit-line-clamp:unset;
  -webkit-box-orient:initial;
}
.team-page .doctor-description::after{display:none}
.team-page button.toggle-bio{display:none}
.content-image img{
  max-width:100%;
  height:auto;
  display:block;
}
/* --- Author bio: final corrective rules --- */

.author-bio {
  margin-top: 2.5rem;
}

.author-bio-inner {
  display: flex !important;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
  text-align: left;
}

.author-image {
  flex: 0 0 160px;
}

.author-image img {
  width: 160px;
  height: 200px;              /* KEY: cap vertical dominance */
  max-width: none;
  object-fit: cover;          /* crop, don’t squash */
  border-radius: 12px;
}

.author-text {
  flex: 1;
  min-width: 0;
}

/* Mobile: stack cleanly */
@media (max-width: 720px) {
  .author-bio-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-image img {
    width: 200px;
    height: 240px;
  }
}
/* Optional upgrade callout (clinical, subtle) */
.optional-upgrade{
  margin: 1.75rem 0 1.5rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(0,0,0,.08);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  background: rgba(249,251,252,.9);
}

.optional-upgrade .list-subhead{
  margin-top: 0;
  margin-bottom: .6rem;
}

/* Optional label pill */
.optional-upgrade .list-subhead::after{
  content: "Optional";
  display: inline-block;
  margin-left: .6rem;
  padding: .18rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  opacity: .85;
  vertical-align: middle;
}

.optional-upgrade p{
  margin-bottom: .85rem;
}

.optional-upgrade .feature-checklist{
  margin: .25rem 0 .9rem;
}