/*
Theme Name: technewsdaily
Theme URI: https://technewsdaily.com
Author: technewsdaily
Description: Fast, clean news theme for technewsdaily.com. Custom-built, no page builders, PageSpeed-first.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: technewsdaily
*/

/* ---- Inter (self-hosted variable font, latin) ---- */
@font-face { font-family:'Inter'; font-style:normal; font-weight:100 900; font-display:swap; src:url('assets/fonts/inter-var.woff2') format('woff2'); }

/* ============================================================
   DESIGN TOKENS  (per-theme: сменяш САМО блока GEN:COLORS)
   ============================================================ */
/* GEN:COLORS-START */
:root {
    --tnd-primary:      #1257e0;
    --tnd-primary-600:  #0e46b8;
    --tnd-accent:       #06b6d4;
    --tnd-ink:          #14171f;
    --tnd-muted:        #5c6672;
    --tnd-line:         #e5e8ee;
    --tnd-bg:           #ffffff;
    --tnd-bg-soft:      #f4f6fa;
    --tnd-topbar:       #0c1220;
}
/* GEN:COLORS-END */

:root {
    --tnd-radius: 10px;
    --tnd-maxw: 1200px;
    --tnd-gap: 24px;
    --tnd-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --tnd-font-head: var(--tnd-font);
}

/* ============================================================ RESET / BASE */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--tnd-font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--tnd-ink);
    background: var(--tnd-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tnd-primary); text-decoration: none; }
a:hover { color: var(--tnd-primary-600); }
h1,h2,h3,h4 { font-family: var(--tnd-font-head); line-height: 1.2; color: var(--tnd-ink); margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.tnd-container { max-width: var(--tnd-maxw); margin: 0 auto; padding: 0 20px; }
.tnd-visually-hidden, .screen-reader-text { position:absolute!important; width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0); white-space:nowrap; border:0; padding:0; margin:-1px; }

/* ============================================================ TOP BAR */
.tnd-topbar {
    background: var(--tnd-topbar);
    color: #cbd5e1;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.tnd-topbar .tnd-container { display:flex; align-items:center; justify-content:space-between; height:40px; }
.tnd-topbar time { color:#8ea2c0; }
.tnd-topbar a { color:#cbd5e1; }
.tnd-topbar a:hover { color:#fff; }
.tnd-topbar-right { display:flex; align-items:center; gap:12px; }
.tnd-follow { color:#8ea2c0; font-weight:700; font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
.tnd-trend-chips { display:flex; align-items:center; gap:12px; }
.tnd-topbar-trend { color:#8ea2c0; font-weight:800; text-transform:uppercase; font-size:11px; letter-spacing:.06em; }
.tnd-topbar-right a { font-weight:600; }

/* social icons */
.tnd-social { display:inline-flex; align-items:center; gap:9px; }
.tnd-social a { display:inline-flex; color:inherit; }
.tnd-social svg { width:16px; height:16px; fill:currentColor; }
.tnd-social-lg svg { width:20px; height:20px; }

/* breaking bar */
.tnd-breaking { background:var(--tnd-bg); border-bottom:1px solid var(--tnd-line); }
.tnd-breaking .tnd-container { display:flex; align-items:center; height:46px; gap:18px; overflow:hidden; }
.tnd-breaking-label { flex:none; background:#e11d48; color:#fff; font-weight:800; font-size:12px; text-transform:uppercase; letter-spacing:.05em; padding:5px 13px; border-radius:5px; position:relative; }
.tnd-breaking-label::after { content:""; position:absolute; right:-5px; top:50%; transform:translateY(-50%); border:5px solid transparent; border-left-color:#e11d48; }
.tnd-ticker { flex:1; overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent); mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent); }
.tnd-ticker-track { display:inline-flex; white-space:nowrap; will-change:transform; animation:tnd-marquee 45s linear infinite; }
.tnd-ticker:hover .tnd-ticker-track { animation-play-state:paused; }
.tnd-ticker-track a { color:var(--tnd-ink); font-weight:600; font-size:14px; padding:0 26px; position:relative; }
.tnd-ticker-track a::before { content:"•"; position:absolute; left:5px; color:var(--tnd-primary); }
.tnd-ticker-track a:hover { color:var(--tnd-primary); }
@keyframes tnd-marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tnd-ticker-track { animation:none; } }

/* ============================================================ HEADER */
.tnd-header { background:var(--tnd-topbar); position:sticky; top:0; z-index:100; transition:box-shadow .2s ease; }
.tnd-header.is-stuck { box-shadow:0 6px 24px rgba(0,0,0,.28); }
.tnd-header .tnd-container { display:flex; align-items:center; gap:24px; min-height:72px; position:relative; }
.tnd-logo { display:inline-flex; align-items:center; }
.tnd-logo-img { height:42px; width:auto; display:block; }
.tnd-logo img.custom-logo { max-height:42px; width:auto; }
.tnd-nav { margin-left:auto; align-self:stretch; }
.tnd-nav ul { list-style:none; margin:0; padding:0; display:flex; gap:26px; height:100%; }
.tnd-nav li { display:flex; }
.tnd-nav a { color:#cbd5e1; font-weight:600; font-size:15px; display:flex; align-items:center; border-bottom:3px solid transparent; }
.tnd-nav a:hover, .tnd-nav .current-menu-item > a { color:#fff; border-bottom-color:var(--tnd-primary); }
.tnd-header-actions { display:flex; align-items:center; gap:10px; }
.tnd-icon-btn { background:none; border:0; cursor:pointer; color:#cbd5e1; padding:6px; display:flex; }
.tnd-icon-btn:hover { color:#fff; }
.tnd-menu-toggle { display:none; }

/* search dropdown (inside dark header) */
.tnd-search-bar { position:absolute; right:0; top:calc(100% + 8px); z-index:60; background:var(--tnd-topbar); border:1px solid rgba(255,255,255,.14); border-radius:10px; padding:8px; box-shadow:0 12px 30px rgba(0,0,0,.35); }
.tnd-search-bar form { width:280px; max-width:78vw; }
.tnd-search-bar .search-field { width:100%; padding:8px 12px; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.08); color:#fff; border-radius:7px; font-size:14px; }
.tnd-search-bar .search-field::placeholder { color:#8ea2c0; }
.tnd-search-bar .search-submit { display:none; }

/* ============================================================ LAYOUT GRID */
.tnd-main { padding: 32px 0 48px; }
.tnd-with-sidebar { display:grid; grid-template-columns: 1fr 320px; gap:40px; align-items:start; }

/* ============================================================ SECTION TITLE */
.tnd-section-title {
    display:flex; align-items:center; gap:12px;
    font-size:20px; font-weight:700; margin:0 0 18px;
    padding-bottom:10px; border-bottom:2px solid var(--tnd-line);
}
.tnd-section-title::before { content:""; width:6px; height:22px; background:var(--tnd-primary); border-radius:3px; }
.tnd-section-title a { margin-left:auto; font-size:13px; font-weight:600; color:var(--tnd-muted); }

/* ============================================================ CARD */
.tnd-badge {
    display:inline-block; background:var(--tnd-primary); color:#fff;
    font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.03em;
    padding:2px 7px; border-radius:3px; line-height:1.5;
}
.tnd-badge:hover { color:#fff; background:var(--tnd-primary-600); }
/* boxed card */
.tnd-card { background:var(--tnd-bg); border:1px solid var(--tnd-line); border-radius:14px; overflow:hidden; display:flex; flex-direction:column; transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.tnd-card:hover { box-shadow:0 12px 30px rgba(16,24,40,.13); transform:translateY(-3px); border-color:transparent; }
.tnd-thumb-wrap { position:relative; }
.tnd-thumb-wrap .tnd-badge { position:absolute; left:12px; bottom:12px; z-index:2; box-shadow:0 2px 8px rgba(0,0,0,.3); }
.tnd-card .tnd-thumb { display:block; aspect-ratio:3/2; overflow:hidden; background:var(--tnd-bg-soft); }
.tnd-card .tnd-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.tnd-card:hover .tnd-thumb img { transform:scale(1.05); }
.tnd-card-body { padding:14px 16px 15px; display:flex; flex-direction:column; gap:9px; flex:1; }
.tnd-card h3 { font-size:16.5px; line-height:1.34; margin:0; }
.tnd-card h3 a { color:var(--tnd-ink); }
.tnd-card h3 a:hover { color:var(--tnd-primary); }
.tnd-card .tnd-excerpt { color:var(--tnd-muted); font-size:14px; margin:0; }

/* meta line with icons */
.tnd-meta { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:auto; padding-top:2px; color:var(--tnd-muted); font-size:12.5px; }
.tnd-meta > span { display:inline-flex; align-items:center; }
.tnd-i { width:14px; height:14px; margin-right:5px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; opacity:.8; }
.tnd-m-views { color:var(--tnd-primary); font-weight:800; }
.tnd-m-views .tnd-i { opacity:1; }

/* GRID of cards */
.tnd-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--tnd-gap); }
.tnd-grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:var(--tnd-gap); }
.tnd-section { margin-bottom:44px; }

/* ============================================================ HERO */
.tnd-hero { display:grid; grid-template-columns:2fr 1fr; gap:var(--tnd-gap); margin-bottom:44px; }
.tnd-hero-main .tnd-thumb { display:block; aspect-ratio:16/9; border-radius:14px; overflow:hidden; background:var(--tnd-bg-soft); }
.tnd-hero-main .tnd-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.tnd-hero-main h2 { font-size:30px; margin:14px 0 8px; }
.tnd-hero-main h2 a { color:var(--tnd-ink); }
.tnd-hero-main h2 a:hover { color:var(--tnd-primary); }
.tnd-hero-side { display:flex; flex-direction:column; gap:16px; }
.tnd-hero-side .tnd-mini { display:grid; grid-template-columns:96px 1fr; gap:12px; align-items:start; }
.tnd-hero-side .tnd-mini .tnd-thumb { aspect-ratio:1/1; margin:0; border-radius:10px; overflow:hidden; background:var(--tnd-bg-soft); }
.tnd-hero-side .tnd-mini .tnd-thumb img { width:100%; height:100%; object-fit:cover; }
.tnd-hero-side .tnd-mini h4 { font-size:15px; margin:4px 0; }
.tnd-hero-side .tnd-mini h4 a { color:var(--tnd-ink); }

/* ============================================================ SIDEBAR */
.tnd-sidebar .widget, .tnd-sidebar .tnd-widget { background:var(--tnd-bg-soft); border:1px solid var(--tnd-line); border-radius:var(--tnd-radius); padding:16px 17px; margin-bottom:18px; }
.tnd-sidebar .tnd-widget-title { display:flex; align-items:center; font-size:20px; font-weight:700; margin:0 0 14px; }
.tnd-sidebar { align-self:start; position:sticky; top:88px; }
.tnd-sticky { display:block; }
.tnd-rank { display:grid; grid-template-columns:auto 1fr; gap:11px; padding:8px 0; border-top:1px solid var(--tnd-line); align-items:start; }
.tnd-rank:first-of-type { border-top:0; }
.tnd-rank .num { font-size:19px; font-weight:800; color:var(--tnd-primary); line-height:1.2; font-variant-numeric:tabular-nums; }
.tnd-rank h4 { font-size:13.5px; margin:0; line-height:1.3; font-weight:600; }
.tnd-rank h4 a { color:var(--tnd-ink); }
.tnd-rank h4 a:hover { color:var(--tnd-primary); }
.tnd-rank-meta { display:inline-flex; align-items:center; font-size:12px; color:var(--tnd-muted); margin-top:5px; font-weight:700; }
.tnd-rank-meta .tnd-i { width:13px; height:13px; opacity:.8; }
.tnd-rank-img { grid-template-columns:96px 1fr; gap:13px; align-items:center; padding:11px 0; }
.tnd-rimg { display:block; width:96px; height:64px; border-radius:9px; overflow:hidden; background:var(--tnd-bg-soft); flex:none; }
.tnd-rimg img { width:100%; height:100%; object-fit:cover; }

/* Popular Stories widget */
.tnd-pop-lead { padding-bottom:14px; margin-bottom:4px; border-bottom:1px solid var(--tnd-line); }
.tnd-pop-thumb { display:block; aspect-ratio:16/9; border-radius:10px; overflow:hidden; background:var(--tnd-bg-soft); margin-bottom:12px; }
.tnd-pop-thumb img { width:100%; height:100%; object-fit:cover; }
.tnd-pop-lead-row { display:flex; align-items:flex-start; gap:12px; }
.tnd-pop-lead-row h4 { flex:1; font-size:16px; line-height:1.3; margin:0; font-weight:700; }
.tnd-pop-num { flex:none; font-size:34px; font-weight:800; font-style:italic; line-height:.9; color:var(--tnd-line); }
.tnd-pop-item { display:grid; grid-template-columns:auto 1fr; gap:13px; align-items:center; padding:12px 0; border-bottom:1px solid var(--tnd-line); }
.tnd-pop-item:last-child { border-bottom:0; }
.tnd-pop-num-sm { width:40px; height:40px; border-radius:50%; background:var(--tnd-bg-soft); display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:800; font-style:italic; color:var(--tnd-muted); flex:none; }
.tnd-pop-item h4 { font-size:14px; line-height:1.35; margin:0; font-weight:600; }
.tnd-pop-lead-row h4 a, .tnd-pop-item h4 a { color:var(--tnd-ink); }
.tnd-pop-lead-row h4 a:hover, .tnd-pop-item h4 a:hover { color:var(--tnd-primary); }
.tnd-pop-meta { display:block; margin-top:6px; font-size:11px; color:var(--tnd-muted); text-transform:uppercase; letter-spacing:.04em; font-weight:700; }
.tnd-cat-list { list-style:none; margin:0; padding:0; }
.tnd-cat-list li { display:flex; justify-content:space-between; padding:8px 0; border-top:1px solid var(--tnd-line); font-weight:600; }
.tnd-cat-list li:first-child { border-top:0; }
.tnd-cat-list .count { color:var(--tnd-muted); font-weight:400; }

/* ============================================================ SINGLE */
.tnd-article-head { margin-bottom:22px; }
.tnd-breadcrumbs { font-size:13px; color:var(--tnd-muted); margin-bottom:14px; }
.tnd-breadcrumbs a { color:var(--tnd-muted); }
.tnd-breadcrumbs a:hover { color:var(--tnd-primary); }
.tnd-article-head h1 { font-size:38px; margin:12px 0; letter-spacing:-.01em; }
.tnd-dek { font-size:20px; color:var(--tnd-muted); margin:0 0 16px; }
.tnd-article-meta { display:flex; flex-wrap:wrap; align-items:center; gap:16px; padding:14px 0; border-top:1px solid var(--tnd-line); border-bottom:1px solid var(--tnd-line); font-size:14px; color:var(--tnd-muted); }
.tnd-author-chip { display:flex; align-items:center; gap:9px; color:inherit; }
.tnd-author-chip img { width:36px; height:36px; border-radius:50%; }
.tnd-author-chip b { color:var(--tnd-ink); }
.tnd-author-chip:hover b { color:var(--tnd-primary); }
.tnd-featured { margin:22px 0; }
.tnd-featured img { display:block; width:100%; aspect-ratio:16/9; height:auto; object-fit:cover; border-radius:var(--tnd-radius); background:var(--tnd-bg-soft); }
.tnd-featured figcaption { font-size:13px; color:var(--tnd-muted); margin-top:8px; text-align:center; }

.tnd-content { font-size:19px; line-height:1.75; max-width:760px; }
.tnd-content h2 { font-size:27px; margin:1.6em 0 .5em; }
.tnd-content h3 { font-size:22px; margin:1.4em 0 .5em; }
.tnd-content ul, .tnd-content ol { padding-left:1.3em; margin:0 0 1em; }
.tnd-content li { margin-bottom:.4em; }
.tnd-content blockquote { margin:1.5em 0; padding:.4em 1.2em; border-left:4px solid var(--tnd-primary); background:var(--tnd-bg-soft); font-size:20px; font-style:italic; border-radius:0 var(--tnd-radius) var(--tnd-radius) 0; }
.tnd-content figure { margin:1.5em 0; }
.tnd-content figure img { border-radius:var(--tnd-radius); }
.tnd-content figcaption { font-size:13px; color:var(--tnd-muted); margin-top:6px; }
.tnd-content pre { background:#0c1220; color:#e2e8f0; padding:18px; border-radius:var(--tnd-radius); overflow:auto; font-size:14px; }
.tnd-content code { background:var(--tnd-bg-soft); padding:2px 6px; border-radius:4px; font-size:.9em; }
.tnd-content pre code { background:none; padding:0; }
.tnd-content table { width:100%; border-collapse:collapse; margin:1.5em 0; font-size:15px; }
.tnd-content th, .tnd-content td { border:1px solid var(--tnd-line); padding:10px 12px; text-align:left; }
.tnd-content th { background:var(--tnd-bg-soft); }
.tnd-content img { border-radius:var(--tnd-radius); }

.tnd-takeaways { background:var(--tnd-bg-soft); border:1px solid var(--tnd-line); border-left:4px solid var(--tnd-accent); border-radius:var(--tnd-radius); padding:18px 22px; margin:0 0 26px; }
.tnd-takeaways strong { display:block; margin-bottom:8px; text-transform:uppercase; font-size:13px; letter-spacing:.05em; color:var(--tnd-accent); }

/* Lead / announcement — the first paragraph of every article */
.tnd-content > p:first-of-type { font-size:20px; line-height:1.6; font-weight:500; color:var(--tnd-ink); border-left:4px solid var(--tnd-primary); background:var(--tnd-bg-soft); padding:14px 20px; border-radius:0 10px 10px 0; margin:0 0 1.5em; }

/* SHARE */
.tnd-share { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin:20px 0; }
.tnd-share-label { font-weight:700; font-size:13px; margin-right:4px; }
.tnd-sh { width:38px; height:38px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--tnd-line); background:var(--tnd-bg); color:var(--tnd-ink); cursor:pointer; transition:background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease; }
.tnd-sh svg { width:17px; height:17px; fill:currentColor; }
.tnd-sh:hover { color:#fff; transform:translateY(-2px); }
.tnd-sh-fb:hover { background:#1877f2; border-color:#1877f2; }
.tnd-sh-x:hover  { background:#000;    border-color:#000; }
.tnd-sh-wa:hover { background:#25d366; border-color:#25d366; }
.tnd-sh-tg:hover { background:#0088cc; border-color:#0088cc; }
.tnd-sh-link:hover { background:var(--tnd-primary); border-color:var(--tnd-primary); }
.tnd-sh-link.is-copied { background:#16a34a; border-color:#16a34a; color:#fff; }

/* TAGS */
.tnd-tags { display:flex; flex-wrap:wrap; gap:8px; margin:24px 0; }
.tnd-tags a { background:var(--tnd-bg-soft); border:1px solid var(--tnd-line); border-radius:20px; padding:5px 14px; font-size:13px; color:var(--tnd-muted); }
.tnd-tags a:hover { border-color:var(--tnd-primary); color:var(--tnd-primary); }

/* AUTHOR BOX */
.tnd-author-box { display:flex; gap:16px; background:var(--tnd-bg-soft); border:1px solid var(--tnd-line); border-radius:var(--tnd-radius); padding:20px; margin:28px 0; }
.tnd-author-box img { width:64px; height:64px; border-radius:50%; flex:none; }
.tnd-author-box h4 { margin:0 0 4px; }
.tnd-author-box p { margin:0; color:var(--tnd-muted); font-size:14px; }

/* RELATED */
.tnd-related { margin-top:40px; }

/* STATIC PAGE (page.php) */
.tnd-page { max-width:760px; margin:0 auto; padding:6px 0 24px; }
.tnd-page-title { font-size:36px; line-height:1.15; margin:12px 0 22px; }
.tnd-page .tnd-content { max-width:none; }
.tnd-page .tnd-content > p:first-of-type { font-size:19px; font-weight:400; color:var(--tnd-ink); background:none; border-left:0; padding:0; border-radius:0; margin:0 0 1em; }
@media (max-width: 640px) { .tnd-page-title { font-size:28px; } }

/* AUTHOR HERO (author.php) */
.tnd-author-hero { display:flex; gap:22px; align-items:center; background:var(--tnd-bg-soft); border:1px solid var(--tnd-line); border-radius:14px; padding:26px 28px; margin-bottom:32px; }
.tnd-author-hero img { width:88px; height:88px; border-radius:50%; flex:none; }
.tnd-author-role { color:var(--tnd-primary); font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:.05em; }
.tnd-author-hero h1 { font-size:27px; margin:4px 0 2px; }
.tnd-author-count { color:var(--tnd-muted); font-size:13.5px; font-weight:600; }
.tnd-author-hero p { margin:10px 0 0; color:var(--tnd-muted); font-size:15px; line-height:1.6; max-width:660px; }
.tnd-author-web { display:inline-block; margin-top:10px; font-weight:600; font-size:14px; }
@media (max-width: 640px) {
    .tnd-author-hero { flex-direction:column; text-align:center; align-items:center; padding:24px 20px; }
    .tnd-author-hero p { text-align:left; }
}

/* READING PROGRESS */
.tnd-progress { position:fixed; top:0; left:0; height:3px; width:0; background:var(--tnd-accent); z-index:9999; transition:width .1s linear; }

/* ============================================================ PAGINATION */
.tnd-pagination { display:flex; gap:8px; justify-content:center; margin:40px 0 0; flex-wrap:wrap; }
.tnd-pagination .page-numbers { display:inline-flex; min-width:40px; height:40px; align-items:center; justify-content:center; padding:0 12px; border:1px solid var(--tnd-line); border-radius:8px; font-weight:600; color:var(--tnd-ink); }
.tnd-pagination .page-numbers.current { background:var(--tnd-primary); color:#fff; border-color:var(--tnd-primary); }
.tnd-pagination a.page-numbers:hover { border-color:var(--tnd-primary); color:var(--tnd-primary); }

/* ============================================================ FOOTER */
.tnd-footer { background:var(--tnd-topbar); color:#94a3b8; margin-top:48px; }
.tnd-footer a { color:#cbd5e1; }
.tnd-footer a:hover { color:#fff; }
.tnd-footer-top { display:grid; grid-template-columns:1.6fr 1fr 1fr 1.5fr; gap:40px; padding:48px 20px 36px; max-width:var(--tnd-maxw); margin:0 auto; }
.tnd-footer .tnd-logo-img { height:40px; }
.tnd-footer-brand p { margin:14px 0 16px; font-size:14px; line-height:1.6; max-width:320px; }
.tnd-footer h4 { color:#fff; font-size:14px; text-transform:uppercase; letter-spacing:.04em; margin:0 0 16px; }
.tnd-footer ul { list-style:none; margin:0; padding:0; }
.tnd-footer li { padding:5px 0; font-size:14px; }
.tnd-footer-news p { font-size:14px; margin:0 0 14px; line-height:1.6; }
.tnd-news-form { display:flex; gap:8px; }
.tnd-news-form input { flex:1; min-width:0; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.06); color:#fff; border-radius:8px; padding:11px 13px; font-size:14px; }
.tnd-news-form input::placeholder { color:#8ea2c0; }
.tnd-news-form button { flex:none; background:var(--tnd-primary); color:#fff; border:0; border-radius:8px; padding:0 18px; font-weight:700; font-size:14px; cursor:pointer; }
.tnd-news-form button:hover { background:var(--tnd-primary-600); }
.tnd-news-msg { color:#4ade80; font-size:13px; margin-top:9px; min-height:1em; }
.tnd-footer-bottom { border-top:1px solid rgba(255,255,255,.1); }
.tnd-footer-bottom .tnd-container { display:flex; justify-content:space-between; align-items:center; padding-top:20px; padding-bottom:20px; font-size:13px; flex-wrap:wrap; gap:10px; }

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
    .tnd-with-sidebar { grid-template-columns:1fr; }
    .tnd-sidebar { position:static; }
    .tnd-hero { grid-template-columns:1fr; }
    .tnd-grid { grid-template-columns:repeat(2,1fr); }
    .tnd-footer-top { grid-template-columns:1fr 1fr; gap:32px; }
    .tnd-trend-chips { display:none; }
}
@media (max-width: 640px) {
    body { font-size:16px; }
    .tnd-nav { display:none; }
    .tnd-menu-toggle { display:flex; margin-left:auto; }
    .tnd-nav.is-open { display:block; position:absolute; left:0; right:0; top:100%; background:#fff; border-top:1px solid var(--tnd-line); box-shadow:0 14px 28px rgba(0,0,0,.14); padding:4px 0; z-index:55; }
    .tnd-nav.is-open ul { flex-direction:column; gap:0; height:auto; }
    .tnd-nav.is-open li { display:block; border-top:1px solid var(--tnd-line); }
    .tnd-nav.is-open li:first-child { border-top:0; }
    .tnd-nav.is-open a { display:block; color:var(--tnd-ink); font-weight:600; padding:13px 20px; border-bottom:0; }
    .tnd-nav.is-open a:hover, .tnd-nav.is-open .current-menu-item > a { color:var(--tnd-primary); background:var(--tnd-bg-soft); border-bottom:0; border-color:transparent; }
    .tnd-header .tnd-container { position:relative; }
    .tnd-grid, .tnd-grid-2 { grid-template-columns:1fr; }
    .tnd-article-head h1 { font-size:28px; }
    .tnd-content { font-size:17px; }
    .tnd-footer-top { grid-template-columns:1fr; }
    .tnd-topbar time { font-size:12px; }
}
