.c3-embedded-media-heading { margin: 0 0 12px; }
.c3-embedded-media-heading h2 { margin: 0; }
.c3-embedded-media-description { margin-top: 12px; color: #4f585e; line-height: 1.6; }
.c3-embedded-video { display: block; width: 100%; max-width: 900px; margin: 22px 0; box-sizing: border-box; }
.c3-embedded-video.c3-embed-size-full,
.c3-embedded-document.c3-embed-size-full { width: 100%; max-width: 900px; }
.c3-embedded-video.c3-embed-size-large,
.c3-embedded-document.c3-embed-size-large { width: 75%; max-width: 720px; }
.c3-embedded-video.c3-embed-size-medium,
.c3-embedded-document.c3-embed-size-medium { width: 50%; max-width: 560px; }
.c3-embedded-video.c3-embed-size-small,
.c3-embedded-document.c3-embed-size-small { width: 33.333%; max-width: 380px; }
.c3-embedded-video.c3-embed-size-compact,
.c3-embedded-document.c3-embed-size-compact { width: 25%; max-width: 300px; }
.c3-embedded-video.c3-embed-width-custom,
.c3-embedded-document.c3-embed-width-custom { width: min(100%, var(--c3-embed-width)); max-width: 1600px; }
.c3-embedded-video.c3-embed-align-center,
.c3-embedded-document.c3-embed-align-center { margin-right: auto; margin-left: auto; }
.c3-embedded-video.c3-embed-align-right,
.c3-embedded-document.c3-embed-align-right { margin-right: 0; margin-left: auto; }
.c3-embedded-video.c3-embed-align-left,
.c3-embedded-document.c3-embed-align-left { margin-right: auto; margin-left: 0; }

/* Sized individual videos can share a row like the auction mini cards.
 * Full-width/default embeds remain normal block-level sections. */
.c3-embedded-video.c3-embed-size-large,
.c3-embedded-video.c3-embed-size-medium,
.c3-embedded-video.c3-embed-size-small,
.c3-embedded-video.c3-embed-size-compact,
.c3-embedded-video.c3-embed-width-custom {
    display: inline-block;
    margin-right: 8px;
    vertical-align: top;
}
.c3-embedded-video.c3-embed-size-large { width: calc(75% - 12px); }
.c3-embedded-video.c3-embed-size-medium { width: calc(50% - 12px); }
.c3-embedded-video.c3-embed-size-small { width: calc(33.333% - 12px); }
.c3-embedded-video.c3-embed-size-compact { width: calc(25% - 12px); }
.c3-embedded-video.c3-embed-align-left,
.c3-embedded-video.c3-embed-align-center,
.c3-embedded-video.c3-embed-align-right { display: block; }
.c3-embedded-video-frame { position: relative; max-width: 900px; overflow: hidden; background: #111; aspect-ratio: 16 / 9; }
.c3-embedded-video-frame iframe, .c3-embedded-video-frame video, .c3-embedded-video-frame object, .c3-embedded-video-frame embed { display: block; width: 100% !important; max-width: none !important; border: 0; aspect-ratio: 16 / 9; }
.c3-video-library { margin: 0 0 34px; }
.c3-video-library-heading { margin: 0 0 18px; }
.c3-video-library-heading h1 { margin: 0 0 8px; color: var(--c3-live-blue, #19388a); font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.1; }
.c3-video-library-heading p { max-width: 850px; margin: 0; color: #33445f; font-size: 1rem; line-height: 1.55; }
.c3-video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; }
.c3-video-card,
.c3-video-card * { box-sizing: border-box; }
.c3-video-card { display: flex; min-width: 0; padding: 0; flex-direction: column; overflow: hidden; border: 1px solid #d7dce5; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.c3-video-card:hover { border-color: #b7c4d7; box-shadow: 0 5px 16px rgba(0,0,0,.09); }
.c3-video-preview { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #f1f4f8; }
.c3-video-preview iframe, .c3-video-preview video, .c3-video-preview object, .c3-video-preview embed { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none !important; border: 0; }
.c3-video-card-body { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 16px; }
.c3-video-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.c3-video-card-heading h2, .c3-video-card-heading h3 { margin: 0 0 8px; color: #16233a; font-size: 1.35rem; line-height: 1.15; }
.c3-video-provider { display: block; margin-bottom: 6px; color: #64748b; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.c3-video-card-heading time { flex: 0 0 auto; color: #777; font-size: .72rem; }
.c3-video-description { margin: 0 0 12px; color: #33445f; font-size: .94rem; line-height: 1.5; }
.c3-video-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid #eceff3; }
.c3-video-open { color: #005eb8; font-weight: 700; text-decoration: underline; }
.c3-video-open:hover, .c3-video-open:focus { color: var(--c3-live-blue, #19388a); }
.c3-video-card-actions form { margin: 0; }
.c3-video-card-actions .button { margin: 0; }
.c3-video-empty { grid-column: 1 / -1; display: grid; gap: 4px; padding: 28px; border: 1px dashed #c8c8c6; border-radius: 10px; background: #fafaf8; text-align: center; }
.c3-video-empty span { color: #666; }
.c3-embedded-document { margin: 22px 0; }
.c3-embedded-document .c3-document-row { width: 100%; box-sizing: border-box; }
.c3-document-card .c3-document-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.c3-document-card .c3-document-summary h2 { min-width: 0; margin: 0; }
.c3-document-open { flex: none; color: #14547a; font-size: .82rem; font-weight: 750; text-decoration: none; }
.c3-document-open:hover, .c3-document-open:focus { color: #19388a; text-decoration: underline; }
.c3-embedded-document-link { display: inline-flex; max-width: 620px; align-items: center; gap: 14px; padding: 12px 15px; border: 1px solid #d7d9d6; border-radius: 9px; background: #fff; color: #1f2933; text-decoration: none; }
.c3-embedded-document-link:hover { border-color: #9ea5a7; box-shadow: 0 5px 16px rgba(0,0,0,.07); }
.c3-embedded-document-preview { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; overflow: hidden; border-radius: 6px; background: #eef0ee; color: #62696c; font-size: .68rem; font-weight: 800; }
.c3-embedded-document-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.c3-embedded-document-copy { display: grid; gap: 4px; min-width: 0; }
.c3-embedded-document-copy strong { overflow: hidden; text-overflow: ellipsis; }
.c3-embedded-document-copy span { color: #14547a; font-size: .82rem; font-weight: 750; }
.c3-media-embed-warning { margin: 12px 0; padding: 10px 12px; border: 1px solid #e8b366; border-radius: 6px; background: #fff8ec; color: #734a12; }
@media (max-width: 600px) {
    .c3-video-grid { grid-template-columns: 1fr; }
    .c3-embedded-document-link { max-width: 100%; box-sizing: border-box; }
    .c3-embedded-video.c3-embed-size-large,
    .c3-embedded-video.c3-embed-size-medium,
    .c3-embedded-video.c3-embed-size-small,
    .c3-embedded-video.c3-embed-size-compact,
    .c3-embedded-document.c3-embed-size-large,
    .c3-embedded-document.c3-embed-size-medium,
    .c3-embedded-document.c3-embed-size-small,
    .c3-embedded-document.c3-embed-size-compact { width: 100%; max-width: 900px; }
    .c3-embedded-video.c3-embed-size-large,
    .c3-embedded-video.c3-embed-size-medium,
    .c3-embedded-video.c3-embed-size-small,
    .c3-embedded-video.c3-embed-size-compact,
    .c3-embedded-video.c3-embed-width-custom { display: block; margin-right: 0; }
}
