/* Website Blogs listing page */

.wb-hero {
  position: relative;
  padding: 86px 0 54px;
  color: #fff;
  background: #0b1220;
  overflow: hidden;
}
.wb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--wb-hero-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  transform: scale(1.02);
}
.wb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,18,32,0.92), rgba(13,71,161,0.40));
}
.wb-hero .container { position: relative; z-index: 1; }
.wb-breadcrumbs a { color: rgba(252,194,0,0.96); text-decoration: none; }
.wb-breadcrumbs a:hover { text-decoration: underline; }
.wb-breadcrumbs .text-muted { color: rgba(252,194,0,0.82) !important; }
.wb-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #f5fbff;
  display: inline;
  padding: 0.12rem 0.42rem;
  background: rgba(6, 26, 38, 0.60);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-left: 4px solid rgba(252, 194, 0, 0.95);
}
.wb-subtitle { color: rgba(255,230,140,0.96); text-shadow: 0 6px 16px rgba(0,0,0,0.35); }

.wb-section { padding: 56px 0; }
.wb-intro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.wb-intro-item {
  border: 1px solid rgba(17,24,39,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,249,252,1));
  padding: 11px 12px;
}
.wb-intro-k {
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #6b7280;
}
.wb-intro-v {
  margin-top: 2px;
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
}
.wb-filter-card {
  border: 1px solid rgba(17,24,39,0.10);
  background: #fff;
  padding: 16px;
  position: sticky;
  top: 84px;
}
.wb-filter-title { font-weight: 900; color: #111827; }
.wb-filter-label { font-weight: 800; color: #111827; margin: 10px 0 6px; }
.wb-filter-list .list-group-item {
  border: 0;
  border-bottom: 1px solid rgba(17,24,39,0.08);
  border-radius: 0;
  padding: 10px 10px;
  font-weight: 700;
  color: #111827;
}
.wb-filter-list .list-group-item:last-child { border-bottom: 0; }
.wb-filter-list .list-group-item.active { background: #0d47a1; border-color: #0d47a1; color: #fff; }

.wb-empty {
  border: 1px dashed rgba(17,24,39,0.20);
  padding: 22px;
  background: rgba(13,71,161,0.02);
}
.wb-empty-title { font-weight: 900; }

.wb-card {
  border: 1px solid rgba(17,24,39,0.10);
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.wb-card:hover { transform: translateY(-2px); border-color: rgba(13,71,161,0.25); box-shadow: 0 14px 28px rgba(0,0,0,0.10); }
.wb-card-media {
  display: block;
  background: rgba(13,71,161,0.03);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.wb-card-media img { width: 100%; height: 100%; object-fit: cover; }
.wb-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #0d47a1;
}
.wb-card-body { padding: 14px 14px 10px; }
.wb-card-title { font-weight: 900; color: #111827; line-height: 1.2; }
.wb-card-subtitle { font-size: 0.92rem; margin-top: 6px; min-height: 20px; }
.wb-card-footer { padding: 0 14px 14px; margin-top: auto; }
.wb-pagination .pagination { justify-content: center; }
.wb-pagination .page-link { border-radius: 0; }

#wbBlogsPane.is-loading { opacity: 0.65; pointer-events: none; }

/* Distinct editorial layout */
.wb-featured {
  border: 1px solid rgba(17,24,39,0.14);
  background: #fff;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
}
.wb-featured-media {
  position: relative;
  min-height: 320px;
  background: #eef2f7;
  overflow: hidden;
}
.wb-featured-slider {
  position: absolute;
  inset: 0;
}
.wb-featured-track-link {
  display: block;
  width: 100%;
  height: 100%;
}
.wb-featured-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.wb-featured-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 300ms ease;
}
.wb-featured-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.wb-featured-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wb-featured-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(11,18,32,0.40);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wb-featured-prev { left: 10px; }
.wb-featured-next { right: 10px; }
.wb-featured-nav:hover { background: rgba(11,18,32,0.62); }
.wb-featured-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 6px;
}
.wb-featured-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.55);
  padding: 0;
}
.wb-featured-dot.is-active { background: #fff; }
.wb-featured .wb-card-placeholder {
  height: 100%;
}
.wb-featured-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wb-featured-kicker {
  color: #7c2d12;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.wb-featured-title {
  margin-top: 7px;
  margin-bottom: 7px;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 900;
}
.wb-featured-title a { color: #111827; text-decoration: none; }
.wb-featured-title a:hover { color: #0d47a1; }
.wb-featured-subtitle { font-size: 0.95rem; }
.wb-featured-meta {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: #4b5563;
  font-size: 0.84rem;
  font-weight: 700;
}
.wb-featured-desc {
  margin-top: 10px;
  color: #111827;
  font-size: 0.92rem;
  line-height: 1.55;
}

.wb-story {
  border: 1px solid rgba(17,24,39,0.12);
  background: #fff;
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 170px;
}
.wb-story-media {
  display: block;
  background: #eef2f7;
}
.wb-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wb-story-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
}
.wb-story-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 700;
}
.wb-story-title {
  margin-top: 6px;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.3;
}
.wb-story-title a { color: #111827; text-decoration: none; }
.wb-story-title a:hover { color: #0d47a1; }
.wb-story-subtitle { font-size: 0.86rem; line-height: 1.45; }
.wb-story-link {
  margin-top: auto;
  text-decoration: none;
  color: #0d47a1;
  font-weight: 800;
  font-size: 0.84rem;
}

@media (max-width: 991.98px) {
  .wb-intro-strip { grid-template-columns: 1fr; }
  .wb-filter-card { position: static; }
  #wbFiltersBody.is-collapsed { display: none; }
  .wb-featured { grid-template-columns: 1fr; }
  .wb-featured-media { min-height: 230px; }
}

@media (max-width: 575.98px) {
  .wb-story { grid-template-columns: 1fr; }
  .wb-story-media { min-height: 170px; }
}

