/* ============================================================
   TechMundo10 — Portal de Notícias
   Estilo inspirado em portais jornalísticos profissionais
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #cc0000;
  --red-dark:   #a00000;
  --red-light:  #ff2222;
  --blue:       #0057b8;
  --blue-light: #1a73e8;
  --green:      #1a8a2e;
  --green-light:#22a83a;
  --gold:       #f5a623;
  --dark:       #111111;
  --gray-900:   #1a1a1a;
  --gray-700:   #333333;
  --gray-500:   #666666;
  --gray-300:   #999999;
  --gray-200:   #cccccc;
  --gray-100:   #eeeeee;
  --gray-50:    #f7f7f7;
  --white:      #ffffff;
  --font-sans:  'Inter', Arial, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;
  --max-w:      1180px;
  --radius:     6px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.10);
  --shadow-md:  0 4px 16px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--gray-50);
  color: var(--gray-700);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--gray-900);
  color: var(--gray-200);
  font-size: 0.75rem;
  padding: 6px 0;
  border-bottom: 1px solid #333;
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-date { display: flex; align-items: center; gap: 5px; color: var(--gray-300); }
.topbar-nav { display: flex; gap: 14px; flex-wrap: wrap; }
.topbar-nav a {
  color: var(--gray-200);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}
.topbar-nav a:hover { color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--red);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
}
.menu-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: background .2s;
  flex-shrink: 0;
}
.menu-btn:hover { background: rgba(255,255,255,.15); }
.menu-btn i { font-size: 1rem; }

.logo-wrap { flex: 1; display: flex; justify-content: flex-start; }
.logo {
  display: flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1;
}
.logo-tech  { font-size: 1.6rem; font-weight: 800; color: var(--white); letter-spacing: -1px; }
.logo-mundo { font-size: 1.6rem; font-weight: 300; color: rgba(255,255,255,.9); letter-spacing: -1px; }
.logo-ten   { font-size: 1.6rem; font-weight: 900; color: #ffcc00; letter-spacing: -1px; }

.header-editoria {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--white);
  border-left: 2px solid rgba(255,255,255,.35);
  border-right: 2px solid rgba(255,255,255,.35);
  padding: 0 18px;
  flex-shrink: 0;
}

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn-search, .btn-login {
  background: none;
  border: none;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: var(--radius);
  transition: background .2s;
  white-space: nowrap;
}
.btn-search:hover { background: rgba(255,255,255,.15); }
.btn-login {
  border: 1px solid rgba(255,255,255,.5);
}
.btn-login:hover { background: rgba(255,255,255,.15); }

/* ============================================================
   TICKER
   ============================================================ */
.ticker-wrap {
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
  font-size: 0.8rem;
}
.ticker-label {
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: .08em;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  padding-left: 20px;
  color: var(--gray-200);
  gap: 0;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 8px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--gray-500);
}
.breadcrumb a { color: var(--blue-light); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 0.6rem; color: var(--gray-300); }
.breadcrumb span { color: var(--gray-700); font-weight: 500; }

/* ============================================================
   LAYOUT
   ============================================================ */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 40px;
  align-items: start;
}

/* ============================================================
   ARTICLE
   ============================================================ */
.article-main {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.tag-badge {
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
}
.tag-trending {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-headline {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.article-deck {
  font-size: 1.08rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin-bottom: 18px;
  border-left: 3px solid var(--red);
  padding-left: 14px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.meta-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 38px; height: 38px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; gap: 2px; }
.author-name { font-size: 0.82rem; color: var(--gray-700); }
.author-name strong { color: var(--red); }
.author-date { font-size: 0.75rem; color: var(--gray-500); display: flex; align-items: center; gap: 4px; }
.meta-read { font-size: 0.78rem; color: var(--gray-500); display: flex; align-items: center; gap: 5px; white-space: nowrap; }

/* SHARE BAR */
.share-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  transition: all .2s;
}
.share-btn:hover { border-color: var(--gray-400); background: var(--gray-50); }
.share-fb  { color: #1877f2; border-color: #c8d9f0; }
.share-fb:hover  { background: #e8f0ff; }
.share-wa  { color: #25d366; border-color: #b5eac9; }
.share-wa:hover  { background: #e6faf0; }
.share-tw  { color: #111; border-color: #ddd; }
.share-copy { color: var(--gray-700); }

/* RESUMO CARD */
.resumo-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 22px;
  overflow: hidden;
}
.resumo-card summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-50);
  list-style: none;
  user-select: none;
  transition: background .2s;
}
.resumo-card summary::-webkit-details-marker { display: none; }
.resumo-card summary:hover { background: var(--gray-100); }
.resumo-card summary .chevron-icon { margin-left: auto; font-size: 0.75rem; transition: transform .3s; }
.resumo-card[open] summary .chevron-icon { transform: rotate(180deg); }
.resumo-body {
  padding: 14px 18px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.resumo-body ul { display: flex; flex-direction: column; gap: 8px; }
.resumo-body li {
  font-size: 0.88rem;
  color: var(--gray-700);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.resumo-body li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

/* HERO IMAGE */
.article-hero {
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}
.article-hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
}
.article-hero figcaption,
.article-img-inline figcaption {
  font-size: 0.75rem;
  color: var(--gray-500);
  padding: 7px 0 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ARTICLE BODY */
.article-body { line-height: 1.75; }

.article-p {
  font-size: 1.0rem;
  color: var(--gray-700);
  margin-bottom: 18px;
  line-height: 1.78;
}
.article-p.lede {
  font-size: 1.07rem;
  font-weight: 400;
  color: var(--gray-900);
}

/* STATS STRIP */
.stats-strip {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin: 24px 0;
  gap: 0;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
}
.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,.8);
  text-align: center;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.25);
  margin: 0 4px;
}

/* NUMBERED LIST */
.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

/* Card base */
.num-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.num-item:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.11);
  transform: translateY(-2px);
}

/* Card header strip */
.num-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}

.num-badge {
  width: 36px;
  height: 36px;
  background: var(--red);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 900;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -.02em;
}
.num-badge.hot {
  background: linear-gradient(135deg, #ff6600 0%, #cc0000 100%);
  font-size: 1rem;
  border-radius: 10px;
}

.num-item-header h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  flex: 1;
}

/* Card body */
.num-content {
  padding: 14px 18px 18px;
}
.num-content p {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.68;
  margin: 0;
}

/* Destaque item */
.highlight-item {
  border: 2px solid var(--red);
  box-shadow: 0 4px 18px rgba(204,0,0,.10);
}
.highlight-item .num-item-header {
  background: linear-gradient(90deg, #fff0f0 0%, #fff9f9 100%);
  border-bottom-color: rgba(204,0,0,.12);
}

/* Badge MAIS PROCURADO */
.badge-new {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.58rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Highlight box — ganhos */
.highlight-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #fffbea 0%, #fff8d6 100%);
  border: 1.5px solid #f0c030;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 14px;
}
.highlight-box i {
  font-size: 1.4rem;
  color: #c88a00;
  flex-shrink: 0;
}
.highlight-box-text {
  font-size: 0.88rem;
  color: var(--gray-900);
  line-height: 1.6;
}
.highlight-box-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--red);
  font-weight: 900;
  margin-bottom: 2px;
}
.highlight-box-text span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* SECTION BREAK */
.section-break {
  border-top: 2px solid var(--red);
  padding-top: 20px;
  margin: 30px 0 20px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

/* INLINE IMAGE */
.article-img-inline {
  margin: 20px 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
}
.article-img-inline img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* CTA BLOCKS */
.cta-block {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--gray-50);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.cta-secondary { border-color: var(--green); }
.cta-icon { font-size: 2rem; color: var(--red); flex-shrink: 0; }
.cta-secondary .cta-icon { color: var(--green); }
.cta-text { flex: 1; }
.cta-text strong { display: block; font-size: 0.95rem; color: var(--dark); margin-bottom: 3px; }
.cta-text span { font-size: 0.82rem; color: var(--gray-500); }
.cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 50px;
  white-space: nowrap;
  transition: all .25s;
  border: none;
  text-decoration: none;
}
.cta-btn:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(200,0,0,.3); }
.cta-btn-green { background: var(--green); }
.cta-btn-green:hover { background: var(--green-light); box-shadow: 0 4px 14px rgba(30,130,50,.3); }

/* TESTIMONIALS */
.testimonials { display: flex; flex-direction: column; gap: 20px; margin: 24px 0; }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-avatar.female { background: linear-gradient(135deg, #e83e8c 0%, #c2185b 100%); }
.testimonial-avatar.male   { background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%); }
.testimonial-identity { display: flex; flex-direction: column; gap: 2px; }
.testimonial-identity strong { font-size: 0.9rem; color: var(--dark); }
.testimonial-identity span { font-size: 0.78rem; color: var(--gray-500); }
.stars { color: #f5a623; font-size: 0.75rem; display: flex; gap: 2px; }
.testimonial-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray-700);
  font-style: italic;
}
.quote-icon { color: var(--red); margin-right: 4px; opacity: .6; }
.highlight-money { color: var(--green); font-style: normal; font-weight: 800; font-size: 1.05em; }

/* INSTITUTIONAL QUOTE */
.institutional-quote {
  background: var(--gray-50);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
  position: relative;
}
.institutional-quote i {
  color: var(--blue);
  font-size: 1.8rem;
  opacity: .3;
  position: absolute;
  top: 14px;
  left: 16px;
}
.institutional-quote p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-700);
  font-style: italic;
  padding-left: 10px;
}
.institutional-quote footer {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--gray-500);
  font-style: normal;
  padding-left: 10px;
}

/* REQUIREMENTS BOX */
.requirements-box {
  background: #e8f5e9;
  border: 1.5px solid #c8e6c9;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 20px 0;
}
.requirements-box h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.requirements-box ul { display: flex; flex-direction: column; gap: 8px; }
.requirements-box li {
  font-size: 0.88rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
}
.requirements-box li i { color: var(--green); font-size: 0.8rem; }

/* URGENCY BOX */
.urgency-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff3cd;
  border: 1.5px solid #ffc107;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 20px 0;
}
.urgency-icon { font-size: 1.5rem; color: #e65100; flex-shrink: 0; }
.urgency-text { display: flex; flex-direction: column; gap: 2px; }
.urgency-text strong { font-size: 0.88rem; color: var(--dark); }
.urgency-text span { font-size: 0.8rem; color: var(--gray-700); }

/* FINAL CTA */
.cta-final {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2f4a 100%);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 28px 0;
}
.cta-final p {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 18px;
}
.cta-final-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--red) 0%, #ff4500 100%);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: all .3s;
  letter-spacing: .02em;
  box-shadow: 0 4px 20px rgba(200,0,0,.4);
  animation: pulse 2.5s ease-in-out infinite;
}
.cta-final-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(200,0,0,.55);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(200,0,0,.4); }
  50%       { box-shadow: 0 4px 32px rgba(200,0,0,.65); }
}
.cta-final small {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: 0.75rem;
  margin-top: 12px;
  letter-spacing: .04em;
}

/* TAGS */
.article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0 0;
  border-top: 1px solid var(--gray-100);
  margin-top: 28px;
  font-size: 0.8rem;
}
.article-tags span { color: var(--gray-500); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.article-tags a {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  transition: all .2s;
}
.article-tags a:hover { background: var(--red); color: var(--white); }

/* SHARE BOTTOM */
.share-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0 0;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--gray-700);
  font-weight: 600;
}

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

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
}
.widget-title i { color: var(--red); }

/* NEWSLETTER WIDGET */
.widget-newsletter { background: linear-gradient(135deg, #0d1b2a 0%, #1a2f4a 100%); }
.widget-newsletter .widget-title { color: var(--white); border-color: var(--red); }
.widget-newsletter p { font-size: 0.82rem; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: none;
  font-size: 0.85rem;
  font-family: inherit;
}
.newsletter-form button {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background .2s;
}
.newsletter-form button:hover { background: var(--red-dark); }

/* MOST READ */
.most-read-list { display: flex; flex-direction: column; gap: 10px; }
.most-read-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.most-read-list li:last-child { border: none; padding: 0; }
.rank {
  width: 26px; height: 26px;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.most-read-list li:nth-child(1) .rank { background: var(--gold); color: var(--dark); }
.most-read-list a {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--gray-700);
  transition: color .2s;
}
.most-read-list a:hover { color: var(--red); }

/* PROMO WIDGET */
.widget-promo {
  background: linear-gradient(135deg, #1a8a2e 0%, #0d5c1c 100%);
  text-align: center;
}
.promo-badge {
  background: var(--gold);
  color: var(--dark);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 8px;
}
.widget-promo h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 8px; }
.widget-promo p { font-size: 0.82rem; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.widget-promo p strong { color: var(--white); }
.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 50px;
  transition: all .2s;
  text-decoration: none;
}
.promo-btn:hover { background: var(--gold); color: var(--dark); }

/* RELATED LIST */
.related-list { display: flex; flex-direction: column; gap: 14px; }
.related-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}
.related-item:last-child { border: none; padding: 0; }
.related-item img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.related-item span {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--gray-700);
  transition: color .2s;
}
.related-item:hover span { color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111;
  color: var(--gray-300);
  margin-top: 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  padding: 40px 16px 32px;
}
.footer-brand .logo-tech  { font-size: 1.6rem; font-weight: 800; color: var(--white); }
.footer-brand .logo-mundo { font-size: 1.6rem; font-weight: 300; color: rgba(255,255,255,.7); }
.footer-brand .logo-ten   { font-size: 1.6rem; font-weight: 900; color: #ffcc00; }
.footer-brand p { font-size: 0.82rem; color: #888; margin-top: 8px; line-height: 1.5; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  background: #222;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300);
  font-size: 0.85rem;
  transition: all .2s;
}
.footer-social a:hover { background: var(--red); color: var(--white); }

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #333;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { font-size: 0.82rem; color: #888; transition: color .2s; }
.footer-col li a:hover { color: var(--white); }

.footer-newsletter {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.footer-newsletter input {
  flex: 1;
  padding: 8px 10px;
  background: #222;
  border: 1px solid #333;
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.82rem;
  font-family: inherit;
}
.footer-newsletter input::placeholder { color: #555; }
.footer-newsletter button {
  background: var(--red);
  border: none;
  color: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: background .2s;
}
.footer-newsletter button:hover { background: var(--red-dark); }

.footer-bottom {
  background: #0a0a0a;
  border-top: 1px solid #222;
  padding: 12px 16px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  color: #555;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--dark);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  z-index: 9999;
  transition: transform .35s ease, opacity .35s ease;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .header-editoria { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .article-main { padding: 20px 16px; }
  .article-headline { font-size: 1.45rem; }
  .article-hero img { height: 180px; }
  .stats-strip { flex-direction: column; padding: 16px; }
  .stat-divider { width: 80%; height: 1px; margin: 6px auto; }
  .cta-block { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .header-actions .btn-login span { display: none; }
  .topbar-nav { display: none; }
  .section-title { font-size: 1.15rem; }
  .cta-final-btn { font-size: 0.92rem; padding: 14px 22px; }
  .institutional-quote { padding: 18px 16px; }
}
