/*
Theme Name: Laptop Ratgeber
Author: Eugen Tomaili
Description: Laptop Test Portal
Version: 3.0
*/

:root {
  --red: #c8102e;
  --dark: #141414;
  --bg: #f2f2f2;
  --white: #fff;
  --border: #e2e2e2;
  --text: #111;
  --muted: #666;
  --light: #999;
  --green: #15803d;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* TOPBAR */
.topbar { background: var(--dark); border-bottom: 2px solid var(--red); padding: 6px 0; }
.topbar .inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.topbar-brand { font-size: 11px; color: #888; letter-spacing: .06em; text-transform: uppercase; }
.topbar-brand strong { color: var(--red); }
.topbar-links { display: flex; gap: 16px; }
.topbar-links a { font-size: 11px; color: #888; }
.topbar-links a:hover { color: #fff; }

/* HEADER */
.site-header { background: var(--dark); padding: 14px 0 0; }
.header-inner { max-width: 1160px; margin: 0 auto; padding: 0 20px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #2a2a2a; }
.site-logo { display: flex; align-items: center; }
.search-wrap { display: flex; align-items: center; gap: 8px; background: #272727; border: 1px solid #333; border-radius: 4px; padding: 8px 14px; }
.search-wrap input { background: none; border: none; outline: none; color: #ccc; font-size: 13px; width: 180px; font-family: inherit; }
.search-wrap input::placeholder { color: #555; }

/* NAV */
.site-nav { background: var(--dark); border-top: 1px solid #2a2a2a; }
.site-nav .inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.site-nav ul { list-style: none; display: flex; flex-wrap: nowrap; width: 100%; justify-content: space-between; }
.site-nav ul li { flex: 1; text-align: center; }
.site-nav ul li a { display: block; font-size: 12px; font-weight: 600; color: #aaa; padding: 12px 8px; border-bottom: 3px solid transparent; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; transition: color .15s, border-color .15s; }
.site-nav ul li a:hover, .site-nav ul li.current-menu-item a, .site-nav ul li.current-cat a { color: #fff; border-bottom-color: var(--red); }

.ticker { background: var(--white); border-bottom: 1px solid var(--border); padding: 8px 0; overflow: hidden; }
.ticker .inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; overflow: hidden; }
.ticker-badge { background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 2px; text-transform: uppercase; flex-shrink: 0; }
.ticker-items { display: flex; gap: 20px; font-size: 12px; color: var(--muted); flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
.ticker-items strong { color: var(--red); }

/* LAYOUT */
.site-main { min-height: calc(100vh - 300px); }
.container { max-width: 1160px; margin: 0 auto; padding: 24px 20px 48px; display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.container.wide { grid-template-columns: 1fr; max-width: 860px; }

/* PAGE BANNER */
.page-banner { background: var(--dark); padding: 28px 0; }
.page-banner .inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.banner-cat { font-size: 10px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; }
.banner-cat a { color: var(--red); }
.banner-title { font-family: 'Source Serif 4', Georgia, serif; font-size: 28px; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 6px; }
.banner-desc { font-size: 13px; color: #888; }

/* SECTION HEADER */
.sec-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 3px solid var(--dark); padding-bottom: 8px; margin-bottom: 16px; }
.sec-head-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.sec-head-link { font-size: 11px; color: var(--red); font-weight: 600; }
.sec-head-link:hover { text-decoration: underline; }

/* HERO POST */
.hero-post { background: var(--white); border: 1px solid var(--border); border-radius: 3px; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 16px; overflow: hidden; }
.hero-img { background: #0f1923; min-height: 260px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-img-placeholder { opacity: .15; position: relative; z-index: 1; }
.hero-badge { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 2px; text-transform: uppercase; z-index: 2; }
.hero-score { position: absolute; top: 14px; right: 14px; background: #1e1e1e; border: 2px solid var(--red); border-radius: 4px; width: 52px; height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; }
.hero-score-val { font-size: 22px; font-weight: 800; color: #fff; line-height: 1; }
.hero-score-lbl { font-size: 8px; color: #888; text-transform: uppercase; }
.hero-body { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.post-cat-label { font-size: 10px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; }
.post-cat-label a { color: var(--red); }
.hero-title { font-family: 'Source Serif 4', Georgia, serif; font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.hero-title a { color: var(--text); }
.hero-title a:hover { color: var(--red); }
.hero-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.post-meta { font-size: 11px; color: var(--light); }
.btn-read { display: inline-block; margin-top: 14px; background: var(--red); color: #fff; border-radius: 3px; padding: 9px 18px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.btn-read:hover { background: #a00d24; color: #fff; }

/* POST GRID */
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.post-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
.post-card:hover { border-color: #bbb; }
.post-card a { color: inherit; }
.post-thumb { height: 160px; overflow: hidden; position: relative; background: #1a1a2e; display: flex; align-items: center; justify-content: center; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.post-thumb-placeholder { opacity: .18; position: relative; z-index: 1; }
.post-thumb .score-badge { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.75); color: #fff; font-size: 12px; font-weight: 800; padding: 2px 6px; border-radius: 2px; z-index: 2; }
.post-thumb .post-badge { position: absolute; top: 8px; left: 8px; font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 2px; text-transform: uppercase; z-index: 2; }
.bl-red { background: var(--red); color: #fff; }
.bl-orange { background: #f97316; color: #fff; }
.bl-blue { background: #2563eb; color: #fff; }
.bl-green { background: #16a34a; color: #fff; }
.post-body { padding: 12px 14px; }
.post-title { font-family: 'Source Serif 4', Georgia, serif; font-size: 14px; font-weight: 600; line-height: 1.35; margin-bottom: 5px; color: var(--text); }
.post-title:hover { color: var(--red); }
.post-date { font-size: 10px; color: var(--light); }

/* SINGLE POST */
.single-header { background: var(--dark); padding: 28px 0; }
.single-header .inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.breadcrumb { font-size: 12px; color: #888; margin-bottom: 10px; }
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 5px; }
.single-title { font-family: 'Source Serif 4', Georgia, serif; font-size: 30px; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 12px; }
.single-meta-bar { font-size: 12px; color: #777; display: flex; gap: 16px; flex-wrap: wrap; }
.single-hero { height: 460px; overflow: hidden; position: relative; background: #0a0a0a; display: flex; align-items: center; justify-content: center; }
.single-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; position: absolute; inset: 0; opacity: .55; }
.single-hero-placeholder { opacity: .12; position: relative; z-index: 1; }
.single-score-box { position: absolute; top: 20px; right: 20px; background: rgba(0,0,0,.85); border: 2px solid var(--red); border-radius: 6px; padding: 10px 16px; text-align: center; z-index: 2; }
.single-score-val { font-size: 32px; font-weight: 800; color: #fff; line-height: 1; }
.single-score-lbl { font-size: 9px; color: #888; text-transform: uppercase; }
.amazon-bar { padding: 14px 20px; background: #f9f9f9; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 16px; }
.amazon-btn { background: var(--red); color: #fff; border-radius: 3px; padding: 9px 18px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.amazon-btn:hover { background: #a00d24; color: #fff; }
.amazon-price { font-size: 22px; font-weight: 700; color: var(--text); }
.entry-wrap { background: var(--white); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
.entry-content { padding: 28px; }
.entry-content h2 { font-family: 'Source Serif 4', Georgia, serif; font-size: 20px; font-weight: 700; margin: 28px 0 12px; padding-top: 20px; border-top: 2px solid var(--dark); }
.entry-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.entry-content h3 { font-family: 'Source Serif 4', Georgia, serif; font-size: 16px; font-weight: 700; margin: 18px 0 8px; }
.entry-content p { font-size: 14px; line-height: 1.75; color: #333; margin-bottom: 14px; }
.entry-content ul, .entry-content ol { padding-left: 22px; margin-bottom: 14px; }
.entry-content li { font-size: 14px; line-height: 1.7; color: #333; margin-bottom: 4px; }
.entry-content strong { font-weight: 700; color: var(--text); }
.entry-content a { color: var(--red); text-decoration: underline; }
.entry-content img { border-radius: 3px; margin: 8px 0 16px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 20px; }
.entry-content th { background: var(--dark); color: #fff; padding: 10px 14px; text-align: left; font-size: 11px; text-transform: uppercase; }
.entry-content td { padding: 10px 14px; border-bottom: 1px solid #f0f0f0; }
.entry-content blockquote { border-left: 4px solid var(--red); padding: 12px 20px; background: #f9f9f9; margin: 16px 0; font-style: italic; color: var(--muted); }
.affiliate-note { margin: 20px 0 0; padding: 12px 16px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 3px; font-size: 12px; color: #92400e; line-height: 1.6; }
.post-nav { display: flex; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--border); margin-top: 20px; }
.post-nav a { font-size: 12px; color: var(--red); font-weight: 600; }
.post-nav a:hover { text-decoration: underline; }

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 14px; }
.widget { background: var(--white); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
.widget-title-bar { background: var(--dark); padding: 8px 14px; font-size: 10px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .07em; }
.widget-body { padding: 12px 14px; }
.widget-link { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #f5f5f5; font-size: 12px; color: var(--muted); }
.widget-link:last-child { border: none; }
.widget-link:hover { color: var(--red); }
.widget-link::before { content: ''; width: 5px; height: 5px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.widget-post { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f5f5f5; }
.widget-post:last-child { border: none; }
.widget-post-thumb { width: 54px; height: 38px; border-radius: 2px; overflow: hidden; flex-shrink: 0; background: #1a1a2e; }
.widget-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-post-title { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.3; }
.widget-post-title:hover { color: var(--red); }
.widget-post-date { font-size: 10px; color: var(--light); margin-top: 2px; }
.nl-box { background: var(--dark); border-radius: 3px; padding: 16px; text-align: center; }
.nl-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.nl-desc { font-size: 11px; color: #888; line-height: 1.5; margin-bottom: 12px; }
.nl-input { width: 100%; background: #272727; border: 1px solid #333; border-radius: 3px; padding: 8px 10px; color: #ccc; font-size: 12px; outline: none; margin-bottom: 7px; font-family: inherit; }
.nl-btn { width: 100%; background: var(--red); color: #fff; border: none; border-radius: 3px; padding: 9px; font-size: 12px; font-weight: 700; cursor: pointer; text-transform: uppercase; font-family: inherit; }
.tag-cloud-wrap { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-cloud-wrap a { font-size: 11px; background: #f5f5f5; color: #444; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--border); }
.tag-cloud-wrap a:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ARCHIVE / CATEGORY */
.posts-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.list-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
.list-card:hover { border-color: #bbb; }
.list-thumb { height: 160px; overflow: hidden; position: relative; background: #1a1a2e; display: flex; align-items: center; justify-content: center; }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.list-thumb-ph { opacity: .18; position: relative; z-index: 1; }
.list-body { padding: 14px; }
.list-cat { font-size: 10px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.list-cat a { color: var(--red); }
.list-title { font-family: 'Source Serif 4', Georgia, serif; font-size: 15px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; color: var(--text); }
.list-title a:hover { color: var(--red); }
.list-excerpt { font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.list-date { font-size: 11px; color: var(--light); }

/* PAGINATION */
.pagination { display: flex; gap: 6px; justify-content: center; padding: 20px 0; }
.pagination .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--border); border-radius: 3px; font-size: 13px; font-weight: 600; background: var(--white); color: var(--text); }
.pagination .page-numbers.current { background: var(--red); color: #fff; border-color: var(--red); }
.pagination .page-numbers:hover { border-color: var(--red); color: var(--red); }

/* PAGE (Impressum etc) */
.page-content { background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 32px 36px; line-height: 1.8; }
.page-content h2 { font-family: 'Source Serif 4', Georgia, serif; font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.page-content h3 { font-size: 15px; font-weight: 700; margin: 16px 0 6px; }
.page-content p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.page-content ul { padding-left: 20px; margin-bottom: 12px; }
.page-content li { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 4px; }
.page-content a { color: var(--red); text-decoration: underline; }

/* FOOTER */
.site-footer { background: var(--dark); border-top: 3px solid var(--red); }
.footer-grid { max-width: 1160px; margin: 0 auto; padding: 28px 20px 20px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer-about { font-size: 12px; color: #666; line-height: 1.6; margin-top: 10px; }
.footer-col h4 { font-size: 10px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid #2a2a2a; }
.footer-col a { display: block; font-size: 12px; color: #666; margin-bottom: 5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1160px; margin: 0 auto; padding: 12px 20px; border-top: 1px solid #222; display: flex; justify-content: space-between; }
.footer-bottom p { font-size: 11px; color: #444; }
.footer-bottom a { color: var(--red); }

.post-card a, .post-card a:hover { color: inherit; display: block; }
.post-card { cursor: pointer; }
.list-card a, .list-card a:hover { color: inherit; display: block; }
.list-card { cursor: pointer; }
.art-grid .post-card a { display: block; height: 100%; }
.no-results { background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 48px; text-align: center; }
.no-results h2 { font-family: 'Source Serif 4', Georgia, serif; font-size: 20px; margin-bottom: 10px; }
.no-results p { color: var(--muted); }

/* SIDEBAR DEALS */
.sw-deal-item { padding: 9px 0; border-bottom: 1px solid #f5f5f5; }
.sw-deal-item:last-child { border: none; }
.sw-deal-name { font-size: 12px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.sw-deal-prices { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.sw-old { font-size: 11px; color: var(--light); text-decoration: line-through; }
.sw-new { font-size: 15px; font-weight: 700; color: var(--red); }
.sw-pct { font-size: 9px; font-weight: 700; background: #dcfce7; color: #166534; padding: 2px 5px; border-radius: 2px; }
.sw-deal-btn { display: block; background: #f5f5f5; border: 1px solid var(--border); border-radius: 2px; padding: 5px 10px; font-size: 11px; font-weight: 600; text-align: center; color: var(--text); transition: all .15s; }
.sw-deal-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.widget-link a { color: var(--muted); font-size: 12px; }
.widget-link a:hover { color: var(--red); }

/* DEALS PAGE */
.deals-wrap { max-width: 1160px; margin: 0 auto; padding: 24px 20px 48px; display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.deals-grid-full { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.deal-card-full { background: var(--white); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.deal-card-full:hover { border-color: #bbb; }
.deal-card-head { height: 90px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.deal-card-pct { position: absolute; top: 10px; right: 10px; background: #16a34a; color: #fff; font-size: 14px; font-weight: 800; padding: 4px 10px; border-radius: 2px; }
.deal-card-body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.deal-card-name { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.deal-card-prices { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.deal-card-old { font-size: 11px; color: var(--light); text-decoration: line-through; }
.deal-card-new { font-size: 18px; font-weight: 800; color: var(--red); }
.deal-card-save { font-size: 9px; font-weight: 700; background: #dcfce7; color: #166534; padding: 2px 6px; border-radius: 2px; }
.deal-card-btn { display: block; width: 100%; background: var(--red); color: #fff; border: none; border-radius: 3px; padding: 9px; font-size: 12px; font-weight: 700; text-align: center; text-transform: uppercase; margin-top: auto; }
.deal-card-btn:hover { background: #a00d24; color: #fff; }

/* HOVER EFFECTS */
.post-card { transition: border-color .15s, box-shadow .15s, transform .15s; }
.post-card:hover { border-color: #bbb; box-shadow: 0 2px 8px rgba(0,0,0,.08); transform: translateY(-1px); }
.list-card { transition: border-color .15s, box-shadow .15s, transform .15s; }
.list-card:hover { border-color: #bbb; box-shadow: 0 2px 8px rgba(0,0,0,.08); transform: translateY(-1px); }

/* List card hover — подсветка заголовка */
.list-card:hover .list-title { color: var(--red); }
.list-card:hover .post-title { color: var(--red); }

/* ─── MOBILE RESPONSIVE ─── */
@media (max-width: 768px) {

  /* Header */
  .header-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; }
  .search-wrap { width: 100%; }
  .search-wrap input { width: 100%; }

  /* Nav — горизонтальный скролл */
  .site-nav .inner { padding: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .site-nav ul { flex-wrap: nowrap; min-width: max-content; padding: 0 16px; }
  .site-nav ul li { flex: none; }
  .site-nav ul li a { padding: 10px 12px; font-size: 11px; }

  /* Ticker */
  .ticker .inner { gap: 8px; }
  .ticker-items { gap: 12px; font-size: 11px; }

  /* Layout — одна колонка */
  .container { grid-template-columns: 1fr; padding: 16px; gap: 20px; }
  .deals-wrap { grid-template-columns: 1fr; padding: 16px; gap: 20px; }

  /* Hero */
  .hero-post { grid-template-columns: 1fr; }
  .hero-img { min-height: 200px; }
  .hero-body { padding: 16px; }
  .hero-title { font-size: 18px; }

  /* Post grid — одна колонка */
  .post-grid { grid-template-columns: 1fr; }
  .posts-list { grid-template-columns: 1fr; }
  .deals-grid-full { grid-template-columns: 1fr; }

  /* Single post */
  .single-hero { height: 220px; }
  .single-title { font-size: 22px; }
  .entry-content { padding: 16px; }
  .entry-content h2 { font-size: 18px; margin: 20px 0 10px; }
  .amazon-bar { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Page banner */
  .page-banner { padding: 20px 0; }
  .banner-title { font-size: 22px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 16px 16px; }
  .footer-bottom { flex-direction: column; gap: 6px; padding: 12px 16px; }

  /* Sidebar — показываем под контентом */
  .sidebar { gap: 12px; }

  /* Topbar */
  .topbar .inner { flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px 16px; }
  .topbar-links { gap: 12px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 16px; }
  .single-title { font-size: 20px; }
  .banner-title { font-size: 20px; }
  .site-nav ul li a { padding: 10px 10px; font-size: 10px; letter-spacing: 0; }
}

/* Hero image — центрирование по центру */
.single-hero img { object-position: center center; }
.hero-img img { object-position: center center; }
.post-thumb img { object-position: center center; }
.list-thumb img { object-position: center center; }

/* Single Hero Overlay — заголовок поверх картинки */
.single-hero { align-items: flex-end; justify-content: flex-start; }
.single-hero-overlay { position: relative; z-index: 3; width: 100%; padding: 32px 32px 28px; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.4) 70%, transparent 100%); }
.single-hero-cat { font-size: 10px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
.single-hero-cat a { color: var(--red); }
.single-hero-title { font-family: 'Source Serif 4', Georgia, serif; font-size: 32px; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 12px; max-width: 760px; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.single-hero-meta { font-size: 12px; color: rgba(255,255,255,.7); display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .single-hero { height: 340px; }
  .single-hero-title { font-size: 22px; }
  .single-hero-overlay { padding: 20px 16px 20px; }
}
