/* Neoton — Home Three (réplica visual, diseño refinado) */
:root {
  --neoton-navy: #152238;
  --neoton-navy-mid: #1e3254;
  --neoton-navy-deep: #0f1729;
  --neoton-blue: #2b61f2;
  --neoton-blue-hover: #1e4fd4;
  --neoton-blue-soft: rgba(43, 97, 242, 0.12);
  --badge-red: #dc2626;
  --badge-red-hover: #b91c1c;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --bg-soft: #f1f5f9;
  --bg-page: #fafbfc;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-out), opacity 0.2s;
}

a:hover {
  color: var(--neoton-blue);
}

:focus-visible {
  outline: 2px solid var(--neoton-blue);
  outline-offset: 2px;
}

button:focus-visible {
  outline-offset: 3px;
}

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

.container-narrow {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1400px) {
  .container-narrow {
    max-width: 1240px;
  }
}

/* —— Preloader —— */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--line);
  border-top-color: var(--neoton-blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* —— Top strip —— */
.top-strip {
  background: linear-gradient(90deg, var(--neoton-navy-deep) 0%, var(--neoton-navy-mid) 50%, var(--neoton-navy) 100%);
  color: #cbd5e1;
  font-size: 13px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-strip .container-narrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-strip__tag {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

.top-strip__sep {
  opacity: 0.5;
  margin: 0 8px;
}

.top-strip__headline-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.top-strip__lead-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #7dd3fc;
  font-size: 16px;
  line-height: 1;
}

.top-strip__headline {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.top-strip__headline:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.top-strip__muted {
  color: #94a3b8;
  font-weight: 500;
}

.top-strip__follow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-strip__follow span {
  font-weight: 600;
  color: #fff;
}

.top-strip__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.88;
  margin-left: 10px;
  font-size: 15px;
  transition: transform 0.2s var(--ease-out), opacity 0.2s;
}

.top-strip__social a:hover {
  opacity: 1;
  color: #fff;
  transform: translateY(-1px);
}

/* —— Main header —— */
.main-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.main-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, #60a5fa 0%, var(--neoton-blue) 45%, #1d4ed8 100%);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(43, 97, 242, 0.35);
}

.brand__mark--article {
  width: 40px;
  height: 40px;
  box-shadow: 0 3px 10px rgba(43, 97, 242, 0.28);
}

.brand--with-logo .brand__logo {
  display: block;
  max-height: 52px;
  width: auto;
  height: auto;
}

@media (max-width: 576px) {
  .brand--with-logo .brand__logo {
    max-height: 40px;
  }
}

.brand-footer__logo {
  display: block;
  max-height: 44px;
  width: auto;
  height: auto;
  opacity: 0.95;
}

.brand__text {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1;
}

.center-nav .nav-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--text) !important;
  padding: 8px 14px !important;
}

.center-nav .nav-link:hover {
  color: var(--neoton-blue) !important;
}

.center-nav .dropdown-menu {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 8px 0;
  margin-top: 8px !important;
}

.center-nav .dropdown-item {
  font-size: 14px;
  padding: 8px 18px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-tools .icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: var(--radius);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
}

.header-tools .icon-btn:hover {
  background: var(--neoton-blue-soft);
  color: var(--neoton-blue);
}

.btn-signin-neoton {
  background: linear-gradient(180deg, #3d71f5 0%, var(--neoton-blue) 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 11px 22px;
  border-radius: 10px;
  border: none;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 4px 14px rgba(43, 97, 242, 0.35);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, background 0.2s;
}

.btn-signin-neoton:hover {
  background: var(--neoton-blue-hover);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(43, 97, 242, 0.4);
}

.navbar-toggler {
  border: 1px solid var(--line);
  padding: 8px 12px;
}

/* —— Featured 4-up —— */
.featured-four {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.featured-four__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  height: 100%;
  border-right: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 0.2s var(--ease-out), box-shadow 0.2s;
}

.featured-four__item:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}

.featured-four .col-lg-3:last-child .featured-four__item {
  border-right: none;
}

@media (max-width: 991px) {
  .featured-four__item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
  }
}

.featured-four__thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.featured-four__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-four__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.featured-four__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--text);
}

.featured-four__meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* —— Hero split —— */
.hero-home3 {
  padding: 32px 0 40px;
}

.hero-big {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 440px;
  box-shadow: var(--shadow-lg);
}

.hero-big__img {
  position: absolute;
  inset: 0;
}

.hero-big__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-big__grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.45) 42%,
    rgba(15, 23, 42, 0.08) 65%,
    transparent 100%
  );
}

.hero-big__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px 24px;
  color: #fff;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(180deg, #ef4444 0%, var(--badge-red) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 7px 14px;
  margin-bottom: 14px;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.hero-big__title {
  font-size: clamp(24px, 3.8vw, 34px);
  font-weight: 800;
  line-height: 1.22;
  margin: 0 0 18px;
  max-width: 95%;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-big__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-big__meta .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
}

/* Side list */
.side-stack {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.side-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease-out);
}

.side-item:hover {
  background: var(--bg-soft);
}

.side-item:last-child {
  border-bottom: none;
}

.side-item__body {
  flex: 1;
  min-width: 0;
}

.side-item__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.side-item__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
}

.side-item__author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.side-item__author .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.side-item__thumb {
  width: 92px;
  height: 92px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.side-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— Post grid 6 —— */
.post-grid-six {
  padding-bottom: 8px;
}

.card-post {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out), border-color 0.2s;
}

.card-post:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: transparent;
}

.card-post__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.card-post:hover .card-post__img img {
  transform: scale(1.05);
}

.card-post__body {
  padding: 16px;
}

.card-post__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card-post__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
}

.card-post__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.card-post__meta .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* —— Section heading —— */
.section-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
  row-gap: 10px;
}

.section-bar h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  white-space: nowrap;
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 14px;
}

.section-bar h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--neoton-blue) 0%, #1d4ed8 100%);
}

.section-bar__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.section-bar__arrows {
  display: flex;
  gap: 8px;
}

.section-bar__arrows button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}

.section-bar__arrows button:hover:not(:disabled) {
  border-color: var(--neoton-blue);
  color: var(--neoton-blue);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}

.section-bar__arrows button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.section-bar .view-more-link {
  margin-left: auto;
  white-space: nowrap;
}

/* Latest posts carousel */
.lp-track-wrap {
  overflow: hidden;
  margin: 0 -8px;
}

.lp-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.lp-slide {
  flex: 0 0 100%;
  flex-shrink: 0;
  padding: 0 8px;
}

@media (min-width: 576px) {
  .lp-slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 992px) {
  .lp-slide {
    flex: 0 0 25%;
  }
}

.lp-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out), border-color 0.2s;
}

.lp-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: transparent;
}

.lp-card__img {
  aspect-ratio: 1.05;
  overflow: hidden;
}

.lp-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.lp-card:hover .lp-card__img img {
  transform: scale(1.04);
}

.lp-card__body {
  padding: 14px;
}

.lp-card__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.lp-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
  min-height: 44px;
}

.lp-card__meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* Newsletter */
.newsletter-bar {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #e2e8f0 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  margin: 40px 0;
}

.newsletter-bar__panel {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 28px 28px 28px 32px;
}

.newsletter-bar .row {
  align-items: center;
}

.newsletter-bar h3 {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  line-height: 1.3;
}

.newsletter-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.newsletter-bar .form-neoton {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin-left: auto;
}

.newsletter-bar .form-neoton input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px 0 0 10px;
  padding: 14px 18px;
  font-size: 14px;
  background: var(--bg-page);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-bar .form-neoton input:focus {
  outline: none;
  border-color: var(--neoton-blue);
  box-shadow: 0 0 0 3px var(--neoton-blue-soft);
  background: #fff;
}

.newsletter-bar .form-neoton .btn-sub {
  background: linear-gradient(180deg, #3d71f5 0%, var(--neoton-blue) 100%);
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 14px 26px;
  border-radius: 0 10px 10px 0;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(43, 97, 242, 0.3);
}

.newsletter-bar .form-neoton .btn-sub:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Most read list */
.most-read-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.most-read-item:last-child {
  border-bottom: none;
}

.most-read-item img {
  width: 88px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.most-read-item .cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.most-read-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}

/* Popular 3-col */
.popular-big {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.popular-big:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.popular-big__img {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.popular-big__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.popular-big:hover .popular-big__img img {
  transform: scale(1.03);
}

.popular-big__body {
  padding: 14px;
}

.popular-small {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.popular-small:last-of-type {
  border-bottom: none;
}

.popular-small img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  object-fit: cover;
}

.sidebar-ad {
  margin-top: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
  border: 1px dashed #93c5fd;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 16px;
  text-align: center;
}

.sidebar-ad strong {
  font-size: 22px;
  font-weight: 800;
}

.sidebar-ad .green {
  color: #16a34a;
  font-size: 42px;
  font-weight: 900;
}

.sidebar-ad .ad-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

.view-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0;
}

.view-more-link:hover {
  color: var(--neoton-blue);
}

/* Video */
.video-big {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-md);
}

.video-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
}

.video-play span {
  width: 72px;
  height: 72px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--neoton-blue);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.video-big:hover .video-play {
  background: rgba(0, 0, 0, 0.35);
}

.video-big:hover .video-play span {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(43, 97, 242, 0.35);
}

/* Categories */
.cat-cell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.cat-cell:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.cat-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.cat-cell:hover img {
  transform: scale(1.06);
}

.cat-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 50%);
}

.cat-cell .lbl {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 1;
  color: #fff;
}

.cat-cell .num {
  font-size: 12px;
  opacity: 0.9;
}

.cat-cell h4 {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 800;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--neoton-navy-deep) 0%, #0a0f1a 100%);
  color: #94a3b8;
  padding: 56px 0 28px;
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer .logo-text {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.site-footer h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
  font-size: 14px;
}

.site-footer a:hover {
  color: #fff;
}

.tags-cloud a {
  display: inline-block;
  background: rgba(255, 255, 255, 0.07);
  padding: 7px 14px;
  margin: 0 8px 10px 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}

.tags-cloud a:hover {
  background: var(--neoton-blue);
  border-color: var(--neoton-blue);
  color: #fff;
  transform: translateY(-1px);
}

.footer-news input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 12px;
  width: 100%;
  margin-bottom: 8px;
}

.footer-news .btn {
  width: 100%;
  background: var(--neoton-blue);
  border: none;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 10px;
}

.footer-news .btn-primary {
  background: var(--neoton-blue);
  border-color: var(--neoton-blue);
}

.footer-news .btn-primary:hover {
  background: var(--neoton-blue-hover);
  border-color: var(--neoton-blue-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* Contacto poco visible: debajo del copyright */
.site-footer__contact {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
  line-height: 1.4;
  color: rgba(148, 163, 184, 0.45);
  text-align: center;
}

.site-footer__contact-link {
  color: inherit;
  text-decoration: none;
}

.site-footer__contact-link:hover {
  color: rgba(148, 163, 184, 0.75);
  text-decoration: underline;
}

/* Dark theme (toggle) */
body.theme-dark {
  background: #0f172a;
  color: #e2e8f0;
  --bg-page: #0f172a;
}

body.theme-dark .main-header {
  background: rgba(15, 23, 42, 0.88);
  border-color: #334155;
}

body.theme-dark .card-post,
body.theme-dark .side-stack,
body.theme-dark .lp-card {
  background: #1e293b;
  border-color: #334155;
}

body.theme-dark .featured-four {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-color: #334155;
}

body.theme-dark .featured-four__item:hover {
  background: #334155;
}

body.theme-dark .newsletter-bar__panel {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

body.theme-dark .newsletter-bar .form-neoton input {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}

body.theme-dark .newsletter-bar .form-neoton input:focus {
  background: #1e293b;
}

body.theme-dark .text-muted,
body.theme-dark .featured-four__cat {
  color: #94a3b8 !important;
}

body.theme-dark .section-bar__line {
  background: #334155;
}

body.theme-dark .newsletter-bar {
  background: #1e293b;
}

body.theme-dark .bg-light {
  background-color: #1e293b !important;
}

.block-section {
  padding: 32px 0;
}

/* —— Artículo (CMS) —— */
.article-body {
  font-size: 1.05rem;
  color: var(--text);
}

.article-body p {
  margin-bottom: 1rem;
}

.article-body h2,
.article-body h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.article-body a {
  color: var(--neoton-blue);
  text-decoration: underline;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

@media (max-width: 991px) {
  .newsletter-bar .form-neoton {
    margin-left: 0;
    margin-top: 8px;
    max-width: none;
    flex-direction: column;
  }

  .newsletter-bar .form-neoton input {
    border-radius: 10px;
  }

  .newsletter-bar .form-neoton .btn-sub {
    border-radius: 10px;
    width: 100%;
  }

  .newsletter-bar__panel {
    padding: 22px 20px;
  }

  .section-bar h2 {
    white-space: normal;
    font-size: 20px;
  }
}
