:root{
  --bg:#f4f6fb;
  --card:#ffffff;
  --text:#101827;
  --muted:#6b7280;
  --accent:#ff3d57;
  --accent2:#0ea5e9;
  --border: rgba(16,24,39,.08);
  --shadow: 0 12px 30px rgba(16,24,39,.08);
  --radius: 18px;
}
body{ background:var(--bg); color:var(--text); }
.topbar{ background:#0b1220; color:rgba(255,255,255,.85); padding:8px 0; }
.topbar-link{ color:rgba(255,255,255,.85); text-decoration:none; }
.topbar-link:hover{ color:#fff; }
.site-header{ background:#fff; border-bottom:1px solid var(--border); }
.header-inner{ padding:18px 0; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand{ text-decoration:none; display:flex; align-items:baseline; gap:6px; }
.brand-main{ font-weight:900; letter-spacing:.08em; }
.brand-dot{ color:var(--accent); font-weight:800; }
.searchbar{ display:flex; align-items:center; gap:8px; width:min(460px,100%); }
.searchbar-input{ flex:1; border:1px solid var(--border); border-radius:999px; padding:10px 14px; outline:none; }
.searchbar-btn{ border:none; background:var(--accent); color:#fff; width:42px; height:42px; border-radius:999px; }
.navcat{ background:#fff; border-top:1px solid var(--border); }
.navcat-inner{ display:flex; gap:14px; overflow:auto; padding:10px 0; }
.navcat-link{ text-decoration:none; color:#111827; font-weight:600; padding:8px 10px; border-radius:999px; white-space:nowrap; }
.navcat-link:hover{ background:rgba(255,61,87,.10); color:var(--accent); }
.section-title{ display:flex; align-items:end; justify-content:space-between; margin:6px 0 12px; }
.section-title h3{ margin:0; font-weight:800; letter-spacing:.02em; }

.featured-grid .grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
}
.featured{
  position:relative; display:block; border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow); min-height:170px;
}
.featured--big{ grid-row: 1 / span 3; min-height:540px; }
.featured img{ width:100%; height:100%; object-fit:cover; display:block; }
.featured-overlay{
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(11,18,32,.88) 0%, rgba(11,18,32,.18) 62%, rgba(11,18,32,0) 100%);
  padding:18px; display:flex; flex-direction:column; justify-content:flex-end; color:#fff;
}
.featured-cat{
  display:inline-flex; align-self:flex-start;
  background: rgba(255,61,87,.95);
  padding: 6px 10px; border-radius:999px;
  font-weight:800; font-size:.85rem;
}
.featured-title{ margin:10px 0 6px; font-weight:900; letter-spacing:.01em; line-height:1.15; }
.featured-meta{ color: rgba(255,255,255,.82); font-size:.9rem; }
@media (max-width: 992px){
  .featured-grid .grid{ grid-template-columns:1fr; grid-template-rows:auto; }
  .featured--big{ grid-row:auto; min-height:320px; }
  .featured{ min-height:220px; }
}

.news-card{
  display:block; background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden;
  box-shadow: 0 10px 26px rgba(16,24,39,.06);
  text-decoration:none; color:inherit; height:100%;
}
.news-thumb{ position:relative; }
.news-thumb img{ width:100%; height:190px; object-fit:cover; display:block; }
.news-badge{
  position:absolute; left:12px; bottom:12px;
  background: rgba(14,165,233,.95);
  color:#fff; padding:6px 10px; border-radius:999px;
  font-weight:700; font-size:.82rem;
}
.news-body{ padding: 14px 14px 16px; }
.news-title{ margin:0 0 8px; font-weight:800; font-size:1.02rem; line-height:1.25; }
.news-excerpt{ margin:0 0 10px; color:var(--muted); font-size:.95rem; }
.news-meta{ color:var(--muted); font-size:.85rem; }

.post{
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); box-shadow:var(--shadow); padding:18px;
}
.post-cat{
  display:inline-flex; background:rgba(255,61,87,.10);
  color:var(--accent); padding:6px 10px; border-radius:999px;
  font-weight:800;
}
.post-title{ margin:12px 0 6px; font-weight:900; letter-spacing:.01em; }
.post-meta{ color:var(--muted); font-size:.9rem; margin-bottom:12px; }
.post-hero{ width:100%; height:420px; object-fit:cover; border-radius:14px; margin:10px 0 14px; }
.post-content p{ line-height:1.8; font-size:1.04rem; color:#111827; }

.widget{
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); box-shadow:0 10px 26px rgba(16,24,39,.06);
  padding:14px;
}
.widget-title{ font-weight:900; margin-bottom:10px; }
.mini-item{ display:flex; gap:10px; padding:10px; border-radius:14px; text-decoration:none; color:inherit; }
.mini-item:hover{ background:rgba(16,24,39,.04); }
.mini-item img{ width:78px; height:58px; border-radius:12px; object-fit:cover; }
.mini-title{ font-weight:800; font-size:.95rem; line-height:1.2; }
.mini-meta{ color:var(--muted); font-size:.82rem; }

.ad{
  background:#fff; border:1px dashed rgba(16,24,39,.20);
  border-radius:var(--radius); padding:10px; text-align:center;
}
.ad-sticky{ position:sticky; top:16px; }
.ad-test{
  background: rgba(255,61,87,.08);
  border: 1px dashed rgba(255,61,87,.55);
  color:#b81d33;
  padding:12px;
  border-radius:14px;
  font-weight:800;
}

.site-footer{ margin-top:40px; background:#0b1220; color:rgba(255,255,255,.85); padding:22px 0; }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; gap:16px; }
.footer-brand{ font-weight:900; letter-spacing:.08em; }
.footer-links a{ color: rgba(255,255,255,.80); text-decoration:none; margin-left:12px; }
.footer-links a:hover{ color:#fff; }

.cookie-banner{
  position:fixed; left:0; right:0; bottom:0;
  background:#111827; color:rgba(255,255,255,.92);
  padding:12px 0; z-index:9999;
  box-shadow: 0 -10px 30px rgba(0,0,0,.25);
}
.cookie-banner-inner{
  max-width: 1100px; margin:0 auto; padding:0 16px;
  display:flex; gap:12px; align-items:center; justify-content:space-between;
}
.cookie-actions{ display:flex; gap:10px; }
.cookie-btn{
  border:none; border-radius:999px; padding:10px 14px; font-weight:800; cursor:pointer;
}
.cookie-accept{ background: var(--accent); color:#fff; }
.cookie-decline{ background: rgba(255,255,255,.14); color:#fff; }
.aff-banner{
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.aff-link{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap:12px;
  align-items:stretch;
  text-decoration:none;
  color:inherit;
}

.aff-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.aff-body{
  padding:12px 12px 12px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
}

.aff-title{
  font-weight:800;
  line-height:1.2;
  font-size:1rem;
}

.aff-cta{
  display:inline-flex;
  align-self:flex-start;
  padding:8px 12px;
  border-radius:999px;
  font-weight:700;
  background:#111;
  color:#fff;
  font-size:.9rem;
}

.aff-note{
  font-size:.8rem;
  opacity:.65;
}

/* Responsive */
@media (max-width: 768px){
  .aff-link{ grid-template-columns: 1fr; }
  .aff-body{ padding:12px; }
  .aff-img img{ height:180px; }
}
.aff-banner{
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}

.aff-link{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap:12px;
  align-items:stretch;
  text-decoration:none;
  color:inherit;
}

.aff-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.aff-body{
  padding:12px 12px 12px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
}

.aff-title{
  font-weight:800;
  line-height:1.2;
  font-size:1rem;
}

.aff-cta{
  display:inline-flex;
  align-self:flex-start;
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
  background:#111;
  color:#fff;
  font-size:.9rem;
}

.aff-note{
  font-size:.8rem;
  opacity:.65;
}

/* Responsive */
@media (max-width: 768px){
  .aff-link{ grid-template-columns: 1fr; }
  .aff-body{ padding:12px; }
  .aff-img img{ height:180px; }
}
