/* Creciendo en el Evangelio — Public Index Theme
   Inspired by devotional ministry editorial layout · Palette: #143B3C, #1C5253, #306B34, #B6174B, #A78544, #FAF6EE
   Fonts: Cormorant Garamond (Display) · Lora (Editorial) · Plus Jakarta Sans (UI) */

:root {
  --hm-petrol: #143B3C;
  --hm-petrol-mid: #1C5253;
  --hm-green: #306B34;
  --hm-lime: #C3EB78;
  --hm-crimson: #B6174B;
  --hm-gold: #C29A4E;
  --hm-gold-dark: #9B7732;
  --hm-parchment: #FAF6EE;
  --hm-paper: #FFFDF9;
  --hm-ink: #1D2E2E;
  --hm-muted: #586A67;
  --hm-border: #E5DCCB;
  --hm-font-display: 'Cormorant Garamond', Georgia, serif;
  --hm-font-body: 'Lora', Georgia, serif;
  --hm-font-ui: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --hm-ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.home-page {
  margin: 0;
  font-family: var(--hm-font-ui);
  color: var(--hm-ink);
  background: var(--hm-parchment) url('public/manuscript-bg.jpg.webp') center top / cover fixed;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.container-wide { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }

/* 3. Hero Banner & Dynamic Crossfade Slideshow */
.hero-banner { position: relative; isolation: isolate; padding: 74px 0 104px; color: #fff; overflow: hidden; background: #102E2F; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; background: #102E2F center / cover; opacity: 0; transform: scale(1.03); transition: opacity 1.1s var(--hm-ease), transform 6s linear; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: var(--slide-overlay, linear-gradient(108deg, rgba(16,46,47,.86) 0%, rgba(28,82,83,.74) 100%)); }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-dots { position: relative; z-index: 5; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 24px; }
.hero-dot, .hero-playback { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.hero-playback { margin-right: 6px; background: #102E2F; border: 1px solid rgba(255,255,255,.62); }
.hero-dot::before { content: ''; width: 12px; height: 12px; border: 1px solid #fff; border-radius: 99px; background: #102E2F; transition: width 260ms var(--hm-ease), background-color 200ms; }
.hero-dot.is-active::before { width: 24px; background: #F0D28C; }
.hero-dot:focus-visible, .hero-playback:focus-visible, .hero-copy a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 3px #102E2F; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 340px); gap: 36px; align-items: center; }
.hero-copy-stack { display: grid; align-items: center; min-width: 0; }
.hero-copy-stack > .hero-copy { grid-area: 1 / 1; min-width: 0; }
.hero-copy[inert] { visibility: hidden; }
.hero-text-copy { padding: clamp(18px, 4vw, 34px); border-left: 3px solid #F0D28C; border-radius: 0 14px 14px 0; background: rgba(12,34,34,.86); overflow-wrap: anywhere; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 99px; background: rgba(243,255,198,.12); border: 1px solid rgba(195,235,120,.35); color: var(--hm-lime); font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 18px; }
.hero-copy h1 { margin: 0 0 18px; font-family: var(--hm-font-display); font-size: clamp(2.5rem, 4.8vw, 3.85rem); font-weight: 700; line-height: 1.08; color: #fff; text-wrap: balance; }
.hero-copy h1 em { color: #F0D28C; font-style: italic; }
.hero-copy p { margin: 0 0 28px; max-width: 56ch; font-family: var(--hm-font-body); font-size: 17px; line-height: 1.75; color: #E4EFE9; }
.hero-text-copy p { white-space: pre-line; }
.hero-text-copy p:last-child { margin-bottom: 0; }
.hero-text-copy .btn-gold { max-width: 100%; white-space: normal; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.btn-gold { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; background: var(--hm-gold); color: #142B2C; font-size: 14px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; transition: background-color 150ms, transform 150ms; }
.btn-gold:hover { background: #D4AE62; transform: translateY(-1px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 10px; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color 150ms; }
.btn-ghost:hover { background: rgba(255,255,255,.18); }

/* Floating Hero Feature Card */
.hero-feature-card { position: relative; padding: 28px 24px 24px; border-radius: 18px; background: rgba(255,253,249,.95); color: var(--hm-ink); text-align: center; box-shadow: 0 22px 50px rgba(10,28,29,.28); border: 1px solid rgba(229,220,203,.9); }
.hero-card-badge { width: 44px; height: 44px; border-radius: 50%; margin: -48px auto 12px; display: grid; place-items: center; background: var(--hm-gold); color: #fff; font-size: 18px; box-shadow: 0 6px 16px rgba(194,154,78,.4); }
.hero-card-kicker { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--hm-green); margin-bottom: 6px; }
.hero-feature-card h2 { margin: 0 0 10px; font-family: var(--hm-font-display); font-size: 1.55rem; font-weight: 700; line-height: 1.2; color: var(--hm-petrol); }
.hero-feature-card p { margin: 0 0 18px; font-family: var(--hm-font-body); font-size: 13px; line-height: 1.65; color: var(--hm-muted); }
.btn-crimson-block { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 11px 16px; border-radius: 10px; background: var(--hm-crimson); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; transition: background-color 150ms; }
.btn-crimson-block:hover { background: #93103B; }

/* 4. Floating Search Bar */
.search-float-wrap { position: relative; z-index: 20; margin-top: -42px; margin-bottom: 44px; }
.search-float-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: #FFFDF9; border: 1px solid var(--hm-border); box-shadow: 0 18px 44px rgba(20,59,60,.11); flex-wrap: wrap; }
.search-lead { font-family: var(--hm-font-display); font-size: 1.35rem; font-weight: 700; color: var(--hm-petrol); white-space: nowrap; }
.search-field { position: relative; flex: 1 1 200px; min-width: 0; }
.search-field > .fa { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--hm-gold-dark); font-size: 13px; pointer-events: none; }
.search-field input, .search-field select { width: 100%; height: 42px; padding: 0 12px 0 34px; border: 1px solid var(--hm-border); border-radius: 10px; background: #FAF7F1; color: var(--hm-ink); font-family: var(--hm-font-ui); font-size: 13px; }
.search-field input:focus, .search-field select:focus { outline: none; border-color: var(--hm-green); background: #fff; }
.search-pdf-check { display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; height: 42px; border: 1px solid var(--hm-border); border-radius: 10px; background: #FAF7F1; font-size: 12px; font-weight: 600; color: var(--hm-crimson); cursor: pointer; white-space: nowrap; }
.btn-petrol { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--hm-petrol); color: #fff; font-family: var(--hm-font-ui); font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color 150ms; }
.btn-petrol:hover { background: var(--hm-green); }

/* Section Headings */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 30px; }
.section-head h2 { margin: 0 0 8px; font-family: var(--hm-font-display); font-size: clamp(1.9rem, 3.2vw, 2.55rem); font-weight: 700; color: var(--hm-petrol); line-height: 1.15; }
.section-head p { margin: 0; font-family: var(--hm-font-body); font-size: 15px; color: var(--hm-muted); line-height: 1.65; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; text-align: left; max-width: none; flex-wrap: wrap; }
.clear-filter-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: #FAEDF1; color: var(--hm-crimson); font-size: 12px; font-weight: 600; text-decoration: none; }

/* 5. Ministry Areas (5-column photo cards) */
.section-areas { padding: 12px 0 54px; }
.areas-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.area-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--hm-paper); border: 1px solid var(--hm-border); text-decoration: none; box-shadow: 0 8px 24px rgba(42,34,20,.05); transition: transform 180ms var(--hm-ease), box-shadow 180ms, border-color 180ms; }
.area-card:hover { transform: translateY(-3px); border-color: var(--hm-gold); box-shadow: 0 14px 32px rgba(42,34,20,.1); }
.area-photo { position: relative; height: 132px; background: #E9E2D2; }
.area-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.area-icon { position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--hm-petrol); color: #FAF6EE; border: 3px solid #fff; font-size: 16px; box-shadow: 0 4px 12px rgba(20,59,60,.2); }
.area-body { padding: 28px 15px 18px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.area-body h3 { margin: 0 0 8px; font-family: var(--hm-font-display); font-size: 1.28rem; font-weight: 700; color: var(--hm-petrol); line-height: 1.2; }
.area-body p { margin: 0 0 14px; font-size: 12px; line-height: 1.6; color: var(--hm-muted); flex: 1; }
.area-link { font-size: 12px; font-weight: 600; color: var(--hm-crimson); }

/* 6. Articles Grid */
.section-articles { padding: 12px 0 60px; }
.articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--hm-paper); border: 1px solid var(--hm-border); box-shadow: 0 8px 24px rgba(42,34,20,.05); transition: transform 180ms var(--hm-ease), box-shadow 180ms, border-color 180ms; }
.article-card:hover { transform: translateY(-3px); border-color: var(--hm-gold); box-shadow: 0 14px 34px rgba(42,34,20,.1); }
.article-card-media { position: relative; display: grid; place-items: center; height: 195px; padding: 8px; background: #F5EFE2; text-decoration: none; overflow: hidden; }
.article-card-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.article-card-fallback { font-size: 38px; color: var(--hm-gold); opacity: .65; }
.card-pdf-badge { position: absolute; right: 12px; top: 12px; padding: 4px 9px; border-radius: 99px; background: var(--hm-crimson); color: #fff; font-size: 10px; font-weight: 700; }
.article-card-body { padding: 18px 20px 16px; display: flex; flex-direction: column; flex: 1; }
.article-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 11px; color: var(--hm-muted); }
.card-cat { padding: 2px 9px; border-radius: 99px; background: #EFF5EC; color: var(--hm-green); font-weight: 600; max-width: 65%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.article-card-body h3 { margin: 0 0 8px; font-family: var(--hm-font-display); font-size: 1.42rem; font-weight: 700; line-height: 1.22; }
.article-card-body h3 a { color: var(--hm-petrol); text-decoration: none; }
.article-card-body h3 a:hover { color: var(--hm-crimson); }
.article-card-body p { margin: 0 0 16px; font-family: var(--hm-font-body); font-size: 13px; line-height: 1.65; color: var(--hm-muted); flex: 1; }
.article-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid #EFE8DA; font-size: 12px; }
.card-author { color: var(--hm-muted); }
.card-read-link { font-weight: 600; color: var(--hm-crimson); text-decoration: none; }
.pub-pagination { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--hm-muted); }
.pub-pagination-links { display: flex; gap: 10px; }
.pub-pagination-links a { padding: 9px 16px; border-radius: 9px; background: #fff; border: 1px solid var(--hm-border); color: var(--hm-petrol); font-weight: 600; text-decoration: none; }
.pub-pagination-links a:hover { background: var(--hm-petrol); color: #fff; }
.pub-empty { text-align: center; padding: 48px 20px; border-radius: 16px; background: var(--hm-paper); border: 1px solid var(--hm-border); }
.pub-empty .fa { font-size: 38px; color: var(--hm-gold); margin-bottom: 10px; }
.pub-empty h3 { margin: 0 0 8px; font-family: var(--hm-font-display); font-size: 1.7rem; color: var(--hm-petrol); }
.pub-empty p { margin: 0 0 18px; color: var(--hm-muted); font-size: 14px; }

/* 7. Split Pillars Band */
.section-pillars { padding: 62px 0; background: linear-gradient(125deg, #102F30 0%, #1C5253 60%, #17443F 100%); color: #fff; }
.pillars-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 38px; align-items: center; }
.pillars-kicker { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--hm-lime); margin-bottom: 10px; }
.pillars-copy h2 { margin: 0 0 14px; font-family: var(--hm-font-display); font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1.12; }
.pillars-copy p { margin: 0 0 20px; font-family: var(--hm-font-body); font-size: 15px; line-height: 1.75; color: #DCE9E2; }
.pillars-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.pillars-list .fa { color: var(--hm-lime); margin-right: 8px; }
.pillars-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pillar-card { padding: 24px 20px; border-radius: 16px; background: rgba(255,253,249,.96); color: var(--hm-ink); text-align: center; box-shadow: 0 14px 32px rgba(8,24,25,.2); }
.pillar-card .fa { font-size: 26px; color: var(--hm-gold-dark); margin-bottom: 10px; }
.pillar-card h3 { margin: 0 0 7px; font-family: var(--hm-font-display); font-size: 1.35rem; font-weight: 700; color: var(--hm-petrol); }
.pillar-card p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--hm-muted); }

/* 8. Reflections & Callout */
.section-reflections { padding: 56px 0 36px; }
.reflections-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reflection-card { margin: 0; padding: 24px 22px; border-radius: 16px; background: var(--hm-paper); border: 1px solid var(--hm-border); box-shadow: 0 6px 20px rgba(42,34,20,.04); display: flex; flex-direction: column; justify-content: space-between; }
.reflection-card p { margin: 0 0 18px; font-family: var(--hm-font-body); font-size: 14.5px; font-style: italic; line-height: 1.75; color: var(--hm-ink); }
.reflection-card footer strong { display: block; font-size: 13px; color: var(--hm-crimson); }
.reflection-card footer span { font-size: 11px; color: var(--hm-muted); }

.section-callout { padding: 12px 0 56px; }
.callout-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; border-radius: 18px; background: linear-gradient(115deg, #13393A, #1E5758); color: #fff; box-shadow: 0 18px 42px rgba(20,59,60,.18); flex-wrap: wrap; }
.callout-box h2 { margin: 0 0 6px; font-family: var(--hm-font-display); font-size: 1.9rem; font-weight: 700; }
.callout-box p { margin: 0; font-size: 14px; color: #DCE9E2; max-width: 58ch; }

/* 9. Footer (Menu 3) */
.site-footer { background: #102D2F; color: #D4E2DC; padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { height: 46px; width: auto; display: block; margin-bottom: 14px; }
.footer-brand p { margin: 0; font-size: 13px; line-height: 1.7; color: #C2D4CC; }
.footer-col h3 { margin: 0 0 14px; font-family: var(--hm-font-display); font-size: 1.3rem; font-weight: 700; color: #F0D28C; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-col a { color: #D8E6DF; text-decoration: none; transition: color 140ms; }
.footer-col a:hover { color: var(--hm-lime); }
.footer-meta-list .fa { color: var(--hm-lime); width: 16px; margin-right: 6px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; font-size: 12px; color: #9BB3A8; flex-wrap: wrap; }
.footer-bottom a { color: #C9DDD4; text-decoration: none; }

/* Responsive */
@media (max-width: 1080px) {
  .areas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .pillars-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-feature-card { max-width: 440px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .container-wide { width: calc(100% - 24px); }
  .hero-banner { padding: 48px 0 78px; }
  .search-float-bar { padding: 14px; }
  .search-lead { width: 100%; }
  .btn-petrol { width: 100%; }
  .areas-grid, .articles-grid, .reflections-grid, .pillars-cards, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .callout-box { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* External Sites Grid Carousel (after PDF callout banner) */
.section-links-carousel {
  padding: 64px 0 74px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9F3 100%);
  border-top: 1px solid #E2ECE0;
}
.links-carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.links-carousel-head h2 {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 700;
  color: #193B3C;
  line-height: 1.15;
}
.links-carousel-head p {
  margin: 0;
  max-width: 640px;
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  line-height: 1.7;
  color: #576D6A;
}
.links-carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.links-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #D1E1CD;
  background: #fff;
  color: #1C5253;
  font-size: 20px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(28, 82, 83, 0.08);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease;
}
.links-nav-btn:hover {
  background: #1C5253;
  border-color: #1C5253;
  color: #F3FFC6;
  transform: translateY(-1px);
}
.links-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 16px;
  scrollbar-width: thin;
  scrollbar-color: #BDD5B7 transparent;
}
.links-carousel-track::-webkit-scrollbar { height: 6px; }
.links-carousel-track::-webkit-scrollbar-thumb { background: #BDD5B7; border-radius: 99px; }

.link-grid-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #DDE8DA;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(28, 82, 83, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.link-grid-card:hover {
  transform: translateY(-4px);
  border-color: #B4D3AE;
  box-shadow: 0 16px 34px rgba(28, 82, 83, 0.12);
}
.link-card-media {
  position: relative;
  height: 186px;
  background: linear-gradient(135deg, #164041 0%, #306B34 100%);
  overflow: hidden;
  display: block;
}
.link-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 360ms ease;
}
.link-grid-card:hover .link-card-media img {
  transform: scale(1.05);
}
.link-card-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #F3FFC6;
  font-size: 44px;
  opacity: 0.72;
}
.link-domain-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 45, 47, 0.86);
  color: #F3FFC6;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.link-card-body h3 {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #193B3C;
  line-height: 1.2;
}
.link-card-body p {
  margin: 0 0 18px;
  font-family: 'Lora', Georgia, serif;
  font-size: 14px;
  line-height: 1.65;
  color: #576D6A;
  flex: 1;
}
.link-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #B6174B;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  align-self: flex-start;
  transition: background 160ms ease, transform 160ms ease;
}
.link-card-cta:hover {
  background: #92113B;
  color: #fff;
  transform: translateX(2px);
}

@media (max-width: 980px) {
  .links-carousel-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; }
}
@media (max-width: 640px) {
  .section-links-carousel { padding: 48px 0 56px; }
  .links-carousel-track { grid-auto-columns: 88%; gap: 16px; }
}
