/* =========================================================
   THE TRUE CHURCH OF JESUS CHRIST
   HEARTH AND HOMESCHOOL V5.0 IDENTITY LAYER
   Release hearth-5-0-1

   Loaded after tcjc-hearth-v4.css. This layer keeps the established
   Institute V4.3.12 layout while replacing every inherited Upper Academy
   bronze state with the approved Hearth indigo identity.
   ========================================================= */
:root{
  --tchh-indigo:#2b3a67;
  --tchh-primary:#2b3a67;
  --tchh-strong:#405485;
  --tchh-light:#e8ebf3;
  --tchh-wash:#f6f7fa;

  --tci-blue:#2b3a67;
  --tci-blue-deep:#405485;
  --tci-ink:#25304e;
  --tci-copy:#5d657c;
  --tci-line:rgba(43,58,103,.14);
  --tcaa-blue:#2b3a67;
  --tcaa-blue-deep:#405485;
  --tcaa-ink:#25304e;
  --tcaa-copy:#5d657c;
  --tcaa-line:rgba(43,58,103,.14);

  --tcua-bronze:#2b3a67;
  --tcua-bronze-light:#6579aa;
  --tcua-bronze-soft:#8794bb;
  --tcua-bronze-deep:#405485;
  --tcua-bronze-dark:#2b3a67;
  --tcua-bronze-pale:#e8ebf3;
  --tcua-heading:#2f3550;
  --tcua-copy:#5d657c;
  --tcua-page:#f7f5f2;
  --tcua-line:rgba(43,58,103,.20);

  --tci-v429-blue:#2b3a67;
  --tci-v429-blue-deep:#405485;
  --tci-v429-blue-dark:#2b3a67;
  --tci-v429-blue-rail:#2b3a67;
  --tci-v429-blue-pale:#e8ebf3;
  --tci-v429-line:rgba(43,58,103,.18);
  --tci-v429-line-strong:rgba(43,58,103,.30);
  --tci-v430-blue:#2b3a67;
  --tci-v430-blue-bright:#6579aa;
  --tci-v430-blue-soft:#8794bb;
  --tci-v430-heading:#2f3550;
  --tci-v430-copy:#5d657c;
  --tci-v430-line:rgba(43,58,103,.22);
  --tci-site-blue:#2b3a67;
  --tci-site-blue-2:#405485;
  --tci-site-blue-deep:#2b3a67;
  --tci-site-glass:linear-gradient(135deg,rgba(101,121,170,.96),rgba(43,58,103,.94));
  --tci-v430-button:linear-gradient(135deg,rgba(101,121,170,.94),rgba(64,84,133,.94));
  --tci-v430-button-hover:linear-gradient(135deg,rgba(43,58,103,.98),rgba(43,58,103,.97));
}

#hearth-and-homeschool-school{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:visible!important;
  background:transparent!important;
}

.tci-portal-rail,.tci-course-nav{
  background:linear-gradient(180deg,rgba(43,58,103,.98),rgba(43,58,103,.96))!important;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.16),10px 0 34px rgba(43,58,103,.12)!important;
}
.tci-rail-brand-mark{
  color:#405485!important;
  box-shadow:0 8px 18px rgba(43,58,103,.16)!important;
}
.tci-rail-brand-copy strong,.tci-rail-brand-copy small{color:#fff!important}
.tci-rail-link{color:rgba(255,255,255,.90)!important}
.tci-rail-link.is-active,.tci-course-nav nav a.is-active{
  color:#2b3a67!important;
  background:rgba(255,255,255,.96)!important;
}
.tci-rail-link:hover,.tci-course-nav nav a:hover{background:rgba(255,255,255,.13)!important;color:#fff!important}

.tci-primary-button,.tci-calendar-tabs a.is-active,.tci-about-donate-button,
.tci-about-donate-form .tci-about-donate-button{
  background:linear-gradient(135deg,#6579aa,#405485)!important;
  border-color:rgba(255,255,255,.48)!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(43,58,103,.20),inset 0 1px 0 rgba(255,255,255,.28)!important;
  text-shadow:0 1px 2px rgba(31,40,73,.22)!important;
}
.tci-primary-button:hover,.tci-primary-button:focus-visible,.tci-about-donate-button:hover,
.tci-about-donate-form .tci-about-donate-button:hover{
  background:linear-gradient(135deg,#2b3a67,#2b3a67)!important;
}

.tci-portal-kicker,.tci-topbar-copy p,.tci-course-card-top span,.tci-mini-code,
.tci-panel-heading>a,.tci-text-link,.tci-open-label,.tci-progress-row b,
.tci-progress-lesson-list svg,.tci-month-calendar>header a,.tcav2-mini-eyebrow,
.tcaa-lesson-kicker,.tci-about-kicker,.tci-course-code{
  color:#2b3a67!important;
}
.tci-dashboard-head,.tci-section-heading,.tci-course-card-v42,.tci-mini-course,
.tci-course-hero,.tci-calendar-setup,.tci-about-card,.tci-about-donate,
.tcav2-block-scripture,.tchh-course-plan{
  border-left-color:#2b3a67!important;
}
.tci-course-progress span,.tci-mini-progress span,.tci-progress-bar span,.tci-big-progress span,
.tci-progress-line span,.tcaa-progress-summary-rail span,.tci-cal-day.is-today>span{
  background:#2b3a67!important;
}

.tci-summary-count,.tci-work-icon,.tci-assignment-icon,.tci-module-status,
.tci-schedule-prompt,.tci-cal-day>a,.tci-cal-day>a.tci-cal-event,
.tcaa-school-choice.is-current,.tcaa-track-choices button.is-current,
.tcaa-course-choices button.is-current,.tcaa-unit-choices button.is-current,
.tcaa-lesson-choices button.is-current,.tcaa-progress-summary,
.tcav2-block-scripture,.tcaa-complete-button.is-complete,
.tcav2-block-parent-setup,.tcav2-block-parent-check,.tcav2-block-assessment,
.tcav2-child-prompt,.tcav2-inline-prompt,.tcav2-example-result,.tcav2-sort-headings span{
  background:#e8ebf3!important;
}
.tcav2-block-parent-setup,.tcav2-block-parent-check,.tcav2-block-assessment,
.tcaa-school-choice.is-current,.tcaa-track-choices button.is-current,
.tcaa-course-choices button.is-current,.tcaa-unit-choices button.is-current,
.tcaa-lesson-choices button.is-current,.tcaa-progress-summary,
.tcav2-block-scripture,.tcav2-inline-prompt,.tcav2-example-result{
  border-color:rgba(43,58,103,.22)!important;
}
.tcaa-location-icon,.tcaa-edge:hover,.tcaa-icon-button:hover,.tcaa-bottom-button:hover,
.tcaa-modal-header p,.tcaa-progress-summary>span,
.tcav2-scripture-link,.tcav2-inline-link,.tcav2-clear-response,
.tcav2-block-parent-setup::before,.tcav2-block-parent-check .tcav2-mini-eyebrow,
.tcav2-block-assessment .tcav2-mini-eyebrow{
  color:#405485!important;
}
.tci-secondary-button,.tci-topbar-button,.tci-panel-heading>a,.tci-text-link,
.tci-course-card-bottom b,.tcaa-complete-button,.tcav2-scripture-link,.tcav2-action-link{
  color:#405485!important;
}
.tci-course-card-v42:hover,.tci-course-card-v42:focus-visible,.tci-mini-course:hover,
.tci-mini-course:focus-visible,.tci-secondary-button:hover,.tci-topbar-button:hover,
.tci-week-button:hover,.tcaa-edge:hover,.tcaa-school-choice:hover,
.tcaa-track-choices button:hover,.tcaa-course-choices button:hover,
.tcaa-unit-choices button:hover,.tcaa-lesson-choices button:hover{
  border-color:rgba(43,58,103,.40)!important;
}
.tcaa-reader-app{
  background:radial-gradient(circle at 50% 0%,rgba(43,58,103,.055),transparent 34rem),linear-gradient(180deg,#f4f2ee 0%,#f0ede7 100%)!important;
}
.tcav2-parent-prompt{border-left-color:rgba(43,58,103,.42)!important}
.tcav2-response-input:focus,.tcav2-response-textarea:focus{
  outline-color:rgba(43,58,103,.20)!important;
  border-color:rgba(43,58,103,.48)!important;
}
.tcav2-check-list input{accent-color:#2b3a67!important}
.tci-about-free,.tci-about-donate{background:linear-gradient(135deg,#f3f4f8,#fff)!important}

.tchh-course-plan{margin-top:18px;border-left:4px solid #2b3a67}
.tchh-course-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.tchh-course-plan-item{padding:16px;border:1px solid rgba(43,58,103,.12);border-radius:14px;background:rgba(255,255,255,.58)}
.tchh-course-plan-item h3{margin:0 0 7px!important;color:#2b3a67!important;font-size:13px!important;line-height:1.25!important;font-weight:850!important;letter-spacing:.02em!important}
.tchh-course-plan-item p{margin:0!important;color:#5d657c!important;font-size:13px!important;line-height:1.6!important}
.tchh-course-plan-item ul{margin:0;padding-left:18px;color:#5d657c}
.tchh-course-plan-item li{margin:0 0 5px;font-size:13px;line-height:1.55}
.tchh-course-plan-item li:last-child{margin-bottom:0}

@media(max-width:860px){
  .tci-mobile-nav,.tcaa-bottom-bar{
    background:linear-gradient(135deg,#2b3a67,#2b3a67)!important;
    box-shadow:0 16px 38px rgba(43,58,103,.24)!important;
  }
  .tci-mobile-link{color:rgba(255,255,255,.90)!important}
  .tci-mobile-link.is-active{background:rgba(255,255,255,.96)!important;color:#2b3a67!important}
  .tcaa-bottom-button{color:rgba(255,255,255,.92)!important}
  .tcaa-bottom-button:hover,.tcaa-bottom-button:focus-visible{background:rgba(255,255,255,.12)!important;color:#fff!important}
  .tcaa-bottom-button.tcaa-bottom-home{color:#fff!important}
  .tchh-course-plan-grid{grid-template-columns:1fr}
}
