﻿:root {
  --bg: #07111f;
  --bg-soft: #0d1d31;
  --surface: rgba(12, 24, 38, 0.85);
  --surface-strong: #101f32;
  --surface-light: #f5f7fb;
  --primary: #66d9ef;
  --primary-strong: #41b7d6;
  --secondary: #9f7aea;
  --text: #ecf3ff;
  --muted: #a7bbd4;
  --border: rgba(148, 163, 184, 0.18);
  --shadow: 0 30px 60px rgba(2, 6, 23, 0.45);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(102, 217, 239, 0.18), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #0b1830 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 17, 31, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.nav.menu-open .nav-toggle span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.nav.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.menu-open .nav-toggle span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-banner-section {
  padding: 0 0 2rem;
}

.hero-banner-image {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy p,
.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #02111a;
  box-shadow: 0 18px 32px rgba(102, 217, 239, 0.25);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.4);
  color: var(--text);
}

.btn-secondary.dark {
  background: rgba(255, 255, 255, 0.04);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stats a {
  display: block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1rem 0.85rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.stats a:hover,
.stats a:focus-visible {
  background: rgba(102, 217, 239, 0.08);
  border-color: rgba(102, 217, 239, 0.55);
  transform: translateY(-2px);
}

.stats a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--text);
}

.stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(16, 31, 50, 0.95), rgba(10, 19, 31, 0.9));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #44d37a;
  box-shadow: 0 0 18px rgba(68, 211, 122, 0.9);
}

.profile-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
}

.profile-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.profile-copy {
  padding: 1rem 1rem 1.2rem;
}

.chip {
  display: inline-block;
  background: rgba(102, 217, 239, 0.12);
  color: var(--primary);
  border: 1px solid rgba(102, 217, 239, 0.2);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-copy h2 {
  margin: 0.9rem 0 0;
  font-size: 1.6rem;
}

.skill-list {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.skill-list li {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
}

.section {
  padding: 5rem 0;
}

.alt-section {
  background: linear-gradient(180deg, rgba(102, 217, 239, 0.04), rgba(159, 122, 234, 0.03));
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading h2,
.story-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.story-panel {
  display: grid;
  gap: 1rem;
}

.mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
}

.mini-card span {
  color: var(--primary);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.mini-card strong {
  font-size: 1.2rem;
  margin-top: 0.4rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: rgba(12, 24, 38, 0.8);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(2, 6, 23, 0.22);
}

.news-card-link {
  display: block;
}

.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.feature-card img:hover,
.lightbox-image:hover {
  transform: scale(1.02);
  filter: brightness(1.03);
}

.breaking-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.8rem;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(90deg, rgba(102, 217, 239, 0.12), rgba(159, 122, 234, 0.18));
  border: 1px solid var(--border);
  border-radius: 18px;
}

.breaking-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: #ff5f6d;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.breaking-viewport {
  min-width: 0;
  overflow: hidden;
}

.breaking-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2.5rem;
  color: var(--text);
  font-weight: 700;
}

.breaking-track.has-headlines {
  min-height: 2.5rem;
  animation: breaking-news-scroll var(--ticker-duration, 30s) linear infinite;
}

.breaking-viewport:hover .breaking-track,
.breaking-viewport:focus-within .breaking-track {
  animation-play-state: paused;
}

.breaking-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1.5rem;
}

.breaking-group span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.breaking-group span::before {
  content: "●";
  color: var(--primary);
  margin-right: 0.7rem;
}

.breaking-track a:hover,
.breaking-track a:focus-visible {
  color: var(--primary);
}

@keyframes breaking-news-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 1.25rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .breaking-viewport {
    overflow: visible;
  }

  .breaking-track,
  .breaking-track.has-headlines {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    animation: none;
    transform: none;
  }

  .breaking-group {
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
  }

  .breaking-group[aria-hidden="true"] {
    display: none;
  }

  .breaking-group span {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.card-body {
  padding: 1.2rem 1.1rem 1.35rem;
}

.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 0.42rem 0.74rem;
  background: rgba(159, 122, 234, 0.12);
  color: #d5c5ff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin: 0.9rem 0 0.75rem;
  font-size: 1.38rem;
  line-height: 1.28;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.read-more {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 800;
}

.news-archive-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.news-archive-link a {
  color: var(--primary);
  font-weight: 800;
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 2.2rem;
  background: linear-gradient(135deg, rgba(102, 217, 239, 0.08), rgba(159, 122, 234, 0.12));
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.contact-box h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.image-modal.is-open {
  display: flex;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(8px);
}

.image-modal-dialog {
  position: relative;
  width: min(90vw, 980px);
  max-height: 90vh;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow);
  z-index: 1;
}

.image-modal-dialog img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  background: #020817;
}

.image-modal-close {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  width: 2.3rem;
  height: 2.3rem;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 2;
}

#imageModalTitle {
  margin: 0.8rem 0 0;
  color: var(--text);
  font-weight: 700;
  text-align: center;
}

.news-shell {
  padding: 3rem 0 4rem;
}

.news-header {
  margin-bottom: 2rem;
}

.news-header h1 {
  margin-bottom: 0.75rem;
}

.news-header p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}

.news-list {
  display: grid;
  gap: 1.25rem;
}

.live-news-heading {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.home-news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.home-news-grid .news-summary-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-news-grid .news-summary-card:hover {
  transform: translateY(-4px);
  border-color: rgba(102, 217, 239, 0.42);
  box-shadow: 0 22px 40px rgba(2, 6, 23, 0.32);
}

.home-news-grid .news-summary-card img {
  height: 160px;
  border-radius: 0;
  cursor: zoom-in;
}

.home-news-grid .news-summary-body {
  flex: 1;
  align-items: flex-start;
  padding: 1rem;
}

.home-news-grid .news-summary-body h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 1.15rem;
  line-height: 1.35;
}

.home-news-grid .news-summary-body > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 0.92rem;
}

.home-news-grid .meta-row {
  width: 100%;
  margin-top: auto;
  padding-top: 1rem;
}

.home-news-grid .meta-row a {
  white-space: nowrap;
}

.news-summary-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1rem;
  background: rgba(12, 24, 38, 0.8);
  border: 1px solid var(--border);
  border-radius: 22px;
}

.news-summary-card.text-only {
  grid-template-columns: 1fr;
}

.news-summary-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
}

.news-summary-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-summary-body h2 {
  margin: 0.9rem 0 0.7rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.news-summary-body p {
  margin: 0;
  color: var(--muted);
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-row a {
  color: var(--primary);
  font-weight: 700;
}

.news-back {
  margin-bottom: 1.25rem;
}

.news-back a {
  color: var(--primary);
  font-weight: 700;
}

.news-article {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.7fr);
  gap: 2rem;
  align-items: start;
}

.article-content,
.news-side {
  background: rgba(12, 24, 38, 0.75);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
}

.article-content h1 {
  margin-bottom: 0.75rem;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-cover {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 1.5rem;
}

.article-content p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.side-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.side-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.side-card li + li {
  margin-top: 0.7rem;
}

.side-card a {
  color: var(--primary);
  font-weight: 700;
}

.admin-shell {
  max-width: 760px;
}

.admin-setup-note {
  margin-top: 1rem !important;
  padding: 1rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-setup-note code {
  color: var(--primary);
  overflow-wrap: anywhere;
}

.admin-panel {
  padding: 1.5rem;
  background: rgba(12, 24, 38, 0.8);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.admin-panel h2 {
  margin: 0 0 1rem;
}

.admin-form {
  display: grid;
  gap: 0.65rem;
}

.admin-form label {
  margin-top: 0.4rem;
  color: var(--text);
  font-weight: 700;
}

.admin-form label span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.admin-field-help {
  margin-top: -0.25rem;
  color: var(--muted);
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.45);
  color: var(--text);
  font: inherit;
}

.admin-form textarea {
  resize: vertical;
}

.admin-form input:focus-visible,
.admin-form textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.admin-form .btn {
  margin-top: 0.8rem;
  border: 0;
  cursor: pointer;
}

.admin-form .btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.admin-posts-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.admin-posts-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-posts-heading .eyebrow {
  margin-bottom: 0.35rem;
}

.admin-posts-heading h2 {
  margin-bottom: 0;
}

.admin-posts-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.admin-post-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.admin-post-details {
  min-width: 0;
}

.admin-post-details h3,
.admin-post-details p {
  margin: 0;
}

.admin-post-details h3 {
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.admin-post-meta,
.admin-post-preview,
.admin-posts-status {
  color: var(--muted);
}

.admin-post-meta {
  margin-top: 0.3rem !important;
  font-size: 0.82rem;
}

.admin-post-preview {
  margin-top: 0.45rem !important;
  font-size: 0.9rem;
}

.admin-posts-status.is-error {
  color: #ff8b96;
}

.admin-post-actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.55rem;
}

.admin-post-actions .btn {
  padding: 0.65rem 0.9rem;
}

.btn-danger {
  border: 1px solid rgba(255, 95, 109, 0.45);
  background: rgba(255, 95, 109, 0.12);
  color: #ff9ba4;
  cursor: pointer;
}

.btn-danger:hover,
.btn-danger:focus-visible {
  background: rgba(255, 95, 109, 0.22);
}

.btn-danger:disabled {
  cursor: wait;
  opacity: 0.65;
}

.admin-account {
  margin-bottom: 2rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--border);
}

.admin-account p {
  margin: 0 0 0.6rem;
}

.admin-account code {
  overflow-wrap: anywhere;
  color: var(--primary);
}

.admin-uid {
  color: var(--muted);
  font-size: 0.85rem;
}

.admin-status {
  min-height: 1.6em;
  margin: 1rem 0 0;
  color: var(--primary);
}

.admin-status.is-error {
  color: #ff8b96;
}

.published-story {
  max-width: 820px;
  margin: 0 auto;
}

.published-summary {
  font-size: 1.1rem;
  font-weight: 700;
}

.published-body {
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 1.3rem 0 2rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

@media (max-width: 920px) {
  .hero-grid,
  .story-grid,
  .feature-grid,
  .news-article,
  .news-summary-card {
    grid-template-columns: 1fr;
  }

  .contact-box {
    display: grid;
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: 68px;
    flex-direction: row;
    justify-content: space-between;
    padding: 0.65rem 0;
  }

  .brand {
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    z-index: 31;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0.45rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #0d1d31;
    box-shadow: var(--shadow);
  }

  .nav.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 0.8rem 0.85rem;
    border-radius: 10px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(102, 217, 239, 0.08);
  }

  .nav-links a::after {
    display: none;
  }

  .breaking-strip {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem;
  }

  .breaking-track.has-headlines {
    min-height: 2rem;
  }

  .breaking-label {
    padding: 0.45rem 0.6rem;
    font-size: 0.65rem;
  }

  .hero {
    padding: 2.75rem 0 2rem;
  }

  .hero-grid {
    gap: 1.5rem;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .hero-copy p,
  .lead {
    font-size: 1rem;
  }

  .cta-row .btn {
    flex: 1 1 140px;
    width: auto;
    padding: 0.8rem 1rem;
  }

  .hero-panel {
    padding: 1rem;
    border-radius: 22px;
  }

  .profile-card img {
    height: 210px;
  }

  .skill-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.9rem;
  }

  .skill-list li {
    padding: 0.65rem 0.75rem;
  }

  .hero-banner-section {
    padding-bottom: 1.25rem;
  }

  .hero-banner-image {
    border-radius: 14px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1.5rem;
  }

  .stats a {
    padding: 0.8rem;
    border-radius: 14px;
  }

  .stats a:last-child {
    grid-column: 1 / -1;
  }

  .stats strong {
    font-size: 1.2rem;
  }

  .stats span {
    font-size: 0.8rem;
  }

  .home-news-grid {
    grid-template-columns: 1fr;
  }

  .home-news-grid .news-summary-card {
    display: grid;
    grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr);
    align-items: stretch;
  }

  .home-news-grid .news-summary-card img {
    height: 100%;
    min-height: 175px;
  }

  .home-news-grid .news-summary-body {
    padding: 0.85rem;
  }

  .home-news-grid .news-summary-body h2 {
    margin: 0.65rem 0 0.5rem;
    font-size: 1rem;
  }

  .home-news-grid .news-summary-body > p {
    -webkit-line-clamp: 2;
    font-size: 0.85rem;
  }

  .home-news-grid .meta-row {
    flex-wrap: wrap;
    font-size: 0.8rem;
  }

  .btn {
    width: 100%;
  }

  .contact-actions {
    width: 100%;
  }

  .admin-post-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-post-actions {
    width: 100%;
  }

  .admin-post-actions .btn {
    flex: 1;
  }
}
