


.dark-mode {
  --brand-color-1: #FFD700;
  --brand-color-2: #C0C0C0;
  --brand-color-3: #F6E28F;
  --brand-color-4: #F9E08A;
  --brand-color-5: #FAF1D4;
  --brand-color-6: #E5E4E2;
  --brand-color-7: #FFF8DC;
}

header,
.site-header,
.main-header {
  --brand-color-1: #FFD700;
  --brand-color-2: #C0C0C0;
  --brand-color-3: #F6E28F;
  --brand-color-4: #F9E08A;
  --brand-color-5: #FAF1D4;
  --brand-color-6: #E5E4E2;
  --brand-color-7: #FFF8DC;
}

:root {
  --brand-color-1: turquoise;
  --brand-color-2: #d300ff;
  --brand-color-3: turquoise;
  --brand-color-4: #d300ff;
  --brand-color-5: turquoise;
  --brand-color-6: #d300ff;
  --brand-color-7: turquoise;
}

.featured-article {
  margin: 0 auto;
  margin-top: 5px!important;
}

/* 🛍️ Sidebar Merch Spotlight (replaces .toc-section) */
.shop-spotlight {
  border: 1px solid transparent;
  border-radius: 10px;
  background-image: linear-gradient(white, white),
                    linear-gradient(90deg, turquoise, #d300ff);
  background-origin: border-box;
  background-clip: content-box, border-box;
  background-color: #fff;
  margin-bottom: 20px!important;
  margin-left: -4px!important;
  height: 220px !important;
  min-height: 220px !important;
  min-width: 100% !important;
  overflow: hidden!important;
  text-align: center;
  margin-top: 7px!important;
}

.shop-spotlight h4 {
  color: #333;
  margin-top: 0;
  font-size: 0.8rem;
}

.shop-carousel {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.shop-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.4s ease;
}

.shop-slide.active {
  display: block;
  opacity: 1;
  transform: scale(1);
}

/* 🩵 Overlay price + one-line title */
.shop-slide-inner {
  position: relative;
  display: block;
  text-align: center;
  color: #000;
  text-decoration: none;
}

/* 🖼️ Image */
.shop-thumb {
  aspect-ratio: 1 / 1;
  color: transparent;
  font-size: 0!important;
  width: 75%;
  max-width: 150px;
  max-height: 150px;
  border-radius: 8px;
  display: block;
  margin: 10px auto 6px;
  position: relative;
}

/* 💰 Price overlay (on image) */
.shop-price {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.65rem;
  font-weight: bold;
  border-radius: 6px;
  padding: 3px 6px;
  line-height: 1;
  z-index: 2;
}

/* ✂️ Title: 1 line only */
.shop-title {
  font-size: 0.7rem;
  color: #222;
  margin: 4px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
  margin-inline: auto;
}

/* 🕶️ Dark mode */
.dark-mode .shop-title { color: #fff; }

@media screen and (min-width: 1600px) {
  .shop-spotlight { height: 250px; }
  .shop-thumb { max-width: 210px; }
  .shop-title { font-size: 0.8rem; }
  .shop-price { font-size: 0.7rem; }
}

.dark-mode .shop-spotlight {
  background-image: linear-gradient(#1a1a1a, #1a1a1a),
                    linear-gradient(90deg, turquoise, #d300ff);
  background-color: #121212;
}

.dark-mode .shop-title { color: #fff; }

.shop-view-all .shop-btn {
  background: linear-gradient(90deg, #ff00c8, #00eaff);
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.3s ease;
}
.shop-view-all .shop-btn:hover {
  filter: brightness(1.2);
}

@media screen and (min-width: 1600px) {
.shop-view-all {
    position: relative!important;
    left: 23%!important;
    width: 70%!important;
    bottom: 8vh!important;
    margin-bottom: -60px!important;
    height: 85%!important;
}
}
.shop-spotlight { position:relative; }


@media screen and (max-width: 1599px) {
.shop-view-all {
position: absolute;
    left: 17.5%;
    width: 70%;
    bottom: -5.5%;
    margin-bottom: -60px !important;
    height: 85% !important;
}
}

.dropdown-panel a.thumb img, .panel-grid a.thumb img, .mobile-panel>a.thumb img {
    object-position: 50% 30%;
 }
 
   .thumb img{aspect-ratio:1/1; width:100%; height:auto; display:block}

/* Reserve space for lazysizes-style images before JS sets real sizes */
img:is([sizes="auto" i],[sizes^="auto," i]) {
  contain-intrinsic-size: 1200px 675px; /* fallback box (approx 1.9:1) */
}



.thumb-subtitle {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  padding: 2px 4px;
  background: rgba(0,0,0,.4);
  color: #fff;
}
.dark-mode .thumb-subtitle {
  background: rgba(255,255,255,.1);
}



 .wp-block-button__link {
    padding: calc(.267em + 5.5px) calc(0.2333em + 20.2px)!important;
 }





.banner-container {
  position: relative!important; /* just ensures children can be absolutely positioned */
}

.banner-caption {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 0.7em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1.2;
  z-index: 999999999
}

@media (min-width: 739px) and (max-width: 1280px) {
.follow-us {
    margin-bottom: -20px!important;
}
}



@media (min-width: 481px) and (max-width: 1280px) {


.social-share {
    margin-bottom: -10px!important;
}
}

.dropdown-panel {
    z-index: 999999999999999999999!important;
}

.promo-space {
  max-width: 300px!important;
  margin: 0 auto 20px!important;     /* spacing under each ad */
  position: relative!important;      /* contain absolutely positioned children */
  z-index: 1!important;              /* keep it under TOC if TOC uses high z-index */
}

.promo-space ins.adsbygoogle {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100px;       /* reserve space so layout doesn’t collapse */
  position: relative !important;  /* override Google's absolute positioning */
  z-index: 1 !important;   /* keep ads in normal stacking order */
}


/* ============================
   Gradient Links – Global
============================ */

/* Base (light mode) */
body a:not([class]):not(:has(h2, h3, h4, h5, img, p)):not(.breaking-ticker a):not(.alpha-z-letter):not(.alpha-z-letter a),
td a:not(.alpha-z-letter),
th a:not(.alpha-z-letter) {
  position: relative;
  display: inline-block;
  background-image: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  font-weight: bold;
}

body a:not([class]):not(:has(h2, h3, h4, h5, img, p)):not(.breaking-ticker a):not(.alpha-z-letter):not(.alpha-z-letter a)::after,
td a:not(.alpha-z-letter)::after,
th a:not(.alpha-z-letter)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2), var(--brand-color-1));
  background-size: 300% 100%;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body a:not([class]):not(:has(h2, h3, h4, h5, img, p)):not(.breaking-ticker a):not(.alpha-z-letter):not(.alpha-z-letter a):hover::after,
td a:not(.alpha-z-letter):hover::after,
th a:not(.alpha-z-letter):hover::after {
  opacity: 1;
  animation: underlinePulse 1.5s linear infinite;
}

/* Dark mode override */
body.dark-mode a:not([class]):not(:has(h2, h3, h4, h5, img, p)):not(.breaking-ticker a):not(.alpha-z-letter):not(.alpha-z-letter a),
body.dark-mode td a:not(.alpha-z-letter),
body.dark-mode th a:not(.alpha-z-letter) {
  background-image: linear-gradient(90deg, var(--brand-color-2), var(--brand-color-1));
}

body.dark-mode a:not([class]):not(:has(h2, h3, h4, h5, img, p)):not(.breaking-ticker a):not(.alpha-z-letter):not(.alpha-z-letter a)::after,
body.dark-mode td a:not(.alpha-z-letter)::after,
body.dark-mode th a:not(.alpha-z-letter)::after {
  background: linear-gradient(90deg, var(--brand-color-2), var(--brand-color-1), var(--brand-color-2));
  box-shadow: 0 0 10px var(--brand-color-2), 0 0 20px var(--brand-color-1);
}

/* Kill gradient inside error-actions completely */
.error-actions a {
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: inherit !important;
}



/* Fix for meme-card overlay inside linked cards */
.meme-card-link,
.meme-card-link * {
  display: block!important;
  color: inherit;
  background: none;
  -webkit-text-fill-color: initial !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}




/* ============================
   Category Nav (top-level only)
============================ */
.category-nav > ul > li > a:not(.alpha-z-letter) {
  position: relative;
  display: inline-block;
  background-image: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text;
  color: transparent;
  font-weight: bold;
  text-decoration: none;
}

.category-nav > ul > li > a:not(.alpha-z-letter)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2), var(--brand-color-1));
  background-size: 300% 100%;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-nav > ul > li > a:not(.alpha-z-letter):hover::after {
  opacity: 1;
  animation: underlinePulse 1.5s linear infinite;
}

body.dark-mode .category-nav > ul > li > a:not(.alpha-z-letter) {
  background-image: linear-gradient(90deg, var(--brand-color-2), var(--brand-color-1));
}

body.dark-mode .category-nav > ul > li > a:not(.alpha-z-letter)::after {
  background: linear-gradient(90deg, var(--brand-color-2), var(--brand-color-1), var(--brand-color-2));
  box-shadow: 0 0 10px var(--brand-color-2), 0 0 20px var(--brand-color-1);
}


/* ============================
   Mobile Menu (all links)
============================ */
.mobile-menu-content a:not(.alpha-z-letter) {
  position: relative;
  display: inline-block;
  background-image: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text;
  color: transparent;
  font-weight: bold;
  text-decoration: none;
}

.mobile-menu-content a:not(.alpha-z-letter)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2), var(--brand-color-1));
  background-size: 300% 100%;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-content a:not(.alpha-z-letter):hover::after {
  opacity: 1;
  animation: underlinePulse 1.5s linear infinite;
}

body.dark-mode .mobile-menu-content a:not(.alpha-z-letter) {
  background-image: linear-gradient(90deg, var(--brand-color-2), var(--brand-color-1));
}

body.dark-mode .mobile-menu-content a:not(.alpha-z-letter)::after {
  background: linear-gradient(90deg, var(--brand-color-2), var(--brand-color-1), var(--brand-color-2));
  box-shadow: 0 0 10px var(--brand-color-2), 0 0 20px var(--brand-color-1);
}


/* ============================
   TOC Toggle button
============================ */
#toc-toggle {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  font-weight: bold !important;
  position: relative !important;
  display: inline-block !important;
  background-image: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2))!important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  text-decoration: none !important;
}

#toc-toggle::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2), var(--brand-color-1))!important;
  background-size: 300% 100% !important;
  border-radius: 2px !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

#toc-toggle:hover::after {
  opacity: 1 !important;
  animation: underlinePulse 1.5s linear infinite !important;
}

body.dark-mode #toc-toggle {
  background-image: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2))!important;
}

body.dark-mode #toc-toggle::after {
  background: linear-gradient(90deg, var(--brand-color-2), var(--brand-color-1), var(--brand-color-2)) !important;
  box-shadow: 0 0 10px var(--brand-color-2), 0 0 20px var(--brand-color-1) !important;
}


/* ============================
   HARD RESET for calendar links
============================ */
.skibidi-year-calendar td a,
.skibidi-year-calendar th a,
.skibidi-year-calendar a {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: inherit !important;

  color: inherit !important;
  font-weight: normal !important;
  text-decoration: none !important;

  position: static !important;
  display: block !important;
}

.skibidi-year-calendar td a::after,
.skibidi-year-calendar th a::after,
.skibidi-year-calendar a::after {
  content: none !important;
  background: none !important;
  box-shadow: none !important;
}


/* =========== 
   Keyframes
=========== */
@keyframes underlinePulse {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}







.social-links .social-icon i {
    font-weight: bold;
    color: #333;
}
.dark-mode .social-links .social-icon i {
    color: #fff;
}

.social-icon i:hover,
.footer-links a:hover {
      background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox (works with a flag) */
}

.partner-links {
    font-size: 0.6rem!important;
}

.partner-links a {
      background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox (works with a flag) */
}

.partner-links a:hover {
      -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
      background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
      color: #fff!important;
}

a[href*="sitemap"] {
    display: none !important;
}








/* ===========================
   MEDIA QUERIES - MOBILE
=========================== */
@media screen and (max-width: 1280px) {
    
    html, body {
  overflow-x: hidden!important;
}

footer, .site-footer {
  max-width: 100vw!important;
  overflow-x: hidden!important;
}
    
    .wp-block-embed-instagram .wp-block-embed__wrapper {
        margin: 0 auto!important;
        max-width: 300px!important;
    }
    
/* Optional: specifically target WordPress embeds */
.wp-block-embed iframe,
.wp-embedded-content {
  max-width: 400px!important;
  width: 75%!important;
  margin: 0 0!important;
}
    
    footer {
        min-width: 100%!important;
    }
    
    /* Hide sidebars */
    .sidebar, .sidebar-right {
        display: none!important;
    }
    
    .article-summary p {
        height: 75px!important;
        margin-bottom: -5%;
        font-size: .5rem!important;
    }
    
    .announcement-track p {
    font-size: 0.7rem!important;
    margin-bottom: 10px!important;
}

    .announcement-track {
        white-space: revert !important;
    }
    
    .latest-articles h3 {
    font-size: 0.9rem!important;
    height: 35px;
    overflow: hidden;
    white-space: normal; /* Ensures text wraps */
    display: block; /* Ensures it behaves as a block element */
}
    
    .article-summary .banner-image {
    height: auto!important;
}

    
  html {
  scroll-padding-top: 70px!important;
}

h2, h3, .wp-block-heading {
  scroll-margin-top: 70px!important;
}
  
    
#search-toggle {
    left: 7%!important;
    position: fixed!important;
}    

#dark-mode-toggle {
    left: 1%!important;
    position: fixed!important;}   

.site-title img {
    height: 42px!important;
}
    
    .mobile-menu,
.mobile-menu-content {
    border: none !important; /* Remove any borders */
    outline: none !important; /* Remove outlines */
    box-shadow: none !important; /* Remove shadows */
    background-color: #f8f9fa; /* Ensure background is consistent */
}
    
      body.admin-bar header {
    top: 46px !important; /* Adjust as needed */
  }
  
  
  
  
  #search-container {
  padding: 10px;
  background: #f7f7f7;
  border: 1px solid #ddd;
  position: absolute; /* or fixed, based on your design */
        top: 60px!important; /* Adjust for mobile */
        width: 100%!important; /* Prevent it from being too wide */
  z-index: 1001;
}
  


body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
    overflow-y: auto; /* Allow vertical scrolling */
    padding-bottom: 0;
}

      #wpadminbar {
    position: fixed !important;
    top: 0 !important;
    bottom: auto !important;
    width: 100%;
    z-index: 99999 !important;
  }
    
        body.admin-bar header {
        top: 0;
    }
    
 /* Let the children of .meta-left act as direct children of .post-meta */
  .meta-left {
    display: contents;
  }
  
  /* Use a grid layout for .post-meta */
  .post-meta {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Three equal columns */
    grid-template-rows: auto auto;
    grid-template-areas:
      "author author author"
      "follow comments share";
    gap: 3px;
    align-items: center;
    font-size: 0.5rem!important;
    margin-top: -1%;
    margin-bottom: 1%;
  }
  
  /* Author info spans the full top row */
  .author-info {
    grid-area: author;
    text-align: center;

  }
  
  /* Follow icons go in the left cell of the second row */
  .follow-us {
    grid-area: follow;
    display: flex;

    gap: 5px;
  }
  
  /* Comments button goes in the center cell */
  .comments-button {
    grid-area: comments;
    font-size: 0.6rem;  /* Smaller font size for better fit */
    padding: 0 0.2px;    /* Adjust padding as needed */
    margin-left: 5px;
  }
  
  /* Share icons go in the right cell of the second row */
  .social-share {
    grid-area: share;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
  
  /* Optionally, reduce the icon sizes for a tighter fit */
  .follow-icon i,
  .share-icon i {
    font-size: 0.5rem;
  }
  

    
    .site-title {
    top: 15%;
    right: 0%;
    position: absolute;
}


    /* Full-width main content */
    .main-content {
        min-width: 100%!important;
        width: 100%!important;
        margin-left: 0;
        position: relative;
    }
    
        /* Full-width main content */
    .supplementary-content {
        width: 100%!important;
        position: relative!important;
        max-width: 100%!important;
        padding: 0 15px!important; /* optional: adds side padding */
        box-sizing: border-box!important;
        margin: 0 auto!important;
    }
    
      .container {
    width: 100%!important;
    max-width: 100%;
    padding: 0 15px; /* optional: adds side padding */
    box-sizing: border-box;
    margin: 0 auto;
  }

    /* Typography adjustments */
    h1 {
        font-size: 2rem!important;
        margin: 20px 0!important;
    }

  .banner-image {
    display: block!important;
    width: 100%!important;
    max-width: 100%!important;
    height: 200px!important;
    margin-top: 20px!important;
  }
  
    .author-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 200px;
    margin-top: 0;
  }

    .description {
        font-size: 1rem;
        margin: 10px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    h2 {
        font-size: 1.5rem!important;
        margin-top: 20px;
        margin-bottom: 10px;
        padding-bottom: 4px;
    }

    h3 {
        font-size: 1.3rem!important;
        margin-top: 15px;
        margin-bottom: 8px;
    }
    
        h4 {
        font-size: 1.15rem!important;
        margin-top: 15px;
        margin-bottom: 8px;
    }

    p {
        font-size: 1.1rem!important;
        line-height: 1.6;
    margin-bottom: 0px;
    }
    


    /* Mobile-specific layout */
  /* Ensure the header stays fixed at the top */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 60px!important;
    padding: 0 0!important;
  }
  
  
  /* Mobile Menu Container */
  .mobile-menu {
    position: absolute; /* So it doesn't affect the header's height */
    top: 100%; /* Place it immediately below the header */
    width: 100%;
    z-index: 999; /* Ensure it's behind the header */
  }
  
  .dark-mode #menu-toggle {
      color: #fff;
  }
  
  /* Mobile Menu Content with Transition */
  
  /* When the menu is active (opened) */
  .mobile-menu.active .mobile-menu-content {
    min-height: 100vh;
    max-height: 100vh; /* Adjust as needed based on content */
    background-color: #333;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: max-height 0.3s ease-out;

    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically */
  }
  
    .mobile-menu.active .mobile-menu-content a {
    margin-top: 5px!important;
    }
  
  #toc-toggle {
      font-size: 1.05rem;
  }
  
  /* Style the links and buttons within the mobile menu */
  .mobile-menu-content a,
  .mobile-menu-content button {
    display: block;
    margin: 10px 80px;
    font-size: 1.05rem;
    color: #333;
    text-decoration: none;
    padding: 10px;
    transition: background-color 0.3s ease;
    border: none;
    background: none;
    width: auto; /* Make sure width is not full */
    text-align: center;

  }
  
  /* Hover and Focus State for Menu Items */
  .mobile-menu-content a:hover,
  .mobile-menu-content button:hover {
    background-color: #dcdcdc;
  }

    .pc-only {
        display: none;
    }
    

    .mobile-only {
        display: flex;
    }

    /* Adjust category navigation */
    .category-nav {
        gap: 10px;
        font-size: 0.8rem;
    }

    /* Override social share positioning */
    .social-share {
    margin-left: -150px!important;
    margin-top: -10px!important;
    }

    /* Comments button spacing */
    .comments-button {
        margin-right: 10px;
    }

    /* Stack homepage sections */
    .homepage-content {
        flex-direction: column;
    }
    .latest-articles, 
    .homepage-sidebar {
        width: 100%;
    }

  .close-ad {
    right: auto;
    left: 85%; /* Adjust this value to move it further left */
  }
  

    
    
}

@media screen and (min-width: 1280px) {
.main-content {
    width: 96%!important;
}
.supplementary-content {
    width: 63%!important;
    margin: 0 auto!important;
}
.sidebar, .sidebar-right, .sidebar-right .gradient-left-border, .sidebar .gradient-right-border {
    height: 100%!important;
    max-height: 100%!important;
}
}

/* Main Content Area */
.main-content {
    width: 92%!important;
    margin: 0 auto;
}



.header-row {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    z-index: 999;
}

.header-icons {
    display: flex;
    gap: 10px;
    position: absolute;
    top: 1%;
    right: 15%;
}

.header-icons button {
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* Category Navigation */
.category-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 3px 0;
    width: 100%;
    flex-wrap: wrap;
    padding-top: 40px;
}

.category-nav a {
    text-decoration: none;
    color: black;
    padding: 2px;
    font-size: 0.8rem;
}

.category-nav a:hover {
  background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
}


.wp-block-post-date {
color: gray;
}

.wp-block-post-title a {
  background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox (works with a flag) */
}



/* 📰 Top Stories Grid */
.wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.wp-block-post-template > * {
  width: 100% !important;
  margin: 0 !important;
}
.story-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 300px;
}
.story-card:hover {
  transform: scale(1.02);
}
.story-content {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.story-content h4 {
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 100px;
}
.story-content time {
  font-size: 0.8rem;
}

/* 🧼 Responsive Grid Tweaks */
@media (max-width: 1280px) {
  .wp-block-post-template {
    grid-template-columns: repeat(3, 1fr);
  }


}
@media (max-width: 1280px) {
    
    .wp-embed-responsive .wp-block-embed iframe, .wp-block-embed iframe {
        max-width: 75%!important;
    }
    
  .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-card {
    height: 180px;
  }
  .story-content {
    padding: 0.3rem;
  }
  .story-content h4 {
    font-size: 0.55rem;
  }
  .story-content time {
    font-size: 0.35rem;
  }
}

/* 🔍 Trending Feed Section */
.trending-feed-section {
  background: #111;
  color: #fff;
  border-radius: 12px;
  padding: 2rem 1rem;
  margin-top: 2rem;
}
.trending-feed-section h2 {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}



.trending-feed-section h3, .trending-feed-section h4 {
color: #fff;
}

.trending-feed-section .wp-block-rss {
  list-style: none;
  padding: 0;
}
.trending-feed-section .wp-block-rss li {
  background: #1a1a1a;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.trending-feed-section .wp-block-rss a {
  color: #00f0ff;
  text-decoration: none;
  font-weight: bold;
}
.trending-feed-section .wp-block-rss a:hover {
  text-decoration: underline;
}
.trending-feed-section .wp-block-rss .rss-date {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
.trending-feed-section iframe {
  max-width: 100%;
  height: auto;
}

/* 🧩 Responsive Columns */
@media (max-width: 1280px) {
  .wp-block-columns {
    flex-direction: column;
    gap: 1rem;
  }
  .wp-block-column {
    width: 100% !important;
  }
}
.meme-reaction-box {
  background: #1a1a1a;
  color: #fff;
  padding: 2rem 1rem;
  border-radius: 1rem;
  margin-top: 2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.meme-reaction-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.meme-reaction-box h3, .meme-reaction-box h4 {
color: #fff;
}

.meme-of-the-day {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.meme-of-the-day img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.meme-of-the-day .caption {
  font-style: italic;
  color: #333;
  font-size: 0.9rem;
}
.reaction-wall {
  padding: 1rem;
}
.reaction-wall h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.reaction-wall ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.reaction-wall li {
  background: #333;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
}
.reaction-wall .cta {
  font-size: 0.85rem;
  color: #ccc;
}
.reaction-wall .cta a {
  color: #0ff;
  text-decoration: underline;
}
@media (max-width: 1280px) {
  .meme-reaction-box {
    padding: 1rem;
  }
  .reaction-wall li {
    font-size: 0.8rem;
  }
.wp-block-post-featured-image img {
height: 70px!important;
}
}

.wp-block-post-featured-image img {
height: 160px;
}

.social-hashtag-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  background: #111;
  padding: 1.5rem;
  border-radius: 1rem;
  color: #fff;
}

.social-hashtag-columns .hashtag-column {
  flex: 1 1 35%;
}

.social-hashtag-columns h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.social-hashtag-columns ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.social-hashtag-columns ul li {
  margin-bottom: 0.3rem;
}

.social-hashtag-columns a {
  color: #00ffff;
  text-decoration: none;
}

.social-hashtag-columns a:hover {
  text-decoration: underline;
}

/* --- Carousel Unified Styles --- */

.hide-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.video-carousel-wrapper {
  margin: 2rem auto;
  position: relative;
  display: flex;
  align-items: center;
}

.video-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
  padding-bottom: 8px;
}

/* --- Card sizing, always 3 on desktop --- */
.video-carousel.three-visible blockquote,
.video-carousel.three-visible iframe {
  flex: 0 0 32%;
  max-width: 117.5px;
  background: #000;
  border-radius: 14px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: center;
  /* Cap height, but also keep 9:16 for TikTok and 16:9 for YouTube */
  height: 125px;
}

/* TikTok: Vertical 9:16 aspect on desktop */
.video-carousel.three-visible blockquote {
  aspect-ratio: 1/1;
  height: 150px;
  max-height: 150px;
}

/* YouTube: Widescreen 16:9 aspect on desktop */
.video-carousel.three-visible iframe {
  aspect-ratio: 1/1;
  height: 125px;
  max-height: 125px;
  background: #000;
}

/* Responsive: Tablet and Mobile (always 2) */
@media (max-width: 1280px) {
  .video-carousel.three-visible blockquote,
  .video-carousel.three-visible iframe {
    flex: 0 0 48%;
    max-width: 120px;
  }
  .video-carousel.three-visible blockquote {
    height: 120px;
    max-height: 120px;
  }
  .video-carousel.three-visible iframe {
    height: 120px;
    max-height: 120px;
  }
}
@media (max-width: 1280px) {
  .video-carousel.three-visible blockquote,
  .video-carousel.three-visible iframe {
    flex: 0 0 48%;
  }
  .video-carousel.three-visible blockquote {
    height: 120px;
    max-height: 120px;
  }
  .video-carousel.three-visible iframe {
    height: 100px;
    max-height: 100px;
  }
  .carousel-btn {
    font-size: 1.2rem;
    padding: 0.1rem;
  }
  .carousel-arrow svg { width: 1.6em; height: 1.6em; }
}

/* --- Arrow Styles --- */
.carousel-btn {
  background: none;
  border: none;
  padding: 0.1rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.13s cubic-bezier(.58,-0.41,.52,1.44), box-shadow 0.13s;
  margin: 0 0.3rem;
  opacity: 0.85;
  position: relative;
}
.carousel-btn:active {
  transform: scale(0.95);
}
.carousel-btn.left { margin-right: 0.5rem; }
.carousel-btn.right { margin-left: 0.5rem; }
.carousel-arrow svg {
  display: block;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
}
.tiktok-arrow .carousel-arrow svg path { stroke: #00f0ff; }
.youtube-arrow .carousel-arrow svg path { stroke: #ff3939; }
.carousel-btn:hover .carousel-arrow svg circle {
  fill: #1b1b1b;
  filter: drop-shadow(0 0 8px #00f0ff80);
}
.youtube-arrow:hover .carousel-arrow svg circle {
  filter: drop-shadow(0 0 8px #ff3939cc);
}


.fancy-tier-cards td {
  vertical-align: top;
  padding: 12px;
}
.fancy-tier-cards .meme-card-link {
  display: inline-block!important;
  margin: 6px;
  width: 120px;
}
.fancy-tier-cards .meme-card-overlay {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.fancy-tier-cards .meme-card-overlay img {
  display: block;
  width: 150px;
  height: 75px;
  object-fit: cover;
}
.fancy-tier-cards .overlay-text {
  position: absolute;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  width: 100%;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 6px;
  text-align: center;
}
.skibidi-year-calendar table {
  border-collapse: separate;
  border-spacing: 12px;
}

.skibidi-year-calendar td,
.skibidi-year-calendar th {
  border: none;
  text-align: center;
  padding: 0;
}
.dark-mode .skibidi-year-calendar .month-tile {
  background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
}

.skibidi-year-calendar .month-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background-color: #eef4ff;
  border-radius: 12px;
  font-weight: bold;
  font-size: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background 0.2s ease;
}

.skibidi-year-calendar a .month-tile:hover {
  background-color: #d7eaff;
}

.skibidi-year-calendar .disabled {
  background-color: #f3f3f3;
  color: #aaa;
  cursor: default;
  box-shadow: none;
}

.dark-mode .skibidi-year-calendar .disabled {
  background-color: #33333;
  color: #aaa;
}



/* 🔴 Breaking News Ticker */
.breaking-ticker {
  overflow: hidden!important;
  white-space: nowrap!important;
  background: #ff0055!important;
  color: #fff!important;
  padding: 0.5rem 1rem!important;
  font-weight: bold!important;
  font-size: 1rem!important;
  margin-bottom: 1rem!important;
}
.ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 45s linear infinite;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.swiper-pagination-bullet-active {
  background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2)) !important;
  box-shadow: 0 0 6px var(--brand-color-1), 0 0 12px var(--brand-color-2);
}



/* 🌀 Swiper Carousel */
.swiper {
  width: 100%;
  height: 100%;
}
.skibidi-swiper { height: auto !important; }
.swiper-wrapper {
  display: flex;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  position: relative;
  transition: transform 0.3s ease-in-out;
}
.carousel-container {
  width: 40%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.swiper-slide h2 {
  font-size: 1.75rem!important;
  line-height: 1.2;
  margin: 0;
}
.swiper-slide p {
  font-size: 1rem!important;
  margin: 0.25rem 0 0;
}
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  z-index: 10;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.hero-carousel:hover .swiper-button-next,
.hero-carousel:hover .swiper-button-prev {
  opacity: 1;
}
.swiper-pagination {
  text-align: center;
  padding-top: 0.5rem;
  position: relative;
  margin-top: 1rem;
}

/* 📱 Carousel Mobile Tweaks */
@media (max-width: 1280px) {
    .carousel-container {
  width: 100%!important;
}
  .swiper-slide h2 {
    font-size: 0.9rem!important;
  }
  .fancy-tier-cards .overlay-text {
  font-size: 0.55rem;
}
  .fancy-tier-cards img {
  width: 100%!important;
}
.fancy-tier-cards .meme-card-link {
    display: inline-block!important;
    margin: 0 0 !important;
    width: auto!important;
}
.fancy-tier-cards .meme-card-overlay img {
    display: flex!important;
    width: auto!important;
    height: auto!important;
}
  .swiper-slide p {
    font-size: 0.6rem!important;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 30px;
    height: 30px;
  }
}

/* Base header wrapper */
header {
    background-color: #333;
    color: black;
    padding: 3px 5px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 95px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999999999!important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}



/* 1️⃣ Base moving gold–silver gradient (soft sweep + pulse) */
.announcement-bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  pointer-events: none;
  z-index: 1;

  background: linear-gradient(
    to right,
    var(--brand-color-3) 0%,
    var(--brand-color-6) 20%,
    var(--brand-color-4) 40%,
    var(--brand-color-6) 60%,
    var(--brand-color-5) 80%,
    var(--brand-color-6) 100%
  );
  background-size: 100% 100%;

  animation:
    goldSweep 18.2s ease-in-out infinite alternate, /* sliding gradient */
    goldPulse 5.4s ease-in-out infinite;          /* shimmer pulse */
}

.announcement-bar::before {
  content: "";
  position: absolute;
  bottom: 0;
  height: 5px;
  width: 24080px;  /* bigger body gives smoother feel */
  pointer-events: none;
  z-index: 3;

  /* 🟡 Base metal strip matching the bar */
  background:
    /* layer 1: gold–silver metal strip */
    linear-gradient(
      to right,
      var(--brand-color-3) 0%,
      var(--brand-color-6) 20%,
      var(--brand-color-4) 40%,
      var(--brand-color-6) 60%,
      var(--brand-color-5) 80%,
      var(--brand-color-6) 100%
    ),
    /* layer 2: dark-core rainbow pulse ring */
    radial-gradient(circle at center,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.45) 30%,
      rgba(0,0,0,0.30) 60%,
      rgba(0,0,0,0.00) 90%
    );

  /* 🎨 blend rainbow + metal without destroying metal */
  background-blend-mode: overlay, normal;

  /* 🕶 Very subtle core motion (no glow) */
  filter: brightness(1) saturate(1.3);

  /* ⭐ Shadow trail (clean, no blur dramatics) */
  box-shadow:
    -40px 0 8px rgba(0,0,0,0.25),
    -90px 0 20px rgba(0,0,0,0.18),
    -150px 0 32px rgba(0,0,0,0.12);

  animation:
    sparkSlide 11.8s cubic-bezier(.4,0,.4,1) infinite alternate,
    sparkBreath 62.8s ease-in-out infinite,
    rainbowShiftMerged 10s linear infinite;
}



/* 🚀 Smooth left→right motion */
@keyframes sparkSlide {
  from { left: -140px; }
  to   { left: calc(100% + 140px); }
}

/* 💨 Smooth grow/shrink */
@keyframes sparkBreath {
  0%   { transform: scaleX(0.75); }
  50%  { transform: scaleX(1.15); }
  100% { transform: scaleX(0.75); }
}

/* 🌈 ULTRA-smooth rainbow (no visible jumps) */
@keyframes rainbowShiftMerged {
  0%   { filter: hue-rotate(0deg); }
  25%  { filter: hue-rotate(90deg); }
  50%  { filter: hue-rotate(180deg); }
  75%  { filter: hue-rotate(270deg); }
  100% { filter: hue-rotate(360deg); }
}



/* Gradient sweep (left → right → left) */
@keyframes goldSweep {
  0%   { background-position: left center; }
  100% { background-position: right center; }
}

/* Gradient shimmer pulse */
@keyframes goldPulse {
  0%   { filter: brightness(1); }
  50%  { filter: brightness(1.25); }
  100% { filter: brightness(1); }
}






/* Site title positioning inside header */
.site-title {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}
.site-title img {
    height: 35px;
}

/* Header row: logo + icons */
.header-row {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.header-icons {
    display: flex;
    gap: 10px;
    position: absolute;
    top: 1%;
    right: 15%;
}

.header-icons button {
    background: none;
    border: none;
    cursor: pointer;
}

/* Search, dark-mode, and menu toggle buttons */
#search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    padding: 8px 12px;
    transition: color 0.3s ease-in-out;
}
#search-toggle:hover {
  background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox (works with a flag) */
}

#dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    padding: 8px 12px;
    transition: color 0.3s ease-in-out;
}
#dark-mode-toggle:hover {
  background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox (works with a flag) */
}

/* Menu toggle (mobile hamburger) */
#menu-toggle {
    position: fixed!important;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    transition: color 0.3s ease-in-out;
    top: 1%!important;
    right: 2%!important;
}
#menu-toggle:hover {
  background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox (works with a flag) */
}

/* Dark-mode overrides for those buttons */
.dark-mode #dark-mode-toggle,
.dark-mode #search-toggle {
    color: #fff;
}
.dark-mode #dark-mode-toggle:hover,
.dark-mode #search-toggle:hover {
  background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox (works with a flag) */
}

/* If WordPress admin bar is visible, push header down slightly */
body.admin-bar header {
    top: 28px; /* Adjust as needed if admin bar height changes */
}

/* ===========================
   CATEGORY NAV (desktop)
=========================== */

.category-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 3px 0;
    width: 100%;
    flex-wrap: wrap;
    padding-top: 60px;
    margin-bottom: -10px;
}
.category-nav a {
    text-decoration: none;
    color: black;
    padding: 2px;
    font-size: 0.8rem;
}
.category-nav a:hover {
    background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
}

/* Hide submenu by default */
.category-nav .dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%!important;
    left: -142.5px!important;
    background: #eaeae1;
    min-width: 200px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 10;
}

/* Dark-mode background for dropdown */
.dark-mode .category-nav .dropdown-menu {
    background: #333;
}

/* Dropdown hover → show as 3-column grid */
.category-nav .dropdown:hover > .dropdown-menu {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 4px !important;
    column-gap: 4px !important;
    padding: 4px !important;
    max-width: none;
    width: 400px;
}



/* Category list reset */
.category-nav .category-list,
.category-nav .dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.category-nav .category-list {
    display: flex;
    gap: 1rem;
}
.category-nav .dropdown {
    position: relative;
}
.category-nav .dropdown > a {
    cursor: pointer;
}

/* Dropdown search bar spans all columns */
.category-nav .dropdown-menu .dropdown-search {
    grid-column: 1 / -1;
    padding: 2px;
}
.dropdown-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 4px 6px;
    font-size: 0.85rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Tighter links inside dropdown */
.category-nav .dropdown-menu li a {
    font-size: 0.85rem;
    display: block;
}    

/* ===========================
   ANNOUNCEMENT BAR (directly under header)
=========================== */
@media (max-width: 1280px) {
.announcement-bar { 
    margin-top: 35px!important;
    margin-right: 0!important;
    width: 100%!important;
}
}

.hundo {
    width: 100%!important;
}

body.home .announcement-bar,
body.error404 .announcement-bar,
body.page-template-page-authors .announcement-bar,
body.home #search-container,
body.error404 #search-container,
body.page-template-page-authors #search-container,
body.search #search-container {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.home header,
body.error404 header,
body.page-template-page-authors header {
    padding: 0 0 !important;
}



@media (min-width: 1280px) and (max-width: 1599px) {
    .announcement-bar {
    margin-left: -10px !important;
    margin-right: 0 !important;
    color: #fff!important;
    font-weight: bold!important;
    overflow: hidden!important;
    white-space: nowrap!important;
    position: relative!important;
    display: flex!important;
    padding: 3px 0!important;
    height: 4rem !important;
    margin-bottom: -3px!important;
}
.announcement-bar {
    width: 64.7%!important;
}
}

.announcement-bar {
    color: #fff;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    padding: 3px 0;
    height: 4rem!important;
    -webkit-text-size-adjust: 100%;
    margin-bottom: -3px;
}

.announcement-track {
    display: flex;
    padding: 5px 0;
    align-items: center;
    white-space: nowrap;
    padding-left: 50vw;
    animation: scrollText 48s linear infinite;
}
.announcement-track p {
    color: #fff;
    font-size: 0.9rem;
}
@keyframes scrollText {
    from {
        transform: translateX(30vw);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Dark-mode overrides for announcement */
.dark-mode .announcement-bar {
    color: #fff;
}
.dark-mode .announcement-track p {
    color: #fff;
}
.dark-mode .announcement-track a {
    color: #b3d9ff;
}

/* ===========================
   SEARCH CONTAINER (dropdown under header)
=========================== */

#search-container {
    padding: 10px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    position: absolute;
    top: 100px; /* adjust if header height changes */
    width: 62%;
    z-index: 998;
    margin-right: 0.65%;
}
@media screen and (min-width: 1600px) {
    #search-container {
        width: 63.4%!important;
        margin-right: 0.5%;
    }

.announcement-bar {
        width: 65.35% !important;
        margin-left: -10px !important;
}
}

/* ===========================
   MOBILE MENU (slide-down)
=========================== */

.mobile-menu {
    display: none; /* shown only on small screens */
    text-align: center;
    padding: 10px;
    background: #e0e0e0;
}
.mobile-menu button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
}
.mobile-menu-content {
    display: none;
    padding: 10px;
    background: #f8f9fa;
}
.mobile-menu.active .mobile-menu-content {
    display: block;
}

/* Dark-mode mobile */
.dark-mode .mobile-menu-content a,
.dark-mode .mobile-menu-content button {
    color: #fff;
}
.dark-mode .mobile-menu {
    background: #121212!important;
}
.dark-mode .mobile-menu-content {
    background: black;
}

/* ===========================
   MOBILE “Italian Brainrot” PANEL (off-canvas)
=========================== */

.mobile-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f5f5;
}
.mobile-thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: fill;
}
.mobile-thumb-title {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.45rem;
    line-height: 1.2;
    padding: 2px 4px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
}




/* ===========================
   RESPONSIVE ADJUSTMENTS (header + nav on mobile)
=========================== */

@media screen and (max-width: 1280px) {
    /* Hide desktop nav and sidebars below 768px */
    .category-nav { visibility: hidden; }
    .category-nav a { visibility: hidden; }

    /* Shrink header height */
    header {
        height: 60px !important;
    }
    body.admin-bar header {
        top: 46px !important;
    }

    /* Reposition toggles */
    #search-toggle {
        left: 7%;
        position: fixed;
    }
    #dark-mode-toggle {
        left: 1%;
        position: fixed;
    }
    .site-title img {
        height: 25px;
    }

    /* Mobile menu background tweaks */
    .mobile-menu,
    .mobile-menu-content {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        background-color: #f8f9fa;
    }

    /* Search container on mobile */
    #search-container {
        top: 60px!important;
        width: 100%!important;
        z-index: 1001!important;
    }

    /* Show mobile menu button/area */
    .pc-only { display: none!important; }
    .mobile-only { display: flex!important; }

}

/* ===========================
   DARK-MODE OVERRIDES FOR HEADER AREA
=========================== */
.dark-mode header {
    background-color: #333;
    color: #fff;
}
.dark-mode .header-icons button {
    color: #fff;
}
.dark-mode .category-nav {
    background-color: #333;
    color: #fff;
}
.dark-mode .category-nav a {
    color: #fff;
}
.dark-mode .category-nav a:hover {
    background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
}



/* Dark-mode search container */
.dark-mode #search-container {
    background: #222;
    border-color: #444;
}

/* Hard reset for calendar links */
.skibidi-year-calendar a,
.skibidi-year-calendar td a,
.skibidi-year-calendar th a {
  -webkit-text-fill-color: unset !important;  /* allow normal text to render */
  color: inherit !important;                  /* fallback text color */
  background: none !important;                /* kill text gradient background */
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  position: static !important;
  display: block !important;
}

.skibidi-year-calendar a::after,
.skibidi-year-calendar td a::after,
.skibidi-year-calendar th a::after {
  content: none !important;
  background: none !important;
  box-shadow: none !important;
}
/* ============================
   Dark mode fix for calendar tiles
============================ */
.dark-mode .skibidi-year-calendar .month-tile,
.skibidi-year-calendar .month-tile
{
  background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2));
  -webkit-text-fill-color: #fff !important; /* override transparent */
  color: #fff !important;                  /* visible text */
  -webkit-background-clip: border-box !important; /* stop clipping */
  background-clip: border-box !important;
}

.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}
.dark-mode .mobile-panel {
  background: #333;
}

/* Force slang panel (and any mobile panel) to actually show when opened */
.mobile-panel.open {
  display: block !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
}

/* Default: hide all dropdown panels */
.dropdown-panel {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, visibility .15s ease;
}

/* Shown only when script opens it */
.dropdown-panel.open {
  display: block;
  opacity: 1;
  visibility: visible;
}