/* Vodiči prate paletu, tipografiju i kartice teme. Samo stranice vodiča. */
.nr-guide-page { background: #fff; color: var(--home-text, #1a1a1a); font-family: 'Plus Jakarta Sans', sans-serif; padding: 35px 0 90px; }
.nr-guide-page *, .nr-guide-page *::before, .nr-guide-page *::after { box-sizing: border-box; }
.nr-guide-container { width: min(100% - 40px, 1100px); margin-inline: auto; min-width: 0; }
.nr-guide-breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 38px; color: #76706d; font-size: 13px; }
.nr-guide-breadcrumbs a, .nr-guide-eyebrow a { color: inherit; text-decoration: none; }
.nr-guide-breadcrumbs a:hover, .nr-guide-eyebrow a:hover { color: var(--home-accent, #8d5d46); text-decoration: underline; }
.nr-guide-eyebrow { display: block; color: var(--home-accent, #8d5d46); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.nr-guide-archive-header { max-width: 780px; margin: 25px 0 36px; }
.nr-guide-archive-header h1, .nr-guide-article-header h1 { margin: 12px 0 16px; color: #1a1a1a; font-size: clamp(32px, 4.1vw, 52px); font-weight: 900; line-height: 1.16; letter-spacing: -.03em; overflow-wrap: anywhere; }
.nr-guide-archive-header p, .nr-guide-lead { color: #666; font-size: clamp(16px, 1.65vw, 19px); line-height: 1.7; }
.nr-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nr-guide-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--home-border, #ece7e4); border-radius: 22px; box-shadow: var(--home-shadow, 0 14px 34px rgba(49,36,30,.08)); }
.nr-guide-card-image { display: block; aspect-ratio: 4/3; overflow: hidden; background: #f3e8e2; }
.nr-guide-card-image img, .nr-guide-image-placeholder { display: block; width: 100%; height: 100%; object-fit: cover; }
.nr-guide-image-placeholder { background: linear-gradient(135deg,#f7efeb,#eee2dc); }
.nr-guide-card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 21px; }
.nr-guide-card-topline { display: flex; justify-content: space-between; gap: 9px; align-items: center; color: var(--home-accent,#8d5d46); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.nr-guide-card-topline time { color: #888; letter-spacing: 0; white-space: nowrap; }
.nr-guide-card h2, .nr-guide-card h3 { font-size: 21px; line-height: 1.3; font-weight: 900; letter-spacing: -.02em; margin: 13px 0 10px; overflow-wrap: anywhere; }
.nr-guide-card h2 a, .nr-guide-card h3 a { color: #1a1a1a; text-decoration: none; }
.nr-guide-card h2 a:hover, .nr-guide-card h3 a:hover { color: var(--home-accent,#8d5d46); }
.nr-guide-card-body p { margin: 0 0 20px; color: #666; font-size: 14px; line-height: 1.65; }
.nr-guide-card-button { display: block; margin-top: auto; padding: 14px; border-radius: 12px; background: var(--home-accent,#8d5d46); color: #fff !important; text-align: center; text-decoration: none !important; font-size: 13px; font-weight: 800; }
.nr-guide-card-button:hover { background: var(--home-accent-dark,#744936); }
.nr-guide-pagination { margin-top: 40px; } .nr-guide-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nr-guide-pagination .page-numbers { padding: 9px 13px; border: 1px solid #ece7e4; border-radius: 10px; color: #1a1a1a; text-decoration: none; }
.nr-guide-pagination .current { background: #8d5d46; color: #fff; } .nr-guide-empty { padding: 35px 0; }
.nr-guide-article-header { max-width: 900px; margin: 0 auto 30px; }
.nr-guide-lead { margin: 0 0 18px; }
.nr-guide-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #666; font-size: 13px; }
.nr-guide-page .nr-guide-article-header h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(30px, 3vw, 40px); line-height: 1.22; }

/* Standardni hero za vodiče: bez praznih traka, naslov direktno preko slike. */
.nr-guide-page .nr-guide-hero {
    position: relative;
    width: 100%;
    max-width: 940px;
    aspect-ratio: 16 / 9;
    margin: 0 auto 38px;
    overflow: hidden;
    border-radius: 22px;
    background: #2d211c;
    box-shadow: 0 16px 34px rgba(49,36,30,.08);
}
.nr-guide-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(18,12,9,.88) 0%, rgba(18,12,9,.56) 38%, rgba(18,12,9,.08) 72%, rgba(18,12,9,0) 100%);
    pointer-events: none;
}
.nr-guide-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
}
.nr-guide-hero-overlay {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 58px 38px 30px;
    color: #fff;
}
.nr-guide-hero-overlay .nr-guide-hero-eyebrow,
.nr-guide-hero-overlay .nr-guide-hero-eyebrow a { color: #f2c6ad; }
.nr-guide-page .nr-guide-hero-overlay h1 {
    max-width: 820px;
    margin: 8px 0 12px;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(29px, 3.2vw, 43px);
    line-height: 1.13;
    font-weight: 900;
    letter-spacing: -.03em;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.nr-guide-hero-byline { color: rgba(255,255,255,.9); }
.nr-guide-lead-after-hero { max-width: 860px; margin: -8px auto 32px; color: #666; font-size: 17px; line-height: 1.7; }

/* Malo šire tijelo teksta, ali i dalje ugodno za čitanje. */
.nr-guide-reading { max-width: 860px; margin: 0 auto; min-width: 0; }
.nr-guide-toc { padding: 24px 28px; margin: 0 0 38px; border: 1px solid #ece7e4; border-radius: 18px; background: #fdfaf9; }
.nr-guide-toc strong { font-size: 18px; } .nr-guide-toc ol { margin: 12px 0 0; padding-left: 22px; }
.nr-guide-toc li { padding: 5px 0; } .nr-guide-toc a, .nr-guide-content a { color: var(--home-accent,#8d5d46); text-underline-offset: 3px; }
.nr-guide-content { font-size: 17px; line-height: 1.85; overflow-wrap: break-word; }
.nr-guide-content h2 { margin: 46px 0 16px; font-size: clamp(25px,3vw,32px); line-height: 1.3; scroll-margin-top: 110px; }
.nr-guide-content h3 { margin: 32px 0 12px; font-size: clamp(21px,2.5vw,25px); line-height: 1.35; }
.nr-guide-content p, .nr-guide-content ul, .nr-guide-content ol { margin: 0 0 23px; }

/* FIX: Neve/Gutenberg zna postaviti list-style na sam LI element.
   Zato marker vraćamo direktno na stavku liste, ne samo na UL/OL. */
.nr-guide-content ul,
.nr-guide-content ol,
.nr-guide-content ul.wp-block-list,
.nr-guide-content ol.wp-block-list {
    padding-left: 30px !important;
}

.nr-guide-content ul > li,
.nr-guide-content ul.wp-block-list > li {
    display: list-item !important;
    list-style-type: disc !important;
    list-style-position: outside !important;
    margin-bottom: 8px !important;
    padding-left: 2px;
}

.nr-guide-content ol > li,
.nr-guide-content ol.wp-block-list > li {
    display: list-item !important;
    list-style-type: decimal !important;
    list-style-position: outside !important;
    margin-bottom: 8px !important;
    padding-left: 2px;
}

.nr-guide-content ul ul > li {
    list-style-type: circle !important;
}

.nr-guide-content li::marker {
    color: var(--home-accent, #8d5d46);
}
.nr-guide-content blockquote { margin: 30px 0; padding: 16px 24px; border-left: 4px solid #8d5d46; background: #fdfaf9; border-radius: 0 12px 12px 0; }
.nr-guide-content blockquote p:last-child { margin-bottom: 0; }
.nr-guide-content img { max-width: 100%; height: auto; border-radius: 12px; }
.nr-guide-content figure { max-width: 100%; margin: 25px auto; } .nr-guide-content figcaption { color: #777; font-size: 13px; text-align: center; }
.nr-guide-content .wp-block-table, .nr-guide-content .wp-block-table table { max-width: 100%; }
.nr-guide-content .wp-block-table { overflow-x: auto; } .nr-guide-content table { border-collapse: collapse; display: block; width: 100%; overflow-x: auto; }
.nr-guide-content td, .nr-guide-content th { border: 1px solid #ece7e4; padding: 10px 14px; text-align: left; }
.nr-guide-content .wp-block-group.has-background { padding: 20px 24px; border-radius: 15px; }
.nr-guide-related { margin-top: 68px; }
.nr-guide-related > h2 { margin: 8px 0 26px; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }

/* Autor: isti vizuelni blok kao na receptima. */
.nr-guide-page .big-author-box {
    max-width: 1100px;
    margin: 60px auto;
    padding: 40px;
    background: #fdfaf9;
    border-radius: 30px;
    display: flex;
    gap: 40px;
    align-items: center;
    border: 1px solid #f0f0f0;
}
.nr-guide-page .author-img-wrap { width: 130px; height: 130px; flex-shrink: 0; }
.nr-guide-page .author-img-wrap img { display: block; width: 130px !important; height: 130px !important; border-radius: 50% !important; object-fit: cover !important; }
.nr-guide-page .author-content { min-width: 0; }
.nr-guide-page .author-content h3 { margin: 0 0 12px; color: #1a1a1a; font-size: 28px; line-height: 1.3; font-weight: 900; }
.nr-guide-page .author-content p { margin: 0 0 18px; color: #333; font-size: 16px; line-height: 1.7; }
.nr-guide-page .view-more-recipes { display: inline-block; font-weight: 800; color: var(--home-accent, #8d5d46); text-decoration: none; font-size: 14px; border-bottom: 2px solid currentColor; }

.nr-guide-page .nr-guide-related > .nr-guide-eyebrow { font-size: 10px; letter-spacing: .08em; margin-bottom: 6px; }
.nr-guide-page .nr-guide-related-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 24px; }
.nr-guide-page .nr-guide-related-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.nr-guide-page .nr-guide-related-heading a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid #dbc7bb;
    border-radius: 12px;
    background: #fff;
    color: var(--home-accent, #8d5d46);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.nr-guide-page .nr-guide-related-heading a:hover {
    background: var(--home-accent, #8d5d46);
    border-color: var(--home-accent, #8d5d46);
    color: #fff;
}
@media (max-width: 900px) { .nr-guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) {
  .nr-guide-page { padding: 24px 0 65px; } .nr-guide-container { width: min(100% - 32px, 1100px); }
  .nr-guide-breadcrumbs { margin-bottom: 25px; } .nr-guide-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .nr-guide-card-image { aspect-ratio: 4/3; } .nr-guide-card-body { padding: 20px; }
  .nr-guide-page .nr-guide-hero { aspect-ratio: 4 / 3; margin-bottom: 30px; border-radius: 16px; }
  .nr-guide-hero-overlay { padding: 48px 20px 20px; }
  .nr-guide-page .nr-guide-hero-overlay h1 { font-size: clamp(25px, 7.2vw, 32px); line-height: 1.15; }
  .nr-guide-hero-byline { gap: 6px; font-size: 11.5px; }
  .nr-guide-lead-after-hero { margin-top: -4px; margin-bottom: 26px; font-size: 15px; }
  .nr-guide-toc { padding: 19px; }
  .nr-guide-page .nr-guide-article-header h1 { font-size: clamp(27px, 7.5vw, 34px); }
  .nr-guide-page .big-author-box { margin: 40px 0; padding: 24px 18px; gap: 18px; border-radius: 18px; flex-direction: column; text-align: center; }
  .nr-guide-page .author-img-wrap,
  .nr-guide-page .author-img-wrap img { width: 92px !important; height: 92px !important; }
  .nr-guide-page .author-content h3 { font-size: 24px; }
  .nr-guide-page .nr-guide-related-heading { align-items: flex-start; }
  .nr-guide-page .nr-guide-related-heading a { min-height: 38px; padding: 8px 13px; font-size: 12.5px; }
  .nr-guide-content { font-size: 16px; } .nr-guide-related { margin-top: 55px; }
}
