/* Old Paths Player — colors match the Old Paths Recordings brand */
:root {
  --opp-lake: #132A4A;   /* deep navy: bar, solid buttons */
  --opp-teal: #1F4FA0;   /* Old Paths blue: links, hovers */
  --opp-ripple: #A9C2EA; /* light blue: progress, highlights */
  --opp-mist: #F3F6FB;
  --opp-rule: #DCE3EE;
  --opp-text: #1F2A37;
  --opp-gray: #5B6676;
}

body.opp-has-bar { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

.opp-bar[hidden], .opp-panel[hidden], .opp-modal[hidden], .opp-bar [hidden] { display: none !important; }

.opp-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0 1.5rem;
  padding: .7rem clamp(.75rem, 3vw, 2rem) calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: var(--opp-lake); color: #fff;
  font-family: inherit; font-size: 15px; line-height: 1.35;
  box-shadow: 0 -1px 0 rgba(255,255,255,.08);
}
.opp-bar *, .opp-modal *, .opp-page * { box-sizing: border-box; }

/* buttons */
.opp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font: inherit; font-weight: 600; cursor: pointer; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; background: none; color: inherit; padding: .55rem 1.1rem; line-height: 1.1;
}
.opp-btn svg { width: 18px; height: 18px; fill: currentColor; }
.opp-btn:focus-visible, .opp-link:focus-visible, .opp-seek:focus-visible, .opp-pick:focus-visible { outline: 2px solid var(--opp-ripple); outline-offset: 3px; }
.opp-btn--solid { background: var(--opp-lake); color: #fff !important; border-color: var(--opp-lake); }
.opp-btn--solid:hover { background: var(--opp-teal); border-color: var(--opp-teal); }
.opp-btn--outline { border-color: var(--opp-rule); color: var(--opp-lake) !important; background: #fff; }
.opp-btn--outline:hover { border-color: var(--opp-teal); }
.opp-btn:disabled { opacity: .45; cursor: default; }
.opp-link { font: inherit; background: none; border: 0; padding: .2rem 0; cursor: pointer; color: var(--opp-teal); text-decoration: underline; text-underline-offset: 3px; }

/* bar controls */
.opp-bar__controls { display: flex; align-items: center; gap: .35rem; }
.opp-bar .opp-btn--play { width: 48px; height: 48px; padding: 0; background: #fff; color: var(--opp-lake); }
.opp-bar .opp-btn--play svg { width: 22px; height: 22px; }
.opp-bar .opp-btn--play:hover { background: var(--opp-ripple); }
.opp-i-pause, .opp-bar.is-playing .opp-i-play { display: none; }
.opp-bar.is-playing .opp-i-pause { display: block; }
.opp-bar .opp-btn--skip { width: 40px; height: 40px; padding: 0; color: var(--opp-ripple); }
.opp-bar .opp-btn--skip svg { width: 30px; height: 30px; }
.opp-bar .opp-btn--skip text { font: 700 6.5px/1 sans-serif; fill: currentColor; }
.opp-bar .opp-btn--skip:hover { color: #fff; }

.opp-bar__main { min-width: 0; }
.opp-bar__meta { display: flex; align-items: baseline; gap: .75rem; min-width: 0; }
.opp-bar__title { color: #fff !important; font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opp-bar__title:hover { text-decoration: underline; }
.opp-bar__sub { color: rgba(255,255,255,.65); white-space: nowrap; font-size: .9em; }
.opp-bar__notice { color: var(--opp-ripple); font-size: .9em; white-space: nowrap; }

.opp-bar__progress { display: flex; align-items: center; gap: .7rem; margin-top: .35rem; }
.opp-time { font-size: .8em; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; min-width: 3.2em; }
.opp-time--dur { text-align: right; }
.opp-seek {
  --opp-pct: 0%;
  flex: 1; height: 18px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.opp-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--opp-ripple) var(--opp-pct), rgba(255,255,255,.18) var(--opp-pct)); }
.opp-seek::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); }
.opp-seek::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--opp-ripple); }
.opp-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; border: 0; }
.opp-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }

.opp-bar__side { display: flex; align-items: center; gap: .25rem; }
.opp-bar .opp-btn--text { padding: .45rem .7rem; color: #fff; font-weight: 500; }
.opp-bar .opp-btn--text:hover { background: rgba(255,255,255,.1); }
.opp-bar .opp-account { color: var(--opp-ripple) !important; }
.opp-count { color: var(--opp-ripple); }

/* queue panel */
.opp-panel {
  position: absolute; right: clamp(.75rem, 3vw, 2rem); bottom: calc(100% + .5rem);
  width: min(420px, calc(100vw - 1.5rem)); max-height: min(60vh, 520px); overflow: auto;
  background: #fff; color: var(--opp-text); border: 1px solid var(--opp-rule); border-radius: 10px;
  padding: 1rem 1.1rem; box-shadow: 0 12px 32px rgba(19,42,74,.18);
}
.opp-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.opp-panel h2 { font-size: 1.1rem; margin: 0; color: var(--opp-lake); }
.opp-panel__actions { display: flex; gap: 1rem; font-size: .9em; }
.opp-queue, .opp-pl__items { list-style: none; margin: 0; padding: 0; }
.opp-queue li, .opp-pl__items li { padding: .7rem 0; border-top: 1px solid var(--opp-rule); }
.opp-q__meta { display: flex; flex-direction: column; }
.opp-q__title { font-weight: 600; color: var(--opp-lake); text-decoration: none; }
a.opp-q__title:hover { text-decoration: underline; }
.opp-q__sub { font-size: .88em; color: var(--opp-gray); }
.opp-q__btns { display: flex; gap: 1rem; margin-top: .25rem; font-size: .88em; }
.opp-empty { color: var(--opp-gray); margin: .5rem 0 0; }

/* sermon buttons */
.opp-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }

/* modal */
.opp-modal { position: fixed; inset: 0; z-index: 99995; background: rgba(19,42,74,.45); display: grid; place-items: center; padding: 1rem; }
.opp-modal__box { width: min(440px, 100%); background: #fff; color: var(--opp-text); border-radius: 12px; padding: 1.5rem; position: relative; }
.opp-modal h2 { margin: 0 0 1rem; font-size: 1.25rem; color: var(--opp-lake); }
.opp-modal__list { list-style: none; margin: 0 0 1.25rem; padding: 0; max-height: 40vh; overflow: auto; }
.opp-modal__list:empty { display: none; }
.opp-pick {
  width: 100%; display: flex; justify-content: space-between; gap: 1rem; text-align: left;
  font: inherit; font-weight: 600; color: var(--opp-lake); background: var(--opp-mist);
  border: 1px solid var(--opp-rule); border-radius: 8px; padding: .75rem 1rem; margin-bottom: .5rem; cursor: pointer;
}
.opp-pick span { font-weight: 400; color: var(--opp-gray); font-size: .9em; }
.opp-pick:hover { border-color: var(--opp-teal); }
.opp-modal__new label { display: block; font-weight: 600; margin-bottom: .4rem; }
.opp-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.opp-row input, .opp-page input[type="text"] {
  flex: 1 1 180px; font: inherit; padding: .6rem .9rem; border: 1px solid #B5C3C6; border-radius: 999px; color: var(--opp-text); background: #fff;
}
.opp-modal__close { margin-top: 1rem; }

/* toast */
.opp-toast {
  position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom, 0px)); z-index: 99996;
  transform: translate(-50%, 8px); opacity: 0; pointer-events: none;
  background: var(--opp-lake); color: #fff; padding: .6rem 1.1rem; border-radius: 999px; font-size: 14px;
  transition: opacity .2s, transform .2s;
}
.opp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* My playlists page */
.opp-page { color: var(--opp-text); }
.opp-page__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.opp-page__hello { margin: 0; color: var(--opp-gray); }
.opp-page__new { margin-bottom: 2rem; }
.opp-pl { background: var(--opp-mist); border: 1px solid var(--opp-rule); border-radius: 10px; padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; }
.opp-pl__head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: .75rem; }
.opp-pl__head h3 { margin: 0; font-size: 1.3rem; color: var(--opp-lake); }
.opp-pl__count { color: var(--opp-gray); font-size: .9em; }
.opp-pl__btns { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.opp-pl__items li { display: grid; grid-template-columns: 1fr auto; gap: 0 1rem; }
.opp-pl__items .opp-q__sub { grid-column: 1; }
.opp-pl__items .opp-q__btns { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
.opp-sr { position: absolute; left: -9999px; }

/* mobile */
@media (max-width: 760px) {
  .opp-bar { grid-template-columns: auto 1fr; gap: .4rem .8rem; }
  .opp-bar .opp-btn--skip { display: none; }
  .opp-bar__meta { flex-direction: column; gap: 0; }
  .opp-bar__side { grid-column: 1 / -1; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); padding-top: .3rem; }
  body.opp-has-bar { padding-bottom: calc(130px + env(safe-area-inset-bottom, 0px)); }
  .opp-toast { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
  .opp-pl__btns { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .opp-toast { transition: none; } }

/* Featured sermon card [op_featured] */
.opf { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; background: #fff; border: 1px solid var(--opp-rule); border-radius: 6px; overflow: hidden; color: var(--opp-text); }
.opf__art { background: var(--opp-lake); min-height: 260px; }
.opf__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.opf__plate { height: 100%; min-height: 260px; display: grid; place-items: center; padding: 2rem; text-align: center;
  background: var(--opp-lake) radial-gradient(circle at 50% 120%, rgba(169,194,234,.25), transparent 60%); }
.opf__plate-ref { font-family: "Cormorant Garamond", Garamond, Georgia, serif; font-style: italic; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; color: #fff; }
.opf__body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.opf__label { margin: 0 0 .6rem; color: var(--opp-teal); font-weight: 600; font-size: .95rem; }
.opf__label span { color: var(--opp-gray); font-weight: 400; margin-left: .35rem; }
.opf__title { margin: 0 0 .5rem; font-family: "Cormorant Garamond", Garamond, Georgia, serif; font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; }
.opf__title a { color: var(--opp-lake); text-decoration: none; }
.opf__title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.opf__meta { margin: 0 0 1rem; color: var(--opp-gray); font-size: .95rem; white-space: pre-wrap; }
.opf__desc { margin: 0 0 1.4rem; line-height: 1.65; max-width: 62ch; }
.opf .opp-actions { margin-bottom: 1rem; }
.opf__more { color: var(--opp-teal); font-size: .95rem; }
@media (max-width: 720px) { .opf { grid-template-columns: 1fr; } .opf__art, .opf__plate { min-height: 170px; } }

/* Browse panels [op_browse] */
.opb { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.opb__col { background: #fff; border: 1px solid var(--opp-rule); border-radius: 6px; overflow: hidden; }
.opb__col h3 { margin: 0; padding: .9rem 1.2rem; background: var(--opp-lake); color: #fff; font-family: "Cormorant Garamond", Garamond, Georgia, serif; font-style: italic; font-weight: 600; font-size: 1.35rem; }
.opb__col ul { list-style: none; margin: 0; padding: 0 1.2rem; max-height: 340px; overflow-y: auto; scrollbar-width: thin; }
.opb__col li a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--opp-rule); color: var(--opp-text) !important; text-decoration: none !important; }
.opb__col li:last-child a { border-bottom: 0; }
.opb__col li a:hover span:first-child { color: var(--opp-teal); text-decoration: underline; text-underline-offset: 3px; }
.opb__n { flex: none; min-width: 2.2em; padding: .1rem .5rem; border-radius: 999px; background: var(--opp-mist); color: var(--opp-gray); font-size: .85rem; text-align: center; }

.opp-actions__more { display: inline-flex; align-items: center; gap: 1.1rem; margin-left: .5rem; font-size: .95rem; }
.opp-actions__more a.opp-link { color: var(--opp-teal) !important; }

/* Recently added [op_recent] */
.opr { list-style: none; margin: 0; padding: 0; }
.opr__item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--opp-rule); }
.opr__item:first-child { padding-top: 0; }
.opr__play { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--opp-lake); color: #fff; }
.opr__play:hover { background: var(--opp-teal); }
.opr__play svg { width: 18px; height: 18px; fill: currentColor; margin-left: 2px; }
.opr__meta { display: flex; flex-direction: column; min-width: 0; }
.opr__meta a { font-weight: 600; color: var(--opp-lake) !important; text-decoration: none !important; line-height: 1.3; }
.opr__meta a:hover { text-decoration: underline !important; }
.opr__meta span { font-size: .9rem; color: var(--opp-gray); }
.opr__queue { font-size: .9rem; white-space: nowrap; }
@media (max-width: 520px) { .opr__item { grid-template-columns: auto 1fr; } .opr__queue { grid-column: 2; justify-self: start; } }

/* ---------- Sermon library page [op_sermons] ---------- */
.opl { color: var(--opp-text); }
.opl-form { background: var(--opp-mist); border: 1px solid var(--opp-rule); border-radius: 6px; padding: 1.25rem; margin-bottom: 1.5rem; }
.opl-search { display: flex; gap: .5rem; padding: .35rem; background: #fff; border: 1px solid #C9D3E2; border-radius: 6px; }
.opl-search:focus-within { border-color: var(--opp-teal); box-shadow: 0 0 0 3px var(--opp-ripple); }
.opl-search input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; padding: .6rem .8rem; font: inherit; background: transparent; color: var(--opp-text); }
.opl-search input:focus { outline: none; }
.opl-search button, .opl-form noscript button { border: 0; border-radius: 4px; padding: .6rem 1.3rem; font: inherit; font-weight: 600; background: var(--opp-teal); color: #fff; cursor: pointer; }
.opl-search button:hover { background: var(--opp-lake); }
.opl-filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem 1rem; margin-top: 1rem; }
.opl-field { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; font-weight: 600; color: var(--opp-lake); }
.opl-field select { font: inherit; font-weight: 400; color: var(--opp-text); padding: .5rem .6rem; border: 1px solid #C9D3E2; border-radius: 4px; background: #fff; width: 100%; }
.opl-field select:focus { outline: 2px solid var(--opp-ripple); outline-offset: 1px; }
.opl-reset { margin: .9rem 0 0; font-size: .95rem; }
.opl-reset a { color: var(--opp-teal) !important; }
.opl-count { color: var(--opp-gray); font-size: .95rem; margin: 0 0 .5rem; }
.opl-none { padding: 2rem 0; color: var(--opp-gray); }
.opl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--opp-rule); }
.opl-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--opp-rule); }
.opl-row__main { display: flex; flex-direction: column; min-width: 0; }
.opl-row__title { font-weight: 600; font-size: 1.05rem; color: var(--opp-lake) !important; text-decoration: none !important; }
.opl-row__title:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.opl-row__meta { color: var(--opp-gray); font-size: .9rem; white-space: pre-wrap; }
.opl-row .opp-link { font-size: .9rem; white-space: nowrap; }
.opl-noaudio { width: 40px; height: 40px; border-radius: 50%; border: 1px dashed var(--opp-rule); }
.opl-pages { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin: 1.75rem 0 0; }
.opl-pages a { font-weight: 600; color: var(--opp-teal) !important; }
.opl-pages span { color: var(--opp-gray); }
.opl-sr { position: absolute; left: -9999px; }
@media (max-width: 600px) {
  .opl-row { grid-template-columns: auto 1fr; }
  .opl-row .opp-link { grid-column: 2; justify-self: start; }
  .opl-filters { grid-template-columns: 1fr 1fr; }
}

/* ---------- Single sermon page ---------- */
.ops-single { margin: 0 0 2rem; color: var(--opp-text); }
.ops-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0; margin: 1.25rem 0 0; padding: 0; border: 1px solid var(--opp-rule); border-radius: 6px; overflow: hidden; background: var(--opp-mist); }
.ops-facts > div { padding: .8rem 1rem; border-right: 1px solid var(--opp-rule); border-bottom: 1px solid var(--opp-rule); margin: -1px -1px 0 0; }
.ops-facts dt { font-size: .82rem; color: var(--opp-gray); margin: 0 0 .15rem; }
.ops-facts dd { margin: 0; font-weight: 600; color: var(--opp-lake); }
.ops-facts dd a { color: var(--opp-teal) !important; }
.ops-back { margin: 1rem 0 0; font-size: .95rem; }
.ops-back a { color: var(--opp-teal) !important; }

/* ---------- Library with filters on the left [op_sermons layout="sidebar"] ---------- */
.opl--side { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.opl-side { position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem - 84px); overflow-y: auto; scrollbar-width: thin; padding-right: .25rem; }
.admin-bar .opl-side { top: calc(1.5rem + 32px); }
.opl-side__search { display: flex; border: 1px solid #C9D3E2; border-radius: 6px; background: #fff; margin-bottom: 1.25rem; }
.opl-side__search:focus-within { border-color: var(--opp-teal); box-shadow: 0 0 0 3px var(--opp-ripple); }
.opl-side__search input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent; padding: .7rem .8rem; font: inherit; color: var(--opp-text); }
.opl-side__search input:focus { outline: none; }
.opl-side__search button { border: 0; background: var(--opp-teal); color: #fff; width: 46px; border-radius: 0 5px 5px 0; cursor: pointer; display: grid; place-items: center; }
.opl-side__search button:hover { background: var(--opp-lake); }
.opl-side__search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.opl-group { border-top: 1px solid var(--opp-rule); }
.opl-group:last-child { border-bottom: 1px solid var(--opp-rule); }
.opl-group summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .5rem; padding: .85rem 0; font-weight: 600; color: var(--opp-lake); }
.opl-group summary::-webkit-details-marker { display: none; }
.opl-group summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--opp-gray); border-bottom: 2px solid var(--opp-gray); transform: rotate(45deg); transition: transform .15s; }
.opl-group[open] summary::after { transform: rotate(-135deg); }
.opl-group summary:focus-visible { outline: 2px solid var(--opp-ripple); outline-offset: 2px; }
.opl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--opp-teal); }
.opl-group ul { list-style: none; margin: 0 0 .9rem; padding: 0; max-height: 260px; overflow-y: auto; scrollbar-width: thin; }
.opl-group li a { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .35rem .5rem; margin: 0 .25rem 1px 0; border-radius: 4px; font-size: .95rem; color: var(--opp-text) !important; text-decoration: none !important; }
.opl-group li a:hover { background: var(--opp-mist); color: var(--opp-teal) !important; }
.opl-group li a.is-on { background: var(--opp-lake); color: #fff !important; }
.opl-group li a.is-on .opb__n { background: rgba(255,255,255,.18); color: #fff; }
.opl-group li a.opl-all { color: var(--opp-teal) !important; font-weight: 600; }
.opl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-bottom: .9rem; }
.opl-bar .opl-count { margin: 0; }
.opl-sort { display: flex; align-items: center; gap: .5rem; font-size: .95rem; color: var(--opp-gray); }
.opl-sort select { font: inherit; padding: .45rem .6rem; border: 1px solid #C9D3E2; border-radius: 4px; background: #fff; color: var(--opp-text); }
.opl-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1rem; }
.opl-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .4rem .3rem .8rem; border-radius: 999px; background: var(--opp-mist); border: 1px solid var(--opp-rule); font-size: .9rem; color: var(--opp-lake) !important; text-decoration: none !important; }
.opl-chip span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--opp-gray); font-size: 1rem; line-height: 1; }
.opl-chip:hover span { background: var(--opp-lake); color: #fff; }
.opl-clear { font-size: .9rem; color: var(--opp-teal) !important; margin-left: .25rem; }
@media (max-width: 860px) {
  .opl--side { grid-template-columns: 1fr; gap: 1.25rem; }
  .opl-side { position: static; max-height: none; overflow: visible; padding: 0; }
}


/* ---------- Download buttons ---------- */
.opp-btn svg.opp-i-stroke { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.opp-bar .opp-dl svg { width: 18px; height: 18px; }
.opp-bar .opp-dl { color: #fff !important; text-decoration: none !important; }
@media (max-width: 760px) { .opp-bar .opp-dl span { display: none; } }

/* ---------- Sermon outline ---------- */
.ops-outline { margin: 1.5rem 0 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--opp-teal); background: #fff; }
.ops-outline h2 { margin: 0 0 .6rem; font-family: "Cormorant Garamond", Garamond, Georgia, serif; font-style: italic; font-weight: 600; font-size: 1.6rem; color: var(--opp-lake); }
.ops-outline ol { margin: 0; padding-left: 1.4rem; }
.ops-outline li { margin: .3rem 0; font-size: 1.1rem; font-weight: 600; color: var(--opp-lake); }
.ops-outline li::marker { color: var(--opp-teal); }


.ops-audio-note { display: flex; align-items: center; gap: .55rem; margin: .25rem 0 0; padding: .55rem .85rem; border-radius: 4px; background: #FFF7E0; color: #6B5310; font-size: .95rem; }
.ops-audio-note svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


/* ---------- Summary: the introduction to each sermon ---------- */
.ops-summary { margin: 0 0 1.75rem; padding: 1.4rem 1.6rem 1.5rem; background: var(--opp-mist); border-left: 4px solid var(--opp-teal); border-radius: 0 6px 6px 0; }
.ops-summary__label { margin: 0 0 .45rem !important; font-size: .9rem; font-weight: 600; color: var(--opp-teal); }
.ops-summary__text { margin: 0 !important; font-family: "Cormorant Garamond", Garamond, Georgia, serif; font-size: clamp(1.3rem, 2.2vw, 1.55rem); line-height: 1.5; color: var(--opp-lake); max-width: 62ch; }

/* ---------- Transcript: tucked away until opened ---------- */
.ops-transcript { margin: 2.5rem 0 0; border: 1px solid var(--opp-rule); border-radius: 6px; color: var(--opp-text); }
.ops-transcript > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; color: var(--opp-gray); }
.ops-transcript > summary::-webkit-details-marker { display: none; }
.ops-transcript > summary svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.ops-transcript > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.ops-transcript[open] > summary::after { transform: rotate(-135deg); }
.ops-transcript > summary:hover { color: var(--opp-teal); }
.ops-transcript > summary:focus-visible { outline: 2px solid var(--opp-ripple); outline-offset: 2px; }
.ops-transcript__title { font-weight: 600; }
.ops-transcript__meta { font-size: .88rem; }
.ops-transcript__inner { padding: 0 1.4rem 1.2rem; border-top: 1px solid var(--opp-rule); }
.ops-transcript__note { margin: 1rem 0 !important; padding: .6rem .9rem; background: var(--opp-mist); border-radius: 4px; font-size: .9rem; color: var(--opp-gray); }
.ops-transcript__body { font-size: 1.02rem; line-height: 1.8; max-width: 68ch; }
.ops-transcript__body p { margin: 0 0 1.1rem; }
.ops-transcript__actions { margin: .5rem 0 0 !important; font-size: .95rem; }
@media print {
  .opp-bar, .opp-actions, .ops-facts, .ops-back, .ops-outline, .ops-summary, .ops-transcript > summary, .ops-transcript__actions, header, footer, nav { display: none !important; }
  .ops-transcript { border: 0; }
  .ops-transcript__inner { border: 0; padding: 0; }
  body.opp-has-bar { padding-bottom: 0 !important; }
}
