.public-body {
  background: #f4f7fb;
  color: #1a2332;
  min-height: 100vh;
}

.public-header {
  background: #0a2540;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}

.public-header .navbar-brand {
  color: #fff !important;
  font-weight: 700;
}

.public-header .nav-link {
  color: rgba(255,255,255,.78) !important;
  font-weight: 500;
  padding: .5rem .85rem !important;
  border-radius: 8px;
}

.public-header .nav-link:hover,
.public-header .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,.1);
}

.public-header .navbar-toggler {
  border-color: rgba(255,255,255,.3);
}
.public-header .navbar-toggler-icon {
  filter: invert(1);
}

.public-logo,
.public-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}
.public-logo {
  background: linear-gradient(135deg, #2b7cd3, #0d4a8a);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  font-size: .85rem;
}
.public-logo.sm { width: 32px; height: 32px; font-size: .75rem; }
.public-footer .brand-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.hero {
  background:
    radial-gradient(ellipse at 15% 20%, rgba(30,107,184,.35), transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(13,74,138,.4), transparent 50%),
    linear-gradient(135deg, #0a2540 0%, #0d3a66 55%, #071a2e 100%);
  color: #fff;
  padding: 4.5rem 0 4rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero .lead {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  max-width: 640px;
}

.section { padding: 3.5rem 0; }
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: .35rem;
}
.section-sub {
  color: #6b7a90;
  margin-bottom: 1.75rem;
}

.pub-stat {
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
  box-shadow: 0 2px 12px rgba(10,37,64,.06);
}
.pub-stat .val {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0a2540;
  line-height: 1.1;
}
.pub-stat .lbl {
  color: #6b7a90;
  font-size: .88rem;
  margin-top: .25rem;
}

.feature-card {
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 14px;
  padding: 1.35rem;
  height: 100%;
  box-shadow: 0 2px 12px rgba(10,37,64,.06);
  transition: transform .15s;
}
.feature-card:hover { transform: translateY(-3px); }
.feature-card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #e8f1fa;
  color: #1e6bb8;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: .85rem;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.feature-card p {
  color: #6b7a90;
  font-size: .92rem;
  margin: 0;
}

.news-card {
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 2px 12px rgba(10,37,64,.06);
  display: flex;
  flex-direction: column;
}
.news-card .cover {
  height: 160px;
  background: linear-gradient(135deg, #1e6bb8, #0a2540);
  background-size: cover;
  background-position: center;
}
.news-card .body { padding: 1.1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.news-card .date { font-size: .78rem; color: #6b7a90; margin-bottom: .35rem; }
.news-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .45rem; color: #0a2540; }
.news-card p { color: #6b7a90; font-size: .9rem; flex: 1; }
.news-card a.read { font-weight: 600; font-size: .9rem; }

.type-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 999px;
  padding: .45rem .9rem;
  font-size: .88rem;
  margin: .25rem;
}
.type-pill .count {
  background: #e8f1fa;
  color: #1e6bb8;
  border-radius: 999px;
  padding: .1rem .5rem;
  font-weight: 700;
  font-size: .78rem;
}

.cta-block {
  background: linear-gradient(135deg, #0a2540, #1e6bb8);
  color: #fff;
  border-radius: 18px;
  padding: 2.5rem;
}

.public-footer {
  background: #071a2e;
  color: #fff;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.public-footer a { color: #fff; text-decoration: none; }
.public-footer a:hover { opacity: .85; }

.news-article {
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(10,37,64,.06);
}
.news-article h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #0a2540;
}
.news-article .meta { color: #6b7a90; font-size: .9rem; margin-bottom: 1.25rem; }
.news-article .cover-lg {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}
.news-article .content {
  line-height: 1.75;
  color: #2a3548;
  white-space: pre-wrap;
}

.about-panel {
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(10,37,64,.06);
}

@media (max-width: 575.98px) {
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 2.5rem 0; }
  .cta-block { padding: 1.5rem; }
}
