/* Guilo Lessons podcasts: lesson card, Podcasts page and the bar at the bottom of the screen (js/podcast.js). */
.pod-play{flex:none;display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;border:0;background:var(--accent,#b4432c);color:#fff;cursor:pointer;transition:transform .15s,background-color .15s;box-shadow:0 6px 16px -6px #b4432c99}
.pod-play:hover{background:var(--accent-deep,#933520);transform:scale(1.05)}
.pod-play:focus-visible,.pod-ic:focus-visible,.pod-rate:focus-visible,.pod-row-btn:focus-visible{outline:3px solid #b4432c59;outline-offset:2px}
.pod-play svg{width:26px;height:26px}
.pod-play-sm{width:44px;height:44px;box-shadow:none}.pod-play-sm svg{width:22px;height:22px}
.pod-play-lg{width:72px;height:72px}.pod-play-lg svg{width:34px;height:34px}
.pod-ic{flex:none;display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;border:0;background:none;color:var(--navy);cursor:pointer}
.pod-ic:hover{background:#16354b14}.pod-ic:disabled{opacity:.3;cursor:default;background:none}
.pod-rate{flex:none;min-width:52px;height:34px;padding:0 10px;border-radius:999px;border:1.5px solid #c4ccd1;background:none;color:var(--navy);font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.pod-rate:hover{border-color:var(--navy)}
.pod-eyebrow{margin:0;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--history,#a24f31)}
.pod-seek{-webkit-appearance:none;appearance:none;flex:1;min-width:0;height:18px;margin:0;background:none;cursor:pointer;--pod-p:0%}
.pod-seek::-webkit-slider-runnable-track{height:5px;border-radius:5px;background:linear-gradient(to right,var(--accent,#b4432c) var(--pod-p),#16354b24 var(--pod-p))}
.pod-seek::-moz-range-track{height:5px;border-radius:5px;background:#16354b24}
.pod-seek::-moz-range-progress{height:5px;border-radius:5px;background:var(--accent,#b4432c)}
.pod-seek::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;margin-top:-4.5px;border-radius:50%;background:var(--accent,#b4432c);border:2px solid #fff;box-shadow:0 1px 3px #0004}
.pod-seek::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:var(--accent,#b4432c);border:2px solid #fff}

/* Lesson page card */
.pod-card{display:flex;align-items:center;gap:16px;margin:0 0 28px;padding:16px 20px;border:1px solid var(--line);border-left:4px solid var(--accent,#b4432c);border-radius:var(--radius,14px);background:var(--surface);box-shadow:var(--shadow-sm,0 1px 2px #102a3c0d)}
.pod-card-text{flex:1;min-width:0}
.pod-card-title{margin:1px 0 0;font-family:var(--serif);font-size:1.3rem;line-height:1.25;color:var(--navy)}
.pod-card-sub{margin:2px 0 0;font-size:.95rem;color:var(--muted)}
.pod-track{display:none;align-items:center;gap:10px;margin-top:6px;font-size:.85rem;font-variant-numeric:tabular-nums;color:var(--muted)}
.pod-card-tools{display:none;align-items:center;gap:4px}
.pod-card.is-started .pod-track,.pod-card.is-started .pod-card-tools{display:flex}
.pod-card.is-started .pod-card-sub{display:none}
.pod-all{flex:none;font-size:.92rem;font-weight:600;color:var(--navy);white-space:nowrap}
@media (max-width:760px){
  .pod-card{flex-wrap:wrap;gap:12px;padding:14px}
  .pod-card-text{flex:1 1 0}
  .pod-card-title{font-size:1.12rem}
  .pod-card-tools{order:3}
  .pod-all{order:4;margin-left:auto}
  .pod-card:not(.is-started) .pod-all{width:100%;margin:0}
}

/* Bar at the bottom of the screen */
.pod-bar{position:fixed;z-index:60;left:50%;bottom:16px;transform:translate(-50%,calc(100% + 32px));width:min(760px,calc(100vw - 32px));border-radius:18px;background:var(--surface,#fffefa);border:1px solid var(--line);box-shadow:0 18px 40px -12px #102a3c59,0 2px 6px #102a3c14;transition:transform .25s ease;overflow:hidden}
.pod-bar-list{width:min(1136px,calc(100vw - 32px))}
html.pod-on .pod-bar-list,html.pod-on.pod-card-away .pod-bar{transform:translate(-50%,0)}
.pod-bar>.pod-seek{display:block;width:100%;height:10px;margin:-3px 0 -6px}
.pod-bar>.pod-seek::-webkit-slider-runnable-track{border-radius:0;height:4px}
.pod-bar>.pod-seek::-webkit-slider-thumb{width:0;height:0;border:0;box-shadow:none}.pod-bar>.pod-seek::-moz-range-thumb{width:0;height:0;border:0}
.pod-bar-in{display:flex;align-items:center;gap:6px;padding:10px 12px}
.pod-bar-text{flex:1;min-width:0;margin:0 8px;display:grid}
.pod-bar-text b{font-weight:600;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pod-bar-text small{font-size:.8rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pod-time{flex:none;font-size:.85rem;font-variant-numeric:tabular-nums;color:var(--muted);margin-right:4px}
.pod-lesson{flex:none;margin:0 6px 0 10px;font-size:.9rem;font-weight:600;color:var(--navy);white-space:nowrap}
html.pod-on body:has(.pod-bar-list){padding-bottom:96px}
@media (max-width:760px){
  .pod-bar,.pod-bar-list{left:0;right:0;bottom:0;width:auto;transform:translateY(110%);border-radius:16px 16px 0 0;border-width:1px 0 0}
  html.pod-on .pod-bar-list,html.pod-on.pod-card-away .pod-bar{transform:none}
  .pod-bar-in{gap:2px;padding:8px 8px calc(8px + env(safe-area-inset-bottom))}
  .pod-wide,.pod-time{display:none}
  .pod-bar-text{margin:0 4px 0 8px}.pod-bar-text b{font-size:.92rem}
  .pod-rate{min-width:46px;padding:0 6px}
}
@media (prefers-reduced-motion:reduce){.pod-bar,.pod-play{transition:none}}
@media print{.pod-card,.pod-bar{display:none!important}}

/* Podcasts page */
.pod-page{padding-block:36px 72px}
.pod-page h1{margin:4px 0 8px;font-size:clamp(2rem,5vw,2.9rem)}
.pod-lead{max-width:44rem;margin:0;font-size:1.08rem;color:var(--muted)}
.pod-lead b{color:var(--ink);font-weight:600}
.pod-wrap{max-width:860px}
.pod-hero{display:flex;align-items:center;gap:20px;margin:26px 0 8px;padding:22px 24px;border-radius:18px;background:var(--navy);color:#fff;box-shadow:var(--shadow-md,0 14px 34px -14px #102a3c47)}
.pod-hero .pod-eyebrow{color:#f0a58f}
.pod-hero-title{margin:3px 0 2px;font-family:var(--serif);font-size:1.4rem;line-height:1.25}
.pod-hero-sub{margin:0;font-size:.95rem;opacity:.82}
.pod-count{min-height:1.2em;margin:10px 2px 0;font-size:.9rem;color:var(--muted)}
.pod-unit{display:grid;gap:2px;margin:34px 0 12px;font-size:1.45rem}
.pod-unit small{font-family:var(--sans);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--history,#a24f31)}
.pod-topic{margin:0 0 14px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm,0 1px 2px #102a3c0d);overflow:hidden}
.pod-topic-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:14px 20px 10px}
.pod-topic-head h3{margin:0;font-size:1.12rem;color:var(--navy)}
.pod-topic-meta{flex:none;margin:0;font-size:.85rem;color:var(--muted)}
.pod-list{margin:0;padding:0 8px 8px;list-style:none}
.pod-row{position:relative;display:flex;align-items:center;gap:12px;padding:8px 12px;border-radius:12px;cursor:pointer}
.pod-row:hover{background:#16354b0a}
.pod-row.is-current{background:var(--accent-tint,#f6e5df)}
.pod-row-btn{flex:none;display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1.5px solid #c4ccd1;background:var(--surface);color:var(--navy);cursor:pointer}
.pod-row-btn svg{width:18px;height:18px}
.pod-row:hover .pod-row-btn,.pod-row.is-current .pod-row-btn{border-color:var(--accent,#b4432c);background:var(--accent,#b4432c);color:#fff}
.pod-row.is-done:not(.is-current) .pod-row-btn{border-color:#2e7d4f;background:#eef7f1;color:#2e7d4f}
.pod-row-text{flex:1;min-width:0;display:grid}
.pod-row-text b{font-weight:600;color:var(--ink);line-height:1.3}
.pod-row-text small{font-size:.82rem;color:var(--muted)}
.pod-row-time{flex:none;font-size:.85rem;color:var(--muted);font-variant-numeric:tabular-nums}
.pod-row-lesson{flex:none;font-size:.85rem;font-weight:600;color:var(--navy);padding:6px 4px}
.pod-row-line{position:absolute;left:62px;bottom:2px;height:3px;max-width:calc(100% - 74px);border-radius:3px;background:var(--accent,#b4432c)}
.pod-row-lock{display:none;color:#c0562f}
html:not(.signed-in) body:not(:has(.account-menu)) .pod-row:not(.is-free) .pod-row-lock{display:inline-flex}
.pod-note{margin:28px 0 0;font-size:.92rem;color:var(--muted)}
@media (max-width:760px){
  .pod-hero{gap:14px;padding:16px}.pod-hero-title{font-size:1.12rem}
  .pod-play-lg{width:58px;height:58px}.pod-play-lg svg{width:28px;height:28px}
  .pod-topic-head{padding:12px 14px 6px}.pod-list{padding:0 4px 6px}
  .pod-row{gap:10px;padding:8px 10px}.pod-row-lesson{display:none}
  .pod-row-text small{display:none}
}
html.pod-error .pod-bar-text small{color:#b3422b;white-space:normal}
.pod-guest{margin:18px 0 0;padding:12px 16px;border:1px solid var(--line);border-left:4px solid var(--accent,#b4432c);border-radius:var(--radius,14px);background:var(--surface);font-size:.98rem}
.pod-crumb{margin:0 0 6px;font-size:.9rem;color:var(--muted)}
