/* The video player box of tutorials.php, training.php and trainer.php
   (videos_common.php vid_player_html, videos/video.js). */
.prk-vid {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    background: #1a1410;
    border-radius: 6px;
    overflow: hidden;
}
.prk-vid iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.prk-vid-play {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.prk-vid-play img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prk-vid-play:focus-visible {
    outline: 3px solid #c9a85c;
    outline-offset: -3px;
}
.prk-vid-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12% 10%;
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.3rem;
    line-height: 1.3;
    color: #f0ebe0;
    text-align: center;
    background: linear-gradient(135deg, #2b2218, #1a1410);
}
.prk-vid-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 68px;
    height: 48px;
    margin: -24px 0 0 -34px;
    border-radius: 12px;
    background: rgba(154, 124, 62, .92);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
    transition: background .15s, transform .15s;
}
.prk-vid-btn::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 14px;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
}
.prk-vid-play:hover .prk-vid-btn,
.prk-vid-play:focus-visible .prk-vid-btn {
    background: #9a7c3e;
    transform: scale(1.06);
}
.prk-vid-dur {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 1px 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    font: 600 .78rem/1.5 system-ui, sans-serif;
}
.prk-vid-note {
    margin: 6px 0 0;
    font-size: .78rem;
    line-height: 1.5;
    color: #6b5f4c;
}
.prk-vid-note a { color: inherit; }

/* A lesson's video inside the two course pages */
.trn-video { margin: 0 0 18px; }
.trn-video .prk-vid { max-width: 720px; }

/* The frame round a lesson's video, straight under the lesson's headline
   (training.php, trainer.php). Without a video it holds a one-line notice. */
.trn-vframe {
    max-width: 740px;
    margin: 0 0 14px;
    padding: 10px;
    background: #fff;
    border: 1px solid #d4c9a8;
    border-top: 4px solid var(--pc, #9a7c3e);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(26, 20, 16, .08);
}
.trn-vframe .trn-video { margin: 0; }
.trn-vframe .trn-video .prk-vid { max-width: none; }
.trn-vnone {
    margin: 0;
    padding: 14px 12px;
    background: #f0ebe0;
    border-radius: 6px;
    font-size: .9rem;
    color: #4a3f30;
}
