/*
Theme Name: SocialBuzzer
Theme URI: https://buzzup-tech.com/
Author: BuzzUp Tech
Author URI: https://buzzup-tech.com/
Description: A polished social blogging WordPress theme for creators, communities, and editorial publishers, with responsive layouts, dynamic content discovery, social sharing, and flexible customization.
Version: 2.1.1
Requires at least: 6.8
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: socialbuzz
*/


/* Scoped under body.socialbuzz-theme (2.1.0). Do not add unscoped global form/plugin overrides. */
/* Core Theme Styles */
html,
body.socialbuzz-theme{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: var(--color-bg, #F8F3F1);
  color: var(--color-fg, #261915);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body.socialbuzz-theme *,
body.socialbuzz-theme *::before,
body.socialbuzz-theme *::after{
  box-sizing: inherit;
}

/* WordPress Native Primary Menu Styles */
body.socialbuzz-theme .main-navigation{
  --nav-dd-bg: color-mix(in oklab, var(--color-primary) 6%, var(--color-surface));
  --nav-dd-border: color-mix(in oklab, var(--color-primary) 18%, var(--color-border-subtle));
  --nav-dd-shadow: var(--shadow-md);
  --nav-dd-radius: var(--radius-lg);
  --nav-dd-pad: var(--space-2);
  --nav-dd-min: 13.5rem;
  --nav-dd-ease: var(--ease-out);
  --nav-dd-in: var(--duration-base);
  --nav-dd-out: var(--duration-fast);
  --nav-dd-bridge: var(--space-3);
  --nav-item-hover: color-mix(in oklab, var(--color-primary) 12%, var(--color-surface));
  --nav-dd-scroll-thumb: color-mix(in oklab, var(--color-primary) 35%, var(--color-border));
  --nav-dd-scroll-track: color-mix(in oklab, var(--color-primary) 6%, var(--color-bg));
  --nav-touch-target: 44px;
}

body.socialbuzz-theme .main-navigation .primary-menu{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(var(--space-2), 1.35vw, var(--space-5));
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.socialbuzz-theme .main-navigation .primary-menu li{
  margin: 0;
  padding: 0;
  position: relative;
}

body.socialbuzz-theme .main-navigation .menu-item__row{
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

body.socialbuzz-theme .main-navigation .primary-menu li a{
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(var(--text-sm, 0.875rem), 0.8rem + 0.18vw, var(--text-base, 1rem));
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
  color: var(--color-fg, #261915);
  border-bottom: 2px solid transparent;
  transition:
    color var(--nav-dd-out, var(--duration-fast)) var(--nav-dd-ease, var(--ease-out)),
    border-color var(--nav-dd-out, var(--duration-fast)) var(--nav-dd-ease, var(--ease-out)),
    background var(--nav-dd-out, var(--duration-fast)) var(--nav-dd-ease, var(--ease-out));
}

body.socialbuzz-theme .main-navigation .primary-menu > li > a:hover,
body.socialbuzz-theme .main-navigation .primary-menu > li > .menu-item__row > a:hover,
body.socialbuzz-theme .main-navigation .primary-menu > li:hover > .menu-item__row > a,
body.socialbuzz-theme .main-navigation .primary-menu > li:focus-within > .menu-item__row > a,
body.socialbuzz-theme .main-navigation .primary-menu > li.is-submenu-open > .menu-item__row > a,
body.socialbuzz-theme .main-navigation .primary-menu > li.current-menu-item > a,
body.socialbuzz-theme .main-navigation .primary-menu > li.current-menu-item > .menu-item__row > a,
body.socialbuzz-theme .main-navigation .primary-menu > li.current_page_item > a,
body.socialbuzz-theme .main-navigation .primary-menu > li.current_page_item > .menu-item__row > a,
body.socialbuzz-theme .main-navigation .primary-menu > li.current-menu-ancestor > a,
body.socialbuzz-theme .main-navigation .primary-menu > li.current-menu-ancestor > .menu-item__row > a{
  color: var(--color-primary, #B34E2B);
  border-bottom-color: var(--color-primary, #B34E2B);
  font-weight: 600;
}

body.socialbuzz-theme .main-navigation .submenu-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: var(--space-10);
  height: var(--space-10);
  min-width: var(--space-10);
  min-height: var(--space-10);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-fg-muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color var(--nav-dd-out) var(--nav-dd-ease);
}

body.socialbuzz-theme .main-navigation .submenu-toggle:hover,
body.socialbuzz-theme .main-navigation .submenu-toggle:focus-visible{
  color: var(--color-primary);
}

body.socialbuzz-theme .main-navigation .submenu-toggle:focus-visible{
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}

body.socialbuzz-theme .main-navigation .submenu-toggle__icon{
  display: block;
  width: var(--space-4);
  height: var(--space-4);
  position: relative;
  transition: transform var(--nav-dd-in) var(--nav-dd-ease);
}

body.socialbuzz-theme .main-navigation .submenu-toggle__icon::before{
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.4em;
  height: 0.4em;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  transform: translateY(-0.15em) rotate(45deg);
}

body.socialbuzz-theme .main-navigation .menu-item-has-children.is-submenu-open > .menu-item__row > .submenu-toggle,
body.socialbuzz-theme .main-navigation .menu-item-has-children.is-submenu-open > .menu-item__row > .submenu-toggle .submenu-toggle__icon{
  color: var(--color-primary);
}

body.socialbuzz-theme .main-navigation .menu-item-has-children.is-submenu-open > .menu-item__row > .submenu-toggle .submenu-toggle__icon{
  transform: rotate(180deg);
}

/* Dropdown panels — overflow visible by default (no scrollbar / no flyout clip) */
body.socialbuzz-theme .main-navigation .sub-menu{
  list-style: none;
  margin: 0;
  padding: var(--nav-dd-pad);
  min-width: var(--nav-dd-min);
  max-height: none;
  overflow: visible;
  background: var(--nav-dd-bg);
  border: var(--border-width, 1px) solid var(--nav-dd-border);
  border-radius: var(--nav-dd-radius);
  box-shadow: var(--nav-dd-shadow);
  z-index: calc(var(--socialbuzz-z-nav, 60) + 1);
}

body.socialbuzz-theme .main-navigation .sub-menu.is-scrollable{
  max-height: min(70vh, 22rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--nav-dd-scroll-thumb) var(--nav-dd-scroll-track);
}

body.socialbuzz-theme .main-navigation .sub-menu.is-scrollable::-webkit-scrollbar{
  width: var(--space-1);
}

body.socialbuzz-theme .main-navigation .sub-menu.is-scrollable::-webkit-scrollbar-track{
  background: var(--nav-dd-scroll-track);
  border-radius: var(--radius-full);
}

body.socialbuzz-theme .main-navigation .sub-menu.is-scrollable::-webkit-scrollbar-thumb{
  background: var(--nav-dd-scroll-thumb);
  border-radius: var(--radius-full);
}

body.socialbuzz-theme .main-navigation .sub-menu .menu-item__row > a{
  width: 100%;
  min-height: var(--space-10);
  padding-inline: var(--space-3);
  border-bottom: 0;
  border-radius: var(--radius-md);
  white-space: normal;
  font-weight: 500;
}

body.socialbuzz-theme .main-navigation .sub-menu .menu-item__row > a:hover,
body.socialbuzz-theme .main-navigation .sub-menu .menu-item__row > a:focus-visible,
body.socialbuzz-theme .main-navigation .sub-menu .current-menu-item > .menu-item__row > a,
body.socialbuzz-theme .main-navigation .sub-menu .current_page_item > .menu-item__row > a{
  color: var(--color-primary);
  background: var(--nav-item-hover);
  font-weight: 600;
}

@media (min-width: 961px) {
  body.socialbuzz-theme .main-navigation .primary-menu > .menu-item-has-children > .menu-item__row{
    gap: 0;
  }

  body.socialbuzz-theme .main-navigation .primary-menu > .menu-item-has-children > .menu-item__row > .submenu-toggle{
    width: var(--space-7);
    height: var(--space-7);
    min-width: var(--space-7);
    min-height: var(--space-7);
    margin-inline-start: calc(var(--space-1) * -1);
    margin-block-end: 2px;
  }

  /* Hover bridge: transparent border keeps the gap hoverable without painting chrome */
  body.socialbuzz-theme .main-navigation .primary-menu > li > .sub-menu{
    position: absolute;
    inset-block-start: 100%;
    inset-inline-start: 0;
    margin-block-start: 0;
    border-block-start: var(--nav-dd-bridge) solid transparent;
    background-clip: padding-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition:
      opacity var(--nav-dd-out) var(--nav-dd-ease),
      visibility var(--nav-dd-out) var(--nav-dd-ease),
      transform var(--nav-dd-out) var(--nav-dd-ease);
    transition-delay: 80ms;
  }

  body.socialbuzz-theme .main-navigation .primary-menu > li.opens-inline-start > .sub-menu{
    inset-inline-start: auto;
    inset-inline-end: 0;
  }

  body.socialbuzz-theme .main-navigation .sub-menu .sub-menu{
    position: absolute;
    inset-block-start: calc(var(--nav-dd-pad) * -1);
    inset-inline-start: calc(100% - var(--space-1));
    margin-inline-start: 0;
    border-block-start: var(--border-width, 1px) solid var(--nav-dd-border);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(6px);
    transition:
      opacity var(--nav-dd-out) var(--nav-dd-ease),
      visibility var(--nav-dd-out) var(--nav-dd-ease),
      transform var(--nav-dd-out) var(--nav-dd-ease);
    transition-delay: 80ms;
  }

  body.socialbuzz-theme .main-navigation .sub-menu .menu-item-has-children.opens-inline-start > .sub-menu,
  body.socialbuzz-theme .main-navigation .sub-menu .opens-inline-start > .sub-menu{
    inset-inline-start: auto;
    inset-inline-end: calc(100% - var(--space-1));
    transform: translateX(-6px);
  }

  body.socialbuzz-theme .main-navigation .menu-item-has-children:hover > .sub-menu,
  body.socialbuzz-theme .main-navigation .menu-item-has-children:focus-within > .sub-menu,
  body.socialbuzz-theme .main-navigation .menu-item-has-children.is-submenu-open > .sub-menu{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(0, 0);
    transition-duration: var(--nav-dd-in);
    transition-delay: 0ms;
  }

  /* Long-list scroll must not clip nested flyouts while a child is open */
  body.socialbuzz-theme .main-navigation .sub-menu.is-scrollable:has(.menu-item-has-children.is-submenu-open),
  body.socialbuzz-theme .main-navigation .sub-menu.is-scrollable:has(.menu-item-has-children:hover),
  body.socialbuzz-theme .main-navigation .sub-menu.is-scrollable:has(.menu-item-has-children:focus-within){
    overflow: visible;
    max-height: none;
  }

  body.socialbuzz-theme .main-navigation .sub-menu .menu-item__row{
    gap: 0;
  }

  body.socialbuzz-theme .main-navigation .sub-menu .submenu-toggle{
    width: var(--space-8);
    height: var(--space-8);
    min-width: var(--space-8);
    min-height: var(--space-8);
  }

  body.socialbuzz-theme .main-navigation .sub-menu .submenu-toggle__icon::before{
    transform: translateX(-0.1em) rotate(-45deg);
  }

  body.socialbuzz-theme .main-navigation .sub-menu .menu-item-has-children.is-submenu-open > .menu-item__row > .submenu-toggle .submenu-toggle__icon,
  body.socialbuzz-theme .main-navigation .sub-menu .menu-item-has-children:hover > .menu-item__row > .submenu-toggle .submenu-toggle__icon,
  body.socialbuzz-theme .main-navigation .sub-menu .menu-item-has-children:focus-within > .menu-item__row > .submenu-toggle .submenu-toggle__icon{
    transform: rotate(90deg);
  }

  body.socialbuzz-theme .main-navigation .sub-menu .opens-inline-start > .menu-item__row > .submenu-toggle .submenu-toggle__icon::before{
    transform: translateX(0.1em) rotate(135deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.socialbuzz-theme .main-navigation .sub-menu,
  body.socialbuzz-theme .main-navigation .submenu-toggle,
  body.socialbuzz-theme .main-navigation .submenu-toggle__icon,
  body.socialbuzz-theme .main-navigation .primary-menu li a{
    transition: none !important;
    transition-delay: 0ms !important;
  }
}


/* Layout Containers */
body.socialbuzz-theme .socialbuzz-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

body.socialbuzz-theme .reading-container{
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Grid & Post Card Component Styles */
body.socialbuzz-theme .post-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: 24px;
}

body.socialbuzz-theme .post-card{
  background: var(--color-surface);
  border: 1px solid var(--color-border, #DDD1CE);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}

body.socialbuzz-theme .post-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

body.socialbuzz-theme .post-card .featured-image-wrapper{
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  background: var(--color-bg-alt, #EEE8E6);
}

body.socialbuzz-theme .post-card .featured-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

body.socialbuzz-theme .post-card:hover .featured-image{
  transform: scale(1.03);
}

body.socialbuzz-theme .post-card-body{
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}

body.socialbuzz-theme .post-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary, #B34E2B);
}

body.socialbuzz-theme .post-meta .post-date{
  color: var(--color-fg-subtle, #7B6B66);
  font-weight: 400;
}

body.socialbuzz-theme .post-title{
  font-family: var(--font-display, Georgia, serif);
  font-size: var(--text-xl, 1.35rem);
  line-height: 1.25;
  margin: 0;
}

body.socialbuzz-theme .post-title a{
  color: var(--color-fg, #261915);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.socialbuzz-theme .post-title a:hover{
  color: var(--color-primary, #B34E2B);
}

body.socialbuzz-theme .post-excerpt{
  font-size: var(--text-base, 1rem);
  line-height: 1.6;
  color: var(--color-fg-muted, #695954);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.socialbuzz-theme .read-more-btn{
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm, 0.875rem);
  font-weight: 600;
  color: var(--color-primary, #B34E2B);
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
  transition: gap 0.2s ease;
}

body.socialbuzz-theme .read-more-btn:hover{
  color: var(--color-primary-hover, #9F3C17);
}

/* Featured Section 2-Column Grid Layout */
body.socialbuzz-theme .featured-grid{
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 860px) {
  body.socialbuzz-theme .featured-grid{
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

body.socialbuzz-theme .featured-main-card{
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

body.socialbuzz-theme .featured-main-card:hover{
  transform: translateY(-3px);
}

body.socialbuzz-theme .featured-main-img{
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  display: block;
  background: var(--color-bg-alt, #EEE8E6);
  transition: transform 0.4s ease;
}

body.socialbuzz-theme .featured-main-card:hover .featured-main-img{
  transform: scale(1.02);
}

body.socialbuzz-theme .featured-main-body{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.socialbuzz-theme .featured-main-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

body.socialbuzz-theme .featured-main-title{
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-fg, #261915);
  margin: 0;
}

body.socialbuzz-theme .featured-side-list{
  display: flex;
  flex-direction: column;
}

body.socialbuzz-theme .featured-side-item{
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

body.socialbuzz-theme .featured-side-item:last-child{
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

body.socialbuzz-theme .featured-side-item:hover{
  transform: translateY(-3px);
}

body.socialbuzz-theme .featured-side-thumb{
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--color-bg-alt, #EEE8E6);
  display: block;
}

body.socialbuzz-theme .featured-side-cat{
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

body.socialbuzz-theme .featured-side-title{
  font-family: var(--font-display, Georgia, serif);
  font-size: var(--text-base, 1.05rem);
  line-height: 1.3;
  color: var(--color-fg, #261915);
  margin: 0;
  font-weight: 600;
}

body.socialbuzz-theme h3.featured-side-title{
  margin: 0;
  font-size: var(--text-base, 1.05rem);
  font-weight: 600;
  line-height: 1.3;
}

body.socialbuzz-theme .featured-side-item:hover .featured-side-title{
  color: var(--color-primary, #B34E2B);
}

/* Single Post & Page Editorial Styling */
body.socialbuzz-theme .single-post-header{
  margin-bottom: 32px;
  text-align: center;
}

body.socialbuzz-theme .single-post-header .post-title{
  font-size: clamp(2rem, 1.4rem + 2.5vw, 3.2rem);
  line-height: 1.15;
  margin: 16px 0;
}

body.socialbuzz-theme .single-featured-image{
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg, 12px);
  margin: 24px 0 40px;
}

/* Entry content typography: assets/css/entry-content.css */

/* Pagination */
body.socialbuzz-theme .pagination-nav{
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

body.socialbuzz-theme .pagination-nav .page-numbers{
  padding: 8px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border, #DDD1CE);
  border-radius: var(--radius-md, 6px);
  color: var(--color-fg, #261915);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

body.socialbuzz-theme .pagination-nav .page-numbers.current,
body.socialbuzz-theme .pagination-nav .page-numbers:hover{
  background: var(--color-primary, #B34E2B);
  color: var(--color-primary-contrast);
  border-color: var(--color-primary, #B34E2B);
}

/* ── Featured Section: image-only link wrapper ────────────────────────────── */
body.socialbuzz-theme .featured-main-img-link{
  display: block;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

body.socialbuzz-theme .featured-main-img-link .featured-main-img{
  border-radius: 0;        /* radius lives on the wrapper */
  margin-bottom: 0;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

body.socialbuzz-theme .featured-main-img-link:hover .featured-main-img{
  transform: scale(1.03);
}

/* ── Featured Section: text block below image ─────────────────────────────── */
body.socialbuzz-theme .featured-main-body{
  margin-top: 20px;
}

/* ── Featured Section: "Read more" CTA ───────────────────────────────────── */
body.socialbuzz-theme .featured-main-cta{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm, 0.875rem);
  font-weight: 700;
  color: var(--color-primary, #B34E2B);
  text-decoration: none;
  margin-top: 6px;
  transition: color 0.2s ease;
}

body.socialbuzz-theme .featured-main-cta:hover{
  color: var(--color-primary-hover, #9F3C17);
}

/* ── Featured Section: right-column "All posts" header row ───────────────── */
body.socialbuzz-theme .featured-side-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 2px;
  border-bottom: 2px solid var(--color-border, #DDD1CE);
}

body.socialbuzz-theme .featured-side-all-link{
  font-size: var(--text-sm, 0.875rem);
  font-weight: 700;
  color: var(--color-primary, #B34E2B);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.socialbuzz-theme .featured-side-all-link:hover{
  color: var(--color-primary-hover, #9F3C17);
}

/* ── Featured Section: date line under each side-post title ──────────────── */
body.socialbuzz-theme .featured-side-date{
  font-size: var(--text-xs, 0.75rem);
  color: var(--color-fg-subtle, #7B6B66);
  font-weight: 400;
  line-height: 1.3;
}

/* ── Topics Section: "View all topics →" button ──────────────────────────── */
body.socialbuzz-theme .topics-view-all-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--color-primary, #B34E2B);
  color: var(--color-primary-contrast);
  border-radius: var(--radius-md, 8px);
  font-size: var(--text-sm, 0.875rem);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  min-height: 40px;
  transition: background 0.2s ease, transform 0.2s ease;
}

body.socialbuzz-theme .topics-view-all-btn:hover{
  background: var(--color-primary-hover, #9F3C17);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOPICS DIRECTORY PAGE  (page-topics.php)
════════════════════════════════════════════════════════════════════════════ */

/* ── Shared page shell + hero ─────────────────────────────────────────────── */
body.socialbuzz-theme .theme-page-shell{
  background: var(--color-bg);
  min-height: 60vh;
}

body.socialbuzz-theme .page-hero{
  background: var(--color-surface-tint);
  border-bottom: 1px solid var(--color-border, #DDD1CE);
}

body.socialbuzz-theme .page-hero__inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 32px) clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.socialbuzz-theme .page-hero__kicker{
  font-size: var(--text-xs, 0.75rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--color-primary, #B34E2B);
}

body.socialbuzz-theme .page-hero__title{
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(2.2rem, 1.6rem + 2.8vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--color-fg, #261915);
  margin: 0;
}

body.socialbuzz-theme .page-hero__subtitle{
  font-size: var(--text-lg, 1.125rem);
  line-height: 1.65;
  color: var(--color-fg-muted, #695954);
  margin: 0;
  max-width: 58ch;
}

body.socialbuzz-theme .page-hero__meta{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm, 0.875rem);
  font-weight: 600;
  color: var(--color-fg-subtle, #7B6B66);
  margin-top: 4px;
}

body.socialbuzz-theme .topics-directory{
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 32px);
}

body.socialbuzz-theme .page-about-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* ── About page identity + story ──────────────────────────────────────────── */
body.socialbuzz-theme .page-about-identity{
  background: var(--color-surface-tint-strong);
  border: 0;
  box-shadow: none;
}

body.socialbuzz-theme .page-about-identity__inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(var(--space-10), 7vw, var(--space-16)) clamp(var(--space-5), 5vw, var(--space-8));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

body.socialbuzz-theme .page-about-identity__kicker{
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: 700;
  color: var(--color-primary);
}

body.socialbuzz-theme .page-about-identity__layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  align-items: stretch;
}

body.socialbuzz-theme .page-about-identity--with-image .page-about-identity__layout{
  grid-template-columns: minmax(240px, 38%) minmax(0, 1fr);
}

body.socialbuzz-theme .page-about-identity__media{
  min-width: 0;
  height: 100%;
  min-height: clamp(280px, 32vw, 440px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

body.socialbuzz-theme .page-about-identity__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: page-about-identity-in var(--duration-slow, 400ms) var(--ease-out, ease) both;
}

body.socialbuzz-theme .page-about-identity__copy{
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-5);
  animation: page-about-identity-in var(--duration-slow, 400ms) var(--ease-out, ease) both;
  animation-delay: 80ms;
}

body.socialbuzz-theme .page-about-identity__name{
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 1.6rem + 2.2vw, var(--text-5xl));
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-fg);
  text-wrap: wrap;
  max-width: none;
}

body.socialbuzz-theme .page-about-identity__bio{
  margin: 0;
  max-width: none;
  width: 100%;
  color: var(--color-fg-muted);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

body.socialbuzz-theme .page-about-identity__footer{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  margin-top: var(--space-1);
}

body.socialbuzz-theme .page-about-identity__social{
  margin: 0;
}

body.socialbuzz-theme .page-about-identity .page-about-actions{
  margin-top: 0;
}

body.socialbuzz-theme .page-about-story{
  padding: clamp(var(--space-10), 7vw, var(--space-16)) 0;
}

body.socialbuzz-theme .page-about-story__inner{
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-8));
}

body.socialbuzz-theme .page-about-story__article{
  max-width: 42rem;
  margin: 0 auto;
}

body.socialbuzz-theme .page-about-story__article .entry-content{
  margin: 0;
}

@keyframes page-about-identity-in{
  from{
    opacity: 0;
    transform: translateY(var(--space-3));
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  body.socialbuzz-theme .page-about-identity--with-image .page-about-identity__layout{
    grid-template-columns: minmax(0, 1fr);
  }
  body.socialbuzz-theme .page-about-identity__inner{
    padding: var(--space-8) var(--space-5);
    gap: var(--space-4);
  }
  body.socialbuzz-theme .page-about-identity__media{
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    max-height: 420px;
  }
  body.socialbuzz-theme .page-about-identity__copy{
    gap: var(--space-4);
  }
  body.socialbuzz-theme .page-about-identity__name{
    font-size: var(--text-3xl);
  }
  body.socialbuzz-theme .page-about-identity__bio{
    font-size: var(--text-base);
  }
  body.socialbuzz-theme .page-about-story{
    padding: var(--space-8) 0;
  }
}

/* ── Contact page ─────────────────────────────────────────────────────────── */
body.socialbuzz-theme .page-contact-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  align-items: start;
}

body.socialbuzz-theme .page-contact-details,
body.socialbuzz-theme .page-contact-form{
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  border-radius: var(--radius-lg);
  background: var(--color-surface-tint-strong);
  border: 0;
  box-shadow: none;
}

body.socialbuzz-theme .page-contact-details-title,
body.socialbuzz-theme .page-contact-form-title{
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
  color: var(--color-fg);
}

body.socialbuzz-theme .page-contact-intro{
  margin: 0 0 var(--space-4);
  color: var(--color-fg-muted);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  max-width: 36ch;
}

body.socialbuzz-theme .page-contact-email{
  margin: 0 0 var(--space-4);
}

body.socialbuzz-theme .page-contact-email a{
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

body.socialbuzz-theme .page-contact-email a:hover{
  color: var(--color-primary-hover);
}

body.socialbuzz-theme .page-contact-social{
  margin-top: var(--space-2);
}

body.socialbuzz-theme .page-contact-status{
  margin: 0 0 var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
}

body.socialbuzz-theme .page-contact-status--success{
  background: color-mix(in oklab, var(--color-success) 14%, var(--color-surface));
  color: var(--color-fg);
}

body.socialbuzz-theme .page-contact-status--error{
  background: color-mix(in oklab, var(--color-error) 14%, var(--color-surface));
  color: var(--color-fg);
}

body.socialbuzz-theme .page-contact-form-el{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0;
}

body.socialbuzz-theme .page-contact-field{
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
}

body.socialbuzz-theme .page-contact-field label{
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-fg);
}

body.socialbuzz-theme .page-contact-field input,
body.socialbuzz-theme .page-contact-field textarea{
  width: 100%;
  min-height: var(--space-10);
  padding: var(--space-2) var(--space-3);
  border: var(--border-width, 1px) solid var(--color-input-border);
  border-radius: var(--radius-md);
  background: var(--color-input-bg);
  color: var(--color-input-fg);
  font: inherit;
  font-size: var(--text-base);
  line-height: var(--leading-normal, 1.5);
}

body.socialbuzz-theme .page-contact-field input::placeholder,
body.socialbuzz-theme .page-contact-field textarea::placeholder{
  color: var(--color-input-placeholder);
}

body.socialbuzz-theme .page-contact-field input:hover,
body.socialbuzz-theme .page-contact-field textarea:hover{
  border-color: var(--color-input-border-hover);
}

body.socialbuzz-theme .page-contact-field input:disabled,
body.socialbuzz-theme .page-contact-field textarea:disabled{
  background: var(--color-input-disabled-bg);
  color: var(--color-input-disabled-fg);
}

body.socialbuzz-theme .page-contact-field input[aria-invalid="true"],
body.socialbuzz-theme .page-contact-field textarea[aria-invalid="true"]{
  border-color: var(--color-danger);
}

body.socialbuzz-theme .page-contact-field textarea{
  min-height: calc(var(--space-10) * 4);
  resize: vertical;
}

body.socialbuzz-theme .page-contact-field input:focus,
body.socialbuzz-theme .page-contact-field textarea:focus{
  outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-focus);
}

body.socialbuzz-theme .page-contact-honeypot{
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body.socialbuzz-theme .page-contact-submit{
  margin: var(--space-2) 0 0;
}

body.socialbuzz-theme .page-contact-submit .sb-btn-primary{
  min-height: var(--space-10);
}

@media (max-width: 768px) {
  body.socialbuzz-theme .page-contact-layout{
    grid-template-columns: 1fr;
  }
}

/* ── Categories Grid ──────────────────────────────────────────────────────── */
body.socialbuzz-theme .topics-directory-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin: 0;
}

/* ── Topic Card ───────────────────────────────────────────────────────────── */
body.socialbuzz-theme .topic-directory-card{
  background: var(--color-surface);
  border: 1px solid var(--color-border, #DDD1CE);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.26s ease,
              border-color 0.26s ease;
}

body.socialbuzz-theme .topic-directory-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary, #B34E2B);
}

/* Card header row: name + badge */
body.socialbuzz-theme .topic-card__header{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body.socialbuzz-theme .topic-card__name{
  font-family: var(--font-display, Georgia, serif);
  font-size: var(--text-xl, 1.35rem);
  line-height: 1.2;
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
}

body.socialbuzz-theme .topic-card__name-link{
  color: var(--color-fg, #261915);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.socialbuzz-theme .topic-card__name-link:hover{
  color: var(--color-primary, #B34E2B);
}

body.socialbuzz-theme .topic-card__count-badge{
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--color-surface-tint, #F5EFEC);
  color: var(--color-primary, #B34E2B);
  border-radius: 99px;
  font-size: var(--text-xs, 0.75rem);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Category description */
body.socialbuzz-theme .topic-card__description{
  font-size: var(--text-base, 1rem);
  line-height: 1.6;
  color: var(--color-fg-muted, #695954);
  margin: 0;
}

/* ── Mini Post List ───────────────────────────────────────────────────────── */
body.socialbuzz-theme .topic-mini-post-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border, #DDD1CE);
  padding-top: 14px;
  gap: 0;
  flex: 1 1 auto;
}

body.socialbuzz-theme .topic-mini-post-list__item{
  border-bottom: 1px solid var(--color-border, #DDD1CE);
}

body.socialbuzz-theme .topic-mini-post-list__item:last-child{
  border-bottom: none;
}

body.socialbuzz-theme .topic-mini-post-list__link{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

body.socialbuzz-theme .topic-mini-post-list__link:hover .topic-mini-post-list__title{
  color: var(--color-primary, #B34E2B);
}

body.socialbuzz-theme .topic-mini-post-list__title{
  font-size: var(--text-base, 1rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-fg, #261915);
  transition: color 0.2s ease;
  flex: 1 1 0;
  min-width: 0;

  /* Clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.socialbuzz-theme .topic-mini-post-list__date{
  font-size: var(--text-xs, 0.75rem);
  color: var(--color-fg-subtle, #7B6B66);
  white-space: nowrap;
  flex-shrink: 0;
}

body.socialbuzz-theme .topic-card__no-posts{
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-fg-subtle, #7B6B66);
  font-style: italic;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--color-border, #DDD1CE);
}

/* ── Card CTA ─────────────────────────────────────────────────────────────── */
body.socialbuzz-theme .topic-card__cta{
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm, 0.875rem);
  font-weight: 700;
  color: var(--color-primary, #B34E2B);
  text-decoration: none;
  margin-top: auto;
  padding-top: 4px;
  transition: color 0.2s ease;
}

body.socialbuzz-theme .topic-card__cta:hover{
  color: var(--color-primary-hover, #9F3C17);
}

/* ── Topics pagination ────────────────────────────────────────────────────── */
body.socialbuzz-theme .topics-pagination{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4, 16px);
  margin-block-start: var(--space-10, 40px);
  padding-block: var(--space-4, 16px);
}

body.socialbuzz-theme .topics-pagination__status{
  color: var(--color-fg-muted, #695954);
  font-size: var(--text-sm, 0.875rem);
}

body.socialbuzz-theme .topics-pagination__link{
  color: var(--color-primary, #B34E2B);
  font-weight: 600;
  text-decoration: none;
}

body.socialbuzz-theme .topics-pagination__link:hover{
  color: var(--color-primary-hover, #9F3C17);
}

body.socialbuzz-theme .topics-pagination__link.is-disabled{
  color: var(--color-fg-subtle, #7B6B66);
  pointer-events: none;
  opacity: 0.55;
}

/* ── Empty State ──────────────────────────────────────────────────────────── */
body.socialbuzz-theme .topics-empty-state{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(64px, 10vw, 120px) 20px;
  color: var(--color-fg-muted, #695954);
}

/* ── Responsive: collapse to 2 cols on smaller viewports ─────────────────── */
@media (max-width: 860px) {
  body.socialbuzz-theme .topics-directory-grid{
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
  }
}

@media (max-width: 540px) {
  body.socialbuzz-theme .topics-directory-grid{
    grid-template-columns: 1fr;
  }

  body.socialbuzz-theme .topic-directory-card{
    padding: 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE POST TEMPLATE  (single.php)
════════════════════════════════════════════════════════════════════════════ */

/* ── 1. Article Header ────────────────────────────────────────────────────── */
body.socialbuzz-theme .single-post-header-wrap{
  background: var(--color-surface-tint);
  border-bottom: var(--border-width) solid var(--color-border);
}

body.socialbuzz-theme .single-post-header-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(var(--space-5), 3vw, var(--space-10)) clamp(var(--space-5), 5vw, var(--space-8)) 0;
  display: flex;
  flex-direction: column;
  gap: clamp(var(--space-3), 1.5vw, var(--space-5));
}

body.socialbuzz-theme .single-post-context-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
}

body.socialbuzz-theme .single-post-context-row .socialbuzz-breadcrumbs{
  margin: 0;
}

/* Compact category context */
body.socialbuzz-theme .single-post-kicker-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

body.socialbuzz-theme .single-post-cat-badge{
  display: inline-flex;
  align-items: center;
  background: var(--color-bg);
  color: var(--color-primary);
  border: var(--border-width) solid var(--color-border);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  min-height: var(--space-8);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition:
    background var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard);
}

body.socialbuzz-theme .single-post-cat-badge:hover{
  background: color-mix(in oklab, var(--color-bg) 80%, var(--color-primary) 20%);
  border-color: var(--color-border-strong);
}

/* Main h1 — wrap fills header width (overrides tokens h1 text-wrap:balance) */
body.socialbuzz-theme .single-post-title{
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 1.45rem + 2.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--color-fg);
  margin: 0;
  width: 100%;
  max-width: 100%;
  text-wrap: wrap;
}

/* Author row */
body.socialbuzz-theme .single-post-author-row{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(var(--space-3), 1.5vw, var(--space-4));
  padding: var(--space-2) 0 var(--space-4);
  border-bottom: var(--border-width) solid var(--color-border);
}

body.socialbuzz-theme .single-post-author-left{
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1 1 0;
  min-width: 0;
}

body.socialbuzz-theme .single-post-author-right{
  flex: 0 1 auto;
}

body.socialbuzz-theme .single-post-avatar-wrap{
  width: var(--space-10);
  height: var(--space-10);
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-bg-alt);
  border: var(--border-width) solid var(--color-border);
}

body.socialbuzz-theme .single-post-avatar{
  width: var(--space-10) !important;
  height: var(--space-10) !important;
  border-radius: var(--radius-full);
  display: block;
}

body.socialbuzz-theme .single-post-author-meta{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.socialbuzz-theme .single-post-author-name{
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-fg);
}

body.socialbuzz-theme a.single-post-author-name{
  text-decoration: none;
  color: inherit;
}

body.socialbuzz-theme a.single-post-author-name:hover{
  color: var(--color-link);
}

body.socialbuzz-theme .single-post-author-sub{
  font-size: var(--text-xs);
  color: var(--color-fg-subtle);
  font-weight: 400;
}

/* Save / share header */
body.socialbuzz-theme .single-post-share-header{
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

body.socialbuzz-theme .single-save-btn{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  border: var(--border-width) solid var(--color-primary);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-normal);
  cursor: pointer;
  min-height: var(--space-10);
  transition:
    background var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard);
  white-space: nowrap;
  text-decoration: none;
}

body.socialbuzz-theme .single-save-btn:hover{
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
  color: var(--color-primary-contrast);
}

body.socialbuzz-theme .single-save-btn:focus-visible{
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}

body.socialbuzz-theme .single-save-btn__icon{
  display: inline-flex;
  flex-shrink: 0;
  width: var(--space-4);
  height: var(--space-4);
  color: inherit;
  pointer-events: none;
}

body.socialbuzz-theme .single-save-btn__icon svg{
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

body.socialbuzz-theme .single-save-btn__label{
  pointer-events: none;
}

/* ── 2. Two-Column Layout ─────────────────────────────────────────────────── */
body.socialbuzz-theme .single-post-outer{
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(var(--space-6), 3vw, var(--space-10)) clamp(var(--space-5), 5vw, var(--space-8)) 0;
}

body.socialbuzz-theme .single-post-columns{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(var(--space-10), 5vw, var(--space-16));
  align-items: start;
}

/* ── A. Left: Article Content ─────────────────────────────────────────────── */
body.socialbuzz-theme .single-post-content-col{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
}

body.socialbuzz-theme .single-post-hero-img-wrap{
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
  border: var(--border-width) solid var(--color-border);
}

body.socialbuzz-theme .single-post-hero-img-wrap > .socialbuzz-img-pin-wrap{
  display: block;
}

body.socialbuzz-theme .single-post-hero-img{
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
  border-radius: 0; /* radius is on the wrapper */
}

body.socialbuzz-theme .single-post-hero-caption{
  font-size: var(--text-sm);
  color: var(--color-fg-subtle);
  padding: var(--space-3) var(--space-4);
  margin: 0;
  background: var(--color-bg-alt);
  border-top: var(--border-width) solid var(--color-border);
}

/* On-image Pinterest save */
body.socialbuzz-theme .socialbuzz-img-pin-wrap{
  position: relative;
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
  isolation: isolate;
}

/* The positioned box must follow the visible image, not the article column. */
body.socialbuzz-theme .entry-content .socialbuzz-img-pin-wrap{
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-block: var(--content-media-margin);
  margin-inline: auto;
}

body.socialbuzz-theme .entry-content :is(figure, .wp-block-image, .wp-caption) > .socialbuzz-img-pin-wrap{
  margin-block: 0;
  margin-inline: auto;
}

body.socialbuzz-theme .single-post-hero-img-wrap .socialbuzz-img-pin-wrap{
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

body.socialbuzz-theme .socialbuzz-img-pin-wrap > a:not(.socialbuzz-img-pin){
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 0;
}

body.socialbuzz-theme .entry-content .socialbuzz-img-pin-wrap > img,
body.socialbuzz-theme .entry-content .socialbuzz-img-pin-wrap > a:not(.socialbuzz-img-pin) > img{
  float: none;
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
}

body.socialbuzz-theme .entry-content .socialbuzz-img-pin-wrap--alignleft{
  float: inline-start;
  max-width: var(--content-align-float-width);
  margin-block: var(--space-2) var(--content-align-float-gap);
  margin-inline: 0 var(--content-align-float-gap);
}

body.socialbuzz-theme .entry-content .socialbuzz-img-pin-wrap--alignright{
  float: inline-end;
  max-width: var(--content-align-float-width);
  margin-block: var(--space-2) var(--content-align-float-gap);
  margin-inline: var(--content-align-float-gap) 0;
}

body.socialbuzz-theme .entry-content .socialbuzz-img-pin-wrap--aligncenter{
  float: none;
  margin-block: var(--content-media-margin);
  margin-inline: auto;
}

body.socialbuzz-theme .entry-content .socialbuzz-img-pin-wrap--alignnone{
  float: none;
  margin-block: var(--content-media-margin);
  margin-inline: 0;
}

body.socialbuzz-theme .entry-content :is(.socialbuzz-img-pin-wrap--alignwide, .socialbuzz-img-pin-wrap--alignfull){
  float: none;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

body.socialbuzz-theme .entry-content :is(.socialbuzz-img-pin-wrap--alignwide, .socialbuzz-img-pin-wrap--alignfull) > img,
body.socialbuzz-theme .entry-content :is(.socialbuzz-img-pin-wrap--alignwide, .socialbuzz-img-pin-wrap--alignfull) > a:not(.socialbuzz-img-pin) > img{
  width: 100%;
}

body.socialbuzz-theme .socialbuzz-img-pin{
  --socialbuzz-z-img-pin: 2;
  position: absolute;
  inset-block-start: var(--space-3);
  inset-inline-end: var(--space-3);
  z-index: var(--socialbuzz-z-img-pin);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--space-10);
  padding: var(--space-1) var(--space-3) var(--space-1) var(--space-1);
  margin: 0;
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-normal);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  opacity: 0.92;
  transform: scale(1);
  transition:
    opacity var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body.socialbuzz-theme .socialbuzz-img-pin__logo{
  width: var(--space-8);
  height: var(--space-8);
  margin: 0;
  flex-shrink: 0;
  display: block;
  object-fit: cover;
  pointer-events: none;
  border-radius: var(--radius-full);
}

body.socialbuzz-theme .socialbuzz-img-pin__label{
  padding-inline-end: var(--space-1);
  pointer-events: none;
}

body.socialbuzz-theme .socialbuzz-img-pin-wrap--compact .socialbuzz-img-pin{
  width: var(--space-10);
  min-width: var(--space-10);
  padding: var(--space-1);
  justify-content: center;
}

body.socialbuzz-theme .socialbuzz-img-pin-wrap--compact .socialbuzz-img-pin__label{
  display: none;
}

body.socialbuzz-theme .socialbuzz-img-pin:hover,
body.socialbuzz-theme .socialbuzz-img-pin:focus-visible{
  opacity: 1;
  transform: scale(1.04);
}

body.socialbuzz-theme .socialbuzz-img-pin-wrap.is-pin-visible .socialbuzz-img-pin{
  opacity: 1;
  transform: scale(1);
}

@media (hover: hover) and (pointer: fine){
  body.socialbuzz-theme .socialbuzz-img-pin{
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
  }

  body.socialbuzz-theme .socialbuzz-img-pin-wrap:hover .socialbuzz-img-pin,
  body.socialbuzz-theme .socialbuzz-img-pin-wrap:focus-within .socialbuzz-img-pin,
  body.socialbuzz-theme .socialbuzz-img-pin-wrap.is-pin-visible .socialbuzz-img-pin{
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
}

@media (max-width: 540px){
  body.socialbuzz-theme .entry-content :is(.socialbuzz-img-pin-wrap--alignleft, .socialbuzz-img-pin-wrap--alignright){
    float: none;
    max-width: 100%;
    margin-block: var(--content-media-margin);
    margin-inline: auto;
  }

  body.socialbuzz-theme .socialbuzz-img-pin{
    inset-block-start: var(--space-2);
    inset-inline-end: var(--space-2);
    width: var(--space-10);
    min-width: var(--space-10);
    padding: var(--space-1);
    justify-content: center;
  }

  body.socialbuzz-theme .socialbuzz-img-pin__label{
    display: none;
  }
}

/* Post footer */
body.socialbuzz-theme .single-post-footer{
  border-top: var(--border-width) solid var(--color-border);
  padding-top: clamp(var(--space-5), 3vw, var(--space-7));
  margin-top: clamp(var(--space-2), 1.5vw, var(--space-4));
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

body.socialbuzz-theme .single-post-tags{
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

body.socialbuzz-theme .single-post-tag{
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--color-bg-alt);
  color: var(--color-fg-muted);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  transition:
    background var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
}

body.socialbuzz-theme .single-post-tag:hover{
  background: var(--color-surface-tint);
  color: var(--color-primary);
}

body.socialbuzz-theme .single-post-share-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface-tint);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-lg);
}

body.socialbuzz-theme .single-post-share-label{
  color: var(--color-fg-muted);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold, 600);
  line-height: var(--leading-normal);
}

/* ── B. Right: Sticky Sidebar ─────────────────────────────────────────────── */
body.socialbuzz-theme .single-post-sidebar{
  --socialbuzz-sidebar-sticky-gap: var(--space-6);
  min-width: 0;
  align-self: start;           /* grid cell shrinks to content height — essential for sticky to work */
  padding-top: 30%;
  position: sticky;
  /*
   * Sticky top = header offset (JS: --socialbuzz-header-offset) + tokenized gap.
   * min() keeps tall-sidebar bottom-pin: when sidebar is taller than the
   * viewport, calc() wins and the bottom edge stays gap-above the viewport bottom.
   */
  top: min(
    calc(var(--socialbuzz-header-offset, 72px) + var(--socialbuzz-sidebar-sticky-gap)),
    calc(100vh - 100% - var(--socialbuzz-sidebar-sticky-gap))
  );
}

/* Inner flex stack — no longer sticky itself; let the column wrapper handle it */
body.socialbuzz-theme .single-sidebar-sticky{
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4.5vw, 44px);
}

/* Sidebar author card — compact vertical treatment. */
body.socialbuzz-theme .sidebar-author-card{
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--color-surface);
	border: 1px solid color-mix(in oklab, var(--color-primary) 14%, var(--color-border));
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: var(--space-8) var(--space-6) var(--space-6);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--space-3);
}

body.socialbuzz-theme .sidebar-author-card::before{
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0 0 auto;
	height: 74px;
	background: var(--color-surface-tint-strong);
	border-bottom: 1px solid color-mix(in oklab, var(--color-primary) 18%, var(--color-border));
}

body.socialbuzz-theme .sidebar-author-avatar-wrap{
	width: 112px;
	height: 112px;
	border-radius: var(--radius-full);
	overflow: hidden;
	background: var(--color-surface);
	border: var(--space-1) solid var(--color-surface);
	box-shadow:
		0 0 0 1px color-mix(in oklab, var(--color-primary) 28%, var(--color-border)),
		var(--shadow-sm);
	flex-shrink: 0;
}

body.socialbuzz-theme .sidebar-author-avatar{
	width: 100%;
	height: 100%;
	border-radius: var(--radius-full);
	object-fit: cover;
	object-position: center 30%;
	display: block;
}

body.socialbuzz-theme .sidebar-author-name{
	font-family: var(--font-display);
	font-size: var(--text-2xl);
	line-height: var(--leading-tight);
	color: var(--color-fg);
	margin: var(--space-1) 0 0;
	letter-spacing: var(--tracking-tight);
}

body.socialbuzz-theme .sidebar-author-bio{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
	max-width: 30ch;
	font-size: var(--text-sm);
	line-height: 1.65;
	color: var(--color-fg-muted);
	margin: 0;
}

body.socialbuzz-theme .sidebar-author-cta-group{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-2);
  width: 100%;
  padding-top: var(--space-4);
  margin-top: var(--space-2);
}

body.socialbuzz-theme .sidebar-author-follow-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: var(--space-2);
  width: 100%;
	margin-top: var(--space-3);
	padding: var(--space-2) var(--space-5);
	background: var(--color-primary-soft);
	color: var(--color-primary);
	border: 1px solid color-mix(in oklab, var(--color-primary) 34%, var(--color-border));
	border-radius: var(--radius-md);
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	text-decoration: none;
	min-height: 44px;
	transition:
		background var(--duration-fast) var(--ease-standard),
		border-color var(--duration-fast) var(--ease-standard),
		color var(--duration-fast) var(--ease-standard);
}

body.socialbuzz-theme .sidebar-author-follow-btn::after{
	content: "\2192";
	font-size: 1.1em;
	line-height: 1;
	transition: transform var(--duration-fast) var(--ease-standard);
}

body.socialbuzz-theme .sidebar-author-follow-btn:hover,
body.socialbuzz-theme .sidebar-author-follow-btn:focus-visible{
	background: var(--color-primary-hover);
	border-color: var(--color-primary-hover);
	color: var(--color-primary-contrast);
}

body.socialbuzz-theme .sidebar-author-follow-btn:hover::after,
body.socialbuzz-theme .sidebar-author-follow-btn:focus-visible::after{
	transform: translateX(3px);
}

body.socialbuzz-theme .sidebar-author-more-link{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--space-10);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

body.socialbuzz-theme .sidebar-author-more-link:hover{
  color: var(--color-primary-hover);
}

/* Sidebar section headers (Popular posts, Topics) */
body.socialbuzz-theme .sidebar-section-header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-fg);
  margin-bottom: var(--space-5);
}

body.socialbuzz-theme .sidebar-section-label{
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--color-fg);
}

body.socialbuzz-theme .sidebar-section-meta{
  font-size: var(--text-xs);
  color: var(--color-fg-subtle);
}

body.socialbuzz-theme .sidebar-section-header--topics{
  margin-bottom: var(--space-4);
}

/* Related + topics — no panel fill; chips sit on page bg */
body.socialbuzz-theme .sidebar-related-posts,
body.socialbuzz-theme .sidebar-topics-block{
  background: transparent;
  padding: 0;
}

/* Numbered related posts — lead item (01) */
body.socialbuzz-theme .sidebar-related-lead{
  display: block;
  text-decoration: none;
  margin-bottom: var(--space-6);
  color: inherit;
}

body.socialbuzz-theme .sidebar-related-lead:hover .sidebar-related-lead-title{
  color: var(--color-primary);
}

body.socialbuzz-theme .sidebar-related-lead-img-wrap{
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
}

body.socialbuzz-theme .sidebar-related-lead-img-wrap--empty{
  min-height: 180px;
}

body.socialbuzz-theme .sidebar-related-lead-img-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.socialbuzz-theme .sidebar-related-lead-title{
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.22;
  color: var(--color-fg);
  margin-top: var(--space-3);
  transition: color var(--duration-fast) var(--ease-standard);
}

body.socialbuzz-theme .sidebar-related-lead-meta{
  font-size: var(--text-sm);
  color: var(--color-fg-subtle);
  margin-top: var(--space-2);
}

/* Related / popular compact rows */
body.socialbuzz-theme .sidebar-related-item{
  display: flex;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-4) 0;
  border-top: var(--border-width) solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-standard);
}

body.socialbuzz-theme .sidebar-related-item:hover .sidebar-related-item-title{
  color: var(--color-primary);
}

body.socialbuzz-theme .sidebar-related-item-thumb{
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-bg-alt);
}

body.socialbuzz-theme .sidebar-related-item-thumb--empty{
  background: var(--color-bg-alt);
}

body.socialbuzz-theme .sidebar-related-item-img{
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
}

body.socialbuzz-theme .sidebar-related-item-title{
  flex: 1 1 0;
  min-width: 0;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-fg);
  transition: color var(--duration-fast) var(--ease-standard);
}

/* Topics grid in sidebar */
body.socialbuzz-theme .sidebar-topics-grid{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-2);
}

body.socialbuzz-theme .sidebar-topic-card{
	--sidebar-topic-bg: var(--color-surface-tint);
	--sidebar-topic-hover: var(--color-surface-tint-strong);
	--sidebar-topic-accent: var(--color-primary);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--space-3);
	padding: var(--space-4);
	background: var(--sidebar-topic-bg);
	border: 1px solid color-mix(in oklab, var(--sidebar-topic-accent) 16%, var(--color-border));
	border-radius: var(--radius-md);
	text-decoration: none;
	min-width: 0;
	min-height: 84px;
	transition:
		transform var(--duration-fast) var(--ease-standard),
		background var(--duration-fast) var(--ease-standard),
		border-color var(--duration-fast) var(--ease-standard),
		box-shadow var(--duration-fast) var(--ease-standard);
}

body.socialbuzz-theme .sidebar-topic-card::before{
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: var(--space-4);
	width: var(--space-8);
	height: 3px;
	border-radius: 0 0 var(--radius-full) var(--radius-full);
	background: var(--sidebar-topic-accent);
}

body.socialbuzz-theme .sidebar-topic-card:nth-child(6n + 1){
	--sidebar-topic-bg: color-mix(in oklab, var(--color-primary) 7%, var(--color-surface));
	--sidebar-topic-hover: color-mix(in oklab, var(--color-primary) 13%, var(--color-surface));
}
body.socialbuzz-theme .sidebar-topic-card:nth-child(6n + 2){
	--sidebar-topic-bg: color-mix(in oklab, var(--color-primary) 11%, var(--color-surface));
	--sidebar-topic-hover: color-mix(in oklab, var(--color-primary) 17%, var(--color-surface));
}
body.socialbuzz-theme .sidebar-topic-card:nth-child(6n + 3){
	--sidebar-topic-bg: color-mix(in oklab, var(--color-primary) 16%, var(--color-surface));
	--sidebar-topic-hover: color-mix(in oklab, var(--color-primary) 22%, var(--color-surface));
}
body.socialbuzz-theme .sidebar-topic-card:nth-child(6n + 4){
	--sidebar-topic-bg: color-mix(in oklab, var(--color-accent) 7%, var(--color-surface));
	--sidebar-topic-hover: color-mix(in oklab, var(--color-accent) 13%, var(--color-surface));
	--sidebar-topic-accent: var(--color-accent);
}
body.socialbuzz-theme .sidebar-topic-card:nth-child(6n + 5){
	--sidebar-topic-bg: color-mix(in oklab, var(--color-accent) 11%, var(--color-surface));
	--sidebar-topic-hover: color-mix(in oklab, var(--color-accent) 17%, var(--color-surface));
	--sidebar-topic-accent: var(--color-accent);
}
body.socialbuzz-theme .sidebar-topic-card:nth-child(6n){
	--sidebar-topic-bg: color-mix(in oklab, var(--color-accent) 15%, var(--color-surface));
	--sidebar-topic-hover: color-mix(in oklab, var(--color-accent) 21%, var(--color-surface));
	--sidebar-topic-accent: var(--color-accent);
}

body.socialbuzz-theme .sidebar-topic-card:hover,
body.socialbuzz-theme .sidebar-topic-card:focus-visible{
	transform: translateY(-2px);
	background: var(--sidebar-topic-hover);
	border-color: color-mix(in oklab, var(--sidebar-topic-accent) 36%, var(--color-border));
	box-shadow: var(--shadow-sm);
}

body.socialbuzz-theme .sidebar-topic-name{
	font-family: var(--font-display);
	font-size: var(--text-base);
	font-weight: var(--weight-semibold);
	color: var(--color-fg);
	line-height: var(--leading-snug);
	overflow-wrap: anywhere;
}

body.socialbuzz-theme .sidebar-topic-count{
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	width: auto;
	min-height: 22px;
	padding: 2px var(--space-2);
	border-radius: var(--radius-full);
	background: color-mix(in oklab, var(--color-surface) 76%, transparent);
	font-size: var(--text-xs);
	font-weight: var(--weight-medium);
	line-height: 1.3;
	color: var(--color-fg-muted);
}

/* ── 3. "More Posts" Section ──────────────────────────────────────────────── */
body.socialbuzz-theme .single-more-posts-section{
  background: transparent;
  padding-top: clamp(var(--space-16), 11vw, var(--space-32));
  padding-bottom: clamp(var(--space-16), 9vw, var(--space-24));
}

body.socialbuzz-theme .single-more-posts-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(var(--space-5), 5vw, var(--space-8));
}

body.socialbuzz-theme .single-more-posts-header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: clamp(var(--space-4), 2vw, var(--space-5));
  border-bottom: var(--border-width) solid var(--color-border);
  margin-bottom: clamp(var(--space-7), 4vw, var(--space-12));
}

body.socialbuzz-theme .single-more-posts-heading{
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  letter-spacing: -0.015em;
  color: var(--color-fg);
  margin: 0;
  font-family: var(--font-display);
}

body.socialbuzz-theme .single-more-posts-heading-bar{
  display: inline-block;
  width: var(--space-1);
  height: 1em;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  flex-shrink: 0;
}

body.socialbuzz-theme .single-more-posts-all-link{
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease-standard);
}

body.socialbuzz-theme .single-more-posts-all-link:hover{
  color: var(--color-primary-hover);
}

body.socialbuzz-theme .single-more-posts-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(var(--space-6), 3vw, var(--space-8));
  align-items: stretch;
}

/* More posts card */
body.socialbuzz-theme .more-post-card{
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
  transition: transform var(--duration-fast) var(--ease-standard);
}

body.socialbuzz-theme .more-post-card:hover{
  transform: translateY(-3px);
}

body.socialbuzz-theme .more-post-card-img-wrap{
  aspect-ratio: 3/2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: var(--border-width) solid var(--color-border);
}

body.socialbuzz-theme .more-post-card-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-standard);
}

body.socialbuzz-theme .more-post-card-img--empty{
  width: 100%;
  height: 100%;
  background: var(--color-surface);
}

body.socialbuzz-theme .more-post-card:hover .more-post-card-img{
  transform: scale(1.04);
}

body.socialbuzz-theme .more-post-card-body{
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-4);
}

body.socialbuzz-theme .more-post-card-cat{
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: var(--color-primary);
}

body.socialbuzz-theme .more-post-card-title{
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--color-fg);
  transition: color var(--duration-fast) var(--ease-standard);
}

body.socialbuzz-theme .more-post-card:hover .more-post-card-title{
  color: var(--color-primary);
}

/* ── Responsive: single.php ───────────────────────────────────────────────── */
@media (max-width: 1000px) {
  body.socialbuzz-theme .single-post-columns{
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: clamp(var(--space-8), 4vw, var(--space-12));
  }
}

@media (max-width: 800px) {
  /* Stack columns on tablet/mobile */
  body.socialbuzz-theme .single-post-columns{
    grid-template-columns: 1fr;
  }

  /* Fully disable sticky on the column itself when the layout stacks */
  body.socialbuzz-theme .single-post-sidebar{
    position: static;
    top: auto;
    align-self: auto;
    padding-top: 0;
  }

  body.socialbuzz-theme .sidebar-author-card{
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  body.socialbuzz-theme .single-post-title{
    font-size: clamp(1.9rem, 1.3rem + 3vw, 2.8rem);
  }

  body.socialbuzz-theme .single-more-posts-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  body.socialbuzz-theme .single-post-author-row{
    flex-direction: column;
    align-items: flex-start;
  }

  body.socialbuzz-theme .single-post-author-right{
    align-self: stretch;
  }

  body.socialbuzz-theme .single-post-share-header{
    width: 100%;
  }

  body.socialbuzz-theme .single-post-share-row{
    flex-direction: column;
    align-items: stretch;
  }

  body.socialbuzz-theme .single-post-share-row .single-post-share-header{
    width: 100%;
  }

  body.socialbuzz-theme .single-save-btn{
    flex: 1 1 auto;
    justify-content: center;
  }

  body.socialbuzz-theme .sidebar-topics-grid{
    grid-template-columns: 1fr;
  }
}

/* --- Footer Widget Overrides --- */

body.socialbuzz-theme .site-footer .widget,
body.socialbuzz-theme .site-footer .widget p,
body.socialbuzz-theme .site-footer .widget .textwidget,
body.socialbuzz-theme .site-footer .widget .wp-block-group{
  color: var(--color-footer-fg-muted);
}

body.socialbuzz-theme .site-footer .widget ul,
body.socialbuzz-theme .site-footer .widget ol,
body.socialbuzz-theme .site-footer .widget .wp-block-list,
body.socialbuzz-theme .site-footer .widget .wp-block-categories-list{
  list-style: none;
  padding-inline-start: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

body.socialbuzz-theme .site-footer .widget li{
  margin: 0;
}

body.socialbuzz-theme .site-footer .widget li a,
body.socialbuzz-theme .site-footer .widget a{
  text-decoration: none;
  border-bottom: none;
  box-shadow: none;
  color: var(--color-footer-fg-muted);
  transition:
    color var(--duration-fast, 150ms) var(--ease-standard, ease),
    transform var(--duration-fast, 150ms) var(--ease-standard, ease);
}

body.socialbuzz-theme .site-footer .widget li a{
  display: inline-flex;
  min-height: var(--space-10);
  align-items: center;
}

body.socialbuzz-theme .site-footer .widget li a:hover,
body.socialbuzz-theme .site-footer .widget a:hover{
  color: var(--color-footer-link);
}

body.socialbuzz-theme .site-footer .widget li a:hover{
  transform: translateX(var(--space-1));
}

body.socialbuzz-theme .site-footer .widget li a:focus-visible,
body.socialbuzz-theme .site-footer .widget a:focus-visible{
  outline: 2px solid var(--color-footer-fg);
  outline-offset: 2px;
  color: var(--color-footer-link);
}

/* Shared branded kicker — matches .footer-widget-title */
body.socialbuzz-theme .site-footer .widget .widget-title,
body.socialbuzz-theme .site-footer .widget .wp-block-heading,
body.socialbuzz-theme .site-footer .widget :is(h2, h3, h4, h5, h6){
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: var(--border-width, 1px) solid color-mix(in oklab, var(--color-footer-link) 42%, var(--color-footer-border));
  color: color-mix(in oklab, var(--color-footer-link) 40%, var(--color-footer-fg));
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  line-height: var(--leading-snug, 1.3);
}

body.socialbuzz-theme .site-footer .widget .wp-block-button__link,
body.socialbuzz-theme .site-footer .widget .wp-element-button,
body.socialbuzz-theme .site-footer .widget .socialbuzz-newsletter-form > :is(form, div) input[type="submit"],
body.socialbuzz-theme .site-footer .socialbuzz-newsletter-form input[type="submit"],
body.socialbuzz-theme .site-footer .socialbuzz-newsletter-form button[type="submit"]{
  background-color: var(--color-primary);
  color: var(--color-primary-contrast);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  padding: var(--space-3) var(--space-5);
  border: none;
}

body.socialbuzz-theme .site-footer .widget .socialbuzz-newsletter-form :is(input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]), textarea, select),
body.socialbuzz-theme .site-footer .socialbuzz-newsletter-form :is(input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]), textarea, select){
  background: var(--color-footer-surface);
  border: var(--border-width, 1px) solid var(--color-footer-border);
  border-radius: var(--radius-md);
  color: var(--color-footer-fg);
}

body.socialbuzz-theme .site-footer .widget .socialbuzz-newsletter-form :is(input, textarea, select)::placeholder,
body.socialbuzz-theme .site-footer .socialbuzz-newsletter-form :is(input, textarea, select)::placeholder{
  color: var(--color-footer-fg-subtle);
}

body.socialbuzz-theme .site-footer .widget .wp-block-social-links{
  gap: var(--space-3);
  margin-top: var(--space-1);
  flex-wrap: wrap;
}

body.socialbuzz-theme .site-footer .widget .wp-block-social-link{
  background-color: var(--color-footer-surface);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-10);
  height: var(--space-10);
  min-width: var(--space-10);
  min-height: var(--space-10);
  transition: background-color var(--duration-fast, 150ms) var(--ease-standard, ease), color var(--duration-fast, 150ms) var(--ease-standard, ease);
}

body.socialbuzz-theme .site-footer .widget .wp-block-social-link a{
  color: var(--color-footer-fg);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
  min-height: 0;
}

body.socialbuzz-theme .site-footer .widget .wp-block-social-link:hover,
body.socialbuzz-theme .site-footer .widget .wp-block-social-link:focus-within{
  background-color: var(--color-primary);
}

body.socialbuzz-theme .site-footer .widget .wp-block-social-link:hover a,
body.socialbuzz-theme .site-footer .widget .wp-block-social-link:focus-within a{
  color: var(--color-primary-contrast);
}

body.socialbuzz-theme .site-footer .widget .wp-block-social-link a:focus-visible{
  outline: 2px solid var(--color-footer-fg);
  outline-offset: 2px;
}

body.socialbuzz-theme .site-footer .widget .wp-block-social-link svg{
  fill: currentColor;
  width: var(--space-4);
  height: var(--space-4);
}

/* --- Topics Page --- */

body.socialbuzz-theme .topics-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 800px) {
  body.socialbuzz-theme .topics-grid{
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

body.socialbuzz-theme .topic-card{
  background-color: var(--color-primary, #B34E2B);
  border-radius: 12px;
  padding: 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--color-primary-contrast);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.socialbuzz-theme .topic-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--color-primary-contrast);
}

body.socialbuzz-theme .topic-card-count{
  background: color-mix(in oklab, var(--color-primary-contrast) 15%, transparent);
  border-radius: 6px;
  padding: 6px 12px;
  text-align: center;
  font-weight: 700;
  color: var(--color-primary-contrast);
}

body.socialbuzz-theme .topic-card-title{
  font-family: var(--font-display, Georgia, serif);
  margin: 0 0 6px 0;
  font-size: 1.5rem;
  color: var(--color-primary-contrast);
}

body.socialbuzz-theme .topic-card-link{
  font-family: var(--font-sans, system-ui, sans-serif);
  color: color-mix(in oklab, var(--color-primary-contrast) 85%, transparent);
  font-size: 0.875rem;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & ALIGNMENT AUDIT
   ========================================================================== */

/* 1. Global Overflow & Spacing Protection (entry-content media: entry-content.css) */
body.socialbuzz-theme .socialbuzz-front-page :where(img, video, iframe),
body.socialbuzz-theme .topics-page :where(img, video, iframe),
body.socialbuzz-theme .site-header img,
body.socialbuzz-theme .site-ticker img,
body.socialbuzz-theme .site-footer img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent long words or URLs from causing horizontal scrollbars on phones */
body.socialbuzz-theme .site-main :where(h1,
body.socialbuzz-theme h2,
body.socialbuzz-theme h3,
body.socialbuzz-theme h4,
body.socialbuzz-theme h5,
body.socialbuzz-theme h6),
body.socialbuzz-theme .single-post-content,
body.socialbuzz-theme .site-footer .widget,
body.socialbuzz-theme .post-card,
body.socialbuzz-theme .site-main article{
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Ensure CSS Grid and Flexbox column items can shrink below their min content size */
body.socialbuzz-theme .post-grid > *,
body.socialbuzz-theme .featured-grid > *,
body.socialbuzz-theme .single-post-columns > *,
body.socialbuzz-theme .inner-page-layout > *,
body.socialbuzz-theme .site-footer-columns > *,
body.socialbuzz-theme .home-latest-layout > *{
  min-width: 0;
}

/* 2. Breakpoints & Grid Overrides */

/* Topics Grid overrides for explicit tablet/mobile scaling */
@media (max-width: 800px) {
  body.socialbuzz-theme .topics-grid{
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  }
}

@media (max-width: 540px) {
  body.socialbuzz-theme .topics-grid{
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   SocialBuzzer production components
   ========================================================================== */

@keyframes socialbuzz-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

body.socialbuzz-theme .screen-reader-text{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.socialbuzz-theme .screen-reader-text:focus{
  clip: auto;
  width: auto;
  height: auto;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  z-index: 100000;
  background: var(--color-bg);
  color: var(--color-fg);
}

/* ----- Latest posts ticker ----- */
body.socialbuzz-theme .site-ticker{
  --ticker-bar-height: var(--space-12);
  --ticker-thumb-size: var(--space-8);
  --ticker-gap: var(--space-3);
  --ticker-pad-inline: clamp(var(--space-4), 2.4vw, var(--space-7));
  --ticker-fade: var(--space-10);
  --ticker-fg: var(--color-primary-contrast);
  --ticker-divider: color-mix(in srgb, var(--color-primary-contrast) 14%, transparent);
  --ticker-duration: 44s;
  overflow: hidden;
  background: var(--color-primary);
  color: var(--ticker-fg);
}

body.socialbuzz-theme .site-ticker-viewport{
  min-height: var(--ticker-bar-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 var(--ticker-fade),
    #000 calc(100% - var(--ticker-fade)),
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 var(--ticker-fade),
    #000 calc(100% - var(--ticker-fade)),
    transparent
  );
}

body.socialbuzz-theme .ticker-track,
body.socialbuzz-theme .ticker-track-inner{
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  width: max-content !important;
  width: -moz-max-content !important;
  min-width: max-content !important;
  flex-shrink: 0 !important;
}

body.socialbuzz-theme .ticker-track{
  animation: socialbuzz-marquee var(--ticker-duration) linear infinite;
}

body.socialbuzz-theme .ticker-track:hover,
body.socialbuzz-theme .ticker-track:focus-within{
  animation-play-state: paused;
}

body.socialbuzz-theme .ticker-item{
  display: flex !important;
  flex-direction: row !important;
  flex: 0 0 max-content !important;
  flex-shrink: 0 !important;
  align-items: center !important;
  gap: var(--ticker-gap);
  min-width: max-content !important;
  min-height: var(--ticker-bar-height);
  padding-block: 0;
  padding-inline: var(--ticker-pad-inline);
  border-inline-end: var(--border-width) solid var(--ticker-divider);
  color: var(--ticker-fg);
  text-decoration: none;
  white-space: nowrap !important;
  transition: opacity var(--duration-fast) var(--ease-standard);
}

body.socialbuzz-theme .ticker-item:hover{
  opacity: 0.72;
}

body.socialbuzz-theme .ticker-item:focus-visible{
  outline: 2px solid var(--color-primary-contrast);
  outline-offset: -2px;
}

body.socialbuzz-theme .ticker-thumbnail{
  flex: 0 0 var(--ticker-thumb-size);
  width: var(--ticker-thumb-size);
  height: var(--ticker-thumb-size);
  overflow: hidden;
  border-radius: var(--radius-sm);
}

body.socialbuzz-theme .ticker-thumbnail img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

body.socialbuzz-theme .ticker-title{
  flex: 0 0 auto;
  color: var(--ticker-fg);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  white-space: nowrap;
}

@media (max-width: 768px) {
  body.socialbuzz-theme .site-ticker{
    --ticker-bar-height: var(--space-10);
    --ticker-thumb-size: var(--space-7);
    --ticker-gap: var(--space-2);
    --ticker-pad-inline: var(--space-4);
    --ticker-fade: var(--space-6);
    --ticker-duration: 56s;
  }
}

@media (max-width: 480px) {
  body.socialbuzz-theme .site-ticker{
    --ticker-fade: var(--space-4);
    --ticker-pad-inline: var(--space-3);
  }
}

body.socialbuzz-theme .site-header{
  --socialbuzz-z-nav: 60;
  position: sticky;
  top: 0;
  z-index: var(--socialbuzz-z-nav);
  border-bottom: var(--border-width) solid color-mix(in oklab, var(--color-primary) 28%, var(--color-border));
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base, 200ms) var(--ease-standard, ease);
}

body.socialbuzz-theme .site-header.is-header-hidden{
  transform: translateY(-100%);
  pointer-events: none;
}

body.socialbuzz-theme .site-header-inner{
  position: relative;
  max-width: 1180px;
  min-height: 68px;
  margin: 0 auto;
  padding: var(--space-2) clamp(var(--space-4), 3.5vw, var(--space-8));
  display: flex;
  align-items: center;
  gap: clamp(var(--space-2), 1.75vw, var(--space-5));
}

body.socialbuzz-theme .site-branding{
  flex: 0 1 auto;
  min-width: 0;
  max-width: clamp(9rem, 22vw, 16rem);
}
body.socialbuzz-theme .site-title{
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-fg);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.15rem + .6vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -.02em;
  text-decoration: none;
}
body.socialbuzz-theme .custom-logo-link{
  display: flex;
  align-items: center;
  max-width: 100%;
}
body.socialbuzz-theme .custom-logo{
  width: auto;
  max-width: 100%;
  max-height: 48px;
}
body.socialbuzz-theme .site-header-divider{
  flex: 0 0 1px;
  width: 1px;
  height: 22px;
  background: var(--color-border);
}
body.socialbuzz-theme .main-navigation{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(var(--space-3), 2vw, var(--space-6));
}
body.socialbuzz-theme .main-navigation__panel{
  display: flex;
  align-items: center;
  gap: inherit;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}
body.socialbuzz-theme .main-navigation .primary-menu{ flex: 1 1 auto; }
body.socialbuzz-theme .header-subscribe-button,
body.socialbuzz-theme .sb-btn-primary,
body.socialbuzz-theme .sb-btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background var(--duration-fast, 120ms), border-color var(--duration-fast, 120ms), color var(--duration-fast, 120ms);
}
body.socialbuzz-theme .header-subscribe-button,
body.socialbuzz-theme .sb-btn-primary{ background: var(--color-primary); color: var(--color-primary-contrast); }
body.socialbuzz-theme .header-subscribe-button:hover,
body.socialbuzz-theme .sb-btn-primary:hover{ background: var(--color-primary-hover); color: var(--color-primary-contrast); }
body.socialbuzz-theme .sb-btn-secondary{ border-color: var(--color-border-strong); color: var(--color-fg); background: transparent; }
body.socialbuzz-theme .sb-btn-secondary:hover{ border-color: var(--color-primary); color: var(--color-primary); }
body.socialbuzz-theme .mobile-menu-toggle{
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin-inline-start: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-fg);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    color var(--duration-fast, 120ms) var(--ease-standard, ease),
    background var(--duration-fast, 120ms) var(--ease-standard, ease);
}
body.socialbuzz-theme .mobile-menu-toggle:hover,
body.socialbuzz-theme .mobile-menu-toggle[aria-expanded="true"]{
  color: var(--color-primary);
  background: var(--nav-item-hover, var(--color-surface-tint));
}
body.socialbuzz-theme .mobile-menu-toggle:focus-visible{
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}
body.socialbuzz-theme .mobile-menu-toggle__bars{
  position: relative;
  display: block;
  width: var(--space-5);
  height: var(--space-4);
}
body.socialbuzz-theme .mobile-menu-toggle__bar{
  position: absolute;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-full);
  background: currentColor;
  transition:
    transform var(--duration-base) var(--ease-standard),
    opacity var(--duration-fast) var(--ease-standard),
    top var(--duration-base) var(--ease-standard);
}
body.socialbuzz-theme .mobile-menu-toggle__bar:nth-child(1){ top: 0; }
body.socialbuzz-theme .mobile-menu-toggle__bar:nth-child(2){ top: 50%; margin-top: -1px; }
body.socialbuzz-theme .mobile-menu-toggle__bar:nth-child(3){ top: 100%; margin-top: -2px; }
body.socialbuzz-theme .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__bar:nth-child(1),
body.socialbuzz-theme .mobile-menu-toggle.is-open .mobile-menu-toggle__bar:nth-child(1){
  top: 50%;
  margin-top: -1px;
  transform: rotate(45deg);
}
body.socialbuzz-theme .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__bar:nth-child(2),
body.socialbuzz-theme .mobile-menu-toggle.is-open .mobile-menu-toggle__bar:nth-child(2){
  opacity: 0;
}
body.socialbuzz-theme .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__bar:nth-child(3),
body.socialbuzz-theme .mobile-menu-toggle.is-open .mobile-menu-toggle__bar:nth-child(3){
  top: 50%;
  margin-top: -1px;
  transform: rotate(-45deg);
}

body.socialbuzz-theme .site-footer{
  background: var(--color-footer);
  color: var(--color-footer-fg);
  border-top: var(--border-width, 1px) solid var(--color-footer-border);
}
body.socialbuzz-theme .site-footer-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(var(--space-10), 5vw, var(--space-16)) clamp(var(--space-5), 5vw, var(--space-8)) clamp(var(--space-5), 2.5vw, var(--space-7));
}
body.socialbuzz-theme .site-footer-columns{
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) minmax(280px, 1.15fr) minmax(180px, .8fr);
  column-gap: clamp(var(--space-8), 5vw, var(--space-16));
  row-gap: var(--space-10);
  align-items: start;
}
body.socialbuzz-theme .site-footer-column{
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
  width: 100%;
}
body.socialbuzz-theme .site-footer-brand{
  align-content: start;
  max-width: 34rem;
}
body.socialbuzz-theme .site-footer-brand-description{
  color: var(--color-footer-fg-muted);
  line-height: var(--leading-relaxed);
  max-width: 34ch;
  margin: 0;
  font-size: var(--text-base);
}
body.socialbuzz-theme .footer-logo-link{
  display: inline-flex;
  align-self: flex-start;
  max-width: min(100%, 240px);
  border-radius: var(--radius-sm);
}
body.socialbuzz-theme .footer-logo{
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  object-position: left center;
}
body.socialbuzz-theme .footer-site-title{
  color: var(--color-footer-fg);
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 1.35rem + .35vw, var(--text-3xl));
  font-weight: 600;
  line-height: var(--leading-tight);
  text-decoration: none;
  transition: color var(--duration-fast, 150ms) var(--ease-standard, ease);
}
body.socialbuzz-theme .footer-site-title:hover,
body.socialbuzz-theme .footer-site-title:focus-visible{
  color: var(--color-footer-link);
}
body.socialbuzz-theme .footer-widget-title{
  position: relative;
  margin: 0 0 var(--space-2);
  padding-bottom: var(--space-3);
  border: 0;
  color: color-mix(in oklab, var(--color-footer-link) 40%, var(--color-footer-fg));
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  line-height: var(--leading-snug, 1.3);
}
body.socialbuzz-theme .footer-widget-title::after{
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: var(--space-10);
  height: 2px;
  border-radius: var(--radius-full);
  background: color-mix(in oklab, var(--color-footer-link) 65%, var(--color-footer-border));
}
body.socialbuzz-theme .footer-menu,
body.socialbuzz-theme .footer-topic-list{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}
body.socialbuzz-theme .footer-menu li,
body.socialbuzz-theme .footer-topic-list li{
  min-width: 0;
}
body.socialbuzz-theme .footer-menu a,
body.socialbuzz-theme .footer-topic-list a{
  display: flex;
  width: 100%;
  min-height: 36px;
  align-items: center;
  gap: var(--space-2);
  padding-block: var(--space-1);
  color: var(--color-footer-fg-muted);
  line-height: var(--leading-snug);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    color var(--duration-fast, 150ms) var(--ease-standard, ease),
    transform var(--duration-fast, 150ms) var(--ease-standard, ease);
}
body.socialbuzz-theme .footer-menu a::before,
body.socialbuzz-theme .footer-topic-list a::before{
  content: "";
  flex: 0 0 auto;
  width: var(--space-2);
  height: 1px;
  background: var(--color-footer-border);
  transition:
    width var(--duration-fast, 150ms) var(--ease-standard, ease),
    background-color var(--duration-fast, 150ms) var(--ease-standard, ease);
}
body.socialbuzz-theme .footer-menu a:hover,
body.socialbuzz-theme .footer-topic-list a:hover,
body.socialbuzz-theme .footer-menu a:focus-visible,
body.socialbuzz-theme .footer-topic-list a:focus-visible{
  color: var(--color-footer-link);
}
body.socialbuzz-theme .footer-menu a:hover,
body.socialbuzz-theme .footer-topic-list a:hover{
  transform: translateX(2px);
}
body.socialbuzz-theme .footer-menu a:hover::before,
body.socialbuzz-theme .footer-topic-list a:hover::before,
body.socialbuzz-theme .footer-menu a:focus-visible::before,
body.socialbuzz-theme .footer-topic-list a:focus-visible::before{
  width: var(--space-3);
  background: var(--color-footer-link);
}
body.socialbuzz-theme .footer-menu a:focus-visible,
body.socialbuzz-theme .footer-topic-list a:focus-visible,
body.socialbuzz-theme .footer-logo-link:focus-visible,
body.socialbuzz-theme .footer-site-title:focus-visible{
  outline: 2px solid var(--color-footer-fg);
  outline-offset: 2px;
}
@media (min-width: 1100px){
  body.socialbuzz-theme .site-footer-topics .footer-topic-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(var(--space-4), 2vw, var(--space-7));
  }
}
body.socialbuzz-theme .footer-social-links{
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
body.socialbuzz-theme .footer-social-links a{
  width: var(--space-10);
  height: var(--space-10);
  min-width: var(--space-10);
  min-height: var(--space-10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-footer-surface);
  color: var(--color-footer-fg);
  transition: background-color var(--duration-fast, 150ms) var(--ease-standard, ease), color var(--duration-fast, 150ms) var(--ease-standard, ease);
}
body.socialbuzz-theme .footer-social-links a:hover,
body.socialbuzz-theme .footer-social-links a:focus-visible{
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}
body.socialbuzz-theme .footer-social-links a:focus-visible{
  outline: 2px solid var(--color-footer-fg);
  outline-offset: 2px;
}
body.socialbuzz-theme .home-social-link{
  width: var(--space-10);
  height: var(--space-10);
  min-width: var(--space-10);
  min-height: var(--space-10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-primary-contrast);
}
body.socialbuzz-theme .footer-social-links svg,
body.socialbuzz-theme .home-social-link svg{
  width: var(--space-4);
  height: var(--space-4);
}
body.socialbuzz-theme .site-footer-bottom{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: clamp(var(--space-7), 3vw, var(--space-10));
  padding-top: var(--space-5);
  border-top: var(--border-width, 1px) solid var(--color-footer-border);
  color: var(--color-footer-fg-subtle);
  font-size: var(--text-sm);
}
body.socialbuzz-theme .site-footer-copyright{
  flex: 0 1 auto;
  min-width: 0;
}
body.socialbuzz-theme .site-footer-affiliate{
  flex: 0 1 auto;
  margin: 0;
  padding-inline: var(--space-2);
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
  color: var(--color-footer-fg-subtle);
  text-align: center;
}
@media (min-width: 769px) {
  body.socialbuzz-theme .site-footer-affiliate{
    white-space: nowrap;
  }
}
body.socialbuzz-theme .site-footer-bottom .socialbuzz-consent-reopen{
  flex: 0 0 auto;
  margin-inline-start: auto;
}
body.socialbuzz-theme .site-footer-bottom a{
  color: var(--color-footer-fg-muted);
  text-decoration: none;
  transition: color var(--duration-fast, 150ms) var(--ease-standard, ease);
}
body.socialbuzz-theme .site-footer-bottom a:hover,
body.socialbuzz-theme .site-footer-bottom a:focus-visible{
  color: var(--color-footer-link);
}
body.socialbuzz-theme .site-footer-bottom a:focus-visible{
  outline: 2px solid var(--color-footer-fg);
  outline-offset: 2px;
}

/* Back to top — fixed FAB, progressive enhancement */
body.socialbuzz-theme{
  --socialbuzz-z-back-top: 52;
  --socialbuzz-back-top-offset: var(--space-5);
}
body.socialbuzz-theme .socialbuzz-back-to-top{
  position: fixed;
  inset-inline-end: var(--space-5);
  inset-block-end: var(--socialbuzz-back-top-offset);
  z-index: var(--socialbuzz-z-back-top);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-10);
  height: var(--space-10);
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: var(--border-width) solid var(--color-primary);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(var(--space-2));
  transition:
    opacity var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard),
    visibility var(--duration-fast) var(--ease-standard),
    background var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard);
}
body.socialbuzz-theme .socialbuzz-back-to-top.is-visible{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
body.socialbuzz-theme .socialbuzz-back-to-top:hover{
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-primary-contrast);
}
body.socialbuzz-theme .socialbuzz-back-to-top:focus-visible{
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}
body.socialbuzz-theme .socialbuzz-back-to-top__icon{
  display: inline-flex;
  width: var(--space-5);
  height: var(--space-5);
  pointer-events: none;
}
body.socialbuzz-theme .socialbuzz-back-to-top__icon svg{
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
html.socialbuzz-ad-sticky-active body.socialbuzz-theme{
  --socialbuzz-back-top-offset: calc(var(--space-5) + var(--socialbuzz-ad-anchor-offset, 5.5rem));
}
body.socialbuzz-theme.socialbuzz-ads-auto{
  --socialbuzz-back-top-offset: calc(var(--space-5) + var(--socialbuzz-ad-anchor-offset, 6.5rem));
}
@media (max-width: 540px) {
  body.socialbuzz-theme .socialbuzz-back-to-top{
    inset-inline-end: var(--space-4);
  }
}

body.socialbuzz-theme .home-section{ padding: clamp(56px, 8vw, 112px) 0; }
body.socialbuzz-theme .home-section-inner{ max-width: 1180px; margin: 0 auto; padding-right: clamp(20px, 5vw, 32px); padding-left: clamp(20px, 5vw, 32px); }
body.socialbuzz-theme .home-hero{
	background: var(--color-surface-tint);
	overflow-x: clip;
}
body.socialbuzz-theme .home-hero-inner{
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-8);
	align-items: center;
	justify-items: stretch;
	padding-block: clamp(var(--space-8), 7vw, var(--space-12));
}
body.socialbuzz-theme .home-hero-copy{
	max-width: 720px;
	width: 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}
body.socialbuzz-theme .home-hero h1{
	max-width: 24ch;
	margin: 0;
	font-size: clamp(1.85rem, 1.15rem + 3.2vw, 3.4rem);
	line-height: var(--leading-tight);
	letter-spacing: -.026em;
}
body.socialbuzz-theme .home-hero p{
	max-width: 56ch;
	margin: 0;
	color: var(--color-fg-muted);
	font-size: var(--text-lg);
	line-height: var(--leading-relaxed);
}
body.socialbuzz-theme .home-hero-actions,
body.socialbuzz-theme .home-about-actions{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3);
	margin-top: var(--space-1);
}
body.socialbuzz-theme .home-hero-media{
	--hero-card-w: min(64vw, 220px);
	--hero-fan-x: clamp(36px, 11vw, 48px);
	--hero-card-ease: var(--ease-out);
	--hero-card-duration: 420ms;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-5);
	width: 100%;
	max-width: calc(var(--hero-card-w) + (var(--hero-fan-x) * 2) + var(--space-8));
	margin-inline: auto;
	padding-inline: clamp(var(--space-6), 8vw, var(--space-10));
	overflow: visible;
	touch-action: pan-y;
}
body.socialbuzz-theme .home-hero-cards{
	position: relative;
	z-index: 0;
	isolation: isolate;
	/* Explicit width + aspect-ratio: absolute cards contribute no in-flow height;
	   calc(min(...) * n) on --hero-card-w can invalidate min-height and collapse the stack.
	   flex: 0 0 auto + ::before sizer keep height under align-items:center parents. */
	flex: 0 0 auto;
	width: var(--hero-card-w);
	max-width: 100%;
	aspect-ratio: 3 / 4;
	overflow: visible;
	perspective: 1200px;
	transform-style: preserve-3d;
}
body.socialbuzz-theme .home-hero-cards::before{
	content: "";
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
}
body.socialbuzz-theme .home-hero-card{
	position: absolute;
	top: 50%;
	left: 50%;
	width: var(--hero-card-w);
	aspect-ratio: 3 / 4;
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--color-bg-alt);
	box-shadow: var(--shadow-sm);
	transform:
		translate(-50%, -50%)
		translateZ(-80px)
		translateX(calc((var(--i, 0) - 1) * 6px))
		translateY(calc((var(--i, 0) - 1) * 4px))
		rotateY(-4deg)
		scale(0.8);
	opacity: 0.22;
	z-index: 1;
	pointer-events: none;
	will-change: transform, opacity;
	transition:
		transform var(--hero-card-duration) var(--hero-card-ease),
		opacity var(--hero-card-duration) var(--hero-card-ease),
		box-shadow var(--duration-base) var(--hero-card-ease);
}
body.socialbuzz-theme .home-hero-card img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
body.socialbuzz-theme .home-hero-card.is-prev{
	opacity: 0.6;
	z-index: 2;
	transform:
		translate(-50%, -50%)
		translateZ(-56px)
		translateX(calc(var(--hero-fan-x) * -1))
		translateY(6px)
		rotateZ(-6deg)
		rotateY(14deg)
		scale(0.9);
}
body.socialbuzz-theme .home-hero-card.is-next{
	opacity: 0.6;
	z-index: 3;
	transform:
		translate(-50%, -50%)
		translateZ(-56px)
		translateX(var(--hero-fan-x))
		translateY(6px)
		rotateZ(6deg)
		rotateY(-14deg)
		scale(0.9);
}
body.socialbuzz-theme .home-hero-card.is-active{
	opacity: 1;
	z-index: 10;
	pointer-events: none;
	box-shadow: var(--shadow-md);
	transform:
		translate(-50%, -50%)
		translateZ(28px)
		translateX(0)
		translateY(0)
		rotateZ(0deg)
		rotateY(0deg)
		scale(1);
}
body.socialbuzz-theme .home-hero-cards-controls{
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-2);
	width: 100%;
	margin-top: 0;
	flex-shrink: 0;
}
body.socialbuzz-theme .home-hero-cards-progress{
	width: min(100%, 160px);
	height: 3px;
	border-radius: var(--radius-full);
	background: var(--color-border);
	overflow: hidden;
}
body.socialbuzz-theme .home-hero-cards-progress__bar{
	display: block;
	height: 100%;
	width: 100%;
	border-radius: inherit;
	background: var(--color-primary);
	transform-origin: inline-start center;
	transform: scaleX(0);
}
body.socialbuzz-theme .home-hero-cards-progress.is-running .home-hero-cards-progress__bar{
	animation: socialbuzz-hero-progress 3s linear forwards;
}
body.socialbuzz-theme .home-hero-cards-progress.is-paused .home-hero-cards-progress__bar{
	animation-play-state: paused;
}
@keyframes socialbuzz-hero-progress{
	from{ transform: scaleX(0); }
	to{ transform: scaleX(1); }
}
body.socialbuzz-theme .home-hero-cards-dots{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--space-1);
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 100%;
}
body.socialbuzz-theme .home-hero-cards-dots li{
	margin: 0;
	padding: 0;
}
body.socialbuzz-theme .home-hero-cards-dot{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: var(--color-fg-subtle);
}
body.socialbuzz-theme .home-hero-cards-dot::before{
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-radius: var(--radius-full);
	background: currentColor;
	opacity: 0.45;
	transition:
		transform var(--duration-base) var(--ease-out),
		opacity var(--duration-base) var(--ease-out),
		background-color var(--duration-base) var(--ease-out);
}
body.socialbuzz-theme .home-hero-cards-dot[aria-current="true"]{
	color: var(--color-primary);
}
body.socialbuzz-theme .home-hero-cards-dot[aria-current="true"]::before{
	opacity: 1;
	transform: scale(1.25);
	background: var(--color-primary);
}
body.socialbuzz-theme .home-hero-cards-dot:focus-visible{
	outline: 3px solid var(--color-focus-ring);
	outline-offset: 2px;
	border-radius: var(--radius-md);
}
/* Mobile: visual deck first, then copy — smoother stack + thumb-friendly CTA */
@media (max-width: 899px) {
	body.socialbuzz-theme .home-hero-inner{
		gap: var(--space-6);
		padding-block: clamp(var(--space-6), 5vw, var(--space-10)) clamp(var(--space-10), 8vw, var(--space-12));
	}
	body.socialbuzz-theme .home-hero-media{
		order: -1;
		--hero-card-w: min(58vw, 210px);
		--hero-fan-x: clamp(28px, 9vw, 42px);
		padding-inline: clamp(var(--space-5), 7vw, var(--space-8));
		gap: var(--space-4);
	}
	body.socialbuzz-theme .home-hero-copy{
		gap: var(--space-4);
		text-align: start;
	}
	body.socialbuzz-theme .home-hero h1{
		max-width: 18ch;
		font-size: clamp(1.75rem, 1.05rem + 4vw, 2.5rem);
	}
	body.socialbuzz-theme .home-hero p{
		font-size: var(--text-base);
	}
	body.socialbuzz-theme .home-hero-actions{
		width: 100%;
	}
	body.socialbuzz-theme .home-hero-actions .sb-btn-primary{
		flex: 1 1 auto;
		min-width: min(100%, 12rem);
		justify-content: center;
	}
}
@media (max-width: 480px) {
	body.socialbuzz-theme .home-hero-media{
		--hero-card-w: min(62vw, 200px);
		--hero-fan-x: clamp(24px, 9vw, 36px);
		gap: var(--space-3);
	}
	body.socialbuzz-theme .home-hero-inner{
		gap: var(--space-5);
	}
}
@media (min-width: 900px) {
	body.socialbuzz-theme .home-hero-inner{
		grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
		gap: clamp(var(--space-8), 4vw, var(--space-16));
		min-height: min(72vh, 720px);
		align-items: center;
		justify-items: stretch;
		padding-block: clamp(64px, 9vw, 112px);
	}
	body.socialbuzz-theme .home-hero-copy{
		max-width: none;
		order: 0;
		gap: var(--space-5);
	}
	body.socialbuzz-theme .home-hero-media{
		order: 0;
		--hero-card-w: min(100%, 280px);
		--hero-fan-x: clamp(44px, 5vw, 64px);
		max-width: none;
		width: 100%;
		margin-inline: 0;
		padding-inline: clamp(var(--space-6), 4vw, var(--space-10));
	}
	body.socialbuzz-theme .home-hero h1{
		font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.4rem);
	}
}
body.socialbuzz-theme .sb-text-link{ display: inline-flex; align-items: center; min-height: 44px; color: var(--color-primary); font-weight: 600; text-decoration: none; }
body.socialbuzz-theme .section-kicker{ color: var(--color-primary); font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
body.socialbuzz-theme .home-section-header{ display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; padding-bottom: clamp(16px, 2vw, 20px); margin-bottom: clamp(28px, 4vw, 44px); }
body.socialbuzz-theme .home-section-header > div{ display: flex; flex-direction: column; gap: 8px; }
body.socialbuzz-theme .home-section-header h2{ margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem); }
body.socialbuzz-theme .home-section-header > span{ color: var(--color-fg-subtle); }
body.socialbuzz-theme .featured-main-img--empty,
body.socialbuzz-theme .featured-side-thumb--empty,
body.socialbuzz-theme .worth-reading-image--empty{ display: block; background: color-mix(in oklab, var(--color-contrast-border) 55%, var(--color-contrast-surface)); }
body.socialbuzz-theme .featured-side-copy{ flex: 1 1 0; display: flex; flex-direction: column; gap: 4px; }
body.socialbuzz-theme .home-latest{ background: var(--color-bg-alt); }
body.socialbuzz-theme .home-latest-layout{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); gap: clamp(36px, 5vw, 80px); align-items: start; }
body.socialbuzz-theme .home-latest-list{ display: flex; flex-direction: column; gap: 0; }
body.socialbuzz-theme .home-latest-item{ display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--color-border); background: transparent; }
body.socialbuzz-theme .home-latest-thumb{ width: 104px; height: 78px; flex: 0 0 104px; overflow: hidden; border-radius: var(--radius-md); }
body.socialbuzz-theme .home-latest-thumb img{ width: 100%; height: 100%; object-fit: cover; }
body.socialbuzz-theme .home-latest-meta{ display: flex; gap: 8px; color: var(--color-fg-subtle); font-size: var(--text-xs); text-transform: uppercase; }
body.socialbuzz-theme .home-latest-meta a{ color: var(--color-primary); font-weight: 700; text-decoration: none; }
body.socialbuzz-theme .home-latest-item h3{ margin: 6px 0 0; font-size: var(--text-lg); }
body.socialbuzz-theme .home-latest-item h3 a{ color: var(--color-fg); text-decoration: none; }
body.socialbuzz-theme .home-latest-list > .sb-btn-secondary{ align-self: flex-start; margin-top: 28px; }
body.socialbuzz-theme .home-popular{ position: sticky; top: 92px; }
body.socialbuzz-theme .home-sidebar-title{ padding-bottom: 12px; border-bottom: 2px solid var(--color-fg); color: var(--color-fg); font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
body.socialbuzz-theme .home-popular-item{ display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--color-border); color: var(--color-fg); text-decoration: none; }
body.socialbuzz-theme .home-popular-rank{ flex: 0 0 22px; color: var(--color-primary); font-family: var(--font-display); font-size: var(--text-lg); }
body.socialbuzz-theme .home-popular-thumb{ width: 56px; height: 56px; flex: 0 0 56px; overflow: hidden; border-radius: var(--radius-sm); }
body.socialbuzz-theme .home-popular-thumb img{ width: 100%; height: 100%; object-fit: cover; }
body.socialbuzz-theme .home-popular-item strong,
body.socialbuzz-theme .home-popular-title{ font-size: var(--text-base); line-height: var(--leading-snug); margin: 0; font-weight: 700; }
body.socialbuzz-theme .home-topic-scroll{
	--home-topic-gap: clamp(var(--space-3), 1.8vw, var(--space-6));
	--home-topic-row-gap: clamp(var(--space-4), 2vw, var(--space-6));
	--home-topic-card-width: clamp(230px, 22vw, 290px);
}
body.socialbuzz-theme .home-topic-carousel--moving{
	display: flex;
	flex-direction: column;
	gap: var(--home-topic-row-gap);
	overflow: hidden;
	padding-block: var(--space-2);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--space-5), #000 calc(100% - var(--space-5)), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 var(--space-5), #000 calc(100% - var(--space-5)), transparent);
}
body.socialbuzz-theme .home-topic-row{
	min-width: 0;
}
body.socialbuzz-theme .home-topic-track{
	display: flex;
	width: max-content;
	will-change: transform;
}
body.socialbuzz-theme .home-topic-group{
	display: flex;
	flex: 0 0 auto;
	gap: var(--home-topic-gap);
	padding-inline-end: var(--home-topic-gap);
}
body.socialbuzz-theme .home-topic-carousel--moving .home-topic-track{
	animation: home-topic-marquee 34s linear infinite;
}
body.socialbuzz-theme .home-topic-carousel--moving .home-topic-row--2 .home-topic-track{
	animation-direction: reverse;
	animation-duration: 38s;
}
body.socialbuzz-theme .home-topic-carousel--moving:hover .home-topic-track,
body.socialbuzz-theme .home-topic-carousel--moving:focus-within .home-topic-track{
	animation-play-state: paused;
}
body.socialbuzz-theme .home-topic-carousel--static{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: var(--home-topic-row-gap);
}
body.socialbuzz-theme .home-topic-carousel--static .home-topic-row,
body.socialbuzz-theme .home-topic-carousel--static .home-topic-track,
body.socialbuzz-theme .home-topic-carousel--static .home-topic-group{
	display: contents;
}
body.socialbuzz-theme .home-topic-carousel--static .home-topic-group--clone{
	display: none;
}
@keyframes home-topic-marquee{
	from{ transform: translate3d(0, 0, 0); }
	to{ transform: translate3d(-50%, 0, 0); }
}
body.socialbuzz-theme .worth-reading-scroll{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(var(--space-4), 2vw, var(--space-6));
	align-items: stretch;
}
@media (max-width: 900px){
	body.socialbuzz-theme .worth-reading-scroll{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px){
	body.socialbuzz-theme .worth-reading-scroll{
		grid-template-columns: minmax(0, 1fr);
	}
}
body.socialbuzz-theme .home-topic-card{
	position: relative;
	min-height: clamp(140px, 22vw, 160px);
	padding: clamp(var(--space-5), 2.4vw, var(--space-6));
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-4);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border-subtle);
	box-shadow: var(--shadow-sm);
	color: var(--home-topic-1-fg);
	text-decoration: none;
	transition:
		transform var(--duration-base) var(--ease-standard),
		background var(--duration-base) var(--ease-standard),
		box-shadow var(--duration-base) var(--ease-standard),
		border-color var(--duration-base) var(--ease-standard);
}
body.socialbuzz-theme .home-topic-card:hover{
	transform: translateY(calc(var(--space-1) * -1));
	box-shadow: var(--shadow-md);
	border-color: var(--color-border);
}
body.socialbuzz-theme .home-topic-card:focus-visible{
	outline: 3px solid var(--color-focus-ring);
	outline-offset: 3px;
}
body.socialbuzz-theme .home-topic-carousel--moving .home-topic-card{
	flex: 0 0 var(--home-topic-card-width);
	width: var(--home-topic-card-width);
}

@media (max-width: 768px){
	body.socialbuzz-theme .home-topic-scroll{
		--home-topic-card-width: clamp(200px, 72vw, 250px);
		--home-topic-row-gap: var(--space-4);
	}
	body.socialbuzz-theme .home-topic-carousel--moving{
		margin-inline: calc(var(--space-2) * -1);
	}
	body.socialbuzz-theme .home-topic-card{
		min-height: 132px;
		padding: var(--space-5);
	}
}

@media (hover: none) and (pointer: coarse){
	body.socialbuzz-theme .home-topic-carousel--moving .home-topic-track{
		animation-duration: 42s;
	}
	body.socialbuzz-theme .home-topic-carousel--moving .home-topic-row--2 .home-topic-track{
		animation-duration: 46s;
	}
}

@media (prefers-reduced-motion: reduce){
	body.socialbuzz-theme .home-topic-carousel--moving{
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		overflow: visible;
		padding-block: 0;
		-webkit-mask-image: none;
		mask-image: none;
	}
	body.socialbuzz-theme .home-topic-carousel--moving .home-topic-row{
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: thin;
	}
	body.socialbuzz-theme .home-topic-carousel--moving .home-topic-track{
		animation: none;
		will-change: auto;
	}
	body.socialbuzz-theme .home-topic-carousel--moving .home-topic-group--clone{
		display: none;
	}
	body.socialbuzz-theme .home-topic-carousel--moving .home-topic-card{
		scroll-snap-align: start;
	}
}
/* Soft brand washes — three stepped tints from the palette engine. */
body.socialbuzz-theme .home-topic-card--1{
	background: var(--home-topic-1);
	color: var(--home-topic-1-fg);
}
body.socialbuzz-theme .home-topic-card--1:hover{
	background: color-mix(in oklab, var(--home-topic-1) 82%, var(--color-primary));
}
body.socialbuzz-theme .home-topic-card--2{
	background: var(--home-topic-2);
	color: var(--home-topic-2-fg);
}
body.socialbuzz-theme .home-topic-card--2:hover{
	background: color-mix(in oklab, var(--home-topic-2) 82%, var(--color-primary));
}
body.socialbuzz-theme .home-topic-card--3{
	background: var(--home-topic-3);
	color: var(--home-topic-3-fg);
}
body.socialbuzz-theme .home-topic-card--3:hover{
	background: color-mix(in oklab, var(--home-topic-3) 82%, var(--color-primary));
}
body.socialbuzz-theme .home-topic-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--space-10);
	height: var(--space-10);
	flex: 0 0 auto;
	border-radius: var(--radius-md);
	background: color-mix(in oklab, var(--color-primary) 14%, var(--color-surface));
	color: var(--color-primary);
}
body.socialbuzz-theme .home-topic-icon svg{
	width: var(--space-5);
	height: var(--space-5);
}
body.socialbuzz-theme .home-topic-body{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-2);
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
}
body.socialbuzz-theme .home-topic-title{
	font-family: var(--font-display);
	font-size: var(--text-xl);
	font-weight: 700;
	line-height: var(--leading-snug);
	color: inherit;
}
body.socialbuzz-theme .home-topic-cta{
	margin-top: auto;
	color: color-mix(in oklab, currentColor 72%, transparent);
	font-weight: 600;
	font-size: var(--text-sm);
}
body.socialbuzz-theme .home-worth-reading{
	--home-worth-texture-opacity: 0.07;
	position: relative;
	overflow: hidden;
	background: var(--color-contrast);
}
/* Soft paper grain — breaks flat glare on Worth a read */
body.socialbuzz-theme .home-worth-reading::before{
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: var(--home-worth-texture-opacity);
	mix-blend-mode: soft-light;
	background-color: color-mix(in oklab, var(--color-contrast-fg) 22%, transparent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
	background-size: 160px 160px;
	background-repeat: repeat;
}
body.socialbuzz-theme .home-worth-reading > .home-section-inner{
	position: relative;
	z-index: 1;
}
body.socialbuzz-theme .home-worth-reading .section-kicker{
	color: var(--color-contrast-link);
}
body.socialbuzz-theme .home-section-header--dark h2,
body.socialbuzz-theme .home-section-header--dark > a{ color: var(--color-contrast-fg); }
body.socialbuzz-theme .home-section-header--dark > a{ font-weight: 600; text-decoration: none; }
body.socialbuzz-theme .worth-reading-card{
	display: flex;
	height: 100%;
	min-width: 0;
}
body.socialbuzz-theme .worth-reading-card > a{
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	width: 100%;
	min-height: 100%;
	color: var(--color-contrast-fg);
	text-decoration: none;
	background: var(--color-contrast-surface);
	border: 1px solid var(--color-contrast-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition:
		background var(--duration-base) var(--ease-standard),
		border-color var(--duration-base) var(--ease-standard);
}
body.socialbuzz-theme .worth-reading-card > a:hover{
	background: color-mix(in oklab, var(--color-contrast-surface) 94%, var(--color-contrast-fg));
	border-color: color-mix(in oklab, var(--color-contrast-border) 70%, var(--color-contrast-fg));
}
body.socialbuzz-theme .worth-reading-image{
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 0;
	flex: 0 0 auto;
	background: color-mix(in oklab, var(--color-contrast-border) 55%, var(--color-contrast-surface));
}
body.socialbuzz-theme .worth-reading-image img{ width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-base, 200ms); }
body.socialbuzz-theme .worth-reading-card:hover img{ transform: scale(1.025); }
body.socialbuzz-theme .worth-reading-copy{
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: var(--space-2);
	padding: var(--space-4) var(--space-5) var(--space-5);
}
body.socialbuzz-theme .worth-reading-copy small{
	color: var(--color-contrast-fg-muted);
	font-weight: 700;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
}
body.socialbuzz-theme .worth-reading-copy strong,
body.socialbuzz-theme .worth-reading-title{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	font-family: var(--font-display);
	font-size: var(--text-xl);
	line-height: var(--leading-snug);
	color: var(--color-contrast-fg);
	margin: 0;
	font-weight: 700;
}
body.socialbuzz-theme .home-about-card{
	position: relative;
	isolation: isolate;
	display: grid;
	width: 100%;
	max-width: 1040px;
	margin-inline: auto;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(var(--space-8), 5vw, var(--space-16));
	align-items: stretch;
	padding: clamp(var(--space-8), 5vw, var(--space-16));
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--color-surface);
	border: 1px solid color-mix(in oklab, var(--color-primary) 16%, var(--color-border));
	box-shadow: var(--shadow-md);
}
body.socialbuzz-theme .home-about-card::before{
	content: "";
	position: absolute;
	z-index: -1;
	inset-block: 0;
	inset-inline-start: 0;
	width: clamp(8px, 1vw, 12px);
	background: var(--color-primary);
}
body.socialbuzz-theme .home-about-card--with-image{
	grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
	align-items: center;
}
body.socialbuzz-theme .home-about-card--with-image::before{
	width: min(25%, 250px);
	background: var(--color-surface-tint-strong);
}
body.socialbuzz-theme .home-about-image{
	position: relative;
	min-width: 0;
	width: clamp(190px, 22vw, 250px);
	height: auto;
	min-height: 0;
	aspect-ratio: 1;
	justify-self: center;
	align-self: center;
	border-radius: var(--radius-full);
	background: var(--color-surface);
}
body.socialbuzz-theme .home-about-image::before,
body.socialbuzz-theme .home-about-image::after{
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
}
body.socialbuzz-theme .home-about-image::before{
	inset: calc(-1 * var(--space-3));
	border: 1px solid color-mix(in oklab, var(--color-primary) 44%, var(--color-border));
	border-radius: var(--radius-full);
}
body.socialbuzz-theme .home-about-image::after{
	width: clamp(42px, 5vw, 58px);
	aspect-ratio: 1;
	inset-inline-end: calc(-1 * var(--space-2));
	inset-block-end: calc(-1 * var(--space-2));
	border: var(--space-2) solid var(--color-surface);
	border-radius: var(--radius-full);
	background: var(--color-primary);
}
body.socialbuzz-theme .home-about-image img{
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	display: block;
	border: var(--space-2) solid var(--color-surface);
	border-radius: var(--radius-full);
	box-shadow: var(--shadow-md);
}
body.socialbuzz-theme .home-about-copy{
	min-width: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: var(--space-4);
}
body.socialbuzz-theme .home-about-copy .home-about-kicker{
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	width: auto;
	margin: 0 0 var(--space-1);
	color: var(--color-primary);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	line-height: var(--leading-snug);
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
}
body.socialbuzz-theme .home-about-copy .home-about-kicker::before{
	content: "";
	width: var(--space-8);
	height: 2px;
	flex: 0 0 auto;
	background: currentColor;
}
body.socialbuzz-theme .home-about-copy h1,
body.socialbuzz-theme .home-about-copy h2{
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(var(--text-3xl), 1.55rem + 2vw, var(--text-5xl));
	line-height: 1.06;
	letter-spacing: -.025em;
	text-wrap: wrap;
	max-width: 14ch;
}
body.socialbuzz-theme .home-about-copy .home-about-bio{
	margin: 0;
	max-width: 58ch;
	width: 100%;
	color: var(--color-fg-muted);
	font-size: var(--text-lg);
	line-height: var(--leading-relaxed);
}
body.socialbuzz-theme .home-about-copy .home-about-actions{
	margin-top: var(--space-3);
}
body.socialbuzz-theme .home-about-copy .sb-btn-primary{
	gap: var(--space-2);
	padding-inline: var(--space-6);
}
body.socialbuzz-theme .home-about-copy .sb-btn-primary::after{
	content: "\2192";
	font-size: 1.15em;
	line-height: 1;
	transition: transform var(--duration-fast, 120ms) var(--ease-standard, ease);
}
body.socialbuzz-theme .home-about-copy .sb-btn-primary:hover::after,
body.socialbuzz-theme .home-about-copy .sb-btn-primary:focus-visible::after{
	transform: translateX(3px);
}
body.socialbuzz-theme .home-about-copy .home-social-link{
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	color: var(--color-primary);
	transition: background var(--duration-fast, 120ms), border-color var(--duration-fast, 120ms), color var(--duration-fast, 120ms), transform var(--duration-fast, 120ms);
}
body.socialbuzz-theme .home-about-copy .home-social-link:hover,
body.socialbuzz-theme .home-about-copy .home-social-link:focus-visible{
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-primary-contrast);
	transform: translateY(-2px);
}
body.socialbuzz-theme .home-social-link{ background: var(--color-primary); }
body.socialbuzz-theme .home-newsletter{ background: var(--color-bg-alt); }
body.socialbuzz-theme .socialbuzz-newsletter{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 1fr); gap: 32px; align-items: center; }
body.socialbuzz-theme .socialbuzz-newsletter-copy h2{ margin: 0 0 8px; }
body.socialbuzz-theme .socialbuzz-newsletter-copy p{ margin: 0; color: var(--color-fg-muted); }
body.socialbuzz-theme .socialbuzz-newsletter-form > *:first-child{ margin-top: 0; }
body.socialbuzz-theme .socialbuzz-newsletter-form > *:last-child{ margin-bottom: 0; }
body.socialbuzz-theme .socialbuzz-newsletter--footer{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  width: 100%;
}
body.socialbuzz-theme .socialbuzz-newsletter--footer p{
  color: var(--color-footer-fg-muted);
  margin: 0;
  max-width: 36ch;
  line-height: var(--leading-relaxed);
}
body.socialbuzz-theme .single-post-newsletter-cta{
  margin: clamp(var(--space-10), 6vw, var(--space-16)) 0;
  padding: clamp(var(--space-7), 4vw, var(--space-12));
  border-radius: var(--radius-lg);
  background: var(--color-surface-tint);
  border: var(--border-width) solid var(--color-border);
  border-inline-start: var(--space-1) solid var(--color-primary);
}
body.socialbuzz-theme .single-icon-btn{
  width: var(--space-10);
  height: var(--space-10);
  min-width: var(--space-10);
  min-height: var(--space-10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-fg);
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
}
body.socialbuzz-theme .single-icon-btn:hover,
body.socialbuzz-theme .single-icon-btn.is-copied{
  background: var(--color-surface-tint);
  border-color: var(--color-border-strong);
  color: var(--color-primary);
}
body.socialbuzz-theme .single-icon-btn:focus-visible{
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}
body.socialbuzz-theme .single-icon-btn svg,
body.socialbuzz-theme .single-save-btn svg{ width: var(--space-4); height: var(--space-4); }

body.socialbuzz-theme .inner-page-layout{ max-width: 1000px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 280px); gap: clamp(40px, 7vw, 80px); align-items: start; }
body.socialbuzz-theme .inner-page-header{ display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
body.socialbuzz-theme .inner-page-header h1{ margin: 0; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
body.socialbuzz-theme .inner-page-header p{ margin: 0; color: var(--color-fg-muted); font-size: var(--text-lg); line-height: var(--leading-relaxed); }
body.socialbuzz-theme .inner-page-header time{ color: var(--color-fg-subtle); font-size: var(--text-sm); }
body.socialbuzz-theme .inner-page-featured{ margin-bottom: 32px; }
body.socialbuzz-theme .inner-page-featured img{ width: 100%; height: auto; border-radius: var(--radius-lg); }
body.socialbuzz-theme .inner-page-sidebar{ position: sticky; top: 92px; }
body.socialbuzz-theme .inner-page-links{ margin: 0; padding: 0; list-style: none; }
body.socialbuzz-theme .inner-page-links a{ display: flex; align-items: center; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--color-border); color: var(--color-fg); text-decoration: none; }
body.socialbuzz-theme .inner-page-newsletter{ padding: clamp(48px, 7vw, 80px) max(20px, calc((100vw - 1000px) / 2)); background: var(--color-bg-alt); }
body.socialbuzz-theme .sidebar-template-page{ max-width: 400px; margin: 0 auto; padding: 48px 20px; }
body.socialbuzz-theme .sidebar-template-preview{ position: static; width: 100%; max-width: none; padding-top: 0; }

body.socialbuzz-theme .page-header{ margin-bottom: 36px; text-align: center; }
body.socialbuzz-theme .page-title{ margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); color: var(--color-fg); }
body.socialbuzz-theme .archive-description{ max-width: 60ch; margin: 12px auto 0; color: var(--color-fg-muted); }
body.socialbuzz-theme .theme-empty-state{ padding: 40px 0; color: var(--color-fg-muted); text-align: center; }
body.socialbuzz-theme .theme-empty-state--dark{ color: var(--color-contrast-fg-muted); }
body.socialbuzz-theme .error-404{ max-width: 720px; min-height: 60vh; margin: 0 auto; padding: clamp(72px, 12vw, 160px) 20px; text-align: center; }
body.socialbuzz-theme .error-404 h1{ margin: 12px 0; font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
body.socialbuzz-theme .error-404 p{ margin: 0 0 28px; color: var(--color-fg-muted); font-size: var(--text-lg); }
body.socialbuzz-theme .comments-area{
  margin-top: clamp(var(--space-10), 6vw, var(--space-16));
  padding: clamp(var(--space-6), 4vw, var(--space-8));
  background: var(--color-bg-alt);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-lg);
}
body.socialbuzz-theme .comments-title{ font-size: var(--text-2xl); margin: 0 0 var(--space-4); }
body.socialbuzz-theme .comment-list{ margin: var(--space-6) 0; padding: 0; list-style: none; }
body.socialbuzz-theme .comment-list .children{ list-style: none; }
body.socialbuzz-theme .comment-body{
  margin-bottom: var(--space-6);
  padding: var(--space-5);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
body.socialbuzz-theme .comment-meta{ font-size: var(--text-sm); }
body.socialbuzz-theme .comment-form input:not([type="submit"]),
body.socialbuzz-theme .comment-form textarea,
body.socialbuzz-theme .search-form .search-field{ width: 100%; padding: 12px; border: 1px solid var(--color-input-border); border-radius: var(--radius-sm); background: var(--color-input-bg); color: var(--color-input-fg); font: inherit; }
body.socialbuzz-theme .comment-form input:not([type="submit"])::placeholder,
body.socialbuzz-theme .comment-form textarea::placeholder,
body.socialbuzz-theme .search-form .search-field::placeholder{ color: var(--color-input-placeholder); }
body.socialbuzz-theme .comment-form input:not([type="submit"]):hover,
body.socialbuzz-theme .comment-form textarea:hover,
body.socialbuzz-theme .search-form .search-field:hover{ border-color: var(--color-input-border-hover); }
body.socialbuzz-theme .comment-form .submit,
body.socialbuzz-theme .search-form .search-submit{ min-height: 42px; padding: 10px 18px; border: 0; border-radius: var(--radius-sm); background: var(--color-primary); color: var(--color-primary-contrast); font-weight: 600; cursor: pointer; }
body.socialbuzz-theme .search-form{ max-width: 600px; margin: 24px auto 0; display: flex; gap: 8px; }

@media (max-width: 900px) {
  body.socialbuzz-theme .site-footer-columns{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.socialbuzz-theme .site-footer-brand{
    grid-column: 1 / -1;
    max-width: 38rem;
  }
  body.socialbuzz-theme .home-latest-layout{ grid-template-columns: 1fr; }
  body.socialbuzz-theme .home-popular{ position: static; max-width: none; }
  body.socialbuzz-theme .inner-page-layout{ grid-template-columns: 1fr; }
  body.socialbuzz-theme .inner-page-sidebar{ position: static; }
}

@media (max-width: 960px) {
  body.socialbuzz-theme .site-header-inner{
    flex-wrap: wrap;
    min-height: 64px;
    padding-inline: clamp(var(--space-4), 4.5vw, var(--space-6));
  }
  body.socialbuzz-theme .site-branding{
    max-width: calc(100% - var(--space-12));
  }
  body.socialbuzz-theme .site-header-divider{ display: none; }

  /* No-JS: stacked nav remains reachable */
  body.socialbuzz-theme .mobile-menu-toggle{ display: none; }
  body.socialbuzz-theme .main-navigation{
    display: flex;
    position: static;
    flex: 1 0 100%;
    order: 3;
    align-items: stretch;
    flex-direction: column;
    gap: var(--space-3);
    background: var(--color-bg);
  }
  body.socialbuzz-theme .main-navigation__panel{
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

  /* JS: collapsible animated panel */
  html.socialbuzz-js body.socialbuzz-theme .mobile-menu-toggle{
    display: inline-flex;
  }
  html.socialbuzz-js body.socialbuzz-theme .main-navigation{
    display: grid;
    grid-template-rows: 0fr;
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    order: 0;
    flex: none;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 64px);
    margin: 0;
    padding: 0;
    border-bottom: var(--border-width) solid var(--color-border);
    background: var(--color-bg);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(var(--space-2) * -1));
    transition:
      grid-template-rows var(--duration-base) var(--ease-standard),
      opacity var(--duration-base) var(--ease-standard),
      visibility var(--duration-base) var(--ease-standard),
      transform var(--duration-base) var(--ease-standard);
    z-index: var(--socialbuzz-z-nav);
  }
  html.socialbuzz-js body.socialbuzz-theme .main-navigation__panel{
    overflow: hidden;
    padding-block: 0;
    padding-inline: clamp(var(--space-5), 5vw, var(--space-8));
  }
  html.socialbuzz-js body.socialbuzz-theme .main-navigation.is-open{
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  html.socialbuzz-js body.socialbuzz-theme .main-navigation.is-open .main-navigation__panel{
    padding-block: var(--space-4) var(--space-5);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
  }
  html.socialbuzz-js body.socialbuzz-theme.socialbuzz-nav-open{
    overflow: hidden;
  }

  body.socialbuzz-theme .main-navigation .primary-menu{
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  body.socialbuzz-theme .main-navigation .primary-menu .menu-item__row{
    width: 100%;
    gap: 0;
    border-block-end: var(--border-width) solid var(--color-border-subtle);
  }
  body.socialbuzz-theme .main-navigation .primary-menu .menu-item__row > a,
  body.socialbuzz-theme .main-navigation .primary-menu > li > a{
    flex: 1 1 auto;
    width: auto;
    min-height: var(--nav-touch-target);
    border-bottom: 0;
  }
  body.socialbuzz-theme .main-navigation .primary-menu > li > a{
    border-block-end: var(--border-width) solid var(--color-border-subtle);
  }

  /* No-JS: nested hierarchy always reachable; toggles hidden */
  body.socialbuzz-theme .main-navigation .submenu-toggle{
    display: none;
  }
  body.socialbuzz-theme .main-navigation .sub-menu{
    position: static;
    inset: auto;
    margin: 0;
    padding: var(--space-1) 0 var(--space-2) var(--space-4);
    min-width: 0;
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }
  body.socialbuzz-theme .main-navigation .sub-menu .sub-menu{
    padding-inline-start: var(--space-4);
  }
  body.socialbuzz-theme .main-navigation .sub-menu .menu-item__row{
    border-block-end-color: color-mix(in oklab, var(--color-primary) 10%, var(--color-border-subtle));
  }
  body.socialbuzz-theme .main-navigation .sub-menu .menu-item__row > a{
    border-bottom: 0;
  }

  /* JS: tokenized accordion + single hairline per row */
  html.socialbuzz-js body.socialbuzz-theme .main-navigation .submenu-toggle{
    display: inline-flex;
    border: 0;
    border-radius: 0;
    width: var(--nav-touch-target);
    height: var(--nav-touch-target);
    min-width: var(--nav-touch-target);
    min-height: var(--nav-touch-target);
    border-inline-start: var(--border-width) solid var(--color-border-subtle);
  }
  html.socialbuzz-js body.socialbuzz-theme .main-navigation .submenu-toggle:hover,
  html.socialbuzz-js body.socialbuzz-theme .main-navigation .submenu-toggle:focus-visible,
  html.socialbuzz-js body.socialbuzz-theme .main-navigation .submenu-toggle[aria-expanded="true"]{
    background: var(--nav-item-hover);
  }
  html.socialbuzz-js body.socialbuzz-theme .main-navigation .sub-menu{
    display: block;
    max-height: 0;
    padding-block: 0;
    padding-inline-start: var(--space-3);
    overflow: hidden;
    visibility: hidden;
    background: var(--nav-dd-bg);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
    opacity: 1;
    transform: none;
    transition:
      max-height var(--nav-dd-in) var(--nav-dd-ease),
      padding-block var(--nav-dd-in) var(--nav-dd-ease),
      visibility var(--nav-dd-out) var(--nav-dd-ease);
  }
  html.socialbuzz-js body.socialbuzz-theme .main-navigation .menu-item-has-children.is-submenu-open > .sub-menu{
    max-height: min(70vh, 28rem);
    padding-block: var(--space-1) var(--space-2);
    visibility: visible;
    pointer-events: auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--nav-dd-scroll-thumb) var(--nav-dd-scroll-track);
  }
  html.socialbuzz-js body.socialbuzz-theme .main-navigation .sub-menu .sub-menu{
    padding-inline-start: var(--space-4);
    background: color-mix(in oklab, var(--color-primary) 8%, var(--color-surface));
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

  body.socialbuzz-theme .header-subscribe-button{ width: 100%; }
}

@media (max-width: 768px) {
  body.socialbuzz-theme .home-about-card{
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: var(--space-6);
  }
  body.socialbuzz-theme .home-about-card--with-image{
    grid-template-columns: minmax(0, 1fr);
  }
  body.socialbuzz-theme .home-about-card--with-image::before{
    inset-block: 0 auto;
    width: 100%;
    height: min(34vw, 180px);
  }
  body.socialbuzz-theme .home-about-image{
    width: clamp(170px, 54vw, 220px);
    max-width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
    margin-inline: auto;
  }
  body.socialbuzz-theme .home-about-copy{
    gap: var(--space-4);
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  body.socialbuzz-theme .home-about-copy h1,
  body.socialbuzz-theme .home-about-copy h2{
    max-width: 18ch;
    font-size: clamp(var(--text-2xl), 1.35rem + 2vw, var(--text-3xl));
  }
  body.socialbuzz-theme .home-about-copy .home-about-bio{
    font-size: var(--text-base);
  }
  body.socialbuzz-theme .socialbuzz-newsletter{ grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  body.socialbuzz-theme .home-about-card{
    gap: var(--space-6);
    padding: var(--space-5);
  }
  body.socialbuzz-theme .home-about-image{
    aspect-ratio: 1 / 1;
  }
  body.socialbuzz-theme .home-about-image::before{
    inset-block: var(--space-3) calc(-1 * var(--space-3));
    inset-inline: calc(-1 * var(--space-3)) var(--space-3);
  }
  body.socialbuzz-theme .home-about-image::after{
    width: var(--space-12);
    inset-inline-end: calc(-1 * var(--space-3));
    inset-block-end: calc(-1 * var(--space-3));
  }
  body.socialbuzz-theme .home-about-copy .home-about-actions{
    width: 100%;
  }
  body.socialbuzz-theme .home-about-copy .home-about-actions .sb-btn-primary{
    flex: 1 1 100%;
    width: 100%;
  }
  body.socialbuzz-theme .site-footer-inner{
    padding-block: var(--space-10) var(--space-5);
  }
  body.socialbuzz-theme .site-footer-columns{
    grid-template-columns: 1fr;
    row-gap: var(--space-8);
  }
  body.socialbuzz-theme .site-footer-column{
    width: 100%;
    max-width: 100%;
  }
  body.socialbuzz-theme .footer-menu a,
  body.socialbuzz-theme .footer-topic-list a{
    min-height: 44px;
  }
  body.socialbuzz-theme .site-footer-bottom{
    align-items: flex-start;
    flex-direction: column;
  }
  body.socialbuzz-theme .site-footer-affiliate{
    flex: 0 1 auto;
    max-width: none;
    padding-inline: 0;
    text-align: start;
    white-space: normal;
  }
  body.socialbuzz-theme .site-footer-bottom .socialbuzz-consent-reopen{
    margin-inline-start: 0;
  }
  body.socialbuzz-theme .home-latest-thumb{ width: 84px; height: 68px; flex-basis: 84px; }
  body.socialbuzz-theme .search-form{ flex-direction: column; }
}

@media (min-width: 360px) and (max-width: 540px) {
  body.socialbuzz-theme .site-footer-topics .footer-topic-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.socialbuzz-theme .ticker-track{ animation: none; }
  body.socialbuzz-theme .page-about-identity__media img,
  body.socialbuzz-theme .page-about-identity__copy{
    animation: none;
  }
  body.socialbuzz-theme .footer-menu a,
  body.socialbuzz-theme .footer-topic-list a,
  body.socialbuzz-theme .site-footer .widget li a{
    transform: none !important;
  }
  body.socialbuzz-theme .socialbuzz-back-to-top{
    transition: none;
    transform: none;
  }
  body.socialbuzz-theme .home-hero-card{
    transition: none;
    will-change: auto;
  }
  body.socialbuzz-theme .home-hero-card:not(.is-active){
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
  body.socialbuzz-theme .home-hero-card.is-active{
    transform: translate(-50%, -50%) translateZ(0) rotateZ(0deg) rotateY(0deg) scale(1);
  }
  body.socialbuzz-theme .home-hero-cards-progress{
    display: none;
  }
  body.socialbuzz-theme .home-hero-cards-progress.is-running .home-hero-cards-progress__bar{
    animation: none;
  }
  body.socialbuzz-theme *,
body.socialbuzz-theme *::before,
body.socialbuzz-theme *::after{ scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* ========== AdSense slots (tokens only) ========== */
body.socialbuzz-theme{
  --socialbuzz-z-ad-sticky: 50;
  --socialbuzz-ad-anchor-offset: 0px;
}
body.socialbuzz-theme.socialbuzz-ads-auto,
html.socialbuzz-ad-sticky-active body.socialbuzz-theme{
  --socialbuzz-ad-anchor-offset: 6.5rem;
}
body.socialbuzz-theme .socialbuzz-ad{
  clear: both;
  margin-block: var(--space-6);
  overflow: hidden;
  text-align: center;
  max-width: 100%;
}
body.socialbuzz-theme .socialbuzz-ad__label{
  display: block;
  margin-block-end: var(--space-2);
  font-size: var(--text-xs, 0.75rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-fg-muted);
}
body.socialbuzz-theme .socialbuzz-ad ins.adsbygoogle{
  display: block;
  max-width: 100%;
}
body.socialbuzz-theme .socialbuzz-ad--header{
  margin-block: 0;
  padding-block: var(--space-4);
  padding-inline: clamp(var(--space-5), 5vw, var(--space-8));
  background-color: var(--color-surface-tint);
}
body.socialbuzz-theme .socialbuzz-ad--content{
  margin-block: var(--space-10);
}
body.socialbuzz-theme .socialbuzz-ad--feed{
  grid-column: 1 / -1;
  margin-block: var(--space-4);
  padding-block: var(--space-4);
  border-block: var(--border-width) solid var(--color-border);
}
body.socialbuzz-theme .socialbuzz-ad--sidebar,
body.socialbuzz-theme .socialbuzz-sidebar-ads-widgets{
  margin-block-end: var(--space-6);
}
body.socialbuzz-theme .socialbuzz-ad--after-article{
  margin-block: var(--space-8) var(--space-6);
  padding-block-start: var(--space-6);
  padding-inline: clamp(var(--space-5), 5vw, var(--space-8));
  border-block-start: var(--border-width) solid var(--color-border);
  max-width: var(--content-measure, 72rem);
  margin-inline: auto;
}
body.socialbuzz-theme .socialbuzz-ad-sticky-footer-wrap{
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: var(--socialbuzz-z-ad-sticky);
  padding-block: var(--space-2) var(--space-3);
  padding-inline: var(--space-3) var(--space-10);
  background-color: var(--color-surface);
  border-block-start: var(--border-width) solid var(--color-border);
  box-shadow: var(--shadow-md);
}
body.socialbuzz-theme .socialbuzz-ad-sticky-footer-wrap .socialbuzz-ad--sticky-footer{
  margin-block: 0;
}
body.socialbuzz-theme .socialbuzz-ad-dismiss{
  position: absolute;
  inset-block-start: var(--space-1);
  inset-inline-end: var(--space-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-8);
  height: var(--space-8);
  min-width: var(--space-8);
  min-height: var(--space-8);
  margin: 0;
  padding: 0;
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-full);
  background-color: var(--color-surface);
  color: var(--color-fg);
  font-size: var(--text-lg, 1.125rem);
  line-height: 1;
  cursor: pointer;
}
body.socialbuzz-theme .socialbuzz-ad-dismiss:focus-visible{
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}
html.socialbuzz-ad-sticky-active body.socialbuzz-theme{
  padding-block-end: calc(var(--socialbuzz-ad-anchor-offset) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 769px) {
  body.socialbuzz-theme .socialbuzz-ad-sticky-footer-wrap{
    display: none;
  }
  html.socialbuzz-ad-sticky-active body.socialbuzz-theme{
    padding-block-end: 0;
  }
}

/* Ad-blocker recovery notice (reading column; not a trap) */
body.socialbuzz-theme .socialbuzz-ads-recovery{
  margin-block: var(--space-8) var(--space-6);
  max-width: 100%;
}
body.socialbuzz-theme .socialbuzz-ads-recovery[hidden]{
  display: none;
}
body.socialbuzz-theme .socialbuzz-ads-recovery__panel{
  padding: var(--space-5);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-surface-tint);
}
body.socialbuzz-theme .socialbuzz-ads-recovery__title{
  margin: 0 0 var(--space-2);
  font-size: var(--text-base, 1rem);
  font-weight: 600;
  color: var(--color-fg);
}
body.socialbuzz-theme .socialbuzz-ads-recovery__body{
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm, 0.875rem);
  line-height: 1.5;
  color: var(--color-fg-muted);
}
body.socialbuzz-theme .socialbuzz-ads-recovery__actions{
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
body.socialbuzz-theme .socialbuzz-ads-recovery__btn{
  min-height: 44px;
  min-width: 44px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--color-border);
  background-color: var(--color-surface);
  color: var(--color-fg);
  font: inherit;
  font-size: var(--text-sm, 0.875rem);
  cursor: pointer;
}
body.socialbuzz-theme .socialbuzz-ads-recovery__btn--primary{
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-primary-contrast);
}
body.socialbuzz-theme .socialbuzz-ads-recovery__btn:focus-visible{
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}

/* ========== Breadcrumbs ========== */
body.socialbuzz-theme .socialbuzz-breadcrumbs{
  margin-block: 0 var(--space-4);
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-fg-muted);
}
body.socialbuzz-theme .socialbuzz-breadcrumbs__list{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
body.socialbuzz-theme .socialbuzz-breadcrumbs__item{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  max-width: 100%;
}
body.socialbuzz-theme .socialbuzz-breadcrumbs__item:not(:last-child)::after{
  content: "/";
  color: var(--color-fg-subtle);
  speak: none;
}
body.socialbuzz-theme .socialbuzz-breadcrumbs__link{
  color: var(--color-fg-muted);
  text-decoration: none;
}
body.socialbuzz-theme .socialbuzz-breadcrumbs__link:hover,
body.socialbuzz-theme .socialbuzz-breadcrumbs__link:focus-visible{
  color: var(--color-primary);
  text-decoration: underline;
}
body.socialbuzz-theme .socialbuzz-breadcrumbs__current{
  color: var(--color-fg);
  overflow-wrap: anywhere;
}

/* ========== Cookie consent bar (flush bottom strip) ========== */
body.socialbuzz-theme{
  --socialbuzz-z-consent: 55;
}
body.socialbuzz-theme .socialbuzz-consent{
  position: fixed;
  top: auto;
  bottom: 0;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: var(--socialbuzz-z-consent);
  padding: var(--space-3) clamp(var(--space-3), 3vw, var(--space-6));
  padding-block-end: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  background-color: var(--color-surface);
  border-block-start: var(--border-width) solid var(--color-border);
  box-shadow: var(--shadow-md);
  transition: transform var(--motion-normal, 250ms) var(--motion-ease, ease), opacity var(--motion-normal, 250ms) var(--motion-ease, ease);
}
body.socialbuzz-theme .socialbuzz-consent[hidden]{
  display: none;
}
body.socialbuzz-theme .socialbuzz-consent__inner{
  max-width: 72rem;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-4);
}
body.socialbuzz-theme .socialbuzz-consent__copy{
  flex: 1 1 16rem;
  min-width: 0;
}
body.socialbuzz-theme .socialbuzz-consent__text{
  margin: 0;
  font-size: var(--text-sm, 0.875rem);
  line-height: 1.4;
  color: var(--color-fg);
}
body.socialbuzz-theme .socialbuzz-consent__privacy{
  color: var(--color-primary);
  text-decoration: underline;
  margin-inline-start: var(--space-1);
}
body.socialbuzz-theme .socialbuzz-consent__actions{
  display: flex;
  flex-wrap: wrap;
  flex: 0 1 auto;
  gap: var(--space-2);
  align-items: center;
}
body.socialbuzz-theme .socialbuzz-consent__btn{
  min-height: var(--space-9);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--color-border);
  background-color: var(--color-surface);
  color: var(--color-fg);
  font: inherit;
  font-size: var(--text-sm, 0.875rem);
  cursor: pointer;
}
body.socialbuzz-theme .socialbuzz-consent__btn--primary{
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-primary-contrast);
}
body.socialbuzz-theme .socialbuzz-consent__btn--text{
  border-color: transparent;
  background: transparent;
  text-decoration: underline;
  min-height: var(--space-8);
  padding-inline: var(--space-2);
}
body.socialbuzz-theme .socialbuzz-consent__btn:focus-visible{
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}
body.socialbuzz-theme .socialbuzz-consent__panel{
  flex: 1 1 100%;
  display: grid;
  gap: var(--space-3);
  padding-block-start: var(--space-2);
  border-block-start: var(--border-width) solid var(--color-border);
}
body.socialbuzz-theme .socialbuzz-consent__panel[hidden]{
  display: none;
}
body.socialbuzz-theme .socialbuzz-consent__toggle{
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-fg);
  cursor: pointer;
}
body.socialbuzz-theme .socialbuzz-consent__toggle input{
  margin-block-start: 0.2em;
  width: var(--space-4);
  height: var(--space-4);
  accent-color: var(--color-primary);
}
body.socialbuzz-theme .socialbuzz-consent-reopen{
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-footer-fg-muted);
  font: inherit;
  font-size: var(--text-sm, 0.875rem);
  text-decoration: underline;
  cursor: pointer;
}
body.socialbuzz-theme .socialbuzz-consent-reopen:hover,
body.socialbuzz-theme .socialbuzz-consent-reopen:focus-visible{
  color: var(--color-primary);
}
body.socialbuzz-theme .socialbuzz-consent-reopen:focus-visible{
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  body.socialbuzz-theme .socialbuzz-consent{
    transition: none;
  }
}
