/* ============================================
   TECH SEM FILTRO — main.css v2.0
   Beige Computing × Codecademy Layout
============================================ */

/* ---- VARIABLES ---- */
:root {
  --beige:        #F4F0EC;
  --beige-dark:   #E8E2D9;
  --beige-mid:    #DDD6CB;
  --ui-gray:      #C0C0C0;
  --ui-gray-dk:   #808080;
  --blue95:       #000080;
  --blue95-lt:    #3333AA;
  --teal:         #008080;
  --teal-dk:      #006666;
  --teal-lt:      #00BBBB;
  --dark:         #10102A;
  --dark-2:       #181832;
  --dark-3:       #1F1F3A;
  --dark-card:    #222240;
  --dark-border:  rgba(255,255,255,0.08);
  --label-beaba:        #C8F0D0;
  --label-beaba-text:   #1A6633;
  --label-career:       #C8E4FF;
  --label-career-text:  #003580;
  --label-trend:        #FFF0C0;
  --label-trend-text:   #664400;
  --text:         #1A1A1A;
  --text-muted:   #555;
  --text-light:   #999;
  --text-white:   #F4F0EC;
  --text-white60: rgba(244,240,236,0.6);
  --f-pixel:      'Press Start 2P', monospace;
  --f-terminal:   'VT323', monospace;
  --f-mono:       'Courier Prime', monospace;
  --f-body:       'DM Sans', sans-serif;
  --r-card: 12px;
  --r-tag:  6px;
  --r-btn:  8px;
  --shadow-card:       0 2px 0 rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 4px 0 rgba(0,0,0,0.12), 0 8px 32px rgba(0,0,0,0.12);
  --shadow-dark-card:  0 2px 0 rgba(0,128,128,0.15), 0 4px 20px rgba(0,0,0,0.3);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--f-body); background: var(--beige); color: var(--text); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; }

/* Grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.032;
}

/* ---- LAYOUT ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ============================================
   BOOT SCREEN
============================================ */
#tsf-boot {
  position: fixed; inset: 0; background: #000;
  z-index: 99999; display: flex; flex-direction: column;
  justify-content: center; padding: 8vw;
  transition: opacity 0.5s ease;
}
#tsf-boot.tsf-boot--hide { opacity: 0; pointer-events: none; }

.tsf-boot-line {
  font-family: var(--f-terminal);
  font-size: clamp(15px, 2vw, 21px);
  color: #00FF41; opacity: 0; margin-bottom: 2px;
  white-space: nowrap; overflow: hidden;
  transition: opacity 0.15s;
}
.tsf-boot-line--show { opacity: 1; }
.tsf-boot-line--dim   { color: #3A7A3A; }
.tsf-boot-line--brand { font-size: clamp(22px, 3.5vw, 36px); color: #fff; margin-top: 18px; margin-bottom: 4px; }
.tsf-boot-line--sub   { color: var(--teal-lt); font-size: clamp(13px, 1.8vw, 17px); }

.tsf-boot-progress-wrap { margin-top: 20px; width: min(400px, 80vw); opacity: 0; transition: opacity 0.3s; }
.tsf-boot-progress--show { opacity: 1; }
.tsf-boot-progress-label { font-family: var(--f-terminal); font-size: 16px; color: #00FF41; margin-bottom: 6px; }
.tsf-boot-progress-bar   { height: 12px; background: #111; border: 1px solid #00FF41; overflow: hidden; }
.tsf-boot-progress-fill  {
  height: 100%; width: 0%; transition: width 1.2s ease;
  background: repeating-linear-gradient(90deg, #00FF41 0px, #00FF41 10px, #003300 10px, #003300 14px);
}
.tsf-boot-cursor {
  display: inline-block; width: 10px; height: 20px;
  background: #00FF41; vertical-align: middle; margin-left: 4px;
  animation: bcursor 1s step-end infinite;
}
@keyframes bcursor { 0%,100%{opacity:1} 50%{opacity:0} }

/* ============================================
   TOPBAR
============================================ */
#tsf-topbar {
  background: var(--dark); border-bottom: 1px solid var(--dark-border);
  padding: 6px 28px; position: sticky; top: 0; z-index: 1000;
}
.tsf-topbar-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.tsf-tb-left { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,0.45); }
.tsf-tb-sep  { opacity: 0.3; }
.tsf-tb-link { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.tsf-tb-link:hover { color: var(--teal-lt); }
.tsf-tb-dot  { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 6px var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
#tsf-clock   { font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,0.35); letter-spacing: 0.08em; }

/* ============================================
   HEADER
============================================ */
#tsf-header {
  background: var(--beige-dark); border-bottom: 1px solid var(--beige-mid);
  position: sticky; top: 0px; z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}
#tsf-header.tsf-header--scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.tsf-header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }

/* Logo */
.tsf-logo { display: flex; flex-direction: column; gap: 1px; flex-shrink: 0; text-decoration: none; }
.tsf-logo-eyebrow { font-family: var(--f-terminal); font-size: 12px; color: var(--teal); letter-spacing: 0.25em; text-transform: uppercase; }
.tsf-logo-name    { font-family: var(--f-pixel); font-size: 14px; color: var(--blue95); line-height: 1.3; letter-spacing: -0.5px; }
.tsf-logo-name span { color: var(--teal); }

/* Nav */
.tsf-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.tsf-nav-list { display: flex; gap: 2px; }
.tsf-nav-link { font-family: var(--f-body); font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 6px; color: var(--text-muted); transition: all 0.15s; }
.tsf-nav-link:hover { background: var(--beige-mid); color: var(--text); }
.tsf-nav-link--active { background: var(--teal); color: #fff !important; }

/* Search */
.tsf-header-search { margin-left: auto; }
.tsf-search-form   { display: flex; align-items: center; }
.tsf-search-input  { font-family: var(--f-body); font-size: 13px; padding: 7px 14px; background: var(--beige); border: 1.5px solid var(--beige-mid); border-right: none; border-radius: 6px 0 0 6px; outline: none; width: 200px; transition: border-color 0.2s; }
.tsf-search-input:focus { border-color: var(--teal); background: #fff; }
.tsf-search-btn    { font-family: var(--f-mono); font-size: 11px; font-weight: 700; padding: 7px 14px; background: var(--teal); color: #fff; border: 1.5px solid var(--teal-dk); border-radius: 0 6px 6px 0; text-transform: uppercase; letter-spacing: 0.08em; transition: background 0.15s; }
.tsf-search-btn:hover { background: var(--teal-dk); }

/* Mobile toggle */
.tsf-menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; margin-left: auto; }
.tsf-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); transition: all 0.3s; border-radius: 2px; }
.tsf-menu-toggle--open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.tsf-menu-toggle--open span:nth-child(2) { opacity: 0; }
.tsf-menu-toggle--open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.tsf-mobile-menu { display: none; background: var(--beige-dark); border-top: 1px solid var(--beige-mid); padding: 16px 28px; }
.tsf-mobile-menu--open { display: block; }
.tsf-mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }
.tsf-mobile-nav-list a { display: block; padding: 10px 14px; border-radius: 6px; font-weight: 500; color: var(--text-muted); transition: all 0.15s; }
.tsf-mobile-nav-list a:hover { background: var(--beige-mid); color: var(--text); }

/* ============================================
   TICKER
============================================ */
.tsf-ticker-bar { background: var(--blue95); position: relative; z-index: 10; padding-right: 15px; padding: 9px 0; overflow: hidden; white-space: nowrap; border-top: 1px solid #000050; border-bottom: 1px solid #000050; }
.tsf-ticker-badge { display: inline-block; z-index: 10px; font-family: var(--f-pixel); font-size: 7px; color: #fff; background-color: var(--blue95); background: var(--teal); padding: 5px 12px; margin-right: 20px; border-radius: 4px; vertical-align: middle; }
.tsf-ticker-track { display: inline-block; animation: tickerScroll 28s linear infinite; }
.tsf-ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.tsf-ticker-item { display: inline-block; font-family: var(--f-terminal); font-size: 18px; color: #fff; padding: 0 22px; vertical-align: middle; }
.tsf-ticker-sep  { color: var(--teal-lt); margin: 0 4px; }

/* ============================================
   HERO
============================================ */
.tsf-hero { background: var(--dark); padding: 72px 0 96px; position: relative; overflow: hidden; }
.tsf-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0,128,128,0.15) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.tsf-hero::after  { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 60% at 75% 55%, rgba(0,128,128,0.1) 0%, transparent 70%), radial-gradient(ellipse 40% 50% at 8% 80%, rgba(0,0,128,0.12) 0%, transparent 60%); pointer-events: none; }
.tsf-hero-scanlines { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: repeating-linear-gradient(to bottom, transparent 0px, transparent 3px, rgba(0,255,65,0.015) 3px, rgba(0,255,65,0.015) 4px); }
.tsf-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch !important; }
.tsf-hero-left  { display: flex; flex-direction: column; gap: 32px; }

/* Terminal */
.tsf-terminal { flex-grow: 1; display: flex; flex-direction: column; background: #0A0A18; border: 1.5px solid rgba(0,187,187,0.35); border-radius: 10px; gap: 40px; width: 100%; overflow: hidden; box-shadow: 0 0 32px rgba(0,128,128,0.18), 0 4px 24px rgba(0,0,0,0.4); }
.tsf-terminal-bar  { background: linear-gradient(to right, #000060, #0000A0); padding: 8px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(0,187,187,0.2); }
.tsf-terminal-title { font-family: var(--f-mono); font-size: 12px; color: #fff; font-weight: 700; letter-spacing: 0.08em; }
.tsf-terminal-dots  { display: flex; gap: 5px; }
.tsf-terminal-dots span { width: 11px; height: 11px; border-radius: 50%; }
.tsf-terminal-dots span:nth-child(1) { background: #FF5F57; }
.tsf-terminal-dots span:nth-child(2) { background: #FFBD2E; }
.tsf-terminal-dots span:nth-child(3) { background: #28CA41; }
.tsf-terminal-body { padding: 20px 22px; min-height: 220px; }

.tsf-tl { font-family: var(--f-terminal); font-size: 19px; line-height: 1.65; margin-bottom: 2px; opacity: 0; transform: translateY(4px); transition: opacity 0.2s, transform 0.2s; }
.tsf-tl--show    { opacity: 1; transform: none; }
.tsf-tl--prompt  { color: var(--teal-lt); }
.tsf-tl--output  { color: var(--beige); }
.tsf-tl--success { color: #5FD35F; }
.tsf-tl--dim     { color: rgba(244,240,236,0.3); }
.tsf-tl--warn    { color: #FFD966; }
.tsf-t-cursor    { display: inline-block; width: 9px; height: 18px; background: var(--teal-lt); vertical-align: middle; margin-left: 3px; animation: tcursor 1s step-end infinite; }
@keyframes tcursor { 0%,100%{opacity:1} 50%{opacity:0} }

/* Hero text */
.tsf-hero-eyebrow { font-family: var(--f-terminal); font-size: 18px; color: var(--teal-lt); letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.tsf-hero-h1      { font-family: var(--f-pixel); font-size: 18px; color: var(--text-white); line-height: 1.9; letter-spacing: -1px; margin-bottom: 8px; }
.tsf-hero-accent  { color: var(--teal-lt); display: block; font-size: 22px; }
.tsf-hero-desc    { font-family: var(--f-body); font-size: 15px; font-weight: 300; color: var(--text-white60); line-height: 1.75; margin: 18px 0 26px; }
.tsf-hero-cta     { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.tsf-hero-stats   { display: flex; gap: 32px; padding-top: 28px; border-top: 1px solid var(--dark-border); }
.tsf-stat-num     { font-family: var(--f-terminal); font-size: 34px; color: var(--teal-lt); line-height: 1; }
.tsf-stat-label   { font-family: var(--f-body); font-size: 11px; color: var(--text-white60); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

/* Hero card */
.tsf-hero-right { padding-top: 8px; }
.tsf-hero-card  { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-dark-card); transition: transform 0.3s; }
.tsf-hero-card:hover { transform: translateY(-4px); }
.tsf-hero-card-img { height: 230px; position: relative; overflow: hidden; border-bottom: 1px solid var(--dark-border); }
.tsf-hero-card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%) sepia(8%); transition: filter 0.3s; }
.tsf-hero-card:hover .tsf-hero-card-img img { filter: none; }
.tsf-hero-card-body  { padding: 22px; }
.tsf-hero-card-title { font-family: var(--f-pixel); font-size: 9.5px; color: var(--text-white); line-height: 1.9; margin: 10px 0; letter-spacing: -0.3px; }
.tsf-hero-card-title a { color: inherit; }
.tsf-hero-card-desc  { font-family: var(--f-body); font-size: 13px; color: var(--text-white60); line-height: 1.6; font-weight: 300; margin-bottom: 14px; }
.tsf-hero-card-footer { padding-top: 14px; border-top: 1px dotted rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; }

/* ============================================
   BUTTONS
============================================ */
.tsf-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-body); font-weight: 600; font-size: 14px; padding: 10px 22px; border-radius: var(--r-btn); cursor: pointer; transition: all 0.18s; letter-spacing: 0.02em; border: 2px solid transparent; text-decoration: none; }
.tsf-btn--teal    { background: var(--teal); color: #fff; border-color: var(--teal-dk); }
.tsf-btn--teal:hover { background: var(--teal-dk); transform: translateY(-1px); }
.tsf-btn--outline { background: transparent; color: var(--beige); border-color: rgba(244,240,236,0.35); }
.tsf-btn--outline:hover { border-color: var(--beige); background: rgba(244,240,236,0.08); }
.tsf-btn--ghost   { background: transparent; color: var(--teal); border-color: var(--teal); font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.tsf-btn--ghost:hover { background: var(--teal); color: #fff; }
.tsf-btn--sm      { padding: 6px 14px; font-size: 11px; }

/* ============================================
   CATEGORY LABELS
============================================ */
.tsf-cat-label { display: inline-block; font-family: var(--f-mono); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-tag); letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; }
.tsf-cat--beaba        { background: var(--label-beaba);  color: var(--label-beaba-text); }
.tsf-cat--career       { background: var(--label-career); color: var(--label-career-text); }
.tsf-cat--trend        { background: var(--label-trend);  color: var(--label-trend-text); }
.tsf-cat--dark-beaba   { background: rgba(0,187,187,0.18); color: var(--teal-lt); }
.tsf-cat--dark-career  { background: rgba(0,0,128,0.4);    color: #88AAFF; }
.tsf-cat--dark-trend   { background: rgba(255,200,0,0.15); color: #FFD966; }

/* ============================================
   SHARED COMPONENTS
============================================ */
.tsf-section-header   { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.tsf-section-eyebrow  { font-family: var(--f-terminal); font-size: 18px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 6px; }
.tsf-eyebrow--teal    { color: var(--teal); }
.tsf-eyebrow--teal-lt { color: var(--teal-lt); }
.tsf-section-title    { font-family: var(--f-pixel); font-size: 13px; line-height: 1.8; letter-spacing: -0.5px; }
.tsf-title--dark  { color: var(--blue95); }
.tsf-title--white { color: var(--text-white); }

.tsf-dotted-sep { border: none; border-top: 2px dotted var(--ui-gray); margin: 14px 0; }
.tsf-dotted-sep--dark { border-top-color: var(--dark-border); }

.tsf-post-meta { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--text-muted); }
.tsf-post-meta--white { color: var(--text-white60); }
.tsf-meta-dot  { color: var(--teal); }

.tsf-read-link { font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; transition: gap 0.2s; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.tsf-read-link:hover { gap: 8px; }

.tsf-img-ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,0.2); font-family: var(--f-terminal); font-size: 15px; }
.tsf-img-ph-icon { font-size: 36px; opacity: 0.3; }

.tsf-ad-box    { background: var(--beige-dark); border: 2px dashed var(--beige-mid); border-radius: var(--r-card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; }
.tsf-ad-box span { font-family: var(--f-mono); font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; }
.tsf-ad-section { padding: 0 28px 24px; }

.tsf-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.tsf-reveal--on { opacity: 1; transform: none; }

/* ============================================
   FEATURED SECTION
============================================ */
.tsf-featured-section { padding: 72px 0; background: var(--beige); }
.tsf-featured-layout  { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: auto auto; gap: 20px; }

.tsf-card-big { grid-row: 1/3; background: #fff; border-radius: var(--r-card); border: 1.5px solid var(--beige-mid); box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s; }
.tsf-card-big:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.tsf-card-big-img { height: 290px; position: relative; overflow: hidden; flex-shrink: 0; }
.tsf-card-big-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%) sepia(8%); transition: transform 0.4s, filter 0.3s; }
.tsf-card-big:hover .tsf-card-big-img img { transform: scale(1.04); filter: none; }
.tsf-card-big-img::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0px, transparent 3px, rgba(0,0,0,0.025) 3px, rgba(0,0,0,0.025) 4px); pointer-events: none; }
.tsf-card-big-body  { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.tsf-card-big-body .tsf-cat-label { margin-bottom: 12px; }
.tsf-card-big-title { font-family: var(--f-pixel); font-size: 11px; color: var(--blue95); line-height: 1.85; letter-spacing: -0.3px; margin-bottom: 10px; flex: 1; }
.tsf-card-big-title a { color: inherit; }
.tsf-card-big-desc  { font-family: var(--f-body); font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.tsf-card-big-footer { border-top: 2px dotted var(--beige-mid); padding-top: 14px; display: flex; align-items: center; justify-content: space-between; }

.tsf-card-sm { background: #fff; border-radius: var(--r-card); border: 1.5px solid var(--beige-mid); box-shadow: var(--shadow-card); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow 0.2s, transform 0.2s; }
.tsf-card-sm:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.tsf-card-sm-title { font-family: var(--f-pixel); font-size: 8.5px; color: var(--blue95); line-height: 1.9; letter-spacing: -0.2px; flex: 1; }
.tsf-card-sm-title a { color: inherit; }
.tsf-card-sm-desc   { font-family: var(--f-body); font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.tsf-card-sm-footer { border-top: 2px dotted var(--beige-mid); padding-top: 12px; display: flex; align-items: center; justify-content: space-between; }

/* ============================================
   CATEGORIES SECTION
============================================ */
.tsf-categories-section { background: var(--dark); padding: 72px 0; position: relative; overflow: hidden; }
.tsf-categories-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0,128,128,0.07) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.tsf-categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tsf-cat-card { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: var(--r-card); padding: 30px 26px; cursor: pointer; transition: all 0.2s; position: relative; overflow: hidden; display: block; text-decoration: none; }
.tsf-cat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--teal); transform: scaleX(0); transition: transform 0.25s; transform-origin: left; }
.tsf-cat-card:hover::before { transform: scaleX(1); }
.tsf-cat-card:hover { background: #28284A; border-color: rgba(0,187,187,0.25); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.tsf-cat-card-icon  { font-size: 38px; margin-bottom: 16px; filter: drop-shadow(0 0 10px rgba(0,187,187,0.2)); }
.tsf-cat-card-title { font-family: var(--f-pixel); font-size: 8.5px; color: var(--text-white); line-height: 1.9; margin-bottom: 10px; }
.tsf-cat-card-desc  { font-family: var(--f-body); font-size: 13px; color: var(--text-white60); line-height: 1.6; font-weight: 300; margin-bottom: 18px; }
.tsf-cat-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px dotted var(--dark-border); }
.tsf-cat-arrow { font-family: var(--f-mono); font-size: 14px; color: var(--teal); opacity: 0; transition: opacity 0.2s, transform 0.2s; }
.tsf-cat-card:hover .tsf-cat-arrow { opacity: 1; transform: translateX(4px); }

/* ============================================
   LATEST POSTS + LAYOUT
============================================ */
.tsf-latest-section  { padding: 72px 0; background: var(--beige-dark); }
.tsf-archive-section { padding: 64px 0; background: var(--beige); }
.tsf-latest-layout   { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }

.tsf-posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tsf-posts-grid--3col { grid-template-columns: repeat(3, 1fr); }

.tsf-post-card { background: #fff; border-radius: var(--r-card); border: 1.5px solid var(--beige-mid); box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s; }
.tsf-post-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.tsf-post-card-img { height: 175px; position: relative; overflow: hidden; background: var(--dark); }
.tsf-post-card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%); transition: transform 0.4s, filter 0.3s; }
.tsf-post-card:hover .tsf-post-card-img img { transform: scale(1.05); filter: none; }
.tsf-post-card-img::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0px, transparent 3px, rgba(0,0,0,0.025) 3px, rgba(0,0,0,0.025) 4px); pointer-events: none; }
.tsf-post-card-img .tsf-cat-label { position: absolute; top: 12px; left: 12px; z-index: 2; }
.tsf-post-card-body    { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.tsf-post-card-title   { font-family: (--f-pixel), 'Press Start 2P'; font-weight: 700; letter-spacing: normal; font-size: 7.5px; color: var(--blue95); line-height: 1.9; flex: 1; }
.tsf-post-card-title a { color: inherit; }
.tsf-post-card-excerpt { font-family: var(--f-body); font-size: 12px; color: var(--text-muted); line-height: 1.55; letter-spacing: normal; }
.tsf-post-card-footer  { padding: 12px 18px; border-top: 2px dotted var(--beige-mid); display: flex; align-items: center; justify-content: space-between; background: #FAFAF8; }

.tsf-archive-header   { margin-bottom: 36px; }
.tsf-archive-desc     { font-family: var(--f-body); font-size: 15px; color: var(--text-muted); line-height: 1.6; margin-top: 10px; }
.tsf-pagination       { margin-top: 40px; display: flex; justify-content: center; gap: 8px; }
.tsf-pagination .page-numbers { font-family: var(--f-mono); font-size: 13px; padding: 8px 14px; background: var(--beige); border: 1.5px solid var(--beige-mid); border-radius: 6px; color: var(--text); transition: all 0.15s; }
.tsf-pagination .page-numbers:hover, .tsf-pagination .page-numbers.current { background: var(--teal); color: #fff; border-color: var(--teal-dk); }

/* ============================================
   SIDEBAR & WIDGETS
============================================ */
.tsf-sidebar { display: flex; flex-direction: column; gap: 22px; }
.tsf-widget  { background: #fff; border-radius: var(--r-card); border: 1.5px solid var(--beige-mid); box-shadow: var(--shadow-card); overflow: hidden; }
.tsf-widget-head  { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; background: var(--dark); border-bottom: 1px solid var(--dark-border); }
.tsf-widget-title { font-family: var(--f-pixel); font-size: 7.5px; color: var(--text-white); letter-spacing: 0.05em; line-height: 1.5; }
.tsf-widget-body  { padding: 16px 18px; }

.tsf-widget-avatar { width: 60px; height: 60px; background: var(--blue95); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 12px; border: 3px solid var(--teal); }
.tsf-widget-about-name { font-family: var(--f-pixel); font-size: 7.5px; color: var(--blue95); text-align: center; line-height: 1.8; margin-bottom: 8px; }
.tsf-widget-about-desc { font-family: var(--f-body); font-size: 13px; color: var(--text-muted); line-height: 1.6; text-align: center; margin-bottom: 12px; }

.tsf-pop-post { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1.5px dotted var(--beige-mid); align-items: flex-start; }
.tsf-pop-post:last-child { border-bottom: none; }
.tsf-pop-num  { font-family: var(--f-terminal); font-size: 28px; color: var(--ui-gray); line-height: 1; min-width: 26px; font-weight: 700; transition: color 0.2s; }
.tsf-pop-post:hover .tsf-pop-num { color: var(--teal); }
.tsf-pop-title { font-family: var(--f-pixel); font-size: 7px; color: var(--blue95); line-height: 1.85; transition: color 0.2s; }
.tsf-pop-title a { color: inherit; }
.tsf-pop-post:hover .tsf-pop-title { color: var(--teal); }
.tsf-pop-views { font-family: var(--f-mono); font-size: 11px; color: var(--text-light); margin-top: 4px; }

.tsf-tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.tsf-tag-pill  { font-family: var(--f-mono); font-size: 11px; font-weight: 700; padding: 5px 12px; background: var(--beige-dark); border: 1.5px solid var(--beige-mid); border-radius: 20px; color: var(--text-muted); cursor: pointer; text-transform: uppercase; letter-spacing: 0.04em; transition: all 0.15s; text-decoration: none; }
.tsf-tag-pill:hover { background: var(--teal); color: #fff; border-color: var(--teal-dk); }

.tsf-tags-label { font-family: var(--f-mono); font-size: 12px; color: var(--text-muted); margin-right: 8px; }

/* ============================================
   SINGLE ARTICLE
============================================ */
.tsf-single-section { padding: 64px 0; background: var(--beige); }
.tsf-article-header { margin-bottom: 28px; }
.tsf-article-header .tsf-cat-label { margin-bottom: 14px; display: inline-block; }
.tsf-article-title  { font-family: var(--f-pixel); font-size: 14px; color: var(--blue95); line-height: 1.8; margin: 12px 0; letter-spacing: -0.5px; }
.tsf-article-meta   { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12px; color: var(--text-muted); }
.tsf-article-thumbnail { border-radius: var(--r-card); overflow: hidden; margin-bottom: 32px; max-height: 480px; }
.tsf-article-thumb-img { width: 100%; height: 100%; object-fit: cover; }

.tsf-article-content { font-family: var(--f-body); font-size: 16px; line-height: 1.8; color: var(--text); }
.tsf-article-content h2 { font-family: var(--f-pixel); font-size: 12px; color: var(--blue95); line-height: 1.8; margin: 36px 0 16px; }
.tsf-article-content h3 { font-family: var(--f-pixel); font-size: 10px; color: var(--blue95); line-height: 1.8; margin: 28px 0 12px; }
.tsf-article-content p  { margin-bottom: 20px; }
.tsf-article-content ul, .tsf-article-content ol { margin: 0 0 20px 24px; }
.tsf-article-content li { margin-bottom: 8px; }
.tsf-article-content a  { color: var(--teal); text-decoration: underline; }
.tsf-article-content a:hover { color: var(--teal-dk); }
.tsf-article-content blockquote { border-left: 4px solid var(--teal); padding: 16px 20px; background: var(--beige-dark); border-radius: 0 var(--r-card) var(--r-card) 0; margin: 24px 0; font-style: italic; }
.tsf-article-content code { font-family: var(--f-mono); background: var(--beige-dark); padding: 2px 6px; border-radius: 4px; font-size: 14px; }
.tsf-article-content pre  { font-family: var(--f-mono); background: var(--dark); color: var(--beige); padding: 20px; border-radius: var(--r-card); overflow-x: auto; margin: 24px 0; font-size: 14px; line-height: 1.6; }
.tsf-article-content img  { border-radius: var(--r-card); margin: 24px auto; }

.tsf-article-tags { margin-top: 36px; padding-top: 24px; border-top: 2px dotted var(--beige-mid); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.tsf-article-nav       { margin-top: 40px; }
.tsf-article-nav-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tsf-article-nav-item  { background: #fff; border-radius: var(--r-card); border: 1.5px solid var(--beige-mid); padding: 18px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow 0.2s, transform 0.2s; text-decoration: none; }
.tsf-article-nav-item:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.tsf-article-nav-next  { text-align: right; }
.tsf-article-nav-label { font-family: var(--f-mono); font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; }
.tsf-article-nav-title { font-family: var(--f-pixel); font-size: 8px; color: var(--blue95); line-height: 1.8; }

.tsf-related { margin-top: 48px; padding-top: 40px; border-top: 2px dotted var(--beige-mid); }

/* ============================================
   NEWSLETTER
============================================ */
.tsf-newsletter-section { background: var(--dark-2); padding: 80px 0; position: relative; overflow: hidden; border-top: 1px solid var(--dark-border); }
.tsf-newsletter-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(0,128,128,0.1) 0%, transparent 70%); pointer-events: none; }
.tsf-newsletter-inner  { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center; }
.tsf-newsletter-badge  { display: inline-block; font-family: var(--f-terminal); font-size: 16px; color: var(--teal-lt); letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 20px; padding: 6px 18px; border: 1px solid rgba(0,187,187,0.3); border-radius: 6px; background: rgba(0,187,187,0.08); }
.tsf-newsletter-title  { font-family: var(--f-pixel); font-size: 13px; color: var(--text-white); line-height: 1.9; letter-spacing: -0.5px; margin-bottom: 14px; }
.tsf-newsletter-desc   { font-family: var(--f-body); font-size: 15px; color: var(--text-white60); line-height: 1.7; font-weight: 300; margin-bottom: 30px; }
.tsf-newsletter-form   { display: flex; border-radius: 8px; overflow: hidden; border: 1.5px solid var(--dark-border); background: var(--dark-card); }
.tsf-newsletter-input  { flex: 1; font-family: var(--f-body); font-size: 14px; padding: 12px 18px; background: transparent; color: var(--text-white); border: none; outline: none; }
.tsf-newsletter-input::placeholder { color: rgba(255,255,255,0.22); }
.tsf-newsletter-form .tsf-btn--teal { border-radius: 0 6px 6px 0; flex-shrink: 0; }
.tsf-newsletter-fine   { font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,0.22); margin-top: 14px; letter-spacing: 0.06em; }

/* ============================================
   FOOTER
============================================ */
#tsf-footer { background: var(--dark); border-top: 3px solid var(--teal); padding: 56px 0 0; position: relative; overflow: hidden; }
#tsf-footer::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0,128,128,0.05) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.tsf-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--dark-border); position: relative; z-index: 1; }
.tsf-footer-logo  { font-family: var(--f-pixel); font-size: 13px; color: var(--teal-lt); display: block; margin-bottom: 18px; text-decoration: none; }
.tsf-footer-logo span { color: var(--text-white); }
.tsf-footer-desc  { font-family: var(--f-body); font-size: 13px; color: var(--text-white60); line-height: 1.7; font-weight: 300; margin-bottom: 20px; }
.tsf-social-row   { display: flex; gap: 10px; }
.tsf-social-btn   { width: 36px; height: 36px; background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer; transition: all 0.15s; text-decoration: none; }
.tsf-social-btn:hover { background: var(--teal); border-color: var(--teal-dk); transform: translateY(-2px); }
.tsf-footer-col-title { font-family: var(--f-pixel); font-size: 7.5px; color: var(--teal-lt); line-height: 1.6; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(0,187,187,0.2); }
.tsf-footer-links li  { padding: 6px 0; border-bottom: 1px solid var(--dark-border); }
.tsf-footer-links a   { font-family: var(--f-body); font-size: 13px; color: var(--text-white60); transition: color 0.2s, padding-left 0.2s; display: flex; align-items: center; gap: 6px; }
.tsf-footer-links a::before { content: '›'; font-family: var(--f-terminal); font-size: 18px; color: var(--teal); opacity: 0.5; line-height: 1; }
.tsf-footer-links a:hover { color: var(--teal-lt); padding-left: 4px; }
.tsf-footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.tsf-footer-copy   { font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,0.25); letter-spacing: 0.06em; }
.tsf-tech-badges   { display: flex; gap: 8px; }
.tsf-tech-badge    { font-family: var(--f-terminal); font-size: 13px; padding: 3px 10px; background: rgba(0,128,128,0.15); border: 1px solid rgba(0,128,128,0.3); border-radius: 4px; color: var(--teal-lt); }

/* ============================================
   SCROLL TO TOP
============================================ */
#tsf-scrolltop { position: fixed; bottom: 24px; right: 24px; z-index: 9000; width: 44px; height: 44px; background: var(--teal); color: #fff; border: none; border-radius: 10px; font-size: 18px; box-shadow: 0 4px 16px rgba(0,128,128,0.4); opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.15s; }
#tsf-scrolltop.tsf-scrolltop--show { opacity: 1; pointer-events: all; }
#tsf-scrolltop:hover { transform: translateY(-2px); }

/* ============================================
   ACCESSIBILITY
============================================ */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

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

@media (max-width: 960px) {
  .tsf-hero-inner        { grid-template-columns: 1fr; }
  .tsf-hero-right        { padding-top: 0; }
  .tsf-featured-layout   { grid-template-columns: 1fr; }
  .tsf-card-big          { grid-row: auto; }
  .tsf-categories-grid   { grid-template-columns: 1fr; }
  .tsf-latest-layout     { grid-template-columns: 1fr; }
  .tsf-article-nav-inner { grid-template-columns: 1fr; }
  nav.tsf-nav            { display: none; }
  .tsf-menu-toggle       { display: flex; }
  .tsf-header-search     { display: none; }
}

@media (max-width: 680px) {
  .tsf-posts-grid        { grid-template-columns: 1fr; }
  .tsf-posts-grid--3col  { grid-template-columns: 1fr; }
  .tsf-footer-grid       { grid-template-columns: 1fr; }
  .tsf-hero-h1           { font-size: 14px; }
  .tsf-hero-accent       { font-size: 18px; }
  .tsf-section-title     { font-size: 11px; }
  .tsf-article-title     { font-size: 12px; }
  .container             { padding: 0 16px; }
  .tsf-hero              { padding: 48px 0 64px; }
  .tsf-featured-section,
  .tsf-categories-section,
  .tsf-latest-section    { padding: 48px 0; }
  .tsf-footer-bottom     { flex-direction: column; gap: 12px; text-align: center; }
}

/* Layout lado a lado para o Terminal e Artigo em Destaque */
.tsf-hero-inner {
    display: flex;
    flex-direction: row;
    align-items: center; /* Alinha os dois blocos ao centro verticalmente */
    gap: 40px; /* Espaçamento entre o terminal e o artigo */
}

.tsf-hero-left, 
.tsf-hero-right {
    flex: 1; /* Faz as duas colunas terem 50% de largura cada */
    min-width: 0;
}

/* Responsividade para telas menores (celulares) */
@media (max-width: 992px) {
    .tsf-hero-inner {
        flex-direction: column;
    }
}



/* Correção forçada da sobreposição da palavra TRENDING */
.tsf-ticker-bar {
    position: relative; 
}

.tsf-ticker-badge {
    position: absolute !important;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 9999 !important; 
    background: var(--teal) !important; /* Lembre de checar se esse azul é o mesmo do fundo da barra */
    padding: 0 20px;
}

/* ============================================================
   TÍTULOS DOS CARDS COM A FONTE PIXELADA (Igual aos Títulos de Seção)
   ============================================================ */

/* 1. Fonte padrão para TODOS os títulos de cards */
.tsf-hero-card-title, 
.tsf-hero-card-title a,
.tsf-post-card-body,
.tsf-card-title, 
.tsf-card-title a,
.tsf-post-title, 
.tsf-post-title a {
    font-family: var(--f-pixel), 'Press Start 2P', monospace !important;
    font-weight: normal !important; /* Fontes pixeladas ficam melhores sem negrito extra */
    line-height: 1.5 !important; /* Dá um respiro entre as linhas para facilitar a leitura */
    text-transform: none !important;
    letter-spacing: 1.5px !important;
}

/* 2. Tamanho específico para o Card em DESTAQUE (O gigante) */
.tsf-hero-card-title, 
.tsf-hero-card-title a {
    font-size: 20px !important; 
    font-family: var(--f-pixel), 'Press Start 2P', monospace !important;
}

/* 3. Tamanho específico para os Cards MENORES (Últimas Publicações e Categorias) */
.tsf-card-title, 
.tsf-post-card-body,
.tsf-card-title a,
.tsf-post-title, 
.tsf-post-title a {
    font-size: 18px !important; 
}

.tsf-newsletter,
#tsf-newsletter,
.newsletter-section {
    display: none !important;
}

/* ============================================================
   ESTILIZAÇÃO DA ÁREA DE COMENTÁRIOS
   ============================================================ */

/* Contêiner principal do formulário */
#respond {
    background: var(--beige-mid, #e8e4d9);
    padding: 30px;
    border-radius: 8px;
    border: 2px solid var(--blue-dark, #0a0a2a);
    margin-top: 30px;
}

/* Título "Deixe um comentário" */
#reply-title {
    font-family: var(--f-pixel), 'Press Start 2P', monospace !important;
    font-size: 16px !important;
    margin-bottom: 20px;
    color: var(--blue-dark, #0a0a2a);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Textos de aviso ("Conectado como...", etc) */
.comment-notes,
.logged-in-as {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Rótulos dos campos */
.comment-form label {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Caixa de texto e inputs */
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    background: #ffffff;
    border: 2px solid var(--blue-dark, #0a0a2a);
    border-radius: 4px;
    padding: 15px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: var(--blue-dark, #0a0a2a);
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: all 0.2s;
}

/* Efeito retrô quando clica para digitar */
.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus {
    outline: none;
    border-color: var(--teal, #008080);
    box-shadow: 4px 4px 0px var(--teal, #008080);
}

/* Botão de Publicar Comentário */
.comment-form .form-submit .submit {
    background-color: var(--teal, #008080);
    color: #ffffff;
    font-family: var(--f-pixel), 'Press Start 2P', monospace;
    font-size: 12px;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
    letter-spacing: 1px;
}

/* Efeito de hover no botão */
.comment-form .form-submit .submit:hover {
    background-color: var(--blue-dark, #0a0a2a);
    transform: translateY(-2px);
}

/* ============================================================
   DOMANDO OS WIDGETS DE BLOCO DO WORDPRESS (GUTENBERG)
   ============================================================ */

/* 1. Arranca o fundo branco e a sombra da caixa principal */
.tsf-sidebar .wp-block-group,
.tsf-sidebar .wp-block-group.has-background,
.tsf-sidebar .widget_block {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* 2. Título do Widget (O Gutenberg usa h2 em vez de h3) */
.tsf-sidebar h2.wp-block-heading,
.tsf-sidebar .wp-block-group h2,
.tsf-sidebar .widget-title {
    font-family: var(--f-pixel), 'Press Start 2P', monospace !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    color: var(--blue-dark, #0a0a2a) !important;
    border-bottom: 2px solid var(--blue-dark, #0a0a2a) !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
    letter-spacing: 1px !important;
}

/* 3. Limpando a lista de posts */
.tsf-sidebar ul.wp-block-latest-posts {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

/* 4. Linhas tracejadas em cada post */
.tsf-sidebar ul.wp-block-latest-posts li {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px dashed var(--blue-dark, #0a0a2a) !important;
    padding: 15px 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: flex-start;
}

.tsf-sidebar ul.wp-block-latest-posts li:last-child {
    border-bottom: none !important;
}

/* 5. Ícone de terminal ">" antes dos links */
.tsf-sidebar ul.wp-block-latest-posts li::before {
    content: ">";
    font-family: var(--f-pixel), monospace;
    color: var(--teal, #008080);
    margin-right: 10px;
    font-size: 14px;
    margin-top: 2px;
}

/* 6. A fonte dos links dos posts */
.tsf-sidebar ul.wp-block-latest-posts li a {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: var(--blue-dark, #0a0a2a) !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease !important;
}

.tsf-sidebar ul.wp-block-latest-posts li a:hover {
    color: var(--teal, #008080) !important;
}

.tsf-sidebar .tsf-widget {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* ============================================================
   REFINAMENTOS FINAIS DA SIDEBAR: COR E CORTE DA FONTE
   ============================================================ */

.tsf-sidebar h2,
.tsf-sidebar h3,
.tsf-sidebar .wp-block-heading,
.tsf-sidebar .widget-title,
.tsf-sidebar .tsf-widget-title,
.tsf-sidebar h2 *, 
.tsf-sidebar .wp-block-heading * {
    color: var(--blue-dark, #0a0a2a) !important;
    overflow: visible !important;
    border-radius: 0 !important;
}

/* 2. Destrói as "paredes invisíveis" dos containers que causam o corte */
.tsf-sidebar .widget,
.tsf-sidebar .tsf-widget,
.tsf-sidebar .wp-block-group,
.tsf-sidebar .widget_block {
    overflow: visible !important;
    border-radius: 0 !important;
}