body.o24-wordpress {
  --o24-brand-night: #071828;
  --o24-brand-navy: #0d2b45;
  --o24-brand-blue: #173f58;
  --o24-brand-cream: #f6f3e9;
  --o24-brand-gold: #ffd34c;
  --o24-brand-gold-hover: #ffe17b;
  --o24-brand-accent-text: #715200;
  --o24-brand-gradient: linear-gradient(74deg, #071828 0%, #0d2b45 49%, #173f58 100%);
  --o24-navy: var(--o24-brand-night);
  --o24-red: var(--o24-brand-accent-text);
  --o24-red-dark: #4d3500;
  --o24-blue: var(--o24-brand-blue);
  --o24-paper: #fffdfa;
  --o24-soft: var(--o24-brand-cream);
  --o24-line: #dedbd1;
  --o24-muted: #566471;
  --paper: var(--o24-paper);
  --paper-2: var(--o24-soft);
  --card: var(--o24-paper);
  --ink: var(--o24-brand-night);
  --muted: var(--o24-muted);
  --line: var(--o24-line);
  --blue: var(--o24-blue);
  --blue-dark: var(--o24-brand-navy);
}

body.o24-wordpress[data-theme="dark"] {
  --o24-brand-accent-text: var(--o24-brand-gold);
  --o24-red-dark: var(--o24-brand-gold-hover);
  --o24-blue: #a8d2ed;
  --o24-paper: #0a1d2c;
  --o24-soft: #10283a;
  --o24-line: #314758;
  --o24-muted: #bac9d3;
  --ink: var(--o24-brand-cream);
  --blue-dark: #c9e5f6;
}

body.o24-wordpress .site-header.o24-edition-header {
  border-top-color: var(--o24-brand-gold);
}

body.o24-wordpress .o24-header .masthead.shell,
body.o24-wordpress .o24-sticky-bar,
body.o24-wordpress .o24-footer {
  background: var(--o24-brand-gradient);
  color: var(--o24-brand-cream);
}

body.o24-wordpress .o24-header .masthead.shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  box-shadow: none;
  clip-path: none;
}

body.o24-wordpress .o24-header .masthead #currentClock {
  color: var(--o24-brand-cream);
}

@media (min-width: 783px) {
  body.o24-wordpress .o24-header .masthead.shell {
    padding-inline: calc((100% - var(--shell)) / 2);
  }
}

body.o24-wordpress .o24-header .masthead .o24-brand,
body.o24-wordpress .o24-sticky-bar__brand {
  text-align: center;
}

body.o24-wordpress :is(.o24-brand, .o24-mobile-menu__top) picture {
  display: block;
}

body.o24-wordpress :is(.o24-brand img, .o24-mobile-menu__top img, .o24-sticky-bar__brand img, .o24-footer__logo) {
  display: block;
  height: auto;
}

body.o24-wordpress .o24-edition-header .masthead .o24-masthead-motto {
  color: var(--o24-brand-cream);
  margin: 5px 0 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.3;
}

@media (min-width: 783px) {
  body.o24-wordpress .o24-edition-header .masthead .o24-masthead-motto {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

body.o24-wordpress .o24-edition-header .main-nav {
  background: var(--o24-paper);
  border-color: var(--o24-line);
}

body.o24-wordpress .o24-edition-header.o24-header .main-nav .main-nav__inner > a {
  --nav-accent: var(--o24-brand-gold);
  color: var(--ink);
}

body.o24-wordpress .o24-edition-header.o24-header .main-nav .main-nav__inner > a:is([aria-current="page"], :hover, :focus-visible) {
  color: var(--o24-brand-accent-text);
  box-shadow: inset 0 -3px var(--o24-brand-gold);
}

body.o24-wordpress .o24-edition-header :is(a, button, input):focus-visible {
  outline-color: var(--o24-blue);
}

body.o24-wordpress .o24-edition-header .masthead :is(a, button):focus-visible {
  outline-color: var(--o24-brand-gold);
}

body.o24-wordpress .o24-sticky-bar {
  border-bottom-color: var(--o24-brand-gold);
}

body.o24-wordpress .o24-footer {
  border-top: 3px solid var(--o24-brand-gold);
}

body.o24-wordpress .o24-footer__grid > div:first-child {
  gap: 6px;
}

body.o24-wordpress .o24-footer__grid > div:first-child p {
  color: var(--o24-brand-cream);
}

body.o24-wordpress .o24-mobile-menu:not([hidden]) {
  background: var(--o24-soft);
  color: var(--ink);
  border-top-color: var(--o24-brand-gold);
}

body.o24-wordpress .o24-edition-header .o24-mobile-menu__top {
  padding: 10px 14px;
  background: var(--o24-brand-gradient);
  border-radius: 6px;
  border-bottom: 0;
}

body.o24-wordpress .o24-mobile-menu__top button,
body.o24-wordpress .o24-mobile-menu nav a {
  background: var(--o24-paper);
  color: var(--ink);
  border-color: var(--o24-line);
}

body.o24-wordpress :is(.o24-search button, .o24-mobile-menu__search button, .comment-form .submit, .read-button),
body.o24-wordpress .o24-sticky-bar__links a:is(.is-home, :hover, :focus-visible) {
  background: var(--o24-brand-gold);
  color: var(--o24-brand-night);
}

body.o24-wordpress :is(.o24-search button, .o24-mobile-menu__search button, .comment-form .submit, .read-button):hover {
  background: var(--o24-brand-gold-hover);
  color: var(--o24-brand-night);
}

body.o24-wordpress :is(.o24-key, .o24-feed-end, .o24-deus) {
  border-color: var(--o24-brand-gold);
}

body.o24-wordpress.home .o24-edition-band.o24-category-strip--zivot {
  --o24-section-hover: #ffe4ac;
  background: linear-gradient(106deg, #522a2c, #744035 55%, #89482e);
}

body.o24-wordpress.home .o24-sport {
  --o24-section-hover: var(--o24-brand-gold);
  background: linear-gradient(104deg, #142350, #213b7d 58%, #205288);
}

body.o24-wordpress.home .o24-edition-band.o24-category-strip--zdravlje {
  --o24-section-hover: #c9f7c6;
}

body.o24-wordpress.home :is(.o24-edition-band.o24-category-strip--zivot, .o24-sport, .o24-edition-band.o24-category-strip--zdravlje) .o24-card h3 a:is(:hover, :focus-visible) {
  color: var(--o24-section-hover);
}

body.o24-wordpress.home .o24-edition-band.o24-category-strip--zivot .o24-category-strip__head h2 em {
  color: var(--o24-brand-gold);
}

body.o24-wordpress.home .o24-topic-shortcuts .o24-topic-shortcuts__life {
  background: #744035;
  color: var(--o24-brand-cream);
}

body.o24-wordpress.home .o24-sport__mark {
  color: var(--o24-brand-gold);
}

body.o24-wordpress.home .load-more[data-load-more]:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 19rem);
  min-height: 48px;
  margin: 30px auto 0;
  padding: 8px 18px;
  border: 1px solid var(--o24-brand-night);
  border-radius: 24px;
  background: var(--o24-brand-gold);
  color: var(--o24-brand-night);
}

body.o24-wordpress.home .load-more[data-load-more]:not([hidden]):hover {
  background: var(--o24-brand-gold-hover);
  color: var(--o24-brand-night);
}

body.o24-wordpress.home .load-more[data-load-more]:focus-visible {
  outline: 2px solid var(--o24-blue);
  outline-offset: 3px;
}

body.o24-wordpress.home .load-more[data-load-more] > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  margin-left: 0;
  border-radius: 50%;
  background: #07182814;
}

/* The article template keeps its credit and headline even when there is no hero. */
body.o24-wordpress .o24-article {
  --o24-headline-overlap: clamp(20px, 3vw, 42px);
  padding-top: clamp(22px, 4vw, 50px);
}

body.o24-wordpress .o24-article > article:has(> .o24-article__hero) {
  display: flex;
  flex-direction: column;
}

body.o24-wordpress .o24-article > article > .o24-article__header {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 66px));
  padding: clamp(18px, 3.2vw, 40px);
  border: 1px solid var(--o24-line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 12px 34px #07182813;
}

body.o24-wordpress .o24-article__header::before {
  position: absolute;
  top: -1px;
  left: clamp(18px, 3.2vw, 40px);
  width: 48px;
  height: 4px;
  border-radius: 0 0 3px 3px;
  background: var(--o24-brand-gold);
  content: "";
}

body.o24-wordpress .o24-article > article:has(> .o24-article__hero) > .o24-article__header {
  margin-top: calc(-1 * var(--o24-headline-overlap));
}

body.o24-wordpress .o24-article > article:has(> .o24-article__hero--portrait) > .o24-article__header {
  width: min(900px, calc(100% - 52px));
}

body.o24-wordpress .o24-article__header > h1 {
  margin: 10px 0 15px;
  font-size: clamp(2rem, 4.6vw, 4.65rem);
  line-height: 1.045;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

body.o24-wordpress .o24-article > article > .o24-article__hero {
  position: relative;
  order: -1;
  width: min(1280px, calc(100% - 38px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background: var(--o24-brand-night);
  isolation: isolate;
}

body.o24-wordpress .o24-article__hero--landscape > img {
  display: block;
  max-height: clamp(210px, 52vw, 630px);
  object-fit: cover;
}

body.o24-wordpress .o24-article__hero--landscape > figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 18px clamp(12px, 3vw, 32px) calc(var(--o24-headline-overlap) + 9px);
  background: linear-gradient(transparent, #071828ed 40%, #071828);
  color: var(--o24-brand-cream);
  overflow-wrap: anywhere;
}

body.o24-wordpress .o24-article__hero > figcaption a {
  color: inherit;
}

body.o24-wordpress .o24-article > article > .o24-article__hero--portrait {
  width: min(980px, calc(100% - 38px));
  padding-bottom: var(--o24-headline-overlap);
}

body.o24-wordpress .o24-article__hero--portrait > figcaption {
  color: var(--o24-brand-cream);
}

body.o24-wordpress .o24-article .o24-key {
  background: var(--o24-brand-gradient);
  color: #fff;
}

body.o24-wordpress .o24-article .o24-key > span {
  color: var(--o24-brand-gold);
}

body.o24-wordpress .o24-article .o24-key > p {
  color: inherit;
}

body.o24-wordpress .o24-article .o24-article__body > p:first-of-type::first-letter {
  color: var(--o24-brand-gold);
  -webkit-text-stroke: 1.3px var(--o24-brand-navy);
  paint-order: stroke fill;
}

body.o24-wordpress .o24-article :is(.o24-topics > a, .o24-comment-disclosure > summary, .comment-form .submit) {
  background: var(--o24-brand-gradient);
  border-color: var(--o24-brand-blue);
  color: #fff;
}

body.o24-wordpress .o24-article :is(.o24-topics > a, .o24-comment-disclosure > summary, .comment-form .submit):hover {
  box-shadow: inset 0 0 0 1px var(--o24-brand-gold);
}

body.o24-wordpress .o24-article :is(.o24-topics > a, .o24-comment-disclosure > summary, .comment-form .submit):focus-visible {
  outline: 2px solid var(--o24-brand-gold);
  outline-offset: -4px;
}

body.o24-wordpress .o24-article .o24-inline-related {
  background: var(--o24-brand-gradient);
  border-color: var(--o24-brand-blue);
  color: #fff;
}

body.o24-wordpress .o24-article .o24-inline-related > h2 {
  color: #fff;
}

body.o24-wordpress .o24-article .o24-inline-related > h2::before {
  display: block;
  width: 32px;
  height: 3px;
  margin-bottom: 10px;
  border-radius: 2px;
  background: var(--o24-brand-gold);
  content: "";
}

body.o24-wordpress .o24-article .o24-inline-related__item {
  color: #fff;
  border-top-color: #f6f3e94d;
}

body.o24-wordpress .o24-article .o24-inline-related__item small {
  color: var(--o24-brand-cream);
}

body.o24-wordpress .o24-article .o24-inline-related__item:hover strong {
  text-decoration: underline var(--o24-brand-gold);
  text-underline-offset: .15em;
}

body.o24-wordpress .o24-article .o24-inline-related__item:focus-visible {
  outline: 2px solid var(--o24-brand-gold);
  outline-offset: 3px;
}

@media (max-width: 782px) {
  body.o24-wordpress .o24-article > article > .o24-article__hero {
    width: calc(100% - 22px);
    border-radius: 11px;
  }

  body.o24-wordpress .o24-article > article > .o24-article__header,
  body.o24-wordpress .o24-article > article:has(> .o24-article__hero--portrait) > .o24-article__header {
    width: calc(100% - 36px);
  }

  body.o24-wordpress .o24-article__header > h1 {
    font-size: clamp(1.8rem, 7.6vw, 3.45rem);
    line-height: 1.09;
  }
}

.o24-brand-dock {
  display: none;
}

@media (max-width: 782px) {
  body.o24-wordpress.o24-brand-dock-on {
    padding-bottom: calc(63px + env(safe-area-inset-bottom, 0px));
  }

  body.o24-wordpress.o24-brand-dock-on .o24-consent-reopen {
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }

  body.o24-wordpress .o24-brand-dock:not([hidden]) {
    position: fixed;
    inset: auto 0 0;
    z-index: 109;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 4px;
    padding: 5px max(8px, env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left));
    border-top: 2px solid var(--o24-brand-gold);
    background: var(--o24-brand-gradient);
    box-shadow: 0 -6px 24px #07182826;
  }

  body.o24-wordpress.o24-menu-open .o24-brand-dock {
    visibility: hidden;
  }

  .o24-brand-dock > :is(a, button) {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    width: 100%;
    min-height: 51px;
    padding: 3px 2px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--o24-brand-cream);
    text-decoration: none;
    font: 650 12px/1.2 var(--font-ui);
    cursor: pointer;
  }

  .o24-brand-dock > [hidden] {
    display: none;
  }

  .o24-brand-dock svg {
    width: 22px;
    height: 22px;
  }

  .o24-brand-dock > .o24-brand-dock__home,
  .o24-brand-dock > [aria-current="page"] {
    color: var(--o24-brand-gold);
    background: #f6f3e912;
  }

  .o24-brand-dock > :is(a, button):focus-visible {
    outline: 2px solid var(--o24-brand-gold);
    outline-offset: -2px;
  }

  body.o24-wordpress .o24-edition-header.o24-header .masthead.shell {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    padding-inline: max(12px, env(safe-area-inset-left), env(safe-area-inset-right));
  }

  body.o24-wordpress .o24-edition-header .masthead .o24-brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: min(100%, 252px);
    max-width: none;
  }

  body.o24-wordpress .o24-edition-header .masthead .o24-brand img {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  body.o24-wordpress .o24-edition-header.o24-header .masthead .menu-button {
    grid-column: 3;
    grid-row: 1;
    background: #f6f3e912;
    color: var(--o24-brand-cream);
    border-color: #f6f3e978;
  }

  body.o24-wordpress .o24-edition-header .masthead .o24-masthead-motto {
    font-size: clamp(10px, 2.55vw, 11.5px);
    margin-top: 3px;
  }

  body.o24-wordpress .o24-edition-header.is-compact .masthead .o24-masthead-motto {
    display: none;
  }
}
