/* =====================================================================
   TechCripto Media — techcripto.com component styles
   ===================================================================== */

/* Layout */
.tc-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Header ───────────────────────────────────────────────────────── */
.tc-header {
  position: sticky;
  top: 0;
  background: var(--tc-ink);
  border-bottom: 1px solid #000;
  z-index: 50;
}
.tc-header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.tc-logo-wrap { display: flex; align-items: center; gap: 10px; }
.tc-logo { display: flex; align-items: center; }
.tc-logo img,
.tc-logo .custom-logo { height: 50px; width: auto; display: block; }
.tc-logo .custom-logo-link { display: flex; align-items: center; }
.tc-logo-name {
  font-family: var(--tc-font-display);
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.tc-nav { display: flex; gap: 4px; flex: 1; min-width: 0; }
.tc-nav a {
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  color: #C9CFD6;
  transition: background var(--tc-dur-fast) var(--tc-ease-out), color var(--tc-dur-fast) var(--tc-ease-out);
}
.tc-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.tc-nav a.current-menu-item,
.tc-nav a[aria-current="page"] { color: #fff; }
.tc-nav a.current-menu-item::after,
.tc-nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--tc-green);
  margin: 4px -14px -10px;
}

.tc-nav-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.tc-icon-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #C9CFD6;
  transition: border-color var(--tc-dur-fast) var(--tc-ease-out), color var(--tc-dur-fast) var(--tc-ease-out);
}
.tc-icon-btn:hover { border-color: var(--tc-green); color: var(--tc-green); }
.tc-icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ── Header nav (WP navigation block) ────────────────────────────── */
.tc-header .wp-block-navigation__container { display: flex; gap: 4px; flex: 1; list-style: none; margin: 0; padding: 0; }
.tc-header .wp-block-navigation-item__content { font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 8px; color: #C9CFD6; text-decoration: none; transition: background 0.15s, color 0.15s; display: block; }
.tc-header .wp-block-navigation-item__content:hover,
.tc-header .current-menu-item .wp-block-navigation-item__content { color: #fff; background: rgba(255,255,255,.06); }

/* ── Desktop: nav inline + submenus visible ───────────────────────── */
@media (min-width: 641px) {
  .tc-header .wp-block-navigation__responsive-container-open { display: none !important; }
  .tc-header .wp-block-navigation__responsive-container-close { display: none !important; }
  .tc-header .wp-block-navigation {
    display: flex !important;
    visibility: visible !important;
    flex: 1;
    min-width: 0;
  }
  .tc-header .wp-block-navigation__responsive-container {
    display: flex !important;
    visibility: visible !important;
    position: static !important;
    background: transparent !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    z-index: auto !important;
    overflow: visible !important;
  }
  .tc-header .wp-block-navigation__container {
    display: flex !important;
    flex-direction: row !important;
    padding: 0 !important;
    gap: 4px;
    flex: 0 1 auto !important;
  }
  .tc-header .wp-block-navigation-item {
    display: block !important;
    visibility: visible !important;
    border-bottom: none !important;
  }
  .tc-header .wp-block-navigation-item.has-child {
    display: flex !important;
    align-items: center;
    position: relative;
  }
  .tc-header .wp-block-navigation-item.has-child > .wp-block-navigation-item__content {
    display: inline-flex !important;
    flex: 0 0 auto;
  }
  .tc-header .wp-block-navigation__submenu-container {
    z-index: 100 !important;
    overflow: visible !important;
  }
}

/* ── Header search (WP interactive search block) ──────────────────── */
.tc-header .wp-block-search__button {
  background: var(--tc-green) !important;
  color: var(--tc-ink) !important;
  border: 0 !important;
  border-radius: 8px !important;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0 !important;
  flex-shrink: 0;
}
.tc-header .wp-block-search__button svg path { fill: var(--tc-ink); }
.tc-header .wp-block-search__input {
  background: #1a2128 !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  padding: 8px 12px !important;
}
.tc-header .wp-block-search__input:focus { border-color: var(--tc-green) !important; outline: 0 !important; }

/* ── Mobile menu toggle (custom, if present in template) ──────────── */
.tc-menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.tc-menu-toggle span { display: block; width: 16px; height: 2px; background: #C9CFD6; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.tc-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.tc-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tc-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Custom mobile nav panel */
#tc-mobile-nav {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #11181F;
  border-top: 1px solid var(--tc-dark-border);
  border-bottom: 2px solid var(--tc-green);
  padding: 8px 0 16px;
  z-index: 49;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
#tc-mobile-nav.is-open { display: block; }
.tc-mobile-menu { list-style: none; margin: 0; padding: 0; }
.tc-mobile-menu li { border-bottom: 1px solid var(--tc-dark-border); }
.tc-mobile-menu li:last-child { border-bottom: 0; }
.tc-mobile-menu a,
#tc-mobile-nav > a { display: block; padding: 15px 24px; font-size: 15px; font-weight: 600; color: #C9CFD6; text-decoration: none; }
#tc-mobile-nav > a:last-child { border-bottom: 0; }
.tc-mobile-menu a:hover,
.tc-mobile-menu a.active,
.tc-mobile-menu a[aria-current="page"],
#tc-mobile-nav > a:hover,
#tc-mobile-nav > a.active { color: #fff; background: rgba(255,255,255,.05); }

/* ── Badge ────────────────────────────────────────────────────────── */
.tc-badge { display: inline-block; font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: var(--tc-track-eyebrow); background: var(--tc-green); color: var(--tc-ink); padding: 5px 10px; border-radius: var(--tc-radius-xs); }
.tc-badge--sponsored { background: var(--tc-ink); color: #fff; }
.tc-badge--purple    { background: var(--tc-purple); color: #fff; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.tc-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding: 32px 0; }
.tc-hero-main { border-radius: 20px; overflow: hidden; cursor: pointer; position: relative; background: linear-gradient(135deg, #0a3b2a, #11181F); aspect-ratio: 16 / 10; display: flex; align-items: flex-end; text-decoration: none; }
.tc-hero-main::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.7) 100%); z-index: 1; }
.tc-hero-main:has(img) img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.tc-hero-main:hover .tc-hero-title { text-decoration: underline; text-underline-offset: 4px; }
.tc-hero-content { position: relative; z-index: 2; padding: 32px; color: #fff; max-width: 560px; }
.tc-hero-title { font-weight: 800; font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; margin: 14px 0 0; color: #fff; }
.tc-hero-meta { margin-top: 14px; font-size: 12.5px; color: #C9CFD6; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }

/* Most-read rail */
.tc-most-read { display: flex; flex-direction: column; gap: 12px; }
.tc-most-read-heading { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: var(--tc-track-eyebrow); color: var(--tc-ink); margin: 0 0 8px; }
.tc-most-read-item { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--tc-border); align-items: center; cursor: pointer; text-decoration: none; transition: opacity var(--tc-dur-fast) var(--tc-ease-out); }
.tc-most-read-item:first-of-type { border-top: 0; padding-top: 0; }
.tc-most-read-item:hover .tc-mr-title { text-decoration: underline; text-underline-offset: 3px; }
.tc-mr-thumb { width: 88px; height: 66px; border-radius: 12px; overflow: hidden; position: relative; flex-shrink: 0; background: linear-gradient(135deg, #11181F, #297F63); }
.tc-mr-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.tc-mr-title { font-weight: 700; font-size: 14.5px; line-height: 1.3; letter-spacing: -0.005em; color: var(--tc-ink); margin: 0; }

/* ── Breadcrumbs ──────────────────────────────────────────────────── */
.tc-breadcrumbs { padding: 16px 0 0; }
.tc-breadcrumbs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.tc-breadcrumbs-item { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--tc-ink-500); }
.tc-breadcrumbs-link { color: var(--tc-ink-500); transition: color var(--tc-dur-fast) var(--tc-ease-out); }
.tc-breadcrumbs-link:hover { color: var(--tc-ink); text-decoration: underline; text-underline-offset: 3px; }
.tc-breadcrumbs-current { color: var(--tc-ink); font-weight: 500; }
.tc-breadcrumbs-sep { color: var(--tc-ink-300); user-select: none; }
.tc-breadcrumbs-item a { color: var(--tc-green); }
.tc-breadcrumbs-item a:hover { color: var(--tc-green); text-decoration: underline; text-underline-offset: 3px; }

/* ── Article card ─────────────────────────────────────────────────── */
.tc-card { background: #fff; border: 1px solid var(--tc-border); border-radius: var(--tc-radius-lg); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: border-color var(--tc-dur-base) var(--tc-ease-out); text-decoration: none; }
.tc-card:hover { border-color: var(--tc-border-strong); }
.tc-card:hover .tc-card-title { text-decoration: underline; text-underline-offset: 3px; }
.tc-card-image { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: linear-gradient(135deg, #11181F 0%, #2A323B 100%); }
.tc-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; }
.tc-card-image .tc-badge { position: absolute; top: 14px; left: 14px; }
.tc-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tc-card-title { font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; margin: 0; color: var(--tc-ink); }
.tc-card-excerpt { font-size: 13.5px; color: var(--tc-ink-500); line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-card-meta { font-weight: 500; font-size: 11.5px; color: var(--tc-ink-500); text-transform: uppercase; letter-spacing: 0.04em; display: flex; gap: 8px; align-items: center; margin-top: auto; }

/* ── Press / sponsored card ───────────────────────────────────────── */
.tc-press-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 0; }
.tc-press-card { background: #fff; border: 1px solid var(--tc-border); border-radius: var(--tc-radius-lg); overflow: hidden; cursor: pointer; display: grid; grid-template-columns: 160px 1fr; text-decoration: none; transition: border-color var(--tc-dur-base) var(--tc-ease-out); }
.tc-press-card:hover { border-color: var(--tc-border-strong); }
.tc-press-img { aspect-ratio: 1; position: relative; overflow: hidden; background: linear-gradient(135deg, #11181F, #2A323B); }
.tc-press-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.tc-press-img .tc-badge { position: absolute; top: 12px; left: 12px; }
.tc-press-body { padding: 18px 22px; }
.tc-press-source { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--tc-ink-500); }
.tc-press-body h3 { font-weight: 700; font-size: 15.5px; line-height: 1.3; margin: 8px 0 0; color: var(--tc-ink); }

/* ── Sponsored ────────────────────────────────────────────────────── */
.tc-sponsored-wrap { padding: 24px 0; max-width: 640px; }
.tc-sponsored-wrap .tc-press-card { grid-template-columns: 200px 1fr; }
.tc-section--sponsored .tc-section-eyebrow { color: var(--tc-ink-500); }
.tc-sponsored-label { position: absolute; top: 12px; left: 12px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; background: var(--tc-ink); color: #fff; padding: 4px 9px; border-radius: 4px; }

/* ── Section scaffolding ──────────────────────────────────────────── */
.tc-section { padding: 24px 0; }
.tc-section-eyebrow { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: var(--tc-track-eyebrow); color: var(--tc-ink); margin: 0; }
.tc-section-rule { height: 1px; background: var(--tc-ink); margin: 12px 0 24px; }
.tc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── Newsletter ───────────────────────────────────────────────────── */
.tc-newsletter { background: var(--tc-ink); color: #fff; border-radius: 20px; padding: 36px 40px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; margin: 56px 0; content-visibility: auto; contain-intrinsic-size: 0 180px; }
.tc-newsletter h3 { font-weight: 800; font-size: 24px; letter-spacing: -0.01em; margin: 0 0 4px; }
.tc-newsletter p { color: #C9CFD6; margin: 0; font-size: 14px; }
.tc-newsletter-form { display: flex; gap: 8px; }
.tc-newsletter-form input { font-family: var(--tc-font-body); font-size: 14px; padding: 12px 14px; border: 0; border-radius: 8px; outline: 0; width: 240px; background: #fff; color: var(--tc-ink); }
.tc-newsletter-form button { font-weight: 700; font-size: 14px; background: var(--tc-green); color: var(--tc-ink); border: 0; border-radius: 8px; padding: 12px 20px; cursor: pointer; transition: background var(--tc-dur-fast) var(--tc-ease-out); }
.tc-newsletter-form button:hover  { background: var(--tc-green-600); }
.tc-newsletter-form button:active { background: var(--tc-green-700); }
.tc-newsletter-copy { min-width: 0; }
.tc-newsletter .wp-block-jetpack-subscriptions { margin: 0; }

/* ── Single post layout ───────────────────────────────────────────── */
.tc-single-wrap { padding: 0; }
.tc-single-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding: 32px 0 64px; }
.tc-single-main { min-width: 0; }
.tc-article-eyebrow { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: var(--tc-track-eyebrow); color: var(--tc-green-900); margin: 40px 0 14px; }
.tc-article-eyebrow a { color: inherit; }
.tc-article-eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tc-article-title { font-weight: 800; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px; }
.tc-article-subtitle { font-size: 18px; line-height: 1.55; color: var(--tc-ink-500); margin: 0 0 20px; font-weight: 400; }
.tc-article-meta-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--tc-border); border-bottom: 1px solid var(--tc-border); margin-bottom: 28px; }
.tc-article-byline { font-size: 13.5px; color: var(--tc-ink-500); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.tc-byline-author { font-weight: 700; color: var(--tc-ink); }
.tc-byline-author:hover { text-decoration: underline; text-underline-offset: 3px; }
.tc-byline-updated { color: var(--tc-green-900); font-style: italic; }
.tc-share, .tc-share-bar { display: flex; gap: 6px; align-items: center; }
.tc-share-btn { width: 34px; height: 34px; border-radius: var(--tc-radius-pill); border: 1px solid var(--tc-border); display: flex; align-items: center; justify-content: center; color: var(--tc-ink-500); transition: border-color var(--tc-dur-fast) var(--tc-ease-out), color var(--tc-dur-fast) var(--tc-ease-out), background var(--tc-dur-fast) var(--tc-ease-out); }
.tc-share-btn:hover { border-color: var(--tc-border-strong); color: var(--tc-ink); }
.tc-share-btn--wa { color: #25D366; }
.tc-share-btn--wa:hover { background: #25D36618; border-color: #25D366; }
.tc-article-hero { aspect-ratio: 16 / 9; border-radius: 12px; margin-bottom: 28px; overflow: hidden; background: linear-gradient(135deg, #11181F, #297F63); }
.tc-article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; }
.tc-article-body { font-size: 16.5px; line-height: 1.7; color: var(--tc-ink-700); }
.tc-article-body p { margin: 0 0 20px; }
.tc-article-body h2 { font-weight: 800; font-size: 24px; margin: 36px 0 12px; color: var(--tc-ink); }
.tc-article-body h3 { font-weight: 700; font-size: 20px; margin: 28px 0 10px; color: var(--tc-ink); }
.tc-article-body a { color: var(--tc-green-900); text-decoration: underline; text-underline-offset: 4px; }
.tc-article-body blockquote { border-left: 3px solid var(--tc-green); margin: 28px 0; padding: 4px 0 4px 24px; font-style: italic; color: var(--tc-ink-700); }
.tc-article-body figure { margin: 28px 0; }
.tc-article-body img { border-radius: 12px; }
.tc-article-body figcaption { font-size: 12px; color: var(--tc-ink-300); margin-top: 8px; text-align: center; }
.tc-article-tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.tc-article-tags .tc-badge { text-decoration: none; }
.tc-article-byline p,
.tc-article-byline .wp-block-post-author-name,
.tc-article-byline .wp-block-post-date { display: inline-flex; align-items: center; margin: 0; padding: 0; line-height: 1; font-size: 13.5px; color: var(--tc-ink-500); }
.tc-article-byline .wp-block-post-date time { display: inline; }
.tc-article-byline .tc-byline-author a { color: var(--tc-ink); font-weight: 700; text-decoration: none; }
.tc-article-tags a { text-decoration: none; }
.tc-article-meta-bar .wp-block-jetpack-sharing-buttons { margin: 0; padding: 0; }

/* ── Sidebar ──────────────────────────────────────────────────────── */
.tc-single-sidebar { min-width: 0; }
.tc-sidebar-sticky { position: sticky; top: 88px; transform: translateZ(0); }
.tc-sidebar-rule { height: 2px; background: var(--tc-ink); margin-bottom: 16px; }
.tc-sidebar-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--tc-border); text-decoration: none; transition: opacity var(--tc-dur-fast) var(--tc-ease-out); }
.tc-sidebar-item:first-of-type { padding-top: 0; }
.tc-sidebar-item:hover .tc-sidebar-title { text-decoration: underline; text-underline-offset: 3px; }
.tc-sidebar-thumb { width: 96px; height: 72px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, #11181F, #297F63); }
.tc-sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; }
.tc-sidebar-text { display: flex; flex-direction: column; gap: 4px; }
.tc-sidebar-title { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--tc-ink); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tc-sidebar-title a { font-weight: 700; font-size: 14.5px; line-height: 1.3; color: var(--tc-ink); margin: 0; text-decoration: none; }
.tc-sidebar-date { font-size: 11px; color: var(--tc-ink-300); margin-top: auto; }

/* ── Footer ───────────────────────────────────────────────────────── */
.tc-footer { background: var(--tc-ink); color: #fff; padding: 56px 0 24px; }
.tc-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--tc-dark-border); }
.tc-footer-brand p { color: #C9CFD6; font-size: 14px; line-height: 1.6; margin: 0 0 18px; max-width: 280px; }
.tc-footer-social { display: flex; gap: 14px; }
.tc-footer-social a { color: #8B95A1; transition: color var(--tc-dur-fast) var(--tc-ease-out); }
.tc-footer-social a:hover { color: var(--tc-green); }
.tc-footer-social svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tc-footer h4 { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: var(--tc-track-eyebrow); color: var(--tc-green); margin: 0 0 16px; }
.tc-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tc-footer-col a { color: #C9CFD6; font-size: 14px; transition: color var(--tc-dur-fast) var(--tc-ease-out); }
.tc-footer-col a:hover { color: var(--tc-green); }
.tc-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12px; color: var(--tc-ink-300); }

/* ── Author bio ───────────────────────────────────────────────────── */
.tc-author-bio { border-top: 1px solid var(--tc-border); border-bottom: 1px solid var(--tc-border); padding: 32px 0; margin: 40px 0; }
.tc-author-bio .wp-block-post-author { display: flex; gap: 20px; align-items: flex-start; }
.tc-author-bio .wp-block-post-author__avatar { flex-shrink: 0; }
.tc-author-bio .wp-block-post-author__avatar img { width: 72px !important; height: 72px !important; border-radius: var(--tc-radius-pill); display: block; }
.tc-author-bio .wp-block-post-author__byline { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tc-track-eyebrow); color: var(--tc-ink-300); margin-bottom: 4px; }
.tc-author-bio .wp-block-post-author__name { font-weight: 700; font-size: 15px; margin: 0 0 6px; }
.tc-author-bio .wp-block-post-author__name a { color: var(--tc-ink); text-decoration: none; }
.tc-author-bio .wp-block-post-author__name a:hover { color: var(--tc-green-900); text-decoration: underline; text-underline-offset: 3px; }
.tc-author-bio .wp-block-post-author__bio { font-size: 14px; line-height: 1.6; color: var(--tc-ink-500); margin: 0 0 10px; }
.tc-author-bio .wp-block-post-author__link { font-size: 13px; font-weight: 600; color: var(--tc-green-900); text-decoration: none; }
.tc-author-bio .wp-block-post-author__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Archive / search ─────────────────────────────────────────────── */
.tc-archive-header { padding: 48px 0 0; }
.tc-archive-header h1 { font-weight: 800; font-size: 36px; letter-spacing: -0.02em; margin: 0 0 8px; }
.tc-archive-header .tc-section-rule { margin-top: 24px; }
.tc-search-count { font-size: 14px; color: var(--tc-ink-500); margin: 6px 0 0; display: flex; align-items: center; gap: 12px; }
.tc-filter-clear { font-size: 12px; font-weight: 600; color: var(--tc-ink-500); border: 1px solid var(--tc-border); border-radius: var(--tc-radius-pill); padding: 3px 10px; text-decoration: none; transition: border-color var(--tc-dur-fast) var(--tc-ease-out), color var(--tc-dur-fast) var(--tc-ease-out); }
.tc-filter-clear:hover { border-color: var(--tc-border-strong); color: var(--tc-ink); }
.tc-search-filters { display: flex; flex-direction: column; gap: 10px; padding: 20px 0 24px; border-bottom: 1px solid var(--tc-border); margin-bottom: 36px; }
.tc-filter-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tc-filter-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tc-track-eyebrow); color: var(--tc-ink-300); white-space: nowrap; min-width: 72px; }
.tc-filter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-filter-pill { font-size: 13px; font-weight: 600; color: var(--tc-ink-500); background: transparent; border: 1px solid var(--tc-border); border-radius: var(--tc-radius-pill); padding: 5px 14px; text-decoration: none; transition: border-color var(--tc-dur-fast) var(--tc-ease-out), color var(--tc-dur-fast) var(--tc-ease-out), background var(--tc-dur-fast) var(--tc-ease-out); white-space: nowrap; }
.tc-filter-pill:hover { border-color: var(--tc-border-strong); color: var(--tc-ink); }
.tc-filter-pill.is-active { background: var(--tc-ink); color: #fff; border-color: var(--tc-ink); }
.tc-no-results { padding: 80px 0; text-align: center; }
.tc-no-results-title { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.tc-no-results-hint { color: var(--tc-ink-500); margin: 0 0 24px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.tc-no-results-hint a { color: var(--tc-green-900); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── 404 ──────────────────────────────────────────────────────────── */
.tc-404-wrap { max-width: 720px; padding: 72px 0 100px; }
.tc-404-heading { font-weight: 800; font-size: 32px; letter-spacing: -.02em; margin: 0 0 10px; }
.tc-404-sub { font-size: 16px; color: var(--tc-ink-500); margin: 0 0 28px; line-height: 1.6; }
.tc-404-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.tc-404-section h2 { font-weight: 700; font-size: 17px; margin: 0 0 14px; }
.tc-404-section ul { list-style: disc; padding-left: 20px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tc-404-section li { font-size: 15px; color: var(--tc-ink-700); line-height: 1.5; }
.tc-404-section a { color: var(--tc-green-900); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tc-404-section a:hover { color: var(--tc-ink); }

/* ── Page templates ───────────────────────────────────────────────── */
.tc-inner-hero { padding: 56px 0 48px; border-bottom: 1px solid var(--tc-border); margin-bottom: 48px; }
.tc-inner-hero .tc-article-eyebrow { margin-top: 0; }
.tc-inner-hero h1 { font-weight: 800; font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; margin: 12px 0 0; max-width: 720px; }
.tc-inner-hero p { font-size: 18px; color: var(--tc-ink-500); line-height: 1.55; margin: 16px 0 0; max-width: 680px; }
.tc-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.tc-team-card { border: 1px solid var(--tc-border); border-radius: var(--tc-radius-lg); overflow: hidden; transition: border-color var(--tc-dur-base) var(--tc-ease-out); }
.tc-team-card:hover { border-color: var(--tc-border-strong); }
.tc-team-photo { aspect-ratio: 1; background: linear-gradient(135deg, #11181F, #297F63); overflow: hidden; }
.tc-team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; }
.tc-team-body { padding: 20px; }
.tc-team-role { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tc-track-eyebrow); color: var(--tc-green-900); margin-bottom: 6px; }
.tc-team-name { font-weight: 800; font-size: 17px; margin: 0 0 8px; color: var(--tc-ink); }
.tc-team-bio  { font-size: 13.5px; color: var(--tc-ink-500); line-height: 1.55; margin: 0; }
.tc-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; padding-bottom: 80px; }
.tc-contact-info h2 { font-weight: 800; font-size: 32px; letter-spacing: -0.02em; margin: 0 0 16px; }
.tc-contact-info p  { font-size: 16px; color: var(--tc-ink-500); line-height: 1.65; margin: 0 0 24px; }
.tc-contact-detail { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--tc-ink); margin-bottom: 14px; }
.tc-contact-detail-icon { width: 36px; height: 36px; border-radius: var(--tc-radius-pill); background: var(--tc-green-050); border: 1px solid var(--tc-green-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--tc-green-900); }
.tc-contact-detail-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tc-contact-form-wrap label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--tc-green-900); margin-bottom: 5px; }
.tc-contact-form-wrap input,
.tc-contact-form-wrap textarea,
.tc-contact-form-wrap select { font-family: var(--tc-font-body); font-size: 14px; padding: 11px 14px; border: 1px solid var(--tc-border); border-radius: 8px; outline: 0; width: 100%; background: var(--tc-bg); color: var(--tc-ink); transition: border-color var(--tc-dur-fast) var(--tc-ease-out), box-shadow var(--tc-dur-fast) var(--tc-ease-out); }
.tc-contact-form-wrap input:focus,
.tc-contact-form-wrap textarea:focus,
.tc-contact-form-wrap select:focus { border-color: var(--tc-ink); box-shadow: var(--tc-shadow-glow); }
.tc-contact-form-wrap textarea { resize: vertical; min-height: 100px; }
.tc-contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tc-contact-form-wrap .tc-form-row { margin-bottom: 14px; }
.tc-form-feedback { padding: 16px 20px; border-radius: var(--tc-radius-md); font-size: 14.5px; line-height: 1.5; margin-bottom: 20px; }
.tc-form-feedback strong { display: block; margin-bottom: 4px; font-size: 15px; }
.tc-form-feedback--success { background: var(--tc-green-050); border: 1px solid var(--tc-green-100); color: var(--tc-green-900); }
.tc-form-feedback--error { background: #FFF1F2; border: 1px solid #FECDD3; color: #9F1239; }
.tc-btn-primary { display: inline-flex; align-items: center; gap: 8px; font-family: var(--tc-font-body); font-weight: 700; font-size: 14.5px; background: var(--tc-green); color: var(--tc-ink); border: 0; border-radius: 8px; padding: 13px 24px; cursor: pointer; text-decoration: none; transition: background var(--tc-dur-fast) var(--tc-ease-out); }
.tc-btn-primary:hover  { background: var(--tc-green-600); }
.tc-btn-primary:active { background: var(--tc-green-700); }
.tc-jobs-list { margin-top: 48px; display: flex; flex-direction: column; gap: 16px; }
.tc-job-card { border: 1px solid var(--tc-border); border-radius: var(--tc-radius-lg); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: border-color var(--tc-dur-base) var(--tc-ease-out), box-shadow var(--tc-dur-base) var(--tc-ease-out); }
.tc-job-card:hover { border-color: var(--tc-border-strong); box-shadow: var(--tc-shadow-sm); }
.tc-job-dept { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tc-track-eyebrow); color: var(--tc-green-900); margin-bottom: 6px; }
.tc-job-title { font-weight: 700; font-size: 17px; color: var(--tc-ink); margin: 0 0 4px; }
.tc-job-meta  { font-size: 13px; color: var(--tc-ink-500); }
.tc-job-cta   { flex-shrink: 0; }
.tc-document-wrap { max-width: 760px; margin: 48px auto 80px; padding: 0 24px; }
.tc-document-wrap h1 { font-weight: 800; font-size: 36px; letter-spacing: -0.02em; margin: 0 0 8px; }
.tc-document-meta { font-size: 12.5px; color: var(--tc-ink-300); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--tc-border); }
.tc-document-body { font-size: 16px; line-height: 1.7; color: var(--tc-ink-700); }
.tc-document-body h2 { font-weight: 800; font-size: 22px; margin: 40px 0 12px; color: var(--tc-ink); }
.tc-document-body h3 { font-weight: 700; font-size: 18px; margin: 28px 0 10px; color: var(--tc-ink); }
.tc-document-body p  { margin: 0 0 18px; }
.tc-document-body a  { color: var(--tc-green-900); text-decoration: underline; text-underline-offset: 4px; }
.tc-document-body ul, .tc-document-body ol { padding-left: 24px; margin: 0 0 18px; }
.tc-document-body li { margin-bottom: 6px; }
.tc-aprenda-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.tc-aprenda-cat { border: 1px solid var(--tc-border); border-radius: var(--tc-radius-lg); padding: 28px; text-decoration: none; display: flex; flex-direction: column; gap: 12px; transition: border-color var(--tc-dur-base) var(--tc-ease-out), box-shadow var(--tc-dur-base) var(--tc-ease-out); }
.tc-aprenda-cat:hover { border-color: var(--tc-border-strong); box-shadow: var(--tc-shadow-sm); }
.tc-aprenda-cat-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--tc-green-050); display: flex; align-items: center; justify-content: center; color: var(--tc-green-900); }
.tc-aprenda-cat-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tc-aprenda-cat h3 { font-weight: 700; font-size: 17px; margin: 0; color: var(--tc-ink); }
.tc-aprenda-cat p  { font-size: 13.5px; color: var(--tc-ink-500); margin: 0; line-height: 1.5; }
.tc-aprenda-cat-arrow { color: var(--tc-green-900); font-weight: 600; font-size: 13px; margin-top: auto; }

/* ── Pagination ───────────────────────────────────────────────────── */
.tc-pagination { display: flex; justify-content: center; gap: 8px; padding: 48px 0; }
.tc-pagination a,
.tc-pagination span { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--tc-border); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; color: var(--tc-ink); transition: border-color var(--tc-dur-fast) var(--tc-ease-out), background var(--tc-dur-fast) var(--tc-ease-out); }
.tc-pagination a:hover { border-color: var(--tc-border-strong); background: var(--tc-muted); }
.tc-pagination .current { background: var(--tc-ink); color: #fff; border-color: var(--tc-ink); }

/* ── Author archive ───────────────────────────────────────────────── */
.tc-author-archive-header { display: flex; gap: 24px; align-items: flex-start; padding: 48px 0 32px; }
.tc-author-archive-header .wp-block-query { width: 100%; }
.tc-author-meta-list { list-style: none; margin: 0; padding: 0; }
.tc-author-archive-header .wp-block-post-author { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.tc-author-archive-header .wp-block-post-author__avatar img { width: 80px !important; height: 80px !important; border-radius: var(--tc-radius-pill); display: block; }
.tc-author-archive-header .wp-block-post-author__byline { display: none; }
.tc-author-archive-header .wp-block-post-author__name { display: none; }
.tc-author-archive-header .wp-block-post-author__bio { font-size: 15px; line-height: 1.65; color: var(--tc-ink-500); margin: 0; max-width: 640px; }
.tc-author-archive-name { font-weight: 800; font-size: 36px; letter-spacing: -0.02em; margin: 0 0 20px; }

/* ── Block Editor: site title ─────────────────────────────────────── */
.tc-header .wp-block-site-title a,
.tc-header .wp-block-site-title { color: #fff; text-decoration: none; font-family: var(--tc-font-display); font-size: 20px; line-height: 1; }

/* ── Block Editor: archive query grid ────────────────────────────── */
.wp-block-post-template.tc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.tc-card-block { border-radius: var(--tc-radius-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
/* FIX: aspect-ratio + overflow no figure; !important no img sobrescreve style="height:auto" do WP */
.tc-card-image-block { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; flex-shrink: 0; display: block; margin: 0; background: linear-gradient(135deg, #11181F 0%, #2A323B 100%); }
.tc-card-image-block a { display: block; width: 100%; height: 100%; }
.tc-card-image-block img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block; border-radius: 0; }
.tc-card-title-block { font-size: 18px; font-weight: 700; line-height: 1.3; padding: 14px 16px 6px; margin: 0; }
.tc-card-title-block a { color: inherit; text-decoration: none; }
.tc-card-title-block a:hover { color: var(--tc-green); }
.tc-card-excerpt-block { font-size: 14px; color: var(--tc-ink-500); padding: 0 16px; margin: 0 0 8px; }
.tc-card-meta-block { font-size: 13px; color: var(--tc-ink-300); padding: 0 16px 16px; margin-top: auto; }
.tc-card-meta-block .wp-block-post-author-name { font-weight: 600; color: var(--tc-ink-500); }
.tc-card-meta-block .wp-block-post-author-name::after { content: "·"; margin: 0 6px; color: var(--tc-ink-300); }

/* ── Block Editor: home hero ──────────────────────────────────────── */
.tc-hero-block { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding: 32px 0; align-items: start; }
.tc-hero-feature .wp-block-post-template,
.tc-most-read .wp-block-post-template,
.tc-sidebar-sticky .wp-block-post-template { list-style: none; margin: 0; padding: 0; display: block; }
.tc-hero-feature .wp-block-post-template > li { margin: 0; }

.tc-hero-cover {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 0 !important;
  background: linear-gradient(135deg, #0a3b2a, #11181F);
  cursor: pointer;
  display: flex;
  align-items: flex-end;
}
.tc-hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 28%, rgba(0,0,0,.15) 55%, transparent 80%);
  z-index: 1;
  pointer-events: none;
}
.tc-hero-cover .wp-block-cover__image-background,
.tc-hero-cover img.wp-block-cover__image-background,
.tc-hero-cover .wp-block-post-featured-image,
.tc-hero-cover .wp-block-post-featured-image img,
.tc-hero-cover .tc-hero-bg-img,
.tc-hero-cover .tc-hero-bg-img img,
.tc-hero-cover .tc-hero-bg-img a img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  z-index: 0;
}
.tc-hero-cover .wp-block-cover__background { z-index: 0; }
.tc-hero-cover-content,
.tc-hero-cover .wp-block-cover__inner-container {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 2;
  padding: 32px;
  max-width: 560px;
  width: 100%;
}
.tc-hero-eyebrow,
.tc-hero-eyebrow a { color: #fff; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: var(--tc-track-eyebrow); text-decoration: none; }
.tc-hero-title-block,
.tc-hero-title-block a { color: #fff; font-weight: 800; font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; margin: 14px 0 0; text-decoration: none; }
.tc-hero-cover:hover .tc-hero-title-block a { text-decoration: underline; text-underline-offset: 4px; }
.tc-hero-meta-block { margin-top: 14px; font-size: 12.5px; color: #C9CFD6; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.tc-mr-thumb,
.tc-mr-thumb img { width: 88px; height: 66px; }
.tc-mr-thumb img { object-fit: cover; border-radius: 12px; }
.tc-most-read-item .tc-mr-title,
.tc-most-read-item .tc-mr-title a { font-weight: 700; font-size: 14.5px; line-height: 1.3; color: var(--tc-ink); margin: 0; text-decoration: none; }

/* ── Responsive: tablet ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tc-hero { grid-template-columns: 1fr; }
  .tc-most-read { display: none; }
  .tc-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tc-footer-grid { grid-template-columns: 1fr 1fr; }
  .tc-newsletter { grid-template-columns: 1fr; }
  .tc-single-grid { grid-template-columns: 1fr; }
  .tc-single-sidebar { order: 3; border-top: 1px solid var(--tc-border); padding-top: 32px; }
  .tc-sidebar-sticky { position: static; }
  .tc-author-bio { order: 2; }
}

@media (max-width: 900px) {
  .tc-hero-block { grid-template-columns: 1fr; }
  .tc-most-read { display: none; }
  .tc-team-grid { grid-template-columns: repeat(2, 1fr); }
  .tc-aprenda-cats { grid-template-columns: repeat(2, 1fr); }
  .tc-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .tc-inner-hero h1 { font-size: 34px; }
  .wp-block-post-template.tc-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive: mobile ───────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Hero: image on top, title below */
  .tc-hero-cover {
    aspect-ratio: unset;
    min-height: unset !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    border-radius: 12px;
  }
  .tc-hero-cover::before { display: none; }
  .tc-hero-cover .wp-block-cover__image-background,
  .tc-hero-cover .tc-hero-bg-img,
  .tc-hero-cover img.wp-block-cover__image-background {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 220px !important;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
  }
  .tc-hero-cover .tc-hero-bg-img img,
  .tc-hero-cover .tc-hero-bg-img a img {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 220px !important;
    object-fit: cover;
    display: block;
  }
  .tc-hero-cover-content,
  .tc-hero-cover .wp-block-cover__inner-container {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 2;
    padding: 16px 20px 20px;
    background: transparent;
    max-width: 100%;
    width: 100%;
  }
  .tc-hero-title-block,
  .tc-hero-title-block a { color: var(--tc-ink) !important; font-size: 22px; }
  .tc-hero-eyebrow,
  .tc-hero-eyebrow a { color: var(--tc-green) !important; }
  .tc-hero-meta-block { color: var(--tc-ink-500) !important; }

  /* Grids */
  .tc-grid-3 { grid-template-columns: 1fr; }
  .tc-press-grid { grid-template-columns: 1fr; }
  .tc-footer-grid { grid-template-columns: 1fr; }
  .wp-block-post-template.tc-grid-3 { grid-template-columns: 1fr; }

  /* Newsletter */
  .tc-newsletter { padding: 28px 24px; }
  .tc-newsletter-form { flex-direction: column; }
  .tc-newsletter-form input { width: 100%; }

  /* Article */
  .tc-article-title { font-size: 26px; }
  .tc-article-subtitle { font-size: 16px; }
  .tc-share-btn { width: 30px; height: 30px; }
  .tc-article-meta-bar { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Misc */
  .tc-404-cols { grid-template-columns: 1fr; gap: 32px; }
  .tc-404-heading { font-size: 24px; }
  .tc-filter-row { flex-direction: column; align-items: flex-start; }
  .tc-filter-label { min-width: auto; }
  .tc-team-grid { grid-template-columns: 1fr; }
  .tc-aprenda-cats { grid-template-columns: 1fr; }
  .tc-contact-form-grid { grid-template-columns: 1fr; }
  .tc-job-card { flex-direction: column; align-items: flex-start; }
  .tc-inner-hero h1 { font-size: 28px; }
  .tc-author-archive-name { font-size: 26px; }
  .tc-author-archive-header .wp-block-post-author { flex-direction: column; }
}