/* Nexo Atual — CSS unificado */

/* Fontes: css/sources/ + mobile — regenere com node scripts/reconstruir-css-nexo.js */



/* --- base.css --- */

:root {
      --bg: #f5f5f2;
      --paper: #ffffff;
      --text: #171717;
      --muted: #666666;
      --line: #e4e4df;
      --dark: #111111;
      --accent: #ff6a00;
      --soft: #f0efe9;
      --radius: 22px;
      --container: 1180px;
      --shadow: 0 16px 38px rgba(17, 17, 17, 0.06);
      --shadow-hover: 0 24px 54px rgba(17, 17, 17, 0.10);
    }

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

    html,
    body {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
      background: var(--bg);
      color: var(--text);
      font-family: Arial, Helvetica, sans-serif;
      line-height: 1.6;
      scroll-behavior: smooth;
    }

    a { color: inherit; text-decoration: none; }
    img { width: 100%; max-width: 100%; display: block; }
    button { font-family: inherit; }

    .container {
      width: min(var(--container), calc(100% - 32px));
      margin: 0 auto;
    }

    .topbar {
      background: var(--dark);
      color: rgba(255, 255, 255, 0.82);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 13px;
      position: relative;
      z-index: 30;
    }

    .topbar::before {
      content: "";
      position: absolute;
      inset: 0 0 auto 0;
      height: 2px;
      background: linear-gradient(90deg, var(--accent), #ffb000, var(--accent));
    }

    .topbar-inner {
      min-height: 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }

    .topbar-inner > span { font-weight: 700; }

    .topbar-links {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .topbar-links a {
      padding: 6px 10px;
      border-radius: 999px;
      color: rgba(255, 255, 255, 0.78);
      transition: background 0.2s ease, color 0.2s ease;
    }

    .topbar-links a:hover { background: rgba(255, 255, 255, 0.08); color: #ffffff; }

    header {
      background: rgba(255, 255, 255, 0.94);
      border-bottom: 1px solid rgba(0, 0, 0, 0.07);
      position: sticky;
      top: 0;
      z-index: 25;
      backdrop-filter: blur(16px);
      box-shadow: 0 12px 28px rgba(17, 17, 17, 0.045);
    }

    .header-inner {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 900;
      font-size: clamp(22px, 3vw, 32px);
      letter-spacing: -1.4px;
      color: var(--text);
      white-space: nowrap;
    }

    .logo-mark {
      width: 42px;
      height: 42px;
      border-radius: 14px;
      background:
        radial-gradient(circle at top right, rgba(255, 106, 0, 0.75), transparent 45%),
        linear-gradient(135deg, #111111 0%, #2a2a2a 100%);
      color: #ffffff;
      display: grid;
      place-items: center;
      font-size: 17px;
      box-shadow: 0 14px 32px rgba(17, 17, 17, 0.18);
    }

    nav {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      font-weight: 800;
      background: #f2f1ec;
      border: 1px solid rgba(0, 0, 0, 0.055);
      border-radius: 999px;
      padding: 6px;
      flex-wrap: wrap;
      justify-content: center;
    }

    nav a {
      padding: 9px 12px;
      border-radius: 999px;
      color: #2a2a2a;
      transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    nav a:hover,
    nav a.active { background: var(--dark); color: #ffffff; transform: translateY(-1px); }

    .nav-actions { display: flex; align-items: center; gap: 10px; }

    .search-btn,
    .menu-btn {
      border: 1px solid rgba(0, 0, 0, 0.08);
      background: var(--paper);
      border-radius: 999px;
      width: 42px;
      height: 42px;
      cursor: pointer;
      font-size: 17px;
      display: grid;
      place-items: center;
      box-shadow: 0 10px 26px rgba(17, 17, 17, 0.055);
      transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    }

    .search-btn:hover,
    .menu-btn:hover {
      border-color: var(--dark);
      background: var(--dark);
      color: #ffffff;
      transform: translateY(-2px);
    }

    main { padding: 22px 0 0; }

    .article-hero {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
      gap: 26px;
      align-items: stretch;
      margin-bottom: 32px;
    }

    .article-hero-text {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 28px;
      box-shadow: var(--shadow);
      padding: clamp(26px, 5vw, 50px);
      min-height: 380px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .eyebrow {
      display: inline-flex;
      width: fit-content;
      background: rgba(255, 106, 0, 0.10);
      color: #d75700;
      border: 1px solid rgba(255, 106, 0, 0.18);
      border-radius: 999px;
      padding: 7px 13px;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      margin-bottom: 14px;
    }

    .article-hero h1 {
      font-size: clamp(38px, 5.4vw, 68px);
      line-height: 0.98;
      letter-spacing: -2.8px;
      margin-bottom: 18px;
    }

    .article-hero p { color: var(--muted); font-size: 18px; max-width: 760px; }

    .hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

    .hero-meta span {
      background: #f2f1ec;
      border: 1px solid rgba(0, 0, 0, 0.06);
      border-radius: 999px;
      padding: 8px 12px;
      font-size: 13px;
      font-weight: 800;
      color: #333333;
    }

    .article-hero-image {
      border-radius: 28px;
      overflow: hidden;
      background: #111111;
      box-shadow: var(--shadow);
      border: 1px solid var(--line);
      min-height: 380px;
    }

    .article-hero-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
    }

    .article-layout {
      display: grid;
      grid-template-columns: minmax(0, 780px) minmax(260px, 1fr);
      gap: 28px;
      align-items: start;
    }

    .article-content {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 28px;
      padding: clamp(24px, 4vw, 44px);
      box-shadow: var(--shadow);
      max-width: 100%;
      min-width: 0;
      overflow-wrap: break-word;
    }

    .article-content h2 {
      font-size: clamp(26px, 3vw, 36px);
      line-height: 1.08;
      letter-spacing: -1.2px;
      margin: 34px 0 14px;
      padding-top: 10px;
    }

    .article-content h2:first-child { margin-top: 0; padding-top: 0; }

    .article-content h3 {
      font-size: 22px;
      line-height: 1.2;
      letter-spacing: -0.5px;
      margin: 24px 0 10px;
    }

    .article-content p { color: #3f3f3f; font-size: 18px; margin-bottom: 18px; }
    .article-content strong { color: #111111; }

    .article-content ul,
    .article-content ol {
      padding-left: 22px;
      margin: 0 0 22px;
      color: #3f3f3f;
      font-size: 17px;
    }

    .article-content li { margin-bottom: 10px; }

    .highlight-box {
      background:
        radial-gradient(circle at top right, rgba(255, 106, 0, 0.14), transparent 42%),
        #f7f7f3;
      border: 1px solid rgba(0, 0, 0, 0.06);
      border-radius: 24px;
      padding: 22px;
      margin: 28px 0;
    }

    .highlight-box p { margin: 0; color: #2e2e2e; font-weight: 700; }

    .article-sidebar { display: grid; gap: 18px; position: sticky; top: 96px; }

    .sidebar-card {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 24px;
      padding: 22px;
      box-shadow: var(--shadow);
    }

    .sidebar-card h3 {
      font-size: 22px;
      line-height: 1.1;
      letter-spacing: -0.7px;
      margin-bottom: 12px;
    }

    .sidebar-card p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
    .sidebar-links { display: grid; gap: 10px; }

    .sidebar-links a {
      display: block;
      background: #f6f6f2;
      border: 1px solid rgba(0, 0, 0, 0.06);
      border-radius: 16px;
      padding: 12px 13px;
      font-size: 14px;
      font-weight: 800;
      color: #222222;
      transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    }

    .sidebar-links a:hover { background: #111111; color: #ffffff; transform: translateY(-2px); }

    .section { margin-top: 34px; }

    .section-title {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 16px;
      border-top: 2px solid var(--dark);
      padding-top: 18px;
      margin: 34px 0 20px;
    }

    .section-title h2 { font-size: clamp(28px, 3.8vw, 42px); letter-spacing: -1.4px; line-height: 1; }

    .section-title p {
      color: var(--muted);
      max-width: 640px;
      font-size: 15px;
      font-weight: 700;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
      width: 100%;
      max-width: 100%;
    }

    .post-card {
      display: block;
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      min-width: 0;
    }

    .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

    .post-card img {
      width: 100%;
      height: 205px;
      object-fit: cover;
      object-position: center center;
      background: #f4f3ee;
    }

    .post-body { padding: 20px; }

    .label {
      display: inline-flex;
      width: fit-content;
      background: rgba(255, 106, 0, 0.10);
      color: #d75700;
      border: 1px solid rgba(255, 106, 0, 0.18);
      border-radius: 999px;
      padding: 7px 12px;
      font-size: 11px;
      text-transform: uppercase;
      font-weight: 900;
      letter-spacing: 0.6px;
      margin-bottom: 12px;
    }

    .post-body h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.08; letter-spacing: -0.8px; }
    .post-body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

    .ebook-card:has(.ebook-cover) {
      display: grid;
      grid-template-columns: 170px minmax(0, 1fr);
      gap: 20px;
      align-items: center;
      background: #111111;
      color: #ffffff;
      border-radius: 28px;
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid rgba(255, 255, 255, 0.08);
      padding: 20px;
    }

    .ebook-cover {
      border-radius: 20px;
      overflow: hidden;
      background:
        radial-gradient(circle at center, rgba(255, 106, 0, 0.28), transparent 58%),
        #242424;
      min-height: 220px;
      display: grid;
      place-items: center;
    }

    .ebook-cover img { width: 100%; height: 220px; object-fit: contain; object-position: center center; }
    .ebook-info span { color: #ffb000; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: 0.7px; }

    .ebook-info h3 {
      font-size: clamp(24px, 3vw, 34px);
      line-height: 1.05;
      letter-spacing: -1.1px;
      margin: 10px 0 12px;
    }

    .ebook-info p { color: rgba(255, 255, 255, 0.76); margin-bottom: 18px; }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      border: 0;
      border-radius: 999px;
      padding: 12px 18px;
      background: var(--accent);
      color: #ffffff;
      font-size: 14px;
      font-weight: 900;
      cursor: pointer;
      transition: transform 0.2s ease, filter 0.2s ease;
    }

    .btn:hover { transform: translateY(-2px); filter: brightness(0.95); }
    .quick-menu { margin-top: 44px; }
    .topics { display: flex; flex-wrap: wrap; gap: 10px; }

    .topics a {
      background: var(--paper);
      border: 1px solid rgba(0, 0, 0, 0.06);
      border-radius: 999px;
      padding: 10px 14px;
      font-size: 13px;
      font-weight: 800;
      transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
      box-shadow: 0 8px 22px rgba(17, 17, 17, 0.04);
    }

    .topics a:hover { color: var(--accent); background: #ffffff; transform: translateY(-2px); }

    footer {
      margin-top: 56px;
      background: var(--dark);
      color: #ffffff;
      padding: 44px 0;
    }

    .footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 24px; }
    footer p, footer a { color: rgba(255, 255, 255, 0.72); font-size: 14px; }
    footer h3 { margin-bottom: 12px; }
    .footer-links { display: grid; gap: 8px; }
    .footer-links a:hover { color: var(--accent); }

    @media (max-width: 980px) {
      nav { display: none; }
      .article-hero, .article-layout { grid-template-columns: 1fr; }
      .article-hero-image { min-height: 280px; }
      .article-sidebar { position: static; }
      .card-grid, .footer-grid { grid-template-columns: 1fr; }
      .ebook-card:has(.ebook-cover) { grid-template-columns: 1fr; }
      .ebook-cover img { height: 260px; }
    }

    @media (max-width: 768px) {
      .container { width: calc(100% - 24px); max-width: calc(100% - 24px); }
      .topbar-inner { height: auto; padding: 10px 0; align-items: flex-start; flex-direction: column; }
      .header-inner { min-height: 74px; padding: 12px 0; }
      .logo-mark { width: 42px; height: 42px; border-radius: 14px; }
      .article-hero h1 { font-size: clamp(2.25rem, 10vw, 3.2rem); letter-spacing: -2px; }
      .article-hero p, .article-content p { font-size: 16px; }
      .article-hero-text { min-height: auto; }
      .post-card img { height: 200px; }
      .section-title { flex-direction: column; align-items: flex-start; gap: 10px; }
    }

    @media (max-width: 480px) {
      .container { width: calc(100% - 20px); max-width: calc(100% - 20px); }
      .article-hero-image { min-height: 220px; }
      .article-hero-text, .article-content, .sidebar-card, .post-body { padding: 20px; }
      .post-card img { height: 190px; }
      .ebook-cover img { height: 230px; }
    }



/* --- home.css --- */

.home-main,
.page-main {
      padding: 22px 0 0;
    }

.hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 350px;
      gap: 26px;
      align-items: stretch;
    }

.hero-slider {
      position: relative;
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 26px;
      overflow: hidden;
      box-shadow: var(--shadow);
      min-height: 420px;
      height: 420px;
    }

.hero-loading {
      min-height: 420px;
      height: 420px;
      display: grid;
      place-items: center;
      background:
        radial-gradient(circle at top right, rgba(255, 106, 0, 0.20), transparent 35%),
        linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
      color: #ffffff;
      padding: 28px;
      text-align: center;
    }

.hero-loading strong {
      font-size: clamp(26px, 4vw, 42px);
      line-height: 1;
      letter-spacing: -1.4px;
      display: block;
      margin-bottom: 10px;
    }

.hero-loading p {
      color: rgba(255, 255, 255, 0.72);
      font-size: 15px;
    }

.hero-slide {
      display: none;
      grid-template-columns: 1.45fr 1fr;
      min-height: 420px;
      height: 420px;
    }

.hero-slide.active {
      display: grid;
      animation: fadeSlide 0.45s ease;
    }

@keyframes fadeSlide {
      from {
        opacity: 0;
        transform: translateY(8px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

.hero-image-wrap {
      position: relative;
      min-height: 420px;
      height: 420px;
      overflow: hidden;
      background: #111111;
    }

.hero-image-wrap img {
      width: 100%;
      height: 100%;
      min-height: 420px;
      object-fit: cover;
      object-position: center center;
      background: #111111;
    }

.hero-badge-top {
      position: absolute;
      top: 18px;
      left: 18px;
      display: inline-flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.95);
      color: #111111;
      border-radius: 999px;
      padding: 8px 14px;
      font-size: 12px;
      font-weight: 900;
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
      z-index: 2;
      text-transform: uppercase;
    }

.hero-category {
      display: inline-flex;
      width: fit-content;
      background: var(--accent);
      color: #ffffff;
      border-radius: 999px;
      padding: 7px 13px;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      margin-bottom: 13px;
    }

.hero-cta {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      border-radius: 999px;
      background: #ffffff;
      color: #111111;
      font-weight: 900;
      padding: 0 18px;
      transition: transform 0.2s ease, opacity 0.2s ease;
      font-size: 14px;
    }

.hero-cta:hover {
      transform: translateY(-2px);
      opacity: 0.95;
    }

.hero-content {
      padding: 42px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background:
        radial-gradient(circle at top right, rgba(255, 106, 0, 0.24), transparent 34%),
        linear-gradient(135deg, #111111 0%, #1b1b1b 100%);
      color: #ffffff;
    }

.hero-content h1 {
      font-size: clamp(34px, 4.2vw, 56px);
      line-height: 0.98;
      letter-spacing: -2.2px;
      margin-bottom: 18px;
      max-width: 640px;
      color: #ffffff;
    }

.hero-content p {
      font-size: 16px;
      line-height: 1.5;
      color: rgba(255, 255, 255, 0.80);
      margin-bottom: 8px;
      max-width: 520px;
    }

.hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 8px;
    }

.hero-cta-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 0 20px;
      border-radius: 999px;
      background: var(--accent);
      color: #ffffff;
      font-weight: 900;
      font-size: 14px;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

.hero-cta-primary:hover {
      transform: translateY(-2px);
      opacity: 0.95;
    }

.hero-cta-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 0 18px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.22);
      color: #ffffff;
      font-weight: 800;
      font-size: 14px;
      transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }

.hero-cta-secondary:hover {
      transform: translateY(-2px);
      background: rgba(255, 255, 255, 0.10);
      border-color: rgba(255, 255, 255, 0.34);
    }

.hero-controls {
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      z-index: 4;
      pointer-events: none;
    }

.hero-dots,
    .hero-arrow-group {
      pointer-events: auto;
    }

.hero-dots {
      display: flex;
      gap: 7px;
      flex-wrap: wrap;
      align-items: center;
    }

.hero-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: 0;
      background: rgba(255, 255, 255, 0.35);
      cursor: pointer;
      transition: transform 0.2s ease, background 0.2s ease;
    }

.hero-dot.active {
      background: var(--accent);
      transform: scale(1.15);
    }

.hero-arrow-group {
      display: flex;
      gap: 8px;
    }

.hero-arrow {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 0;
      background: rgba(255, 255, 255, 0.92);
      color: #111111;
      font-size: 17px;
      font-weight: 900;
      cursor: pointer;
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
      transition: transform 0.2s ease, background 0.2s ease;
    }

.hero-arrow:hover {
      transform: translateY(-2px);
      background: #ffffff;
    }

.hero-side {
      display: grid;
      grid-template-rows: repeat(2, minmax(0, 1fr));
      gap: 14px;
      height: 420px;
      min-height: 420px;
      align-self: stretch;
    }

.side-card {
      position: relative;
      display: block;
      height: 100%;
      min-height: 0;
      background: #111111;
      border: 1px solid var(--line);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

.side-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

.side-card::before {
      content: "";
      position: absolute;
      inset: -18px;
      background-image: var(--side-bg);
      background-size: cover;
      background-position: center center;
      filter: blur(16px) saturate(1.08);
      transform: scale(1.08);
      z-index: 0;
    }

.side-card::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 72%;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
      z-index: 1;
      pointer-events: none;
    }

.side-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      background: #111111;
      transition: transform 0.25s ease;
    }

.side-card:hover img {
      transform: scale(1.03);
    }

.side-card-body {
      position: absolute;
      left: 16px;
      right: 16px;
      bottom: 16px;
      z-index: 2;
      min-width: 0;
      overflow: visible;
      color: #ffffff;
    }

.side-tag {
      display: inline-flex;
      width: fit-content;
      padding: 6px 11px;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.42);
      border: 1px solid rgba(255, 255, 255, 0.14);
      color: rgba(255, 255, 255, 0.92);
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      margin-bottom: 10px;
    }

.side-card h3 {
      font-size: 17px;
      line-height: 1.08;
      letter-spacing: -0.55px;
      margin-bottom: 0;
      max-height: none;
      overflow: visible;
      color: #ffffff;
      text-shadow: 0 4px 18px rgba(0, 0, 0, 0.38);
    }

.side-card p {
      display: none;
      color: rgba(255, 255, 255, 0.76);
      font-size: 13px;
      line-height: 1.35;
    }

.cards-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
      width: 100%;
      max-width: 100%;
    }

.card {
      display: block;
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      min-width: 0;
    }

.card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

.card img {
      width: 100%;
      height: 205px;
      object-fit: cover;
      object-position: center center;
      background: #f4f3ee;
    }

.category {
      display: inline-flex;
      width: fit-content;
      background: rgba(255, 106, 0, 0.10);
      color: #d75700;
      border: 1px solid rgba(255, 106, 0, 0.18);
      border-radius: 999px;
      padding: 6px 11px;
      font-size: 11px;
      line-height: 1;
      text-transform: uppercase;
      font-weight: 900;
      letter-spacing: 0.6px;
      margin-bottom: 10px;
    }

.card-image-fit {
      position: relative;
      width: 100%;
      height: 205px;
      overflow: hidden;
      background: #111111;
      display: flex;
      align-items: center;
      justify-content: center;
      isolation: isolate;
    }

.card-image-fit::before {
      content: "";
      position: absolute;
      inset: -18px;
      background-image: var(--card-bg);
      background-size: cover;
      background-position: center center;
      filter: blur(18px);
      opacity: 0.48;
      transform: scale(1.12);
      z-index: -2;
    }

.card-image-fit::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at top right, rgba(255, 106, 0, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.22));
      z-index: -1;
    }

.card .card-image-fit img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center center;
      background: transparent;
      padding: 0;
      filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35));
    }

.card-body {
      padding: 20px;
    }

.card h3 {
      font-size: 23px;
      line-height: 1.08;
      letter-spacing: -0.8px;
      margin-bottom: 10px;
    }

.card p {
      color: var(--muted);
      font-size: 15px;
    }

.ebooks-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }

.ebook-card {
      display: flex;
      flex-direction: column;
      background: var(--paper);
      color: var(--text);
      border: 1px solid var(--line);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      min-height: 100%;
    }

.ebook-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

.ebook-image {
      position: relative;
      width: 100%;
      height: 205px;
      background: #111111;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      isolation: isolate;
    }

.ebook-image::before {
      content: "";
      position: absolute;
      inset: -18px;
      background-image: var(--ebook-bg);
      background-size: cover;
      background-position: center center;
      filter: blur(16px);
      opacity: 0.42;
      transform: scale(1.08);
      z-index: -2;
    }

.ebook-image::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at top right, rgba(255, 106, 0, 0.20), transparent 34%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.28));
      z-index: -1;
    }

.ebook-image img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center center;
      padding: 0;
      filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.42));
    }

.ebook-card-body {
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
    }

.ebook-card-body h3 {
      font-size: 23px;
      line-height: 1.08;
      letter-spacing: -0.8px;
      margin: 0;
      color: var(--text);
    }

.ebook-card-body p {
      color: var(--muted);
      font-size: 15px;
      line-height: 1.55;
      margin: 0;
      flex: 1;
    }

.ebook-card-body a {
      color: var(--accent);
      font-weight: 900;
      font-size: 14px;
      margin-top: 4px;
    }

.ebook-card-body a:hover {
      opacity: 0.85;
    }

.ebook-tag {
      display: inline-flex;
      width: fit-content;
      padding: 7px 12px;
      border-radius: 999px;
      background: rgba(255, 106, 0, 0.10);
      color: #d75700;
      border: 1px solid rgba(255, 106, 0, 0.18);
      font-size: 11px;
      text-transform: uppercase;
      font-weight: 900;
      letter-spacing: 0.6px;
    }

@media (max-width: 1100px) {
      .hero-grid {
        grid-template-columns: 1fr;
        align-items: start;
      }

      .hero-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        height: auto;
        min-height: 0;
        max-height: none;
      }

      .side-card {
        height: 260px;
      }

      .side-card-body {
        left: 18px;
        right: 18px;
        bottom: 18px;
      }

      .side-card h3 {
        font-size: 21px;
        line-height: 1.1;
      }

      .side-card p {
        display: block;
        margin-top: 8px;
      }
    }

@media (max-width: 980px) {
      nav {
        display: none;
      }

      .hero-slider,
      .hero-loading,
      .hero-slide {
        height: auto;
        min-height: auto;
      }

      .hero-slide {
        grid-template-columns: 1fr;
      }

      .hero-image-wrap,
      .hero-image-wrap img {
        height: 260px;
        min-height: 260px;
      }

      .cards-grid,
      .ebooks-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .ebook-image {
        height: 260px;
      }

      .card-image-fit {
        height: 260px;
      }
    }

@media (max-width: 768px) {
      .container {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
      }

      .topbar-inner {
        height: auto;
        padding: 10px 0;
        align-items: flex-start;
        flex-direction: column;
      }

      .header-inner {
        min-height: 74px;
        padding: 12px 0;
      }

      .logo-mark {
        width: 42px;
        height: 42px;
        border-radius: 14px;
      }

      .hero-content {
        padding: 22px 20px 70px;
      }

      .hero-content h1 {
        font-size: clamp(1.8rem, 7vw, 2.35rem);
        line-height: 1.04;
        letter-spacing: -1.2px;
      }

      .hero-content p {
        font-size: 15px;
        line-height: 1.55;
      }

      .hero-side {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        height: auto;
        min-height: 0;
        max-height: none;
      }

      .side-card {
        height: 260px;
      }

      .card img {
        height: 200px;
      }

      .card-image-fit {
        height: 230px;
      }

      .ebook-image {
        height: 230px;
      }

      .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }
    }

@media (max-width: 480px) {
      .container {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
      }

      .hero-image-wrap,
      .hero-image-wrap img {
        height: 220px;
        min-height: 220px;
      }

      .hero-badge-top {
        top: 16px;
        left: 16px;
        font-size: 12px;
        padding: 8px 13px;
      }

      .hero-content,
      .card-body,
      .ebook-card-body {
        padding: 20px;
      }

      .hero-content {
        padding-bottom: 70px;
      }

      .hero-arrow {
        width: 38px;
        height: 38px;
      }

      .side-card {
        height: 245px;
      }

      .card img {
        height: 190px;
      }

      .card-image-fit {
        height: 215px;
      }

      .ebook-image {
        height: 215px;
      }
    }



/* --- static.css --- */

.page-hero {
      padding: 54px 0 30px;
    }

.page-hero-box {
      background: var(--dark);
      color: #ffffff;
      border-radius: 26px;
      padding: clamp(30px, 5vw, 64px);
      position: relative;
      overflow: hidden;
      box-shadow: 0 28px 70px rgba(17, 17, 17, 0.16);
    }

.page-hero-box::after {
      content: "";
      position: absolute;
      right: -140px;
      top: -140px;
      width: 360px;
      height: 360px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 106, 0, 0.42), transparent 65%);
    }

.page-hero h1 {
      font-size: clamp(38px, 6vw, 72px);
      line-height: 0.95;
      letter-spacing: -2.6px;
      margin-bottom: 18px;
      max-width: 850px;
      position: relative;
      z-index: 1;
    }

.page-hero p {
      color: rgba(255, 255, 255, 0.76);
      font-size: 18px;
      max-width: 760px;
      position: relative;
      z-index: 1;
    }

.content-card {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: clamp(24px, 4vw, 44px);
      box-shadow: 0 18px 42px rgba(17, 17, 17, 0.055);
    }

.content-card h2 {
      font-size: clamp(28px, 4vw, 44px);
      line-height: 1;
      letter-spacing: -1.5px;
      margin-bottom: 18px;
    }

.content-card h3 {
      font-size: 25px;
      line-height: 1.1;
      letter-spacing: -0.7px;
      margin: 34px 0 12px;
    }

.content-card p {
      color: var(--muted);
      font-size: 17px;
      margin-bottom: 18px;
    }

.content-card strong {
      color: var(--text);
    }

@media (max-width: 620px) {
      .topbar-inner {
        height: auto;
        padding: 10px 0;
        align-items: flex-start;
        flex-direction: column;
      }

      .topbar-links a {
        padding-left: 0;
      }

      .header-inner {
        height: 74px;
      }

      .logo-mark {
        width: 42px;
        height: 42px;
        border-radius: 14px;
      }

      .page-hero {
        padding-top: 28px;
      }

      .topic-item {
        grid-template-columns: 1fr;
      }
    }



/* --- search.css --- */

.search-btn,
    .menu-btn {
      border: 1px solid rgba(0, 0, 0, 0.08);
      background: var(--paper);
      border-radius: 999px;
      width: 42px;
      height: 42px;
      cursor: pointer;
      font-size: 17px;
      display: grid;
      place-items: center;
      box-shadow: 0 10px 26px rgba(17, 17, 17, 0.055);
      transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

.search-btn:hover,
    .menu-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
      transform: translateY(-2px);
    }

.search-btn.active {
      border-color: var(--accent);
      color: var(--accent);
    }

.search-hero {
      padding: 46px 0 24px;
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
      gap: 28px;
      align-items: stretch;
    }

.hero-text {
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 32px;
      padding: 34px;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-width: 0;
    }

.hero-text p {
      margin: 18px 0 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.6;
      max-width: 650px;
    }

.hero-image {
      border-radius: 32px;
      overflow: hidden;
      background: #111111;
      min-height: 360px;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

.hero-image img {
      width: 100%;
      height: 100%;
      min-height: 360px;
      object-fit: cover;
      object-position: center center;
    }

.search-box-section {
      padding: 18px 0 36px;
    }

.search-panel {
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 28px;
      padding: 22px;
      box-shadow: var(--shadow);
    }

.search-form {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      align-items: center;
    }

.search-form input {
      width: 100%;
      min-height: 54px;
      border: 1px solid rgba(0, 0, 0, 0.12);
      border-radius: 18px;
      padding: 0 18px;
      font-size: 16px;
      outline: none;
      color: var(--text);
      background: #fafafa;
    }

.search-form input:focus {
      border-color: var(--accent);
      background: #ffffff;
    }

.search-form button {
      min-height: 54px;
      border: 0;
      border-radius: 18px;
      padding: 0 22px;
      background: #111111;
      color: #ffffff;
      font-size: 15px;
      font-weight: 900;
      cursor: pointer;
      transition: 0.2s ease;
      white-space: nowrap;
    }

.search-form button:hover {
      transform: translateY(-1px);
      background: var(--accent);
    }

.chips {
      margin-top: 16px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

.chip {
      border: 1px solid rgba(0, 0, 0, 0.10);
      background: #f6f6f4;
      color: #333333;
      border-radius: 999px;
      padding: 10px 14px;
      font-size: 13px;
      font-weight: 900;
      cursor: pointer;
      transition: 0.2s ease;
    }

.chip:hover,
    .chip.active {
      background: #111111;
      color: #ffffff;
      border-color: #111111;
    }

.results-section {
      padding: 0 0 64px;
    }

.results-head {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: end;
      margin-bottom: 18px;
    }

.results-head h2 {
      margin: 0;
      font-size: 30px;
      line-height: 1;
      letter-spacing: -1.2px;
    }

.results-info {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      font-weight: 800;
      text-align: right;
    }

.results-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
      align-items: stretch;
    }

.result-card {
      display: flex;
      flex-direction: column;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 24px;
      overflow: hidden;
      color: var(--text);
      box-shadow: 0 14px 36px rgba(0, 0, 0, 0.055);
      min-width: 0;
      transition: 0.2s ease;
    }

.result-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 22px 54px rgba(0, 0, 0, 0.10);
    }

.result-image {
      width: 100%;
      height: 205px;
      background: #f4f3ee;
      overflow: hidden;
      flex: 0 0 auto;
    }

.result-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      background: #f4f3ee;
    }

.result-body {
      padding: 18px;
      display: flex;
      flex-direction: column;
      flex: 1;
      min-width: 0;
    }

.result-category {
      color: var(--accent);
      font-size: 13px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.4px;
      margin-bottom: 10px;
    }

.result-body h2 {
      margin: 0 0 8px;
      font-size: 21px;
      line-height: 1.16;
      letter-spacing: -0.7px;
      color: #171717;
    }

.result-body p {
      margin: 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.55;
    }

.empty-message {
      display: none;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 24px;
      padding: 28px;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.6;
      box-shadow: var(--shadow);
    }

@media (max-width: 980px) {
      nav {
        display: none;
      }

      .header-inner {
        min-height: 74px;
        padding: 12px 0;
      }

      .search-hero {
        grid-template-columns: 1fr;
      }

      .hero-image {
        min-height: 280px;
      }

      .hero-image img {
        min-height: 280px;
      }

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

      .result-image {
        height: 220px;
      }
    }

@media (max-width: 640px) {
      .topbar-inner {
        height: auto;
        padding: 10px 0;
        align-items: flex-start;
        flex-direction: column;
      }

      .container,
      .footer-inner {
        width: min(100% - 24px, var(--container));
      }

      .hero-text {
        padding: 26px;
        border-radius: 26px;
      }

      h1 {
        letter-spacing: -2px;
      }

      .search-form {
        grid-template-columns: 1fr;
      }

      .search-form button {
        width: 100%;
      }

      .results-head {
        flex-direction: column;
        align-items: flex-start;
      }

      .results-info {
        text-align: left;
      }

      .results-grid {
        grid-template-columns: 1fr;
      }

      .result-image {
        height: 200px;
      }
    }



/* --- articles.css --- */

.intro-card {
      background: var(--soft);
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 24px;
      margin-bottom: 28px;
    }

.toc {
      display: grid;
      gap: 10px;
      margin-top: 16px;
    }

.toc a {
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 13px 15px;
      font-weight: 800;
      transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

.toc a:hover {
      color: var(--accent);
      border-color: rgba(255, 106, 0, 0.32);
      transform: translateY(-2px);
    }

.comparison-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin: 26px 0;
    }

.comparison-card {
      background: var(--soft);
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 20px;
    }

.comparison-card h3 {
      margin-top: 0;
      font-size: 22px;
    }

.comparison-card p {
      margin-bottom: 0;
      font-size: 15px;
    }

.table-wrap {
      overflow-x: auto;
      border: 1px solid var(--line);
      border-radius: 18px;
      margin: 26px 0;
      background: #ffffff;
    }

.faq {
      display: grid;
      gap: 14px;
      margin-top: 16px;
    }

.faq-item {
      background: var(--soft);
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 20px;
    }

.faq-item h3 {
      margin-top: 0;
    }

.faq-item p {
      margin-bottom: 0;
    }

.related-box {
      margin-top: 36px;
      background: var(--soft);
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 22px;
    }

.related-box h2 {
      margin-top: 0;
    }

.related-links {
      display: grid;
      gap: 12px;
      margin-top: 16px;
    }

.related-links a {
      display: block;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 14px 16px;
      font-weight: 800;
      transition: transform 0.2s ease, color 0.2s ease;
    }

.related-links a:hover {
      color: var(--accent);
      transform: translateY(-2px);
    }

.source-box {
      margin-top: 28px;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 18px;
      color: var(--muted);
      font-size: 14px;
    }

.source-box a {
      color: var(--accent);
      font-weight: 800;
      word-break: break-word;
    }

.widget {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 22px;
      box-shadow: 0 18px 42px rgba(17, 17, 17, 0.055);
    }

.widget h3 {
      font-size: 20px;
      margin-bottom: 16px;
      letter-spacing: -0.5px;
    }

.widget p {
      color: var(--muted);
      font-size: 15px;
    }

.newsletter {
      background:
        radial-gradient(circle at top right, rgba(255, 106, 0, 0.34), transparent 34%),
        linear-gradient(135deg, #111111 0%, #1f1f1f 100%);
      color: #ffffff;
      border: 0;
      overflow: hidden;
    }

.newsletter h3 {
      color: #ffffff;
    }

.newsletter p {
      color: rgba(255, 255, 255, 0.72);
      margin-bottom: 16px;
    }

.newsletter form {
      display: grid;
      gap: 10px;
    }

.newsletter input {
      width: 100%;
      height: 46px;
      border: 0;
      border-radius: 999px;
      padding: 0 16px;
      font-size: 14px;
    }

.newsletter button {
      height: 46px;
      border: 0;
      border-radius: 999px;
      background: var(--accent);
      color: #ffffff;
      font-weight: 900;
      cursor: pointer;
      padding: 0 18px;
    }

.article-links {
      display: grid;
      gap: 12px;
    }

.article-link {
      display: block;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--line);
      font-weight: 800;
      line-height: 1.25;
    }

.article-link:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }

.article-link:hover {
      color: var(--accent);
    }

.ad-box {
      min-height: 250px;
      border: 1px dashed #bbb;
      background: var(--soft);
      color: var(--muted);
      display: grid;
      place-items: center;
      text-align: center;
      border-radius: var(--radius);
      font-size: 14px;
      padding: 20px;
    }

@media (max-width: 1100px) {
      .comparison-grid {
        grid-template-columns: 1fr;
      }
    }

main,
section,
article,
aside,
header,
footer,
.container,
.wrapper,
.content,
.article,
.article-container,
.article-content,
.post,
.post-content,
.page-content,
.text-content,
.content-layout,
.article-hero,
.article-hero-box,
.article-hero-content,
.article-hero-image,
.card,
.article-card,
.post-card,
.content-card,
.info-card,
.callout,
.alert,
.box,
.highlight,
.highlight-box,
.ebook-card,
.related-card,
.latest-card,
.related-grid,
.latest-grid,
.posts-grid,
.cards-grid,
.ebooks-grid,
.comparison-grid,
.footer-grid,
.section-title {
  max-width: 100%;
  min-width: 0;
}

pre,
.table-wrap {
  overflow-x: auto;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    margin: 0;
    padding: 0;
  }

  main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  section,
  article,
  aside,
  .content-layout,
  .article-hero,
  .article-hero-box,
  .article-hero-content,
  .article-hero-image {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .content-layout {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  .article-hero-box {
    display: grid;
    grid-template-columns: 1fr !important;
    border-radius: 20px;
  }

  .article-hero-content {
    padding: 24px !important;
  }

  .article-hero-image {
    min-height: auto !important;
  }

  .article-hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: auto !important;
    object-fit: contain;
    padding: 12px;
  }

  article {
    width: 100%;
    max-width: 100%;
    padding: 22px !important;
    overflow-x: hidden;
  }

  article h1,
  .article-hero h1,
  h1 {
    font-size: clamp(1.9rem, 8vw, 2.45rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -1px !important;
    max-width: 100%;
  }

  article h2,
  h2 {
    font-size: clamp(1.45rem, 6vw, 2rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.8px !important;
    max-width: 100%;
  }

  article h3,
  h3 {
    font-size: clamp(1.18rem, 5vw, 1.45rem) !important;
    line-height: 1.25 !important;
    max-width: 100%;
  }

  article p,
  article li,
  p,
  li {
    font-size: 16px !important;
    line-height: 1.72 !important;
    max-width: 100%;
  }

  article ul,
  article ol {
    padding-left: 20px;
    margin-left: 0;
    max-width: 100%;
  }

  .intro-card,
  .highlight-box,
  .callout,
  .alert,
  .box,
  .info-card,
  .card,
  .post-card,
  .article-card,
  .content-card,
  .ebook-card,
  .related-card,
  .latest-card {
    width: 100%;
    max-width: 100%;
    padding: 18px;
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
  }

  .comparison-grid,
  .related-grid,
  .latest-grid,
  .posts-grid,
  .cards-grid,
  .ebooks-grid,
  .footer-grid {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px;
    overflow-x: hidden;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .topbar,
  .topbar-inner,
  header,
  .header-inner,
  footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .header-inner {
    height: auto !important;
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  nav {
    max-width: 100%;
  }

  figure {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  blockquote {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 18px;
  }

  .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    width: 100%;
    max-width: 100%;
  }

  pre {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
  }

  code {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  input,
  textarea,
  select,
  button,
  .btn,
  .button,
  .cta,
  .cta-button {
    max-width: 100%;
  }

  .mercado-agora-barra,
  .mercado-tradingview-barra,
  .mercado-tv-barra {
    overflow-x: auto;
    overflow-y: visible;
  }

  .mercado-inner,
  .mercado-tradingview-inner {
    width: max-content;
    min-width: 100%;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
  }

  article {
    padding: 20px !important;
  }

  .article-hero-content {
    padding: 22px !important;
  }

  .intro-card,
  .highlight-box,
  .callout,
  .alert,
  .box,
  .info-card,
  .card,
  .post-card,
  .article-card,
  .content-card,
  .ebook-card,
  .related-card,
  .latest-card {
    padding: 16px;
  }

  article h1,
  .article-hero h1,
  h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem) !important;
  }

  article h2,
  h2 {
    font-size: clamp(1.32rem, 6vw, 1.75rem) !important;
  }

  article h3,
  h3 {
    font-size: clamp(1.12rem, 5vw, 1.35rem) !important;
  }

  article p,
  article li,
  p,
  li {
    font-size: 16px !important;
    line-height: 1.68 !important;
  }
}



/* --- ebook.css --- */

.ebook-landing .breadcrumb {
.ebook-landing color: rgba(255, .ebook-landing 255, .ebook-landing 255, .ebook-landing 0.72);
      font-size: 14px;
      margin-bottom: 20px;
      font-weight: 700;
    }

.breadcrumb a {
.ebook-landing color: rgba(255, .ebook-landing 255, .ebook-landing 255, .ebook-landing 0.72);
    }

.breadcrumb a:hover {
.ebook-landing color: var(--accent);
    }

.hero-actions {
.ebook-landing display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

.btn-primary {
.ebook-landing background: var(--accent);
      color: #ffffff;
      box-shadow: 0 14px 30px rgba(255, .ebook-landing 106, .ebook-landing 0, .ebook-landing 0.28);
    }

.btn-secondary {
.ebook-landing background: rgba(255, .ebook-landing 255, .ebook-landing 255, .ebook-landing 0.1);
      color: #ffffff;
      border: 1px solid rgba(255, .ebook-landing 255, .ebook-landing 255, .ebook-landing 0.18);
    }

.section {
.ebook-landing padding: 30px 0;
    }

.section-head {
.ebook-landing display: grid;
      grid-template-columns: 1fr 0.95fr;
      gap: 24px;
      align-items: start;
      border-top: 2px solid var(--dark);
      padding-top: 18px;
      margin-bottom: 24px;
    }

.section-head h2 {
.ebook-landing font-size: clamp(34px, .ebook-landing 5vw, .ebook-landing 60px);
      line-height: 0.98;
      letter-spacing: -2px;
    }

.section-head p {
.ebook-landing color: var(--muted);
      font-size: 17px;
      max-width: 660px;
    }

.learn-grid {
.ebook-landing display: grid;
      grid-template-columns: 1fr 0.42fr;
      gap: 28px;
      align-items: start;
    }

.main-card, .ebook-landing .mini-card {
.ebook-landing background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 22px;
      box-shadow: 0 18px 42px rgba(17, .ebook-landing 17, .ebook-landing 17, .ebook-landing 0.055);
    }

.main-card {
.ebook-landing padding: clamp(26px, .ebook-landing 4vw, .ebook-landing 42px);
    }

.main-card h3 {
.ebook-landing font-size: clamp(28px, .ebook-landing 4vw, .ebook-landing 38px);
      line-height: 1.05;
      letter-spacing: -1.2px;
      margin-bottom: 14px;
    }

.main-card p {
.ebook-landing color: var(--muted);
      font-size: 17px;
      margin-bottom: 18px;
      max-width: 820px;
    }

.check-list {
.ebook-landing display: grid;
      gap: 14px;
      margin-top: 22px;
    }

.check-list span {
.ebook-landing display: flex;
      gap: 10px;
      align-items: flex-start;
      color: #252525;
      font-size: 16px;
    }

.check-list span::before {
.ebook-landing content: "✓";
      color: var(--accent);
      font-weight: 900;
      flex: 0 0 auto;
    }

.price-card {
.ebook-landing background:
        radial-gradient(circle at top right, .ebook-landing rgba(255, .ebook-landing 106, .ebook-landing 0, .ebook-landing 0.22), .ebook-landing transparent 42%), .ebook-landing linear-gradient(135deg, .ebook-landing #111111 0%, .ebook-landing #1c1c1c 100%);
      color: #ffffff;
      border-radius: 22px;
      padding: 28px;
      box-shadow: 0 24px 60px rgba(17, .ebook-landing 17, .ebook-landing 17, .ebook-landing 0.16);
      position: sticky;
      top: 110px;
    }

.price-card h3 {
.ebook-landing font-size: 28px;
      line-height: 1.05;
      letter-spacing: -1px;
      margin-bottom: 12px;
    }

.price-card p {
.ebook-landing color: rgba(255, .ebook-landing 255, .ebook-landing 255, .ebook-landing 0.74);
      font-size: 15px;
      margin-bottom: 20px;
    }

.price {
.ebook-landing font-size: 40px;
      line-height: 1;
      font-weight: 900;
      letter-spacing: -1.4px;
      margin-bottom: 18px;
    }

.price-card .btn {
.ebook-landing margin-bottom: 16px;
    }

.note {
.ebook-landing color: rgba(255, .ebook-landing 255, .ebook-landing 255, .ebook-landing 0.66);
      font-size: 13px;
    }

.two-grid {
.ebook-landing display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

.mini-card {
.ebook-landing padding: 26px;
    }

.mini-card h3 {
.ebook-landing font-size: 26px;
      letter-spacing: -0.8px;
      margin-bottom: 10px;
    }

.mini-card p {
.ebook-landing color: var(--muted);
      font-size: 16px;
    }

.modules-grid {
.ebook-landing display: grid;
      grid-template-columns: repeat(3, .ebook-landing 1fr);
      gap: 18px;
    }

.module-card {
.ebook-landing background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 22px;
      padding: 24px;
      box-shadow: 0 18px 42px rgba(17, .ebook-landing 17, .ebook-landing 17, .ebook-landing 0.045);
    }

.module-number {
.ebook-landing width: 38px;
      height: 38px;
      border-radius: 14px;
      background: var(--accent);
      color: #ffffff;
      display: grid;
      place-items: center;
      font-weight: 900;
      margin-bottom: 14px;
    }

.module-card h3 {
.ebook-landing font-size: 22px;
      line-height: 1.08;
      letter-spacing: -0.7px;
      margin-bottom: 8px;
    }

.module-card p {
.ebook-landing color: var(--muted);
      font-size: 15px;
    }

.dark-box {
.ebook-landing background:
        radial-gradient(circle at top right, .ebook-landing rgba(255, .ebook-landing 106, .ebook-landing 0, .ebook-landing 0.30), .ebook-landing transparent 34%), .ebook-landing linear-gradient(135deg, .ebook-landing #111111 0%, .ebook-landing #1f1f1f 100%);
      color: #ffffff;
      border-radius: 26px;
      padding: clamp(28px, .ebook-landing 5vw, .ebook-landing 52px);
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 28px;
      align-items: center;
      box-shadow: 0 28px 70px rgba(17, .ebook-landing 17, .ebook-landing 17, .ebook-landing 0.16);
    }

.dark-box h2 {
.ebook-landing font-size: clamp(32px, .ebook-landing 5vw, .ebook-landing 58px);
      line-height: 0.98;
      letter-spacing: -2px;
      margin-bottom: 14px;
    }

.dark-box p {
.ebook-landing color: rgba(255, .ebook-landing 255, .ebook-landing 255, .ebook-landing 0.74);
      font-size: 17px;
    }

.dark-list {
.ebook-landing display: grid;
      gap: 10px;
    }

.dark-list span {
.ebook-landing background: rgba(255, .ebook-landing 255, .ebook-landing 255, .ebook-landing 0.08);
      border: 1px solid rgba(255, .ebook-landing 255, .ebook-landing 255, .ebook-landing 0.12);
      border-radius: 16px;
      padding: 12px 14px;
      color: rgba(255, .ebook-landing 255, .ebook-landing 255, .ebook-landing 0.82);
      font-size: 14px;
      font-weight: 800;
    }

details {
.ebook-landing background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 18px 20px;
      box-shadow: 0 14px 34px rgba(17, .ebook-landing 17, .ebook-landing 17, .ebook-landing 0.045);
    }

summary {
.ebook-landing cursor: pointer;
      font-weight: 900;
      font-size: 17px;
      letter-spacing: -0.3px;
    }

details p {
.ebook-landing margin-top: 12px;
      color: var(--muted);
      font-size: 15px;
    }

@media (max-width: 980px) {
.ebook-landing nav {
.ebook-landing display: none;
      }

      .hero-box, .ebook-landing .section-head, .ebook-landing .learn-grid, .ebook-landing .two-grid, .ebook-landing .dark-box, .ebook-landing .footer-grid {
.ebook-landing grid-template-columns: 1fr;
      }

      .modules-grid {
.ebook-landing grid-template-columns: repeat(2, .ebook-landing 1fr);
      }

      .price-card {
.ebook-landing position: static;
      }

      .cover-frame {
.ebook-landing transform: none;
      }
    }

@media (max-width: 620px) {
.ebook-landing .topbar-inner {
.ebook-landing height: auto;
        padding: 10px 0;
        align-items: flex-start;
        flex-direction: column;
      }

      .topbar-links a {
.ebook-landing padding-left: 0;
      }

      .header-inner {
.ebook-landing height: 74px;
      }

      .logo-mark {
.ebook-landing width: 42px;
        height: 42px;
        border-radius: 14px;
      }

      .hero {
.ebook-landing padding-top: 28px;
      }

      .hero h1 {
.ebook-landing letter-spacing: -2px;
      }

      .modules-grid {
        grid-template-columns: 1fr;
      }
    }



/* --- mobile (corrigir-mobile.js) --- */

/* =========================================================
   CORREÇÃO MOBILE GLOBAL - NEXO ATUAL
   Corrige artigos cortados no celular
   Não interfere no Mercado Agora nem no TradingView
========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

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

img,
picture,
video,
svg,
canvas {
  max-width: 100%;
  height: auto;
}

img,
picture {
  display: block;
}

a,
p,
li,
span,
strong,
em,
small,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

main,
section,
article,
aside,
header,
footer,
.container,
.wrapper,
.content,
.article,
.article-container,
.article-content,
.post,
.post-content,
.page-content,
.text-content,
.content-layout,
.article-hero,
.article-hero-box,
.article-hero-content,
.article-hero-image,
.card,
.article-card,
.post-card,
.content-card,
.info-card,
.callout,
.alert,
.box,
.highlight,
.highlight-box,
.ebook-card,
.related-card,
.latest-card,
.related-grid,
.latest-grid,
.posts-grid,
.cards-grid,
.ebooks-grid,
.comparison-grid,
.footer-grid,
.section-title {
  max-width: 100%;
  min-width: 0;
}

pre,
code,
table {
  max-width: 100%;
}

pre,
.table-wrap {
  overflow-x: auto;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
}

/* =========================================================
   PROTEÇÃO DO MERCADO AGORA
   Não deixa a correção mobile quebrar a barra
========================================================= */

.mercado-agora-barra,
.mercado-tradingview-barra,
.mercado-tv-barra {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.mercado-inner,
.mercado-tradingview-inner,
.mercado-tradingview-widget,
.mercado-tv-widget {
  max-width: none;
  min-width: 0;
}

/* =========================================================
   AJUSTE ESPECÍFICO PARA CELULAR
========================================================= */

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    margin: 0;
    padding: 0;
  }

  main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  section:not(.mercado-tradingview-barra):not(.mercado-agora-barra):not(.mercado-tv-barra),
  article,
  aside,
  .content-layout,
  .article-hero,
  .article-hero-box,
  .article-hero-content,
  .article-hero-image {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .content-layout {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  .article-hero-box {
    display: grid;
    grid-template-columns: 1fr !important;
    border-radius: 20px;
  }

  .article-hero-content {
    padding: 24px !important;
  }

  .article-hero-image {
    min-height: auto !important;
  }

  .article-hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: auto !important;
    object-fit: contain;
    padding: 12px;
  }

  article {
    width: 100%;
    max-width: 100%;
    padding: 22px !important;
    overflow-x: hidden;
  }

  article h1,
  .article-hero h1,
  h1 {
    font-size: clamp(1.9rem, 8vw, 2.45rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -1px !important;
    max-width: 100%;
  }

  article h2,
  h2 {
    font-size: clamp(1.45rem, 6vw, 2rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.8px !important;
    max-width: 100%;
  }

  article h3,
  h3 {
    font-size: clamp(1.18rem, 5vw, 1.45rem) !important;
    line-height: 1.25 !important;
    max-width: 100%;
  }

  article p,
  article li,
  p,
  li {
    font-size: 16px !important;
    line-height: 1.72 !important;
    max-width: 100%;
  }

  article ul,
  article ol {
    padding-left: 20px;
    margin-left: 0;
    max-width: 100%;
  }

  .intro-card,
  .highlight-box,
  .callout,
  .alert,
  .box,
  .info-card,
  .card,
  .post-card,
  .article-card,
  .content-card,
  .related-card,
  .latest-card {
    width: 100%;
    max-width: 100%;
    padding: 18px;
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
  }

  .comparison-grid,
  .related-grid,
  .latest-grid,
  .posts-grid,
  .cards-grid,
  .ebooks-grid,
  .footer-grid {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px;
    overflow-x: hidden;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .topbar,
  .topbar-inner,
  header,
  .header-inner,
  footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .header-inner {
    height: auto !important;
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  nav {
    max-width: 100%;
  }

  figure {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  blockquote {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 18px;
  }

  .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    width: 100%;
    max-width: 100%;
  }

  pre {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
  }

  code {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  input,
  textarea,
  select,
  button,
  .btn,
  .button,
  .cta,
  .cta-button {
    max-width: 100%;
  }

  .mercado-inner {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

/* =========================================================
   AJUSTE EXTRA PARA TELAS PEQUENAS
========================================================= */

@media (max-width: 480px) {
  .container {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
  }

  article {
    padding: 20px !important;
  }

  .article-hero-content {
    padding: 22px !important;
  }

  .intro-card,
  .highlight-box,
  .callout,
  .alert,
  .box,
  .info-card,
  .card,
  .post-card,
  .article-card,
  .content-card,
  .related-card,
  .latest-card {
    padding: 16px;
  }

  article h1,
  .article-hero h1,
  h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem) !important;
  }

  article h2,
  h2 {
    font-size: clamp(1.32rem, 6vw, 1.75rem) !important;
  }

  article h3,
  h3 {
    font-size: clamp(1.12rem, 5vw, 1.35rem) !important;
  }

  article p,
  article li,
  p,
  li {
    font-size: 16px !important;
    line-height: 1.68 !important;
  }
}
