/* =========================================================
   THE TRUE CHURCH OF JESUS CHRIST
   SCRIPTURE SEO / CRAWLABILITY LAYER - V117.0
   ========================================================= */

.tcjc-v117-shell,
.tcjc-v117-shell * { box-sizing: border-box; }

.tcjc-v117-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 38px;
  color: #263f4b;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.tcjc-v117-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.4;
}

.tcjc-v117-breadcrumb a,
.tcjc-v117-breadcrumb span { color: #587483; }
.tcjc-v117-breadcrumb a { text-decoration: none !important; }
.tcjc-v117-breadcrumb a:hover,
.tcjc-v117-breadcrumb a:focus-visible { color: #2f789f; text-decoration: underline !important; }

.tcjc-v117-scripture-article,
.tcjc-v117-library,
.tcjc-v117-calendar {
  border: 1px solid rgba(62, 92, 107, .12);
  border-radius: 22px;
  background: rgba(255,255,255,.56);
  box-shadow: 0 14px 42px rgba(36, 58, 69, .07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tcjc-v117-scripture-article { padding: clamp(22px, 4vw, 42px); }
.tcjc-v117-library,
.tcjc-v117-calendar { padding: clamp(22px, 4vw, 38px); }

.tcjc-v117-scripture-header,
.tcjc-v117-section-header { max-width: 780px; }

.tcjc-v117-eyebrow {
  margin: 0 0 8px !important;
  color: #4f96bd !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase;
}

.tcjc-v117-scripture-header h2,
.tcjc-v117-section-header h2 {
  margin: 0 !important;
  color: #263f4b !important;
  font: 820 clamp(28px, 4vw, 44px)/1.05 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: -.035em !important;
}

.tcjc-v117-scripture-header > p:last-child,
.tcjc-v117-section-header > p:last-child {
  margin: 12px 0 0 !important;
  color: #58717d !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.tcjc-v117-verses {
  max-width: 820px;
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(54, 81, 95, .11);
}

.tcjc-v117-verse {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 7px;
  margin: 0 !important;
  padding: 5px 0 !important;
  color: #253d49 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(17px, 1.7vw, 19px) !important;
  line-height: 1.72 !important;
}

.tcjc-v117-verse-number {
  align-self: start;
  padding-top: .18em;
  color: #4f96bd !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
}

.tcjc-v117-verse-number:hover,
.tcjc-v117-verse-number:focus-visible { color: #256b91 !important; text-decoration: underline !important; }

.tcjc-v117-target-verse {
  margin-left: -10px !important;
  padding-left: 10px !important;
  border-left: 3px solid #94b8cd;
  background: linear-gradient(90deg, rgba(148,184,205,.13), transparent 70%);
}

.tcjc-v117-prevnext {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.tcjc-v117-prevnext a {
  min-height: 62px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 12px 15px;
  border: 1px solid rgba(62, 92, 107, .12);
  border-radius: 14px;
  background: rgba(255,255,255,.48);
  color: #355c70 !important;
  text-decoration: none !important;
}

.tcjc-v117-prevnext a:last-child { text-align: right; }
.tcjc-v117-prevnext a span { color: #718893; font-size: 10px; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.tcjc-v117-prevnext a strong { font-size: 13px; line-height: 1.35; }
.tcjc-v117-prevnext a:hover,
.tcjc-v117-prevnext a:focus-visible { border-color: rgba(79,150,189,.38); background: rgba(148,184,205,.10); }

.tcjc-v117-details {
  margin-top: 10px;
  border: 1px solid rgba(62, 92, 107, .11);
  border-radius: 16px;
  background: rgba(255,255,255,.38);
  overflow: hidden;
}

.tcjc-v117-details summary {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
}
.tcjc-v117-details summary::-webkit-details-marker { display: none; }
.tcjc-v117-details summary span { display: grid; gap: 2px; }
.tcjc-v117-details summary small { color: #4f96bd; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.tcjc-v117-details summary strong { color: #263f4b; font-size: 14px; }
.tcjc-v117-details summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(79,150,189,.25);
  border-radius: 10px;
  color: #367da3;
  background: rgba(148,184,205,.10);
  font-size: 20px;
  font-weight: 700;
}
.tcjc-v117-details[open] summary::after { content: "−"; }

.tcjc-v117-chapter-links {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 7px;
  padding: 0 16px 18px;
}

.tcjc-v117-chapter-links a {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 8px;
  border: 1px solid rgba(62,92,107,.11);
  border-radius: 10px;
  background: rgba(255,255,255,.55);
  color: #355c70 !important;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
}
.tcjc-v117-chapter-links a[aria-current="page"] { border-color: #4f96bd; background: #4f96bd; color: #fff !important; }
.tcjc-v117-chapter-links a:hover,
.tcjc-v117-chapter-links a:focus-visible { border-color: rgba(79,150,189,.42); background: rgba(148,184,205,.12); }

.tcjc-v117-collections {
  display: grid;
  gap: 24px;
  padding: 8px 0 0;
}
.tcjc-v117-details .tcjc-v117-collections { padding: 0 16px 20px; }
.tcjc-v117-collection h3 {
  margin: 0 0 9px !important;
  color: #263f4b !important;
  font-size: 15px !important;
  font-weight: 820 !important;
  line-height: 1.3 !important;
}
.tcjc-v117-book-links { display: flex; flex-wrap: wrap; gap: 7px 15px; }
.tcjc-v117-book-links a {
  padding: 3px 0;
  border-bottom: 1px solid transparent;
  color: #355c70 !important;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.35;
  text-decoration: none !important;
}
.tcjc-v117-book-links a:hover,
.tcjc-v117-book-links a:focus-visible { color: #245d7a !important; border-bottom-color: rgba(79,150,189,.4); }
.tcjc-v117-book-links a[aria-current="location"] { color: #2b789f !important; font-weight: 820; }

.tcjc-v117-calendar-current {
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(79,150,189,.18);
  border-radius: 15px;
  background: rgba(148,184,205,.09);
}
.tcjc-v117-calendar-current small { display: block; color: #4f96bd; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.tcjc-v117-calendar-current strong { display: block; margin-top: 4px; color: #263f4b; font-size: 17px; }
.tcjc-v117-calendar-current p { margin: 7px 0 0 !important; color: #58717d !important; font-size: 13px !important; line-height: 1.55 !important; }

.tcjc-v117-month-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}
.tcjc-v117-month-links a,
.tcjc-v117-calendar-actions a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border: 1px solid rgba(62,92,107,.11);
  border-radius: 11px;
  background: rgba(255,255,255,.50);
  color: #355c70 !important;
  font-size: 12px;
  font-weight: 730;
  text-align: center;
  text-decoration: none !important;
}
.tcjc-v117-month-links a:hover,
.tcjc-v117-calendar-actions a:hover,
.tcjc-v117-month-links a:focus-visible,
.tcjc-v117-calendar-actions a:focus-visible { border-color: rgba(79,150,189,.40); background: rgba(148,184,205,.12); }
.tcjc-v117-calendar-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tcjc-v117-calendar-actions a { min-width: 180px; }

.tcjc-v117-empty { color: #647c87; font-size: 14px; }

html.tcjc-app-dark-active .tcjc-v117-shell,
body.tcjc-app-dark-active .tcjc-v117-shell,
body.tcjc-reader-dark-active .tcjc-v117-shell { color: rgba(255,248,225,.94); }

html.tcjc-app-dark-active .tcjc-v117-scripture-article,
body.tcjc-app-dark-active .tcjc-v117-scripture-article,
body.tcjc-reader-dark-active .tcjc-v117-scripture-article,
html.tcjc-app-dark-active .tcjc-v117-library,
body.tcjc-app-dark-active .tcjc-v117-library,
html.tcjc-app-dark-active .tcjc-v117-calendar,
body.tcjc-app-dark-active .tcjc-v117-calendar,
html.tcjc-app-dark-active .tcjc-v117-details,
body.tcjc-app-dark-active .tcjc-v117-details,
body.tcjc-reader-dark-active .tcjc-v117-details {
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  box-shadow: none;
}

html.tcjc-app-dark-active .tcjc-v117-scripture-header h2,
body.tcjc-app-dark-active .tcjc-v117-scripture-header h2,
body.tcjc-reader-dark-active .tcjc-v117-scripture-header h2,
html.tcjc-app-dark-active .tcjc-v117-section-header h2,
body.tcjc-app-dark-active .tcjc-v117-section-header h2,
html.tcjc-app-dark-active .tcjc-v117-collection h3,
body.tcjc-app-dark-active .tcjc-v117-collection h3,
body.tcjc-reader-dark-active .tcjc-v117-collection h3,
html.tcjc-app-dark-active .tcjc-v117-details summary strong,
body.tcjc-app-dark-active .tcjc-v117-details summary strong,
body.tcjc-reader-dark-active .tcjc-v117-details summary strong { color: rgba(255,248,225,.94) !important; }

html.tcjc-app-dark-active .tcjc-v117-verse,
body.tcjc-app-dark-active .tcjc-v117-verse,
body.tcjc-reader-dark-active .tcjc-v117-verse { color: rgba(255,248,225,.90) !important; }

@media (max-width: 980px) {
  .tcjc-v117-chapter-links { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tcjc-v117-month-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .tcjc-v117-shell { width: calc(100% - 20px); margin-top: 12px; margin-bottom: 26px; }
  .tcjc-v117-scripture-article,
  .tcjc-v117-library,
  .tcjc-v117-calendar { border-radius: 18px; }
  .tcjc-v117-verse { grid-template-columns: 28px minmax(0, 1fr); gap: 5px; }
  .tcjc-v117-prevnext { grid-template-columns: 1fr; }
  .tcjc-v117-prevnext a:last-child { text-align: left; }
  .tcjc-v117-chapter-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tcjc-v117-month-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 430px) {
  .tcjc-v117-chapter-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tcjc-v117-month-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tcjc-v117-calendar-actions { display: grid; grid-template-columns: 1fr; }
  .tcjc-v117-calendar-actions a { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tcjc-v117-shell * { scroll-behavior: auto !important; transition: none !important; }
}
