:root {
  --p: #4F46E5;
  --p-d: #3730a3;
  --p-s: #ede9fe;
  --c: #06B6D4;
  --a: #F97316;
  --bg: #FAFAF9;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #6b7280;
  --subtle: #9ca3af;
  --line: #e5e7eb;
  --r: 14px;
  --sh: 0 4px 24px rgba(0,0,0,.07);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
}

/* ── HEADER ── */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 16px 20px;
  text-align: center;
}
.site-header a {
  font-size: 18px;
  font-weight: 800;
  color: var(--p);
  text-decoration: none;
}
.site-header a:hover { color: var(--p-d); }

/* ── MAIN CONTENT ── */
.content-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.content-wrap h1 {
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--p-s);
}

/* ── GUTENBERG CONTENT STYLES ── */
.entry-content h2 {
  font-size: 24px; font-weight: 700; color: var(--ink);
  margin: 36px 0 12px; line-height: 1.25;
}
.entry-content h3 {
  font-size: 20px; font-weight: 700; color: var(--ink);
  margin: 28px 0 10px; line-height: 1.3;
}
.entry-content h4 {
  font-size: 17px; font-weight: 700; color: var(--ink);
  margin: 24px 0 8px;
}
.entry-content p {
  margin-bottom: 16px; color: var(--ink); line-height: 1.7;
}
.entry-content ul, .entry-content ol {
  margin: 16px 0; padding-left: 28px;
}
.entry-content li {
  margin-bottom: 8px; line-height: 1.6;
}
.entry-content a {
  color: var(--p); text-decoration: underline;
  text-underline-offset: 2px;
}
.entry-content a:hover { color: var(--p-d); }
.entry-content strong { font-weight: 700; }
.entry-content blockquote {
  border-left: 4px solid var(--p);
  background: var(--p-s);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic;
  color: var(--p-d);
}

/* ── TABLE (za Politiku privatnosti) ── */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.entry-content th {
  background: var(--p-s);
  color: var(--p-d);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--line);
}
.entry-content td {
  padding: 10px 16px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.entry-content tr:nth-child(even) td {
  background: var(--bg);
}

/* ── HR ── */
.entry-content hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 64px;
}
footer a { color: var(--p); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.f-logo {
  font-weight: 700; font-size: 15px;
  color: var(--ink); margin-bottom: 12px;
}
.f-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px;
  margin-bottom: 16px; font-size: 13px;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .content-wrap { padding: 32px 16px 60px; }
  .content-wrap h1 { font-size: 26px; }
  .entry-content table { font-size: 13px; }
  .entry-content th, .entry-content td { padding: 8px 10px; }
  .wpcf7-form .wpcf7-list-item { flex-basis: 100%; }
  .wpcf7-form input[type="submit"] { width: 100%; }
}

/* ── CONTACT FORM 7 ── */

/* Inputi i textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .2s ease;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form textarea:focus {
  border-color: var(--p);
  outline: none;
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
.wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Labele i pitanja */
.wpcf7-form label {
  font-weight: 600;
  color: var(--ink);
  margin-top: 20px;
}
.wpcf7-form p { margin-top: 20px; }
.wpcf7-form p:first-child { margin-top: 0; }

/* Radio i checkbox grupe */
.wpcf7-form .wpcf7-radio,
.wpcf7-form .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.wpcf7-form .wpcf7-list-item {
  flex-basis: calc(50% - 10px);
}
.wpcf7-form .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 400;
  transition: border-color .2s ease, background .2s ease;
  margin-top: 0;
}
.wpcf7-form .wpcf7-list-item label:hover {
  border-color: var(--p-s);
  background: var(--p-s);
}
.wpcf7-form .wpcf7-list-item input[type="radio"],
.wpcf7-form .wpcf7-list-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--p);
}

/* Submit gumb */
.wpcf7-form input[type="submit"] {
  display: block;
  width: auto;
  background: var(--p);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, box-shadow .15s ease;
  letter-spacing: 0.02em;
  margin-top: 24px;
}
.wpcf7-form input[type="submit"]:hover {
  background: var(--p-d);
  transform: translateY(-1px);
  box-shadow: var(--sh);
}
.wpcf7-form input[type="submit"]:focus-visible {
  outline: 3px solid var(--p);
  outline-offset: 2px;
}

/* Acceptance / privola */
.wpcf7-form .wpcf7-acceptance {
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
}
.wpcf7-form .wpcf7-acceptance label {
  font-weight: 400;
}

/* Poruke */
.wpcf7-form .wpcf7-response-output {
  border-radius: var(--r) !important;
  padding: 14px 20px !important;
  font-size: 14px;
  margin-top: 20px !important;
  border-width: 1px !important;
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
  border-color: #ef4444 !important;
  background: #fef2f2;
  color: #b91c1c;
}
.wpcf7-form.sent .wpcf7-response-output {
  border-color: #059669 !important;
  background: #ecfdf5;
  color: #065f46;
}
.wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 13px;
  margin-top: 4px;
}

/* Select */
.wpcf7-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  transition: border-color .2s ease;
}
.wpcf7-form select:focus {
  border-color: var(--p);
  outline: none;
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
