/*
Theme Name: Coolbet Blog
Version: 0.7.4
Description: Minimized category banner spacing - removed min-height, reduced all padding and margins
*/

:root {
    /* Background & Structure */
    --bg: #191919;
    --header-bg: #2c2d35;
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --card: rgba(255, 255, 255, 0.06);
    --card2: rgba(255, 255, 255, 0.08);
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    
    /* Layout */
    --max: 1240px;
    --pad: 16px;
    --header-height: 56px;
    --mobile-nav-height: 72px;
    
    /* Typography */
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-condensed: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    
    /* Coolbet Brand Colors - Primary */
    --coolbet-green: #6FC529;        /* Primary green */
    --coolbet-blue: #17BEFF;         /* Primary blue */
    --coolbet-orange: #FF8E03;       /* Primary orange */
    --coolbet-red: #E11D00;          /* Primary red */
    
    /* Coolbet Brand Colors - Secondary (darker shades) */
    --coolbet-green-dark: #549520;   /* Secondary green */
    --coolbet-blue-dark: #118FBF;    /* Secondary blue */
    --coolbet-orange-dark: #BF6B03;  /* Secondary orange */
    --coolbet-red-dark: #A91600;     /* Secondary red */
    
    /* Coolbet Copy Colors */
    --coolbet-gray-dark: #999999;
    --coolbet-gray: #cccccc;
    --coolbet-gray-light: #ebebeb;
    --coolbet-gray-lighter: #f2f2f2;
    
    /* Functional Colors (using brand colors) */
    --primary: var(--coolbet-green);
    --primary-hover: var(--coolbet-green-dark);
    --accent: var(--coolbet-orange);
    --accent-hover: var(--coolbet-orange-dark);
    --info: var(--coolbet-blue);
    --danger: var(--coolbet-red);
    
    /* Legacy variable mappings (for backward compatibility) */
    --poker-yellow: var(--coolbet-orange);
    --green-register: var(--coolbet-green);
    --green-login: var(--coolbet-green-dark);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    padding-bottom: var(--mobile-nav-height);
}

/* Typography - See TYPOGRAPHY SCALE section at bottom for detailed heading styles */


/* cta (Call to Action) - Roboto Condensed Bold 700, Uppercase, 0.015em */
.cta,
.button,
.btn,
button {
    font-family: var(--font-condensed);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.015em;
}

/* Use Roboto Condensed Bold for navigation and UI elements */
.coolbet-primary-menu a,
.coolbet-mobile-menu a,
.category-badge,
.section-header h2,
.widget-title {
    font-family: var(--font-condensed);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.015em;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== HEADER ===== */
.coolbet-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    box-shadow: var(--shadow);
}

.coolbet-header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.coolbet-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.coolbet-logo img {
    height: 32px;
    width: auto;
}

/* Desktop Navigation */
.coolbet-nav-desktop {
    display: flex;
    align-items: center;
    flex: 1;
}

.coolbet-primary-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.coolbet-primary-menu li {
    margin: 0;
    padding: 0;
}

.coolbet-primary-menu a {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
}

.coolbet-primary-menu a:hover,
.coolbet-primary-menu .current-menu-item > a,
.coolbet-primary-menu .current-menu-ancestor > a,
.coolbet-primary-menu .current_page_item > a {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

/* Header Right Side */
.coolbet-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coolbet-eu-flag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
    font-weight: 600;
}

.coolbet-eu-flag svg {
    width: 20px;
    height: 20px;
}

/* Buttons */
.coolbet-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.coolbet-btn-register {
    background: var(--green-register);
    color: #000;
}

.coolbet-btn-register:hover {
    background: #b5e044;
    transform: translateY(-1px);
}

.coolbet-btn-login {
    background: var(--green-login);
    color: #fff;
}

.coolbet-btn-login:hover {
    background: #8cd054;
    transform: translateY(-1px);
}

/* ===== CLEAN BLOG MENU ===== */

.coolbet-blog-nav {
  background: #1a1b21;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 100;
}

.coolbet-blog-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 56px;
}

.blog-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.blog-menu-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  display: block;
}

.blog-menu-panel {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.coolbet-blog-menu-nav {
  flex: 1;
}

.coolbet-blog-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.coolbet-blog-menu > li {
  position: relative;
}

.coolbet-blog-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: color .2s ease;
}

.coolbet-blog-menu > li:hover > a,
.coolbet-blog-menu > li.current-menu-item > a,
.coolbet-blog-menu > li.current-menu-ancestor > a {
  color: var(--poker-yellow);
}

.coolbet-blog-menu > li.menu-item-has-children > a::after {
  content: "▾";
  font-size: 10px;
  line-height: 1;
  opacity: 0.8;
}

/* Desktop submenu */
.coolbet-blog-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: #2c2d35;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: all .2s ease;
  z-index: 999;
}

.coolbet-blog-menu .sub-menu li {
  margin: 0;
  padding: 0;
}

.coolbet-blog-menu .sub-menu a {
  display: block;
  padding: 10px 14px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.coolbet-blog-menu .sub-menu a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--poker-yellow);
}

@media (min-width: 769px) {
  .coolbet-blog-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* Search */
.blog-search-wrapper {
  flex-shrink: 0;
  width: 240px;
}

.blog-search-form {
  position: relative;
}

.blog-search-input {
  width: 100%;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #fff;
  padding: 0 36px 0 12px;
  font-size: 12px;
  font-family: var(--font-primary);
  transition: all 0.2s;
}

.blog-search-input::placeholder {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}

.blog-search-input:focus {
  outline: none;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}

.blog-search-button {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.blog-search-button:hover {
  color: var(--poker-yellow);
}

.blog-search-button svg {
  width: 16px;
  height: 16px;
}

/* Search Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-height: 480px;
  overflow-y: auto;
  background: #2c2d35;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 10000;
  display: none;
}

.search-dropdown-loading,
.search-dropdown-empty,
.search-dropdown-error {
  padding: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.search-dropdown-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s;
  text-decoration: none;
}

.search-dropdown-item:hover,
.search-dropdown-item.active {
  background: rgba(255, 255, 255, 0.05);
}

.search-dropdown-item:last-of-type {
  border-bottom: none;
}

.search-dropdown-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
}

.search-dropdown-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-dropdown-content {
  flex: 1;
  min-width: 0;
}

.search-dropdown-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--poker-yellow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.search-dropdown-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-dropdown-date {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.search-dropdown-view-all {
  display: block;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--poker-yellow);
  background: rgba(241, 176, 2, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s;
  text-decoration: none;
}

.search-dropdown-view-all:hover {
  background: rgba(241, 176, 2, 0.1);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .coolbet-blog-nav-inner {
    padding: 10px var(--pad);
    flex-wrap: wrap;
  }
  
  .blog-menu-toggle {
    display: inline-flex;
  }
  
  .blog-menu-panel {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
  
  .blog-menu-panel.is-open {
    display: flex;
  }
  
  .coolbet-blog-menu-nav {
    background: #23242c;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
  }
  
  .coolbet-blog-menu {
    display: block;
    gap: 0;
  }
  
  .coolbet-blog-menu > li {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  
  .coolbet-blog-menu > li:last-child {
    border-bottom: none;
  }
  
  .coolbet-blog-menu > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: auto;
    padding: 14px 16px;
    width: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255,255,255,0.1);
  }
  
  .coolbet-blog-menu > li > a:active {
    background: rgba(255,255,255,0.05);
  }
  
  .coolbet-blog-menu > li.menu-item-has-children > a::after {
    transition: transform 0.2s ease;
  }
  
  .coolbet-blog-menu > li.submenu-open > a::after {
    transform: rotate(180deg);
  }
  
  .coolbet-blog-menu .sub-menu {
    position: static;
    min-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(255,255,255,0.02);
    padding: 0;
    
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    
    display: none;
  }
  
  .coolbet-blog-menu li.submenu-open > .sub-menu {
    display: block;
  }
  
  .coolbet-blog-menu .sub-menu a {
    padding: 10px 28px;
    font-size: 12px;
  }
  
  .blog-search-wrapper {
    width: 100%;
  }
  
  .search-dropdown {
    width: 100%;
    max-height: 400px;
    left: 0;
    right: 0;
  }
  
  .search-dropdown-thumb {
    width: 60px;
    height: 45px;
  }
  
  .search-dropdown-title {
    font-size: 13px;
  }
}

/* ===== MOBILE BOTTOM NAVIGATION ===== */
.coolbet-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #3a3b44;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.coolbet-mobile-menu {
    list-style: none;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto;
}

.coolbet-mobile-menu li {
    margin: 0;
    padding: 0;
    flex: 1 0 72px;
}

.coolbet-mobile-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 600;
    transition: color 0.2s;
    padding: 4px;
}

.coolbet-mobile-menu a:active,
.coolbet-mobile-menu .current-menu-item > a,
.coolbet-mobile-menu .current-menu-ancestor > a,
.coolbet-mobile-menu .current_page_item > a {
    color: var(--text);
}

/* Main content */
.site-main {
    min-height: calc(100vh - var(--header-height) - var(--mobile-nav-height));
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 20px var(--pad);
}

/* Content area */
.content-area {
    display: grid;
    gap: 32px;
}

/* Article/Post styles */
article {
    background: var(--card);
    border-radius: 8px;
    padding: 24px;
    transition: background-color 0.2s;
}

article:hover {
    background: var(--card2);
}

.entry-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.entry-title a {
    color: var(--text);
    transition: color 0.2s;
}

.entry-title a:hover {
    color: var(--poker-yellow);
}

.post-thumbnail {
    margin-bottom: 16px;
    border-radius: 6px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

.entry-content {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.read-more {
    display: inline-block;
    color: var(--poker-yellow);
    font-weight: 600;
    font-size: 14px;
    transition: opacity 0.2s;
}

.read-more:hover {
    opacity: 0.8;
}

/* ===== SHARED COMPONENTS ===== */

/* Section Headers */
.section-header {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--line);
}

.section-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Pagination (Universal) */
.pagination,
.news-pagination,
.category-pagination,
.author-pagination {
    margin-top: 48px;
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .page-numbers,
.news-pagination .page-numbers,
.category-pagination .page-numbers,
.author-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-numbers li,
.news-pagination .page-numbers li,
.category-pagination .page-numbers li,
.author-pagination .page-numbers li {
    display: inline-block;
}

.pagination a,
.pagination span,
.news-pagination a,
.news-pagination span,
.category-pagination a,
.category-pagination span,
.author-pagination a,
.author-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.pagination a:hover,
.news-pagination a:hover,
.category-pagination a:hover,
.author-pagination a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
    transform: translateY(-2px);
}

.pagination .current,
.news-pagination .current,
.category-pagination .current,
.author-pagination .current {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    font-weight: 800;
    cursor: default;
}

.pagination .current:hover,
.news-pagination .current:hover,
.category-pagination .current:hover,
.author-pagination .current:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    transform: none;
}

.pagination .dots,
.news-pagination .dots,
.category-pagination .dots,
.author-pagination .dots {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: default;
}

.pagination .dots:hover,
.news-pagination .dots:hover,
.category-pagination .dots:hover,
.author-pagination .dots:hover {
    background: transparent;
    transform: none;
}

/* Prev/Next buttons */
.pagination .prev,
.pagination .next,
.news-pagination .prev,
.news-pagination .next,
.category-pagination .prev,
.category-pagination .next,
.author-pagination .prev,
.author-pagination .next {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    padding: 0 20px;
}

/* Sidebar Widgets (Universal) */
.sidebar-widget,
.homepage-sidebar .widget,
.editors-picks .widget {
    background: #1a1b21;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-widget:last-child,
.homepage-sidebar .widget:last-child,
.editors-picks .widget:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.sidebar-widget .widget-title,
.homepage-sidebar .widget-title,
.editors-picks .widget-title,
.homepage-widget-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--poker-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 16px 0;
}

.sidebar-widget ul,
.homepage-sidebar .widget ul,
.editors-picks .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget li,
.homepage-sidebar .widget li,
.editors-picks .widget li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-widget li:last-child,
.homepage-sidebar .widget li:last-child,
.editors-picks .widget li:last-child {
    border-bottom: none;
}

.sidebar-widget a,
.homepage-sidebar .widget a,
.editors-picks .widget a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.2s;
}

.sidebar-widget a:hover,
.homepage-sidebar .widget a:hover,
.editors-picks .widget a:hover {
    color: var(--poker-yellow);
}

.sidebar-placeholder {
    padding: 40px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.sidebar-placeholder p {
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.6;
    margin: 0;
}

.sidebar-placeholder strong {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

/* Popular Posts Widget */
.popular-posts-widget {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-post-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    transition: background-color 0.2s;
}

.popular-post-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.popular-post-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
}

.popular-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.popular-post-item:hover .popular-post-thumb img {
    transform: scale(1.1);
}

.popular-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.popular-post-title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.popular-post-title a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.popular-post-title a:hover {
    color: var(--poker-yellow);
}

.popular-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.popular-post-comments {
    display: flex;
    align-items: center;
    gap: 4px;
}

.popular-post-comments svg {
    color: var(--primary);
}

/* Categories Widget */
.categories-widget {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
}

.category-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.category-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(111, 197, 41, 0.1);
    border-radius: 6px;
    color: var(--primary);
}

.category-name {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.category-item:hover .category-name {
    color: var(--poker-yellow);
}

.category-count {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 12px;
    min-width: 32px;
    text-align: center;
}

/* Sticky Sidebars */
.category-sidebar,
.post-sidebar,
.editors-picks {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    z-index: 10;
}

/* Homepage sidebars: stick the column, not individual sidebars */
.homepage-sidebars-column {
    position: sticky;
    top: 80px;
    align-self: start;
}

/* Post sidebar alignment - align with post title */
.post-sidebar {
    margin-top: -64px;
}

/* Reset post sidebar margin on smaller screens */
@media (max-width: 1024px) {
    .post-sidebar {
        margin-top: 0;
        position: relative;
    }
}

/* ===== END SHARED COMPONENTS ===== */

/* Footer */
.site-footer {
    background: var(--header-bg);
    border-top: 1px solid var(--line);
    padding: 40px 0;
    margin-top: 80px;
}

.footer-content {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
    text-align: center;
}

.footer-navigation {
    margin-bottom: 24px;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.footer-menu a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-menu a:hover {
    color: var(--text);
}

.footer-info {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .coolbet-nav-desktop {
        min-width: 0;
    }
    
    .coolbet-primary-menu {
        gap: 4px;
    }

    .coolbet-primary-menu a {
        padding: 8px 12px;
        font-size: 10px;
    }
    
    .coolbet-btn {
        padding: 8px 16px;
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: var(--mobile-nav-height);
    }
    
    .coolbet-header-inner {
        padding: 0 12px;
    }
    
    .coolbet-logo img {
        height: 28px;
    }
    
    /* Hide desktop nav on mobile */
    .coolbet-nav-desktop {
        display: none;
    }
    
    /* Show mobile bottom nav */
    .coolbet-mobile-nav {
        display: block;
    }
    
    .coolbet-eu-flag span {
        display: none;
    }
    
    .coolbet-btn {
        padding: 8px 16px;
        font-size: 10px;
    }
    
    .site-main {
        min-height: calc(100vh - var(--header-height) - var(--mobile-nav-height) - 80px);
    }
}


/* Content area */
.content-area {
    display: grid;
    gap: 32px;
}

/* ===== HOMEPAGE FEATURED GRID ===== */
.homepage {
    max-width: var(--max);
    margin: 0 auto;
    padding: 24px var(--pad);
}

/* ===== FEATURED GRID ===== */
.featured-grid {
    border-radius: 12px;
    overflow: hidden;
}

.featured-grid-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

/* ── Hero card (left) ── */
.featured-hero-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #1a1b22;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.featured-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.45);
}

.featured-hero-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    flex-shrink: 0;
}

.featured-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.featured-hero-card:hover .featured-hero-img img {
    transform: scale(1.05);
}

.featured-hero-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.featured-hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.featured-hero-date {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.featured-hero-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin: 0;
    text-transform: none;
    transition: color 0.2s;
}

.featured-hero-card:hover .featured-hero-title {
    color: var(--poker-yellow);
}

.featured-hero-excerpt {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Side column (right, 3 stacked cards) ── */
.featured-side-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* First side card is slightly larger / more prominent */
.featured-side-card {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    background: #1a1b22;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, background 0.2s;
}

.featured-side-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
    background: #22232e;
}

.featured-side-card:first-child {
    flex: 1.2;
}

/* Thumbnail */
.featured-side-img {
    width: 42%;
    flex-shrink: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.featured-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.featured-side-card:hover .featured-side-img img {
    transform: scale(1.06);
}

/* Text */
.featured-side-body {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
}

.featured-side-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.featured-side-date {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.featured-side-title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    margin: 0;
    text-transform: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.featured-side-card:first-child .featured-side-title {
    font-size: 1.05rem;
}

.featured-side-card:hover .featured-side-title {
    color: var(--poker-yellow);
}

.featured-side-excerpt {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Shared category badge */
.featured-card-cat {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #fff;
    background: var(--poker-yellow);
    padding: 2px 7px;
    border-radius: 3px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ===== EDITOR'S PICKS SIDEBAR ===== */
.editors-picks {
    background: #14151b;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    height: auto;
    overflow: visible;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* Widget Styling */
.homepage-widget {
    background: transparent;
}

.homepage-widget-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--poker-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.editors-picks-header {
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.editors-picks-header h3 {
    font-size: 12px;
    font-weight: 800;
    color: var(--poker-yellow);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0;
}

.editors-picks-list {
    padding: 12px 0;
}

.pick-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pick-link {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    transition: background-color 0.2s;
}

.pick-link:hover {
    background: rgba(255, 255, 255, 0.02);
}

.pick-thumbnail {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.pick-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pick-number {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    background: var(--poker-yellow);
    color: #000;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.pick-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pick-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pick-date {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Default WordPress Widgets in Homepage Sidebar */
.editors-picks .widget {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.editors-picks .widget:last-child {
    border-bottom: none;
}

.editors-picks .widget-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--poker-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 16px 0;
}

.editors-picks .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.editors-picks .widget li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.editors-picks .widget li:last-child {
    border-bottom: none;
}

.editors-picks .widget a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.2s;
}

.editors-picks .widget a:hover {
    color: var(--poker-yellow);
}

/* ===== LATEST NEWS SECTION WITH SIDEBARS ===== */
.latest-news-section {
    padding: 56px 0 64px;
    background: #13141a;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 16px;
}

.latest-news-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.latest-news-main {
    min-width: 0;
}

/* Section header */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(255,255,255,0.08);
}

.section-header h2 {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.1em;
    background: var(--poker-yellow);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-header-sub {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    font-style: italic;
}

/* News grid — consistent 2-col grid for all posts */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: #1f2029;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, background 0.2s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
    background: #252630;
}

/* First 2 cards span full column width — already in 2-col grid so they're naturally large */
.news-card {
    display: flex;
    flex-direction: column;
    background: #1f2029;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, background 0.2s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
    background: #252630;
}

/* Posts 3+ are smaller — use a sub-grid row */
.news-card--small {
    flex-direction: row;
    align-items: stretch;
}

.news-card--small .news-card-img {
    width: 120px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.news-card--small .news-card-body {
    padding: 12px 14px;
    justify-content: center;
}

.news-card--small .news-card-title a {
    font-size: 0.9rem;
}

.news-card--small .news-card-excerpt {
    display: none;
}

.news-card-img {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.news-card-date {
    font-size: 11px;
    color: rgba(255,255,255,0.38);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.news-card-cat {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #fff;
    background: var(--poker-yellow);
    padding: 2px 7px;
    border-radius: 3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.news-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-transform: none;
}

.news-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.news-card:hover .news-card-title a {
    color: var(--poker-yellow);
}

.news-card-excerpt {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Small cards row — posts 3+ sit in a 1-col strip */
.news-grid-small {
    display: flex;
    flex-direction: column;
    gap: 12px;
    grid-column: 1 / -1;
}

.news-card--small {
    flex-direction: row;
    align-items: stretch;
    background: #1f2029;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    border-bottom: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card--small:last-child {
    border-bottom: none;
}

.news-card--small:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    background: #252630;
}

.news-card--small .news-card-img {
    width: 160px;
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
    border-radius: 0;
}

.news-card--small .news-card-img img {
    transition: transform 0.4s ease;
}

.news-card--small:hover .news-card-img img {
    transform: scale(1.06);
}

.news-card--small .news-card-body {
    padding: 16px 20px;
    justify-content: center;
    gap: 7px;
}

.news-card--small .news-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
}

.news-card--small .news-card-title a {
    color: #fff;
    transition: color 0.2s;
}

.news-card--small:hover .news-card-title a {
    color: var(--poker-yellow);
}

.news-card--small .news-card-date {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
}

.news-card--small .news-card-excerpt {
    display: none;
}

/* Sidebars Column (Right) */
.homepage-sidebars-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Marketing / section HR */
hr.marketing {
    border: none;
    border-top: 1px solid var(--coolbet-base-500, rgba(255,255,255,0.1));
    margin: 3rem auto;
    max-width: var(--max);
}

/* Homepage Banner Widget Area */
@media (max-width: 1200px) {
    .latest-news-layout {
        grid-template-columns: 1fr 400px;
    }
    
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .homepage-sidebar-2 {
        display: none;
    }
}

@media (max-width: 1024px) {
    .homepage {
        padding: 16px var(--pad);
    }

    .featured-grid-inner {
        grid-template-columns: 1fr 1fr;
    }

    .featured-side-img {
        width: 38%;
    }

    .latest-news-layout {
        grid-template-columns: 1fr;
    }

    .homepage-sidebars-column {
        flex-direction: row;
        gap: 24px;
        position: static;
        align-self: auto;
    }

    .homepage-sidebar {
        flex: 1;
        position: static;
        max-height: none;
    }

    .homepage-sidebar-1,
    .homepage-sidebar-2 {
        display: block;
    }

    .editors-picks {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        height: auto;
    }

    .editors-picks-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .homepage {
        padding: 12px 16px;
    }

    /* Stack hero above side cards */
    .featured-grid-inner {
        grid-template-columns: 1fr;
    }

    .featured-side-col {
        gap: 8px;
    }

    .featured-side-img {
        width: 35%;
        min-height: 80px;
    }

    .featured-side-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .featured-side-excerpt {
        display: none;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .homepage-sidebars-column {
        flex-direction: column;
    }

    .homepage-sidebar {
        margin-bottom: 24px;
    }
}
.homepage-banner {
    padding: 32px 0;
    background: var(--bg);
}

.homepage-banner-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.banner-widget {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
}

.banner-widget-title {
    display: none;
}

/* Banner Content Styling */
.homepage-banner a {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.homepage-banner a:hover {
    transform: translateY(-2px);
}

.homepage-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Custom Banner Card Style */
.banner-card {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d5f3f 100%);
    border-radius: 12px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

.banner-content {
    flex: 1;
    z-index: 1;
}

.banner-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.banner-cta {
    display: inline-block;
    padding: 14px 32px;
    background: var(--text);
    color: #000;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: all 0.2s;
}

.banner-cta:hover {
    background: var(--poker-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 176, 2, 0.3);
}

.banner-image {
    flex-shrink: 0;
    max-width: 300px;
}

.banner-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive Banner */
@media (max-width: 768px) {
    .homepage-banner {
        padding: 24px 0;
    }
    
    .homepage-banner-inner {
        padding: 0 16px;
    }
    
    .homepage-banner img {
        border-radius: 8px;
        min-height: 200px;
        object-fit: cover;
    }
    
    .banner-card {
        flex-direction: column;
        padding: 32px 24px;
        text-align: center;
        min-height: 250px;
    }
    
    .banner-title {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .banner-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .banner-button {
        padding: 12px 32px;
        font-size: 13px;
    }
    
    .banner-image {
        max-width: 100%;
        margin-top: 20px;
    }
}

/* Tablet Banner Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .homepage-banner img {
        min-height: 180px;
        object-fit: cover;
    }
    
    .banner-card {
        padding: 40px 32px;
    }
}

/* ===== CATEGORY BLOCKS ===== */
.category-block {
    padding: 48px 0;
    background: var(--bg);
}

.category-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--line);
}

.category-block-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.view-all-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--poker-yellow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}

.view-all-link:hover {
    opacity: 0.8;
}

.category-block-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-post-card {
    background: var(--card);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, background-color 0.2s;
}

.category-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    background: var(--card2);
}

.post-card-thumbnail {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-post-card:hover .post-card-thumbnail img {
    transform: scale(1.06);
}

.post-card-content {
    padding: 16px 18px 20px;
}

.post-card-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-card-category {
    color: var(--poker-yellow);
    font-weight: 700;
}

.post-card-meta time {
    color: rgba(255, 255, 255, 0.38);
}

.post-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0;
    text-transform: none;
}

.post-card-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.post-card-title a:hover {
    color: var(--poker-yellow);
}

.post-card-excerpt {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Responsive category blocks */
@media (max-width: 1024px) {
    .category-block-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .category-block-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-block-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .category-block-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== CATEGORY PAGE ===== */
.category-page {
    background: var(--bg);
}

/* Category Banner */
.category-banner {
    position: relative;
    background: transparent;
    overflow: hidden;
}

.category-banner-inner {
    position: relative;
    width: 100%;
}

.category-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.category-banner-overlay {
    display: none; /* Hide overlay when no banner image */
}

.category-banner-content {
    position: relative;
    z-index: 2;
    padding: 20px 0 16px 0;
}

/* Custom HTML Banner */
.category-banner-custom {
    padding: 32px 0;
    background: var(--bg);
}

.category-banner-custom .banner-card {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d5f3f 100%);
    border-radius: 12px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.category-banner-custom img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.category-banner-custom a {
    display: block;
    transition: transform 0.2s;
}

.category-banner-custom a:hover {
    transform: translateY(-2px);
}

/* Promotional Banner */
.category-banner-promo {
    padding: 32px 0;
    background: var(--bg);
}

.promo-banner-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    transition: transform 0.2s;
}

.category-banner-promo a {
    display: block;
}

.category-banner-promo a:hover .promo-banner-image {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--poker-yellow);
}

.breadcrumb .separator {
    margin: 0 8px;
}

.category-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.category-description {
    margin: 6px 0 0;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    font-weight: 400;
}

/* Category Content */
.category-content {
    padding: 8px 0 16px 0;
}

.category-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.category-main {
    min-width: 0;
}

/* Category Submenu */
.category-submenu {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--card2) transparent;
}

.category-submenu::-webkit-scrollbar {
    height: 6px;
}

.category-submenu::-webkit-scrollbar-track {
    background: transparent;
}

.category-submenu::-webkit-scrollbar-thumb {
    background: var(--card2);
    border-radius: 3px;
}

.category-submenu::-webkit-scrollbar-thumb:hover {
    background: var(--line);
}

.category-submenu-item {
    padding: 10px 20px;
    background: var(--card);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-submenu-item:hover {
    background: var(--card2);
    color: var(--poker-yellow);
}

.category-submenu-item.active {
    background: var(--poker-yellow);
    color: #000;
}

.category-submenu-item .post-count {
    font-size: 11px;
    opacity: 0.7;
}

/* Category Posts */
.category-posts {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Featured card (post #1) ── */
.category-post-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--card);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}

.category-post-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.category-post-featured-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.category-post-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-post-featured:hover .category-post-featured-thumb img {
    transform: scale(1.05);
}

.category-post-featured-body {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.category-post-featured-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    text-transform: none;
    color: var(--text);
}

.category-post-featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.category-post-featured-title a:hover {
    color: var(--poker-yellow);
}

.category-post-featured-excerpt {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

.category-post-read-more {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--poker-yellow);
    text-decoration: none;
    transition: opacity 0.2s;
    margin-top: 4px;
}

.category-post-read-more:hover {
    opacity: 0.75;
}

/* ── Pair wrapper (posts #2 & #3) ── */
.category-posts-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ── Card (posts #2 & #3) ── */
.category-post-card {
    background: var(--card);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
}

.category-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}

.category-post-card-thumb {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.category-post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-post-card:hover .category-post-card-thumb img {
    transform: scale(1.05);
}

.category-post-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.category-post-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    text-transform: none;
    color: var(--text);
}

.category-post-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.category-post-card-title a:hover {
    color: var(--poker-yellow);
}

.category-post-card-excerpt {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* ── Row cards (posts #4+) ── */
.category-post-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    background: var(--card);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}

.category-post-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.category-post-row-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.category-post-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-post-row:hover .category-post-row-thumb img {
    transform: scale(1.05);
}

.category-post-row-body {
    padding: 16px 20px 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.category-post-row-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    text-transform: none;
    color: var(--text);
}

.category-post-row-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.category-post-row-title a:hover {
    color: var(--poker-yellow);
}

.category-post-row-excerpt {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* ── Shared meta bar ── */
.category-post-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.category-label {
    color: var(--poker-yellow);
}

.post-author,
.post-date,
.post-read-time {
    color: rgba(255, 255, 255, 0.45);
}

.category-post-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.category-post-title a {
    color: var(--text);
    transition: color 0.2s;
}

.category-post-title a:hover {
    color: var(--poker-yellow);
}

.category-post-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Category Promo Banner (appears after 3rd post) */
.category-promo-banner {
    width: 100%;
    margin: 8px 0;
}

.category-promo-banner .promo-banner-widget {
    background: linear-gradient(135deg, rgba(111, 197, 41, 0.15) 0%, rgba(23, 190, 255, 0.15) 100%);
    border: 1px solid rgba(111, 197, 41, 0.3);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-promo-banner .promo-banner-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(111, 197, 41, 0.2);
}

.category-promo-banner .promo-banner-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin: 0 0 16px 0;
}

.category-promo-banner h2,
.category-promo-banner h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--text);
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.category-promo-banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.category-promo-banner a {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: #000;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.category-promo-banner a:hover {
    background: #549520;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(111, 197, 41, 0.4);
}

/* Promo Banner Widget Content Styles */
.promo-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.promo-banner-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    opacity: 0.9;
}

.promo-banner-label svg {
    color: var(--primary);
}

.promo-banner-heading {
    font-size: 32px;
    font-weight: 900;
    color: var(--text);
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-banner-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
}

.promo-banner-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.promo-banner-button {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: #000;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.promo-banner-button:hover {
    background: #549520;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(111, 197, 41, 0.4);
}

.promo-banner-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    padding: 6px 12px;
    background: rgba(111, 197, 41, 0.1);
    border: 1px solid rgba(111, 197, 41, 0.3);
    border-radius: 6px;
}

.promo-banner-verified svg {
    color: var(--primary);
}

/* Promo Banner Mobile Styles */
@media (max-width: 768px) {
    .category-promo-banner .promo-banner-widget {
        padding: 24px 20px;
    }
    
    .promo-banner-heading {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .promo-banner-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .promo-banner-button {
        padding: 12px 28px;
        font-size: 13px;
    }
    
    .promo-banner-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .promo-banner-button {
        width: 100%;
        text-align: center;
    }
    
    .promo-banner-verified {
        justify-content: center;
    }
}

/* Category-specific overrides */
.no-posts {
    padding: 60px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .category-layout {
        grid-template-columns: 1fr;
    }
    
    .category-sidebar {
        position: static;
        max-height: none;
    }
    
    .category-post-item {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 768px) {
    .category-banner-content {
        padding: 4px 0 2px 0;
    }
    
    .category-title {
        font-size: 16px;
        line-height: 1.2;
    }
    
    .breadcrumb {
        font-size: 9px;
        margin-bottom: 2px;
    }
    
    .category-content {
        padding: 4px 0 12px 0;
    }
    
    .category-post-item {
        grid-template-columns: 1fr;
    }
    
    .category-post-content {
        padding: 20px;
    }

    .category-post-featured {
        grid-template-columns: 1fr;
    }

    .category-posts-pair {
        grid-template-columns: 1fr;
    }

    .category-post-row {
        grid-template-columns: 1fr;
    }

    .category-post-row-body {
        padding: 16px 20px 20px;
    }
    
    .category-submenu {
        gap: 12px;
        margin-bottom: 16px;
        padding-bottom: 12px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }
    
    .category-submenu-item {
        scroll-snap-align: start;
    }
}


/* ===== SINGLE POST PAGE ===== */
.single-post-page {
    background: var(--bg);
}

/* Post Banner (Optional) */
.post-banner {
    padding: 32px 0;
    background: var(--bg);
}

.post-banner-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    transition: transform 0.2s;
}

.post-banner a {
    display: block;
}

.post-banner a:hover .post-banner-image {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Single Post Content */
.single-post-content {
    padding: 48px 0;
    background: var(--bg);
}

.single-post-layout {
    display: grid;
    grid-template-columns: 60px minmax(0, 800px) 350px;
    gap: 32px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
}

/* Sticky Share Sidebar (Left) */
.post-share-sidebar {
    position: relative;
    width: 60px;
}

.share-buttons-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.share-label {
    font-size: 9px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-bottom: 8px;
}

.share-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card);
    border: none;
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-btn:hover {
    background: var(--card2);
    transform: translateY(-2px);
}

.share-facebook:hover {
    background: #1877f2;
    color: #fff;
}

.share-twitter:hover {
    background: #1da1f2;
    color: #fff;
}

.share-copy:hover {
    background: var(--poker-yellow);
    color: #000;
}

.share-email:hover {
    background: #ea4335;
    color: #fff;
}

/* Main Article */
.post-article {
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

/* Post Breadcrumb */
.post-breadcrumb {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.post-breadcrumb a:hover {
    color: var(--poker-yellow);
}

.post-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Category Badge */
.post-category-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--poker-yellow);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    margin-bottom: 16px;
}

/* Post Title */
.post-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    margin: 0 0 24px 0;
}

/* Post Meta */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
}

.post-author-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.post-author-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-label {
    font-size: 8px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.author-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.author-name:hover {
    color: var(--poker-yellow);
}

.author-role {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.post-meta-info {
    display: flex;
    gap: 24px;
    flex: 1;
}

.post-date,
.post-reading-time {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.post-date strong,
.post-reading-time strong {
    display: block;
    font-size: 8px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
}

/* Social Share Buttons (Inline) */
.post-social-inline {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.social-btn {
    padding: 8px 16px;
    background: var(--card);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
    transition: all 0.2s;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--card2);
    transform: translateY(-2px);
}

.social-facebook:hover {
    background: #1877f2;
    color: #fff;
}

.social-twitter:hover {
    background: #1da1f2;
    color: #fff;
}

/* Featured Image */
.post-featured-image {
    margin-bottom: 32px;
    border-radius: 8px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin: 0;
}

/* Post Content */
.post-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
}

.post-content p {
    margin-bottom: 24px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text);
}

.post-content h2 {
    font-size: 32px;
}

.post-content h3 {
    font-size: 26px;
}

.post-content h4 {
    font-size: 22px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 24px;
    padding-left: 28px;
}

/* Blockquote / Quote styling */
.post-content blockquote {
    padding: 0.75rem 1.5rem;
    font-size: 0.95em;
    font-weight: 400;
    color: hsla(33, 20%, 95%, 0.75);
    background: hsla(33, 60%, 15%, 0.35);
    border: solid 0.125rem hsla(33, 60%, 45%, 0.5);
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    font-style: italic;
}

.post-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Styled ordered list (how-to steps) */
.post-content ol.how-to-steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.post-content ol.how-to-steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 1.5rem;
}

.post-content ol.how-to-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    color: #000;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-content ol.how-to-steps li strong {
    display: block;
    font-size: 1.1em;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.post-content li {
    margin-bottom: 12px;
}

.post-content a {
    color: var(--poker-yellow);
    text-decoration: underline;
}

.post-content a:hover {
    opacity: 0.8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
}

.post-content blockquote {
    border-left: 4px solid var(--poker-yellow);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--text-muted);
    font-size: 18px;
}

.post-content code {
    background: var(--card);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 15px;
}

.post-content pre {
    background: var(--card);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 32px 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

/* Post Tags */
.post-tags {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.post-tags a {
    padding: 8px 16px;
    background: var(--card);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s;
    text-decoration: none;
}

.post-tags a:hover {
    background: var(--card2);
    color: var(--poker-yellow);
}

/* Post Navigation (Previous/Next) */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.post-navigation a {
    background: var(--card);
    padding: 24px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s;
    text-decoration: none;
}

.post-navigation a:hover {
    background: var(--card2);
    transform: translateY(-2px);
}

.post-navigation .nav-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.post-navigation .nav-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.post-navigation .nav-next {
    text-align: right;
}

/* Post Sidebar (Right) - specific overrides */
.post-sidebar {
    position: relative;
    width: 350px;
}

/* Responsive Single Post */
@media (max-width: 1200px) {
    .single-post-layout {
        grid-template-columns: 60px 1fr 300px;
        gap: 24px;
    }
    
    .post-title {
        font-size: 36px;
    }
}

@media (max-width: 1024px) {
    .single-post-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .post-share-sidebar {
        order: 3;
    }
    
    .post-article {
        order: 1;
    }
    
    .post-sidebar {
        order: 2;
    }
    
    .share-buttons-sticky {
        position: static;
        flex-direction: row;
        justify-content: center;
        padding: 24px 0;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }
    
    .share-label {
        writing-mode: horizontal-tb;
        margin-bottom: 0;
        margin-right: 16px;
    }
    
    .post-sidebar .sidebar-widget {
        position: static;
    }
}

@media (max-width: 768px) {
    .post-title {
        font-size: 28px;
    }
    
    .post-content {
        font-size: 16px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 16px;
    }
    
    .post-social-inline {
        margin-left: 0;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .post-navigation .nav-next {
        text-align: left;
    }
    
    .share-buttons-sticky {
        flex-wrap: wrap;
    }
    
    .share-btn {
        width: 44px;
        height: 44px;
    }
}


/* ===== SEARCH PAGE ===== */
.search-page {
    background: var(--bg);
    padding: 48px 0;
}

.search-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--line);
}

.search-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 12px 0;
}

.search-query {
    color: var(--poker-yellow);
}

.search-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Search Layout */
.search-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.search-results {
    min-width: 0;
}

/* Search Result Item */
.search-result-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 24px;
    background: var(--card);
    border-radius: 8px;
    margin-bottom: 24px;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background: var(--card2);
}

.search-result-thumbnail {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 6px;
}

.search-result-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.search-result-item:hover .search-result-thumbnail img {
    transform: scale(1.05);
}

.search-result-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-result-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 11px;
    text-transform: uppercase;
}

.search-result-category {
    color: var(--poker-yellow);
    font-weight: 700;
}

.search-result-date {
    color: rgba(255, 255, 255, 0.5);
}

.search-result-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
}

.search-result-title a {
    color: var(--text);
    transition: color 0.2s;
}

.search-result-title a:hover {
    color: var(--poker-yellow);
}

.search-result-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.search-result-link {
    color: var(--poker-yellow);
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.search-result-link:hover {
    opacity: 0.8;
}

/* Search Sidebar */
.search-sidebar {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.search-refine-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-refine-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font-primary);
}

.search-refine-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--poker-yellow);
}

.search-refine-button {
    padding: 12px 24px;
    background: var(--poker-yellow);
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-refine-button:hover {
    background: #d99d02;
    transform: translateY(-1px);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list a:hover {
    color: var(--poker-yellow);
}

.category-list .count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* No Results */
.no-results {
    padding: 80px 0;
}

.no-results-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.no-results-content svg {
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 24px;
}

.no-results-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px 0;
}

.no-results-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0 0 32px 0;
}

.no-results-search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
}

.no-results-search-input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: var(--text);
    font-size: 15px;
    font-family: var(--font-primary);
}

.no-results-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--poker-yellow);
}

.no-results-search-button {
    padding: 14px 32px;
    background: var(--poker-yellow);
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
}

.no-results-search-button:hover {
    background: #d99d02;
    transform: translateY(-1px);
}

.no-results-categories {
    margin-top: 48px;
}

.no-results-categories h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 24px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.category-card {
    padding: 20px;
    background: var(--card);
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s;
    text-decoration: none;
}

.category-card:hover {
    background: var(--card2);
    transform: translateY(-2px);
}

.category-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.category-count {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Search Page */
@media (max-width: 1024px) {
    .search-layout {
        grid-template-columns: 1fr;
    }
    
    .search-sidebar {
        position: static;
        max-height: none;
    }
    
    .search-result-item {
        grid-template-columns: 220px 1fr;
    }
}

@media (max-width: 768px) {
    .search-title {
        font-size: 28px;
    }
    
    .search-result-item {
        grid-template-columns: 1fr;
    }
    
    .search-result-title {
        font-size: 20px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .no-results-search-form {
        flex-direction: column;
    }
}


/* ===== AUTHOR PAGE ===== */
.author-page {
    background: var(--bg);
}

/* Author Header */
.author-header {
    background: linear-gradient(135deg, rgba(111, 197, 41, 0.08) 0%, rgba(23, 190, 255, 0.08) 100%);
    border-bottom: 1px solid var(--line);
    padding: 64px 0;
}

.author-header-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 5px solid var(--primary);
    box-shadow: 0 8px 24px rgba(111, 197, 41, 0.3);
}

.author-info {
    flex: 1;
}

.author-name-page {
    font-size: 42px;
    font-weight: 900;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.author-bio {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 24px 0;
    max-width: 600px;
}

.author-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.author-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Author Posts Section */
.author-posts-section {
    padding: 64px 0;
}

.author-section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 40px 0;
    text-align: center;
}

/* Author Posts Grid */
.author-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.author-article-card {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.author-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.article-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.author-article-card:hover .article-card-image img {
    transform: scale(1.08);
}

.article-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.author-article-card:hover .article-card-overlay {
    opacity: 1;
}

.article-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.article-card-category {
    padding: 4px 10px;
    background: var(--primary);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.article-card-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.article-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
}

.article-card-title a {
    color: var(--text);
    transition: color 0.2s;
}

.article-card-title a:hover {
    color: var(--primary);
}

.article-card-excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* View More Section */
.author-view-more {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid var(--line);
}

.view-more-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.no-articles {
    text-align: center;
    padding: 80px 0;
}

.no-articles p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Author Page */
@media (max-width: 1024px) {
    .author-posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .author-header {
        padding: 40px 0;
    }
    
    .author-header-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .author-avatar img {
        width: 120px;
        height: 120px;
        border-width: 4px;
    }
    
    .author-name {
        font-size: 32px;
    }
    
    .author-bio {
        max-width: 100%;
        font-size: 15px;
    }
    
    .author-stats {
        justify-content: center;
        gap: 24px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .author-posts-section {
        padding: 40px 0;
    }
    
    .author-section-title {
        font-size: 22px;
        margin-bottom: 32px;
    }
    
    .article-card-content {
        padding: 20px;
    }
    
    .article-card-title {
        font-size: 18px;
    }
}


/* === POST CONTENT TABLES === */
.post-content .table-wrapper,
.entry-content .table-wrapper {
    min-width: 100%;
    margin: 0.75rem 0;
    padding: 0.125rem;
    height: auto;
    max-height: 90vh;
    overflow: auto;
    border-radius: 0.5em;
    background: rgb(44 44 48);
    box-shadow: 0 0 0.5rem 0.025rem rgb(0 0 0 / 0.20);
}

.post-content table,
.entry-content table {
    position: relative;
    width: 100%;
    margin: 0.75rem 0;
    border-collapse: collapse;
    border: solid 0.125rem transparent;
    background: rgb(44 44 48);
    border-radius: 0.5em;
    overflow: hidden;
}

.post-content table tr th,
.post-content table tr td,
.entry-content table tr th,
.entry-content table tr td {
    width: 30vw;
    min-width: 125px;
    padding: 0.75rem;
    text-align: left;
    border: solid 0.125rem transparent;
}

.post-content table tr th,
.entry-content table tr th {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.025rem;
    color: #ddd;
    background: rgb(34 34 38);
    text-shadow: #000 0 0 0.125rem;
}

.post-content table tr td,
.entry-content table tr td {
    background: hsl(240, 5%, 16%);
    color: #ddd;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5rem;
    margin: 0;
}

.post-content table tr:nth-child(odd) td,
.entry-content table tr:nth-child(odd) td {
    background: hsl(240, 5%, 17%);
}

.post-content table tr:hover td,
.entry-content table tr:hover td {
    color: #fff;
    background: hsl(240, 7%, 18%);
}

.post-content table tr:first-child,
.entry-content table tr:first-child {
    position: -webkit-sticky;
    position: sticky;
    top: -0.125rem;
}

@media (max-width: 768px) {
    .post-content table tr th,
    .post-content table tr td,
    .entry-content table tr th,
    .entry-content table tr td {
        min-width: 100px;
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}






/* === WIDGET TEMPLATE STYLES === */
/* Related Articles Widget */
.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-article-item {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.related-article-item:hover {
    opacity: 0.8;
}

.related-article-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.related-article-title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

/* Social Follow Widget */
.social-follow-widget {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.2s;
}

.social-link:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(4px);
}

.social-icon {
    font-size: 20px;
}


/* === TYPOGRAPHY SCALE === */
/* Base typography following design system */
h1, h2, h3, h4, h5, h6, p, em, .date, .cta {
    font-family: 'Roboto', sans-serif;
}

/* H1 - Roboto 900, 2.25em, Uppercase, 0.025em */
h1,
.post-content h1,
.entry-content h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 2.25em;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    color: #17BEFF;
}

/* H2 - Large section heading, uppercase accent color */
h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 1.75em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.25;
    margin-top: 2em;
    margin-bottom: 0.75em;
    color: #17BEFF;
}

/* H3 - Sub-section heading, sentence case, dark color */
h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.25em;
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1.35;
    margin-top: 1.75em;
    margin-bottom: 0.6em;
    color: #1a1a1a;
}

/* H4 - Minor heading, sentence case, muted */
h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.05em;
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1.4;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #333;
}

/* H5 */
h5 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 0.95em;
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1.4;
    margin-top: 1.25em;
    margin-bottom: 0.5em;
    color: #444;
}

/* H6 */
h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 0.875em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
    margin-top: 1.25em;
    margin-bottom: 0.5em;
    color: #666;
}

/* P - Roboto 400, 16px, Normal case, 0.025em */
p,
.post-content p,
.entry-content p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-transform: none;
    letter-spacing: 0.025em;
    line-height: 1.6;
    margin-bottom: 1em;
    color: #ddd;
}

/* EM - Roboto Condensed 700, inherit size, Italic */
em,
.post-content em,
.entry-content em {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: inherit;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0.025em;
}

/* Date - Roboto 700, 12px, Uppercase, 0.5px */
.date,
.post-date,
time,
.post-card-meta time,
.news-meta time {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
}

/* Post content dates can be slightly larger */
.post-content .date,
.entry-content .date {
    font-size: 13px !important;
}

/* CTA - Roboto Condensed 700, 14px, Uppercase, 0.015em */
.cta,
.btn,
.button,
.post-content .cta,
.entry-content .cta {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.015em;
}

/* First heading in content has no top margin */
.post-content h1:first-child,
.post-content h2:first-child,
.post-content h3:first-child,
.post-content h4:first-child,
.post-content h5:first-child,
.post-content h6:first-child,
.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child {
    margin-top: 0;
}

/* Mobile typography adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 1.625em;
    }
    
    h2 {
        font-size: 1.375em;
    }
    
    h3 {
        font-size: 1.125em;
    }
    
    h4 {
        font-size: 1em;
    }

    h5 {
        font-size: 0.9em;
    }

    h6 {
        font-size: 0.8125em;
    }
    
    p,
    .post-content p,
    .entry-content p {
        font-size: 15px;
    }
    
    em,
    .post-content em,
    .entry-content em {
        font-size: inherit;
    }
    
    .cta,
    .btn,
    .button {
        font-size: 13px;
    }
    
    .date,
    .post-date,
    time {
        font-size: 11px !important;
    }
}


/* === ADVANCED ADS PLUGIN STYLES === */
/* Ensure ads display properly in theme */
.advads-container,
.advanced-ads-ad-widget {
    margin: 0;
    padding: 0;
}

/* Ad containers in content */
.post-content .advads-container,
.entry-content .advads-container {
    margin: 24px 0;
    text-align: center;
}

/* Ad containers in sidebars */
.sidebar-widget .advads-container,
.editors-picks .advads-container,
.post-sidebar .advads-container {
    margin: 0;
    width: 100%;
}

/* Ad widget styling */
.advanced-ads-ad-widget {
    background: transparent;
    border: none;
}

.advanced-ads-ad-widget .widget-title {
    display: none;
}

/* Responsive ad containers */
.advads-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ad spacing in post content */
.post-content .advads-container:first-child,
.entry-content .advads-container:first-child {
    margin-top: 0;
}

.post-content .advads-container:last-child,
.entry-content .advads-container:last-child {
    margin-bottom: 0;
}

/* Banner ad styles */
.advads-container.advads-banner {
    border-radius: 12px;
    overflow: hidden;
}

/* Sticky ad positioning */
.advads-sticky {
    z-index: 999;
}

/* Ad labels (if using disclosure) */
.advads-container .advads-ad-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-align: center;
}

/* Mobile ad adjustments */
@media (max-width: 768px) {
    .post-content .advads-container,
    .entry-content .advads-container {
        margin: 20px 0;
    }
    
    .advads-container.advads-banner {
        border-radius: 8px;
    }
}




/* === DESKTOP SUBMENU === */
@media (min-width: 769px) {
}

/* ===== SIMILAR POSTS ===== */
.similar-posts {
    padding: 60px 0;
    border-top: 2px solid rgba(255,255,255,0.07);
    background: var(--bg);
}

.similar-posts-title {
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 32px;
    color: var(--text);
}

.similar-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.similar-post-card {
    background: var(--card);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}

.similar-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
}

.similar-post-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.similar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.similar-post-card:hover .similar-post-thumb img {
    transform: scale(1.04);
}

.similar-post-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.similar-post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.similar-post-cat {
    background: var(--poker-yellow);
    color: #1a1a1a;
    padding: 2px 8px;
    border-radius: 2px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.similar-post-date,
.similar-post-read {
    color: rgba(255,255,255,0.4);
}

.similar-post-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    text-transform: none;
    color: var(--text);
}

.similar-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.similar-post-title a:hover {
    color: var(--poker-yellow);
}

.similar-post-excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .similar-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .similar-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== GLOBAL MICRO-INTERACTIONS ===== */

/* Category block section — subtle top border separator */
.category-block + .category-block {
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* View all link hover */
.view-all-link {
    transition: color 0.2s, letter-spacing 0.2s;
}
.view-all-link:hover {
    color: var(--poker-yellow);
    letter-spacing: 0.03em;
}

/* Category block title accent bar */
.category-block-title {
    position: relative;
    padding-left: 14px;
}
.category-block-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1em;
    background: var(--poker-yellow);
    border-radius: 2px;
}

/* Post navigation links */
.nav-previous,
.nav-next {
    transition: transform 0.2s, color 0.2s;
}
.nav-previous:hover,
.nav-next:hover {
    transform: translateX(3px);
    color: var(--poker-yellow);
}
.nav-previous:hover {
    transform: translateX(-3px);
}
