/* Full Width Header Video + Hide Controls - ColorMag */
#wp-custom-header {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}

/* Video full width */
#wp-custom-header-video {
    width: 100% !important;
    height: auto !important;
    min-width: 100% !important;
    display: block;
    object-fit: cover;
}

/* Completely hide the Pause/Play button */
#wp-custom-header-video-button {
    display: none !important;
    visibility: hidden !important;
}

/* Optional: Extra safety to remove any WordPress header video UI */
.wp-custom-header-video-button,
.custom-header-media .wp-custom-header-video-button {
    display: none !important;
}








/* ============================================= */
/* COLOR MAG - PURE BLACK THEME + MENU FIXES     */
/* Solid #000000 background, no blue links       */
/* ============================================= */

#cm-content.cm-content {
    background: #000000 !important;
    color: #e0e0e0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Main containers */
#cm-content .cm-container,
#cm-content .cm-row,
#cm-content .cm-primary,
#cm-content .cm-posts,
#cm-content .mzb-section,
#cm-content .mzb-container-fluid {
    background: #000000 !important;
}

/* Post Cards - Pure Black */
#cm-content article.post,
#cm-content .mzb-post {
    background: #000000 !important;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
    border: 1px solid #1a1a1a;
}

#cm-content article.post:hover,
#cm-content .mzb-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.95);
    border-color: #222222;
}

/* ====================== MENU STYLES ====================== */

/* Main Menu Bar */
#cm-primary-menu {
    background: #000000 !important;
}

#cm-primary-menu > li > a,
#cm-primary-menu .sub-menu a {
    color: #e0e0e0 !important;
    transition: color 0.3s ease;
}

#cm-primary-menu > li > a:hover,
#cm-primary-menu .sub-menu a:hover {
    color: #00ffcc !important;
}

/* Remove any blue colors completely */
#cm-primary-menu a,
#cm-primary-menu li a {
    color: #e0e0e0 !important;
}

/* Submenu - Pure Black */
#cm-primary-menu .sub-menu {
    background: #000000 !important;
    border: 1px solid #222222 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

/* Submenu items */
#cm-primary-menu .sub-menu li a {
    color: #e0e0e0 !important;
    border-bottom: 1px solid #1a1a1a;
}

#cm-primary-menu .sub-menu li:last-child a {
    border-bottom: none;
}

#cm-primary-menu .sub-menu li a:hover {
    background: #111111 !important;
    color: #00ffcc !important;
}

/* Menu toggle icon color */
.cm-submenu-toggle svg {
    fill: #e0e0e0;
}

/* Titles - Pure White (no blue) */
#cm-content h2,
#cm-content h3,
#cm-content .mzb-post-title a,
#cm-content .mzb-heading-text,
.cm-entry-title,
.cm-entry-title a,
.single .cm-entry-header .cm-entry-title,
.page .cm-entry-header .cm-entry-title,
.cm-page-header .cm-page-title {
    color: #ffffff !important;
}

#cm-content .mzb-post-title a:hover,
.cm-entry-title a:hover {
    color: #00ffcc !important;
}

/* Rest of your theme styles (unchanged) */
#cm-content .mzb-post-categories a,
#cm-content .category-link {
    background: linear-gradient(135deg, #ff00aa, #00ccff);
    color: #fff !important;
    padding: 5px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: inline-block;
    margin-bottom: 12px;
}

#cm-content .mzb-post-categories a:hover {
    background: linear-gradient(135deg, #00ff9d, #ff00aa);
    transform: scale(1.05);
}

#cm-content .mzb-post-meta,
#cm-content .mzb-post-entry-meta,
#cm-content .mzb-post-date,
#cm-content .mzb-post-author {
    color: #999999;
    font-size: 0.85rem;
}

#cm-content .mzb-post-date a:hover,
#cm-content .mzb-post-author a:hover {
    color: #00ffcc;
}

#cm-content .mzb-heading-text:after {
    background: #00ffcc;
}

#cm-content .mzb-entry-content,
#cm-content .cm-entry-summary {
    color: #d0d0d0;
    line-height: 1.65;
}

#cm-content .mzb-first-post--highlight {
    background: #000000 !important;
    border: 1px solid #222;
}

#cm-content .mzb-post-list {
    background: #000000 !important;
}

/* Mobile video fix */
.wp-block-video video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}




/* Custom CSS for ColorMag Theme - Main Article & Page Titles Only */

.cm-entry-title,
.cm-entry-title a,
.single .cm-entry-header .cm-entry-title,
.page .cm-entry-header .cm-entry-title,
.cm-page-header .cm-page-title {
    color: #257BC1 !important;
}

/* Hover state - keep the same color */
.cm-entry-title a:hover,
.single .cm-entry-header .cm-entry-title a:hover {
    color: #257BC1 !important;
}




















/* Style the main dropdown box container */
.colormag-footer-dropdown {
    background-color: #222222; /* Matches dark ColorMag footer colors */
    border: 1px solid #444444;
    border-radius: 4px;
    padding: 10px 15px;
    max-width: 100%;
}

/* Style the clickable toggle header title */
.colormag-footer-dropdown summary {
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    outline: none;
    user-select: none;
}

/* Style the actual menu links list when expanded */
.colormag-footer-dropdown ul {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-top: 10px;
    margin-bottom: 0;
}

.colormag-footer-dropdown ul li {
    padding: 8px 0;
    border-bottom: 1px solid #333333;
}

.colormag-footer-dropdown ul li:last-child {
    border-bottom: none;
}

.colormag-footer-dropdown ul li a {
    color: #b0b0b0;
    text-decoration: none;
    display: block;
}

.colormag-footer-dropdown ul li a:hover {
    color: #207fa2; /* ColorMag primary blue theme accent */
}






/* 1. Absolute override for Post Meta (Date, Author, Comments) */
#page .cm-below-entry-meta,
#page .cm-below-entry-meta *,
#page .entry-meta,
#page .entry-meta * {
    color: #CF9FFF !important;
}

/* 2. Absolute override for Image Captions */
#page figure figcaption,
#page .wp-element-caption,
#page .wp-caption-text {
    color: #CF9FFF !important;
}







/* Left-align content in the block editor */
.editor-styles-wrapper .is-root-container > *:not([data-align]),
.editor-styles-wrapper .wp-block {
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 100%; /* or a specific width like 800px if needed */
}
