/* =========================
   Pages
========================= */

.page-title {
  font-family: "Open Sans Condensed",sans-serif;
  font-weight: 600;
  color: var(--pr);
  margin-top: 0.75rem;
}

/* =========================
   HEADER
========================= */

/* --- Top utility bar --- */
.header-topbar {
  background: var(--pr);
  padding: 0.35rem 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.03em;
}

.header-topbar a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.15s;
}

.header-topbar a:hover {
  color: var(--ac);
}

.header-topbar .topbar-sep {
  opacity: 0.35;
  margin: 0 0.5rem;
}

/* --- Main header — frosted glass --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: linear-gradient(
    to bottom,
    rgba(153, 208, 236, 0.85),
    rgba(199, 225, 239, 0.85)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* =========================
   LOGO
========================= */
.site-logo {
  height: 44px;
  width: auto;
}

/* =========================
   NAV
========================= */
/* --- Nav links --- */
.site-header .navbar-nav .nav-link {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.875rem;
  color: var(--pr);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: color 0.15s;
}

.site-header .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--ac);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  border-radius: 1px;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link.active {
  color: var(--pr);
}

.site-header .navbar-nav .nav-link:hover::after,
.site-header .navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* =========================
   HEADER SOCIAL
========================= */
/* --- Social icons in header --- */
.site-header .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
  color: var(--pr);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(26, 82, 118, 0.3);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.site-header .social-icon:hover {
  background: var(--pr);
  color: var(--wh);
  border-color: var(--pr);
  transform: translateY(-1px);
}

/* =============================================
   EV FOOTER
   ============================================= */

:root {
  --pr:  #1a5276;
  --ac:  #e67e22;
  --tx:  #212529;
  --mu:  #6c757d;
  --bd:  #dee2e6;
  --bg:  #f8f9fa;
  --wh:  #ffffff;
}

/* --- News / pre-footer block — shaded zone starts here --- */
.related-news {
  background: #f0f3f5;
  border-top: 3px solid var(--pr);
}

.related-news .section-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pr);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ac);
  display: inline-block;
}

.related-news .news-subtitle {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mu);
  margin: 1rem 0 0.4rem;
}

.related-news .news-block {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.875rem;
  color: var(--mu);
  line-height: 1.6;
}

.related-news .news-block a.news,
.related-news .news-block ul.news-text a {
  color: var(--pr);
  text-decoration: none;
}

.related-news .news-block a.news:hover,
.related-news .news-block ul.news-text a:hover {
  color: var(--ac);
  text-decoration: underline;
}

.related-news .news-block ul.news-text {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0;
}

.related-news .news-block ul.news-text li {
  margin-bottom: 0.3rem;
}

.related-news .list-group-item {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.875rem;
  color: var(--tx);
  background: transparent;
  border-color: var(--bd);
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  transition: color 0.15s;
}

.related-news .list-group-item:hover {
  color: var(--pr);
  background: transparent;
}

/* Social circles */
.social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s, opacity 0.15s;
}

.social-circle:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.social-circle.facebook,
.social-circle.twitter {
  background: var(--pr);
  border-color: var(--pr);
  color: var(--wh);
}

.social-circle.instagram,
.social-circle.blog {
  background: var(--ac);
  border-color: var(--ac);
  color: var(--wh);
}

.social-circle.share {
  background: var(--wh);
  border-color: var(--bd);
  color: var(--pr);
}

/* =============================================
   FOOTER BAR
   ============================================= */

/* Shaded separator: the related-news + footer share a grey zone
   that breaks cleanly from the white page body above */
.footer-zone {
  background: #f0f3f5;
  border-top: 3px solid var(--pr);
}

.site-footer {
  background: #f0f3f5;
}
.footer-divider {
  border: none;
  border-top: 1px solid var(--bd);
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-start;
  }
}

.footer-link {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.8rem;
  color: var(--mu);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-link:hover {
  color: var(--pr);
}

.footer-sep {
  color: var(--bd);
  font-size: 0.8rem;
}

.footer-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.8rem;
  color: var(--mu);
}

/* =========================
   SECTION TITLES
========================= */
.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #C3CAAE;
  margin-top: 6px;
  opacity: 0.8;
}

/* SUB TITLES */
.news-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #0b2a3a;
}

/* =========================
   NEWS BLOCK (CRON OUTPUT)
========================= */
.news-block {
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 10px 0;
  margin-bottom: 1.5rem;
}

.news-block .newstitle {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #0b2a3a;
}

.news-block a,
.news-block a.news {
  color: #0b2a3a;
  text-decoration: none;
  transition: 0.2s ease;
}

.news-block a:hover {
  color: #1877f2;
  text-decoration: underline;
}

.news-block ul {
  padding-left: 18px;
  margin-top: 8px;
}

.news-block li {
  margin-bottom: 6px;
}

/* =========================
   MOBILE ADJUSTMENTS
========================= */
@media (max-width: 576px) {
  .site-logo {
    height: 32px;
  }

  .site-footer {
    text-align: center;
  }
}



/* --- Mobile toggler --- */
.site-header .navbar-toggler {
  border-color: var(--bd);
  padding: 0.3rem 0.6rem;
}

.site-header .navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(26,82,118,0.2);
}

/* --- Mobile menu spacing --- */
@media (max-width: 991px) {
  .site-header .navbar-nav .nav-link {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--bd);
  }

  .site-header .navbar-nav .nav-link::after {
    display: none;
  }

  .site-header .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .site-header .social-wrap {
    justify-content: center;
    padding: 0.75rem 0 0.25rem;
  }
}
