.cka-link {
    display: block;
}

.cka-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.cka-link {
    display: block;
}

.cka-img {
    display: block;
    max-width: 100%;
    height: auto;
}

.cka-above {
    margin-bottom: 20px;
}

.cka-below {
    margin-top: 20px;
    margin-bottom: 20px;
}

.related-item.cka-paid {
    background: none;
    padding: 0;
    box-shadow: none;
}

.top-banner .cka-img, 
.cka-slot .cka-img, 
.cka-above .cka-img,
.cka-below .cka-img, 
.related-item.cka-paid .cka-img {
    width: 1200px;
    height: 120px;
}

@media (max-width: 768px) {
  .top-banner .cka-img, 
    .cka-slot .cka-img, 
    .cka-above .cka-img,
    .cka-below .cka-img, 
    .related-item.cka-paid .cka-img {
        width: 100%;
        height: auto;
    }
}

.video-article {
    margin: 40px 0;
}

.video-primary {
    margin-bottom: 30px;
    background-color: var(--light-navy);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-player-container {
    margin-top: 0px;
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background-color: #000;
}

.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.unmute-btn {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background-color: rgba(0, 0, 0, 0.75);
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.unmute-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.video-player-wrapper.is-docked {
    overflow: visible;
}

.video-player-container.is-docked {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--docked-video-width);
    aspect-ratio: 16 / 9;
    height: auto;
    padding-bottom: 0;
    z-index: 1000;
    margin-top: 0;
}

.docked-player-bar {
    position: fixed;
    top: 0;
    left: var(--docked-video-width);
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, rgba(20, 50, 95, 1) 0%, rgba(20, 50, 95, 0.85) 400%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
}

.docked-player-bar.is-visible {
    pointer-events: auto;
}

.docked-player-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    min-width: 0;
}

.docked-player-title {
    margin: 0;
    font-size: 1.4rem;
    color: var(--white);
    white-space: normal;
}

.docked-player-encourage {
    margin: 0;
    font-size: 0.85rem;
    color: #cccccc;
}

.docked-player-share {
    margin-bottom: 0;
}

@media (max-width: 768px) {
  .docked-player-bar {
        display: none !important;
    }
}

@media (max-width: 768px) {
  .video-player-container.is-docked {
        position: static;
        width: 100%;
        aspect-ratio: auto;
        padding-bottom: 56.25%;
        height: 0;
    }
}

.video-title-single {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: bold;
}

.video-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--light-gray);
    font-size: 0.9rem;
}

.video-stats a {
    color: var(--light-gray);
}

.video-date {
    display: flex;
    align-items: center;
}

.video-date::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M128 0c17.7 0 32 14.3 32 32l0 32 128 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32 48 0c26.5 0 48 21.5 48 48l0 48L0 160l0-48C0 85.5 21.5 64 48 64l48 0 0-32c0-17.7 14.3-32 32-32zM0 192l448 0 0 272c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 192zm64 80l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm128 0l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM64 400l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M128 0c17.7 0 32 14.3 32 32l0 32 128 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32 48 0c26.5 0 48 21.5 48 48l0 48L0 160l0-48C0 85.5 21.5 64 48 64l48 0 0-32c0-17.7 14.3-32 32-32zM0 192l448 0 0 272c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 192zm64 80l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm128 0l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM64 400l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    margin-right: 5px;
    margin-top: -3px;
    vertical-align: -0.125em;
}

.social-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.social-share span {
    margin-right: 10px;
    font-weight: bold;
}

@media (max-width: 480px) {
  .social-share span {
        width: 100%;
        text-align: center;
    }
}

.social-share a, .social-share button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

@media (max-width: 768px) {
  .social-share a, .social-share button {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--white);
        text-decoration: none;
        transition: transform 0.3s, background-color 0.3s;
    }
}

.social-share a:hover, .social-share button:hover {
    transform: translateY(-3px);
}

.share-facebook {
    background-color: #3b5998;
}

.share-twitter {
    background-color: #1da1f2;
}

.share-whatsapp {
    background-color: #25D366; 
}

.share-email {
    background-color: #757575;
}

.share-link {
    background-color: var(--red);
    border: none;
    cursor: pointer;
}

.description-content {
    margin-bottom: 25px;
    color: #cccccc;
    
}

.description-content p {
    margin-bottom: 15px;
}

.description-content a {
    color: #ffffff;
    text-decoration: underline;
}

.description-content a:hover {
    color: #ffffff;
}

.video-meta-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.video-category-link {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    margin-bottom: 10px;
    margin-top: -5px;
}

@media (max-width: 576px) {
  .video-category-link {
        display: inline-block;
        background-color: rgba(255, 255, 255, 0.2);
        padding: 4px 12px;
    }
}

.video-category-link:hover {
    background-color: var(--red);
}

/* Sits inside .video-description-single (itself inside the --light-navy .video-primary
   card) since the 2026-08-16 move to nest the transcript under the article -- using
   --light-navy here too would make it blend invisibly into its own parent. --navy is the
   page's own darker background color, reused here as a recessed inset panel so the
   transcript reads as its own block instead of just more of the same card. */
.video-transcript {
    background-color: var(--navy);
    padding: 25px 30px;
    border-radius: 8px;
    margin-top: 30px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-transcript h2 {
    margin-bottom: 16px;
    font-size: 1.25rem;
    color: var(--white);
}

.transcript-container {
    color: #cccccc;
}

.transcript-container p {
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.transcript-container p:last-of-type {
    border-bottom: none;
}

.transcript-container strong {
    color: var(--white);
    margin-right: 10px;
}

.transcript-timestamp {
    background: none;
    border: none;
    padding: 0;
    margin-right: 10px;
    color: var(--red);
    font-weight: bold;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.transcript-timestamp:hover {
    text-decoration: underline;
}

.transcript-toggle {
    background-color: var(--red);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    margin-top: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.transcript-toggle:hover {
    background-color: #a00b33;
}

.full-transcript {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-section {
    background-color: var(--light-navy);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: none;
    opacity: 0;
}

.comments-section h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--white);
}

.comment-form {
    margin-bottom: 30px;
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    resize: vertical;
    min-height: 100px;
    margin-bottom: 15px;
    font-family: inherit;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--red);
}

.comment-submit {
    background-color: var(--red);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.comment-submit:hover {
    background-color: #a00b33;
}

.form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.form-inline-status {
    font-size: 0.92rem;
    font-weight: 600;
}

.form-inline-status.success {
    color: #4caf50;
}

.form-inline-status.error {
    color: #e57373;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: bold;
    color: var(--white);
}

.comment-date {
    font-size: 0.8rem;
    color: var(--light-gray);
}

.comment-content p {
    color: #cccccc;
    margin-bottom: 10px;
}

.comment-actions {
    display: flex;
    gap: 15px;
}

.comment-reply-btn {
    background: none;
    border: none;
    color: var(--light-gray);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    transition: color 0.3s ease;
}

.comment-reply-btn:hover {
    color: var(--red);
}

@media (max-width: 768px) {
  .social-share {
        justify-content: center;
    }
}

@media (max-width: 768px) {
  .comment-avatar {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
  .video-transcript, 
    .comments-section {
        padding: 20px;
    }
}

@media (max-width: 768px) {
  .video-stats {
        flex-direction: column;
        gap: 10px;
    }
}

.video-player-container iframe, 
.video-player-container #player-container,
.video-player-container #player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.read-more-btn-single {
    display: block;
    margin: 0 30px 20px auto;
    background-color: var(--red);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
    right: 0;
    bottom: 15px;
}

@media screen and (max-width: 768px) {
  .read-more-btn-single {
    
    width: 42px;
    height: 42px;
    
    padding: 0;
    top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .read-more-btn-single::before {
    content: "+";
    font-size: 1.5rem;
    font-weight: bold;
  }
}

@media screen and (max-width: 768px) {
  .read-more-btn-single {
    font-size: 0;
    
  }
}

.video-date i, .video-views i {
    margin-right: 0.25rem;
}

.video-meta-single {
    
    gap: 1.5rem;
    padding: 0 30px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    
}

.video-meta-single i {
    
}

div.video-description-single {
    padding: 30px 0px;
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: relative; 
}

div.video-description-single::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(19, 28, 49, 0.01), var(--light-navy) 95%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* This fade only makes sense while truncated at 300px -- once Read More expands the
   container (JS adds .expanded), turn it off. It already had the transition wired up for
   this, just never had a rule to toggle it, so it sat there permanently -- easy to miss
   before the transcript moved inside this container, since it used to fade into a same-
   colored box either way; now that the nested transcript panel is a different, darker
   color it'd otherwise leave a visibly mismatched gradient patch over the bottom of it. */
div.video-description-single.expanded::after {
    opacity: 0;
}

@media (max-width: 576px) {
  div.video-description-single {
        padding: 15px 0px;
        max-height: 300px;
        overflow: hidden;
        transition: max-height 0.5s ease;
        position: relative; 
    }
}

.video-description-single {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    max-height: 300px;
    overflow: hidden;
    border-top: 1px solid rgba(4, 30, 67, 0.3);
    padding: 30px;
}

.video-description-single p {
    margin-bottom: 0.75rem;
}

.video-description-single p:last-child {
    margin-bottom: 0;
}

.video-title-single {
    padding-right: 30px;
}

.description-content {
    color: #fafafa;
}

@media (max-width: 768px) {
  .video-meta-single {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 15px;
    }
}

.admin-player-btn { top: 10px; right: 10px; z-index: 15; }

.admin-player-menu { top: 48px; right: 10px; }

/* ── video.php: meta + ad two-column layout ─────────────────────────── */
/* Migrated from css/style.css 2026-07-31 — was defined only there, but
   video.php never loaded style.css, so this layout was likely rendering
   unstyled on the live site until this fix. */
.video-meta-with-ad {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.video-meta-col {
    flex: 1;
    min-width: 0;
}
.video-meta-ad-col {
    width: 580px;
    flex-shrink: 0;
    overflow: hidden;
}
.video-meta-ad-col .cka-img {
    width: 580px;
    height: 300px;
    object-fit: cover;
    display: block;
}
@media (max-width: 900px) {
    .video-meta-with-ad {
        flex-direction: column;
    }
    .video-meta-ad-col {
        width: 100%;
    }
    .video-meta-ad-col .cka-img {
        width: 100%;
        height: 180px;
    }
}

