/* =====================================================
   BLOG LISTING PAGE
===================================================== */
.pg-hero {
    min-height: auto !important;
    padding: 60px 0px !important;
}
.nh-body {
  background: #FFFFFF;
  color: #101214;
  -webkit-font-smoothing: antialiased;
}

.nh-body .container-xl {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

.bl-section {
  position: relative;
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .bl-section {
    padding: 3.2rem 0;
  }
}

.bl-section--light {
  background: #F3F5F7;
  border-top: 1px solid #E3E6E9;
  border-bottom: 1px solid #E3E6E9;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---- H1 (hero-title): 40px desktop / 32px tablet / 25px phone ---- */
.nh-body .pg-hero .hero-title {
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff !important;
  margin: 0;
}

.nh-body .pg-hero .post-page{
  text-align: center !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  .nh-body .pg-hero .hero-title {
    font-size: 32px;
  }
  .nh-body .ph-hero .post-page{
    text-align: left;
  }
}

@media (max-width: 576px) {
  .nh-body .pg-hero .hero-title {
    font-size: 25px;
  }
}

.nh-body .pg-hero .hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .62);
  max-width: 58ch;
  margin: 0 0 1.8rem;
}

@media (max-width: 768px) {
  .nh-body .pg-hero .hero-desc {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* ---- H2: 35px desktop / 30px tablet / 23px mobile ---- */
.nh-body h2 {
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  color: #101214;
  font-size: 35px;
}

@media (max-width: 992px) {
  .nh-body h2 {
    font-size: 30px;
  }
  .bp-post-body table{
    max-width: 100%;
    overflow: scroll;
  }
}

@media (max-width: 768px) {
  .nh-body h2 {
    font-size: 23px;
  }
}

/* =====================================================
   SEARCH + CATEGORY TOOLBAR
===================================================== */
.bl-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 3rem;
}

.bl-search {
  position: relative;
  width: min(100%, 480px);
  display: flex;
  align-items: center;
}

.bl-search i.bi-search {
  position: absolute;
  left: 1rem;
  color: #9AA6AE;
  font-size: 15px;
  pointer-events: none;
}

.bl-search input[type="text"] {
  width: 100%;
  background: #fff;
  border: 1px solid #E3E6E9;
  border-radius: 30px;
  padding: .75rem 2.6rem .75rem 2.6rem;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: #101214;
  outline: none;
  transition: border-color .2s;
}

.bl-search input[type="text"]:focus {
  border-color: #D91C1C;
}

.bl-search__go {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  background: #D91C1C;
  border: none;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  padding: 0 1.1rem;
  border-radius: 24px;
  cursor: pointer;
  transition: background .2s;
}

.bl-search__go:hover {
  background: #a01515;
}


/* =====================================================
   CATEGORY TABS
===================================================== */
.bl-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bl-tab {
  background: #fff;
  border: 1px solid #E3E6E9;
  color: #5b6470;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  padding: .65rem 1.4rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all .22s ease;
}

.bl-tab.active,
.bl-tab:hover {
  background: #D91C1C;
  border-color: #D91C1C;
  color: #fff;
}

/* =====================================================
   BLOG CARD
===================================================== */
.bl-card {
  background: #fff;
  border: 1px solid #E3E6E9;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 6px 20px rgba(16, 18, 20, .05);
}

.bl-card:hover {
  border-color: rgba(217, 28, 28, .3);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(16, 18, 20, .12);
}

.bl-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.bl-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.bl-card:hover .bl-card__media img {
  transform: scale(1.06);
}

.bl-card__cat {
  position: absolute;
  top: .7rem;
  left: .7rem;
  background: #D91C1C;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  padding: .28rem .65rem;
  border-radius: 3px;
  z-index: 2;
}

.bl-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bl-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 15px;
  color: #5b6470;
  margin-bottom: .7rem;
}

.bl-card__meta span {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.bl-card h3 {
  font-size: 18px;
  font-weight: 700;
  text-transform: none;
  line-height: 1.3;
  margin-bottom: .6rem;
  color: #101214;
}

.bl-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #5b6470;
  margin: 0 0 1.1rem;
  flex-grow: 1;
}

.bl-card__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  color: #101214;
  text-decoration: none;
}

.bl-card__link i {
  color: #D91C1C;
  transition: transform .2s;
}

.bl-card:hover .bl-card__link i {
  transform: translateX(4px);
}

/* Empty / no-results state */
.bl-empty {
  width: 100%;
  text-align: center;
  padding: 4rem 1rem;
  color: #5b6470;
}

.bl-empty i {
  font-size: 40px;
  color: #D91C1C;
  display: block;
  margin-bottom: 1rem;
}

/* =====================================================
   PAGINATION — "‹ Prev  1 2 3 4 5 …  Next ›"
===================================================== */
.bl-pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

.bl-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.bl-page {
  min-width: 40px;
  height: 40px;
  padding: 0 .6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #E3E6E9;
  border-radius: 6px;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #5b6470;
  text-decoration: none;
  transition: all .2s ease;
}

a.bl-page:hover {
  border-color: #D91C1C;
  color: #D91C1C;
}

.bl-page.active {
  background: #D91C1C;
  border-color: #D91C1C;
  color: #fff;
}

.bl-page--nav {
  gap: .4rem;
  padding: 0 1rem;
  text-transform: uppercase;
  font-size: 13px;
}

.bl-page--dots {
  border: none;
  background: transparent;
  color: #9AA6AE;
}

.bl-page--nav.disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* =====================================================
   BLOG POST — SINGLE ARTICLE
   (kept — not used on the listing page, but this stylesheet
   is shared with the single blog-post view)
===================================================== */
.bp-post-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.9;
}

.bp-post-body p {
  color: #5b6470;
  margin-bottom: 1.4rem;
}

.bp-post-body h2 {
  font-size: 24px !important;
  margin: 2.6rem 0 1rem;
}

.bp-post-body h3 {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: #101214;
  margin: 2rem 0 .9rem;
}

.bp-post-body ul {
  margin: 0 0 1.4rem;
  padding-left: 1.3rem;
}

.bp-post-body li {
  color: #5b6470;
  margin-bottom: .6rem;
  line-height: 1.7;
  font-size: 17px;
}

@media (max-width: 768px) {
  .bp-post-body,
  .bp-post-body p,
  .bp-post-body li {
    font-size: 15px;
  }

  .bp-post-body img{
    height: auto !important;
  }
}

.bp-blockquote {
  border-left: 3px solid #D91C1C;
  background: #F3F5F7;
  border-radius: 0 8px 8px 0;
  padding: 1.4rem 1.7rem;
  margin: 2rem 0;
  font-size: 17px;
  font-style: italic;
  color: #101214;
}

.bp-callout {
  background: #F3F5F7;
  border: 1px solid #E3E6E9;
  border-radius: 8px;
  padding: 1.6rem 1.8rem;
  margin: 2.2rem 0;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.bp-callout i {
  color: #D91C1C;
  font-size: 22px;
  flex-shrink: 0;
  margin-top: .1rem;
}

.bp-callout p {
  margin: 0 !important;
  font-size: 15px !important;
}

.bp-post-share {
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: 760px;
  margin: 2.5rem auto;
  padding: 1.3rem 0;
  border-top: 1px solid #E3E6E9;
  border-bottom: 1px solid #E3E6E9;
}

.bp-post-share span {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #5b6470;
}

.bp-post-share a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F3F5F7;
  border: 1px solid #E3E6E9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #101214;
  text-decoration: none;
  transition: .2s;
}

.bp-post-share a:hover {
  background: #D91C1C;
  border-color: #D91C1C;
  color: #fff;
}

.bp-post-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #F3F5F7;
  border: 1px solid #E3E6E9;
  border-radius: 8px;
  padding: 1.4rem 1.6rem;
  max-width: 760px;
  margin: 0 auto 1rem;
}

.bp-post-author__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #D91C1C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 17px;
  flex-shrink: 0;
}

.bp-post-author strong {
  display: block;
  font-size: 15px;
  color: #101214;
}

.bp-post-author span {
  font-size: 15px;
  color: #5b6470;
}

.nh-body .bp-post-body p {
  margin-bottom: 1.4rem !important;
}

.pg-hero .hero-title .accent{
  color: white !important;
}

.bp-post-body table {
  width: auto;
  border-collapse: collapse;
  margin-bottom: 1.4rem;
}

.bp-post-body table, .bp-post-body th, .bp-post-body td {
  border: 2px solid #000;
  padding: .75rem;
}

.bp-post-body table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #5b6470;
    border: 1px solid #ccc;
}

.bp-post-body table th,
.bp-post-body table td {
    border: 1px solid #ccc;
    padding: 18px 15px;
    text-align: left;
    vertical-align: middle;
}

.bp-post-body table th {
    background-color: #f5f5f5;
    font-weight: 700;
}

/* Striped rows */
.bp-post-body table tbody tr:nth-child(odd) {
    background-color: #f5f5f5;
}

.bp-post-body table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.author-section {
  max-width: 760px;
  margin: auto;
}
.author-section b{
  color: #5b6470
}

.hero-crumb-bar a, .hero-crumb-bar span{
  font-weight: 600;
  opacity: 0.7;
  color: white;
}

.bp-post-body a{
  color: #D91C1C !important;
  font-weight: 500;
}