/* Public video pages use the site's existing color and type scale. */
.video-list-page, .video-detail-page { background: #f6f8fb; }
.video-list-container, .video-detail-container { padding-top: clamp(28px, 5vw, 56px) !important; padding-bottom: clamp(42px, 6vw, 72px) !important; }
.video-detail-container { border-top: 0 !important; }

.video-page-title { margin: 0 0 24px; color: #173c63; font-size: 2.75em; line-height: 1.15; }
.video-list-page .video-list-card { margin: 0 0 22px; padding: clamp(18px, 2.8vw, 30px); overflow: hidden; border: 1px solid #e4ebf3; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(20, 50, 82, .06); }
.video-list-page .video-list-card { padding-bottom: 40px !important; }
.video-list-card .row { align-items: center; margin-bottom: 0 !important; }
.video-list-card .embed-responsive, .video-detail-card .embed-responsive, .video-sidebar-column .embed-responsive { overflow: hidden; border-radius: 14px; background: #e8eef5; }
.video-list-card .video-reference-link { position: absolute; inset: 0; display: block; }
.video-list-card .video-reference-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-list-card .post-content { padding: 0 4px; }
.video-list-card .post-content .video-card-date { display: block; margin: 0 0 8px; color: #71849a; font-size: .95rem; text-decoration: none; }
.video-list-card .post-content .video-list-read-more { position: relative; z-index: 1; display: table; margin: -43px 0 0 auto; color: #303e63; font-size: 13px; font-weight: 600; line-height: 1.25; text-decoration: none; }
.video-list-card .post-content .video-list-read-more i { color: #303e63; font-size: 10px; }
.video-list-card .post-content .video-list-read-more:hover, .video-list-card .post-content .video-list-read-more:focus-visible { color: #303e63; text-decoration: underline; }
.video-list-card .post-content h4 { margin: 0 0 12px !important; color: #303e63 !important; font-size: 32px !important; font-weight: 800 !important; letter-spacing: -.04em; line-height: 1.2 !important; }
.video-list-card .post-content h4 a { color: #303e63 !important; font-weight: inherit; text-decoration: none; }
.video-list-card .post-content h4 a:hover { color: #0e62d4; }
.video-list-card .post-content p { color: #536579; font-size: 1rem; line-height: 1.75; }
.video-list-card .post-content p.mb-0 { margin-bottom: 20px !important; }
.video-sidebar-search { margin: 0 0 18px; }
.video-sidebar-search .input-group { display: flex; height: 48px; overflow: hidden; border: 1px solid #d5e0eb; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(20, 50, 82, .06); transition: border-color .18s ease, box-shadow .18s ease; }
.video-sidebar-search .input-group:focus-within { border-color: #303e63; box-shadow: 0 0 0 3px rgba(48, 62, 99, .13); }
.video-sidebar-search .form-control { min-width: 0; height: 46px; padding: 0 14px; border: 0; border-radius: 12px 0 0 12px; background: #fff; color: #303e63; font-size: 14px; box-shadow: none; }
.video-sidebar-search .form-control::placeholder { color: #77879a; opacity: 1; }
.video-sidebar-search .input-group-append { display: flex; margin: 0; }
.video-sidebar-search .input-group-append .btn { display: grid; width: 48px; min-height: 46px; padding: 0; place-items: center; border: 0; border-radius: 0; background: #303e63; color: #fff; box-shadow: none; transition: background-color .18s ease; }
.video-sidebar-search .input-group-append .btn:hover { background: #24314f; }
.video-sidebar-search .input-group-append .btn:focus-visible { outline: 2px solid #303e63; outline-offset: -4px; }
.video-sidebar-column .sidebar { padding: 0; border: 0; background: transparent; }
.video-sidebar-column .video-sidebar-card { padding: 22px; border: 1px solid #e4ebf3; border-radius: 18px; background: #fff; }
.video-sidebar-column .video-sidebar-list { margin: 0; padding: 0; list-style: none; }
.video-sidebar-column .video-sidebar-list > li { margin: 0; padding: 12px 0; border-bottom: 1px solid #e7edf3; }
.video-sidebar-column .video-sidebar-list > li:first-child { padding-top: 0; }
.video-sidebar-column .video-sidebar-list article { display: flex; align-items: flex-start; gap: 12px; }
.video-sidebar-column .video-sidebar-list .post-image { flex: 0 0 80px; width: 80px; margin: 0; padding: 0; overflow: hidden; border-radius: 8px; }
.video-sidebar-column .video-sidebar-list .post-image a { display: block; }
.video-sidebar-column .video-sidebar-list .post-image img { display: block; width: 80px; height: 56px; object-fit: cover; border: 0; border-radius: 8px; }
.video-sidebar-column .video-sidebar-list .post-info { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; overflow-wrap: anywhere; }
.video-sidebar-column .video-sidebar-list .post-meta { display: block; margin: 0 0 4px; color: #71849a; font-size: 12px; line-height: 1.3; }
.video-sidebar-column .video-sidebar-list h4 { margin: 0 !important; font-size: 14px !important; font-weight: 500 !important; line-height: 1.35 !important; overflow-wrap: break-word; word-break: normal; hyphens: auto; }
.video-sidebar-column .video-sidebar-list h4 a { color: #174875; text-decoration: none; }
.video-sidebar-column .video-sidebar-list h4 a:hover { text-decoration: underline; }
.video-sidebar-column .video-sidebar-edit { display: inline-block; margin-top: 5px; color: #71849a; font-size: 11px; }
.video-sidebar-column .video-sidebar-card > h4 { color: #173c63 !important; font-size: 1.5em !important; line-height: 1.25; }
.video-sidebar-column .thumb-info-caption-text h4 { margin: 10px 0 18px !important; padding: 0 0 14px !important; border-bottom: 1px solid #edf1f5; font-size: 1.1em !important; line-height: 1.4 !important; }
.video-empty-state { margin: 0 0 22px; padding: 24px; border: 1px dashed #cbd9e8; border-radius: 16px; background: #fff; color: #43566b; }
.video-empty-state strong { color: #173c63; }
.video-empty-state p { margin: 8px 0 0; }
.video-detail-card { margin: 0; padding: clamp(20px, 3vw, 34px); border: 1px solid #e4ebf3; border-top: 4px solid #303e63; border-radius: 20px; background: #fff; box-shadow: 0 10px 32px rgba(20, 50, 82, .06); }
.video-detail-card > .row { margin-bottom: 0 !important; }
.video-detail-page .video-detail-title { margin: 16px 0 18px; color: #173c63; font-size: 3.25em !important; font-weight: 800 !important; letter-spacing: -.04em; line-height: 1.12; }
.video-detail-body { color: #43566b; font-size: 1.05rem; line-height: 1.85; overflow-wrap: anywhere; }
.video-detail-body img { max-width: 100%; height: auto; border-radius: 12px; }
.video-detail-page .video-sidebar-column { margin-top: 0 !important; }
.video-list-page .pagination { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px; margin: 26px 0; }
.video-list-page .pagination .page-link { display: inline-flex; min-width: 60px; min-height: 56px; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid #dfe7f0; border-radius: 11px !important; color: #174875; text-align: center; }
.video-list-page .pagination .page-item:first-child .page-link, .video-list-page .pagination .page-item:last-child .page-link { width: 60px; padding: 8px; border-radius: 11px !important; }
.video-list-page .pagination .active .page-link { border-color: #265089 !important; border-radius: 11px !important; background: #265089 !important; color: #fff !important; }
@media (max-width: 991.98px) {
  .video-sidebar-column { margin-top: 26px; }
  .video-list-card .post-content { padding-top: 18px; }
}
@media (max-width: 767.98px) {
  .video-page-title { font-size: 2em; }
  .video-detail-page .video-detail-title { font-size: 2.35em !important; }
  .video-list-page .video-list-card { padding: 16px 16px 40px !important; }
  .video-list-card .post-content h4 { font-size: 24px !important; }
  .video-sidebar-column .video-sidebar-card { padding: 17px; }
}

.video-detail-meta-bar { margin: 24px 0 20px !important; }
.video-detail-meta-bar.heading-middle-border:before { top: calc(50% - 10px); }
.video-detail-meta-bar h3 { margin: 0 0 20px !important; color: #728398 !important; font-family: inherit; font-size: .85rem !important; line-height: 1.6 !important; text-align: center; }
.video-detail-meta-bar .blog-detail-meta { display: inline-flex; align-items: center; gap: .3em; vertical-align: middle; line-height: 1.4; }
.video-detail-meta-bar .blog-detail-meta-label { color: #1769a5; font-weight: 700; }
.video-detail-meta-bar .blog-detail-meta-separator { margin: 0 7px; color: #a8b7c7; }

.video-detail-rating-form { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.video-detail-meta-bar .download-detail-rate-separator { margin-left: 7px; color: #a8b7c7; }
.video-detail-meta-bar .download-detail-vote { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; vertical-align: middle; line-height: 1.4; flex-wrap: wrap; }
.video-detail-meta-bar .download-detail-vote-label { color: #1769a5; font-weight: 700; }
.video-detail-meta-bar .download-detail-vote-stars { display: inline-flex; align-items: center; gap: 1px; }
.video-detail-meta-bar .download-detail-vote-star { appearance: none; -webkit-appearance: none; padding: 0 1px; border: 0 !important; background: transparent !important; color: #cbd5df !important; font-family: inherit; font-size: 1.45em; font-weight: inherit; line-height: 1; cursor: pointer; box-shadow: none !important; transition: color .15s ease, transform .15s ease; }
.video-detail-meta-bar .download-detail-vote-star.is-active, .video-detail-meta-bar .download-detail-vote-star:hover, .video-detail-meta-bar .download-detail-vote-star:focus-visible { color: #ffbd18 !important; }
.video-detail-meta-bar .download-detail-vote-star:hover { transform: scale(1.12); }
.video-detail-meta-bar .download-detail-vote-star:focus-visible { outline: 2px solid #1769a5; outline-offset: 2px; border-radius: 3px; }
.video-detail-meta-bar .download-detail-rating-value, .video-detail-meta-bar .download-detail-vote-thanks { color: #728398; font-family: inherit; font-size: inherit; font-weight: inherit; white-space: nowrap; }
@media (max-width: 575.98px) { .video-detail-meta-bar .download-detail-rate-separator { display: none; } .video-detail-meta-bar .download-detail-vote { display: flex; margin: 7px 0 0; } }
.video-detail-card { position: relative; }
.video-detail-card .video-detail-back { position: absolute; z-index: 2; left: 50%; bottom: 0; margin: 0; transform: translate(-50%, 100%); text-align: center; }
.video-detail-card .video-detail-back .voltar { padding: 8px 18px; border: 1px solid #dfe8f2; border-radius: 0 0 14px 14px; background: #fff; color: #213c63; font-size: .85rem; font-weight: 600; }
.video-detail-card .video-detail-back .voltar:hover { background: #e7edf4; color: #173c63; }
