/* ============================================================
   BLOG PAGE — blog.css
   ============================================================ */

/* ── Page Banner (full definition — shared contact.css not loaded) ── */
.tan-page-banner {
  position: relative;
  height: 500px;
  background: url('../images/slider91.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -120px;
  padding-top: 120px;
}
.tan-page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.55) 100%);
}
.tan-page-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.tan-page-banner__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-family-primary);
}
.tan-page-banner__breadcrumb a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .85rem;
  transition: color .2s;
}
.tan-page-banner__breadcrumb a:hover { color: var(--primary-color); }
.tan-page-banner__sep { color: rgba(255,255,255,.5); font-size: .7rem; }
.tan-page-banner__breadcrumb span:last-child {
  color: var(--primary-color);
  font-size: .85rem;
  font-weight: 600;
}
.tan-page-banner__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  font-family: var(--font-family-primary);
  letter-spacing: .5px;
}
.tan-page-banner .tan-page-banner__subtitle {
  color: #e79520 !important;
  font-size: clamp(.8rem, 1.5vw, .95rem);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-family: var(--font-family-primary);
}

/* ── Blog Page Section ── */
.tan-bp {
  padding: 70px 0 90px;
  background: #f8f9fa;
}
.tan-bp__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Filter Bar ── */
.tan-bp__filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.tan-bp__filter-btn {
  padding: 10px 28px;
  border-radius: 30px;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #6b7280;
  font-size: .88rem;
  font-weight: 600;
  font-family: var(--font-family-primary);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.tan-bp__filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.tan-bp__filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* ── Blog Grid ── */
.tan-bp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Hidden card state */
.tan-bp__card--hidden {
  display: none !important;
}

/* ── Pagination ── */
.tan-bp__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.tan-bp__page-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #6b7280;
  font-size: .88rem;
  font-weight: 600;
  font-family: var(--font-family-primary);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tan-bp__page-btn:hover:not(:disabled) {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.tan-bp__page-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.tan-bp__page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.tan-bp__page-prev,
.tan-bp__page-next {
  padding: 0 20px;
}

/* ── Active nav link ── */
.tan-header__nav-link--active {
  color: var(--primary-color) !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .tan-bp__container { padding: 0 24px; }
  .tan-bp__grid { gap: 20px; }
}
@media (max-width: 768px) {
  .tan-page-banner { height: 320px; margin-top: -60px; padding-top: 60px; }
  .tan-bp { padding: 50px 0 60px; }
  .tan-bp__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .tan-page-banner { height: 280px; }
  .tan-page-banner__title { font-size: 1.8rem; }
  .tan-bp__container { padding: 0 16px; }
  .tan-bp__grid { grid-template-columns: 1fr; gap: 16px; }
  .tan-bp__filters { gap: 8px; flex-wrap: wrap; }
  .tan-bp__filter-btn { padding: 8px 18px; font-size: .8rem; }
}
