/* =========================================================
   EasyAdmin8 Blog · Template 4 — "NextPulse"
   News portal theme: navy chrome, red accents, big features.
   ========================================================= */

:root {
  --navy: #0b1b4a;
  --navy-2: #12245c;
  --navy-deep: #081337;
  --red: #e11d29;
  --red-dark: #c0131e;
  --blue: #1f5fec;
  --blue-dark: #1548b8;
  --pink: #ff2d6b;
  --ink: #0f1115;
  --ink-2: #2b2f36;
  --muted: #6b7280;
  --faint: #9aa1ab;
  --line: #e7e9ee;
  --line-2: #dfe2e8;
  --bg: #ffffff;
  --soft: #f4f5f7;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  --container: 1220px;
  --shadow: 0 6px 24px rgba(15, 17, 21, 0.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-theme="dark"] {
  --ink: #eef1f5;
  --ink-2: #c7ccd4;
  --muted: #9aa1ab;
  --faint: #6b7280;
  --line: #232830;
  --line-2: #2b313b;
  --bg: #0d1017;
  --soft: #141922;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
video, iframe, table { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(225, 29, 41, 0.2); color: var(--ink); }

.np-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 400; }
.skip-link:focus { left: 12px; top: 12px; }

.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--red); z-index: 400; transition: width 0.1s linear; }

/* ---------- Header ---------- */
.np-header { position: sticky; top: 0; z-index: 200; background: var(--navy); border-bottom: 3px solid var(--red); }
.np-headerline { display: none; }
.np-header__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; }
.np-logo { font-weight: 800; font-size: 22px; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.np-logo:hover { color: #fff; }
.np-nav { display: flex; align-items: center; gap: 24px; flex: 1; justify-content: center; }
.np-nav a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.82); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; transition: color 0.15s ease; }
.np-nav a:hover, .np-nav a.is-active { color: #fff; }
.np-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }
.np-nav a:nth-child(2) .np-dot { background: #1f5fec; }
.np-nav a:nth-child(3) .np-dot { background: #e11d29; }
.np-nav a:nth-child(4) .np-dot { background: #12b76a; }
.np-nav a:nth-child(5) .np-dot { background: #f79009; }
.np-nav a:nth-child(6) .np-dot { background: #9e77ed; }
.np-nav a:nth-child(7) .np-dot { background: #06aed4; }
.np-nav a:nth-child(8) .np-dot { background: #ff2d6b; }

.np-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.np-icon-btn, .np-btn, .np-menu-toggle { cursor: pointer; }
.np-icon-btn { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; background: transparent; color: #fff; transition: border-color 0.15s ease, background-color 0.15s ease; }
.np-icon-btn:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.np-icon-btn .ico-moon { display: none; }
html[data-theme="dark"] .np-icon-btn .ico-sun { display: none; }
html[data-theme="dark"] .np-icon-btn .ico-moon { display: block; }

.np-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 3px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; transition: background-color 0.18s ease, color 0.18s ease; }
.np-btn--blue { background: var(--blue); color: #fff; }
.np-btn--blue:hover { background: var(--blue-dark); }
.np-btn--light { background: #fff; color: var(--navy); }
.np-btn--light:hover { background: #eef1f5; }

.np-menu-toggle { display: none; flex-direction: column; gap: 4px; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 4px; background: transparent; }
.np-menu-toggle span { display: block; width: 18px; height: 2px; background: #fff; }

.np-mobile { display: none; background: var(--navy-2); padding: 8px 24px 16px; }
.np-mobile.open, .np-mobile.show { display: block; }
.np-mobile a { display: block; padding: 12px 0; color: rgba(255, 255, 255, 0.9); font-weight: 600; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.np-mobile a:last-child { border-bottom: 0; }

/* language switch on navy */
.lang-switch { position: relative; display: inline-flex; align-items: center; z-index: 30; flex-shrink: 1; min-width: 0; }
.lang-switch__btn { min-width: 84px; max-width: 140px; height: 36px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 4px; background: transparent; color: #fff; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; transition: border-color 0.15s ease, background-color 0.15s ease; }
.lang-switch__btn:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.lang-switch__menu { position: fixed; left: 0; right: 0; top: var(--lang-menu-top, 58px); bottom: 0; z-index: 1200; height: calc(100vh - var(--lang-menu-top, 58px)); height: calc(100dvh - var(--lang-menu-top, 58px)); margin: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; border: 0; border-top: 3px solid var(--red); background: #fff; box-shadow: 0 20px 60px rgba(8, 19, 55, 0.28); box-sizing: border-box; }
.lang-switch__menu[hidden] { display: none !important; }
html[data-theme="dark"] .lang-switch__menu { background: #0d1017; }
.lang-switch__toolbar { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; padding-top: calc(14px + env(safe-area-inset-top, 0px)); border-bottom: 1px solid var(--line); background: inherit; }
.lang-switch__title { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); }
.lang-switch__close { min-height: 36px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; font-weight: 600; }
.lang-switch__close:hover { border-color: var(--ink); }
.lang-switch__grid { flex: 1 1 auto; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); align-content: start; gap: 2px 8px; padding: 16px clamp(16px, 3vw, 40px) calc(28px + env(safe-area-inset-bottom, 0px)); }
.lang-switch__grid button { display: block; width: 100%; min-height: 44px; text-align: left; border: 0; background: transparent; color: var(--ink); padding: 10px 12px; border-radius: 4px; cursor: pointer; font-size: 14px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-switch__grid button:hover, .lang-switch__grid button.is-current { background: rgba(225, 29, 41, 0.1); color: var(--red); font-weight: 700; }
body.lang-menu-open { overflow: hidden; touch-action: none; }

/* ---------- shared bits ---------- */
.np-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--red); }
.np-tag--solid { background: var(--red); color: #fff; padding: 3px 8px; border-radius: 2px; }
.np-meta { font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.05em; }
.np-meta--light { color: rgba(255, 255, 255, 0.72); }
.np-side-title { margin: 0 0 6px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.np-media--empty { background: linear-gradient(135deg, var(--blue), var(--navy)) !important; }

.np-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  text-align: center;
}
.np-ph--dark { background: linear-gradient(135deg, #16295f, var(--navy-deep)); }

/* media wrappers */
.np-mini__media, .np-card__media, .np-big__media, .np-rowcard__media, .np-darkcard__media, .np-trend__media, .np-lead__media {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--soft);
}
.np-mini__media img, .np-card__media img, .np-big__media img, .np-rowcard__media img, .np-darkcard__media img, .np-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.np-mini__media { aspect-ratio: 16 / 11; }
.np-card__media { aspect-ratio: 16 / 10; }
.np-card--sm .np-card__media { aspect-ratio: 4 / 3; }
.np-big__media { aspect-ratio: 16 / 10; }
.np-rowcard__media { width: 140px; aspect-ratio: 4 / 3; flex: none; }
.np-darkcard--big .np-darkcard__media { aspect-ratio: 16 / 10; }
.np-darkcard--small .np-darkcard__media { aspect-ratio: 4 / 3; }
.np-trend__media { width: 66px; height: 50px; flex: none; }
.np-trend__media img { position: absolute; inset: 0; }

/* ---------- Hero ---------- */
.np-hero { padding: 34px 0 0; }
.np-hero__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.75fr) minmax(0, 1.05fr); gap: 30px; align-items: start; }
.np-hero__left { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.np-mini { min-width: 0; }
.np-mini__title { margin: 10px 0 4px; font-size: 16px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.np-mini__title a:hover { color: var(--red); }

.np-lead__media { min-height: 440px; }
.np-lead__media > .np-ph { position: absolute; inset: 0; }
.np-lead__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 10, 25, 0) 34%, rgba(6, 10, 25, 0.86)); }
.np-lead__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: #fff; }
.np-lead__title { font-size: clamp(22px, 2.3vw, 32px); font-weight: 800; line-height: 1.16; overflow-wrap: anywhere; }

.np-trend { margin: 0; }
.np-trend__item { display: grid; grid-template-columns: 26px 66px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.np-trend__item:last-child { border-bottom: 0; }
.np-trend__num { font-weight: 800; font-size: 14px; color: var(--red); }
.np-trend__title { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; overflow-wrap: anywhere; }
.np-trend__title:hover { color: var(--red); }

/* ---------- Headline strip ---------- */
.np-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; padding-top: 26px; padding-bottom: 26px; margin-top: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.np-strip__item { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; border-left: 3px solid var(--red); min-width: 0; }
.np-strip__title { font-size: 15px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.np-strip__item:hover .np-strip__title { color: var(--red); }

/* ---------- Feature (big + trending) ---------- */
.np-feature { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; padding-top: 46px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.np-feature__main { min-width: 0; }
.np-feature__side { min-width: 0; }
.np-big { display: flex; flex-direction: column; gap: 16px; }
.np-big > .np-tag { align-self: flex-start; }
.np-big__title { margin: 0; font-size: clamp(22px, 2.5vw, 32px); font-weight: 800; line-height: 1.22; overflow-wrap: anywhere; }
.np-big__title a:hover { color: var(--red); }
.np-big__desc { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.np-rowcard { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.np-rowcard:last-child { border-bottom: 0; }
.np-rowcard__title { margin: 8px 0 4px; font-size: 16px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.np-rowcard__title a:hover { color: var(--red); }

/* ---------- Dark section ---------- */
.np-dark { background: var(--navy); color: #fff; padding: 54px 0; margin-top: 46px; }
.np-dark a { color: #fff; }
.np-dark__heading { margin: 0 0 34px; font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.01em; }
.np-dark__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.np-darkcard--big { grid-column: span 2; }
.np-darkcard__body h3 { margin: 14px 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.np-darkcard--big .np-darkcard__body h3 { font-size: 24px; }
.np-darkcard__body h3 a:hover { color: #cfe0ff; }

/* ---------- Topics ---------- */
.np-topics { padding-top: 58px; padding-bottom: 40px; text-align: center; }
.np-center-title { margin: 0 0 8px; font-family: var(--serif); font-weight: 900; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.01em; }
.np-center-sub { margin: 0 0 30px; color: var(--muted); font-size: 14px; }
.np-topics__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.np-topic { display: flex; align-items: center; justify-content: center; width: 180px; height: 104px; border-radius: 4px; color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; font-size: 14px; padding: 12px; text-align: center; transition: transform 0.2s var(--ease); }
.np-topic:hover { transform: translateY(-3px); }
.np-topic--0 { background: linear-gradient(135deg, #1f5fec, #0b1b4a); }
.np-topic--1 { background: linear-gradient(135deg, #e11d29, #7a0c12); }
.np-topic--2 { background: linear-gradient(135deg, #12b76a, #065f3b); }
.np-topic--3 { background: linear-gradient(135deg, #f79009, #7a4708); }

/* ---------- Grids / section head ---------- */
.np-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 26px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.np-section-head--plain { margin-bottom: 6px; }
.np-section-head h2 { margin: 0; font-size: 22px; font-weight: 800; }
.np-section-head a { font-size: 13px; font-weight: 700; color: var(--red); }
.np-grid { display: grid; gap: 30px 24px; }
.np-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.np-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.np-card, .np-darkcard { min-width: 0; }
.np-card__title { margin: 10px 0 8px; font-size: 17px; font-weight: 700; line-height: 1.32; overflow-wrap: anywhere; }
.np-card__title a:hover { color: var(--red); }
.np-card__desc { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-card--sm .np-card__title { font-size: 15px; }
.np-latest { padding-top: 46px; }

/* ---------- No-image "More news" section ---------- */
.np-section-head__hint { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--faint); }
.np-more { padding-top: 50px; }
.np-more__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.np-more__item { display: block; padding: 16px 0; border-top: 1px solid var(--line); }
.np-more__item .np-tag { margin-right: 8px; }
.np-more__title { display: block; margin: 4px 0 8px; font-size: 16px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.np-more__item:hover .np-more__title { color: var(--red); }

/* ---------- Follow ---------- */
.np-follow { background: var(--soft); border-radius: 6px; padding: 20px; margin-bottom: 28px; }
.np-follow h3 { margin: 0 0 14px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.np-follow__links { display: flex; gap: 8px; }
.np-follow__btn { flex: 1; text-align: center; padding: 10px 6px; border-radius: 4px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700; }
.np-follow__btn--tw { background: #1da1f2; color: #fff; }
.np-follow__btn--mail { background: var(--red); color: #fff; }

/* ---------- CTA ---------- */
.np-cta { background: var(--navy); color: #fff; margin-top: 54px; }
.np-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 46px 28px; }
.np-cta__text { min-width: 0; }
.np-cta__text h2 { margin: 10px 0 0; font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.np-cta a { color: #fff; }

/* ---------- Empty ---------- */
.np-empty { padding: 80px 0; text-align: center; }
.np-empty h3 { font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.np-empty p { color: var(--muted); margin: 0; }

/* ---------- Pager ---------- */
.np-pager { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 44px 28px 10px; }
.np-pager__btn { padding: 11px 22px; border: 1px solid var(--line-2); border-radius: 3px; font-size: 13px; font-weight: 700; color: var(--ink); transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease; }
a.np-pager__btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.np-pager__btn.is-disabled { opacity: 0.4; cursor: not-allowed; }
.np-pager__info { font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Newsletter band ---------- */
.newsletter-band { background: var(--soft); border-top: 1px solid var(--line); padding: 48px 0; margin-top: 56px; }
.newsletter-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.newsletter-band__text { min-width: 0; max-width: 54ch; }
.subscribe-kicker { display: inline-block; margin-bottom: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; color: var(--red); }
.newsletter-band__text h2 { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; line-height: 1.18; }
.newsletter-band__text p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.newsletter-band__form { flex: 0 1 440px; min-width: 0; }
.subscribe-form { display: flex; gap: 10px; }
.subscribe-form input[type="email"] { flex: 1 1 auto; min-width: 0; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--bg); color: var(--ink); font-size: 14px; outline: 0; }
.subscribe-form input[type="email"]:focus { border-color: var(--blue); }
.subscribe-form button { flex: none; padding: 13px 22px; border: 0; border-radius: 3px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.subscribe-form button:hover { background: var(--blue-dark); }
.subscribe-ok { margin: 12px 0 0; font-size: 13px; color: #12b76a; }
.subscribe-err { margin: 12px 0 0; font-size: 13px; color: var(--red); }

/* ---------- Footer ---------- */
.np-footer { background: var(--navy); color: #fff; padding: 58px 0 28px; }
.np-footer__top { display: grid; grid-template-columns: 1.9fr 1fr 1fr 1fr; gap: 36px; }
.np-footer__title { margin: 0 0 12px; font-size: 24px; font-weight: 800; line-height: 1.2; }
.np-footer__blurb { margin: 0 0 18px; color: rgba(255, 255, 255, 0.7); font-size: 14px; line-height: 1.6; max-width: 42ch; }
.np-footer__col h3 { margin: 0 0 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.6); }
.np-footer__col li { margin-bottom: 10px; }
.np-footer__col a { color: rgba(255, 255, 255, 0.85); font-size: 14px; }
.np-footer__col a:hover { color: #fff; }
.np-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.contact-mail { text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; right: 26px; bottom: 28px; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background-color 0.15s ease; z-index: 300; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .np-nav { display: none; }
  .np-menu-toggle { display: flex; }
  .np-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .np-hero__trend { grid-column: 1 / -1; }
  .np-dark__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .np-darkcard--big { grid-column: span 2; }
  .np-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .np-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .np-container { padding: 0 24px; }
  .np-header__row { gap: 10px; }
  .np-logo { font-size: 18px; min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; }
  .np-header__actions { gap: 8px; }
  .np-header__actions .np-btn { display: none; }
  .np-hero { padding-top: 24px; }
  .np-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .np-lead__media { min-height: 300px; }
  .np-lead__caption { padding: 18px; }
  .np-strip { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .np-feature { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 34px; padding-bottom: 34px; }
  .np-dark__grid, .np-grid--3, .np-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .np-more__list { grid-template-columns: minmax(0, 1fr); }
  .np-darkcard--big { grid-column: auto; }
  .np-cta__inner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 34px 18px; }
  .np-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .np-footer__bottom { flex-direction: column; align-items: flex-start; }
  .newsletter-band__inner { flex-direction: column; align-items: stretch; }
  .newsletter-band__form { flex-basis: auto; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form button { width: 100%; }
  .back-to-top { right: 16px; bottom: 18px; }
}

@media (max-width: 520px) {
  .lang-switch__btn { min-width: 0; max-width: 104px; height: 32px; padding: 0 9px; font-size: 11.5px; }
  .lang-switch__menu { top: 0 !important; height: 100vh; height: 100dvh; }
  .lang-switch__grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 2px 6px; padding: 12px 14px calc(20px + env(safe-area-inset-bottom, 0px)); }
}
