/* ===== PUBLIC PORTAL FIX 2 ===== */

/* Header / menu */
.public-header{
  background: linear-gradient(90deg,#151b23,#1b2633) !important;
}
.public-header .navbar{
  padding: .7rem 0 !important;
}
.public-header .btn-glow,
.public-header a.btn-glow{
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06)) !important;
  border-radius: 14px !important;
  padding: .55rem .95rem !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.public-header .btn-glow:hover,
.public-header a.btn-glow:hover{
  color:#ffffff !important;
  box-shadow: 0 0 18px rgba(77,208,255,.35), 0 0 36px rgba(13,110,253,.18) !important;
  filter: brightness(1.1) !important;
}
.public-header .btn-glow-outline,
.public-header button.btn-glow-outline{
  color:#d7ebff !important;
  border:1px solid rgba(77,208,255,.55) !important;
  background: transparent !important;
  border-radius:14px !important;
  padding:.55rem .95rem !important;
  text-decoration:none !important;
}
.public-header .btn-glow-outline:hover{
  color:#ffffff !important;
  background:rgba(13,110,253,.08) !important;
}
.public-header .nav-public-active{
  color:#ffffff !important;
  box-shadow:0 0 18px rgba(77,208,255,.35), 0 0 34px rgba(13,110,253,.18) !important;
  animation:pdiGlowBlink 1.2s infinite alternate;
}

/* Home portal cards */
.newsportal-home .portal-card .card-header{
  background: linear-gradient(180deg,#eef7ff,#edf5fb) !important;
}

/* Slider caption/title must be visible */
.portal-caption{
  left: 1.2rem !important;
  right: 1.2rem !important;
  bottom: 1.2rem !important;
  text-align: left !important;
  background: linear-gradient(180deg, rgba(9,15,23,.2), rgba(9,15,23,.78)) !important;
  border-radius: 18px !important;
  padding: 1rem 1.1rem !important;
  backdrop-filter: blur(2px);
}
.portal-caption,
.portal-caption *{
  color:#ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.portal-caption h2{
  font-size: 2rem !important;
  font-weight: 800 !important;
  margin-bottom: .4rem !important;
}
.portal-caption p{
  margin-bottom:0 !important;
  color:#eef4fb !important;
}
.portal-caption .portal-meta{
  color:#dce8f5 !important;
}

/* Headline + news titles visible */
.headline-focus h3 a,
.portal-list-body h3 a,
.headline-mini-title,
.popular-title{
  color:#0f1d2d !important;
  text-decoration:none !important;
}
.headline-focus h3 a:hover,
.portal-list-body h3 a:hover,
.headline-mini:hover .headline-mini-title,
.popular-item:hover .popular-title{
  color:#0d6efd !important;
}
.headline-focus p,
.portal-list-body p{
  color:#56677a !important;
}

/* QUICK ACCESS - force card look, not white links */
.portal-quick-card,
.newsportal-home .portal-quick-card,
.newsportal-home a.portal-quick-card{
  display:grid !important;
  grid-template-columns:52px 1fr !important;
  gap:.85rem !important;
  align-items:center !important;
  padding:1rem !important;
  border-radius:18px !important;
  text-decoration:none !important;
  transition:transform .16s ease, box-shadow .16s ease !important;
}
.portal-quick-card:hover{
  transform:translateY(-1px) !important;
  box-shadow:0 8px 20px rgba(0,0,0,.08) !important;
}
.portal-quick-icon{
  width:40px !important;
  height:40px !important;
  border-radius:12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:1.25rem !important;
  font-weight:700 !important;
}
.portal-quick-title{
  font-size:1.22rem !important;
  font-weight:700 !important;
  line-height:1.2 !important;
}
.portal-quick-sub{
  margin-top:.15rem !important;
  color:#44576b !important;
}
.portal-quick-green{
  background:#eefaf4 !important;
  border:1px solid rgba(25,135,84,.25) !important;
}
.portal-quick-green .portal-quick-icon{
  background:rgba(25,135,84,.12) !important;
  color:#198754 !important;
}
.portal-quick-green .portal-quick-title{ color:#165c3f !important; }

.portal-quick-gold{
  background:#fff8e8 !important;
  border:1px solid rgba(255,193,7,.35) !important;
}
.portal-quick-gold .portal-quick-icon{
  background:rgba(255,193,7,.16) !important;
  color:#9b6b00 !important;
}
.portal-quick-gold .portal-quick-title{ color:#5a4300 !important; }

.portal-quick-blue{
  background:#eef5ff !important;
  border:1px solid rgba(13,110,253,.22) !important;
}
.portal-quick-blue .portal-quick-icon{
  background:rgba(13,110,253,.1) !important;
  color:#0d6efd !important;
}
.portal-quick-blue .portal-quick-title{ color:#11386b !important; }

/* Popular list visible */
.popular-item,
.popular-item *{
  text-decoration:none !important;
}
.popular-num{
  width:40px !important;
  height:40px !important;
  border-radius:12px !important;
  background:linear-gradient(135deg,#0d6efd,#4dd0ff) !important;
  color:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight:800 !important;
}
.popular-date{ color:#75869b !important; }

/* Mobile menu layout */
@media (max-width: 991.98px){
  .public-nav-wrap{
    margin-top: 1rem !important;
    padding-top: .5rem !important;
  }
  .public-nav-wrap .btn,
  .public-nav-wrap a.btn{
    width: 100% !important;
  }
}
@media (max-width: 767.98px){
  .brand-copy{
    max-width:130px !important;
  }
  .brand-title{
    font-size:.95rem !important;
    line-height:1.05 !important;
  }
  .brand-subtitle{
    font-size:.72rem !important;
    line-height:1.1 !important;
  }
  .portal-slide-image{
    height: 320px !important;
  }
  .portal-caption h2{
    font-size: 1.2rem !important;
  }
}
