/* ===== BLOG DESCRIPTION PAGE ===== */

/* === Two-column layout === */
.bd-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  max-width: 1300px;
  margin: 0 auto;
  padding: 4rem 6% 6rem;
  align-items: start;
}

/* ===== ARTICLE ===== */
.bd-article__hd {
  margin-bottom: 2.5rem;
}

.bd-article__hd .sec-label {
  font-family: "Raleway", serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28rem;
  text-transform: uppercase;
  color: var(--brown);
  display: block;
  margin-bottom: .6rem;
}

.bd-article__hd h1 {
  font-family: "EB Garamond", serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.bd-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(23, 63, 99, .1);
}

.bd-meta__item {
  font-family: "Raleway", serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1rem;
  text-transform: uppercase;
  color: var(--ash);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.bd-meta__item i {
  color: var(--brown);
  font-size: .62rem;
}

/* --- Cover image --- */
.bd-article__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.bd-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Body prose --- */
.bd-article__body p {
  font-family: "EB Garamond", serif;
  font-size: 1.18rem;
  line-height: 1.95;
  color: #3e3e3e;
  margin-bottom: 1.4rem;
}

/* View all CTA */
.bd-footer-cta {
  text-align: center;
  padding: 3rem 0 5rem;
  border-top: 1px solid rgba(23, 63, 99, .1);
  max-width: 1300px;
  margin: 0 auto;
  padding-left: 6%;
  padding-right: 6%;
}

.bd-footer-cta a {
  font-family: "Raleway", serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22rem;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  border: 1px solid rgba(23, 63, 99, .3);
  padding: .85rem 2.5rem;
  display: inline-block;
  transition: background .25s, border-color .25s, color .25s;
}

.bd-footer-cta a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ===== SIDEBAR ===== */
.bd-sidebar {
  position: sticky;
  top: 110px;
}

.bd-sidebar__block {
  border: 1px solid rgba(23, 63, 99, .08);
  padding: 1.75rem;
}

.bd-sidebar__block .sec-label {
  font-family: "Raleway", serif;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .28rem;
  text-transform: uppercase;
  color: var(--brown);
  display: block;
  margin-bottom: .5rem;
}

.bd-sidebar__block h3 {
  font-family: "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(23, 63, 99, .1);
}

/* --- Related post card --- */
.bd-recent-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bd-recent-card {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  align-items: flex-start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(23, 63, 99, .07);
  transition: opacity .25s;
}

.bd-recent-card:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.bd-recent-card:hover {
  opacity: .8;
}

.bd-recent-card__img {
  flex-shrink: 0;
  width: 80px;
  height: 65px;
  overflow: hidden;
}

.bd-recent-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.bd-recent-card:hover .bd-recent-card__img img {
  transform: scale(1.08);
}

.bd-recent-card__info {
  flex: 1;
  min-width: 0;
}

.bd-recent-card__date {
  font-family: "Raleway", serif;
  font-size: .6rem;
  letter-spacing: .1rem;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: .35rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.bd-recent-card__date i { font-size: .55rem; }

.bd-recent-card__title {
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Sidebar "View all" link */
.bd-sidebar__all {
  display: block;
  margin-top: 1.5rem;
  font-family: "Raleway", serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18rem;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  border-top: 1px solid rgba(23, 63, 99, .1);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: color .25s;
}

.bd-sidebar__all:hover { color: var(--brown); }
.bd-sidebar__all i { font-size: .6rem; transition: transform .25s; }
.bd-sidebar__all:hover i { transform: translateX(4px); }

/* === Hero override === */
.ab_hero_con { margin-bottom: 0 !important; }

/* === Responsive === */
@media screen and (max-width: 960px) {
  .bd-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 6% 5rem;
  }

  .bd-sidebar {
    position: static;
  }

  .bd-recent-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .bd-recent-card {
    flex-direction: column;
    padding-bottom: 0;
    border-bottom: none;
  }

  .bd-recent-card__img {
    width: 100%;
    height: 130px;
  }

  .bd-recent-card:not(:last-child) {
    padding-right: 1rem;
    border-right: 1px solid rgba(23, 63, 99, .07);
  }
}

@media screen and (max-width: 640px) {
  .bd-wrap {
    padding: 2.5rem 5% 4rem;
  }

  .bd-recent-list {
    grid-template-columns: 1fr;
  }

  .bd-recent-card {
    flex-direction: row;
    padding-bottom: 1rem;
    border-right: none;
    border-bottom: 1px solid rgba(23, 63, 99, .07);
  }

  .bd-recent-card__img {
    width: 80px;
    height: 65px;
  }

  .bd-footer-cta {
    padding-left: 5%;
    padding-right: 5%;
  }
}
