/* TREND-TECH ENHANCEMENTS - style.css */

:root {
  --tt-bg: #f6f1e8;
  --tt-bg-soft: #fbf8f2;
  --tt-panel: rgba(255, 255, 255, 0.8);
  --tt-panel-strong: #fffdf8;
  --tt-text: #171717;
  --tt-muted: #635b52;
  --tt-accent: #d85f38;
  --tt-accent-strong: #b6441e;
  --tt-accent-soft: #f4d8c8;
  --tt-secondary: #163b36;
  --tt-secondary-soft: #d9ebe8;
  --tt-border: rgba(23, 23, 23, 0.1);
  --tt-shadow: 0 24px 80px rgba(36, 28, 18, 0.12);
  --tt-shadow-soft: 0 12px 40px rgba(36, 28, 18, 0.08);
  --tt-radius: 22px;
  --tt-radius-sm: 14px;
  --tt-content: 1180px;
  --tt-speed: 220ms ease;
}

html.dark-mode {
  --tt-bg: #121212;
  --tt-bg-soft: #191919;
  --tt-panel: rgba(28, 28, 28, 0.82);
  --tt-panel-strong: #212121;
  --tt-text: #f5f2ea;
  --tt-muted: #b6ada2;
  --tt-accent: #ff8a57;
  --tt-accent-strong: #ffb18d;
  --tt-accent-soft: rgba(255, 138, 87, 0.16);
  --tt-secondary: #8fd7cb;
  --tt-secondary-soft: rgba(143, 215, 203, 0.14);
  --tt-border: rgba(255, 255, 255, 0.1);
  --tt-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --tt-shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.22);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(216, 95, 56, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(22, 59, 54, 0.08), transparent 26%),
    linear-gradient(180deg, var(--tt-bg-soft) 0%, var(--tt-bg) 220px, var(--tt-bg) 100%);
  color: var(--tt-text) !important;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  transition: background var(--tt-speed), color var(--tt-speed);
}

h1,
h2,
h3,
h4,
.wp-block-site-title,
.tt-nav-logo,
.tt-post-title,
.tt-section-title {
  font-family: "Archivo", "Segoe UI", sans-serif !important;
  letter-spacing: -0.03em;
}

a {
  color: var(--tt-secondary);
  transition: color var(--tt-speed), opacity var(--tt-speed), transform var(--tt-speed);
}

a:hover {
  color: var(--tt-accent);
}

.wp-site-blocks,
.entry-content {
  background: transparent !important;
}

header.wp-block-template-part,
.wp-block-template-part[class*="header"],
footer.wp-block-template-part,
.wp-block-template-part[class*="footer"] {
  display: none !important;
}

#tt-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(246, 241, 232, 0.78);
  border-bottom: 1px solid var(--tt-border);
}

html.dark-mode #tt-nav {
  background: rgba(18, 18, 18, 0.86);
}

.tt-nav-inner {
  max-width: var(--tt-content);
  margin: 0 auto;
  padding: 0 22px;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tt-nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tt-text) !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#tt-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

#tt-nav-links li a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--tt-text) !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  font-weight: 600;
}

#tt-nav-links li a:hover,
#tt-nav-links li a.active {
  background: var(--tt-secondary-soft);
  color: var(--tt-secondary) !important;
}

.tt-nav-divider {
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--tt-border);
}

#tt-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--tt-text);
  font-size: 1.5rem;
  cursor: pointer;
}

#tt-darkmode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid var(--tt-border);
  border-radius: 999px;
  background: var(--tt-panel-strong);
  color: var(--tt-text);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--tt-shadow-soft);
}

#tt-darkmode-toggle:hover {
  transform: translateY(-1px);
  background: var(--tt-accent);
  border-color: var(--tt-accent);
  color: #fff;
}

html:not(.dark-mode) #tt-darkmode-toggle .icon-sun {
  display: none;
}

html.dark-mode #tt-darkmode-toggle .icon-moon {
  display: none;
}

.tt-hero {
  position: relative;
  overflow: hidden;
  max-width: calc(var(--tt-content) + 40px);
  margin: 26px auto 0;
  padding: 0 20px;
  background: transparent;
}

.tt-hero::before,
.tt-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.tt-hero::before {
  width: 320px;
  height: 320px;
  right: -40px;
  top: -60px;
  background: radial-gradient(circle, rgba(216, 95, 56, 0.24), transparent 68%);
}

.tt-hero::after {
  width: 260px;
  height: 260px;
  left: -70px;
  bottom: -110px;
  background: radial-gradient(circle, rgba(22, 59, 54, 0.15), transparent 68%);
}

.tt-hero-content {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 78px 44px 86px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(140deg, rgba(15, 31, 28, 0.92), rgba(26, 29, 37, 0.86) 48%, rgba(216, 95, 56, 0.82) 145%);
  color: #fff;
  box-shadow: var(--tt-shadow);
  text-align: left;
}

.tt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tt-hero h1 {
  max-width: 760px;
  margin: 0 0 18px !important;
  font-size: clamp(2.9rem, 6vw, 5.3rem) !important;
  line-height: 0.96 !important;
  color: #fff !important;
}

.tt-hero p {
  max-width: 640px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
}

.tt-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none !important;
}

.tt-btn-primary {
  background: #fff;
  color: #111 !important;
}

.tt-btn-primary:hover {
  transform: translateY(-2px);
  background: #fff2ec;
  color: var(--tt-accent) !important;
}

.tt-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff !important;
}

.tt-btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.tt-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 30px;
  align-items: end;
}

.tt-hero-copy {
  max-width: 720px;
}

.tt-hero-aside {
  display: flex;
}

.tt-hero-panel {
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--tt-shadow-soft);
}

.tt-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--tt-accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tt-hero-panel strong,
.tt-mini-card strong,
.tt-newsletter-card strong,
.tt-trust-strip strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Archivo", "Segoe UI", sans-serif;
  font-size: 1.08rem;
  line-height: 1.15;
}

.tt-hero-panel p,
.tt-mini-card span:last-child,
.tt-newsletter-card p,
.tt-trust-strip p {
  margin: 0;
  line-height: 1.7;
}

.tt-hero-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.tt-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tt-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none !important;
}

.tt-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff !important;
}

.tt-section {
  max-width: var(--tt-content);
  margin: 0 auto;
  padding: 56px 20px 0;
}

.tt-section-tight {
  padding-top: 28px;
}

.tt-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.tt-section-head .tt-section-sub {
  margin: 0;
}

.tt-section-title {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 800;
  color: var(--tt-text);
}

.tt-section-sub {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--tt-muted);
  font-size: 1rem;
}

.tt-cat-grid,
.tt-posts-grid {
  display: grid;
  gap: 20px;
}

.tt-cat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tt-cat-card,
.tt-post-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius);
  background: var(--tt-panel-strong);
  box-shadow: var(--tt-shadow-soft);
}

.tt-cat-card {
  min-height: 208px;
  padding: 24px;
  text-decoration: none !important;
}

.tt-cat-card::before,
.tt-post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 32%);
  pointer-events: none;
}

.tt-cat-card:hover,
.tt-post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 95, 56, 0.26);
  box-shadow: 0 24px 52px rgba(36, 28, 18, 0.14);
}

.tt-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--tt-accent-soft);
  font-size: 1.6rem;
}

.tt-cat-name {
  display: block;
  margin-bottom: 8px;
  color: var(--tt-text) !important;
  font-size: 1.05rem;
  font-weight: 800;
}

.tt-cat-count {
  display: block;
  color: var(--tt-muted);
  font-size: 0.9rem;
}

.tt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.tt-tab {
  padding: 10px 16px;
  border: 1px solid var(--tt-border);
  border-radius: 999px;
  background: transparent;
  color: var(--tt-text);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.tt-tab:hover {
  border-color: rgba(216, 95, 56, 0.4);
  color: var(--tt-accent);
}

.tt-tab.active {
  background: var(--tt-secondary);
  border-color: var(--tt-secondary);
  color: #fff;
}

.tt-posts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tt-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tt-trust-strip > div,
.tt-mini-card,
.tt-newsletter-card,
.tt-feature-card,
.tt-feature-list {
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius);
  background: var(--tt-panel-strong);
  box-shadow: var(--tt-shadow-soft);
}

.tt-trust-strip > div {
  padding: 22px;
  color: var(--tt-text) !important;
}

.tt-trust-strip strong {
  color: var(--tt-text) !important;
}

.tt-trust-strip p {
  color: var(--tt-muted) !important;
}

.tt-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.9fr);
  gap: 22px;
}

.tt-feature-card {
  overflow: hidden;
}

.tt-feature-image {
  height: 360px;
  background: var(--tt-bg-soft);
}

.tt-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tt-feature-body {
  padding: 28px;
}

.tt-feature-title {
  display: block;
  margin-bottom: 14px;
  color: var(--tt-text) !important;
  text-decoration: none !important;
  font-family: "Archivo", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
}

.tt-feature-title:hover {
  color: var(--tt-accent) !important;
}

.tt-feature-excerpt {
  margin-bottom: 22px;
  color: var(--tt-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.tt-feature-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--tt-muted);
  font-size: 0.9rem;
}

.tt-feature-list {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.tt-mini-card,
.tt-newsletter-card {
  padding: 18px;
  color: var(--tt-text) !important;
  text-decoration: none !important;
}

.tt-mini-card:hover {
  transform: translateY(-3px);
}

.tt-mini-card-meta {
  display: block;
  margin-bottom: 8px;
  color: var(--tt-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tt-newsletter-card {
  background: linear-gradient(135deg, var(--tt-secondary-soft), rgba(216, 95, 56, 0.14));
}

.tt-post-card-img {
  position: relative;
  height: 228px;
  overflow: hidden;
  background: var(--tt-bg-soft);
}

.tt-post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
  display: block;
}

.tt-post-card:hover .tt-post-card-img img {
  transform: scale(1.04);
}

.tt-post-card-body {
  padding: 24px;
}

.tt-post-cat {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--tt-secondary-soft);
  color: var(--tt-secondary) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
}

.tt-post-title {
  display: block;
  margin-bottom: 10px;
  color: var(--tt-text) !important;
  text-decoration: none !important;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.18;
}

.tt-post-title:hover {
  color: var(--tt-accent) !important;
}

.tt-section:first-of-type .tt-cat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tt-section:first-of-type .tt-cat-card {
  min-height: 240px;
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(216, 95, 56, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.92));
}

html.dark-mode .tt-section:first-of-type .tt-cat-card {
  background:
    radial-gradient(circle at top right, rgba(255, 138, 87, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(33, 33, 33, 0.94), rgba(18, 18, 18, 0.98));
}

.tt-section:first-of-type .tt-cat-card:nth-child(1),
.tt-section:first-of-type .tt-cat-card:nth-child(4) {
  transform: translateY(18px);
}

.tt-section:first-of-type .tt-cat-name {
  font-size: 1.3rem;
}

.tt-section:first-of-type .tt-cat-count {
  font-size: 0.95rem;
}

.tt-section + .tt-section .tt-tabs {
  padding: 8px;
  border: 1px solid var(--tt-border);
  border-radius: 24px;
  background: var(--tt-panel);
  backdrop-filter: blur(12px);
}

.tt-post-card {
  transition: transform var(--tt-speed), box-shadow var(--tt-speed), border-color var(--tt-speed);
}

.tt-post-card:nth-child(1) {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
}

.tt-post-card:nth-child(1) .tt-post-card-img {
  height: 100%;
  min-height: 100%;
}

.tt-post-card:nth-child(1) .tt-post-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.tt-post-card:nth-child(1) .tt-post-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.tt-post-card:nth-child(1) .tt-post-excerpt {
  font-size: 1rem;
}

.tt-post-card:nth-child(n+2) {
  animation: tt-rise 600ms ease both;
}

.tt-post-card:nth-child(2) { animation-delay: 80ms; }
.tt-post-card:nth-child(3) { animation-delay: 140ms; }
.tt-post-card:nth-child(4) { animation-delay: 200ms; }
.tt-post-card:nth-child(5) { animation-delay: 260ms; }
.tt-post-card:nth-child(6) { animation-delay: 320ms; }

@keyframes tt-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tt-post-excerpt {
  margin-bottom: 18px;
  color: var(--tt-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.tt-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--tt-muted);
  font-size: 0.83rem;
}

.tt-read-more {
  color: var(--tt-accent) !important;
  text-decoration: none !important;
  font-weight: 700;
}

.tt-read-more:hover {
  transform: translateX(2px);
}

.single main,
.single .entry-content,
.single .wp-site-blocks main {
  max-width: 860px;
  margin: 0 auto;
}

.single .wp-post-image,
.single .post-thumbnail img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--tt-shadow);
}

.single h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem) !important;
  line-height: 1.02 !important;
}

.single h2 {
  margin: 3rem 0 1rem !important;
  padding-top: 0.15rem;
  border-top: 1px solid var(--tt-border);
  color: var(--tt-text) !important;
  font-size: 1.9rem !important;
  font-weight: 800 !important;
}

.single h3 {
  margin: 2rem 0 0.8rem !important;
  color: var(--tt-text) !important;
  font-size: 1.28rem !important;
  font-weight: 800 !important;
}

.single p,
.single li {
  color: var(--tt-text) !important;
  font-size: 1.03rem;
  line-height: 1.85 !important;
}

.single ul li {
  margin-bottom: 10px;
}

.wp-block-table.product-specs table,
.wp-block-table.comparison-table table {
  width: 100% !important;
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid var(--tt-border);
  border-radius: 18px;
  background: var(--tt-panel-strong);
  box-shadow: var(--tt-shadow-soft);
}

.wp-block-table.product-specs th,
.wp-block-table.comparison-table th {
  padding: 14px 16px !important;
  background: var(--tt-secondary) !important;
  color: #fff !important;
  text-align: left !important;
  font-weight: 700 !important;
}

.wp-block-table.product-specs td,
.wp-block-table.comparison-table td {
  padding: 14px 16px !important;
  color: var(--tt-text) !important;
  background: var(--tt-panel-strong) !important;
  border-bottom: 1px solid var(--tt-border) !important;
}

.single a[href*="amazon.de"][href*="tag="] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 14px 20px !important;
  margin: 10px 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ffcb66, #f39237) !important;
  color: #1a1a1a !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 18px 36px rgba(243, 146, 55, 0.24) !important;
}

.single a[href*="amazon.de"][href*="tag="]:hover {
  transform: translateY(-2px) !important;
}

#tt-footer {
  margin-top: 84px;
  padding-top: 0;
  background: transparent;
}

.tt-footer-inner {
  max-width: var(--tt-content);
  margin: 0 auto;
  padding: 34px 20px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 28px;
  border: 1px solid var(--tt-border);
  border-radius: 28px 28px 0 0;
  background: var(--tt-panel-strong);
  box-shadow: var(--tt-shadow-soft);
}

.tt-footer-logo {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--tt-text) !important;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tt-footer-brand p,
.tt-footer-bottom p {
  color: var(--tt-muted);
}

.tt-footer-links h4 {
  margin-bottom: 12px;
  color: var(--tt-text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tt-footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tt-footer-links li + li {
  margin-top: 9px;
}

.tt-footer-links a {
  color: var(--tt-muted) !important;
  text-decoration: none !important;
}

.tt-footer-links a:hover {
  color: var(--tt-accent) !important;
}

.tt-footer-bottom {
  max-width: var(--tt-content);
  margin: 0 auto 40px;
  padding: 20px;
  border: 1px solid var(--tt-border);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: var(--tt-panel-strong);
  text-align: center;
}

.tt-affiliate-note {
  font-size: 0.8rem !important;
}

.tt-reading-strip,
.tt-related-section {
  max-width: min(100%, 940px);
  margin: 28px auto;
  padding: 22px 24px;
  border: 1px solid var(--tt-border);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--tt-panel-strong), var(--tt-panel));
  box-shadow: var(--tt-shadow-soft);
}

.tt-reading-strip {
  display: grid;
  gap: 16px;
}

.tt-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--tt-muted);
}

.tt-breadcrumbs a {
  color: var(--tt-secondary);
  text-decoration: none;
}

.tt-crumb-sep {
  color: var(--tt-muted);
}

.tt-reading-copy strong,
.tt-related-head h2 {
  display: block;
  margin-bottom: 8px;
  color: var(--tt-text);
}

.tt-reading-copy p,
.tt-related-head p {
  margin: 0;
  color: var(--tt-muted);
}

.tt-topic-chip-row,
.tt-related-grid {
  display: grid;
  gap: 12px;
}

.tt-topic-chip-row {
  grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
}

.tt-topic-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--tt-border);
  border-radius: 999px;
  background: var(--tt-panel-strong);
  color: var(--tt-secondary) !important;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none !important;
}

.tt-topic-chip:hover {
  border-color: var(--tt-accent);
  background: var(--tt-accent-soft);
  color: var(--tt-accent) !important;
}

.tt-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.tt-related-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--tt-border);
  border-radius: 18px;
  background: var(--tt-bg-soft);
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(36, 28, 18, 0.05);
}

.tt-related-card strong {
  color: var(--tt-text);
  font-size: 1rem;
}

.tt-related-card span:last-child {
  color: var(--tt-muted);
  line-height: 1.6;
}

.tt-related-kicker {
  color: var(--tt-accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tt-related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 95, 56, 0.28);
  box-shadow: var(--tt-shadow-soft);
}

#tt-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--tt-secondary);
  color: #fff;
  box-shadow: var(--tt-shadow-soft);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--tt-speed);
}

#tt-back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#tt-back-to-top:hover {
  background: var(--tt-accent);
}

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

@media (max-width: 1080px) {
  .tt-cat-grid,
  .tt-posts-grid,
  .tt-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tt-hero-content,
  .tt-feature-grid {
    grid-template-columns: 1fr;
  }

  .tt-section-head {
    display: block;
  }

  .tt-post-card:nth-child(1) {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .tt-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .tt-hero-content {
    padding: 48px 24px 54px;
    border-radius: 26px;
  }

  .tt-hero h1 {
    max-width: 100%;
  }

  #tt-nav-toggle {
    display: block;
  }

  #tt-nav-links {
    display: none;
    position: absolute;
    top: 73px;
    left: 14px;
    right: 14px;
    padding: 14px;
    border: 1px solid var(--tt-border);
    border-radius: 20px;
    background: var(--tt-panel-strong);
    box-shadow: var(--tt-shadow-soft);
    flex-direction: column;
    align-items: stretch;
  }

  #tt-nav-links.open {
    display: flex !important;
  }

  .tt-nav-divider {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
  }

  #tt-darkmode-toggle {
    margin-left: 0;
  }

  .tt-feature-image {
    height: 280px;
  }

  .tt-feature-meta {
    display: block;
  }
}

@media (max-width: 680px) {
  .tt-section {
    padding: 42px 16px 0;
  }

  .tt-hero {
    padding: 0 16px;
  }

  .tt-cat-grid,
  .tt-posts-grid,
  .tt-footer-inner,
  .tt-trust-strip,
  .tt-feature-grid {
    grid-template-columns: 1fr;
  }

  .tt-section:first-of-type .tt-cat-card:nth-child(1),
  .tt-section:first-of-type .tt-cat-card:nth-child(4) {
    transform: none;
  }

  .tt-post-card-img {
    height: 210px;
  }

  .tt-post-card-body,
  .tt-cat-card {
    padding: 20px;
  }

  .tt-reading-strip,
  .tt-related-section {
    padding: 18px;
  }

  .tt-related-grid {
    grid-template-columns: 1fr;
  }

  .tt-footer-bottom {
    margin-bottom: 22px;
  }
}

/* TREND-TECH modern readability pass */
:root {
  --tt-bg: #f5f7fb;
  --tt-bg-soft: #eef3f8;
  --tt-panel: rgba(255, 255, 255, 0.92);
  --tt-panel-strong: #ffffff;
  --tt-text: #111827;
  --tt-muted: #526070;
  --tt-accent: #2563eb;
  --tt-accent-strong: #1d4ed8;
  --tt-accent-soft: #dbeafe;
  --tt-secondary: #0f766e;
  --tt-secondary-soft: #ccfbf1;
  --tt-border: rgba(15, 23, 42, 0.1);
  --tt-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  --tt-shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
  --tt-radius: 8px;
  --tt-radius-sm: 8px;
  --tt-content: 1180px;
}

html.dark-mode {
  --tt-bg: #0f172a;
  --tt-bg-soft: #111827;
  --tt-panel: rgba(17, 24, 39, 0.9);
  --tt-panel-strong: #111827;
  --tt-text: #f8fafc;
  --tt-muted: #cbd5e1;
  --tt-accent: #60a5fa;
  --tt-accent-strong: #93c5fd;
  --tt-accent-soft: rgba(96, 165, 250, 0.18);
  --tt-secondary: #5eead4;
  --tt-secondary-soft: rgba(94, 234, 212, 0.15);
  --tt-border: rgba(255, 255, 255, 0.12);
}

body {
  background: linear-gradient(180deg, #ffffff 0, var(--tt-bg) 240px, var(--tt-bg) 100%);
  color: var(--tt-text) !important;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#tt-nav *,
.tt-hero *,
.tt-section *,
#tt-footer *,
.single .entry-content * {
  box-sizing: border-box;
}

html.dark-mode body {
  background: linear-gradient(180deg, #0b1120 0, var(--tt-bg) 260px, var(--tt-bg) 100%);
}

h1,
h2,
h3,
h4,
.wp-block-site-title,
.tt-nav-logo,
.tt-post-title,
.tt-section-title {
  letter-spacing: 0 !important;
}

#tt-nav {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

html.dark-mode #tt-nav {
  background: rgba(15, 23, 42, 0.88);
}

.tt-nav-inner {
  min-height: 68px;
}

#tt-nav-links li a,
.tt-tab,
.tt-topic-chip,
.tt-pill,
.tt-btn {
  border-radius: 8px;
}

#tt-darkmode-toggle {
  border-radius: 8px;
  box-shadow: none;
}

.tt-hero {
  margin-top: 30px;
}

.tt-hero::before,
.tt-hero::after {
  display: none;
}

.tt-hero-content {
  max-width: var(--tt-content);
  padding: 64px 40px;
  border: 1px solid var(--tt-border);
  border-radius: 12px;
  background: var(--tt-panel-strong);
  color: var(--tt-text);
  box-shadow: var(--tt-shadow-soft);
}

.tt-hero h1 {
  max-width: 780px;
  color: var(--tt-text) !important;
  font-size: clamp(2.35rem, 5vw, 4.45rem) !important;
  line-height: 1.05 !important;
}

.tt-hero p {
  color: var(--tt-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.tt-hero-badge {
  border-color: transparent;
  background: var(--tt-accent-soft);
  color: var(--tt-accent);
}

.tt-hero-panel {
  border-color: var(--tt-border);
  border-radius: 8px;
  background: var(--tt-bg-soft);
  box-shadow: none;
}

.tt-hero-panel p {
  color: var(--tt-muted);
}

.tt-hero-panel strong {
  color: var(--tt-text);
}

.tt-pill {
  background: var(--tt-panel-strong);
  color: var(--tt-secondary) !important;
  border: 1px solid var(--tt-border);
}

.tt-pill:hover {
  background: var(--tt-secondary-soft);
  color: var(--tt-secondary) !important;
}

.tt-btn-primary {
  background: var(--tt-accent);
  color: #fff !important;
}

.tt-btn-primary:hover {
  background: var(--tt-accent-strong);
  color: #fff !important;
}

.tt-btn-secondary {
  border: 1px solid var(--tt-border);
  background: var(--tt-panel-strong);
  color: var(--tt-text) !important;
}

.tt-btn-secondary:hover {
  background: var(--tt-bg-soft);
  color: var(--tt-accent) !important;
}

.tt-section {
  padding-top: 48px;
}

.tt-section-head {
  align-items: flex-start;
}

.tt-section-title {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.12;
}

.tt-section-sub,
.tt-post-excerpt,
.tt-feature-excerpt,
.tt-mini-card span:last-child,
.tt-related-card span:last-child {
  color: var(--tt-muted);
}

.tt-cat-card,
.tt-post-card,
.tt-trust-strip > div,
.tt-mini-card,
.tt-newsletter-card,
.tt-feature-card,
.tt-feature-list,
.tt-reading-strip,
.tt-related-section,
.tt-related-card,
.tt-footer-inner,
.tt-footer-bottom {
  border-radius: 8px;
  box-shadow: var(--tt-shadow-soft);
}

.tt-cat-card,
.tt-post-card,
.tt-feature-card,
.tt-mini-card,
.tt-related-card {
  transition: transform var(--tt-speed), box-shadow var(--tt-speed), border-color var(--tt-speed), background var(--tt-speed);
}

.tt-cat-card:hover,
.tt-post-card:hover,
.tt-mini-card:hover,
.tt-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.28);
}

.tt-cat-icon {
  border-radius: 8px;
}

.tt-post-card-img,
.tt-feature-image {
  background: #e5eaf2;
}

.tt-post-title,
.tt-feature-title {
  line-height: 1.18;
}

.tt-post-card:nth-child(1) .tt-post-title {
  line-height: 1.08;
}

.single main,
.single .entry-content,
.single .wp-site-blocks main {
  max-width: 780px;
}

.single h1 {
  max-width: 920px;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: clamp(2.2rem, 5vw, 3.85rem) !important;
  line-height: 1.08 !important;
}

.single h2 {
  margin-top: 2.65rem !important;
  border-top: 0;
  font-size: clamp(1.55rem, 2.8vw, 2rem) !important;
  line-height: 1.22 !important;
}

.single h3 {
  line-height: 1.28 !important;
}

.single p,
.single li {
  font-size: 1.06rem;
  line-height: 1.82 !important;
}

.single figure,
.single .wp-block-image {
  margin-top: 28px !important;
  margin-bottom: 28px !important;
}

.single figure img,
.single .wp-block-image img,
.single .entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.single figcaption {
  color: var(--tt-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.single table {
  width: 100%;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.96rem;
}

.single th,
.single td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.single a[href*="amazon.de"][href*="tag="] {
  border-radius: 8px !important;
  background: #f59e0b !important;
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.2) !important;
  box-sizing: border-box !important;
  line-height: 1.25 !important;
  min-height: 44px;
  min-width: 160px;
  justify-content: center;
  text-align: center;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.single .entry-content .wp-block-table,
.single .entry-content figure.wp-block-table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 821px) {
  .single .entry-content .wp-block-table table,
  .single .entry-content figure.wp-block-table table {
    min-width: 920px;
  }

  .single .entry-content th,
  .single .entry-content td {
    word-break: normal;
    overflow-wrap: break-word;
  }

  .single .entry-content th:last-child,
  .single .entry-content td:last-child {
    min-width: 210px;
  }

  .single .entry-content td a[href*="amazon.de"][href*="tag="] {
    width: auto !important;
    max-width: 100%;
    min-width: 186px;
    padding: 12px 14px !important;
    white-space: nowrap;
  }
}

.tt-reading-strip,
.tt-related-section {
  max-width: min(100%, 860px);
  background: var(--tt-panel-strong);
}

.tt-related-grid {
  grid-template-columns: 1fr;
}

.tt-related-card {
  background: var(--tt-bg-soft);
}

@media (max-width: 820px) {
  .tt-nav-inner {
    min-height: 64px;
    padding: 0 18px;
  }

  #tt-nav-links {
    top: 64px;
    border-radius: 8px;
  }

  .tt-hero-content {
    padding: 42px 24px;
    border-radius: 8px;
  }

  .tt-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem) !important;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .tt-hero {
    padding: 0 14px;
  }

  .tt-section {
    padding: 36px 14px 0;
  }

  .tt-hero-content {
    padding: 34px 20px;
  }

  .tt-hero-btns,
  .tt-hero-pills {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .tt-btn,
  .tt-pill {
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .tt-trust-strip > div,
  .tt-post-card-body,
  .tt-feature-body,
  .tt-cat-card,
  .tt-reading-strip,
  .tt-related-section {
    padding: 18px;
  }

  .single main,
  .single .entry-content,
  .single .wp-site-blocks main {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .single p,
  .single li {
    font-size: 1rem;
    line-height: 1.78 !important;
  }

  .single .entry-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .single .entry-content table,
  .single .entry-content thead,
  .single .entry-content tbody,
  .single .entry-content tr,
  .single .entry-content th,
  .single .entry-content td {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
  }

  .single .entry-content thead {
    position: absolute;
    width: 1px !important;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .single .entry-content tr {
    margin: 0 0 14px;
    border: 1px solid var(--tt-border);
    border-radius: 8px;
    background: var(--tt-panel-strong);
    overflow: hidden;
  }

  .single .entry-content th,
  .single .entry-content td {
    min-width: 0;
    padding: 10px 12px !important;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--tt-border) !important;
  }

  .single .entry-content td a[href*="amazon.de"][href*="tag="] {
    max-width: 100%;
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    word-break: normal;
    overflow-wrap: normal;
  }
}

/* TREND-TECH design polish 2026-04-28 */

.site-header-glass,
.site-footer {
  display: none !important;
}

.archive .wp-site-blocks {
  max-width: var(--tt-content);
  margin: 0 auto !important;
  padding: 54px 20px 0;
}

.archive .wp-site-blocks > .wp-block-group:not(.post-card) {
  max-width: 100% !important;
  margin: 0 !important;
}

.archive .wp-site-blocks h1 {
  margin: 0 0 14px !important;
  font-size: clamp(2.15rem, 5vw, 4rem) !important;
  line-height: 1.04 !important;
}

.archive .wp-site-blocks h1 + p,
.archive .wp-site-blocks .taxonomy-description,
.archive .wp-site-blocks > .wp-block-group:not(.post-card) > p {
  max-width: 920px;
  margin: 0 0 28px !important;
  color: var(--tt-muted) !important;
  font-size: 1.08rem;
  line-height: 1.75 !important;
}

.archive .wp-block-query,
.archive .wp-block-post-template {
  max-width: 100% !important;
  margin: 0 !important;
}

.archive .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  padding: 0 !important;
  list-style: none !important;
}

.archive .wp-block-post {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

.archive .wp-block-post .post-card {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--tt-border);
  border-radius: 8px;
  background: var(--tt-panel-strong);
  box-shadow: var(--tt-shadow-soft);
}

.archive .wp-block-post-featured-image {
  width: 100% !important;
  height: 232px !important;
  margin: 0 !important;
  overflow: hidden;
  background: #e5eaf2;
}

.archive .wp-block-post-featured-image a,
.archive .wp-block-post-featured-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.archive .wp-block-post-featured-image img {
  object-fit: cover;
  transition: transform var(--tt-speed);
}

.archive .wp-block-post .post-card:hover .wp-block-post-featured-image img {
  transform: scale(1.035);
}

.archive .wp-block-post .post-card > .wp-block-group {
  width: auto !important;
  height: auto !important;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px !important;
}

.archive .taxonomy-category.cat-pill {
  width: auto !important;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px !important;
  font-size: 0 !important;
}

.archive .taxonomy-category.cat-pill a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(14, 116, 144, 0.16);
  border-radius: 999px;
  background: rgba(204, 251, 241, 0.75);
  color: #0f766e !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.archive .taxonomy-category.cat-pill .wp-block-post-terms__separator {
  display: none;
}

.archive .wp-block-post-title {
  margin: 0 0 14px !important;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem) !important;
  line-height: 1.18 !important;
}

.archive .wp-block-post-title a {
  color: var(--tt-text) !important;
  text-decoration: none !important;
}

.archive .wp-block-post-title a:hover {
  color: #2563eb !important;
}

.archive .wp-block-post .wp-block-group.is-layout-flex {
  width: auto !important;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 0;
  margin: 0 0 14px !important;
  color: var(--tt-muted);
  font-size: 0.86rem;
}

.archive .wp-block-post-author,
.archive .wp-block-post-date {
  font-size: inherit;
}

.archive .wp-block-post-excerpt {
  width: auto !important;
  margin: auto 0 0 !important;
}

.archive .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  margin: 0 !important;
  overflow: hidden;
  color: var(--tt-muted) !important;
  font-size: 0.96rem;
  line-height: 1.65 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.archive .wp-block-spacer {
  display: none !important;
}

.single .wp-site-blocks {
  padding-top: 34px;
}

.single main.wp-block-group,
.single .wp-site-blocks main {
  max-width: 900px !important;
  padding-left: 20px;
  padding-right: 20px;
}

.single article.wp-block-group,
.single .entry-header,
.single .entry-content {
  max-width: 780px !important;
}

.single .entry-header {
  margin: 0 auto 26px !important;
  padding: 28px 0 8px;
}

.single .entry-header h1,
.single h1.wp-block-post-title {
  max-width: 780px !important;
  margin-bottom: 18px !important;
  font-size: clamp(2.15rem, 4.4vw, 3.35rem) !important;
  line-height: 1.08 !important;
}

.single .entry-header .wp-block-group {
  color: var(--tt-muted);
  font-size: 0.9rem;
}

.single .tt-reading-strip {
  margin-top: 0;
}

.single .entry-content > h2 {
  padding-top: 26px;
  border-top: 1px solid var(--tt-border);
}

.single .entry-content > h2:first-of-type {
  border-top: 0;
}

.single .entry-content > h3 {
  padding-left: 14px;
  border-left: 4px solid #f59e0b;
}

.single .entry-content > figure.wp-block-image {
  overflow: hidden;
  border: 1px solid var(--tt-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--tt-shadow-soft);
}

.single .entry-content > figure.wp-block-image img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  padding: 14px;
  box-sizing: border-box;
  background: #fff;
}

.single .entry-content > figure.wp-block-image figcaption {
  margin: 0;
  padding: 8px 14px 12px;
  border-top: 1px solid var(--tt-border);
  background: var(--tt-bg-soft);
}

.single .entry-content p:has(+ p > a[href*="amazon.de"][href*="tag="]) {
  margin-bottom: 6px !important;
}

.single .entry-content > p strong:first-child {
  color: var(--tt-text);
}

#tt-back-to-top {
  border-radius: 8px !important;
}

@media (max-width: 980px) {
  .archive .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive .wp-block-post-featured-image {
    height: 210px !important;
  }
}

@media (max-width: 680px) {
  .archive .wp-site-blocks {
    padding: 34px 14px 0;
  }

  .archive .wp-block-post-template {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .archive .wp-block-post-featured-image {
    height: 190px !important;
  }

  .archive .wp-block-post .post-card > .wp-block-group {
    padding: 18px !important;
  }

  .archive .wp-block-post-title {
    font-size: 1.22rem !important;
  }

  .single .wp-site-blocks {
    padding-top: 18px;
  }

  .single main.wp-block-group,
  .single .wp-site-blocks main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .single .entry-header {
    padding-top: 18px;
  }

  .single .entry-header h1,
  .single h1.wp-block-post-title {
    font-size: clamp(1.95rem, 10vw, 2.6rem) !important;
  }

  .single .entry-content > figure.wp-block-image img {
    max-height: 360px;
    padding: 10px;
  }
}

/* TREND-TECH content-aware thumbnail visuals 2026-04-28 */

.tt-post-card-img .tt-visual-thumb,
.tt-feature-image .tt-visual-thumb,
.archive .wp-block-post-featured-image .tt-visual-thumb,
.category .wp-block-post-featured-image .tt-visual-thumb {
  display: block;
  width: 100%;
  height: 100%;
}

.tt-visual-thumb {
  --v1: #0f172a;
  --v2: #2563eb;
  --v3: #14b8a6;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--v1), var(--v2) 55%, var(--v3));
  background:
    radial-gradient(circle at 22% 18%, color-mix(in srgb, var(--v3) 80%, #fff 10%) 0, transparent 30%),
    radial-gradient(circle at 82% 70%, color-mix(in srgb, var(--v2) 65%, #000 5%) 0, transparent 34%),
    linear-gradient(135deg, var(--v1), var(--v2) 55%, var(--v3));
  transform: translateZ(0);
  transition: transform var(--tt-speed), filter var(--tt-speed);
}

.tt-visual-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 28px 28px;
  transform: rotate(-7deg) scale(1.14);
}

.tt-visual-thumb::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
}

.tt-visual-glow {
  position: absolute;
  right: -42px;
  top: -46px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255,255,255,.24);
  filter: blur(12px);
}

.tt-visual-device {
  position: absolute;
  left: 50%;
  top: 43%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(44%, 260px);
  min-width: 132px;
  aspect-ratio: 1.62;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255,255,255,.58);
  border-radius: 18px;
  background: rgba(15,23,42,.28);
  box-shadow: 0 18px 44px rgba(15,23,42,.24), inset 0 1px 0 rgba(255,255,255,.32);
}

.tt-visual-device::before,
.tt-visual-device::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.48);
}

.tt-visual-device::before {
  left: 16px;
  right: 16px;
  bottom: 14px;
  height: 3px;
}

.tt-visual-device::after {
  right: 16px;
  top: 14px;
  width: 8px;
  height: 8px;
}

.tt-visual-code {
  position: relative;
  z-index: 1;
  max-width: 88%;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0,0,0,.22);
}

.tt-visual-label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 1;
  display: inline-flex;
  width: max-content;
  max-width: calc(100% - 48px);
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  color: #0f172a;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: 0;
  box-shadow: 0 12px 30px rgba(15,23,42,.18);
}

.tt-post-card:hover .tt-visual-thumb,
.archive .wp-block-post .post-card:hover .tt-visual-thumb,
.category .wp-block-post .post-card:hover .tt-visual-thumb {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.02);
}

.archive .wp-block-post-featured-image .tt-visual-thumb,
.category .wp-block-post-featured-image .tt-visual-thumb {
  border-radius: 0;
}

.tt-visual-ebook-reader {
  --v1: #102a43;
  --v2: #2563eb;
  --v3: #14b8a6;
}

.tt-visual-action-cam {
  --v1: #111827;
  --v2: #dc2626;
  --v3: #f97316;
}

.tt-visual-usb-c-charger {
  --v1: #1e293b;
  --v2: #f59e0b;
  --v3: #22c55e;
}

.tt-visual-smartwatch {
  --v1: #064e3b;
  --v2: #059669;
  --v3: #38bdf8;
}

.tt-visual-robot-vacuum {
  --v1: #334155;
  --v2: #64748b;
  --v3: #10b981;
}

.tt-visual-streaming-mic {
  --v1: #172554;
  --v2: #0ea5e9;
  --v3: #f43f5e;
}

.tt-visual-keyboard {
  --v1: #1f2937;
  --v2: #ea580c;
  --v3: #facc15;
}

.tt-visual-docking-station {
  --v1: #0f172a;
  --v2: #475569;
  --v3: #60a5fa;
}

.tt-visual-monitor {
  --v1: #083344;
  --v2: #0891b2;
  --v3: #84cc16;
}

.tt-visual-gaming-mouse {
  --v1: #312e81;
  --v2: #7c3aed;
  --v3: #06b6d4;
}

.tt-visual-headset {
  --v1: #1e1b4b;
  --v2: #2563eb;
  --v3: #fb7185;
}

.tt-visual-smart-home {
  --v1: #134e4a;
  --v2: #0f766e;
  --v3: #fbbf24;
}

.tt-visual-laptop-pc {
  --v1: #111827;
  --v2: #2563eb;
  --v3: #94a3b8;
}

.tt-visual-software-apps {
  --v1: #052e16;
  --v2: #16a34a;
  --v3: #38bdf8;
}

.tt-visual-tech-gear {
  --v1: #0f172a;
  --v2: #2563eb;
  --v3: #f59e0b;
}

@media (max-width: 640px) {
  .tt-visual-thumb::before {
    inset: 14px;
  }

  .tt-visual-device {
    min-width: 126px;
    border-radius: 16px;
  }

  .tt-visual-code {
    font-size: 25px;
  }

  .tt-visual-label {
    left: 18px;
    right: 18px;
    bottom: 16px;
    max-width: calc(100% - 36px);
    font-size: 12px;
  }
}

/* TREND-TECH SEO-first visual refresh 2026-05-09 */

:root {
  --tt-bg: #f4f7fb;
  --tt-bg-soft: #ffffff;
  --tt-panel: rgba(255, 255, 255, 0.88);
  --tt-panel-strong: #ffffff;
  --tt-muted: #596673;
  --tt-accent: #e45b3f;
  --tt-accent-strong: #bf3f2a;
  --tt-accent-soft: #fde6de;
  --tt-secondary: #0f766e;
  --tt-secondary-soft: #dff3f0;
  --tt-border: rgba(15, 23, 42, 0.1);
  --tt-shadow: 0 20px 58px rgba(15, 23, 42, 0.12);
  --tt-shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
  --tt-radius: 12px;
  --tt-radius-sm: 8px;
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #eef6f7 360px, #f6f8fb 100%) !important;
}

.tt-section,
.tt-feature-card,
.tt-feature-list,
.tt-post-card,
.tt-cat-card {
  content-visibility: auto;
}

.tt-section {
  contain-intrinsic-size: auto 720px;
}

.tt-post-card,
.tt-cat-card,
.tt-feature-card,
.tt-feature-list,
.tt-newsletter-card,
.tt-hero-panel {
  border-radius: 8px !important;
}

.tt-post-card,
.tt-cat-card,
.tt-feature-card {
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72), var(--tt-shadow-soft);
}

.tt-post-card:hover,
.tt-cat-card:hover,
.tt-feature-card:hover {
  border-color: rgba(15, 118, 110, 0.28);
}

.tt-post-card-img,
.tt-feature-image {
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #0f172a;
}

.tt-post-title,
.tt-feature-title,
.tt-section-title {
  letter-spacing: 0 !important;
}

.tt-post-title a,
.tt-feature-title a,
.tt-read-more,
.tt-cat-card {
  text-underline-offset: 3px;
}

.tt-post-card:focus-within,
.tt-feature-card:focus-within,
.tt-cat-card:focus-within {
  outline: 3px solid rgba(15, 118, 110, 0.28);
  outline-offset: 3px;
}

.tt-hero-content {
  border-radius: 14px !important;
  background:
    linear-gradient(135deg, rgba(13, 24, 35, 0.96), rgba(16, 68, 72, 0.93) 58%, rgba(228, 91, 63, 0.9) 140%) !important;
}

.tt-hero-panel {
  backdrop-filter: blur(14px);
}

.tt-page-title {
  max-width: var(--tt-content);
  margin: 42px auto 18px;
  padding: 0 22px;
  color: var(--tt-text);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0 !important;
}

.tt-visual-thumb {
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}

.tt-visual-device {
  will-change: transform;
}

.tt-visual-grid {
  will-change: transform, background-position;
}

.tt-visual-label {
  border-radius: 8px;
}

html.tt-motion-ready .tt-post-card,
html.tt-motion-ready .tt-feature-card,
html.tt-motion-ready .tt-cat-card,
html.tt-motion-ready .tt-hero-panel {
  opacity: 0;
  transform: translateY(14px);
}

html.tt-motion-ready .tt-inview {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    border-color var(--tt-speed),
    box-shadow var(--tt-speed);
}

@media (prefers-reduced-motion: no-preference) {
  .tt-visual-grid {
    animation: tt-grid-drift 18s linear infinite;
  }

  .tt-visual-device {
    animation: tt-device-float 6s ease-in-out infinite;
  }

  .tt-visual-glow {
    animation: tt-soft-pulse 7s ease-in-out infinite;
  }

  .tt-post-card:hover .tt-visual-grid,
  .tt-feature-card:hover .tt-visual-grid {
    animation-duration: 10s;
  }

  .tt-post-card:hover .tt-visual-device,
  .tt-feature-card:hover .tt-visual-device {
    animation-play-state: paused;
    transform: translate(-50%, -52%) rotate(-1deg);
  }
}

@keyframes tt-grid-drift {
  0% {
    background-position: 0 0, 0 0;
    transform: rotate(-7deg) scale(1.14);
  }
  100% {
    background-position: 56px 28px, 28px 56px;
    transform: rotate(-7deg) scale(1.14);
  }
}

@keyframes tt-device-float {
  0%, 100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, -54%);
  }
}

@keyframes tt-soft-pulse {
  0%, 100% {
    opacity: .82;
    transform: scale(1);
  }
  50% {
    opacity: .48;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.tt-motion-ready .tt-post-card,
  html.tt-motion-ready .tt-feature-card,
  html.tt-motion-ready .tt-cat-card,
  html.tt-motion-ready .tt-hero-panel {
    opacity: 1;
    transform: none;
  }

  .tt-visual-grid,
  .tt-visual-device,
  .tt-visual-glow {
    animation: none !important;
  }
}

/* TREND-TECH image hero layer 2026-05-09 */
.tt-hero-content {
  max-width: 1180px;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.78fr);
  align-items: center;
}

.tt-hero-title {
  max-width: 740px;
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: clamp(2.45rem, 5vw, 4.55rem) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.tt-hero .tt-hero-copy p {
  color: rgba(244, 251, 250, 0.88) !important;
}

.tt-hero-aside {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

.tt-hero-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #eaf3f3;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
}

.tt-hero-media picture,
.tt-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.tt-hero-media img {
  object-fit: cover;
  transform: scale(1.015);
}

.tt-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(11, 30, 35, 0.18), transparent 44%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.22), transparent 32%);
}

@media (prefers-reduced-motion: no-preference) {
  .tt-hero-media {
    animation: tt-hero-float 8s ease-in-out infinite;
  }

  .tt-hero-media img {
    animation: tt-hero-image-drift 18s ease-in-out infinite alternate;
    will-change: transform;
  }
}

@keyframes tt-hero-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes tt-hero-image-drift {
  0% {
    transform: scale(1.035) translate3d(-4px, 0, 0);
  }
  100% {
    transform: scale(1.075) translate3d(8px, -5px, 0);
  }
}

@media (max-width: 1080px) {
  .tt-hero-content {
    grid-template-columns: 1fr;
  }

  .tt-hero-aside {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .tt-hero-title {
    font-size: clamp(2.05rem, 10vw, 3rem) !important;
  }

  .tt-hero-media {
    margin-top: 2px;
  }
}

/* TREND-TECH dark-mode contrast correction 2026-05-09 */
html.dark-mode {
  --tt-bg: #080d16;
  --tt-bg-soft: #0d1421;
  --tt-panel: rgba(15, 23, 36, 0.9);
  --tt-panel-strong: #101827;
  --tt-text: #f8fbff;
  --tt-muted: #c5d0df;
  --tt-border: rgba(226, 232, 240, 0.14);
  color-scheme: dark;
}

html.dark-mode body {
  background:
    radial-gradient(circle at 20% 0%, rgba(20, 184, 166, 0.14), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(228, 91, 63, 0.12), transparent 24%),
    linear-gradient(180deg, #080d16 0%, #0a111d 360px, #080d16 100%) !important;
  color: var(--tt-text) !important;
}

html.dark-mode .wp-site-blocks,
html.dark-mode main,
html.dark-mode .entry-content {
  background: transparent !important;
}

html.dark-mode #tt-nav {
  background: rgba(10, 17, 29, 0.9) !important;
  box-shadow: 0 1px 0 rgba(226, 232, 240, 0.08);
}

html.dark-mode .tt-section-title,
html.dark-mode .tt-page-title,
html.dark-mode .tt-cat-name,
html.dark-mode .tt-post-title,
html.dark-mode .tt-feature-title,
html.dark-mode .tt-trust-strip strong,
html.dark-mode .tt-hero-panel strong {
  color: var(--tt-text) !important;
}

html.dark-mode .tt-section-sub,
html.dark-mode .tt-post-excerpt,
html.dark-mode .tt-feature-excerpt,
html.dark-mode .tt-trust-strip p,
html.dark-mode .tt-hero-panel p {
  color: var(--tt-muted) !important;
}

html.dark-mode .tt-section,
html.dark-mode .tt-trust-strip {
  background: transparent !important;
}

html.dark-mode .tt-cat-card,
html.dark-mode .tt-post-card,
html.dark-mode .tt-feature-card,
html.dark-mode .tt-mini-card,
html.dark-mode .tt-newsletter-card,
html.dark-mode .tt-trust-strip > div,
html.dark-mode .tt-hero-panel {
  background: var(--tt-panel-strong) !important;
  border-color: var(--tt-border) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26) !important;
}

html.dark-mode .tt-hero-media img {
  filter: brightness(0.76) saturate(0.95);
}

html.dark-mode .tt-hero-media::after {
  background:
    linear-gradient(120deg, rgba(8, 13, 22, 0.34), transparent 46%),
    radial-gradient(circle at 80% 18%, rgba(20, 184, 166, 0.16), transparent 34%);
}

/* TREND-TECH visual audit fixes 2026-05-09 */
body.page:not(.home) main.wp-block-group,
body.page:not(.home) .wp-site-blocks main {
  width: min(var(--tt-content), calc(100% - 44px));
  max-width: var(--tt-content) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

body.page:not(.home) .entry-content {
  width: min(940px, 100%);
  max-width: min(940px, 100%) !important;
  margin: 0 auto !important;
  padding: 18px 0 78px !important;
  font-size: 1.03rem;
  line-height: 1.78;
}

body.page:not(.home) .entry-content > * {
  max-width: 100%;
}

body.page:not(.home) .entry-content h2,
body.page:not(.home) .entry-content h3,
body.page:not(.home) .entry-content h4 {
  margin-top: 1.7em;
  margin-bottom: .65em;
  line-height: 1.2;
}

body.page:not(.home) .entry-content p,
body.page:not(.home) .entry-content li {
  max-width: 78ch;
}

body.page:not(.home) .entry-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.page:not(.home) .entry-content .cmplz-document,
body.page:not(.home) .entry-content .cmplz-document *,
body.page:not(.home) .entry-content [class*="cmplz-"] {
  max-width: 100% !important;
  box-sizing: border-box;
}

body.page:not(.home) .entry-content [class*="cmplz-"] {
  overflow-wrap: anywhere;
}

.archive .taxonomy-category.cat-pill a {
  border-color: rgba(15, 118, 110, 0.28) !important;
  background: #d8f7f2 !important;
  color: #064e46 !important;
}

html.dark-mode .archive .taxonomy-category.cat-pill a {
  border-color: rgba(94, 234, 212, 0.24) !important;
  background: rgba(20, 184, 166, 0.16) !important;
  color: #a7fff0 !important;
}

.archive .wp-block-post .wp-block-group.is-layout-flex {
  flex-wrap: wrap;
  row-gap: 3px;
}

.archive .wp-block-post-date {
  flex: 0 0 auto;
  white-space: nowrap;
}

.archive .wp-block-post-author {
  display: inline-flex !important;
  flex: 0 1 auto;
  min-width: 0;
  width: auto !important;
}

.archive .wp-block-post-author__content {
  display: inline-flex !important;
  align-items: baseline;
  flex: 0 1 auto !important;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}

.archive .wp-block-post-author__byline,
.archive .wp-block-post-author__name {
  display: inline;
  margin: 0 !important;
  line-height: 1.2;
}

.archive .wp-block-post-author__byline {
  color: var(--tt-muted);
  width: auto !important;
}

.archive .wp-block-post-author__name {
  color: var(--tt-text);
  max-width: 100%;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-btn-primary {
  background: #c74631 !important;
  color: #fff !important;
}

.tt-btn-primary:hover {
  background: #ad3424 !important;
  color: #fff !important;
}

/* TREND-TECH homepage layout integrity fix 2026-05-09 */
.tt-section,
.tt-feature-card,
.tt-feature-list,
.tt-post-card,
.tt-cat-card {
  content-visibility: visible !important;
  contain-intrinsic-size: none !important;
}

html.tt-motion-ready .tt-post-card,
html.tt-motion-ready .tt-feature-card,
html.tt-motion-ready .tt-cat-card {
  opacity: 1 !important;
  transform: none !important;
}

.tt-feature-grid,
.tt-posts-grid {
  align-items: stretch;
}

.tt-feature-card,
.tt-post-card {
  min-height: 0;
}

.tt-posts-grid > .tt-post-card:nth-child(1) {
  display: block !important;
  grid-column: auto !important;
  grid-template-columns: none !important;
}

.tt-posts-grid > .tt-post-card:nth-child(1) .tt-post-card-img {
  height: 228px !important;
  min-height: 0 !important;
}

.tt-posts-grid > .tt-post-card:nth-child(1) .tt-post-card-body {
  display: block !important;
  padding: 24px !important;
}

.tt-posts-grid > .tt-post-card:nth-child(1) .tt-post-title {
  font-size: 1.25rem !important;
  line-height: 1.18 !important;
}

html.dark-mode .tt-btn-primary {
  background: #4f8ee8 !important;
  color: #07111f !important;
}

html.dark-mode .tt-btn-primary:hover {
  background: #79adf7 !important;
  color: #07111f !important;
}

@media (max-width: 680px) {
  body.page:not(.home) main.wp-block-group,
  body.page:not(.home) .wp-site-blocks main {
    width: min(100% - 28px, var(--tt-content));
  }

  body.page:not(.home) .entry-content {
    padding-bottom: 54px !important;
  }
}
