/*
Theme Name: darkdisclosure-classic
Version: 1.1
*/

body{
  margin:0;
  background:#0b0b0b;
  color:#e6e6e6;
  font-family:"Segoe UI",Arial,Helvetica,sans-serif;
  letter-spacing:0.3px;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }

/* ===========================
   HEADER & NAV
=========================== */
.header-banner{
  height:320px;
  background-size:cover;
  background-position:top center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.header-content {
  z-index: 2;
  text-shadow: 0 4px 20px rgba(0,0,0,1);
}

.site-logo-text {
  font-family: 'Cinzel', serif;
  font-size: 68px;
  font-weight: 700;
  color: #e0e0e0;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
  background: linear-gradient(to bottom, #fff, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(0,0,0,0.8));
}

.site-tagline {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 4px;
  color: #bbb;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: inline-block;
  padding-top: 10px;
}

.social-icons {
  margin-top: 15px;
}
.social-icons a {
  color: #ccc;
  font-size: 24px;
  margin: 0 10px;
  transition: all 0.3s ease;
  display: inline-block;
}
.social-icons a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

.navbar{
  background: rgba(8, 8, 8, 0.95);
  padding: 0;
  text-align: center;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  box-shadow: 0 5px 20px rgba(0,0,0,0.8);
  position: sticky;
  top: 0;
  z-index: 999; /* Lowered for mobile menu overlay */
  backdrop-filter: blur(5px);
}

.navbar ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar li{ margin: 0; padding: 0; position: relative; }

.navbar a{
  display: block;
  padding: 20px 30px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

/* Hover & Active Glow */
.navbar a:hover,
.navbar .current-menu-item > a,
.navbar .current-post-parent > a {
  background: linear-gradient(to bottom, rgba(26,255,255,0.05), rgba(26,255,255,0.0));
  color: #1affff;
  text-shadow: 0 0 8px rgba(26,255,255,0.8), 0 0 15px rgba(26,255,255,0.4);
}

/* Underline Glow Effect */
.navbar a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #1affff;
  box-shadow: 0 0 10px #1affff, 0 0 20px #1affff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}

.navbar a:hover:after,
.navbar .current-menu-item > a:after {
  transform: scaleX(1);
}

/* ===========================
   LAYOUT
=========================== */
.container{
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.section-title{
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #333;
  color: #ddd;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===========================
   CONTENT & SIDEBAR
=========================== */
.main-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.sidebar-widget {
  margin-bottom: 30px;
  text-align: center;
}

.sidebar-widget h3 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 18px;
  margin-top: 0;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
  color: #ccc;
}

.newsletter-box input[type="email"],
.newsletter-box input[type="text"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  background: #222;
  border: 1px solid #333;
  color: #fff;
  box-sizing: border-box;
}

.newsletter-box button {
  width: 100%;
  padding: 10px;
  background: #333;
  color: #fff;
  border: none;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}

.newsletter-box button:hover {
  background: #111;
  color: #1affff;
  box-shadow: 0 0 10px rgba(0,255,255,0.5);
  text-shadow: 0 0 5px rgba(0,255,255,0.6);
}

/* ===========================
   FOOTER
=========================== */
.footer{
  background: #000;
  text-align: center;
  padding: 40px;
  margin-top: 60px;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #222;
}

/* Mobile-Only Newsletter */
.mobile-newsletter {
    display: none; /* Hidden by default */
    padding: 20px;
    background-color: #111;
    text-align: center;
}

.mobile-newsletter .panel-skin {
    border: 1px solid #333;
    padding: 20px;
}

/* Panel Skin */
.content-panel, .sidebar-widget, .video-section, .poll-box {
  background: rgba(15,15,15,0.65);
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 30px;
}

/* Global Background */
html, body {
    background: #050505;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(20,20,20,1) 0%, rgba(5,5,5,1) 80%),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 10px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 10px);
    background-attachment: fixed;
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, rgba(0,20,30,0.15), rgba(0,0,0,0.95));
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: overlay;
}

/* ===========================
   FIXED LAYOUT & HERO
=========================== */

/* Desktop Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
}

#hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

#hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.btn-glow {
    display: inline-block;
    padding: 12px 30px;
    background: #6a0dad;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 0 10px #6a0dad;
    transition: all 0.3s ease;
}

.btn-glow:hover {
    background: #ff00ff;
    box-shadow: 0 0 20px #ff00ff, 0 0 40px #ff00ff;
    color: #fff;
}

/* Card Styles */
.card {
    display: block;
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
    text-decoration: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border-color: #6a0dad;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-title {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #00ffcc;
}

.play-icon-overlay .dashicons {
    color: #00ffcc;
    font-size: 24px;
    width: 24px;
    height: 24px;
    line-height: 24px;
}

/* ==================================================
   MOBILE & RESPONSIVE STYLES
================================================== */

/* == Floating Mobile Menu == */
.floating-menu-trigger,
.mobile-menu-overlay {
    display: none; /* Hidden by default on desktop */
}

/* Apply styles only on screens 768px or less */
@media (max-width: 768px) {
	.grid-3, .main-layout, .bottom-split { 
        grid-template-columns:1fr; 
    }
	.site-logo-text { font-size: 42px; }
	.header-banner { height:auto; padding: 30px 0; }
    .sidebar { display: none; }
    .mobile-newsletter { display: block; }

    /* Hide desktop nav */
    .navbar {
        display: none !important;
    }

    /* Floating "MENU" button */
    .floating-menu-trigger {
        display: block;
        position: fixed;
        top: 15px;
        right: 20px;
        z-index: 1001;
        background: rgba(0,0,0,0.8);
        color: #fff;
        border: 1px solid #555;
        padding: 10px 20px;
        font-family: 'Oswald', sans-serif;
        text-transform: uppercase;
        cursor: pointer;
        border-radius: 3px;
    }

    /* Main overlay for the menu */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.7);
        backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility .3s ease;
        z-index: 1000;
    }

    .mobile-menu-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

    /* The actual side-drawer navigation panel */
    .mobile-menu-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100%;
        background: #111;
        padding-top: 80px;
        box-shadow: 0 0 25px rgba(0,0,0,0.9);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .3s ease;
        text-align: left;
    }

    .mobile-menu-overlay.is-open .mobile-menu-nav {
        transform: translateX(0);
    }

    /* Close button */
    .close-menu-trigger {
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        color: #fff;
        font-size: 45px;
        line-height: 1;
        cursor: pointer;
        padding: 0;
        z-index: 1002; /* Above the nav panel */
    }

    /* Menu items */
    .mobile-menu-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .mobile-menu-nav ul li {
        position: relative;
    }
    .mobile-menu-nav ul li a {
        display: block;
        padding: 15px 20px;
        color: #ddd;
        font-size: 18px;
        font-family: 'Oswald', sans-serif;
        text-transform: uppercase;
        border-bottom: 1px solid #333;
        transition: color .3s ease;
    }
    .mobile-menu-nav ul li a:hover {
        color: #1affff;
    }
    
    /* Sub-Menu Accordion */
    .mobile-menu-nav .sub-menu {
        display: none;
        padding-left: 20px;
        background: rgba(0,0,0,0.2);
        border-bottom: 1px solid #333;
    }
    .mobile-menu-nav .sub-menu li:last-child a {
        border-bottom: none;
    }
    .mobile-menu-nav .sub-menu li a {
        font-size: 16px;
        color: #bbb;
        border-bottom: 1px solid #222;
    }

    /* Sub-menu toggle button (+/-) */
    .submenu-toggle {
        position: absolute;
        right: 0;
        top: 0;
        width: 60px;
        height: 53px; /* Match link height */
        background: transparent;
        border: none;
        border-left: 1px solid #333;
        color: #888;
        cursor: pointer;
        z-index: 1;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .submenu-toggle:hover {
        color: #1affff;
    }
    .mobile-menu-nav .menu-item-has-children > a {
        padding-right: 60px; /* Make space for toggle */
    }
}

/* Mobile Poll Visibility */
.mobile-poll-section {
    display: none;
}

@media (max-width: 768px) {
    .mobile-poll-section {
        display: block;
        margin-bottom: 20px;
    }
    /* Hide sidebar poll on mobile to avoid duplication */
    .sidebar-poll-widget {
        display: none !important;
    }
}