/**
 * Cable-news inspired presentation (CNN-style).
 * Third-party layout only — not affiliated with CNN.
 */
body.cnn {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #262626;
}

body.cnn .h1, body.cnn .h2, body.cnn .h3, body.cnn .h4, body.cnn h1, body.cnn h2, body.cnn h3, body.cnn h4,
body.cnn .post-content .title, body.cnn .section .title, body.cnn .item .caption .title {
  font-family: Georgia, "Times New Roman", Times, serif;
  letter-spacing: -0.02em;
}

/* Utility strip (top links) — dark bar */
body.cnn #nav-top.cnn-nav-utility {
  background-color: #0a0a0a !important;
  border-bottom: 1px solid #1f1f1f;
  min-height: 38px;
}

body.cnn #nav-top.cnn-nav-utility .navbar-nav .nav-item .nav-link {
  color: #e8e8e8 !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  padding: 8px 10px !important;
}

body.cnn #nav-top.cnn-nav-utility .navbar-nav .nav-item .nav-link:hover,
body.cnn #nav-top.cnn-nav-utility .navbar-nav .nav-item .nav-link:focus {
  color: #fff !important;
}

body.cnn #nav-top.cnn-nav-utility .navbar-nav .nav-item svg {
  color: #e8e8e8 !important;
}

body.cnn #nav-top.cnn-nav-utility .btn-switch-mode {
  color: #e8e8e8 !important;
}

/* Header stack: logo on white, menu on red */
body.cnn #header {
  background-color: #fff !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

body.cnn .cnn-nav-main {
  background: #fff !important;
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 0 !important;
}

body.cnn .cnn-brand-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 12px 10px;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}

body.cnn .cnn-brand-bar .cnn-brand {
  margin: 0 auto;
}

body.cnn .cnn-brand-bar .logo {
  max-height: 52px;
  width: auto;
}

body.cnn .cnn-red-menu {
  background: #cc0000 !important;
  width: 100%;
}

body.cnn .cnn-red-menu .container-xl {
  padding-top: 0;
  padding-bottom: 0;
}

body.cnn .cnn-red-menu .navbar-collapse {
  justify-content: space-between;
}

body.cnn .cnn-red-menu .nav-main .navbar-nav .nav-link,
body.cnn .cnn-red-menu .navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 12px 14px !important;
  text-transform: none;
}

body.cnn .cnn-red-menu .navbar-nav .nav-link:hover,
body.cnn .cnn-red-menu .navbar-nav .nav-link:focus {
  color: #fff !important;
  background: rgba(0, 0, 0, 0.12);
}

body.cnn .cnn-red-menu .search-icon {
  color: #fff !important;
}

body.cnn .cnn-red-menu .search-form .form-input {
  border-radius: 2px;
}

body.cnn .cnn-red-menu .search-form .btn-custom {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

body.cnn .nav-main {
  border-bottom: none !important;
}

/* Breaking / ticker */
body.cnn .section-newsticker .newsticker-title {
  background: #cc0000 !important;
  color: #fff !important;
}

/* Category labels */
body.cnn .badge-category {
  color: #cc0000 !important;
}

/* Mobile header */
body.cnn .header-mobile,
body.cnn .mobile-search-form {
  background-color: #cc0000 !important;
}

body.cnn .header-mobile svg {
  stroke: #fff !important;
}

body.cnn.dark-mode #header,
body.cnn.dark-mode .cnn-brand-bar {
  background: #111 !important;
  border-color: #2a2a2a;
}

body.cnn.dark-mode .cnn-red-menu {
  background: #8f0000 !important;
}

body.cnn.dark-mode #nav-top.cnn-nav-utility {
  background: #050505 !important;
}

@media (max-width: 991.98px) {
  body.cnn .cnn-brand-bar {
    display: none;
  }

  body.cnn .cnn-red-menu .navbar-collapse {
    background: #b00000;
  }
}
