/* DANIEL LUCIAN REFERENCE LIBRARY — CENTRAL THEME
   CLEAN LOCKED LINE STANDARD V11

   This file is the final authority for Reference Library decorative rules.

   STATIC RULES
   - article title rule
   - Explore Further heading rule
   - article finishing rule
   All: 0.5px native border, #E5D49A at 50% opacity.

   INTERACTIVE EXPLORE DIVIDERS
   - 0.5px native border
   - original very faded resting state
   - original brighter gold hover/focus state
   - line weight never changes.
*/

:root {
  --gold: #E5D49A;
  --library-static-rule: rgba(229,212,154,.50);
  --library-explore-rule-rest: rgba(229,212,154,.085);
  --library-explore-rule-active: rgba(229,212,154,.62);
}

/* STATIC DECORATIVE RULES — single authoritative treatment */
.article-title-rule,
.article-explore-further h2::after,
.article-finishing-rule {
  height: 0 !important;
  background: none !important;
  border: 0 !important;
  border-top: 0.5px solid var(--library-static-rule) !important;
}

/* EXPLORE LINK DIVIDERS — approved interactive treatment */
.article-explore-links a {
  border-bottom-width: 0.5px !important;
  border-bottom-style: solid !important;
  border-bottom-color: var(--library-explore-rule-rest) !important;
  background: transparent !important;
}

.article-explore-links a:hover,
.article-explore-links a:focus-visible {
  border-bottom-width: 0.5px !important;
  border-bottom-style: solid !important;
  border-bottom-color: var(--library-explore-rule-active) !important;
  background: transparent !important;
}

/* CENTRALISED CASING STANDARD V12
   Article/page headings and Explore link labels display exactly as written
   in the HTML (proper editorial Title Case).
   The EXPLORE FURTHER section heading remains uppercase.
*/
.article-intro h1,
.page:not(.home-page) .page-title,
.library-intro h1 {
  text-transform: none !important;
}

.article-explore-links a {
  text-transform: none !important;
}

.article-explore-further h2 {
  text-transform: uppercase !important;
}

/* V14 — APPROVED LIGHTBOX IMAGE-TO-IMAGE SWITCH */
.dl-lightbox-image.is-switching-image {
  transition: none !important;
}


/* V14 — CENTRAL ARTICLE COPY TYPOGRAPHY */
.library-article-main .article-opening-copy ul,
.library-article-main .article-opening-copy ol,
.library-article-main .article-opening-copy li {
  font-size: 13px !important;
  line-height: 1.85 !important;
}

@media (max-width: 736px) {
  .library-article-main .article-opening-copy ul,
  .library-article-main .article-opening-copy ol,
  .library-article-main .article-opening-copy li {
    font-size: 12px !important;
  }
}

/* V14 — LEGACY GOLD RULE NORMALISATION */
.library-article-main .dl-article-gold-rule {
  border: 0 !important;
  border-top: 0.5px solid var(--library-static-rule) !important;
  height: 0 !important;
}
