/*
Theme Name:     Barta Child Theme
Theme URI:      https://cncfootballnews.com/
Author:         CNC Football News
Description:    CNC Football News — sports hub skin
Template:       barta
Version:        1.4.6
Text Domain:    barta
*/

:root {
  --cnc-bg: #f4f5f7;
  --cnc-ink: #0a0a0a;
  --cnc-muted: #6b6b6b;
  --cnc-accent: #ffc000;
  --cnc-accent-2: #0088cb;
  --cnc-surface: #ffffff;
  --cnc-line: #e6e8ec;
  --cnc-header: #0a0a0a;
  --cnc-font: "League Spartan", system-ui, -apple-system, Segoe UI, sans-serif;
  --cnc-gutter: 16px;
}

body {
  font-family: var(--cnc-font) !important;
  background: var(--cnc-bg) !important;
  color: var(--cnc-ink) !important;
}

/* Titles ALWAYS dark — never primary yellow */
h1, h2, h3, h4, h5, h6,
.entry-title, .entry-title a,
.widget-title, .site-title,
.single .entry-title, .single .entry-header h1,
.page .entry-title,
.cnc-card__title, .cnc-card__title a,
.cnc-stack-item__title, .cnc-stack-item__title a,
.cnc-section-title, .cnc-section-title a,
.rt-news-box .entry-title, .rt-news-box .entry-title a,
.rt-news-grid .entry-title, .rt-news-grid .entry-title a,
.barta-primary-color.entry-title,
.content-area a.barta-primary-color {
  font-family: var(--cnc-font) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--cnc-ink) !important;
}

.entry-title a:hover,
.cnc-card__title a:hover,
.cnc-stack-item__title a:hover,
.cnc-section-title a:hover {
  color: var(--cnc-accent-2) !important;
}

a { color: var(--cnc-ink); }
a:hover { color: var(--cnc-accent-2); }

/* Header */
.site-header,
.site-header .header-area,
#header-area, .header-area, .rt-header,
#header-1, #header-2, #header-3, #header-4, #header-5, #header-6,
.menu-area, .mean-container .mean-bar {
  background: var(--cnc-header) !important;
  border: 0 !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.site-header .main-navigation nav ul li a,
.site-header .main-navigation ul.menu > li > a,
.site-header .main-navigation ul li a,
.mean-container .mean-nav ul li a,
.mean-container a.meanmenu-reveal {
  color: #fff !important;
  font-family: var(--cnc-font) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .05em;
}

.site-header .main-navigation ul.menu > li > a:hover,
.site-header .main-navigation ul.menu > li.current-menu-item > a,
.site-header .main-navigation ul.menu > li.current_page_item > a {
  color: var(--cnc-accent) !important;
}

#tophead { background: #000 !important; }
#tophead, #tophead a { color: #aaa !important; }

.dark-logo img, .light-logo img, .footer-logo img, .logo-small {
  display: none !important;
}
/* One text wordmark only — hide theme logos, show injected .cnc-wordmark */
.site-header .site-branding {
  display: flex !important;
  align-items: center !important;
  visibility: visible !important;
}
.site-header a.dark-logo,
.site-header a.light-logo {
  display: none !important;
}
.site-header a.dark-logo::after,
.site-header a.light-logo::after {
  content: none !important;
  display: none !important;
}
.site-header a.cnc-wordmark {
  display: inline-flex !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  text-decoration: none !important;
  color: #fff !important;
  font-family: var(--cnc-font) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  letter-spacing: -.03em;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
}
a.dark-logo, a.light-logo { text-decoration: none !important; }

/* Accent utilities — NOT for body titles */
.barta-primary-bgcolor,
button[type="submit"], .wp-block-button__link, #scrollUp {
  background-color: var(--cnc-accent) !important;
  border-color: var(--cnc-accent) !important;
  color: #0a0a0a !important;
}
.barta-primary-color { color: var(--cnc-accent) !important; }

/* Kill banner on home */
body.home .entry-banner,
body.blog .entry-banner { display: none !important; }

/* Archive / category / search banners: readable light strip (no dark photo + black text) */
body.archive .entry-banner,
body.category .entry-banner,
body.tax-category .entry-banner,
body.search .entry-banner,
body.page .entry-banner,
body.author .entry-banner,
body.tag .entry-banner,
body.date .entry-banner {
  background: #f4f5f7 !important;
  background-image: none !important;
  min-height: 0 !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
body.archive .entry-banner .container,
body.category .entry-banner .container,
body.search .entry-banner .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.archive .entry-banner .entry-banner-content,
body.category .entry-banner .entry-banner-content,
body.search .entry-banner .entry-banner-content {
  padding: 0 !important;
  margin: 0 !important;
}
body.archive .entry-banner .entry-title,
body.category .entry-banner .entry-title,
body.search .entry-banner .entry-title,
body.archive .entry-banner h1,
body.category .entry-banner h1 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
}
body.archive .entry-banner .breadcrumb-area,
body.category .entry-banner .breadcrumb-area,
body.search .entry-banner .breadcrumb-area {
  display: none !important;
}
/* Kill huge gap under category H1 before first post/photo */
body.archive .entry-banner,
body.category .entry-banner,
body.search .entry-banner {
  min-height: 0 !important;
  height: auto !important;
  line-height: 1.2 !important;
}
body.archive #content,
body.category #content,
body.search #content,
body.archive #primary,
body.category #primary,
body.search #primary {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.archive .content-area,
body.category .content-area,
body.search .content-area,
body.archive .site-main,
body.category .site-main,
body.search .site-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.archive .blog-layouts,
body.category .blog-layouts,
body.archive .blog-layout-5,
body.category .blog-layout-5,
body.archive .rt-masonry-grid,
body.category .rt-masonry-grid {
  margin-top: 0 !important;
  padding-top: 8px !important;
}
body.archive .blog-box,
body.category .blog-box,
body.archive .blog-img-holder,
body.category .blog-img-holder {
  margin-top: 0 !important;
}
body.archive .entry-banner .breadcrumb-area,
body.category .entry-banner .breadcrumb-area {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
body.archive .entry-banner::before,
body.archive .entry-banner::after,
body.category .entry-banner::before,
body.category .entry-banner::after,
body.search .entry-banner::before,
body.search .entry-banner::after,
body.page .entry-banner::before,
body.page .entry-banner::after,
body.author .entry-banner::before,
body.author .entry-banner::after,
body.tag .entry-banner::before,
body.tag .entry-banner::after,
body.date .entry-banner::before,
body.date .entry-banner::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  background: none !important;
}
body.archive .entry-banner .entry-title,
body.archive .entry-banner h1,
body.category .entry-banner .entry-title,
body.category .entry-banner h1,
body.search .entry-banner .entry-title,
body.search .entry-banner h1,
body.page .entry-banner .entry-title,
body.page .entry-banner h1,
body.author .entry-banner .entry-title,
body.author .entry-banner h1,
body.tag .entry-banner .entry-title,
body.tag .entry-banner h1,
body.date .entry-banner .entry-title,
body.date .entry-banner h1 {
  color: #0a0a0a !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
body.archive .entry-banner .breadcrumb-area,
body.archive .entry-banner .breadcrumb-area a,
body.archive .entry-banner .breadcrumb-area span,
body.category .entry-banner .breadcrumb-area,
body.category .entry-banner .breadcrumb-area a,
body.category .entry-banner .breadcrumb-area span,
body.search .entry-banner .breadcrumb-area a,
body.page .entry-banner .breadcrumb-area a,
body.author .entry-banner .breadcrumb-area a,
body.tag .entry-banner .breadcrumb-area a,
body.date .entry-banner .breadcrumb-area a {
  color: #333 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

/* ===== Hub ===== */
.cnc-hub {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px var(--cnc-gutter) 56px;
}

.cnc-hub__hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
  align-items: start; /* don't stretch featured into a tower */
}
@media (max-width: 900px) {
  .cnc-hub__hero { grid-template-columns: 1fr; }
}

.cnc-card {
  background: var(--cnc-surface);
  border: 1px solid var(--cnc-line);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.cnc-card:hover {
  box-shadow: 0 8px 24px rgba(10,10,10,.08);
  transform: translateY(-1px);
}
.cnc-card a { text-decoration: none !important; }

/* Landscape thumbs — prefer top/center so faces & badges aren't sliced off */
.cnc-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #e8e8e8;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

.cnc-card--hero {
  position: relative;
  min-height: 0;
}
.cnc-card--hero .cnc-card__media {
  position: relative;
  inset: auto;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: none;
}
.cnc-card--hero .cnc-card__media::after { display: none; }
.cnc-card--hero .cnc-card__body {
  position: relative;
  left: auto; right: auto; bottom: auto;
  padding: 16px 18px 18px;
  z-index: 1;
  background: var(--cnc-surface);
}
.cnc-card--hero .cnc-card__title,
.cnc-card--hero .cnc-card__title a {
  color: var(--cnc-ink) !important;
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 8px;
  text-shadow: none;
}
.cnc-card--hero .cnc-card__meta { color: var(--cnc-muted); }
.cnc-card--hero .cnc-card__cat {
  background: var(--cnc-accent);
  color: #0a0a0a;
}

/* Side column = compact list, not stacked tall cards */
.cnc-hub__side {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--cnc-surface);
  border: 1px solid var(--cnc-line);
  overflow: hidden;
}
.cnc-hub__side .cnc-stack-item {
  border-top: 1px solid var(--cnc-line);
  padding: 8px 10px;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  align-items: center;
}
.cnc-hub__side .cnc-stack-item:first-child { border-top: 0; }
.cnc-hub__side .cnc-stack-item__media {
  aspect-ratio: 16 / 10;
  width: 100%;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #e8e8e8;
  display: block;
}
.cnc-hub__side .cnc-stack-item__title {
  font-size: 14px;
  line-height: 1.25;
  margin: 0 0 2px;
}
.cnc-hub__side .cnc-card__meta {
  font-size: 11px;
}

.cnc-card__body { padding: 14px 16px 16px; }
.cnc-card__cat,
a.cnc-card__cat,
a.cnc-card__cat:link,
a.cnc-card__cat:visited,
a.cnc-card__cat:hover,
a.cnc-card__cat:focus,
.cnc-card--hero .cnc-card__cat {
  display: inline-block !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .07em;
  background: #ffc000 !important;
  color: #0a0a0a !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding: 3px 8px !important;
  margin-bottom: 8px;
  text-decoration: none !important;
}
/* Theme category chips (archives / singles) — same readable contrast */
.el-rt-cat,
a .el-rt-cat,
span.el-rt-cat,
.el-rt-cat.style_2 {
  background: #ffc000 !important;
  color: #0a0a0a !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.el-rt-cat .titleinner {
  border-top-color: #ffc000 !important;
}
.cnc-card__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}
.cnc-card__meta {
  font-size: 12px;
  color: var(--cnc-muted);
  font-weight: 500;
}

.cnc-hub__mid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}
@media (max-width: 960px) {
  .cnc-hub__mid { grid-template-columns: 1fr; }
}

.cnc-section-title {
  margin: 0 0 14px;
  font-size: 20px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cnc-section-title::before {
  content: "";
  width: 5px;
  height: 1.05em;
  background: var(--cnc-accent);
  flex: 0 0 auto;
}

.cnc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 640px) {
  .cnc-grid { grid-template-columns: 1fr; }
}

.cnc-cat-block { margin-bottom: 32px; }

/* Sidebar — clean news list */
.cnc-sidebar-box {
  background: var(--cnc-surface);
  border: 1px solid var(--cnc-line);
  margin-bottom: 14px;
  overflow: hidden;
}
.cnc-sidebar-box > h3 {
  margin: 0;
  padding: 12px 14px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--cnc-ink);
  color: #fff !important;
  border-left: 4px solid var(--cnc-accent);
}
.cnc-stack { display: flex; flex-direction: column; }
.cnc-stack-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid var(--cnc-line);
  background: #fff;
}
.cnc-stack-item:first-child { border-top: 0; }
.cnc-stack-item__media {
  aspect-ratio: 1;
  background: #ddd center/cover no-repeat;
  border-radius: 2px;
}
.cnc-stack-item__body { padding: 0; }
.cnc-stack-item__title {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.3;
}

.cnc-promo {
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #eee;
  padding: 18px 16px;
  border: 0;
}
.cnc-promo h3 {
  color: #fff !important;
  margin: 0 0 8px;
  font-size: 15px;
  text-transform: uppercase;
  border: 0;
  padding: 0;
  background: transparent;
}
.cnc-promo p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #bdbdbd;
}
.cnc-promo a {
  display: inline-block;
  margin-top: 12px;
  background: var(--cnc-accent);
  color: #0a0a0a !important;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  padding: 8px 12px;
  text-decoration: none !important;
}

.cnc-empty {
  padding: 24px;
  border: 1px dashed var(--cnc-line);
  color: var(--cnc-muted);
  background: #fff;
}

/* ===== Clean mobile header: logo + burger ===== */
@media (max-width: 991px) {
  .site-header,
  .site-header .header-area,
  .site-header #header-1,
  .header-area.header-fixed {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #0a0a0a !important;
    min-height: 56px !important;
    height: 56px !important;
    overflow: visible !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10050 !important;
    transform: none !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  #header-area-space {
    display: none !important;
    height: 0 !important;
  }
  .site-header .masthead-container,
  .site-header .container#sticker,
  .site-header .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 var(--cnc-gutter) !important;
    margin: 0 auto !important;
    background: #0a0a0a !important;
    position: relative !important;
  }
  .site-header .row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    height: 56px !important;
  }
  .site-header .col-sm-2,
  .site-header .site-branding {
    float: none !important;
    width: auto !important;
    max-width: calc(100% - 56px) !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 1 1 auto;
  }
  .site-header a.dark-logo,
  .site-header a.light-logo {
    display: none !important;
  }
  .site-header a.cnc-wordmark {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #fff !important;
    font-size: 15px !important;
  }
  /* Hide desktop menu row + broken theme meanmenu chrome */
  .site-header .col-sm-9,
  .site-header .col-sm-1,
  .site-header .main-navigation,
  .site-header .header-icon-area,
  .mean-container .mean-bar,
  .mean-container a.meanmenu-reveal,
  .mean-container .mean-nav {
    display: none !important;
  }

  /* Our burger */
  .cnc-burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex: 0 0 44px;
    z-index: 10060;
  }
  .cnc-burger__lines {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: background .2s ease;
  }
  .cnc-burger__lines::before,
  .cnc-burger__lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: transform .2s ease, top .2s ease;
  }
  .cnc-burger__lines::before { top: -7px; }
  .cnc-burger__lines::after { top: 7px; }
  body.cnc-nav-open .cnc-burger__lines {
    background: transparent;
  }
  body.cnc-nav-open .cnc-burger__lines::before {
    top: 0;
    transform: rotate(45deg);
  }
  body.cnc-nav-open .cnc-burger__lines::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .cnc-mnav {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, .97);
    z-index: 10055;
    padding: 12px 0 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.cnc-nav-open .cnc-mnav {
    display: block;
  }
  .cnc-mnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .cnc-mnav a {
    display: block;
    padding: 16px 20px;
    color: #fff !important;
    font-family: var(--cnc-font);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-bottom: 1px solid #222;
  }
  .cnc-mnav a:hover,
  .cnc-mnav .current-menu-item > a,
  .cnc-mnav .current-menu-parent > a {
    color: var(--cnc-accent) !important;
  }
  body.cnc-nav-open {
    overflow: hidden;
  }
}
@media (min-width: 992px) {
  .cnc-burger,
  .cnc-mnav {
    display: none !important;
  }
}

/* ===== Unified left/right page gutter (mobile) ===== */
@media (max-width: 991px) {
  :root { --cnc-gutter: 16px; }

  .site-header .masthead-container,
  .site-header .container#sticker,
  .site-header .container,
  body .container,
  body .container-fluid {
    padding-left: var(--cnc-gutter) !important;
    padding-right: var(--cnc-gutter) !important;
  }

  /* Kill bootstrap column offsets that stair-step the left edge */
  body .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Single post: one left edge for image, meta, title, shares, text */
  .single .news-details-layout2,
  .single .news-details-layout2.container {
    padding-left: var(--cnc-gutter) !important;
    padding-right: var(--cnc-gutter) !important;
  }
  .single .post-info-below,
  .single #contentHolder,
  .single .post-detail-holder,
  .single .entry-content,
  .single h1.entry-title,
  .single .share-links,
  .single .post-share-area,
  .single .entry-footer,
  .single .related-post,
  .single .about-author {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .single h1.entry-title {
    margin-top: 8px !important;
    margin-bottom: 12px !important;
  }
  .single .share-links {
    margin-bottom: 12px !important;
  }
  .single .entry-content p:first-child {
    margin-top: 0 !important;
  }

  /* Category / archive banners & lists */
  body.archive .entry-banner .container,
  body.category .entry-banner .container,
  body.search .entry-banner .container {
    padding-left: var(--cnc-gutter) !important;
    padding-right: var(--cnc-gutter) !important;
  }

  .cnc-hub {
    padding-left: var(--cnc-gutter) !important;
    padding-right: var(--cnc-gutter) !important;
  }

  /* Small gap between stacked cards when cols lose padding */
  body.category .blog-layouts .rt-grid-item,
  body.archive .blog-layouts .rt-grid-item {
    margin-bottom: 16px !important;
  }
}

/* Hide removed share networks (backup if options lag) */
.share-links .pinterest-share-button,
.share-links .stumbleupon-share-button,
.share-links .email-share-button,
.share-links a[href*="pinterest.com"],
.share-links a[href*="stumbleupon.com"],
.share-links a[href^="mailto:"],
.share-links a[onclick*="print"],
.share-links .print-share-button {
  display: none !important;
}

/* Single: meta under featured image, not overlaid */
.single .news-details-layout2 .entry-thumbnail-area + .single-2-cats {
  /* category badge can stay on image */
}
.single .post-info-below {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  margin: 8px 0 4px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #333 !important;
  text-shadow: none !important;
}
.single .post-info-below .entry-meta,
.single .post-info-below .entry-meta li,
.single .post-info-below .entry-meta a,
.single .post-info-below .entry-meta span,
.single .post-info-below .entry-meta i {
  color: #444 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
.single .post-info-below .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.4;
}
.single .news-details-layout2 .position-relative > .post-info:not(.post-info-below) {
  display: none !important;
}

/* Single post: no dark banner bar; title as normal H1 */
.single .entry-banner {
  display: none !important;
}
.single h1.entry-title {
  color: #0a0a0a !important;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem) !important;
  line-height: 1.2 !important;
  margin: 8px 0 18px !important;
  text-shadow: none !important;
}
/* Kill featured-image dark mask (img-overlay-70) */
.single .img-overlay-70::before,
.single .img-overlay-70::after,
.single .entry-thumbnail-area::before,
.single .entry-thumbnail-area::after {
  content: none !important;
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}
.single .entry-thumbnail-area.img-overlay-70 {
  background: transparent !important;
  overflow: visible !important;
}
.single .entry-thumbnail-area {
  overflow: visible !important;
  max-height: none !important;
  background: #eee !important;
}
.single .entry-thumbnail-area img,
.single .entry-thumbnail-area .wp-post-image {
  filter: none !important;
  opacity: 1 !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center top !important;
  display: block !important;
}
/* Hub / archive cards: don't over-zoom composite source images */
.cnc-card__media,
.cnc-stack-item__media,
.cnc-grid .cnc-card__media {
  background-position: center top !important;
}

/* Related Articles: show full photo, no hard crop */
.related-post .img-scale-animate {
  position: relative !important;
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #e8e8e8 !important;
}
.related-post .img-scale-animate img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  scale: none !important;
}
.related-post .img-scale-animate:hover img,
.related-post .img-scale-animate img:hover {
  transform: none !important;
}
.related-post .rt-related-post-info .post-title,
.related-post .rt-related-post-info .post-title a {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  max-height: none !important;
}

/* Hide Recent Comments widgets / blocks */
.widget_recent_comments,
.sidebar-widget-area .widget_recent_comments,
.wp-block-latest-comments {
  display: none !important;
}

/* Footer */
.footer-top-area, .footer-area, #footer-area,
.footer-bottom-area, .copyright-area {
  background: #0a0a0a !important;
  color: #cfcfcf !important;
}
.footer-area a, .copyright-area a { color: #fff !important; }
.footer-area a:hover { color: var(--cnc-accent) !important; }
.cnc-copyright-bar a { color: var(--cnc-accent) !important; }
