/* Page components. Colours come from palette.css. */

/* ---- Partners / sponsors call to action: no background, text left, steps right ---- */
.bp-cta { max-width: var(--global-content-width, 1290px); margin: 2.5rem auto 2.5rem; padding: 0 1.5rem; }
.bp-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  color: var(--bp-navy);
  padding: clamp(1rem, 3vw, 2rem) 0;
}
.bp-cta-eyebrow { margin: 0 0 .75rem; font-weight: 700; letter-spacing: .15em; font-size: .85rem; color: var(--bp-navy); opacity: .8; }
.bp-cta-title { margin: 0 0 1rem; color: var(--bp-navy); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; }
.bp-cta-title strong { color: var(--bp-navy); text-decoration: underline; text-decoration-color: var(--bp-yellow); text-decoration-thickness: .15em; text-underline-offset: .12em; }
.bp-cta-lead { margin: 0 0 1.75rem; font-size: 1.1rem; line-height: 1.6; color: var(--bp-navy); }
.bp-cta-download { margin: 0; }
.bp-cta-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.bp-cta-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: 16px;
  background: var(--bp-white);
  border: 1px solid #E3E8F1;
  color: var(--bp-navy);
}
.bp-cta-steps li > div { display: flex; flex-direction: column; gap: .25rem; }
.bp-cta-steps strong { font-size: 1.1rem; }
.bp-cta-steps span:not(.bp-cta-num) { line-height: 1.45; }
.bp-cta-num {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bp-yellow);
  color: var(--bp-dark);
  font-weight: 700;
}
@media (max-width: 900px) { .bp-cta-inner { grid-template-columns: 1fr; } }

/* Small caption under an illustration. */
.bp-caption { margin-top: .5rem; text-align: center; font-size: .9rem; font-style: italic; color: var(--bp-navy); }

/* ---- Buttons: yellow accent with dark text ---- */
.bp-btn, .bp-btn:link, .bp-btn:visited, .bp-btn:hover, .bp-btn:focus, .bp-btn:active {
  display: inline-block; padding: .9rem 2rem; border-radius: 12px; background: var(--bp-yellow);
  color: var(--bp-dark); font-weight: 700; text-decoration: none; border: 2px solid var(--bp-yellow);
  -webkit-tap-highlight-color: transparent; transition: filter .2s;
}
.bp-btn:hover, .bp-btn:focus-visible { filter: brightness(1.08); }
.bp-btn:focus-visible { outline: 3px solid var(--bp-navy); outline-offset: 3px; }
.bp-btn--disabled { cursor: default; }
.bp-btn--disabled:hover { filter: none; }

/* Home "O događaju" row: the theme's 48px top padding (plus 32px on phones) left a big gap under the hero notices. */
body .kb-row-layout-id25_98da6d-7b > .kt-row-column-wrap { padding-top: 1rem; grid-template-columns: minmax(0, 1fr) !important; }
@media (max-width: 767px) { body .kadence-column25_e5df0d-95 > .kt-inside-inner-col { padding-top: 0; } }

/* "Uskoro" placeholder pages: centred horizontally and vertically. */
.bp-soon {
  box-sizing: border-box;
  width: 100%;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 1.5rem 1.5rem 3rem;
  text-align: center;
}
.bp-soon-eyebrow { margin: 0 0 .5rem; font-weight: 700; letter-spacing: .15em; font-size: .9rem; text-transform: uppercase; color: var(--bp-navy); opacity: .75; text-align: center !important; }
.bp-soon .bp-soon-title {
  width: 100%;
  max-width: none;
  margin: 0 auto !important;
  padding: 0;
  text-align: center !important;
  color: var(--bp-navy);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}
.bp-soon .bp-soon-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: .75rem auto 0;
  border-radius: 2px;
  background: var(--bp-yellow);
}
.bp-soon-text { margin: 1rem 0 0; color: var(--bp-navy); font-size: 1.1rem; text-align: center !important; }

/* The hero used a one-slide Kadence background slider. Now it is just a background colour. */
.kb-row-layout-wrap:has(.bp-hero) { background-color: var(--bp-white) !important; }

/* 404 page. */
.bp-404 .bp-soon-title { font-size: clamp(3rem, 10vw, 6rem); }
.bp-404-text { margin: .5rem 0 1.5rem; color: var(--bp-navy); font-size: 1.15rem; text-align: center !important; }


/* Visually hidden text (page <h1>s that only search engines and screen readers need). */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); border: 0; white-space: nowrap; }

/* The theme's article styles indent lists and add a top margin to headings; the sponsor block needs neither. */
.entry-content .bp-cta ol.bp-cta-steps { margin: 0; padding: 0; }
.entry-content .bp-cta h2.bp-cta-title { margin-top: 0; }
