/* Novo — bundled: mmc-toolbar + mmc-scroll-top + mmc-page + novo-page */

/* Zajednički MMC gumbi: početna + tema (uz /mmcistra hub) */

.mmc-toolbar {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 12000;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}

.mmc-toolbar > * {
  pointer-events: auto;
}

.mmc-toolbar__btn {
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mmc-toolbar__btn:hover {
  transform: scale(1.04);
}

.mmc-toolbar__btn:active {
  transform: scale(0.97);
}

.mmc-toolbar__btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

html[data-theme="dark"] .mmc-toolbar__btn {
  border-color: rgba(126, 160, 198, 0.35);
  background: rgba(16, 24, 40, 0.85);
  color: #f0f6ff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.mmc-toolbar__btn svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* Ikone za temu (kao hub / Arhivio Edit) */
.mmc-theme-toggle .mmc-icon-moon,
.mmc-theme-toggle .mmc-icon-sun {
  display: none;
}

html:not([data-theme="dark"]) .mmc-theme-toggle .mmc-icon-moon {
  display: block;
}

html[data-theme="dark"] .mmc-theme-toggle .mmc-icon-sun {
  display: block;
}

@media (max-width: 520px) {
  .mmc-toolbar {
    top: 12px;
    right: 10px;
    gap: 8px;
  }

  .mmc-toolbar__btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}

/* TBA / jednostavne MMC podstranice */
html[data-theme="dark"] .mmc-tba-shell .box {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(126, 160, 198, 0.35);
}

html[data-theme="dark"] .mmc-tba-shell h1 {
  color: #f0f6ff;
}

html[data-theme="dark"] .mmc-tba-shell p {
  color: rgba(232, 241, 255, 0.75);
}

html[data-theme="dark"] .mmc-tba-shell a {
  color: #7ec8ff;
}


/* Plutajući gumb: natrag na vrh (MMC hub, arhivio, arhivioedit, info) */

.mmc-scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

html[data-theme="dark"] .mmc-scroll-top {
  border-color: rgba(126, 160, 198, 0.38);
  background: rgba(16, 24, 40, 0.92);
  color: #e8f1ff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.mmc-scroll-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.16);
}

html[data-theme="dark"] .mmc-scroll-top:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.mmc-scroll-top:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.mmc-scroll-top.mmc-scroll-top--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.95);
}

/*
 * Hub (i slične strane): na širokim ekranima gumb ne preklapa hero refresh dok je korisnik na vrhu.
 * Na užim ekranima (ispod 521px) pravilo se ne primjenjuje — ponašanje ostaje kao i prije.
 */
@media (min-width: 521px) {
  .mmc-scroll-top.mmc-scroll-top--reveal-on-scroll:not(.mmc-scroll-top--scroll-ready) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(0.95);
  }
}

.mmc-scroll-top svg {
  display: block;
  width: 22px;
  height: 22px;
}

@media (max-width: 520px) {
  .mmc-scroll-top {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
  }
}


/* MMC Samobor — svijetla (default) i tamna tema (html[data-theme="dark"]) */

:root {
  --mmc-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mmc-radius: 22px;

  --mmc-accent: #3b82f6;
  --mmc-accent2: #2563eb;
  --mmc-mint: #0d9488;

  --mmc-text: #0f172a;
  --mmc-text-heading: #020617;
  --mmc-muted: rgba(15, 23, 42, 0.68);

  --mmc-border: rgba(15, 23, 42, 0.12);
  --mmc-surface: rgba(255, 255, 255, 0.82);
  --mmc-gate-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);

  --mmc-body-r1: rgba(59, 130, 246, 0.12);
  --mmc-body-r2: rgba(125, 211, 252, 0.1);
  --mmc-body-g1: #f0f5fc;
  --mmc-body-g2: #e8f1f9;
  --mmc-body-g3: #dceaf5;

  --mmc-hub-r1: rgba(59, 130, 246, 0.16);
  --mmc-hub-r2: rgba(20, 184, 166, 0.09);
  --mmc-hub-r3: rgba(125, 211, 252, 0.1);
  --mmc-hub-g1: #eef4fb;
  --mmc-hub-g2: #e5eff8;
  --mmc-hub-g3: #dae8f5;
  --mmc-hub-g4: #d0e2f2;

  --mmc-decor-1: rgba(59, 130, 246, 0.08);
  --mmc-decor-2: rgba(20, 184, 166, 0.06);
  --mmc-decor-blob: rgba(59, 130, 246, 0.1);

  --mmc-grid-line: rgba(15, 23, 42, 0.06);
  --mmc-grid-fade: rgba(0, 0, 0, 0.35);

  --mmc-badge-fg: rgba(15, 23, 42, 0.78);
  --mmc-badge-bg: rgba(255, 255, 255, 0.72);
  --mmc-badge-border: rgba(15, 23, 42, 0.1);
  --mmc-badge-glow-border: rgba(59, 130, 246, 0.4);
  --mmc-badge-glow-shadow: rgba(59, 130, 246, 0.15);

  --mmc-chip-fg: rgba(15, 23, 42, 0.88);
  --mmc-chip-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.88));
  --mmc-chip-border: rgba(15, 23, 42, 0.1);
  --mmc-chip-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);

  --mmc-title-g1: #0f172a;
  --mmc-title-g2: #1e40af;
  --mmc-title-g3: #0ea5e9;

  --mmc-lead-strong: #020617;

  --mmc-hi-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.8));
  --mmc-hi-icon-bg: rgba(59, 130, 246, 0.1);
  --mmc-hi-icon-border: rgba(59, 130, 246, 0.25);
  --mmc-hi-icon-fg: #2563eb;

  --mmc-about-border: rgba(15, 23, 42, 0.1);
  --mmc-about-bg: radial-gradient(120% 80% at 100% 0%, rgba(59, 130, 246, 0.06), transparent 55%),
    rgba(255, 255, 255, 0.88);
  --mmc-about-shadow: 0 20px 44px rgba(15, 23, 42, 0.07);

  --mmc-list-border: rgba(15, 23, 42, 0.08);

  --mmc-tool-border: rgba(15, 23, 42, 0.1);
  --mmc-tool-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.9) 50%, rgba(241, 245, 249, 0.85) 100%);
  --mmc-tool-shine: rgba(59, 130, 246, 0.14);
  --mmc-tool-hover-border: rgba(59, 130, 246, 0.42);
  --mmc-tool-hover-outer: 0 24px 48px rgba(15, 23, 42, 0.1);
  --mmc-tool-hover-inner: rgba(59, 130, 246, 0.1);
  --mmc-tool-icon-bg: rgba(255, 255, 255, 0.95);
  --mmc-tool-icon-border: rgba(15, 23, 42, 0.1);
  --mmc-tool-arrow: rgba(15, 23, 42, 0.32);

  --mmc-tool-mint-shine: rgba(20, 184, 166, 0.12);
  --mmc-tool-mint-icon-fg: #0f766e;
  --mmc-tool-mint-icon-border: rgba(20, 184, 166, 0.32);

  --mmc-tool-muted-shine: rgba(100, 116, 139, 0.1);

  --mmc-tag-bg: rgba(59, 130, 246, 0.12);
  --mmc-tag-fg: #1d4ed8;
  --mmc-tag-border: rgba(59, 130, 246, 0.28);
  --mmc-tag-soft-bg: rgba(15, 23, 42, 0.05);
  --mmc-tag-soft-fg: rgba(15, 23, 42, 0.7);
  --mmc-tag-soft-border: rgba(15, 23, 42, 0.1);

  --mmc-session-dashed: rgba(59, 130, 246, 0.25);
  --mmc-session-bg: rgba(59, 130, 246, 0.04);

  --mmc-link: #2563eb;

  --mmc-footer-border: rgba(15, 23, 42, 0.08);
  --mmc-footer-muted: rgba(15, 23, 42, 0.45);

  --mmc-err: #b91c1c;

  --mmc-gate-input-bg: #ffffff;
  --mmc-gate-input-border: rgba(15, 23, 42, 0.14);
  --mmc-gate-input-color: #0f172a;
  --mmc-focus-ring: rgba(59, 130, 246, 0.28);

  --mmc-submit-fg: #0c1424;

  --mmc-toggle-bg: rgba(255, 255, 255, 0.92);
  --mmc-toggle-border: rgba(15, 23, 42, 0.12);
  --mmc-toggle-fg: #0f172a;
  --mmc-toggle-shadow: 0 4px 24px rgba(15, 23, 42, 0.1);

  --mmc-meta-theme: #f0f5fc;
}

html[data-theme="dark"] {
  --mmc-accent: #55a5f3;
  --mmc-accent2: #7ec8ff;
  --mmc-mint: #5eead4;

  --mmc-text: #f0f6ff;
  --mmc-text-heading: #ffffff;
  --mmc-muted: rgba(240, 246, 255, 0.7);

  --mmc-border: rgba(126, 160, 198, 0.32);
  --mmc-surface: rgba(255, 255, 255, 0.055);
  --mmc-gate-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);

  --mmc-body-r1: rgba(85, 165, 243, 0.12);
  --mmc-body-r2: rgba(121, 195, 255, 0.08);
  --mmc-body-g1: #0a0f1a;
  --mmc-body-g2: #121a2e;
  --mmc-body-g3: #0f1729;

  --mmc-hub-r1: rgba(85, 165, 243, 0.22);
  --mmc-hub-r2: rgba(94, 234, 212, 0.08);
  --mmc-hub-r3: rgba(126, 200, 255, 0.1);
  --mmc-hub-g1: #070b14;
  --mmc-hub-g2: #0f1729;
  --mmc-hub-g3: #152238;
  --mmc-hub-g4: #0c1220;

  --mmc-decor-1: rgba(85, 165, 243, 0.07);
  --mmc-decor-2: rgba(94, 234, 212, 0.06);
  --mmc-decor-blob: rgba(85, 165, 243, 0.15);

  --mmc-grid-line: rgba(255, 255, 255, 0.03);
  --mmc-grid-fade: rgba(0, 0, 0, 0.5);

  --mmc-badge-fg: rgba(240, 246, 255, 0.82);
  --mmc-badge-bg: rgba(255, 255, 255, 0.07);
  --mmc-badge-border: rgba(255, 255, 255, 0.12);
  --mmc-badge-glow-border: rgba(85, 165, 243, 0.45);
  --mmc-badge-glow-shadow: rgba(85, 165, 243, 0.2);

  --mmc-chip-fg: rgba(240, 246, 255, 0.88);
  --mmc-chip-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  --mmc-chip-border: rgba(255, 255, 255, 0.14);
  --mmc-chip-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);

  --mmc-title-g1: #ffffff;
  --mmc-title-g2: #e0f0ff;
  --mmc-title-g3: #7ec8ff;

  --mmc-lead-strong: rgba(255, 255, 255, 0.92);

  --mmc-hi-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  --mmc-hi-icon-bg: rgba(85, 165, 243, 0.18);
  --mmc-hi-icon-border: rgba(85, 165, 243, 0.35);
  --mmc-hi-icon-fg: var(--mmc-accent2);

  --mmc-about-border: rgba(255, 255, 255, 0.1);
  --mmc-about-bg: radial-gradient(120% 80% at 100% 0%, rgba(85, 165, 243, 0.12), transparent 55%),
    rgba(12, 18, 32, 0.65);
  --mmc-about-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);

  --mmc-list-border: rgba(255, 255, 255, 0.06);

  --mmc-tool-border: rgba(255, 255, 255, 0.12);
  --mmc-tool-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(12, 24, 48, 0.4) 100%);
  --mmc-tool-shine: rgba(85, 165, 243, 0.2);
  --mmc-tool-hover-border: rgba(126, 200, 255, 0.45);
  --mmc-tool-hover-outer: 0 28px 56px rgba(0, 0, 0, 0.35);
  --mmc-tool-hover-inner: rgba(126, 200, 255, 0.12);
  --mmc-tool-icon-bg: rgba(15, 23, 42, 0.55);
  --mmc-tool-icon-border: rgba(255, 255, 255, 0.14);
  --mmc-tool-arrow: rgba(255, 255, 255, 0.35);

  --mmc-tool-mint-shine: rgba(94, 234, 212, 0.16);
  --mmc-tool-mint-icon-fg: #99f6e4;
  --mmc-tool-mint-icon-border: rgba(94, 234, 212, 0.35);

  --mmc-tool-muted-shine: rgba(148, 163, 184, 0.12);

  --mmc-tag-bg: rgba(85, 165, 243, 0.22);
  --mmc-tag-fg: #bae6fd;
  --mmc-tag-border: rgba(85, 165, 243, 0.35);
  --mmc-tag-soft-bg: rgba(255, 255, 255, 0.08);
  --mmc-tag-soft-fg: rgba(240, 246, 255, 0.75);
  --mmc-tag-soft-border: rgba(255, 255, 255, 0.15);

  --mmc-session-dashed: rgba(126, 200, 255, 0.28);
  --mmc-session-bg: rgba(255, 255, 255, 0.03);

  --mmc-link: var(--mmc-accent2);

  --mmc-footer-border: rgba(255, 255, 255, 0.08);
  --mmc-footer-muted: rgba(240, 246, 255, 0.42);

  --mmc-err: #fecaca;

  --mmc-gate-input-bg: rgba(255, 255, 255, 0.95);
  --mmc-gate-input-border: rgba(126, 160, 198, 0.45);
  --mmc-gate-input-color: #173355;
  --mmc-focus-ring: rgba(85, 165, 243, 0.28);

  --mmc-submit-fg: #0c1424;

  --mmc-toggle-bg: rgba(16, 24, 40, 0.75);
  --mmc-toggle-border: rgba(126, 160, 198, 0.35);
  --mmc-toggle-fg: #f0f6ff;
  --mmc-toggle-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);

  --mmc-meta-theme: #0a0f1a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--mmc-text);
  font-family: var(--mmc-font);
  background:
    radial-gradient(120% 80% at 10% -20%, var(--mmc-body-r1), transparent 55%),
    radial-gradient(80% 50% at 100% 0%, var(--mmc-body-r2), transparent 45%),
    linear-gradient(165deg, var(--mmc-body-g1), var(--mmc-body-g2) 55%, var(--mmc-body-g3));
  transition: background 0.45s ease, color 0.25s ease;
}

body.hub-open {
  background:
    radial-gradient(ellipse 900px 500px at 50% -15%, var(--mmc-hub-r1), transparent 55%),
    radial-gradient(ellipse 700px 450px at 100% 30%, var(--mmc-hub-r2), transparent 50%),
    radial-gradient(ellipse 600px 400px at 0% 60%, var(--mmc-hub-r3), transparent 45%),
    linear-gradient(168deg, var(--mmc-hub-g1) 0%, var(--mmc-hub-g2) 38%, var(--mmc-hub-g3) 72%, var(--mmc-hub-g4) 100%);
}

[hidden] {
  display: none !important;
}

/* Gumb teme */
.theme-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--mmc-toggle-border);
  background: var(--mmc-toggle-bg);
  color: var(--mmc-toggle-fg);
  box-shadow: var(--mmc-toggle-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  transform: scale(1.04);
}

.theme-toggle:active {
  transform: scale(0.97);
}

.theme-toggle__icon {
  display: none;
  width: 22px;
  height: 22px;
}

/* Svijetla: prikaži mjesec (prebaci na tamno) */
html:not([data-theme="dark"]) .theme-toggle__icon--moon {
  display: block;
}

/* Tamna: prikaži sunce (prebaci na svijetlo) */
html[data-theme="dark"] .theme-toggle__icon--sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle__icon--moon {
  display: none;
}

/* —— Prijava —— */
.gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gate-card {
  width: 100%;
  max-width: 360px;
  padding: 28px 24px 26px;
  border-radius: var(--mmc-radius);
  border: 1px solid var(--mmc-border);
  background: var(--mmc-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--mmc-gate-shadow);
}

.gate-form {
  margin: 0;
}

.gate-field-wrap {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.gate input[type="password"] {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--mmc-gate-input-border);
  background: var(--mmc-gate-input-bg);
  color: var(--mmc-gate-input-color);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gate input[type="password"]::placeholder {
  color: #64748b;
}

.gate input[type="password"]:focus {
  border-color: var(--mmc-accent);
  box-shadow: 0 0 0 3px var(--mmc-focus-ring);
}

.gate-submit {
  flex-shrink: 0;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid #4e9eef;
  background: linear-gradient(180deg, #79c3ff, #56a7f4);
  color: var(--mmc-submit-fg);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.gate-submit:hover {
  filter: brightness(1.06);
}

.gate-submit:active {
  transform: scale(0.98);
}

.gate-err {
  color: var(--mmc-err);
  font-size: 0.85rem;
  margin-top: 12px;
  min-height: 1.25em;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Hub —— */
.hub-app {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.hub-decor {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 20% 20%, var(--mmc-decor-1) 0%, transparent 28%),
    radial-gradient(circle at 85% 55%, var(--mmc-decor-2) 0%, transparent 25%);
}

.hub-decor::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  max-width: 1200px;
  height: 70%;
  background: radial-gradient(ellipse at center, var(--mmc-decor-blob), transparent 70%);
  filter: blur(40px);
}

.hub-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--mmc-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--mmc-grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, var(--mmc-grid-fade), transparent 55%);
  -webkit-mask-image: linear-gradient(180deg, var(--mmc-grid-fade), transparent 55%);
}

.hub-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 22px 56px;
}

.hub-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.hub-badge-row--on-photo {
  justify-content: flex-start;
  margin-bottom: 0;
}

.hub-badge--on-photo {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.hub-badge--on-photo.hub-badge--glow {
  border-color: rgba(125, 211, 252, 0.55);
  box-shadow: 0 0 28px rgba(125, 211, 252, 0.22);
}

html[data-theme="dark"] .hub-badge--on-photo {
  background: rgba(15, 23, 42, 0.48);
  border-color: rgba(255, 255, 255, 0.18);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .hub-badge--on-photo.hub-badge--glow {
  border-color: rgba(85, 165, 243, 0.5);
  box-shadow: 0 0 26px rgba(85, 165, 243, 0.2);
}

.hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mmc-badge-fg);
  background: var(--mmc-badge-bg);
  border: 1px solid var(--mmc-badge-border);
}

.hub-badge--glow {
  border-color: var(--mmc-badge-glow-border);
  box-shadow: 0 0 24px var(--mmc-badge-glow-shadow);
}

.hub-title {
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  background: linear-gradient(125deg, var(--mmc-title-g1) 0%, var(--mmc-title-g2) 40%, var(--mmc-title-g3) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hub-title--on-photo {
  margin: 0;
  max-width: min(28rem, 100%);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #fff;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.25),
    0 12px 40px rgba(0, 0, 0, 0.35);
  font-size: clamp(2.25rem, 4.5vw + 1rem, 4.25rem);
  line-height: 1.04;
}

/* Jedan red na širokom ekranu; na uskom posebno u dva retka (v. @media 560px) */
.hub-title--on-photo .hub-title__line {
  display: inline;
}

.hub-title--on-photo .hub-title__line + .hub-title__line::before {
  content: " ";
}

/* Uvod: jedan jasan hero + ispod uvod (bez preklapanja), zatim širok red fotografija */
.hub-stage {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(8px, 2vw, 20px);
}

.hub-stage__hero {
  position: relative;
  /* Gotovo cijeli viewport — wow efekt (+10% visine) */
  height: clamp(374px, 96.8vh, 1078px);
  max-height: min(101vh, 1100px);
  margin: 14px max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right));
  border-radius: clamp(16px, 2.4vw, 26px);
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

@supports (height: 1svh) {
  .hub-stage__hero {
    height: clamp(374px, 96.8svh, 1078px);
    max-height: min(101svh, 1100px);
  }
}

html[data-theme="dark"] .hub-stage__hero {
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.hub-stage__hero-fig {
  margin: 0;
  width: 100%;
  height: 100%;
}

.hub-stage__hero-fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hub-stage__hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    190deg,
    rgba(2, 8, 22, 0.42) 0%,
    rgba(2, 8, 22, 0.06) 42%,
    rgba(2, 8, 22, 0.02) 48%,
    rgba(2, 8, 22, 0.72) 100%
  );
}

.hub-stage__topbar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  padding:
    max(14px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    10px
    max(18px, env(safe-area-inset-left));
  text-align: left;
}

.hub-stage__head {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  /* Desno: prostor za dva gumba heroa (PhotoShelter + osvježavanje) */
  padding:
    0
    calc(max(18px, env(safe-area-inset-right)) + 88px)
    clamp(20px, 4vw, 44px)
    max(18px, env(safe-area-inset-left));
  text-align: left;
}

/* Natpis lokacije/datuma na herou — isti ritam kao .hub-subhead ispod */
.hub-hero-credit--on-photo {
  margin: 0 0 clamp(4px, 0.8vw, 8px);
  max-width: min(36rem, 100%);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 2px 16px rgba(0, 0, 0, 0.25);
}

/* PhotoShelter (lijevo) + osvježavanje — donji desni kut heroa */
.hub-hero-actions {
  position: absolute;
  z-index: 3;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.hub-hero-refresh,
.hub-hero-download {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 23, 42, 0.42);
  color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.08) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hub-hero-download {
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}

.hub-hero-download__icon {
  display: block;
}

.hub-hero-refresh {
  cursor: pointer;
}

.hub-hero-refresh:hover,
.hub-hero-download:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(15, 23, 42, 0.55);
}

.hub-hero-refresh:active,
.hub-hero-download:active {
  transform: scale(0.96);
}

.hub-hero-refresh:focus-visible,
.hub-hero-download:focus-visible {
  outline: 2px solid var(--mmc-accent);
  outline-offset: 3px;
}

.hub-hero-download--disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.hub-hero-refresh__icon {
  display: block;
}

.hub-stage__body {
  --hub-body-stack-gap: clamp(24px, 3.5vw, 36px);
  max-width: min(1100px, calc(100% - 40px));
  margin: clamp(28px, 4vw, 44px) auto 0;
  padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--hub-body-stack-gap);
}

.hub-stage__narrative {
  max-width: 44rem;
  margin: 0 auto;
  width: 100%;
  padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 40px);
  border-radius: var(--mmc-radius);
  border: 1px solid var(--mmc-border);
  background: var(--mmc-surface);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

html[data-theme="dark"] .hub-stage__narrative {
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.hub-lead--stage {
  margin: 0 0 clamp(18px, 2vw, 24px);
  max-width: none;
  text-align: center;
  font-size: clamp(1.02rem, 0.28vw + 0.98rem, 1.17rem);
  line-height: 1.65;
}

.hub-brand-chips--stage {
  justify-content: center;
}

.hub-arhivio-search {
  margin-top: clamp(18px, 2.5vw, 26px);
  padding-top: clamp(18px, 2.5vw, 26px);
  border-top: 1px solid var(--mmc-border);
}

.hub-arhivio-search__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mmc-muted);
}

.hub-arhivio-search__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.hub-arhivio-search__row input[type="search"] {
  flex: 1 1 140px;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--mmc-border);
  background: rgba(255, 255, 255, 0.55);
  color: var(--mmc-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

html[data-theme="dark"] .hub-arhivio-search__row input[type="search"] {
  background: rgba(255, 255, 255, 0.06);
}

.hub-arhivio-search__row input[type="search"]::placeholder {
  color: var(--mmc-muted);
  opacity: 0.85;
}

.hub-arhivio-search__row input[type="search"]:focus {
  outline: none;
  border-color: var(--mmc-accent2);
  box-shadow: 0 0 0 3px var(--mmc-focus-ring);
}

.hub-arhivio-search__submit {
  flex-shrink: 0;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--mmc-accent2), var(--mmc-accent));
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.hub-arhivio-search__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.35);
}

.hub-arhivio-search__submit:focus-visible {
  outline: 2px solid var(--mmc-accent);
  outline-offset: 2px;
}

.hub-arhivio-search__submit:active {
  transform: translateY(0);
}

/* Puna širina pozadine; sadržaj u istom stupcu kao .hub-stage__body */
.hub-featured__section-intro {
  width: 100%;
  max-width: min(1100px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  box-sizing: border-box;
}

.hub-featured__photos-heading {
  margin-bottom: 0;
}

.hub-featured__section-intro--inspiration {
  margin-top: 0;
}

.hub-inspiration-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(8px, 1.2vw, 14px) 0 clamp(6px, 1vw, 10px);
  max-width: 100%;
}

.hub-inspiration-chip {
  appearance: none;
  margin: 0;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(248, 250, 252, 0.65);
  color: var(--mmc-text-heading, #0f172a);
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.hub-inspiration-chip:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.92);
}

.hub-inspiration-chip:focus-visible {
  outline: 2px solid var(--mmc-accent, #2563eb);
  outline-offset: 2px;
}

html[data-theme="dark"] .hub-inspiration-chip {
  border-color: rgba(126, 160, 198, 0.28);
  background: rgba(15, 23, 42, 0.55);
  color: #e8f1ff;
}

html[data-theme="dark"] .hub-inspiration-chip:hover {
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(22, 32, 52, 0.85);
}

.hub-inspiration-regije-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--mmc-text-heading);
}

.hub-inspiration-regije-select {
  display: block;
  width: 100%;
  max-width: min(420px, 100%);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--mmc-text);
  margin-bottom: clamp(8px, 1.2vw, 12px);
  box-sizing: border-box;
}

html[data-theme="dark"] .hub-inspiration-regije-select {
  border-color: rgba(126, 160, 198, 0.28);
  background: rgba(15, 23, 42, 0.72);
  color: #e8f1ff;
}

.hub-inspiration-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 14px);
  margin-top: clamp(10px, 1.5vw, 16px);
}

.hub-inspiration-actions[hidden] {
  display: none;
}

.hub-inspiration-arhivio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 clamp(18px, 3vw, 24px);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(37, 99, 235, 0.42);
  background: rgba(255, 255, 255, 0.35);
  color: var(--mmc-accent, #2563eb);
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.hub-inspiration-arhivio:hover {
  background: rgba(239, 246, 255, 0.92);
  border-color: rgba(37, 99, 235, 0.62);
}

.hub-inspiration-arhivio:focus-visible {
  outline: 2px solid var(--mmc-accent, #2563eb);
  outline-offset: 2px;
}

html[data-theme="dark"] .hub-inspiration-arhivio {
  border-color: rgba(96, 165, 250, 0.42);
  background: rgba(15, 23, 42, 0.45);
  color: #93c5fd;
}

html[data-theme="dark"] .hub-inspiration-arhivio:hover {
  background: rgba(30, 58, 95, 0.7);
  border-color: rgba(96, 165, 250, 0.62);
}

.hub-featured {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(14px, 2.2vw, 22px);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding: clamp(26px, 3.5vw, 40px) 0;
  border-radius: 0;
  border: solid var(--mmc-border);
  border-width: 1px 0;
  border-top-width: 3px;
  border-top-color: var(--mmc-accent);
  background: linear-gradient(
    168deg,
    var(--mmc-hub-r1) 0%,
    var(--mmc-hub-r2) 30%,
    var(--mmc-surface) 52%,
    var(--mmc-hub-g3) 100%
  );
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  box-shadow:
    0 20px 56px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.38);
}

html[data-theme="dark"] .hub-featured {
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset;
}

/* Inspiracija: ista vizualna traka kao .hub-featured; samo zatvara vertikalni razmak prema gornjoj sekciji */
.hub-featured--inspiration {
  margin-top: calc(-1 * var(--hub-body-stack-gap, clamp(24px, 3.5vw, 36px)));
}

.hub-featured__inner {
  width: 100%;
  max-width: min(1100px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  box-sizing: border-box;
}

.hub-featured__head {
  margin-bottom: clamp(18px, 2.2vw, 26px);
}

.hub-featured__title {
  margin: 0 0 clamp(10px, 1.2vw, 16px);
  font-size: clamp(2.4rem, 1.95vw + 1.58rem, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--mmc-text-heading);
}

.hub-featured__note {
  margin: 0;
  font-size: clamp(1.05rem, 0.35vw + 0.98rem, 1.2rem);
  line-height: 1.62;
  color: var(--mmc-text);
  opacity: 0.88;
  max-width: 46rem;
}

/* Istraži: Nove fotografije / Nasumično / Preporuka koriste .hub-arhivio-feed__filter* */

.hub-featured__shuffle-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(10px, 1.5vw, 16px);
}

.hub-featured__shuffle-wrap[hidden] {
  display: none;
}

.hub-featured__shuffle {
  margin: 0;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--mmc-border);
  background: var(--mmc-surface);
  color: var(--mmc-text);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.hub-featured__shuffle:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.hub-featured__shuffle:focus-visible {
  outline: 2px solid var(--mmc-accent);
  outline-offset: 3px;
}

.hub-featured__shuffle:active {
  transform: scale(0.97);
}

html[data-theme="dark"] .hub-featured__shuffle {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .hub-featured__shuffle:hover {
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

/* Istaknute: zatvorena ladicu (<details>) — mozaik i slike tek nakon otvaranja */
.hub-featured-drawer {
  width: 100%;
  max-width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  box-sizing: border-box;
  overflow-anchor: none;
}

.hub-featured-mega__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.2vw, 22px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hub-featured-mega__stack > .hub-featured-drawer {
  max-width: 100%;
}

.hub-featured-drawer__panel--mega {
  padding-top: clamp(10px, 1.5vw, 16px);
  padding-bottom: 2px;
}

.hub-featured-drawer__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 20px);
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.5vw, 24px);
  margin: 0;
  box-sizing: border-box;
  width: 100%;
  border-radius: calc(var(--mmc-radius) + 4px);
  border: 1px solid var(--mmc-border);
  background: var(--mmc-surface);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.09);
  transition:
    transform 0.22s ease,
    box-shadow 0.68s cubic-bezier(0.33, 0.86, 0.39, 1),
    border-color 0.4s ease,
    border-radius 0.68s cubic-bezier(0.33, 0.86, 0.39, 1);
  -webkit-tap-highlight-color: transparent;
}

.hub-featured-drawer__summary::-webkit-details-marker {
  display: none;
}

.hub-featured-drawer__summary:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.12);
}

.hub-featured-drawer__summary:focus-visible {
  outline: 2px solid var(--mmc-accent);
  outline-offset: 3px;
}

html[data-theme="dark"] .hub-featured-drawer__summary {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .hub-featured-drawer__summary:hover {
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.hub-featured-drawer__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  min-width: 0;
}

.hub-featured-drawer__title {
  font-size: clamp(1.3rem, 1.1vw + 1rem, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--mmc-text-heading);
}

.hub-featured-drawer__hint {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--mmc-text);
  opacity: 0.82;
}

.hub-arhivio-feed__filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.hub-arhivio-feed__filter-row--in-panel {
  margin-top: 0;
  margin-bottom: clamp(12px, 2vw, 20px);
}

.hub-arhivio-feed__filter {
  appearance: none;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(248, 250, 252, 0.65);
  color: var(--mmc-text-heading, #0f172a);
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.hub-arhivio-feed__filter:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.92);
}

.hub-arhivio-feed__filter:focus-visible {
  outline: 2px solid var(--mmc-accent, #2563eb);
  outline-offset: 2px;
}

.hub-arhivio-feed__filter.is-active {
  border-color: rgba(37, 99, 235, 0.55);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.95), rgba(219, 234, 254, 0.75));
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12);
  color: #1e3a8a;
}

html[data-theme="dark"] .hub-arhivio-feed__filter {
  border-color: rgba(126, 160, 198, 0.28);
  background: rgba(15, 23, 42, 0.55);
  color: #e8f1ff;
}

html[data-theme="dark"] .hub-arhivio-feed__filter:hover {
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(22, 32, 52, 0.85);
}

html[data-theme="dark"] .hub-arhivio-feed__filter.is-active {
  border-color: rgba(96, 165, 250, 0.55);
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.9), rgba(23, 37, 60, 0.85));
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  color: #f0f7ff;
}

.hub-featured-drawer__chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mmc-accent);
  transition: transform 0.72s cubic-bezier(0.33, 0.86, 0.39, 1);
}

.hub-featured-drawer[open] .hub-featured-drawer__chevron {
  transform: rotate(180deg);
}

/* Glatko razvijanje visine (grid 0fr → 1fr) */
.hub-featured-drawer__reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.82s cubic-bezier(0.33, 0.86, 0.39, 1);
  overflow-anchor: none;
}

.hub-featured-drawer[open] .hub-featured-drawer__reveal {
  grid-template-rows: 1fr;
}

.hub-featured-drawer__panel {
  min-height: 0;
  overflow: hidden;
  padding-top: clamp(18px, 2.4vw, 26px);
  padding-bottom: 6px;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.62s cubic-bezier(0.33, 0.86, 0.39, 1) 0.06s,
    transform 0.78s cubic-bezier(0.33, 0.86, 0.39, 1) 0.04s;
}

.hub-featured-drawer[open] .hub-featured-drawer__panel {
  opacity: 1;
  transform: translateY(0);
}

.hub-featured-drawer__panel .hub-featured__inner {
  opacity: 0;
  transform: translateY(8px) scale(0.994);
  transition:
    opacity 0.65s cubic-bezier(0.33, 0.86, 0.39, 1) 0.1s,
    transform 0.8s cubic-bezier(0.33, 0.86, 0.39, 1) 0.08s;
}

.hub-featured-drawer[open] .hub-featured-drawer__panel .hub-featured__inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Kad je otvoreno, „spoj“ poklopca i sadržaja */
.hub-featured-drawer[open] .hub-featured-drawer__summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"] .hub-featured-drawer[open] .hub-featured-drawer__summary {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .hub-featured-drawer__reveal {
    transition: none;
  }

  .hub-featured-drawer__panel {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hub-featured-drawer__panel .hub-featured__inner {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hub-featured-drawer__chevron {
    transition: none;
  }

  .hub-featured-drawer__summary {
    transition: none;
  }
}

.hub-featured__head--drawer {
  margin-bottom: clamp(14px, 2vw, 22px);
}

.hub-featured__head--drawer .hub-featured__note {
  max-width: none;
}

.hub-featured-drawer__panel .hub-featured__inner {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

/* Nove fotografije (traka): tekst/strelice/CTA poravnati s unutarnjim rubom summaryja (isti padding kao na poklopcu) */
#hubArhivioRecentDrawer .hub-featured-drawer__panel .hub-featured__inner {
  padding-left: clamp(18px, 2.5vw, 24px);
  padding-right: clamp(18px, 2.5vw, 24px);
}

/* Nove fotografije iz arhive: puna širina ekrana, bez vidljive scroll trake */
#hubArhivioRecentDrawer.hub-featured-drawer[open] .hub-featured-drawer__panel {
  overflow: visible;
}

/* Ugniježđeno u Fotografije mega: roditeljski panel inače siječe neg. margini na karuselu */
#hubArhivioRecentDrawer.hub-featured-drawer[open] > .hub-featured-drawer__reveal {
  overflow-x: visible;
}

#hubArhivioRecentDrawer.hub-featured-drawer[open] .hub-featured__inner {
  overflow-x: visible;
}

#hubFotografijeMega.hub-featured-drawer[open]:has(#hubArhivioRecentDrawer[open]) > .hub-featured-drawer__reveal {
  overflow-x: visible;
}

#hubFotografijeMega.hub-featured-drawer[open]:has(#hubArhivioRecentDrawer[open])
  > .hub-featured-drawer__reveal
  > .hub-featured-drawer__panel--mega {
  overflow-x: visible;
  overflow-y: visible;
}

#hubCroatiaMapDrawer .hub-featured-drawer__panel .hub-featured__inner {
  padding-left: clamp(18px, 2.5vw, 24px);
  padding-right: clamp(18px, 2.5vw, 24px);
}

.hub-featured-map__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 20px;
  margin: 0 0 clamp(12px, 2vw, 16px);
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--mmc-muted);
}

.hub-featured-map__key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.hub-featured-map__swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.14);
}

html[data-theme="dark"] .hub-featured-map__swatch {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.hub-featured-map__swatch--blue {
  background: #2563eb;
}

.hub-featured-map__swatch--orange {
  background: #ea580c;
}

.hub-featured-map__swatch--yellow {
  background: #ca8a04;
}

.hub-featured-map__embed {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 260px;
  max-height: min(72vh, 640px);
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.09);
}

html[data-theme="dark"] .hub-featured-map__embed {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.1);
}

.hub-featured-map__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hub-featured-map__footer {
  margin: 12px 0 0;
  font-size: 0.88rem;
}

.hub-featured-map__link {
  color: var(--mmc-accent2);
  font-weight: 600;
  text-underline-offset: 3px;
}

.hub-featured-map__link:hover {
  color: var(--mmc-accent);
}

html[data-theme="dark"] .hub-featured-map__link:hover {
  color: var(--mmc-text);
}

.hub-arhivio-feed {
  width: 100%;
}

.hub-arhivio-feed__below {
  width: 100%;
  box-sizing: border-box;
}

.hub-arhivio-feed__bleed {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  /* Puni rubovi ekrana iz užeg stupca (nakon paddinga unutar ladice) */
  margin-inline: calc(50% - 50vw);
  margin-bottom: 6px;
  box-sizing: border-box;
}

/* Nove fotografije (traka): rub do ruba uz poštovanje safe-area (ostale trake ostaju na postojećem .hub-arhivio-feed__bleed) */
#hubArhivioRecentDrawer .hub-arhivio-feed__bleed {
  padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
}

.hub-arhivio-feed__viewport {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  outline: none;
  touch-action: none;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

.hub-arhivio-feed__viewport:focus-visible {
  box-shadow: 0 0 0 2px var(--mmc-accent, #2563eb);
  border-radius: 4px;
}

.hub-arhivio-feed__track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  padding: 0 0 clamp(12px, 2vw, 18px);
  width: max-content;
  box-sizing: border-box;
}

.hub-arhivio-feed__slide {
  flex: 0 0 calc(50vw - 24px);
  max-width: none;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  overflow: hidden;
  background: rgba(248, 250, 252, 0.85);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

html[data-theme="dark"] .hub-arhivio-feed__slide {
  border-color: rgba(126, 160, 198, 0.28);
  background: rgba(15, 23, 42, 0.65);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.hub-arhivio-feed__slide:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

html[data-theme="dark"] .hub-arhivio-feed__slide:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.hub-arhivio-feed__slide:focus-visible {
  outline: 2px solid var(--mmc-accent, #2563eb);
  outline-offset: 3px;
}

.hub-arhivio-feed__slide-fig {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: min(26vh, 240px);
  margin: 0;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.06);
}

html[data-theme="dark"] .hub-arhivio-feed__slide-fig {
  background: rgba(0, 0, 0, 0.35);
}

.hub-arhivio-feed__slide-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Isti ritam kao .hub-subhead / hero natpis (.hub-hero-credit--on-photo): uppercase + letter-spacing */
.hub-arhivio-feed__slide-caption {
  margin: 0;
  padding: 10px 16px 12px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.35;
  color: var(--mmc-muted);
  text-align: left;
  text-transform: uppercase;
  flex-shrink: 0;
}

html[data-theme="dark"] .hub-arhivio-feed__slide-caption {
  color: rgba(148, 163, 184, 0.95);
}

.hub-arhivio-feed__empty {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.65);
}

html[data-theme="dark"] .hub-arhivio-feed__empty {
  color: rgba(226, 237, 255, 0.65);
}

.hub-arhivio-feed__actions {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hub-arhivio-feed__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--mmc-accent, #2563eb), #1d4ed8);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.hub-arhivio-feed__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.42);
}

.hub-arhivio-feed__cta:focus-visible {
  outline: 2px solid var(--mmc-accent2, #93c5fd);
  outline-offset: 2px;
}

html[data-theme="dark"] .hub-arhivio-feed__cta {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hub-arhivio-feed__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 32px);
  padding: 14px 0 6px;
  box-sizing: border-box;
}

.hub-arhivio-feed__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--mmc-text-heading, #0f172a);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.15s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hub-arhivio-feed__nav-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.hub-arhivio-feed__nav-btn:focus-visible {
  outline: 2px solid var(--mmc-accent, #2563eb);
  outline-offset: 2px;
}

.hub-arhivio-feed__nav-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  box-shadow: none;
}

html[data-theme="dark"] .hub-arhivio-feed__nav-btn {
  border-color: rgba(126, 160, 198, 0.35);
  background: rgba(22, 32, 52, 0.92);
  color: #e8f1ff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .hub-arhivio-feed__nav-btn:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.42);
}

.hub-arhivio-feed__nav-count {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--mmc-text, #334155);
  min-width: 5ch;
  text-align: center;
}

html[data-theme="dark"] .hub-arhivio-feed__nav-count {
  color: rgba(226, 237, 255, 0.88);
}

@media (max-width: 520px) {
  /* Objema lalicama jednaka širina + mali, simetričan razmak od ruba ekrana */
  .hub-featured-drawer {
    max-width: none;
    width: 100%;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  /* Kartice ~2× šire nego prije (puna širina trake uz mali rub) */
  .hub-arhivio-feed__slide {
    flex-basis: calc(100vw - 36px);
  }

  .hub-arhivio-feed__slide-fig {
    aspect-ratio: 3 / 2;
    min-height: 0;
  }

  .hub-arhivio-feed__slide-fig img {
    object-fit: contain;
    object-position: center;
  }

  .hub-arhivio-feed__slide-caption {
    font-size: 0.68rem;
    padding: 8px 14px 10px 16px;
    letter-spacing: 0.12em;
  }

  /* Karta Hrvatske: viši ugrađeni okvir (širina ladice kao ostale ladice Fotografije) */
  #hubCroatiaMapDrawer.hub-featured-drawer[open] .hub-featured-drawer__panel {
    overflow: visible;
  }

  #hubCroatiaMapDrawer .hub-featured-drawer__panel .hub-featured__inner {
    padding-left: 0;
    padding-right: 0;
  }

  /* Safe-area je već na .hub-featured-drawer — ovdje samo ujednačen unutarnji razmak teksta */
  #hubCroatiaMapDrawer .hub-featured__head--drawer {
    padding-left: 16px;
    padding-right: 16px;
  }

  #hubCroatiaMapDrawer .hub-featured-map__legend {
    font-size: 0.78rem;
    gap: 8px 14px;
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 12px;
  }

  #hubCroatiaMapDrawer .hub-featured-map__footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  #hubCroatiaMapDrawer .hub-featured-map__embed {
    aspect-ratio: unset;
    min-height: max(420px, 62vh);
    max-height: min(82vh, 800px);
    border-radius: 12px;
    width: 100%;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 520px) {
    #hubCroatiaMapDrawer .hub-featured-map__embed {
      min-height: max(420px, 62dvh);
      max-height: min(82dvh, 800px);
    }
  }
}

.hub-stage__twins {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2.2vw, 22px);
  width: 100%;
}

/* Istaknute: 3 po retku, izmjenjujući ritam — red A sredina 1:1, strane vertikalni crop; red B sredina uža, strane 1:1 */
.hub-stage__mosaic {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.4vw, 13px);
  width: 100%;
}

.hub-stage__mosaic-row {
  display: grid;
  gap: clamp(8px, 1.4vw, 13px);
  align-items: stretch;
  width: 100%;
  min-height: 0;
}

.hub-stage__mosaic-row--a {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.44fr) minmax(0, 0.78fr);
}

.hub-stage__mosaic-row--b {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.56fr) minmax(0, 1.12fr);
}

.hub-stage__mosaic .hub-stage__twin {
  aspect-ratio: unset;
  min-height: 0;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hub-stage__mosaic .hub-stage__twin__mosaic-media {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.hub-stage__mosaic .hub-stage__twin__mosaic-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Natpis preko donjeg ruba slike — transparentna pozadina vidi se na pikselima fotografije, ne na boji kartice. */
.hub-stage__mosaic-tile-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  display: block;
  padding: 8px 8px 9px;
  margin: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  color: var(--mmc-muted);
  background: rgba(248, 250, 252, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  box-sizing: border-box;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

html[data-theme="dark"] .hub-stage__mosaic-tile-caption {
  color: rgb(226, 232, 240);
  background: rgba(15, 23, 42, 0.34);
  border-top-color: rgba(255, 255, 255, 0.12);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.hub-stage__mosaic .hub-stage__twin__loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  pointer-events: none;
}

html[data-theme="dark"] .hub-stage__mosaic .hub-stage__twin__loading {
  background: rgba(15, 23, 42, 0.82);
}

.hub-stage__mosaic .hub-stage__twin--media-loaded .hub-stage__twin__loading {
  opacity: 0;
  visibility: hidden;
}

.hub-stage__mosaic .hub-stage__twin__spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(15, 23, 42, 0.12);
  border-top-color: var(--mmc-accent);
  animation: hub-featured-spin 0.72s linear infinite;
  box-sizing: border-box;
}

html[data-theme="dark"] .hub-stage__mosaic .hub-stage__twin__spinner {
  border-color: rgba(255, 255, 255, 0.14);
  border-top-color: var(--mmc-accent2);
}

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

.hub-stage__mosaic-row--a .hub-stage__twin--mosaic-hero-square {
  aspect-ratio: 10 / 7;
  width: 100%;
  justify-self: stretch;
}

.hub-stage__mosaic-row--a .hub-stage__twin--mosaic-side {
  height: 100%;
  align-self: stretch;
}

.hub-stage__mosaic-row--b .hub-stage__twin--mosaic-square {
  aspect-ratio: 10 / 7;
  width: 100%;
}

.hub-stage__mosaic-row--b .hub-stage__twin--mosaic-strip {
  aspect-ratio: unset;
  width: 100%;
  height: 100%;
  min-height: 100%;
  align-self: stretch;
}

button.hub-stage__twin {
  appearance: none;
  padding: 0;
  font: inherit;
  color: inherit;
  display: block;
  width: 100%;
  min-width: 0;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hub-stage__twin {
  margin: 0;
  border-radius: calc(var(--mmc-radius) - 2px);
  overflow: hidden;
  border: 1px solid var(--mmc-border);
  aspect-ratio: 16 / 10;
  min-height: min(200px, 36vw);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
  background: var(--mmc-tag-soft-bg);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
}

.hub-stage__twin:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.16);
}

.hub-stage__twin:focus-visible {
  outline: 2px solid var(--mmc-accent);
  outline-offset: 3px;
}

html[data-theme="dark"] .hub-stage__twin {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .hub-stage__twin:hover {
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.48);
}

.hub-stage__twin img {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hub-stage__twin:hover img {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .hub-stage__twin,
  .hub-stage__twin img {
    transition: none;
  }

  .hub-stage__twin:hover {
    transform: none;
  }

  .hub-stage__twin:hover img {
    transform: none;
  }

  .hub-stage__mosaic .hub-stage__twin__spinner {
    animation: none;
    opacity: 0.9;
    border: 3px solid var(--mmc-accent);
  }

  html[data-theme="dark"] .hub-stage__mosaic .hub-stage__twin__spinner {
    border-color: var(--mmc-accent2);
  }

  .hub-stage__mosaic .hub-stage__twin__loading {
    transition: opacity 0.12s ease, visibility 0.12s ease;
  }

  .hub-stage__mosaic-tile-caption {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Lightbox za dvije manje fotografije na hubu */
.hub-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(16px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  background: rgba(2, 8, 22, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hub-lightbox[hidden] {
  display: none !important;
}

.hub-lightbox__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hub-lightbox__close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--mmc-toggle-border);
  background: var(--mmc-toggle-bg);
  color: var(--mmc-toggle-fg);
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--mmc-toggle-shadow);
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.hub-lightbox__close:hover {
  transform: scale(1.04);
}

.hub-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  border-radius: 14px;
  border: 1px solid var(--mmc-toggle-border);
  background: var(--mmc-toggle-bg);
  color: var(--mmc-toggle-fg);
  cursor: pointer;
  box-shadow: var(--mmc-toggle-shadow);
  transition:
    transform 0.15s ease,
    border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hub-lightbox__nav:hover {
  transform: translateY(-50%) scale(1.05);
  border-color: var(--mmc-accent);
}

.hub-lightbox__nav:focus-visible {
  outline: 2px solid var(--mmc-accent);
  outline-offset: 2px;
}

.hub-lightbox__nav[hidden] {
  display: none !important;
}

.hub-lightbox__nav--prev {
  left: max(10px, env(safe-area-inset-left));
}

.hub-lightbox__nav--next {
  right: max(10px, env(safe-area-inset-right));
}

@media (max-width: 520px) {
  .hub-lightbox__nav {
    width: 42px;
    height: 42px;
  }

  .hub-lightbox__nav--prev {
    left: max(6px, env(safe-area-inset-left));
  }

  .hub-lightbox__nav--next {
    right: max(6px, env(safe-area-inset-right));
  }
}

.hub-lightbox__frame {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: min(96vw, 1400px);
  max-height: min(88vh, 900px);
}

.hub-lightbox__img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  max-height: min(88vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  cursor: zoom-out;
}

.hub-lightbox__ps {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--mmc-toggle-border);
  background: var(--mmc-toggle-bg);
  color: var(--mmc-toggle-fg);
  box-shadow: var(--mmc-toggle-shadow);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hub-lightbox__ps:hover {
  transform: scale(1.05);
  border-color: var(--mmc-accent);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.18);
}

.hub-lightbox__ps:focus-visible {
  outline: 2px solid var(--mmc-accent);
  outline-offset: 2px;
}

.hub-lightbox__ps[hidden] {
  display: none !important;
}

.hub-lightbox__ps-icon {
  display: block;
}

.hub-lightbox__close:focus-visible {
  outline: 2px solid var(--mmc-accent);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .hub-stage__twins {
    grid-template-columns: 1fr;
  }

  .hub-stage__mosaic-row--a,
  .hub-stage__mosaic-row--b {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .hub-stage__mosaic .hub-stage__twin--mosaic-hero-square,
  .hub-stage__mosaic .hub-stage__twin--mosaic-strip,
  .hub-stage__mosaic .hub-stage__twin--mosaic-square,
  .hub-stage__mosaic .hub-stage__twin--mosaic-side {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: min(182px, 49vw);
  }

  .hub-stage__twin {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .hub-title--on-photo {
    max-width: none;
    font-size: clamp(1.9rem, 7.5vw, 2.75rem);
  }

  .hub-title--on-photo .hub-title__line {
    display: block;
  }

  .hub-title--on-photo .hub-title__line + .hub-title__line::before {
    content: none;
  }

  .hub-stage__hero {
    margin-left: 12px;
    margin-right: 12px;
    height: clamp(308px, 79.2vh, 682px);
    max-height: min(90vh, 704px);
    border-radius: 16px;
  }

  .hub-stage__body {
    max-width: calc(100% - 24px);
    margin-top: 22px;
    --hub-body-stack-gap: 20px;
    gap: var(--hub-body-stack-gap);
  }

  .hub-lead--stage {
    text-align: left;
  }

  .hub-brand-chips--stage {
    justify-content: flex-start;
  }
}

@supports (height: 1svh) {
  @media (max-width: 560px) {
    .hub-stage__hero {
      height: clamp(308px, 79.2svh, 682px);
      max-height: min(90svh, 704px);
    }
  }
}

.hub-lead {
  max-width: 42rem;
  margin: 0 auto 22px;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--mmc-muted);
}

.hub-lead strong {
  color: var(--mmc-lead-strong);
  font-weight: 600;
}

.hub-brand-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hub-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mmc-chip-fg);
  background: var(--mmc-chip-bg);
  border: 1px solid var(--mmc-chip-border);
  box-shadow: var(--mmc-chip-shadow);
}

a.hub-chip {
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

a.hub-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.42);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
}

html[data-theme="dark"] a.hub-chip:hover {
  border-color: rgba(85, 165, 243, 0.45);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

a.hub-chip:focus-visible {
  outline: 2px solid var(--mmc-accent);
  outline-offset: 3px;
}

.hub-chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--mmc-accent2), var(--mmc-accent));
  box-shadow: 0 0 12px rgba(85, 165, 243, 0.55);
}

.hub-chip-dot--mint {
  background: linear-gradient(180deg, #a7f3d0, var(--mmc-mint));
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.45);
}

/* Istaknuti Arhivio — glavni CTA (svijetla: tamno + bijeli tekst; tamna: bijelo + crni tekst) */
a.hub-chip.hub-chip--primary {
  color: #f8fafc;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  border-color: rgba(15, 23, 42, 0.9);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 10px 28px rgba(15, 23, 42, 0.3);
  font-weight: 600;
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

a.hub-chip.hub-chip--primary .hub-chip-dot {
  background: linear-gradient(180deg, #f1f5f9, #cbd5e1);
  box-shadow: 0 0 10px rgba(248, 250, 252, 0.4);
}

a.hub-chip.hub-chip--primary:hover {
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.09) inset,
    0 14px 36px rgba(15, 23, 42, 0.38);
}

html[data-theme="dark"] a.hub-chip.hub-chip--primary {
  color: #0a0a0a;
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 10px 30px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] a.hub-chip.hub-chip--primary .hub-chip-dot {
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
}

html[data-theme="dark"] a.hub-chip.hub-chip--primary:hover {
  border-color: rgba(15, 23, 42, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 16px 42px rgba(0, 0, 0, 0.48);
}

.hub-subhead {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mmc-muted);
}

.hub-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 0;
  margin-bottom: 32px;
}

@media (max-width: 720px) {
  .hub-highlights {
    grid-template-columns: 1fr;
  }
}

.hub-hi {
  padding: 20px 20px 22px;
  border-radius: var(--mmc-radius);
  border: 1px solid var(--mmc-border);
  background: var(--mmc-hi-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
}

.hub-hi-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: var(--mmc-hi-icon-bg);
  border: 1px solid var(--mmc-hi-icon-border);
  color: var(--mmc-hi-icon-fg);
}

.hub-hi h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--mmc-text-heading);
}

.hub-hi p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--mmc-muted);
}

.hub-about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 40px;
  align-items: start;
}

.hub-about-card {
  padding: 26px 24px 28px;
  border-radius: var(--mmc-radius);
  border: 1px solid var(--mmc-about-border);
  background: var(--mmc-about-bg);
  box-shadow: var(--mmc-about-shadow);
}

.hub-about-card h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mmc-text-heading);
}

.hub-about-card p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--mmc-muted);
}

.hub-about-card p:last-child {
  margin-bottom: 0;
}

.hub-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--mmc-muted);
  border-bottom: 1px solid var(--mmc-list-border);
}

.hub-list li:last-child {
  border-bottom: none;
}

.hub-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(145deg, var(--mmc-accent2), var(--mmc-accent));
  opacity: 0.9;
}

.hub-tools-head {
  margin-bottom: 8px;
}

.hub-tools-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mmc-text-heading);
}

.hub-tools-head p {
  margin: 0 0 22px;
  max-width: 48rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mmc-muted);
}

.hub-tool-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

a.hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 24px;
  border-radius: var(--mmc-radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--mmc-tool-border);
  background: var(--mmc-tool-bg);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  min-height: 220px;
}

a.hub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, var(--mmc-tool-shine), transparent 65%);
  opacity: 0.65;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

a.hub-card:hover {
  transform: translateY(-4px);
  border-color: var(--mmc-tool-hover-border);
  box-shadow: var(--mmc-tool-hover-outer), 0 0 0 1px var(--mmc-tool-hover-inner) inset;
}

a.hub-card:hover::before {
  opacity: 1;
}

a.hub-card:focus-visible {
  outline: 2px solid var(--mmc-accent);
  outline-offset: 3px;
}

a.hub-card--mint::before {
  background: radial-gradient(80% 60% at 100% 0%, var(--mmc-tool-mint-shine), transparent 65%);
}

a.hub-card--muted::before {
  background: radial-gradient(80% 60% at 100% 0%, var(--mmc-tool-muted-shine), transparent 65%);
}

.hub-card-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.hub-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--mmc-tool-icon-bg);
  border: 1px solid var(--mmc-tool-icon-border);
  color: var(--mmc-accent2);
}

a.hub-card--mint .hub-card-icon {
  color: var(--mmc-tool-mint-icon-fg);
  border-color: var(--mmc-tool-mint-icon-border);
}

.hub-card-arrow {
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--mmc-tool-arrow);
  transition: transform 0.2s ease, color 0.2s ease;
}

a.hub-card:hover .hub-card-arrow {
  transform: translate(4px, -2px);
  color: var(--mmc-accent2);
}

.hub-card h3 {
  position: relative;
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mmc-text-heading);
}

.hub-card .desc {
  position: relative;
  flex: 1;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--mmc-muted);
}

.hub-card-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hub-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--mmc-tag-bg);
  color: var(--mmc-tag-fg);
  border: 1px solid var(--mmc-tag-border);
}

.hub-card-tag--soft {
  background: var(--mmc-tag-soft-bg);
  color: var(--mmc-tag-soft-fg);
  border-color: var(--mmc-tag-soft-border);
}

/* Saznajte više — ispod Modula; zatim „Zašto MMC” (prodajni dubinski blok) */
.hub-learn-more-zone {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* Isto kao razmak .hub-featured__section-intro → prva ladicu (Fotografije / Inspiracija) */
  gap: clamp(14px, 2.2vw, 22px);
  /* Dodatni zrak između kartica Modula i naslova sekcije */
  margin-top: clamp(36px, 5.5vw, 60px);
  margin-bottom: clamp(28px, 5vw, 40px);
}

.hub-learn-more-zone + .hub-about {
  margin-top: clamp(12px, 2.5vw, 28px);
}

.hub-learn-more__inner {
  width: 100%;
  max-width: min(1100px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  box-sizing: border-box;
}

.hub-learn-feed .hub-arhivio-feed__slide-fig.hub-learn-feed__fig--placeholder {
  background: linear-gradient(145deg, rgba(148, 163, 184, 0.12), rgba(248, 250, 252, 0.5));
}

html[data-theme="dark"] .hub-learn-feed .hub-arhivio-feed__slide-fig.hub-learn-feed__fig--placeholder {
  background: rgba(0, 0, 0, 0.35);
}

.hub-arhivio-feed__slide.hub-learn-feed__slide--draft {
  pointer-events: none;
  cursor: default;
  opacity: 0.82;
}

.hub-arhivio-feed__slide.hub-learn-feed__slide--draft:hover {
  transform: none;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"] .hub-arhivio-feed__slide.hub-learn-feed__slide--draft:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.hub-arhivio-feed__slide.hub-learn-feed__slide--empty {
  border-style: dashed;
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
}

.hub-arhivio-feed__slide.hub-learn-feed__slide--empty:hover {
  transform: none;
}

.hub-learn-feed__fig--empty {
  flex: 1;
  min-height: min(26vh, 240px);
  background: rgba(15, 23, 42, 0.04);
}

html[data-theme="dark"] .hub-learn-feed__fig--empty {
  background: rgba(0, 0, 0, 0.28);
}

/* Članci u "Saznajte više": jači naslov + CTA gumb (cijela kartica je i dalje jedan link) */
.hub-learn-feed .hub-learn-feed__slide--article .hub-arhivio-feed__slide-caption.hub-learn-feed__title {
  padding: 16px 18px 6px 20px;
  font-size: clamp(0.98rem, 1.15vw + 0.72rem, 1.28rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.38;
  color: var(--mmc-text-heading, #0f172a);
  text-transform: uppercase;
}

html[data-theme="dark"] .hub-learn-feed .hub-learn-feed__slide--article .hub-arhivio-feed__slide-caption.hub-learn-feed__title {
  color: #f1f5ff;
}

.hub-learn-feed .hub-learn-feed__slide--article:hover .hub-arhivio-feed__slide-caption.hub-learn-feed__title {
  color: var(--mmc-accent, #2563eb);
}

html[data-theme="dark"] .hub-learn-feed .hub-learn-feed__slide--article:hover .hub-arhivio-feed__slide-caption.hub-learn-feed__title {
  color: #93c5fd;
}

.hub-learn-feed__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-end;
  margin: 8px 20px 18px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--mmc-accent, #2563eb), #1d4ed8);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.38);
  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease;
  pointer-events: none;
}

.hub-learn-feed__cta-icon {
  font-weight: 700;
  line-height: 1;
  transition: transform 0.18s ease;
}

.hub-learn-feed .hub-learn-feed__slide--article:hover .hub-learn-feed__cta {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.48);
}

.hub-learn-feed .hub-learn-feed__slide--article:hover .hub-learn-feed__cta-icon {
  transform: translateX(3px);
}

html[data-theme="dark"] .hub-learn-feed__cta {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .hub-learn-feed .hub-learn-feed__slide--article:hover .hub-learn-feed__cta {
  box-shadow: 0 7px 26px rgba(0, 0, 0, 0.55);
}

.hub-session {
  margin-top: 40px;
  padding: 22px 24px;
  border-radius: var(--mmc-radius);
  border: 1px dashed var(--mmc-session-dashed);
  background: var(--mmc-session-bg);
}

.hub-session p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--mmc-muted);
  text-align: center;
}

.hub-session a {
  color: var(--mmc-link);
  font-weight: 600;
  text-decoration: none;
}

.hub-session a:hover {
  text-decoration: underline;
}

footer.hub-footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--mmc-footer-border);
  font-size: 0.84rem;
  color: var(--mmc-footer-muted);
}

footer.hub-footer a {
  color: var(--mmc-link);
  text-decoration: none;
  font-weight: 500;
}

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

@media (max-width: 420px) {
  .gate-field-wrap {
    flex-direction: column;
  }

  .gate-submit {
    padding: 14px 18px;
  }

  .hub-inner {
    padding: 28px 16px 44px;
  }

  .theme-toggle {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }
}


/* MMC — Novo / Nove fotografije (mosaik, kao Inspiracija / Info hub) */

:root {
  --inspire-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --inspire-radius: 20px;
}

html {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--inspire-font);
  background: linear-gradient(165deg, #0c1424, #152238);
  color: #e8f1ff;
  padding: 88px 18px 48px;
  transition: background 0.35s ease, color 0.25s ease;
}

html:not([data-theme="dark"]) body {
  background: linear-gradient(165deg, #eef4fb, #dceaf5);
  color: #0f172a;
}

.inspire-shell {
  max-width: 1080px;
  margin: 0 auto;
}

.inspire-panel {
  padding: 26px 24px 28px;
  border-radius: var(--inspire-radius);
  border: 1px solid rgba(126, 160, 198, 0.35);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

html:not([data-theme="dark"]) .inspire-panel {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.inspire-panel h1 {
  font-size: clamp(1.35rem, 1.2vw + 1.1rem, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.2;
  color: #f0f6ff;
}

html:not([data-theme="dark"]) .inspire-panel h1 {
  color: #020617;
}

.inspire-intro {
  margin-bottom: 20px;
}

.inspire-intro .inspire-lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(232, 241, 255, 0.78);
  max-width: 62ch;
}

.inspire-intro .inspire-lead:not(:first-child) {
  margin-top: 0.45em;
}

.inspire-lead--novo-note {
  font-style: italic;
  opacity: 0.92;
}

html:not([data-theme="dark"]) .inspire-intro .inspire-lead {
  color: rgba(15, 23, 42, 0.72);
}

html:not([data-theme="dark"]) .inspire-lead--novo-note {
  opacity: 0.88;
}

.inspire-mosaic-wrap {
  margin-top: 4px;
}

.inspire-empty {
  margin: 0;
  padding: 20px 16px;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(232, 241, 255, 0.65);
  border-radius: 14px;
  border: 1px dashed rgba(126, 160, 198, 0.4);
}

html:not([data-theme="dark"]) .inspire-empty {
  color: rgba(15, 23, 42, 0.6);
  border-color: rgba(15, 23, 42, 0.15);
}

.inspire-mosaic-actions {
  margin-top: 2px;
}

.inspire-foot {
  margin: 22px 0 0;
  font-size: 0.9rem;
}

.inspire-foot--center {
  text-align: center;
}

.inspire-foot a {
  color: #79c3ff;
  text-decoration: none;
}

.inspire-foot a:hover {
  text-decoration: underline;
}

html:not([data-theme="dark"]) .inspire-foot a {
  color: #2563eb;
}

.inspire-panel .hub-stage__mosaic {
  margin-top: 0;
}

body.novo-lightbox-open .mmc-toolbar {
  visibility: hidden;
  pointer-events: none;
}

