/*
Theme Name:  TechnikSmart
Theme URI:   https://techniksmart.de
Description: Standalone Theme für TechnikSmart.de – modernes News & Tech Magazine
Author:      TechnikSmart
Author URI:  https://techniksmart.de
Version:     1.0.0
License:     GNU General Public License v2
Tags:        news, magazine, two-columns, right-sidebar, custom-header, custom-logo, featured-images, translation-ready
Text Domain: techniksmart
*/

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

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  --black:       #0a0a0a;
  --dark:        #111111;
  --dark2:       #1a1a1a;
  --dark3:       #222222;
  --accent:      #e8320a;
  --accent-h:    #ff5530;
  --blue:        #1a6fc4;
  --white:       #ffffff;
  --off-white:   #f5f5f5;
  --grey-light:  #f0f0f0;
  --grey-mid:    #999999;
  --grey-text:   #3d3d3d;
  --border:      #e2e2e2;
  --font:        'Barlow', sans-serif;
  --font-h:      'Barlow Condensed', sans-serif;
  --r:           8px;
  --shadow-s:    0 2px 8px rgba(0,0,0,.06);
  --shadow-m:    0 4px 20px rgba(0,0,0,.09);
  --shadow-l:    0 10px 40px rgba(0,0,0,.13);
  --t:           .2s cubic-bezier(.4,0,.2,1);
  --max-w:       1220px;
  --col-gap:     26px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-text);
  background: var(--grey-light);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; padding: 0; margin: 0; }

/* ============================================================
   TOPBAR – Breaking News Ticker
============================================================ */
.ts-topbar {
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 7px 0;
  overflow: hidden;
}
.ts-topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.ts-topbar-label {
  background: rgba(0,0,0,.22);
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ts-ticker-wrap { overflow: hidden; flex: 1; }
.ts-ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ts-tick 40s linear infinite;
}
.ts-ticker-track a {
  color: #fff;
  opacity: .9;
}
.ts-ticker-track a::before { content: '▸ '; opacity: .65; }
@keyframes ts-tick {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  background: var(--dark);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  max-height: 68px;
  overflow: hidden;
}
.site-logo img,
.site-logo .custom-logo,
.custom-logo-link img,
.site-logo a img {
  height: 46px !important;
  width: auto !important;
  max-width: 180px !important;
  max-height: 46px !important;
  display: block !important;
  object-fit: contain !important;
}
.site-logo a,
.custom-logo-link {
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
}
.site-logo-text {
  font-family: var(--font-h);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  letter-spacing: -.02em;
}
.site-logo-text .s { color: var(--accent); }
.site-logo-text .t { color: var(--blue); }

/* Primary Nav */
.primary-nav { flex: 1; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.primary-nav ul li { position: relative; }
.primary-nav ul li a {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  padding: 8px 14px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--t), background var(--t);
  position: relative;
}
.primary-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--t);
}
.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a {
  color: #fff;
  background: rgba(255,255,255,.07);
}
.primary-nav ul li a:hover::after,
.primary-nav ul li.current-menu-item > a::after { transform: scaleX(1); }

/* Dropdown */
.primary-nav ul li ul {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--dark2);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--r) var(--r);
  min-width: 220px;
  box-shadow: var(--shadow-l);
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 6px 0;
  z-index: 200;
}
.primary-nav ul li:hover > ul { display: flex; }
.primary-nav ul li ul li a {
  font-size: 13px;
  letter-spacing: .03em;
  padding: 9px 18px;
  border-radius: 0;
  color: rgba(255,255,255,.75);
}
.primary-nav ul li ul li a::after { display: none; }
.primary-nav ul li ul li a:hover { color: #fff; background: rgba(255,255,255,.06); }

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  padding: 6px 12px;
  transition: all var(--t);
}
.header-search:focus-within {
  background: rgba(255,255,255,.13);
  border-color: var(--accent);
}
.header-search input {
  background: transparent;
  border: none;
  outline: none;
  color: rgba(255,255,255,.85);
  font-family: var(--font);
  font-size: 13px;
  width: 130px;
  transition: width var(--t);
}
.header-search input::placeholder { color: rgba(255,255,255,.3); }
.header-search input:focus { width: 190px; }
.header-search svg { color: rgba(255,255,255,.4); flex-shrink: 0; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  border-radius: var(--r);
  padding: 7px 10px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

/* ============================================================
   CATEGORY BAR
============================================================ */
.cat-bar {
  background: var(--dark3);
  border-bottom: 1px solid rgba(255,255,255,.05);
  position: sticky;
  top: 71px;
  z-index: 90;
}
.cat-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 2px;
}
.cat-bar-inner::-webkit-scrollbar { display: none; }
.cat-bar-inner a {
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  padding: 9px 14px;
  white-space: nowrap;
  display: inline-block;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--t), border-color var(--t);
}
.cat-bar-inner a:hover { color: rgba(255,255,255,.85); }
.cat-bar-inner a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ============================================================
   PAGE WRAPPER
============================================================ */
.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 20px 48px;
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: var(--col-gap);
  align-items: start;
}

/* ============================================================
   SECTION HEADING
============================================================ */
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.section-heading .dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.section-heading h2 {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--black);
  white-space: nowrap;
}
.section-heading .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}

/* ============================================================
   POST GRID
============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── CARD ── */
.post-card {
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t), transform var(--t);
}
.post-card:hover {
  box-shadow: var(--shadow-l);
  transform: translateY(-3px);
}

/* Thumbnail */
.card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--grey-light);
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.post-card:hover .card-thumb img { transform: scale(1.05); }

/* Category badge */
.card-cat {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-h);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  z-index: 2;
  transition: background var(--t);
}
.card-cat:hover { background: var(--accent-h); }

/* Card body */
.card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  flex-wrap: wrap;
}
.card-meta .author {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.card-meta .sep { color: var(--border); }
.card-meta .date { font-size: 12px; color: var(--grey-mid); }
.card-meta .read-time { font-size: 11px; color: var(--grey-mid); }

.card-title {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--black);
  margin-bottom: 9px;
  transition: color var(--t);
}
.post-card:hover .card-title { color: var(--accent); }
.card-title a { color: inherit; }

.card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-text);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
}
.read-more {
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--t);
}
.post-card:hover .read-more { gap: 9px; }

/* ── FEATURED CARD (erster Post, volle Breite) ── */
.post-card.is-featured {
  grid-column: 1 / -1;
  flex-direction: row;
}
.post-card.is-featured .card-thumb {
  width: 46%;
  flex-shrink: 0;
  aspect-ratio: auto;
  min-height: 260px;
}
.post-card.is-featured .card-title { font-size: 26px; }
.post-card.is-featured .card-excerpt {
  -webkit-line-clamp: 4;
  font-size: 15px;
}

/* Pagination */
.posts-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.posts-pagination a,
.posts-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--r);
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--grey-text);
  transition: all var(--t);
}
.posts-pagination a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.posts-pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============================================================
   SINGLE POST
============================================================ */
.single-post-wrap { background: var(--white); border-radius: var(--r); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-s); }

.single-hero { position: relative; aspect-ratio: 16/7; overflow: hidden; background: var(--grey-light); }
.single-hero img { width: 100%; height: 100%; object-fit: cover; }
.single-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 55%);
  display: flex; align-items: flex-end;
  padding: 28px 32px;
}
.single-hero-overlay .single-cat {
  position: absolute; top: 20px; left: 20px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-h);
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 3px;
}

.single-content-wrap { padding: 32px 36px 40px; }

.single-title {
  font-family: var(--font-h);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 16px;
}
.single-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
  flex-wrap: wrap;
}
.single-meta .author {
  font-weight: 700; font-size: 13px;
  color: var(--accent); text-transform: uppercase; letter-spacing: .04em;
}
.single-meta .date { font-size: 13px; color: var(--grey-mid); }
.single-meta .read-time { font-size: 12px; color: var(--grey-mid); }
.single-meta-dot { width: 4px; height: 4px; background: var(--border); border-radius: 50%; }

/* Post content typography */
.post-content { line-height: 1.8; }
.post-content p { margin-bottom: 22px; font-size: 16px; }
.post-content h2 {
  font-family: var(--font-h); font-size: 26px; font-weight: 800;
  color: var(--black); margin: 32px 0 14px;
  padding-bottom: 8px; border-bottom: 2px solid var(--border);
}
.post-content h3 {
  font-family: var(--font-h); font-size: 21px; font-weight: 700;
  color: var(--black); margin: 26px 0 12px;
}
.post-content ul, .post-content ol { margin: 0 0 22px 24px; }
.post-content li { margin-bottom: 6px; }
.post-content blockquote {
  border-left: 4px solid var(--accent);
  background: var(--off-white);
  padding: 16px 20px;
  margin: 24px 0;
  font-style: italic;
  color: #555;
  border-radius: 0 var(--r) var(--r) 0;
}
.post-content a { color: var(--accent); text-decoration: underline; }
.post-content img { border-radius: var(--r); margin: 20px 0; }

/* Tags */
.post-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.post-tags a {
  background: var(--grey-light);
  border: 1px solid var(--border);
  color: var(--grey-text);
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  transition: all var(--t);
}
.post-tags a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Share */
.post-share {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px; padding: 18px 20px;
  background: var(--grey-light); border-radius: var(--r);
}
.post-share .label {
  font-family: var(--font-h); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--grey-text);
  white-space: nowrap;
}
.share-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 5px;
  font-size: 12px; font-weight: 700; color: #fff;
  transition: opacity var(--t), transform var(--t);
}
.share-btn:hover { opacity: .85; transform: translateY(-1px); }
.share-btn.tw { background: #1d9bf0; }
.share-btn.fb { background: #1877f2; }
.share-btn.li { background: #0a66c2; }

/* Author box */
.author-box {
  display: flex; gap: 18px;
  margin-top: 32px; padding: 22px 24px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-s);
}
.author-avatar {
  width: 72px; height: 72px;
  border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--grey-light);
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info h4 {
  font-family: var(--font-h); font-size: 17px; font-weight: 800;
  color: var(--black); margin-bottom: 4px;
}
.author-info .author-role {
  font-size: 12px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px;
}
.author-info p { font-size: 14px; color: var(--grey-text); }

/* Related posts */
.related-posts { margin-top: 36px; }
.related-posts .section-heading { margin-bottom: 18px; }
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}

/* ============================================================
   SIDEBAR
============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
  overflow: hidden;
}
.widget-title {
  font-family: var(--font-h);
  font-size: 13px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--black);
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.widget-title::before {
  content: '';
  width: 3px; height: 15px;
  background: var(--accent); border-radius: 2px;
  flex-shrink: 0;
}
.widget-body { padding: 0; }

/* Recent posts widget */
.widget-posts { padding: 6px 0; }
.widget-post {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
  cursor: pointer;
}
.widget-post:last-child { border-bottom: none; }
.widget-post:hover { background: var(--grey-light); }
.widget-post-thumb {
  width: 66px; height: 66px;
  border-radius: 6px; overflow: hidden;
  flex-shrink: 0; background: var(--grey-light);
}
.widget-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-post-info { flex: 1; min-width: 0; }
.widget-post-title {
  font-size: 13px; font-weight: 600;
  line-height: 1.35; color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 5px;
  transition: color var(--t);
}
.widget-post:hover .widget-post-title { color: var(--accent); }
.widget-post-date { font-size: 11px; color: var(--grey-mid); }

/* Quote widget */
.widget-quote {
  background: linear-gradient(135deg, var(--dark) 0%, #252525 100%);
  padding: 24px 22px;
  position: relative; overflow: hidden;
}
.widget-quote::before {
  content: '\201C';
  position: absolute; top: -8px; left: 10px;
  font-size: 130px; line-height: 1;
  color: var(--accent); opacity: .15;
  font-family: Georgia, serif; pointer-events: none;
}
.widget-quote p {
  font-size: 14px; line-height: 1.65;
  color: rgba(255,255,255,.85);
  font-style: italic; position: relative; z-index: 1;
  margin-bottom: 14px;
}
.widget-quote cite {
  font-size: 12px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--accent); font-style: normal;
}

/* Social widget */
.widget-social { padding: 16px 18px; }
.social-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.social-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 7px; padding: 10px 8px; border-radius: 6px;
  font-family: var(--font-h); font-size: 12px; font-weight: 700;
  letter-spacing: .04em; color: #fff;
  transition: opacity var(--t), transform var(--t);
}
.social-btn:hover { opacity: .85; transform: translateY(-1px); }
.social-btn.tw { background: #1d9bf0; }
.social-btn.ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-btn.li { background: #0a66c2; }
.social-btn.fb { background: #1877f2; }

/* Newsletter widget */
.widget-newsletter { padding: 20px 18px; }
.widget-newsletter h4 {
  font-family: var(--font-h); font-size: 18px; font-weight: 800;
  color: var(--black); margin-bottom: 8px;
}
.widget-newsletter p {
  font-size: 13px; color: var(--grey-mid); line-height: 1.5; margin-bottom: 14px;
}
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input[type="email"] {
  padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-family: var(--font); font-size: 13px; outline: none;
  transition: border-color var(--t);
}
.newsletter-form input[type="email"]:focus { border-color: var(--accent); }
.newsletter-form button {
  background: var(--accent); color: #fff; border: none;
  border-radius: var(--r); padding: 11px;
  font-family: var(--font-h); font-size: 12px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  cursor: pointer; transition: background var(--t);
}
.newsletter-form button:hover { background: var(--accent-h); }

/* Categories widget */
.widget-cats { padding: 8px 0; }
.widget-cats a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 18px; font-size: 14px; font-weight: 600;
  color: var(--grey-text); border-bottom: 1px solid var(--border);
  transition: all var(--t);
}
.widget-cats a:last-child { border-bottom: none; }
.widget-cats a:hover { color: var(--accent); background: var(--grey-light); padding-left: 24px; }
.widget-cats .count {
  background: var(--grey-light); color: var(--grey-mid);
  font-size: 11px; font-weight: 700;
  padding: 2px 7px; border-radius: 20px;
}

/* ============================================================
   PAGE TEMPLATE
============================================================ */
.page-wrap-single { max-width: 820px; margin: 32px auto; padding: 0 20px; }
.page-content-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-s);
  padding: 40px 44px;
}
.page-content-box h1 {
  font-family: var(--font-h); font-size: 36px; font-weight: 800;
  color: var(--black); margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 2px solid var(--border);
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--dark);
  border-top: 3px solid var(--accent);
  margin-top: 48px;
}
.footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 20px 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand .site-logo-text { font-size: 28px; margin-bottom: 14px; display: block; }
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 16px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: 14px;
  transition: background var(--t), color var(--t);
}
.footer-social a:hover { background: var(--accent); color: #fff; }

.footer-col h4 {
  font-family: var(--font-h); font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.9); margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 14px; color: rgba(255,255,255,.45);
  transition: color var(--t);
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 16px 20px;
}
.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p {
  font-size: 13px; color: rgba(255,255,255,.3);
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a {
  font-size: 12px; color: rgba(255,255,255,.3);
  transition: color var(--t);
}
.footer-bottom-links a:hover { color: var(--accent); }

/* ============================================================
   BREADCRUMB
============================================================ */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.breadcrumb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 9px 20px;
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--grey-mid);
}
.breadcrumb-inner a { color: var(--grey-mid); transition: color var(--t); }
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-inner .sep { opacity: .4; }
.breadcrumb-inner .current { color: var(--grey-text); font-weight: 600; }

/* ============================================================
   404 PAGE
============================================================ */
.error-404-wrap {
  max-width: 600px; margin: 60px auto; padding: 0 20px; text-align: center;
}
.error-404-wrap .num {
  font-family: var(--font-h); font-size: 120px; font-weight: 900;
  color: var(--accent); line-height: 1; margin-bottom: 12px;
}
.error-404-wrap h1 {
  font-family: var(--font-h); font-size: 28px; font-weight: 800;
  color: var(--black); margin-bottom: 14px;
}
.error-404-wrap p { color: var(--grey-mid); margin-bottom: 24px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-family: var(--font-h); font-size: 13px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 12px 24px; border-radius: var(--r);
  transition: background var(--t);
}
.btn-primary:hover { background: var(--accent-h); }

/* ============================================================
   SEARCH RESULTS
============================================================ */
.search-header {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 20px 0; margin-bottom: 24px;
}
.search-header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
}
.search-header h1 {
  font-family: var(--font-h); font-size: 24px; font-weight: 800; color: var(--black);
}
.search-header span { color: var(--accent); }

/* ============================================================
   SIDEBAR – STANDARD WORDPRESS WIDGETS RESTYLING
   Greift auf alle nativen WP-Widgets: Kategorien, Archiv,
   Suche, Text, Recent Posts, Meta etc.
============================================================ */

/* Jedes Widget bekommt unser Card-Design */
.sidebar .widget,
.sidebar > div,
.widget_categories,
.widget_archive,
.widget_search,
.widget_recent_entries,
.widget_text,
.widget_meta,
.widget_tag_cloud,
.widget_calendar,
.widget_pages,
.widget_nav_menu {
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
  box-shadow: var(--shadow-s) !important;
  overflow: hidden !important;
  margin-bottom: 20px !important;
}

/* Widget-Titel (h2/h3 innerhalb Sidebar) */
.sidebar .widget-title,
.sidebar .widgettitle,
.sidebar h2, .sidebar h3 {
  font-family: var(--font-h) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: var(--black) !important;
  padding: 12px 18px !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--border) !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-radius: 0 !important;
}
.sidebar .widget-title::before,
.sidebar .widgettitle::before,
.sidebar h2::before,
.sidebar h3::before {
  content: '' !important;
  width: 3px !important;
  height: 15px !important;
  background: var(--accent) !important;
  border-radius: 2px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

/* Kategorien-Widget */
.widget_categories ul,
.widget_pages ul,
.widget_nav_menu ul {
  padding: 6px 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.widget_categories ul li,
.widget_pages ul li,
.widget_nav_menu ul li {
  border-bottom: 1px solid var(--border) !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.widget_categories ul li:last-child,
.widget_pages ul li:last-child,
.widget_nav_menu ul li:last-child { border-bottom: none !important; }

.widget_categories ul li a,
.widget_pages ul li a,
.widget_nav_menu ul li a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 18px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--grey-text) !important;
  text-decoration: none !important;
  transition: color var(--t), background var(--t), padding-left var(--t) !important;
}
.widget_categories ul li a:hover,
.widget_pages ul li a:hover,
.widget_nav_menu ul li a:hover {
  color: var(--accent) !important;
  background: var(--grey-light) !important;
  padding-left: 24px !important;
}
.widget_categories ul li .post-count {
  background: var(--grey-light) !important;
  color: var(--grey-mid) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 20px !important;
}

/* Archiv-Widget */
.widget_archive ul {
  padding: 6px 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.widget_archive ul li {
  border-bottom: 1px solid var(--border) !important;
  margin: 0 !important;
  list-style: none !important;
}
.widget_archive ul li:last-child { border-bottom: none !important; }
.widget_archive ul li a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 18px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--grey-text) !important;
  text-decoration: none !important;
  transition: color var(--t), background var(--t), padding-left var(--t) !important;
}
.widget_archive ul li a::before {
  content: '›' !important;
  color: var(--accent) !important;
  font-weight: 900 !important;
  margin-right: 8px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}
.widget_archive ul li a:hover {
  color: var(--accent) !important;
  background: var(--grey-light) !important;
  padding-left: 24px !important;
}

/* Suche-Widget */
.widget_search { padding: 0 !important; }
.widget_search .search-form,
.widget_search form {
  display: flex !important;
  padding: 14px 18px !important;
  gap: 8px !important;
}
.widget_search .search-field,
.widget_search input[type="search"],
.widget_search input[type="text"] {
  flex: 1 !important;
  padding: 9px 14px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--r) !important;
  font-family: var(--font) !important;
  font-size: 13px !important;
  outline: none !important;
  transition: border-color var(--t) !important;
  background: var(--white) !important;
  color: var(--grey-text) !important;
}
.widget_search .search-field:focus,
.widget_search input[type="search"]:focus {
  border-color: var(--accent) !important;
}
.widget_search .search-submit,
.widget_search button,
.widget_search input[type="submit"] {
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--r) !important;
  padding: 9px 14px !important;
  font-family: var(--font-h) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background var(--t) !important;
  letter-spacing: .04em !important;
}
.widget_search .search-submit:hover,
.widget_search button:hover,
.widget_search input[type="submit"]:hover {
  background: var(--accent-h) !important;
}

/* Recent Posts Widget */
.widget_recent_entries ul {
  padding: 6px 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.widget_recent_entries ul li {
  padding: 11px 18px !important;
  border-bottom: 1px solid var(--border) !important;
  list-style: none !important;
  transition: background var(--t) !important;
}
.widget_recent_entries ul li:last-child { border-bottom: none !important; }
.widget_recent_entries ul li:hover { background: var(--grey-light) !important; }
.widget_recent_entries ul li a {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--black) !important;
  text-decoration: none !important;
  display: block !important;
  line-height: 1.4 !important;
  margin-bottom: 4px !important;
  transition: color var(--t) !important;
}
.widget_recent_entries ul li a:hover { color: var(--accent) !important; }
.widget_recent_entries ul li .post-date {
  font-size: 11px !important;
  color: var(--grey-mid) !important;
  display: block !important;
}

/* Tag Cloud */
.widget_tag_cloud .tagcloud {
  padding: 14px 18px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
.widget_tag_cloud .tagcloud a {
  background: var(--grey-light) !important;
  border: 1px solid var(--border) !important;
  color: var(--grey-text) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  transition: all var(--t) !important;
}
.widget_tag_cloud .tagcloud a:hover {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

/* Text Widget */
.widget_text .textwidget,
.widget_custom_html .custom-html-widget {
  padding: 16px 18px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: var(--grey-text) !important;
}

/* Meta Widget ausblenden (Login-Links etc. – unschön für Besucher) */
.widget_meta { display: none !important; }

/* Calendar Widget */
.widget_calendar .calendar_wrap {
  padding: 14px 18px !important;
}
.widget_calendar table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 13px !important;
}
.widget_calendar th {
  font-family: var(--font-h) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: var(--grey-mid) !important;
  padding: 4px 0 !important;
  text-align: center !important;
}
.widget_calendar td {
  text-align: center !important;
  padding: 4px 2px !important;
}
.widget_calendar td a {
  color: var(--accent) !important;
  font-weight: 700 !important;
}

/* ============================================================
   UTILITIES
============================================================ */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--grey-mid); margin-top: 6px; text-align: center; }
.alignleft  { float: left; margin: 0 20px 16px 0; }
.alignright { float: right; margin: 0 0 16px 20px; }
.aligncenter { margin: 0 auto 16px; display: block; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .page-wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }  /* Optional: als Accordion unten */
  .posts-grid { grid-template-columns: 1fr; }
  .post-card.is-featured { flex-direction: column; }
  .post-card.is-featured .card-thumb { width: 100%; min-height: 200px; aspect-ratio: 16/9; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-inner { height: 58px; gap: 12px; }
  .site-logo img { height: 38px; }
  .primary-nav { display: none; }
  .primary-nav.open { display: block; position: absolute; top: 61px; left: 0; right: 0; background: var(--dark2); padding: 12px 0; z-index: 200; border-top: 2px solid var(--accent); }
  .primary-nav.open ul { flex-direction: column; gap: 0; }
  .primary-nav.open ul li a { border-radius: 0; padding: 12px 20px; }
  .primary-nav.open ul li a::after { display: none; }
  .menu-toggle { display: block; }
  .header-search input { width: 80px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .single-title { font-size: 26px; }
  .single-content-wrap { padding: 20px 18px 28px; }
  .page-content-box { padding: 24px 18px; }
}


/* ============================================================
   NUCLEAR SIDEBAR OVERRIDE – Überschreibt alles
============================================================ */

/* Sidebar Container */
aside.sidebar,
.sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* ALLE Widgets in der Sidebar – Card-Wrapper */
.sidebar > div,
.sidebar > section,
.sidebar .widget,
aside .widget,
[id*="sidebar"] .widget,
.widget-area .widget {
    background: #ffffff !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
    overflow: hidden !important;
    margin: 0 0 0 0 !important;
    padding: 0 !important;
}

/* Widget Titel – h2 oder h3 */
.sidebar .widget h2,
.sidebar .widget h3,
.sidebar .widget .widget-title,
.sidebar .widget .widgettitle,
aside .widget h2,
aside .widget h3,
aside .widget .widget-title,
aside .widget .widgettitle {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    color: #0a0a0a !important;
    background: #ffffff !important;
    padding: 12px 18px !important;
    margin: 0 !important;
    border: none !important;
    border-bottom: 1px solid #e2e2e2 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: none !important;
}
.sidebar .widget h2::before,
.sidebar .widget h3::before,
.sidebar .widget .widget-title::before,
.sidebar .widget .widgettitle::before,
aside .widget h2::before,
aside .widget h3::before {
    content: '' !important;
    width: 3px !important;
    height: 15px !important;
    background: #e8320a !important;
    border-radius: 2px !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* Kategorien + Archiv + Pages Listen */
.sidebar .widget ul,
aside .widget ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 4px 0 !important;
}
.sidebar .widget ul li,
aside .widget ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #e2e2e2 !important;
}
.sidebar .widget ul li:last-child,
aside .widget ul li:last-child {
    border-bottom: none !important;
}
.sidebar .widget ul li a,
aside .widget ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 9px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #3d3d3d !important;
    text-decoration: none !important;
    transition: all .2s !important;
    background: transparent !important;
}
.sidebar .widget ul li a:hover,
aside .widget ul li a:hover {
    color: #e8320a !important;
    background: #f0f0f0 !important;
    padding-left: 24px !important;
}

/* Post-Count in Kategorien */
.sidebar .widget ul li .post-count,
aside .widget ul li .post-count {
    background: #f0f0f0 !important;
    color: #999 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 20px !important;
    min-width: 24px !important;
    text-align: center !important;
}

/* Suche-Widget */
.sidebar .widget_search,
.sidebar .widget_search form,
aside .widget_search,
aside .widget_search form {
    padding: 0 !important;
}
.sidebar .widget_search .search-form,
aside .widget_search .search-form {
    display: flex !important;
    padding: 14px 18px !important;
    gap: 8px !important;
    margin: 0 !important;
}
.sidebar .widget_search input[type="search"],
.sidebar .widget_search input[type="text"],
aside .widget_search input[type="search"],
aside .widget_search input[type="text"] {
    flex: 1 !important;
    padding: 9px 12px !important;
    border: 1.5px solid #e2e2e2 !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    outline: none !important;
    background: #ffffff !important;
    color: #3d3d3d !important;
    min-width: 0 !important;
    box-shadow: none !important;
}
.sidebar .widget_search input[type="search"]:focus,
aside .widget_search input[type="search"]:focus {
    border-color: #e8320a !important;
}
.sidebar .widget_search input[type="submit"],
.sidebar .widget_search button,
aside .widget_search input[type="submit"],
aside .widget_search button {
    background: #e8320a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 9px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}
.sidebar .widget_search input[type="submit"]:hover,
aside .widget_search input[type="submit"]:hover {
    background: #ff5530 !important;
}

/* Meta Widget verstecken */
.sidebar .widget_meta,
aside .widget_meta {
    display: none !important;
}

/* Archiv: Pfeil vor Links */
.sidebar .widget_archive ul li a::before,
aside .widget_archive ul li a::before {
    content: '›' !important;
    color: #e8320a !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
}

/* Doppelten Suche-Block entfernen (2. Suche) */
.sidebar .widget_search + .widget_search,
aside .widget_search + .widget_search {
    display: none !important;
}

/* ============================================================
   TS-WIDGETS – Eigene Sidebar-Widgets (kein WP-System)
============================================================ */

.ts-widget {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  overflow: hidden;
  margin-bottom: 20px;
}

/* Widget Titel */
.ts-widget-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #0a0a0a;
  padding: 12px 18px;
  border-bottom: 1px solid #e2e2e2;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ts-widget-title::before {
  content: '';
  width: 3px;
  height: 15px;
  background: #e8320a;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
}

/* ── Neueste Beiträge ── */
.ts-widget-post {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid #e2e2e2;
  text-decoration: none;
  transition: background .2s;
}
.ts-widget-post:last-child { border-bottom: none; }
.ts-widget-post:hover { background: #f5f5f5; }

.ts-widget-thumb {
  width: 66px;
  height: 66px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
}
.ts-widget-thumb img {
  width: 66px !important;
  height: 66px !important;
  object-fit: cover !important;
  display: block !important;
}
.ts-no-thumb {
  width: 66px;
  height: 66px;
  background: linear-gradient(135deg, #e2e2e2, #f5f5f5);
  border-radius: 6px;
}

.ts-widget-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ts-widget-post-title {
  font-size: 13px;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.ts-widget-post:hover .ts-widget-post-title { color: #e8320a; }
.ts-widget-date {
  font-size: 11px;
  color: #999;
}

/* ── Kategorien + Archiv Liste ── */
.ts-widget-list {
  padding: 4px 0;
}
.ts-widget-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #3d3d3d;
  text-decoration: none;
  border-bottom: 1px solid #e2e2e2;
  transition: color .2s, background .2s, padding-left .2s;
}
.ts-widget-list-item:last-child { border-bottom: none; }
.ts-widget-list-item:hover {
  color: #e8320a;
  background: #f5f5f5;
  padding-left: 24px;
}
.ts-widget-count {
  background: #f0f0f0;
  color: #999;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  min-width: 24px;
  text-align: center;
}

/* ── Newsletter ── */
.ts-widget-newsletter {
  padding: 16px 18px 20px;
}
.ts-widget-newsletter p {
  font-size: 13px;
  color: #999;
  line-height: 1.5;
  margin-bottom: 14px;
}
.ts-widget-newsletter input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e2e2e2;
  border-radius: 6px;
  font-size: 13px;
  font-family: 'Barlow', sans-serif;
  outline: none;
  margin-bottom: 8px;
  transition: border-color .2s;
  display: block;
}
.ts-widget-newsletter input[type="email"]:focus { border-color: #e8320a; }
.ts-widget-newsletter button {
  width: 100%;
  background: #e8320a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 11px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.ts-widget-newsletter button:hover { background: #ff5530; }

/* ── Zitat ── */
.ts-widget-quote {
  background: linear-gradient(135deg, #111111 0%, #252525 100%);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
}
.ts-widget-quote::before {
  content: '\201C';
  position: absolute;
  top: -8px; left: 10px;
  font-size: 130px;
  line-height: 1;
  color: #e8320a;
  opacity: .15;
  font-family: Georgia, serif;
  pointer-events: none;
}
.ts-widget-quote p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}
.ts-widget-quote cite {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #e8320a;
  font-style: normal;
}

/* ── Social Media ── */
.ts-widget-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 16px 18px;
}
.ts-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.ts-social-btn:hover { opacity: .85; transform: translateY(-1px); }
.ts-social-tw { background: #1d9bf0; }
.ts-social-ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.ts-social-li { background: #0a66c2; }
.ts-social-fb { background: #1877f2; }


/* Newsletter-Link Button */
.ts-widget-newsletter-btn {
  display: block;
  background: #e8320a;
  color: #fff;
  text-align: center;
  padding: 11px 14px;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
}
.ts-widget-newsletter-btn:hover { background: #ff5530; color: #fff; }

/* YouTube Social Button */
.ts-social-yt { background: #ff0000; }
