/* ==========================================================================
   VTM WordPress Content & Component Fixes (vtm-wp-fixes.css)
   Protects article pages, video facades, terminal code boxes, and WP cleanup
   ========================================================================== */

/* === 1. WP-Rocket YouTube In-Place Player Facade === */
.rll-youtube-player {
    position: relative !important;
    padding-bottom: 56.23% !important;
    height: 0 !important;
    overflow: hidden !important;
    max-width: 100% !important;
    background-color: #000 !important;
    border-radius: 8px !important;
}
.rll-youtube-player:focus-within {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}
.rll-youtube-player iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 100 !important;
    background: 0 0 !important;
    border: 0 !important;
}
.rll-youtube-player img {
    bottom: 0 !important;
    display: block !important;
    left: 0 !important;
    margin: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    border: none !important;
    height: auto !important;
    transition: .4s all !important;
    cursor: pointer !important;
}
.rll-youtube-player img:hover {
    filter: brightness(75%) !important;
}
.rll-youtube-player .play {
    height: 100% !important;
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    position: absolute !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48' width='68' height='48'%3E%3Cpath d='M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z' fill='%23f00'/%3E%3Cpath d='M 45,24 27,14 27,34' fill='%23fff'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: 68px 48px !important;
    background-color: transparent !important;
    cursor: pointer !important;
    border: none !important;
    z-index: 10 !important;
}

/* === 2. Hide Duplicate WordPress Metadata in .vtm-wp-content === */
.vtm-wp-content .post-meta,
.vtm-wp-content .post-meta.clearfix,
.vtm-wp-content .author-date,
.vtm-wp-content .vcard.author,
.vtm-wp-content .cat-wrapper,
.vtm-wp-content .post-categories,
.vtm-wp-content .tags-links,
.vtm-wp-content .meta-categories,
.vtm-wp-content .mata-tags,
.vtm-wp-content .entry-footer,
.vtm-wp-content .post-footer,
.vtm-wp-content #respond,
.vtm-wp-content .comment-form,
.vtm-wp-content #comments,
#page-faq-section,
.vtm-wp-content #page-faq-section {
    display: none !important;
}

/* === 3. Fix SVG Zoom Icon Black Circle inside .image_links === */
.vtm-wp-content .image_links svg,
.vtm-wp-content .image_frame svg {
    width: 26px !important;
    height: 26px !important;
    overflow: visible !important;
}
.vtm-wp-content .image_links svg .path,
.vtm-wp-content .image_frame svg .path,
.vtm-wp-content .image_links svg circle,
.vtm-wp-content .image_links svg line,
.vtm-wp-content .image_links svg path,
.vtm-wp-content .image_frame svg circle,
.vtm-wp-content .image_frame svg line,
.vtm-wp-content .image_frame svg path {
    fill: none !important;
    stroke: #ffffff !important;
    stroke-width: 1.5 !important;
    stroke-linecap: round !important;
}
.vtm-wp-content .image_links {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    gap: 8px !important;
    z-index: 10 !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}
.vtm-wp-content .image_wrapper:hover .image_links {
    opacity: 1 !important;
}
.vtm-wp-content .image_links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(0,0,0,0.6) !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
}
.vtm-wp-content .image_frame {
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
}
.vtm-wp-content .image_wrapper {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
}
.vtm-wp-content .image_wrapper img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}
.vtm-wp-content .image_wrapper img[width="150"],
.vtm-wp-content img[width="150"] {
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
}
.vtm-wp-content .mask {
    display: none !important;
}

/* === 4. VTM Terminal / Code Block Component (.vtm-terminal-box) === */
.vtm-terminal-box {
    background: #0d0d0d !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin: 2rem 0 !important;
    box-shadow: 0 6px 32px rgba(0,0,0,0.6) !important;
    font-family: 'Courier New', 'Courier', 'Lucida Console', monospace !important;
}
.vtm-terminal-top {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #1a1a1a !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid #2a2a2a !important;
}
.vtm-terminal-top .dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}
.vtm-terminal-top .dot-r { background: #ff5f57 !important; }
.vtm-terminal-top .dot-y { background: #febc2e !important; }
.vtm-terminal-top .dot-g { background: #28c840 !important; }
.vtm-terminal-label {
    margin-left: auto !important;
    font-size: 0.72rem !important;
    color: #888 !important;
    font-family: 'Courier New', monospace !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
}
.vtm-terminal-content {
    padding: 1.25rem 1.5rem !important;
    color: #33ff33 !important;
    font-size: 0.8rem !important;
    line-height: 1.65 !important;
    white-space: pre !important;
    overflow-x: auto !important;
    display: block !important;
}
.vtm-terminal-content .t-comment { color: #6a9955 !important; }
.vtm-terminal-content .t-keyword { color: #569cd6 !important; }
.vtm-terminal-content .t-string  { color: #ce9178 !important; }
.vtm-terminal-content .t-num     { color: #b5cea8 !important; }
.vtm-terminal-content .t-func    { color: #dcdcaa !important; }
.vtm-terminal-content .t-blue    { color: #569cd6 !important; }
.vtm-terminal-content .t-purple  { color: #c586c0 !important; }
.vtm-terminal-content .t-green   { color: #4ec9b0 !important; }
.vtm-terminal-content .t-orange  { color: #ce9178 !important; }

/* === 5. VTM Visual Block & Captions === */
.vtm-visual-block {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 6px !important;
    margin: 1rem 0 0.25rem !important;
}
.vtm-caption {
    font-family: 'Courier New', monospace !important;
    font-size: 0.7rem !important;
    color: #888 !important;
    text-align: center !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    margin-bottom: 1.5rem !important;
}

/* === 6. Monospace Section Heading for Key Specifications (Capabilities Page Only) === */
[data-id="5719"] .mcb-section-f6brlws h2.title,
[data-id="5719"] .mcb-section-f6brlws h2.title span,
#post-5719 .mcb-section-f6brlws h2.title,
#post-5719 .mcb-section-f6brlws h2.title span {
    font-family: 'Courier New', 'Courier', 'Lucida Console', monospace !important;
    font-weight: 400 !important;
    font-size: 2.25rem !important;
    color: #18181b !important;
    text-align: center !important;
    letter-spacing: 0.05em !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* === 7. Key Specifications Grid (1–8) 4x2 Architectural White Matrix (Capabilities Page Only) === */
[data-id="5719"] .mcb-section-f6brlws,
[data-id="5719"] .mcb-section-8ef301bee,
[data-id="5719"] .mcb-section-zcfuvmek,
#post-5719 .mcb-section-f6brlws,
#post-5719 .mcb-section-8ef301bee,
#post-5719 .mcb-section-zcfuvmek {
    background: #ffffff !important;
    color: #18181b !important;
    border-left: 1px solid #e5e7eb !important;
    border-right: 1px solid #e5e7eb !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
}

[data-id="5719"] .mcb-section-f6brlws,
#post-5719 .mcb-section-f6brlws {
    border-top: 1px solid #e5e7eb !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 3.5rem 1.5rem 1.75rem 1.5rem !important;
}

[data-id="5719"] .mcb-section-8ef301bee,
#post-5719 .mcb-section-8ef301bee {
    border-bottom: 1px solid #e5e7eb !important;
}

[data-id="5719"] .mcb-section-zcfuvmek,
#post-5719 .mcb-section-zcfuvmek {
    border-bottom: 1px solid #e5e7eb !important;
    border-radius: 0 0 12px 12px !important;
    margin-bottom: 3rem !important;
}

[data-id="5719"] .mcb-section-8ef301bee .section_wrapper,
[data-id="5719"] .mcb-section-8ef301bee .mcb-section-inner,
[data-id="5719"] .mcb-section-zcfuvmek .section_wrapper,
[data-id="5719"] .mcb-section-zcfuvmek .mcb-section-inner,
#post-5719 .mcb-section-8ef301bee .section_wrapper,
#post-5719 .mcb-section-8ef301bee .mcb-section-inner,
#post-5719 .mcb-section-zcfuvmek .section_wrapper,
#post-5719 .mcb-section-zcfuvmek .mcb-section-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
}

[data-id="5719"] .mcb-section-8ef301bee .mcb-wrap.one-fourth,
[data-id="5719"] .mcb-section-zcfuvmek .mcb-wrap.one-fourth,
#post-5719 .mcb-section-8ef301bee .mcb-wrap.one-fourth,
#post-5719 .mcb-section-zcfuvmek .mcb-wrap.one-fourth {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    padding: 2rem 1.75rem 2.5rem 1.75rem !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Subtle vertical grid lines between columns */
[data-id="5719"] .mcb-section-8ef301bee .mcb-wrap.one-fourth:not(:last-child),
[data-id="5719"] .mcb-section-zcfuvmek .mcb-wrap.one-fourth:not(:last-child),
#post-5719 .mcb-section-8ef301bee .mcb-wrap.one-fourth:not(:last-child),
#post-5719 .mcb-section-zcfuvmek .mcb-wrap.one-fourth:not(:last-child) {
    border-right: 1px solid #e5e7eb !important;
}

[data-id="5719"] .mcb-section-8ef301bee .mcb-wrap-inner,
[data-id="5719"] .mcb-section-zcfuvmek .mcb-wrap-inner,
#post-5719 .mcb-section-8ef301bee .mcb-wrap-inner,
#post-5719 .mcb-section-zcfuvmek .mcb-wrap-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

[data-id="5719"] .mcb-section-8ef301bee .mcb-column,
[data-id="5719"] .mcb-section-zcfuvmek .mcb-column,
#post-5719 .mcb-section-8ef301bee .mcb-column,
#post-5719 .mcb-section-zcfuvmek .mcb-column {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

[data-id="5719"] .mcb-section-8ef301bee .mcb-column-inner,
[data-id="5719"] .mcb-section-zcfuvmek .mcb-column-inner,
#post-5719 .mcb-section-8ef301bee .mcb-column-inner,
#post-5719 .mcb-section-zcfuvmek .mcb-column-inner {
    padding: 0 !important;
    margin: 0 !important;
}

/* Card Numbers (1–8) */
[data-id="5719"] .mcb-section-8ef301bee h2.title,
[data-id="5719"] .mcb-section-zcfuvmek h2.title,
#post-5719 .mcb-section-8ef301bee h2.title,
#post-5719 .mcb-section-zcfuvmek h2.title {
    color: #18181b !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 2.85rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin: 0 0 0.75rem 0 !important;
    padding: 0 !important;
    border-bottom: none !important;
}

/* Card Category / Subtitle */
[data-id="5719"] .mcb-section-8ef301bee p.title,
[data-id="5719"] .mcb-section-zcfuvmek p.title,
#post-5719 .mcb-section-8ef301bee p.title,
#post-5719 .mcb-section-zcfuvmek p.title {
    color: #71717a !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin: 0 0 0.85rem 0 !important;
    line-height: 1.3 !important;
}

/* Card Spec Value */
[data-id="5719"] .mcb-section-8ef301bee h4.title,
[data-id="5719"] .mcb-section-zcfuvmek h4.title,
#post-5719 .mcb-section-8ef301bee h4.title,
#post-5719 .mcb-section-zcfuvmek h4.title {
    color: #18181b !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive collapse on mobile */
@media (max-width: 900px) {
    [data-id="5719"] .mcb-section-8ef301bee .mcb-wrap.one-fourth,
    [data-id="5719"] .mcb-section-zcfuvmek .mcb-wrap.one-fourth,
    #post-5719 .mcb-section-8ef301bee .mcb-wrap.one-fourth,
    #post-5719 .mcb-section-zcfuvmek .mcb-wrap.one-fourth {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}
@media (max-width: 600px) {
    [data-id="5719"] .mcb-section-8ef301bee .mcb-wrap.one-fourth,
    [data-id="5719"] .mcb-section-zcfuvmek .mcb-wrap.one-fourth,
    #post-5719 .mcb-section-8ef301bee .mcb-wrap.one-fourth,
    #post-5719 .mcb-section-zcfuvmek .mcb-wrap.one-fourth {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #e5e7eb !important;
    }
}
