/* @font-face {
  font-family: 'FontTwo';
  src: url('../fonts/KFO7CnqEu92Fr1ME7kSn66aGLdTyUAMa3yUBHMdazQ.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
} */

/* @font-face {
  font-family: 'FontThree';
  src: url('../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-mu0SC55l.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
} */

body {
  font-family:
    "CNNSansDisplay", "FontTwo", "FontOne", "FontThree", "Helvetica Neue",
    Helvetica, Utkal, sans-serif;
  color: #262626;
}

header {
  font-family: "FontOne", sans-serif;
  color: black;
}

a {
  text-decoration: none;
  color: inherit;
  font-size: 15px;
}

/* ===== Серый бар ===== */
.top-gray-bar {
  background: #252525;
  color: #ccc;
  font-family: acumin-pro-condensed, Rubik, Arial, Helvetica, serif;
  font-weight: 100;
  font-size: 14px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  border-bottom: solid 1px #414141;
}

.top-left {
  display: none;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.top-links a {
  font-size: 16px;
}

.top-links a:hover {
  text-decoration: underline;
}

.top-right {
  margin-left: 50px;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.login-icon {
  font-size: 18px;
  margin-right: 4px;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
}

/* ===== Чёрный хедер ===== */

.main-black-bar {
  background: black;
  padding: 0 16px 0px 10px;
  color: white;
  height: 71px;
}

.main-black-bar.sticky {
  height: 40px;

  position: fixed;
  z-index: 999999999;
  top: 0;
  left: 0;
  right: 0px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.main-black-bar.sticky .main-logo {
  width: 40px;
}

.menu-icon {
  display: none;
}

.menu-icon.desctop {
  display: block;
  margin-top: -6px;
}

.icon-serch {
  margin-top: -2px;
}

.icon-search:before {
  content: "\e901";
}

.icon-serch {
  font-family: "cnn-icons" !important;

  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

.category-title {
  display: none;
}

.container-black {
  max-width: 1254px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* .main-logo{
  position: relative;
  top:10px;
} */
.left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.left.sticky {
  top: 0;
}

.live-label.sticky {
  margin-top: -10px;
}

.menu-icon {
  font-size: 22px;
  cursor: pointer;
}

.category-title {
  font-size: 16px;
  font-weight: bold;
}

.nav-categories {
  display: flex;
  gap: 15px;
  margin-left: 20px;
  font-weight: 300;
}

.nav-categories a {
  color: white;
}

.nav-categories a.active {
  font-weight: 900;
}

.right.live-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.live-label {
  background: #cc0000;
  color: white;
  font-weight: bold;
  font-size: 12px;

  padding: 2px 6px;
  margin-top: 10px;
  animation: pulseBrightness 1.5s infinite ease-in-out;
}

@keyframes pulseBrightness {
  0% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(0.6);
  }
  100% {
    filter: brightness(1);
  }
}

.live-video {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.live-video img {
  width: 80px;
  height: auto;
  display: block;
}

.live-title {
  font-size: 12px;
  color: white;
  margin-top: 2px;
}

/* ===== Белый бар ===== */
.sub-white-bar {
  background: white;
  border-top: 1px solid #e0e0e0;
  padding: 20px 16px 15px 10px;
  max-width: 1254px;
  margin: 0 auto;
  font-size: 22px;
  font-weight: 100;
  overflow-x: auto;
  border-bottom: 1px solid #ccc;
}

.topics-bar a {
  font-size: 13px;
}
.topics-bar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 15px;
  white-space: nowrap;
}

.topics-bar a.red {
  color: #c00;
  font-weight: 200;
}

.divider {
  color: #bbb;
}

/* main part */

.article-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  padding: 20px;
  font-family: "CNNSansDisplay" sans-serif;
}

.article-content {
  flex: 3;
}

h1 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 10px;
}

.author a {
  color: #c00;
  text-decoration: none;
  font-weight: 500;
}

.timestamp {
  font-size: 14px !important;
  color: #666;
  margin-bottom: 10px !important;
}

article img,
article video {
  width: 100%;
  margin-bottom: 10px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px 20px;
  cursor: pointer;
}

/* Сайдбар */
.sidebar {
  flex: 1;
  background: #fefefe;
  padding: 10px;
}

.ad-placeholder {
  padding: 15px;
  text-align: center;
}

.ad-placeholder p {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.ad-placeholder button {
  display: block;
  width: 100%;
  margin: 5px 0;
  padding: 6px;
  font-size: 14px;
  background: #e9e9e9;
  border: none;
  cursor: pointer;
}

article h1 {
  margin-bottom: 10px;
}
article h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

article p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 15px;
  font-weight: 300;
}

article a {
  font-size: inherit;
  color: #c00;
  text-decoration: underline;
}

.article-image {
  margin: 30px 0;
}

.article-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.article-image figcaption {
  font-size: 12px;
  color: #6a6a6a;
  margin-top: 8px;
  line-height: 1.4;
}

/* footer */

.cnn-footer {
  background: #000;
  color: #fff;
  padding: 40px 20px;
}

.footer-search {
  max-width: 1250px;
  margin: 0 auto 30px auto;
  display: flex;
  gap: 0px;
}

.footer-search input {
  flex: 1;
  padding: 10px;
  border: none;

  font-size: 16px;
}

.mobile {
  display: none;
}

.desctop {
  display: inline-block;
}

.footer-search button {
  background: white;
  color: black;
  border: none;
  padding: 10px 15px;

  font-weight: bold;
  cursor: pointer;
}

.footer-columns {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  justify-content: start;
  gap: 5px;
  margin-bottom: 30px;
}

.footer-column > h4:hover {
  text-decoration: underline;
  text-decoration-color: red;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-column {
  flex-basis: 150px;
}

.footer-column h4 {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  font-size: 13px;
  margin-bottom: 6px;
  color: #b6b6b6;
  font-weight: 100;
}

.footer-social {
  border-top: 1px solid #444;
  color: rgb(153, 153, 153);
  padding-top: 40px;
  padding-bottom: 70px;
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  font-size: 16px;
}

/* second gray footer */

.footer-legal {
  background: #3a3a3a;
  padding: 10px 20px;
  font-size: 11px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.footer-legal a {
  color: rgb(191, 191, 191);
  font-size: 11px;
  text-decoration: none;
  border-right: 1px solid #666;
  padding-right: 10px;
}

.footer-legal a:last-child {
  border: none;
}

.publicidade-btn {
  background-color: #0066cc;
  color: white !important;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 400;
}

/* ===== Нижний футер ===== */
.footer-bottom {
  background: #1d1d1d;
  color: rgb(222, 222, 222);
  text-align: center;
  padding: 30px 20px;
}

.footer-bottom-links {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 15px;
  margin-bottom: 20px;
}

.footer-bottom-links a {
  border-right: 1px solid rgb(222, 222, 222);
  font-weight: 400;
  padding-right: 10px;
}

.footer-logos {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-logos img {
  height: auto;
  max-height: 40px;
}

.footer-copy {
  font-size: 14px;
  color: #ccc;
  padding-bottom: 20px;
}

@media (max-width: 1000px) {
  .sidebar {
    display: none;
  }
  .article-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }
  .text-container {
    max-width: 780px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .nav-categories {
    display: none;
  }

  /* ===== Серый бар ===== */
  .top-links {
    display: none;
  }

  .top-gray-bar {
    background: #2e2e2e;
    color: #ccc;
    font-weight: 100;
    font-family: "FontOne" sans-serif;

    font-size: 14px;
    padding: 5px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .top-left {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 100;
  }

  .nav-categories {
    display: none;
  }

  .top-right {
    display: flex;
    align-items: center;
    font-weight: bold;
  }

  .top-right .login-icon {
    font-size: 18px;
    margin-right: 4px;
  }

  /* ===== Чёрный блок ===== */
  .menu-icon {
    display: block;
  }

  .category-title {
    display: block;
  }

  .main-black-bar {
    background: black;
    padding: 10px 16px 0px 10px;
    color: white;
    width: full;
  }

  .main-black-bar.sticky {
    position: fixed;
    z-index: 999999999;
    padding: 0 10px;
    top: 0;
    left: 0;
    right: 0px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }

  .main-black-bar.sticky .main-logo {
    width: 40px;
  }

  .container-black {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .left {
    position: relative;
    top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .left.sticky {
    top: 0;
  }

  .live-label.sticky {
    margin-top: -10px;
  }

  .main-logo {
    width: 66px;
  }

  .menu-icon {
    font-size: 22px;
    cursor: pointer;
  }

  .category-title {
    font-size: 16px;
    font-weight: bold;
  }

  .right.live-block {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .live-label {
    background: #cc0000;
    color: white;
    font-weight: bold;
    font-size: 12px;
    padding: 2px 6px;
    margin-bottom: 4px;
  }

  .live-video {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .live-video img {
    width: 80px;
    height: auto;
    display: block;
  }

  .live-title {
    font-size: 12px;
    color: white;
    margin-top: 2px;
  }

  .nav-categories {
    display: none;
  }

  /* белая часть хедера */
  .topics-bar {
    overflow-x: scroll;
  }

  .live-block {
    display: none;
  }

  .sub-white-bar {
    font-size: 22px;
    font-weight: 100;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 30px 0 15px 0;
    border-bottom: 1px solid #e0e0e0;
  }

  .topics-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .topics-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }

  .topics-bar {
    display: inline-flex;
    gap: 10px;
    padding: 0 20px;
    white-space: nowrap;
    width: max-content;
  }

  .topics-bar a {
    font-size: 15px;
    color: black;
    font-weight: normal;
  }

  .topics-bar a.red {
    color: #c00;
    font-size: 12px;
    font-weight: 200;
  }

  .divider {
    color: #ccc;
  }

  /* main */
  .article-wrapper {
    flex-direction: column;
    padding: 15px;
  }

  h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  .text-container {
    padding-left: 0;
  }

  .sidebar {
    display: none;
  }

  .play-button {
    font-size: 32px;
  }

  article h2 {
    font-size: 18px;
  }

  article p {
    font-size: 18px;
  }

  .article-image figcaption {
    font-size: 12px;
  }

  .sidebar {
    display: none;
  }

  /* footer */
  .footer-search input {
    padding-left: 1px;
    padding-right: 1px;
  }

  .mobile {
    display: inline-block;
  }

  .mobile svg {
    margin-right: -15px;
  }

  .desctop {
    display: none;
  }

  .footer-columns {
    flex-direction: column;
  }

  .first-mobile-colubk {
    padding-bottom: 10px !important;
  }

  .footer-column {
    margin-top: -10px;
    margin-bottom: 0px;
    flex-basis: 10px;
  }

  .line {
    border-top: 1px solid #3c3c3c;
  }

  .listnone {
    display: none;
  }

  .last-footer-list {
    padding-top: 20px !important;
    border-top: 1px solid #3c3c3c;
  }

  .footer-column a:hover {
    text-decoration: underline;
  }

  .footer-column h4 {
    font-size: 18px;
    text-align: center;
  }

  .footer-column h4:hover {
    text-decoration: red;
  }

  .footer-column ul li {
    font-size: 16px;
    text-align: center;
  }

  .footer-search {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .footer-social {
    font-size: 16px;
    gap: 10px;
  }

  /* second footer gray */
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    font-size: 12px;
  }

  .footer-legal a {
    border: none;
    padding: 0;
  }

  .publicidade-btn {
    padding: 2px 8px !important;
  }

  .footer-bottom-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-bottom-links a {
    border-right: none;
  }

  .footer-logos {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .footer-copy {
    text-align: left;
  }

  .footer-columns.second {
    margin-top: -15px;
  }

  h4 {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
  }
}

.customJS-styles__activation-message {
  color: white;
  font-weight: 700;
  font-size: 16px;
  background: #073e86c2;
  padding: 10px;
  border-radius: 15px;
  display: flex;
  margin-bottom: 0px !important;
  margin-top: 0 !important;
}

.customJS-styles__icon {
  color: red;
  font-size: 35px;
  text-align: center;
  margin-right: 7px;
}

/* block with blue brackets before form  */

.reg {
  font-size: 1.2rem;
}

.reg__list {
  max-width: 100%;
  margin: 0 auto;
  list-style-type: none;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 95% !important;
  margin-bottom: 30px !important;
}

.reg__title {
  max-width: 100%;
  margin: 1rem auto;
  text-transform: uppercase;
  font-weight: 700;
  width: 95%;
}

.reg__item {
  line-height: 30px;
  font-weight: normal;
  background-color: #f2f7ff;
  padding: 8px 12px;
  border-left: 2px solid #005fff;
  border-right: 2px solid #005fff;
  border-radius: 6px;
  margin-bottom: 10px !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
}

/* orange button after comments */

.button-link {
  background-color: #f56b0d;
  /* color: white !important; */
  color: black !important;
  display: block;
  max-width: 100%;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  margin: 0 auto;
  margin-bottom: 1rem;
  margin-top: 1rem;
  border-radius: 5px;
  box-shadow: 1px 3px 1px 1px rgba(0, 0, 0, 0.25);
  box-shadow: 1px 4px 1px 1px rgba(0, 0, 0, 0.15);
  animation: heartbeat 3s ease-in-out 2s infinite both;
}
@keyframes heartbeat {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}
.button-link:hover {
  color: #fff;
  background-color: #444;
}
