/* ======================================================
   ARTICLES PAGE
====================================================== */

.bch-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* Hero Search */

.bch-articles-page .interior-hero p {
  margin: 0;
}

.interior-hero h2.bch-hero-search-label {
  margin: 18px 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}

.bch-hero-search-form {
  max-width: 350px;
  margin: 0;
}

.bch-hero-search-box {
  position: relative;
}

.bch-hero-search-box input[type="search"] {
  width: 100%;
  height: 45px;
  border: 2px solid var(--teal);
  border-radius: 6px;
  background: #ffffff;
  color: var(--navy);
  font-size: 15px;
  padding: 0 100px 0 18px;
  box-shadow: 0 8px 18px rgba(15, 65, 141, 0.06);
}

.bch-hero-search-box input[type="search"]::placeholder {
  color: var(--muted);
}

.bch-hero-search-box input[type="search"]:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 138, 122, 0.12);
}

.bch-hero-search-box button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  padding: 0 20px;
  border: none;
  border-radius: 6px;
  background: var(--teal);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.bch-hero-search-box button:hover {
  background: var(--navy);
}

.bch-article-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(7, 31, 63, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bch-article-card > div {
  padding: 18px 18px 0px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bch-article-card img,
.bch-article-noimg {
  flex: 0 0 160px;
  min-height: 160px;
  max-height: 160px;
}

.bch-article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(7, 31, 63, 0.10);
}

.bch-article-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.bch-article-noimg {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-teal);
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.bch-article-tag {
  display: inline-block;
  background: var(--teal);
  color: #ffffff;
  border-radius: 6px;
  padding: 4px 8px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.bch-article-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.25;
  color: var(--navy);
}

.bch-article-card:hover h3 {
  color: var(--teal);
}

.bch-article-meta {
  margin-top: auto;
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* Pagination */

.pagination,
.navigation.pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--navy);
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  background: #ffffff;
}

.pagination .page-numbers:hover {
  background: var(--soft-teal);
  border-color: var(--teal);
  color: var(--teal);
}

.pagination .page-numbers.current {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

.pagination .page-numbers.dots {
  border: none;
  background: none;
}

/* Responsive */

@media (max-width: 980px) {
  .bch-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .bch-articles-grid {
    grid-template-columns: 1fr;
  }
}

