/* Approved reading layout for the two reviewed audio and text pages. */
.audio-text-reading-page { background: #ecd8b6; }
.audio-text-reading-page .audio-text-main { min-height: 60vh; padding: 1px 0 32px; background: linear-gradient(140deg,#ecd8b6 0%,#f1e0c4 58%,#dfbc85 100%); color: #263342; }
.audio-text-container { width: min(1400px,88%); margin-inline: auto; }
.audio-text-main .breadcrumbs { margin: 19px 0 22px; gap: 9px; font-size: .85rem; line-height: 1.7; flex-wrap: wrap; color: #536372; }
.audio-text-heading { padding: 4px 0 24px; border-bottom: 2px solid #b48b4e; }
.audio-text-heading .section-kicker { margin: 0 0 11px; color: #80501e; font-size: .94rem; }
.audio-text-heading h1 { max-width: 25em; margin: 0; color: #17376f; font-family: Georgia,"Noto Serif Hebrew",serif; font-weight: 600; font-size: clamp(2rem,3vw,3.15rem); line-height: 1.3; }
.audio-text-introduction { margin: 13px 0 0; color: #35475a; font-size: 1.05rem; line-height: 1.8; }
.audio-text-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,340px); grid-template-areas: "reading listening"; align-items: start; gap: clamp(28px,3vw,44px); margin-top: 26px; }
.audio-text-sidebar { grid-area: listening; display: grid; gap: 19px; min-width: 0; position: sticky; top: 116px; }
.audio-text-player { min-width: 0; padding: 21px 20px 14px; border: 1px solid #b78b51; border-radius: 14px; background: linear-gradient(120deg,#e9c18a,#f6e0b9 58%,#e6c18b); box-shadow: inset 0 1px #fff6df,0 4px 10px #8d5d251a; }
.audio-text-player header { display: flex; align-items: center; gap: 9px; }
.audio-text-player h2 { margin: 0; color: #3e2d20; font: 700 1.05rem/1.6 var(--interface-font); }
.audio-text-symbol { flex: 0 0 25px; height: 25px; color: #6c4026; }
.audio-text-symbol svg { display: block; width: 100%; height: 100%; }
.audio-text-duration { display: flex; gap: 10px; margin: 8px 0 15px; color: #61472c; font-size: .88rem; }
.audio-text-duration bdi { font-weight: 650; }
.audio-text-player audio { display: block; width: 100%; min-width: 0; height: 54px; direction: ltr; border-radius: 28px; background: #f1f3f4; }
.audio-text-download { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 7px; color: #453224; font-size: .87rem; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.audio-text-download svg { width: 17px; height: 17px; }
.audio-text-details { padding: 20px; border: 1px solid #d0ba94; border-radius: 13px; background: linear-gradient(135deg,#f3ead8,#e9ddc4); box-shadow: inset 0 1px #fff9ec,0 5px 16px #6c512b0b; }
.audio-text-details h2 { margin: 0 0 15px; color: #294c68; font-size: 1.12rem; line-height: 1.5; }
.audio-text-details dl { display: grid; gap: 13px; margin: 0; font-size: .94rem; line-height: 1.7; }
.audio-text-details dt { color: #6c6a60; }
.audio-text-details dd { margin: 2px 0 0; color: #293e51; font-weight: 650; }
.audio-text-details > p { margin: 13px 0 0; font-size: .94rem; line-height: 1.8; }
.audio-text-actions { display: grid; gap: 2px; margin-top: 16px; padding-top: 11px; border-top: 1px solid #d2bc96; }
.audio-text-actions a { display: flex; align-items: center; min-height: 39px; color: #244f73; font-size: .9rem; line-height: 1.7; text-underline-offset: 4px; }
.audio-text-paper { grid-area: reading; min-width: 0; padding: clamp(23px,2.5vw,36px); border: 1px solid #d9c6a5; border-radius: 16px; background: linear-gradient(150deg,#fffef9 0%,#fcf7eb 48%,#f5e8ce 100%); box-shadow: inset 0 1px #fff,inset 0 -1px #8d6e3c12,0 2px 4px #70563212,0 14px 32px #73562f1c,0 30px 58px #73562f0c; }
.audio-text-paper-heading { padding-bottom: 17px; border-bottom: 1px solid #dfd1b8; }
.audio-text-paper-heading h2 { margin: 0; color: #17376f; font-size: 1.4rem; line-height: 1.5; scroll-margin-top: 120px; }
.audio-text-reading-page .audio-text-paper .archive-longform-body { max-width: none; margin: 21px 0 0; }
.audio-text-reading-page .audio-text-paper .archive-longform-body p { margin: 0 0 1.05em; color: #263342; font-size: clamp(1.1rem,1.4vw,1.28rem); line-height: 1.95; }
.audio-text-reading-page [data-archive-id="moshe-daberashvili-torah-reading"] .audio-text-paper .archive-longform-body p:first-child { margin-bottom: 1.25em; color: #475568; font-size: 1rem; font-weight: 650; }
.audio-text-reading-page .audio-text-paper .archive-longform-body p:last-child { margin-bottom: 0; }
.audio-text-source { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 23px; padding-top: 14px; border-top: 1px solid #d9ccb5; color: #5a665f; font-size: .85rem; line-height: 1.7; }
.audio-text-related { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 24px; padding: 10px 1px 0; border-top: 1px solid #d2bd98; }
.audio-text-related a { display: inline-flex; align-items: center; gap: 13px; min-height: 42px; color: #244f73; font-size: .95rem; }
.audio-text-main a:focus-visible,.audio-text-main audio:focus-visible { outline: 3px solid #975e16; outline-offset: 4px; }
@media(max-width:1100px) {
  .audio-text-container { width: calc(100% - 40px); }
  .audio-text-layout { grid-template-columns: minmax(0,1fr) 310px; gap: 26px; }
  .audio-text-paper { padding: 24px; }
}
@media(max-width:900px) {
  .audio-text-container { width: calc(100% - 30px); }
  .audio-text-main .breadcrumbs { margin: 16px 0 19px; font-size: .78rem; }
  .audio-text-heading { padding-bottom: 21px; }
  .audio-text-heading h1 { font-size: clamp(2rem,5vw,2.7rem); }
  .audio-text-introduction { font-size: 1rem; }
  .audio-text-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "listening" "reading"; gap: 20px; margin-top: 21px; }
  .audio-text-sidebar { position: static; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 18px; }
  .audio-text-reading-page .audio-text-paper .archive-longform-body p { font-size: 1.16rem; }
}
@media(max-width:600px) {
  .audio-text-sidebar { display: block; }
  .audio-text-details { margin-top: 15px; padding: 15px 18px; }
  .audio-text-details h2 { margin-bottom: 10px; font-size: 1.04rem; }
  .audio-text-details dl { grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 12px; font-size: .87rem; }
  .audio-text-actions { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 12px; padding-top: 7px; }
  .audio-text-actions a { font-size: .83rem; min-height: 36px; }
  .audio-text-player { padding: 18px 17px 11px; }
  .audio-text-player h2 { font-size: 1rem; }
  .audio-text-duration { margin-bottom: 12px; }
  .audio-text-paper { padding: 22px 20px; border-radius: 13px; }
  .audio-text-paper-heading h2 { font-size: 1.25rem; }
  .audio-text-reading-page .audio-text-paper .archive-longform-body p { font-size: 1.14rem; line-height: 1.95; }
}

/* Native parchment6, unchanged at three source pixels per CSS pixel. */
.audio-text-reading-page .audio-text-variants { margin-top: 22px; padding-top: 17px; border-top: 1px solid #d9ccb6; }
.audio-text-reading-page .audio-text-variants h2 { margin: 0 0 6px; font-size: 1rem; line-height: 1.6; color: #263342; }
.audio-text-reading-page .audio-text-variants summary { padding: 10px 0; min-height: 44px; font-size: .94rem; line-height: 1.7; color: #21466b; cursor: pointer; }
.audio-text-reading-page .audio-text-variants [data-text-variant] { padding: 7px 0; }
.audio-text-reading-page .audio-text-variants [data-text-variant] p { margin: 0 0 1em; font-size: 1.05rem; line-height: 1.85; white-space: pre-line; color: #263342; }
.audio-text-reading-page .audio-text-paper {
  background-color: #f3e7d0;
  background-image: linear-gradient(rgba(255,253,245,.12),rgba(255,253,245,.12)),url("/assets/parchment/parchment-6.jpg");
  background-size: auto,1024px 1834.6666666666667px;
  background-position: 0 0,center top;
  background-repeat: repeat;
}
