:root {
  --vm-bg: #0b0f1a;
  --vm-bg-elevated: #111827;
  --vm-bg-card: #151c2c;
  --vm-border: rgba(255, 255, 255, 0.08);
  --vm-text: #f8fafc;
  --vm-text-muted: #94a3b8;
  --vm-accent: #3b82f6;
  --vm-accent-hover: #2563eb;
  --vm-header-bg: rgba(11, 15, 26, 0.92);
  --vm-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] {
  --vm-bg: #f1f5f9;
  --vm-bg-elevated: #ffffff;
  --vm-bg-card: #ffffff;
  --vm-border: rgba(15, 23, 42, 0.1);
  --vm-text: #0f172a;
  --vm-text-muted: #64748b;
  --vm-accent: #2563eb;
  --vm-accent-hover: #1d4ed8;
  --vm-header-bg: rgba(255, 255, 255, 0.95);
  --vm-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

body.vm-site {
  background: var(--vm-bg);
  color: var(--vm-text);
  scrollbar-width: thin;
  scrollbar-color: var(--vm-accent) var(--vm-bg-elevated);
}

body.vm-site::-webkit-scrollbar {
  width: 8px;
}

body.vm-site::-webkit-scrollbar-track {
  background: var(--vm-bg-elevated);
}

body.vm-site::-webkit-scrollbar-thumb {
  background-color: var(--vm-accent);
  border-radius: 4px;
}

body.vm-site::-webkit-scrollbar-thumb:hover {
  background-color: var(--vm-accent-hover);
}

.vm-site .header {
  position: sticky !important;
  top: 0;
  z-index: 100;
  background: var(--vm-header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vm-border);
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  width: 100%;
}

.vm-site .header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.vm-site .header__logo {
  margin-left: 0 !important;
}

.vm-site .header__logo img {
  max-height: 70px;
  width: auto;
}

[data-theme="light"] .vm-site .header__logo img {
  filter: invert(1);
}

.vm-site .header__logo {
  display: inline-flex;
  align-items: center;
}

.vm-site .header__form {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  height: auto !important;
  background: transparent !important;
  pointer-events: auto !important;
  display: block !important;
}

.vm-site .header__actions {
  background: transparent !important;
}

.vm-site .header__form-input {
  background: transparent;
  border: 1px solid var(--vm-border);
}

[data-theme="light"] .vm-site .header__form-input {
  background: transparent;
}

.vm-site .header__content {
  overflow: visible;
}

.vm-site .header__nav {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  row-gap: 0;
  height: auto !important;
  position: relative !important;
  top: auto !important;
}

.vm-site .header__nav-item {
  margin: 0 !important;
  height: auto !important;
  display: flex;
  align-items: center;
}

.vm-site .header__nav-item + .header__nav-item {
  margin-left: 2px !important;
}

.vm-site .header__nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: 0;
  color: var(--vm-text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  position: relative;
  background: transparent;
  transition: color 0.2s ease;
  height: auto !important;
  line-height: 1.2 !important;
}

.vm-site .header__nav-link:hover {
  color: var(--vm-text);
  background: transparent;
}

.vm-site .header__nav-link.is-active {
  color: var(--vm-accent);
  background: transparent;
}

[data-theme="light"] .vm-site .header__nav-link:hover,
[data-theme="light"] .vm-site .header__nav-link.is-active {
  color: var(--vm-accent);
}

.header__nav-item--dropdown {
  position: relative;
}

.header__nav-link--dropdown {
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  gap: 4px;
}

.header__nav-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.header__nav-item--dropdown.is-open .header__nav-chevron,
.header__nav-item--dropdown:hover .header__nav-chevron {
  transform: rotate(180deg);
}

.header__nav-item--dropdown.is-active > .header__nav-link--dropdown {
  color: var(--vm-accent);
}

.header__nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 10px;
  border: 1px solid var(--vm-border);
  background: var(--vm-bg-elevated);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 120;
}

/* Nevidljiv most do triggera — lak pristup mišem */
.header__nav-submenu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.header__nav-item--dropdown:hover .header__nav-submenu,
.header__nav-item--dropdown.is-open .header__nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header__nav-submenu-link {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--vm-text-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.header__nav-submenu-link:hover,
.header__nav-submenu-link.is-active {
  color: var(--vm-accent);
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .header__nav-submenu-link:hover,
[data-theme="light"] .header__nav-submenu-link.is-active {
  background: rgba(15, 23, 42, 0.06);
}

.vm-site .header__actions {
  width: auto !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

.vm-site .header__form {
  position: relative;
  width: min(280px, 42vw);
}

.vm-site .header__form-input {
  width: 100%;
  height: 44px;
  padding: 0 48px 0 18px;
  border: 1px solid var(--vm-border);
  border-radius: 999px;
  background: transparent;
  color: var(--vm-text);
}

.vm-site .header__form-input::placeholder {
  color: var(--vm-text-muted);
}

.vm-site .header__form-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--vm-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vm-site .header__form-btn svg {
  fill: #fff;
  width: 16px;
  height: 16px;
}

.vm-theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--vm-border);
  background: var(--vm-bg-elevated);
  color: var(--vm-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vm-theme-toggle svg {
  width: 18px;
  height: 18px;
}

.vm-user-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--vm-border);
  background: var(--vm-bg-elevated);
  color: var(--vm-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vm-user-toggle svg {
  width: 20px;
  height: 20px;
}

.vm-user-toggle.is-logged-in {
  color: var(--vm-accent);
}

.vm-user-menu {
  position: relative;
}

.vm-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--vm-border);
  background: var(--vm-bg-elevated);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 120;
}

.vm-user-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vm-user-dropdown__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--vm-text);
}

.vm-user-dropdown__logout {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--vm-border);
  background: transparent;
  color: var(--vm-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.vm-user-dropdown__logout:hover {
  background: var(--vm-accent);
  border-color: var(--vm-accent);
  color: #fff;
}

.vm-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.vm-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.vm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.vm-modal__dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--vm-border);
  background: var(--vm-bg-elevated);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.vm-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--vm-text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.vm-modal__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--vm-text);
}

.vm-modal__subtitle {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--vm-text-muted);
  line-height: 1.5;
}

.vm-modal__error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(220, 53, 69, 0.12);
  color: #dc3545;
  font-size: 14px;
}

.vm-login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vm-login-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vm-login-form__field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--vm-text-muted);
}

.vm-login-form__field input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--vm-border);
  background: var(--vm-bg);
  color: var(--vm-text);
}

.vm-login-form__submit {
  margin-top: 4px;
  height: 46px;
  border: none;
  border-radius: 10px;
  background: var(--vm-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.vm-item__video {
  margin-bottom: 16px;
}

.vm-video-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--vm-border);
  color: var(--vm-text);
  font-size: 14px;
  font-weight: 600;
}

.vm-video-download:hover {
  background: var(--vm-accent);
  border-color: var(--vm-accent);
  color: #fff;
}

body.vm-modal-open,
body.vm-drawer-open {
  overflow: hidden;
}

/* Mobile drawer */
.vm-drawer-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--vm-border);
  background: var(--vm-bg-elevated);
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
}

.vm-drawer-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--vm-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
}

.vm-drawer-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.vm-drawer-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.vm-drawer-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 18px;
}

.vm-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vm-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.vm-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(300px, 88vw);
  height: 100%;
  z-index: 201;
  background: var(--vm-bg-elevated);
  border-right: 1px solid var(--vm-border);
  box-shadow: var(--vm-shadow);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px 0 28px;
}

.vm-drawer.is-open {
  transform: translateX(0);
}

.vm-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--vm-border);
  margin-bottom: 12px;
}

.vm-drawer__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vm-text-muted);
}

.vm-drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--vm-border);
  background: transparent;
  color: var(--vm-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vm-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
}

.vm-drawer__link {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--vm-text);
  font-size: 16px;
  font-weight: 600;
}

.vm-drawer__link:hover {
  background: var(--vm-bg-elevated);
  color: var(--vm-text);
}

.vm-drawer__link.is-active {
  color: var(--vm-accent);
  background: transparent;
  box-shadow: none;
}

.vm-drawer__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vm-drawer__group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--vm-text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.vm-drawer__group-toggle svg {
  transition: transform 0.2s ease;
}

.vm-drawer__group.is-open .vm-drawer__group-toggle svg {
  transform: rotate(180deg);
}

.vm-drawer__subnav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
}

.vm-drawer__group.is-open .vm-drawer__subnav {
  display: flex;
}

.vm-drawer__link--sub {
  font-size: 15px;
  font-weight: 500;
  padding-left: 24px;
}

.vm-drawer__search {
  margin-top: auto;
  padding: 16px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vm-drawer__search input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--vm-border);
  background: var(--vm-bg);
  color: var(--vm-text);
}

.vm-drawer__search button {
  height: 44px;
  border-radius: 12px;
  background: var(--vm-accent);
  color: #fff;
  font-weight: 600;
}

body.vm-drawer-open {
  overflow: hidden;
}

/* News ticker — ispod headera na naslovnoj */
.vm-ticker {
  display: flex;
  align-items: stretch;
  background: linear-gradient(90deg, var(--vm-accent), var(--vm-accent-hover));
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--vm-border);
}

.vm-ticker__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.12);
}

.vm-ticker__track {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.vm-ticker__content {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  min-height: 36px;
  animation: vm-ticker-scroll 50s linear infinite;
}

.vm-ticker__content:hover {
  animation-play-state: paused;
}

.vm-ticker__item {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  margin-right: 40px;
  white-space: nowrap;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.95;
}

.vm-ticker__item:hover {
  opacity: 1;
  text-decoration: underline;
}

.vm-ticker__item::after {
  content: '•';
  margin-left: 40px;
  opacity: 0.45;
  text-decoration: none;
}

@keyframes vm-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.vm-search-query {
  margin: 0 0 20px;
  color: var(--vm-text-muted);
  font-size: 15px;
}

.vm-search-query strong {
  color: var(--vm-text);
}

.vm-main {
  padding: 28px 0 56px;
}

.vm-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.vm-section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
}

.vm-section-head a {
  color: var(--vm-accent);
  font-weight: 600;
}

.vm-promo-banner {
  margin-bottom: 28px;
  padding: 18px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--vm-accent), var(--vm-accent-hover));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--vm-shadow);
  text-align: center;
}

.vm-promo-banner__text {
  margin: 0;
  color: #ffffff;
  font-size: clamp(14px, 2.2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.vm-promo-banner__text strong {
  font-weight: 800;
}

.vm-promo-banner__sep {
  margin: 0 0.35em;
  opacity: 0.85;
}

[data-theme="light"] .vm-promo-banner {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: rgba(255, 255, 255, 0.25);
}

.vm-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.vm-hero__main {
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.vm-hero__card {
  position: relative;
  display: block;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--vm-shadow);
  contain: layout paint;
}

.vm-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vm-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 26, 0.15) 0%, rgba(11, 15, 26, 0.92) 100%);
}

.vm-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: 32px;
}

.vm-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--vm-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.vm-hero__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: #fff;
}

.vm-hero__title a {
  color: #fff;
}

.vm-hero__title a:hover {
  color: #dbeafe;
}

.vm-hero__desc {
  margin: 0 0 18px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.vm-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.vm-hero__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vm-hero-side {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: var(--vm-bg-card);
  border: 1px solid var(--vm-border);
  color: var(--vm-text);
  min-height: 120px;
}

.vm-hero-side img {
  width: 112px;
  height: 84px;
  object-fit: cover;
  border-radius: 14px;
}

.vm-hero-side h4 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.4;
}

.vm-hero-side span {
  color: var(--vm-text-muted);
  font-size: 13px;
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  z-index: 2;
}

.vm-card {
  background: var(--vm-bg-card);
  border: 1px solid var(--vm-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--vm-shadow);
}

.vm-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.vm-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.vm-card:hover .vm-card__media img {
  transform: scale(1.04);
}

.vm-card__play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.92);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vm-card__body {
  padding: 16px;
}

.vm-card__title {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
  min-height: 66px;
}

.vm-card__title a {
  color: var(--vm-text);
  position: relative;
  z-index: 1;
}

.vm-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--vm-text-muted);
  font-size: 13px;
}

.vm-card__views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vm-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--vm-text-muted);
  background: var(--vm-bg-card);
  border: 1px dashed var(--vm-border);
  border-radius: 18px;
}

.vm-newsletter {
  margin-top: 48px;
  padding: 28px;
  border-radius: 24px;
  background: var(--vm-bg-elevated);
  border: 1px solid var(--vm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.vm-newsletter__copy h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.vm-newsletter__copy p {
  margin: 0;
  color: var(--vm-text-muted);
}

.vm-newsletter__form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.vm-newsletter__form input {
  min-width: 260px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--vm-border);
  background: var(--vm-bg);
  color: var(--vm-text);
}

.vm-newsletter__form button {
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--vm-accent);
  color: #fff;
  font-weight: 600;
}

.vm-site .footer {
  background: var(--vm-bg-elevated) !important;
  border-top: 1px solid var(--vm-border);
}

.vm-site .footer:after {
  display: none !important;
}

.vm-site .footer__copyright,
.vm-site .footer__links a,
.vm-site .vm-footer-impressum,
.vm-site .vm-footer-impressum h3,
.vm-site .vm-footer-impressum p {
  color: var(--vm-text-muted) !important;
}

.vm-site .footer__copyright a {
  color: var(--vm-text-muted) !important;
}

.vm-site .footer__copyright a:hover,
.vm-site .footer__links a:hover {
  color: var(--vm-accent) !important;
}

.vm-footer-impressum {
  font-size: 14px;
  margin-bottom: 20px;
}

.vm-footer-impressum h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--vm-text) !important;
}

.vm-footer-impressum p {
  margin: 0 0 6px;
}

[data-theme="light"] .vm-site .footer {
  background: #ffffff !important;
}

[data-theme="light"] .vm-site .footer__copyright,
[data-theme="light"] .vm-site .footer__links a,
[data-theme="light"] .vm-site .vm-footer-impressum p {
  color: #64748b !important;
}

[data-theme="light"] .vm-site .vm-footer-impressum h3 {
  color: #0f172a !important;
}

.vm-footer-impressum a {
  color: var(--vm-accent) !important;
  text-decoration: none;
}

.vm-footer-impressum a:hover {
  text-decoration: underline;
}

.vm-impressum {
  max-width: 720px;
  padding: 8px 0 40px;
}

.vm-impressum__title {
  margin: 0 0 24px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--vm-text);
}

.vm-impressum__content {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--vm-border);
  background: var(--vm-bg-elevated);
}

.vm-impressum__content p {
  margin: 0 0 14px;
  color: var(--vm-text);
  font-size: 16px;
  line-height: 1.6;
}

.vm-impressum__content p:last-child {
  margin-bottom: 0;
}

.vm-impressum__content strong {
  color: var(--vm-text);
  font-weight: 600;
}

.vm-impressum__content a {
  color: var(--vm-accent);
  text-decoration: none;
}

.vm-impressum__content a:hover {
  text-decoration: underline;
}

[data-theme="light"] .vm-impressum__title,
[data-theme="light"] .vm-impressum__content p,
[data-theme="light"] .vm-impressum__content strong {
  color: #0f172a;
}

[data-theme="light"] .vm-impressum__content {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .vm-site .footer__copyright a {
  color: #334155 !important;
}

@media (max-width: 1400px) {
  .vm-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .vm-hero {
    grid-template-columns: 1fr;
  }

  .vm-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vm-site .header__nav {
    display: none !important;
  }

  .vm-site .header__form {
    display: none !important;
  }

  .vm-site .header__content {
    justify-content: space-between;
    min-height: 64px;
    gap: 12px;
  }

  .vm-site .header__logo {
    margin-left: 0 !important;
    flex-shrink: 0;
  }

  .vm-site .header__actions {
    margin-left: auto;
    margin-right: 0 !important;
    gap: 8px;
  }

  .vm-drawer-toggle {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .vm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vm-hero__content {
    padding: 24px;
  }
}

@media (max-width: 520px) {
  .vm-grid {
    grid-template-columns: 1fr;
  }
}

/* Article (item) page */
.vm-item {
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.vm-item__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
  color: var(--vm-text);
}

.vm-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--vm-text-muted);
  font-size: 14px;
}

.vm-item__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vm-item__cover {
  margin: 0 0 28px;
  border-radius: 16px;
  overflow: hidden;
  max-width: 640px;
  border: 1px solid var(--vm-border);
}

.vm-item__cover img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.vm-item__body {
  color: var(--vm-text);
  line-height: 1.75;
  font-size: 16px;
  margin-bottom: 36px;
}

.vm-item__body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.vm-item__body p {
  margin-bottom: 1em;
}

.vm-item__section {
  margin-bottom: 36px;
  padding-top: 8px;
  border-top: 1px solid var(--vm-border);
}

.vm-item__section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 22px;
  color: var(--vm-text);
}

.vm-item__section h2 svg {
  width: 22px;
  height: 22px;
  fill: var(--vm-accent);
}

.vm-item__videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.vm-item__videos video {
  width: 100%;
  border-radius: 12px;
  background: #000;
}

.vm-item__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.vm-gallery-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--vm-border);
  aspect-ratio: 4 / 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: zoom-in;
  position: relative;
  z-index: 1;
}

.vm-gallery-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--vm-shadow);
}

.vm-gallery-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vm-item__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--vm-border);
  color: var(--vm-text-muted);
  font-size: 14px;
}

.vm-item__share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--vm-bg-card);
  border: 1px solid var(--vm-border);
  color: var(--vm-accent);
  font-size: 16px;
}

.vm-item__share a:hover {
  background: var(--vm-accent);
  color: #fff;
}

@media (max-width: 520px) {
  .vm-item__cover {
    max-width: 100%;
  }

  .vm-item__cover img {
    max-height: 240px;
  }
}
