/* Public Fitko pages: shared reading, pricing and form layouts. */
.fkp-blog-gallery { display: flex; gap: 28px; overflow-x: auto; max-width: 100%; padding: 20px 10px 28px; margin: 24px 0; scroll-snap-type: x mandatory; }
.fkp-prose .fkp-blog-gallery figure { flex: 0 0 248px; margin: 0; scroll-snap-align: start; --w: 248px; }
.fkp-prose .fkp-blog-gallery img { margin: 0; border-radius: 0; }
.fkp-prose .fkp-blog-gallery a { text-decoration: none; }
.fkp-prose .fkp-blog-gallery figcaption { font-size: .875rem; line-height: 1.5; color: var(--fk-muted); }
.fkp-blog-gallery .fkp-blog-detail { display: block; width: 248px; border: 1px solid var(--fk-line); border-radius: 14px; overflow: hidden; }
.fkp-blog-gallery:focus-visible { outline: 2px solid var(--fk-forest); outline-offset: 3px; }
.fkp-main { min-height: 60vh; }
.fkp-section { padding-block: clamp(48px, 7vw, 88px); }
.fkp-section--paper { background: var(--fk-paper); }
.fkp-section--sand { background: var(--fk-sand); }
.fkp-hero { padding-block: clamp(40px, 6vw, 80px); }
.fkp-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.13; max-width: 21ch; margin: 16px 0 24px; }
.fkp-hero p { max-width: 66ch; color: var(--fk-muted); }
.fkp-lead { font-size: clamp(1.08rem, 1.7vw, 1.25rem); }
.fkp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .8125rem; color: var(--fk-muted); margin-bottom: 30px; }
.fkp-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.fkp-crumbs a { text-underline-offset: 3px; }
.fkp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.fkp-intro { max-width: 720px; margin-bottom: 32px; }
.fkp-intro h2, .fkp-copy h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); line-height: 1.22; margin-bottom: 16px; }
.fkp-intro p, .fkp-copy p { color: var(--fk-muted); }
.fkp-split { display: grid; gap: 40px; align-items: start; }
.fkp-stack { display: grid; gap: 20px; }
.fkp-card { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--fk-line); border-radius: 20px; background: var(--fk-paper); }
.fkp-card h2, .fkp-card h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: 12px; }
.fkp-card p { color: var(--fk-muted); }
.fkp-grid { display: grid; gap: 20px; }
.fkp-checks { list-style: none; display: grid; gap: 12px; margin: 22px 0; }
.fkp-checks li { position: relative; padding-left: 26px; }
.fkp-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--fk-forest); font-weight: 800; }
.fkp-note { padding: 20px 24px; border-left: 3px solid var(--fk-forest); background: var(--fk-sage-tint); border-radius: 0 12px 12px 0; font-size: .9375rem; }
.fkp-note a { font-weight: 700; }
.fkp-small { font-size: .875rem; color: var(--fk-muted); }
.fkp-steps { display: grid; gap: 24px; list-style: none; counter-reset: step; }
.fkp-steps li { counter-increment: step; border-top: 1px solid var(--fk-line-strong); padding-top: 22px; }
.fkp-steps li::before { content: "0" counter(step); display: block; font-size: .875rem; font-weight: 800; color: var(--fk-forest); margin-bottom: 14px; }
.fkp-steps h3 { font-size: 1.15rem; margin-bottom: 12px; }
.fkp-steps p { color: var(--fk-muted); }
.fkp-faq { border-top: 1px solid var(--fk-line-strong); }
.fkp-faq details { border-bottom: 1px solid var(--fk-line-strong); padding: 20px 0; }
.fkp-faq summary { font-weight: 700; cursor: pointer; padding-right: 24px; }
.fkp-faq details p { margin-top: 16px; max-width: 80ch; color: var(--fk-muted); }
.fkp-cta { background: var(--fk-brand); color: var(--fk-on-brand); border-radius: 24px; padding: clamp(28px, 5vw, 56px); }
.fkp-cta h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; margin-bottom: 16px; }
.fkp-cta p { color: var(--fk-on-brand-muted); max-width: 65ch; }
.fkp-cta .fk-btn { background: white; color: var(--fk-on-brand); }
.fkp-cta .fk-btn:hover { background: var(--fk-brand-soft); }
.fkp-cta a:not(.fk-btn) { color: var(--fk-on-brand); }
.fkp-cta :focus-visible { outline-color: var(--fk-on-brand); }
.fkp-plans { display: grid; gap: 20px; }
.fkp-plan { display: flex; flex-direction: column; position: relative; padding: 28px 24px; border: 1px solid var(--fk-line-strong); border-radius: 20px; background: white; }
.fkp-plan--featured { border: 2px solid var(--fk-brand); background: var(--fk-brand-soft); }
.fkp-plan__name { font-size: .875rem; letter-spacing: .08em; font-weight: 800; color: var(--fk-forest); }
.fkp-plan__price { margin: 20px 0 4px; font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.2; }
.fkp-plan__audience { font-size: 1rem; font-weight: 600; line-height: 1.5; margin: 20px 0 12px; }
.fkp-plan .fkp-checks { font-size: .9375rem; flex: 1; }
.fkp-plan__web { border-top: 1px solid var(--fk-line); padding-top: 18px; margin-top: 12px; font-size: .875rem; }
.fkp-plan .fk-btn { margin-top: 20px; width: 100%; }
.fkp-table-wrap { position: relative; max-width: 100%; overflow-x: auto; border: 1px solid var(--fk-line); border-radius: 16px; background: white; }
.fkp-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .9375rem; }
.fkp-table th, .fkp-table td { padding: 16px; border-bottom: 1px solid var(--fk-line); vertical-align: top; }
.fkp-table thead { background: var(--fk-sage-tint); }
.fkp-table th { font-weight: 700; }
.fkp-table tr:last-child td, .fkp-table tr:last-child th { border-bottom: 0; }
.fkp-table caption { text-align: left; padding: 20px 16px; font-weight: 700; }
.fkp-contact-links { display: grid; gap: 16px; margin: 28px 0; }
.fkp-contact-links a { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.fkp-contact-links span { display: block; color: var(--fk-muted); font-size: .8125rem; margin-bottom: 4px; }
.fkp-form { background: white; border: 1px solid var(--fk-line-strong); border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.fkp-form h2 { font-size: 1.45rem; margin-bottom: 12px; }
.fkp-fields { display: grid; gap: 22px; margin: 28px 0; }
.fkp-field label { display: block; font-weight: 700; font-size: .9375rem; margin-bottom: 8px; }
.fkp-field input, .fkp-field textarea, .fkp-field select { width: 100%; min-width: 0; font: inherit; color: var(--fk-ink); padding: 13px 14px; background: var(--fk-cream); border: 1px solid #89968d; border-radius: 10px; }
.fkp-field ::placeholder { color: #5C6960; opacity: 1; }
.fkp-field textarea { resize: vertical; min-height: 155px; }
.fkp-field input:focus, .fkp-field textarea:focus { outline: 2px solid var(--fk-forest); outline-offset: 2px; }
.fkp-field ul, .fkp-form > ul { padding-left: 20px; color: #942b28; font-size: .9375rem; }
.fkp-field [aria-invalid="true"] { border-color: #942b28; }
.fkp-alert { padding: 18px; border: 1px solid var(--fk-forest); background: var(--fk-sage-tint); border-radius: 12px; margin-bottom: 24px; }
.fkp-alert--error { border-color: #942b28; background: #fff0ed; color: #76221e; }
.fkp-blog-grid { display: grid; gap: 32px 24px; }
.fkp-post-card { display: grid; grid-template-rows: auto 1fr; border-bottom: 1px solid var(--fk-line-strong); padding-bottom: 26px; }
.fkp-post-card__image { display: block; aspect-ratio: 1920 / 1039; overflow: hidden; background: var(--fk-sage-tint); border-radius: 16px; margin-bottom: 20px; }
.fkp-post-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s; }
.fkp-post-card__body { display: flex; flex-direction: column; gap: 14px; }
.fkp-post-card h2 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.4; }
.fkp-post-card h2 a { color: var(--fk-ink); text-decoration: none; }
.fkp-post-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.fkp-post-card__summary { font-size: .9375rem; color: var(--fk-muted); }
.fkp-post-card__link { margin-top: auto; font-weight: 700; }
.fkp-pagination { margin-top: 40px; }
.fkp-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; gap: 8px; }
.fkp-pagination a, .fkp-pagination span { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid var(--fk-line-strong); border-radius: 8px; }
.fkp-pagination [aria-current="page"] { background: var(--fk-brand); color: var(--fk-on-brand); border-color: var(--fk-brand-edge); }
.fkp-pagination .is-disabled { opacity: .55; }
.fkp-article-hero h1 { max-width: 29ch; font-size: clamp(1.9rem, 3.5vw, 3rem); }
.fkp-article-layout { display: grid; gap: 40px; align-items: start; }
.fkp-prose { min-width: 0; font-size: 1.0625rem; line-height: 1.8; overflow-wrap: anywhere; }
.fkp-prose > * + * { margin-top: 20px; }
.fkp-prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; margin: 42px 0 18px; }
.fkp-prose h3 { font-size: 1.25rem; line-height: 1.4; margin: 30px 0 14px; }
.fkp-prose h4, .fkp-prose h5, .fkp-prose h6 { font-size: 1.1rem; line-height: 1.45; }
.fkp-prose p, .fkp-prose ul, .fkp-prose ol { margin-block: 16px; }
.fkp-prose p, .fkp-prose li { max-width: 68ch; }
.fkp-prose ul, .fkp-prose ol { padding-left: 1.4em; }
.fkp-prose li + li { margin-top: 8px; }
.fkp-prose a { text-underline-offset: 3px; }
.fkp-prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 28px auto; }
.fkp-prose figure { margin: 28px 0; }
.fkp-prose blockquote { margin: 28px 0; padding: 12px 24px; border-left: 3px solid var(--fk-sage); background: var(--fk-sage-tint); }
.fkp-prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .9375rem; }
.fkp-prose td, .fkp-prose th { padding: 12px; border: 1px solid var(--fk-line-strong); min-width: 100px; }
.fkp-article-cover { width: 100%; max-height: 440px; object-fit: contain; background: var(--fk-sand); border-radius: 18px; margin-bottom: 36px; }
.fkp-toc { font-size: .875rem; }
.fkp-toc h2 { font-size: 1rem; margin-bottom: 16px; }
.fkp-toc ol { padding: 0; list-style: none; display: grid; gap: 10px; }
.fkp-toc a { color: var(--fk-ink-2); text-decoration: none; }
.fkp-toc a:hover { text-decoration: underline; }
.fkp-aside { display: grid; gap: 24px; }
.fkp-related { list-style: none; display: grid; gap: 12px; }
.fkp-related a { display: block; padding-block: 10px; border-bottom: 1px solid var(--fk-line); font-weight: 600; }
.fkp-platform-diagram { display: grid; gap: 12px; padding: 30px; border-radius: 24px; background: var(--fk-brand-soft); color: var(--fk-ink); }
.fkp-platform-diagram h2 { font-size: 1.4rem; margin-bottom: 8px; }
.fkp-platform-diagram li { background: var(--fk-paper); border: 1px solid var(--fk-line-strong); border-radius: 12px; padding: 18px; }
.fkp-platform-diagram span { display: block; color: var(--fk-muted); font-size: .9375rem; }
.fkp-policy-nav { list-style: none; display: grid; gap: 12px; }
.fkp-policy-nav a { display: block; border-bottom: 1px solid var(--fk-line); padding: 12px 0; font-weight: 700; }
@media (min-width: 640px) {
  .fkp-plans, .fkp-blog-grid, .fkp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .fkp-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .fkp-plans { gap: 16px; } /* 4 stupca tek od 1200 px (responsive-review-round2 P3-8) */
  .fkp-plan { padding: 28px 22px; }
  .fkp-steps, .fkp-grid--three, .fkp-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fkp-article-layout { grid-template-columns: minmax(0, 760px) minmax(0, 280px); gap: clamp(40px, 6vw, 96px); justify-content: space-between; }
  .fkp-toc-mobile { display: none; }
  .fkp-toc-desktop { display: block; }
  .fkp-plan__audience { min-height: 4.5em; }
}
@media (prefers-reduced-motion: reduce) { .fkp-post-card__image img { transition: none; } }

.fkp-hero--pricing { padding-block: 32px 40px; }
.fkp-hero--pricing h1 { max-width: 28ch; font-size: clamp(2rem, 4vw, 3rem); }
.fkp-pricing-packages { padding-top: 36px; }
.fkp-prose video, .fkp-prose iframe, .fkp-prose audio { max-width: 100%; }
.fkp-prose video { height: auto; }
.fkp-prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

/* Review refinements: readable package overview and compact mobile navigation. */
.fk-btn--secondary { background: white; color: var(--fk-forest); border: 1.5px solid var(--fk-forest); }
.fk-btn--secondary:hover { background: var(--fk-sage-tint); }
.fk-text-link { font-weight: 700; text-underline-offset: 4px; }
.fkp-plan__badge { position: absolute; top: -13px; right: 18px; padding: 3px 12px; border-radius: 20px; background: var(--fk-brand); color: var(--fk-on-brand); font-size: .8125rem; font-weight: 700; }
.fkp-price-overview { margin-bottom: 32px; }
.fkp-price-overview ul { list-style: none; border: 1px solid var(--fk-line-strong); border-radius: 14px; overflow: hidden; }
.fkp-price-overview li + li { border-top: 1px solid var(--fk-line); }
.fkp-price-overview a { display: grid; grid-template-columns: 1fr auto 20px; gap: 12px; padding: 16px; background: white; text-decoration: none; align-items: center; }
.fkp-price-overview small { font-size: .8125rem; }
.fkp-table th:first-child { position: sticky; left: 0; z-index: 1; min-width: 9rem; background: var(--fk-paper); box-shadow: 1px 0 var(--fk-line); }
.fkp-table thead th:first-child { background: var(--fk-sage-tint); }
.fkp-steps.fkp-steps--stack { grid-template-columns: 1fr; }
.fkp-platform-diagram ul { display: grid; gap: 12px; list-style: none; }
.fkp-contact-layout { display: grid; gap: 32px; align-items: start; }
.fkp-contact-details .fkp-contact-links { margin-top: 0; }
.fkp-plan-choice { padding: 10px 14px; border-radius: 8px; background: var(--fk-sage-tint); margin-bottom: 12px; }
.fkp-toc-desktop { display: none; }
.fkp-toc-mobile summary { cursor: pointer; font-weight: 700; min-height: 28px; }
.fkp-toc-mobile[open] summary { margin-bottom: 20px; }
@media (min-width: 960px) {
  .fkp-contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; }
  .fkp-contact-layout .fkp-form { grid-column: 2; grid-row: 1 / span 2; }
  .fkp-contact-details { grid-column: 1; grid-row: 2; }
  .fkp-price-overview { display: none; }
  .fkp-toc-desktop { display: block; }
}

/* ==========================================================================
   Dorade iz design/responsive-review-round2.md (Claude, 12.11.2026.)
   ========================================================================== */
/* P3-8: četiri kartice paketa tek od 1200 px; između 640 i 1199 px dva stupca */
@media (min-width: 1200px) { .fkp-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* P2-2: vidljiv znak da se tablica usporedbe pomiče (samo na uskom ekranu) */
.fkp-table-hint { display: none; margin: 0 0 10px; font-size: .875rem; font-weight: 700; color: var(--fk-forest); }
@media (max-width: 719px) { .fkp-table-hint { display: block; } }

/* P3-3: kvačice kao na naslovnici i landing stranicama (.fk-checks) */
.fkp-checks li { padding-left: 32px; }
.fkp-checks li::before {
  content: ""; top: .18em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--fk-sage-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B6541' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* P3-5: iste sekundarne poveznice u karticama i završnom pozivu kao .fk-text-link */
.fkp-card .fkp-actions a:not(.fk-btn), .fkp-cta .fkp-actions a:not(.fk-btn) { font-weight: 700; text-underline-offset: 4px; }

/* P3-4: e-mail i telefon na kontaktu kao ciljevi dodira od najmanje 24 px */
.fkp-contact-links a { display: inline-block; padding-block: 4px; }

/* P2-3: reCAPTCHA tekst ispod forme (Google FAQ); značka se skriva samo kad je tekst na stranici */
.fkp-recaptcha-note { margin-top: 10px; font-size: .8125rem; line-height: 1.5; color: var(--fk-muted); }
.fkp-recaptcha-note a { color: inherit; }
body:has(.fkp-recaptcha-note) .grecaptcha-badge { visibility: hidden; }

/* P3-6: breadcrumb u jednom redu; dugi naslov se skraćuje */
.fkp-crumbs { flex-wrap: nowrap; min-width: 0; }
.fkp-crumbs li { flex: none; white-space: nowrap; }
.fkp-crumbs li[aria-current] { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* P2-7: H1 unutar teksta (brisanje računa) ne nasljeđuje prored 1,8 */
.fkp-prose h1 { font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.12; margin: 0 0 24px; }

/* P2-5: okomiti video ne smije biti viši od ekrana; blaga podloga dok se ne učita prvi kadar */
.fkp-prose video { display: block; width: auto; max-width: 100%; height: auto; max-height: min(80vh, 720px); margin-inline: auto; border-radius: 12px; background: var(--fk-sand); }

/* P2-6: prazni blokovi iz CMS editora (dodatna zaštita uz čišćenje u FitkoMarketingContent) */
.fkp-prose p:empty, .fkp-prose div:empty, .fkp-prose p:has(> br:only-child) { display: none; }

/* P3-10: 410 stranica s istim pozivom na akciju kao 404 */
.fkp-main.fkp-hero > .fkp-actions { margin-top: 24px; }

/* Naslovne slike članaka iz WebP izvedenica (srcset); width/height daju omjer, visina ostaje automatska */
.fkp-article-cover { height: auto; }
.fkp-post-card__image img, .fkp-article-cover { color: transparent; }

.fkp-plan--featured .fkp-checks li::before { background-color: var(--fk-paper); }
