/*
Theme Name:   Volleyblock Child
Theme URI:    https://deeppink-gnat-476005.hostingersite.com
Description:  Volleyblock Child Theme for Blocksy — SEO & Ad-Revenue optimiert
Author:       Philip Kessler
Author URI:   https://deeppink-gnat-476005.hostingersite.com/about-us/
Template:     blocksy
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  volleyblock-child
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --vb-accent:        #D85A30;
  --vb-accent-dark:   #993C1D;
  --vb-accent-light:  #FAECE7;
  --vb-accent-text:   #712B13;
  --vb-black:         #1A1A18;
  --vb-gray-900:      #2C2C2A;
  --vb-gray-700:      #444441;
  --vb-gray-500:      #888780;
  --vb-gray-200:      #D3D1C7;
  --vb-gray-100:      #F1EFE8;
  --vb-white:         #FFFFFF;
  --vb-radius-sm:     6px;
  --vb-radius-md:     10px;
  --vb-radius-lg:     14px;
  --vb-font-display:  'Barlow Condensed', sans-serif;
  --vb-font-body:     'DM Sans', sans-serif;
  --vb-max-width:     1120px;
  --vb-transition:    0.18s ease;
}

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

/* ============================================================
   BASE TYPOGRAPHY
   ============================================================ */
body {
  font-family: var(--vb-font-body);
  color: var(--vb-gray-900);
  background: var(--vb-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--vb-font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--vb-black);
}

a {
  color: var(--vb-accent);
  text-decoration: none;
  transition: color var(--vb-transition);
}
a:hover { color: var(--vb-accent-dark); }

/* ============================================================
   BLOCKSY OVERRIDES — remove WooCommerce traces
   ============================================================ */
.ct-cart-content,
.ct-woo-cart-icon,
.ct-header-cart,
[data-id="cart"],
.woocommerce-breadcrumb { display: none !important; }

/* ============================================================
   HEADER
   ============================================================ */
#header {
  border-bottom: 1px solid var(--vb-gray-200);
  background: var(--vb-white) !important;
}

/* Logo text */
.site-title,
.site-title a {
  font-family: var(--vb-font-display) !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: var(--vb-black) !important;
  letter-spacing: -0.03em;
}

/* Main nav links */
.ct-main-nav > ul > li > a,
.ct-main-nav .menu-item > a {
  font-family: var(--vb-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--vb-gray-700) !important;
  padding: 6px 12px;
  border-radius: var(--vb-radius-sm);
  transition: background var(--vb-transition), color var(--vb-transition);
}
.ct-main-nav > ul > li > a:hover,
.ct-main-nav .current-menu-item > a {
  background: var(--vb-gray-100);
  color: var(--vb-black) !important;
}

/* Dropdown */
.ct-main-nav .sub-menu {
  border: 1px solid var(--vb-gray-200);
  border-radius: var(--vb-radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 6px;
}
.ct-main-nav .sub-menu a {
  border-radius: var(--vb-radius-sm);
  padding: 7px 12px;
  font-size: 0.85rem;
}

/* Search icon */
.ct-header-search svg { color: var(--vb-gray-500); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.vb-hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--vb-gray-200);
}
.vb-hero .vb-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.vb-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vb-accent);
  margin-bottom: 14px;
}
.vb-hero-eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--vb-accent);
  border-radius: 2px;
}
.vb-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  margin-bottom: 16px;
  line-height: 1.05;
}
.vb-hero h1 em {
  font-style: normal;
  color: var(--vb-accent);
}
.vb-hero-sub {
  font-size: 1.05rem;
  color: var(--vb-gray-500);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 420px;
}
.vb-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.vb-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vb-accent);
  color: var(--vb-white) !important;
  font-family: var(--vb-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--vb-radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--vb-transition), transform var(--vb-transition);
}
.vb-btn-primary:hover {
  background: var(--vb-accent-dark);
  transform: translateY(-1px);
}
.vb-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--vb-gray-700) !important;
  font-family: var(--vb-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--vb-radius-md);
  border: 1px solid var(--vb-gray-200);
  cursor: pointer;
  transition: background var(--vb-transition), border-color var(--vb-transition);
}
.vb-btn-ghost:hover {
  background: var(--vb-gray-100);
  border-color: var(--vb-gray-200);
}
.vb-hero-image {
  position: relative;
}
.vb-hero-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--vb-radius-lg);
}
.vb-hero-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--vb-white);
  border: 1px solid var(--vb-gray-200);
  border-radius: var(--vb-radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.vb-hero-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--vb-accent-light);
  border-radius: var(--vb-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.vb-hero-badge-text {
  font-size: 0.8rem;
  line-height: 1.3;
}
.vb-hero-badge-text strong {
  display: block;
  color: var(--vb-black);
  font-weight: 500;
}
.vb-hero-badge-text span {
  color: var(--vb-gray-500);
}

/* ============================================================
   CATEGORY PILLS BAR
   ============================================================ */
.vb-cat-bar {
  background: var(--vb-gray-100);
  border-bottom: 1px solid var(--vb-gray-200);
  padding: 12px 0;
}
.vb-cat-bar .vb-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.vb-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--vb-gray-200);
  background: var(--vb-white);
  color: var(--vb-gray-700);
  text-decoration: none;
  transition: all var(--vb-transition);
}
.vb-cat-pill:hover,
.vb-cat-pill.active {
  background: var(--vb-accent-light);
  border-color: var(--vb-accent);
  color: var(--vb-accent-text) !important;
}

/* ============================================================
   PAGE LAYOUT WRAPPER
   ============================================================ */
.vb-page {
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.vb-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--vb-gray-100);
}
.vb-section-header h2 {
  font-size: 1.4rem;
}
.vb-section-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--vb-accent) !important;
  display: flex;
  align-items: center;
  gap: 4px;
}
.vb-section-link::after {
  content: '→';
  transition: transform var(--vb-transition);
}
.vb-section-link:hover::after { transform: translateX(3px); }

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
/* Featured 2-column grid */
.vb-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* Standard card */
.vb-card {
  background: var(--vb-white);
  border: 1px solid var(--vb-gray-200);
  border-radius: var(--vb-radius-lg);
  overflow: hidden;
  transition: border-color var(--vb-transition), transform var(--vb-transition);
  display: flex;
  flex-direction: column;
}
.vb-card:hover {
  border-color: var(--vb-accent);
  transform: translateY(-2px);
}
.vb-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.vb-card-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.vb-card-cat {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--vb-accent);
  margin-bottom: 6px;
}
.vb-card-title {
  font-family: var(--vb-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--vb-black);
  margin-bottom: 10px;
  flex: 1;
}
.vb-card-title a { color: inherit !important; }
.vb-card-title a:hover { color: var(--vb-accent) !important; }
.vb-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--vb-gray-500);
}
.vb-card-meta .sep { color: var(--vb-gray-200); }

/* Article list rows */
.vb-article-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.vb-article-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--vb-gray-100);
  align-items: start;
  text-decoration: none;
  transition: opacity var(--vb-transition);
}
.vb-article-row:last-child { border-bottom: none; }
.vb-article-row:hover { opacity: 0.8; }
.vb-article-row:hover .vb-art-title { color: var(--vb-accent); }
.vb-art-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--vb-radius-sm);
  flex-shrink: 0;
  background: var(--vb-gray-100);
}
.vb-art-cat {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--vb-accent);
  margin-bottom: 3px;
}
.vb-art-title {
  font-family: var(--vb-font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--vb-black);
  margin-bottom: 5px;
  transition: color var(--vb-transition);
}
.vb-art-meta {
  font-size: 0.72rem;
  color: var(--vb-gray-500);
  display: flex;
  gap: 8px;
}

/* ============================================================
   AD SLOTS
   ============================================================ */
.vb-ad-slot {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid var(--vb-gray-100);
  border-bottom: 1px solid var(--vb-gray-100);
  margin: 24px 0;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vb-ad-slot ins {
  display: block !important;
}
/* Label above ad for GDPR compliance */
.vb-ad-slot::before {
  content: 'Advertisement';
  display: block;
  font-size: 0.65rem;
  color: var(--vb-gray-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  position: absolute;
  margin-top: -36px;
}

/* ============================================================
   CATEGORY CARDS GRID
   ============================================================ */
.vb-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.vb-cat-card {
  border: 1px solid var(--vb-gray-200);
  border-radius: var(--vb-radius-lg);
  padding: 20px 16px;
  text-decoration: none;
  transition: border-color var(--vb-transition), background var(--vb-transition);
  display: block;
}
.vb-cat-card:hover {
  border-color: var(--vb-accent);
  background: var(--vb-accent-light);
}
.vb-cat-card-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  display: block;
}
.vb-cat-card-name {
  font-family: var(--vb-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--vb-black);
  margin-bottom: 3px;
}
.vb-cat-card-count {
  font-size: 0.75rem;
  color: var(--vb-gray-500);
}

/* ============================================================
   AUTHOR BOX — homepage & below articles
   ============================================================ */
.vb-author-box {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--vb-gray-200);
  border-radius: var(--vb-radius-lg);
  margin: 24px 0;
  background: var(--vb-white);
}
.vb-author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--vb-accent-light);
}
.vb-author-initials {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--vb-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--vb-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--vb-accent-text);
  flex-shrink: 0;
}
.vb-author-name {
  font-family: var(--vb-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vb-black);
  margin-bottom: 3px;
}
.vb-author-bio {
  font-size: 0.85rem;
  color: var(--vb-gray-500);
  line-height: 1.55;
  margin-bottom: 6px;
}
.vb-author-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--vb-accent-light);
  color: var(--vb-accent-text);
}

/* ============================================================
   SINGLE ARTICLE PAGE
   ============================================================ */
.vb-single-header {
  max-width: 780px;
  margin: 40px auto 32px;
  padding: 0 24px;
}
.vb-single-cat {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--vb-accent);
  margin-bottom: 12px;
  display: block;
}
.vb-single-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.vb-single-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--vb-gray-500);
  flex-wrap: wrap;
}
.vb-single-meta img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.vb-single-meta .sep { color: var(--vb-gray-200); }

/* Featured image */
.vb-single-featured-img {
  max-width: 860px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.vb-single-featured-img img {
  width: 100%;
  border-radius: var(--vb-radius-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Article content */
.vb-single .entry-content,
.entry-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--vb-gray-700);
}
.entry-content h2 {
  font-size: 1.5rem;
  margin: 2.2em 0 0.7em;
  padding-top: 1.2em;
  border-top: 1px solid var(--vb-gray-100);
}
.entry-content h3 {
  font-size: 1.2rem;
  margin: 1.8em 0 0.5em;
}
.entry-content p { margin-bottom: 1.4em; }
.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}
.entry-content li { margin-bottom: 0.4em; }
.entry-content img {
  width: 100%;
  border-radius: var(--vb-radius-md);
  margin: 1.5em 0;
}
.entry-content strong { color: var(--vb-black); }
.entry-content blockquote {
  border-left: 3px solid var(--vb-accent);
  padding: 12px 20px;
  margin: 1.5em 0;
  background: var(--vb-accent-light);
  border-radius: 0 var(--vb-radius-md) var(--vb-radius-md) 0;
  font-style: italic;
  color: var(--vb-accent-text);
}

/* In-content ad slot */
.vb-incontent-ad {
  margin: 2em 0;
  text-align: center;
}

/* ============================================================
   TABLE OF CONTENTS (auto-generated via JS)
   ============================================================ */
.vb-toc {
  background: var(--vb-gray-100);
  border-radius: var(--vb-radius-md);
  padding: 18px 20px;
  margin: 2em 0;
  font-size: 0.88rem;
}
.vb-toc-title {
  font-family: var(--vb-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--vb-black);
  margin-bottom: 10px;
}
.vb-toc ol {
  list-style: decimal;
  padding-left: 1.2em;
  margin: 0;
}
.vb-toc li {
  margin-bottom: 5px;
  line-height: 1.4;
}
.vb-toc a {
  color: var(--vb-gray-700) !important;
}
.vb-toc a:hover { color: var(--vb-accent) !important; }

/* ============================================================
   RELATED POSTS
   ============================================================ */
.vb-related {
  width: 100%;
  margin: 40px auto;
  padding: 0 24px;
  border-top: 1px solid var(--vb-gray-100);
  padding-top: 32px;
}
.vb-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.vb-archive-header {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--vb-gray-200);
  margin-bottom: 32px;
}
.vb-archive-header .vb-inner {
  max-width: var(--vb-max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.vb-archive-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vb-accent);
  margin-bottom: 8px;
}
.vb-archive-header h1 { font-size: 2.2rem; margin-bottom: 8px; }
.vb-archive-desc { font-size: 0.95rem; color: var(--vb-gray-500); }

.vb-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin: 0 auto 40px;
  padding: 0 24px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--vb-gray-100) !important;
  border-top: 1px solid var(--vb-gray-200);
  margin-top: 60px;
}
.vb-footer-inner {
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.vb-footer-brand {}
.vb-footer-logo {
  font-family: var(--vb-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vb-black);
  margin-bottom: 10px;
  display: block;
}
.vb-footer-tagline {
  font-size: 0.85rem;
  color: var(--vb-gray-500);
  line-height: 1.6;
  margin-bottom: 14px;
}
.vb-footer-email {
  font-size: 0.8rem;
  color: var(--vb-accent) !important;
  display: flex;
  align-items: center;
  gap: 6px;
}
.vb-footer-col-title {
  font-family: var(--vb-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vb-gray-500);
  margin-bottom: 12px;
}
.vb-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vb-footer-links li { margin-bottom: 7px; }
.vb-footer-links a {
  font-size: 0.85rem;
  color: var(--vb-gray-700) !important;
  transition: color var(--vb-transition);
}
.vb-footer-links a:hover { color: var(--vb-accent) !important; }
.vb-footer-bottom {
  width: 100%;
  margin: 0 auto;
  padding: 16px 24px;
  border-top: 1px solid var(--vb-gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--vb-gray-500);
}
.vb-footer-social {
  display: flex;
  gap: 12px;
}
.vb-footer-social a {
  color: var(--vb-gray-500) !important;
  transition: color var(--vb-transition);
}
.vb-footer-social a:hover { color: var(--vb-accent) !important; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.vb-breadcrumbs {
  max-width: var(--vb-max-width);
  margin: 0 auto;
  padding: 14px 24px;
  font-size: 0.78rem;
  color: var(--vb-gray-500);
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.vb-breadcrumbs a { color: var(--vb-gray-700) !important; }
.vb-breadcrumbs .sep { color: var(--vb-gray-200); }
.vb-breadcrumbs .current { color: var(--vb-gray-500); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .vb-hero .vb-inner {
    grid-template-columns: 1fr;
  }
  .vb-hero-image { display: none; }
  .vb-featured-grid { grid-template-columns: 1fr; }
  .vb-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .vb-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .vb-related-grid { grid-template-columns: 1fr 1fr; }
  .vb-footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .vb-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .vb-archive-grid { grid-template-columns: 1fr; }
  .vb-related-grid { grid-template-columns: 1fr; }
  .vb-footer-inner { grid-template-columns: 1fr; }
  .vb-hero h1 { font-size: 2.4rem; }
}

/* ============================================================
   CATEGORY CARDS — background image support
   ============================================================ */
.vb-cat-grid .vb-cat-card {
  position: relative;
  overflow: hidden;
  padding: 20px 16px;
}
.vb-cat-card-overlay {
  display: none;
}
.vb-cat-card--img {
  height: 160px;
  padding: 0;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  border-color: transparent;
  display: flex;
  align-items: flex-end;
}
.vb-cat-card--img .vb-cat-card-overlay {
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: var(--vb-radius-lg);
  background: linear-gradient(to top, rgba(26,26,24,0.85) 0%, rgba(26,26,24,0.2) 60%, transparent 100%);
  transition: background var(--vb-transition);
  pointer-events: none;
}
.vb-cat-card--img:hover .vb-cat-card-overlay {
  background: linear-gradient(to top, rgba(216,90,48,0.88) 0%, rgba(216,90,48,0.35) 60%, transparent 100%);
}
.vb-cat-card--img .vb-cat-card-content {
  position: relative;
  z-index: 2;
  padding: 14px 16px;
  width: 100%;
}
.vb-cat-card--img .vb-cat-card-name {
  color: #fff;
  font-size: 1.05rem;
}
.vb-cat-card--img .vb-cat-card-count {
  color: rgba(255,255,255,0.8);
}
.vb-cat-card:not(.vb-cat-card--img) .vb-cat-card-content {
  position: static;
}

/* ============================================================
   DESKTOP LAYOUT FIX — volle Breite nutzen
   ============================================================ */

/* Maximale Breite erhöhen */
:root {
  --vb-max-width: 1320px;
}

/* ── Blocksy container override ── */
.ct-container,
.ct-container-fluid,
[class*="ct-container"],
.site-main,
.hfeed,
#main {
  max-width: 1320px !important;
  width: 100% !important;
}

/* Hero größer und voller */
@media (min-width: 1024px) {
  .vb-hero {
    padding: 72px 0 60px;
  }
  .vb-hero .vb-inner {
    grid-template-columns: 1fr 440px;
    gap: 64px;
  }
  .vb-hero h1 {
    font-size: 4.8rem;
  }
  .vb-hero-sub {
    font-size: 1.15rem;
    max-width: 480px;
  }

  /* Featured grid — mehr Höhe */
  .vb-featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .vb-card-thumb {
    aspect-ratio: 16/9;
    height: auto;
  }
  .vb-card-title {
    font-size: 1.3rem;
  }

  /* Article list — größere Thumbnails */
  .vb-article-row {
    grid-template-columns: 100px 1fr;
    gap: 18px;
    padding: 16px 0;
  }
  .vb-art-thumb {
    width: 100px;
    height: 72px;
  }
  .vb-art-title {
    font-size: 1.05rem;
  }

  /* Category grid — 3 Spalten mit mehr Höhe */
  .vb-cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .vb-cat-card--img {
    height: 200px !important;
  }
  .vb-cat-card:not(.vb-cat-card--img) {
    padding: 24px 20px;
  }
  .vb-cat-card-name {
    font-size: 1.1rem;
  }

  /* Section headers */
  .vb-section-header h2 {
    font-size: 1.7rem;
  }

  /* Category pills bar */
  .vb-cat-bar .vb-inner {
    gap: 10px;
  }
  .vb-cat-pill {
    font-size: 0.875rem;
    padding: 7px 16px;
  }

  /* Page padding */
  .vb-page {
    padding: 0 32px;
  }
  .vb-hero .vb-inner,
  .vb-cat-bar .vb-inner {
    padding: 0 32px;
  }

  /* Archive grid — 3 Spalten */
  .vb-archive-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* Related posts */
  .vb-related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* Single article */
  .vb-single-header {
    max-width: 860px;
    padding: 0 32px;
  }
  .vb-single-featured-img {
    max-width: 960px;
    padding: 0 32px;
  }
  .vb-single .entry-content,
  .entry-content {
    max-width: 780px;
    font-size: 1.1rem;
  }

  /* Footer */
  .vb-footer-inner {
    padding: 48px 32px 28px;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
  .vb-footer-bottom {
    padding: 18px 32px;
  }

  /* Author box */
  .vb-author-box {
    padding: 24px 28px;
    gap: 22px;
  }
  .vb-author-avatar {
    width: 72px;
    height: 72px;
  }
  .vb-author-initials {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
  }
  .vb-author-name {
    font-size: 1.2rem;
  }
  .vb-author-bio {
    font-size: 0.95rem;
  }
}

@media (min-width: 1280px) {
  .vb-hero h1 {
    font-size: 5.5rem;
  }
  .vb-featured-grid {
    gap: 28px;
  }
}

/* ============================================================
   HEADER — Logo only, no site title text below
   ============================================================ */
.site-title,
.site-title a,
.ct-site-title {
  display: none !important;
}
.ct-logo-container img,
.site-logo img,
.custom-logo {
  height: 52px !important;
  width: auto !important;
}

/* ============================================================
   BLOCKSY FULL WIDTH OVERRIDE
   ============================================================ */
body .ct-container,
body [data-id="container"],
body .entry-content > *,
.site-content .ct-container {
  max-width: 1320px !important;
}

/* Force our page sections to fill width */
.vb-hero,
.vb-cat-bar,
.vb-homepage {
  width: 100%;
}
.vb-hero .vb-inner,
.vb-cat-bar .vb-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}
.vb-page {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* Featured grid — fill the space */
@media (min-width: 1024px) {
  .vb-featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .vb-card-img-lg,
  .vb-card-thumb {
    height: 280px;
    object-fit: cover;
  }
  .vb-hero h1 {
    font-size: 5rem;
  }
  .vb-hero .vb-inner {
    grid-template-columns: 1fr 460px;
  }
  .vb-cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .vb-cat-card--img {
    height: 200px !important;
  }
  .vb-article-row {
    grid-template-columns: 110px 1fr;
  }
  .vb-art-thumb {
    width: 110px;
    height: 78px;
  }
}

/* ============================================================
   SINGLE POST — Desktop Fix (mobile unverändert)
   ============================================================ */
@media (min-width: 1024px) {

  /* Artikel-Header zentrieren */
  .vb-single-header {
    max-width: 860px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 40px !important;
  }

  /* Featured Image zentrieren */
  .vb-single-featured-img {
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 40px !important;
  }

  /* Content zentrieren und breiter */
  .vb-single .entry-content,
  .single .entry-content,
  .entry-content {
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 40px !important;
  }

  /* Blocksy's eigene Single-Post Container zentrieren */
  .single .ct-container,
  .single-post .ct-container,
  body.single .ct-container {
    display: flex !important;
    justify-content: center !important;
  }

  /* Hauptinhalt-Bereich auf Single Posts */
  .single .site-main,
  .single-post .site-main {
    width: 100% !important;
    max-width: 960px !important;
    margin: 0 auto !important;
    float: none !important;
  }

  /* Breadcrumbs zentrieren */
  .single .vb-breadcrumbs {
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 14px 40px !important;
  }

  /* Author box zentrieren */
  .single .vb-author-box {
    max-width: 860px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Related posts zentrieren */
  .vb-related {
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 40px !important;
  }

  /* TOC Box */
  .vb-toc {
    max-width: 100% !important;
  }
}
