/* Crocodile Watching video plugin; fully scoped to avoid changing the theme. */
.cwv-gallery,
.cwv-featured {
    box-sizing: border-box;
    max-width: 100%;
    margin: 22px auto 32px;
    color: #1c3027;
    font-family: inherit;
}
.cwv-gallery *,
.cwv-featured * { box-sizing: border-box; }
.cwv-gallery {
    padding: clamp(15px, 3.4vw, 34px);
    background: #f6f9f5;
    border: 1px solid #dce8db;
    border-radius: 16px;
}
.cwv-gallery__intro { margin: 0 0 20px; }
.cwv-eyebrow {
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: #43764c;
}
.cwv-gallery h2 {
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.18;
    margin: 9px 0 12px;
    color: #143c2b;
}
.cwv-gallery__intro p { font-size: 16px; line-height: 1.65; margin: 0; }
.cwv-media-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #10231b;
    border-radius: 11px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 22px rgba(16,39,26,.12);
}
.cwv-media-frame > iframe,
.cwv-media-frame > video {
    display: block;
    border: 0;
    width: 100%;
    height: 100%;
}
.cwv-featured-video { object-fit: contain; background: #10231b; }
.cwv-featured__caption {
    margin: 10px 0 14px;
    color: #506457;
    font-size: 14px;
}
.cwv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 12px;
}
.cwv-gallery a.cwv-btn,
.cwv-featured a.cwv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 11px 17px;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease;
}
.cwv-gallery a.cwv-btn--primary,
.cwv-featured a.cwv-btn--primary { background: #215d36; color: #fff; }
.cwv-gallery a.cwv-btn--primary:hover,
.cwv-featured a.cwv-btn--primary:hover { background: #163e27; color: #fff; }
.cwv-gallery a.cwv-btn--secondary,
.cwv-featured a.cwv-btn--secondary {
    background: #fff;
    color: #215d36;
    border-color: #9ebba3;
}
.cwv-gallery a.cwv-btn--secondary:hover,
.cwv-featured a.cwv-btn--secondary:hover { background: #e9f2e9; }
.cwv-gallery a.cwv-btn:focus-visible,
.cwv-featured a.cwv-btn:focus-visible { outline: 3px solid #e5b047; outline-offset: 3px; }
.cwv-help { font-size: 13px; color: #63776a; line-height: 1.55; margin: 12px 0 0; }
/* Hide ONLY the legacy player on the named article. The replacement has its own class. */
body.cwv-legacy-video-fix article.single video:not(.cwv-featured-video),
body.cwv-legacy-video-fix article.single .wp-video,
body.cwv-legacy-video-fix article.single figure.wp-block-video,
body.cwv-legacy-video-fix article.single .mejs-container,
body.cwv-legacy-video-fix article.single .video-js:not(.cwv-featured-video) {
    display: none !important;
}
@media (max-width: 600px) {
    .cwv-gallery { padding: 14px; }
    .cwv-gallery a.cwv-btn,
    .cwv-featured a.cwv-btn { width: 100%; }
}
