/*
Theme Name: Balkanski Kuhar
Theme URI: https://balkanskikuhar.com/
Author: Balkanski Kuhar
Description: Prilagođena WordPress tema za balkanskikuhar.com — sajt s domaćim balkanskim receptima. Vizualni identitet je "kuhinjska bilježnica/recept-kartica": topla paprika-crvena kao glavna boja, slag serif naslovi, i recept-kartica s vremenom pripreme, sastojcima i koracima uz automatski Recipe schema (strukturirani podaci) za Google. Ista tehnička osnova kao Mozes Sve Sam tema: mobilna optimizacija, AdSense mjesta, brza i čitljiva.
Version: 1.2.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: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: balkanski-kuhar
Tags: blog, food, custom-colors, custom-logo, custom-menu, featured-images, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something great, as this theme or a variation of it will be.
*/

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
  /* --- surfaces & ink (neutralna, hladnija pozadina - da paprika-crvena "iskoči") --- */
  --bk-bg: #EEEEE4;
  --bk-bg-deep: #E3E2D3;
  --bk-surface: #FFFFFF;
  --bk-surface-2: #F7F6EE;
  --bk-ink: #2B211B;
  --bk-ink-soft: #6B5D51;
  --bk-ink-faint: #9C9184;
  --bk-line: #DEDACB;
  --bk-line-strong: #C7C0A9;

  /* --- brand: paprika / masline / žito / šljiva --- */
  --bk-paprika: #B8412C;
  --bk-paprika-dark: #8A2F1F;
  --bk-paprika-tint: #F3DFD8;
  --bk-olive: #5B6B3F;
  --bk-olive-tint: #E5E8DA;
  --bk-wheat: #BE8F2E;
  --bk-wheat-tint: #F1E6CB;
  --bk-plum: #7A3B54;
  --bk-plum-tint: #ECDCE4;
  --bk-steel: #46626B;
  --bk-steel-tint: #DEE6E8;

  /* default kategorija boja */
  --cat-color: var(--bk-paprika);
  --cat-tint: var(--bk-paprika-tint);

  /* --- geometrija --- */
  --bk-radius: 6px;
  --bk-radius-lg: 12px;
  --bk-container: 1220px;
  --bk-gutter: 24px;
  --bk-shadow-sm: 0 1px 2px rgba(43, 33, 27, 0.08);
  --bk-shadow-md: 0 8px 20px rgba(43, 33, 27, 0.12);

  /* --- tipografija --- */
  --font-display: 'Bitter', Georgia, 'Times New Roman', serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', 'SFMono-Regular', Consolas, monospace;
  --font-note: 'Caveat', cursive;
}

/* =========================================================
   2. RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bk-bg);
  color: var(--bk-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  max-width: 100%;
}

img, svg, video, canvas, iframe, embed, object { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--bk-paprika); text-decoration: none; }
a:hover { color: var(--bk-paprika-dark); }
ul, ol { padding-left: 1.2em; }
figure { margin: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--bk-ink);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px; overflow: hidden;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  position: fixed; top: 8px; left: 8px;
  width: auto; height: auto; padding: 10px 16px;
  background: var(--bk-ink); color: #fff; z-index: 100000;
  border-radius: var(--bk-radius);
}

:focus-visible { outline: 3px solid var(--bk-wheat); outline-offset: 2px; }

.container {
  max-width: var(--bk-container);
  margin: 0 auto;
  padding: 0 var(--bk-gutter);
}

/* =========================================================
   3. SIGNATURE ELEMENT — recipe-card perforation divider
   ========================================================= */
.bk-perforation {
  position: relative;
  height: 18px;
  width: 100%;
  overflow: hidden;
}
.bk-perforation::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  border-top: 2px dashed var(--bk-line-strong);
}
.bk-perforation::after {
  content: "";
  position: absolute;
  left: -9px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bk-bg);
  box-shadow: calc(100vw - 18px) 0 0 var(--bk-bg);
}

/* =========================================================
   4. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: var(--bk-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color .15s ease;
  min-height: 44px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--bk-paprika); color: #fff; }
.btn-primary:hover { background: var(--bk-paprika-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--bk-ink); color: var(--bk-ink); }
.btn-outline:hover { background: var(--bk-ink); color: var(--bk-bg); }
.btn-block { width: 100%; justify-content: center; }

/* =========================================================
   5. HEADER
   ========================================================= */
.site-header { background: var(--bk-surface); border-bottom: 1px solid var(--bk-line); }
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--bk-gutter);
  max-width: var(--bk-container);
  margin: 0 auto;
}
.site-branding { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-branding img { max-height: 52px; width: auto; }
.site-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
}
.site-title a { color: var(--bk-paprika); }
.site-description {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--bk-ink-soft);
  margin: 0;
  font-style: italic;
}

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.primary-nav a {
  color: var(--bk-ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a { border-bottom-color: var(--bk-paprika); }
.primary-nav ul ul { display: none; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--bk-line);
  border-radius: var(--bk-radius);
  padding: 8px 10px;
  color: var(--bk-ink);
}

/* =========================================================
   6. HERO (naslovnica) - glavni recept + lista još objava
   ========================================================= */
.bk-hero { background: var(--bk-surface); }
.bk-hero-inner {
  max-width: var(--bk-container);
  margin: 0 auto;
  padding: 32px var(--bk-gutter) 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}
.bk-hero-main, .bk-hero-list { min-width: 0; }
.bk-hero-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  width: 100%;
}
.bk-hero-media {
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
  border-radius: var(--bk-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bk-surface-2);
}
.bk-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bk-hero-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--cat-color);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 20px;
}
.bk-hero-content { min-width: 0; }
.bk-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bk-paprika);
  margin-bottom: 10px;
  display: block;
}
.bk-hero-title { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 14px; overflow-wrap: break-word; }
.bk-hero-excerpt { color: var(--bk-ink-soft); font-size: 1.03rem; margin-bottom: 18px; }
.bk-hero-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--bk-ink-faint);
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 16px;
}

.bk-hero-list { display: flex; flex-direction: column; gap: 4px; }
.bk-hero-list-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--bk-ink-faint);
  margin-bottom: 6px;
}
.bk-hero-list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 6px;
  border-radius: var(--bk-radius);
  border-bottom: 1px dashed var(--bk-line);
  transition: background-color 0.15s ease;
}
.bk-hero-list-item:last-child { border-bottom: none; }
.bk-hero-list-item:hover { background: var(--bk-surface-2); }
.bk-hero-list-thumb {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: var(--bk-radius);
  overflow: hidden;
  background: var(--bk-surface-2);
}
.bk-hero-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bk-hero-list-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bk-hero-list-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  color: var(--cat-color, var(--bk-paprika));
}
.bk-hero-list-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--bk-ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bk-hero-list-meta { font-family: var(--font-mono); font-size: 0.66rem; color: var(--bk-ink-faint); }

/* =========================================================
   7. SECTION HEADERS
   ========================================================= */
.bk-section { padding: 48px 0; }
.bk-section--tint { background: var(--bk-surface-2); }
.bk-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 28px;
}
.bk-section-head > div { min-width: 0; }
.bk-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bk-paprika);
  display: block;
  margin-bottom: 6px;
}
.bk-section-head h2 { margin: 0; overflow-wrap: break-word; }
.bk-section-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* =========================================================
   8. RECIPE / POST CARDS
   ========================================================= */
.bk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bk-grid--4 { grid-template-columns: repeat(4, 1fr); }
.bk-grid-more { text-align: center; margin-top: 36px; }

.bk-card {
  min-width: 0;
  background: var(--bk-surface);
  border: 1px solid var(--bk-line);
  border-radius: var(--bk-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.bk-card:hover { transform: translateY(-3px); box-shadow: var(--bk-shadow-md); border-color: var(--bk-line-strong); }
.bk-card-media { position: relative; aspect-ratio: 4/3; background: var(--bk-surface-2); }
.bk-card-media img { width: 100%; height: 100%; object-fit: cover; }
.bk-card-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--cat-color);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 5px 11px;
  border-radius: 20px;
}
.bk-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.bk-card-title { font-size: 1.15rem; margin-bottom: 8px; }
.bk-card-title a { color: var(--bk-ink); }
.bk-card-title a:hover { color: var(--cat-color); }
.bk-card-excerpt { color: var(--bk-ink-soft); font-size: 0.93rem; margin-bottom: 14px; flex: 1; }
.bk-card-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--bk-ink-faint);
  display: flex; gap: 12px;
  border-top: 1px dashed var(--bk-line);
  padding-top: 12px;
  margin-top: auto;
}

/* =========================================================
   9. APP CARDS
   ========================================================= */
.bk-app-card {
  min-width: 0;
  background: var(--bk-ink);
  color: var(--bk-bg);
  border-radius: var(--bk-radius-lg);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: transform 0.15s ease;
}
.bk-app-card:hover { transform: translateY(-3px); }
.bk-app-icon {
  width: 58px; height: 58px; border-radius: 16px; overflow: hidden;
  flex-shrink: 0; background: var(--bk-surface-2);
}
.bk-app-icon img { width: 100%; height: 100%; object-fit: cover; }
.bk-app-body { flex: 1; min-width: 0; }
.bk-app-name { font-family: var(--font-display); font-size: 1.05rem; color: #fff; margin: 0 0 4px; }
.bk-app-tagline { font-size: 0.86rem; color: #D8C9BE; margin: 0 0 12px; }
.bk-app-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bk-wheat);
  border-bottom: 1px solid var(--bk-wheat);
  padding-bottom: 2px;
}

/* =========================================================
   10. RECIPE BOX (recept-kartica: vrijeme, porcije, sastojci)
   ========================================================= */
.recipe-box {
  background: var(--bk-surface);
  border: 2px dashed var(--bk-line-strong);
  border-radius: var(--bk-radius-lg);
  padding: 26px;
  margin: 28px 0;
}
.recipe-box-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.recipe-box-note {
  font-family: var(--font-note);
  font-size: 1.15rem;
  color: var(--bk-olive);
  margin-bottom: 18px;
}
.recipe-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--bk-line);
}
.recipe-stat { min-width: 0; text-align: center; }
.recipe-stat-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bk-ink-faint);
  display: block;
  margin-bottom: 4px;
}
.recipe-stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bk-paprika);
  display: block;
}
.recipe-ingredients-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.recipe-ingredients { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.recipe-ingredients li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0;
  break-inside: avoid;
  font-size: 0.96rem;
}
.recipe-ingredients li::before {
  content: "";
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 3px;
  border: 2px solid var(--bk-olive);
  border-radius: 4px;
}

/* =========================================================
   11. SIDEBAR / WIDGETS
   ========================================================= */
.widget { margin-bottom: 36px; }
.widget-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--bk-ink);
  border-bottom: 2px solid var(--bk-paprika);
  padding-bottom: 10px;
  margin-bottom: 16px;
  display: inline-block;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px dashed var(--bk-line); font-size: 0.95rem; }
.widget li:last-child { border-bottom: none; }
.widget-ad { border: 1px dashed var(--bk-line-strong); border-radius: var(--bk-radius); padding: 12px; text-align: center; }
.widget-ad span {
  display: block; font-family: var(--font-mono); font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--bk-ink-faint); margin-bottom: 8px;
}

/* =========================================================
   12. SINGLE POST / PAGE
   ========================================================= */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  max-width: var(--bk-container);
  margin: 0 auto;
  padding: 40px var(--bk-gutter) 64px;
  align-items: start;
}
.content-layout > * { min-width: 0; }
.no-sidebar .content-layout,
.content-layout.no-sidebar { grid-template-columns: 1fr; max-width: 800px; }

.single-post-header { margin-bottom: 22px; }
.single-post-header .bk-eyebrow-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  background: var(--cat-color);
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
}
.single-post-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 14px; overflow-wrap: break-word; }
.single-post-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--bk-ink-faint);
  display: flex; gap: 14px; flex-wrap: wrap;
  border-bottom: 1px solid var(--bk-line);
  padding-bottom: 20px;
}
.single-post-thumb { margin: 24px 0; border-radius: var(--bk-radius-lg); overflow: hidden; }

.entry-content { font-size: 1.05rem; }
.entry-content h2 { font-size: 1.45rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.2rem; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em; }
.entry-content blockquote {
  border-left: 3px solid var(--bk-wheat);
  margin: 1.6em 0; padding: 4px 0 4px 20px;
  font-style: italic; color: var(--bk-ink-soft);
}
.entry-content img { border-radius: var(--bk-radius); margin: 0.6em 0; }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }
.entry-content, .entry-content p, .entry-content li, .entry-content h2, .entry-content h3 {
  overflow-wrap: break-word; word-break: break-word;
}
.entry-content table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; }
.entry-content pre, .entry-content code { overflow-wrap: anywhere; white-space: pre-wrap; max-width: 100%; }
.entry-content iframe, .entry-content embed, .entry-content object { max-width: 100%; }

.post-tags { margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--bk-line); display: flex; gap: 8px; flex-wrap: wrap; }
.post-tags a {
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  border: 1px solid var(--bk-line); border-radius: 20px; padding: 6px 12px; color: var(--bk-ink-soft);
}
.post-tags a:hover { border-color: var(--bk-ink); color: var(--bk-ink); }

.author-box { margin-top: 34px; display: flex; gap: 16px; background: var(--bk-surface-2); border-radius: var(--bk-radius-lg); padding: 20px; }
.author-box img { border-radius: 50%; width: 56px; height: 56px; flex-shrink: 0; }
.author-box > div { min-width: 0; }
.author-box-name { font-family: var(--font-display); margin-bottom: 4px; }
.author-box-bio { font-size: 0.9rem; color: var(--bk-ink-soft); margin: 0; }

.post-navigation {
  display: flex; justify-content: space-between; gap: 20px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--bk-line);
  font-family: var(--font-mono); font-size: 0.8rem;
}
.post-navigation > div { min-width: 0; flex: 1; overflow-wrap: break-word; }
.post-navigation > div:last-child { text-align: right; }

.bk-more-posts {
  margin-top: 32px;
  padding: 28px 20px;
  text-align: center;
  background: var(--bk-surface-2);
  border-radius: var(--bk-radius-lg);
}

/* =========================================================
   13. ARCHIVE / SEARCH / 404
   ========================================================= */
.archive-header { padding: 36px var(--bk-gutter) 10px; max-width: var(--bk-container); margin: 0 auto; }
.archive-header .bk-eyebrow { color: var(--cat-color); }
.archive-header h1 { margin-bottom: 10px; }
.archive-description { color: var(--bk-ink-soft); max-width: 640px; }

.pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 40px; font-family: var(--font-mono); }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px;
  border: 1px solid var(--bk-line); border-radius: var(--bk-radius); color: var(--bk-ink); font-size: 0.85rem;
}
.pagination .current { background: var(--bk-ink); color: var(--bk-bg); border-color: var(--bk-ink); }
.pagination a:hover { border-color: var(--bk-ink); }

.no-results { padding: 60px var(--bk-gutter); text-align: center; }

/* =========================================================
   14. FOOTER
   ========================================================= */
.site-footer { background: var(--bk-ink); color: #D8C9BE; margin-top: 40px; }
.footer-widgets {
  max-width: var(--bk-container); margin: 0 auto; padding: 48px var(--bk-gutter) 20px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.footer-widgets > .widget { min-width: 0; }
.footer-widgets .widget-title { color: #fff; border-color: var(--bk-wheat); }
.footer-widgets .widget li { border-color: rgba(255,255,255,0.12); }
.footer-widgets a { color: #D8C9BE; }
.footer-widgets a:hover { color: #fff; }

.footer-apps { border-top: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-apps-inner { max-width: var(--bk-container); margin: 0 auto; padding: 26px var(--bk-gutter); display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-apps-label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--bk-ink-faint); margin-right: 8px; }
.footer-app-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 20px; padding: 7px 14px 7px 8px;
  min-height: 44px; font-size: 0.82rem; color: #fff;
}
.footer-app-pill img { width: 22px; height: 22px; border-radius: 6px; }
.footer-app-pill:hover { border-color: var(--bk-wheat); color: var(--bk-wheat); }

.site-info {
  max-width: var(--bk-container); margin: 0 auto; padding: 20px var(--bk-gutter) 36px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--bk-ink-faint);
}
.site-info a { color: var(--bk-ink-faint); }
.site-info a:hover { color: #fff; }
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }

/* =========================================================
   15. HERO LIST already covered above; IN-CONTENT AD
   ========================================================= */
.in-content-ad {
  margin: 2.2em 0; padding: 14px 0; text-align: center;
  border-top: 1px dashed var(--bk-line); border-bottom: 1px dashed var(--bk-line);
}

/* =========================================================
   16. SEARCH FORM
   ========================================================= */
.header-search-form form {
  display: flex; align-items: center;
  border: 1px solid var(--bk-line); border-radius: 999px; padding: 4px 4px 4px 16px;
  background: var(--bk-surface);
}
.header-search-form input[type="search"] {
  border: none; background: none; outline: none;
  font-family: var(--font-body); font-size: 16px; width: 150px; color: var(--bk-ink);
}
.header-search-form .btn { padding: 8px 16px; border-radius: 999px; min-height: 0; }
.header-search-form--inline { display: block; }
.header-search-form--drawer { display: none; }

/* =========================================================
   17. COMMENTS
   ========================================================= */
.comments-area { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--bk-line); }
.comments-title { font-size: 1.3rem; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .children { list-style: none; margin: 0 0 0 40px; padding: 0; }
.comment-body { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px dashed var(--bk-line); }
.comment-meta { flex-shrink: 0; width: 150px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--bk-ink-faint); margin-bottom: 6px; }
.comment-meta .fn { font-style: normal; color: var(--bk-ink); font-weight: 700; }
.comment-author .avatar { border-radius: 50%; }
.comment-content { min-width: 0; flex: 1; overflow-wrap: break-word; }
@media (max-width: 560px) {
  .comment-body { flex-direction: column; }
  .comment-meta { width: 100%; }
}
.comment-reply-link { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.comment-form label { display: block; font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; border: 1px solid var(--bk-line); border-radius: var(--bk-radius); padding: 10px 12px;
  font-family: var(--font-body); font-size: 16px; margin-bottom: 16px; background: var(--bk-surface); color: var(--bk-ink);
}
.comment-form textarea { min-height: 120px; }
.no-comments { color: var(--bk-ink-soft); }

.page-links { font-family: var(--font-mono); font-size: 0.85rem; margin: 20px 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.page-links a { border: 1px solid var(--bk-line); border-radius: var(--bk-radius); padding: 4px 10px; }

/* =========================================================
   18. RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .content-layout { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: repeat(2, 1fr); }
  .bk-grid, .bk-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .bk-hero-inner { grid-template-columns: 1fr; }
  .bk-hero-list { border-top: 1px dashed var(--bk-line); padding-top: 16px; margin-top: 4px; }
  .recipe-stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .bk-section { padding: 34px 0; }
  .bk-hero-inner { padding: 22px var(--bk-gutter) 30px; gap: 22px; }
  .bk-hero-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .bk-hero-excerpt { font-size: 0.98rem; }

  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
  .header-actions { display: none; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(320px, 84vw); height: 100vh;
    background: var(--bk-surface);
    flex-direction: column; align-items: flex-start;
    padding: 90px 28px 28px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 999;
    box-shadow: var(--bk-shadow-md);
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; gap: 4px; width: 100%; }
  .primary-nav ul ul { display: block; padding-left: 14px; }
  .primary-nav li { width: 100%; }
  .primary-nav a { display: flex; align-items: center; min-height: 44px; padding: 10px 4px; }
  .header-search-form--inline { display: none; }
  .header-search-form--drawer { display: block; margin-top: 18px; width: 100%; }
  .header-search-form--drawer form { width: 100%; }
  .header-search-form--drawer input[type="search"] { width: 100%; }

  .footer-widgets { grid-template-columns: 1fr; }
  .bk-grid, .bk-grid--4 { grid-template-columns: 1fr; }
  .bk-section-head { flex-direction: column; align-items: flex-start; }
  .site-info { flex-direction: column; }

  .bk-app-card, .bk-card-title a { min-height: 44px; }
  .post-tags a { padding: 9px 14px; }
  .comment-reply-link { display: inline-block; padding: 8px 0; }
  .recipe-ingredients { columns: 1; }
  .recipe-stats { grid-template-columns: repeat(2, 1fr); }

  .content-layout { padding: 30px var(--bk-gutter) 44px; gap: 30px; }
  .single-post-title { font-size: clamp(1.5rem, 6vw, 2rem); }
}

@media (max-width: 480px) {
  .bk-hero-list-thumb { width: 56px; height: 56px; }
  .bk-hero-list-title { font-size: 0.9rem; }
  .recipe-stats { grid-template-columns: repeat(2, 1fr); }
  .container, .bk-hero-inner, .content-layout, .archive-header, .footer-widgets, .footer-apps-inner, .site-info {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Poštovanje "smanji animacije" postavke. */
@media (prefers-reduced-motion: reduce) {
  .bk-card:hover, .bk-app-card:hover, .btn:hover { transform: none; }
}
