/**
 * Theme-aware overrides loaded after style.css.
 * Keeps meta/date text readable in dark mode when the template hardcodes #111.
 */

/* ---------- Links (override Bootstrap #007bff / #0056b3) ---------- */
a:hover,
a:focus {
  color: var(--color-primary);
}

.static-page a,
.ne-article-body a {
  color: var(--color-heading);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.static-page a:visited,
.ne-article-body a:visited {
  color: var(--color-heading);
}
.static-page a:hover,
.static-page a:focus,
.static-page a:visited:hover,
.ne-article-body a:hover,
.ne-article-body a:focus,
.ne-article-body a:visited:hover {
  color: var(--color-primary);
}

/* ---------- Site logo ---------- */
.site-logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.site-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

/* Home: h1 wrapping logo — reset theme h1 styles */
h1.site-logo-heading {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  line-height: inherit;
  color: inherit;
  text-transform: none;
}

.logo-area .site-logo {
  padding: 6px 0;
}

.logo-area .site-logo img {
  max-height: 48px;
  width: auto;
}

a.footer-logo.site-logo,
.footer-logo.site-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

a.footer-logo.site-logo img,
.footer-logo.site-logo img {
  max-height: 56px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  a.footer-logo.site-logo,
  .footer-logo.site-logo {
    margin-bottom: 1.25rem;
  }
  a.footer-logo.site-logo img,
  .footer-logo.site-logo img {
    max-height: 48px;
  }
}

a.logo-mobile.site-logo,
.logo-mobile.site-logo {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

a.logo-mobile.site-logo img,
.logo-mobile.site-logo img {
  max-height: 40px;
  width: auto;
}

/* ---------- Footer bottom: tipografia alinhada ao site ---------- */
.footer-area-bottom {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-footer-text);
}
.footer-area-bottom p {
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-footer-text);
  opacity: 0.85;
}
.footer-area-bottom .footer-credit {
  margin-bottom: 0;
  font-size: 13px;
  opacity: 0.7;
}
.footer-area-bottom .footer-credit a {
  color: var(--color-footer-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-area-bottom .footer-credit a:hover {
  color: var(--color-primary);
}
.footer-area-bottom .ne-cmp-footer-link-wrap {
  margin: 0.5rem 0 1rem;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
}
.footer-area-bottom .ne-cmp-footer-link,
.footer-area-bottom button.ne-cmp-footer-link {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-footer-text);
}
.footer-area-bottom .ne-cmp-footer-link:hover,
.footer-area-bottom button.ne-cmp-footer-link:hover {
  color: var(--color-primary);
}
.footer-area-bottom ul.footer-social {
  margin-bottom: 1.25rem;
}
.footer-area-bottom ul.footer-social li a {
  font-size: 16px;
}

@media (max-width: 767px) {
  .footer-area-bottom {
    font-size: 14px;
  }
  .footer-area-bottom p,
  .footer-area-bottom .ne-cmp-footer-link-wrap,
  .footer-area-bottom .ne-cmp-footer-link,
  .footer-area-bottom button.ne-cmp-footer-link {
    font-size: 14px;
  }
  .footer-area-bottom .footer-credit {
    font-size: 12px;
  }
}

/* Desktop nav: keep all items on a single line (8 uppercase labels) */
@media (min-width: 992px) {
  .main-menu-area .ne-main-menu nav > ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
  }
  .main-menu-area .ne-main-menu nav > ul > li {
    display: block;
    flex: 0 1 auto;
    white-space: nowrap;
  }
  .header-style1 .main-menu-area .ne-main-menu nav > ul > li > a {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 13px;
    letter-spacing: 0.01em;
  }
  .header-style1 .stick .ne-main-menu nav > ul > li > a {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .header-style1 .main-menu-area .ne-main-menu nav > ul > li > a,
  .header-style1 .stick .ne-main-menu nav > ul > li > a {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    font-size: 12px;
  }
  .logo-area .site-logo img {
    max-height: 40px;
  }
}

/* Nav dropdown: dark text on primary green (template used #fff — poor contrast) */
.main-menu-area .ne-main-menu nav ul li ul.ne-dropdown-menu > li a,
.header-style1 .main-menu-area .ne-main-menu nav ul li ul.ne-dropdown-menu > li a {
  color: var(--color-on-primary);
}

.main-menu-area .ne-main-menu nav ul li ul.ne-dropdown-menu > li a:hover,
.main-menu-area .ne-main-menu nav ul li ul.ne-dropdown-menu > li a:focus,
.header-style1 .main-menu-area .ne-main-menu nav ul li ul.ne-dropdown-menu > li a:hover,
.header-style1 .main-menu-area .ne-main-menu nav ul li ul.ne-dropdown-menu > li a:focus {
  color: var(--color-primary);
}

.post-date-dark ul li,
.post-date-dark ul li a {
  color: var(--color-text-muted);
}

.post-date-dark ul li a:hover {
  color: var(--color-primary);
}

.post-date-dark ul li span,
.post-date-dark ul li i {
  color: inherit;
}

/* Platform category colors — topic-border + topic-box-lg/sm */
.color-ios:before {
  border-top: 8px solid #cccccc;
  border-right: 8px solid transparent;
}
.color-ios:after {
  background-color: #cccccc;
}
.topic-box-lg.color-ios,
.topic-box-sm.color-ios {
  color: #333333 !important;
}

.color-android:before {
  border-top: 8px solid #43a047;
  border-right: 8px solid transparent;
}
.color-android:after {
  background-color: #43a047;
}

.color-flutter:before {
  border-top: 8px solid #0ea4e9;
  border-right: 8px solid transparent;
}
.color-flutter:after {
  background-color: #0ea4e9;
}

.color-react-native:before {
  border-top: 8px solid #7c3aed;
  border-right: 8px solid transparent;
}
.color-react-native:after {
  background-color: #7c3aed;
}

.topic-box-lg.color-react-native,
.topic-box-sm.color-react-native {
  background-color: #7c3aed;
}

/* Archive category navigation */
.ne-category-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ne-category-nav li {
  margin: 0 0 8px;
}
.ne-category-nav a {
  display: block;
  color: var(--color-text);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
}
.ne-category-nav a:hover,
.ne-category-nav li.active a {
  color: var(--color-primary);
}
.ne-breadcrumbs .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0 0 20px;
}
.ne-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--color-text-muted);
}
.ne-breadcrumbs .breadcrumb-item a {
  color: var(--color-text-muted);
}
.ne-breadcrumbs .breadcrumb-item.active {
  color: var(--color-heading);
}

/* Social sidebar — 2 networks, no text overlap */
ul.stay-connected.ne-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  float: none;
  overflow: visible;
}
ul.stay-connected.ne-social-list > li {
  width: calc(50% - 6px);
  float: none;
  display: block;
  border-right: 0;
  margin: 0;
  padding: 0;
  text-align: left;
  box-sizing: border-box;
}
ul.stay-connected.ne-social-list > li > a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
ul.stay-connected.ne-social-list > li > a:hover,
ul.stay-connected.ne-social-list > li > a:focus {
  opacity: 1;
  border-color: var(--color-primary);
  color: var(--color-heading);
}
ul.stay-connected.ne-social-list > li i {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin: 0;
  font-size: 16px;
  text-align: center;
}
ul.stay-connected.ne-social-list .ne-social-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
ul.stay-connected.ne-social-list .ne-social-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-heading);
}
ul.stay-connected.ne-social-list .ne-social-handle {
  font-size: 12px;
  line-height: 1.2;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
ul.stay-connected.ne-social-list .youtube i {
  background-color: #ff0000;
}
ul.stay-connected.ne-social-list .instagram i {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

/* Article detail */
.ne-article-detail {
  max-width: 860px;
  margin: 0 auto;
}
.ne-article-header {
  margin-bottom: 28px;
}
.ne-article-lead {
  color: var(--color-text-muted);
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 18px;
}
.ne-article-meta ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.ne-article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 0 0 28px;
}
.ne-article-share-label {
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ne-article-share-list {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ne-article-share-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-heading);
  background: var(--color-surface);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.ne-article-share-list a:hover,
.ne-article-share-list a:focus {
  color: #ffffff;
  outline: none;
}
.ne-article-share-list .ne-share-linkedin:hover,
.ne-article-share-list .ne-share-linkedin:focus {
  background: #0a66c2;
  border-color: #0a66c2;
}
.ne-article-share-list .ne-share-x:hover,
.ne-article-share-list .ne-share-x:focus {
  background: #111111;
  border-color: #111111;
}
[data-theme="dark"] .ne-article-share-list .ne-share-x:hover,
[data-theme="dark"] .ne-article-share-list .ne-share-x:focus {
  background: #e7e9ea;
  border-color: #e7e9ea;
  color: #0f1419;
}
.ne-article-hero {
  margin: 0 0 30px;
}
.ne-article-hero img {
  border-radius: 10px;
}
.ne-article-hero figcaption {
  color: var(--color-text-muted);
  font-size: 13px;
  margin-top: 8px;
}

.ne-article-video {
  margin: 0 0 30px;
}
.ne-article-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #0b0f14;
}
.ne-article-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Broken cover/thumb → brand logo fallback */
img.ne-img-fallback {
  object-fit: contain;
  object-position: center;
  background: #111111;
  padding: 2.25rem;
}
.ne-article-hero img.ne-img-fallback {
  width: 100%;
  min-height: 220px;
  max-height: 320px;
}
.img-overlay-70 img.ne-img-fallback,
.img-scale-animate img.ne-img-fallback,
.media img.ne-img-fallback {
  min-height: 120px;
  max-height: 200px;
  width: 100%;
}
.ne-article-body {
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.7;
}
.ne-article-body p {
  margin-bottom: 22px;
}
/* Article tables — borders, padding, zebra, horizontal scroll */
.ne-article-body table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 0 22px;
  font-size: 0.9em;
  line-height: 1.5;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ne-article-body th,
.ne-article-body td {
  border: 1px solid var(--color-border);
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
}
.ne-article-body th {
  background: var(--color-surface-2);
  color: var(--color-heading);
  font-weight: 600;
}
.ne-article-body tr:nth-child(even) td {
  background: var(--color-surface-2);
}
.ne-source-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 10px;
  margin: 36px 0 28px;
  padding: 22px 24px;
  background: var(--color-surface);
}
.ne-source-cta h2 {
  color: var(--color-heading);
  font-size: 20px;
  margin: 0 0 8px;
}
.ne-source-cta p {
  color: var(--color-text-muted);
  margin: 0;
}
.ne-source-cta-link {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--color-primary);
  color: #111111 !important;
  font-weight: 700;
  padding: 12px 18px;
}
.ne-source-cta-link:hover,
.ne-source-cta-link:focus {
  color: #111111 !important;
  opacity: 0.9;
}
.ne-article-tags {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-top: 20px;
}
.ne-article-tags a {
  color: var(--color-primary);
  margin-right: 8px;
}

@media (max-width: 767px) {
  .ne-source-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .ne-article-body {
    font-size: 18px;
  }
}

/* Article code blocks — readable contrast + highlight.js tokens */
.ne-article-body pre,
.ne-article-body :not(pre) > code {
  font-family: var(--font-mono);
}
.ne-article-body :not(pre) > code {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-heading);
  font-size: 0.9em;
  padding: 0.12em 0.4em;
}
.ne-code-block {
  margin: 0 0 28px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  background: #0f1419;
}
.ne-code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: #1a222c;
  border-bottom: 1px solid #2a3441;
}
.ne-code-lang {
  color: #9fb0c3;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ne-code-copy {
  appearance: none;
  border: 1px solid #3a4656;
  border-radius: 999px;
  background: transparent;
  color: #e8eef6;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 12px;
}
.ne-code-copy:hover,
.ne-code-copy:focus {
  border-color: var(--color-primary);
  color: #ffffff;
  outline: none;
}
.ne-code-copy.is-copied {
  border-color: var(--color-primary);
  background: rgba(153, 204, 0, 0.15);
  color: var(--color-primary);
}
.ne-article-body .ne-code-block pre,
.ne-article-body pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  background: #0f1419 !important;
  color: #e8eef6 !important;
  font-size: 14px;
  line-height: 1.65;
  border: 0;
  border-radius: 0;
}
.ne-article-body pre code,
.ne-article-body .hljs {
  background: transparent !important;
  color: #e8eef6 !important;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  white-space: pre;
}
.ne-article-body .hljs-comment,
.ne-article-body .hljs-quote {
  color: #8b9bb0;
  font-style: italic;
}
.ne-article-body .hljs-keyword,
.ne-article-body .hljs-selector-tag,
.ne-article-body .hljs-meta .hljs-keyword,
.ne-article-body .hljs-doctag,
.ne-article-body .hljs-section,
.ne-article-body .hljs-name,
.ne-article-body .hljs-type,
.ne-article-body .hljs-selector-id,
.ne-article-body .hljs-selector-class,
.ne-article-body .hljs-strong {
  color: #ff7b72;
}
.ne-article-body .hljs-string,
.ne-article-body .hljs-title,
.ne-article-body .hljs-title.class_,
.ne-article-body .hljs-title.function_,
.ne-article-body .hljs-attr,
.ne-article-body .hljs-attribute,
.ne-article-body .hljs-symbol,
.ne-article-body .hljs-bullet,
.ne-article-body .hljs-addition {
  color: #a5d6ff;
}
.ne-article-body .hljs-number,
.ne-article-body .hljs-literal,
.ne-article-body .hljs-variable,
.ne-article-body .hljs-template-variable,
.ne-article-body .hljs-tag .hljs-attr,
.ne-article-body .hljs-template-tag {
  color: #79c0ff;
}
.ne-article-body .hljs-built_in,
.ne-article-body .hljs-class .hljs-title,
.ne-article-body .hljs-meta,
.ne-article-body .hljs-regexp,
.ne-article-body .hljs-link {
  color: #d2a8ff;
}
.ne-article-body .hljs-deletion {
  color: #ffa198;
}
.ne-article-body .hljs-emphasis {
  font-style: italic;
}

[data-theme="light"] .ne-article-body :not(pre) > code {
  background: #f3f5f7;
  color: #1f2328;
}

/* ---------- Sidebar compact ---------- */
.ne-sidebar .sidebar-box {
  margin-bottom: 1.35rem;
}
.ne-sidebar .sidebar-box:last-child {
  margin-bottom: 0;
}
.ne-sidebar .sidebar-break-md,
.sidebar-break-md {
  margin-top: 1.5rem;
}
@media (min-width: 992px) {
  .ne-sidebar.sidebar-break-md,
  .sidebar-break-md {
    margin-top: 0;
  }
}
.ne-sidebar .topic-border.mb-15 {
  margin-bottom: 15px;
}
.ne-sidebar .sidebar-box--newsletter .nm-newsletter__title {
  margin-bottom: 0.65rem;
}

/* Offset content below always-fixed header.
   Use padding on #wrapper (not margin on the section) so the offset
   cannot collapse through main/section and leave filters under the bar. */
#wrapper {
  padding-top: 88px;
}
.add-top-margin {
  margin-top: 0;
}
@media (max-width: 991px) {
  #wrapper {
    padding-top: 72px;
  }
  body.mean-container #wrapper {
    padding-top: 72px;
  }
  /* Desktop header stays in DOM for meanmenu, but must not cover filters */
  body.mean-container #sticker.header-menu-fixed {
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    pointer-events: none !important;
    z-index: auto !important;
  }
}

/* ---------- Home featured carousel (iOS-like, no parallax) ---------- */
.ne-featured {
  margin: 0 0 1.5rem;
}
.ne-featured[hidden] {
  display: none !important;
}
.ne-featured__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 5%;
  padding-inline: 5%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ne-featured__track::-webkit-scrollbar {
  display: none;
}
.ne-featured__slide {
  flex: 0 0 90%;
  max-width: 90%;
  scroll-snap-align: center;
}
.ne-featured__card {
  position: relative;
  display: block;
  height: 190px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #111;
}
@media (min-width: 768px) {
  .ne-featured__card {
    height: 320px;
  }
  .ne-featured__content {
    padding: 24px;
    gap: 8px;
  }
}
@media (min-width: 1200px) {
  .ne-featured__card {
    height: 380px;
  }
  .ne-featured__content {
    padding: 32px;
    gap: 16px;
  }
}
.ne-featured__card:hover,
.ne-featured__card:focus-visible {
  color: #fff;
  text-decoration: none;
}
.ne-featured__card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
.ne-featured__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ne-featured__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 42%,
    rgba(0, 0, 0, 0.28) 68%,
    rgba(0, 0, 0, 0.82) 100%
  );
  pointer-events: none;
}
.ne-featured__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Tipografia do feed (.title-medium-dark.size-md), levemente maior e em negrito no destaque */
.ne-featured__title,
.ne-featured .title-medium-dark.size-md {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  text-transform: none;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.ne-featured__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
}
.ne-featured__category {
  text-transform: uppercase;
}
.ne-featured__meta-sep {
  opacity: 0.7;
}
.ne-featured__date {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.92;
}
.ne-featured__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
}
.ne-featured__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.ne-featured__dot.is-active {
  background: var(--color-primary);
}
.ne-featured__dot:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* ---------- Home stack filters + news rows ---------- */
.ne-stack-filters {
  margin-bottom: 1.5rem;
}
.ne-stack-filters__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.ne-stack-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ne-stack-filter:hover,
.ne-stack-filter:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-heading);
}
.ne-stack-filter.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}
.ne-home-feed__groups {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.ne-home-feed__group[hidden] {
  display: none !important;
}
.ne-home-feed__group-head {
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}
.ne-home-feed__group-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-heading);
}
.ne-home-feed__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.75rem;
  row-gap: 0;
}
.ne-home-feed__group-empty {
  margin: 0.5rem 0 0;
}
.ne-home-feed__more-wrap {
  margin-top: 0.75rem;
  display: flex;
  justify-content: flex-end;
}
.ne-home-feed__more {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}
.ne-home-feed__more:hover,
.ne-home-feed__more:focus-visible {
  text-decoration: underline;
  color: var(--color-heading);
}
.ne-home-feed__empty {
  margin: 1rem 0 0;
}
.ne-home-feed__empty[hidden] {
  display: none !important;
}
.media.ne-news-row {
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  min-width: 0;
}
.media.ne-news-row[hidden] {
  display: none !important;
}
.media.ne-news-row .img-opacity-hover {
  flex: 0 0 auto;
  margin-right: 0.85rem;
}
.media.ne-news-row .img-opacity-hover img,
.media.ne-news-row img {
  border-radius: 8px;
  overflow: hidden;
}
.media.ne-news-row .media-body {
  min-width: 0;
}
.media.ne-news-row .ne-news-row__stack {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.45rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary);
}
.media.ne-news-row .ne-news-row__stack.color-ios {
  background: #cccccc;
  color: #333333;
}
.media.ne-news-row .ne-news-row__stack.color-android {
  background: #43a047;
  color: #ffffff;
}
.media.ne-news-row .ne-news-row__stack.color-flutter {
  background: #0ea4e9;
  color: #ffffff;
}
.media.ne-news-row .ne-news-row__stack.color-react-native {
  background: #7c3aed;
  color: #ffffff;
}
.media.ne-news-row .ne-news-row__stack.color-primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
}
.media.ne-news-row .ne-news-row__meta {
  margin-top: 0.35rem;
}
.media.ne-news-row .title-medium-dark.size-md {
  margin-bottom: 0;
}
.ne-home-feed .title-medium-dark.size-md,
.media.ne-news-row .title-medium-dark.size-md {
  font-size: 17px;
  line-height: 1.35;
}

/* ---------- Home after-feed: social + newsletter ---------- */
.ne-home-afterfeed {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.ne-home-social {
  margin-bottom: 2.25rem;
}
.ne-home-social .sidebar-box {
  background: transparent;
  margin-bottom: 0;
}
.ne-home-social .topic-border {
  text-align: center;
  margin-bottom: 1.25rem;
}
.ne-home-social .topic-box-lg {
  display: inline-block;
  float: none;
  font-size: 18px;
}
.ne-home-social ul.stay-connected.ne-social-list {
  justify-content: center;
  gap: 1rem;
}
.ne-home-social ul.stay-connected.ne-social-list > li {
  width: auto;
  flex: 0 1 auto;
  min-width: 11rem;
  max-width: 16rem;
}
.ne-home-newsletter {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}
.ne-home-newsletter .sidebar-box {
  background: transparent;
  margin-bottom: 0;
}
.ne-home-newsletter .newsletter-area.nm-newsletter-wrap,
.ne-home-newsletter .nm-newsletter--home {
  text-align: center;
  max-width: none;
  margin: 0 auto;
}
.ne-home-newsletter .nm-newsletter__title {
  font-size: 24px;
  margin-bottom: 1.1rem;
}
.ne-home-newsletter .nm-newsletter__email-row {
  justify-content: center;
}
.ne-home-newsletter .nm-newsletter__email {
  height: 46px;
  font-size: 16px;
}
.ne-home-newsletter .nm-newsletter__submit {
  height: 46px;
  padding: 0 1.25rem;
  font-size: 16px;
}
.ne-home-newsletter .nm-newsletter__stack-list {
  justify-content: center;
  gap: 0.65rem 1.1rem;
}
.ne-home-newsletter .nm-newsletter__stack {
  font-size: 15px;
}
.ne-home-newsletter .nm-newsletter__legal {
  font-size: 14px;
}
.ne-home-newsletter .nm-newsletter__status {
  font-size: 14px;
}

/* ---------- Mobile type bump (title + newsletter) ---------- */
@media (max-width: 767px) {
  .ne-home-feed__list {
    grid-template-columns: 1fr;
  }
  .ne-featured__title,
  .ne-featured .title-medium-dark.size-md {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
  }
  .ne-featured__meta {
    font-size: 14px;
  }
  .ne-stack-filter {
    font-size: 15px;
    padding: 0.6rem 1.1rem;
  }
  .nm-newsletter__title {
    font-size: 22px;
  }
  .ne-home-newsletter .nm-newsletter__title {
    font-size: 22px;
  }
  .ne-home-newsletter .nm-newsletter__stack {
    font-size: 15px;
  }
  .ne-home-newsletter .nm-newsletter__email,
  .ne-home-newsletter .nm-newsletter__submit {
    font-size: 16px;
  }
  .topic-box-lg {
    font-size: 17px;
  }
  .ne-home-feed .title-medium-dark.size-md,
  .media.ne-news-row .title-medium-dark.size-md {
    font-size: 16px;
    line-height: 1.35;
  }
  .ne-home-social ul.stay-connected.ne-social-list > li {
    min-width: 0;
    width: calc(50% - 0.5rem);
    max-width: none;
  }
  .ne-home-afterfeed {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
  }
  .site-logo img {
    max-height: 44px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .ne-home-feed__list {
    column-gap: 1.25rem;
  }
  .ne-home-feed .title-medium-dark.size-md,
  .media.ne-news-row .title-medium-dark.size-md {
    font-size: 16px;
  }
}



/* Mobile chrome: taller bar for larger theme toggle; reliable wrapper offset */
.mean-container .mean-bar .mobile-menu-nav-back {
  height: 72px;
}
.mean-container .mean-bar + div#wrapper {
  padding-top: 0; /* skip-link breaks adjacent sibling; #wrapper padding is set above */
}
body.mean-container #wrapper {
  padding-top: 72px;
}
