/* *
 * News Vexa stable sidebar and interaction layer.
 * Loaded after WordPress block styles and the main stylesheet. */

/* Keep the requested top-menu markers, home spacing and black utility icons. */

body {
  --nv-admin-bar-offset: 0px;
}

body.admin-bar {
  --nv-admin-bar-offset: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --nv-admin-bar-offset: 46px;
  }
}

#page.nv-site :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #155eef !important;
  outline-offset: 2px !important;
}

#page.nv-site .nv-card-link:focus-visible {
  outline-offset: -4px !important;
  z-index: 5;
}

.nv-skip-link:focus {
  position: fixed !important;
  top: calc(var(--nv-admin-bar-offset) + 8px) !important;
  z-index: 100001 !important;
  outline: 3px solid #155eef !important;
  outline-offset: 2px !important;
}

#page.nv-site .nv-primary-nav .nv-has-submenu-toggle {
  position: relative;
}

#page.nv-site .nv-primary-nav .nv-has-submenu-toggle > a {
  padding-inline-end: 42px !important;
}

#page.nv-site .nv-submenu-toggle {
  position: absolute;
  inset-inline-end: 3px;
  top: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}

#page.nv-site .nv-submenu-toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  transform: rotate(45deg);
}

#page.nv-site .nv-submenu-toggle[aria-expanded="true"]::before {
  transform: rotate(225deg);
}

#page.nv-site .nv-primary-nav .nv-has-submenu-toggle > .sub-menu[hidden] {
  display: none !important;
}

#page.nv-site .nv-primary-nav .sub-menu {
  transition: none !important;
}

#page.nv-site .nv-primary-nav .nv-has-submenu-toggle.is-submenu-open > .sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  transform: none;
}

@media (max-width: 980px) {
  html.nv-js #page.nv-site .nv-primary-nav {
    top: var(--nv-admin-bar-offset) !important;
    bottom: auto !important;
    height: calc(100vh - var(--nv-admin-bar-offset));
    height: calc(100dvh - var(--nv-admin-bar-offset));
    max-height: calc(100dvh - var(--nv-admin-bar-offset));
  }

  html.nv-js #page.nv-site .nv-nav-backdrop {
    top: var(--nv-admin-bar-offset);
  }
}

#page.nv-site .nv-ticker-track > .nv-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#page.nv-site .nv-ticker-track > .nv-ticker-item::after {
  content: none;
  display: none;
}

#page.nv-site .nv-ticker-thumb {
  display: inline-flex;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  overflow: hidden;
}

#page.nv-site .nv-ticker-thumb,
#page.nv-site .nv-ticker-thumb img {
  border-radius: 50% !important;
}

#page.nv-site .nv-ticker-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#page.nv-site .nv-editor-section .nv-section-heading h2 {
  font-size: clamp(13px, 1.5vw, 20px);
}

.nv-header-newsvexa .nv-nav-list > li > a {
  position: relative;
  gap: 8px;
}

.nv-header-newsvexa .nv-nav-list > li > a::before {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.18),0 1px 4px rgba(0,0,0,.14);
}

.nv-header-newsvexa .nv-nav-list > li:nth-child(1) > a::before {
  background: #fff;
  content: none !important;
  display: none !important;
  box-shadow: none;
}

.nv-header-newsvexa .nv-nav-list > li:nth-child(2) > a::before {
  background: #ff9ac0;
}

.nv-header-newsvexa .nv-nav-list > li:nth-child(3) > a::before {
  background: #38bdf8;
}

.nv-header-newsvexa .nv-nav-list > li:nth-child(4) > a::before {
  background: #34d399;
}

.nv-header-newsvexa .nv-nav-list > li:nth-child(5) > a::before {
  background: #22d3ee;
}

.nv-header-newsvexa .nv-nav-list > li:nth-child(6) > a::before {
  background: #f59e0b;
}

.nv-header-newsvexa .nv-nav-list > li:nth-child(7) > a::before {
  background: #84cc16;
}

.nv-header-newsvexa .nv-nav-list > li:nth-child(8) > a::before {
  background: #8b5cf6;
}

.nv-header-newsvexa .nv-nav-list > li:nth-child(9) > a::before {
  background: #fb7185;
}

.nv-header-newsvexa .nv-nav-list > li:nth-child(10) > a::before {
  background: #fbbf24;
}

.nv-header-newsvexa .nv-nav-list > li:nth-child(11) > a::before {
  background: #818cf8;
}

.nv-header-newsvexa .nv-nav-list > li:nth-child(12) > a::before {
  background: #2dd4bf;
}

.home .nv-content-section {
  padding-top: 13px !important;
}

/* Sidebar layout: never allow the column or its children to collapse. */

.nv-sidebar,
.nv-widget-stack,
.nv-sidebar-column,
.nv-article-layout > .nv-sidebar {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
  width: 100% !important;
  min-width: 0 !important;
  align-self: start !important;
}

.nv-sidebar > *,
.nv-widget-stack > *,
.nv-sidebar-column > *,
.nv-article-layout > .nv-sidebar > * {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* Shared widget card shell. The card itself never moves. */

.nv-sidebar .widget,
.nv-widget-stack .widget,
.nv-sidebar-column .widget,
.nv-sidebar .nv-widget,
.nv-widget-stack .nv-widget,
.nv-sidebar-column .nv-widget,
.nv-sidebar .nv-trending-card,
.nv-sidebar-column .nv-trending-card {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid #e2e7ef !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.055) !important;
  transform: none !important;
  transition: none !important;
}

.nv-sidebar .widget:hover,
.nv-widget-stack .widget:hover,
.nv-sidebar-column .widget:hover,
.nv-sidebar .nv-trending-card:hover,
.nv-sidebar-column .nv-trending-card:hover {
  transform: none !important;
  border-color: #e2e7ef !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.055) !important;
}

/* Standard widgets. */

.nv-sidebar .widget,
.nv-widget-stack .widget,
.nv-sidebar-column .widget {
  padding: 22px !important;
}

.nv-sidebar .widget-title,
.nv-sidebar .wp-block-heading,
.nv-sidebar .wp-block-search__label,
.nv-widget-stack .widget-title,
.nv-widget-stack .wp-block-heading,
.nv-widget-stack .wp-block-search__label,
.nv-sidebar-column .widget-title,
.nv-sidebar-column .wp-block-heading,
.nv-sidebar-column .wp-block-search__label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  padding: 0 0 13px !important;
  border-bottom: 1px solid #e7ebf1 !important;
  color: var(--nv-ink) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: -.02em !important;
}

.nv-sidebar .widget-title::before,
.nv-sidebar .wp-block-heading::before,
.nv-sidebar .wp-block-search__label::before,
.nv-widget-stack .widget-title::before,
.nv-widget-stack .wp-block-heading::before,
.nv-widget-stack .wp-block-search__label::before,
.nv-sidebar-column .widget-title::before,
.nv-sidebar-column .wp-block-heading::before,
.nv-sidebar-column .wp-block-search__label::before {
  content: "";
  width: 4px;
  height: 22px;
  flex: 0 0 4px;
  border-radius: 999px;
  background: linear-gradient(180deg,var(--nv-accent),var(--nv-secondary));
}

/* Trending card: image, text and number occupy explicit columns. */

.nv-sidebar .nv-trending-card,
.nv-sidebar-column .nv-trending-card {
  padding: 0 !important;
}

.nv-sidebar .nv-side-title,
.nv-sidebar-column .nv-side-title {
  display: grid !important;
  grid-template-columns: 46px minmax(0,1fr) !important;
  gap: 13px !important;
  align-items: center !important;
  padding: 20px !important;
  border-bottom: 1px solid #e7ebf1 !important;
}

.nv-sidebar .nv-side-title > span,
.nv-sidebar-column .nv-side-title > span {
  width: 46px !important;
  height: 46px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg,#ffb11b,#ff7b2c) !important;
  color: #2f2100 !important;
  box-shadow: 0 7px 16px rgba(255,139,30,.18) !important;
}

.nv-sidebar .nv-side-title small,
.nv-sidebar-column .nv-side-title small {
  display: block !important;
  margin: 0 0 2px !important;
  color: var(--nv-muted) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: .07em !important;
  line-height: 1.25 !important;
}

.nv-sidebar .nv-side-title h2,
.nv-sidebar-column .nv-side-title h2 {
  margin: 0 !important;
  color: var(--nv-accent) !important;
  font-size: 21px !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
}

.nv-sidebar .nv-trending-list,
.nv-sidebar-column .nv-trending-list {
  counter-reset: trending !important;
  margin: 0 !important;
  padding: 0 18px 4px !important;
  list-style: none !important;
}

.nv-sidebar .nv-trending-list li,
.nv-sidebar-column .nv-trending-list li {
  counter-increment: trending !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #e7ebf1 !important;
  transform: none !important;
}

.nv-sidebar .nv-trending-list li:last-child,
.nv-sidebar-column .nv-trending-list li:last-child {
  border-bottom: 0 !important;
}

.nv-sidebar .nv-trending-list li > a,
.nv-sidebar-column .nv-trending-list li > a {
  display: grid !important;
  grid-template-columns: 58px minmax(0,1fr) 34px !important;
  grid-template-areas: "thumb copy number" !important;
  gap: 12px !important;
  align-items: center !important;
  min-height: 92px !important;
  margin: 4px -8px !important;
  padding: 13px 8px !important;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  color: var(--nv-ink) !important;
  background: transparent !important;
  transform: none !important;
  transition: color .2s ease,background-color .2s ease,border-color .2s ease !important;
}

.nv-sidebar .nv-trending-thumb,
.nv-sidebar-column .nv-trending-thumb {
  grid-area: thumb !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  border-radius: 11px !important;
  overflow: hidden !important;
  background: #eef1f6 !important;
}

.nv-sidebar .nv-trending-list li > a > span:nth-of-type(2),
.nv-sidebar-column .nv-trending-list li > a > span:nth-of-type(2) {
  grid-area: copy !important;
  min-width: 0 !important;
}

.nv-sidebar .nv-trending-list li > a::before,
.nv-sidebar-column .nv-trending-list li > a::before {
  content: counter(trending,decimal-leading-zero) !important;
  grid-area: number !important;
  position: static !important;
  align-self: center !important;
  justify-self: end !important;
  color: #ece9fb !important;
  font-size: 29px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.nv-sidebar .nv-trending-list strong,
.nv-sidebar-column .nv-trending-list strong {
  display: block !important;
  min-width: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.42 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.nv-sidebar .nv-trending-list small,
.nv-sidebar-column .nv-trending-list small {
  display: block !important;
  margin-top: 5px !important;
  color: var(--nv-muted) !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
}

.nv-sidebar .nv-trending-list li > a:hover,
.nv-sidebar .nv-trending-list li > a:focus-visible,
.nv-sidebar-column .nv-trending-list li > a:hover,
.nv-sidebar-column .nv-trending-list li > a:focus-visible {
  color: var(--nv-accent) !important;
  background: color-mix(in srgb,var(--nv-accent) 8%,#fff) !important;
}

.nv-sidebar .nv-trending-thumb img,
.nv-sidebar-column .nv-trending-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .22s ease !important;
}

.nv-sidebar .nv-trending-list li > a:hover .nv-trending-thumb img,
.nv-sidebar-column .nv-trending-list li > a:hover .nv-trending-thumb img {
  transform: scale(1.035) !important;
}

/* Promo card keeps its own colored design and visible text. */

/* Search widgets. */

.nv-sidebar .wp-block-search,
.nv-widget-stack .wp-block-search,
.nv-sidebar-column .wp-block-search {
  margin: 0 !important;
}

.nv-sidebar .wp-block-search__inside-wrapper,
.nv-widget-stack .wp-block-search__inside-wrapper,
.nv-sidebar-column .wp-block-search__inside-wrapper,
.nv-sidebar .search-form,
.nv-widget-stack .search-form,
.nv-sidebar-column .search-form {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 7px !important;
  border: 1px solid #dde3ec !important;
  border-radius: 12px !important;
  background: #f7f9fc !important;
  box-shadow: none !important;
}

.nv-sidebar .wp-block-search__input,
.nv-widget-stack .wp-block-search__input,
.nv-sidebar-column .wp-block-search__input,
.nv-sidebar .search-form input {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 8px 10px !important;
  border: 0 !important;
  outline: 2px solid transparent !important;
  outline-offset: 2px !important;
  background: transparent !important;
  color: var(--nv-ink) !important;
  font-size: 14px !important;
}

.nv-sidebar .wp-block-search__button,
.nv-widget-stack .wp-block-search__button,
.nv-sidebar-column .wp-block-search__button,
.nv-sidebar .search-form button,
.nv-widget-stack .search-form button,
.nv-sidebar-column .search-form button {
  min-width: 68px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #252b35 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transform: none !important;
}

.nv-sidebar .wp-block-search__button:hover,
.nv-sidebar .wp-block-search__button:focus-visible,
.nv-sidebar .search-form button:hover,
.nv-sidebar .search-form button:focus-visible {
  background: var(--nv-accent) !important;
}

/* Classic and block lists. */

.nv-sidebar .wp-block-latest-posts,
.nv-sidebar .wp-block-latest-comments,
.nv-sidebar .wp-block-categories-list,
.nv-sidebar .wp-block-archives-list,
.nv-sidebar .widget ul,
.nv-widget-stack .wp-block-latest-posts,
.nv-widget-stack .wp-block-latest-comments,
.nv-widget-stack .widget ul,
.nv-sidebar-column .wp-block-latest-posts,
.nv-sidebar-column .wp-block-latest-comments,
.nv-sidebar-column .widget ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.nv-sidebar .wp-block-latest-posts > li,
.nv-sidebar .wp-block-latest-comments > li,
.nv-sidebar .wp-block-categories-list > li,
.nv-sidebar .wp-block-archives-list > li,
.nv-sidebar .widget li,
.nv-widget-stack .wp-block-latest-posts > li,
.nv-widget-stack .wp-block-latest-comments > li,
.nv-widget-stack .widget li,
.nv-sidebar-column .wp-block-latest-posts > li,
.nv-sidebar-column .wp-block-latest-comments > li,
.nv-sidebar-column .widget li {
  margin: 0 !important;
  padding: 12px 10px !important;
  border: 1px solid transparent !important;
  border-bottom-color: #e7ebf1 !important;
  border-radius: 10px !important;
  color: var(--nv-ink) !important;
  background: transparent !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
  transform: none !important;
  transition: background-color .2s ease,border-color .2s ease,color .2s ease !important;
}

.nv-sidebar .wp-block-latest-posts > li:first-child,
.nv-sidebar .wp-block-latest-comments > li:first-child,
.nv-sidebar .widget li:first-child,
.nv-widget-stack .widget li:first-child,
.nv-sidebar-column .widget li:first-child {
  padding-top: 12px !important;
}

.nv-sidebar .wp-block-latest-posts > li:last-child,
.nv-sidebar .wp-block-latest-comments > li:last-child,
.nv-sidebar .widget li:last-child,
.nv-widget-stack .widget li:last-child,
.nv-sidebar-column .widget li:last-child {
  padding-bottom: 12px !important;
  border-bottom-color: transparent !important;
}

.nv-sidebar .wp-block-latest-posts a,
.nv-sidebar .wp-block-latest-comments a,
.nv-sidebar .wp-block-categories-list a,
.nv-sidebar .wp-block-archives-list a,
.nv-sidebar .widget li a,
.nv-widget-stack .widget li a,
.nv-sidebar-column .widget li a {
  display: block !important;
  width: 100% !important;
  color: inherit !important;
  text-decoration: none !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  transform: none !important;
  transition: color .2s ease !important;
}

.nv-sidebar .wp-block-latest-posts > li:hover,
.nv-sidebar .wp-block-latest-comments > li:hover,
.nv-sidebar .wp-block-categories-list > li:hover,
.nv-sidebar .wp-block-archives-list > li:hover,
.nv-sidebar .widget li:hover,
.nv-widget-stack .wp-block-latest-posts > li:hover,
.nv-widget-stack .wp-block-latest-comments > li:hover,
.nv-widget-stack .widget li:hover,
.nv-sidebar-column .wp-block-latest-posts > li:hover,
.nv-sidebar-column .wp-block-latest-comments > li:hover,
.nv-sidebar-column .widget li:hover,
.nv-sidebar .wp-block-latest-posts > li:focus-within,
.nv-sidebar .wp-block-latest-comments > li:focus-within,
.nv-sidebar .widget li:focus-within {
  color: var(--nv-accent) !important;
  background: color-mix(in srgb,var(--nv-accent) 8%,#fff) !important;
}

.nv-sidebar .wp-block-latest-posts > li:hover a,
.nv-sidebar .wp-block-latest-comments > li:hover a,
.nv-sidebar .wp-block-categories-list > li:hover a,
.nv-sidebar .wp-block-archives-list > li:hover a,
.nv-sidebar .widget li:hover a,
.nv-widget-stack .widget li:hover a,
.nv-sidebar-column .widget li:hover a {
  color: var(--nv-accent) !important;
  transform: none !important;
}

.nv-sidebar .wp-block-latest-posts__post-date,
.nv-sidebar .wp-block-latest-comments__comment-date,
.nv-sidebar .post-date {
  display: block !important;
  margin-top: 5px !important;
  color: var(--nv-muted) !important;
  font-size: 11px !important;
}

.nv-sidebar .wp-block-latest-comments__comment-meta {
  line-height: 1.7 !important;
}

/* Tags and selects. */

.nv-sidebar .wp-block-tag-cloud,
.nv-sidebar .tagcloud {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.nv-sidebar .wp-block-tag-cloud a,
.nv-sidebar .tagcloud a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  padding: 6px 10px !important;
  border: 1px solid #e1e6ef !important;
  border-radius: 999px !important;
  background: #f8f9fc !important;
  font-size: 12px !important;
}

.nv-sidebar select,
.nv-widget-stack select,
.nv-sidebar-column select {
  width: 100% !important;
  min-height: 44px !important;
  padding: 8px 12px !important;
  border: 1px solid #dde3ec !important;
  border-radius: 10px !important;
  background: #f8f9fc !important;
  color: var(--nv-ink) !important;
}

/* Only right-sidebar elements receive this interaction layer. Main/left content cards are intentionally untouched. */

.nv-sidebar a:focus-visible,
.nv-sidebar button:focus-visible,
.nv-sidebar input:focus-visible,
.nv-sidebar select:focus-visible,
.nv-sidebar textarea:focus-visible,
.nv-sidebar summary:focus-visible,
.nv-widget-stack a:focus-visible,
.nv-widget-stack button:focus-visible,
.nv-widget-stack input:focus-visible,
.nv-widget-stack select:focus-visible,
.nv-widget-stack textarea:focus-visible,
.nv-widget-stack summary:focus-visible,
.nv-sidebar-column a:focus-visible,
.nv-sidebar-column button:focus-visible,
.nv-sidebar-column input:focus-visible,
.nv-sidebar-column select:focus-visible,
.nv-sidebar-column textarea:focus-visible,
.nv-sidebar-column summary:focus-visible {
  outline: 2px solid var(--nv-secondary) !important;
  outline-offset: 3px !important;
}

.nv-sidebar .wp-block-search__inside-wrapper:focus-within,
.nv-widget-stack .wp-block-search__inside-wrapper:focus-within,
.nv-sidebar-column .wp-block-search__inside-wrapper:focus-within,
.nv-sidebar .search-form:focus-within,
.nv-widget-stack .search-form:focus-within,
.nv-sidebar-column .search-form:focus-within {
  border-color: var(--nv-secondary) !important;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, .16) !important;
}

@media (max-width:980px) {
  .nv-sidebar,
  .nv-widget-stack,
  .nv-sidebar-column,
  .nv-article-layout > .nv-sidebar {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    width: 100% !important;
  }
}

@media (max-width:520px) {
  .nv-sidebar .nv-trending-list li > a,
  .nv-sidebar-column .nv-trending-list li > a {
    grid-template-columns: 52px minmax(0,1fr) 30px !important;
    gap: 10px !important;
  }

  .nv-sidebar .nv-trending-thumb,
  .nv-sidebar-column .nv-trending-thumb {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
  }

  .nv-sidebar .nv-side-title,
  .nv-sidebar-column .nv-side-title {
    grid-template-columns: 42px minmax(0,1fr) !important;
    padding: 18px !important;
  }

  .nv-sidebar .nv-side-title > span,
  .nv-sidebar-column .nv-side-title > span {
    width: 42px !important;
    height: 42px !important;
  }
}

@media (prefers-reduced-motion:reduce) {
  .nv-sidebar *,
  .nv-widget-stack *,
  .nv-sidebar-column * {
    transition-duration: .01ms !important;
  }
}

/* News Vexa precise hover behavior 1.0.33.
 * Sidebar card colors stay unchanged. Cards move slightly; only their text changes color. */

.nv-sidebar .widget,
.nv-widget-stack .widget,
.nv-sidebar-column .widget,
.nv-sidebar .nv-widget,
.nv-widget-stack .nv-widget,
.nv-sidebar-column .nv-widget,
.nv-sidebar .nv-trending-card,
.nv-sidebar-column .nv-trending-card {
  transition: transform .2s ease,box-shadow .2s ease !important;
  will-change: transform;
}

.nv-sidebar .widget:hover,
.nv-widget-stack .widget:hover,
.nv-sidebar-column .widget:hover,
.nv-sidebar .nv-widget:hover,
.nv-widget-stack .nv-widget:hover,
.nv-sidebar-column .nv-widget:hover,
.nv-sidebar .nv-trending-card:hover,
.nv-sidebar-column .nv-trending-card:hover {
  transform: translateY(-2px) !important;
  background: #fff !important;
  border-color: #e2e7ef !important;
  box-shadow: 0 11px 28px rgba(15,23,42,.075) !important;
}

/* Preserve the promo card's own gradient while applying the same small movement. */

/* Sidebar rows never receive a colored box background. */

.nv-sidebar .nv-trending-list li > a,
.nv-sidebar-column .nv-trending-list li > a,
.nv-sidebar .wp-block-latest-posts > li,
.nv-sidebar .wp-block-latest-comments > li,
.nv-sidebar .wp-block-categories-list > li,
.nv-sidebar .wp-block-archives-list > li,
.nv-sidebar .widget li,
.nv-widget-stack .wp-block-latest-posts > li,
.nv-widget-stack .wp-block-latest-comments > li,
.nv-widget-stack .widget li,
.nv-sidebar-column .wp-block-latest-posts > li,
.nv-sidebar-column .wp-block-latest-comments > li,
.nv-sidebar-column .widget li {
  background: transparent !important;
  border-left-color: transparent !important;
  border-right-color: transparent !important;
  transition: transform .18s ease,color .18s ease !important;
}

.nv-sidebar .nv-trending-list li > a:hover,
.nv-sidebar .nv-trending-list li > a:focus-visible,
.nv-sidebar-column .nv-trending-list li > a:hover,
.nv-sidebar-column .nv-trending-list li > a:focus-visible,
.nv-sidebar .wp-block-latest-posts > li:hover,
.nv-sidebar .wp-block-latest-comments > li:hover,
.nv-sidebar .wp-block-categories-list > li:hover,
.nv-sidebar .wp-block-archives-list > li:hover,
.nv-sidebar .widget li:hover,
.nv-widget-stack .wp-block-latest-posts > li:hover,
.nv-widget-stack .wp-block-latest-comments > li:hover,
.nv-widget-stack .widget li:hover,
.nv-sidebar-column .wp-block-latest-posts > li:hover,
.nv-sidebar-column .wp-block-latest-comments > li:hover,
.nv-sidebar-column .widget li:hover,
.nv-sidebar .wp-block-latest-posts > li:focus-within,
.nv-sidebar .wp-block-latest-comments > li:focus-within,
.nv-sidebar .widget li:focus-within {
  transform: translateX(2px) !important;
  color: var(--nv-accent) !important;
  background: transparent !important;
  border-left-color: transparent !important;
  border-right-color: transparent !important;
}

.nv-sidebar .nv-trending-list li > a:hover strong,
.nv-sidebar .nv-trending-list li > a:focus-visible strong,
.nv-sidebar-column .nv-trending-list li > a:hover strong,
.nv-sidebar-column .nv-trending-list li > a:focus-visible strong,
.nv-sidebar .wp-block-latest-posts > li:hover a,
.nv-sidebar .wp-block-latest-comments > li:hover a,
.nv-sidebar .wp-block-categories-list > li:hover a,
.nv-sidebar .wp-block-archives-list > li:hover a,
.nv-sidebar .widget li:hover a,
.nv-widget-stack .widget li:hover a,
.nv-sidebar-column .widget li:hover a {
  color: var(--nv-accent) !important;
}

/* Widget headings change color with their own card. */

.nv-sidebar .widget:hover .widget-title,
.nv-sidebar .widget:hover .wp-block-heading,
.nv-sidebar .widget:hover .wp-block-search__label,
.nv-widget-stack .widget:hover .widget-title,
.nv-widget-stack .widget:hover .wp-block-heading,
.nv-widget-stack .widget:hover .wp-block-search__label,
.nv-sidebar-column .widget:hover .widget-title,
.nv-sidebar-column .widget:hover .wp-block-heading,
.nv-sidebar-column .widget:hover .wp-block-search__label,
.nv-sidebar .nv-trending-card:hover .nv-side-title h2,
.nv-sidebar-column .nv-trending-card:hover .nv-side-title h2 {
  color: var(--nv-accent) !important;
}

/* Main content cards: only text color changes on hover; layout remains intact. */

.nv-story-card h3,
.nv-editor-card h3,
.nv-archive-card h2,
.nv-article-card .nv-article-title {
  transition: color .2s ease !important;
}

.nv-story-card:hover h3,
.nv-story-card:focus-within h3,
.nv-editor-card:hover h3,
.nv-editor-card:focus-within h3,
.nv-archive-card:hover h2,
.nv-archive-card:focus-within h2,
.nv-article-card:hover .nv-article-title,
.nv-article-card:focus-within .nv-article-title {
  color: var(--nv-accent) !important;
}

@media (prefers-reduced-motion:reduce) {
  .nv-sidebar .widget,
.nv-widget-stack .widget,
.nv-sidebar-column .widget,
.nv-sidebar .nv-trending-card,
.nv-sidebar-column .nv-trending-card,
.nv-sidebar li,
.nv-sidebar-column li {
    transform: none !important;
  }
}

/* News Vexa hover border cleanup 1.0.34 */

.nv-sidebar .widget:hover,
.nv-widget-stack .widget:hover,
.nv-sidebar-column .widget:hover,
.nv-sidebar .nv-widget:hover,
.nv-widget-stack .nv-widget:hover,
.nv-sidebar-column .nv-widget:hover,
.nv-sidebar .nv-trending-card:hover,
.nv-sidebar-column .nv-trending-card:hover {
  border-color: #e2e7ef !important;
}

.nv-sidebar .nv-trending-list li > a:hover,
.nv-sidebar-column .nv-trending-list li > a:hover,
.nv-sidebar .wp-block-latest-posts > li:hover,
.nv-sidebar .wp-block-latest-comments > li:hover,
.nv-sidebar .wp-block-categories-list > li:hover,
.nv-sidebar .wp-block-archives-list > li:hover,
.nv-sidebar .widget li:hover,
.nv-widget-stack .widget li:hover,
.nv-sidebar-column .widget li:hover {
  border-left-color: transparent !important;
  border-right-color: transparent !important;
  border-top-color: #e7ebf1 !important;
  border-bottom-color: #e7ebf1 !important;
}

/* News Vexa right-sidebar typography increase 1.0.35 */

.nv-sidebar,
.nv-widget-stack,
.nv-sidebar-column {
  font-size: calc(var(--nv-font-size) + 2px) !important;
}

.nv-sidebar .nv-side-title small,
.nv-sidebar-column .nv-side-title small {
  font-size: 13px !important;
}

.nv-sidebar .nv-side-title h2,
.nv-sidebar-column .nv-side-title h2 {
  font-size: 26px !important;
}

.nv-sidebar .nv-trending-list strong,
.nv-sidebar-column .nv-trending-list strong {
  font-size: 16px !important;
}

.nv-sidebar .nv-trending-list small,
.nv-sidebar-column .nv-trending-list small {
  font-size: 13px !important;
}

.nv-sidebar .widget-title,
.nv-sidebar .wp-block-heading,
.nv-sidebar .wp-block-search__label,
.nv-widget-stack .widget-title,
.nv-widget-stack .wp-block-heading,
.nv-widget-stack .wp-block-search__label,
.nv-sidebar-column .widget-title,
.nv-sidebar-column .wp-block-heading,
.nv-sidebar-column .wp-block-search__label {
  font-size: 21px !important;
}

.nv-sidebar .wp-block-search__input,
.nv-widget-stack .wp-block-search__input,
.nv-sidebar-column .wp-block-search__input,
.nv-sidebar .search-form input {
  font-size: 16px !important;
}

.nv-sidebar .wp-block-search__button,
.nv-widget-stack .wp-block-search__button,
.nv-sidebar-column .wp-block-search__button,
.nv-sidebar .search-form button,
.nv-widget-stack .search-form button,
.nv-sidebar-column .search-form button {
  font-size: 15px !important;
}

.nv-sidebar .wp-block-latest-posts > li,
.nv-sidebar .wp-block-latest-comments > li,
.nv-sidebar .wp-block-categories-list > li,
.nv-sidebar .wp-block-archives-list > li,
.nv-sidebar .widget li,
.nv-widget-stack .wp-block-latest-posts > li,
.nv-widget-stack .wp-block-latest-comments > li,
.nv-widget-stack .widget li,
.nv-sidebar-column .wp-block-latest-posts > li,
.nv-sidebar-column .wp-block-latest-comments > li,
.nv-sidebar-column .widget li {
  font-size: 16px !important;
}

.nv-sidebar .wp-block-latest-posts__post-date,
.nv-sidebar .wp-block-latest-comments__comment-date,
.nv-sidebar .post-date {
  font-size: 13px !important;
}

.nv-sidebar .wp-block-tag-cloud a,
.nv-sidebar .tagcloud a {
  font-size: 14px !important;
}

.nv-sidebar select,
.nv-widget-stack select,
.nv-sidebar-column select {
  font-size: 16px !important;
}

/* News Vexa pagination and footer-owner information update 1.0.37. */

.nv-home-pagination {
  margin: 30px 0 8px;
}

.nv-home-pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nv-home-pagination-list .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--nv-border);
  border-radius: 10px;
  background: var(--nv-surface);
  color: var(--nv-ink);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}

.nv-home-pagination-list .page-numbers.current {
  background: var(--nv-accent);
  border-color: var(--nv-accent);
  color: #fff;
}

.nv-home-pagination-list a.page-numbers:hover,
.nv-home-pagination-list a.page-numbers:focus-visible {
  transform: translateY(-1px);
  background: color-mix(in srgb,var(--nv-accent) 8%,#fff);
  border-color: color-mix(in srgb,var(--nv-accent) 30%,var(--nv-border));
  color: var(--nv-accent);
}

.nv-footer-bottom>p {
  min-width: 0;
}

.nv-footer-site-summary {
  text-align: center;
}

.nv-footer-publisher {
  text-align: right;
}

@media (max-width:720px) {
  .nv-footer-site-summary,
  .nv-footer-publisher {
    text-align: left;
  }
}


/* 1.1.21: fallback right sidebar widgets must be fully square.
   Root cause: ui.css was loaded after main.css and was restoring rounded corners.
   This final override targets Search, Latest Posts, and Categories widgets plus their inner elements. */
.nv-sidebar .nv-default-sidebar-search,
.nv-sidebar .nv-default-sidebar-categories,
.nv-sidebar .nv-sidebar-latest-trending,
.nv-sidebar .nv-default-sidebar-search.nv-widget,
.nv-sidebar .nv-default-sidebar-categories.nv-widget,
.nv-sidebar .nv-sidebar-latest-trending.nv-trending-card,
.nv-sidebar .nv-default-sidebar-search .widget-title,
.nv-sidebar .nv-default-sidebar-categories .widget-title,
.nv-sidebar .nv-default-sidebar-search .nv-search-form,
.nv-sidebar .nv-default-sidebar-search .nv-search-form input[type="search"],
.nv-sidebar .nv-default-sidebar-search .nv-search-form button,
.nv-sidebar .nv-sidebar-latest-trending .nv-side-title > span,
.nv-sidebar .nv-sidebar-latest-trending .nv-trending-thumb,
.nv-sidebar .nv-sidebar-latest-trending .nv-trending-thumb img,
.nv-sidebar .nv-sidebar-latest-trending .nv-trending-list li > a,
.nv-sidebar .nv-default-sidebar-categories .nv-default-category-list li,
.nv-sidebar .nv-default-sidebar-categories .nv-default-category-list li > a,
.nv-sidebar .nv-default-sidebar-categories .nv-default-category-list li > a > small,
.nv-sidebar .nv-default-sidebar-categories .nv-default-category-list li > a > span {
  border-radius: 0 !important;
}

/* Also force the generic shells of these exact widgets to stay square. */
.nv-sidebar > .nv-default-sidebar-search,
.nv-sidebar > .nv-default-sidebar-categories,
.nv-sidebar > .nv-sidebar-latest-trending {
  border-radius: 0 !important;
  overflow: hidden !important;
}


/* 1.1.22: archive/category eyebrow must never render.
   archive.php no longer outputs it; this also hides stale cached markup from older versions. */
body.archive .nv-archive-main .nv-page-header > .nv-eyebrow,
body.category .nv-archive-main .nv-page-header > .nv-eyebrow,
body.tag .nv-archive-main .nv-page-header > .nv-eyebrow,
body.date .nv-archive-main .nv-page-header > .nv-eyebrow,
body.author .nv-archive-main .nv-page-header > .nv-eyebrow {
  display: none !important;
}


/* Article frames follow source proportions; card crops retain their fixed rows. */
#page.nv-site .nv-article-hero,
#page.nv-site .nv-page-featured {
  width: min(100%, var(--nv-media-width, 100%), calc(560px * var(--nv-media-ratio, 1.777778)));
  max-width: 100%;
  margin: 0 auto;
}

#page.nv-site .nv-article-hero img,
#page.nv-site .nv-page-featured img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-inline: auto;
  object-fit: contain !important;
  object-position: center;
  background: transparent;
}

#page.nv-site .nv-content-with-portrait {
  display: flow-root;
}

#page.nv-site .nv-featured-inline {
  float: inline-start;
  width: min(42%, 340px, var(--nv-media-width, 100%), calc(520px * var(--nv-media-ratio, 1)));
  margin: 4px 0 20px;
  margin-inline-end: 26px;
}

#page.nv-site .nv-article-content.nv-content-with-portrait > p:first-of-type {
  margin-top: 0;
  font-size: 21px;
  line-height: 1.65;
}

#page.nv-site .nv-content-with-portrait > :is(h2, h3, h4, .wp-block-image, .wp-block-gallery, .wp-block-table, .wp-block-embed, .page-links) {
  clear: both;
}

@media (max-width: 720px) {
  #page.nv-site .nv-featured-inline {
    float: none;
    width: min(100%, var(--nv-media-width, 100%), calc(420px * var(--nv-media-ratio, 1)));
    margin: 0 auto 24px;
  }

  #page.nv-site .nv-article-content.nv-content-with-portrait > p:first-of-type {
    font-size: 19px;
    line-height: 1.7;
  }
}

body.single-post .nv-article-title {
  font-weight: 400 !important;
}

/* Reserve navigation geometry until the first fit; CSS still works without JS. */
@media (min-width: 981px) {
  .nv-header-newsvexa .nv-navbar .nv-nav-list {
    min-height: 42px;
  }
  .nv-js .nv-header-newsvexa .nv-nav-list:not(.nv-nav-is-ready) {
    overflow: hidden !important;
    visibility: hidden;
  }
  html:not(.nv-js) .nv-header-newsvexa .nv-navbar {
    display: block !important;
  }
  html:not(.nv-js) .nv-header-newsvexa .nv-primary-nav {
    overflow-x: auto;
  }
  .nv-header-newsvexa .nv-nav-overflow-item[hidden] {
    display: none !important;
  }
  .nv-header-newsvexa .nv-nav-overflow-item:not(.is-open) > .nv-nav-overflow-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .nv-header-newsvexa .nv-nav-overflow-item.is-open > .nv-nav-overflow-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* Keyboard focus remains visible without changing the resting design. */
.nv-site .nv-default-sidebar-search input[type="search"]:focus-visible,
.nv-site .nv-default-sidebar-search button:focus-visible {
  outline: 2px solid var(--nv-accent) !important;
  outline-offset: 2px;
}

/* Final interaction layer must also respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  .nv-site *, .nv-site *::before, .nv-site *::after {
    transition: none !important;
    animation: none !important;
  }
  .nv-site .nv-post-media img,
  .nv-site .nv-trending-thumb img,
  .nv-site .nv-category-showcase-compact-media img,
  .nv-site .nv-video-news-media img,
  .nv-site .nv-social-follow-item,
  .nv-site .nv-hover-text-motion {
    transform: none !important;
  }
}

/* Keep the existing links usable on small screens when JavaScript is disabled. */
@media (max-width: 980px) {
  html:not(.nv-js) .nv-header-newsvexa .nv-navbar {
    display: block !important;
  }
  html:not(.nv-js) .nv-header-newsvexa .nv-primary-nav {
    display: block !important;
    position: static;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 0;
    transform: none;
    visibility: visible;
    box-shadow: none;
  }
  html:not(.nv-js) .nv-header-newsvexa .nv-brandbar-inner.nv-brandbar-layout .nv-menu-toggle,
  html:not(.nv-js) .nv-menu-close {
    display: none !important;
  }
}

/* Theme-wide square corners, including content blocks and generated decorations. */
#page.nv-site {
  --nv-radius: 0px;
  --nv-image-side-height: 80px;
  --nv-image-card-height: 180px;
  --nv-image-category-height: 180px;
  --nv-image-editor-height: 200px;
  --nv-image-editor-small-height: 100px;
  --nv-image-home-height: 320px;
}

#page.nv-site,
#page.nv-site *,
#page.nv-site::before,
#page.nv-site::after,
#page.nv-site *::before,
#page.nv-site *::after {
  border-radius: 0 !important;
}

/* Inert off-screen menu measurements cannot paint, scroll or receive focus. */
#page.nv-site .nv-header-newsvexa .nv-navbar .nv-nav-list.nv-nav-measure {
  position: fixed !important;
  inset: 0 auto auto 0 !important;
  width: max-content !important;
  max-width: none !important;
  min-width: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  contain: layout style;
}

/* Bridge the existing eight-pixel dropdown gap while the pointer enters the menu. */
@media (min-width: 981px) {
  .nv-header-newsvexa .nv-nav-overflow-item.is-open::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 100%;
    width: min(420px, calc(100vw - 32px));
    height: 8px;
  }
}

/* Keep compact story titles and recent-post widget links to two visible lines. */
#page.nv-site .nv-home-side-body > h3,
#page.nv-site .nv-category-showcase-featured > h3,
#page.nv-site .nv-category-showcase-compact-body > h3,
#page.nv-site .nv-sidebar .wp-block-latest-posts > li > a:not(.wp-block-latest-posts__read-more),
#page.nv-site .nv-sidebar-column .wp-block-latest-posts > li > a:not(.wp-block-latest-posts__read-more),
#page.nv-site .nv-widget-stack .wp-block-latest-posts > li > a:not(.wp-block-latest-posts__read-more),
#page.nv-site .nv-sidebar .widget_recent_entries li > a,
#page.nv-site .nv-sidebar-column .widget_recent_entries li > a,
#page.nv-site .nv-widget-stack .widget_recent_entries li > a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2;
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: normal !important;
}

/* Let the lead and its list share their content height instead of a fixed 500px. */
#page.nv-site .nv-home-top-grid {
  height: auto;
  align-items: stretch;
  gap: 24px !important;
}

#page.nv-site .nv-home-hero-card {
  display: flex;
  flex-direction: column;
  height: auto;
  min-width: 0;
  margin: 0;
  justify-content: space-between;
}

#page.nv-site .nv-home-hero-card > .nv-post-media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: var(--nv-image-home-height);
  min-height: 0;
  aspect-ratio: auto;
}

#page.nv-site .nv-home-hero-card > .nv-post-media img {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
}

#page.nv-site .nv-home-hero-card .nv-story-body {
  flex: 0 0 auto;
}

#page.nv-site .nv-home-hero-card .nv-story-body > h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: normal;
}

#page.nv-site .nv-home-hero-card .nv-home-hero-excerpt {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.5;
  max-height: 3em;
}

#page.nv-site .nv-home-hero-card .nv-home-hero-excerpt > p {
  margin: 0;
  font: inherit;
  line-height: inherit;
}

#page.nv-site .nv-home-hero-card .nv-home-hero-excerpt:empty {
  display: none !important;
}

#page.nv-site .nv-home-side-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  height: auto;
  min-width: 0;
  border-left: 0;
  border-inline-start: 1px solid var(--nv-border);
  padding-left: 0;
  padding-inline-start: 20px;
}

#page.nv-site .nv-home-side-card {
  flex: 0 0 auto;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: start;
  margin: 0 !important;
  padding: 0 0 14px !important;
}

#page.nv-site .nv-home-side-card:last-child {
  padding-bottom: 0 !important;
}

#page.nv-site .nv-home-side-card > .nv-post-media {
  height: var(--nv-image-side-height);
  min-height: 0;
  aspect-ratio: auto;
}

/* Missing images produce text-only cards, with no vacant image column. */
#page.nv-site .nv-home-side-card:not(:has(> .nv-post-media)),
#page.nv-site .nv-category-showcase-compact:not(:has(> .nv-post-media)),
#page.nv-site .nv-story-featured:not(:has(> .nv-post-media)),
#page.nv-site .nv-trending-list li > a:not(:has(> .nv-trending-thumb)) {
  grid-template-columns: minmax(0, 1fr) !important;
}

#page.nv-site .nv-home-top-grid:not(:has(> .nv-home-side-list)),
#page.nv-site .nv-home-top-grid:not(:has(> .nv-home-hero-card > .nv-post-media)) {
  grid-template-columns: minmax(0, 1fr);
}

#page.nv-site .nv-home-top-grid:not(:has(> .nv-home-hero-card > .nv-post-media)) > .nv-home-side-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-inline-start: 0;
  padding-inline-start: 0;
}

#page.nv-site .nv-editor-card:not(:has(> .nv-post-media)) .nv-editor-card-body {
  min-height: 0;
}

@media (max-width: 1100px) {
  #page.nv-site .nv-home-top-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px !important;
  }

  #page.nv-site .nv-home-hero-card > .nv-post-media {
    flex: 0 0 auto;
  }

  #page.nv-site .nv-home-side-list,
  #page.nv-site .nv-home-top-grid:not(:has(> .nv-home-hero-card > .nv-post-media)) > .nv-home-side-list {
    display: flex;
    border-inline-start: 0;
    padding-inline-start: 0;
  }
}

/* Plain image frames: no backdrop copies, filters, or side decorations. */
#page.nv-site .nv-post-media,
#page.nv-site .nv-article-hero,
#page.nv-site .nv-page-featured {
  position: relative;
  overflow: hidden;
  background: transparent !important;
}

#page.nv-site .nv-post-media {
  display: block;
  overflow: hidden;
}

#page.nv-site .nv-story-card > .nv-post-media,
#page.nv-site .nv-archive-card > .nv-post-media,
#page.nv-site .nv-editor-card > .nv-post-media {
  width: 100%;
  height: var(--nv-image-card-height) !important;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  flex: 0 0 auto;
}

#page.nv-site .nv-category-showcase-featured > .nv-post-media {
  height: var(--nv-image-category-height) !important;
}

#page.nv-site .nv-video-news-item-featured > .nv-post-media {
  height: var(--nv-image-editor-height) !important;
}

#page.nv-site .nv-video-news-item-small > .nv-post-media {
  height: var(--nv-image-editor-small-height) !important;
}

#page.nv-site .nv-post-media img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: cover !important;
  object-position: center !important;
  transform: none !important;
}

#page.nv-site .nv-latest-grid,
#page.nv-site .nv-editor-grid,
#page.nv-site .nv-archive-grid,
#page.nv-site .nv-category-showcase-grid,
#page.nv-site .nv-video-news-grid {
  align-items: stretch;
}

#page.nv-site .nv-story-card:not(.nv-story-featured),
#page.nv-site .nv-archive-card,
#page.nv-site .nv-editor-card,
#page.nv-site .nv-video-news-item {
  display: flex;
  flex-direction: column;
}

#page.nv-site .nv-story-card > .nv-story-body,
#page.nv-site .nv-archive-card > .nv-archive-card-body,
#page.nv-site .nv-editor-card > .nv-editor-card-body,
#page.nv-site .nv-video-news-item > .nv-video-news-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 auto;
}

#page.nv-site .nv-story-card > .nv-story-body > .nv-post-meta,
#page.nv-site .nv-archive-card > .nv-archive-card-body > .nv-post-meta,
#page.nv-site .nv-editor-card-body > span:last-child,
#page.nv-site .nv-video-news-body > .nv-video-news-meta {
  margin-top: auto;
}

#page.nv-site .nv-category-showcase-featured > h3,
#page.nv-site .nv-video-news-body > h3 {
  line-height: 1.3;
  min-height: 2.6em;
}

#page.nv-site .nv-category-showcase-header {
  height: 44px;
  min-height: 44px;
}

#page.nv-site .nv-category-showcase-title-wrap {
  flex: 1 1 auto;
}

#page.nv-site .nv-category-showcase-header h2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-width: 0;
  max-height: 2.4em;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.2;
}

#page.nv-site .nv-category-showcase-more {
  flex: 0 0 auto;
}

@media (max-width: 599px) {
  #page.nv-site {
    --nv-image-home-height: 240px;
  }
}

#page.nv-site .nv-header-ad img,
#page.nv-site .nv-leader-image-link img,
#page.nv-site .nv-custom-header-media img {
  object-fit: contain !important;
}

/* One sidebar width and one card treatment on home, archives, posts and pages. */
#page.nv-site .nv-shared-sidebar {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

/* Four compact rows save 96px; panel padding saves a further 4px. */
#page.nv-site .nv-social-follow-sidebar .nv-social-follow-panel {
  padding: 8px 10px !important;
}

#page.nv-site .nv-social-follow-sidebar .nv-social-follow-item {
  min-height: 64px !important;
  padding: 6px 5px !important;
  justify-content: center !important;
  gap: 0 !important;
}

#page.nv-site .nv-social-follow-sidebar .nv-social-follow-item-top {
  gap: 4px !important;
}

#page.nv-site .nv-social-follow-sidebar .nv-social-follow-icon {
  width: 26px !important;
  height: 26px !important;
}

/* Below-content tablet sidebars keep portrait cards at a readable column width. */
@media (min-width: 600px) and (max-width: 980px) {
  #page.nv-site .nv-shared-sidebar {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start;
  }

  #page.nv-site .nv-shared-sidebar > .nv-social-follow-sidebar,
  #page.nv-site .nv-shared-sidebar > .nv-widget-stack {
    grid-column: 1 / -1;
  }
}

#page.nv-site .nv-shared-sidebar .nv-side-title {
  padding: 7px !important;
  gap: 7px !important;
}

#page.nv-site .nv-shared-sidebar .nv-trending-list {
  margin: 0 !important;
  padding: 0 7px 7px !important;
}

#page.nv-site .nv-shared-sidebar .nv-trending-list li > a {
  grid-template-columns: 58px minmax(0, 1fr) 34px !important;
  grid-template-areas: "thumb copy number" !important;
  height: auto !important;
  min-height: 92px !important;
  max-height: none !important;
  padding: 7px 0 !important;
  margin: 0 !important;
  gap: 7px !important;
}

#page.nv-site .nv-shared-sidebar .nv-trending-list li > a:not(:has(> .nv-trending-thumb)) {
  grid-template-columns: minmax(0, 1fr) 34px !important;
  grid-template-areas: "copy number" !important;
}

#page.nv-site .nv-shared-sidebar .nv-trending-copy {
  grid-area: copy !important;
  min-width: 0;
}

#page.nv-site .nv-shared-sidebar .nv-trending-list strong {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  height: auto !important;
  max-height: none !important;
  overflow: hidden;
  line-height: 1.42 !important;
}

#page.nv-site .nv-archive-grid > .nv-empty-card {
  grid-column: 1 / -1;
}

#page.nv-site .nv-story-body > p:empty,
#page.nv-site .nv-archive-card-body > p:empty {
  display: none;
}

@media (min-width: 981px) {
  #page.nv-site .nv-content-layout,
  #page.nv-site .nv-archive-layout,
  #page.nv-site .nv-article-layout,
  #page.nv-site .nv-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px !important;
    gap: 12px !important;
    align-items: start;
  }
}

@media (max-width: 980px) {
  #page.nv-site .nv-content-layout,
  #page.nv-site .nv-archive-layout,
  #page.nv-site .nv-article-layout,
  #page.nv-site .nv-page-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 24px !important;
  }
}

/* Disabled sidebar sections must not reserve an empty desktop column. */
#page.nv-site .nv-content-layout:not(:has(> .nv-shared-sidebar)),
#page.nv-site .nv-archive-layout:not(:has(> .nv-shared-sidebar)),
#page.nv-site .nv-article-layout:not(:has(> .nv-shared-sidebar)),
#page.nv-site .nv-page-layout:not(:has(> .nv-shared-sidebar)) {
  grid-template-columns: minmax(0, 1fr) !important;
}
