/*
Theme Name: Flajer
Theme URI: https://flajer.me
Author: Teodor Šljukić
Description: Custom tema za flajer.me — izrada flajera, dizajn i štampa. Mobile-first, moderno, konverzija u fokusu.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: flajer
*/

/* ============================================================
   DIZAJN SISTEM — tokeni
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f5fb;
  --bg-dark: #0e0b1a;
  --ink: #14131a;
  --muted: #6b6a78;
  --line: #ecebf3;

  --accent: #7c3aed;
  --accent-2: #ec4899;
  --accent-3: #f59e0b;
  --accent-grad: linear-gradient(120deg, #7c3aed 0%, #ec4899 55%, #f59e0b 120%);
  --accent-grad-soft: linear-gradient(120deg, rgba(124,58,237,.12), rgba(236,72,153,.12));

  --wa: #25d366;
  --viber: #7360f2;

  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(20,19,26,.06);
  --shadow: 0 12px 34px rgba(20,19,26,.10);
  --shadow-lg: 0 26px 60px rgba(124,58,237,.18);

  --container: 1600px;
  --gap: clamp(16px, 4vw, 28px);

  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ============================================================
   RESET / BAZA
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.4rem); }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: 90%; max-width: var(--container); margin-inline: auto; padding-inline: 0; }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 640px; margin-bottom: clamp(28px, 5vw, 52px); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.lead { font-size: clamp(1.02rem, 2.2vw, 1.18rem); color: var(--muted); }

/* ============================================================
   DUGMAD
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 26px; border-radius: var(--radius-pill);
  border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-lg); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 30px 66px rgba(124,58,237,.28); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn--light:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37,211,102,.35); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 32px; font-size: 1.06rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; }
.brand__dot { color: var(--accent); }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--accent-grad);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.1rem;
}
.brand__logo { height: 38px; width: auto; display: block; }
.site-footer .brand__logo { height: 44px; }
.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__menu a { font-weight: 500; font-size: .98rem; color: var(--ink); transition: color .15s; }
.nav__menu a:hover { color: var(--accent); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .25s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 4px;
    background: #fff; padding: 18px 22px 26px; border-bottom: 1px solid var(--line);
    transform: translateY(-140%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav.is-open .nav__menu { transform: translateY(0); }
  .nav__menu a { padding: 12px 4px; width: 100%; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__actions .btn--ghost { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--bg-dark); color: #fff; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0;
}
.hero::before { width: 520px; height: 520px; background: radial-gradient(circle, #7c3aed, transparent 70%); top: -180px; right: -120px; }
.hero::after { width: 460px; height: 460px; background: radial-gradient(circle, #ec4899, transparent 70%); bottom: -200px; left: -140px; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding-block: clamp(56px, 9vw, 108px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: #e9e6f7; margin-bottom: 22px;
}
.hero__badge b { color: #fff; }
.hero h1 { color: #fff; }
.hero h1 .grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { font-size: clamp(1.05rem, 2.3vw, 1.22rem); color: #c9c5da; max-width: 30ch; margin: 18px 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: #b7b3ca; font-size: .9rem; }
.hero__trust b { color: #fff; font-family: var(--font-head); font-size: 1.35rem; display: block; }

/* Hero vizual — stilizovani flajeri */
.hero__art { position: relative; height: 100%; min-height: 320px; }
.flyer-card {
  position: absolute; width: 220px; aspect-ratio: 3/4; border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.4);
  padding: 20px; color: #fff; overflow: hidden; border: 1px solid rgba(255,255,255,.12);
}
.flyer-card small { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.flyer-card strong { display: block; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.05; margin-top: 8px; }
.flyer-card .price { position: absolute; bottom: 18px; left: 20px; font-family: var(--font-head); font-weight: 800; font-size: 2rem; }
.flyer-card--1 { background: linear-gradient(160deg, #f43f5e, #7c3aed); top: 0; left: 8%; transform: rotate(-8deg); z-index: 2; }
.flyer-card--2 { background: linear-gradient(160deg, #f59e0b, #ec4899); top: 40px; right: 4%; transform: rotate(7deg); z-index: 1; }
.flyer-card--3 { background: linear-gradient(160deg, #06b6d4, #3b82f6); bottom: 0; left: 26%; transform: rotate(-3deg); z-index: 3; }

@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { min-height: 360px; margin-top: 10px; }
  .hero__sub { max-width: 42ch; }
}
@media (max-width: 440px) {
  .flyer-card { width: 170px; }
  .flyer-card--2 { right: 0; }
}

/* ============================================================
   ZA KOGA (kartice)
   ============================================================ */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent-grad-soft);
  display: grid; place-items: center; margin-bottom: 16px; font-size: 1.6rem;
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ============================================================
   RADOVI / PORTFOLIO
   ============================================================ */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm); background: var(--bg-soft); display: block;
}
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.work:hover img { transform: scale(1.06); }
.work__ph { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; text-align: center; padding: 20px; }
.work__meta {
  position: absolute; inset: auto 0 0 0; padding: 26px 18px 16px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); font-family: var(--font-head); font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: .25s;
}
.work:hover .work__meta { opacity: 1; transform: translateY(0); }
.work__cat { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; font-weight: 500; }

/* ============================================================
   KAKO RADI (koraci)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 16px;
}
.step:nth-child(1) .step__num { background: #7c3aed; }
.step:nth-child(2) .step__num { background: #ec4899; }
.step:nth-child(3) .step__num { background: #f59e0b; }
.step:nth-child(4) .step__num { background: #10b981; }
.step h3 { margin-bottom: 6px; font-size: 1.12rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ============================================================
   CIJENE (paketi)
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
.plan {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 26px; transition: transform .18s, box-shadow .2s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured { background: var(--bg-dark); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); position: relative; }
.plan--featured .plan__desc, .plan--featured .plan__feats li { color: #cfc9e4; }
.plan__tag {
  position: absolute; top: 18px; right: 18px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent-grad); color: #fff; padding: 6px 12px; border-radius: var(--radius-pill);
}
.plan__name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 4px; }
.plan__desc { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.plan__price { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; letter-spacing: -.03em; margin-bottom: 2px; }
.plan__price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.plan--featured .plan__price small { color: #a99fd0; }
.plan__unit { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.plan__feats { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; font-size: .95rem; }
.plan__feats li { display: flex; gap: 10px; align-items: flex-start; }
.plan__feats svg { flex: 0 0 18px; margin-top: 3px; color: var(--accent-2); }
.plan .btn { margin-top: auto; }

/* ============================================================
   KONTAKT / FORMA
   ============================================================ */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact__side .lead { margin-bottom: 26px; }
.contact__methods { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.contact__method { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); transition: .18s; }
.contact__method:hover { border-color: var(--accent); transform: translateX(3px); }
.contact__method .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: 0 0 44px; }
.contact__method small { display: block; color: var(--muted); font-size: .8rem; }
.contact__method b { font-family: var(--font-head); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; font-family: var(--font-head); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: .96rem; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124,58,237,.12); }
.field textarea { min-height: 110px; resize: vertical; }
.form__note { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: center; }

@media (max-width: 820px) {
  .contact { grid-template-columns: 1fr; }
}

/* ============================================================
   PLUTAJUĆE DUGME (WhatsApp)
   ============================================================ */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .2s; animation: fabPulse 2.4s infinite;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
@keyframes fabPulse { 0%,100% { box-shadow: 0 12px 30px rgba(37,211,102,.45); } 50% { box-shadow: 0 12px 30px rgba(37,211,102,.75); } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-dark); color: #c9c5da; padding-block: clamp(44px, 7vw, 72px) 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer__about { max-width: 34ch; font-size: .95rem; }
.footer__col h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; color: #b7b3ca; transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .85rem; color: #8f8ba6; }

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE GRID FALLBACKS
   ============================================================ */
@media (max-width: 900px) {
  .grid--3, .grid--4, .works, .steps, .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid--3, .grid--4, .grid--2, .works, .steps, .plans, .form__row { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .btn { width: 100%; }
  .hero__cta .btn, .nav__actions .btn { width: auto; }
}

/* ============================================================
   SINGLE / GENERIC PAGE
   ============================================================ */
.page-hero { background: var(--bg-soft); padding-block: clamp(48px, 7vw, 84px) clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.entry { max-width: 760px; margin-inline: auto; }
.entry img { border-radius: var(--radius); margin-block: 20px; }
.single-work__img { border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 28px; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a:hover { color: var(--accent); }

.is-hidden { display: none !important; }

/* ============================================================
   BLOG / ČLANAK
   ============================================================ */
.entry { font-size: 1.06rem; color: #26242e; }
.entry h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 1.6em 0 .5em; }
.entry h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); margin: 1.3em 0 .4em; }
.entry p { margin: 0 0 1.1em; }
.entry ul, .entry ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li { margin-bottom: .5em; }
.entry a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry a:not(.btn):hover { color: var(--accent-2); }
.entry a.btn { text-decoration: none; }
.entry a.btn--primary, .entry a.btn--light, .entry a.btn--wa { color: #fff; }
.entry a.btn--ghost { color: var(--ink); }
.entry blockquote {
  margin: 1.4em 0; padding: 14px 22px; border-left: 4px solid var(--accent);
  background: var(--bg-soft); border-radius: 0 12px 12px 0; font-style: italic; color: #3a3844;
}
.entry strong { color: var(--ink); }
.entry table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .96rem; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry th { background: var(--bg-soft); font-family: var(--font-head); }

.post-cta {
  margin: 42px 0 10px; padding: 30px; border-radius: var(--radius-lg);
  background: var(--accent-grad-soft); border: 1px solid var(--line); text-align: center;
}
.post-cta h3 { margin-bottom: 8px; }
.post-cta p { color: var(--muted); margin-bottom: 20px; }

.related { max-width: var(--container); margin: 56px auto 0; }
.related h2 { margin-bottom: 22px; }
.related .card h3 { font-size: 1.08rem; }

/* Blog kartice u arhivi */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card__thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card__cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.post-card h3 { margin: 8px 0 8px; font-size: 1.12rem; }
.post-card h3 a:hover { color: var(--accent); }
.post-card__meta { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.faq__item[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer;
  padding: 20px 22px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-grad-soft);
  color: var(--accent); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: transform .2s;
}
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 22px 22px; color: var(--muted); }

/* ============================================================
   RECENZIJE
   ============================================================ */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 0; }
.review__stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; }
.review__text { margin: 0 0 20px; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.review__by { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent-grad); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
}
.review__by b { display: block; font-family: var(--font-head); font-size: .98rem; }
.review__by small { color: var(--muted); font-size: .85rem; }

/* Paginacija */
.page-numbers { display: inline-flex; gap: 6px; list-style: none; padding: 0; flex-wrap: wrap; justify-content: center; }
.page-numbers a, .page-numbers span {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 12px; font-family: var(--font-head); font-weight: 600; color: var(--ink);
}
.page-numbers .current { background: var(--accent-grad); color: #fff; border-color: transparent; }
.page-numbers a:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   PRISTUPAČNOST (a11y)
   ============================================================ */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 12px 0;
  font-family: var(--font-head); font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
