
.wp-block-post-date {
color: gray;
}

.wp-block-post-title a {
color: blue;
}



/* 📰 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: 1024px) {
  .wp-block-post-template {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .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: 768px) {
  .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: 768px) {
  .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: 1024px) {
  .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: 768px) {
  .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);
}

/* Force Elfsight TikTok feed widget to a uniform card height */
.video-carousel .elfsight-app- {
  height: 340px !important;         /* Match your carousel card height */
  min-height: 340px !important;
  max-height: 340px !important;
  overflow: hidden !important;
  border-radius: 14px;
}

/* Clamp TikTok post captions to 2 lines, with ellipsis */
.video-carousel .elfsight-app- [class*="title"],
.video-carousel .elfsight-app- [class*="caption"],
.video-carousel .elfsight-app- [class*="description"] {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  max-height: 2.8em !important;
}


.fancy-tier-cards td {
  vertical-align: top;
  padding: 12px;
}
.fancy-tier-cards .meme-card-link {
  display: inline-block;
  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 {
  color: blue;
}

.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 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: 100%;
  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;
  line-height: 1.2;
  margin: 0;
}
.swiper-slide p {
  font-size: 1rem;
  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: 768px) {
  .swiper-slide h2 {
    font-size: 0.9rem;
  }
  .swiper-slide p {
    font-size: 0.6rem;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 30px;
    height: 30px;
  }
}

/* Base header wrapper */
header {
    background-color: #eaeae1;
    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: 1100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0; /* center base */
  height: 4px; /* thickness of the border */
  width: 100%;
background: linear-gradient(to right,
  #30d5c8 0%,
  #7a00b6 25%,
  #7a00b6 75%,
  #30d5c8 100%
);
box-shadow:  0 2px 6px rgba(48, 213, 200, 0.3),   /* glow downward */
    0 0 10px rgba(122, 0, 182, 0.25);    /* soft all-around glow */;
z-index: 1;


  pointer-events: none; /* make sure it doesn't block clicks */
}


/* 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 {
    color: #000099;
}

#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 {
    color: #000099;
}

/* Menu toggle (mobile hamburger) */
#menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    padding: 6px 12px;
    transition: color 0.3s ease-in-out;
    top: 1%;
    right: 5%;
}
#menu-toggle:hover {
    color: #000099;
}

/* 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 {
    color: #000099;
}

/* 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: 40px;
}
.category-nav a {
    text-decoration: none;
    color: black;
    padding: 2px;
    font-size: 0.8rem;
}
.category-nav a:hover {
    color: blue;
}

/* 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: 768px) {
.announcement-bar { 
    margin-top: 0;
}
}


.announcement-bar {
    width: 76.9%;
    margin-right: 12px;
    color: #333;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    padding: 3px 0;
    height: 2rem;
}

.announcement-track {
    display: flex;
    padding: 5px 0;
    align-items: center;
    white-space: nowrap;
    padding-left: 50vw;
    animation: scrollText 48s linear infinite;
}
.announcement-track p {
    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: 75%;
    z-index: 998;
    margin-right: 0.65%;
}
@media screen and (min-width: 1600px) {
    #search-container {
        width: 76.5%;
        margin-right: 0.5%;
    }
}

/* ===========================
   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: black;
}
.dark-mode .mobile-menu-content {
    background: black;
}

/* ===========================
   MOBILE “Italian Brainrot” PANEL (off-canvas)
=========================== */

.mobile-brainrot-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-brainrot-panel {
    background: #333;
}
.mobile-brainrot-panel.open {
    transform: translateX(0);
}

/* Header inside that off-canvas panel */
.mobile-brainrot-header {
    position: relative;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}
#brainrot-back {
    position: absolute;
    top: 1rem; left: 1rem;
    background: none;
    border: none;
    font-size: 0.75rem;
    cursor: pointer;
}
.dark-mode #brainrot-back {
    color: #fff;
}

/* Search field inside panel */
.mobile-brainrot-search input,
#brainrot-mobile-search {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Grid of thumbnails inside panel */
.mobile-brainrot-grid {
    flex: 1;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.2rem;
    padding: 0.25rem;
    margin-bottom: 20%;
}
.mobile-brainrot-item {
    text-decoration: none;
    color: inherit;
}
.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;
}



/* ===========================
   MOBILE “Labubu” PANEL (off-canvas)
=========================== */

.mobile-labubu-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-labubu-panel {
    background: #333;
}
.mobile-labubu-panel.open {
    transform: translateX(0);
}

/* Header inside that off-canvas panel */
.mobile-labubu-header {
    position: relative;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}
#labubu-back {
    position: absolute;
    top: 1rem; left: 1rem;
    background: none;
    border: none;
    font-size: 0.75rem;
    cursor: pointer;
}
.dark-mode #labubu-back {
    color: #fff;
}

/* Search field inside panel */
.mobile-labubu-search input,
#labubu-mobile-search {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Grid of thumbnails inside panel */
.mobile-labubu-grid {
    flex: 1;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.2rem;
    padding: 0.25rem;
    margin-bottom: 20%;
}
.mobile-labubu-item {
    text-decoration: none;
    color: inherit;
}


/* ===========================
   RESPONSIVE ADJUSTMENTS (header + nav on mobile)
=========================== */

@media screen and (max-width: 768px) {
    /* 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;
        width: 100%;
        z-index: 1001;
    }

    /* Show mobile menu button/area */
    .pc-only { display: none; }
    .mobile-only { display: flex; }

    /* Mobile off-canvas “Italian Brainrot” styles already cover */
}

/* ===========================
   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 {
    color: blue;
}



/* Dark-mode search container */
.dark-mode #search-container {
    background: #222;
    border-color: #444;
}