/* Novy Cas preland. The quiz and its integration remain in style.css/app.js. */
body {
  background: #fff;
  color: #292929;
  overflow-x: hidden;
}

body.quiz-open { background: #0a0e1a; }

.news-page {
  min-height: 100vh;
  display: block;
  background: #fff;
  color: #292929;
  font-family: "Bahnschrift Condensed", "Arial Narrow", Arial, sans-serif;
  font-stretch: condensed;
}

.news-page a { color: inherit; text-decoration: none; }
.news-page img { display: block; max-width: 100%; }

.news-topbar { height: 52px; background: #e30613; color: #fff; }
.news-topbar-inner {
  width: 916px;
  height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 17px;
}
.news-logo { width: 62px; height: 52px; object-fit: contain; padding: 4px 0; flex: 0 0 auto; }
.news-main-nav { height: 100%; display: flex; align-items: center; gap: 18px; flex: 1 1 auto; }
.news-main-nav a { font-size: 12px; line-height: 1; font-weight: 800; white-space: nowrap; }
.news-main-nav .premium { color: #111; background: #ffd25a; padding: 10px 12px; border-radius: 3px; }
.news-actions { display: flex; align-items: center; gap: 16px; font-size: 12px; white-space: nowrap; }
.news-actions span { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.news-actions span img { width: 13px; height: 13px; }
.news-actions .news-subscribe { color: #181818; background: #ffd25a; padding: 12px 13px; border: 0; border-radius: 3px; font-size: 12px; font-weight: 800; }
.news-search { width: 24px; height: 24px; }
.news-page .news-tip-logo,
.news-page .news-message,
.news-page .news-menu,
.news-page .news-msg-count { display: none; }

.news-subnav {
  height: 28px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  overflow: hidden;
  background: #eeeef2;
  color: #222;
}
.news-subnav a { font-size: 10px; font-weight: 700; white-space: nowrap; }

.news-container {
  width: 916px;
  margin: 21px auto 0;
  display: grid;
  grid-template-columns: 664px 237px;
  gap: 15px;
  align-items: start;
}
.news-main { min-width: 0; }
.news-article h1 {
  margin: 0 0 13px;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.35px;
  font-weight: 700;
}
.news-lead {
  margin: 0 0 15px;
  max-width: 655px;
  font-size: 17px;
  line-height: 1.22;
  font-weight: 700;
}
.news-mobile-break { display: none; }
.news-date { margin: 0 0 13px; color: #777; font: 10px/1.2 Arial, sans-serif; }
.news-hero { margin: 0; width: 100%; overflow: hidden; border-radius: 3px; }
.news-hero img { width: 100%; height: auto; }

.news-byline {
  margin: 30px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e30613;
  font-size: 12px;
}
.news-byline img { width: 27px; height: 27px; padding: 2px; border-radius: 50%; background: #e30613; }
.news-section-title { margin: 0 0 34px; font-size: 25px; line-height: 1.1; }

.news-copy { width: 506px; margin: 0 auto; }
.news-copy > p { margin: 0 0 15px; font-size: 15px; line-height: 1.52; }
.news-copy > h2 { margin: 15px 0 12px; font-size: 25px; line-height: 1.08; letter-spacing: -.2px; }
.news-copy .news-sublead { font-size: 20px; line-height: 1.25; }
.news-copy blockquote {
  margin: 15px 10px;
  border: 0;
  font-size: 14px;
  line-height: 1.5;
  font-style: italic;
  font-weight: 700;
  text-align: center;
}
.news-copy blockquote span { display: block; font-style: normal; font-weight: 400; }

.news-warning { margin-top: 16px; }
.news-warning h2 {
  margin: 0 0 12px;
  padding: 15px 12px 12px;
  border-top: 1px solid #ed1c24;
  border-bottom: 1px solid #ed1c24;
  font-size: 25px;
  line-height: 1.12;
  text-align: center;
}
.news-warning p { margin: 0 0 15px; font-size: 13px; line-height: 1.55; }
.news-cta {
  width: 100%;
  height: 35px;
  margin: 3px 0 57px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: #e30613;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}
.news-cta img:first-child { width: 15px; height: 15px; }
.news-cta img:last-child { width: 10px; height: 14px; }
.cta-mobile-break { display: none; }
.news-proof { margin: 0 0 24px; border-radius: 2px; overflow: hidden; }
.news-proof img { width: 100%; }

.news-comments { margin-left: -64px; width: 632px; }
.news-comments article { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 14px; margin: 0 0 15px; }
.news-comments article > img { width: 72px; height: 76px; object-fit: cover; border-radius: 50%; }
.news-comments article > div { min-height: 74px; padding: 10px 16px; display: flex; flex-direction: column; justify-content: center; background: #efefef; border-radius: 28px; }
.news-comments strong { font: 700 16px/1.15 Arial, sans-serif; color: #0a0a0a; }
.news-comments p { margin-top: 3px; font: italic 13px/1.16 Arial, sans-serif; color: #111; }

.news-social-block { margin-top: 59px; }
.news-tags { padding-bottom: 11px; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; border-bottom: 1px solid #ed1c24; }
.news-tags strong { margin-right: 5px; font-size: 15px; }
.news-tags span { padding: 5px 9px; border: 1px solid #9ba1a6; border-radius: 12px; font-size: 10px; }
.news-share-row { height: 45px; display: flex; align-items: center; gap: 0; }
.google-news-follow {
  height: 34px;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fdfcfb;
  color: #292929;
  white-space: nowrap;
}
.google-news-follow img { width: 36px; height: 30px; flex: 0 0 auto; }
.google-news-follow span { font-size: 10px; font-weight: 700; }
.google-news-follow b { color: #e30613; }
.news-share-row button { height: 34px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border: 1px solid #ed1c24; background: #fff; color: #e30613; font-size: 11px; }
.news-share-row button img { width: 14px; height: 14px; }
.news-share-row .discussion { background: #e30613; color: #fff; }

.news-section { margin-top: 36px; }
.news-section > h3 { margin: 0 0 10px; font-size: 14px; }
.news-carousel { position: relative; overflow: hidden; }
.horizontal-cards { display: flex; gap: 9px; min-width: 0; }
.horizontal-cards article { position: relative; min-width: 0; }
.horizontal-cards article .card-thumb { width: 100%; object-fit: cover; }
.horizontal-cards article strong { display: block; margin-top: 6px; color: #e30613; font-size: 11px; line-height: 1.28; }
.card-media { position: relative; display: block; }
.horizontal-cards article .card-overlay {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
}
.carousel-arrow {
  position: absolute;
  top: 38px;
  z-index: 5;
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}
.carousel-arrow img { width: 42px; height: 42px; }
.carousel-prev { left: 3px; }
.carousel-prev img { transform: rotate(180deg); }
.carousel-next { right: 3px; }
.compact-cards article { flex: 1 1 25%; }
.compact-cards article .card-thumb { aspect-ratio: 1.77; }

.recommended { margin-top: 53px; }
.recommended-carousel { overflow: visible; }
.recommended-carousel .carousel-arrow { display: none; }
.recommended-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
.recommended-grid article img { width: 100%; aspect-ratio: 1.494; object-fit: cover; }
.recommended-grid article strong { display: block; margin-top: 6px; font-size: 15px; line-height: 1.38; }
.engerio { margin-top: 5px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.engerio span { color: #929292; font-size: 10px; }
.engerio img { width: 76px; height: auto; }

.today-news { margin-top: 100px; padding: 22px 18px 25px; background: #fdfcfb; }
.today-cards article { flex: 1 1 25%; }
.today-cards article .card-thumb { aspect-ratio: 1.77; }
.today-cards article strong { color: #222; font-size: 10px; line-height: 1.35; }

.short-videos { margin-top: 11px; }
.short-videos > h2 { margin: 0 0 8px; padding-bottom: 5px; border-bottom: 4px solid #e30613; color: #e30613; font-size: 19px; }
.video-cards { gap: 9px; overflow: hidden; }
.video-cards article { flex: 0 0 20%; overflow: hidden; border-radius: 2px; }
.video-cards article img { width: 100%; aspect-ratio: .593; object-fit: cover; }
.video-cards article strong { position: absolute; inset: auto 8px 9px; margin: 0; color: #fff; font-size: 11px; line-height: 1.25; text-shadow: 0 1px 3px #000; }
.video-carousel .carousel-arrow { top: 125px; }

.news-sidebar { min-width: 0; font-size: 14px; }
.sidebar-title { margin-bottom: 12px; padding: 9px; border-radius: 6px; background: #e30613; color: #fff; font-size: 11px; text-align: center; }
.news-sidebar > img { width: 237px; border-radius: 7px; }
.news-sidebar > strong { display: block; padding: 7px 0 11px; line-height: 1.18; }
.news-sidebar > a { display: block; padding: 11px 0; border-top: 1px solid #ddd; font-weight: 700; line-height: 1.18; }

.news-footer { width: 916px; margin: 23px auto 0; padding: 0 0 50px; text-align: center; }
.news-socials { height: 74px; display: flex; align-items: center; justify-content: center; gap: 33px; border-bottom: 1px solid #d7e0e5; }
.news-socials img { width: 34px; height: 34px; }
.news-footer-links { padding: 28px 0 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 27px; color: #e30613; }
.news-footer-links a { font-size: 11px; font-weight: 700; }
.news-legal { max-width: 780px; margin: 18px auto 0; font: 8px/1.35 Arial, sans-serif; }
.news-code { margin: 25px 0 15px; font: 8px Arial, sans-serif; }
.news-media-logo { width: 86px; margin: 0 auto; }

@media (max-width: 700px) {
  .news-topbar { height: 48px; }
  .news-topbar-inner { width: 100%; height: 48px; padding: 0 10px; gap: 10px; }
  .news-logo { width: 48px; height: 46px; padding: 2px 0; }
  .news-main-nav, .news-actions, .news-search { display: none; }
  .news-page .news-search { display: none; }
  .news-page .news-tip-logo { display: block; width: 97px; height: 32px; margin-left: auto; }
  .news-page .news-message { display: block; width: 21px; height: 21px; margin-left: 3px; }
  .news-page .news-msg-count { display: block; min-width: 25px; margin-left: -8px; padding: 3px 6px; border-radius: 5px; background: #fff; color: #e30613; font: 700 11px Arial, sans-serif; text-align: center; }
  .news-page .news-menu { display: block; width: 36px; height: 30px; margin-left: 0; }
  .news-subnav { height: 34px; padding: 0 31px; justify-content: flex-start; gap: 29px; overflow-x: auto; scrollbar-width: none; }
  .news-subnav::-webkit-scrollbar { display: none; }
  .news-subnav a { font-size: 11px; }

  .news-container { width: 100%; margin-top: 31px; display: block; }
  .news-main { width: 100%; }
  .news-article > h1, .news-lead, .news-date, .news-byline, .news-section-title, .news-social-block, .news-section { margin-left: 18px; margin-right: 18px; }
  .news-article h1 { margin-bottom: 20px; font-size: 32px; line-height: 1.34; letter-spacing: -.5px; }
  .news-mobile-break { display: block; }
  .news-lead { margin-bottom: 18px; font-size: 19px; line-height: 1.32; }
  .news-date { margin-bottom: 15px; font-size: 10px; }
  .news-hero { width: calc(100% - 36px); margin: 0 18px; border-radius: 3px; }
  .news-byline { margin-top: 42px; margin-bottom: 22px; font-size: 14px; }
  .news-byline img { width: 29px; height: 29px; }
  .news-section-title { margin-bottom: 42px; font-size: 31px; line-height: 1.13; }

  .news-copy { width: auto; margin: 0 30px; }
  .news-copy > p { margin-bottom: 20px; font-size: 18px; line-height: 1.58; }
  .news-copy > h2 { margin: 22px 0 15px; font-size: 30px; line-height: 1.14; }
  .news-copy .news-sublead { font-size: 24px; line-height: 1.3; }
  .news-copy blockquote { margin: 20px 3px; font-size: 17px; line-height: 1.55; }

  .news-warning h2 { margin-top: 23px; padding: 16px 7px; font-size: 32px; line-height: 1.15; }
  .news-warning p { font-size: 16px; line-height: 1.7; }
  .news-cta { width: 100%; height: auto; min-height: 54px; margin: 8px 0 30px; padding: 7px 8px; justify-content: center; gap: 7px; font-size: 16px; line-height: 1.08; white-space: normal; text-align: center; }
  .news-cta span { flex: 1 1 auto; }
  .news-cta img:first-child { width: 14px; height: 14px; flex: 0 0 auto; }
  .news-cta img:last-child { width: 9px; height: 13px; flex: 0 0 auto; }
  .cta-mobile-break { display: block; }
  .news-proof { margin-bottom: 29px; }
  .news-comments { margin-left: -2px; width: calc(100% + 2px); }
  .news-comments article { grid-template-columns: 104px 1fr; gap: 8px; margin-bottom: 16px; }
  .news-comments article > img { width: 104px; height: 109px; }
  .news-comments article > div { min-height: 104px; padding: 13px 16px; border-radius: 30px; }
  .news-comments strong { font-size: 18px; }
  .news-comments p { font-size: 15px; line-height: 1.05; }

  .news-social-block { margin-top: 72px; }
  .news-tags { gap: 7px; padding-bottom: 16px; }
  .news-tags strong { width: 100%; font-size: 18px; }
  .news-tags span { padding: 6px 10px; border-radius: 14px; font-size: 11px; }
  .news-share-row { height: auto; padding: 18px 10px 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 9px; }
  .google-news-follow { width: 174px; height: 54px; flex: 0 0 174px; margin-right: calc(100% - 174px); padding: 0 8px; gap: 8px; white-space: normal; }
  .google-news-follow img { width: 42px; height: 36px; }
  .google-news-follow span { font-size: 11px; line-height: 1.15; }
  .news-share-row button { height: 42px; padding: 0 13px; font-size: 13px; }
  .news-share-row .discussion { margin-right: calc(100% - 116px); }

  .news-section { margin-top: 47px; }
  .news-section > h3 { margin: 0 14px 14px; font-size: 16px; }
  .horizontal-cards { width: calc(100vw - 31px); overflow-x: hidden; }
  .compact-cards { gap: 9px; }
  .compact-cards article { flex: 0 0 181px; }
  .horizontal-cards article strong { font-size: 13px; }
  .horizontal-cards article .card-overlay { left: 10px; bottom: 9px; width: 32px; height: 32px; }
  .carousel-arrow, .carousel-arrow img { width: 42px; height: 42px; }
  .carousel-arrow { top: 31px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .more-news { margin-right: 18px; }
  .more-news .horizontal-cards { margin-left: 14px; }

  .recommended { margin-top: 68px; margin-left: 18px; margin-right: 18px; overflow: visible; }
  .recommended > h3 { margin-left: 0; }
  .recommended-carousel { overflow: hidden; }
  .recommended-carousel .carousel-arrow { top: 91px; display: grid; }
  .recommended-grid { width: auto; margin: 0; display: flex; grid-template-columns: none; gap: 12px; }
  .recommended-grid article { width: auto; flex: 0 0 100%; }
  .recommended-grid article strong { font-size: 18px; line-height: 1.35; }
  .engerio { display: none; }

  .today-news { margin: 70px 14px 0; padding: 28px 24px 31px; overflow: hidden; }
  .today-news > h3 { margin-left: 0; }
  .today-cards {
    width: 100%;
    gap: 12px;
    padding-bottom: 9px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #e30613 #ececec;
  }
  .today-cards::-webkit-scrollbar { height: 3px; }
  .today-cards::-webkit-scrollbar-track { background: #ececec; border-radius: 3px; }
  .today-cards::-webkit-scrollbar-thumb { background: #e30613; border-radius: 3px; }
  .today-cards article { flex: 0 0 120px; scroll-snap-align: start; }
  .today-cards article strong { font-size: 11px; line-height: 1.4; max-height: 47px; overflow: hidden; }

  .short-videos { margin: 17px 14px 0; }
  .short-videos > h2 { font-size: 20px; }
  .video-cards { width: calc(100vw - 28px); gap: 8px; }
  .video-cards article { flex: 0 0 178px; }
  .video-cards article strong { font-size: 12px; }
  .video-carousel .carousel-arrow { top: 129px; }
  .news-sidebar { display: none; }

  .news-footer { width: calc(100% - 20px); margin-top: 32px; padding-bottom: 55px; }
  .news-socials { height: 87px; gap: 26px; }
  .news-socials img { width: 38px; height: 38px; }
  .news-footer-links { padding: 35px 15px 13px; gap: 15px 25px; }
  .news-footer-links a { font-size: 13px; }
  .news-legal { margin-top: 28px; padding: 0 6px; font-size: 9px; line-height: 1.42; }
  .news-code { margin-top: 29px; font-size: 9px; }
  .news-media-logo { width: 105px; }
}

@media (max-width: 370px) {
  .news-topbar-inner { gap: 7px; }
  .news-tip-logo { width: 90px; object-fit: contain; }
  .news-menu { width: 31px; }
  .news-article h1 { font-size: 30px; }
  .news-lead { font-size: 18px; }
  .news-copy { margin-left: 28px; margin-right: 28px; }
  .news-cta { font-size: 15px; }
  .news-comments article { grid-template-columns: 96px 1fr; gap: 7px; }
  .news-comments article > img { width: 96px; height: 101px; }
  .news-socials { gap: 22px; }
}
