/* ===========================================================
   section.css — footer/landing section pages
   Template 1: category landing (hero + 3-col card grid)
   Template 2: content page (hero + full-width prose body)
   Shares header/footer/topbar from styles.css
   =========================================================== */

.sec-main { padding: 0 0 90px; }

/* Breadcrumb */
.sec-crumb {
  margin: 30px 0 8px;
  font-size: 14px;
  color: var(--muted);
}
.sec-crumb a { color: var(--navy); text-decoration: none; font-weight: 600; }
.sec-crumb a:hover { color: var(--green); }
.sec-crumb .sep { margin: 0 8px; opacity: .6; }

/* ---------- Hero (shared by both templates) ---------- */
.sec-hero {
  display: grid;
  grid-template-columns: 43% 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 18px;
}
.sec-hero__title {
  font-family: 'aesthet-nova', 'Fraunces', serif;
  font-weight: 700;
  color: var(--green);
  font-size: 54px;
  line-height: 1.05;
  margin: 0;
}
.sec-hero__rule {
  height: 3px;
  background: #d9d9d9;
  border-radius: 3px;
  margin: 20px 0 22px;
  max-width: 480px;
}
.sec-hero__sub {
  font-family: 'aesthet-nova', 'Fraunces', serif;
  font-weight: 500;
  color: var(--navy);
  font-size: 31px;
  line-height: 1.2;
  margin: 0 0 20px;
}
.sec-hero__intro {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.6;
}
.sec-hero__intro p { margin: 0 0 16px; }
.sec-hero__intro p:last-child { margin-bottom: 0; }
.sec-hero__media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* ---------- Template 1: card grid ---------- */
.sec-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 70px;
}
.sec-card {
  background: var(--bg-warm);
  border-radius: 16px;
  padding: 36px 34px 30px;
  display: flex;
  flex-direction: column;
  min-height: 250px;
}
.sec-card h3 {
  font-family: 'aesthet-nova', 'Fraunces', serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.15;
  margin: 0 0 16px;
}
.sec-card p {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 22px;
  flex: 1;
}
.sec-card .know {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 8px;
  transition: background .2s ease, box-shadow .2s ease;
}
.sec-card .know:hover {
  background: var(--green-dark);
  box-shadow: 0 10px 24px -10px rgba(58,174,42,.7);
}

/* ---------- Template 2: prose body ---------- */
.sec-body {
  max-width: 1200px;
  margin: 64px auto 0;
  padding: 0 var(--container-pad, 0);
  color: var(--navy);
  font-size: 19px;
  line-height: 1.72;
}
.sec-body p { margin: 0 0 22px; }
.sec-body h2 {
  font-family: 'aesthet-nova', 'Fraunces', serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.2;
  margin: 40px 0 16px;
}
.sec-body ul, .sec-body ol { margin: 0 0 22px; padding-left: 24px; }
.sec-body li { margin-bottom: 10px; }
.sec-body a { color: var(--green); font-weight: 600; text-decoration: none; }
.sec-body a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .sec-cards { grid-template-columns: repeat(2, 1fr); }
  .sec-hero__title { font-size: 46px; }
  .sec-hero__sub { font-size: 27px; }
}
@media (max-width: 760px) {
  .sec-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sec-hero__media { order: -1; }
  .sec-hero__media img { max-height: 300px; }
  .sec-hero__title { font-size: 40px; }
  .sec-hero__sub { font-size: 24px; }
  .sec-cards { grid-template-columns: 1fr; margin-top: 48px; }
  .sec-body { font-size: 17px; margin-top: 44px; }
  .sec-body h2 { font-size: 26px; }
}
