/* =========================================================
   GCT Library — Authority Reading Layout
   (Compendiums, Guides, TNs, Issues)
   Scoped by body classes added via plugin
   ========================================================= */

body.gc-authority.gc-authority-library .entry-content,
body.gc-authority.gc-authority-library .content-area .site-main,
body.gc-authority.gc-authority-library .site-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 22px;
}

body.gc-authority.gc-authority-library .entry-content {
  font-family: "Inter","Open Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #444444;
}

body.gc-authority.gc-authority-library h1,
body.gc-authority.gc-authority-library h2,
body.gc-authority.gc-authority-library h3 {
  font-family: "Libre Baskerville", serif;
  color: #2B2B2B;
  line-height: 1.25;
}

body.gc-authority.gc-authority-library h1 {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 28px;
}

body.gc-authority.gc-authority-library h2 {
  font-size: 30px;
  margin-top: 72px;
  margin-bottom: 18px;
}

body.gc-authority.gc-authority-library h3 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
}

/* Lists (desktop + mobile) */
body.gc-authority.gc-authority-library ul {
  margin-top: 12px;
  margin-bottom: 24px;
  padding-left: 20px;
}

body.gc-authority.gc-authority-library li {
  margin-bottom: 6px;
}

/* Mobile */
@media (max-width: 767px) {
  body.gc-authority.gc-authority-library .entry-content,
  body.gc-authority.gc-authority-library .content-area .site-main,
  body.gc-authority.gc-authority-library .site-main {
    max-width: 100%;
    padding: 0 16px;
  }

  body.gc-authority.gc-authority-library .entry-content {
    font-size: 17px;
  }

  body.gc-authority.gc-authority-library h1 {
    font-size: 32px;
  }

  body.gc-authority.gc-authority-library h2 {
    font-size: 26px;
    margin-top: 56px;
  }

  body.gc-authority.gc-authority-library h3 {
    font-size: 20px;
  }
}

/* =========================================================
   Authority Page Template
   (Pages using gc-authority-page)
   ========================================================= */

.gc-authority-page .entry-content > h2 {
  margin-top: 56px;
  margin-bottom: 20px;
}

.gc-authority-page .entry-content > h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.gc-authority-page .entry-content p {
  margin-bottom: 18px;
}

.gc-authority-page .entry-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.gc-authority-page .entry-content li {
  margin-bottom: 8px;
}

/* Optional section rule for authority pages only */
.gc-authority-page .entry-content > h2:not(:first-child) {
  padding-top: 40px;
  border-top: 1px solid #e6e6e6;
}

.gc-authority-page .entry-content h1,
.gc-authority-page .entry-content h2 {
  letter-spacing: 0.3px;
}

.gc-authority-page .entry-content h1 {
  font-size: 40px;
}

.gc-authority-page .entry-content h2 {
  font-size: 28px;
}

.gc-authority-page .entry-content {
  line-height: 1.6;
}

.gc-authority-page .entry-content p,
.gc-authority-page .entry-content li {
  color: #444;
}