/* Speakers strip and organizers row (home page). Colours come from palette.css. */
.proeu-people { max-width: var(--global-content-width, 1290px); margin: 0 auto; padding: 2rem 1.5rem; }
.proeu-section-title {
  margin: 0 0 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--proeu-navy);
}

/* ---- card ---- */
.speaker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .35rem;
  color: var(--proeu-navy);
  text-decoration: none;
}
.speaker-card img { display: block; width: 100%; max-width: 220px; height: auto; aspect-ratio: 1; margin: 0 auto .5rem; }
.speaker-name { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.speaker-role { font-size: .9rem; line-height: 1.35; opacity: .85; }
.speaker-role:empty { display: none; }
a.speaker-card:hover .speaker-name { text-decoration: underline; text-underline-offset: .25em; }

/* ---- scrolling strip ---- */
.speakers-wrap { display: flex; align-items: center; gap: .75rem; }
.speakers-scroll {
  --visible: 4;
  --speakers-gap: 1.5rem;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: var(--speakers-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.speakers-scroll::-webkit-scrollbar { display: none; }
.speakers-scroll .speaker-card {
  flex: 0 0 calc((100% - (var(--visible) - 1) * var(--speakers-gap)) / var(--visible));
  scroll-snap-align: start;
}
@media (max-width: 1100px) { .speakers-scroll { --visible: 3; } }
@media (max-width: 800px)  { .speakers-scroll { --visible: 2; --speakers-gap: 1rem; } }
@media (max-width: 480px)  { .speakers-scroll { --visible: 1; } }

.speakers-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--proeu-navy);
  color: var(--proeu-white);
  cursor: pointer;
}
.speakers-arrow:hover, .speakers-arrow:focus-visible { background: var(--proeu-blue); color: var(--proeu-navy); }
.speakers-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) { .speakers-arrow { width: 36px; height: 36px; } }

/* ---- organizers: a short static row, no scrolling ---- */
.organizers-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.organizers-wrap .speaker-card { flex: 0 1 210px; }

/* ---- Partners / sponsors call to action: blue panel, text left, steps right ---- */
.proeu-cta { max-width: var(--global-content-width, 1290px); margin: 1rem auto 2.5rem; padding: 0 1.5rem; }
.proeu-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--proeu-blue);
  color: var(--proeu-navy);
  border-radius: 24px;
  padding: clamp(1.75rem, 5vw, 4rem);
}
.proeu-cta-eyebrow { margin: 0 0 .75rem; font-weight: 700; letter-spacing: .15em; font-size: .85rem; color: var(--proeu-navy); opacity: .8; }
.proeu-cta-title { margin: 0 0 1rem; color: var(--proeu-navy); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; }
.proeu-cta-lead { margin: 0 0 1.75rem; font-size: 1.1rem; line-height: 1.6; color: var(--proeu-navy); }
.proeu-cta-download { margin: 0; }
.proeu-cta-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.proeu-cta-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: 16px;
  background: var(--proeu-white);
  color: var(--proeu-navy);
}
.proeu-cta-steps li > div { display: flex; flex-direction: column; gap: .25rem; }
.proeu-cta-steps strong { font-size: 1.1rem; }
.proeu-cta-steps span:not(.proeu-cta-num) { line-height: 1.45; }
.proeu-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(--proeu-navy);
  color: var(--proeu-white);
  font-weight: 700;
}
@media (max-width: 900px) { .proeu-cta-inner { grid-template-columns: 1fr; } }

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

/* ---- O nama page ---- */
.proeu-about { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1.5rem 2.5rem; color: var(--proeu-navy); }
.proeu-eyebrow { margin: 0 0 .5rem; font-weight: 700; letter-spacing: .15em; font-size: .85rem; color: var(--proeu-navy); opacity: .75; }
.proeu-about-title { margin: 0 0 1rem; color: var(--proeu-navy); font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; }
.proeu-about-lead { max-width: 52rem; margin: 0 0 2rem; font-size: 1.2rem; line-height: 1.6; }
.proeu-about p, .proeu-about li { color: var(--proeu-navy); line-height: 1.65; }
.proeu-about-block { margin-top: 3rem; }
.proeu-about-block > p { max-width: 52rem; margin: 0 0 1rem; font-size: 1.05rem; }
.proeu-section-title.proeu-left { text-align: left; margin-bottom: 1rem; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: 0; text-transform: none; }

.proeu-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 1.25rem; background: var(--proeu-blue); border-radius: 18px; }
.proeu-facts > div { padding: .5rem .75rem; border-left: 3px solid var(--proeu-navy); }
.proeu-facts dt { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.proeu-facts dd { margin: .25rem 0 0; font-weight: 700; font-size: 1.05rem; line-height: 1.35; }

.proeu-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.proeu-pillars li { padding: 1.5rem; background: var(--proeu-white); border-radius: 16px; border-top: 5px solid var(--proeu-blue); }
.proeu-pillars h3 { margin: 0 0 .5rem; color: var(--proeu-navy); font-size: 1.25rem; }
.proeu-pillars p { margin: 0; }

.proeu-about-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.proeu-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.proeu-checklist li { position: relative; padding-left: 1.9rem; }
.proeu-checklist li::before { content: ""; position: absolute; left: 0; top: .4rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--proeu-blue); box-shadow: inset 0 0 0 4px var(--proeu-navy); }

.proeu-about-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; }
.proeu-btn, .proeu-btn:link, .proeu-btn:visited, .proeu-btn:hover, .proeu-btn:focus, .proeu-btn:active {
  display: inline-block; padding: .9rem 2rem; border-radius: 12px; background: var(--proeu-navy);
  color: var(--proeu-white); font-weight: 700; text-decoration: none; border: 2px solid var(--proeu-navy);
  -webkit-tap-highlight-color: transparent; transition: filter .2s;
}
.proeu-btn:hover, .proeu-btn:focus-visible { filter: brightness(1.25); }
.proeu-btn:focus-visible { outline: 3px solid var(--proeu-blue); outline-offset: 3px; }
.proeu-btn--ghost, .proeu-btn--ghost:link, .proeu-btn--ghost:visited, .proeu-btn--ghost:hover, .proeu-btn--ghost:focus, .proeu-btn--ghost:active { background: transparent; color: var(--proeu-navy); }
.proeu-btn--ghost:hover, .proeu-btn--ghost:focus-visible { filter: none; background: var(--proeu-blue); }

@media (max-width: 900px) {
  .proeu-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proeu-about-two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .proeu-facts, .proeu-pillars { grid-template-columns: 1fr; }
}

/* Home "O konferenciji" 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: 1.5rem; }
@media (max-width: 767px) { body .kadence-column25_e5df0d-95 > .kt-inside-inner-col { padding-top: 0; } }

/* Notice line under the home page hero. */
.proeu-notice { padding: 0 1.5rem 1rem; text-align: center; }
.proeu-notice-text {
  display: inline-block;
  margin: 0;
  padding: .85rem 2rem;
  border: 3px solid var(--proeu-navy);
  border-radius: 999px;
  background: var(--proeu-white);
  color: var(--proeu-navy);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  line-height: 1.3;
}

/* "Uskoro više informacija" / "Prijave se otvaraju" placeholder pages: centred horizontally and vertically. */
.proeu-soon {
  box-sizing: border-box;
  width: 100%;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 1.5rem;
  text-align: center;
}
.proeu-soon .proeu-soon-title {
  width: 100%;
  max-width: none;
  margin: 0 auto !important;
  padding: 0;
  text-align: center !important;
  color: var(--proeu-navy);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

/* Anchor targets in the speakers list (linked from the home page strip). */
.kb-post-list-item[id] { scroll-margin-top: 6rem; }

/* O nama: organizing board list. */
.proeu-board-title { margin: 1.5rem 0 .75rem; color: var(--proeu-navy); font-size: 1.2rem; }
.proeu-board { max-width: 40rem; margin-bottom: 1.5rem; }
.proeu-board-organizer { margin-top: 0; }

/* "Preuzmi životopis" button under a speaker's biography. */
.proeu-cv-download { margin: 1.5rem 0 0; }

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

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

/* Home speakers: two strips, each with a subtitle. */
.proeu-speakers-subtitle { margin: 0 0 1.25rem; text-align: center; text-transform: uppercase; letter-spacing: .04em; color: var(--proeu-navy); font-size: 1.35rem; }
.proeu-speakers .speakers-wrap + .proeu-speakers-subtitle { margin-top: 3rem; }

/* Strip with every card in view: no arrows, cards centred. */
.speakers-wrap--static .speakers-scroll { justify-content: center; overflow-x: visible; }
.speakers-arrow[hidden] { display: none; }

/* Program page: evidence numbers for the public procurement lectures. */
.proeu-evid { max-width: 60rem; margin: 0 auto; padding: 2rem 1.5rem 0; color: var(--proeu-navy); }
.proeu-evid-title { margin: 0 0 1.5rem; text-align: center; font-size: clamp(1.5rem, 3.2vw, 2.25rem); line-height: 1.25; color: var(--proeu-navy); }
.proeu-evid-list { margin: 0; padding-left: 1.25rem; display: grid; gap: .85rem; line-height: 1.55; }

/* Home page: line about professional training points, under the registration notice. */
.proeu-points { max-width: 60rem; margin: 0 auto; padding: .5rem 1.5rem 1rem; text-align: center; }
.proeu-points-title { margin: 0; font-size: clamp(1.25rem, 2.8vw, 1.9rem); line-height: 1.3; color: var(--proeu-navy); }

/* 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; }
