/* ============================================================
   L.I.N.K. Empowerment Ministry – Inner Page Styles
   ============================================================ */

/* ── Page Hero ────────────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,69,121,.88) 0%, rgba(13,30,58,.75) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 8vw, 10rem);
  color: #fff;
}

.page-hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: .8rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}

.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: .6rem; }
.breadcrumb span { color: #90c8f0; }

/* ── Scripture Quote ──────────────────────────────────────── */
.scripture-quote {
  margin-top: 1.5rem;
  border-left: 4px solid #de2a2f;
  padding: 1rem 1.5rem;
  background: #f6f8fc;
  border-radius: 0 8px 8px 0;
}

.scripture-quote p {
  font-style: italic;
  color: #333 !important;
  font-size: 1rem !important;
  margin-bottom: .5rem !important;
}

.scripture-quote cite {
  font-size: .82rem;
  color: #144579;
  font-weight: 600;
}

/* ── Mission & Vision Grid ────────────────────────────────── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.mv-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  border-top: 4px solid #de2a2f;
  text-align: center;
}

.mv-icon {
  font-size: 2.5rem;
  color: #144579;
  margin-bottom: 1rem;
}

.mv-card h3 {
  font-size: 1.3rem;
  color: #144579;
  margin-bottom: .8rem;
}

.mv-card p { color: #555; }

/* ── Core Values Grid ─────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.value-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.value-card:hover { transform: translateY(-5px); box-shadow: 0 10px 35px rgba(0,0,0,.12); }

.value-letter {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #144579;
  color: #FFEE00;
  font-size: 2.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.value-card h3 { font-size: 1.1rem; color: #144579; margin-bottom: .6rem; }
.value-card p  { font-size: .85rem; color: #555; }

/* ── Icon Cards Grid ──────────────────────────────────────── */
.icon-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.icon-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: 0 3px 16px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
}
.icon-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }

.icon-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #f0f5ff;
  color: #144579;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-card h3 { font-size: 1rem; color: #144579; margin-bottom: .5rem; }
.icon-card p  { font-size: .87rem; color: #555; line-height: 1.6; }

/* ── Accordion ────────────────────────────────────────────── */
.accordion { margin-top: 2rem; }

.accordion-item {
  border: 1px solid #e5eaf3;
  border-radius: 8px;
  margin-bottom: .75rem;
  overflow: hidden;
  background: #fff;
}

.accordion-btn {
  width: 100%;
  background: #fff;
  border: none;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: #144579;
  text-align: left;
  transition: background .2s;
}

.accordion-btn span {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.accordion-btn span i { color: #de2a2f; font-size: 1rem; }

.accordion-btn:hover { background: #f6f8fc; }
.accordion-btn[aria-expanded="true"] { background: #f0f5ff; }

.accordion-icon {
  transition: transform .3s ease;
  color: #144579;
  font-size: .75rem;
}
.accordion-btn[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  display: none;
  padding: 0 1.5rem 1.4rem;
  font-size: .9rem;
  color: #555;
  line-height: 1.7;
}
.accordion-body.open { display: block; }

/* ── Steps Grid ───────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.steps-grid.steps-3 { grid-template-columns: repeat(3, 1fr); }

.step-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.8rem 1.4rem;
  box-shadow: 0 3px 16px rgba(0,0,0,.07);
  text-align: center;
  position: relative;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #e8eef7;
  line-height: 1;
  margin-bottom: .8rem;
}

.step-card h3 { font-size: .95rem; color: #144579; margin-bottom: .5rem; }
.step-card p  { font-size: .84rem; color: #555; line-height: 1.6; }

/* ── CTA Band ─────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #144579 0%, #0d1e3a 100%);
  padding: 60px 0;
  color: #fff;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: .8rem;
}

.cta-band p {
  color: rgba(255,255,255,.8);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.cta-band-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact Page ─────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { color: #144579; font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 1rem; }
.contact-info p  { color: #555; margin-bottom: 1.5rem; }

.contact-info-items { margin-top: 1.5rem; }

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: #f0f5ff;
  border-radius: 10px;
  color: #144579;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  font-size: .9rem;
  color: #144579;
  margin-bottom: .2rem;
}

.contact-info-item p {
  font-size: .87rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

.contact-info-item a { color: #144579; }
.contact-info-item a:hover { color: #de2a2f; }

.contact-social { margin-top: 1.5rem; }
.contact-social strong { font-size: .9rem; color: #144579; }
.contact-social .social-icons a { background: rgba(20,69,121,.1); color: #144579; }
.contact-social .social-icons a:hover { background: #de2a2f; color: #fff; }

.contact-form-box {
  background: #f6f8fc;
  border-radius: 14px;
  padding: 2.5rem;
}

.contact-form-box h3 { font-size: 1.3rem; color: #144579; margin-bottom: .6rem; }
.contact-form-box > p { font-size: .9rem; color: #555; margin-bottom: 1.5rem; }

.btn-full { width: 100%; justify-content: center; }

.contact-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.8rem 0;
  color: #999;
  font-size: .82rem;
}
.contact-divider::before,
.contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #dde3ed;
}

.quick-action-links { display: flex; flex-direction: column; gap: .75rem; }

.quick-action-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5eaf3;
  transition: border-color .2s, box-shadow .2s;
}
.quick-action-link:hover { border-color: #144579; box-shadow: 0 4px 16px rgba(20,69,121,.1); }

.quick-action-link > i:first-child {
  width: 40px;
  height: 40px;
  background: #f0f5ff;
  color: #144579;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.quick-action-link div { flex: 1; }
.quick-action-link strong { display: block; font-size: .9rem; color: #144579; margin-bottom: .1rem; }
.quick-action-link span  { font-size: .8rem; color: #777; }
.quick-action-link > i:last-child { font-size: .7rem; color: #ccc; }

/* ── Resources Page ───────────────────────────────────────── */
.resource-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.resource-category {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,.07);
}

.resource-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  background: #f6f8fc;
  border-bottom: 1px solid #e5eaf3;
}

.resource-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resource-category-header h3 {
  font-size: 1rem;
  color: #144579;
  margin: 0;
}

.resource-links { padding: .8rem; }

.resource-link {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem 1rem;
  border-radius: 8px;
  transition: background .2s;
}
.resource-link:hover { background: #f0f5ff; }

.resource-link > i:first-child {
  color: #144579;
  font-size: .9rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.resource-link div { flex: 1; }
.resource-link strong { display: block; font-size: .88rem; color: #222; margin-bottom: .1rem; }
.resource-link span  { font-size: .78rem; color: #777; }

/* ── News Full Grid ───────────────────────────────────────── */
.news-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.news-card-full {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,.08);
  transition: transform .25s, box-shadow .25s;
}
.news-card-full:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.14); }

.news-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.news-card-body { padding: 1.4rem 1.6rem 1.8rem; }

.news-meta {
  font-size: .75rem;
  font-weight: 600;
  color: #de2a2f;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.news-card-body h3 { font-size: .95rem; color: #144579; margin-bottom: .8rem; line-height: 1.4; }
.news-card-body h3 a:hover { color: #de2a2f; }
.news-card-body p  { font-size: .85rem; color: #555; line-height: 1.65; margin-bottom: 1rem; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .icon-cards-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid     { grid-template-columns: repeat(3, 1fr); }
  .resource-categories { grid-template-columns: 1fr; }
  .news-grid-full { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  /* ── Page hero ── */
  .page-hero { height: 260px; padding-bottom: 2rem; }
  .page-hero-content { padding: 0 1.2rem; }
  .page-hero-content h1 { font-size: clamp(1.4rem, 6vw, 2.2rem); margin-bottom: .5rem; }
  .breadcrumb { font-size: .78rem; flex-wrap: wrap; }

  /* ── Grids ── */
  .mv-grid      { grid-template-columns: 1fr; }
  .values-grid  { grid-template-columns: 1fr 1fr; }
  .icon-cards-grid { grid-template-columns: 1fr; }
  .steps-grid   { grid-template-columns: 1fr 1fr; }
  .steps-grid.steps-3 { grid-template-columns: 1fr; }
  .news-grid-full { grid-template-columns: 1fr; }
  .resource-categories { grid-template-columns: 1fr; }

  /* ── CTA band ── */
  .cta-band { padding: 44px 0; }
  .cta-band-btns { flex-direction: column; align-items: stretch; }
  .cta-band-btns .btn { text-align: center; justify-content: center; }

  /* ── Contact ── */
  .contact-form-box { padding: 1.5rem 1.2rem; }
  .quick-action-links { gap: .5rem; }

  /* ── Accordion ── */
  .accordion-btn { padding: 1rem 1.2rem; font-size: .92rem; }

  /* ── Tally / KoboToolbox iframes ── */
  .tally-embed-wrap iframe,
  iframe[data-tally-src] { min-height: 650px !important; }

  /* ── Step cards ── */
  .step-card { padding: 1.4rem 1rem; }
  .step-number { font-size: 2rem; }

  /* ── Icon cards ── */
  .icon-card { padding: 1.5rem 1.2rem; }
  .icon-card-icon { width: 48px; height: 48px; }

  /* ── Mission/Vision cards ── */
  .mv-card { padding: 2rem 1.5rem; }

  /* ── Value cards ── */
  .value-card { padding: 1.5rem 1rem; }
  .value-letter { width: 60px; height: 60px; font-size: 1.8rem; }

  /* ── Scripture block ── */
  .scripture-quote { padding: .8rem 1.1rem; }

  /* ── Resource links ── */
  .resource-link { padding: .7rem .8rem; }
  .resource-link strong { font-size: .85rem; }
}

@media (max-width: 480px) {
  .page-hero { height: 230px; }
  .values-grid { grid-template-columns: 1fr; }
  .steps-grid  { grid-template-columns: 1fr; }
  .icon-cards-grid { grid-template-columns: 1fr; }

  /* ── Full-width buttons on small screens ── */
  .cta-band-btns .btn,
  .col-text .btn,
  .contact-form-box .btn { width: 100%; justify-content: center; display: flex; }

  /* ── Contact info items ── */
  .contact-info-item { gap: .7rem; }
  .contact-info-icon { width: 38px; height: 38px; }

  /* ── Tally / iframe ── */
  .tally-embed-wrap { border-radius: 8px !important; }
  .tally-embed-wrap iframe,
  iframe[data-tally-src] { min-height: 580px !important; }
}
