html body.rd-flat-public .rd-public-archive .rd-archive-filters {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(170px, 2fr) repeat(3, minmax(105px, 1fr)) auto auto;
  align-items: end;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--ui-border, #dfe5ec);
  border-radius: 6px;
  background: var(--ui-surface, #fff);
  box-shadow: none;
}
html body.rd-flat-public .rd-public-archive .rd-archive-filters > label {
  display: flex;
  flex-direction: column;
  flex: none;
  grid-column: auto;
  min-width: 0;
  gap: 5px;
  margin: 0;
  color: var(--muted, #526b7d);
  font-size: 12px;
  line-height: 16px;
  font-weight: 650;
}
html body.rd-flat-public .rd-public-archive .rd-archive-filters :is(input, select) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 10px;
  font-size: 14px;
}
html body.rd-flat-public .rd-public-archive .rd-archive-filters > .btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  grid-column: auto;
  width: auto;
  min-height: 44px;
  height: 44px;
  margin: 0;
  padding: 9px 13px;
  white-space: nowrap;
}
@media (max-width: 900px) {
  html body.rd-flat-public .rd-public-archive .rd-archive-filters {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scroll-padding-inline: 12px;
    padding: 10px 12px 12px;
  }
  html body.rd-flat-public .rd-public-archive .rd-archive-filters > label {
    flex: 0 0 130px;
    width: 130px;
  }
  html body.rd-flat-public .rd-public-archive .rd-archive-filters > label:first-child {
    flex-basis: 220px;
    width: 220px;
  }
  html body.rd-flat-public .rd-public-archive .rd-archive-filters > label:last-of-type {
    flex-basis: 175px;
    width: 175px;
  }
}
html body.rd-flat-public .site-footer.rd37-footer-compact {
  position: relative;
  isolation: isolate;
  margin: 32px 0 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--ui-border, #dfe5ec);
  border-radius: 0;
  background: var(--ui-surface, #fff);
  color: var(--ink, #18324c);
  box-shadow: none;
  overflow: visible;
}
html body.rd-flat-public .rd37-footer-compact::before,
html body.rd-flat-public .rd37-footer-compact::after {
  display: none;
}
html body.rd-flat-public .rd37-footer-compact > .rd37-footer-shell {
  display: block;
  padding-block: 25px 18px;
}
html body.rd-flat-public .rd37-footer-compact .rd37-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 0 0 20px;
}
html body.rd-flat-public .rd37-footer-compact .rd29-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 680px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
html body.rd-flat-public .rd37-footer-compact .rd29-logo {
  display: block;
  flex: none;
  width: 150px;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
html body.rd-flat-public .rd37-footer-compact .rd29-logo .rd-identity {
  height: 44px;
}
html body.rd-flat-public .rd37-footer-compact .rd29-logo img {
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}
html body.rd-flat-public .rd37-footer-compact .rd29-brand-copy {
  min-width: 0;
}
html body.rd-flat-public .rd37-footer-compact .rd29-brand-copy > strong {
  display: block;
  margin: 0;
  color: var(--ink, #18324c);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}
html body.rd-flat-public .rd37-footer-compact .rd29-brand-copy > p {
  margin: 4px 0 0;
  color: var(--muted, #586b80);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
html body.rd-flat-public .rd37-footer-compact .rd29-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 19px;
  flex: 0 1 390px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
html body.rd-flat-public .rd37-footer-compact .rd29-links a {
  color: var(--ink, #18324c);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  text-decoration: none;
}
html body.rd-flat-public .rd37-footer-compact .rd29-links a:hover {
  color: var(--ui-primary, #176bcc);
  text-decoration: underline;
}
html body.rd-flat-public .rd37-footer-compact .rd29-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin: 0;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--ui-border, #dfe5ec);
  background: transparent;
}
html body.rd-flat-public .rd37-footer-compact .rd29-copyright {
  display: grid;
  gap: 5px;
  min-width: 0;
  margin: 0;
  color: var(--muted, #586b80);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
html body.rd-flat-public .rd37-footer-compact .rd29-copyright small {
  color: inherit;
  font-size: 12px;
  line-height: 1.5;
}
html body.rd-flat-public .rd37-footer-compact .rd29-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}
html body.rd-flat-public .rd37-footer-compact .rd29-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 1px solid var(--ui-border, #dfe5ec);
  border-radius: 6px;
  color: var(--muted, #586b80);
  background: transparent;
}
html body.rd-flat-public .rd37-footer-compact .rd29-social svg {
  width: 18px;
  height: 18px;
}
html body.rd-flat-public .rd37-footer-compact .rd30-footer-install {
  color: var(--ui-primary, #176bcc);
  font-size: 12px;
  font-weight: 600;
}
html body.rd-flat-public .rd37-footer-compact a:focus-visible {
  outline: 3px solid #82b8f6;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  html body.rd-flat-public .rd37-footer-compact .rd37-footer-top {
    flex-direction: column;
    gap: 18px;
    padding-bottom: 18px;
  }
  html body.rd-flat-public .rd37-footer-compact .rd29-brand {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  html body.rd-flat-public .rd37-footer-compact .rd29-logo {
    width: 145px;
  }
  html body.rd-flat-public .rd37-footer-compact .rd29-links {
    flex: 0 1 auto;
    justify-content: center;
    gap: 10px 18px;
  }
  html body.rd-flat-public .rd37-footer-compact .rd29-base {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  html body.rd-flat-public .rd37-footer-compact .rd29-social {
    justify-content: center;
  }
}
html body.rd-flat-public dialog.rd28-contact-panel[open] {
  width: min(940px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
html body.rd-flat-public .rd28-contact-head {
  padding: 18px 64px 18px 22px;
}
html body.rd-flat-public .rd28-contact-head h2 {
  margin: 3px 0 4px;
}
html body.rd-flat-public .rd28-contact .rd-contact-direct {
  padding: 20px 22px 22px;
}
html body.rd-flat-public .rd28-contact .rd37-contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
}
html body.rd-flat-public .rd28-contact .rd37-contact-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: stretch;
  gap: 16px;
  min-width: 0;
}
html body.rd-flat-public .rd28-contact .rd37-contact-identity {
  display: grid;
  gap: 12px;
  min-width: 0;
}
html
  body.rd-flat-public
  .rd28-contact
  .rd37-contact-form.rd-contact-direct-form
  label.rd37-inset-field:not(.check-row):not(.rd-trap) {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
}
html body.rd-flat-public .rd28-contact .rd37-inset-field > span {
  position: absolute;
  z-index: 1;
  top: 7px;
  left: 13px;
  right: 13px;
  color: var(--muted, #526b82);
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  pointer-events: none;
}
html body.rd-flat-public .rd28-contact .rd37-contact-form .rd37-inset-field > :is(input, textarea) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  margin: 0 !important;
  padding: 23px 12px 7px !important;
  border: 1px solid var(--ui-border, #cbd9e8) !important;
  border-radius: 5px !important;
  background: var(--ui-surface, #fff);
  color: var(--ink, #18324c);
  font: 400 15px/20px var(--rd-font-ui, system-ui, sans-serif);
}
html body.rd-flat-public .rd28-contact .rd37-contact-form .rd37-contact-message > textarea {
  height: 180px;
  min-height: 180px;
  resize: vertical;
}
html body.rd-flat-public .rd28-contact .rd37-inset-field:focus-within > span {
  color: var(--ui-primary, #176bcc);
}
html body.rd-flat-public .rd28-contact .rd37-contact-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding-top: 1px;
}
html body.rd-flat-public .rd28-contact .rd37-contact-actions .check-row {
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.5;
}
html body.rd-flat-public .rd28-contact .rd37-contact-actions .check-row > input {
  flex: none;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 1px 0 0 !important;
}
html body.rd-flat-public .rd28-contact .rd37-contact-actions .desk-math {
  margin: 0;
  padding: 8px 10px;
  background: var(--ui-soft, #f3f7fb);
  border: 1px solid var(--ui-border, #dce5ef);
}
html body.rd-flat-public .rd28-contact .rd37-contact-actions .desk-math > label {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
}
html body.rd-flat-public .rd28-contact .rd37-contact-actions .desk-math strong {
  font-size: 13px;
  white-space: nowrap;
}
html body.rd-flat-public .rd28-contact .rd37-contact-actions .desk-math input {
  box-sizing: border-box;
  width: 112px !important;
  height: 44px;
  min-height: 44px;
  margin: 0 !important;
  padding: 8px !important;
  font-size: 13px;
}
html body.rd-flat-public .rd28-contact .rd37-contact-actions button[type='submit'] {
  justify-self: stretch;
  min-height: 44px;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 700px) {
  html body.rd-flat-public .rd28-contact .rd37-contact-actions {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  html body.rd-flat-public .rd28-contact .rd37-contact-actions .check-row {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  html body.rd-flat-public .rd28-contact-head {
    padding: 17px 58px 17px 16px;
  }
  html body.rd-flat-public .rd28-contact .rd-contact-direct {
    padding: 16px;
  }
  html body.rd-flat-public .rd28-contact .rd37-contact-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  html body.rd-flat-public .rd28-contact .rd37-contact-form .rd37-inset-field > input {
    font-size: 16px;
  }
  html body.rd-flat-public .rd28-contact .rd37-contact-form .rd37-contact-message > textarea {
    min-height: 150px;
    height: 150px;
    font-size: 16px;
  }
  html body.rd-flat-public .rd28-contact .rd37-contact-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  html body.rd-flat-public .rd28-contact .rd37-contact-actions .desk-math {
    justify-self: start;
  }
}

/* Public controls only. Navigation banners, media pickers and the desk are separate. */
body.rd-unified-public,
body.auth-page {
  --rd42-paper: #fff;
  --rd42-ink: #18324c;
  --rd42-muted: #526b82;
  --rd42-line: #cbd8e6;
  --rd42-blue: #1256a2;
  --rd42-blue-hover: #0c477f;
  --rd42-outline: #1256a2;
  --rd42-focus: rgba(18, 86, 162, .20);
  --rd42-disabled: #718196;
}
html[data-theme='dark'] body.rd-unified-public,
html[data-theme='dark'] body.auth-page {
  --rd42-paper: #1c2b39;
  --rd42-ink: #edf4fb;
  --rd42-muted: #bdccda;
  --rd42-line: #4c6174;
  --rd42-outline: #9dcaff;
  --rd42-focus: rgba(129, 187, 247, .25);
  --rd42-disabled: #a3b4c5;
}

/* Persistent labels sit above separately bordered controls. */
html body.rd-unified-public form:is(.rd23-form,.rd25-track-form,.rd25-recover-form,.rd22-followup,.rd-contact-direct-form,.public-form,.account-form,.rd-archive-filters,.rd64-public-filters,.search-results-controls,.rd27-report-form,.rd-ad-view form)
  label:not(.rd-trap,.report-honeypot,.rd37-inset-field,.rd-ad-contact-field):not(.honeypot label):not(.desk-math label):has(> :is(input:not([type='hidden'],[type='checkbox'],[type='radio'],[type='file'],[type='range'],[type='color'],[type='submit'],[type='button']),select,textarea)),
html body.auth-page .rd-login-form label.field:has(> :is(input:not([type='hidden'],[type='checkbox'],[type='radio'],[type='file']),textarea)),
html body.auth-page .rd-login-form .rd-login-pass-field,
html body.rd-unified-public .rd-tip21-page .rd-tip21-field {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--rd42-ink);
  font: 600 12px/1.4 var(--rd-font-ui, Inter, system-ui, sans-serif);
}
html body.rd-unified-public form:is(.rd23-form,.rd25-track-form,.rd25-recover-form,.rd22-followup,.rd-contact-direct-form,.public-form,.account-form,.rd-archive-filters,.rd64-public-filters,.search-results-controls,.rd27-report-form,.rd-ad-view form)
  label:not(.rd-trap,.report-honeypot,.rd37-inset-field,.rd-ad-contact-field):not(.honeypot label):not(.desk-math label):has(> :is(input:not([type='hidden'],[type='checkbox'],[type='radio'],[type='file'],[type='range'],[type='color'],[type='submit'],[type='button']),select,textarea)):focus-within,
html body.auth-page .rd-login-form :is(label.field,.rd-login-pass-field):focus-within,
html body.rd-unified-public .rd-tip21-page .rd-tip21-field:focus-within {
  box-shadow: none;
}
html body.rd-unified-public form:is(.rd23-form,.rd25-track-form,.rd25-recover-form,.rd22-followup,.rd-contact-direct-form,.public-form,.account-form,.rd-archive-filters,.rd64-public-filters,.search-results-controls,.rd27-report-form,.rd-ad-view form)
  label:not(.rd-trap,.report-honeypot,.rd37-inset-field,.rd-ad-contact-field):not(.honeypot label):not(.desk-math label):has(> :is(input:not([type='hidden'],[type='checkbox'],[type='radio'],[type='file'],[type='range'],[type='color'],[type='submit'],[type='button']),select,textarea))
  > :is(input:not([type='hidden'],[type='checkbox'],[type='radio'],[type='file'],[type='range'],[type='color'],[type='submit'],[type='button']),select,textarea),
html body.auth-page .rd-login-form label.field > :is(input:not([type='hidden'],[type='checkbox'],[type='radio'],[type='file']),textarea),
html body.auth-page .rd-login-form .rd-login-pass-input > input,
html body.rd-unified-public .rd-tip21-page .rd-tip21-field > :is(input,textarea) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  height: auto;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid var(--rd42-line) !important;
  border-radius: 6px !important;
  background: var(--rd42-paper) !important;
  color: var(--rd42-ink);
  font: 400 15px/1.45 var(--rd-font-ui, Inter, system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.45;
  box-shadow: none;
  outline: 0;
}
html body.rd-unified-public form:is(.rd23-form,.rd25-track-form,.rd25-recover-form,.rd22-followup,.rd-contact-direct-form,.public-form,.account-form,.rd-archive-filters,.rd64-public-filters,.search-results-controls,.rd27-report-form,.rd-ad-view form)
  label:not(.rd-trap,.report-honeypot,.rd37-inset-field,.rd-ad-contact-field):not(.honeypot label):not(.desk-math label):has(> :is(input:not([type='hidden'],[type='checkbox'],[type='radio'],[type='file'],[type='range'],[type='color'],[type='submit'],[type='button']),select,textarea)) > textarea,
html body.auth-page .rd-login-form label.field > textarea {min-height: 92px; resize: vertical;}
html body.rd-unified-public .rd-tip21-page .rd-tip21-field > textarea {min-height: 150px; resize: vertical;}
html body.rd-unified-public .rd-tip21-page .rd-tip21-field-label,
html body.auth-page .rd-login-form label.field > span,
html body.auth-page .rd-login-form .rd-login-pass-field > label {
  position: static;
  display: block;
  margin: 0;
  color: var(--rd42-ink);
  font: 600 12px/1.4 var(--rd-font-ui, Inter, system-ui, sans-serif);
}
html body.auth-page .rd-login-form .rd-login-pass-input {position: relative; width: 100%;}
html body.auth-page .rd-login-form .rd-login-pass-input > input {padding-right: 43px !important; min-height: 44px;}
html body.auth-page .rd-login-form .rd-password-toggle {top: 50%; right: 3px; transform: translateY(-50%); width: 40px; height: 40px;}
html body.auth-page .rd-login-form :is(label.field,.rd-login-pass-field) {margin:0 0 12px;}
html body.rd-unified-public :is(.rd23-form,.rd25-track-form,.rd25-recover-form,.rd22-followup,.rd-contact-direct-form,.public-form)
  label:not(.rd-trap,.report-honeypot,.rd37-inset-field,.rd-ad-contact-field):not(.honeypot label):not(.desk-math label):has(> :is(input:not([type='hidden'],[type='checkbox'],[type='radio'],[type='file'],[type='range'],[type='color'],[type='submit'],[type='button']),select,textarea)) {margin-bottom:10px;}
html body:is(.rd-unified-public,.auth-page) :is(.rd23-form,.rd25-track-form,.rd25-recover-form,.rd-contact-direct-form,.public-form,.account-form,.rd-archive-filters,.rd64-public-filters,.search-results-controls,.rd27-report-form,.rd-ad-view form,.rd-login-form,.rd-tip21-form) :is(input,textarea)::placeholder {color: var(--rd42-muted); opacity: .85;}
html body:is(.rd-unified-public,.auth-page) form :is(input[type='checkbox'],input[type='radio']) {accent-color: var(--rd42-blue);}

/* Existing inset fields and compact search/upload widgets keep their behaviour. */
html body.rd-unified-public :is(.rd28-contact .rd37-inset-field,.rd-ad-studio .rd-ad-contact-field) {position:relative;display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;}
html body.rd-unified-public :is(.rd28-contact .rd37-inset-field>span,.rd-ad-studio .rd-ad-field-label) {position:static!important;order:-1;display:block;margin:0;padding:0;color:var(--rd42-ink);font-size:12px;font-weight:600;line-height:1.4;transform:none!important;pointer-events:auto;}
html body.rd-unified-public .rd-ad-studio .rd-ad-field-icon {position:absolute;top:37px;left:12px;display:flex;align-items:center;transform:none;pointer-events:none;}
html body.rd-unified-public .rd-ad-studio .rd-ad-field-icon svg {width:18px;height:18px;}
html body.rd-unified-public :is(.rd28-contact .rd37-inset-field>input,.rd28-contact .rd37-inset-field>textarea,.rd-ad-studio .rd-ad-contact-field input) {width:100%;min-height:44px;height:auto;padding:11px 12px!important;border:1px solid var(--rd42-line)!important;border-radius:6px!important;background:var(--rd42-paper);color:var(--rd42-ink);font-size:15px;line-height:1.4;}
html body.rd-unified-public .rd-ad-studio .rd-ad-contact-field input {height:44px!important;min-height:44px!important;padding:10px 12px 10px 39px!important;}
html body.rd-unified-public .rd-ad-studio .rd-ad-contact-field input:is(:focus,:not(:placeholder-shown))+.rd-ad-field-label {position:static!important;transform:none!important;}
html body.rd-unified-public .rd28-contact .rd37-inset-field>textarea {min-height:140px;}
html body.rd-unified-public :is(.rd23-search,.rd63-filters,.rd-author20-filters) :is(input:not([type='hidden']),select),
html body.rd-unified-public .rd64-sidebar select,
html body.rd-unified-public .desk-math input[type='number'] {
  border: 1px solid var(--rd42-line) !important;
  border-radius: 4px !important;
  background: var(--rd42-paper) !important;
  color: var(--rd42-ink) !important;
}
html body.rd-unified-public .rd-author20-search {border-color:var(--rd42-line);border-radius:4px;background:var(--rd42-paper);}
html body.rd-unified-public .rd-author20-search input {border:0 !important;background:transparent !important;}
html body.rd-unified-public .search-results-controls .search-results-input {
  padding: 8px 11px;
  border: 1px solid var(--rd42-line);
  border-radius: 4px;
  background: var(--rd42-paper);
  gap: 3px;
  font-size: 11px;
  color: var(--rd42-ink);
}
html body.rd-unified-public .search-results-controls .search-results-input:focus-within {border-color:var(--rd42-outline);box-shadow:0 0 0 3px var(--rd42-focus);}
html body.rd-unified-public .search-results-controls .search-results-input > div {border:0;background:transparent;padding:0;gap:7px;}
html body.rd-unified-public .search-results-controls .search-results-input input {min-height:24px !important;padding:0 !important;border:0 !important;background:transparent !important;font-size:15px;}
html body.rd-unified-public .site-search-form {border:1px solid var(--rd42-line);border-radius:4px;background:var(--rd42-paper);}
html body.rd-unified-public .site-search-form:focus-within {border-color:var(--rd42-outline);box-shadow:0 0 0 3px var(--rd42-focus);}
html body.rd-unified-public .site-search-form input {color:var(--rd42-ink);}

/* One hierarchy for actions; destructive actions remain visibly distinct. */
html body.rd-unified-public :is(.site-container,.rd51-page) :is(.btn:not(.danger),.rd27-report-submit,.rd27-report-cancel,.rd54-vote-button,.rd-ad-submit,.rd28-info-action,.rd-info-primary-link,.rd64-share),
html body.rd-unified-public .site-search-form > button,
html body.rd-unified-public .rd63-filters button[type='submit'],
html body.rd-unified-public .rd37-author-submit,
html body.rd-unified-public .rd64-public-filters button[type='submit'],
html body.auth-page .rd-login-form .rd-login-submit {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--rd42-blue) !important;
  border-radius: 4px !important;
  background: var(--rd42-blue) !important;
  color: #fff !important;
  font: 650 14px/1.35 var(--rd-font-ui, Inter, system-ui, sans-serif);
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
}
html body.rd-unified-public :is(.site-container,.rd51-page) :is(.btn.outline,.rd27-report-cancel) {
  border-color: var(--rd42-outline) !important;
  background: var(--rd42-paper) !important;
  color: var(--rd42-outline) !important;
}
html body.rd-unified-public :is(.site-container,.rd51-page) :is(.btn:not(.outline):not(.danger),.rd27-report-submit,.rd54-vote-button,.rd-ad-submit,.rd28-info-action,.rd-info-primary-link,.rd64-share):hover,
html body.rd-unified-public .site-search-form > button:hover,
html body.rd-unified-public .rd63-filters button[type='submit']:hover,
html body.rd-unified-public .rd37-author-submit:hover,
html body.rd-unified-public .rd64-public-filters button[type='submit']:hover,
html body.auth-page .rd-login-form .rd-login-submit:hover {background: var(--rd42-blue-hover) !important; border-color: var(--rd42-blue-hover) !important; color: #fff !important;}
html body:is(.rd-unified-public,.auth-page) :is(.btn,.rd27-report-submit,.rd27-report-cancel,.rd42-pagination a):focus-visible {outline: 3px solid var(--rd42-outline); outline-offset: 2px;}
html body:is(.rd-unified-public,.auth-page) :is(.btn,.rd27-report-submit,.rd54-vote-button,.rd-ad-submit):disabled {opacity: .55; cursor: not-allowed;}
html body.rd-unified-public :is(.site-container,.rd51-page) :is(.btn,.rd27-report-submit,.rd27-report-cancel) > svg {width: 17px; height: 17px; flex: none; stroke-width: 2;}

/* Pagination has identical states across news, archives, ads, events and profiles. */
html body.rd-unified-public .rd42-pagination {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  background: transparent !important;
}
html body.rd-unified-public .rd42-pagination :is(a,.rd42-page-step) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 40px !important;
  min-height: 42px !important;
  margin: 0;
  padding: 8px 11px !important;
  border: 1px solid var(--rd42-line);
  border-radius: 4px !important;
  background: var(--rd42-paper);
  color: var(--rd42-ink);
  font: 650 13px/1.2 var(--rd-font-ui, Inter, system-ui, sans-serif);
  font-size: 13px !important;
  text-decoration: none;
  white-space: nowrap;
}
html body.rd-unified-public .rd42-pagination a:hover {border-color:var(--rd42-outline); color:var(--rd42-outline);}
html body.rd-unified-public .rd42-pagination a[aria-current='page'] {border-color:var(--rd42-blue) !important; background:var(--rd42-blue) !important; color:#fff !important;}
html body.rd-unified-public .rd42-pagination .is-disabled {color:var(--rd42-disabled); opacity:.65;}
html body.rd-unified-public .rd42-page-gap {color:var(--rd42-muted); padding:0 2px;}
html body.rd-unified-public .rd42-step-icon {display:inline-flex;align-items:center;justify-content:center;}
html body.rd-unified-public .rd42-step-icon svg {width:16px;height:16px;}
html body.rd-unified-public .rd42-step-icon.is-previous {transform:rotate(180deg);}

@media (max-width: 640px) {
  html body:is(.rd-unified-public,.auth-page) :is(.rd23-form,.rd25-track-form,.rd25-recover-form,.rd22-followup,.rd-contact-direct-form,.public-form,.account-form,.rd-archive-filters,.rd64-public-filters,.search-results-controls,.rd27-report-form,.rd-ad-view form,.rd-login-form,.rd-tip21-form) :is(input:not([type='checkbox'],[type='radio'],[type='hidden'],[type='file'],[type='range']),select,textarea) {font-size:16px !important;}
  html body.rd-unified-public :is(.rd23-search,.rd63-filters,.rd-author20-filters) :is(input:not([type='hidden']),select),
  html body.rd-unified-public .rd64-sidebar select {font-size:16px !important;}
  html body.rd-unified-public :is(.rd22-fields,.rd-contact-direct-grid,.rd-profile55-fields),
  html body.auth-page .rd-auth21-row {grid-template-columns:minmax(0,1fr);}
  html body.rd-unified-public .rd42-pagination {gap:4px;}
  html body.rd-unified-public .rd42-pagination :is(a,.rd42-page-step) {min-width:44px !important;min-height:44px !important;padding:8px !important;}
  html body.rd-unified-public .rd42-pagination :is(.rd42-page-edge,.rd42-page-gap,.rd42-step-label) {display:none;}
}

/* Consistent rhythm without collapsing labels, helpers, or validation messages. */
html body.rd-unified-public :is(.rd22-fields,.rd-contact-direct-grid,.rd-profile55-fields,.rd-tip21-fields,.rd-ad-contact-fields,.rd37-contact-fields) {gap:12px;}
html body.rd-unified-public form :is(input:not([type='checkbox'],[type='radio'],[type='hidden'],[type='file'],[type='color'],[type='range']),select,textarea):focus-visible {outline:3px solid var(--rd42-focus);outline-offset:1px;border-color:var(--rd42-outline)!important;}
html body.rd-unified-public .rd47-security {display:block;margin:14px 0;padding:16px;border:1px solid var(--rd42-line);border-radius:8px;background:var(--rd42-paper);color:var(--rd42-ink);box-shadow:none;}
html body.rd-unified-public .rd47-security-head {display:flex;align-items:center;gap:10px;margin:0 0 12px;}
html body.rd-unified-public .rd47-security-head>span {display:grid;place-items:center;width:34px;height:34px;flex:none;border:1px solid var(--rd42-line);border-radius:9px;background:var(--rd-tint,#eef5fc);color:var(--rd42-outline);}
html body.rd-unified-public .rd47-security svg {width:20px;height:20px;}
html body.rd-unified-public .rd47-security-head strong {font-size:13px;line-height:1.4;font-weight:650;}
html body.rd-unified-public .rd47-security>label {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(100px,150px);align-items:center;gap:12px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
html body.rd-unified-public .rd47-security-question {position:static;font-size:13px;line-height:1.5;color:var(--rd42-ink);}
html body.rd-unified-public .rd47-security input[type='number'] {display:block;width:100%!important;min-width:0;max-width:none;min-height:44px!important;height:44px;margin:0!important;padding:10px!important;border:1px solid var(--rd42-line)!important;border-radius:6px!important;background:var(--rd42-paper)!important;color:var(--rd42-ink)!important;font:400 14px/1.4 var(--rd-font-ui,system-ui,sans-serif);}
html body.rd-unified-public :is(.rd-tip21-security,.rd-ad-security) {padding:0;border:0;background:transparent;box-shadow:none;}
html body.rd-unified-public :is(.rd-tip21-security,.rd-ad-security) .rd47-security {margin:0;height:100%;}
@media(max-width:380px){html body.rd-unified-public .rd47-security>label {grid-template-columns:minmax(0,1fr)!important;}html body.rd-unified-public .rd47-security {padding:13px;}}

/* Home categories and public category overview share the portal's existing surfaces. */
html body.rd-flat-public .rd48-home .rd-home-category-pair {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0;
  padding: 18px; margin: 0 0 var(--front-gap,14px);
  border: 1px solid var(--surface-line,#dce3eb); border-radius: var(--front-radius,6px);
  background: var(--surface-content,#fff);
}
html body.rd-flat-public .rd48-home .rd-home-category { min-width:0; padding:0 18px 0 0; }
html body.rd-flat-public .rd48-home .rd-home-category:only-child { grid-column:1/-1; padding:0; }
html body.rd-flat-public .rd48-home .rd-home-category + .rd-home-category { padding:0 0 0 18px; border-left:1px solid var(--surface-line,#dce3eb); }
html body.rd-flat-public .rd48-home .rd-home-category .section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 14px; }
html body.rd-flat-public .rd48-home .rd-home-category .section-heading > span { min-width:0; overflow-wrap:anywhere; }
html body.rd-flat-public .rd48-home .rd-home-category .section-heading > a { flex:none; margin-left:auto; color:var(--blue,#258ce4); font-size:12px; line-height:1.3; font-weight:700; text-decoration:none; white-space:nowrap; }
html body.rd-flat-public .rd48-home .rd-home-category .section-heading::after { display:none; }
.rd48-home .rd-home-category-lead { min-width:0; }
.rd48-home .rd-home-category-image { position:relative; display:block; overflow:hidden; aspect-ratio:16/7.5; border-radius:6px; background:#e9eff4; }
.rd48-home .rd-home-category-image img,.rd48-home .rd-home-category-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.rd48-home .rd-home-category-lead h3 { margin:8px 0 6px; font-size:clamp(18px,1.65vw,23px); line-height:1.22; font-weight:750; }
.rd48-home .rd-home-category :is(h3 a,h3 a:visited) { color:var(--ui-text,#1a2939); text-decoration:none; }
.rd48-home .rd-home-category h3 a:hover { color:var(--cat-badge,#1767bd); }
.rd48-home .rd-home-category-stories { display:grid; gap:10px; margin-top:14px; }
.rd48-home .rd-home-category-story { display:grid; grid-template-columns:minmax(95px,25%) minmax(0,1fr); gap:13px; align-items:start; min-width:0; }
.rd48-home .rd-home-category-thumb { position:relative; display:block; aspect-ratio:2/1; overflow:hidden; border-radius:5px; background:#e9eff4; }
.rd48-home .rd-home-category-copy { min-width:0; }
.rd48-home .rd-home-category-copy h3 { margin:0 0 6px; font-size:15px; font-weight:700; line-height:1.25; }
.rd48-home .rd48-side-photo { position:relative; }
.rd48-home .rd-home-photo-dot { position:absolute; top:7px; left:7px; width:14px; height:14px; border:1px solid #fff; border-radius:3px; background:var(--cat-badge,var(--cat-color,#1767bd)); box-shadow:0 1px 3px #0005; }
.rd48-home .rd-home-category :is(.rd26-sponsored,.rd26-sponsored-badge) { margin-top:5px; }
html body.rd-flat-public .rd-category-public-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
html body.rd-flat-public .rd-category-family.rd-category-family-compact { display:block; grid-column:auto; }
.rd-category-family-compact .rd-category-family-head { min-height:145px; padding:20px; }
.rd-category-family-disclosure { border-top:1px solid var(--surface-line,#dce3eb); }
.rd-category-family-disclosure summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 20px; color:var(--cat-badge,#1767bd); font-weight:700; cursor:pointer; list-style:none; }
.rd-category-family-disclosure summary::-webkit-details-marker { display:none; }
.rd-category-family-disclosure[open] summary span:last-child { transform:rotate(45deg); }
html body.rd-flat-public .rd-category-family-compact .rd-category-family-children { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:0 14px 14px; }
html body.rd-flat-public .rd-category-family-compact .rd-category-child-card { min-width:0; padding:12px; }
.rd-category-family-disclosure summary:focus-visible,.rd-home-category a:focus-visible { outline:3px solid #2979d4; outline-offset:2px; }
html body.rd-flat-public .rd36-heading-links .category-chip[aria-current='page'] { box-shadow:inset 0 -3px 0 #fff,0 0 0 2px var(--ui-primary,#176bcc); font-weight:800; }
@media(max-width:800px) {
  html body.rd-flat-public .rd48-home .rd-home-category-pair { grid-template-columns:minmax(0,1fr); padding:16px; }
  html body.rd-flat-public .rd48-home .rd-home-category { padding:0; }
  html body.rd-flat-public .rd48-home .rd-home-category + .rd-home-category { padding:16px 0 0; margin-top:16px; border-left:0; border-top:1px solid var(--surface-line,#dce3eb); }
}
@media(max-width:620px) {
  html body.rd-flat-public .rd-category-public-groups { grid-template-columns:minmax(0,1fr); }
  .rd48-home .rd-home-category-lead h3 { font-size:19px; }
  .rd48-home .rd-home-category-copy h3 { font-size:14px; }
}
/* Do not truncate long event titles or place text directly over a busy poster. */
html body.rd-flat-public .rd36-page-heading[data-rd32-header='event'] { height:auto; min-height:100px; max-height:none; padding-block:18px; }
html body.rd-flat-public .rd36-page-heading[data-rd32-header='event'] .rd36-heading-copy { flex:0 1 66%; }
html body.rd-flat-public .rd36-page-heading[data-rd32-header='event'] .rd36-heading-title { display:block; overflow:visible; -webkit-line-clamp:unset; overflow-wrap:anywhere; line-height:1.16; }
html body.rd-flat-public .rd36-page-heading[data-rd32-header='event'] .rd32-header-art::after { background:linear-gradient(90deg,var(--surface-content,#fff),transparent); opacity:1; }
.rd64-historical-date { margin:8px 0; color:var(--ui-soft-text,#52677a); font-size:13px; }
.rd66-share-wrap { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.rd64-calendar-download { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:8px 14px; border:1px solid #1b66b4; border-radius:4px; color:#1b66b4; font-size:13px; font-weight:700; text-decoration:none; }
html body.rd-flat-public .rd34-article-id { color:var(--ui-soft-text,#617487); font-size:13px; line-height:1.4; font-weight:600; }
.rd-format-empty { padding:22px; border:1px solid var(--surface-line,#dce3eb); border-radius:6px; background:var(--surface-content,#fff); }
.rd-format-empty h2 { margin:0 0 8px; font-size:20px; }
.rd-format-empty p { margin:0; }
.rd-format-empty .rd36-article-suggestion { margin:12px 0 0; }
.rd54-index-ballot .rd54-ballot-footer { display:none; }
.rd26-lightbox-caption[hidden] { display:none!important; }
.rd-field-error { display:block; margin:5px 0 0; color:#a92334; font-size:12px; line-height:1.35; }
html[data-theme='dark'] .rd-field-error { color:#ffadb8; }
html body.rd-flat-public .rd23-public .rd23-price-fields { grid-template-columns:repeat(4,minmax(0,1fr)); }
html body.rd-flat-public .rd23-public .rd23-price-fields > label:last-child { grid-column:auto; }
@media(min-width:801px) {
  .rd-format-single .news-card { grid-column:span 2; }
  html body.rd-flat-public .rd48-home .rd-home-category:only-child { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; align-items:start; }
  html body.rd-flat-public .rd48-home .rd-home-category:only-child .section-heading { grid-column:1/-1; }
  html body.rd-flat-public .rd48-home .rd-home-category:only-child .rd-home-category-stories { margin-top:0; }
}
@media(max-width:700px) {
  html body.rd-flat-public .rd36-page-heading[data-rd32-header='event'] .rd36-heading-copy { flex:1 1 100%; }
  html body.rd-flat-public .rd36-page-heading[data-rd32-header='event'] > .rd32-header-art { opacity:.16; width:55%; }
  html body.rd-flat-public .rd36-page-heading[data-rd32-header='event'] .rd36-heading-title { font-size:21px; }
  html body.rd-flat-public .rd23-public .rd23-price-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Compact search, following the selected design. */
html body.rd-unified-public .site-search-dialog { box-sizing: border-box; width: min(700px, 100%); border-radius: 8px; padding: 22px; }
html body.rd-unified-public .site-search-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
html body.rd-unified-public .site-search-dialog-head h2 { min-width: 0; margin: 0; font-size: clamp(21px, 3vw, 25px); line-height: 1.2; }
html body.rd-unified-public .site-search-dialog-head .search-close { margin-left: auto; flex: none; }
html body.rd-unified-public .site-search-form { box-sizing: border-box; display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; min-width: 0; padding: 4px 4px 4px 12px; border-radius: 6px; }
html body.rd-unified-public .site-search-form input,
html body.rd-unified-public .site-search-form input:focus {
  box-sizing: border-box; flex: 1 1 auto; min-width: 0; padding: 0 !important;
  border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important;
}
html body.rd-unified-public .site-search-form > svg { flex: none; width: 21px; height: 21px; color: #1769c2; }
html body.rd-unified-public .site-search-form > button { flex: none; width: auto; white-space: nowrap; }
html body.rd-unified-public .site-search-suggestions { min-height: 0; padding: 12px 0 0; }
html body.rd-unified-public .site-search-suggestions:empty { display: none; padding: 0; }
html body.rd-unified-public .search-suggestions-label { margin: 0 0 5px; padding: 6px 8px; color: var(--ui-text, #203448); background: var(--ui-raised, #edf5ff); border-radius: 5px; letter-spacing: 0; font-size: 12px; }
html body.rd-unified-public .search-suggestion-item { padding: 7px 8px; }
html body.rd-unified-public .search-suggestion-symbol { width: 30px; height: 30px; }
html body.rd-unified-public .search-popular-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; padding: 0; border: 0; }
html body.rd-unified-public .search-popular-links .menu-route { box-sizing: border-box; display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-width: 0; min-height: 42px; padding: 7px 12px; border: 1px solid var(--ui-border, #dce4ec); border-radius: 7px; background: var(--ui-raised, #f4f6f9); color: var(--ui-text, #203448); font-size: 13px; font-weight: 650; }
html body.rd-unified-public .search-popular-links .menu-route-icon { display: inline-flex; width: 20px; min-width: 20px; height: 20px; color: var(--cat-badge, #1769c2) !important; background: transparent; }
html body.rd-unified-public .search-popular-links .menu-route:nth-child(2) .menu-route-icon { color: var(--ui-text, #203448) !important; }
html body.rd-unified-public .search-popular-links .menu-route:nth-child(3) .menu-route-icon { color: var(--cat-badge, #a94d00) !important; }
html body.rd-unified-public .search-popular-links .menu-route-icon svg { width: 20px; height: 20px; }
html[data-theme='dark'] body.rd-unified-public .search-popular-links .menu-route-icon { color: color-mix(in srgb, var(--cat-color, #1769c2) 50%, white) !important; }
html[data-theme='dark'] body.rd-unified-public .search-popular-links .menu-route:nth-child(2) .menu-route-icon { color: var(--ui-text, #f3f6fb) !important; }
/* Menu: keep the existing paired accordion and backgrounds, compact the open panel. */
html body.rd-flat-public .mobile-menu-panel .rd48-rubric-grid,
html body.rd-flat-public .mobile-menu-panel .rd48-rubric-pair { gap: 8px; }
html body.rd-flat-public .mobile-menu-panel .rd48-rubric-tile { border-radius: 6px !important; }
html body.rd-flat-public .mobile-menu-panel .rd48-category-panel { padding: 10px; border-radius: 7px !important; }
html body.rd-flat-public .mobile-menu-panel .rd48-category-panel::before { display: none; }
html body.rd-flat-public .mobile-menu-panel .rd48-category-heading { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px 12px; margin: 0 0 8px; }
html body.rd-flat-public .mobile-menu-panel .rd48-category-heading > strong { font-size: 15px; }
html body.rd-flat-public .mobile-menu-panel .rd48-category-description { margin: 0; font-size: 12px; line-height: 1.4; }
html body.rd-flat-public .mobile-menu-panel .rd48-subcategory-grid { gap: 6px; }
html body.rd-flat-public .mobile-menu-panel :is(.rd48-parent-link, .rd48-subcategory-link) { min-height: 42px; padding: 7px 9px; background: var(--ui-surface, #fff); }
html body.rd-flat-public .mobile-menu-panel :is(.rd48-parent-link, .rd48-subcategory-link) > strong { font-size: 12px; }
html body.rd-flat-public .mobile-menu-panel :is(.rd48-parent-link, .rd48-subcategory-link) .rd48-rubric-icon { width: 19px; }
html body.rd-flat-public .mobile-menu-panel :is(.rd48-parent-link, .rd48-subcategory-link) .rd48-rubric-icon svg { width: 18px; height: 18px; }
@media (max-width: 520px) {
  html body.rd-unified-public .site-search-dialog { padding: 16px; }
  html body.rd-unified-public .site-search-form { gap: 6px; padding-left: 9px; }
  html body.rd-unified-public .site-search-form > button { padding: 9px 10px; }
  html body.rd-unified-public .search-popular-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  html body.rd-unified-public .search-popular-links .menu-route { gap: 5px; padding: 7px 3px; font-size: 12px; }
  html body.rd-flat-public .mobile-menu-panel .rd48-category-heading { grid-template-columns: 1fr; gap: 3px; }
}

/* A compact, monochrome CMS credit shared by both footer renderers. */
.rd-emina-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
  min-width: 0;
  margin-left: auto;
}
.rd-emina-signature {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  mix-blend-mode: multiply;
  text-decoration: none;
  white-space: nowrap;
}
.rd-emina-signature:hover { text-decoration: none; }
.rd-emina-signature:focus-visible { outline: 2px solid #2878ca; outline-offset: 4px; border-radius: 2px; }
.rd-emina-signature img {
  display: block;
  width: 96px;
  height: 39px;
  max-width: none;
  object-fit: contain;
  filter: grayscale(1) contrast(1.2);
}
/* The public credit is intentionally subtle until hovered or keyboard-focused. */
.site-footer .rd-emina-signature { opacity: .55; transition: opacity .18s ease; }
.site-footer .rd-emina-signature:hover,
.site-footer .rd-emina-signature:focus-visible { opacity: 1; }
html body.rd-flat-public .site-footer .rd29-base {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 20px;
}
html[data-theme='dark'] .rd-emina-signature { mix-blend-mode: screen; }
html[data-theme='dark'] .rd-emina-signature img { filter: grayscale(1) invert(1) contrast(1.2); }
@media (max-width: 760px) {
  html body.rd-flat-public .site-footer .rd29-base {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .site-footer .rd-emina-footer-actions { justify-content: center; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .site-footer .rd-emina-signature { transition: none; } }

/* Compact article categories and a consistent byline / publication line. */

/* Article eyebrow is plain text, immediately before the article headline. */
html body:not(.redakcija) .rd88-eyebrow {display:block;max-width:100%;margin:0 0 4px;color:var(--cat-badge,#1767bd);font-family:var(--rd-font-ui,Inter,system-ui,sans-serif);font-size:11px;font-weight:700;line-height:1.2;text-transform:uppercase;overflow-wrap:anywhere}
html body.rd-flat-public .rd26-standard-article .article-main {padding-top:14px}
html body:not(.redakcija) .article-main > .rd29-category-line {margin-bottom:6px}
html body:not(.redakcija) .article-main > .rd88-eyebrow {font-size:16px;line-height:1.2;margin:0 0 4px}
html body:not(.redakcija) .article-main > .rd88-eyebrow + .article-title {margin-top:0!important}
html body:not(.redakcija) .rd26-standard-article .article-title {font-size:clamp(24px,2.5vw,32px)!important;line-height:1.22;font-weight:700}
html body:not(.redakcija) .rd48-home .rd48-feature-content > .rd88-eyebrow,
html body:not(.redakcija) .rd-home-category-lead > .rd88-eyebrow {font-size:13px}
html body:not(.redakcija) .rd48-home .rd48-feature-content h3 {font-size:clamp(19px,1.8vw,24px)}
html[data-theme='dark'] body:not(.redakcija) .rd88-eyebrow {color:color-mix(in srgb,var(--cat-badge,#1767bd),white 48%)}
html body:not(.redakcija) .rd48-more-copy strong a,
html body:not(.redakcija) .side-story strong a,
html body:not(.redakcija) .search-suggestion-item strong a {color:inherit;text-decoration:none}
html body:not(.redakcija) .rd48-more-copy strong a:hover,
html body:not(.redakcija) .side-story strong a:hover,
html body:not(.redakcija) .search-suggestion-item strong a:hover {text-decoration:underline}
html body:not(.redakcija) .side-story .rd35-side-photo {display:block;flex:none}
html body:not(.redakcija) .side-story.side-feature .rd35-side-photo {width:100%}
html body:not(.redakcija) .side-story > span {min-width:0}
html body:not(.redakcija) .rd48-more-story .rd48-more-photo {display:block;flex:none}
html body:not(.redakcija) .rd-important-items > .rd88-alert-entry {position:relative;display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding-block:4px;line-height:1.2}
html body:not(.redakcija) .rd-important-items > .rd88-alert-entry .rd88-eyebrow {margin:0;padding:1px 4px;border-radius:2px;background:#fff;color:var(--cat-badge,#1767bd)!important;font-size:10px}
html body:not(.redakcija) .rd-important-items > .rd88-alert-entry > a {color:#fff;text-decoration:none}
html body:not(.redakcija) .rd-important-items > .rd88-alert-entry > a:hover {text-decoration:underline}
html body:not(.redakcija) .rd-important-items > .rd88-alert-entry:not(:first-child)::before {position:absolute;left:0;top:50%;transform:translateY(-50%)}

/* Category navigation belongs inside its own heading and wraps on small screens. */
html body.rd-flat-public .rd36-page-heading.rd88-category-heading {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px 14px;height:auto;min-height:100px;max-height:none;padding:16px 18px 16px 30px;overflow:visible}
html body.rd-flat-public .rd36-page-heading.rd88-category-heading::before {top:20px;bottom:auto;height:50px}
html body.rd-flat-public .rd88-category-heading .rd36-heading-count {align-self:start}
html body.rd-flat-public .rd88-category-heading .rd88-category-nav {grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;overflow:visible}
html body.rd-flat-public .rd88-category-heading .rd88-category-nav .category-chip {box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%;min-height:34px;margin:0;padding:6px 9px;border:1px solid var(--cat-badge,#176bcc);border-radius:5px;background:var(--cat-badge,#176bcc);color:#fff;font-size:12px;font-weight:650;line-height:1.2;white-space:normal;overflow-wrap:anywhere;text-decoration:none;box-shadow:none!important}
html body.rd-flat-public .rd88-category-heading .rd88-category-nav .category-chip:is(:hover,:focus-visible) {filter:brightness(.92);background:var(--cat-badge,#176bcc);color:#fff}
html body.rd-flat-public .rd88-category-heading .rd88-category-nav .category-chip[aria-current='page'] {background:var(--cat-badge,#176bcc);color:#fff;box-shadow:none!important}
html body.rd-flat-public .rd88-category-heading .rd88-category-nav .category-chip[aria-current='page']::after {content:none!important;display:none!important}
html body.rd-flat-public .rd88-category-page .news-card .card-text h3 {font-size:16px;line-height:1.3}
@media(max-width:600px) {
  html body:not(.redakcija) .rd26-standard-article .article-title {font-size:clamp(21px,5.6vw,24px)!important}
  html body:not(.redakcija) .article-main > .rd88-eyebrow {font-size:15px}
  html body.rd-flat-public .rd26-standard-article .article-main {padding-top:12px}
  html body:not(.redakcija) .rd48-home .rd48-feature-content h3 {font-size:18px}
  html body.rd-flat-public .rd88-category-page .news-card .card-text h3 {font-size:14px;line-height:1.3}
  html body.rd-flat-public .rd88-category-page .news-card .rd88-eyebrow {font-size:10px}
  html body.rd-flat-public .rd36-page-heading.rd88-category-heading {padding:14px 12px 14px 24px}
  html body.rd-flat-public .rd88-category-heading .rd88-category-nav {gap:5px}
}
html body .rd29-category-rail .category-chip,
html[data-theme='dark'] body .rd29-category-rail .category-chip {
  display:inline-flex; align-items:center; min-height:28px; padding:4px 8px !important;
  font-size:11px !important; line-height:1.25;
}
html body.rd-flat-public .rd34-author-copy :is(.rd35-author-heading,.rd34-author-date) {
  color:var(--ink,#142b49); font-family:inherit; font-size:12px; line-height:16px;
}
html body.rd-flat-public .rd34-author-copy .rd82-meta-label { font-size:inherit; font-weight:650; }
html body.rd-flat-public .rd34-author-copy .rd34-author-name { font-size:inherit; line-height:inherit; font-weight:500; }
html body.rd-flat-public .rd34-article-bar .rd34-article-id { color:#ccc; font-weight:750; }
html[data-theme='dark'] body.rd-flat-public .rd34-author-copy :is(.rd35-author-heading,.rd34-author-date) { color:var(--ui-text,#e7eef7); }

/* Search validation belongs below the compact search row. */
html body.rd-unified-public .site-search-form + .rd-field-error59 { margin:7px 0 0; }

/* Footer: editable copy left, CMS mark centered, actions right. */
html body.rd-flat-public .site-footer .rd82-footer-base { align-items:center; gap:12px 20px; }
html body.rd-flat-public .site-footer .rd82-footer-base .rd29-copyright { display:grid; gap:4px; min-width:0; text-align:left; }
html body.rd-flat-public .site-footer .rd82-footer-base .rd82-footer-copyright,
html body.rd-flat-public .site-footer .rd82-footer-base .rd82-footer-notice { overflow-wrap:anywhere; }
html body.rd-flat-public .site-footer .rd82-footer-base .rd-emina-footer-actions { justify-content:flex-end; }
@media (max-width:760px) {
  html body.rd-flat-public .site-footer .rd82-footer-base {
    display:flex; flex-direction:column; justify-content:center;
    align-items:center; gap:12px; text-align:center;
  }
  html body.rd-flat-public .site-footer .rd82-footer-base :is(.rd29-copyright,.rd-emina-footer-actions) { display:contents; }
  html body.rd-flat-public .site-footer .rd82-footer-base .rd82-footer-notice { order:1; text-align:center; }
  html body.rd-flat-public .site-footer .rd82-footer-base .rd29-social { order:2; justify-content:center; }
  html body.rd-flat-public .site-footer .rd82-footer-base .rd30-footer-install { order:3; }
  html body.rd-flat-public .site-footer .rd82-footer-base .rd-emina-signature { order:4; }
  html body.rd-flat-public .site-footer .rd82-footer-base .rd-analytics-consent-settings { order:5; }
  html body.rd-flat-public .site-footer .rd82-footer-base .rd82-footer-copyright {
    order:6; width:100%; padding-top:10px; border-top:1px solid var(--surface-line,#dce3eb); text-align:center;
  }
}

