/* Bible Study Resources page */
.bible-study-page {
  width: min(92%, 76rem);
  padding: clamp(1rem, 2.2vw, 1.7rem) 0 3rem;
}

.bible-study-page > h1,
.bible-study-page > .eyebrow { text-align: center; }

.bible-study-page > h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.25rem, 4.5vw, 3.8rem);
}

.study-introduction {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(24rem, 1.2fr);
  gap: clamp(1rem, 2.6vw, 1.8rem);
  align-items: center;
  margin: 0 auto 1.35rem;
  padding: clamp(1rem, 2.2vw, 1.55rem);
  background: #fffaf0;
  border: 1px solid #d6b86e;
  border-radius: 0.5rem;
  box-shadow: 0 9px 28px rgba(16, 43, 70, 0.1);
}

.study-introduction-copy p {
  margin: 0;
  color: #24384c;
  font-size: 1.05rem;
  line-height: 1.58;
}

.study-introduction-copy p + p { margin-top: 0.85rem; }

.study-feature {
  margin: 0;
  overflow: hidden;
  background: #e5d4ad;
  border: 5px solid white;
  border-radius: 0.45rem;
  box-shadow: 0 8px 24px rgba(16, 43, 70, 0.18);
}

.study-feature img {
  display: block;
  width: 100%;
  height: auto;
}

.study-library {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(16rem, 0.7fr) minmax(18rem, 1fr);
  gap: 1.15rem;
  align-items: center;
  margin: 0 auto 1.7rem;
  padding: clamp(1.1rem, 2.5vw, 1.65rem);
  color: white;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 0.5rem;
  box-shadow: 0 12px 30px rgba(16, 43, 70, 0.2);
}

.study-library h2 {
  margin: 0.1rem 0 0.35rem;
  color: white;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.study-library p { margin: 0; line-height: 1.48; }

.section-kicker {
  color: #f1d99b;
  font: 700 0.75rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.study-picker label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold-light);
  font: 700 0.92rem/1.3 Arial, Helvetica, sans-serif;
}

.study-picker select {
  width: 100%;
  min-height: 3rem;
  padding: 0.55rem 2.4rem 0.55rem 0.75rem;
  color: var(--navy);
  background: white;
  border: 2px solid var(--gold);
  border-radius: 0.35rem;
  font: 700 1rem/1.3 Arial, Helvetica, sans-serif;
}

.study-picker select:disabled {
  color: #596674;
  background: #eef0f2;
  cursor: not-allowed;
}

.study-downloads {
  min-height: 5rem;
  padding: 0.9rem 1rem;
  color: var(--navy);
  background: #fffaf0;
  border-radius: 0.4rem;
}

.study-downloads h3 {
  margin: 0 0 0.55rem;
  color: var(--navy);
  font: 700 1rem/1.3 Arial, Helvetica, sans-serif;
}

.study-downloads h3:not(:first-child) {
  margin-top: 1rem;
}

.study-download-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.study-download-list a {
  display: block;
  padding: 0.65rem 0.75rem;
  color: var(--navy);
  background: white;
  border: 1px solid #d6b86e;
  border-radius: 0.3rem;
  font: 700 0.94rem/1.35 Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.study-download-list a:hover,
.study-download-list a:focus-visible { background: var(--gold-light); }

.individual-lesson-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.individual-lesson {
  display: grid;
  grid-template-columns: minmax(8.5rem, 1fr) minmax(12rem, auto);
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  background: white;
  border: 1px solid rgba(16, 43, 70, 0.16);
  border-radius: 0.3rem;
}

.lesson-label {
  font-weight: 700;
}

.lesson-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.lesson-links a {
  display: inline-block;
  padding: 0.42rem 0.58rem;
  color: white;
  background: var(--navy-light);
  border: 1px solid var(--gold);
  border-radius: 0.28rem;
  font: 700 0.78rem/1.25 Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.lesson-links a:hover,
.lesson-links a:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
}

.luke-example {
  margin: 0 auto 1.7rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid rgba(16, 43, 70, 0.18);
  border-top: 6px solid var(--gold);
  border-radius: 0.45rem;
  box-shadow: 0 10px 30px rgba(16, 43, 70, 0.09);
}

.luke-example header { margin-bottom: 1rem; text-align: center; }
.luke-example header .section-kicker { color: #7c5a1d; }

.luke-example h2 {
  max-width: 56rem;
  margin: 0.25rem auto 0;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.luke-example > p,
.luke-introduction > p { color: #2d4053; }

.teaching-plan {
  counter-reset: plan;
  display: grid;
  gap: 0.6rem;
  margin: 1.15rem 0 1.6rem;
  padding: 0;
  list-style: none;
}

.teaching-plan li {
  position: relative;
  min-height: 2.3rem;
  padding: 0.55rem 0.7rem 0.55rem 3rem;
  background: #f8f1df;
  border-left: 3px solid var(--gold);
}

.teaching-plan li::before {
  counter-increment: plan;
  content: counter(plan);
  position: absolute;
  left: 0.65rem;
  top: 0.48rem;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  color: white;
  background: var(--navy);
  border-radius: 50%;
  font: 700 0.82rem/1 Arial, Helvetica, sans-serif;
}

.luke-introduction { padding-top: 1.2rem; border-top: 1px solid #d6b86e; }

.luke-introduction h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  text-transform: uppercase;
}

.gospel-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.gospel-comparison li {
  padding: 0.9rem 1rem;
  background: #f6f1e7;
  border: 1px solid rgba(16, 43, 70, 0.14);
  border-radius: 0.35rem;
}

.gospel-comparison .featured-gospel {
  background: #fff5cf;
  border: 2px solid var(--gold);
}

@media (max-width: 61rem) {
  .study-introduction,
  .study-library { grid-template-columns: 1fr; }
  .study-feature { width: min(100%, 48rem); margin-inline: auto; }
}

@media (max-width: 42rem) {
  .gospel-comparison { grid-template-columns: 1fr; }
  .individual-lesson { grid-template-columns: 1fr; }
  .lesson-links { justify-content: flex-start; }
}
