.worship-main {
  width: min(calc(100% - 2rem), 86rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.5rem) 0 5rem;
}

.worship-intro {
  position: relative;
  margin: 0 auto 1.35rem;
}

.sermons-resource-card {
  position: absolute;
  top: -.35rem;
  right: 0;
  z-index: 40;
  width: min(31rem, calc(100vw - 2rem));
  font-family: Arial, Helvetica, sans-serif;
}

.sermons-resource-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  width: 10.25rem;
  margin-left: auto;
  padding: .7rem .85rem;
  color: var(--navy);
  background: #f8eed7;
  border: 2px solid var(--gold);
  border-radius: .45rem;
  box-shadow: 0 6px 18px rgba(16, 43, 70, .14);
  cursor: pointer;
  font-size: 1.03rem;
  font-weight: 800;
  list-style: none;
}

.sermons-resource-card summary::-webkit-details-marker { display: none; }

.sermons-resource-card summary:hover,
.sermons-resource-card summary:focus-visible,
.sermons-resource-card[open] summary {
  color: white;
  background: var(--navy);
}

.sermons-card-arrow {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  color: white;
  background: var(--navy);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform .18s ease;
}

.sermons-resource-card[open] .sermons-card-arrow {
  color: var(--navy);
  background: var(--gold-light);
  transform: rotate(180deg);
}

.sermons-resource-panel {
  margin-top: .35rem;
  padding: 1rem 1.1rem;
  color: #23394d;
  background: #fffdf8;
  border: 1px solid #d6b86e;
  border-top: 4px solid var(--gold);
  border-radius: .4rem;
  box-shadow: 0 12px 32px rgba(16, 43, 70, .22);
}

.sermons-resource-panel p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.52;
}

.sermons-resource-panel a {
  color: #174d7b;
  font-weight: 700;
}

.worship-intro > .eyebrow,
.worship-intro > h1 {
  text-align: center;
}

.worship-intro h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.worship-hero-grid {
  display: grid;
  grid-template-columns: minmax(16rem, .72fr) minmax(28rem, 1.55fr);
  align-items: start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.worship-scene {
  position: relative;
  aspect-ratio: 1.38;
  width: 94%;
  margin: -.45rem 0 0;
  overflow: hidden;
  background: #8d633a;
  border: clamp(5px, .65vw, 9px) solid #f1dfb7;
  outline: 1px solid rgba(58, 39, 17, .3);
  border-radius: .55rem;
  box-shadow: var(--shadow);
}

.worship-visual-column {
  min-width: 0;
}

.worship-scene picture {
  position: absolute;
  inset: 0;
}

.worship-scene img {
  position: absolute;
  left: -3.704%;
  top: -5.405%;
  display: block;
  width: 370.37%;
  max-width: none;
  height: auto;
}

.sanctity-copy {
  padding: clamp(1rem, 2.4vw, 1.65rem);
  background: rgba(255, 253, 248, .84);
  border-left: 5px solid var(--gold);
}

.sanctity-copy h2 {
  margin: 0 0 .75rem;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.sanctity-copy p {
  margin: .65rem 0 0;
  color: #33475a;
  font-size: 1.05rem;
  line-height: 1.62;
}

.builder-kicker,
.download-kicker {
  font: 800 .78rem/1.2 Arial, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.builder-kicker {
  color: var(--gold-light);
}

.worship-download-card a {
  display: inline-block;
  margin-top: 1.1rem;
  padding: .8rem 1rem;
  border-radius: .32rem;
  font: 800 .95rem/1.2 Arial, sans-serif;
  text-decoration: none;
}

.worship-downloads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.25rem 0;
}

.worship-resource-guidance {
  width: 94%;
  margin: .85rem 0 0;
  padding: .95rem 1.2rem;
  color: var(--navy);
  background: rgba(241, 217, 155, .26);
  border-left: 4px solid var(--gold);
  font-size: 1.08rem;
  box-shadow: 0 5px 16px rgba(16, 43, 70, .06);
}

.worship-download-card {
  padding: 1.2rem 1.25rem;
  background: #fffdf8;
  border: 1px solid #d9c08a;
  border-top: 5px solid var(--gold);
  border-radius: .45rem;
  box-shadow: 0 7px 20px rgba(16, 43, 70, .1);
}

.download-kicker {
  margin: 0 0 .35rem;
  color: #7d5a21;
}

.worship-download-card h2 {
  margin: 0 0 .45rem;
  color: var(--navy);
  font-size: 1.35rem;
}

.worship-download-card p {
  margin: 0;
  color: #4e5e6e;
  font-size: .96rem;
  line-height: 1.48;
}

.worship-download-card a {
  color: #fff;
  background: var(--navy);
  border: 2px solid var(--navy);
}

.worship-download-card a:hover,
.worship-download-card a:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  border-color: var(--gold);
}

.builder-shell {
  scroll-margin-top: 7rem;
  overflow: hidden;
  background: rgba(255, 253, 248, .97);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: .55rem;
  box-shadow: var(--shadow);
}

.builder-heading {
  display: grid;
  grid-template-columns: minmax(15rem, .65fr) minmax(20rem, 1.35fr);
  align-items: end;
  gap: 2rem;
  padding: clamp(1.35rem, 4vw, 2.5rem);
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.builder-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.builder-heading p {
  margin: 0;
  line-height: 1.5;
}

.service-builder {
  padding: clamp(1rem, 3vw, 2.25rem);
}

.service-builder fieldset {
  margin: 0 0 1.35rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid rgba(16, 43, 70, .2);
  border-radius: .45rem;
}

.service-builder legend {
  padding: 0 .55rem;
  color: var(--navy);
  font: 800 1.08rem/1.3 Arial, sans-serif;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wide-field {
  grid-column: 1 / -1;
}

.field-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.field-label-row p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 400;
  text-align: right;
}

.field-label-row a {
  color: var(--blue);
  font-weight: 700;
}

.sermon-text-field textarea {
  width: 100%;
}

.reading-entry {
  display: grid;
  align-content: start;
  gap: .8rem;
}

.service-builder label {
  color: #273b50;
  font: 700 .92rem/1.35 Arial, sans-serif;
}

.service-builder input[type=text],
.service-builder input[type=date],
.service-builder select,
.service-builder textarea {
  width: 100%;
  margin-top: .38rem;
  padding: .7rem .75rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #9ba7b3;
  border-radius: .32rem;
  font: 400 1rem/1.45 Georgia, serif;
}

.service-builder textarea {
  min-height: 8rem;
  resize: vertical;
}

.service-builder input:focus,
.service-builder select:focus,
.service-builder textarea:focus {
  outline: 3px solid rgba(209, 166, 83, .45);
  border-color: var(--navy-light);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.check-card {
  display: flex;
  gap: .65rem;
  padding: .85rem;
  background: #faf5e9;
  border: 1px solid #d9c08a;
  border-radius: .4rem;
  cursor: pointer;
}

.check-card:has(input:checked) {
  background: #eef4f8;
  border-color: var(--navy-light);
  box-shadow: inset 0 0 0 1px var(--navy-light);
}

.check-card input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .12rem;
  accent-color: var(--navy-light);
}

.check-card strong,
.check-card small {
  display: block;
}

.check-card small {
  margin-top: .2rem;
  color: #586575;
  font-weight: 400;
  line-height: 1.35;
}

.creed-choice {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  align-items: center;
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-family: Arial, sans-serif;
}

.creed-choice > span {
  font-weight: 800;
}

.creed-choice label {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.field-help {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .95rem;
}

.text-grid label {
  display: flex;
  flex-direction: column;
}

.builder-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #f3ead6;
  border: 1px solid #d9c08a;
  border-radius: .45rem;
}

.builder-actions p {
  margin: 0;
  color: #4c5865;
  font-size: .93rem;
}

.download-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.download-service {
  flex: 0 0 auto;
  padding: .85rem 1.25rem;
  color: #fff;
  background: var(--navy);
  border: 2px solid var(--navy);
  border-radius: .35rem;
  font: 800 1rem/1.2 Arial, sans-serif;
  cursor: pointer;
}

.download-service:hover {
  color: var(--navy);
  background: var(--gold-light);
  border-color: var(--gold);
}

.download-service:disabled {
  cursor: wait;
  opacity: .65;
}

.source-note {
  max-width: 68rem;
  margin: 2rem auto 0;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 253, 248, .8);
  border-left: 4px solid var(--gold);
}

.source-note h2 {
  margin: 0 0 .35rem;
  font-size: 1.35rem;
}

.source-note p {
  margin: 0;
}

.source-note p + p {
  margin-top: .75rem;
}

.booklet-instructions {
  max-width: 68rem;
  margin: 1rem auto 0;
  padding: 1.25rem 1.5rem;
  color: #33475a;
  background: #f8eed7;
  border: 1px solid #d9c08a;
  border-radius: .45rem;
}

.booklet-instructions h2 {
  margin: 0 0 .55rem;
  color: var(--navy);
  font-size: 1.35rem;
}

.booklet-instructions h3 {
  margin: 1rem 0 .45rem;
  color: var(--navy);
  font-size: 1.08rem;
}

.booklet-instructions h2 + h3 { margin-top: 0; }

.booklet-instructions ol {
  margin: 0;
  padding-left: 1.3rem;
}

.booklet-instructions li + li {
  margin-top: .4rem;
}

.booklet-instructions p {
  margin: .75rem 0 0;
}

@media (max-width: 70rem) {
  .sermons-resource-card {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 42rem);
    margin: 0 auto 1rem;
  }

  .worship-hero-grid {
    grid-template-columns: 1fr;
  }

  .worship-scene {
    width: min(100%, 42rem);
    margin: 0 auto;
  }

  .worship-resource-guidance {
    width: min(100%, 42rem);
    margin-inline: auto;
  }

  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 50rem) {
  .worship-main {
    width: min(calc(100% - 1.25rem), 86rem);
  }

  .builder-heading,
  .form-grid-three,
  .form-grid-two,
  .option-grid,
  .worship-downloads {
    grid-template-columns: 1fr;
  }

  .builder-heading {
    align-items: start;
    gap: .75rem;
  }

  .builder-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .download-actions,
  .field-label-row {
    align-items: stretch;
    flex-direction: column;
  }

  .field-label-row {
    gap: .25rem;
  }

  .field-label-row p {
    text-align: left;
  }

  .download-service,
  .worship-download-card a {
    width: 100%;
    text-align: center;
  }
}
