/* Hero Section Layout */
.pillar-hero {
  background-color: #2C5F5F !important;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  margin-bottom: 48px;
}
.pillar-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}
.pillar-index {
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D98852;
  font-weight: 700;
  margin-bottom: 12px;
}
.pillar-title {
  font-family: Georgia, serif;
  font-size: 44px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.2;
}
.pillar-deck {
  max-width: 720px;
  margin: 0 auto;
}
.pillar-deck p {
  font-size: 19px;
  color: #e2eeeb;
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
}

/* Main Grid & Featured Essay Styling */
.pillar-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.pillar-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  align-items: start;
}
.featured-post-card {
  border: 2px solid #2C5F5F;
  border-radius: 12px;
  padding: 32px;
  background: #ffffff;
  margin-bottom: 48px;
}
.badge-flagship {
  background: #2C5F5F;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
}
.section-heading {
  font-family: Georgia, serif;
  font-size: 28px;
  color: #2C5F5F;
  margin-bottom: 24px;
}

/* Glossary Terms Sidebar & Separation */
.glossary-terms-box {
  background-color: #E6F0EF;
  border-radius: 12px;
  padding: 28px;
}
.glossary-terms-box .glossary-title {
  font-family: Georgia, serif;
  font-size: 20px;
  color: #2C5F5F;
  margin-top: 0;
  margin-bottom: 20px;
}
.glossary-terms-box .field__item,
.glossary-terms-box .taxonomy-term,
.glossary-terms-box .views-row {
  border-bottom: 1px solid #CFE2DE;
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.glossary-terms-box .field__item:last-child,
.glossary-terms-box .taxonomy-term:last-child,
.glossary-terms-box .views-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.glossary-terms-box a,
.glossary-terms-box .term-title {
  font-weight: 700;
  color: #2C5F5F;
  display: block;
  margin-bottom: 4px;
  text-decoration: none;
  font-size: 15px;
}
.glossary-terms-box .term-description,
.glossary-terms-box p {
  font-size: 13px;
  color: #4A6360;
  line-height: 1.4;
  margin: 0;
}

/* Comments Area */
.pillar-comments-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px;
  border-top: 1px solid #E2EEEB;
}

@media (max-width: 860px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

/* Glossary Sidebar Term Dividers */
.glossary-terms-box > div > div {
  border-bottom: 1px solid #CFE2DE;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.glossary-terms-box > div > div:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Glossary Typography & Links */
.glossary-terms-box article h2 {
  font-size: 16px;
  margin: 0 0 6px 0;
}

.glossary-terms-box article h2 a {
  color: #2C5F5F;
  font-weight: 700;
  text-decoration: none;
}

.glossary-terms-box article div {
  font-size: 13px;
  color: #4A6360;
  line-height: 1.45;
}