/*
Theme Name: AUV EasyVPN24 News
Theme URI: https://www.easyvpn24.com/
Author: AUV
Description: Custom editorial lead-generation theme for EasyVPN24.
Version: 0.2.4
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: auv-easyvpn24
*/

:root {
  --bg: #09101b;
  --surface: #0f1928;
  --surface-soft: #142338;
  --ink: #eef6ff;
  --muted: #8ea2b8;
  --line: #24364b;
  --brand: #25e7a2;
  --brand-2: #43a4ff;
  --accent: #ffb84d;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --radius: 4px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(circle at 18% 0, rgba(37, 231, 162, .14), transparent 32%), var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { background: rgba(9, 16, 27, .94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.topbar { display: flex; align-items: center; gap: 22px; min-height: 96px; }
.brand { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 14px; min-width: 340px; }
.brand-mark { width: 64px; height: 64px; display: block; }
.brand-title { display: block; font-size: 32px; font-weight: 800; letter-spacing: 0; line-height: 1.08; }
.brand-sub { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a { padding: 8px 10px; color: #c9d8e8; border: 1px solid transparent; border-radius: var(--radius); font-weight: 650; font-size: 13px; }
.main-nav a:hover { border-color: var(--line); background: var(--surface-soft); color: var(--brand); }
.header-ad { border-top: 1px solid var(--line); padding: 10px 0; background: #0b1422; }
.ad-slot { display: flex; align-items: center; justify-content: center; min-height: 124px; overflow: visible; border: 1px solid var(--line); background: #101b2c; border-radius: var(--radius); padding: 10px; }
.ad-link_redspeed { display: block; line-height: 0; }
.ad-slot-header-ad .ad_redspeed, .ad-slot-infeed-ad .ad_redspeed { display: block; width: min(100%, 728px) !important; height: auto !important; max-height: none !important; object-fit: contain; }
.ad-slot-header-ad iframe, .ad-slot-infeed-ad iframe { max-width: 100%; max-height: 90px; }
.widget .ad-slot { min-height: 280px; padding: 10px; }
.widget .ad-slot img { width: min(100%, 300px); height: auto; max-height: none; object-fit: contain; }
.hero { padding: 28px 0 22px; }
.vpn-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; }
.vpn-console, .panel, .post-card, .article-shell { background: rgba(15, 25, 40, .94); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.vpn-console { min-height: 360px; overflow: hidden; position: relative; }
.vpn-console:before { content: ""; position: absolute; inset: 48px 28px auto auto; width: 170px; height: 170px; border: 1px solid rgba(67,164,255,.34); border-radius: 50%; box-shadow: inset 0 0 0 28px rgba(67,164,255,.06); }
.console-top { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.console-top span { width: 9px; height: 9px; border-radius: 50%; background: #35516e; }
.console-top span:nth-child(1) { background: #ff5f57; }
.console-top span:nth-child(2) { background: #ffbd2e; }
.console-top span:nth-child(3) { background: #28c840; }
.lead-body { padding: 34px; display: flex; min-height: 318px; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; width: fit-content; gap: 8px; padding: 4px 9px; background: rgba(37,231,162,.12); color: var(--brand); border: 1px solid rgba(37,231,162,.28); border-radius: 4px; font-weight: 750; font-size: 12px; }
h1, h2, h3 { line-height: 1.25; letter-spacing: 0; }
.lead-title { font-size: clamp(30px, 4vw, 50px); margin: 18px 0 12px; max-width: 760px; }
.lead-excerpt { color: var(--muted); font-size: 16px; }
.tool-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tool-strip span { padding: 6px 10px; border: 1px solid var(--line); background: #0b1422; color: #cce0f6; font-size: 12px; border-radius: var(--radius); }
.btn { display: inline-flex; width: fit-content; align-items: center; justify-content: center; margin-top: 20px; padding: 10px 14px; border-radius: var(--radius); background: var(--brand); color: #06101a; font-weight: 800; }
.panel { padding: 20px; }
.panel-title { margin: 0 0 14px; font-size: 18px; }
.trend-list { display: grid; gap: 12px; }
.trend-item { padding: 12px; border: 1px solid var(--line); background: #0b1422; border-radius: var(--radius); }
.trend-item:last-child { border-bottom: 0; padding-bottom: 0; }
.trend-item strong { display: block; font-size: 15px; line-height: 1.35; }
.trend-item span { color: var(--muted); font-size: 12px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; padding: 16px 0 42px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
.section-head h2 { margin: 0; font-size: 24px; color: #fff; }
.post-list { display: grid; gap: 10px; }
.post-card { display: block; overflow: hidden; }
.post-thumb { min-height: 118px; background: #0b1422; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body { padding: 16px 18px; }
.cat { color: var(--brand); font-size: 12px; font-weight: 800; }
.post-card h2, .post-card h3 { margin: 8px 0 8px; font-size: 19px; }
.meta { color: var(--muted); font-size: 12px; }
.excerpt { color: #a9bed5; font-size: 14px; margin-top: 8px; }
.sidebar { display: grid; gap: 16px; }
.widget { background: rgba(15, 25, 40, .94); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); overflow: hidden; }
.widget h2, .widget h3 { font-size: 16px; margin: 0 0 12px; }
.archive-hero { padding: 32px 0 10px; }
.archive-card { background: #0f1928; color: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.archive-card p { color: rgba(255,255,255,.78); max-width: 720px; }
.article-shell { overflow: hidden; }
.article-cover img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.article-body { padding: min(48px, 6vw); background: var(--surface); }
.article-body h1 { font-size: clamp(30px, 4vw, 48px); margin: 10px 0 10px; }
.article-content { font-size: 18px; color: #d9e7f6; }
.article-content p { margin: 0 0 1.05em; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; background: #060b12; color: #d8e5f3; }
body.single .layout { display: block; width: min(920px, calc(100% - 32px)); }
body.single .article-shell { margin: 0 auto; }
body.single .sidebar { margin-top: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .topbar, .vpn-hero-grid, .layout, .post-card { display: block; }
  .topbar { min-height: 0; padding: 14px 0; }
  .brand { display: grid; grid-template-columns: 52px minmax(0, 1fr); min-width: 0; gap: 12px; }
  .brand-mark { width: 52px; height: 52px; }
  .brand-title { font-size: 28px; }
  .brand-sub { font-size: 13px; white-space: normal; }
  .main-nav { margin: 12px 0 0; }
  .lead-body, .panel, .article-body { padding: 20px; }
  .post-grid { grid-template-columns: 1fr; }
  .sidebar { margin-top: 18px; }
  body.single .sidebar { grid-template-columns: 1fr; }
  .ad-slot-header-ad .ad_redspeed, .ad-slot-infeed-ad .ad_redspeed { width: min(100%, 300px) !important; }
}
