/* Gradient overlay on featured article tiles — Bootstrap has no gradient overlay utility */
.article-tile-gradient {
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 55%, transparent 100%);
}

/* Smooth zoom on hover — Bootstrap has no transition utility for transforms */
.article-tile-wrap .article-tile-img,
.article-card-img-wrap .article-card-img {
    transition: transform 0.35s ease;
}
.article-tile-wrap:hover .article-tile-img,
.article-card-img-wrap:hover .article-card-img {
    transform: scale(1.05);
}

/* 3px top border for category section headings — Bootstrap border utilities default to 1px */
.section-rule {
  border-top: 3px solid #E30913;
}

/* Ensure object-fit works for older Bootstrap builds that may not include the utility */
.article-tile-img,
.article-card-img {
    object-fit: cover;
}

/* Site header */
.site-header {
    border-bottom: 3px solid #E30913;
}

.site-logo {
    max-height: 90px;
    width: auto;
}

/* Category navbar */
.category-navbar {
    background-color: #E30913;
    z-index: 1021;
}

.category-nav-scroll {
    gap: 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.category-nav-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.category-nav-link {
    display: inline-block;
    padding: 0.6rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.category-nav-link:hover,
.category-nav-link:focus {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.app-footer-nav {
    font-size: 0.9rem;
}

.text-danger {
  color: #E30913 !important;
}

.page-link {
  color: #E30913;
}

  .active > .page-link, .page-link.active {
    background-color: #E30913;
    border-color: #E30913;
  }

  .disabled > .page-link, .page-link.disabled {
    background-color: #fff3f8;
  }

.facebook-icon,
.facebook-icon:hover,
.facebook-icon:active {
  background-color: #516eab !important;
  color: #fff !important;
}

.social-links .facebook-icon {
  width: 45px;
  height: 45px;
}

  .social-links .facebook-icon i {
    font-size: 35px;
    padding: 5px;
  }

.linkedin-icon,
.linkedin-icon:hover,
.linkedin-icon:active {
  background-color: #0072b1 !important;
  color: #fff !important;
}

.instagram-icon i {
  background: #d6249f; /* Fallback for older browsers */
  background: radial-gradient(circle at 30% 107%, #feda75 0%, #feda75 5%, #fa7e1e 45%, #d62976 60%, #4f5bd5 90%);
  color: #fff;
  width: 45px;
  height: 45px;
}

.instagram-icon i:before {
  font-size: 45px;
}

.btn-primary {
  color: #000000;
  background-color: #fff302;
  border-color: #fff302;
}

  .btn-primary:hover,
  .btn-primary:focus,
  .btn-primary:active {
    color: #000000;
    background-color: #e3d800;
    border-color: #e3d800;
  }

.btn-danger {
  background-color: #e30913;
}

@media screen and (min-width: 600px) {
  .navbar .search-form {
    width: 300px;
  }
}

.border-dark-subtle {
  border-color: #505159 !important;
}