:root {
  --ts-brand: #16b8d4;
  --ts-brand-strong: #0794b4;
  --ts-brand-soft: #e8faff;
  --ts-ink: #0b1726;
  --ts-ink-2: #24364b;
  --ts-muted: #66788d;
  --ts-line: #dce7ef;
  --ts-bg: #f4f8fb;
  --ts-card: #ffffff;
  --ts-navy: #061a2b;
  --ts-radius: 18px;
  --ts-radius-sm: 12px;
  --ts-shadow: 0 16px 40px rgba(9, 35, 54, .08);
  --ts-shadow-hover: 0 22px 55px rgba(9, 35, 54, .14);
  --ts-container: 1240px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--ts-bg);
  color: var(--ts-ink-2);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body, button, input, select, textarea { font-family: inherit; }
a { color: var(--ts-brand-strong); text-underline-offset: 3px; }
a:hover { color: var(--ts-brand); }
::selection { background: #c7f5ff; color: var(--ts-ink); }

.container { width: min(var(--ts-container), calc(100% - 40px)); }

/* Header */
.site-header {
  height: 86px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(11, 23, 38, .07);
  box-shadow: 0 6px 28px rgba(7, 24, 39, .05);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: saturate(150%) blur(14px);
}
.admin-bar .site-header { top: 32px; }
.site-header .container { height: 86px; display: flex; align-items: center; gap: 24px; }
.wp-custom-header { display: none; }
.site-branding { float: none; display: flex; align-items: center; min-width: max-content; margin: 0; }
.site-branding #logo { float: none; height: auto; line-height: 1; margin: 0 11px 0 0; display: flex; align-items: center; }
.site-branding img { max-height: 54px; width: auto; border-radius: 10px; }
.site-title-desc { float: none; margin: 0; }
.site-title, .site-title.no-desc { margin: 0; line-height: 1.1; font-size: 25px; font-weight: 800; letter-spacing: -.03em; }
.site-title a { color: var(--ts-ink); }
.site-description { margin-top: 5px; color: var(--ts-muted); font-size: 11px; line-height: 1.2; letter-spacing: .07em; text-transform: uppercase; }
.primary-navigation { margin-left: 18px; flex: 1 1 auto; }
.sf-menu { float: none; display: flex; align-items: center; gap: 4px; }
.sf-menu li { margin: 0; line-height: 86px; }
.sf-menu li a { color: #24364b; font-size: 14px; font-weight: 700; }
.sf-menu li a .menu-text { height: 40px; line-height: 40px; padding: 0 14px; border-radius: 10px; }
.sf-menu li a:hover .menu-text,
.sf-menu li.current-menu-item a .menu-text,
.sf-menu li.current-menu-item a:hover .menu-text { background: var(--ts-brand-soft); color: var(--ts-brand-strong); }
.sf-menu ul { border: 1px solid var(--ts-line); border-radius: 14px; box-shadow: var(--ts-shadow); padding: 8px 12px; }
.sf-menu li li { border-bottom: 0; line-height: 1.4; }
.sf-menu li li a { padding: 9px 4px; font-weight: 600; }
.header-search { position: relative; top: auto; right: auto; flex: 0 0 215px; width: auto; height: 42px; border: 1px solid var(--ts-line); border-radius: 999px; background: #f8fbfd; overflow: hidden; }
.header-search .search-input { height: 40px; line-height: 40px; padding: 0 46px 0 16px; font-size: 13px; }
.header-search .search-submit { width: 42px; height: 42px; top: -1px; right: -1px; border-radius: 999px; background: var(--ts-brand); }
.header-space { display: none; }

/* Base layout */
.site-content { padding: 34px 0 56px; }
#primary { width: calc(100% - 354px); }
#secondary { width: 324px; }
.site-main { background: transparent; padding: 0; }
.sidebar .widget { background: var(--ts-card); border: 1px solid var(--ts-line); border-radius: var(--ts-radius); padding: 22px; margin-bottom: 22px; box-shadow: 0 10px 28px rgba(9,35,54,.05); overflow: hidden; }
.sidebar .widget-title { color: var(--ts-ink); font-size: 16px; letter-spacing: -.01em; border-bottom: 0; padding-bottom: 12px; margin-bottom: 14px; position: relative; }
.sidebar .widget-title:after { content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px; border-radius: 999px; background: var(--ts-brand); }
.sidebar .widget img { border-radius: 12px; }

/* Breadcrumbs */
.breadcrumbs { background: transparent; border: 0; padding: 0; margin: 0 0 18px; }
.breadcrumbs .breadcrumbs-nav { color: var(--ts-muted); font-size: 13px; }
.breadcrumbs h1 { color: var(--ts-ink); font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.035em; margin-top: 10px; }
.rank-math-breadcrumb { margin: 0 0 18px; color: var(--ts-muted); font-size: 13px; }
.rank-math-breadcrumb p { margin: 0; }

/* Listing cards */
.content-loop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.content-loop .hentry {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0 0 20px;
  border: 1px solid var(--ts-line);
  border-radius: var(--ts-radius);
  background: var(--ts-card);
  box-shadow: 0 10px 28px rgba(9,35,54,.045);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.content-loop .hentry:hover { transform: translateY(-4px); border-color: #bedde7; box-shadow: var(--ts-shadow-hover); }
.content-loop .hentry:after { display: none; }
.content-loop .thumbnail-link { float: none; display: block; width: 100%; margin: 0 0 18px; }
.content-loop .thumbnail-wrap { aspect-ratio: 16/9; overflow: hidden; background: #eaf1f5; }
.content-loop .thumbnail-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.content-loop .hentry:hover .thumbnail-link img { transform: scale(1.035); }
.content-loop .entry-category,
.content-loop .entry-title,
.content-loop .entry-meta,
.content-loop .entry-summary { margin-left: 20px; margin-right: 20px; }
.content-loop .entry-category { margin-bottom: 10px; }
.content-loop .entry-category a { background: var(--ts-brand-soft) !important; color: var(--ts-brand-strong) !important; border-radius: 999px; height: auto; line-height: 1.2; padding: 7px 10px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.content-loop .entry-title { font-size: 20px; line-height: 1.32; font-weight: 800; letter-spacing: -.025em; margin-bottom: 10px; }
.content-loop .entry-title a { color: var(--ts-ink); }
.content-loop .entry-meta { color: var(--ts-muted); font-size: 12px; margin-bottom: 12px; }
.content-loop .entry-summary { color: #516477; font-size: 14px; line-height: 1.65; }
.content-loop .entry-summary p { margin: 0; }

/* Search listing can be denser */
.search .content-loop { grid-template-columns: 1fr; }
.search .content-loop .hentry { min-height: 0; }

/* Single article */
.single .site-main,
.page:not(.home) .site-main { background: var(--ts-card); border: 1px solid var(--ts-line); border-radius: 22px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 12px 38px rgba(9,35,54,.05); }
.single article.hentry > .entry-header { margin-bottom: 28px; }
.single h1.entry-title,
.page h1.entry-title,
.page .page-title { color: var(--ts-ink); font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.045em; font-weight: 850; }
.single .entry-meta { color: var(--ts-muted); font-size: 13px; margin-top: 15px; }
.single .entry-content,
.page .entry-content { color: #263a4e; font-size: 17px; line-height: 1.82; }
.single .entry-content > p,
.page .entry-content > p { margin: 0 0 1.35em; }
.single .entry-content h2,
.page .entry-content h2 { color: var(--ts-ink); font-size: clamp(27px, 3vw, 34px); line-height: 1.2; letter-spacing: -.035em; margin: 1.7em 0 .65em; }
.single .entry-content h3,
.page .entry-content h3 { color: var(--ts-ink); font-size: clamp(21px, 2.4vw, 26px); line-height: 1.3; letter-spacing: -.025em; margin: 1.5em 0 .55em; }
.single .entry-content h2[id], .single .entry-content h3[id] { scroll-margin-top: 112px; }
.single .entry-content ul, .single .entry-content ol,
.page .entry-content ul, .page .entry-content ol { margin: 0 0 1.45em 1.3em; }
.single .entry-content li, .page .entry-content li { margin-bottom: .45em; }
.single .entry-content a, .page .entry-content a { font-weight: 650; text-decoration-thickness: 1px; }
.single .entry-content img, .page .entry-content img { border-radius: 14px; }
.single .entry-content pre,
.page .entry-content pre { background: #081827; color: #d8e9f5; border-radius: 14px; padding: 20px; overflow: auto; font-size: 14px; line-height: 1.55; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.single .entry-content code,
.page .entry-content code { background: #eef4f7; color: #0d6074; border-radius: 6px; padding: .12em .34em; font-size: .9em; }
.single .entry-content pre code,
.page .entry-content pre code { background: transparent; color: inherit; padding: 0; }
.single .entry-content blockquote,
.page .entry-content blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--ts-brand); background: var(--ts-brand-soft); border-radius: 0 12px 12px 0; }
.single .entry-content table,
.page .entry-content table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; margin: 1.6em 0; }
.single .entry-content th, .single .entry-content td,
.page .entry-content th, .page .entry-content td { border: 1px solid var(--ts-line); padding: 11px 13px; text-align: left; }
.single .entry-content th, .page .entry-content th { background: #f3f8fb; color: var(--ts-ink); }
.author-box { background: #f7fbfd; border: 1px solid var(--ts-line); border-radius: var(--ts-radius); padding: 20px; }
.entry-related { margin-top: 34px; }
.entry-related > h3 { color: var(--ts-ink); font-size: 24px; margin-bottom: 18px; }
.entry-related .content-loop { grid-template-columns: repeat(2,minmax(0,1fr)); }

/* Forms / comments */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea, select {
  border: 1px solid var(--ts-line); border-radius: 10px; background: #fff; color: var(--ts-ink); padding: 11px 13px;
}
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(22,184,212,.14); border-color: var(--ts-brand); }
button, input[type="submit"], .button { border-radius: 10px; background: var(--ts-brand); color: #04202a; font-weight: 800; border: 0; }

/* Footer */
.site-footer { background: var(--ts-navy); color: #b8c9d6; margin-top: 30px; }
.footer-columns { background: transparent; border: 0; padding: 48px 0 18px; }
.site-footer .widget { color: #b8c9d6; }
.site-footer .widget .widget-title { color: #fff; }
.site-footer .widget a { color: #dbe9f1; }
#site-bottom { background: #041522; border-top: 1px solid rgba(255,255,255,.08); color: #91a8b7; padding: 24px 0; }
#site-bottom .site-info a { color: #d5e3ec; }
.ts-footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; text-align: left; }
.ts-footer-brand strong { display: block; color: #fff; font-size: 18px; letter-spacing: -.02em; }
.ts-footer-brand span { display: block; margin-top: 4px; color: #8da5b4; font-size: 12px; }
#site-bottom .footer-nav { margin: 0; }

/* Home */
.home #content.site-content { width: min(var(--ts-container), calc(100% - 40px)); }
.home #primary { float: none; width: 100%; }
.home .site-main { background: transparent; padding: 0; }
.ts-home { display: block; }
.ts-hero { position: relative; overflow: hidden; border-radius: 26px; min-height: 390px; padding: clamp(34px, 5vw, 70px); background: linear-gradient(125deg, #061b2d 0%, #0a2b42 58%, #07566a 100%); color: #fff; box-shadow: 0 22px 58px rgba(4,26,43,.2); }
.ts-hero:before { content:""; position:absolute; width:460px; height:460px; border-radius:50%; right:-130px; top:-190px; background: radial-gradient(circle, rgba(24,214,242,.38), rgba(24,214,242,0) 70%); }
.ts-hero:after { content:""; position:absolute; width:360px; height:360px; border-radius:50%; right:100px; bottom:-270px; border:1px solid rgba(255,255,255,.14); box-shadow:0 0 0 60px rgba(255,255,255,.03),0 0 0 120px rgba(255,255,255,.025); }
.ts-hero-content { position: relative; z-index: 2; max-width: 760px; }
.ts-kicker { display:inline-flex; align-items:center; gap:8px; margin-bottom:18px; padding:7px 11px; border:1px solid rgba(255,255,255,.15); border-radius:999px; background:rgba(255,255,255,.07); color:#bceefa; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.ts-kicker:before { content:""; width:8px; height:8px; border-radius:50%; background:#2ee1fa; box-shadow:0 0 0 5px rgba(46,225,250,.12); }
.ts-hero h1 { margin:0; color:#fff; font-size:clamp(40px,6vw,68px); line-height:1.02; letter-spacing:-.055em; font-weight:900; max-width:800px; }
.ts-hero p { max-width:670px; margin:22px 0 0; color:#c7d9e4; font-size:clamp(16px,2vw,19px); line-height:1.7; }
.ts-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.ts-button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 18px; border-radius:12px; font-size:14px; font-weight:800; text-decoration:none; }
.ts-button-primary { background:var(--ts-brand); color:#03232d; box-shadow:0 10px 28px rgba(22,184,212,.25); }
.ts-button-primary:hover { background:#36d0e9; color:#03232d; }
.ts-button-ghost { border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.06); color:#fff; }
.ts-button-ghost:hover { background:rgba(255,255,255,.12); color:#fff; }
.ts-home-search { position:relative; max-width:610px; margin-top:22px; }
.ts-home-search input[type=search] { width:100%; height:52px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.10); color:#fff; border-radius:14px; padding:0 122px 0 16px; backdrop-filter:blur(8px); }
.ts-home-search input::placeholder { color:#b5c9d5; }
.ts-home-search button { position:absolute; right:6px; top:6px; height:40px; padding:0 16px; border-radius:10px; }
.ts-section { margin-top:46px; }
.ts-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:20px; }
.ts-section-head h2 { color:var(--ts-ink); font-size:clamp(27px,3vw,36px); line-height:1.1; letter-spacing:-.04em; }
.ts-section-head p { margin-top:7px; color:var(--ts-muted); font-size:14px; }
.ts-section-link { font-weight:800; font-size:13px; text-decoration:none; }
.ts-categories { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.ts-category-card { display:block; padding:18px 16px; border:1px solid var(--ts-line); border-radius:14px; background:#fff; color:var(--ts-ink); text-decoration:none; transition:.2s ease; }
.ts-category-card:hover { transform:translateY(-3px); border-color:#b6dce6; box-shadow:var(--ts-shadow); color:var(--ts-ink); }
.ts-category-card strong { display:block; font-size:14px; line-height:1.25; }
.ts-category-card span { display:block; margin-top:7px; color:var(--ts-muted); font-size:11px; }
.ts-home-grid { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:26px; align-items:start; }
.ts-home-grid.is-full { grid-template-columns:1fr; }
.ts-latest-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.ts-post-card { overflow:hidden; border:1px solid var(--ts-line); border-radius:18px; background:#fff; box-shadow:0 10px 26px rgba(9,35,54,.045); transition:.22s ease; }
.ts-post-card:hover { transform:translateY(-4px); box-shadow:var(--ts-shadow-hover); }
.ts-post-card-media { display:block; aspect-ratio:16/9; overflow:hidden; background:linear-gradient(135deg,#d8f4f8,#e9eff4); }
.ts-post-card-media img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.ts-post-card:hover img { transform:scale(1.035); }
.ts-post-card-body { padding:18px; }
.ts-post-card-cat { color:var(--ts-brand-strong); font-size:11px; font-weight:850; letter-spacing:.05em; text-transform:uppercase; }
.ts-post-card h3 { margin:7px 0 9px; font-size:20px; line-height:1.28; letter-spacing:-.025em; }
.ts-post-card h3 a { color:var(--ts-ink); text-decoration:none; }
.ts-post-card-meta { color:var(--ts-muted); font-size:12px; }
.ts-post-card p { margin:10px 0 0; color:#536678; font-size:14px; line-height:1.6; }
.ts-home-rail .widget { position:relative; }

/* Pagination */
.pagination { margin-top:28px; }
.pagination .page-numbers { border:1px solid var(--ts-line); background:#fff; color:var(--ts-ink-2); border-radius:9px; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background:var(--ts-brand); border-color:var(--ts-brand); color:#06232d; }

/* Utility */
#back-top a span { border-radius:10px; width:38px; height:38px; line-height:38px; background:var(--ts-brand); color:#06232d; box-shadow:var(--ts-shadow); }

@media (max-width: 1179px) {
  .container, .home #content.site-content { width:min(100% - 32px, 1040px); }
  #primary { width:calc(100% - 320px); }
  #secondary { width:294px; }
  .header-search { flex-basis:180px; }
  .sf-menu li a .menu-text { padding:0 10px; }
  .ts-categories { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width: 959px) {
  .admin-bar .site-header { top:46px; }
  .site-header, .site-header .container { height:70px; }
  .site-header .container { display:flex; }
  .site-branding #logo { height:auto; line-height:1; }
  .site-branding img { max-height:44px; }
  .site-title, .site-title.no-desc { line-height:1.1; font-size:21px; }
  #primary, #secondary { width:100%; float:none; }
  #secondary { margin-top:24px; }
  .content-loop { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ts-home-grid { grid-template-columns:1fr; }
  .ts-home-rail { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .ts-home-rail .widget { margin:0; }
  .header-toggles { top:14px; right:0; }
}

@media (max-width: 782px) { .admin-bar .site-header { top:46px; } }

@media (max-width: 767px) {
  .container, .home #content.site-content { width:min(100% - 24px, 680px); }
  .site-content { padding:22px 0 40px; }
  .site-main { padding:0; }
  .single .site-main, .page:not(.home) .site-main { padding:24px 20px; border-radius:18px; }
  .single .entry-content, .page .entry-content { font-size:16px; line-height:1.75; }
  .content-loop, .entry-related .content-loop, .ts-latest-grid { grid-template-columns:1fr; }
  .content-loop .thumbnail-link { width:100%; margin:0 0 18px; }
  .content-loop .entry-meta { display:block; }
  .ts-hero { min-height:0; padding:34px 24px; border-radius:20px; }
  .ts-hero h1 { font-size:clamp(38px,11vw,54px); }
  .ts-categories { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ts-home-rail { grid-template-columns:1fr; }
  .ts-section-head { align-items:flex-start; flex-direction:column; }
  .ts-footer-inner { grid-template-columns:1fr; text-align:center; }
}

@media (max-width: 479px) {
  .site-title-desc { display:none; }
  .site-branding img { max-height:46px; }
  .content-loop .hentry { padding-bottom:18px; }
  .content-loop .entry-category, .content-loop .entry-title, .content-loop .entry-meta, .content-loop .entry-summary { margin-left:16px; margin-right:16px; }
  .content-loop .entry-summary { display:block; }
  .ts-categories { grid-template-columns:1fr 1fr; gap:10px; }
  .ts-category-card { padding:15px 13px; }
  .ts-home-search input[type=search] { padding-right:16px; }
  .ts-home-search button { position:static; width:100%; margin-top:8px; }
  .ts-home-search { margin-bottom:48px; }
}

/* ==============================================================
   TecnoSender 2.1 — typography, Spanish home feed and archives
   ============================================================== */
:root {
  --ts-font-sans: "Segoe UI Variable Text", "Segoe UI", Aptos, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ts-font-display: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", Aptos, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ts-font-mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ts-ink: #071827;
  --ts-ink-2: #26394d;
  --ts-muted: #667b8f;
  --ts-line: #d9e6ee;
  --ts-bg: #f2f7fa;
}

html, body,
body p, body li, body a, body span, body div,
body button, body input, body textarea, body select,
.entry-content, .entry-summary, .sidebar, .site-footer,
.sf-menu li a, .modal-menu a, .widget, .breadcrumbs {
  font-family: var(--ts-font-sans) !important;
}

h1, h2, h3, h4, h5, h6,
.site-title, .site-title a,
.entry-title, .page-title, .widget-title,
.ts-hero h1, .ts-section-head h2, .ts-archive-hero h1,
button, input[type="submit"], .ts-button {
  font-family: var(--ts-font-display) !important;
  font-variation-settings: "wght" 720;
}

code, pre, kbd, samp,
.entry-content code, .entry-content pre {
  font-family: var(--ts-font-mono) !important;
}

body { font-size: 16px; line-height: 1.72; letter-spacing: -.006em; }
.site-title, .site-title.no-desc { font-size: 26px; font-weight: 780; }
.sf-menu li a { font-size: 14px; font-weight: 650; letter-spacing: -.01em; }

/* Home headings and topic cards */
.ts-section-eyebrow,
.ts-page-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--ts-brand-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ts-section-head h2 { font-weight: 780; letter-spacing: -.045em; }
.ts-hero h1 { font-weight: 800; letter-spacing: -.055em; text-wrap: balance; }
.ts-hero p { font-weight: 430; letter-spacing: -.01em; }

.ts-category-card {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  padding: 18px;
}
.ts-category-card:before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -35px;
  top: -35px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,184,212,.18), rgba(22,184,212,0) 70%);
}
.ts-category-icon {
  position: absolute;
  top: 15px;
  left: 16px;
  width: 30px;
  height: 30px;
  display: grid !important;
  place-items: center;
  border-radius: 9px;
  background: var(--ts-brand-soft);
  color: var(--ts-brand-strong);
  font-weight: 850;
}
.ts-category-card strong { font-size: 15px; font-weight: 750; letter-spacing: -.02em; }
.ts-category-card > span:last-child { font-size: 12px; }

/* Better fallback artwork for posts without a featured image */
.ts-media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: grid !important;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 25%, rgba(37,215,239,.32), transparent 28%),
    linear-gradient(135deg, #071b2d 0%, #0c3449 56%, #08768a 100%);
}
.ts-media-placeholder:before,
.ts-media-placeholder:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
}
.ts-media-placeholder:before { width: 190px; height: 190px; right: -55px; bottom: -90px; }
.ts-media-placeholder:after { width: 125px; height: 125px; right: -22px; bottom: -57px; }
.ts-media-placeholder > span {
  display: grid !important;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  color: #d8f9ff;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
  font-family: var(--ts-font-display) !important;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.04em;
}

/* Archive / category sections */
.archive #content.site-content,
.category #content.site-content,
.tag #content.site-content {
  padding-top: 28px;
}

.ts-archive-main { background: transparent !important; }
.ts-archive-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(125deg, #061b2d 0%, #0a3147 60%, #087287 100%);
  box-shadow: 0 20px 52px rgba(7,31,48,.14);
}
.ts-archive-hero:after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -105px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,225,250,.28), transparent 68%);
}
.ts-archive-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.ts-archive-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #9ec0ce;
  font-size: 12px;
}
.ts-archive-breadcrumb a { color: #d7f6fb; text-decoration: none; }
.ts-archive-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #8eeafd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ts-archive-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 790;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.ts-archive-description {
  max-width: 660px;
  margin: 16px 0 0;
  color: #c6dbe4;
  font-size: 16px;
  line-height: 1.7;
}
.ts-archive-description p { margin: 0; }
.ts-archive-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 24px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #bfd7e2;
  font-size: 12px;
}
.ts-archive-stat strong { color: #fff; font-size: 16px; }
.ts-archive-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 4px 0 18px;
}
.ts-archive-toolbar h2 {
  margin: 0;
  color: var(--ts-ink);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 760;
  letter-spacing: -.04em;
}

.content-loop.ts-archive-grid { gap: 22px; }
.content-loop .ts-loop-card { padding: 0; }
.content-loop .ts-loop-card .thumbnail-link { margin: 0; }
.content-loop .ts-loop-card .thumbnail-wrap { aspect-ratio: 16 / 9; }
.ts-loop-card-body { padding: 20px 20px 21px; }
.content-loop .ts-loop-card .entry-category,
.content-loop .ts-loop-card .entry-title,
.content-loop .ts-loop-card .entry-meta,
.content-loop .ts-loop-card .entry-summary { margin-left: 0; margin-right: 0; }
.content-loop .ts-loop-card .entry-title {
  margin: 9px 0 10px;
  font-size: 21px;
  line-height: 1.28;
  font-weight: 760;
  letter-spacing: -.035em;
}
.content-loop .ts-loop-card .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  color: var(--ts-muted);
  font-size: 12px;
}
.content-loop .ts-loop-card .entry-summary {
  margin: 0;
  color: #52687b;
  font-size: 14px;
  line-height: 1.68;
}
.ts-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--ts-ink) !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none !important;
}
.ts-card-readmore span { color: var(--ts-brand-strong); transition: transform .18s ease; }
.ts-card-readmore:hover span { transform: translateX(3px); }

/* Pages: stronger editorial hierarchy and modern table of contents */
.page:not(.home) .site-main {
  border-radius: 24px;
  padding: clamp(30px, 4vw, 52px);
}
.ts-page-header {
  max-width: 760px;
  margin-bottom: 30px !important;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ts-line);
}
.page h1.entry-title,
.page .page-title {
  margin: 0;
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 790;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.ts-page-lead {
  margin: 14px 0 0;
  color: var(--ts-muted);
  font-size: 18px;
  line-height: 1.65;
}
.page .entry-content,
.single .entry-content {
  font-size: 17px;
  line-height: 1.84;
  letter-spacing: -.008em;
}
.page .entry-content p,
.single .entry-content p,
.page .entry-content li,
.single .entry-content li {
  color: #2a4053;
  font-family: var(--ts-font-sans) !important;
}
.page .entry-content strong,
.single .entry-content strong { color: var(--ts-ink); font-weight: 720; }
.page .entry-content h2,
.single .entry-content h2 { font-weight: 760; letter-spacing: -.045em; }
.page .entry-content h3,
.single .entry-content h3 { font-weight: 730; letter-spacing: -.035em; }

#ez-toc-container,
.ez-toc-container,
.lwptoc_i,
.rank-math-toc-block {
  width: 100% !important;
  margin: 28px 0 34px !important;
  padding: 20px 22px !important;
  border: 1px solid #cfe1ea !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #f8fcfe, #f3f9fb) !important;
  box-shadow: 0 10px 26px rgba(9,35,54,.045) !important;
}
#ez-toc-container .ez-toc-title,
.ez-toc-title,
.lwptoc_title {
  color: var(--ts-ink) !important;
  font-family: var(--ts-font-display) !important;
  font-size: 15px !important;
  font-weight: 760 !important;
}
#ez-toc-container a,
.ez-toc-container a,
.lwptoc a,
.rank-math-toc-block a {
  color: #24465a !important;
  font-family: var(--ts-font-sans) !important;
  font-size: 14px !important;
  text-decoration: none !important;
}
#ez-toc-container a:hover,
.ez-toc-container a:hover,
.lwptoc a:hover,
.rank-math-toc-block a:hover { color: var(--ts-brand-strong) !important; }

/* Sidebar polishing on inner sections */
.archive #secondary,
.category #secondary,
.tag #secondary,
.page #secondary { position: relative; }
@media (min-width: 960px) {
  .archive #secondary .widget:first-child,
  .category #secondary .widget:first-child,
  .tag #secondary .widget:first-child,
  .page #secondary .widget:first-child { position: sticky; top: 112px; }
}
.sidebar .widget ul li,
.sidebar .widget ol li { line-height: 1.55; }
.sidebar .widget a { font-weight: 560; text-decoration: none; }

@media (max-width: 959px) {
  .ts-archive-hero { margin-bottom: 24px; }
}

@media (max-width: 767px) {
  .ts-archive-hero { padding: 28px 22px; border-radius: 20px; }
  .ts-archive-hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .ts-archive-toolbar h2 { font-size: 25px; }
  .ts-loop-card-body { padding: 18px; }
  .page:not(.home) .site-main { padding: 26px 21px; }
  .page .entry-content, .single .entry-content { font-size: 16px; }
}

/* ==============================================================
   TecnoSender 2.2 — branded hero, premium archives & motion system
   ============================================================== */
:root {
  --ts-cyan: #22c4df;
  --ts-cyan-2: #63e6f7;
  --ts-navy: #061a2b;
  --ts-navy-2: #0a3045;
  --ts-scroll-progress: 0;
  --ts-parallax-x: 0;
  --ts-parallax-y: 0;
}

/* Header refinements */
.site-header {
  transition: box-shadow .28s ease, background-color .28s ease, transform .28s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(5, 26, 43, .10);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
}
.header-search .search-submit {
  display: grid;
  place-items: center;
}
.header-search .search-submit svg {
  width: 18px;
  height: 18px;
}
.ts-scroll-progress {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  pointer-events: none;
}
.ts-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--ts-scroll-progress));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--ts-brand), #68eaff);
  box-shadow: 0 0 16px rgba(34,196,223,.55);
}

/* Home: a real TecnoSender hero */
.ts-home .site-main { overflow: visible; }
.ts-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  align-items: center;
  gap: clamp(28px, 4vw, 62px);
  min-height: 520px;
  padding: clamp(42px, 5vw, 74px);
  isolation: isolate;
  background:
    radial-gradient(circle at 88% 16%, rgba(56,222,245,.22), transparent 25%),
    linear-gradient(120deg, #051a2c 0%, #082c42 54%, #087286 100%);
}
.ts-hero:before {
  width: 620px;
  height: 620px;
  right: -170px;
  top: -270px;
  opacity: .78;
  animation: ts-glow-breathe 7s ease-in-out infinite;
}
.ts-hero:after {
  width: 430px;
  height: 430px;
  right: 115px;
  bottom: -340px;
  box-shadow: 0 0 0 70px rgba(255,255,255,.028), 0 0 0 140px rgba(255,255,255,.018);
  animation: ts-orbit-breathe 8s ease-in-out infinite;
}
.ts-hero-grid,
.ts-archive-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  animation: ts-grid-drift 24s linear infinite;
}
.ts-hero-content { max-width: 720px; }
.ts-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-color: rgba(140,236,249,.26);
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.ts-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ts-cyan);
  box-shadow: 0 0 0 5px rgba(34,196,223,.12), 0 0 16px rgba(34,196,223,.75);
  animation: ts-dot-pulse 2.2s ease-in-out infinite;
}
.ts-hero h1 {
  max-width: 720px;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: .99;
}
.ts-hero p { max-width: 660px; }
.ts-home-search {
  max-width: 640px;
  padding: 4px;
  border: 1px solid rgba(116,226,243,.24);
  border-radius: 17px;
  background: rgba(3,28,44,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 12px 35px rgba(0,0,0,.08);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ts-home-search:focus-within {
  border-color: rgba(98,232,249,.7);
  box-shadow: 0 0 0 4px rgba(34,196,223,.10), 0 18px 44px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.ts-home-search input[type=search] {
  border: 0;
  background: rgba(255,255,255,.08);
}
.ts-home-search button {
  position: absolute;
  overflow: hidden;
  font-weight: 800;
}
.ts-home-search button:after,
.ts-button-primary:after,
.ts-featured-cta:after {
  content: "";
  position: absolute;
  top: -100%;
  left: -55%;
  width: 35%;
  height: 300%;
  transform: rotate(22deg);
  background: rgba(255,255,255,.36);
  transition: left .55s ease;
}
.ts-home-search button:hover:after,
.ts-button-primary:hover:after,
.ts-featured-cta:hover:after { left: 130%; }
.ts-button { position: relative; overflow: hidden; }
.ts-button span { transition: transform .2s ease; }
.ts-button:hover span { transform: translateX(3px); }
.ts-button-primary:hover span { transform: translateY(3px); }
.ts-hero-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.ts-hero-tech span {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  color: #bcd4df;
  background: rgba(255,255,255,.045);
  font-size: 11px;
  font-weight: 650;
  animation: ts-chip-float 5s ease-in-out infinite;
}
.ts-hero-tech span:nth-child(2) { animation-delay: -.9s; }
.ts-hero-tech span:nth-child(3) { animation-delay: -1.8s; }
.ts-hero-tech span:nth-child(4) { animation-delay: -2.7s; }

.ts-hero-brand {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  transform: translate3d(calc(var(--ts-parallax-x) * 9px), calc(var(--ts-parallax-y) * 9px), 0);
  transition: transform .18s ease-out;
}
.ts-brand-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53,220,244,.30), rgba(53,220,244,.02) 64%, transparent 70%);
  filter: blur(2px);
  animation: ts-glow-breathe 4.8s ease-in-out infinite;
}
.ts-brand-logo-card {
  position: relative;
  z-index: 5;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 42px;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.065));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 30px 70px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
  animation: ts-logo-float 5.4s ease-in-out infinite;
}
.ts-hero-logo-image {
  width: 100%;
  height: 100%;
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.16));
}
.ts-brand-fallback {
  color: #fff;
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -.08em;
}
.ts-brand-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(130,233,248,.18);
}
.ts-brand-orbit:after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: -5px;
  left: 50%;
  border-radius: 50%;
  background: var(--ts-cyan-2);
  box-shadow: 0 0 14px rgba(99,230,247,.9);
}
.ts-brand-orbit-one { width: 270px; height: 270px; animation: ts-spin 16s linear infinite; }
.ts-brand-orbit-two { width: 330px; height: 330px; border-style: dashed; animation: ts-spin-reverse 22s linear infinite; }
.ts-brand-orbit-three { width: 390px; height: 390px; opacity: .55; animation: ts-spin 31s linear infinite; }
.ts-brand-chip {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 13px;
  color: #d8edf4;
  background: rgba(3,28,44,.55);
  box-shadow: 0 16px 36px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  font-size: 11px;
}
.ts-brand-chip b { color: var(--ts-cyan-2); font-size: 12px; }
.ts-brand-chip-a { left: 0; top: 44px; animation: ts-chip-float 4.7s ease-in-out infinite; }
.ts-brand-chip-b { right: -5px; top: 105px; animation: ts-chip-float 5.2s ease-in-out infinite -1.4s; }
.ts-brand-chip-c { left: 34px; bottom: 28px; animation: ts-chip-float 5.6s ease-in-out infinite -2.2s; }

/* Home topic cards */
.ts-section-head { position: relative; }
.ts-section-index {
  color: rgba(7,24,39,.08);
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.08em;
  user-select: none;
}
.ts-category-card {
  min-height: 142px;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(9,35,54,.035);
}
.ts-category-card:after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(34,196,223,.05), rgba(34,196,223,.14));
  transition: opacity .3s ease;
}
.ts-category-card:hover:after { opacity: 1; }
.ts-category-card > * { position: relative; z-index: 2; }
.ts-category-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), background-color .28s ease;
}
.ts-category-icon svg { width: 20px; height: 20px; }
.ts-category-card:hover .ts-category-icon {
  transform: translateY(-3px) rotate(-5deg) scale(1.06);
  background: #d6f8fc;
}
.ts-category-arrow {
  position: absolute !important;
  top: 18px;
  right: 18px;
  margin: 0 !important;
  color: #9ab0bf !important;
  font-size: 18px !important;
  transition: transform .28s ease, color .28s ease;
}
.ts-category-card:hover .ts-category-arrow { transform: translate(3px,-3px); color: var(--ts-brand-strong) !important; }
.ts-category-card:hover { transform: translateY(-7px); box-shadow: 0 20px 45px rgba(8,44,65,.11); }

/* Home post cards */
.ts-post-card-media,
.content-loop .thumbnail-wrap { position: relative; }
.ts-media-arrow {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff;
  background: rgba(3,28,44,.52);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(7px) scale(.92);
  transition: opacity .24s ease, transform .24s ease, background-color .24s ease;
}
.ts-post-card:hover .ts-media-arrow,
.ts-loop-card:hover .ts-media-arrow { opacity: 1; transform: translateY(0) scale(1); }
.ts-post-card:hover { transform: translateY(-7px); }
.ts-post-card:hover .ts-post-card-media:after,
.ts-loop-card:hover .thumbnail-wrap:after {
  opacity: 1;
}
.ts-post-card-media:after,
.content-loop .thumbnail-wrap:after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(3,23,37,.20));
  transition: opacity .3s ease;
  pointer-events: none;
}

/* Archive pages: full-width hero, spotlight and modern rail */
.archive #primary,
.category #primary,
.tag #primary {
  float: none;
  width: 100%;
}
.archive .ts-archive-main,
.category .ts-archive-main,
.tag .ts-archive-main {
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.ts-archive-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) 330px;
  align-items: center;
  gap: 34px;
  min-height: 390px;
  padding: clamp(34px, 4.4vw, 58px);
  border-radius: 28px;
  isolation: isolate;
  background:
    radial-gradient(circle at 83% 20%, rgba(54,223,246,.22), transparent 28%),
    linear-gradient(120deg, #051a2c 0%, #082f45 58%, #087186 100%);
}
.ts-archive-hero:after {
  width: 480px;
  height: 480px;
  right: -190px;
  top: -230px;
}
.ts-archive-hero-copy { position: relative; z-index: 3; max-width: 800px; }
.ts-archive-hero h1 { font-size: clamp(44px, 5.5vw, 70px); max-width: 820px; }
.ts-archive-description { max-width: 720px; font-size: 17px; }
.ts-archive-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}
.ts-archive-stat { margin-top: 0; }
.ts-archive-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d9f7fb !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
}
.ts-archive-home-link span { color: var(--ts-cyan-2); transition: transform .2s ease; }
.ts-archive-home-link:hover span { transform: translateX(4px); }
.ts-archive-visual {
  position: relative;
  z-index: 2;
  min-height: 270px;
  display: grid;
  place-items: center;
  transform: translate3d(calc(var(--ts-parallax-x) * 7px), calc(var(--ts-parallax-y) * 7px), 0);
  transition: transform .18s ease-out;
}
.ts-archive-icon-card {
  position: relative;
  z-index: 3;
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 34px;
  color: #8ff0fb;
  background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.055));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.17), 0 28px 65px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
  animation: ts-logo-float 5.2s ease-in-out infinite;
}
.ts-archive-icon-card svg { width: 64px; height: 64px; }
.ts-archive-orbit {
  position: absolute;
  border: 1px solid rgba(137,236,249,.20);
  border-radius: 50%;
}
.ts-archive-orbit:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: -4px;
  left: 50%;
  background: var(--ts-cyan-2);
  box-shadow: 0 0 15px rgba(99,230,247,.9);
}
.ts-archive-orbit-a { width: 215px; height: 215px; animation: ts-spin 15s linear infinite; }
.ts-archive-orbit-b { width: 270px; height: 270px; border-style: dashed; opacity: .72; animation: ts-spin-reverse 23s linear infinite; }
.ts-archive-visual-label {
  position: absolute;
  bottom: 2px;
  max-width: 230px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #c8e5ed;
  background: rgba(3,28,44,.45);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  backdrop-filter: blur(10px);
}
.ts-related-topics {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: -8px 0 30px;
  padding: 15px 17px;
  border: 1px solid var(--ts-line);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 30px rgba(9,35,54,.035);
  overflow: hidden;
}
.ts-related-label {
  flex: 0 0 auto;
  color: var(--ts-muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ts-related-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ts-related-list::-webkit-scrollbar { display:none; }
.ts-related-list a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ts-ink-2) !important;
  background: #eef7fa;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.ts-related-list a:hover { transform: translateY(-2px); background: #dbf5fa; color: #047b91 !important; }

.ts-archive-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  min-height: 330px;
  margin-bottom: 38px;
  overflow: hidden;
  border: 1px solid var(--ts-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(8,40,61,.08);
}
.ts-archive-featured-media {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #0b2b40;
}
.ts-archive-featured-media img,
.ts-archive-featured-media .ts-media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.ts-archive-featured:hover .ts-archive-featured-media img { transform: scale(1.045); }
.ts-featured-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #04303a;
  background: rgba(104,234,255,.93);
  box-shadow: 0 8px 24px rgba(3,30,45,.18);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ts-archive-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 46px);
}
.ts-archive-featured-body h2 {
  margin: 0;
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.ts-archive-featured-body h2 a { color: var(--ts-ink); text-decoration: none; }
.ts-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  color: var(--ts-muted);
  font-size: 12px;
}
.ts-archive-featured-body p {
  margin: 18px 0 0;
  color: #4f6678;
  font-size: 15px;
  line-height: 1.72;
}
.ts-featured-cta {
  position: relative;
  overflow: hidden;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 11px 15px;
  border-radius: 11px;
  color: #062b34 !important;
  background: var(--ts-brand);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
}
.ts-featured-cta span { transition: transform .2s ease; }
.ts-featured-cta:hover span { transform: translateX(4px); }

.ts-archive-toolbar { gap: 20px; }
.ts-archive-search {
  position: relative;
  width: min(100%, 330px);
}
.ts-archive-search input {
  width: 100%;
  height: 44px;
  padding: 0 50px 0 14px;
  border: 1px solid var(--ts-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ts-ink);
  font-size: 13px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ts-archive-search input:focus {
  border-color: #8adcea;
  box-shadow: 0 0 0 4px rgba(34,196,223,.09);
}
.ts-archive-search button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  color: #06323d;
  background: var(--ts-brand);
  font-size: 18px;
  cursor: pointer;
}
.ts-archive-content-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 315px;
  gap: 26px;
  align-items: start;
}
.ts-archive-content-layout.is-full { grid-template-columns: 1fr; }
.ts-archive-posts { min-width: 0; }
.content-loop.ts-archive-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px;
}
.ts-loop-card {
  overflow: hidden;
  border: 1px solid var(--ts-line) !important;
  border-radius: 20px !important;
  background: #fff;
  box-shadow: 0 10px 30px rgba(9,35,54,.045);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.ts-loop-card:hover {
  transform: translateY(-7px);
  border-color: #b9e3eb !important;
  box-shadow: 0 22px 48px rgba(8,41,62,.12);
}
.content-loop .ts-loop-card .thumbnail-wrap { overflow: hidden; }
.content-loop .ts-loop-card .thumbnail-wrap img { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.ts-loop-card:hover .thumbnail-wrap img { transform: scale(1.045); }
.ts-card-readmore { margin-top: 18px; }
.ts-card-readmore:after {
  content: "";
  width: 0;
  height: 1px;
  background: var(--ts-brand-strong);
  transition: width .25s ease;
}
.ts-card-readmore:hover:after { width: 22px; }

.ts-archive-rail {
  position: sticky;
  top: 106px;
  width: 100% !important;
  float: none !important;
}
.ts-archive-rail .widget {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--ts-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(9,35,54,.045);
}
.ts-archive-rail .widget:first-child { position: static !important; padding: 14px; }
.ts-archive-rail .widget img { border-radius: 14px; }
.ts-archive-rail .widget-title {
  margin-bottom: 13px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--ts-line);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.025em;
}
.ts-archive-rail .widget li {
  padding: 9px 0;
  border-bottom: 1px solid #eef3f6;
}
.ts-archive-rail .widget li:last-child { border-bottom: 0; }
.ts-archive-rail .widget a { color: var(--ts-ink-2); font-size: 13px; line-height: 1.45; }
.ts-archive-rail .widget a:hover { color: var(--ts-brand-strong); }

/* Motion system: visible only when JS is running. */
.ts-motion-ready .ts-reveal {
  opacity: 0;
  transform: translateY(24px) scale(.992);
  filter: blur(3px);
  transition:
    opacity .68s ease var(--ts-reveal-delay, 0ms),
    transform .72s cubic-bezier(.2,.75,.2,1) var(--ts-reveal-delay, 0ms),
    filter .68s ease var(--ts-reveal-delay, 0ms);
}
.ts-motion-ready .ts-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.ts-hero-content > * {
  animation: ts-hero-enter .72s cubic-bezier(.2,.75,.2,1) both;
}
.ts-hero-content > *:nth-child(1) { animation-delay: .05s; }
.ts-hero-content > *:nth-child(2) { animation-delay: .12s; }
.ts-hero-content > *:nth-child(3) { animation-delay: .19s; }
.ts-hero-content > *:nth-child(4) { animation-delay: .26s; }
.ts-hero-content > *:nth-child(5) { animation-delay: .33s; }
.ts-hero-content > *:nth-child(6) { animation-delay: .40s; }

@keyframes ts-hero-enter {
  from { opacity: 0; transform: translateY(22px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes ts-logo-float {
  0%,100% { transform: translateY(0) rotate(-.7deg); }
  50% { transform: translateY(-12px) rotate(.7deg); }
}
@keyframes ts-chip-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes ts-spin { to { transform: rotate(360deg); } }
@keyframes ts-spin-reverse { to { transform: rotate(-360deg); } }
@keyframes ts-grid-drift { to { background-position: 42px 42px, 42px 42px; } }
@keyframes ts-glow-breathe {
  0%,100% { transform: scale(1); opacity: .72; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes ts-orbit-breathe {
  0%,100% { opacity: .8; }
  50% { opacity: .45; }
}
@keyframes ts-dot-pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(34,196,223,.10), 0 0 12px rgba(34,196,223,.58); }
  50% { box-shadow: 0 0 0 7px rgba(34,196,223,.05), 0 0 22px rgba(34,196,223,.92); }
}

/* Responsive refinements */
@media (max-width: 1179px) {
  .ts-hero { grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); }
  .ts-hero-brand { min-height: 330px; }
  .ts-brand-orbit-three { width: 350px; height: 350px; }
  .ts-archive-hero { grid-template-columns: minmax(0,1fr) 280px; }
  .ts-archive-content-layout { grid-template-columns: minmax(0,1fr) 285px; }
}

@media (max-width: 959px) {
  .ts-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ts-hero-content { max-width: 760px; }
  .ts-hero-brand {
    min-height: 285px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
  .ts-brand-logo-card { width: 160px; height: 160px; border-radius: 34px; }
  .ts-brand-orbit-one { width: 230px; height: 230px; }
  .ts-brand-orbit-two { width: 285px; height: 285px; }
  .ts-brand-orbit-three { width: 335px; height: 335px; }
  .ts-brand-chip-a { left: 5%; }
  .ts-brand-chip-b { right: 5%; }
  .ts-archive-hero { grid-template-columns: 1fr; }
  .ts-archive-visual { min-height: 235px; }
  .ts-archive-featured { grid-template-columns: 1fr; }
  .ts-archive-featured-media { min-height: 300px; }
  .ts-archive-featured-media img, .ts-archive-featured-media .ts-media-placeholder { min-height: 300px; }
  .ts-archive-content-layout { grid-template-columns: 1fr; }
  .ts-archive-rail { position: static; }
  .ts-archive-rail { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .ts-archive-rail .widget { margin: 0; }
}

@media (max-width: 767px) {
  .ts-section-index { display: none; }
  .ts-hero { padding: 34px 22px 30px; }
  .ts-hero h1 { font-size: clamp(39px, 12vw, 56px); }
  .ts-hero-brand { min-height: 245px; }
  .ts-brand-logo-card { width: 138px; height: 138px; padding: 22px; }
  .ts-brand-orbit-one { width: 195px; height: 195px; }
  .ts-brand-orbit-two { width: 235px; height: 235px; }
  .ts-brand-orbit-three { width: 278px; height: 278px; }
  .ts-brand-chip { padding: 8px 9px; font-size: 10px; }
  .ts-brand-chip-c { left: 4%; bottom: 12px; }
  .ts-hero-tech { margin-top: 17px; }
  .ts-category-card { min-height: 128px; }
  .ts-archive-hero { padding: 30px 22px; }
  .ts-archive-hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .ts-archive-visual { min-height: 210px; }
  .ts-archive-icon-card { width: 116px; height: 116px; border-radius: 28px; }
  .ts-archive-icon-card svg { width: 52px; height: 52px; }
  .ts-archive-orbit-a { width: 180px; height: 180px; }
  .ts-archive-orbit-b { width: 225px; height: 225px; }
  .ts-related-topics { align-items: flex-start; flex-direction: column; gap: 10px; }
  .ts-related-list { width: 100%; }
  .ts-archive-featured-media { min-height: 235px; }
  .ts-archive-featured-media img, .ts-archive-featured-media .ts-media-placeholder { min-height: 235px; }
  .ts-archive-featured-body { padding: 25px 21px; }
  .ts-archive-toolbar { align-items: flex-start; flex-direction: column; }
  .ts-archive-search { width: 100%; }
  .content-loop.ts-archive-grid { grid-template-columns: 1fr; }
  .ts-archive-rail { grid-template-columns: 1fr; }
}

@media (max-width: 479px) {
  .ts-hero-brand { min-height: 215px; }
  .ts-brand-chip-b { display: none; }
  .ts-brand-chip-a { top: 25px; left: 0; }
  .ts-brand-chip-c { right: 0; left: auto; bottom: 5px; }
  .ts-categories { grid-template-columns: 1fr; }
  .ts-category-card { min-height: 112px; }
  .ts-archive-visual { min-height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *:before, *:after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ts-motion-ready .ts-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .ts-hero-brand, .ts-archive-visual { transform: none !important; }
}

@media (max-width: 479px) {
  .ts-home-search input[type=search] { padding-right: 16px; }
  .ts-home-search button {
    position: static;
    width: 100%;
    height: 42px;
    margin-top: 8px;
  }
}

/* ==============================================================
   TecnoSender 2.3 — premium article UX, category hubs & dark mode
   ============================================================== */
:root {
  --ts-surface: #ffffff;
  --ts-surface-2: #f7fbfd;
  --ts-surface-3: #edf5f8;
  --ts-text: #203549;
  --ts-heading: #061a2b;
  --ts-soft-shadow: 0 18px 52px rgba(5, 31, 48, .08);
  --ts-deep-shadow: 0 28px 80px rgba(3, 25, 40, .14);
  --ts-header-bg: rgba(255,255,255,.93);
  --ts-card-rgb: 255,255,255;
  color-scheme: light;
}

html[data-theme="dark"] {
  --ts-brand: #28c9e4;
  --ts-brand-strong: #58ddf1;
  --ts-brand-soft: #0b3442;
  --ts-ink: #eef8fb;
  --ts-ink-2: #d0e1e8;
  --ts-muted: #91a9b5;
  --ts-line: #213c49;
  --ts-bg: #07131d;
  --ts-card: #0d1d29;
  --ts-surface: #0d1d29;
  --ts-surface-2: #102431;
  --ts-surface-3: #142c3a;
  --ts-text: #c9dae2;
  --ts-heading: #f3fbfd;
  --ts-header-bg: rgba(7,19,29,.91);
  --ts-card-rgb: 13,29,41;
  --ts-shadow: 0 18px 44px rgba(0,0,0,.25);
  --ts-shadow-hover: 0 25px 60px rgba(0,0,0,.38);
  --ts-soft-shadow: 0 18px 52px rgba(0,0,0,.22);
  --ts-deep-shadow: 0 28px 80px rgba(0,0,0,.36);
  color-scheme: dark;
}

html,
body,
.site-header,
.sidebar .widget,
.ts-post-card,
.ts-category-card,
.ts-loop-card,
.ts-article-card,
.ts-reading-card,
.ts-category-mini-card,
.ts-category-rail-intro,
.ts-category-spotlight,
.ts-post-nav-item,
.ts-author-card {
  transition: background-color .28s ease, border-color .28s ease, color .28s ease, box-shadow .28s ease;
}

body { background: var(--ts-bg); color: var(--ts-text); }
.site-header { background: var(--ts-header-bg); border-bottom-color: rgba(93,133,153,.13); }
.site-header.is-scrolled { background: var(--ts-header-bg); }
.site-title a,
.sf-menu li a,
.header-search .search-input { color: var(--ts-ink); }
.sf-menu ul { background: var(--ts-surface); }
.header-search { background: var(--ts-surface-2); }
.header-search .search-input { background: transparent; }

/* Accessible persistent dark/light switch. */
.ts-theme-toggle {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  position: relative;
  padding: 0;
  border: 1px solid var(--ts-line);
  border-radius: 50%;
  color: var(--ts-ink-2);
  background: var(--ts-surface-2);
  box-shadow: 0 6px 18px rgba(6,31,48,.04);
  cursor: pointer;
  overflow: hidden;
  transition: transform .22s ease, color .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.ts-theme-toggle:hover {
  transform: translateY(-2px) rotate(4deg);
  color: #05313c;
  border-color: rgba(34,196,223,.45);
  background: var(--ts-brand);
  box-shadow: 0 12px 28px rgba(22,184,212,.18);
}
.ts-theme-toggle-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  transition: opacity .25s ease, transform .32s cubic-bezier(.2,.8,.2,1);
}
.ts-theme-toggle-icon svg { width: 20px; height: 20px; }
.ts-theme-toggle-sun { opacity: 1; transform: translateY(0) rotate(0); }
.ts-theme-toggle-moon { opacity: 0; transform: translateY(20px) rotate(-25deg); }
html[data-theme="dark"] .ts-theme-toggle { color: #e9fbff; background: #102936; }
html[data-theme="dark"] .ts-theme-toggle:hover { color: #061a2b; background: var(--ts-brand); }
html[data-theme="dark"] .ts-theme-toggle-sun { opacity: 0; transform: translateY(-20px) rotate(28deg); }
html[data-theme="dark"] .ts-theme-toggle-moon { opacity: 1; transform: translateY(0) rotate(0); }

/* Home cards and common components in both colour schemes. */
.ts-category-card,
.ts-post-card,
.content-loop .hentry,
.ts-loop-card,
.sidebar .widget,
.pagination .page-numbers { background: var(--ts-surface) !important; border-color: var(--ts-line) !important; }
.ts-category-card strong,
.ts-post-card h3 a,
.content-loop .entry-title a,
.widget-title,
.sidebar .widget-title { color: var(--ts-heading) !important; }
.ts-post-card p,
.content-loop .entry-summary,
.content-loop .entry-summary p { color: var(--ts-text) !important; }
.ts-category-icon { color: var(--ts-brand-strong); background: var(--ts-brand-soft); }
.ts-category-icon svg { width: 24px; height: 24px; overflow: visible; }
html[data-theme="dark"] .ts-category-card:after { background: linear-gradient(135deg, rgba(40,201,228,.04), rgba(40,201,228,.12)); }
html[data-theme="dark"] .ts-section-index { color: rgba(215,241,248,.055); }
html[data-theme="dark"] .ts-related-topics,
html[data-theme="dark"] #ez-toc-container,
html[data-theme="dark"] .ez-toc-container,
html[data-theme="dark"] .lwptoc_i,
html[data-theme="dark"] .rank-math-toc-block { background: var(--ts-surface-2) !important; border-color: var(--ts-line) !important; }
html[data-theme="dark"] #ez-toc-container a,
html[data-theme="dark"] .ez-toc-container a,
html[data-theme="dark"] .lwptoc a,
html[data-theme="dark"] .rank-math-toc-block a { color: #b9d4df !important; }
html[data-theme="dark"] .entry-content code { background: #163342; color: #8beafa; }
html[data-theme="dark"] .entry-content th { background: #132936; }
html[data-theme="dark"] .entry-content p,
html[data-theme="dark"] .entry-content li { color: var(--ts-text) !important; }
html[data-theme="dark"] .entry-content strong { color: var(--ts-heading) !important; }
html[data-theme="dark"] .sidebar .widget li,
html[data-theme="dark"] .ts-archive-rail .widget li { border-color: #1a3441; }
html[data-theme="dark"] .sidebar .widget a { color: #c7dbe4; }
html[data-theme="dark"] ::selection { background: #1d6d7d; color: #fff; }

/* ------------------------------
   Single articles: flagship experience
   ------------------------------ */
.single #content.site-content {
  width: min(1380px, calc(100% - 40px));
  padding-top: 30px;
}
.single #primary.ts-single-primary {
  width: 100%;
  float: none;
}
.single .ts-single-main {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.ts-single-article { margin: 0; }
.ts-single-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(390px,.75fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
  min-height: 520px;
  padding: clamp(42px, 5.2vw, 74px);
  border: 1px solid rgba(118,225,241,.12);
  border-radius: 30px;
  color: #d8edf4;
  background:
    radial-gradient(circle at 90% 13%, rgba(75,226,247,.24), transparent 29%),
    radial-gradient(circle at 57% 102%, rgba(22,184,212,.15), transparent 38%),
    linear-gradient(122deg, #041827 0%, #082c42 56%, #086f82 100%);
  box-shadow: 0 34px 90px rgba(3,32,48,.20);
}
.ts-single-hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  right: -170px;
  top: -280px;
  border-radius: 50%;
  border: 1px solid rgba(132,238,252,.12);
  box-shadow: 0 0 0 75px rgba(255,255,255,.022), 0 0 0 150px rgba(255,255,255,.014);
  animation: ts-orbit-breathe 8s ease-in-out infinite;
}
.ts-single-hero-grid,
.ts-category-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .075;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
  animation: ts-grid-drift 18s linear infinite;
}
.ts-single-hero-copy { position: relative; z-index: 4; max-width: 830px; }
.ts-single-breadcrumb { min-height: 22px; margin-bottom: 20px; color: #a8cbd6; font-size: 12px; }
.ts-single-breadcrumb .rank-math-breadcrumb { margin: 0; color: inherit; }
.ts-single-breadcrumb .rank-math-breadcrumb a,
.ts-single-breadcrumb a { color: #d3f5fa; text-decoration: none; }
.ts-single-breadcrumb nav { display: flex; flex-wrap: wrap; gap: 9px; }
.ts-single-topic {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 7px 11px 7px 8px;
  border: 1px solid rgba(144,235,248,.18);
  border-radius: 999px;
  color: #a9eff8 !important;
  background: rgba(255,255,255,.055);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .09em;
  text-decoration: none !important;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}
.ts-single-topic-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #7eeafa;
  background: rgba(40,201,228,.12);
}
.ts-single-topic-icon svg { width: 18px; height: 18px; }
.ts-single-hero h1.entry-title {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5.3vw, 72px);
  line-height: .99;
  font-weight: 850;
  letter-spacing: -.062em;
  text-wrap: balance;
}
.ts-single-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: #c3dbe4;
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.65;
  letter-spacing: -.018em;
}
.ts-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 23px;
  color: #b5d1db;
  font-size: 12px;
}
.ts-single-meta-item { display: inline-flex; align-items: center; gap: 7px; }
.ts-single-meta-item svg { width: 16px; height: 16px; color: #66dfef; }
.ts-meta-dot { width: 7px; height: 7px; border-radius: 50%; background: #55e3f5; box-shadow: 0 0 0 5px rgba(85,227,245,.09); }
.ts-single-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ts-single-actions .ts-button { min-height: 44px; }
.ts-share-button svg { width: 17px; height: 17px; }
.ts-share-button.is-copied { border-color: rgba(91,235,176,.45); background: rgba(91,235,176,.10); }

.ts-single-hero-media {
  position: relative;
  z-index: 3;
  min-height: 360px;
  display: grid;
  place-items: center;
  transform: translate3d(calc(var(--ts-parallax-x) * 8px), calc(var(--ts-parallax-y) * 8px), 0);
  transition: transform .18s ease-out;
}
.ts-single-media-card {
  position: relative;
  z-index: 4;
  width: min(100%, 450px);
  aspect-ratio: 16/10;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 25px;
  background: rgba(255,255,255,.09);
  box-shadow: 0 30px 75px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.17);
  backdrop-filter: blur(12px);
  transform: rotate(1.5deg);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.ts-single-hero:hover .ts-single-media-card { transform: rotate(.2deg) translateY(-5px); box-shadow: 0 38px 90px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.2); }
.ts-single-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}
.ts-single-fallback-logo { width: 70% !important; height: 70% !important; object-fit: contain !important; margin: 15%; padding: 20px; background: rgba(255,255,255,.93); }
.ts-single-fallback-icon { width: 100%; height: 100%; display: grid; place-items: center; color: #7ceafa; }
.ts-single-fallback-icon svg { width: 96px; height: 96px; }
.ts-single-media-orbit { position: absolute; border: 1px solid rgba(132,236,250,.17); border-radius: 50%; }
.ts-single-media-orbit:after { content:""; position:absolute; top:-5px; left:50%; width:10px; height:10px; border-radius:50%; background:#6ce8f8; box-shadow:0 0 18px rgba(108,232,248,.9); }
.ts-single-media-orbit-a { width: 340px; height: 340px; animation: ts-spin 18s linear infinite; }
.ts-single-media-orbit-b { width: 410px; height: 410px; border-style: dashed; opacity: .65; animation: ts-spin-reverse 29s linear infinite; }
.ts-single-media-badge {
  position: absolute;
  z-index: 6;
  right: 8px;
  bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: #d8f2f6;
  background: rgba(3,27,43,.70);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  font-size: 11px;
  font-weight: 720;
  backdrop-filter: blur(12px);
}
.ts-single-media-badge span { width: 7px; height: 7px; border-radius: 50%; background: #62e6f7; animation: ts-dot-pulse 2.3s ease-in-out infinite; }

.ts-single-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 330px;
  gap: 28px;
  align-items: start;
  margin-top: 30px;
}
.ts-single-layout.is-full { grid-template-columns: 1fr; }
.ts-single-content-column { min-width: 0; }
.ts-article-card {
  overflow: hidden;
  border: 1px solid var(--ts-line);
  border-radius: 28px;
  background: var(--ts-surface);
  box-shadow: var(--ts-soft-shadow);
}
.ts-article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(24px, 4vw, 54px);
  border-bottom: 1px solid var(--ts-line);
  background: linear-gradient(180deg, var(--ts-surface-2), var(--ts-surface));
}
.ts-article-toolbar > div:first-child { display: flex; align-items: baseline; gap: 8px; }
.ts-article-toolbar-kicker { color: var(--ts-brand-strong); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.ts-article-toolbar strong { color: var(--ts-heading); font-size: 13px; }
.ts-article-toolbar-meta { display: flex; align-items: center; gap: 12px; color: var(--ts-muted); font-size: 11px; }
.ts-article-status { display: inline-flex; align-items: center; gap: 6px; }
.ts-article-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ts-brand); box-shadow: 0 0 0 4px rgba(22,184,212,.08); }
.ts-article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 68px) clamp(25px, 5vw, 64px) clamp(44px, 6vw, 78px);
  color: var(--ts-text) !important;
  font-size: 18px !important;
  line-height: 1.84 !important;
  letter-spacing: -.012em;
}
.ts-article-content > p { margin-bottom: 1.45em !important; }
.ts-article-content > p:first-child { font-size: 19px; line-height: 1.8; }
.ts-article-content h2 {
  position: relative;
  margin: 2.25em 0 .72em !important;
  padding-top: 18px;
  color: var(--ts-heading) !important;
  font-size: clamp(30px, 3.4vw, 40px) !important;
  line-height: 1.12 !important;
  font-weight: 800 !important;
  letter-spacing: -.048em !important;
  text-wrap: balance;
}
.ts-article-content h2:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ts-brand), #6ceafa);
  box-shadow: 0 3px 12px rgba(22,184,212,.16);
}
.ts-article-content h3 {
  margin: 1.8em 0 .65em !important;
  color: var(--ts-heading) !important;
  font-size: clamp(23px, 2.7vw, 29px) !important;
  line-height: 1.22 !important;
  font-weight: 760 !important;
  letter-spacing: -.037em !important;
}
.ts-article-content h4 { color: var(--ts-heading); font-size: 20px; line-height: 1.35; margin: 1.5em 0 .55em; }
.ts-article-content h2[id], .ts-article-content h3[id], .ts-article-content h4[id] { scroll-margin-top: 110px; }
.ts-article-content ul,
.ts-article-content ol { margin: 0 0 1.6em 1.35em !important; }
.ts-article-content li { margin-bottom: .58em !important; padding-left: .18em; }
.ts-article-content li::marker { color: var(--ts-brand-strong); font-weight: 800; }
.ts-article-content a { color: var(--ts-brand-strong); font-weight: 680; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ts-article-content a:hover { color: var(--ts-brand); }
.ts-article-content figure { margin: 2.2em 0; }
.ts-article-content img {
  display: block;
  width: auto;
  max-width: 100%;
  border: 1px solid var(--ts-line);
  border-radius: 18px !important;
  box-shadow: 0 20px 48px rgba(6,36,55,.10);
}
html[data-theme="dark"] .ts-article-content img { box-shadow: 0 20px 48px rgba(0,0,0,.28); }
.ts-article-content figcaption { margin-top: 9px; color: var(--ts-muted); font-size: 12px; text-align: center; }
.ts-article-content blockquote {
  position: relative;
  margin: 2em 0 !important;
  padding: 24px 26px 24px 30px !important;
  border: 1px solid rgba(22,184,212,.22) !important;
  border-left: 5px solid var(--ts-brand) !important;
  border-radius: 16px !important;
  color: var(--ts-text);
  background: linear-gradient(135deg, var(--ts-brand-soft), var(--ts-surface-2)) !important;
  box-shadow: 0 12px 30px rgba(6,43,63,.045);
}
.ts-article-content blockquote p:last-child { margin-bottom: 0 !important; }
.ts-article-content pre {
  position: relative;
  margin: 2em 0 !important;
  padding: 25px 24px !important;
  border: 1px solid #18384b;
  border-top: 3px solid var(--ts-brand);
  border-radius: 16px !important;
  background: #071824 !important;
  color: #d7edf4 !important;
  box-shadow: 0 18px 38px rgba(2,24,37,.20) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}
.ts-article-content table { width: 100% !important; margin: 2em 0 !important; border-radius: 14px; overflow: hidden; border: 1px solid var(--ts-line); }
.ts-article-content th,
.ts-article-content td { padding: 13px 14px !important; border-color: var(--ts-line) !important; }
.ts-article-content th { color: var(--ts-heading); background: var(--ts-surface-2) !important; }
.ts-article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0 clamp(25px,5vw,64px) 34px;
}
.ts-article-tags > span:first-child { margin-right: 4px; color: var(--ts-muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.ts-article-tags a { display: inline-flex; padding: 7px 10px; border-radius: 999px; color: var(--ts-brand-strong); background: var(--ts-brand-soft); font-size: 11px; font-weight: 700; text-decoration: none; }

.ts-single-rail { position: sticky; top: 104px; min-width: 0; }
.ts-reading-card,
.ts-single-widgets .widget {
  margin-bottom: 18px;
  border: 1px solid var(--ts-line);
  border-radius: 20px;
  background: var(--ts-surface);
  box-shadow: 0 12px 34px rgba(7,35,51,.05);
}
.ts-reading-card { padding: 20px; }
.ts-reading-card-head { display: flex; align-items: center; gap: 11px; padding-bottom: 15px; border-bottom: 1px solid var(--ts-line); }
.ts-reading-card-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--ts-brand-strong); background: var(--ts-brand-soft); }
.ts-reading-card-icon svg { width: 21px; height: 21px; }
.ts-reading-card-head div { display: flex; flex-direction: column; line-height: 1.2; }
.ts-reading-card-head div span { color: var(--ts-muted); font-size: 10px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.ts-reading-card-head strong { margin-top: 3px; color: var(--ts-heading); font-size: 15px; }
.ts-reading-toc { list-style: none; margin: 15px 0 0; padding: 0; counter-reset: ts-toc; }
.ts-reading-toc li { counter-increment: ts-toc; position: relative; margin: 0; padding: 0; border-bottom: 1px solid color-mix(in srgb, var(--ts-line) 75%, transparent); }
.ts-reading-toc li:last-child { border-bottom: 0; }
.ts-reading-toc li.is-sub { padding-left: 12px; }
.ts-reading-toc a { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 7px; padding: 9px 0; color: var(--ts-text); font-size: 12px; font-weight: 620; line-height: 1.38; text-decoration: none; }
.ts-reading-toc a:before { content: counter(ts-toc, decimal-leading-zero); color: var(--ts-muted); font-size: 9px; font-weight: 800; letter-spacing: .02em; padding-top: 2px; }
.ts-reading-toc a:hover,
.ts-reading-toc a.is-active { color: var(--ts-brand-strong); }
.ts-reading-toc a.is-active:before { color: var(--ts-brand-strong); }
.ts-reading-progress { height: 4px; margin-top: 14px; overflow: hidden; border-radius: 999px; background: var(--ts-surface-3); }
.ts-reading-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: 0 50%; border-radius: inherit; background: linear-gradient(90deg, var(--ts-brand), #68eaff); transition: transform .12s linear; }
.ts-single-widgets .widget { padding: 18px; }
.ts-single-widgets .widget:first-child { padding: 13px; }
.ts-single-widgets .widget img { border-radius: 15px; }

.ts-post-navigation {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  margin-top: 22px;
}
.ts-post-nav-item {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px;
  border: 1px solid var(--ts-line);
  border-radius: 18px;
  color: var(--ts-text) !important;
  background: var(--ts-surface);
  box-shadow: 0 10px 30px rgba(7,35,51,.04);
  text-decoration: none !important;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ts-post-nav-item:hover { transform: translateY(-4px); border-color: rgba(22,184,212,.35); box-shadow: var(--ts-soft-shadow); }
.ts-post-nav-item span { color: var(--ts-brand-strong); font-size: 10px; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.ts-post-nav-item strong { margin-top: 7px; color: var(--ts-heading); font-size: 15px; line-height: 1.38; }
.ts-post-nav-item.is-next { text-align: right; }
.ts-post-nav-item.is-next:only-child { grid-column: 2; }
.ts-author-card {
  display: grid;
  grid-template-columns: 88px minmax(0,1fr);
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--ts-line);
  border-radius: 20px;
  background: var(--ts-surface);
  box-shadow: 0 10px 30px rgba(7,35,51,.04);
}
.ts-author-avatar img { border-radius: 18px; }
.ts-author-card h2 { margin: 0; color: var(--ts-heading); font-size: 21px; }
.ts-author-card p { margin: 7px 0 0; color: var(--ts-text); font-size: 13px; line-height: 1.65; }
.ts-related-guides { margin-top: 40px; }
.ts-related-guides .ts-section-head { margin-bottom: 18px; }
.ts-related-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.ts-related-grid .ts-loop-card .entry-summary { display: none; }
.ts-related-grid .ts-loop-card-body { padding: 16px; }
.ts-related-grid .ts-loop-card .entry-title { font-size: 17px; }
.ts-related-grid .ts-card-readmore { font-size: 12px; }
.ts-comments-shell { margin-top: 30px; padding: clamp(24px,4vw,38px); border: 1px solid var(--ts-line); border-radius: 22px; background: var(--ts-surface); box-shadow: 0 10px 30px rgba(7,35,51,.04); }

/* ------------------------------
   Category/archive hubs
   ------------------------------ */
.archive #content.site-content,
.category #content.site-content,
.tag #content.site-content { width: min(1380px, calc(100% - 40px)); }
.category #primary,
.archive #primary,
.tag #primary { float: none; width: 100%; }
.ts-archive-main,
.ts-category-library { min-width: 0; }
.ts-category-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1.3fr) 340px;
  align-items: center;
  gap: 42px;
  min-height: 420px;
  padding: clamp(40px,5vw,68px);
  border: 1px solid rgba(118,225,241,.12);
  border-radius: 30px;
  color: #d8edf4;
  background:
    radial-gradient(circle at 86% 18%, rgba(83,228,248,.24), transparent 27%),
    linear-gradient(122deg, #041827 0%, #082d43 56%, #087387 100%);
  box-shadow: 0 30px 80px rgba(3,32,48,.17);
}
.ts-category-hero:before { content:""; position:absolute; z-index:-1; width:520px; height:520px; right:-180px; bottom:-360px; border:1px solid rgba(255,255,255,.08); border-radius:50%; box-shadow:0 0 0 70px rgba(255,255,255,.02),0 0 0 140px rgba(255,255,255,.012); }
.ts-category-hero-copy { position: relative; z-index: 4; max-width: 830px; }
.ts-category-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: #a9cbd5; font-size: 12px; }
.ts-category-breadcrumb a { color: #d6f5fa; text-decoration: none; }
.ts-category-label { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: #8cecf8; font-size: 11px; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; }
.ts-category-label-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: rgba(64,219,241,.10); }
.ts-category-label-icon svg { width: 21px; height: 21px; }
.ts-category-hero h1 { margin: 0; color: #fff; font-size: clamp(50px,6vw,78px); line-height: .98; font-weight: 850; letter-spacing: -.065em; text-wrap: balance; }
.ts-category-description { max-width: 760px; margin: 20px 0 0; color: #c1dae3; font-size: 18px; line-height: 1.65; }
.ts-category-description p { margin: 0; color: inherit; }
.ts-category-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.ts-category-stat { min-width: 116px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.055); backdrop-filter: blur(10px); }
.ts-category-stat strong { display: block; color: #fff; font-size: 15px; line-height: 1.1; }
.ts-category-stat span { display: block; margin-top: 4px; color: #a9c7d1; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ts-category-all-link { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; color: #d4f5fa !important; font-size: 12px; font-weight: 730; text-decoration: none !important; }
.ts-category-all-link span { color: #77ebf9; transition: transform .22s ease; }
.ts-category-all-link:hover span { transform: translateX(4px); }
.ts-category-hero-visual { position: relative; z-index: 3; min-height: 290px; display: grid; place-items: center; transform: translate3d(calc(var(--ts-parallax-x) * 7px), calc(var(--ts-parallax-y) * 7px), 0); transition: transform .18s ease-out; }
.ts-category-hero-icon { position: relative; z-index: 4; width: 148px; height: 148px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 38px; color: #8ef0fb; background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.045)); box-shadow: inset 0 1px 0 rgba(255,255,255,.19), 0 28px 65px rgba(0,0,0,.24); backdrop-filter: blur(14px); animation: ts-logo-float 5.2s ease-in-out infinite; }
.ts-category-hero-icon svg { width: 72px; height: 72px; }
.ts-category-orbit { position: absolute; border: 1px solid rgba(137,236,249,.20); border-radius: 50%; }
.ts-category-orbit:after { content:""; position:absolute; width:9px; height:9px; top:-5px; left:50%; border-radius:50%; background:#6ce8f8; box-shadow:0 0 16px rgba(108,232,248,.9); }
.ts-category-orbit-a { width: 230px; height: 230px; animation: ts-spin 16s linear infinite; }
.ts-category-orbit-b { width: 292px; height: 292px; border-style: dashed; opacity: .65; animation: ts-spin-reverse 25s linear infinite; }
.ts-category-hero-chip { position: absolute; bottom: 2px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: #d3edf2; background: rgba(3,28,44,.55); font-size: 10px; font-weight: 720; backdrop-filter: blur(10px); }
.ts-category-hero-chip i { width: 6px; height: 6px; border-radius:50%; background:#70eafa; box-shadow:0 0 10px rgba(112,234,250,.85); }

.ts-category-explore { margin-top: 26px; padding: 22px; border: 1px solid var(--ts-line); border-radius: 22px; background: var(--ts-surface); box-shadow: 0 12px 34px rgba(7,35,51,.045); }
.ts-category-explore-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.ts-category-explore-head h2 { margin: 0; color: var(--ts-heading); font-size: 24px; line-height: 1.1; letter-spacing: -.038em; }
.ts-category-explore-head p { margin: 0; color: var(--ts-muted); font-size: 12px; }
.ts-category-explore-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.ts-category-mini-card { min-width: 0; position: relative; display: flex; align-items: center; gap: 9px; padding: 12px; overflow: hidden; border: 1px solid var(--ts-line); border-radius: 14px; color: var(--ts-text) !important; background: var(--ts-surface-2); text-decoration: none !important; transition: transform .24s ease, border-color .24s ease, background-color .24s ease, box-shadow .24s ease; }
.ts-category-mini-card:hover { transform: translateY(-4px); border-color: rgba(22,184,212,.35); background: var(--ts-brand-soft); box-shadow: 0 12px 28px rgba(7,35,51,.07); }
.ts-category-mini-icon { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items:center; border-radius: 10px; color: var(--ts-brand-strong); background: var(--ts-surface); }
.ts-category-mini-icon svg { width: 21px; height: 21px; }
.ts-category-mini-copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.ts-category-mini-copy strong { overflow: hidden; color: var(--ts-heading); font-size: 12px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.ts-category-mini-copy small { margin-top: 4px; color: var(--ts-muted); font-size: 9px; }
.ts-category-mini-arrow { margin-left: auto; color: var(--ts-muted); font-size: 12px; transition: transform .2s ease, color .2s ease; }
.ts-category-mini-card:hover .ts-category-mini-arrow { transform: translate(2px,-2px); color: var(--ts-brand-strong); }

.ts-category-spotlight { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(340px,.82fr); overflow: hidden; margin-top: 26px; border: 1px solid var(--ts-line); border-radius: 26px; background: var(--ts-surface); box-shadow: var(--ts-soft-shadow); }
.ts-category-spotlight-media { position: relative; min-height: 390px; display: block; overflow: hidden; background: var(--ts-surface-3); }
.ts-category-spotlight-media img,
.ts-category-spotlight-media .ts-media-placeholder { width: 100%; height: 100%; min-height: 390px; object-fit: cover; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.ts-category-spotlight:hover .ts-category-spotlight-media img { transform: scale(1.035); }
.ts-category-spotlight-media:after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, transparent 55%, rgba(3,26,42,.12)); pointer-events:none; }
.ts-category-spotlight-badge { position:absolute; z-index:3; left:18px; top:18px; display:inline-flex; align-items:center; gap:7px; padding:8px 10px; border:1px solid rgba(255,255,255,.22); border-radius:999px; color:#fff; background:rgba(3,26,42,.65); font-size:10px; font-weight:760; backdrop-filter:blur(10px); }
.ts-category-spotlight-badge i { width:6px; height:6px; border-radius:50%; background:#64e5f6; box-shadow:0 0 11px rgba(100,229,246,.9); }
.ts-category-spotlight-body { display:flex; flex-direction:column; justify-content:center; padding:clamp(28px,4vw,48px); }
.ts-category-spotlight-body h2 { margin: 4px 0 0; font-size: clamp(30px,3.4vw,43px); line-height:1.08; font-weight:800; letter-spacing:-.05em; text-wrap:balance; }
.ts-category-spotlight-body h2 a { color:var(--ts-heading); text-decoration:none; }
.ts-category-spotlight-meta { display:flex; flex-wrap:wrap; gap:6px; margin-top:14px; color:var(--ts-muted); font-size:11px; }
.ts-category-spotlight-body p { margin:17px 0 0; color:var(--ts-text); font-size:14px; line-height:1.7; }
.ts-category-spotlight-cta { display:inline-flex; align-items:center; gap:8px; align-self:flex-start; margin-top:22px; padding:10px 13px; border-radius:11px; color:#052b35 !important; background:var(--ts-brand); font-size:12px; font-weight:800; text-decoration:none !important; box-shadow:0 10px 24px rgba(22,184,212,.14); }
.ts-category-spotlight-cta span { transition:transform .2s ease; }
.ts-category-spotlight-cta:hover span { transform:translateX(4px); }

.ts-category-library { margin-top: 34px; }
.ts-category-toolbar { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:20px; }
.ts-category-toolbar h2 { margin:0; color:var(--ts-heading); font-size:clamp(29px,3vw,38px); line-height:1.08; letter-spacing:-.045em; }
.ts-category-search { width:min(390px,100%); height:48px; display:grid; grid-template-columns:20px minmax(0,1fr) auto; align-items:center; gap:9px; padding:4px 5px 4px 14px; border:1px solid var(--ts-line); border-radius:14px; background:var(--ts-surface); box-shadow:0 8px 24px rgba(7,35,51,.035); }
.ts-category-search > svg { width:18px; height:18px; color:var(--ts-muted); }
.ts-category-search input { min-width:0; width:100%; height:38px; padding:0; border:0 !important; outline:0; color:var(--ts-ink); background:transparent !important; font-size:12px; box-shadow:none !important; }
.ts-category-search input::placeholder { color:var(--ts-muted); }
.ts-category-search button { height:38px; padding:0 13px; border:0; border-radius:10px; color:#052b35; background:var(--ts-brand); font-size:11px; font-weight:800; cursor:pointer; }
.ts-category-content-layout { display:grid; grid-template-columns:minmax(0,1fr) 315px; gap:26px; align-items:start; }
.ts-category-content-layout.is-full { grid-template-columns:1fr; }
.ts-category-posts { min-width:0; }
.content-loop.ts-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.ts-category-grid .ts-loop-card { border-radius:21px !important; }
.ts-category-grid .thumbnail-wrap { aspect-ratio:16/9; }
.ts-category-grid .ts-loop-card-body { padding:19px; }
.ts-category-grid .entry-title { font-size:20px !important; }
.ts-category-rail { position:sticky; top:104px; width:100% !important; float:none !important; }
.ts-category-rail-intro { margin-bottom:18px; padding:20px; border:1px solid var(--ts-line); border-radius:19px; background:linear-gradient(145deg,var(--ts-surface),var(--ts-surface-2)); box-shadow:0 10px 30px rgba(7,35,51,.045); }
.ts-category-rail-icon { width:46px; height:46px; display:grid; place-items:center; margin-bottom:12px; border-radius:14px; color:var(--ts-brand-strong); background:var(--ts-brand-soft); }
.ts-category-rail-icon svg { width:27px; height:27px; }
.ts-category-rail-intro strong { display:block; color:var(--ts-heading); font-size:17px; }
.ts-category-rail-intro p { margin:7px 0 0; color:var(--ts-muted); font-size:12px; line-height:1.6; }
.ts-category-rail .widget { margin-bottom:18px; padding:18px; border-radius:19px; }
.ts-category-rail .widget:first-of-type { padding:13px; }
.ts-category-rail .widget img { border-radius:14px; }

/* Old archive selectors are kept harmless if another archive type uses them. */
html[data-theme="dark"] .ts-archive-featured,
html[data-theme="dark"] .ts-archive-rail .widget,
html[data-theme="dark"] .ts-related-topics { background: var(--ts-surface) !important; }
html[data-theme="dark"] .ts-related-list a { color: var(--ts-text) !important; background: var(--ts-surface-3); }
html[data-theme="dark"] .ts-loop-card { background: var(--ts-surface) !important; }

/* Faster/larger reveal window for long articles. Content is revealed before it
   reaches the viewport so the reader sees a larger continuous chunk. */
.ts-motion-ready .ts-article-content > .ts-reveal,
.ts-motion-ready .ts-article-content > .ts-content-reveal {
  transform: translateY(16px) scale(.997);
  filter: blur(1.2px);
  transition-duration: .54s, .60s, .50s;
}
.ts-motion-ready .ts-article-content > .is-visible { transform:translateY(0) scale(1); filter:blur(0); }

/* Dark mode details for forms, footer and comments. */
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] #site-bottom { background: #07131d; border-color: var(--ts-line); color: var(--ts-text); }
html[data-theme="dark"] .footer-nav a { color: var(--ts-text); }
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select { color: var(--ts-ink); background-color: var(--ts-surface-2); border-color: var(--ts-line); }
html[data-theme="dark"] .comment-list .comment-body,
html[data-theme="dark"] #respond { background: var(--ts-surface); border-color: var(--ts-line); }
html[data-theme="dark"] .pagination .page-numbers { color: var(--ts-text); }
html[data-theme="dark"] .ts-category-mini-icon { background: #0b1b27; }
html[data-theme="dark"] .ts-category-spotlight-cta { color: #042832 !important; }
html[data-theme="dark"] .ts-post-card-media,
html[data-theme="dark"] .content-loop .thumbnail-wrap { background: #102531; }

@media (max-width: 1179px) {
  .single #content.site-content,
  .archive #content.site-content,
  .category #content.site-content,
  .tag #content.site-content { width: min(1180px, calc(100% - 32px)); }
  .ts-single-hero { grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr); }
  .ts-single-layout { grid-template-columns:minmax(0,1fr) 295px; }
  .ts-category-hero { grid-template-columns:minmax(0,1.25fr) 300px; }
  .ts-category-explore-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .ts-category-content-layout { grid-template-columns:minmax(0,1fr) 285px; }
}

@media (max-width: 959px) {
  .ts-theme-toggle { margin-left:auto; }
  .header-search { margin-left:0; }
  .ts-single-hero,
  .ts-category-hero { grid-template-columns:1fr; }
  .ts-single-hero-media { min-height:320px; max-width:640px; width:100%; margin:0 auto; }
  .ts-single-media-card { width:min(82%,500px); }
  .ts-single-layout,
  .ts-category-content-layout { grid-template-columns:1fr; }
  .ts-single-rail,
  .ts-category-rail { position:static; }
  .ts-single-rail { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
  .ts-reading-card { margin:0; }
  .ts-single-widgets { display:contents; }
  .ts-single-widgets .widget { margin:0; }
  .ts-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ts-category-hero-visual { min-height:240px; }
  .ts-category-spotlight { grid-template-columns:1fr; }
  .ts-category-spotlight-media,
  .ts-category-spotlight-media img,
  .ts-category-spotlight-media .ts-media-placeholder { min-height:310px; }
  .ts-category-rail { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
  .ts-category-rail-intro,
  .ts-category-rail .widget { margin:0; }
}

@media (max-width: 767px) {
  .single #content.site-content,
  .archive #content.site-content,
  .category #content.site-content,
  .tag #content.site-content { width:min(100% - 24px, 720px); padding-top:20px; }
  .site-header .container { gap:10px; }
  .ts-theme-toggle { width:39px; height:39px; flex-basis:39px; }
  .ts-single-hero,
  .ts-category-hero { padding:30px 22px; border-radius:22px; }
  .ts-single-hero h1.entry-title { font-size:clamp(39px,11.5vw,56px); }
  .ts-single-lead { font-size:16px; }
  .ts-single-meta { gap:8px 13px; }
  .ts-single-hero-media { min-height:250px; }
  .ts-single-media-card { width:min(84%,430px); border-radius:19px; }
  .ts-single-media-orbit-a { width:225px; height:225px; }
  .ts-single-media-orbit-b { width:280px; height:280px; }
  .ts-single-media-badge { right:0; bottom:0; font-size:9px; }
  .ts-article-card { border-radius:20px; }
  .ts-article-toolbar { align-items:flex-start; padding:15px 19px; }
  .ts-article-toolbar-meta { flex-direction:column; align-items:flex-end; gap:3px; }
  .ts-article-content { padding:30px 21px 42px; font-size:16.5px !important; line-height:1.8 !important; }
  .ts-article-content > p:first-child { font-size:17.2px; }
  .ts-article-tags { padding:0 21px 28px; }
  .ts-single-rail { grid-template-columns:1fr; }
  .ts-post-navigation { grid-template-columns:1fr; }
  .ts-post-nav-item.is-next:only-child { grid-column:auto; }
  .ts-post-nav-item.is-next { text-align:left; }
  .ts-author-card { grid-template-columns:64px minmax(0,1fr); padding:20px; }
  .ts-author-avatar img { width:64px; height:64px; }
  .ts-related-grid { grid-template-columns:1fr; }
  .ts-category-hero h1 { font-size:clamp(42px,12vw,58px); }
  .ts-category-description { font-size:16px; }
  .ts-category-hero-visual { min-height:210px; }
  .ts-category-hero-icon { width:118px; height:118px; border-radius:29px; }
  .ts-category-hero-icon svg { width:56px; height:56px; }
  .ts-category-orbit-a { width:180px; height:180px; }
  .ts-category-orbit-b { width:225px; height:225px; }
  .ts-category-explore { padding:18px; }
  .ts-category-explore-head { align-items:flex-start; flex-direction:column; gap:6px; }
  .ts-category-explore-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ts-category-spotlight-media,
  .ts-category-spotlight-media img,
  .ts-category-spotlight-media .ts-media-placeholder { min-height:235px; }
  .ts-category-spotlight-body { padding:24px 20px; }
  .ts-category-toolbar { align-items:flex-start; flex-direction:column; }
  .ts-category-search { width:100%; }
  .content-loop.ts-category-grid { grid-template-columns:1fr; }
  .ts-category-rail { grid-template-columns:1fr; }
}

@media (max-width: 479px) {
  .header-search { display:none; }
  .ts-theme-toggle { margin-left:auto; }
  .ts-single-actions .ts-button { width:100%; justify-content:center; }
  .ts-single-hero-media { min-height:205px; }
  .ts-single-media-orbit-a { width:170px; height:170px; }
  .ts-single-media-orbit-b { width:205px; height:205px; }
  .ts-single-media-badge { display:none; }
  .ts-category-explore-grid { grid-template-columns:1fr; }
  .ts-category-mini-card { min-height:58px; }
  .ts-category-stat { min-width:100px; }
  .ts-category-all-link { width:100%; margin:2px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ts-single-media-card,
  .ts-theme-toggle,
  .ts-category-mini-card,
  .ts-post-nav-item { transform:none !important; }
}

/* ==============================================================
   TecnoSender 2.4 — topic landing pages, social hub & topic cards
   ============================================================== */

/* Topic cards on the home page: larger, clearer and no absolute-icon overlap. */
.ts-topic-section .ts-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ts-topic-section .ts-category-card {
  min-height: 118px;
  display: grid !important;
  grid-template-columns: 50px minmax(0, 1fr) 24px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 14px;
  row-gap: 4px;
  padding: 20px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--ts-surface), var(--ts-surface-2));
}
.ts-topic-section .ts-category-card:before {
  width: 150px;
  height: 150px;
  right: -58px;
  top: -72px;
  background: radial-gradient(circle, rgba(32,197,224,.20), rgba(32,197,224,0) 70%);
}
.ts-topic-section .ts-category-icon {
  position: static !important;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 50px;
  height: 50px;
  margin: 0 !important;
  border: 1px solid rgba(22,184,212,.14);
  border-radius: 15px;
  background: var(--ts-brand-soft);
  color: var(--ts-brand-strong);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.ts-topic-section .ts-category-icon svg { width: 27px; height: 27px; }
.ts-topic-section .ts-category-card strong {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  min-width: 0;
  margin: 0 !important;
  color: var(--ts-heading);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.025em;
}
.ts-topic-section .ts-category-card .ts-category-count {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin: 0 !important;
  color: var(--ts-muted) !important;
  font-size: 12px !important;
  line-height: 1.3;
}
.ts-topic-section .ts-category-arrow {
  position: static !important;
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  width: 30px;
  height: 30px;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  border: 1px solid var(--ts-line);
  border-radius: 50%;
  color: var(--ts-muted) !important;
  background: var(--ts-surface);
  font-size: 14px !important;
}
.ts-topic-section .ts-category-card:hover .ts-category-arrow {
  transform: translate(2px,-2px);
  border-color: rgba(22,184,212,.35);
  color: var(--ts-brand-strong) !important;
}

/* Home social / video hub. */
.ts-social-section { margin-top: 50px; }
.ts-social-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: 470px;
  padding: clamp(38px, 5vw, 68px);
  border: 1px solid rgba(94,218,239,.12);
  border-radius: 30px;
  color: #d9edf4;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,49,65,.20), transparent 24%),
    radial-gradient(circle at 68% 72%, rgba(37,213,239,.22), transparent 30%),
    linear-gradient(126deg, #061827 0%, #092b40 55%, #073f54 100%);
  box-shadow: 0 30px 76px rgba(3,29,45,.17);
}
.ts-social-showcase:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 540px;
  height: 540px;
  right: -170px;
  bottom: -385px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.012);
}
.ts-social-grid-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.9), transparent 78%);
}
.ts-social-main { position: relative; z-index: 2; max-width: 720px; }
.ts-social-main .ts-section-eyebrow { color: #6ce7f7; }
.ts-social-main h2 {
  margin: 0;
  max-width: 720px;
  color: #fff;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.ts-social-main > p {
  max-width: 650px;
  margin: 20px 0 0;
  color: #bdd8e2;
  font-size: 17px;
  line-height: 1.7;
}
.ts-social-youtube-cta {
  width: min(100%, 470px);
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) 28px;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  color: #fff !important;
  background: rgba(255,255,255,.065);
  box-shadow: 0 18px 42px rgba(0,0,0,.14);
  text-decoration: none !important;
  backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.ts-social-youtube-cta:hover {
  transform: translateY(-4px);
  border-color: rgba(255,82,91,.45);
  background: rgba(255,255,255,.10);
}
.ts-social-youtube-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ff2638;
  background: #fff;
  box-shadow: 0 10px 24px rgba(255,26,47,.16);
}
.ts-social-youtube-icon svg { width: 28px; height: 28px; }
.ts-social-youtube-cta > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.ts-social-youtube-cta strong { color: #fff; font-size: 14px; line-height: 1.3; }
.ts-social-youtube-cta small { margin-top: 3px; color: #aac9d5; font-size: 11px; }
.ts-social-cta-arrow { justify-self: end; color: #8de9f5; font-size: 18px; transition: transform .2s ease; }
.ts-social-youtube-cta:hover .ts-social-cta-arrow { transform: translate(3px,-3px); }
.ts-social-video-visual { position: relative; min-height: 330px; display: grid; place-items: center; perspective: 1000px; }
.ts-social-video-window {
  width: min(100%, 480px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: #07131d;
  box-shadow: 0 34px 80px rgba(0,0,0,.34);
  transform: perspective(900px) rotateY(calc(var(--ts-parallax-x,0) * -4deg)) rotateX(calc(var(--ts-parallax-y,0) * 3deg));
  transition: transform .18s ease-out;
}
.ts-social-video-top {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #0d202d;
}
.ts-social-video-top > span { width: 8px; height: 8px; border-radius: 50%; background: #395766; }
.ts-social-video-top > span:first-child { background: #ff5360; }
.ts-social-video-top > span:nth-child(2) { background: #ffc24d; }
.ts-social-video-top > span:nth-child(3) { background: #34d78a; }
.ts-social-video-top b { margin-left: 5px; color: #82a7b7; font-size: 10px; font-weight: 600; }
.ts-social-video-screen {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  background:
    radial-gradient(circle at 72% 18%, rgba(255,49,65,.28), transparent 24%),
    radial-gradient(circle at 25% 74%, rgba(33,210,237,.22), transparent 26%),
    linear-gradient(145deg, #071b2b, #0a3447 60%, #0c5264);
}
.ts-social-play {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  color: #ff2638;
  background: #fff;
  box-shadow: 0 22px 48px rgba(0,0,0,.24);
  animation: ts-social-pulse 3.4s ease-in-out infinite;
}
.ts-social-play svg { width: 50px; height: 50px; }
.ts-social-video-screen strong { color: #fff; font-size: 26px; line-height: 1.15; letter-spacing: -.035em; }
.ts-social-video-screen small { max-width: 310px; margin-top: 8px; color: #aacbd6; font-size: 11px; line-height: 1.5; }
@keyframes ts-social-pulse { 50% { transform: translateY(-5px) scale(1.025); box-shadow: 0 28px 60px rgba(0,0,0,.30); } }
.ts-social-network-row {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  margin-top: 14px;
}
.ts-social-network-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) 24px;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--ts-line);
  border-radius: 18px;
  color: var(--ts-text) !important;
  background: var(--ts-surface);
  box-shadow: 0 10px 30px rgba(7,35,51,.045);
  text-decoration: none !important;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.ts-social-network-card:hover { transform: translateY(-5px); border-color: rgba(22,184,212,.32); box-shadow: var(--ts-soft-shadow); }
.ts-social-network-icon { width: 48px; height: 48px; display: grid; place-items:center; border-radius: 14px; background: var(--ts-surface-2); }
.ts-social-network-icon svg { width: 26px; height: 26px; }
.ts-social-network-card.is-youtube .ts-social-network-icon { color: #ff2638; background: #fff2f3; }
.ts-social-network-card.is-instagram .ts-social-network-icon { color: #d82d83; background: #fff0f7; }
.ts-social-network-card.is-tiktok .ts-social-network-icon { color: var(--ts-heading); background: var(--ts-surface-3); }
.ts-social-network-card > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.ts-social-network-card strong { color: var(--ts-heading); font-size: 15px; line-height: 1.2; }
.ts-social-network-card small { overflow: hidden; margin-top: 4px; color: var(--ts-muted); font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.ts-social-network-card > b { justify-self: end; color: var(--ts-muted); font-size: 14px; transition: transform .2s ease, color .2s ease; }
.ts-social-network-card:hover > b { transform: translate(2px,-2px); color: var(--ts-brand-strong); }

/* Topic page: turn old static /windows/, /virtualbox/, etc. into premium hubs. */
body.ts-topic-hub-page #content.site-content {
  width: min(1420px, calc(100% - 40px));
  max-width: none;
  padding-top: 30px;
}
body.ts-topic-hub-page #primary.ts-topic-page-primary { width: 100%; float: none; }
body.ts-topic-hub-page .site-main {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.ts-topic-page-shell { width: 100%; }
.ts-topic-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(330px,.8fr);
  align-items: center;
  gap: clamp(34px,5vw,72px);
  min-height: 520px;
  padding: clamp(44px,5.4vw,76px);
  border: 1px solid rgba(112,227,243,.14);
  border-radius: 32px;
  color: #d9edf4;
  background:
    radial-gradient(circle at 88% 18%, rgba(65,222,243,.28), transparent 26%),
    radial-gradient(circle at 73% 88%, rgba(5,144,179,.24), transparent 34%),
    linear-gradient(122deg, #041827 0%, #082b40 55%, #086d82 100%);
  box-shadow: 0 32px 86px rgba(3,29,45,.17);
}
.ts-topic-page-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.9), transparent 84%);
}
.ts-topic-page-hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -210px;
  bottom: -395px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 50%;
  box-shadow: 0 0 0 78px rgba(255,255,255,.022), 0 0 0 156px rgba(255,255,255,.012);
}
.ts-topic-page-copy { position: relative; z-index: 3; max-width: 820px; }
.ts-topic-page-label { display: inline-flex; align-items:center; gap:9px; margin-bottom: 16px; color:#87eaf7; font-size:11px; font-weight:820; letter-spacing:.1em; text-transform:uppercase; }
.ts-topic-page-label-icon { width:31px; height:31px; display:grid; place-items:center; border-radius:10px; background:rgba(80,223,242,.10); }
.ts-topic-page-label-icon svg { width:21px; height:21px; }
.ts-topic-page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(56px,6.4vw,86px);
  line-height: .96;
  font-weight: 860;
  letter-spacing: -.07em;
  text-wrap: balance;
}
.ts-topic-page-copy > p { max-width: 760px; margin:22px 0 0; color:#c3dce4; font-size:18px; line-height:1.68; }
.ts-topic-page-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:27px; }
.ts-topic-page-actions .ts-button-ghost { border-color:rgba(255,255,255,.17); color:#d9f2f7 !important; background:rgba(255,255,255,.055); }
.ts-topic-page-actions .ts-button-ghost:hover { background:rgba(255,255,255,.10); }
.ts-topic-page-stats { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.ts-topic-page-stats > div { min-width:145px; padding:11px 13px; border:1px solid rgba(255,255,255,.12); border-radius:13px; background:rgba(255,255,255,.055); backdrop-filter:blur(10px); }
.ts-topic-page-stats strong { display:block; color:#fff; font-size:14px; line-height:1.2; }
.ts-topic-page-stats span { display:block; margin-top:4px; color:#9fc4d0; font-size:9px; letter-spacing:.035em; text-transform:uppercase; }
.ts-topic-page-visual { position:relative; min-height:360px; display:grid; place-items:center; transform:translate3d(calc(var(--ts-parallax-x,0) * 8px),calc(var(--ts-parallax-y,0) * 7px),0); transition:transform .18s ease-out; }
.ts-topic-visual-icon { position:relative; z-index:4; width:178px; height:178px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.17); border-radius:44px; color:#77e8f6; background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.045)); box-shadow:0 28px 68px rgba(0,0,0,.25); backdrop-filter:blur(16px); animation:ts-topic-icon-float 5.2s ease-in-out infinite; }
.ts-topic-visual-icon svg { width:88px; height:88px; }
@keyframes ts-topic-icon-float { 50% { transform: translateY(-8px) rotate(-1deg); } }
.ts-topic-visual-ring { position:absolute; border:1px solid rgba(119,232,246,.16); border-radius:50%; }
.ts-topic-visual-ring-a { width:270px; height:270px; animation:ts-orbit-spin 22s linear infinite; }
.ts-topic-visual-ring-b { width:350px; height:350px; border-style:dashed; opacity:.6; animation:ts-orbit-spin 30s linear infinite reverse; }
.ts-topic-visual-glow { position:absolute; width:220px; height:220px; border-radius:50%; background:rgba(51,221,242,.12); filter:blur(34px); }
.ts-topic-visual-chip { position:absolute; z-index:5; display:inline-flex; align-items:center; gap:7px; padding:9px 11px; border:1px solid rgba(255,255,255,.14); border-radius:12px; color:#d9edf4; background:rgba(3,29,45,.54); box-shadow:0 16px 35px rgba(0,0,0,.17); backdrop-filter:blur(12px); font-size:10px; }
.ts-topic-visual-chip b { color:#73e9f7; font-size:10px; }
.ts-topic-visual-chip-a { left:0; top:56px; animation:ts-chip-float 5.1s ease-in-out infinite; }
.ts-topic-visual-chip-b { right:0; top:128px; animation:ts-chip-float 5.6s ease-in-out infinite -1.2s; }
.ts-topic-visual-chip-c { left:40px; bottom:38px; animation:ts-chip-float 5.9s ease-in-out infinite -2.1s; }

.ts-topic-jumpbar {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--ts-line);
  border-radius: 18px;
  background: var(--ts-surface);
  box-shadow: 0 10px 28px rgba(7,35,51,.04);
}
.ts-topic-jumpbar-label { color:var(--ts-muted); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; white-space:nowrap; }
.ts-topic-jumpbar-links { min-width:0; display:flex; align-items:center; gap:8px; overflow-x:auto; scrollbar-width:none; }
.ts-topic-jumpbar-links::-webkit-scrollbar { display:none; }
.ts-topic-jumpbar a { flex:0 0 auto; display:inline-flex; align-items:center; gap:7px; min-height:38px; padding:7px 10px; border:1px solid var(--ts-line); border-radius:11px; color:var(--ts-text) !important; background:var(--ts-surface-2); text-decoration:none !important; font-size:11px; font-weight:720; transition:transform .2s ease,border-color .2s ease,background-color .2s ease; }
.ts-topic-jumpbar a:hover { transform:translateY(-2px); border-color:rgba(22,184,212,.35); background:var(--ts-brand-soft); }
.ts-topic-jumpbar a span { width:25px; height:25px; display:grid; place-items:center; border-radius:8px; color:var(--ts-brand-strong); background:var(--ts-surface); }
.ts-topic-jumpbar a svg { width:16px; height:16px; }

.ts-topic-start,
.ts-topic-library { margin-top: 50px; }
.ts-topic-section-heading { position:relative; display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:20px; }
.ts-topic-section-heading > div:first-child { min-width:0; }
.ts-topic-section-heading h2 { margin:0; color:var(--ts-heading); font-size:clamp(32px,3.6vw,46px); line-height:1.04; font-weight:830; letter-spacing:-.052em; text-wrap:balance; }
.ts-topic-section-heading p { margin:9px 0 0; color:var(--ts-muted); font-size:13px; line-height:1.55; }
.ts-topic-section-number { flex:0 0 auto; color:rgba(7,24,39,.07); font-size:clamp(54px,7vw,88px); font-weight:900; line-height:.8; letter-spacing:-.08em; user-select:none; }
html[data-theme="dark"] .ts-topic-section-number { color:rgba(220,244,249,.055); }

.ts-topic-feature-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr); gap:18px; }
.ts-topic-feature-main { overflow:hidden; border:1px solid var(--ts-line); border-radius:26px; background:var(--ts-surface); box-shadow:var(--ts-soft-shadow); }
.ts-topic-feature-media { position:relative; display:block; aspect-ratio:16/9; overflow:hidden; background:var(--ts-surface-3); }
.ts-topic-feature-media img,
.ts-topic-feature-media .ts-media-placeholder { width:100%; height:100%; object-fit:cover; transition:transform .6s cubic-bezier(.2,.8,.2,1); }
.ts-topic-feature-main:hover .ts-topic-feature-media img { transform:scale(1.035); }
.ts-topic-feature-overlay { position:absolute; inset:0; background:linear-gradient(180deg,transparent 58%,rgba(3,25,40,.38)); pointer-events:none; }
.ts-topic-feature-badge { position:absolute; left:16px; top:16px; display:inline-flex; align-items:center; gap:7px; padding:8px 10px; border:1px solid rgba(255,255,255,.20); border-radius:999px; color:#fff; background:rgba(3,27,43,.64); font-size:10px; font-weight:800; backdrop-filter:blur(10px); }
.ts-topic-feature-badge i { width:6px; height:6px; border-radius:50%; background:#65e6f7; box-shadow:0 0 10px rgba(101,230,247,.9); }
.ts-topic-feature-body { padding:24px 25px 26px; }
.ts-topic-feature-meta { display:flex; flex-wrap:wrap; gap:6px; color:var(--ts-muted); font-size:11px; }
.ts-topic-feature-body h3 { margin:9px 0 0; font-size:clamp(27px,3vw,38px); line-height:1.09; letter-spacing:-.045em; }
.ts-topic-feature-body h3 a { color:var(--ts-heading); text-decoration:none; }
.ts-topic-feature-body p { margin:14px 0 0; color:var(--ts-text); font-size:14px; line-height:1.7; }
.ts-topic-feature-cta { display:inline-flex; align-items:center; gap:8px; margin-top:18px; color:var(--ts-brand-strong) !important; font-size:12px; font-weight:820; text-decoration:none !important; }
.ts-topic-feature-cta span { transition:transform .2s ease; }
.ts-topic-feature-cta:hover span { transform:translateX(4px); }
.ts-topic-feature-side { display:grid; grid-template-rows:repeat(2,minmax(0,1fr)); gap:18px; }
.ts-topic-feature-small { overflow:hidden; display:grid; grid-template-columns:minmax(125px,.9fr) minmax(0,1.1fr); border:1px solid var(--ts-line); border-radius:22px; background:var(--ts-surface); box-shadow:0 12px 32px rgba(7,35,51,.05); }
.ts-topic-feature-small-media { min-height:100%; overflow:hidden; background:var(--ts-surface-3); }
.ts-topic-feature-small-media img,
.ts-topic-feature-small-media .ts-media-placeholder { width:100%; height:100%; min-height:100%; object-fit:cover; transition:transform .45s ease; }
.ts-topic-feature-small:hover .ts-topic-feature-small-media img { transform:scale(1.045); }
.ts-topic-feature-small-body { min-width:0; display:flex; flex-direction:column; justify-content:center; padding:18px; }
.ts-topic-feature-step { color:var(--ts-brand-strong); font-size:11px; font-weight:850; letter-spacing:.10em; }
.ts-topic-feature-small h3 { margin:8px 0 0; font-size:18px; line-height:1.25; letter-spacing:-.025em; }
.ts-topic-feature-small h3 a { color:var(--ts-heading); text-decoration:none; }
.ts-topic-feature-small-body > div { display:flex; flex-wrap:wrap; gap:5px; margin-top:10px; color:var(--ts-muted); font-size:9px; }

.ts-topic-library-head { align-items:center; }
.ts-topic-library-head .ts-category-search { margin-left:auto; }
.ts-topic-library-layout { display:grid; grid-template-columns:minmax(0,1fr) 315px; gap:26px; align-items:start; }
.ts-topic-library-layout.is-full { grid-template-columns:1fr; }
.ts-topic-library-main { min-width:0; }
.content-loop.ts-topic-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.ts-topic-card-grid .ts-loop-card { border-radius:22px !important; }
.ts-topic-card-grid .thumbnail-wrap { aspect-ratio:16/9; }
.ts-topic-card-grid .ts-loop-card-body { padding:20px; }
.ts-topic-card-grid .entry-title { font-size:20px !important; }
.ts-topic-rail { position:sticky; top:105px; width:100% !important; float:none !important; }
.ts-topic-rail-card { margin-bottom:18px; padding:20px; border:1px solid var(--ts-line); border-radius:20px; background:linear-gradient(145deg,var(--ts-surface),var(--ts-surface-2)); box-shadow:0 12px 32px rgba(7,35,51,.05); }
.ts-topic-rail-icon { width:52px; height:52px; display:grid; place-items:center; margin-bottom:14px; border-radius:15px; color:var(--ts-brand-strong); background:var(--ts-brand-soft); }
.ts-topic-rail-icon svg { width:30px; height:30px; }
.ts-topic-rail-card .ts-section-eyebrow { margin-bottom:5px; }
.ts-topic-rail-card strong { display:block; color:var(--ts-heading); font-size:20px; line-height:1.15; letter-spacing:-.025em; }
.ts-topic-rail-card p { margin:9px 0 0; color:var(--ts-muted); font-size:12px; line-height:1.6; }
.ts-topic-rail .widget { margin-bottom:18px; padding:18px; border-radius:20px; }
.ts-topic-rail .widget:first-of-type { padding:13px; }
.ts-topic-rail .widget img { border-radius:15px; }

/* Dark mode polish for new areas. */
html[data-theme="dark"] .ts-topic-section .ts-category-card,
html[data-theme="dark"] .ts-social-network-card,
html[data-theme="dark"] .ts-topic-jumpbar,
html[data-theme="dark"] .ts-topic-feature-main,
html[data-theme="dark"] .ts-topic-feature-small,
html[data-theme="dark"] .ts-topic-rail-card { background:var(--ts-surface); }
html[data-theme="dark"] .ts-social-network-card.is-youtube .ts-social-network-icon { background:#2b171c; }
html[data-theme="dark"] .ts-social-network-card.is-instagram .ts-social-network-icon { background:#2b1725; }
html[data-theme="dark"] .ts-social-network-card.is-tiktok .ts-social-network-icon { background:#162a35; }
html[data-theme="dark"] .ts-topic-jumpbar a { background:var(--ts-surface-2); }
html[data-theme="dark"] .ts-topic-jumpbar a span { background:#0b1b27; }

/* New reveal surfaces. */
.ts-motion-ready .ts-social-showcase,
.ts-motion-ready .ts-social-network-card,
.ts-motion-ready .ts-topic-page-hero,
.ts-motion-ready .ts-topic-jumpbar,
.ts-motion-ready .ts-topic-feature-main,
.ts-motion-ready .ts-topic-feature-small,
.ts-motion-ready .ts-topic-library-head,
.ts-motion-ready .ts-topic-rail > * {
  opacity:0;
  transform:translateY(24px) scale(.992);
  transition:opacity .58s ease,transform .68s cubic-bezier(.2,.8,.2,1);
  transition-delay:var(--ts-reveal-delay,0ms);
}
.ts-motion-ready .ts-social-showcase.is-visible,
.ts-motion-ready .ts-social-network-card.is-visible,
.ts-motion-ready .ts-topic-page-hero.is-visible,
.ts-motion-ready .ts-topic-jumpbar.is-visible,
.ts-motion-ready .ts-topic-feature-main.is-visible,
.ts-motion-ready .ts-topic-feature-small.is-visible,
.ts-motion-ready .ts-topic-library-head.is-visible,
.ts-motion-ready .ts-topic-rail > *.is-visible {
  opacity:1;
  transform:translateY(0) scale(1);
}

@media (max-width: 1180px) {
  .ts-topic-section .ts-categories { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .ts-social-showcase { grid-template-columns:minmax(0,1fr) 380px; }
  .ts-topic-page-hero { grid-template-columns:minmax(0,1.18fr) 330px; }
  .ts-topic-feature-grid { grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr); }
  .ts-topic-library-layout { grid-template-columns:minmax(0,1fr) 285px; }
}

@media (max-width: 959px) {
  .ts-topic-section .ts-categories { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ts-social-showcase { grid-template-columns:1fr; }
  .ts-social-video-visual { min-height:300px; }
  .ts-social-video-window { width:min(100%,650px); }
  .ts-social-network-row { grid-template-columns:1fr 1fr; }
  body.ts-topic-hub-page #content.site-content { width:min(100% - 30px, 940px); }
  .ts-topic-page-hero { grid-template-columns:1fr; }
  .ts-topic-page-visual { min-height:300px; }
  .ts-topic-feature-grid { grid-template-columns:1fr; }
  .ts-topic-feature-side { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto; }
  .ts-topic-feature-small { grid-template-columns:1fr; }
  .ts-topic-feature-small-media { aspect-ratio:16/9; }
  .ts-topic-library-layout { grid-template-columns:1fr; }
  .ts-topic-rail { position:static; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
  .ts-topic-rail-card,
  .ts-topic-rail .widget { margin:0; }
}

@media (max-width: 767px) {
  .ts-social-showcase { min-height:0; padding:30px 22px; border-radius:22px; }
  .ts-social-main h2 { font-size:clamp(39px,11vw,56px); }
  .ts-social-main > p { font-size:15px; }
  .ts-social-network-row { grid-template-columns:1fr; }
  .ts-topic-page-hero { min-height:0; padding:32px 22px; border-radius:23px; }
  .ts-topic-page-hero h1 { font-size:clamp(46px,12vw,64px); }
  .ts-topic-page-copy > p { font-size:16px; }
  .ts-topic-page-stats > div { min-width:calc(50% - 6px); }
  .ts-topic-page-visual { min-height:245px; }
  .ts-topic-visual-icon { width:130px; height:130px; border-radius:32px; }
  .ts-topic-visual-icon svg { width:64px; height:64px; }
  .ts-topic-visual-ring-a { width:205px; height:205px; }
  .ts-topic-visual-ring-b { width:265px; height:265px; }
  .ts-topic-visual-chip-a { left:0; top:36px; }
  .ts-topic-visual-chip-b { right:0; top:106px; }
  .ts-topic-visual-chip-c { left:20px; bottom:22px; }
  .ts-topic-jumpbar { grid-template-columns:1fr; gap:9px; }
  .ts-topic-section-heading { align-items:flex-start; flex-direction:column; }
  .ts-topic-section-number { position:absolute; right:0; top:4px; }
  .ts-topic-library-head .ts-category-search { width:100%; margin:4px 0 0; }
  .ts-topic-feature-side { grid-template-columns:1fr; }
  .ts-topic-feature-small { grid-template-columns:145px minmax(0,1fr); }
  .content-loop.ts-topic-card-grid { grid-template-columns:1fr; }
  .ts-topic-rail { grid-template-columns:1fr; }
}

@media (max-width: 520px) {
  .ts-topic-section .ts-categories { grid-template-columns:1fr; }
  .ts-topic-section .ts-category-card { min-height:104px; }
  .ts-social-video-screen { min-height:230px; padding:24px; }
  .ts-social-play { width:72px; height:72px; border-radius:22px; }
  .ts-social-play svg { width:42px; height:42px; }
  .ts-social-video-screen strong { font-size:22px; }
  body.ts-topic-hub-page #content.site-content { width:min(100% - 20px, 520px); padding-top:18px; }
  .ts-topic-page-stats > div { min-width:100%; }
  .ts-topic-feature-small { grid-template-columns:1fr; }
  .ts-topic-feature-small-media { aspect-ratio:16/9; }
}

@media (prefers-reduced-motion: reduce) {
  .ts-social-play,
  .ts-topic-visual-icon,
  .ts-topic-visual-ring,
  .ts-topic-visual-chip { animation:none !important; }
  .ts-social-video-window,
  .ts-topic-page-visual { transform:none !important; }
}

/* Footer social shortcuts */
.ts-footer-social { display:flex; align-items:center; gap:8px; margin-left:auto; }
.ts-footer-social a { width:36px; height:36px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.12); border-radius:11px; color:#d8edf4 !important; background:rgba(255,255,255,.045); text-decoration:none !important; transition:transform .2s ease,border-color .2s ease,background-color .2s ease; }
.ts-footer-social a:hover { transform:translateY(-3px); border-color:rgba(87,222,241,.35); background:rgba(255,255,255,.085); }
.ts-footer-social svg { width:19px; height:19px; }
@media (max-width:767px) { .ts-footer-social { margin:14px 0 0; } }
