/* ==========================================================================
   Obektiven.bg – public theme
   ========================================================================== */
:root {
  --bg: #0b1220;
  --bg-2: #0f1727;
  --bg-3: #141e31;
  --card: #111a2b;
  --line: #1e2a40;
  --line-2: #2a3850;
  --text: #e9edf4;
  --muted: #9aa6ba;
  --muted-2: #6f7b90;
  --red: #d71920;
  --red-2: #b3141a;
  --blue: #2d63c8;
  --font-h: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --font-b: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --max: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-b); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
svg { width: 1em; height: 1em; fill: currentColor; vertical-align: -.15em; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.mt { margin-top: 28px; }

/* Buttons & badges ------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .65em 1.2em; border-radius: 4px; border: 1px solid transparent; font-family: var(--font-h); font-weight: 700; font-size: .95rem; letter-spacing: .02em; transition: background .15s, transform .15s, border-color .15s; white-space: nowrap; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); color: #fff; transform: translateY(-1px); }
.btn--outline { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: #fff; }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 1.1em; height: 1.1em; }
.badge { display: inline-block; background: var(--red); color: #fff; font-family: var(--font-h); font-weight: 700; font-size: .68rem; letter-spacing: .08em; padding: .3em .6em; border-radius: 2px; line-height: 1.2; text-transform: uppercase; }
.badge--lg { font-size: .8rem; padding: .4em .8em; }
.badge:hover { color: #fff; filter: brightness(1.1); }

/* Meta ------------------------------------------------------------------- */
.meta { display: flex; flex-wrap: wrap; gap: .5em 1.1em; color: var(--muted); font-size: .8rem; align-items: center; }
.meta svg { width: .95em; height: .95em; margin-right: .2em; opacity: .85; }
.meta__date { color: var(--muted-2); }

/* Flash ------------------------------------------------------------------ */
.flash { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius); border: 1px solid; font-size: .95rem; }
.flash--success { background: #0d2a1c; border-color: #1f6b43; color: #b7f0cf; }
.flash--error { background: #2d1115; border-color: #7a2630; color: #ffc4ca; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { background: #080d17; border-bottom: 1px solid var(--line); position: relative; }
.topbar { background: #060a12; border-bottom: 1px solid #121a2a; font-size: .78rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar__date { font-family: var(--font-h); letter-spacing: .14em; color: #c3cbd9; text-transform: uppercase; font-size: .72rem; }
.topbar__sep { margin: 0 .7em; color: var(--muted-2); }
.topbar__links { display: flex; align-items: center; gap: 18px; }
.topbar__links > a { color: #c3cbd9; }
.topbar__links > a:hover { color: #fff; }
.topbar__social { display: flex; align-items: center; gap: 12px; margin-left: 10px; padding-left: 14px; border-left: 1px solid #1a2436; }
.topbar__social a, .topbar__search-btn { color: #c3cbd9; display: inline-flex; background: none; border: 0; padding: 0; }
.topbar__social svg { width: 16px; height: 16px; }
.topbar__social a:hover, .topbar__search-btn:hover { color: #fff; }
.burger { display: none; background: none; border: 0; color: #fff; padding: 4px; }
.burger svg { width: 26px; height: 26px; }
.searchbar { display: none; background: #0a1120; border-top: 1px solid var(--line); }
.searchbar.is-open { display: block; }
.searchbar__form { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.searchbar__icon { width: 20px; height: 20px; color: var(--muted); flex: none; }
.searchbar input { flex: 1; background: var(--bg-3); border: 1px solid var(--line-2); color: #fff; padding: 10px 14px; border-radius: 4px; outline: 0; }
.searchbar input:focus { border-color: var(--blue); }

.masthead { position: relative; overflow: hidden; background: radial-gradient(1200px 300px at 70% 120%, #0d1f45 0%, #080d17 60%); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; min-height: 150px; padding-top: 14px; padding-bottom: 14px; position: relative; z-index: 1; }
.masthead__globe { position: absolute; right: -40px; top: -140px; width: 560px; height: 560px; opacity: .95; pointer-events: none; filter: drop-shadow(0 0 60px rgba(45,99,200,.35)); }
.masthead__globe .globe { width: 100%; height: 100%; animation: spin 240s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.masthead__globe::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #080d17 0%, rgba(8,13,23,.2) 45%, rgba(8,13,23,0) 100%); }
.masthead__ad { margin-left: auto; z-index: 2; }
.logo { display: flex; align-items: center; gap: 18px; }
.logo__eye { width: 118px; height: 70px; flex: none; filter: drop-shadow(0 4px 14px rgba(0,0,0,.6)); }
.logo__text { display: flex; flex-direction: column; position: relative; }
.logo__name { font-family: var(--font-h); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: .95; letter-spacing: -.03em; color: #fff; }
.logo__name em { font-style: normal; color: var(--red); }
.logo__tagline { font-family: var(--font-h); font-weight: 500; letter-spacing: .32em; color: #d6dce8; font-size: clamp(.6rem, 1.5vw, .95rem); margin-top: 8px; padding-left: .25em; }
.logo__swoosh { position: absolute; right: 0; bottom: -10px; width: 46%; height: 10px; border-radius: 0 0 60% 60% / 0 0 100% 100%; border-bottom: 3px solid var(--red); transform: rotate(-2deg); opacity: .9; }

/* Main nav --------------------------------------------------------------- */
.mainnav { background: #0b1324; border-top: 1px solid var(--line); border-bottom: 3px solid var(--red); position: relative; z-index: 20; }
.mainnav__inner { display: flex; align-items: stretch; }
.mainnav__home { display: flex; align-items: center; justify-content: center; width: 56px; background: var(--red); color: #fff; flex: none; }
.mainnav__home svg { width: 22px; height: 22px; }
.mainnav__home:hover { background: var(--red-2); color: #fff; }
.mainnav__list { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; }
.mainnav__item { position: relative; }
.mainnav__link { display: flex; align-items: center; gap: 5px; height: 48px; padding: 0 12px; font-family: var(--font-h); font-weight: 700; font-size: .9rem; letter-spacing: .04em; color: #e9edf4; border-bottom: 3px solid transparent; margin-bottom: -3px; transition: color .15s, border-color .15s; white-space: nowrap; }
.mainnav__link:hover, .mainnav__link.is-active { color: #fff; border-bottom-color: var(--red); }
.mainnav__chev { width: 13px; height: 13px; color: var(--red); transition: transform .2s; }
.mainnav__item:hover .mainnav__chev { transform: rotate(180deg); }
.mainnav__mobile-extra { display: none; }
.dd { position: absolute; top: 100%; left: 0; min-width: 300px; background: #0f1a2e; border: 1px solid var(--line-2); border-top: 3px solid var(--red); box-shadow: var(--shadow); padding: 14px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s; z-index: 30; }
.mainnav__item:hover .dd, .mainnav__item.is-open .dd { opacity: 1; visibility: visible; transform: none; }
.mainnav__item:nth-last-child(-n+3) .dd { left: auto; right: 0; }
.dd__subs { list-style: none; margin: 0 0 10px; padding: 0 0 10px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px; }
.dd__subs a { display: inline-block; padding: 4px 10px; background: var(--bg-3); border-radius: 3px; font-size: .85rem; color: var(--text); }
.dd__subs a:hover { background: var(--red); color: #fff; }
.dd__posts { display: grid; grid-template-columns: repeat(2, 190px); gap: 10px; }
.dd__post { display: block; }
.dd__post img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 3px; margin-bottom: 6px; }
.dd__post span { font-family: var(--font-h); font-size: .85rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dd__post:hover span { color: #fff; text-decoration: underline; }
.dd__all { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-family: var(--font-h); font-size: .85rem; color: var(--red); font-weight: 700; }
.dd__all svg { width: 14px; height: 14px; }

/* Ticker ----------------------------------------------------------------- */
.ticker { background: #11192a; border-bottom: 1px solid var(--line); font-size: .9rem; }
.ticker__inner { display: flex; align-items: center; height: 38px; gap: 14px; overflow: hidden; }
.ticker__label { flex: none; display: inline-flex; align-items: center; gap: 5px; background: var(--red); color: #fff; font-family: var(--font-h); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; padding: 4px 10px; border-radius: 2px; }
.ticker__label svg { width: 12px; height: 12px; }
.ticker__track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__move { display: inline-flex; gap: 46px; white-space: nowrap; animation: ticker 60s linear infinite; }
.ticker__track:hover .ticker__move { animation-play-state: paused; }
.ticker__move a { color: #d6dce8; position: relative; }
.ticker__move a::before { content: "•"; color: var(--red); margin-right: 10px; }
.ticker__move a:hover { color: #fff; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(300px, 1fr); gap: 14px; margin-top: 14px; }
.hero__slider { position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; min-height: 440px; }
.hero__track { position: relative; height: 100%; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero__slide.is-active { opacity: 1; pointer-events: auto; position: relative; }
.hero__img { display: block; position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,9,18,.95) 0%, rgba(5,9,18,.55) 45%, rgba(5,9,18,.05) 100%); pointer-events: none; }
.hero__content { position: relative; z-index: 2; padding: 34px 34px 40px; height: 100%; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.hero__title { font-size: clamp(1.8rem, 4.2vw, 3.6rem); font-weight: 800; line-height: 1.02; max-width: 15ch; text-shadow: 0 4px 24px rgba(0,0,0,.7); }
.hero__excerpt { margin: 0; font-size: clamp(1rem, 1.6vw, 1.3rem); color: #e6eaf2; max-width: 48ch; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.hero__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.hero__meta .meta { font-size: .85rem; color: #d6dce8; }
.hero__dots { position: absolute; right: 22px; bottom: 18px; z-index: 3; display: flex; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); padding: 0; transition: background .2s, transform .2s; }
.hero__dots button.is-active { background: var(--red); transform: scale(1.25); }
.hero__side { display: flex; flex-direction: column; gap: 14px; }
.hero__side .card--list { flex: 1; }

/* Tiles ------------------------------------------------------------------ */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 14px; }
.tile { position: relative; aspect-ratio: 16/9.5; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: center; isolation: isolate; }
.tile img, .tile__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .4s; }
.tile__bg { background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c) 55%, #0b1220) 0%, #0b1220 100%); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,9,18,.9), rgba(5,9,18,.1) 60%); z-index: -1; }
.tile:hover img { transform: scale(1.06); }
.tile__label { font-family: var(--font-h); font-weight: 800; font-size: clamp(.9rem, 1.5vw, 1.25rem); letter-spacing: .06em; color: #fff; padding: 12px; text-shadow: 0 2px 10px #000; }
.tile::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c); }

/* ==========================================================================
   Layout & cards
   ========================================================================== */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-top: 30px; align-items: start; }
.layout__main { min-width: 0; }
.section { margin-bottom: 36px; }
.section__title { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1.35rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); position: relative; }
.section__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; background: var(--red); }
.section__title--cat::after { background: var(--c, var(--red)); }
.section__title a:hover { color: var(--red); }
.section__more { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; display: inline-flex; align-items: center; gap: 5px; }
.section__more:hover { color: #fff; }
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card__img { display: block; position: relative; overflow: hidden; background: var(--bg-3); }
.card__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__img .badge { position: absolute; left: 12px; top: 12px; }
.card__body { padding: 14px 16px 16px; }
.card__title { font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.card__title a:hover { color: var(--red); }
.card__excerpt { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.card__body .meta { margin-top: 10px; }
.card__cat { display: block; font-family: var(--font-h); font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
/* list card */
.card--list { display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.card--list .card__img img { aspect-ratio: 4/3; height: 100%; }
.card--list .card__img .badge { left: 8px; top: 8px; font-size: .6rem; }
.card--list .card__body { padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; }
.card--list .card__title { font-size: 1.08rem; }
.card--list .meta { margin-top: 8px; font-size: .74rem; }
/* mini card */
.card--mini { display: grid; grid-template-columns: 96px 1fr; background: transparent; border: 0; border-radius: 0; }
.card--mini .card__body { padding: 0 0 0 12px; }
.card--mini .card__title { font-size: .98rem; }
/* big card */
.card--big { border: 0; }
.card--big .card__img img { aspect-ratio: 16/10; }
.card--big .card__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 24px; background: linear-gradient(0deg, rgba(5,9,18,.95) 0%, rgba(5,9,18,.4) 55%, rgba(5,9,18,0) 100%); }
.card--big .card__title { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; color: #fff; text-shadow: 0 3px 14px rgba(0,0,0,.7); }
.card--big .card__excerpt { color: #d6dce8; margin: 0; }
.card--big .meta { color: #cfd6e2; }
.card--big .badge { align-self: flex-start; }
/* category block */
.catblock__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.catblock__list { display: flex; flex-direction: column; gap: 12px; }
.catblock__list .card--list { flex: 1; }
.catblock__list .card--list .card__img { width: 130px; }
.catblock__list .card--list { grid-template-columns: 130px 1fr; }
.ad-inline { margin: 24px 0; text-align: center; }
.empty { text-align: center; padding: 60px 20px; background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
.empty h2 { color: var(--text); margin-bottom: 8px; }

/* Sidebar ---------------------------------------------------------------- */
.sidebar { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 16px; }
.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.widget--ad { background: transparent; border: 0; padding: 0; text-align: center; }
.widget__title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); position: relative; }
.widget__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 3px; background: var(--red); }
.toplist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.toplist li { display: grid; grid-template-columns: 26px 92px 1fr; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.toplist li:last-child { border-bottom: 0; padding-bottom: 0; }
.toplist__num { font-family: var(--font-h); font-size: 1.6rem; font-weight: 800; color: var(--red); line-height: 1; }
.toplist__img img { width: 92px; aspect-ratio: 3/2; object-fit: cover; border-radius: 3px; }
.toplist__title { font-family: var(--font-h); font-weight: 700; font-size: .95rem; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.toplist__title:hover { color: var(--red); }
.toplist__body .meta__date { font-size: .72rem; display: block; margin-top: 3px; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tagcloud a, .article__tags a { display: inline-block; padding: 4px 10px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 3px; font-size: .82rem; color: var(--muted); }
.tagcloud a:hover, .article__tags a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.widget--newsletter p { color: var(--muted); margin: 0 0 12px; font-size: .9rem; }
.widget--newsletter input, .newsletter input, .comment-form input, .comment-form textarea, .contact-form input, .contact-form textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); color: #fff; padding: 10px 12px; border-radius: 4px; outline: 0; margin-bottom: 10px; }
.widget--newsletter input:focus, .comment-form input:focus, .comment-form textarea:focus, .contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); }
.social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.social-grid__item { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 4px; background: var(--bg-3); font-family: var(--font-h); font-weight: 700; font-size: .85rem; }
.social-grid__item svg { width: 18px; height: 18px; }
.social--facebook:hover { background: #1877f2; color: #fff; }
.social--youtube:hover { background: #ff0000; color: #fff; }
.social--x:hover { background: #000; color: #fff; }
.social--instagram:hover { background: #e1306c; color: #fff; }
.social--tiktok:hover { background: #010101; color: #fff; }
.social--rss:hover { background: #f26522; color: #fff; }

/* Page head, breadcrumbs, pagination ------------------------------------- */
.page-head { margin-top: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 80px; height: 3px; background: var(--c, var(--red)); }
.page-head__title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.page-head__desc { color: var(--muted); margin: 8px 0 0; max-width: 70ch; }
.page-head__row { display: flex; align-items: center; gap: 16px; }
.page-head__avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.avatar-ph { display: inline-flex; align-items: center; justify-content: center; background: var(--bg-3); color: var(--muted); border-radius: 50%; }
.page-head__avatar.avatar-ph svg { width: 36px; height: 36px; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.subcats a { padding: 6px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; font-family: var(--font-h); font-weight: 700; font-size: .85rem; }
.subcats a:hover { border-color: var(--red); color: var(--red); }
.breadcrumbs { font-size: .8rem; color: var(--muted); display: flex; gap: 8px; margin-bottom: 10px; }
.breadcrumbs a:hover { color: #fff; }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 34px 0 10px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 4px; background: var(--card); border: 1px solid var(--line); font-family: var(--font-h); font-weight: 700; }
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination__cur { background: var(--red) !important; border-color: var(--red) !important; color: #fff; }
.pagination__dots { border: 0 !important; background: transparent !important; }
.search-big { display: flex; align-items: center; gap: 10px; margin-top: 16px; max-width: 700px; }
.search-big svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search-big input { flex: 1; background: var(--card); border: 1px solid var(--line-2); color: #fff; padding: 12px 14px; border-radius: 4px; outline: 0; font-size: 1.05rem; }
.search-big input:focus { border-color: var(--blue); }

/* ==========================================================================
   Article
   ========================================================================== */
.layout--article { grid-template-columns: minmax(0, 1fr) 340px; }
.article { min-width: 0; }
.article__header { margin-top: 24px; margin-bottom: 20px; }
.article__title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 800; line-height: 1.05; margin: 14px 0 10px; }
.article__subtitle { font-size: 1.2rem; color: var(--muted); margin: 0 0 16px; line-height: 1.45; }
.article__meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article__author { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-h); font-weight: 700; }
.article__author img, .article__author .avatar-ph { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.article__author .avatar-ph svg { width: 18px; height: 18px; }
.article__meta .meta { font-size: .85rem; }
.article__figure { margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; background: var(--card); }
.article__figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.article__figure figcaption { font-size: .82rem; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: 8px; margin: 0 0 22px; font-size: .85rem; color: var(--muted); }
.share a, .share button { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--line); color: var(--text); }
.share svg { width: 16px; height: 16px; }
.share__fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share__x:hover { background: #000; border-color: #000; color: #fff; }
.share__mail:hover, .share__copy:hover { background: var(--red); border-color: var(--red); color: #fff; }
.share__copy.is-done { background: #16a34a; border-color: #16a34a; color: #fff; }
.prose { font-size: 1.12rem; line-height: 1.75; color: #e3e8f0; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { font-size: 1.7rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.4rem; margin: 1.4em 0 .5em; }
.prose h4 { font-size: 1.2rem; margin: 1.2em 0 .5em; }
.prose a { color: #5ea2ff; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: #8ec0ff; }
.prose img { border-radius: 4px; margin: 1em auto; }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 6px; }
.prose blockquote { margin: 1.5em 0; padding: 14px 22px; border-left: 4px solid var(--red); background: var(--card); font-size: 1.15rem; font-style: italic; border-radius: 0 4px 4px 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 8px 10px; }
.prose th { background: var(--bg-3); text-align: left; }
.prose iframe { max-width: 100%; aspect-ratio: 16/9; height: auto; width: 100%; border: 0; border-radius: 4px; }
.prose hr { border: 0; border-top: 1px solid var(--line-2); margin: 2em 0; }
.prose code { background: var(--bg-3); padding: .1em .35em; border-radius: 3px; font-size: .92em; }
.prose pre { background: var(--bg-3); padding: 14px; border-radius: 4px; overflow: auto; }
.article__source { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }
.article__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0; }
.comments { margin-top: 36px; }
.comment { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-h); font-weight: 800; flex: none; }
.comment__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.comment__head span { color: var(--muted-2); font-size: .8rem; }
.comment__body p { margin: 0; color: #d6dce8; }
.comment-form, .contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 22px; }
.comment-form h3, .contact-form h3 { margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; }
.contact-info { padding-top: 22px; }
.contact-info p { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.contact-info svg { color: var(--red); width: 18px; height: 18px; }
.errorpage { text-align: center; padding: 70px 0; max-width: 700px; margin: 0 auto; }
.errorpage__code { font-family: var(--font-h); font-size: 7rem; font-weight: 800; color: var(--red); line-height: 1; }
.errorpage h1 { font-size: 2rem; margin: 10px 0; }
.errorpage p { color: var(--muted); }
.errorpage .search-big { margin: 24px auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { margin-top: 50px; background: #070b14; border-top: 3px solid var(--red); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 32px; padding: 44px 16px 30px; }
.footer__col h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; color: #fff; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; color: var(--muted); }
.footer__col a:hover { color: #fff; }
.footer__logo { font-family: var(--font-h); font-weight: 800; font-size: 2rem; color: #fff; letter-spacing: -.02em; }
.footer__about p { color: var(--muted); font-size: .92rem; margin: 10px 0 16px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-3); color: var(--text); }
.footer__social a:hover { background: var(--red); color: #fff; }
.footer__social svg { width: 16px; height: 16px; }
.footer__contacts li { display: flex; align-items: center; gap: 8px; }
.footer__contacts svg { color: var(--red); }
.newsletter { margin-top: 18px; }
.newsletter label { display: block; font-family: var(--font-h); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 8px; }
.newsletter__row { display: flex; gap: 8px; }
.newsletter__row input { margin: 0; }
.footer__bottom { border-top: 1px solid #121a2a; padding: 14px 0; font-size: .8rem; color: var(--muted-2); }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; border: 0; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow); z-index: 50; }
.to-top svg { transform: rotate(180deg); width: 20px; height: 20px; }
.to-top.is-visible { display: inline-flex; }

/* Consent banner --------------------------------------------------------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 14px 16px; background: rgba(5,9,18,.6); backdrop-filter: blur(6px); animation: consent-in .35s ease; }
.consent[hidden] { display: none; }
@keyframes consent-in { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
.consent__box { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line-2); border-top: 3px solid var(--red); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); }
.consent__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; }
.consent__icon svg { width: 22px; height: 22px; }
.consent__text strong { font-family: var(--font-h); font-size: 1.05rem; display: block; margin-bottom: 2px; }
.consent__text p { margin: 0; color: var(--muted); font-size: .9rem; }
.consent__text a { color: #fff; text-decoration: underline; }
.consent__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 760px) { .consent__box { grid-template-columns: 1fr; } .consent__icon { display: none; } .consent__actions .btn { flex: 1; justify-content: center; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mainnav__link { padding: 0 11px; font-size: .85rem; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero__side { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero__side .card--list { grid-template-columns: 1fr; }
  .hero__side .card--list .card__img img { aspect-ratio: 16/10; height: auto; }
  .layout, .layout--article { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .catblock__grid { grid-template-columns: 1fr; }
  .masthead__globe { width: 420px; height: 420px; top: -110px; right: -90px; }
  .topbar__links > a { display: none; }
  .burger { display: inline-flex; }
  .mainnav { display: none; }
  .mainnav.is-open { display: block; }
  .mainnav__inner { flex-direction: column; }
  .mainnav__home { width: 100%; height: 44px; }
  .mainnav__list { flex-direction: column; }
  .mainnav__link { height: 46px; border-bottom: 1px solid var(--line); margin: 0; justify-content: space-between; }
  .dd { position: static; opacity: 1; visibility: visible; transform: none; display: none; border: 0; box-shadow: none; background: var(--bg-2); }
  .mainnav__item.is-open .dd { display: block; }
  .dd__posts { grid-template-columns: 1fr 1fr; }
  .mainnav__mobile-extra { display: flex; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: .9rem; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .hero__side { grid-template-columns: 1fr; }
  .hero__side .card--list { grid-template-columns: 130px 1fr; }
  .hero__side .card--list .card__img img { aspect-ratio: 4/3; height: 100%; }
  .hero__content { padding: 22px 18px 28px; min-height: 380px; }
  .hero__slider { min-height: 380px; }
  .footer__grid { grid-template-columns: 1fr; }
  .logo__eye { width: 78px; height: 48px; }
  .logo { gap: 12px; }
  .masthead__inner { min-height: 110px; }
  .masthead__globe { width: 300px; height: 300px; top: -80px; right: -110px; }
  .topbar__date { font-size: .62rem; letter-spacing: .08em; }
  .form-row, .contact-grid { grid-template-columns: 1fr; }
  .card--list { grid-template-columns: 120px 1fr; }
  .catblock__list .card--list { grid-template-columns: 110px 1fr; }
  .share--top { flex-wrap: wrap; }
}

/* Real logo image in the masthead */
.logo__img { height: 122px; width: auto; max-width: 100%; display: block; filter: drop-shadow(0 6px 18px rgba(0,0,0,.65)); }
@media (max-width: 960px) { .logo__img { height: 92px; } }
@media (max-width: 640px) { .logo__img { height: 64px; } .masthead__inner { min-height: 96px; } }

/* Globe centred on Bulgaria: static map + rotating grid */
.masthead__globe { top: 50%; right: 20px; width: 520px; height: 520px; transform: translateY(-50%); }
.masthead__globe .globe { position: absolute; inset: 0; width: 100%; height: 100%; animation: none; }
.globe--land { opacity: .95; }
.globe__spin { transform-origin: 300px 300px; animation: spin 90s linear infinite; }
.globe__ring { transform-origin: 300px 300px; animation: ring 3.2s ease-out infinite; }
.globe__ring--2 { animation-delay: 1.6s; }
@keyframes ring { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
@media (max-width: 960px) { .masthead__globe { width: 400px; height: 400px; right: -60px; } }
@media (max-width: 640px) { .masthead__globe { width: 280px; height: 280px; right: -90px; } }
@media (prefers-reduced-motion: reduce) { .globe__spin, .globe__ring { animation: none; } }
/* zoom the map towards the Balkans, keep everything inside the globe circle */
.masthead__globe { clip-path: circle(50% at 50% 50%); }
.masthead__globe::after { background: linear-gradient(90deg, #080d17 0%, rgba(8,13,23,.35) 30%, rgba(8,13,23,0) 60%); }
.globe--land { transform: scale(1.55); transform-origin: 50% 50%; opacity: 1; }
.globe__spin { transform-origin: 300px 300px; animation: spin-zoom 120s linear infinite; }
@keyframes spin-zoom { from { transform: scale(1.55) rotate(0deg); } to { transform: scale(1.55) rotate(360deg); } }
.globe--top circle:first-child { opacity: .6; }

/* RSS preview page */
.rss-box { background: var(--card); border: 1px solid var(--line); border-left: 4px solid #f26522; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 28px; }
.rss-box label { display: block; font-family: var(--font-h); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.rss-box__row { display: flex; gap: 8px; flex-wrap: wrap; }
.rss-box__row input { flex: 1; min-width: 240px; background: var(--bg); border: 1px solid var(--line-2); color: #fff; padding: 10px 12px; border-radius: 4px; font-family: ui-monospace, Consolas, monospace; font-size: .95rem; }
.rss-box__cats { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 14px; font-size: .88rem; }
.rss-box__cats a { padding: 4px 10px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 3px; }
.rss-box__cats a:hover, .rss-box__cats a.is-active { background: #f26522; border-color: #f26522; color: #fff; }
.rss-list { display: flex; flex-direction: column; gap: 12px; }
.page-head__title svg { width: .8em; height: .8em; }

/* Article main image: never crop (portrait photos keep the watermark visible) */
.article__figure img { aspect-ratio: auto; height: auto; max-height: 85vh; object-fit: contain; background: var(--bg-3); }

/* Image protection: no drag/select/long-press save; transparent shield over article images */
.site-main img, .hero__img img, .card__img img { -webkit-user-drag: none; user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; pointer-events: none; }
.article__figure, .hero__img, .card__img, .prose figure, .prose img { position: relative; }
.article__figure::after, .prose figure::after { content: ""; position: absolute; inset: 0; background: transparent; }
.prose img { pointer-events: none; }
