/* TecnoAndroid — design system Claude (standalone) */

:root{
  --ta-ink:#0B0E11;
  --ta-color-bg:#FFFFFF;
  --ta-color-text:#12151C;
  --ta-color-text-secondary:#4B5162;
  --ta-color-surface:#F4F5F7;
  --ta-color-border:#E3E5EA;
  --ta-color-accent:#0B0E11;
  --ta-color-secondary:#D6FF3E;
  --ta-color-offer:#FF3B3B;
  --ta-color-link:#0B0E11;
  --ta-color-link-hover:#3D63FF;
  --ta-font-heading:'Poppins',Verdana,sans-serif;
  --ta-font-body:'Poppins',Verdana,sans-serif;
  --ta-font-size-base:18px;
  --ta-container:1280px;
  --ta-radius:8px;
  --ta-gutter:24px;
  --ta-header-height:64px;
  --ta-header-height-mobile:56px;
  --ta-header-bg:#FFFFFF;
  --ta-header-text:#12151C;
  --ta-header-muted:#6B7280;
  --ta-header-border:#E3E5EA;
  --ta-header-surface:#F4F5F7;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--ta-font-body);
  font-size:var(--ta-font-size-base);
  line-height:1.75;
  color:var(--ta-color-text);
  background:var(--ta-color-bg);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--ta-color-link);text-decoration:none}
a:hover{color:var(--ta-color-link-hover)}
.ta-skip-link{position:absolute;left:-9999px;top:0;background:#000;color:#fff;padding:8px 12px;z-index:9999}
.ta-skip-link:focus{left:8px;top:8px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.ta-container{max-width:var(--ta-container);margin:0 auto;padding:0 16px;width:100%;box-sizing:border-box}
@media(min-width:1024px){.ta-container{padding:0 var(--ta-gutter)}}

/* Buttons */
.ta-btn{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--ta-color-accent);color:#fff;font-weight:700;font-size:14px;
  padding:11px 20px;border-radius:var(--ta-radius);border:none;cursor:pointer;text-decoration:none;
}
.ta-btn:hover{opacity:.9;color:#fff}
.ta-btn-accent{background:var(--ta-color-secondary);color:var(--ta-ink)}
.ta-btn-accent:hover{color:var(--ta-ink);opacity:.88}
.ta-btn-offer{background:var(--ta-color-secondary);color:var(--ta-ink);padding:9px 16px;font-size:13.5px;white-space:nowrap}
.ta-btn-telegram{background:#2AABEE;color:#fff}

/* ===== HEADER (light stacked) ===== */
.ta-site-header{
  position:relative;z-index:100;
  background:#fff;
  color:var(--ta-header-text,#12151C);
  border-bottom:1px solid #E8EAEE;
  transition:box-shadow .2s ease;
}
.ta-site-header.is-sticky{position:sticky;top:0}
.ta-site-header.is-scrolled{box-shadow:0 6px 20px rgba(11,14,17,.06)}
.ta-header-shell{padding-top:10px;padding-bottom:0}
.ta-header-top{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  min-height:48px;
}
.ta-header-brand{flex-shrink:0;display:flex;align-items:center}
.ta-logo{display:inline-flex;align-items:center;max-width:100%;line-height:0}
.ta-logo img,
.ta-logo-img{
  max-width:min(100%,var(--ta-logo-max-w,200px));
  max-height:var(--ta-logo-max-h,44px);
  width:auto;height:auto;display:block;object-fit:contain;
}
.ta-logo--text,.ta-logo-text{font-family:var(--ta-font-heading);font-weight:700;font-size:19px;color:var(--ta-header-text);letter-spacing:-.01em;gap:8px}
.ta-logo-mark{width:34px;height:34px;border-radius:8px;background:var(--ta-color-secondary);color:var(--ta-ink);display:inline-flex;align-items:center;justify-content:center;font-size:17px;flex-shrink:0}
.ta-logo-accent{color:#7CB342}
.ta-logo-word{color:var(--ta-header-text)}
.ta-logo-mobile-wrap{display:none}
.ta-logo--mobile img,
.ta-logo-mobile-wrap .ta-logo img{
  max-width:min(100%,var(--ta-logo-max-w-mobile,148px));
  max-height:var(--ta-logo-max-h,40px);
}

/* Menu sotto: niente barra, solo link compatti */
.ta-nav-primary{
  display:none;
  margin:2px 0 0;
  padding:0 0 8px;
  border:0;
  background:transparent;
}
.ta-menu{
  display:flex;align-items:center;justify-content:flex-start;gap:2px;
  list-style:none;margin:0;padding:0;
  flex-wrap:wrap;
}
.ta-menu > li{position:relative}
.ta-menu > li > a{
  font-size:13.5px;font-weight:700;color:#3A4050;
  padding:6px 10px;border-radius:0;white-space:nowrap;display:inline-flex;align-items:center;gap:6px;
  background:transparent;border-bottom:2px solid transparent;opacity:1;text-shadow:none;
  transition:color .15s ease,border-color .15s ease;
}
.ta-menu > li > a:hover,
.ta-menu > li > a:focus-visible{
  background:transparent;color:#0B0E11;outline:none;
  border-bottom-color:#D6FF3E;
}
.ta-menu .current-menu-item > a,
.ta-menu .current_page_item > a{
  color:#0B0E11;
  background:transparent;
  border-bottom-color:#D6FF3E;
}
.ta-menu .sub-menu{
  display:none;position:absolute;top:100%;left:0;min-width:200px;margin:0;padding:8px 0;
  list-style:none;background:#fff;border:1px solid #E3E5EA;border-radius:10px;
  box-shadow:0 12px 28px rgba(11,14,17,.1);z-index:120;
}
.ta-menu > li:hover > .sub-menu,.ta-menu > li:focus-within > .sub-menu{display:block}
.ta-menu .sub-menu a{
  display:block;padding:10px 14px;border-radius:0;font-weight:600;color:#12151C;border:0;
}
.ta-menu .sub-menu a:hover{background:#F4F5F7;color:#0B0E11}
.ta-nav-dot{width:7px;height:7px;border-radius:50%;background:var(--ta-nav-dot,#D6FF3E);flex-shrink:0;display:none}

.ta-header-actions{display:flex;align-items:center;gap:6px;margin-left:auto;flex-shrink:0}
.ta-icon-btn{
  border:1px solid transparent;background:transparent;cursor:pointer;
  width:36px;height:36px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;
  color:#3A4050;
}
.ta-icon-btn:hover{background:#F4F5F7;color:#0B0E11}
.ta-dark-toggle{border-color:#E3E5EA;background:#F7F8FA}
.ta-header-social{display:none;align-items:center;gap:4px}
.ta-header-social-icons{display:flex;align-items:center;gap:5px;flex-wrap:nowrap}
.ta-header-social .ta-soc-btn{
  width:30px;height:30px;border-radius:9px;box-shadow:none;
}
.ta-header-social .ta-soc-btn:hover{transform:translateY(-1px);box-shadow:none}
.ta-header-social .ta-soc-btn svg{width:13px;height:13px}
.ta-soc{
  width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;
  color:#6B7280;font-size:13px;font-weight:700;
}
.ta-soc:hover{background:#F4F5F7;color:#0B0E11}
.ta-mobile-social{
  padding:8px 16px 4px;
  border-top:1px solid #E3E5EA;
  margin-top:8px;
}
.ta-mobile-social-label{
  display:block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:#6B7280;margin-bottom:10px;
}
.ta-mobile-social-icons{display:flex;flex-wrap:wrap;gap:8px}
.ta-mobile-social .ta-soc-btn{width:38px;height:38px;border-radius:10px;box-shadow:none}

/* Ticker nascosto nello stacked header (niente barra nera) */
.ta-site-header--stack .ta-ticker{display:none!important}
.ta-ticker{
  display:flex;align-items:center;gap:10px;height:34px;padding:0 16px;
  background:#F4F5F7;overflow:hidden;white-space:nowrap;border-bottom:1px solid #E8EAEE;
}
.ta-ticker-label{
  flex-shrink:0;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ta-color-offer);display:inline-flex;align-items:center;gap:6px;
}
.ta-ticker-label::before{
  content:"";width:6px;height:6px;border-radius:50%;background:var(--ta-color-offer);
  animation:ta-pulse 1.6s ease-in-out infinite;
}
.ta-ticker-track{min-width:0;flex:1;overflow:hidden}
.ta-ticker-item{font-size:13px;color:#3A4050;display:block;overflow:hidden;text-overflow:ellipsis}
.ta-ticker-item:hover{color:var(--ta-color-offer)}

.ta-search-panel{
  padding:12px 0;border-top:1px solid #E8EAEE;background:#fff;
  width:100%;max-width:100%;box-sizing:border-box;overflow-x:clip;
}
.ta-search-form{
  display:flex;gap:8px;align-items:center;
  width:100%;min-width:0;box-sizing:border-box;
}
/* Desktop: align with site content column (not full viewport).
   Mobile fix used max-width:100% which overrode .ta-container — restore here. */
.ta-search-form.ta-container,
.ta-search-form{
  max-width:var(--ta-container);
  margin-left:auto;
  margin-right:auto;
}
.ta-search-form input{
  flex:1 1 auto;min-width:0;width:100%;max-width:100%;
  padding:10px 12px;border:1px solid #E3E5EA;border-radius:8px;
  background:#fff;color:#12151C;font:inherit;box-sizing:border-box;
}
.ta-search-form .ta-btn,
.ta-search-form button[type="submit"]{
  flex:0 0 auto;white-space:nowrap;
}
@media(max-width:1023px){
  .ta-search-panel{padding:10px 0}
  .ta-search-form.ta-container,
  .ta-search-form{max-width:100%}
  .ta-search-form .ta-btn,
  .ta-search-form button[type="submit"]{padding:10px 14px}
}

.ta-mobile-drawer{position:fixed;inset:0;background:#fff;z-index:200;overflow:auto;color:#12151C}
.ta-mobile-drawer-bar{display:flex;align-items:center;justify-content:space-between;height:64px;padding:0 16px;border-bottom:1px solid #E3E5EA;font-family:var(--ta-font-heading);font-weight:700;font-size:19px;color:#12151C}
.ta-menu-mobile{list-style:none;margin:0;padding:8px 16px 24px}
.ta-menu-mobile a{display:flex;align-items:center;gap:10px;padding:14px 4px;border-bottom:1px solid #E3E5EA;font-size:17px;font-weight:700;color:#12151C}
.ta-menu-mobile a:hover{color:#3D63FF}
.ta-menu-mobile .ta-nav-dot{display:inline-block}
.ta-mobile-offer{display:block;margin:16px;text-align:center}

@media(min-width:1024px){
  .ta-nav-primary,[data-desktop-nav]{display:block}
  .ta-nav-primary .ta-menu{display:flex}
  .ta-header-social,[data-desktop-social]{display:flex}
  .ta-btn-offer[data-desktop-offer]{display:inline-flex}
  .ta-menu-toggle,[data-mobile-toggle]{display:none}
}
@media(max-width:1023px){
  .ta-header-shell{padding-top:8px;padding-bottom:8px}
  .ta-header-top{min-height:44px}
  .ta-logo--desktop{display:none}
  .ta-logo-mobile-wrap{display:inline}
  .ta-btn-offer[data-desktop-offer]{display:none}
  .ta-header-social{display:none!important}
}

/* ===== HOMEPAGE ===== */
.ta-homepage{padding:24px 0 60px}
.ta-ad-wrap{display:flex;justify-content:center;padding-top:16px;margin-bottom:8px}
.ta-ad-slot{display:flex;justify-content:center;align-items:center;width:100%;max-width:100%;overflow:hidden;box-sizing:border-box;min-height:90px}
.ta-ad-slot.ta-ad-mid_content,.ta-ad-slot.ta-ad-after_featured,.ta-ad-slot.ta-ad-after_content,.ta-ad-slot.ta-ad-before_related,.ta-ad-slot.ta-ad-homepage_rectangle,.ta-ad-slot.ta-ad-sidebar_top,.ta-ad-slot.ta-ad-sidebar_bottom{min-height:250px}
.ta-ad-slot.ta-ad-sticky_mobile{position:fixed;left:0;right:0;bottom:0;z-index:9990;min-height:50px}
@media(min-width:769px){.ta-ad-slot.ta-ad-sticky_mobile{display:none!important}.ta-ad-slot.ta-ad-mid_content,.ta-ad-slot.ta-ad-after_featured,.ta-ad-slot.ta-ad-after_content,.ta-ad-slot.ta-ad-before_related{min-height:280px}.ta-ad-slot.ta-ad-sidebar_bottom{min-height:600px}}

.ta-home-hero{
  display:grid;grid-template-columns:1fr 340px;gap:24px;margin-bottom:32px;
  min-width:0;max-width:100%;
}
.ta-hero-slider{position:relative;border-radius:16px;overflow:hidden;aspect-ratio:16/9;background:var(--ta-ink);min-height:280px;min-width:0;max-width:100%;width:100%}
.ta-hero-slide{
  position:absolute;inset:0;opacity:0;pointer-events:none;
  transition:opacity .35s ease;z-index:0;
  max-width:100%;
}
.ta-hero-slide.is-active{
  opacity:1;pointer-events:auto;z-index:1;
}
.ta-hero-slide[hidden]{display:block!important;opacity:0;pointer-events:none;z-index:0}
.ta-hero-slide.is-active[hidden]{opacity:1;pointer-events:auto;z-index:1}
.ta-hero-slide-link{display:block;width:100%;height:100%;color:#fff;position:relative}
.ta-hero-slide-media{position:absolute;inset:0;background:#1a1d22}
.ta-hero-slide-media img{width:100%;height:100%;object-fit:cover;display:block}
.ta-hero-slide-gradient{position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,14,17,0) 35%,rgba(11,14,17,.92) 100%);z-index:1}
.ta-hero-slide-body{position:absolute;left:0;right:0;bottom:0;padding:28px;display:flex;flex-direction:column;gap:12px;z-index:2;max-width:100%;box-sizing:border-box}
/* Dark solid chip: readable on any slide (lime/yellow --ta-cat + light fg was unreadable). */
.ta-hero-cat{
  align-self:flex-start;
  background:rgba(11,14,17,.92);
  color:#fff;
  font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  padding:6px 14px;border-radius:8px;
  border-left:3px solid var(--ta-cat,var(--ta-color-secondary,#D6FF3E));
  box-shadow:0 2px 10px rgba(0,0,0,.35);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  text-shadow:0 1px 1px rgba(0,0,0,.35);
}
.ta-hero-slide-title{margin:0;font-family:var(--ta-font-heading);font-weight:700;font-size:clamp(26px,3.6vw,42px);line-height:1.14;letter-spacing:-.01em;max-width:100%;color:#fff;overflow-wrap:anywhere;word-break:break-word}
.ta-hero-slide-excerpt{margin:0;font-size:15.5px;color:#D8DAD4;max-width:620px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ta-hero-slide-meta{font-size:13px;color:#B7BCC6}
/* Hero prev/next arrows removed from UI (dots + swipe remain). */
.ta-hero-nav,.ta-hero-prev,.ta-hero-next{display:none!important}
.ta-hero-dots{position:absolute;bottom:14px;right:16px;display:flex;gap:6px;z-index:3}
.ta-hero-dot{width:6px;height:6px;border-radius:3px;border:none;padding:0;background:rgba(255,255,255,.35);cursor:pointer}
.ta-hero-dot.is-active{width:18px;background:#fff}

.ta-ultimora{background:var(--ta-color-surface);border-radius:12px;padding:18px;display:flex;flex-direction:column;min-width:0}
.ta-ultimora-all{
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-size:14px;font-weight:700;color:#fff;background:var(--ta-ink);
  padding:12px 18px;border-radius:24px;margin-bottom:16px;
}
.ta-ultimora-all:hover{opacity:.88;color:#fff}
.ta-ultimora-head{display:flex;align-items:center;gap:8px;margin-bottom:14px}
.ta-pulse{width:8px;height:8px;border-radius:50%;background:var(--ta-color-offer);animation:ta-pulse 1.6s ease-in-out infinite}
.ta-ultimora-label{font-family:var(--ta-font-heading);font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.04em}
.ta-ultimora-item{display:flex;gap:10px;padding:10px 0;border-top:1px solid var(--ta-color-border);color:inherit}
.ta-ultimora-item:hover{opacity:.7}
.ta-ultimora-item time{font-size:12px;color:var(--ta-color-text-secondary);flex-shrink:0;width:44px;font-variant-numeric:tabular-nums}
.ta-ultimora-item span{font-size:13.5px;line-height:1.4;font-weight:500}

.ta-secondary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:40px}

.ta-home-rail{display:grid;grid-template-columns:1fr 340px;gap:32px;align-items:start}
.ta-home-sidebar{display:flex;flex-direction:column;gap:20px;position:sticky;top:80px}

.ta-topic{margin-bottom:36px}
.ta-topic-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding-bottom:9px;border-bottom:1px solid var(--ta-color-border)}
.ta-topic-title-wrap{display:flex;align-items:center;gap:10px}
.ta-topic-bar{width:22px;height:4px;border-radius:2px;background:var(--ta-topic)}
.ta-topic-title{margin:0;font-family:var(--ta-font-heading);font-weight:700;font-size:21px;letter-spacing:-.01em}
.ta-topic-all{font-size:13px;font-weight:700;color:var(--ta-color-text-secondary)}
.ta-topic-all:hover{color:var(--ta-topic)}
.ta-topic-split{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:24px;align-items:start}
.ta-topic-list{display:flex;flex-direction:column;gap:0;min-width:0;align-self:stretch}
.ta-topic-split > .ta-card--secondary{align-self:start;height:auto;max-width:100%}
.ta-topic-split > .ta-card--secondary .ta-card-link{height:auto}
.ta-topic-split > .ta-card--secondary .ta-card-body{flex:0 0 auto;padding:14px 16px 14px;gap:8px}
.ta-topic-split > .ta-card--secondary .ta-card-title{font-size:17px;-webkit-line-clamp:3;color:var(--ta-color-text,#12151C)}
.ta-topic-split > .ta-card--secondary .ta-card-meta{margin-top:10px;padding-top:10px}

.ta-side-box{background:var(--ta-color-surface);border-radius:12px;padding:16px}
.ta-side-box-title{font-family:var(--ta-font-heading);font-weight:700;font-size:13.5px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:10px}
.ta-most-read{display:flex;gap:10px;padding:8px 0;border-top:1px solid var(--ta-color-border)}
.ta-most-read:hover{opacity:.72}
.ta-most-read-n{font-family:var(--ta-font-heading);font-weight:700;font-size:19px;color:var(--ta-color-border);width:20px;flex-shrink:0}
.ta-most-read-t{font-size:13.5px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--ta-color-text)}

.ta-promo-box{background:var(--ta-color-surface);border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:8px}
.ta-promo-telegram{background:var(--ta-ink);color:#fff}
.ta-promo-telegram h3{color:#fff}
.ta-promo-telegram p{color:#9AA0AC}
.ta-promo-box h3{margin:0;font-family:var(--ta-font-heading);font-weight:700;font-size:15px}
.ta-promo-box p{margin:0;font-size:12.5px;color:var(--ta-color-text-secondary);line-height:1.5}
.ta-promo-box .ta-btn{align-self:flex-start;margin-top:4px;padding:8px 14px;font-size:13px}
.ta-promo-ico{font-size:20px}

/* SearchPrice promo card */
.ta-price-card{
  position:relative;display:flex;flex-direction:column;gap:10px;
  padding:20px 18px 18px;border-radius:16px;overflow:hidden;
  text-decoration:none;color:#F5F6F2;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(214,255,62,.28), transparent 55%),
    linear-gradient(155deg, #15181B 0%, #0B0E11 55%, #171B14 100%);
  border:1px solid rgba(214,255,62,.22);
  box-shadow:0 10px 28px rgba(11,14,17,.18);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ta-price-card:hover{
  transform:translateY(-3px);
  border-color:rgba(214,255,62,.45);
  box-shadow:0 16px 34px rgba(11,14,17,.24);
  color:#F5F6F2;
}
.ta-price-card-glow{
  position:absolute;inset:auto -20% -40% auto;width:180px;height:180px;border-radius:50%;
  background:rgba(214,255,62,.16);filter:blur(18px);pointer-events:none;
}
.ta-price-card-badge{
  align-self:flex-start;
  font-size:10.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  color:#0B0E11;background:#D6FF3E;border-radius:999px;padding:4px 10px;
}
.ta-price-card-kicker{
  font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#9CA3A0;
}
.ta-price-card-title{
  font-family:var(--ta-font-heading);font-weight:700;font-size:22px;line-height:1.15;
  letter-spacing:-.02em;color:#fff;
}
.ta-price-card-text{
  font-size:13.5px;line-height:1.45;color:#B7BCC6;
}
.ta-price-card-row{
  display:flex;align-items:baseline;gap:10px;margin-top:2px;
  font-family:var(--ta-font-heading);font-weight:700;
}
.ta-price-card-old{
  font-size:15px;color:#7A828A;text-decoration:line-through;text-decoration-thickness:2px;
}
.ta-price-card-new{
  font-size:26px;color:#D6FF3E;letter-spacing:-.02em;
}
.ta-price-card-cta{
  margin-top:6px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:#D6FF3E;color:#0B0E11;font-weight:800;font-size:13px;
  border-radius:10px;padding:11px 14px;
  transition:background .15s ease, transform .15s ease;
}
.ta-price-card:hover .ta-price-card-cta{background:#e8ff7a}

.ta-nl-banner{
  background:var(--ta-ink);border-radius:14px;padding:26px 28px;
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;margin:40px 0 12px;
}
.ta-nl-copy h2{margin:0 0 6px;font-family:var(--ta-font-heading);font-weight:700;font-size:20px;color:#fff}
.ta-nl-copy p{margin:0;font-size:13.5px;color:#B7BCC6;line-height:1.5}
.ta-nl-form{display:flex;gap:8px;flex:1;min-width:280px;max-width:420px}
.ta-nl-form input{flex:1;min-width:0;padding:11px 12px;border-radius:8px;border:1px solid #333A47;background:#171B24;color:#fff;font:inherit}

/* ===== ARCHIVE (categorie / ricerca) ===== */
.ta-archive{padding-bottom:56px}
.ta-archive-hero{
  position:relative;
  padding:36px 0 30px;
  margin-bottom:28px;
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, color-mix(in srgb, var(--ta-cat,#3D63FF) 16%, transparent), transparent 55%),
    linear-gradient(180deg, #F7F8FA 0%, #FFFFFF 100%);
  border-bottom:1px solid var(--ta-color-border);
  overflow:hidden;
}
.ta-archive-hero::before{
  content:"";
  position:absolute;left:0;top:0;bottom:0;width:4px;
  background:var(--ta-cat,#3D63FF);
}
.ta-archive-hero--plain{
  background:linear-gradient(180deg,#F7F8FA 0%,#fff 100%);
}
.ta-archive-hero--plain::before{display:none}
.ta-archive-hero-inner{position:relative;max-width:820px}
.ta-archive-eyebrow{
  margin:0 0 8px;
  font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ta-cat,#3D63FF);
}
.ta-archive-title{
  margin:0 0 12px;
  font-family:var(--ta-font-heading);
  font-weight:700;
  font-size:clamp(28px,4.5vw,42px);
  line-height:1.12;
  letter-spacing:-.02em;
  color:var(--ta-ink);
}
.ta-archive-title span{font-weight:700}
.ta-archive-lead{
  margin:0 0 16px;
  font-size:16.5px;
  line-height:1.55;
  color:var(--ta-color-text-secondary);
  max-width:640px;
}
.ta-archive-meta-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ta-archive-count{
  display:inline-flex;align-items:center;
  font-size:12.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:var(--ta-color-text-secondary);
  background:#fff;
  border:1px solid var(--ta-color-border);
  border-radius:999px;
  padding:6px 12px;
}
.ta-archive-body{padding-top:4px}
.ta-archive-empty{padding:40px 0;color:var(--ta-color-text-secondary);font-size:16px}

/* Grid layouts */
.ta-grid,
.ta-archive-grid{
  display:grid;
  gap:22px;
  align-items:stretch;
}
.ta-grid.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ta-grid.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ta-grid.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ta-grid.list{grid-template-columns:1fr;gap:16px}
.ta-archive-grid.grid-3 > .ta-card--featured{
  grid-column:1 / -1;
}

/* Pagination */
.ta-pagination{margin-top:40px;display:flex;justify-content:center}
.ta-pagination .nav-links,
.ta-pagination-links{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;
}
.ta-pagination .page-numbers{
  min-width:40px;height:40px;padding:0 12px;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:10px;
  border:1px solid var(--ta-color-border);
  background:#fff;
  color:var(--ta-color-text);
  font-size:14px;font-weight:700;
  text-decoration:none;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.ta-pagination .page-numbers:hover{border-color:#c9ced8;transform:translateY(-1px);color:var(--ta-ink)}
.ta-pagination .page-numbers.current{
  background:var(--ta-ink);color:#fff;border-color:var(--ta-ink);
}
.ta-pagination .page-numbers.dots{border:none;background:transparent;min-width:auto}

/* ===== CARDS ===== */
.ta-card{min-width:0}
.ta-card-link{display:flex;flex-direction:column;height:100%;text-decoration:none;color:inherit;transition:transform .22s ease,box-shadow .22s ease}
.ta-card--secondary .ta-card-link,
.ta-card--grid .ta-card-link,
.ta-card--archive .ta-card-link,
.ta-card--featured .ta-card-link{
  background:var(--ta-color-bg);border-radius:16px;overflow:hidden;
  border:1px solid rgba(11,14,17,.06);
  box-shadow:0 2px 8px rgba(11,14,17,.05);
}
.ta-card--secondary .ta-card-link:hover,
.ta-card--grid .ta-card-link:hover,
.ta-card--archive .ta-card-link:hover,
.ta-card--featured .ta-card-link:hover{
  transform:translateY(-5px);box-shadow:0 18px 36px rgba(11,14,17,.12);color:inherit;border-color:transparent;
}
.ta-card-media{position:relative;width:100%;aspect-ratio:16/10;min-height:120px;overflow:hidden;background:var(--ta-color-surface-2,var(--ta-color-surface,#EEF0F4))}
.ta-card--grid .ta-card-media,
.ta-card--archive .ta-card-media{aspect-ratio:16/10}
.ta-card-media img,
.ta-card-media picture,
.ta-card-media picture img{width:100%;height:100%;object-fit:contain;object-position:center;transition:transform .45s ease}
.ta-card-media picture{display:block;width:100%;height:100%}
.ta-card-link:hover .ta-card-media img{transform:scale(1.02)}
.ta-card-cat-tag{
  position:absolute;top:12px;left:12px;background:var(--ta-cat);color:var(--ta-cat-fg,#C8F6FF);
  font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  padding:5px 12px;border-radius:8px;z-index:2;
  box-shadow:0 2px 10px rgba(0,0,0,.22);
  max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
/* Letter badge fully inset so overflow:hidden on media never clips it */
.ta-card-badge{
  position:absolute;left:14px;bottom:14px;width:36px;height:36px;border-radius:50%;
  background:var(--ta-cat);border:3px solid rgba(255,255,255,.95);display:flex;align-items:center;justify-content:center;
  z-index:3;box-shadow:0 2px 8px rgba(0,0,0,.2);font-family:var(--ta-font-heading);font-weight:700;font-size:13px;color:#fff;
  box-sizing:border-box;pointer-events:none;
}
.ta-card-rating{position:absolute;top:12px;right:12px;background:var(--ta-ink);color:#fff;font-size:13px;font-weight:700;padding:5px 9px;border-radius:7px;z-index:2;font-family:var(--ta-font-heading)}
.ta-card-body{display:flex;flex-direction:column;gap:8px;padding:14px 16px 14px;flex:1}
.ta-card-title{margin:0;font-family:var(--ta-font-heading);font-weight:700;font-size:17px;line-height:1.28;letter-spacing:-.01em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:var(--ta-color-text,#12151C)}
.ta-card--grid .ta-card-title,
.ta-card--archive .ta-card-title{font-size:16.5px;-webkit-line-clamp:2}
.ta-card--secondary .ta-card-title{color:var(--ta-color-text,#12151C)}
.ta-card-excerpt{
  margin:0;
  font-size:14px;line-height:1.5;color:var(--ta-color-text-secondary);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
/* Titles stay ink in light; dark mode uses --ta-color-link-hover via dark-mode-v2 */
.ta-card-link:hover .ta-card-title{color:var(--ta-color-link-hover,var(--ta-ink,#0B0E11))}
.ta-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--ta-color-text-secondary);margin-top:auto;padding-top:10px;border-top:1px solid #EEF0F3}
.ta-card-author{text-transform:uppercase;font-weight:700;letter-spacing:.03em;color:var(--ta-cat)}
.ta-card--secondary .ta-card-body{padding:14px 16px 14px;gap:8px}
.ta-card--horizontal .ta-card-title{color:var(--ta-color-text,#12151C)}

/* Featured lead card on category */
.ta-card--featured .ta-card-link{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  align-items:stretch;
}
.ta-card--featured .ta-card-media{aspect-ratio:auto;min-height:280px;height:100%}
.ta-card--featured .ta-card-body{padding:28px 28px 28px 24px;justify-content:center;gap:12px}
.ta-card--featured .ta-card-title{font-size:clamp(22px,2.6vw,30px);-webkit-line-clamp:3;line-height:1.2}
.ta-card--featured .ta-card-excerpt{-webkit-line-clamp:3;font-size:15.5px;line-height:1.55}
.ta-card--featured .ta-card-meta{margin-top:14px}

.ta-grid.list .ta-card--archive .ta-card-link{
  display:grid;grid-template-columns:200px minmax(0,1fr);align-items:stretch;
}
.ta-grid.list .ta-card--archive .ta-card-media{aspect-ratio:auto;min-height:140px;height:100%}
.ta-grid.list .ta-card--archive .ta-card-body{padding:18px 20px;justify-content:center}

.ta-card--horizontal .ta-card-link{flex-direction:row;gap:14px;padding:11px 0;border-top:1px solid #EBEDEF;align-items:center;height:auto}
.ta-card--horizontal:first-child .ta-card-link{border-top:none;padding-top:0}
.ta-card--horizontal .ta-card-media{width:clamp(84px,22vw,110px);aspect-ratio:4/3;border-radius:10px;flex-shrink:0;overflow:hidden}
.ta-card--horizontal .ta-card-body{padding:0;justify-content:center;flex:1;gap:5px}
.ta-card--horizontal .ta-card-title{font-size:15px;-webkit-line-clamp:2;color:var(--ta-color-text,#12151C)}
.ta-card-cat-label{font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ta-cat)}

.ta-card--compact .ta-card-link{flex-direction:row;gap:10px;padding:9px 0;border-top:1px solid var(--ta-color-border);align-items:center}
/* Square list thumbs: kill inherited min-height:120px + use cover (contain letterboxes / looks stretched in 52px). */
.ta-card--compact .ta-card-media{
  width:52px;height:52px;min-height:0;min-width:52px;max-width:52px;max-height:52px;
  aspect-ratio:1;border-radius:6px;flex-shrink:0;overflow:hidden;
}
.ta-card--compact .ta-card-media img,
.ta-card--compact .ta-card-media picture,
.ta-card--compact .ta-card-media picture img{
  width:100%;height:100%;object-fit:cover;object-position:center;display:block;
}
.ta-card--compact .ta-card-body{padding:0;gap:4px}
.ta-card--compact .ta-card-title{font-size:13px;-webkit-line-clamp:2}
.ta-card-time{font-size:11.5px;color:var(--ta-color-text-secondary)}

/* Related cards */
.ta-card--related .ta-card-link{
  background:var(--ta-color-bg);
  border:1px solid var(--ta-color-border);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 1px 2px rgba(11,14,17,.06);
}
.ta-card--related .ta-card-link:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(11,14,17,.1);
  color:inherit;
}
.ta-card--related .ta-card-media{aspect-ratio:16/10}
.ta-card--related .ta-card-body{padding:12px 12px 14px;gap:6px}
.ta-card--related .ta-card-title{font-size:14.5px;line-height:1.3;-webkit-line-clamp:2}
.ta-card--related .ta-card-meta{
  margin-top:2px;padding-top:8px;border-top:1px solid var(--ta-color-border);
  font-size:11.5px;
}
.ta-card--related .ta-card-cat-tag{font-size:10px;padding:3px 7px;top:8px;left:8px}

/* ===== ARTICLE ===== */
.ta-article-grid{display:grid;grid-template-columns:1fr 336px;gap:40px;padding:24px 16px 60px;align-items:start}
.ta-article-grid.no-sidebar{grid-template-columns:minmax(0,720px);justify-content:start}
.ta-article{min-width:0;max-width:720px}
.ta-article-title{margin:0 0 12px;font-family:var(--ta-font-heading);font-weight:700;font-size:clamp(26px,4vw,38px);line-height:1.18;letter-spacing:-.01em}
.article-introduction{font-size:var(--ta-intro-size,18px);font-weight:var(--ta-intro-weight,600);color:var(--ta-intro-color,var(--ta-color-text-secondary));line-height:var(--ta-intro-lh,1.5);margin:var(--ta-intro-mt,0) 0 var(--ta-intro-mb,18px);max-width:var(--ta-intro-max-w,720px)}
.article-introduction:empty{display:none;margin:0;padding:0}
.ta-cat-badge{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ta-cat-fg,#C8F6FF);background:var(--ta-cat,#8C4CFF);padding:5px 12px;border-radius:8px;margin-bottom:14px;text-decoration:none}
.ta-kicker{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ta-color-text-secondary);margin:0 8px 14px 0}
.ta-breadcrumb ol{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0 0 14px;padding:0;font-size:13px;color:var(--ta-color-text-secondary)}
.ta-breadcrumb li:not(:last-child)::after{content:"/";margin-left:6px;opacity:.5}
.ta-article-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 0;border-top:1px solid var(--ta-color-border);border-bottom:1px solid var(--ta-color-border);margin-bottom:22px}
.ta-author{display:flex;align-items:center;gap:10px}
.ta-author img{border-radius:50%}
.ta-author-name{font-size:14px;font-weight:700;color:var(--ta-color-text)}
.ta-meta-line{font-size:12.5px;color:var(--ta-color-text-secondary)}
.ta-share{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ta-share-label{
  font-size:12.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:var(--ta-color-text-secondary);
}
.ta-share-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ta-share-btn{
  width:34px;height:34px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  color:#fff;text-decoration:none;border:none;
  transition:transform .15s ease,opacity .15s ease;
}
.ta-share-btn:hover{opacity:.9;transform:translateY(-1px);color:#fff}
.ta-share-facebook{background:#1877F2}
.ta-share-twitter{background:#0F1419}
.ta-share-linkedin{background:#0A66C2}
.ta-share-telegram{background:#2AABEE}
.ta-share-whatsapp{background:#25D366}
.ta-featured{margin:0 0 26px}
.ta-featured img,
.ta-featured picture,
.ta-featured picture img{
  width:100%;
  max-width:100%;
  height:auto!important;
  display:block;
  border-radius:12px;
  object-fit:contain;
  object-position:center;
}
.ta-featured picture{line-height:0}
.ta-featured figcaption{font-size:12.5px;color:var(--ta-color-text-secondary);margin-top:6px;border-radius:0}
/* Singles never show category pills (cards keep .ta-card-cat-tag). */
.ta-single .ta-cat-badge,
.ta-single .ta-cat-badge--on-image{display:none!important}
@media (max-width:480px){
  .ta-card-cat-tag{top:8px;left:8px;font-size:10px;padding:4px 8px;max-width:calc(100% - 16px)}
}
.ta-article-content{font-size:18px;line-height:1.75}
.ta-article-content h2{font-family:var(--ta-font-heading);font-size:24px;margin:28px 0 14px}
.ta-article-content p{margin:0 0 20px}

/* ===== Content tables — tech / interactive (article only) ===== */
.ta-article-content .ta-table-shell,
.entry-content .ta-table-shell,
.ta-entry-content .ta-table-shell,
.ta-article-content .wp-block-table,
.entry-content .wp-block-table,
.ta-entry-content .wp-block-table,
.ta-article-content figure.wp-block-table,
.entry-content figure.wp-block-table{
  --ta-table-lime:#D6FF3E;
  --ta-table-cyan:#2EE6C5;
  position:relative;
  margin:36px 0;
  padding:0;
  max-width:100%;
  border-radius:16px;
  border:1px solid color-mix(in srgb, var(--ta-ink) 10%, var(--ta-color-border));
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--ta-table-lime) 18%, transparent), transparent 42%),
    radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--ta-table-cyan) 12%, transparent), transparent 46%),
    linear-gradient(180deg, #FAFBF8 0%, var(--ta-color-bg) 38%),
    var(--ta-color-bg);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--ta-table-lime) 22%, transparent),
    inset 0 1px 0 rgba(255,255,255,.75),
    inset 0 -1px 0 rgba(11,14,17,.03),
    0 14px 42px rgba(11,14,17,.1);
  overflow:hidden;
  isolation:isolate;
}
/* Lime→cyan edge rail */
.ta-article-content .ta-table-shell::before,
.entry-content .ta-table-shell::before,
.ta-entry-content .ta-table-shell::before,
.ta-article-content .wp-block-table::before,
.entry-content .wp-block-table::before,
.ta-entry-content .wp-block-table::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:3px;
  background:linear-gradient(180deg, var(--ta-table-lime) 0%, var(--ta-table-cyan) 55%, var(--ta-table-lime) 100%);
  box-shadow:0 0 18px color-mix(in srgb, var(--ta-table-lime) 55%, transparent);
  z-index:3;
  pointer-events:none;
}
/* Soft right fade when horizontally scrollable */
.ta-article-content .ta-table-shell.is-scrollable::after,
.entry-content .ta-table-shell.is-scrollable::after,
.ta-entry-content .ta-table-shell.is-scrollable::after,
.ta-article-content .wp-block-table.is-scrollable::after,
.entry-content .wp-block-table.is-scrollable::after{
  content:"";
  position:absolute;
  top:0;right:0;bottom:0;
  width:56px;
  background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--ta-color-bg) 92%, #fff));
  opacity:1;
  transition:opacity .25s ease;
  z-index:2;
  pointer-events:none;
}
.ta-article-content .ta-table-shell.is-scroll-end::after,
.entry-content .ta-table-shell.is-scroll-end::after,
.ta-entry-content .ta-table-shell.is-scroll-end::after,
.ta-article-content .wp-block-table.is-scroll-end::after,
.entry-content .wp-block-table.is-scroll-end::after{
  opacity:0;
}
/* Fallback: bare table before JS wrap.
 * NEVER set display:block on <table> — breaks thead chrome + column layout
 * (plain text + huge gap). Frame comes from .ta-table-shell after wrap.
 */
.ta-article-content > table,
.entry-content > table,
.ta-entry-content > table{
  display:table;
  width:100%;
  max-width:100%;
  margin:36px 0;
  border-radius:16px;
  border:1px solid color-mix(in srgb, var(--ta-ink) 10%, var(--ta-color-border));
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, #D6FF3E 16%, transparent), transparent 42%),
    var(--ta-color-bg);
  box-shadow:
    0 0 0 1px color-mix(in srgb, #D6FF3E 20%, transparent),
    0 14px 42px rgba(11,14,17,.1);
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
}
.ta-article-content .ta-table-scroll,
.entry-content .ta-table-scroll,
.ta-entry-content .ta-table-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
  scrollbar-color:color-mix(in srgb, var(--ta-ink) 35%, transparent) transparent;
}
.ta-article-content .ta-table-scroll::-webkit-scrollbar,
.entry-content .ta-table-scroll::-webkit-scrollbar{
  height:8px;
}
.ta-article-content .ta-table-scroll::-webkit-scrollbar-thumb,
.entry-content .ta-table-scroll::-webkit-scrollbar-thumb{
  background:linear-gradient(90deg, #D6FF3E, #2EE6C5);
  border-radius:999px;
}
.ta-article-content .ta-table-scroll::-webkit-scrollbar-track,
.entry-content .ta-table-scroll::-webkit-scrollbar-track{
  background:color-mix(in srgb, var(--ta-color-surface) 80%, transparent);
}
.ta-article-content .wp-block-table table,
.entry-content .wp-block-table table,
.ta-entry-content .wp-block-table table,
.ta-article-content .ta-table-shell table,
.entry-content .ta-table-shell table,
.ta-entry-content .ta-table-shell table,
.ta-article-content table,
.entry-content table,
.ta-entry-content table{
  width:100%;
  min-width:0;
  margin:0;
  border-collapse:separate;
  border-spacing:0;
  border:0;
  background:transparent;
  font-size:16px;
  line-height:1.55;
  color:var(--ta-color-text);
}
/* Wide tables: min-width only inside scroll wrapper (enables swipe, avoids clip). */
@media (min-width:641px){
  .ta-article-content .ta-table-scroll table,
  .entry-content .ta-table-scroll table,
  .ta-entry-content .ta-table-scroll table,
  .ta-article-content > table,
  .entry-content > table,
  .ta-entry-content > table{
    min-width:520px;
  }
}
.ta-article-content .wp-block-table table,
.entry-content .wp-block-table table,
.ta-entry-content .wp-block-table table{
  min-width:100%;
}
.ta-article-content .ta-table-scroll,
.entry-content .ta-table-scroll,
.ta-entry-content .ta-table-scroll{
  display:block;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
/* Ink header + lime glow edge */
.ta-article-content table thead,
.entry-content table thead,
.ta-entry-content table thead{
  background:
    linear-gradient(115deg, #0B0E11 0%, #141A22 48%, #0D1218 100%);
  color:#F5F6F2;
  box-shadow:0 8px 28px rgba(214,255,62,.12);
}
.ta-article-content table thead th,
.entry-content table thead th,
.ta-entry-content table thead th{
  position:relative;
  color:#F5F6F2;
  font-family:var(--ta-font-heading);
  font-weight:700;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  border-bottom:0;
  background:transparent;
}
.ta-article-content table thead th::after,
.entry-content table thead th::after,
.ta-entry-content table thead th::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:2px;
  background:linear-gradient(90deg, #D6FF3E 0%, #2EE6C5 42%, transparent 92%);
  box-shadow:0 0 12px rgba(214,255,62,.45);
}
.ta-article-content table th,
.ta-article-content table td,
.entry-content table th,
.entry-content table td,
.ta-entry-content table th,
.ta-entry-content table td{
  padding:14px 18px;
  text-align:left;
  vertical-align:middle;
  border:0;
  border-bottom:1px solid color-mix(in srgb, var(--ta-color-border) 88%, transparent);
  background:transparent;
  transition:background .18s ease, box-shadow .18s ease, color .18s ease;
}
.ta-article-content table tbody tr:nth-child(even),
.entry-content table tbody tr:nth-child(even),
.ta-entry-content table tbody tr:nth-child(even),
.ta-article-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd),
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd){
  background:color-mix(in srgb, var(--ta-color-surface) 82%, transparent);
}
.ta-article-content .wp-block-table.is-style-stripes,
.entry-content .wp-block-table.is-style-stripes{
  border-spacing:0;
}
.ta-article-content .wp-block-table.is-style-stripes tbody tr,
.entry-content .wp-block-table.is-style-stripes tbody tr{
  border-bottom:0;
}
@media(hover:hover) and (pointer:fine){
  .ta-article-content table tbody tr:hover,
  .entry-content table tbody tr:hover,
  .ta-entry-content table tbody tr:hover{
    background:linear-gradient(90deg, color-mix(in srgb, #D6FF3E 22%, #fff), color-mix(in srgb, #2EE6C5 10%, #fff) 55%, color-mix(in srgb, var(--ta-color-surface) 70%, #fff));
  }
  .ta-article-content table tbody tr:hover td:first-child,
  .ta-article-content table tbody tr:hover th:first-child,
  .entry-content table tbody tr:hover td:first-child,
  .entry-content table tbody tr:hover th:first-child{
    box-shadow:inset 3px 0 0 #D6FF3E;
    font-weight:600;
  }
  .ta-article-content table thead:hover,
  .entry-content table thead:hover,
  .ta-entry-content table thead:hover{
    box-shadow:0 10px 36px rgba(214,255,62,.22);
  }
}
.ta-article-content table tbody tr:last-child th,
.ta-article-content table tbody tr:last-child td,
.entry-content table tbody tr:last-child th,
.entry-content table tbody tr:last-child td,
.ta-entry-content table tbody tr:last-child th,
.ta-entry-content table tbody tr:last-child td{
  border-bottom:0;
}
.ta-article-content table th:first-child,
.ta-article-content table td:first-child,
.entry-content table th:first-child,
.entry-content table td:first-child{
  padding-left:22px;
  font-weight:600;
  color:color-mix(in srgb, var(--ta-ink) 88%, var(--ta-color-text));
}
.ta-article-content table th:last-child,
.ta-article-content table td:last-child,
.entry-content table th:last-child,
.entry-content table td:last-child{
  padding-right:20px;
}
/* Sticky first column on wide / overflow tables */
.ta-article-content .has-sticky-col table th:first-child,
.ta-article-content .has-sticky-col table td:first-child,
.entry-content .has-sticky-col table th:first-child,
.entry-content .has-sticky-col table td:first-child,
.ta-entry-content .has-sticky-col table th:first-child,
.ta-entry-content .has-sticky-col table td:first-child{
  position:sticky;
  left:0;
  z-index:1;
  background:color-mix(in srgb, var(--ta-color-bg) 94%, #fff);
  box-shadow:6px 0 16px rgba(11,14,17,.06);
}
.ta-article-content .has-sticky-col table tbody tr:nth-child(even) td:first-child,
.ta-article-content .has-sticky-col table tbody tr:nth-child(even) th:first-child,
.entry-content .has-sticky-col table tbody tr:nth-child(even) td:first-child,
.entry-content .has-sticky-col table tbody tr:nth-child(even) th:first-child{
  background:color-mix(in srgb, var(--ta-color-surface) 92%, #fff);
}
@media(hover:hover) and (pointer:fine){
  .ta-article-content .has-sticky-col table tbody tr:hover td:first-child,
  .ta-article-content .has-sticky-col table tbody tr:hover th:first-child,
  .entry-content .has-sticky-col table tbody tr:hover td:first-child,
  .entry-content .has-sticky-col table tbody tr:hover th:first-child{
    background:color-mix(in srgb, #D6FF3E 22%, #fff);
  }
}
.ta-article-content .has-sticky-col table thead th:first-child,
.entry-content .has-sticky-col table thead th:first-child,
.ta-entry-content .has-sticky-col table thead th:first-child{
  z-index:2;
  background:#0B0E11;
  box-shadow:6px 0 16px rgba(0,0,0,.25);
}
.ta-article-content .has-sticky-col.is-scrolled table th:first-child,
.ta-article-content .has-sticky-col.is-scrolled table td:first-child,
.entry-content .has-sticky-col.is-scrolled table th:first-child,
.entry-content .has-sticky-col.is-scrolled table td:first-child{
  box-shadow:8px 0 20px rgba(11,14,17,.12);
}
/* Header without <thead>: first row of th cells */
.ta-article-content table > tr:first-child > th,
.ta-article-content table > tbody > tr:first-child > th,
.entry-content table > tr:first-child > th,
.entry-content table > tbody > tr:first-child > th{
  background:linear-gradient(115deg, #0B0E11 0%, #141A22 48%, #0D1218 100%);
  color:#F5F6F2;
  font-family:var(--ta-font-heading);
  font-weight:700;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  border-bottom:2px solid #D6FF3E;
  box-shadow:0 8px 28px rgba(214,255,62,.12);
}
.ta-article-content .wp-block-table.has-fixed-layout table,
.entry-content .wp-block-table.has-fixed-layout table,
.ta-article-content table.has-fixed-layout,
.entry-content table.has-fixed-layout{
  table-layout:fixed;
  width:100%;
  min-width:100%;
}
/* Captions as tech labels */
.ta-article-content .wp-block-table figcaption,
.entry-content .wp-block-table figcaption,
.ta-article-content table caption,
.entry-content table caption,
.ta-entry-content .wp-block-table figcaption,
.ta-entry-content table caption{
  caption-side:bottom;
  margin:0;
  padding:12px 18px 14px 22px;
  font-size:12px;
  line-height:1.45;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ta-color-text-secondary);
  text-align:left;
  border-top:1px solid var(--ta-color-border);
  background:
    linear-gradient(90deg, color-mix(in srgb, #D6FF3E 12%, transparent), transparent 40%),
    color-mix(in srgb, var(--ta-color-surface) 78%, transparent);
}
.ta-article-content .wp-block-table figcaption::before,
.entry-content .wp-block-table figcaption::before,
.ta-article-content table caption::before,
.entry-content table caption::before{
  content:"";
  display:inline-block;
  width:8px;height:8px;
  margin-right:8px;
  border-radius:2px;
  background:linear-gradient(135deg, #D6FF3E, #2EE6C5);
  box-shadow:0 0 8px rgba(214,255,62,.55);
  vertical-align:middle;
}
.ta-article-content .wp-block-table a,
.entry-content .wp-block-table a,
.ta-article-content table a,
.entry-content table a{
  color:inherit;
  text-decoration:underline;
  text-decoration-color:color-mix(in srgb, var(--ta-color-secondary) 70%, var(--ta-color-border));
  text-underline-offset:2px;
}
.ta-article-content .wp-block-table a:hover,
.entry-content .wp-block-table a:hover,
.ta-article-content table a:hover,
.entry-content table a:hover{
  color:var(--ta-color-link-hover);
}
/* Mobile scroll hint chip */
.ta-article-content .ta-table-hint,
.entry-content .ta-table-hint,
.ta-entry-content .ta-table-hint{
  display:none;
  position:absolute;
  right:12px;
  bottom:12px;
  z-index:4;
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
}
.ta-article-content .ta-table-shell.is-scrollable .ta-table-hint,
.entry-content .ta-table-shell.is-scrollable .ta-table-hint,
.ta-article-content .wp-block-table.is-scrollable .ta-table-hint,
.entry-content .wp-block-table.is-scrollable .ta-table-hint{
  display:block;
}
.ta-article-content .ta-table-shell.is-scrolled .ta-table-hint,
.entry-content .ta-table-shell.is-scrolled .ta-table-hint,
.ta-article-content .ta-table-shell.is-scroll-end .ta-table-hint,
.entry-content .ta-table-shell.is-scroll-end .ta-table-hint{
  opacity:0;
  transform:translateY(4px);
}
.ta-table-hint__chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#0B0E11;
  background:linear-gradient(90deg, #D6FF3E, #2EE6C5);
  box-shadow:0 8px 22px rgba(11,14,17,.18);
}
.ta-table-hint__chip i{
  display:inline-block;
  width:0;height:0;
  border-style:solid;
  border-width:4px 0 4px 7px;
  border-color:transparent transparent transparent #0B0E11;
  animation:ta-table-nudge 1.1s ease-in-out infinite;
}
@keyframes ta-table-nudge{
  0%,100%{transform:translateX(0)}
  50%{transform:translateX(4px)}
}
@media(max-width:640px){
  /* Contain scroll inside shell — never push the page sideways */
  .ta-article-content .ta-table-shell,
  .entry-content .ta-table-shell,
  .ta-article-content .wp-block-table,
  .entry-content .wp-block-table{
    margin:22px 0;
    border-radius:12px;
    max-width:100%;
    width:100%;
  }
  .ta-article-content .ta-table-scroll,
  .entry-content .ta-table-scroll{
    max-width:100%;
  }
  /* Comparison / multi-col: keep h-scroll, tighter type + padding */
  .ta-article-content .ta-table-shell:not(.ta-table-shell--specs):not(.ta-table-shell--stack) table,
  .entry-content .ta-table-shell:not(.ta-table-shell--specs):not(.ta-table-shell--stack) table,
  .ta-article-content .wp-block-table:not(.ta-table-shell--specs):not(.ta-table-shell--stack) table,
  .entry-content .wp-block-table:not(.ta-table-shell--specs):not(.ta-table-shell--stack) table,
  .ta-article-content table:not(.ta-table--specs):not(.ta-table--stack),
  .entry-content table:not(.ta-table--specs):not(.ta-table--stack){
    font-size:13.5px;
    line-height:1.45;
    min-width:480px;
  }
  .ta-article-content .ta-table-shell:not(.ta-table-shell--stack) table th,
  .ta-article-content .ta-table-shell:not(.ta-table-shell--stack) table td,
  .entry-content .ta-table-shell:not(.ta-table-shell--stack) table th,
  .entry-content .ta-table-shell:not(.ta-table-shell--stack) table td,
  .ta-article-content table:not(.ta-table--stack) th,
  .ta-article-content table:not(.ta-table--stack) td,
  .entry-content table:not(.ta-table--stack) th,
  .entry-content table:not(.ta-table--stack) td{
    padding:10px 12px;
  }
  .ta-article-content .has-sticky-col:not(.ta-table-shell--stack) table th:first-child,
  .ta-article-content .has-sticky-col:not(.ta-table-shell--stack) table td:first-child,
  .entry-content .has-sticky-col:not(.ta-table-shell--stack) table th:first-child,
  .entry-content .has-sticky-col:not(.ta-table-shell--stack) table td:first-child{
    padding-left:14px;
    min-width:96px;
    max-width:118px;
  }
  .ta-article-content table thead th,
  .entry-content table thead th{
    font-size:11px;
    letter-spacing:.05em;
    padding-top:11px;
    padding-bottom:11px;
  }
  .ta-table-hint__chip{
    padding:6px 10px;
    font-size:10px;
  }
  .ta-article-content .ta-table-shell.is-scrollable::after,
  .entry-content .ta-table-shell.is-scrollable::after,
  .ta-article-content .wp-block-table.is-scrollable::after,
  .entry-content .wp-block-table.is-scrollable::after{
    width:40px;
  }
}
/* Do not restyle contact / form / calendar tables */
.ta-article-content form table,
.entry-content form table,
.ta-entry-content form table,
.ta-contatti table,
.wp-block-calendar table,
.wp-calendar-table{
  min-width:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  background:transparent!important;
}

/* ===== Content video / embeds (full-width of article column) ===== */
.ta-article-content .wp-block-video,
.entry-content .wp-block-video,
.ta-entry-content .wp-block-video,
.ta-article-content figure.wp-block-video,
.entry-content figure.wp-block-video,
.ta-entry-content figure.wp-block-video,
.ta-article-content .wp-block-embed,
.entry-content .wp-block-embed,
.ta-entry-content .wp-block-embed,
.ta-article-content figure.wp-block-embed,
.entry-content figure.wp-block-embed,
.ta-entry-content figure.wp-block-embed{
  display:block;
  width:100%;
  max-width:100%;
  margin:24px 0;
  box-sizing:border-box;
}
.ta-article-content .wp-block-embed__wrapper,
.entry-content .wp-block-embed__wrapper,
.ta-entry-content .wp-block-embed__wrapper{
  position:relative;
  display:block;
  width:100%;
  max-width:100%;
  aspect-ratio:16/9;
  height:auto;
  box-sizing:border-box;
}
/* Prefer modern aspect-ratio over core padding-top spacer when both exist */
.ta-article-content .wp-has-aspect-ratio .wp-block-embed__wrapper::before,
.entry-content .wp-has-aspect-ratio .wp-block-embed__wrapper::before,
.ta-entry-content .wp-has-aspect-ratio .wp-block-embed__wrapper::before{
  display:none;
  content:none;
  padding-top:0;
}
.ta-article-content .wp-block-embed__wrapper iframe,
.entry-content .wp-block-embed__wrapper iframe,
.ta-entry-content .wp-block-embed__wrapper iframe{
  position:absolute;
  inset:0;
  width:100%!important;
  height:100%!important;
  max-width:100%;
  border:0;
}
.ta-article-content .wp-block-video video,
.entry-content .wp-block-video video,
.ta-entry-content .wp-block-video video,
.ta-article-content video,
.entry-content video,
.ta-entry-content video{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  aspect-ratio:16/9;
  background:#0b0e11;
}
/* Bare oEmbed / classic editor iframes (fixed width=500 attrs → full column) */
.ta-article-content iframe[src*="youtube.com"],
.ta-article-content iframe[src*="youtube-nocookie.com"],
.ta-article-content iframe[src*="youtu.be"],
.ta-article-content iframe[src*="player.vimeo.com"],
.ta-article-content iframe[src*="vimeo.com"],
.entry-content iframe[src*="youtube.com"],
.entry-content iframe[src*="youtube-nocookie.com"],
.entry-content iframe[src*="youtu.be"],
.entry-content iframe[src*="player.vimeo.com"],
.entry-content iframe[src*="vimeo.com"],
.ta-entry-content iframe[src*="youtube.com"],
.ta-entry-content iframe[src*="youtube-nocookie.com"],
.ta-entry-content iframe[src*="youtu.be"],
.ta-entry-content iframe[src*="player.vimeo.com"],
.ta-entry-content iframe[src*="vimeo.com"]{
  display:block;
  width:100%!important;
  max-width:100%;
  height:auto!important;
  aspect-ratio:16/9;
  border:0;
  margin:24px 0;
  box-sizing:border-box;
}
/* Nested iframe already sized by wrapper — avoid double vertical margin */
.ta-article-content .wp-block-embed__wrapper iframe[src*="youtube.com"],
.ta-article-content .wp-block-embed__wrapper iframe[src*="youtube-nocookie.com"],
.ta-article-content .wp-block-embed__wrapper iframe[src*="youtu.be"],
.ta-article-content .wp-block-embed__wrapper iframe[src*="player.vimeo.com"],
.ta-article-content .wp-block-embed__wrapper iframe[src*="vimeo.com"],
.entry-content .wp-block-embed__wrapper iframe[src*="youtube.com"],
.entry-content .wp-block-embed__wrapper iframe[src*="youtube-nocookie.com"],
.entry-content .wp-block-embed__wrapper iframe[src*="youtu.be"],
.entry-content .wp-block-embed__wrapper iframe[src*="player.vimeo.com"],
.entry-content .wp-block-embed__wrapper iframe[src*="vimeo.com"],
.ta-entry-content .wp-block-embed__wrapper iframe[src*="youtube.com"],
.ta-entry-content .wp-block-embed__wrapper iframe[src*="youtube-nocookie.com"],
.ta-entry-content .wp-block-embed__wrapper iframe[src*="youtu.be"],
.ta-entry-content .wp-block-embed__wrapper iframe[src*="player.vimeo.com"],
.ta-entry-content .wp-block-embed__wrapper iframe[src*="vimeo.com"]{
  margin:0;
  aspect-ratio:auto;
  position:absolute;
  inset:0;
  height:100%!important;
}
.ta-article-content .wp-block-video figcaption,
.entry-content .wp-block-video figcaption,
.ta-entry-content .wp-block-video figcaption,
.ta-article-content .wp-block-embed figcaption,
.entry-content .wp-block-embed figcaption,
.ta-entry-content .wp-block-embed figcaption{
  margin-top:8px;
  font-size:13px;
  line-height:1.45;
  color:var(--ta-color-text-secondary);
}

.ta-disclosure{background:var(--ta-color-surface);border-radius:10px;padding:12px 14px;margin-bottom:20px;font-size:13.5px;color:var(--ta-color-text-secondary)}
.ta-related{
  margin-top:36px;
  padding-top:28px;
  border-top:1px solid var(--ta-color-border);
  max-width:100%;
}
.ta-related-head{margin-bottom:16px}
.ta-related h2,
.ta-related-head h2{
  margin:0;
  font-family:var(--ta-font-heading);
  font-size:18px;
  font-weight:700;
  letter-spacing:-.01em;
  color:var(--ta-color-text);
}
.ta-related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
@media(max-width:720px){
  .ta-related-grid{grid-template-columns:1fr;gap:12px}
  .ta-card--related .ta-card-link{flex-direction:row;align-items:stretch}
  .ta-card--related .ta-card-media{width:112px;aspect-ratio:1;flex-shrink:0}
  .ta-card--related .ta-card-body{padding:10px 12px;justify-content:center}
}
.ta-sidebar{display:flex;flex-direction:column;gap:20px;position:sticky;top:80px}
.ta-single-promos{display:flex;flex-direction:column;gap:10px}

/* ===== FOOTER — light ===== */
.ta-site-footer{
  --ta-footer-bg:#F7F8FA;
  --ta-footer-text:#4B5162;
  background:var(--ta-footer-bg);
  color:var(--ta-footer-text);
  margin-top:56px;
  border-top:1px solid #E3E5EA;
}
.ta-footer-main{
  padding:40px 0 32px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(214,255,62,.12), transparent 55%),
    var(--ta-footer-bg);
}
.ta-footer-main-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:20px;
}
.ta-footer-brand{max-width:560px;display:flex;flex-direction:column;align-items:center;gap:12px}
.ta-footer-brand .ta-logo,
.ta-logo--footer{
  display:inline-flex;justify-content:center;align-items:center;
  background:transparent;
  border-radius:0;
  padding:0;
  line-height:0;
  box-shadow:none;
}
.ta-footer-brand .ta-logo img,
.ta-logo--footer img{
  max-width:min(100%,220px);
  max-height:52px;
  width:auto;height:auto;object-fit:contain;
}
.ta-footer-desc{
  margin:0;
  font-size:15px;
  line-height:1.55;
  color:#6B7280;
  max-width:480px;
}
.ta-footer-social-wrap{
  display:flex;flex-direction:column;align-items:center;gap:12px;
}
.ta-footer-social-label{
  font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#12151C;
}
.ta-footer-social,.ta-social-icons{
  display:flex;flex-wrap:wrap;justify-content:center;gap:10px;align-items:center;
}
.ta-soc-btn{
  width:42px;height:42px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  color:#fff;text-decoration:none;
  transition:transform .18s ease,opacity .18s ease,box-shadow .18s ease;
  background:#4B5162;
  box-shadow:0 2px 8px rgba(11,14,17,.12);
}
.ta-soc-btn:hover{opacity:.95;transform:translateY(-2px);color:#fff;box-shadow:0 6px 16px rgba(11,14,17,.18)}
.ta-soc-facebook{background:#1877F2}
.ta-soc-twitter{background:#0F1419}
.ta-soc-instagram{
  background:linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%)!important;
  color:#fff!important;
}
.ta-soc-youtube{background:#FF0000}
.ta-soc-telegram{background:#2AABEE}
.ta-soc-whatsapp{background:#25D366;color:#fff}
.ta-soc-linkedin{background:#0A66C2}
.ta-soc-tiktok{background:#111}
.ta-soc-pinterest{background:#E60023}
.ta-soc-rss{background:#FF8A00}
.ta-soc-email{background:#4B5162}

.ta-footer-legal{
  padding:22px 0 28px;
  background:#fff;
  border-top:1px solid #E8EAEE;
}
.ta-footer-legal-inner{
  text-align:center;
  max-width:980px;
  margin:0 auto;
}
.ta-footer-updated{
  margin:0 0 10px;
  font-size:11.5px;
  color:#9AA0AC;
  line-height:1.4;
}
.ta-footer-line{
  margin:0 0 7px;
  font-size:13px;
  line-height:1.55;
  color:#6B7280;
}
.ta-footer-line--copy{color:#12151C;font-weight:600}
.ta-footer-line--affiliate{max-width:860px;margin-left:auto;margin-right:auto;font-size:12.5px;color:#7a828a}
.ta-footer-legal-nav{
  margin-top:14px;
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 2px;
  font-size:13px;line-height:1.6;font-weight:600;
}
.ta-footer-legal-nav a{
  color:#0B0E11;
  text-decoration:none;
  padding:2px 8px;
}
.ta-footer-legal-nav a:hover{text-decoration:underline;color:#3D63FF}
.ta-footer-sep{color:#C5CAD3;margin:0 2px;font-weight:700}

@media(max-width:720px){
  .ta-footer-main{padding:32px 0 24px}
  .ta-footer-brand .ta-logo img,.ta-logo--footer img{max-width:200px;max-height:48px}
  .ta-soc-btn{width:40px;height:40px}
}

/* Dark page mode (content area) */
[data-theme="dark"]{
  --ta-color-bg:#0B0E11;
  --ta-color-text:#F2F3F5;
  --ta-color-text-secondary:#9AA0AC;
  --ta-color-surface:#171B24;
  --ta-color-border:#262B36;
  --ta-color-accent:#F5F6F2;
  --ta-color-link:#F5F6F2;
  --ta-color-link-hover:#D6FF3E;
}
[data-theme="dark"] .ta-card--secondary .ta-card-link,
[data-theme="dark"] .ta-card--grid .ta-card-link,
[data-theme="dark"] .ta-card--archive .ta-card-link,
[data-theme="dark"] .ta-card--featured .ta-card-link,
[data-theme="dark"] .ta-card--related .ta-card-link{background:#15181B;box-shadow:0 1px 3px rgba(0,0,0,.4);border-color:#262B36}
[data-theme="dark"] .ta-archive-hero{
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, color-mix(in srgb, var(--ta-cat,#3D63FF) 22%, transparent), transparent 55%),
    linear-gradient(180deg,#12151A 0%,#0B0E11 100%);
  border-bottom-color:#262B36;
}
[data-theme="dark"] .ta-archive-title{color:#F5F6F2}
[data-theme="dark"] .ta-archive-count{background:#15181B;border-color:#262B36;color:#9AA0AC}
[data-theme="dark"] .ta-pagination .page-numbers{background:#15181B;border-color:#262B36;color:#F2F3F5}
[data-theme="dark"] .ta-pagination .page-numbers.current{background:#D6FF3E;color:#0B0E11;border-color:#D6FF3E}
[data-theme="dark"] .ta-ico-moon{display:none}
[data-theme="dark"] .ta-ico-sun{display:block!important}

@keyframes ta-pulse{0%,100%{opacity:1}50%{opacity:.3}}

@media(max-width:1023px){
  .ta-homepage{overflow-x:clip}
  .ta-home-hero,.ta-home-rail,.ta-topic-split,.ta-article-grid{grid-template-columns:1fr;min-width:0;max-width:100%}
  .ta-secondary-grid{grid-template-columns:repeat(2,1fr)}
  .ta-home-sidebar,.ta-sidebar{position:static}
  .ta-hero-slider{min-height:220px;aspect-ratio:16/10;border-radius:12px}
  .ta-hero-slide-excerpt{display:none}
  .ta-ultimora{display:none!important}
  .ta-home-sidebar > .ta-side-box{display:none!important}
  .ta-footer-grid{grid-template-columns:1fr 1fr}
  .ta-grid.grid-3,.ta-grid.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ta-card--featured .ta-card-link{grid-template-columns:1fr}
  .ta-card--featured .ta-card-media{min-height:220px;aspect-ratio:16/9}
  .ta-card--featured .ta-card-body{padding:20px}
}
@media(max-width:640px){
  .ta-secondary-grid{grid-template-columns:1fr}
  .ta-footer-grid{grid-template-columns:1fr}
  .ta-hero-slide-body{padding:14px 14px 16px;gap:8px}
  .ta-hero-slide-title{font-size:clamp(18px,5.6vw,24px);line-height:1.2}
  .ta-hero-slide-meta{font-size:12px}
  .ta-grid.grid-2,.ta-grid.grid-3,.ta-grid.grid-4{grid-template-columns:1fr}
  .ta-grid.list .ta-card--archive .ta-card-link{grid-template-columns:1fr}
  .ta-archive-hero{padding:28px 0 22px}
  .ta-archive-title{font-size:28px}
}

/* removed Codici sconto box */.ta-promo-box{display:none!important}

/* === inlined dark-mode-v2 for cached HTML pages === */
/**
 * TecnoAndroid — comprehensive dark mode (v2)
 * Loaded after main + helpers; beats forced light header/footer and hardcoded ink.
 */

/* ----- Tokens ----- */
[data-theme="dark"],
.ta-dark{
  --ta-ink:#F5F6F2;
  --ta-color-bg:#0B0E11;
  --ta-color-text:#F2F3F5;
  --ta-color-text-secondary:#9AA0AC;
  --ta-color-surface:#171B24;
  --ta-color-border:#262B36;
  --ta-color-accent:#F5F6F2;
  --ta-color-link:#F5F6F2;
  --ta-color-link-hover:#D6FF3E;
  --ta-color-primary:#F5F6F2;
  --ta-header-bg:#12151A;
  --ta-header-text:#F5F6F2;
  --ta-header-muted:#9AA0AC;
  --ta-header-border:#262B36;
  --ta-header-surface:#1B1F24;
  --ta-footer-bg:#12151A;
  --ta-footer-text:#9AA0AC;
  --ta-intro-color:#9AA0AC;
  color-scheme:dark;
}

[data-theme="dark"] body,
.ta-dark body{
  background:var(--ta-color-bg)!important;
  color:var(--ta-color-text)!important;
}

/* ----- Header (beats CSS-vars white !important) ----- */
[data-theme="dark"] .ta-site-header,
.ta-dark .ta-site-header{
  background:#12151A!important;
  color:#F5F6F2!important;
  border-bottom-color:#262B36!important;
  box-shadow:none;
}
[data-theme="dark"] .ta-site-header.is-scrolled,
.ta-dark .ta-site-header.is-scrolled{
  box-shadow:0 6px 20px rgba(0,0,0,.45);
}
[data-theme="dark"] .ta-logo--text,
[data-theme="dark"] .ta-logo-text,
[data-theme="dark"] .ta-logo-word,
.ta-dark .ta-logo--text,
.ta-dark .ta-logo-text,
.ta-dark .ta-logo-word{
  color:#F5F6F2!important;
}

/* Icon / dark-toggle / search */
[data-theme="dark"] .ta-icon-btn,
.ta-dark .ta-icon-btn{
  color:#C8CDD8!important;
  border-color:transparent;
  background:transparent;
}
[data-theme="dark"] .ta-icon-btn:hover,
[data-theme="dark"] .ta-icon-btn:focus-visible,
.ta-dark .ta-icon-btn:hover,
.ta-dark .ta-icon-btn:focus-visible{
  background:#1B1F24!important;
  color:#F5F6F2!important;
}
[data-theme="dark"] .ta-dark-toggle,
.ta-dark .ta-dark-toggle{
  border-color:#323844!important;
  background:#1B1F24!important;
  color:#F5F6F2!important;
}
[data-theme="dark"] .ta-nav-search,
[data-theme="dark"] .ta-search-open--mobile,
.ta-dark .ta-nav-search,
.ta-dark .ta-search-open--mobile{
  background:#1B1F24!important;
  border-color:#323844!important;
  color:#F5F6F2!important;
  box-shadow:none!important;
}
[data-theme="dark"] .ta-nav-search:hover,
[data-theme="dark"] .ta-nav-search:focus-visible,
[data-theme="dark"] .ta-search-open--mobile:hover,
[data-theme="dark"] .ta-search-open--mobile:focus-visible,
.ta-dark .ta-nav-search:hover,
.ta-dark .ta-nav-search:focus-visible,
.ta-dark .ta-search-open--mobile:hover,
.ta-dark .ta-search-open--mobile:focus-visible{
  background:#D6FF3E!important;
  border-color:#C3EB2A!important;
  color:#0B0E11!important;
}
[data-theme="dark"] .ta-nav-search:focus-visible{
  outline-color:#D6FF3E;
}
[data-theme="dark"] .ta-search-panel,
.ta-dark .ta-search-panel{
  background:#12151A!important;
  border-top-color:#262B36!important;
}
[data-theme="dark"] .ta-search-form input,
.ta-dark .ta-search-form input{
  background:#171B24!important;
  color:#F2F3F5!important;
  border-color:#323844!important;
}
[data-theme="dark"] .ta-search-form input::placeholder{
  color:#9AA0AC;
}

/* Mobile drawer */
[data-theme="dark"] .ta-mobile-drawer,
.ta-dark .ta-mobile-drawer{
  background:#0B0E11!important;
  color:#F2F3F5!important;
}
[data-theme="dark"] .ta-mobile-drawer-bar,
.ta-dark .ta-mobile-drawer-bar{
  color:#F5F6F2!important;
  border-bottom-color:#262B36!important;
}
[data-theme="dark"] .ta-menu-mobile a,
.ta-dark .ta-menu-mobile a{
  color:#F2F3F5!important;
  border-bottom-color:#262B36!important;
}
[data-theme="dark"] .ta-menu-mobile a:hover,
.ta-dark .ta-menu-mobile a:hover{
  color:#F5F6F2!important;
  background:#171B24!important;
}
[data-theme="dark"] .ta-mobile-social,
.ta-dark .ta-mobile-social{
  border-top-color:#262B36!important;
}
[data-theme="dark"] .ta-mobile-social-label,
.ta-dark .ta-mobile-social-label{
  color:#9AA0AC!important;
}

/* Nav live (desktop) */
[data-theme="dark"] .ta-menu,
[data-theme="dark"] .ta-menu--live,
.ta-dark .ta-menu,
.ta-dark .ta-menu--live{
  background:linear-gradient(180deg,#171B24 0%,#15181B 100%)!important;
  border-color:#262B36!important;
}
[data-theme="dark"] .ta-nav-indicator,
.ta-dark .ta-nav-indicator{
  background:#1B1F24!important;
  border-color:#323844!important;
  box-shadow:0 4px 14px rgba(0,0,0,.35)!important;
}
[data-theme="dark"] .ta-menu > li > a,
[data-theme="dark"] .ta-menu--live > li > a,
.ta-dark .ta-menu > li > a,
.ta-dark .ta-menu--live > li > a{
  color:#C8CDD8!important;
}
[data-theme="dark"] .ta-menu > li > a:hover,
[data-theme="dark"] .ta-menu > li > a:focus-visible,
[data-theme="dark"] .ta-menu--live > li > a:hover,
[data-theme="dark"] .ta-menu--live > li > a:focus-visible,
[data-theme="dark"] .ta-menu .current-menu-item > a,
[data-theme="dark"] .ta-menu .current_page_item > a,
[data-theme="dark"] .ta-menu .current-menu-ancestor > a,
[data-theme="dark"] .ta-menu--live .current-menu-item > a,
[data-theme="dark"] .ta-menu--live .current_page_item > a,
[data-theme="dark"] .ta-menu--live .current-menu-ancestor > a,
[data-theme="dark"] .ta-menu--live > li.is-active > a,
.ta-dark .ta-menu > li > a:hover,
.ta-dark .ta-menu--live > li > a:hover,
.ta-dark .ta-menu .current-menu-item > a,
.ta-dark .ta-menu--live .current-menu-item > a,
.ta-dark .ta-menu--live > li.is-active > a{
  color:#F5F6F2!important;
}
[data-theme="dark"] .ta-menu .sub-menu,
[data-theme="dark"] .ta-menu--live .sub-menu,
.ta-dark .ta-menu .sub-menu,
.ta-dark .ta-menu--live .sub-menu{
  background:#15181B!important;
  border-color:#262B36!important;
  box-shadow:0 18px 40px rgba(0,0,0,.45)!important;
}
[data-theme="dark"] .ta-menu .sub-menu a,
[data-theme="dark"] .ta-menu--live .sub-menu a,
.ta-dark .ta-menu .sub-menu a,
.ta-dark .ta-menu--live .sub-menu a{
  color:#E8EAEF!important;
}
[data-theme="dark"] .ta-menu .sub-menu a:hover,
[data-theme="dark"] .ta-menu--live .sub-menu a:hover,
.ta-dark .ta-menu .sub-menu a:hover,
.ta-dark .ta-menu--live .sub-menu a:hover{
  background:#1B1F24!important;
  color:#F5F6F2!important;
}

/* Ticker */
[data-theme="dark"] .ta-ticker,
.ta-dark .ta-ticker{
  background:#15181B!important;
  border-bottom-color:#262B36!important;
}

/* ----- Titles / links / cards (homepage + shared) ----- */
[data-theme="dark"] .ta-topic-title,
[data-theme="dark"] .ta-side-box-title,
[data-theme="dark"] .ta-ultimora-label,
[data-theme="dark"] .ta-yt-title,
[data-theme="dark"] .ta-yt-card-title,
[data-theme="dark"] .ta-article-title,
[data-theme="dark"] .ta-related-title,
[data-theme="dark"] .ta-archive-title,
[data-theme="dark"] .ta-mobile-latest-title,
[data-theme="dark"] .ta-follow-box-title,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
.ta-dark .ta-topic-title,
.ta-dark .ta-side-box-title,
.ta-dark .ta-ultimora-label,
.ta-dark .ta-yt-title,
.ta-dark .ta-yt-card-title,
.ta-dark .ta-article-title,
.ta-dark .ta-related-title,
.ta-dark .ta-archive-title,
.ta-dark .ta-mobile-latest-title,
.ta-dark .ta-follow-box-title,
.ta-dark h1,
.ta-dark h2,
.ta-dark h3,
.ta-dark h4{
  color:#F5F6F2!important;
}

[data-theme="dark"] .ta-card-title,
[data-theme="dark"] .ta-card--secondary .ta-card-title,
[data-theme="dark"] .ta-card--horizontal .ta-card-title,
[data-theme="dark"] .ta-card--grid .ta-card-title,
[data-theme="dark"] .ta-card--archive .ta-card-title,
[data-theme="dark"] .ta-card--featured .ta-card-title,
[data-theme="dark"] .ta-card--related .ta-card-title,
[data-theme="dark"] .ta-topic-split > .ta-card--secondary .ta-card-title,
[data-theme="dark"] .ta-most-read-t,
[data-theme="dark"] .ta-sw-row-title,
.ta-dark .ta-card-title,
.ta-dark .ta-card--secondary .ta-card-title,
.ta-dark .ta-card--horizontal .ta-card-title,
.ta-dark .ta-most-read-t,
.ta-dark .ta-sw-row-title{
  color:#F2F3F5!important;
}

[data-theme="dark"] .ta-card-link:hover .ta-card-title,
[data-theme="dark"] .ta-sw-row:hover .ta-sw-row-title,
[data-theme="dark"] .ta-sw-row:focus-visible .ta-sw-row-title,
.ta-dark .ta-card-link:hover .ta-card-title,
.ta-dark .ta-sw-row:hover .ta-sw-row-title{
  color:#D6FF3E!important;
}

[data-theme="dark"] .ta-card--secondary .ta-card-link,
[data-theme="dark"] .ta-card--grid .ta-card-link,
[data-theme="dark"] .ta-card--archive .ta-card-link,
[data-theme="dark"] .ta-card--featured .ta-card-link,
[data-theme="dark"] .ta-card--related .ta-card-link,
.ta-dark .ta-card--secondary .ta-card-link,
.ta-dark .ta-card--grid .ta-card-link,
.ta-dark .ta-card--archive .ta-card-link,
.ta-dark .ta-card--featured .ta-card-link,
.ta-dark .ta-card--related .ta-card-link{
  background:#15181B!important;
  border-color:#262B36!important;
  box-shadow:0 1px 3px rgba(0,0,0,.4)!important;
}
[data-theme="dark"] .ta-card--secondary .ta-card-link:hover,
[data-theme="dark"] .ta-card--grid .ta-card-link:hover,
[data-theme="dark"] .ta-card--archive .ta-card-link:hover,
[data-theme="dark"] .ta-card--featured .ta-card-link:hover,
.ta-dark .ta-card--secondary .ta-card-link:hover{
  box-shadow:0 18px 36px rgba(0,0,0,.45)!important;
  border-color:#323844!important;
}

[data-theme="dark"] .ta-card-meta,
.ta-dark .ta-card-meta{
  border-top-color:#262B36!important;
  color:#9AA0AC!important;
}
[data-theme="dark"] .ta-card-excerpt,
[data-theme="dark"] .ta-topic-all,
[data-theme="dark"] .ta-yt-all,
[data-theme="dark"] .ta-yt-date,
[data-theme="dark"] .ta-sw-row-meta,
[data-theme="dark"] .ta-meta-line,
[data-theme="dark"] .article-introduction,
.ta-dark .ta-card-excerpt,
.ta-dark .ta-topic-all,
.ta-dark .ta-yt-all,
.ta-dark .ta-sw-row-meta,
.ta-dark .article-introduction{
  color:#9AA0AC!important;
}
[data-theme="dark"] .ta-topic-all:hover,
[data-theme="dark"] .ta-yt-all:hover{
  color:#D6FF3E!important;
}
[data-theme="dark"] .ta-most-read-n{
  color:#323844!important;
}
[data-theme="dark"] .ta-side-box,
[data-theme="dark"] .ta-promo-box:not(.ta-promo-telegram),
.ta-dark .ta-side-box{
  background:#171B24!important;
}
[data-theme="dark"] .ta-most-read,
.ta-dark .ta-most-read{
  border-top-color:#262B36!important;
}
[data-theme="dark"] .ta-ultimora-item,
.ta-dark .ta-ultimora-item{
  border-top-color:#262B36!important;
  color:#F2F3F5!important;
}
[data-theme="dark"] .ta-ultimora-item time,
.ta-dark .ta-ultimora-item time{
  color:#9AA0AC!important;
}

/* Mobile latest feed */
[data-theme="dark"] .ta-sw-row,
.ta-dark .ta-sw-row{
  border-bottom-color:#262B36!important;
  color:#F2F3F5!important;
}
[data-theme="dark"] .ta-sw-row-media,
.ta-dark .ta-sw-row-media{
  background:#1B1F24!important;
}
[data-theme="dark"] .ta-sw-row-ph,
.ta-dark .ta-sw-row-ph{
  background:linear-gradient(135deg,#1B1F24,#15181B)!important;
}
[data-theme="dark"] .ta-mobile-latest-more,
[data-theme="dark"] .ta-topic-all--mobile,
.ta-dark .ta-mobile-latest-more,
.ta-dark .ta-topic-all--mobile{
  background:#1B1F24!important;
  border-color:#323844!important;
  color:#F5F6F2!important;
}
[data-theme="dark"] .ta-mobile-latest-more:hover,
[data-theme="dark"] .ta-mobile-latest-more:focus-visible,
[data-theme="dark"] .ta-topic-all--mobile:hover,
[data-theme="dark"] .ta-topic-all--mobile:focus-visible,
.ta-dark .ta-mobile-latest-more:hover,
.ta-dark .ta-topic-all--mobile:hover{
  background:#D6FF3E!important;
  border-color:#C3EB2A!important;
  color:#0B0E11!important;
}

/* Follow box */
[data-theme="dark"] .ta-follow-box,
.ta-dark .ta-follow-box{
  background:#15181B!important;
  border-color:#262B36!important;
}
[data-theme="dark"] .ta-follow-chip:focus-visible{
  outline-color:#D6FF3E;
}

/* YT section */
[data-theme="dark"] .ta-yt-head,
.ta-dark .ta-yt-head{
  border-bottom-color:#262B36!important;
}
[data-theme="dark"] .ta-yt-card,
.ta-dark .ta-yt-card{
  color:#F2F3F5!important;
}

/* Single / archive shared */
[data-theme="dark"] .ta-breadcrumb ol,
[data-theme="dark"] .ta-kicker,
[data-theme="dark"] .ta-disclosure,
[data-theme="dark"] .ta-featured figcaption,
[data-theme="dark"] .ta-archive-empty,
.ta-dark .ta-breadcrumb ol,
.ta-dark .ta-kicker,
.ta-dark .ta-disclosure{
  color:#9AA0AC!important;
}
[data-theme="dark"] .ta-disclosure,
.ta-dark .ta-disclosure{
  background:#171B24!important;
}
[data-theme="dark"] .ta-author-name,
.ta-dark .ta-author-name{
  color:#F2F3F5!important;
}
[data-theme="dark"] .ta-article-content,
.ta-dark .ta-article-content{
  color:#E8EAEF;
}
[data-theme="dark"] .ta-article-content a,
.ta-dark .ta-article-content a{
  color:#D6FF3E;
}
[data-theme="dark"] .ta-article-content .ta-table-shell,
[data-theme="dark"] .entry-content .ta-table-shell,
[data-theme="dark"] .ta-entry-content .ta-table-shell,
[data-theme="dark"] .ta-article-content .wp-block-table,
[data-theme="dark"] .entry-content .wp-block-table,
[data-theme="dark"] .ta-article-content > table,
[data-theme="dark"] .entry-content > table,
.ta-dark .ta-article-content .ta-table-shell,
.ta-dark .entry-content .ta-table-shell,
.ta-dark .ta-article-content .wp-block-table,
.ta-dark .entry-content .wp-block-table,
.ta-dark .ta-article-content > table,
.ta-dark .entry-content > table{
  border-color:#2A303C;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(214,255,62,.14), transparent 42%),
    radial-gradient(90% 70% at 100% 0%, rgba(46,230,197,.1), transparent 46%),
    linear-gradient(180deg, #1A1E24 0%, #13161A 40%),
    #13161A;
  box-shadow:
    0 0 0 1px rgba(214,255,62,.16),
    inset 0 1px 0 rgba(255,255,255,.04),
    0 16px 44px rgba(0,0,0,.45);
}
[data-theme="dark"] .ta-article-content .ta-table-shell.is-scrollable::after,
[data-theme="dark"] .entry-content .ta-table-shell.is-scrollable::after,
[data-theme="dark"] .ta-article-content .wp-block-table.is-scrollable::after,
[data-theme="dark"] .entry-content .wp-block-table.is-scrollable::after,
.ta-dark .ta-article-content .ta-table-shell.is-scrollable::after,
.ta-dark .entry-content .ta-table-shell.is-scrollable::after{
  background:linear-gradient(90deg, transparent, #13161A);
}
[data-theme="dark"] .ta-article-content table,
[data-theme="dark"] .entry-content table,
.ta-dark .ta-article-content table,
.ta-dark .entry-content table{
  color:#E8EAEF;
}
[data-theme="dark"] .ta-article-content table thead,
[data-theme="dark"] .entry-content table thead,
[data-theme="dark"] .ta-article-content table > tr:first-child > th,
[data-theme="dark"] .ta-article-content table > tbody > tr:first-child > th,
[data-theme="dark"] .entry-content table > tr:first-child > th,
[data-theme="dark"] .entry-content table > tbody > tr:first-child > th,
.ta-dark .ta-article-content table thead,
.ta-dark .entry-content table thead,
.ta-dark .ta-article-content table > tbody > tr:first-child > th,
.ta-dark .entry-content table > tbody > tr:first-child > th{
  background:linear-gradient(115deg, #07090C 0%, #10151C 50%, #0A0E12 100%);
  color:#F5F6F2;
  box-shadow:0 10px 32px rgba(214,255,62,.16);
}
[data-theme="dark"] .ta-article-content table thead th,
[data-theme="dark"] .entry-content table thead th,
.ta-dark .ta-article-content table thead th,
.ta-dark .entry-content table thead th{
  color:#F5F6F2;
}
[data-theme="dark"] .ta-article-content table th,
[data-theme="dark"] .ta-article-content table td,
[data-theme="dark"] .entry-content table th,
[data-theme="dark"] .entry-content table td,
.ta-dark .ta-article-content table th,
.ta-dark .ta-article-content table td,
.ta-dark .entry-content table th,
.ta-dark .entry-content table td{
  border-bottom-color:#262B36;
}
[data-theme="dark"] .ta-article-content table th:first-child,
[data-theme="dark"] .ta-article-content table td:first-child,
[data-theme="dark"] .entry-content table th:first-child,
[data-theme="dark"] .entry-content table td:first-child,
.ta-dark .ta-article-content table th:first-child,
.ta-dark .ta-article-content table td:first-child,
.ta-dark .entry-content table th:first-child,
.ta-dark .entry-content table td:first-child{
  color:#F2F4F8;
}
[data-theme="dark"] .ta-article-content table tbody tr:nth-child(even),
[data-theme="dark"] .entry-content table tbody tr:nth-child(even),
[data-theme="dark"] .ta-article-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd),
[data-theme="dark"] .entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd),
.ta-dark .ta-article-content table tbody tr:nth-child(even),
.ta-dark .entry-content table tbody tr:nth-child(even){
  background:rgba(255,255,255,.035);
}
@media(hover:hover) and (pointer:fine){
  [data-theme="dark"] .ta-article-content table tbody tr:hover,
  [data-theme="dark"] .entry-content table tbody tr:hover,
  .ta-dark .ta-article-content table tbody tr:hover,
  .ta-dark .entry-content table tbody tr:hover{
    background:linear-gradient(90deg, rgba(214,255,62,.16), rgba(46,230,197,.08) 50%, rgba(255,255,255,.04));
  }
}
[data-theme="dark"] .ta-article-content .has-sticky-col table th:first-child,
[data-theme="dark"] .ta-article-content .has-sticky-col table td:first-child,
[data-theme="dark"] .entry-content .has-sticky-col table th:first-child,
[data-theme="dark"] .entry-content .has-sticky-col table td:first-child,
.ta-dark .ta-article-content .has-sticky-col table th:first-child,
.ta-dark .ta-article-content .has-sticky-col table td:first-child,
.ta-dark .entry-content .has-sticky-col table th:first-child,
.ta-dark .entry-content .has-sticky-col table td:first-child{
  background:#15181B;
  box-shadow:6px 0 18px rgba(0,0,0,.35);
}
[data-theme="dark"] .ta-article-content .has-sticky-col table thead th:first-child,
[data-theme="dark"] .entry-content .has-sticky-col table thead th:first-child,
.ta-dark .ta-article-content .has-sticky-col table thead th:first-child,
.ta-dark .entry-content .has-sticky-col table thead th:first-child{
  background:#07090C;
}
[data-theme="dark"] .ta-article-content .wp-block-table figcaption,
[data-theme="dark"] .entry-content .wp-block-table figcaption,
[data-theme="dark"] .ta-article-content table caption,
[data-theme="dark"] .entry-content table caption,
.ta-dark .ta-article-content .wp-block-table figcaption,
.ta-dark .entry-content .wp-block-table figcaption,
.ta-dark .ta-article-content table caption,
.ta-dark .entry-content table caption{
  color:#9AA0AC;
  border-top-color:#262B36;
  background:
    linear-gradient(90deg, rgba(214,255,62,.1), transparent 40%),
    rgba(255,255,255,.03);
}
[data-theme="dark"] .ta-article-content .wp-block-table a,
[data-theme="dark"] .entry-content .wp-block-table a,
[data-theme="dark"] .ta-article-content table a,
[data-theme="dark"] .entry-content table a,
.ta-dark .ta-article-content .wp-block-table a,
.ta-dark .entry-content .wp-block-table a,
.ta-dark .ta-article-content table a,
.ta-dark .entry-content table a{
  color:#D6FF3E;
  text-decoration-color:rgba(214,255,62,.45);
}
[data-theme="dark"] .ta-pagination .page-numbers,
.ta-dark .ta-pagination .page-numbers{
  background:#15181B!important;
  border-color:#262B36!important;
  color:#F2F3F5!important;
}
[data-theme="dark"] .ta-pagination .page-numbers:hover,
.ta-dark .ta-pagination .page-numbers:hover{
  color:#F5F6F2!important;
  border-color:#323844!important;
}
[data-theme="dark"] .ta-pagination .page-numbers.current,
.ta-dark .ta-pagination .page-numbers.current{
  background:#D6FF3E!important;
  color:#0B0E11!important;
  border-color:#D6FF3E!important;
}
[data-theme="dark"] .ta-archive-count,
.ta-dark .ta-archive-count{
  background:#15181B!important;
  border-color:#262B36!important;
  color:#9AA0AC!important;
}
[data-theme="dark"] .ta-archive-tab,
.ta-dark .ta-archive-tab{
  color:#C8CDD8!important;
  background:#15181B!important;
  border-color:#262B36!important;
}
[data-theme="dark"] .ta-archive-tab:hover,
[data-theme="dark"] .ta-archive-tab.is-active,
.ta-dark .ta-archive-tab:hover,
.ta-dark .ta-archive-tab.is-active{
  color:#F5F6F2!important;
  background:#1B1F24!important;
  border-color:#323844!important;
}

/* Footer */
[data-theme="dark"] .ta-site-footer,
.ta-dark .ta-site-footer{
  background:#12151A!important;
  color:#9AA0AC!important;
  border-top-color:#262B36!important;
}
[data-theme="dark"] .ta-footer-main,
.ta-dark .ta-footer-main{
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(214,255,62,.08), transparent 55%),
    #12151A!important;
}
[data-theme="dark"] .ta-footer-desc,
[data-theme="dark"] .ta-footer-line,
[data-theme="dark"] .ta-footer-line--affiliate,
[data-theme="dark"] .ta-footer-updated,
.ta-dark .ta-footer-desc,
.ta-dark .ta-footer-line,
.ta-dark .ta-footer-updated{
  color:#9AA0AC!important;
}
[data-theme="dark"] .ta-footer-social-label,
[data-theme="dark"] .ta-footer-line--copy,
.ta-dark .ta-footer-social-label,
.ta-dark .ta-footer-line--copy{
  color:#F5F6F2!important;
}
[data-theme="dark"] .ta-footer-legal,
.ta-dark .ta-footer-legal{
  background:#0B0E11!important;
  border-top-color:#262B36!important;
}
[data-theme="dark"] .ta-footer-legal-nav a,
.ta-dark .ta-footer-legal-nav a{
  color:#F2F3F5!important;
}
[data-theme="dark"] .ta-footer-legal-nav a:hover,
.ta-dark .ta-footer-legal-nav a:hover{
  color:#D6FF3E!important;
}
[data-theme="dark"] .ta-footer-sep,
.ta-dark .ta-footer-sep{
  color:#4B5162!important;
}

/* Buttons that stay accent-readable */
[data-theme="dark"] .ta-btn-accent,
[data-theme="dark"] .ta-btn-offer,
.ta-dark .ta-btn-accent,
.ta-dark .ta-btn-offer{
  color:#0B0E11!important;
}

/* ========== Contatti page ========== */
.ta-contatti{padding-bottom:64px}
.ta-contatti-hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(ellipse 80% 70% at 12% -10%, rgba(214,255,62,.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(20,201,192,.12), transparent 50%),
    linear-gradient(180deg, #F4F5F7 0%, #FFFFFF 100%);
  border-bottom:1px solid var(--ta-color-border);
  padding:48px 0 40px;
}
.ta-contatti-hero-inner{max-width:760px}
.ta-contatti-kicker{
  margin:0 0 10px;font-family:var(--ta-font-heading);font-weight:700;font-size:13px;
  letter-spacing:.08em;text-transform:uppercase;color:var(--ta-color-text-secondary);
}
.ta-contatti-hero h1{
  margin:0 0 12px;font-family:var(--ta-font-heading);font-weight:700;
  font-size:clamp(32px,5vw,46px);letter-spacing:-.02em;line-height:1.12;color:var(--ta-ink);
}
.ta-contatti-lead{
  margin:0;font-size:17px;line-height:1.55;color:var(--ta-color-text-secondary);max-width:54ch;
}
.ta-contatti-channels{padding:28px 0 8px}
.ta-contatti-channel-grid{
  display:grid;grid-template-columns:1fr;gap:16px;
}
@media(min-width:720px){
  .ta-contatti-channel-grid{grid-template-columns:repeat(3,1fr)}
}
.ta-contatti-card{
  background:var(--ta-color-bg,#fff);
  border:1px solid var(--ta-color-border);
  border-radius:14px;
  padding:22px 22px 20px;
  box-shadow:0 1px 0 rgba(11,14,17,.03);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ta-contatti-card--channel:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(11,14,17,.07);
  border-color:#D0D4DC;
}
.ta-contatti-card-icon{
  width:44px;height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;
  background:var(--ta-ink);color:var(--ta-color-secondary);margin-bottom:14px;
}
.ta-contatti-card-title{
  margin:0 0 8px;font-family:var(--ta-font-heading);font-weight:700;font-size:17px;letter-spacing:-.01em;
}
.ta-contatti-card-text{
  margin:0 0 14px;font-size:14px;line-height:1.5;color:var(--ta-color-text-secondary);
}
.ta-contatti-card-link{
  font-size:13.5px;font-weight:700;color:var(--ta-ink);text-decoration:none;
  border-bottom:2px solid var(--ta-color-secondary);padding-bottom:1px;
}
.ta-contatti-card-link:hover{color:var(--ta-color-link-hover)}
.ta-contatti-body{padding:20px 0 0}
.ta-contatti-layout{
  display:grid;grid-template-columns:1fr;gap:20px;align-items:start;
}
@media(min-width:980px){
  .ta-contatti-layout{grid-template-columns:minmax(0,1.35fr) minmax(280px,.75fr);gap:24px}
}
.ta-contatti-card--form{
  padding:26px 24px 28px;
  background:
    linear-gradient(180deg, #FFFFFF 0%, #FAFBFC 100%);
}
.ta-contatti-form-head{margin-bottom:18px}
.ta-contatti-form-head h2{
  margin:0 0 6px;font-family:var(--ta-font-heading);font-weight:700;font-size:22px;letter-spacing:-.015em;
}
.ta-contatti-form-head p{margin:0;font-size:14.5px;color:var(--ta-color-text-secondary);line-height:1.5}
.ta-contatti-alert{
  border-radius:10px;padding:12px 14px;margin-bottom:16px;font-size:14px;line-height:1.45;font-weight:600;
}
.ta-contatti-alert.is-success{
  background:rgba(214,255,62,.28);color:var(--ta-ink);border:1px solid rgba(11,14,17,.08);
}
.ta-contatti-alert.is-error{
  background:rgba(255,59,59,.08);color:#9B1C1C;border:1px solid rgba(255,59,59,.22);
}
.ta-contatti-form{display:flex;flex-direction:column;gap:16px}
.ta-contatti-hp{
  position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;
  overflow:hidden!important;opacity:0!important;pointer-events:none!important;
}
.ta-contatti-row{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:640px){.ta-contatti-row{grid-template-columns:1fr 1fr}}
.ta-contatti-field{display:flex;flex-direction:column;gap:7px}
.ta-contatti-field > span,
.ta-contatti-fieldset legend{
  font-size:13px;font-weight:700;letter-spacing:.01em;color:var(--ta-color-text);
}
.ta-contatti-field em{font-style:normal;font-weight:500;color:var(--ta-color-text-secondary)}
.ta-contatti-field abbr{text-decoration:none;color:#FF3B3B}
.ta-contatti-field input,
.ta-contatti-field textarea,
.ta-contatti-field select{
  width:100%;box-sizing:border-box;border:1px solid var(--ta-color-border);
  border-radius:10px;padding:12px 14px;font:inherit;font-size:15px;color:var(--ta-color-text);
  background:#fff;transition:border-color .18s ease, box-shadow .18s ease;
}
.ta-contatti-field select{
  appearance:auto;cursor:pointer;min-height:48px;
}
.ta-contatti-field textarea{resize:vertical;min-height:140px;line-height:1.5}
.ta-contatti-field input:focus,
.ta-contatti-field textarea:focus,
.ta-contatti-field select:focus{
  outline:none;border-color:#0B0E11;box-shadow:0 0 0 3px rgba(214,255,62,.45);
}
.ta-contatti-fieldset{margin:0;padding:0;border:0}
.ta-contatti-fieldset legend{margin-bottom:10px}
.ta-contatti-types{display:grid;grid-template-columns:1fr;gap:8px}
@media(min-width:640px){.ta-contatti-types{grid-template-columns:1fr 1fr}}
.ta-contatti-type{
  display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid var(--ta-color-border);
  border-radius:10px;background:var(--ta-color-surface);cursor:pointer;font-size:13.5px;line-height:1.35;
  transition:border-color .18s ease, background .18s ease, transform .18s ease;
}
.ta-contatti-type:hover{border-color:#C5CAD3;background:#EEF0F4}
.ta-contatti-type:has(input:checked){
  border-color:var(--ta-ink);background:rgba(214,255,62,.18);font-weight:600;
}
.ta-contatti-type input{margin-top:2px;accent-color:#0B0E11;flex-shrink:0}
.ta-contatti-consent{
  display:flex;align-items:flex-start;gap:10px;font-size:13.5px;line-height:1.45;color:var(--ta-color-text-secondary);
}
.ta-contatti-consent input{margin-top:3px;accent-color:#0B0E11}
.ta-contatti-consent a{color:var(--ta-ink);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.ta-contatti-submit{
  align-self:flex-start;min-width:148px;padding:13px 26px;font-size:15px;
  transition:transform .18s ease, opacity .18s ease;
}
.ta-contatti-submit:hover{transform:translateY(-1px);opacity:.92}
.ta-contatti-aside{display:flex;flex-direction:column;gap:16px}
.ta-contatti-card--aside h2{
  margin:0 0 8px;font-family:var(--ta-font-heading);font-weight:700;font-size:18px;letter-spacing:-.01em;
}
.ta-contatti-aside-lead{margin:0 0 14px;font-size:14px;line-height:1.5;color:var(--ta-color-text-secondary)}
.ta-contatti-team{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.ta-contatti-team li{display:flex;flex-direction:column;gap:2px;padding-top:12px;border-top:1px solid var(--ta-color-border)}
.ta-contatti-team li:first-child{padding-top:0;border-top:0}
.ta-contatti-team strong{font-size:14.5px;color:var(--ta-color-text)}
.ta-contatti-team span{font-size:12.5px;color:var(--ta-color-text-secondary)}
.ta-contatti-team a{font-size:13px;font-weight:600;color:var(--ta-ink);word-break:break-all}
.ta-contatti-team a:hover{color:var(--ta-color-link-hover)}
.ta-contatti-principles{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ta-contatti-principles li{font-size:13.5px;line-height:1.45;color:var(--ta-color-text-secondary)}
.ta-contatti-principles strong{color:var(--ta-color-text)}
.ta-contatti-card--principles{
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(214,255,62,.16), transparent 55%),
    var(--ta-color-surface);
}

[data-theme="dark"] .ta-contatti-hero,
.ta-dark .ta-contatti-hero{
  background:
    radial-gradient(ellipse 80% 70% at 12% -10%, rgba(214,255,62,.1), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(20,201,192,.08), transparent 50%),
    linear-gradient(180deg, #12151A 0%, #0B0E11 100%)!important;
  border-bottom-color:#262B36!important;
}
[data-theme="dark"] .ta-contatti-hero h1,
.ta-dark .ta-contatti-hero h1{color:#F5F6F2!important}
[data-theme="dark"] .ta-contatti-kicker,
[data-theme="dark"] .ta-contatti-lead,
.ta-dark .ta-contatti-kicker,
.ta-dark .ta-contatti-lead{color:#9AA0AC!important}
[data-theme="dark"] .ta-contatti-card,
.ta-dark .ta-contatti-card{
  background:#15181B!important;border-color:#262B36!important;box-shadow:none!important;
}
[data-theme="dark"] .ta-contatti-card--form,
.ta-dark .ta-contatti-card--form{background:#15181B!important}
[data-theme="dark"] .ta-contatti-card-title,
[data-theme="dark"] .ta-contatti-form-head h2,
[data-theme="dark"] .ta-contatti-card--aside h2,
[data-theme="dark"] .ta-contatti-team strong,
[data-theme="dark"] .ta-contatti-principles strong,
[data-theme="dark"] .ta-contatti-field > span,
[data-theme="dark"] .ta-contatti-fieldset legend,
.ta-dark .ta-contatti-card-title,
.ta-dark .ta-contatti-form-head h2,
.ta-dark .ta-contatti-card--aside h2,
.ta-dark .ta-contatti-team strong,
.ta-dark .ta-contatti-principles strong,
.ta-dark .ta-contatti-field > span,
.ta-dark .ta-contatti-fieldset legend{color:#F5F6F2!important}
[data-theme="dark"] .ta-contatti-card-text,
[data-theme="dark"] .ta-contatti-form-head p,
[data-theme="dark"] .ta-contatti-aside-lead,
[data-theme="dark"] .ta-contatti-team span,
[data-theme="dark"] .ta-contatti-principles li,
[data-theme="dark"] .ta-contatti-consent,
.ta-dark .ta-contatti-card-text,
.ta-dark .ta-contatti-form-head p,
.ta-dark .ta-contatti-aside-lead,
.ta-dark .ta-contatti-team span,
.ta-dark .ta-contatti-principles li,
.ta-dark .ta-contatti-consent{color:#9AA0AC!important}
[data-theme="dark"] .ta-contatti-card-link,
[data-theme="dark"] .ta-contatti-team a,
[data-theme="dark"] .ta-contatti-consent a,
.ta-dark .ta-contatti-card-link,
.ta-dark .ta-contatti-team a,
.ta-dark .ta-contatti-consent a{color:#D6FF3E!important}
[data-theme="dark"] .ta-contatti-field input,
[data-theme="dark"] .ta-contatti-field textarea,
[data-theme="dark"] .ta-contatti-field select,
.ta-dark .ta-contatti-field input,
.ta-dark .ta-contatti-field textarea,
.ta-dark .ta-contatti-field select{
  background:#0B0E11!important;border-color:#323844!important;color:#F5F6F2!important;
}
[data-theme="dark"] .ta-contatti-type,
.ta-dark .ta-contatti-type{
  background:#0B0E11!important;border-color:#323844!important;color:#C8CDD8!important;
}
[data-theme="dark"] .ta-contatti-type:has(input:checked),
.ta-dark .ta-contatti-type:has(input:checked){
  border-color:#D6FF3E!important;background:rgba(214,255,62,.12)!important;color:#F5F6F2!important;
}
[data-theme="dark"] .ta-contatti-team li,
.ta-dark .ta-contatti-team li{border-top-color:#262B36!important}
[data-theme="dark"] .ta-contatti-card--principles,
.ta-dark .ta-contatti-card--principles{
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(214,255,62,.08), transparent 55%),
    #12151A!important;
}
[data-theme="dark"] .ta-contatti-alert.is-success,
.ta-dark .ta-contatti-alert.is-success{
  background:rgba(214,255,62,.14)!important;color:#F5F6F2!important;border-color:rgba(214,255,62,.28)!important;
}
[data-theme="dark"] .ta-contatti-alert.is-error,
.ta-dark .ta-contatti-alert.is-error{
  background:rgba(255,59,59,.12)!important;color:#FFB4B4!important;border-color:rgba(255,59,59,.3)!important;
}

/* Toggle icons */
[data-theme="dark"] .ta-ico-moon{display:none}
[data-theme="dark"] .ta-ico-sun{display:block!important}

