:root {
  --bg: #0b0e14;
  --bg-alt: #10141d;
  --surface: #141a26;
  --surface-2: #1c2432;
  --border: #262f42;
  --text: #eef1f6;
  --text-dim: #9aa4ba;
  --text-dimmer: #6b7488;
  --accent-a: #00d4ff;
  --accent-b: #7c3aed;
  --accent-grad: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  --danger: #ff3d6e;
  --success: #10b981;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-image:
    radial-gradient(circle at 15% 0%, rgba(0, 212, 255, 0.08), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(124, 58, 237, 0.10), transparent 45%);
  background-attachment: fixed;
  min-height: 100vh;
}

h1, h2, h3, h4, .brand {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 14, 20, 0.72);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.brand .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 0 18px 2px rgba(0, 212, 255, 0.55);
}

.brand span.accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a, .main-nav button.linklike {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.15s ease;
}

.main-nav a:hover, .main-nav a.active, .main-nav button.linklike:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background: var(--accent-grad);
  color: #05060a;
  box-shadow: 0 8px 24px -8px rgba(0, 212, 255, 0.5);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(124, 58, 237, 0.55); }

.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--accent-a); }

.btn-danger {
  background: rgba(255, 61, 110, 0.12);
  color: #ff7c99;
  border: 1px solid rgba(255, 61, 110, 0.35);
}

.btn-danger:hover { background: rgba(255, 61, 110, 0.2); }

.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  margin-top: 28px;
  height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 8s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 20, 0.05) 0%, rgba(11, 14, 20, 0.55) 55%, rgba(8, 9, 14, 0.96) 100%);
}

.hero-slide .hero-content {
  position: relative;
  z-index: 3;
  padding: 48px 56px;
  max-width: 760px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.badge-group:empty { margin-bottom: 0; }

.hero-content h2 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 620px;
}

.hero-meta {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  margin-bottom: 18px;
}

.hero-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 14, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  backdrop-filter: blur(6px);
  transition: background 0.15s ease;
}

.hero-nav:hover { background: rgba(11, 14, 20, 0.75); }
.hero-nav.prev { left: 20px; }
.hero-nav.next { right: 20px; }

.hero-dots {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 28px;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.2s ease;
}

.hero-dots button.active {
  width: 26px;
  border-radius: 999px;
  background: var(--accent-grad);
}

/* ---------- Sections ---------- */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 56px 0 24px;
}

.section-head h3 {
  font-size: 26px;
}

.section-head .sub {
  color: var(--text-dim);
  font-size: 14px;
}

.category-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.pill {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.15s ease;
}

.pill:hover { color: var(--text); border-color: var(--accent-a); }
.pill.active {
  background: var(--accent-grad);
  color: #05060a;
  border-color: transparent;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  padding-bottom: 60px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: var(--shadow);
}

.card-media {
  height: 170px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.card-media .badge-group {
  position: absolute;
  left: 14px;
  top: 14px;
  right: 14px;
  margin: 0;
  gap: 6px;
}

.card-media .badge-group .badge {
  font-size: 11px;
}

.card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-body h4 {
  font-size: 18px;
  line-height: 1.35;
}

.card-body .excerpt {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dimmer);
  font-size: 12px;
  margin-top: 4px;
}

/* ---------- Article detail ---------- */

.article-page { padding-bottom: 80px; }

.article-hero {
  margin-top: 28px;
  height: 420px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 20, 0.1), rgba(8, 9, 14, 0.9));
}

.article-hero-content {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  left: 48px;
  right: 48px;
}

.article-hero-content h1 { color: #fff; font-size: 38px; }

.article-body {
  max-width: 760px;
  margin: 40px auto 0;
}

.article-body .meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.article-body .meta {
  color: var(--text-dim);
  font-size: 14px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.share-wrap { position: relative; flex-shrink: 0; }

.share-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 6px;
  display: flex;
  flex-direction: column;
  min-width: 170px;
}

.share-menu button {
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.share-menu button:hover { background: var(--surface); color: var(--accent-a); }

.article-body .lede {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 22px;
}

.article-body .lede p { margin: 0 0 12px; }
.article-body .lede p:last-child { margin-bottom: 0; }

.article-body .content p {
  font-size: 16.5px;
  line-height: 1.85;
  color: #cbd3e1;
  margin-bottom: 20px;
  font-weight: 400;
}

.article-body .lede strong, .article-body .content strong { font-weight: 700; }
.article-body .lede em, .article-body .content em { font-style: italic; }
.article-body .lede u, .article-body .content u { text-decoration: underline; }

.article-body .content ul,
.article-body .content ol,
.article-body .lede ul,
.article-body .lede ol {
  padding-left: 1.4em;
  margin: 0 0 20px;
  color: #cbd3e1;
}

.article-body .content li,
.article-body .lede li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.article-body .content img,
.article-body .lede img {
  max-width: 100%;
  border-radius: 12px;
  margin: 8px 0 20px;
  display: block;
}

.article-body .content .ql-align-center,
.article-body .lede .ql-align-center { text-align: center; }
.article-body .content .ql-align-right,
.article-body .lede .ql-align-right { text-align: right; }

.article-body .content a,
.article-body .lede a {
  color: var(--accent-a);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.article-body .content a:hover,
.article-body .lede a:hover { color: var(--accent-b); }

/* A link stripped of its href by the server-side sanitizer (disallowed protocol)
   shouldn't still look clickable. */
.article-body .content a:not([href]),
.article-body .lede a:not([href]) {
  color: inherit;
  text-decoration: none;
  cursor: text;
}

/* Quill 2 renders both bullet and numbered lists as <ol data-list="...">
   with an inert <span class="ql-ui"> marker rather than plain <ul>/<ol>. */
.article-body .content .ql-ui,
.article-body .lede .ql-ui { display: none; }

.article-body .content ol,
.article-body .lede ol { counter-reset: rte-ordered; }

.article-body .content ol > li[data-list],
.article-body .lede ol > li[data-list] { list-style: none; }

.article-body .content ol > li[data-list="bullet"]::before,
.article-body .lede ol > li[data-list="bullet"]::before {
  content: "•";
  color: var(--accent-a);
  margin-right: 0.7em;
}

.article-body .content ol > li[data-list="ordered"],
.article-body .lede ol > li[data-list="ordered"] { counter-increment: rte-ordered; }

.article-body .content ol > li[data-list="ordered"]::before,
.article-body .lede ol > li[data-list="ordered"]::before {
  content: counter(rte-ordered) ".";
  color: var(--accent-a);
  margin-right: 0.6em;
  font-weight: 600;
}

.article-noimage-head {
  margin-top: 40px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.article-noimage-head h1 { font-size: 34px; margin-bottom: 16px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 28px;
  font-weight: 600;
}

.back-link:hover { color: var(--accent-a); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 36px 0;
  color: var(--text-dimmer);
  font-size: 14px;
  text-align: center;
}

.site-footer a {
  color: var(--text-dim);
  font-weight: 600;
  transition: color 0.15s ease;
}

.site-footer a:hover { color: var(--accent-a); }

/* ---------- Admin ---------- */

.auth-shell {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.auth-card h2 { font-size: 24px; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-dim); font-size: 14px; margin-bottom: 26px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 7px;
}

.field input, .field select {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent-a);
}

/* ---------- Rich text editor (Quill, dark-themed) ---------- */

.rich-editor {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.rich-editor:focus-within { border-color: var(--accent-a); }

.rich-editor .ql-toolbar.ql-snow {
  background: var(--surface-2);
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: inherit;
}

.rich-editor .ql-container.ql-snow {
  border: none;
  font-family: inherit;
  font-size: 14px;
}

.rich-editor .ql-editor {
  min-height: var(--rte-min-height, 140px);
  color: var(--text);
  line-height: 1.6;
}

.rich-editor .ql-editor.ql-blank::before {
  color: var(--text-dimmer);
  font-style: normal;
}

.rich-editor .ql-toolbar.ql-snow .ql-stroke { stroke: var(--text-dim); }
.rich-editor .ql-toolbar.ql-snow .ql-fill { fill: var(--text-dim); }
.rich-editor .ql-toolbar.ql-snow .ql-picker-label { color: var(--text-dim); }

.rich-editor .ql-toolbar.ql-snow button:hover .ql-stroke,
.rich-editor .ql-toolbar.ql-snow button.ql-active .ql-stroke,
.rich-editor .ql-toolbar.ql-snow .ql-picker-label:hover .ql-stroke,
.rich-editor .ql-toolbar.ql-snow .ql-picker-item:hover { stroke: var(--accent-a); }

.rich-editor .ql-toolbar.ql-snow button:hover .ql-fill,
.rich-editor .ql-toolbar.ql-snow button.ql-active .ql-fill { fill: var(--accent-a); }

.rich-editor .ql-toolbar.ql-snow button:hover .ql-picker-label,
.rich-editor .ql-toolbar.ql-snow button.ql-active .ql-picker-label { color: var(--accent-a); }

.rich-editor .ql-snow .ql-picker-options {
  background: var(--surface-2);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm);
}

.rich-editor .ql-snow .ql-picker-item:hover,
.rich-editor .ql-snow .ql-picker-label:hover { color: var(--accent-a); }

.rich-editor .ql-snow .ql-tooltip {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow);
}

.rich-editor .ql-snow .ql-tooltip input[type="text"] {
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
}

.rich-editor .ql-snow .ql-tooltip::before {
  color: var(--text-dim);
}

.rich-editor .ql-snow .ql-tooltip a.ql-action,
.rich-editor .ql-snow .ql-tooltip a.ql-remove,
.rich-editor .ql-snow .ql-tooltip a.ql-preview {
  color: var(--accent-a);
}

.error-msg {
  background: rgba(255, 61, 110, 0.12);
  border: 1px solid rgba(255, 61, 110, 0.35);
  color: #ff7c99;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
}

.admin-shell { padding: 40px 0 80px; }

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.admin-table th, .admin-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.admin-table th {
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--surface-2);
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table td.actions { display: flex; gap: 8px; }
.admin-table .cat-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-dim);
}

.editor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 780px;
}

.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.editor-grid .field.full { grid-column: 1 / -1; }

.category-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.category-checkbox:has(input:checked) {
  color: var(--text);
  border-color: var(--accent-a);
}

.category-checkbox input[type="checkbox"] {
  accent-color: var(--accent-a);
  width: 15px;
  height: 15px;
}

.swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.image-preview {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dimmer);
  font-size: 13px;
  margin-bottom: 12px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
}

.loading-bar {
  height: 2px;
  background: var(--accent-grad);
  width: 100%;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (max-width: 720px) {
  .hero { height: 460px; }
  .hero-content h2 { font-size: 28px; }
  .main-nav { gap: 16px; }
  .site-header .container { height: 66px; }
  .editor-grid { grid-template-columns: 1fr; }
  .article-hero-content h1 { font-size: 26px; }
}
/* ---------- DocurAI advertentie ---------- */

.ad {
  --d-navy: #0a2240;
  --d-navy-2: #0e2d4f;
  --d-red: #c0392b;
  --d-red-2: #e74c3c;
  --d-text: #eaf2fb;
  --d-text-mut: #93a9c4;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--d-text);
  text-decoration: none;
}

.ad-label {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--d-text-mut);
}

.ad-label--float {
  position: absolute;
  top: 9px;
  right: 14px;
}

.ad-mark { flex: none; display: block; }

.ad-wordmark {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff;
}

.ad-wordmark i { font-style: normal; color: #f0705f; }

.ad-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--d-red-2), var(--d-red));
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 18px -6px rgba(192, 57, 43, 0.75);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ad:hover .ad-cta {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -8px rgba(192, 57, 43, 0.85);
}

.ad:focus-visible {
  outline: 3px solid var(--d-red-2);
  outline-offset: 3px;
}

/* Banner */

.ad--banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 22px 26px;
  margin: 32px 0 8px;
  background:
    radial-gradient(700px 260px at 88% 130%, rgba(192, 57, 43, 0.3), transparent 62%),
    radial-gradient(600px 300px at 8% -40%, rgba(59, 125, 216, 0.42), transparent 60%),
    linear-gradient(100deg, var(--d-navy), var(--d-navy-2));
}

.ad-brand { display: flex; align-items: center; gap: 14px; }

.ad-body h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 9px;
}

.ad-ticks { display: flex; flex-wrap: wrap; gap: 7px 20px; font-size: 12.5px; }

.ad-tick { display: flex; align-items: center; gap: 7px; }

.ad-tick i {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(111, 168, 220, 0.18);
  color: #6fa8dc;
  font-style: normal;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}

.ad-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
}

.ad-price { line-height: 1.2; }
.ad-price b { display: block; font-size: 20px; font-weight: 800; color: #ffffff; }
.ad-price span { display: block; font-size: 11px; color: var(--d-text-mut); }

/* Sponsorstrip */

.ad--strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  margin-top: 48px;
  font-size: 13.5px;
  background: linear-gradient(90deg, var(--d-navy), #123258 55%, var(--d-navy-2));
}

.ad-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.16); }

.ad-strip-text strong { color: #ffffff; font-weight: 700; }

.ad-strip-link {
  margin-left: auto;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid var(--d-red-2);
  padding-bottom: 1px;
}

@media (max-width: 860px) {
  .ad--banner { grid-template-columns: 1fr; gap: 16px; }
  .ad-side { align-items: flex-start; text-align: left; }
  .ad-label--float { position: static; display: block; }
  .ad-strip-link { margin-left: 0; }
}
