/* Kreativne Fleke — stilovi */
:root {
  --ink: #111;
  --heading: #001122;
  --muted: #5c5c5c;
  --line: #e9e4e5;
  --bg: #ffffff;
  --tint: #fbf3f4;
  --accent: #c2546b;
  --btn: #222;
  --btn-ink: #fff;
  --radius: 14px;
  --wrap: 1120px;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 17px/1.65 var(--font);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--heading); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--btn); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem 1.25rem; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-underline-offset: 4px; }
.langs { display: flex; gap: .15rem; font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.langs a { text-decoration: none; color: var(--muted); padding: .2rem .4rem; border-radius: 6px; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="true"] { color: var(--ink); background: var(--tint); }
.translated-note { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
@media (max-width: 560px) {
  .header-inner { justify-content: center; }
  .nav { justify-content: center; gap: .25rem 1rem; }
  .nav a { font-size: .92rem; }
}

/* Buttons & links */
.btn {
  display: inline-block; background: var(--btn); color: var(--btn-ink); text-decoration: none;
  font-weight: 600; padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid var(--btn);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: #000; }
.btn-sm { padding: .45rem 1rem; font-size: .92rem; }
.nav .btn { color: var(--btn-ink); }
.btn-ghost { background: transparent; color: var(--btn); }
.btn-ghost:hover { background: var(--btn); color: var(--btn-ink); }
.link { color: var(--accent); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1.25rem 0; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Sections */
.section { padding: 64px 0; }
@media (max-width: 720px) { .section { padding: 44px 0; } }
.tint { background: var(--tint); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }

/* Hero */
.hero { padding: 40px 0 48px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-img { width: min(100%, 560px); margin-bottom: 1.75rem; }
.hero h1 { color: #000; font-size: clamp(2.25rem, 5vw, 3rem); margin-bottom: .4rem; }
.hero-sub { font-size: clamp(1.1rem, 2.2vw, 1.3rem); font-weight: 600; color: #000; max-width: 34ch; margin: 0 0 .3rem; text-wrap: balance; }
.hero-org { font-size: .875rem; color: #000; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1rem; margin-top: 1.75rem; }
.hero-when { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.3rem; font-weight: 600; color: #000; margin: 0 .5rem 0 0; }
.btn-square { border-radius: 0; min-width: 143px; text-align: center; font-size: 1.05rem; padding: .8rem 1.5rem; }
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; }
  .hero-when { margin: 0 0 .25rem; }
}
.lead { font-size: 1.25rem; color: var(--ink); }

/* Split blocks */
.split { display: grid; gap: 2rem; align-items: center; }
.split > img { border-radius: var(--radius); width: 100%; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1.2fr; gap: 3.5rem; }
  .split.reverse > img { order: 2; }
}
.note { border-left: 4px solid var(--accent); padding-left: 1.25rem; }

/* Values */
.values { display: grid; gap: 1.25rem; margin: 1.5rem 0 2.5rem; }
@media (min-width: 860px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.value p { margin: 0; color: var(--muted); }
.wide-img { border-radius: var(--radius); width: 100%; max-height: 520px; object-fit: cover; }

/* Sessions */
.spotlight h2 .when-past, .spotlight.is-past h2 .when-upcoming { display: none; }
.spotlight.is-past h2 .when-past { display: inline; }
.spotlight-past-note { display: none; margin-top: 1rem; }
.spotlight.is-past .spotlight-past-note { display: block; }
.spotlight.is-past .session .btn { display: none; }

.sessions { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .sessions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .sessions { grid-template-columns: repeat(3, 1fr); } }
.session { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.session > img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.session-body { padding: 1.1rem 1.25rem 1.25rem; }
.session-body h3 { margin-bottom: .35rem; }
.session .actions { margin: .75rem 0 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .35rem; }
.meta { color: var(--muted); font-size: .95rem; margin: 0; }
.session.featured { display: grid; }
@media (min-width: 720px) {
  .session.featured { grid-template-columns: 280px 1fr; align-items: center; }
  .session.featured .session-body { padding: 1.5rem 2rem; }
}
.session.featured h3 { font-size: 1.5rem; }

/* Blog cards */
.posts { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card-body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.2rem 1.25rem; }
.post-card time, .post-author { color: var(--muted); font-size: .88rem; }
.post-title { font-weight: 700; font-size: 1.1rem; line-height: 1.3; color: var(--heading); }

/* Article */
.back { margin-bottom: 1.5rem; }
.byline { color: var(--muted); margin-bottom: 1.5rem; }
.byline strong { color: var(--ink); }
.cover { border-radius: var(--radius); width: 100%; margin: 0 0 2rem; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 4px solid var(--accent); font-size: 1.2rem; font-weight: 600; color: var(--heading); }
.prose blockquote:empty { display: none; }
.prose blockquote cite { display: block; font-style: normal; font-weight: 500; font-size: .95rem; color: var(--muted); margin-top: .4rem; }
.prose .voice { padding-left: 1.25rem; border-left: 2px dashed var(--line); color: #333; }
.prose a { color: var(--accent); }
.pager { display: grid; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { text-decoration: none; font-weight: 600; color: var(--heading); }
.pager a span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: .2rem; }
.pager .next { text-align: right; }

/* Gallery */
.gallery { columns: 1; column-gap: 1rem; }
@media (min-width: 600px) { .gallery { columns: 2; } }
@media (min-width: 980px) { .gallery { columns: 3; } }
.g-item { display: block; margin-bottom: 1rem; break-inside: avoid; border-radius: var(--radius); overflow: hidden; }

/* Follow CTA */
.follow { background: var(--heading); color: #fff; }
.follow h2 { color: #fff; }
.follow p { color: #e6e6e6; }
.follow .btn { background: #fff; color: var(--heading); border-color: #fff; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .75rem 0 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); font-size: .9rem; }
.footer-inner p { margin: .25rem 0; }
.footer-inner a { color: var(--ink); }

/* Kako izgledaju susreti */
.meetings { padding-bottom: 0; }
.meetings h2 { text-wrap: balance; }
.meetings p { font-size: 1.08rem; }
