:root {
  --brand: #2b7a78;
  --brand2: #1f5e5c;
  --brand-s: rgba(43, 122, 120, 0.1);
  --brand-b: rgba(43, 122, 120, 0.3);
  --accent: #0ea5e9;
  --ok: #22c55e;
  --warn: #f59e0b;
  --ink: #1f2937;
  --ink2: #4b5563;
  --muted: #8b96a5;
  --bg: #eef3f8;
  --bg2: #e4ecf3;
  --card: #ffffff;
  --border: #e3e9f0;
  --border2: #d7dfe8;
  --radius-sm: 14px;
  --radius-lg: 22px;
  --shadow: 0 2px 12px rgba(16, 24, 40, 0.06);
  --shadow-hover: 0 10px 28px rgba(16, 24, 40, 0.12);
  --cat-media: #f59e0b;
  --cat-workshop: #10b981;
  --cat-partner: #6366f1;
  --cat-hackathon: #f43f5e;
  --cat-university: #0ea5e9;
  --cat-success: #22c55e;
  --cat-community: #a855f7;
  --cat-announce: #2b7a78;
}
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.hidden {
  display: none !important;
}
.skeleton {
  background: linear-gradient(90deg, #e3e9f0 25%, #f2f5f9, #e3e9f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-lg);
  min-height: 280px;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

/* ── Nav ────────────────────────────────────────────────────────────────── */
.stories-nav {
  position: sticky;
  top: 12px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  height: 58px;
  margin: 0 16px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  gap: 12px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.05rem;
}
.nav-brand img {
  height: 30px;
}
.nav-brand span {
  color: var(--ink);
}
.nav-brand span em {
  color: var(--brand);
  font-style: normal;
}
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 10px;
  transition:
    color 0.15s,
    background 0.15s;
}
.nav-links a:hover {
  color: var(--brand);
  background: var(--brand-s);
}
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}
.nav-hamburger:hover {
  background: var(--bg2);
}
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius-sm);
  margin: 6px 16px 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.nav-mobile-menu a {
  padding: 14px 24px;
  color: var(--ink2);
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  font-weight: 500;
  transition: background 0.15s;
}
.nav-mobile-menu a:hover {
  background: var(--bg2);
  color: var(--brand);
}
.nav-mobile-menu.open {
  display: flex;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand);
  padding: 6px 14px;
  background: var(--brand-s);
  border-radius: 99px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}
.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 12px;
  font-size: 0.87rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition:
    background 0.18s,
    transform 0.15s,
    box-shadow 0.18s;
  width: fit-content;
  box-shadow: 0 4px 14px rgba(43, 122, 120, 0.28);
}
.btn-read:hover {
  background: var(--brand2);
  transform: translateY(-1px);
}
.btn-read:active {
  transform: translateY(0);
}
.cat-badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 56px 0 44px;
  position: relative;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-content h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.9rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}
.hero-content h1 span {
  color: var(--brand);
}
.hero-content p {
  font-size: 1.02rem;
  color: var(--ink2);
  line-height: 1.75;
  max-width: 540px;
}

/* ── Featured ───────────────────────────────────────────────────────────── */
.featured-section {
  padding: 24px 0 48px;
}
.featured-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  cursor: pointer;
}
.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.featured-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.featured-body {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.featured-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}
.featured-date {
  font-size: 0.77rem;
  color: var(--muted);
}
.featured-desc {
  color: var(--ink2);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Filter bar ─────────────────────────────────────────────────────────── */
.filter-section {
  padding: 14px 0;
  background: var(--bg);
  position: sticky;
  top: 86px;
  z-index: 100;
}
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.search-wrap {
  position: relative;
  max-width: 320px;
}
.search-wrap i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.8rem;
}
.search-wrap input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.87rem;
  outline: none;
  transition: border-color 0.18s;
}
.search-wrap input:focus {
  border-color: var(--brand-b);
  background: var(--card);
}
.search-wrap input::placeholder {
  color: var(--muted);
}
.filter-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip {
  padding: 6px 15px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--brand-b);
  color: var(--brand);
  background: var(--brand-s);
}
.chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ── Stories grid ───────────────────────────────────────────────────────── */
.stories-grid-section {
  padding: 34px 0 68px;
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.story-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.story-card-img {
  width: 100%;
  height: 186px;
  object-fit: cover;
}
.story-card-img-placeholder {
  width: 100%;
  height: 186px;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.story-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.story-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.story-card-date {
  font-size: 0.72rem;
  color: var(--muted);
}
.story-card-body h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  flex: 1;
}
.story-card-desc {
  font-size: 0.84rem;
  color: var(--ink2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}
.story-card-footer .btn-read {
  padding: 7px 14px;
  font-size: 0.8rem;
  box-shadow: none;
}
.no-results {
  text-align: center;
  padding: 52px 20px;
  color: var(--muted);
  font-size: 0.93rem;
}
.no-results i {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 10px;
  opacity: 0.4;
}

/* ── Gallery ────────────────────────────────────────────────────────────── */
.gallery-section {
  padding: 12px 0 58px;
}
.albums-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.album-btn {
  padding: 7px 16px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  box-shadow: var(--shadow);
}
.album-btn:hover {
  background: var(--brand-s);
  border-color: var(--brand-b);
  color: var(--brand);
}
.album-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
/*.masonry-grid {
  columns: 4;
  column-gap: 12px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s;
}*/
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.masonry-item {
  aspect-ratio: 1 / 1; /* uniform square tiles — change to 4/3 or 3/2 if you prefer */
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crops to fill the tile evenly instead of stretching */
}
.masonry-item:hover img {
  transform: scale(1.04);
}
.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 18px 10px 8px;
  font-size: 0.72rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.22s;
}
.masonry-item:hover .img-caption {
  opacity: 1;
}

/* ── Videos ─────────────────────────────────────────────────────────────── */
.videos-section {
  padding: 12px 0 58px;
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.video-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.video-thumb {
  position: relative;
}
.video-thumb img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.22);
  transition: background 0.2s;
}
.video-card:hover .play-btn {
  background: rgba(0, 0, 0, 0.1);
}
.play-btn i {
  font-size: 2.4rem;
  color: #fff;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s;
}
.video-card:hover .play-btn i {
  transform: scale(1.1);
}
.video-body {
  padding: 16px;
}
.video-body h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.4;
}
.video-body p {
  font-size: 0.81rem;
  color: var(--ink2);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ── Impact ─────────────────────────────────────────────────────────────── */
.impact-section {
  padding: 12px 0 58px;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 14px;
}
.impact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.impact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.impact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--brand);
  margin: 0 auto 12px;
}
.impact-val {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  display: block;
}
.impact-lbl {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

/* ── Testimonials ───────────────────────────────────────────────────────── */
.testimonials-section {
  padding: 12px 0 58px;
}
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}
.testimonial-text {
  font-size: 0.91rem;
  color: var(--ink2);
  line-height: 1.8;
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 11px;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--brand-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand);
}
.testimonial-info strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}
.testimonial-info span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── Story modal ────────────────────────────────────────────────────────── */
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.story-modal.open {
  display: flex;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
}
.modal-content {
  position: relative;
  z-index: 1;
  background: var(--card);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  margin-top: 44px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}
.modal-close {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 14px 0 0;
  background: var(--bg2);
  border: none;
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition:
    background 0.18s,
    color 0.18s;
}
.modal-close:hover {
  background: var(--brand);
  color: #fff;
}
.modal-hero-img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-body-inner {
  padding: 24px 28px 30px;
}
.modal-body-inner h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin: 12px 0 9px;
  line-height: 1.3;
}
.modal-meta {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 0.79rem;
  color: var(--muted);
}
.modal-meta i {
  color: var(--brand);
}
.modal-content-text {
  font-size: 0.92rem;
  color: var(--ink2);
  line-height: 1.82;
}
.modal-content-text p {
  margin-bottom: 1rem;
}
.modal-youtube {
  margin: 20px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.modal-youtube iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}
.modal-gallery {
  margin: 20px 0;
}
.modal-gallery strong {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
}
.modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 7px;
  margin-top: 9px;
}
.modal-gallery-grid img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition:
    opacity 0.18s,
    transform 0.18s;
}
.modal-gallery-grid img:hover {
  opacity: 0.82;
  transform: scale(1.03);
}
.share-row {
  display: flex;
  gap: 7px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--ink2);
  font-size: 0.79rem;
  cursor: pointer;
  transition: background 0.18s;
}
.share-btn:hover {
  background: var(--bg);
  border-color: var(--border2);
}
.related-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.related-section strong {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 10px;
}
.related-item {
  background: var(--bg2);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.18s;
}
.related-item:hover {
  background: var(--brand-s);
}
.related-item h4 {
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-item span {
  font-size: 0.7rem;
  color: var(--muted);
}

/* ── Reactions + comments ───────────────────────────────────────────────── */

.reaction-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.reaction-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--bg2);
  cursor: pointer;
  font-size: 0.87rem;
  color: var(--ink2);
  transition: all 0.18s;
}
.reaction-trigger:hover {
  border-color: var(--brand-b);
  background: var(--brand-s);
}
.reaction-trigger.reacted {
  background: var(--brand-s);
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 600;
}
.reaction-count {
  font-size: 0.8rem;
  color: var(--muted);
}
.reaction-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--bg2);
  cursor: pointer;
  font-size: 1.1rem;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.reaction-btn:hover {
  transform: scale(1.15);
}
.reaction-btn.active {
  border-color: var(--brand);
  background: var(--brand-s);
}

.comment-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--bg2);
  cursor: pointer;
  font-size: 0.87rem;
  color: var(--ink2);
  margin-top: 10px;
}
.comment-trigger:hover {
  border-color: var(--brand-b);
  background: var(--brand-s);
}
.comments-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.comments-section > strong {
  font-size: 0.85rem;
  color: var(--ink);
  display: block;
  margin-bottom: 12px;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.87rem;
  margin-bottom: 8px;
  font-family: inherit;
  box-sizing: border-box;
}
.comments-list {
  margin-top: 16px;
}
.comment-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.comment-item strong {
  font-size: 0.85rem;
}
.comment-date {
  font-size: 0.72rem;
  color: var(--muted);
  margin-left: 8px;
}
.comment-item p {
  font-size: 0.85rem;
  color: var(--ink2);
  margin-top: 4px;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--brand-b);
  background: var(--card);
}

/* ── Newsletter ─────────────────────────────────────────────────────────── */
.newsletter-section {
  padding: 12px 0 52px;
}
.newsletter-box {
  background: var(--brand);
  border-radius: var(--radius-lg);
  padding: 44px 30px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}
.newsletter-box h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.newsletter-box p {
  opacity: 0.9;
  max-width: 480px;
  margin: 0 auto 20px;
  font-size: 0.92rem;
}
#newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}
#newsletter-form input {
  flex: 1;
  padding: 11px 15px;
  border-radius: 10px;
  border: none;
  font-size: 0.9rem;
}
#newsletter-form button {
  padding: 11px 22px;
  border-radius: 10px;
  border: none;
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s;
}
#newsletter-form button:hover {
  transform: translateY(-1px);
}
#newsletter-feedback {
  margin-top: 10px;
  font-size: 0.85rem;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.stories-footer {
  padding: 40px 0;
  text-align: center;
}
.stories-footer img {
  height: 34px;
  margin: 0 auto 12px;
}
.stories-footer p {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.83rem;
  color: var(--muted);
  transition: color 0.18s;
}
.footer-links a:hover {
  color: var(--brand);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-img {
    height: 210px;
  }
  .masonry-grid {
    columns: 2;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .stories-nav .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: block;
  }
  .hero-content h1 {
    font-size: 1.75rem;
  }
  .masonry-grid {
    columns: 1;
  }
  .modal-body-inner {
    padding: 14px 16px 24px;
  }
  .modal-youtube iframe {
    height: 195px;
  }
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
