/*
Theme Name: Creative4web v3
Theme URI: https://creative4web.eu/
Author: Creative4web
Author URI: https://creative4web.eu/
Description: Kinematografski dizajn (verzija 3) za Creative4web — puna tamna fotografija u herou, crimson i zlatna iz znaka, Fraunces + Hanken Grotesk. Klasična tema, bez ovisnosti o pluginovima.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: creative4web-v3
Tags: business, portfolio, one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* =========================================================
   Creative4web — verzija 3 (WordPress)
   1. Tokeni  2. Osnovno  3. Zaglavlje  4. Gumbi  5. Hero
   6. Traka s podacima  7. Trake i sekcije  8. Usluge
   9. Proces  10. Paketi  11. Radovi  12. Preporuke
   13. Zaključak + podnožje  14. Animacija  15. Pomoćne
   16. Podstranice  17. WordPress (admin traka, sadržaj, blog)
   ========================================================= */

/* ---------- 1. TOKENI ---------- */
:root {
  --paper:    #F7F6F2;
  --paper-2:  #EFEDE5;
  --card:     #FFFFFF;
  --ink:      #1A1A1E;
  --ink-2:    #56565F;
  --ink-3:    #8A8A92;
  --line:     #E2DED4;

  --dark:     #131217;
  --dark-2:   #1C1B21;

  --red:      #C8102E;
  --red-deep: #9E0B22;
  --gold:     #E8A33D;
  --gold-deep:#B27B1E;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-text:    "Hanken Grotesk", system-ui, "Segoe UI", Arial, sans-serif;

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 72px);
  --band-y: clamp(62px, 9vw, 118px);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 2. OSNOVNO + TIPOGRAFIJA ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 500; font-optical-sizing: auto; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; }
b, strong { font-weight: 600; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 2px;
}
header.site a:focus-visible, .navtoggle:focus-visible,
.hero a:focus-visible, .strip a:focus-visible, .process a:focus-visible,
.endcta a:focus-visible, footer.site a:focus-visible { outline-color: var(--gold); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--dark); color: #fff;
  padding: 12px 18px; font-size: 14px; text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- 3. ZAGLAVLJE ---------- */
header.site {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.bar {
  max-width: var(--wrap); margin-inline: auto;
  padding: 11px var(--pad);
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; }
.brand img { height: 34px; width: auto; display: block; }
.brand b {
  font-family: var(--f-display); font-weight: 500; font-size: 18px;
  color: #fff; letter-spacing: .005em;
}

nav.main { display: flex; align-items: center; gap: 26px; }
nav.main ul { display: contents; }
nav.main li { display: block; }
nav.main a {
  font-family: var(--f-text); font-size: 14px; font-weight: 500;
  color: rgba(255, 255, 255, .74); text-decoration: none;
  padding: 5px 0; border-bottom: 2px solid transparent;
}
nav.main a:hover { color: #fff; border-bottom-color: var(--gold); }
nav.main .current-menu-item > a,
nav.main a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
nav.main a.btn,
nav.main .btn > a { border-bottom: 0; padding: 10px 20px; }
nav.main a.btn-primary,
nav.main .btn-primary > a { color: #fff; border-bottom: 0; }

.navtoggle {
  display: none;
  background: none; border: 1.5px solid rgba(255, 255, 255, .42);
  border-radius: 999px; padding: 8px 10px; color: #fff; cursor: pointer;
}
.navtoggle svg { display: block; }

@media (max-width: 860px) {
  nav.main {
    position: fixed; inset: 57px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dark-2); border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 6px var(--pad) 20px;
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .65);
    max-height: calc(100vh - 57px); overflow-y: auto;
  }
  nav.main[hidden] { display: none; }
  nav.main ul { display: block; }
  nav.main a { padding: 15px 0; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  nav.main a.btn, nav.main .btn > a { margin-top: 14px; text-align: center; display: block; }
  .navtoggle { display: block; }
}

/* ---------- 4. GUMBI ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-text); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 28px; border: 1.5px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .05s ease;
}
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 16px; padding: 16px 34px; }

.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost.on-dark { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost.on-dark:hover { background: #fff; color: var(--dark); border-color: #fff; }

/* ---------- 5. HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 128px var(--pad) 104px;
  color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(125% 95% at 50% 40%, rgba(19, 18, 23, .34), rgba(19, 18, 23, .78) 80%),
    linear-gradient(to bottom, rgba(19, 18, 23, .66) 0%, rgba(19, 18, 23, .4) 40%, rgba(19, 18, 23, .9) 100%);
}
.hero-scrim::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 800px; }
.hero .eyebrow {
  font-family: var(--f-text); font-weight: 600;
  font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
}
.hero h1 {
  margin-top: 22px; font-weight: 500;
  font-size: clamp(38px, 6.6vw, 78px); line-height: 1.05; letter-spacing: -.012em;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; }
.hero .sub {
  margin-top: 20px; font-family: var(--f-text); font-weight: 400;
  font-size: clamp(16px, 2vw, 19px); color: rgba(255, 255, 255, .82);
  max-width: 46ch; margin-inline: auto;
}
.hero .cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero .scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 2;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .6);
  display: grid; place-items: center;
}
.hero .scroll:hover { color: #fff; }
.hero .scroll svg { display: block; animation: v3-bob 2.4s ease-in-out infinite; }
@keyframes v3-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- 6. TRAKA S PODACIMA ---------- */
.strip {
  background: var(--dark-2); color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: clamp(24px, 3.4vw, 34px);
}
.strip .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px 30px;
}
.strip .s b {
  display: block; font-family: var(--f-display); font-weight: 500;
  font-size: clamp(21px, 2.6vw, 27px); line-height: 1.1;
}
.strip .s > span {
  display: block; margin-top: 5px;
  font-family: var(--f-text); font-size: 11.5px;
  letter-spacing: .13em; text-transform: uppercase; color: rgba(255, 255, 255, .55);
}

/* ---------- 7. TRAKE I SEKCIJE ---------- */
.band { padding-block: var(--band-y); }
.band.alt { background: var(--paper-2); }

.head { max-width: 46ch; margin-bottom: clamp(32px, 5vw, 52px); }
.head .eyebrow {
  display: block; font-family: var(--f-text); font-weight: 600;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--red);
}
.head h2 {
  margin-top: 14px; font-weight: 500;
  font-size: clamp(28px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.01em;
}
.head p { margin-top: 14px; font-size: clamp(15.5px, 1.8vw, 17.5px); color: var(--ink-2); }

.more {
  display: inline-block; margin-top: clamp(24px, 4vw, 38px);
  font-family: var(--f-text); font-weight: 600; font-size: 13.5px; letter-spacing: .03em;
  color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--red); padding-bottom: 3px;
}
.more:hover { color: var(--red); }

/* ---------- 8. USLUGE ---------- */
.services {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.svc {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
}
.svc .k {
  font-family: var(--f-text); font-weight: 600; font-size: 11.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.svc h3 { font-weight: 500; font-size: 21px; line-height: 1.16; }
.svc p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- 9. PROCES (tamno) ---------- */
.process {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff;
  padding-block: var(--band-y);
}
.process::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: var(--grain); pointer-events: none;
}
.process > .wrap { position: relative; z-index: 2; }
.process .head .eyebrow { color: var(--gold); }
.process .head h2 { color: #fff; }
.process .head p { color: rgba(255, 255, 255, .7); }
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px 26px;
}
.step {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2);
}
.step .d {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(30px, 3.6vw, 40px); line-height: 1; color: var(--gold);
}
.step h3 { font-weight: 500; font-size: 20px; }
.step p { font-size: 14px; color: rgba(255, 255, 255, .68); }
.step .when {
  margin-top: 2px; font-family: var(--f-text); font-size: 11.5px;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85);
}

/* ---------- 10. PAKETI ---------- */
.pkgs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.pkg {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 24px; display: flex; flex-direction: column; gap: 15px;
}
.pkg--star { background: var(--dark); border-color: var(--dark); color: #fff; }
.pkg--star::before {
  content: "Najčešći izbor";
  position: absolute; top: -12px; left: 24px;
  background: var(--gold); color: var(--dark);
  font-family: var(--f-text); font-weight: 700; font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.pkg h3 {
  font-family: var(--f-text); font-weight: 700; font-size: 12.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.pkg--star h3 { color: rgba(255, 255, 255, .62); }
.pkg .price { font-weight: 500; font-size: 36px; line-height: 1; }
.pkg .price small {
  display: block; margin-bottom: 5px;
  font-family: var(--f-text); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.pkg--star .price small { color: rgba(255, 255, 255, .55); }
.pkg .who { font-size: 14px; color: var(--ink-2); }
.pkg--star .who { color: rgba(255, 255, 255, .72); }
.pkg ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.pkg--star ul { color: rgba(255, 255, 255, .84); }
.pkg li { display: flex; gap: 9px; }
.pkg li::before {
  content: ""; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%;
  background: var(--red); flex: none;
}
.pkg--star li::before { background: var(--gold); }
.pkg .btn { margin-top: auto; align-self: flex-start; }
.pkg .btn-ghost { border-color: var(--ink); color: var(--ink); }
.pkg--star .btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.pkg--star .btn-ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }

/* ---------- 11. RADOVI ---------- */
.works {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.work {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
}
.work .shot,
.work .shotholder {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.work .shotholder {
  display: grid; place-items: center; text-align: center; padding: 16px;
  font-family: var(--f-text); font-size: 11px; line-height: 1.7;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.work .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.work .meta {
  font-family: var(--f-text); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.work h3 { font-weight: 500; font-size: 20px; }
.work p { font-size: 14px; color: var(--ink-2); }
.work .out {
  margin-top: 2px; padding-top: 9px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2);
}
.work .out b {
  font-family: var(--f-text); font-weight: 700; font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--red);
}

/* ---------- 12. PREPORUKE ---------- */
.quotes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 4vw, 46px);
}
.quote { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.quote blockquote {
  margin: 0; font-family: var(--f-display); font-weight: 400; font-style: italic;
  font-size: clamp(19px, 2.4vw, 25px); line-height: 1.34;
}
.quote figcaption {
  font-family: var(--f-text); font-size: 12px;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3);
}
.quote figcaption b { color: var(--ink); font-weight: 600; }

/* ---------- 13. ZAKLJUČNI POZIV + PODNOŽJE ---------- */
.endcta {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff;
  padding-block: clamp(66px, 10vw, 120px); text-align: center;
}
.endcta::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: var(--grain); pointer-events: none;
}
.endcta > .wrap { position: relative; z-index: 2; }
.endcta h2 {
  font-weight: 500; font-size: clamp(28px, 4.6vw, 52px); line-height: 1.12;
  max-width: 20ch; margin-inline: auto;
}
.endcta p {
  margin-top: 16px; color: rgba(255, 255, 255, .72);
  max-width: 46ch; margin-inline: auto; font-size: 16px;
}
.endcta .cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

footer.site {
  background: var(--dark); color: rgba(255, 255, 255, .62);
  padding-block: clamp(44px, 6vw, 64px) 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.brand-row { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.brand-row img { height: 30px; width: auto; }
.brand-row b { font-family: var(--f-display); font-weight: 500; font-size: 17px; color: #fff; }
footer.site h2 {
  font-family: var(--f-text); font-weight: 700; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .42); margin-bottom: 12px;
}
footer.site a { color: rgba(255, 255, 255, .62); text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.legal { font-size: 13px; line-height: 1.75; color: rgba(255, 255, 255, .42); }
.foot-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-family: var(--f-text); font-size: 12px; color: rgba(255, 255, 255, .42);
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- 14. ANIMACIJA ---------- */
@keyframes v3-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow { opacity: 0; animation: v3-up .6s ease .12s both; }
.hero h1      { opacity: 0; animation: v3-up .7s cubic-bezier(.2, .7, .3, 1) .24s both; }
.hero .sub    { opacity: 0; animation: v3-up .6s ease .44s both; }
.hero .cta    { opacity: 0; animation: v3-up .6s ease .56s both; }
.hero .scroll { opacity: 0; animation: v3-up .6s ease .82s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero .eyebrow, .hero h1, .hero .sub, .hero .cta, .hero .scroll,
  .pagehead .crumbs, .pagehead h1, .pagehead .sub { opacity: 1; }
}

/* ---------- 15. POMOĆNE ---------- */
.tbd {
  background: #F7E4DE; border-bottom: 1px dashed var(--red);
  color: var(--red-deep); padding: 0 3px;
}
.strip .tbd, .process .tbd, .pkg--star .tbd, .endcta .tbd, footer.site .tbd {
  background: rgba(255, 255, 255, .14); border-bottom-color: var(--gold); color: #F2DAB4;
}
.visually-hidden, .screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed; top: 8px; left: 8px; width: auto; height: auto;
  clip: auto; margin: 0; padding: 12px 18px; z-index: 100000;
  background: var(--dark); color: #fff; font-size: 14px;
}

/* ---------- 16. PODSTRANICE ---------- */
.pagehead {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff;
  padding-block: clamp(104px, 15vh, 158px) clamp(40px, 6vw, 70px);
}
.pagehead::before {
  content: ""; position: absolute; z-index: 0;
  left: -12%; bottom: -46%; width: 62%; height: 130%;
  background: radial-gradient(circle, rgba(200, 16, 46, .22), transparent 62%);
  pointer-events: none;
}
.pagehead::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: var(--grain); pointer-events: none;
}
.pagehead > .wrap { position: relative; z-index: 2; }
.crumbs {
  font-family: var(--f-text); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pagehead h1 {
  margin-top: 16px; font-weight: 500;
  font-size: clamp(32px, 5vw, 58px); line-height: 1.05; letter-spacing: -.015em;
  max-width: 20ch;
}
.pagehead .sub {
  margin-top: 16px; font-family: var(--f-text); font-weight: 400;
  font-size: clamp(15.5px, 1.9vw, 18.5px); color: rgba(255, 255, 255, .72);
  max-width: 56ch;
}
.pagehead .crumbs { opacity: 0; animation: v3-up .5s ease .06s both; }
.pagehead h1     { opacity: 0; animation: v3-up .6s cubic-bezier(.2, .7, .3, 1) .16s both; }
.pagehead .sub   { opacity: 0; animation: v3-up .5s ease .32s both; }

.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 18px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(21px, 2.6vw, 27px); line-height: 1.16; letter-spacing: -.01em;
  margin-top: 20px;
}
.prose h3 { font-family: var(--f-display); font-weight: 500; font-size: 18px; margin-top: 10px; }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: 9px; padding-left: 0; }
.prose ul li, .prose ol li { position: relative; padding-left: 22px; color: var(--ink-2); list-style: none; }
.prose ul li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}
.prose ol { counter-reset: c4w-ol; }
.prose ol li::before {
  counter-increment: c4w-ol; content: counter(c4w-ol) ".";
  position: absolute; left: 0; top: 0; color: var(--red); font-weight: 700; font-size: 13px;
}
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
/* .btn unutar .prose (npr. gumb "Idi na stranicu" na pojedinačnoj objavi) mora
   zadržati svoje boje — ".prose a" je specifičniji od ".btn-primary" pa bi ga
   inače pregazio (crveni tekst na crvenoj podlozi = nevidljiv gumb). */
.prose a.btn { text-decoration: none; }
.prose a.btn-primary { color: #fff; }
.prose a.btn-ghost { color: var(--ink); }
.prose a.btn-ghost.on-dark { color: #fff; }
.prose img, .prose .wp-block-image img { border-radius: 12px; }
.prose figure { margin: 6px 0; }
.prose figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.prose blockquote {
  margin: 6px 0; padding-left: 18px; border-left: 3px solid var(--red);
  font-family: var(--f-display); font-style: italic; font-size: 19px; color: var(--ink);
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.prose code, .prose kbd {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px;
}
.prose pre {
  background: var(--dark); color: #EDECEA; border-radius: 12px; padding: 18px;
  overflow-x: auto; font-size: 13.5px; line-height: 1.6;
}
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose .alignleft { float: left; margin: 4px 22px 14px 0; }
.prose .alignright { float: right; margin: 4px 0 14px 22px; }
.prose .aligncenter { margin-inline: auto; }
.prose .updated {
  font-family: var(--f-text); font-size: 12.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}
.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 10px;
  background: var(--card); padding: 15px 18px; font-size: 14px; color: var(--ink-2);
  max-width: 64ch;
}
.callout strong { color: var(--ink); }

.cmp-wrap {
  margin-top: clamp(24px, 4vw, 38px); overflow-x: auto;
  border: 1px solid var(--line); border-radius: 16px; background: var(--card);
}
.cmp { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14.5px; }
.cmp caption {
  text-align: left; padding: 16px 18px 4px;
  font-family: var(--f-text); font-weight: 600; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.cmp th, .cmp td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp thead th {
  font-family: var(--f-text); font-weight: 700; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  background: var(--paper-2);
}
.cmp tbody th { font-weight: 500; color: var(--ink); }
.cmp td { text-align: center; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .yes { color: var(--red); font-weight: 700; }
.cmp .no  { color: var(--ink-3); }

.faq { max-width: 78ch; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 18px 0; list-style: none;
  font-family: var(--f-display); font-weight: 500; font-size: 18px;
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-family: var(--f-text); font-weight: 400;
  font-size: 20px; line-height: 1; color: var(--red);
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { padding-bottom: 20px; max-width: 66ch; font-size: 15px; color: var(--ink-2); }

.contact-grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 5vw, 56px); align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.direct { display: flex; flex-direction: column; gap: 22px; }
.direct .lbl2, .factcard .lbl2 {
  font-family: var(--f-text); font-weight: 600; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
}
.direct .big {
  display: inline-block; margin-top: 6px; width: fit-content;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(19px, 2.4vw, 24px); text-decoration: none;
  border-bottom: 2px solid var(--line); padding-bottom: 3px;
}
.direct .big:hover { border-bottom-color: var(--red); color: var(--red); }
.direct .note { margin-top: 8px; font-size: 14px; color: var(--ink-2); }

form.inquiry {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px; display: flex; flex-direction: column; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field textarea, .field select {
  font-family: var(--f-text); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 11px 13px; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ink); outline: 2px solid transparent; outline-offset: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
form.inquiry .consent { font-size: 12.5px; color: var(--ink-3); }
form.inquiry .consent a { color: var(--red); }
.gotcha {
  position: absolute; left: -9999px; top: 0; width: 1px; height: 1px;
  opacity: 0; overflow: hidden; pointer-events: none;
}
.notice { border: 1px solid; border-radius: 10px; padding: 13px 15px; font-size: 14px; }
.notice.ok  { background: #E8F4ED; border-color: #B4D8C4; color: #1E5A3E; }
.notice.err { background: #F7E4DE; border-color: #E7BDB2; color: var(--red-deep); }

.factcard {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px;
}
.factcard .lbl2 { display: block; margin-bottom: 14px; }
.factcard .row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.factcard .row:last-child { border-bottom: 0; padding-bottom: 0; }
.factcard .row .k { color: var(--ink-2); }
.factcard .row .v { font-weight: 600; text-align: right; }
.portrait {
  margin-top: 20px; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; background: var(--card);
}
.portrait .ph {
  aspect-ratio: 4 / 5; display: grid; place-items: center;
  background: var(--paper-2); color: var(--ink-3);
  font-family: var(--f-text); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
}
.portrait img { width: 100%; height: auto; display: block; }
.portrait .cap { padding: 16px 18px; font-size: 13.5px; color: var(--ink-2); }

.svc h3 a { color: inherit; text-decoration: none; }
.svc h3 a:hover { color: var(--red); }
.work .cardlink { margin-top: auto; padding: 0 20px 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.work .cardlink .btn { font-size: 12.5px; padding: 10px 18px; }
.note-block { margin-top: clamp(20px, 3vw, 30px); max-width: 62ch; font-size: 14px; color: var(--ink-3); }

/* ---------- 17. WORDPRESS ---------- */
/* Admin traka pomiče fiksno zaglavlje */
.admin-bar header.site { top: 32px; }
.admin-bar nav.main { top: 89px; }
@media screen and (max-width: 782px) {
  .admin-bar header.site { top: 46px; }
  .admin-bar nav.main { top: 103px; }
}
@media screen and (max-width: 600px) {
  .admin-bar header.site { top: 0; }  /* admin traka postaje relativna ispod 600px */
  .admin-bar nav.main { top: 57px; }
}

/* Blog: popis objava */
.postlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.post-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
}
.post-card .thumb { aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.post-card .body { padding: 20px 22px; display: flex; flex-direction: column; gap: 9px; }
.post-card .date {
  font-family: var(--f-text); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
}
.post-card h2 { font-weight: 500; font-size: 21px; line-height: 1.18; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { color: var(--red); }
.post-card p { font-size: 14px; color: var(--ink-2); }
.post-card .rm {
  margin-top: auto; font-family: var(--f-text); font-weight: 600; font-size: 13px;
  color: var(--red); text-decoration: none;
}

.single-post-thumb { border-radius: 16px; margin-bottom: 22px; }
.entry-meta {
  font-family: var(--f-text); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px;
}

/* Paginacija */
.nav-links, .pagination { margin-top: clamp(28px, 5vw, 44px); display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links .page-numbers, .pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  font-family: var(--f-text); font-weight: 600; font-size: 14px;
  text-decoration: none; color: var(--ink);
}
.nav-links .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.nav-links a.page-numbers:hover { border-color: var(--ink); }

/* Komentari */
.comments { max-width: 72ch; margin-top: clamp(36px, 6vw, 56px); }
.comments h2 { font-weight: 500; font-size: 22px; margin-bottom: 18px; }
.comments ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.comments .comment-body {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
}
.comments .children { list-style: none; margin: 14px 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.comments .comment-meta { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.comment-form { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.comment-form input, .comment-form textarea {
  font-family: var(--f-text); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%;
}
.comment-form textarea { min-height: 120px; resize: vertical; }

/* Gutenberg blokovi — lagani dodir */
.prose .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; background: var(--red); color: #fff;
  font-family: var(--f-text); font-weight: 600; text-decoration: none;
}
.prose .wp-block-pullquote, .prose .wp-block-quote { border-left: 3px solid var(--red); padding-left: 18px; }
.prose .wp-block-separator { border: 0; border-top: 1px solid var(--line); }
.prose .wp-block-columns { display: flex; flex-wrap: wrap; gap: 22px; }
.prose .wp-block-columns .wp-block-column { flex: 1 1 240px; }
