/* ===============================
   MATERIALS PAGE (materials.css)
   =============================== */

/* Hero (Materials) */
.page-hero{
  text-align:center;
  padding:70px 20px 22px;
}
.page-hero h1{
  font-size:2.4rem;
  color:var(--clay);
}
.page-hero p{
  max-width:780px;
  margin:12px auto 0;
  font-size:1.1rem;
}
.small-note{
  font-size:0.92rem;
  opacity:0.78;
  margin-top:10px;
  font-family:'Quicksand', sans-serif;
  font-weight:700;
}

/* Section nav (simple, elevated) */
.section-nav{
  max-width:1100px;
  margin: 10px auto 26px;
  padding: 0 20px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:center;
  font-family:'Quicksand', sans-serif;
  font-weight:900;
}
.section-nav a{
  color:var(--clay);
  opacity:0.9;
  border-bottom:1px solid rgba(201,122,93,0.22);
  padding-bottom:2px;
  transition:opacity .2s ease, border-color .2s ease;
}
.section-nav a:hover{
  opacity:1;
  border-bottom-color: rgba(201,122,93,0.65);
}

/* Sections */
.section-block{
  padding:30px 0;
  border-top:1px solid rgba(0,0,0,0.06);
}
.section-block:first-of-type{ border-top:none; }

.section-block h2{
  color:var(--clay);
  font-size:1.7rem;
}
.hint{
  margin-top:8px;
  opacity:0.88;
}

/* Materials grid + cards (scoped to avoid fighting global .cards/.card) */
.section-block .cards{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:16px;
  margin-top:18px;
}

.section-block .item-card{
  background:#fff;
  border-radius:18px;
  padding:18px 18px 16px;
  box-shadow:0 6px 14px rgba(0,0,0,0.10);
  transition:transform .2s ease, box-shadow .2s ease;
}
.section-block .item-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 26px rgba(0,0,0,0.14);
}

.section-block .item-card h3{
  color:var(--clay);
  font-size:1.18rem;
  margin-bottom:6px;
}

.section-block .item-card .meta{
  font-family:'Quicksand', sans-serif;
  font-weight:800;
  opacity:0.75;
  font-size:0.9rem;
  margin-bottom:10px;
}

.section-block .item-card .excerpt{
  opacity:0.95;
}

/* “Shop links” dropdown (Option A – calm) */
.shop-links{
  margin-top:14px;
  border-top:1px solid rgba(0,0,0,0.06);
  padding-top:12px;
}

.shop-links summary{
  cursor:pointer;
  list-style:none;
  font-family:'Quicksand', sans-serif;
  font-weight:900;
  color:var(--clay);
  display:inline-flex;
  align-items:center;
  gap:10px;
  opacity:0.92;
  transition:opacity .2s ease;
}
.shop-links summary::-webkit-details-marker{ display:none; }
.shop-links summary:hover{ opacity:1; }

.shop-links summary::after{
  content:"→";
  opacity:0.7;
  transition: transform .2s ease, opacity .2s ease;
}
.shop-links[open] summary::after{
  transform: translateX(3px);
  opacity:0.9;
}

.shop-links__list{
  margin-top:10px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.shop-links__list a{
  font-family:'Quicksand', sans-serif;
  font-weight:900;
  color:var(--clay);
  border-bottom:1px solid rgba(201,122,93,0.28);
  padding-bottom:2px;
  transition:border-color .2s ease, transform .2s ease;
}
.shop-links__list a:hover{
  border-bottom-color: rgba(201,122,93,0.7);
  transform: translateY(-1px);
}

/* CTA strip (Materials page only tweaks)
   Note: .btn styles live in styles.css */
.cta-strip{
  margin-top:36px;
  background:#fff;
  border-radius:18px;
  padding:26px 18px;
  box-shadow:0 10px 22px rgba(0,0,0,0.10);
  text-align:center;
}
.cta-strip h2{
  color:var(--clay);
  margin-bottom:8px;
}
.cta-strip p{
  max-width:720px;
  margin:0 auto 14px;
}

/* Mobile */
@media (max-width: 520px){
  .section-nav{ gap:12px; }
  .page-hero h1{ font-size:2.05rem; }
  .page-hero p{ font-size:1.02rem; }
}
