/* ===========================================================================
   Resources Page — page-specific styles
   Depends on css/styles.css for tokens and shared components.
=========================================================================== */

/* ---------- Hero ---------- */
.res-hero{ padding:60px 0 70px; overflow:hidden; }
.res-hero .container{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:56px;
  align-items:center;
}
.res-hero-title{
  font-size:clamp(30px,4vw,46px);
  text-transform:uppercase;
  line-height:1.18;
}
.res-hero-copy p{
  color:var(--text-muted);
  font-size:16px;
  max-width:540px;
  margin:22px 0 30px;
}
.res-hero-buttons{ display:flex; gap:16px; flex-wrap:wrap; }
.res-hero-art{ opacity:0.92; max-width:300px; margin:0 auto; }

@media (max-width:980px){
  .res-hero .container{ grid-template-columns:1fr; }
  .res-hero-art{ order:-1; max-width:220px; }
  .res-hero-copy p{ max-width:none; }
}
@media (max-width:560px){
  .res-hero-buttons .btn{ width:100%; }
}

/* ---------- Featured Framework (condensed, no illustration) ---------- */
.res-framework{ background:var(--bg-dark); text-align:center; }
.res-framework .container{ max-width:900px; }
.res-framework-intro{ color:var(--text-muted); font-size:16px; max-width:560px; margin:0 auto 40px; }
.res-framework-cta{ margin-top:34px; }

/* ---------- Resource Categories ---------- */
.categories{ background:var(--ivory); color:var(--ink); }
.categories-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
  margin-top:20px;
}
.category-card{
  background:var(--ivory-card);
  border:1px solid var(--border-ivory);
  border-radius:var(--radius-md);
  padding:30px 28px;
  display:flex;
  flex-direction:column;
}
.category-card .topic-icon{ margin-bottom:16px; }
.category-card h3{
  font-size:15px;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:10px;
}
.category-card p{ font-size:14px; color:var(--ink-soft); flex:1; margin-bottom:18px; }
.category-card .topic-link{
  font-size:12.5px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--teal-deep);
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.category-card .topic-link svg{ width:14px; height:14px; stroke:currentColor; fill:none; transition:transform .15s ease; }
.category-card .topic-link:hover svg{ transform:translateX(3px); }

@media (max-width:900px){ .categories-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .categories-grid{ grid-template-columns:1fr; } }

/* ---------- Featured Articles ---------- */
.articles{ background:var(--ivory); color:var(--ink); padding-top:0; }
.articles-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
  margin-top:20px;
}
.article-card{
  background:var(--ivory-card);
  border:1px solid var(--border-ivory);
  border-radius:var(--radius-md);
  padding:26px 26px 24px;
  display:flex;
  flex-direction:column;
}
.article-category{
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--teal-deep);
  margin-bottom:10px;
}
.article-card h3{
  font-size:16px;
  line-height:1.35;
  margin-bottom:10px;
}
.article-card p{ font-size:13.5px; color:var(--ink-soft); margin-bottom:18px; flex:1; }

@media (max-width:900px){ .articles-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .articles-grid{ grid-template-columns:1fr; } }

/* ---------- Practical Tools ---------- */
.tools{ background:var(--bg-dark); }
.tools-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
  margin-top:20px;
}
.tool-card{
  background:var(--bg-dark-2);
  border:1px solid var(--border-dark);
  border-radius:var(--radius-md);
  padding:26px 28px;
}
.tool-card h3{
  font-size:16px;
  text-transform:uppercase;
  letter-spacing:0.5px;
  margin-bottom:14px;
}
.tool-card ul{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:18px;
}
.tool-card li{
  font-size:14px;
  color:var(--text-muted);
  padding-left:16px;
  position:relative;
}
.tool-card li::before{
  content:"";
  position:absolute;
  left:0; top:9px;
  width:7px; height:1px;
  background:var(--gold);
}
.tools-cta{ text-align:center; margin-top:36px; }

@media (max-width:760px){ .tools-grid{ grid-template-columns:1fr; } }

/* ---------- From the Book ---------- */
.from-book{ background:var(--ivory); color:var(--ink); }
.from-book .container{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:56px;
  align-items:center;
}
.from-book-art img{
  width:100%;
  max-width:320px;
  border-radius:var(--radius-md);
  box-shadow:0 24px 54px rgba(18,38,42,0.28);
  margin:0 auto;
}
.from-book-title{
  font-size:clamp(24px,3vw,32px);
  text-transform:uppercase;
  line-height:1.2;
  margin-bottom:16px;
}
.from-book-title .serif-line{
  display:block;
  font-family:var(--font-serif);
  font-style:italic;
  text-transform:none;
  font-size:0.55em;
  color:var(--teal-deep);
  margin-bottom:4px;
}
.from-book p{ color:var(--ink-soft); font-size:15.5px; margin-bottom:26px; max-width:56ch; }
.from-book-actions{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; }

@media (max-width:900px){
  .from-book .container{ grid-template-columns:1fr; text-align:center; }
  .from-book-art{ order:-1; }
  .from-book p{ margin-left:auto; margin-right:auto; }
  .from-book-actions{ justify-content:center; }
}

/* ---------- Newsletter (teal band) ---------- */
.res-newsletter{ background:var(--teal-deep); }
.res-newsletter .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
}
.res-newsletter-copy{ max-width:480px; }
.res-newsletter-copy h2{ font-size:20px; text-transform:uppercase; margin-bottom:10px; }
.res-newsletter-copy p{ color:rgba(255,255,255,0.88); font-size:14.5px; }

@media (max-width:760px){
  .res-newsletter .container{ flex-direction:column; align-items:flex-start; }
}
