/* OceanWP's default title panel duplicates the series heading on this page. */
.bht-xmy-page #main > .page-header,
.bht-xmy-page #main #right-sidebar-wrap { display: none; }
.bht-xmy-page #main #content-wrap,
.bht-xmy-page #main #primary {
    width: 100%; max-width: none; float: none; padding: 0; margin: 0; border: 0;
}
.bht-xmy-page #primary .single-page-article,
.bht-xmy-page #primary .entry { margin: 0; padding: 0; }

/* The broadcast-video directory supplies the desktop and phone measurements. */
.bht-xmy-page .bht-xmy {
    max-width: 1000px; margin: 0 auto; padding: 38px 22px 36px;
    box-sizing: border-box; font-size: 20px; line-height: 1.65; color: #252525;
}
.bht-xmy-page .bht-xmy .bht-book-toolbar {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 8px; margin: 0 auto 20px !important; padding: 0;
}
.bht-xmy-page .bht-xmy .bht-book-toolbar > :is(button,a) {
    display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    min-height: 44px; padding: 7px 15px !important; border: 1px solid #bf941d; border-radius: 4px;
    font-family: inherit; font-size: 18px !important; font-weight: 400; line-height: 1.5;
    background: #fff8e2; color: #66480b; cursor: pointer;
}
.bht-xmy-page .bht-xmy .bht-book-toolbar button[aria-pressed=true] { background: #356b92; color: #fff; }
.bht-xmy-page .bht-xmy h1 {
    margin: 12px 0; font-size: clamp(26px,3.2vw,36px) !important; font-weight: 700;
    line-height: 1.5; color: #7e0707; text-align: center;
}
.bht-xmy-page .xmy-bar {
    box-sizing: border-box; max-width: 650px; margin: 30px auto 16px; padding: 12px 16px;
    border-radius: 6px; background: #faf7f0; font-size: 23px; text-align: center;
}
.bht-xmy-page .bht-xmy .xmy-list {
    width: fit-content; max-width: 100%; margin: 0 auto 24px; padding: 0;
    list-style: none; counter-reset: xmy; text-align: left;
}
.bht-xmy-page .xmy-list li {
    display: grid; grid-template-columns: 3ch minmax(0,1fr); align-items: baseline;
    gap: .35em; margin: 0; padding: 2px 0; font-size: 20px; line-height: 1.4; counter-increment: xmy;
}
.bht-xmy-page .xmy-list li::before { content: counter(xmy) "."; text-align: right; font-variant-numeric: tabular-nums; }
.bht-xmy-page .bht-xmy a { color: #7e0707; text-decoration: none !important; }
.bht-xmy-page .xmy-episode { text-align: center; margin: 0 0 18px; font-size: 24px; line-height: 1.5; }
.bht-xmy-page .xmy-nav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0; font-size: 18px; }
.bht-xmy-page .bht-xmy video { display: block; width: 100%; max-width: 900px; height: auto; aspect-ratio: 16 / 9; object-fit: contain; margin: 0 auto; background: #111; }
.bht-xmy-page .xmy-reading { margin: 18px 0 24px; }
.bht-xmy-page .bht-xmy :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 600px) {
    .bht-xmy-page .bht-xmy { padding: 34px 16px 32px; }
    .bht-xmy-page .xmy-list li { padding-block: 1px; }
    .bht-xmy-page .xmy-episode { font-size: 22px; }
}
.bht-xmy-page .xmy-subtitle { margin: 0 auto 18px; text-align: center; color: #635749; }
.bht-xmy-page .xmy-subtitle + .xmy-bar { margin-top: 18px; }
.bht-xmy-page .xmy-detail video { border-radius: 6px; margin-top: 22px; }
.bht-xmy-page .xmy-detail .xmy-nav a, .bht-xmy-page .xmy-modes button {
    background: #fff8e2; border: 1px solid #c79b42; color: #704b11; border-radius: 4px;
    padding: .3em .75em; font: inherit; line-height: 1.5; cursor: pointer;
}
.bht-xmy-page .xmy-panel {
    box-sizing: border-box; width: 100%; max-width: 900px; margin: 20px auto 26px;
    border: 1px solid #ddc6a9; border-radius: 6px; background: white; text-align: left;
}
.bht-xmy-page .xmy-panel header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 8px 14px; gap: 6px; }
.bht-xmy-page .xmy-panel h2 { margin: 0; color: #7e0707; font-size: 1.1em; line-height: 1.55; }
.bht-xmy-page .xmy-modes { display: flex; gap: 5px; flex-wrap: wrap; font-size: 16px; }
.bht-xmy-page .xmy-modes button[aria-pressed="true"] { background: #932e20; color: white; }
.bht-xmy-page #xmy-text { padding: 16px 20px; border-top: 1px solid #e9d8c8; overflow-wrap: anywhere; }
.bht-xmy-page #xmy-text h3 { margin: 0 0 .4em; font-size: 1em; }
.bht-xmy-page #xmy-text p { margin: 0 0 .75em; }
.bht-xmy-page #xmy-text p:last-child { margin: 0; }
.bht-xmy-page .xmy-panel[data-mode="part"] #xmy-text { max-height: 16rem; overflow-y: auto; }
.bht-xmy-page .xmy-panel [hidden] { display: none !important; }
.bht-xmy-page .xmy-detail > .xmy-nav:last-child { margin-bottom: 24px; }
