/* --- Brand Variables --- */
:root {
  --hl-dark-green: #1B4D3E;
  --hl-gold: #D4AF37;
  --hl-medium-green: #25624B;
  --hl-secondary-gold: #C59E30;
  --hl-black: #000000;
  --hl-white: #FFFFFF;
  --hl-font-heading: 'Cormorant Garamond', serif;
  --hl-font-body: 'DM Sans', sans-serif;
  --hl-transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Outer Container --- */
.hl-bd-container {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--hl-white);
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-left: auto;
  margin-right: auto;
}

.hl-bd-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 1366px) {
  .hl-bd-container {
    width: 85vw !important;
    max-width: 85vw !important;
    padding-left: 0;
    padding-right: 0;
  }
  .hl-bd-wrapper { max-width: 100%; }
}

@media (max-width: 991px) {
  .hl-bd-container {
    width: 90vw !important;
    max-width: 90vw !important;
  }
}

/* --- Topbar (Back Link + Category) --- */
.hl-bd-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hl-bd-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--hl-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--hl-dark-green);
  text-decoration: none;
  transition: var(--hl-transition);
}

.hl-bd-back-link:hover { color: var(--hl-gold); }

.hl-bd-cat-badge {
  display: inline-block;
  background-color: var(--hl-dark-green);
  color: var(--hl-white);
  font-family: var(--hl-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}

/* --- Article Header --- */
.hl-bd-article-header {
  margin-bottom: 32px;
  max-width: 860px;
}

.hl-bd-title {
  font-family: var(--hl-font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--hl-dark-green);
  line-height: 1.2;
  margin: 0 0 20px 0;
}

/* Meta Row */
.hl-bd-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hl-bd-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--hl-font-body);
  font-size: 0.82rem;
  color: #718096;
  font-weight: 500;
}

.hl-bd-meta-dot {
  color: #CBD5E0;
  font-size: 1rem;
}

/* --- Featured Image --- */
.hl-bd-hero-img-wrapper {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 48px;
  background-color: #F8FAFC;
}

.hl-bd-hero-img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.hl-bd-hero-img-placeholder {
  width: 100%;
  height: 320px;
  border-radius: 20px;
  background-color: #F0F5F2;
  border: 2px dashed rgba(27, 77, 62, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.hl-bd-hero-img-placeholder p {
  font-family: var(--hl-font-body);
  font-size: 0.875rem;
  color: rgba(27, 77, 62, 0.4);
  margin: 0;
}

/* --- Two-Column Layout --- */
.hl-bd-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 991px) {
  .hl-bd-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Main Content Area --- */
.hl-bd-content-area {}

.hl-bd-content-body {
  font-family: var(--hl-font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2D3748;
}

/* Headings inside content */
.hl-bd-content-body h2 {
  font-family: var(--hl-font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--hl-dark-green);
  margin: 48px 0 16px 0;
  line-height: 1.25;
}

.hl-bd-content-body h3 {
  font-family: var(--hl-font-heading);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  color: var(--hl-dark-green);
  margin: 36px 0 12px 0;
  line-height: 1.3;
}

.hl-bd-content-body p {
  margin: 0 0 20px 0;
}

.hl-bd-content-body a {
  color: var(--hl-dark-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hl-bd-content-body a:hover { color: var(--hl-gold); }

/* Blockquote */
.hl-bd-content-body blockquote {
  margin: 40px 0;
  padding: 24px 32px;
  border-left: 4px solid var(--hl-gold);
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.04), rgba(212, 175, 55, 0.04));
  border-radius: 0 16px 16px 0;
}

.hl-bd-content-body blockquote p {
  font-family: var(--hl-font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--hl-dark-green);
  margin: 0;
  line-height: 1.6;
}

/* Lists */
.hl-bd-content-body ul,
.hl-bd-content-body ol {
  margin: 0 0 20px 20px;
  padding: 0;
}

.hl-bd-content-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Images inside content */
.hl-bd-content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}

/* --- Divider --- */
.hl-bd-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hl-gold), transparent);
  margin: 40px 0;
  opacity: 0.5;
  border: none;
}

/* --- Tags Row --- */
.hl-bd-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hl-bd-tags-label {
  font-family: var(--hl-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: #4A5568;
}

.hl-bd-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1.5px solid #CBD5E0;
  font-family: var(--hl-font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: #4A5568;
  text-decoration: none;
  transition: var(--hl-transition);
  background: transparent;
}

.hl-bd-tag:hover {
  background-color: var(--hl-gold);
  border-color: var(--hl-gold);
  color: var(--hl-black);
}

/* --- Author Box --- */
.hl-bd-author-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.04), rgba(212, 175, 55, 0.04));
  border-radius: 20px;
  border: 1px solid rgba(27, 77, 62, 0.1);
  margin-bottom: 0;
}

.hl-bd-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--hl-gold);
  flex-shrink: 0;
}

.hl-bd-author-written {
  display: block;
  font-family: var(--hl-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hl-gold);
  margin-bottom: 4px;
}

.hl-bd-author-name {
  font-family: var(--hl-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--hl-dark-green);
  margin: 0 0 8px 0;
}

.hl-bd-author-bio {
  font-family: var(--hl-font-body);
  font-size: 0.875rem;
  color: #718096;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 600px) {
  .hl-bd-author-box {
    flex-direction: column;
    padding: 22px;
  }
}

/* --- Sidebar --- */
.hl-bd-sidebar {
  position: sticky;
  top: 100px;
}

.hl-bd-toc-card {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
}

.hl-bd-toc-title {
  font-family: var(--hl-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hl-dark-green);
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(27, 77, 62, 0.1);
}

.hl-bd-toc-loading,
.hl-bd-toc-empty {
  font-family: var(--hl-font-body);
  font-size: 0.85rem;
  color: #A0AEC0;
  margin: 0;
  font-style: italic;
}

.hl-bd-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hl-bd-toc-item {}

.hl-bd-toc-sub {
  padding-left: 14px;
}

.hl-bd-toc-link {
  display: block;
  font-family: var(--hl-font-body);
  font-size: 0.845rem;
  line-height: 1.5;
  color: #4A5568;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: var(--hl-transition);
  border-left: 2px solid transparent;
}

.hl-bd-toc-link:hover {
  background-color: rgba(27, 77, 62, 0.06);
  color: var(--hl-dark-green);
  border-left-color: var(--hl-dark-green);
}

.hl-bd-toc-link.active {
  background-color: rgba(27, 77, 62, 0.08);
  color: var(--hl-dark-green);
  border-left-color: var(--hl-gold);
  font-weight: 700;
}

/* --- Related Posts --- */
.hl-bd-related {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid #E2E8F0;
}

.hl-bd-related-title {
  font-family: var(--hl-font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--hl-dark-green);
  margin: 0 0 32px 0;
}

.hl-bd-related-grid {
  display: grid;
  gap: 24px;
}

.hl-bd-rel-cols-3 { grid-template-columns: repeat(3, 1fr); }
.hl-bd-rel-cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 991px) {
  .hl-bd-rel-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hl-bd-rel-cols-3,
  .hl-bd-rel-cols-2 { grid-template-columns: 1fr; }
}

.hl-bd-rel-card {
  background: var(--hl-white);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  transition: var(--hl-transition);
  display: flex;
  flex-direction: column;
}

.hl-bd-rel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.06);
  border-color: rgba(27, 77, 62, 0.12);
}

.hl-bd-rel-thumb-link { display: block; text-decoration: none; }

.hl-bd-rel-thumb-wrapper {
  position: relative;
  width: 100%;
  padding-top: 60%;
  background-color: #F0F5F2;
  overflow: hidden;
}

.hl-bd-rel-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hl-bd-rel-thumb-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.1), rgba(212, 175, 55, 0.1));
}

.hl-bd-rel-card:hover .hl-bd-rel-thumb { transform: scale(1.05); }

.hl-bd-rel-cat {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: var(--hl-dark-green);
  color: var(--hl-white);
  font-family: var(--hl-font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

.hl-bd-rel-content {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.hl-bd-rel-date {
  font-family: var(--hl-font-body);
  font-size: 0.76rem;
  color: #A0AEC0;
  margin: 0;
  font-weight: 500;
}

.hl-bd-rel-card-title {
  font-family: var(--hl-font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.hl-bd-rel-card-title a {
  color: var(--hl-dark-green);
  text-decoration: none;
  transition: color 0.3s;
}

.hl-bd-rel-card-title a:hover { color: var(--hl-gold); }
