/* =========================================================
   CW News Portal v1.0.5
   Diseño editorial / magazine para WordPress
   ========================================================= */

:root {
  --cwnp-black: #111111;
  --cwnp-dark: #1d1d1d;
  --cwnp-red: #ef3434;
  --cwnp-red-dark: #c91f1f;
  --cwnp-gray: #777777;
  --cwnp-muted: #f4f4f4;
  --cwnp-border: #e8e8e8;
  --cwnp-white: #ffffff;
  --cwnp-max-width: 1180px;
  --cwnp-font-main: Arial, Helvetica, sans-serif;
  --cwnp-font-title: Georgia, 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--cwnp-black);
  font-family: var(--cwnp-font-main);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.cwnp-menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--cwnp-red);
}

p {
  margin-top: 0;
}

.cwnp-container {
  width: min(100% - 36px, var(--cwnp-max-width));
  margin-inline: auto;
}

.cwnp-skip-link,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cwnp-skip-link:focus {
  width: auto;
  height: auto;
  left: 16px;
  top: 16px;
  clip: auto;
  z-index: 10000;
  background: var(--cwnp-black);
  color: var(--cwnp-white);
  padding: 10px 14px;
}

/* Header */

.cwnp-header-wrapper {
  width: 100%;
  background: var(--cwnp-white);
  color: var(--cwnp-black);
  border-bottom: 1px solid var(--cwnp-border);
  position: relative;
  z-index: 100;
}

.cwnp-topbar {
  width: 100%;
  border-bottom: 1px solid var(--cwnp-border);
  background: #ffffff;
}

.cwnp-topbar-inner {
  max-width: var(--cwnp-max-width);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cwnp-topbar-left,
.cwnp-topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cwnp-menu-button,
.cwnp-search-trigger {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cwnp-menu-button {
  color: var(--cwnp-red);
}

.cwnp-search-trigger {
  color: var(--cwnp-black);
}

.cwnp-menu-button:hover,
.cwnp-search-trigger:hover {
  color: var(--cwnp-red-dark);
}

.cwnp-menu-icon {
  width: 17px;
  height: 11px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.cwnp-menu-icon span {
  width: 100%;
  height: 2px;
  background: currentColor;
  display: block;
}

.cwnp-account-link {
  color: var(--cwnp-black);
  font-size: 12px;
  font-weight: 700;
}

.cwnp-subscribe-btn,
.cwnp-button {
  background: var(--cwnp-red);
  color: var(--cwnp-white);
  padding: 8px 13px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid var(--cwnp-red);
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cwnp-subscribe-btn:hover,
.cwnp-button:hover {
  background: var(--cwnp-black);
  border-color: var(--cwnp-black);
  color: var(--cwnp-white);
}

.cwnp-search-panel {
  display: none;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--cwnp-border);
}

.cwnp-search-panel.cwnp-open {
  display: block;
}

.cwnp-search-inner,
.cwnp-search-form {
  max-width: var(--cwnp-max-width);
  margin: 0 auto;
  padding: 18px;
  display: flex;
  gap: 10px;
}

.cwnp-search-form {
  padding-inline: 0;
}

.cwnp-search-input,
.cwnp-search-field {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--cwnp-border);
  padding: 13px 14px;
  font-size: 15px;
  outline: none;
  background: var(--cwnp-white);
}

.cwnp-search-input:focus,
.cwnp-search-field:focus {
  border-color: var(--cwnp-red);
}

.cwnp-search-submit,
.cwnp-search-button {
  border: 0;
  background: var(--cwnp-black);
  color: var(--cwnp-white);
  padding: 0 18px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
}

.cwnp-search-button {
  padding-block: 12px;
}

.cwnp-search-submit:hover,
.cwnp-search-button:hover {
  background: var(--cwnp-red);
}

.cwnp-brand-area {
  max-width: var(--cwnp-max-width);
  margin: 0 auto;
  padding: 20px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cwnp-logo {
  text-align: center;
  color: var(--cwnp-red);
  display: inline-block;
}

.cwnp-logo-main,
.cwnp-footer-logo {
  font-family: var(--cwnp-font-title);
  font-size: clamp(42px, 7vw, 78px);
  line-height: .9;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -3px;
}

.cwnp-logo-subtitle {
  display: block;
  color: var(--cwnp-gray);
  font-family: var(--cwnp-font-main);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 800;
}

.cwnp-custom-logo img {
  max-height: 115px;
  width: auto;
}

.cwnp-category-nav {
  width: 100%;
  border-top: 1px solid var(--cwnp-border);
  border-bottom: 1px solid var(--cwnp-border);
  background: #ffffff;
}

.cwnp-category-inner {
  max-width: var(--cwnp-max-width);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cwnp-category-list,
.cwnp-footer-links,
.cwnp-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cwnp-category-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.cwnp-category-list li {
  position: relative;
  margin: 0;
}

.cwnp-category-list a {
  display: block;
  padding: 15px 13px;
  color: var(--cwnp-black);
  font-size: 12px;
  font-weight: 800;
  transition: all .25s ease;
  border-bottom: 2px solid transparent;
}

.cwnp-category-list a:hover,
.cwnp-category-list .current-menu-item > a,
.cwnp-category-list .current_page_item > a {
  color: var(--cwnp-red);
  border-bottom-color: var(--cwnp-red);
}

.cwnp-category-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--cwnp-border);
  box-shadow: 0 14px 35px rgba(0,0,0,.08);
  padding: 6px 0;
  z-index: 30;
  list-style: none;
}

.cwnp-category-list li:hover > .sub-menu {
  display: block;
}

.cwnp-category-list .sub-menu a {
  padding: 10px 14px;
  border-bottom: 0;
}

.cwnp-breaking {
  width: 100%;
  border-bottom: 1px solid var(--cwnp-border);
}

.cwnp-breaking-inner {
  max-width: var(--cwnp-max-width);
  margin: 0 auto;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.cwnp-breaking-label,
.cwnp-ribbon-title,
.cwnp-cat-badge,
.cwnp-sponsored-label {
  background: var(--cwnp-red);
  color: var(--cwnp-white);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 900;
  padding: 7px 8px;
  border-radius: 1px;
  display: inline-flex;
  width: max-content;
  letter-spacing: .2px;
}

.cwnp-sponsored-label {
  background: var(--cwnp-black);
}

.cwnp-cat-badge:visited,
.cwnp-cat-badge:hover,
.cwnp-cat-badge:focus {
  color: var(--cwnp-white);
  background: var(--cwnp-black);
  border-color: var(--cwnp-black);
}

.cwnp-breaking-track {
  overflow: hidden;
  white-space: nowrap;
}

.cwnp-breaking-list {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  animation: cwnpTicker 36s linear infinite;
}

.cwnp-breaking-list a {
  color: var(--cwnp-black);
  font-size: 13px;
  font-weight: 800;
}

.cwnp-breaking-list a:hover {
  color: var(--cwnp-red);
}

.cwnp-breaking-date {
  font-size: 12px;
  color: var(--cwnp-gray);
  font-weight: 700;
}

@keyframes cwnpTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.cwnp-ad-slot {
  display: block;
}

.cwnp-top-ad {
  max-width: var(--cwnp-max-width);
  margin: 18px auto 0;
  padding: 0 18px 18px;
}

.cwnp-home-middle-ad {
  margin-block: 34px;
}

.cwnp-ad-placeholder,
.cwnp-ad-code {
  min-height: 90px;
  border: 1px dashed #cfcfcf;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  padding: 12px;
}

.cwnp-ad-code {
  border: 0;
  padding: 0;
  background: transparent;
  min-height: auto;
  display: block;
  color: inherit;
  text-transform: none;
  letter-spacing: normal;
}

.cwnp-sidebar-ad .cwnp-ad-placeholder,
.cwnp-sidebar-ad-slot .cwnp-ad-placeholder {
  min-height: 420px;
}

.cwnp-mobile-panel {
  position: fixed;
  top: 0;
  left: -330px;
  width: 310px;
  max-width: 88vw;
  height: 100vh;
  background: #ffffff;
  box-shadow: 20px 0 40px rgba(0,0,0,.16);
  z-index: 999;
  transition: left .3s ease;
  padding: 24px;
  overflow-y: auto;
}

.cwnp-mobile-panel.cwnp-open {
  left: 0;
}

.cwnp-mobile-close {
  background: var(--cwnp-black);
  color: #ffffff;
  border: 0;
  width: 34px;
  height: 34px;
  font-size: 18px;
  cursor: pointer;
  margin-bottom: 22px;
}

.cwnp-mobile-title {
  font-family: var(--cwnp-font-title);
  color: var(--cwnp-red);
  font-size: 32px;
  font-style: italic;
  font-weight: 900;
  margin-bottom: 20px;
}

.cwnp-mobile-menu,
.cwnp-mobile-panel .cwnp-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
}

.cwnp-mobile-menu li,
.cwnp-mobile-panel .cwnp-category-list li {
  border-bottom: 1px solid var(--cwnp-border);
}

.cwnp-mobile-menu a,
.cwnp-mobile-panel .cwnp-category-list a {
  display: block;
  padding: 14px 0;
  color: var(--cwnp-black);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  border: 0;
}

.cwnp-mobile-menu .sub-menu,
.cwnp-mobile-panel .sub-menu {
  display: block;
  position: static;
  border: 0;
  box-shadow: none;
  padding: 0 0 0 12px;
  list-style: none;
}

.cwnp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
}

.cwnp-overlay.cwnp-open {
  display: block;
}

/* Cards */

.cwnp-main {
  padding-block: 34px 60px;
}

.cwnp-card {
  position: relative;
  background: #fff;
}

.cwnp-card-image {
  display: block;
  position: relative;
  overflow: hidden;
  background: #efefef;
}

.cwnp-card-image img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  transition: transform .35s ease;
}

.cwnp-card:hover .cwnp-card-image img {
  transform: scale(1.035);
}

.cwnp-card-image-empty {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eeeeee, #fafafa);
  color: #999;
  font-weight: 900;
}

.cwnp-card-content {
  padding-top: 12px;
}

.cwnp-card-labels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.cwnp-card-title {
  font-family: var(--cwnp-font-title);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.04;
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.cwnp-card-title a:hover {
  color: var(--cwnp-red);
}

.cwnp-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--cwnp-gray);
  font-size: 12px;
  font-weight: 700;
}

.cwnp-post-author {
  color: var(--cwnp-black);
}

.cwnp-card-excerpt {
  margin: 8px 0 0;
  color: #555;
  font-size: 14px;
  line-height: 1.45;
}

.cwnp-card-feature {
  min-height: 100%;
}

.cwnp-card-feature .cwnp-card-image {
  min-height: 420px;
}

.cwnp-card-feature .cwnp-card-image img {
  min-height: 420px;
}

.cwnp-card-feature .cwnp-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,0));
}

.cwnp-card-feature .cwnp-card-title {
  color: #fff;
  font-size: clamp(32px, 5vw, 48px);
  max-width: 690px;
}

.cwnp-card-feature .cwnp-post-meta,
.cwnp-card-feature .cwnp-post-author,
.cwnp-card-feature .cwnp-card-excerpt {
  color: #fff;
}

.cwnp-card-overlay {
  min-height: 270px;
  overflow: hidden;
  background: #000;
}

.cwnp-card-overlay .cwnp-card-image,
.cwnp-card-overlay .cwnp-card-image img {
  height: 270px;
}

.cwnp-card-overlay .cwnp-card-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
}

.cwnp-card-overlay .cwnp-card-title {
  color: #fff;
  font-size: 20px;
}

.cwnp-card-compact {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 12px;
}

/* Home */

.cwnp-home-hero {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 290px;
  gap: 24px;
  align-items: start;
}

.cwnp-section-title,
.cwnp-section-heading h2,
.cwnp-widget-title,
.cwnp-related-posts h2,
.cwnp-newsletter h2,
.cwnp-archive-header h1,
.cwnp-page-header h1,
.cwnp-single-header h1 {
  font-family: var(--cwnp-font-title);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.6px;
}

.cwnp-section-title-small {
  font-size: 27px;
  margin: 0 0 5px;
}

.cwnp-section-kicker {
  font-size: 11px;
  color: #444;
  line-height: 1.25;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 18px;
}

.cwnp-compact-list {
  display: grid;
  gap: 12px;
}

.cwnp-compact-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cwnp-border);
}

.cwnp-compact-item:last-child {
  border-bottom: 0;
}

.cwnp-compact-content h3 {
  font-family: var(--cwnp-font-title);
  font-size: 15px;
  line-height: 1.1;
  margin: 5px 0;
  font-weight: 900;
}

.cwnp-compact-content time {
  color: var(--cwnp-gray);
  font-size: 11px;
  font-weight: 700;
}

.cwnp-compact-thumb {
  display: block;
  overflow: hidden;
  background: #eee;
}

.cwnp-compact-thumb img {
  width: 76px;
  height: 62px;
  object-fit: cover;
}

.cwnp-social-strip {
  margin-block: 34px 26px;
  padding-block: 10px;
  border-block: 1px solid var(--cwnp-border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
}

.cwnp-social-strip strong {
  font-family: var(--cwnp-font-title);
  text-transform: none;
  font-size: 15px;
}

.cwnp-social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  color: var(--cwnp-red);
}

.cwnp-breaking-grid-section {
  position: relative;
  padding-top: 10px;
}

.cwnp-ribbon-title {
  position: relative;
  top: 13px;
  z-index: 2;
  font-size: 13px;
  font-style: italic;
  margin-left: 28px;
}

.cwnp-card-grid {
  display: grid;
  gap: 18px;
}

.cwnp-card-grid-four {
  grid-template-columns: repeat(4, 1fr);
}

.cwnp-card-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.cwnp-category-section {
  margin-top: 44px;
}

.cwnp-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid var(--cwnp-red);
  margin-bottom: 24px;
}

.cwnp-section-heading h2 {
  font-size: 28px;
  margin: 0 0 9px;
}

.cwnp-section-heading a {
  color: var(--cwnp-red);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
}

.cwnp-category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  gap: 24px;
}

.cwnp-category-layout-with-ad {
  grid-template-columns: minmax(0, 1fr) 275px 300px;
}

.cwnp-category-main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cwnp-category-list-column {
  display: grid;
  gap: 0;
  align-content: start;
}

.cwnp-mini-row {
  padding: 0 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--cwnp-border);
}

.cwnp-mini-row h3 {
  font-family: var(--cwnp-font-title);
  font-size: 16px;
  line-height: 1.12;
  margin: 0 0 5px;
}

.cwnp-mini-row time {
  color: var(--cwnp-gray);
  font-size: 11px;
  font-weight: 700;
}

.cwnp-newsletter {
  margin-top: 54px;
  background: var(--cwnp-black);
  color: #fff;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 34px;
  align-items: center;
}

.cwnp-newsletter h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.cwnp-newsletter p {
  color: rgba(255,255,255,.78);
  margin: 0;
}

.cwnp-newsletter-box {
  min-width: 0;
}

.cwnp-newsletter-form,
.cwnp-newsletter-embed form,
.cwnp-newsletter-embed .tnp-subscription form,
.cwnp-newsletter-embed .mc4wp-form-fields,
.cwnp-newsletter-embed .wpcf7-form,
.cwnp-newsletter-embed .wpforms-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 0;
}

.cwnp-newsletter-form input,
.cwnp-newsletter-embed input[type='email'],
.cwnp-newsletter-embed input[type='text'],
.cwnp-newsletter-embed input[type='tel'],
.cwnp-newsletter-embed input[type='url'],
.cwnp-newsletter-embed input[type='search'] {
  border: 0;
  padding: 14px;
  min-width: 0;
  width: 100%;
  border-radius: 0;
}

.cwnp-newsletter-form button,
.cwnp-newsletter-embed button,
.cwnp-newsletter-embed input[type='submit'],
.cwnp-newsletter-embed .wpforms-submit {
  border: 0;
  background: var(--cwnp-red);
  color: #fff;
  padding: 0 16px;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 0;
  min-height: 46px;
}

.cwnp-newsletter-form button:hover,
.cwnp-newsletter-embed button:hover,
.cwnp-newsletter-embed input[type='submit']:hover,
.cwnp-newsletter-embed .wpforms-submit:hover {
  background: #fff;
  color: var(--cwnp-black);
}

.cwnp-newsletter-form small,
.cwnp-newsletter-embed small,
.cwnp-newsletter-embed .wpcf7-not-valid-tip,
.cwnp-newsletter-embed .wpcf7-response-output,
.cwnp-newsletter-embed .mc4wp-response,
.cwnp-newsletter-embed .wpforms-confirmation-container-full {
  grid-column: 1 / -1;
  color: rgba(255,255,255,.65);
  font-size: 11px;
}

.cwnp-newsletter-embed p {
  margin: 0;
  color: rgba(255,255,255,.78);
}

.cwnp-newsletter-embed .wpcf7-spinner {
  grid-column: 1 / -1;
  margin: 0;
}

/* Content / archives */

.cwnp-content-sidebar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 36px;
  align-items: start;
}

.cwnp-archive-header {
  margin-bottom: 26px;
  border-bottom: 2px solid var(--cwnp-red);
}

.cwnp-archive-header h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin: 0 0 12px;
}

.cwnp-archive-description {
  color: #555;
  margin-bottom: 18px;
}

.cwnp-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 22px;
}

.cwnp-sidebar {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 24px;
}

.cwnp-widget {
  border-top: 3px solid var(--cwnp-black);
  padding-top: 14px;
}

.cwnp-widget-title {
  font-size: 25px;
  margin: 0 0 14px;
}

.cwnp-widget ul {
  padding-left: 18px;
  margin-top: 0;
}

.cwnp-widget li {
  margin-bottom: 8px;
}

.nav-links,
.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
}

.nav-links a,
.page-numbers {
  border: 1px solid var(--cwnp-border);
  padding: 10px 12px;
  font-weight: 800;
  font-size: 13px;
}

.page-numbers.current,
.nav-links a:hover {
  background: var(--cwnp-black);
  color: #fff;
  border-color: var(--cwnp-black);
}

/* Single / Page */

.cwnp-single-article,
.cwnp-page-article {
  max-width: 820px;
}

.cwnp-page-layout {
  max-width: 900px;
}

.cwnp-single-header h1,
.cwnp-page-header h1 {
  font-size: clamp(38px, 6vw, 68px);
  margin: 0 0 14px;
  letter-spacing: -1.5px;
}

.cwnp-single-featured-image {
  margin: 26px 0;
}

.cwnp-single-featured-image img {
  width: 100%;
  object-fit: cover;
}

.cwnp-single-featured-image figcaption {
  color: var(--cwnp-gray);
  font-size: 12px;
  margin-top: 8px;
}

.cwnp-entry-content {
  font-family: var(--cwnp-font-title);
  font-size: 20px;
  line-height: 1.75;
  color: #222;
}

.cwnp-entry-content > * {
  margin-bottom: 1.35em;
}

.cwnp-entry-content h2,
.cwnp-entry-content h3,
.cwnp-entry-content h4 {
  line-height: 1.15;
  margin-top: 1.6em;
  margin-bottom: .6em;
}

.cwnp-entry-content a {
  color: var(--cwnp-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cwnp-entry-content blockquote {
  border-left: 4px solid var(--cwnp-red);
  margin-left: 0;
  padding-left: 20px;
  font-size: 1.08em;
  font-style: italic;
}

.cwnp-entry-content img {
  height: auto;
}

.cwnp-entry-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--cwnp-border);
}

.cwnp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cwnp-tags a {
  background: var(--cwnp-muted);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.cwnp-related-posts {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 2px solid var(--cwnp-red);
}

.cwnp-related-posts h2 {
  font-size: 30px;
  margin: 0 0 20px;
}

.cwnp-single-ad-top {
  margin-block: 24px;
}

.cwnp-comments-area {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--cwnp-border);
}

.cwnp-comments-title {
  font-family: var(--cwnp-font-title);
}

.cwnp-comment-list {
  padding-left: 22px;
}

.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form input[type='url'],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--cwnp-border);
  padding: 12px;
}

.comment-form input[type='submit'] {
  border: 0;
  background: var(--cwnp-red);
  color: #fff;
  padding: 12px 16px;
  font-weight: 900;
  cursor: pointer;
}

.cwnp-empty-state {
  background: var(--cwnp-muted);
  padding: 34px;
  text-align: center;
}

.cwnp-empty-state h1,
.cwnp-empty-state h2 {
  font-family: var(--cwnp-font-title);
  margin-top: 0;
}

/* Footer */

.cwnp-footer {
  background: var(--cwnp-black);
  color: #fff;
}

.cwnp-footer-top {
  padding: 46px 0;
}

.cwnp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.cwnp-footer-logo {
  color: var(--cwnp-red);
  font-size: 42px;
}

.cwnp-footer-brand p,
.cwnp-footer a,
.cwnp-footer .cwnp-post-meta,
.cwnp-footer .cwnp-compact-content time {
  color: rgba(255,255,255,.7);
}

.cwnp-footer a {
  transition: color .2s ease, opacity .2s ease;
}

.cwnp-footer a:hover,
.cwnp-footer a:focus,
.cwnp-footer .cwnp-category-list a:hover,
.cwnp-footer .cwnp-category-list a:focus,
.cwnp-footer-links a:hover,
.cwnp-footer-links a:focus,
.cwnp-footer-menu a:hover,
.cwnp-footer-menu a:focus {
  color: var(--cwnp-red);
}

.cwnp-footer .cwnp-widget {
  border-top-color: rgba(255,255,255,.24);
}

.cwnp-footer .cwnp-widget-title {
  color: #fff;
}

.cwnp-footer .cwnp-category-list {
  display: block;
}

.cwnp-footer .cwnp-category-list a,
.cwnp-footer-links a,
.cwnp-footer-menu a {
  padding: 5px 0;
  border: 0;
  font-size: 13px;
  color: rgba(255,255,255,.72);
}

.cwnp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 0;
  font-size: 12px;
}

.cwnp-footer-bottom .cwnp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cwnp-footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.6);
}

.cwnp-footer-credit {
  display: inline-block;
  margin-left: 8px;
}

.cwnp-footer-credit a {
  color: rgba(255,255,255,.86);
  font-weight: 900;
}

.cwnp-footer-credit a:hover,
.cwnp-footer-credit a:focus {
  color: var(--cwnp-red);
}

.cwnp-footer-menu {
  display: flex;
  gap: 14px;
}

/* Responsive */

@media (max-width: 1100px) {
  .cwnp-home-hero {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .cwnp-popular-column {
    grid-column: 1 / -1;
  }

  .cwnp-popular-column .cwnp-compact-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
  }

  .cwnp-category-layout,
  .cwnp-category-layout-with-ad {
    grid-template-columns: 1fr;
  }

  .cwnp-section-sidebar-ad {
    display: none;
  }
}

@media (max-width: 900px) {
  .cwnp-topbar-inner {
    padding: 10px 15px;
  }

  .cwnp-topbar-right {
    gap: 10px;
  }

  .cwnp-account-link {
    display: none;
  }

  .cwnp-brand-area {
    padding: 17px 15px 16px;
  }

  .cwnp-logo-main {
    letter-spacing: -2px;
  }

  .cwnp-category-inner {
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .cwnp-category-inner::-webkit-scrollbar {
    display: none;
  }

  .cwnp-category-list {
    min-width: max-content;
    flex-wrap: nowrap;
  }

  .cwnp-category-list a {
    padding: 14px 11px;
    font-size: 11px;
  }

  .cwnp-breaking-inner {
    grid-template-columns: auto 1fr;
  }

  .cwnp-breaking-date {
    display: none;
  }

  .cwnp-home-hero,
  .cwnp-content-sidebar-layout,
  .cwnp-newsletter {
    grid-template-columns: 1fr;
  }

  .cwnp-fresh-column {
    order: 2;
  }

  .cwnp-featured-column {
    order: 1;
  }

  .cwnp-popular-column {
    order: 3;
  }

  .cwnp-fresh-column .cwnp-compact-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
  }

  .cwnp-card-grid-four,
  .cwnp-card-grid-three,
  .cwnp-category-main-grid,
  .cwnp-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cwnp-social-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cwnp-social-icons {
    justify-content: center;
  }

  .cwnp-sidebar {
    position: static;
  }

  .cwnp-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cwnp-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .cwnp-container {
    width: min(100% - 28px, var(--cwnp-max-width));
  }

  .cwnp-main {
    padding-top: 24px;
  }

  .cwnp-search-trigger span:not([aria-hidden='true']) {
    display: none;
  }

  .cwnp-subscribe-btn {
    padding: 8px 10px;
    font-size: 10px;
  }

  .cwnp-logo-main {
    font-size: 44px;
  }

  .cwnp-logo-subtitle {
    font-size: 9px;
    letter-spacing: 1.4px;
  }

  .cwnp-breaking-inner {
    gap: 10px;
    padding: 10px 15px;
  }

  .cwnp-breaking-label {
    font-size: 10px;
    padding: 7px 8px;
  }

  .cwnp-breaking-list a {
    font-size: 12px;
  }

  .cwnp-card-feature .cwnp-card-image,
  .cwnp-card-feature .cwnp-card-image img {
    min-height: 360px;
  }

  .cwnp-card-feature .cwnp-card-content {
    padding: 20px;
  }

  .cwnp-card-feature .cwnp-card-title {
    font-size: 31px;
  }

  .cwnp-fresh-column .cwnp-compact-list,
  .cwnp-popular-column .cwnp-compact-list,
  .cwnp-card-grid-four,
  .cwnp-card-grid-three,
  .cwnp-category-main-grid,
  .cwnp-archive-grid {
    grid-template-columns: 1fr;
  }

  .cwnp-compact-item {
    grid-template-columns: minmax(0, 1fr) 86px;
  }

  .cwnp-compact-thumb img {
    width: 86px;
    height: 66px;
  }

  .cwnp-newsletter {
    padding: 24px;
  }

  .cwnp-newsletter-form,
  .cwnp-newsletter-embed form,
  .cwnp-newsletter-embed .tnp-subscription form,
  .cwnp-newsletter-embed .mc4wp-form-fields,
  .cwnp-newsletter-embed .wpcf7-form,
  .cwnp-newsletter-embed .wpforms-form {
    grid-template-columns: 1fr;
  }

  .cwnp-newsletter-form button,
  .cwnp-newsletter-embed button,
  .cwnp-newsletter-embed input[type='submit'],
  .cwnp-newsletter-embed .wpforms-submit {
    min-height: 44px;
  }

  .cwnp-entry-content {
    font-size: 18px;
  }

  .cwnp-single-header h1,
  .cwnp-page-header h1 {
    font-size: 38px;
  }

  .cwnp-footer-grid {
    grid-template-columns: 1fr;
  }

  .cwnp-footer-bottom .cwnp-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cwnp-search-inner,
  .cwnp-search-form {
    flex-direction: column;
  }

  .cwnp-search-submit,
  .cwnp-search-button {
    padding: 13px 18px;
  }
}
