:root {
  --red: #e30613;
  --ink: #07101f;
  --muted: #68717d;
  --line: #edf0f4;
  --soft: #f7f8fa;
  --dark: #07101f;
  --radius: 6px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: #f4f5f7;
}
button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.topbar { height: 40px; background: #07101f; color: #fff; font-size: 12px; }
.topbar-inner { width: min(100% - 32px, 1240px); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.topbar-inner > span { white-space: nowrap; flex: 0 0 auto; }
.topbar-inner > span:first-child { min-width: max-content; }
.topbar b { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 14px; line-height: 1; }
.search { display: flex; align-items: center; width: 190px; height: 40px; padding-left: 14px; background: #0d1828; color: #c5ccd6; }
.search button { margin-left: auto; width: 40px; height: 40px; background: var(--red); color: #fff; font-size: 18px; }

.web-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); box-shadow: 0 10px 28px rgba(7, 16, 31, .06); backdrop-filter: blur(14px); }
.web-header-inner { width: min(100% - 80px, 1840px); height: 110px; margin: 0 auto; display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; align-items: center; gap: 28px; }
.web-logo { width: 155px; height: 76px; object-fit: contain; }
.web-logo-tv { width: 230px; height: 76px; object-fit: contain; background: transparent; }
.web-header nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.25vw, 40px); min-width: 0; overflow: hidden; }
.web-header nav a { position: relative; display: inline-flex; align-items: center; height: 110px; font-size: 15px; font-weight: 900; text-transform: uppercase; }
.web-header nav a.active { color: var(--red); }
.web-header nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 28px; height: 2px; background: var(--red); }
.lang-switch { position: relative; display: grid; grid-template-columns: 54px; align-items: center; height: 40px; padding: 4px 10px; border-radius: 8px; background: #f1f3f6; border: 1px solid var(--line); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.lang-switch::after { content: "⌄"; position: absolute; right: 12px; top: 50%; transform: translateY(-56%); color: #68717d; font-size: 12px; font-weight: 950; pointer-events: none; }
.lang-switch select { width: 54px; height: 30px; padding: 0 18px 0 9px; border: 0; border-radius: 6px; appearance: none; background: #fff; color: var(--ink); font: inherit; font-size: 12px; font-weight: 950; outline: none; box-shadow: 0 7px 16px rgba(7, 16, 31, .08); }
.topbar .lang-switch { margin-left: auto; height: 32px; padding: 3px 8px; border-color: rgba(255,255,255,.16); background: #111d2e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.topbar .lang-switch::after { right: 10px; color: #aeb7c4; }
.topbar .lang-switch select { height: 26px; background: #fff; }
.static-lang summary { display: grid; place-items: center; width: 54px; height: 30px; border-radius: 6px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 950; list-style: none; cursor: pointer; }
.static-lang summary::-webkit-details-marker { display: none; }
.static-lang a { position: absolute; top: calc(100% + 5px); left: 8px; right: 8px; z-index: 5; display: grid; place-items: center; min-height: 30px; border-radius: 6px; background: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(7, 16, 31, .12); font-size: 12px; font-weight: 950; }
.tv-live { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 52px; min-width: 154px; padding: 6px 17px 6px 9px; border: 1px solid rgba(227, 6, 19, .48); border-radius: 9px; background: #fff; color: var(--ink); box-shadow: none; }
.web-header nav .tv-live { height: 52px; min-width: 154px; flex: 0 0 auto; }
.web-header nav .tv-live::after { display: none; }
.tv-live span { display: inline-grid; place-items: center; width: 38px; height: 26px; border-radius: 6px; background: var(--red); color: #fff; font-size: 13px; font-weight: 950; line-height: 1; letter-spacing: .02em; }
.tv-live b { font-size: 15px; font-weight: 950; text-transform: uppercase; white-space: nowrap; }
.menu { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 24px; }
.breaking-news-web { position: relative; z-index: 19; height: 38px; border-bottom: 1px solid var(--line); background: #fff; display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; overflow: hidden; }
.breaking-news-web strong { height: 100%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 12px; font-weight: 950; text-transform: uppercase; }
.breaking-viewport { min-width: 0; overflow: hidden; }
.breaking-track { display: flex; align-items: center; width: max-content; animation: breaking-scroll 68s linear infinite; transform: translateX(-50%); }
.breaking-track:hover { animation-play-state: paused; }
.breaking-track a { position: relative; display: inline-flex; align-items: center; min-height: 38px; padding: 0 28px; white-space: nowrap; color: #111b2a; font-size: 13px; font-weight: 850; }
.breaking-track a::after { content: ""; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--red); transform: translateY(-50%); }
@keyframes breaking-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.page-shell {
  position: relative;
  width: min(100% - 12px, 1536px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(92px, 124px) minmax(0, 1240px) minmax(92px, 124px);
  gap: 24px;
  align-items: start;
}
.page-shell.article-shell { grid-template-columns: minmax(0, 1240px) minmax(92px, 124px); }
.page-shell.article-shell .side-rail.left { display: none; }
.page-shell.tv-shell { width: min(100% - 52px, 1620px); grid-template-columns: minmax(0, 1fr); }
.web-main { width: 100%; min-width: 0; margin: 0 auto; padding: 10px 0 64px; }
.side-rail { width: 100%; min-width: 0; padding-top: 8px; }
.side-rail.left { padding-left: 0; }
.side-rail.right { padding-right: 0; justify-self: end; }
.skyscraper { width: 100%; max-width: 124px; aspect-ratio: 124 / 552; height: auto; border-radius: 6px; background: url("../assets/web-side-pronet.jpg") center / cover no-repeat; box-shadow: 0 16px 34px rgba(7, 16, 31, .08); }
.side-card { margin-top: 24px; padding: 22px 18px; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(7, 16, 31, .06); }
.side-card h3 { margin: 0 0 16px; font-size: 14px; text-transform: uppercase; }
.side-card button { display: block; width: 100%; padding: 8px 0; text-align: left; color: #202938; }
.side-card a { display: block; width: 100%; padding: 8px 0; text-align: left; color: #202938; }
.cats button { border-bottom: 1px solid #f0f2f5; font-size: 14px; line-height: 1.25; }
.cats a { border-bottom: 1px solid #f0f2f5; font-size: 14px; line-height: 1.25; }
.cats button:last-child { border-bottom: 0; }

.home-grid { display: grid; grid-template-columns: minmax(0, 900px) minmax(280px, 310px); gap: 24px; align-items: stretch; }
.home-lead { display: grid; gap: 14px; min-width: 0; }
.hero-desktop { position: relative; display: block; height: 370px; overflow: hidden; border-radius: 8px; background: url("../assets/web-article-rain.jpg") center / cover no-repeat; color: #fff; box-shadow: 0 18px 42px rgba(7, 16, 31, .12); }
.hero-desktop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 44%, rgba(0,0,0,.9)); }
.hero-copy { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 26px; display: grid; justify-items: start; gap: 12px; }
.hero-copy span, .badge, .card-img b, .compact-card span { display: inline-flex; padding: 5px 9px; border-radius: 3px; background: var(--red); color: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.hero-copy h1 { display: -webkit-box; max-width: 850px; margin: 0; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 25px; line-height: 1.16; text-shadow: 0 2px 12px rgba(0,0,0,.36); }
.hero-copy h1.title-sm { font-size: 22px; line-height: 1.13; }
.hero-copy h1.title-xs { font-size: 19px; line-height: 1.12; }
.hero-copy p { display: none; }
.hero-copy button { min-height: 36px; padding: 0 16px; border-radius: 4px; background: var(--red); color: #fff; font-weight: 900; text-transform: uppercase; }
.hero-copy b { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 4px; background: var(--red); color: #fff; font-weight: 900; text-transform: uppercase; }
.hero-arrow { position: absolute; z-index: 3; top: 44%; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.4); color: #fff; font-size: 34px; }
.hero-arrow.left { left: 16px; } .hero-arrow.right { right: 16px; }

.popular-panel { padding: 18px; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(7, 16, 31, .06); }
.popular-panel.dark { background: #07101f; color: #fff; }
.home-grid .popular-panel { height: 449px; overflow: hidden; }
.popular-panel h2, .weather-panel h2 { margin: 0 0 18px; font-size: 18px; text-transform: uppercase; }
.popular-item { display: grid; grid-template-columns: 28px 82px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 72px; padding: 10px 0; border-bottom: 1px solid rgba(128,139,153,.22); }
.popular-item > b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 4px; background: var(--red); color: #fff; font-size: 14px; font-weight: 950; line-height: 1; }
.pop-img,
.popular-img { height: 58px; border-radius: 4px; background-size: cover; background-position: center; }
.popular-img.remote { background-image: url("../assets/popular-remote.jpg"); }
.popular-img.bank { background-image: url("../assets/web-card-bank.jpg"); }
.popular-img.flags { background-image: url("../assets/web-card-flags.jpg"); }
.popular-img.traffic { background-image: url("../assets/web-card-traffic.jpg"); }
.popular-img.gas { background-image: url("../assets/web-card-gas.jpg"); }
.popular-panel h3 { margin: 0; font-size: 14px; line-height: 1.28; }
.popular-panel small, .popular-panel time { margin-right: 16px; color: #8d96a4; font-size: 11px; }
.home-grid .popular-item { padding: 9px 0; }
.home-grid .popular-img { height: 58px; }
.popular-panel h3,
.compact-card h3,
.card-body h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-wrap: pretty;
}
.popular-panel h3.title-sm,
.compact-card h3.title-sm,
.card-body h2.title-sm { font-size: 12px; line-height: 1.25; }
.popular-panel h3.title-xs,
.compact-card h3.title-xs,
.card-body h2.title-xs { font-size: 11px; line-height: 1.2; }
.all-popular { width: 100%; height: 36px; margin-top: 12px; border-radius: 4px; background: #fff3f4; color: var(--red); font-weight: 900; text-transform: uppercase; }
.home-grid .all-popular { height: 34px; margin-top: 10px; }

.wide-ad { border-radius: 8px; background-size: cover; background-position: center; box-shadow: 0 10px 24px rgba(7, 16, 31, .06); }
.wide-ad.kontakt { width: 100%; height: 65px; margin: 0; background-image: url("../assets/web-kontakt.jpg"); }
.wide-ad.bank-blue { height: 85px; margin-top: 14px; background-image: url("../assets/web-bank-blue.jpg"); }
.small-ad { border-radius: 8px; background-size: cover; background-position: center; box-shadow: 0 10px 24px rgba(7, 16, 31, .06); }
.bank-small { height: 179px; background-image: url("../assets/web-bank-small.jpg"); }
.peugeot { height: 100%; min-height: 132px; background-image: url("../assets/web-peugeot-side.jpg"); }

.content-row { display: grid; grid-template-columns: minmax(0, 900px) minmax(280px, 310px); gap: 24px; align-items: start; margin-top: 14px; }
.left-stack, .right-stack { display: grid; gap: 14px; align-content: start; }
.right-stack { grid-template-rows: auto 1fr; }
.weather-panel { padding: 20px; border-radius: 8px; background: #07101f; color: #fff; box-shadow: 0 16px 36px rgba(7, 16, 31, .14); }
.weather-panel p { color: #c5ccd6; }
.weather-now { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin: 18px 0; }
.weather-now strong { font-size: 34px; }
.weather-now i { font-size: 38px; font-style: normal; }
.weather-meta, .days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); color: #cbd3df; font-size: 11px; }
.days { grid-template-columns: repeat(4, 1fr); }
.weather-panel button { width: 100%; height: 38px; margin-top: 8px; color: #fff; border-top: 1px solid rgba(255,255,255,.12); text-transform: uppercase; }

.section-line { display: flex; align-items: center; justify-content: flex-start; gap: 16px; margin-bottom: 14px; }
.section-line h2 { flex: 0 0 auto; margin: 0; padding-left: 12px; border-left: 3px solid var(--red); font-size: 18px; text-transform: uppercase; }
.section-line div { display: flex; flex: 1 1 auto; gap: 6px; min-width: 0; overflow: hidden; }
.section-line button { height: 36px; padding: 0 13px; border-radius: 4px; background: var(--soft); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.section-line button.active { background: var(--red); color: #fff; }
.section-line a { display: inline-flex; align-items: center; height: 36px; padding: 0 13px; border-radius: 4px; background: var(--soft); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.section-line a.active { background: var(--red); color: #fff; }
.latest-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.compact-card { display: block; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 24px rgba(7, 16, 31, .05); }
.compact-img { height: 104px; background-size: cover; background-position: center; }
.compact-card span,
.compact-card time,
.compact-card p { display: none; }
.compact-card h3 {
  margin: 12px 12px 14px;
  min-height: 88px;
  font-size: 14px;
  line-height: 1.28;
  -webkit-line-clamp: 5;
}
.compact-card h3.title-sm { font-size: 12px; line-height: 1.24; }
.compact-card h3.title-xs { font-size: 11px; line-height: 1.22; }
.more-news-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 12px; padding: 0 18px; border-radius: 5px; background: #fff0f1; color: var(--red); font-size: 13px; font-weight: 950; text-transform: uppercase; }
.home-promo-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 14px; align-items: stretch; margin-top: 14px; }
.home-promo-row .weather-panel { min-height: 170px; padding: 18px; }
.home-promo-row .weather-panel h2 { margin-bottom: 8px; font-size: 15px; }
.home-promo-row .weather-panel p { margin: 0; font-size: 13px; }
.home-promo-row .weather-now { gap: 10px; margin: 12px 0; }
.home-promo-row .weather-now strong { font-size: 28px; }
.home-promo-row .weather-now i { font-size: 30px; }
.home-promo-row .weather-meta { gap: 6px; padding: 10px 0 0; font-size: 10px; }
.home-promo-row .days { display: none; }
.home-promo-row .bank-blue { height: auto; min-height: 170px; margin-top: 0; background-size: cover; }
.rain, .compact-img.rain { background-image: url("../assets/web-card-rain.jpg"); }
.traffic, .compact-img.traffic { background-image: url("../assets/web-card-traffic.jpg"); }
.flags, .compact-img.flags { background-image: url("../assets/web-card-flags.jpg"); }
.gas, .compact-img.gas { background-image: url("../assets/web-card-gas.jpg"); }
.mountain, .compact-img.mountain { background-image: url("../assets/web-card-mountain.jpg"); }
.bank, .compact-img.bank { background-image: url("../assets/web-card-bank.jpg"); }

.authors-panel { border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 12px 30px rgba(7, 16, 31, .06); }
.authors-panel header { display: flex; align-items: center; justify-content: space-between; padding: 0 14px; height: 42px; background: var(--red); color: #fff; }
.authors-panel h2 { margin: 0; font-size: 17px; text-transform: uppercase; }
.authors-panel header button { font-size: 11px; }
.authors-panel article { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.authors-panel article div { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f0d8d5; color: var(--red); font-weight: 900; }
.authors-panel small { display: block; color: var(--muted); font-size: 12px; }
.authors-panel em { color: #a3aab5; font-style: normal; font-size: 24px; }
.authors-page-list { margin-top: 12px; }

.category-layout, .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; padding-top: 20px; }
.article-layout { grid-template-columns: minmax(0, 1fr) 310px; }
.category-main, .article-web { background: #fff; padding: 24px; border-radius: 8px; box-shadow: 0 12px 30px rgba(7, 16, 31, .05); }
.breadcrumbs { margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.category-main h1 { margin: 0 0 20px; font-size: 25px; }
.category-filters { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.category-filters button, .category-filters select { height: 36px; padding: 0 14px; border: 0; border-radius: 4px; background: #fff; font-weight: 800; text-transform: uppercase; }
.category-filters button.active { background: var(--red); color: #fff; }
.category-filters select { margin-left: auto; border: 1px solid var(--line); color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.news-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(7, 16, 31, .045); }
.card-img { position: relative; height: 176px; background-size: cover; background-position: center; }
.card-img span { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: 11px; }
.card-img b { position: absolute; right: 12px; bottom: 8px; }
.card-body { padding: 14px; }
.card-body h2 { margin: 0 0 12px; min-height: 66px; font-size: 17px; line-height: 1.3; }
.card-body p { display: none; }
.card-body footer { display: flex; gap: 28px; color: var(--muted); font-size: 12px; }
.card-body footer i { margin-left: auto; color: #9ba3af; font-style: normal; }

.article-share, .article-right, .category-right { display: grid; gap: 14px; align-content: start; }
.article-web h1 { margin: 16px 0 12px; font-size: 30px; line-height: 1.35; }
.article-web .lead { margin: 0 0 20px; color: #303947; }
.author-line { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--muted); }
.author-line img { width: 42px; }
.author-line button { display: grid; place-items: center; width: 30px; height: 30px; margin-left: 0; border-radius: 5px; font-weight: 900; }
.author-line button:nth-of-type(1) { font-size: 12px; }
.author-line button:nth-of-type(2) { font-size: 15px; }
.author-line button:nth-of-type(3) { font-size: 18px; }
.author-line button:nth-of-type(4) { font-size: 21px; }
.author-line button:nth-of-type(5) { font-size: 24px; }
.author-line button.active { background: #fff0f1; color: var(--red); box-shadow: inset 0 0 0 1px rgba(227, 6, 19, .18); }
.article-image { height: 337px; border-radius: var(--radius); background: url("../assets/web-article-rain.jpg") center / cover no-repeat; }
.share-row { display: flex; gap: 8px; margin: 22px 0; }
.share-row button { min-width: 110px; height: 28px; border-radius: 3px; background: #2f5ca8; color: #fff; font-size: 12px; }
.share-row button:nth-child(2) { background: #52a7df; }
.share-row button:nth-child(3) { background: #28a745; }
.share-row button:nth-child(4) { background: #239bd8; }
.share-row button:nth-child(n+5) { min-width: 36px; background: var(--soft); color: var(--ink); }
.article-web p { line-height: 1.7; }
.article-web.article-font-0 p, .article-web.article-font-0 blockquote { font-size: 16px; }
.article-web.article-font-1 p, .article-web.article-font-1 blockquote { font-size: 18px; }
.article-web.article-font-2 p, .article-web.article-font-2 blockquote { font-size: 20px; }
.article-web.article-font-3 p, .article-web.article-font-3 blockquote { font-size: 22px; }
.article-web.article-font-4 p, .article-web.article-font-4 blockquote { font-size: 24px; }
blockquote { margin: 24px 0 0; padding: 24px 32px; border-radius: var(--radius); background: #fff1f2; color: #5b6470; }

.tv-page { display: grid; grid-template-columns: minmax(620px, 1fr) 344px 426px; gap: 18px; padding-top: 20px; }
.tv-left, .tv-right { display: grid; gap: 14px; align-content: start; min-width: 0; }
.tv-middle { display: grid; gap: 14px; align-content: start; min-width: 0; }
.tv-page section, .tv-right .popular-panel, .tv-category-row { border: 1px solid #e9edf4; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(7, 16, 31, .055); }
.tv-player { overflow: hidden; background: #07101f; }
.tv-studio { position: relative; height: 312px; overflow: hidden; background: url("../assets/tv-live-studio.png") center / cover no-repeat; }
.tv-studio::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.08)); }
.tv-intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tv-live-badge { position: absolute; z-index: 2; left: 14px; top: 14px; display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 5px; background: var(--red); color: #fff; font-size: 13px; font-weight: 950; }
.studio-camera, .studio-screen, .studio-desk { display: none; }
.tv-controls { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto auto auto auto; align-items: center; gap: 14px; height: 52px; padding: 0 18px; background: #07101f; color: #fff; }
.tv-controls button { color: #fff; font-size: 22px; font-weight: 900; }
.tv-controls span { height: 5px; border-radius: 999px; background: linear-gradient(90deg, var(--red) 0 62%, rgba(255,255,255,.28) 62%); }
.tv-controls b { color: var(--red); font-size: 15px; }
.tv-controls i { width: 0; }
.tv-brand-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 22px 30px; min-height: 128px; }
.tv-brand-icon { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 16px; background: linear-gradient(180deg, #fff, #f3f6fb); box-shadow: inset 0 0 0 1px #e8edf5; }
.tv-brand-icon b { display: grid; place-items: center; width: 58px; height: 58px; border: 4px solid var(--red); border-radius: 10px; color: var(--red); font-size: 18px; line-height: 1; font-weight: 950; text-align: center; }
.tv-brand-logo { width: 136px; padding: 10px; }
.tv-brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.tv-brand-card h1 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 24px; line-height: 1.16; }
.tv-brand-card h1 span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 5px; background: var(--red); color: #fff; font-size: 12px; font-weight: 950; }
.tv-brand-card p { margin: 0 0 8px; color: #4f5a6b; font-size: 15px; }
.tv-brand-card .tv-desc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-brand-card p b { display: inline-flex; margin-left: 12px; padding: 5px 9px; border-radius: 5px; background: #6d28d9; color: #fff; font-size: 11px; }
.tv-brand-card strong { align-self: start; padding: 9px 13px; border-radius: 6px; background: #fff0f1; color: var(--red); font-size: 13px; white-space: nowrap; }
.tv-social-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; }
.tv-social-card b { font-size: 15px; }
.tv-social-card div { display: flex; gap: 12px; color: #111b2a; font-size: 12px; font-weight: 900; }
.tv-info-card { padding: 26px; min-height: 318px; }
.tv-red-dot { color: var(--red); font-size: 13px; font-weight: 950; }
.tv-info-card h2 { margin: 18px 0 14px; font-size: 27px; }
.tv-info-card p { color: #435066; line-height: 1.65; }
.tv-time { display: flex; align-items: center; gap: 16px; margin: 0 0 10px; }
.tv-time b, .tv-upcoming article b { padding: 5px 9px; border-radius: 5px; background: #6d28d9; color: #fff; font-size: 11px; }
.tv-info-card button { height: 44px; margin: 22px 0 18px; padding: 0 24px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 950; }
.tv-next { padding-top: 14px; border-top: 1px solid #e9edf4; }
.tv-next span { color: #697486; font-weight: 900; }
.tv-next p { margin: 8px 0 0; display: flex; gap: 14px; align-items: center; }
.tv-next i { width: 1px; height: 16px; background: #d7dde8; }
.tv-list-card { padding: 22px; min-height: 386px; }
.tv-list-card header, .tv-shows-card header, .tv-interviews header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.tv-list-card h3, .tv-shows-card h3, .tv-interviews h3, .tv-upcoming h3 { margin: 0; font-size: 15px; }
.tv-list-card header button, .tv-shows-card header button, .tv-interviews header button { color: var(--red); font-weight: 850; font-size: 12px; }
.tv-schedule { max-height: 286px; overflow: hidden; padding-right: 6px; }
.tv-schedule article { display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 40px; border-bottom: 1px solid #ecf0f5; color: #1d293b; }
.tv-schedule time { color: #07101f; font-weight: 850; }
.tv-schedule b { padding: 4px 7px; border-radius: 4px; background: var(--red); color: #fff; font-size: 10px; }
.tv-upcoming { padding: 16px; min-height: 112px; }
.tv-upcoming article { display: grid; grid-template-columns: 84px 58px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 42px; border-top: 1px solid #edf1f6; }
.tv-thumb { height: 34px; border-radius: 4px; background-size: cover; background-position: center; }
.tv-page .tv-middle-ad {
  min-height: 220px;
  background-image: url("../assets/tv-ad-media-group.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.tv-shows-card { min-height: 270px; padding: 16px; }
.tv-show-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 258px)); justify-content: center; gap: 18px; }
.tv-show-img { position: relative; height: 158px; overflow: hidden; border-radius: 7px; background-color: #07101f; background-size: contain; background-position: center; background-repeat: no-repeat; color: #fff; }
.tv-show-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.38)); }
.tv-show-img b { position: absolute; z-index: 2; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: 4px; background: #6d28d9; font-size: 10px; }
.tv-show-img h4 { display: none; }
.tv-show-grid p { margin: 8px 0 0; color: #667085; font-size: 12px; }
.tv-interviews { grid-column: 1 / 4; padding: 16px; }
.tv-interview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tv-interview-img { position: relative; height: 178px; border-radius: 8px; overflow: hidden; background-size: cover; background-position: center top; }
.tv-interviews h4 { margin: 10px 0 8px; font-size: 15px; line-height: 1.25; }
.tv-interviews p { display: flex; justify-content: space-between; margin: 0; color: #07101f; font-size: 13px; }
.tv-interviews i { display: inline-flex; padding: 5px 8px; border-radius: 5px; background: #fff0f1; color: var(--red); font-style: normal; font-weight: 900; }
.tv-interviews p b { font-weight: 950; }
.tv-ad-block { position: relative; min-height: 286px; overflow: hidden; padding: 26px 30px; border: 1px solid #e6ebf2; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(7,16,31,.055); }
.tv-ad-block span { position: relative; z-index: 2; display: block; margin-bottom: 28px; color: #07101f; font-size: 13px; font-weight: 900; }
.tv-ad-block h2, .tv-ad-block h3, .tv-ad-block p, .tv-ad-block button { position: relative; z-index: 2; }
.tv-ad-block h2 { margin: 0; color: #09235d; font-size: 34px; line-height: 1; font-weight: 950; letter-spacing: .02em; }
.tv-ad-block h3 { margin: 4px 0 24px; color: var(--red); font-size: 21px; font-weight: 950; }
.tv-ad-block p { margin: 0 0 24px; color: #092044; font-size: 18px; line-height: 1.35; font-weight: 950; }
.tv-ad-block button { height: 36px; padding: 0 16px; border-radius: 5px; background: var(--red); color: #fff; font-size: 12px; font-weight: 950; }
.tv-ad-block > * { display: none; }
.tv-right .tv-ad-block.media-group {
  min-height: 330px;
  background-color: #fff;
  background-image: url("../assets/tv-ad-media-group.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.media-group::before, .media-group::after { display: none; }
.tv-right .tv-ad-block.smart-tv {
  min-height: 478px;
  background-color: #fff;
  background-image: url("../assets/tv-ad-smart.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.smart-tv h2 { max-width: 230px; font-size: 25px; line-height: 1.08; }
.smart-tv h2 b { color: var(--red); }
.smart-tv p { max-width: 190px; margin-top: 16px; font-size: 14px; }
.smart-screen { display: none; }
.smart-screen b { color: var(--red); }
.smart-tv button { margin-top: 18px; }
.tv-category-row { grid-column: 1 / 4; display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; margin-top: 0; padding: 10px; }
.tv-category-row button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; border-radius: 7px; background: #fff; color: #111827; font-weight: 850; box-shadow: 0 8px 18px rgba(7, 16, 31, .04); }
.tv-category-row span { font-size: 19px; }
.studio, .tv-thumb.studio, .tv-show-img.studio { background-image: url("../assets/tv-show-gece-debati.png"); }
.report, .tv-thumb.report, .tv-show-img.report { background-image: url("../assets/tv-show-xususi-reportaj.png"); }
.world, .tv-thumb.world, .tv-show-img.world { background-image: url("../assets/tv-show-dunya-panoramasi.png"); }
.economy, .tv-show-img.economy { background-image: linear-gradient(135deg, #0f172a, #1e40af 48%, #334155); }
.interview-man { background-image: url("../assets/tv-interview-iqtisadiyyat.png"); }
.interview-woman { background-image: url("../assets/tv-interview-regional.png"); }
.interview-guest { background-image: url("../assets/tv-interview-enerji.png"); }

.web-footer {
  margin-top: 36px;
  background: #07101f;
  color: #fff;
  border-top: 4px solid var(--red);
}

.web-footer-inner {
  width: min(100% - 40px, 1260px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(360px, 1.4fr) minmax(240px, .8fr);
  gap: 42px;
  padding: 38px 0 32px;
}

.footer-brand img {
  display: block;
  width: 190px;
  height: auto;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .24));
}

.footer-brand p,
.footer-contact p,
.footer-contact a,
.footer-bottom {
  color: #aeb7c4;
}

.footer-brand p {
  max-width: 360px;
  margin: 0 0 18px;
  line-height: 1.65;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #111c2c;
  color: #fff;
  font-weight: 900;
}

.web-footer h3 {
  margin: 0 0 16px;
  font-size: 15px;
  text-transform: uppercase;
}

.footer-links div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.footer-links button {
  padding: 6px 0;
  color: #d6dce5;
  text-align: left;
  font-weight: 750;
}
.footer-links a {
  padding: 6px 0;
  color: #d6dce5;
  text-align: left;
  font-weight: 750;
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-contact p {
  margin: 0;
}

.footer-contact a {
  text-decoration: none;
}

.footer-contact button {
  width: fit-content;
  min-height: 38px;
  margin-top: 6px;
  padding: 0 16px;
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-bottom {
  width: min(100% - 40px, 1260px);
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
}

@media (max-width: 1420px) {
  body { min-width: 0; }
  .topbar-inner, .web-header-inner { width: min(100% - 32px, 1120px); }
  .topbar-inner { gap: 18px; }
  .topbar-inner span:nth-child(n+3):nth-child(-n+4),
  .topbar-inner b:nth-of-type(n+4) { display: none; }
  .page-shell { width: min(100% - 32px, 1120px); grid-template-columns: 1fr; }
  .web-header-inner { grid-template-columns: 136px minmax(0, 1fr) auto auto; gap: 10px; }
  .web-logo { width: 126px; height: 68px; }
  .web-header nav { gap: 16px; min-width: 0; overflow: hidden; }
  .web-header nav a { font-size: 12px; }
  .web-header nav .tv-live { height: 40px; min-width: 104px; padding: 4px 11px 4px 7px; }
  .web-header nav .tv-live span { width: 34px; height: 24px; font-size: 12px; }
  .web-header nav .tv-live b { font-size: 12px; }
  .side-rail { display: none; }
  .web-main { width: 100%; }
  .home-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .hero-desktop { height: 340px; }
  .wide-ad.kontakt { width: 100%; margin-left: 0; }
  .content-row { grid-template-columns: minmax(0, 1fr); }
  .right-stack { display: none; }
  .latest-cards { grid-template-columns: repeat(4, 1fr); }
  .home-promo-row { grid-template-columns: 240px minmax(0, 1fr); }
  .category-layout, .article-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .article-share { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .web-footer-inner { width: min(100% - 32px, 1120px); grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { width: min(100% - 32px, 1120px); }
}

@media (min-width: 1421px) and (max-width: 1535px) {
  .web-header-inner,
  .topbar-inner {
    width: min(100% - 32px, 1200px);
  }

  .page-shell {
    grid-template-columns: 104px minmax(0, 1fr) 104px;
  }

  .home-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .content-row {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}
