/* =========================================================
   MGMP Informatika, Koding & KA Bojonegoro — Design System
   ========================================================= */
:root {
  --bg: #070b18;
  --bg-2: #0b1124;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(148, 163, 255, 0.14);
  --border-strong: rgba(148, 163, 255, 0.28);
  --text: #e7ecff;
  --muted: #94a0c6;
  --dim: #64709a;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --grad: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 55%, #ec4899 100%);
  --grad-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(139, 92, 246, 0.18));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 0 0 1px rgba(139, 92, 246, 0.3), 0 10px 40px -10px rgba(139, 92, 246, 0.5);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(800px 500px at 100% 10%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(236, 72, 153, 0.10), transparent 60%);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(148, 163, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top, #000 20%, transparent 75%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
[data-lucide] { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; font-family: inherit; color: var(--text);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); background-size: 200% 200%; color: #fff; box-shadow: 0 10px 30px -10px rgba(139, 92, 246, .8); animation: gradShift 6s ease infinite; }
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(139, 92, 246, .95); }
.btn-ghost { background: var(--surface); border-color: var(--border); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--border-strong); background: var(--surface-2); }
.btn-danger { background: rgba(248, 113, 113, .12); border-color: rgba(248, 113, 113, .35); color: #fecaca; }
.btn-danger:hover { background: rgba(248, 113, 113, .22); }
.btn-sm { padding: .5rem .9rem; font-size: .85rem; }
.btn-icon { padding: .55rem; border-radius: 10px; }
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled { background: rgba(7, 11, 24, .72); backdrop-filter: blur(18px) saturate(140%); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; font-weight: 800; }
.brand-logo { width: 42px; height: 42px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-weight: 500; font-size: .7rem; color: var(--muted); letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: .55rem 1rem; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; gap: .5rem; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: .5rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 4rem 0 5rem; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem .4rem .45rem;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  font-size: .82rem; color: var(--muted); backdrop-filter: blur(10px);
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.eyebrow .dot [data-lucide] { width: 12px; height: 12px; color: #fff; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; margin: 1.2rem 0 1rem; }
.hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.typed { font-family: var(--mono); color: var(--cyan); }
.typed::after { content: '▋'; animation: blink 1s steps(1) infinite; margin-left: 2px; color: var(--violet); }
@keyframes blink { 50% { opacity: 0; } }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2rem 0 2.5rem; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 560px; }
.stat { padding: 1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.stat strong { display: block; font-size: 1.7rem; font-weight: 800; }
.stat span { font-size: .8rem; color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual .glow-ring { position: absolute; inset: 8%; border-radius: 50%; background: var(--grad); filter: blur(80px); opacity: .35; animation: pulse 6s ease-in-out infinite; }
.hero-visual img { position: relative; border-radius: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); animation: float 7s ease-in-out infinite; }
.code-card {
  position: absolute; left: -30px; bottom: 30px; padding: 1rem 1.2rem; border-radius: 14px;
  background: rgba(11, 17, 36, .85); border: 1px solid var(--border-strong); backdrop-filter: blur(14px);
  font-family: var(--mono); font-size: .8rem; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite reverse;
}
.code-card .k { color: var(--violet); } .code-card .s { color: var(--green); } .code-card .f { color: var(--cyan); } .code-card .c { color: var(--dim); }
.badge-float {
  position: absolute; right: -10px; top: 30px; display: flex; gap: .6rem; align-items: center;
  padding: .7rem 1rem; border-radius: 14px; background: rgba(11, 17, 36, .85); border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px); font-size: .85rem; animation: float 8s ease-in-out infinite;
}
.badge-float .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { opacity: .25; transform: scale(.95); } 50% { opacity: .45; transform: scale(1.05); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); background: rgba(255, 255, 255, .02); overflow: hidden; padding: 1rem 0; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: scroll 40s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: .6rem; color: var(--muted); font-family: var(--mono); font-size: .9rem; }
.marquee-track span::before { content: '◆'; color: var(--violet); font-size: .7rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin: .4rem 0 0; }
.section-head p { color: var(--muted); max-width: 520px; margin: .6rem 0 0; }
.kicker { font-family: var(--mono); font-size: .8rem; color: var(--cyan); letter-spacing: .08em; text-transform: uppercase; }
.page-hero { padding: 3.5rem 0 1.5rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  backdrop-filter: blur(10px);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--glow); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.post-card { display: flex; flex-direction: column; height: 100%; }
.post-cover { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--grad-soft); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .post-cover img { transform: scale(1.06); }
.cover-fallback { width: 100%; height: 100%; display: grid; place-items: center; position: relative; overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, .35), transparent 50%), radial-gradient(circle at 70% 70%, rgba(139, 92, 246, .45), transparent 55%), #0e1530; }
.cover-fallback::before { content: '</>'; font-family: var(--mono); font-size: 3rem; font-weight: 700; color: rgba(255, 255, 255, .18); }
.cover-fallback.kegiatan::before { content: '{ }'; }
.post-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post-body h3 { font-size: 1.15rem; margin: 0; transition: color .2s; }
.card:hover .post-body h3 { color: var(--cyan); }
.post-body p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.meta { display: flex; align-items: center; gap: .9rem; color: var(--dim); font-size: .82rem; flex-wrap: wrap; }
.meta span { display: inline-flex; align-items: center; gap: .35rem; }
.meta [data-lucide] { width: 14px; height: 14px; }
.tag { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .02em; }
.tag-berita { background: rgba(34, 211, 238, .12); color: var(--cyan); border: 1px solid rgba(34, 211, 238, .3); }
.tag-kegiatan { background: rgba(139, 92, 246, .14); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, .35); }
.tag-draft { background: rgba(251, 191, 36, .12); color: var(--amber); border: 1px solid rgba(251, 191, 36, .3); }
.tag-published { background: rgba(52, 211, 153, .12); color: var(--green); border: 1px solid rgba(52, 211, 153, .3); }
.tag-admin { background: rgba(236, 72, 153, .14); color: #f9a8d4; border: 1px solid rgba(236, 72, 153, .35); }
.post-cover .tag { position: absolute; top: 14px; left: 14px; backdrop-filter: blur(8px); background: rgba(7, 11, 24, .7); }

/* Featured */
.news-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; }
.featured { display: grid; grid-template-rows: auto 1fr; }
.featured .post-cover { aspect-ratio: 16/9; }
.featured .post-body h3 { font-size: 1.6rem; }
.news-list { display: flex; flex-direction: column; gap: 1rem; }
.news-item { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: .8rem; align-items: center; }
.news-item .post-cover { aspect-ratio: 1; border-radius: 12px; }
.news-item h3 { font-size: 1rem; margin: 0 0 .35rem; }
.card:hover.news-item h3 { color: var(--cyan); }

/* Events */
.event-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.event-card { display: flex; gap: 1.2rem; padding: 1.3rem; align-items: flex-start; }
.date-badge {
  flex-shrink: 0; width: 74px; text-align: center; border-radius: 14px; padding: .7rem 0;
  background: var(--grad-soft); border: 1px solid var(--border-strong);
}
.date-badge strong { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1; }
.date-badge span { font-size: .78rem; text-transform: uppercase; color: var(--muted); letter-spacing: .08em; font-family: var(--mono); }
.event-card h3 { font-size: 1.1rem; margin: .4rem 0; }
.event-card p { color: var(--muted); font-size: .9rem; margin: .3rem 0 .6rem; }
.status-dot { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 600; color: var(--green); }
.status-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); animation: pulse 2s infinite; }
.status-dot.done { color: var(--dim); }
.status-dot.done::before { box-shadow: none; animation: none; }

/* Features */
.feature { padding: 1.8rem; }
.feature .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border-strong); margin-bottom: 1.2rem; color: var(--cyan); }
.feature .ic [data-lucide] { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Members */
.member-card { padding: 1.6rem 1.2rem; text-align: center; }
.avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.4rem; overflow: hidden; position: relative;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, .2);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { width: 36px; height: 36px; font-size: .8rem; margin: 0; box-shadow: none; }
.avatar-xs { width: 28px; height: 28px; font-size: .7rem; margin: 0; box-shadow: none; }
.member-card h3 { font-size: 1rem; margin: 0 0 .2rem; }
.member-card .pos { font-size: .82rem; color: var(--cyan); font-weight: 600; }
.member-card .school { font-size: .82rem; color: var(--muted); margin-top: .3rem; }

/* CTA */
.cta {
  position: relative; padding: 3.5rem; border-radius: 28px; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(139, 92, 246, .2) 50%, rgba(236, 72, 153, .14));
  border: 1px solid var(--border-strong);
}
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 1.8rem; }

/* ---------- Detail ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article-cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin: 2rem 0; aspect-ratio: 16/8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin: 1rem 0; }
.article-content { font-size: 1.08rem; color: #cfd6f3; }
.article-content p { margin-bottom: 1.3em; }
.event-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0; }
.event-info .item { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.event-info .item .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--cyan); }
.event-info small { display: block; color: var(--dim); font-size: .78rem; }
.author-box { display: flex; align-items: center; gap: .8rem; }
.back-link { display: inline-flex; gap: .4rem; align-items: center; color: var(--muted); font-size: .9rem; }
.back-link:hover { color: var(--cyan); }

/* ---------- Forms ---------- */
.search-bar { display: flex; gap: .6rem; max-width: 520px; margin-top: 1.5rem; }
.input, .select, .textarea {
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03); color: var(--text); font-family: inherit; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); background: rgba(255, 255, 255, .05); }
.select option { background: var(--bg-2); }
.textarea { min-height: 280px; resize: vertical; line-height: 1.7; }
.input-icon { position: relative; }
.input-icon [data-lucide] { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.input-icon .input { padding-left: 2.7rem; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; padding: 0 .8rem; }
.pagination .current { background: var(--grad); border-color: transparent; color: #fff; }
.pagination a:hover { border-color: var(--border-strong); }

.empty { text-align: center; padding: 4rem 1rem; color: var(--muted); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty [data-lucide] { width: 42px; height: 42px; color: var(--dim); margin-bottom: .8rem; }

/* ---------- Flash ---------- */
.flash { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-size: .93rem; animation: slideIn .4s var(--ease); }
.flash-success { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); color: #a7f3d0; }
.flash-error { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); color: #fecaca; }
.flash ul { margin: 0; padding-left: 1.1rem; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; margin-top: 3rem; background: rgba(0, 0, 0, .2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer h4 { font-size: .95rem; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a, .footer p { color: var(--muted); font-size: .92rem; }
.footer a:hover { color: var(--cyan); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 1rem; color: var(--dim); font-size: .85rem; flex-wrap: wrap; }

/* ---------- Login ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-right: 1px solid var(--border); }
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.auth-side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 24, .3), rgba(7, 11, 24, .95)); }
.auth-side > * { position: relative; z-index: 1; }
.auth-side h2 { font-size: 2.2rem; font-weight: 800; }
.auth-main { display: grid; place-items: center; padding: 2rem; }
.auth-card { width: min(420px, 100%); }
.auth-card h1 { font-size: 2rem; font-weight: 800; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .87rem; font-weight: 600; margin-bottom: .45rem; color: #c7cfee; }
.hint { font-size: .8rem; color: var(--dim); margin-top: .35rem; }
.demo-box { margin-top: 1.5rem; padding: 1rem; border-radius: var(--radius-sm); border: 1px dashed var(--border-strong); font-size: .85rem; color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .news-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: 76px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; padding: 1rem; border-radius: var(--radius); background: rgba(11, 17, 36, .96); border: 1px solid var(--border); backdrop-filter: blur(18px); display: none; }
  .nav-links.open { display: flex; }
  .nav-actions .btn-ghost { display: none; }
  .event-list, .footer-grid, .auth-wrap, .event-info { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .code-card { left: 0; }
  .badge-float { right: 0; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 90px 1fr; }
  .cta { padding: 2.2rem 1.4rem; }
  .brand-text small { display: none; }
}
