/* Sekolah Islam Nurul Yaqin — design tokens and base styles */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #10201e;
  --ink-soft: #43574f;
  --teal-900: #0b3d38;
  --teal-800: #0f4f48;
  --teal-700: #14655c;
  --teal-600: #1b7a6f;
  --mint-50: #f2f7f5;
  --mint-100: #e3efea;
  --line: #d7e3de;
  --amber-700: #c2410c;
  --amber-600: #c26a0d;
  --amber-100: #fdf0dc;
  --amber-300: #f5c26b;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgb(11 61 56 / 0.06), 0 4px 12px rgb(11 61 56 / 0.05);
  --shadow-md: 0 2px 4px rgb(11 61 56 / 0.06), 0 12px 32px rgb(11 61 56 / 0.09);
  --radius: 16px;
  --radius-sm: 10px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Poppins", "Inter", system-ui, sans-serif;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 1.6rem + 1.9vw, 2.95rem);
}

h2 {
  font-size: clamp(1.55rem, 1.3rem + 1.1vw, 2.2rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--teal-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-800);
}

ul,
ol {
  padding-left: 1.15rem;
}

:focus-visible {
  outline: 3px solid var(--amber-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--teal-900);
  color: var(--white);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--white);
}

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 0.5rem + 2.2vw, 2rem);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  text-wrap: balance;
}

.brand-text small {
  font-size: 0.74rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover {
  background: var(--mint-50);
  color: var(--teal-800);
}

.nav a[aria-current="page"] {
  color: var(--teal-800);
  background: var(--mint-100);
  font-weight: 600;
}

.nav .btn {
  margin-left: 0.4rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem clamp(1rem, 0.5rem + 2.2vw, 2rem) 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.8rem 0.75rem;
  }

  .nav .btn {
    margin: 0.5rem 0 0;
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: var(--teal-800);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-900);
  color: var(--white);
}

.btn-accent {
  background: var(--amber-700);
  color: var(--white);
}

.btn-accent:hover {
  background: #9a3412;
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--teal-800);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--teal-600);
  background: var(--mint-50);
  color: var(--teal-900);
}

.btn-light {
  background: var(--white);
  color: var(--teal-900);
}

.btn-light:hover {
  background: var(--mint-100);
  color: var(--teal-900);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgb(255 255 255 / 0.45);
}

.btn-outline-light:hover {
  background: rgb(255 255 255 / 0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 0.95rem;
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}

.section-tint {
  background: var(--mint-50);
}

.section-dark {
  background: var(--teal-900);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: #cfdfdb;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 0.6rem;
}

.section-dark .eyebrow {
  color: var(--amber-300);
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.section-dark .lede {
  color: #cfdfdb;
}

/* Hero */
.hero {
  background: var(--mint-50);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal-700);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.hero-figure {
  position: relative;
}

.hero-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-caption {
  position: relative;
  margin: -2.25rem 1rem 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.figure-note {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.figure-note strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.hero-caption strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

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

/* Facts strip */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 1rem + 3vw, 3rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem);
  color: var(--teal-800);
  line-height: 1.1;
}

.fact span {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
  }
}

/* Cards and grids */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  align-items: start;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card h2 {
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem);
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal-800);
  background: var(--mint-100);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}

.tag-amber {
  color: #7a3f04;
  background: var(--amber-100);
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.program-card .program-level {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
}

.program-card ul {
  margin: 0.5rem 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.program-card li + li {
  margin-top: 0.35rem;
}

.program-card .card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Feature list */
.feature {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.feature-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mint-100);
  color: var(--teal-800);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.feature p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 2.9rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-800);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.steps h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.steps p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
  }
}

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

@media (max-width: 620px) {
  .hero-caption {
    margin: 0.75rem 0 0;
    box-shadow: none;
  }
}

.notice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 1.25rem 2rem;
  align-items: start;
}

.notice-grid ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.94rem;
  color: #4a3a28;
}

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

/* Callout */
.callout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: center;
  background: var(--teal-800);
  color: var(--white);
  border-radius: 20px;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}

.callout h2 {
  color: var(--white);
}

.callout p {
  color: #d5e5e1;
}

.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

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

/* Notice / free programme */
.notice {
  border: 1px solid var(--amber-300);
  background: #fffaf1;
  border-radius: var(--radius);
  padding: clamp(1.25rem, 1rem + 1vw, 1.9rem);
}

.notice h3 {
  color: #7a3f04;
}

.notice p {
  color: #4a3a28;
  font-size: 0.95rem;
}

.notice h4 {
  font-size: 1rem;
}

.notice .tag {
  margin-bottom: 0.75rem;
}

/* Page header */
.page-head {
  background: var(--mint-50);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
}

.page-head h1 {
  margin-bottom: 0.6rem;
}

.page-head p {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}

.breadcrumb a {
  color: var(--ink-soft);
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.65rem;
  max-width: 780px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.2rem 1.1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.9rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  color: var(--teal-700);
  font-size: 1.2rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding-bottom: 1rem;
  margin: 0;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

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

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 620px;
}

caption {
  text-align: left;
  padding: 1rem 1.15rem 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

th,
td {
  padding: 0.85rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

thead th {
  background: var(--mint-50);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-800);
}

tbody th {
  font-weight: 600;
  white-space: nowrap;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 620px;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
}

.field .hint {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

input,
select,
textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #b9cbc5;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  min-height: 46px;
  width: 100%;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--teal-600);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

/* Contact */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.contact-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 0.2rem;
  color: var(--teal-700);
}

.contact-list strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  font-weight: 600;
}

.map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mint-50);
}

.map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--teal-900);
  color: #cfdfdb;
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem) 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2rem;
}

.site-footer h2 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-300);
  margin-bottom: 0.9rem;
}

.site-footer a {
  color: #cfdfdb;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
}

.footer-brand strong {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  line-height: 1.25;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.93rem;
}

.footer-address {
  font-size: 0.93rem;
  font-style: normal;
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #9fc4be;
}

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

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

/* Utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.25rem; }
.mt-3 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--ink-soft); }

[hidden] { display: none !important; }
.small { font-size: 0.875rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* News cards filled from the CMS feed */
.news-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card > a {
  display: block;
  line-height: 0;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--mint-100);
}

.news-card-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.news-card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

.news-card h3 a {
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 3px;
}

.news-card h3 a:hover,
.news-card h3 a:focus-visible {
  text-decoration: underline;
}

.news-card p {
  margin: 0;
}

.news-card .card-meta {
  margin: 0;
  font-size: 0.83rem;
  color: var(--ink-soft);
}
