/* ---------- Page Shell ---------- */
:root {
  --red: #c40000;                   /* MKSS red */
  --glass: rgba(255, 255, 255, .16);
  --glass-strong: rgba(255, 255, 255, .22);
  --stroke: rgba(255, 255, 255, .28);
  --ink: #111;
  --muted: #333;
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(255,255,255,.15), transparent 60%),
    radial-gradient(900px 500px at 85% 110%, rgba(255,255,255,.10), transparent 60%),
    #f3f4f6;
}

/* ---------- Header / Footer ---------- */
.page{
  padding: clamp(16px, 3vw, 40px);
  max-width: 1200px;
  margin: 0 auto;
}

.page__header{
  text-align: center;
  color: #fff;
  margin-bottom: clamp(20px, 4vw, 36px);
  text-shadow: 0 8px 30px rgba(0,0,0,.35);
}

.page__header h1{
  margin: 0 0 8px 0;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: .5px;
  color: rgb(240, 0, 0);
}

.page__sub{
  margin: 0 auto;
  max-width: 820px;
  opacity: .95;
  font-weight: 500;
  color: #111;
}

.page__footer{
  text-align: center;
  color: #fff;
  opacity: .9;
  margin-top: clamp(24px, 5vw, 56px);
}

/* ---------- Articles Grid ---------- */
.articles{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(50px, 2vw, 94px);
}

/* ---------- Card ---------- */
/* 12 columns on mobile, split media/text inside the card on larger screens */
.card {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(12px, 2vw, 24px);
  padding: clamp(16px, 2.5vw, 26px);
  border-radius: var(--radius);

/* ✨ White Glass Surface */
background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(0, 0, 0, 0.12) 100%
);

/* ✅ Better glass effect (strong frosted blur) */
backdrop-filter: blur(20px) saturate(260%);
-webkit-backdrop-filter: blur(20px) saturate(260%);


  border: 1.5px solid rgba(201, 0, 0, 0.35);

  /* ✅ Strong depth shadow */
  box-shadow:
    0 25px 65px rgba(0, 0, 0, .55),
    inset 0 0 20px rgba(255,255,255,.10),
    inset 0 0 4px rgba(255,255,255,.45);

  /* ✅ Smooth 3D hover effect */
  transition: transform .35s ease, box-shadow .35s ease;
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, .65),
    inset 0 0 30px rgba(255,255,255,.16);
}




/* Stack media & text on small screens */
@media (max-width: 860px){
  .card{ grid-template-columns: 1fr; }
}

/* ---------- Media (no cropping) ---------- */
.card__media{
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
  background: #f8f8f8;
  box-shadow: 0 10px 25px rgba(0,0,0,.20);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__media img{
  display: block;
  width: 100%;
  height: auto;                /* ★ prevents cropping */
  object-fit: contain;         /* ★ show full image */
  transition: transform .6s ease, filter .5s ease;
  cursor: zoom-in;
}

.card:hover .card__media img{
  transform: scale(1.03);
  filter: brightness(1.03);
}

/* ---------- Body ---------- */
.card__body{
  display: grid;
  align-content: start;
  gap: clamp(10px, 1.4vw, 18px);
  color: #000;
}

.card__title{
  margin: 2px 0 6px 0;
  font-size: clamp(18px, 2.4vw, 28px);
  color: rgb(255, 0, 0);
  line-height: 1.2;
}

.card__text{
  margin: 0;
  color: #000000;
  line-height: 1.68;
  font-size: clamp(14px, 1.4vw, 16.5px);
}

/* ---------- Extra Responsiveness ---------- */
/* give a bit more breathing room on extra-wide screens */
@media (min-width: 1280px){
  .page{ max-width: 1320px; }
}

@media (max-width: 520px){
  .articles{
    gap: clamp(30px, 6vw, 60px); /* ✅ more breathing room on mobile */
  }
  .card{
    padding: clamp(14px, 3vw, 22px);
  }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce){
  .card__media img{ transition: none; }
}















/* Global font setup */
body {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  color: #222;
}

/* Headlines */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #111;
}

/* Article subtext / metadata */
.meta {
  font-family: 'Merriweather', serif;
  font-size: 0.9rem;
  color: #555;
}
