/* Featured article centered presentation */
.featured {
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(13,110,253,0.04), transparent);
}

.featured__wrap {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.featured__card {
  width: 100%;
  background: var(--bs-white);
  border-radius: 0.75rem;
  box-shadow: 0 8px 30px rgba(33, 37, 41, 0.08);
  overflow: hidden;
}

.featured__image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.featured__content {
  padding: 1.75rem;
}

.featured__category {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--bs-white);
  background: var(--bs-primary);
  padding: 0.25rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
}

.featured__title {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.featured__excerpt {
  color: var(--bs-secondary-color);
  margin-bottom: 1rem;
}

.featured__meta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  color: var(--bs-tertiary-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.featured__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 992px) {
  .featured__wrap {
    flex-direction: row;
    align-items: stretch;
    text-align: left;
  }

  .featured__card {
    display: flex;
    gap: 1rem;
    align-items: stretch;
  }

  .featured__image {
    width: 50%;
    height: auto;
    max-height: none;
  }

  .featured__content {
    width: 50%;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Navbar mobile visibility fixes: ensure collapsed menu can expand inside sticky header */
.header {
  overflow: visible;
}

.header .navbar-collapse.collapse {
  display: none;
}

.header .navbar-collapse.collapse.show {
  display: block !important;
}

.header .navbar-collapse {
  background: transparent;
  width: 100%;
}

.header .navbar-collapse .navbar-nav {
  padding: 0.5rem 1rem;
}

.header .navbar-toggler {
  z-index: 2000;
}
