/* ABS V4.34 — Access & Land Use in Alberta */

.access-hero{
  position:relative;
  min-height:78vh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:var(--forest);
  color:#fff;
}

.access-hero-media{
  position:absolute;
  inset:0;
}

.access-hero-media img{
  height:100%;
  object-fit:cover;
  object-position:center 52%;
}

.access-hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(10,24,18,.84) 0%,rgba(10,24,18,.58) 40%,rgba(10,24,18,.13) 78%),
    linear-gradient(0deg,rgba(10,24,18,.78) 0%,rgba(10,24,18,.1) 52%);
}

.access-hero-content{
  position:relative;
  z-index:2;
  padding:180px 0 76px;
}

.access-hero h1{
  max-width:900px;
  margin:12px 0 18px;
  font-size:clamp(4rem,8.2vw,8rem);
}

.access-hero-content>p{
  margin:0;
  color:rgba(255,255,255,.87);
  font-family:var(--serif);
  font-size:clamp(1.35rem,2.3vw,2.1rem);
}

.access-hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
  margin-top:30px;
  padding-top:17px;
  width:max-content;
  max-width:100%;
  border-top:1px solid rgba(255,255,255,.28);
}

.access-hero-meta span{
  color:rgba(255,255,255,.7);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.access-intro{
  padding-top:92px;
}

.access-intro-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);
  gap:90px;
  align-items:start;
}

.access-intro-statement p{
  margin:0;
  max-width:650px;
  font-family:var(--serif);
  font-size:clamp(3rem,5.3vw,5.7rem);
  line-height:1;
  letter-spacing:-.04em;
}

.access-intro-copy{
  max-width:720px;
}

.access-intro-copy p:not(.lead){
  color:#52605a;
  font-size:1.05rem;
}

.access-principle{
  margin-top:72px;
  padding-top:34px;
  border-top:1px solid var(--line);
}

.access-principle p{
  max-width:1020px;
  margin:0;
  color:var(--forest);
  font-family:var(--serif);
  font-size:clamp(2.5rem,4.4vw,4.7rem);
  line-height:1.04;
  letter-spacing:-.035em;
}

.access-toc-wrap{
  position:sticky;
  top:84px;
  z-index:48;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:rgba(244,241,233,.96);
  backdrop-filter:blur(12px);
}

.access-toc{
  justify-content:center;
  min-height:62px;
  display:flex;
  align-items:center;
  gap:5px;
  overflow-x:auto;
  scrollbar-width:none;
}

.access-toc::-webkit-scrollbar{display:none;}

.access-toc-label{
  flex:0 0 auto;
  margin-right:14px;
  color:var(--muted);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.access-toc a{
  flex:0 0 auto;
  padding:9px 11px;
  border-radius:999px;
  color:#5c6660;
  font-size:.77rem;
  font-weight:750;
  transition:.2s ease;
}

.access-toc a:hover,
.access-toc a.is-active{
  background:var(--forest);
  color:#fff;
}

#land-types,
#public-access,
#maps-ground,
#leases,
#camping,
#workflow,
#abs-approach,
#reference,
#sources{
  scroll-margin-top:162px;
}

.access-section-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(350px,.85fr);
  gap:74px;
  align-items:end;
  margin-bottom:48px;
}

.access-section-head h2{
  max-width:790px;
  margin:10px 0 0;
}

.access-section-head>p{
  margin:0;
}

.access-land-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  border:1px solid rgba(24,33,29,.13);
  border-radius:20px;
  overflow:hidden;
  background:#fff;
}

.access-land-grid article{
  padding:34px 34px 38px;
}

.access-land-grid article:nth-child(even){
  border-left:1px solid var(--line);
}

.access-land-grid article:nth-child(n+3){
  border-top:1px solid var(--line);
}

.access-land-number{
  display:block;
  margin-bottom:38px;
  color:var(--moss);
  font-family:var(--serif);
  font-size:1.05rem;
}

.access-land-grid h3{
  margin-bottom:13px;
  font-family:var(--serif);
  font-size:1.8rem;
  font-weight:500;
}

.access-land-grid p{
  color:#59635e;
  line-height:1.65;
}

.access-land-grid p:last-child{
  margin-bottom:0;
}

.access-cite{
  margin-left:2px;
  color:var(--moss);
  font-size:.78em;
  font-weight:800;
  vertical-align:super;
  text-decoration:none;
}

.access-official-tools{
  display:flex;
  justify-content:space-between;
  gap:50px;
  align-items:center;
  margin-top:30px;
  padding:30px 34px;
  border-radius:18px;
  background:var(--forest);
  color:#fff;
}

.access-official-tools h3{
  margin:7px 0 0;
  color:#fff;
  font-family:var(--serif);
  font-size:1.7rem;
  font-weight:500;
}

.access-official-tools .eyebrow{
  color:#e2d3a9;
}

.access-official-tools .btn-dark{
  background:var(--wheat);
  color:var(--ink);
}

.access-secondary-btn{
  border:1px solid rgba(24,33,29,.28);
  color:var(--ink);
  background:transparent;
}

.access-official-tools .access-secondary-btn{
  border-color:rgba(255,255,255,.48);
  color:#fff;
}

.access-public-grid{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(420px,1.15fr);
  gap:94px;
  align-items:start;
}

.access-public-grid h2{
  max-width:660px;
  margin:10px 0 0;
  color:#fff;
}

.access-dark-copy p:not(.lead){
  color:rgba(255,255,255,.72);
  line-height:1.68;
}

.access-dark-copy .access-cite{
  color:#e2d3a9;
}

.access-big-quote{
  margin-top:78px;
  padding-top:38px;
  border-top:1px solid rgba(255,255,255,.18);
}

.access-big-quote p{
  max-width:1080px;
  margin:0;
  color:#fff;
  font-family:var(--serif);
  font-size:clamp(2.7rem,4.7vw,5rem);
  line-height:1.03;
  letter-spacing:-.04em;
}

.access-photo-grid{
  display:grid;
  grid-template-columns:minmax(0,1.06fr) minmax(380px,.94fr);
  gap:82px;
  align-items:center;
}

.access-photo-copy h2{
  max-width:720px;
  margin:10px 0 22px;
}

.access-photo-copy p:not(.lead){
  color:#56615c;
  line-height:1.68;
}

.access-gate-image{
  margin:0;
}

.access-gate-image img{
  aspect-ratio:4/5;
  object-fit:cover;
  object-position:center 55%;
  border-radius:20px;
}

.access-gate-image figcaption,
.access-working-image figcaption{
  margin-top:11px;
  color:var(--muted);
  font-size:.8rem;
  line-height:1.45;
}

.access-lease-grid{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(420px,1.18fr);
  gap:88px;
  align-items:start;
}

.access-lease-heading h2{
  max-width:650px;
  margin:10px 0 0;
}

.access-lease-copy p{
  color:#55605a;
  font-size:1.05rem;
  line-height:1.7;
}

.access-working-image{
  margin-top:62px;
}

.access-working-image img{
  height:min(50vw,610px);
  object-fit:cover;
  object-position:center 55%;
  border-radius:20px;
}

.access-camping-grid{
  display:grid;
  grid-template-columns:minmax(380px,.9fr) minmax(0,1.1fr);
  gap:86px;
  align-items:center;
}

.access-camping-image img{
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:20px;
}

.access-camping-copy h2{
  margin:10px 0 20px;
}

.access-camping-copy p:not(.lead){
  color:#56615c;
  line-height:1.68;
}

.access-section-head-dark h2{
  color:#fff;
}

.access-section-head-dark .lead{
  color:rgba(255,255,255,.7);
}

.access-workflow{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border:1px solid rgba(255,255,255,.16);
  border-radius:20px;
  overflow:hidden;
}

.access-workflow article{
  min-height:270px;
  padding:30px 27px;
}

.access-workflow article:not(:nth-child(4n+1)){
  border-left:1px solid rgba(255,255,255,.16);
}

.access-workflow article:nth-child(n+5){
  border-top:1px solid rgba(255,255,255,.16);
}

.access-workflow span{
  display:block;
  margin-bottom:35px;
  color:#e2d3a9;
  font-family:var(--serif);
  font-size:1.05rem;
}

.access-workflow h3{
  color:#fff;
}

.access-workflow p{
  margin-bottom:0;
  color:rgba(255,255,255,.68);
  line-height:1.6;
}

.access-abs-approach{
  max-width:900px;
}

.access-abs-approach h2{
  margin:10px 0 25px;
}

.access-abs-approach>p:not(.lead):not(.access-final-sentence){
  color:#56615c;
  font-size:1.08rem;
  line-height:1.72;
}

.access-final-sentence{
  margin:50px 0 38px;
  color:var(--forest);
  font-family:var(--serif);
  font-size:clamp(2.6rem,4.5vw,4.7rem);
  line-height:1.04;
  letter-spacing:-.035em;
}

.access-reference-title{
  max-width:760px;
  margin:10px 0 38px;
}

.access-reference-table-wrap{
  overflow-x:auto;
  border:1px solid rgba(24,33,29,.13);
  border-radius:18px;
  background:#fff;
}

.access-reference-table{
  width:100%;
  min-width:820px;
  border-collapse:collapse;
}

.access-reference-table th,
.access-reference-table td{
  padding:19px 22px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid var(--line);
}

.access-reference-table th{
  color:var(--muted);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  background:#f7f4ed;
}

.access-reference-table td{
  color:#4f5b55;
  line-height:1.5;
}

.access-reference-table td:first-child{
  color:var(--ink);
  font-weight:750;
}

.access-reference-table tr:last-child td{
  border-bottom:0;
}

.access-sources{
  padding-top:90px;
}

.access-sources h2{
  max-width:760px;
  margin:10px 0 18px;
}

.access-source-note{
  max-width:760px;
  margin-bottom:42px;
  color:var(--muted);
}

.access-source-list{
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:source;
  border-top:1px solid var(--line);
}

.access-source-list li{
  position:relative;
  counter-increment:source;
  padding:22px 0 22px 55px;
  border-bottom:1px solid var(--line);
  color:#59635e;
  line-height:1.55;
}

.access-source-list li::before{
  content:"[" counter(source) "]";
  position:absolute;
  left:0;
  top:22px;
  color:var(--moss);
  font-weight:800;
}

.access-source-list a{
  text-decoration:underline;
  text-decoration-color:rgba(24,33,29,.22);
  text-underline-offset:3px;
}

.access-source-list a:hover{
  text-decoration-color:currentColor;
}

@media (max-width:1050px){
  .access-workflow{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .access-workflow article:not(:nth-child(4n+1)){
    border-left:0;
  }

  .access-workflow article:nth-child(even){
    border-left:1px solid rgba(255,255,255,.16);
  }

  .access-workflow article:nth-child(n+3){
    border-top:1px solid rgba(255,255,255,.16);
  }
}

@media (max-width:900px){
  .access-intro-grid,
  .access-section-head,
  .access-public-grid,
  .access-photo-grid,
  .access-lease-grid,
  .access-camping-grid{
    grid-template-columns:1fr;
    gap:38px;
  }

  .access-land-grid{
    grid-template-columns:1fr;
  }

  .access-land-grid article:nth-child(even){
    border-left:0;
  }

  .access-land-grid article:nth-child(n+2){
    border-top:1px solid var(--line);
  }

  .access-official-tools{
    align-items:flex-start;
    flex-direction:column;
    gap:22px;
  }

  .access-gate-image{
    width:min(100%,620px);
    margin-inline:auto;
  }

  .access-gate-image img{
    aspect-ratio:4/3;
  }

  .access-camping-image{
    width:min(100%,700px);
    margin-inline:auto;
  }
}

@media (max-width:700px){
  .access-hero{
    min-height:74vh;
  }

  .access-hero-media img{
    object-position:44% 50%;
  }

  .access-hero-media::after{
    background:linear-gradient(0deg,rgba(10,24,18,.9) 0%,rgba(10,24,18,.48) 65%,rgba(10,24,18,.17) 100%);
  }

  .access-hero-content{
    padding:150px 0 52px;
  }

  .access-hero h1{
    font-size:clamp(3.6rem,15vw,5.5rem);
  }

  .access-intro{
    padding-top:68px;
  }

  .access-toc-wrap{
    top:72px;
  }

  .access-toc{
    min-height:58px;
  }

  .access-toc-label{
    margin-right:8px;
  }

  #land-types,
  #public-access,
  #maps-ground,
  #leases,
  #camping,
  #workflow,
  #abs-approach,
  #reference,
  #sources{
    scroll-margin-top:144px;
  }

  .access-land-grid article{
    padding:28px 24px 30px;
  }

  .access-official-tools{
    padding:26px 24px;
  }

  .access-workflow{
    grid-template-columns:1fr;
  }

  .access-workflow article:nth-child(even){
    border-left:0;
  }

  .access-workflow article:nth-child(n+2){
    border-top:1px solid rgba(255,255,255,.16);
  }

  .access-working-image img{
    height:64vw;
    min-height:300px;
  }

  .access-reference-table-wrap{
    margin-inline:-6px;
  }
}


@media (max-width:700px){
  .access-toc{
    justify-content:flex-start;
  }
}
