/* Naama Ran – blog */
:root { --nrb-navy: #0C2C47; --nrb-rose: #B8524F; --nrb-rose-h: #A0443F; --nrb-green: #2E5749; --nrb-mint: #ABCBCA; --nrb-pink: #DA8582; }

/* ---------- single post ---------- */
.single-post .site-content > .ast-container { max-width: 820px; }
.single-post .ast-article-single, .single-post .site-main > article { background: transparent !important; padding: 0 !important; }
.single-post .entry-header { text-align: center; margin-bottom: 8px; }
.single-post .entry-title { font-size: clamp(30px, 4.4vw, 44px) !important; line-height: 1.2 !important; color: var(--nrb-navy) !important; font-weight: 700 !important; }
.single-post .entry-header, .single-post .ast-single-entry-banner { padding-top: 34px; }
.single-post .entry-meta, .single-post .entry-meta * { justify-content: center; font-size: 15px !important; line-height: 1.5 !important; color: #5A6B78; }
.single-post .entry-meta a { color: var(--nrb-rose) !important; font-weight: 600; }
.single-post .entry-content { color: var(--nrb-navy); font-size: 19px; line-height: 1.75; text-align: right; }
.single-post .entry-content p { margin: 0 0 16px; }
.single-post .entry-content h2 { font-size: 28px; line-height: 1.3; font-weight: 700; color: var(--nrb-navy); margin: 44px 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--nrb-mint); text-align: right; }
.single-post .entry-content h3 { font-size: 22px; line-height: 1.35; font-weight: 700; color: var(--nrb-green); margin: 32px 0 6px; text-align: right; }
.single-post .entry-content h4 { font-size: 19px; line-height: 1.4; font-weight: 600; color: var(--nrb-rose); margin: 18px 0 6px; text-align: right; }
.single-post .entry-content ul, .single-post .entry-content ol { margin: 0 24px 18px 0; padding: 0; }
.single-post .entry-content li { margin-bottom: 8px; }
.single-post .entry-content a:not(.nrb-btn) { color: var(--nrb-rose); text-decoration: underline; text-underline-offset: 3px; }
.single-post .entry-content strong { font-weight: 700; }
.single-post .entry-content [id] { scroll-margin-top: 110px; }

.nrb-sub { font-size: 22px !important; line-height: 1.45; font-weight: 500; color: var(--nrb-green); text-align: center !important; margin-bottom: 28px !important; }
.nrb-sub2 { font-size: 17px !important; color: #5A6B78; margin-top: -4px !important; }
.nrb-mark { background: linear-gradient(transparent 55%, #DA858255 55%); padding: 0 2px; }
.nrb-callout { background: #2E57491F; border-radius: 12px; padding: 14px 18px; margin: 18px 0 20px; }
.nrb-callout p:last-child { margin-bottom: 0; }
.nrb-callout.is-rose { background: #DA858222; }
.nrb-note { font-size: 16px; color: #5A6B78; line-height: 1.6; }
.nrb-term { color: var(--nrb-green); font-weight: 700; }

/* buttons */
.nrb-intro-box { background: #ABCBCA33; border-radius: 16px; padding: 20px 22px 22px; margin: 26px 0 8px; text-align: center; }
.nrb-intro-box p { margin-bottom: 14px !important; text-align: center; }
.nrb-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 0; }
.single-post .entry-content .nrb-btn, .nrb-btn { display: inline-block; font: 600 16px/1.2 'Rubik', Arial, sans-serif; padding: 12px 22px; border-radius: 999px; text-decoration: none !important; transition: background .2s, color .2s; text-align: center; }
.nrb-btn-primary { background: var(--nrb-rose); color: #fff !important; border: 1px solid var(--nrb-rose); }
.nrb-btn-primary:hover { background: var(--nrb-rose-h); border-color: var(--nrb-rose-h); }
.nrb-btn-ghost { background: #fff; color: var(--nrb-navy) !important; border: 1px solid var(--nrb-navy); }
.nrb-btn-ghost:hover { background: var(--nrb-navy); color: #fff !important; }
.nrb-btn-sm { font-size: 14px !important; padding: 6px 14px !important; }

/* pie */
.nrb-pie { display: flex; align-items: center; justify-content: center; gap: 34px; margin: 18px 0 26px; flex-wrap: wrap; }
.nrb-pie-chart { width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.nrb-pie-chart span { width: 104px; height: 104px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; font-weight: 700; color: var(--nrb-navy); font-size: 17px; line-height: 1.2; }
.single-post .entry-content .nrb-pie-legend { list-style: none; margin: 0; padding: 0; }
.nrb-pie-legend li { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 8px; }
.nrb-pie-legend i { width: 14px; height: 14px; border-radius: 4px; flex: none; }

/* images */
.nrb-fig { margin: 10px 0 26px; }
.nrb-fig img { display: block; width: 100%; height: auto; border-radius: 14px; }
.nrb-gallery { display: grid; gap: 10px; margin: 12px 0 28px; }
.nrb-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin-inline: auto; }
.nrb-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.nrb-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.nrb-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px; }
.nrb-gallery + .nrb-gallery { margin-top: -18px; }
.nrb-gallery.is-natural { align-items: start; }
.nrb-gallery.is-natural img { aspect-ratio: auto; object-fit: initial; }
.nrb-gallery figure { margin: 0; }
.nrb-gallery figcaption { text-align: center; font-weight: 700; font-size: 17px; color: var(--nrb-navy); margin-top: 6px; }
.nrb-gallery.nrb-ba { align-items: end; max-width: 640px; }
.nrb-quotes p { font-size: 18px; color: var(--nrb-green); }

/* steps flow */
.single-post .entry-content .nrb-flow { list-style: none; margin: 10px 0 26px; padding: 0; counter-reset: nrb; }
.nrb-flow li { position: relative; counter-increment: nrb; background: #fff; border: 1px solid #DCE3E6; border-radius: 14px; padding: 14px 64px 14px 16px; margin: 0 0 28px !important; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; line-height: 1.45; }
.nrb-flow li::before { content: counter(nrb); position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--nrb-navy); color: #fff; font-weight: 700; font-size: 16px; display: grid; place-items: center; }
.nrb-flow li:not(:last-child)::after { content: '↓'; position: absolute; bottom: -27px; right: 22px; color: var(--nrb-rose); font-size: 20px; line-height: 1; }
.nrb-flow li.is-result { background: var(--nrb-navy); color: #fff; border-color: var(--nrb-navy); font-weight: 600; }
.nrb-flow li.is-result::before { background: var(--nrb-rose); }

/* three things */
.single-post .entry-content .nrb-three { list-style: none; margin: 10px 0 20px; padding: 0; counter-reset: nrt; }
.nrb-three li { counter-increment: nrt; position: relative; padding: 0 46px 0 0; margin-bottom: 16px !important; }
.nrb-three li::before { content: counter(nrt); position: absolute; right: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: #DA858233; color: var(--nrb-rose); font-weight: 700; display: grid; place-items: center; font-size: 16px; }

/* final CTA */
.nrb-cta { background: var(--nrb-navy); border-radius: 18px; padding: 30px 24px; text-align: center; margin: 40px 0 10px; }
.single-post .entry-content .nrb-cta h2 { color: #fff; border: 0; text-align: center; margin: 0 0 8px; padding: 0; font-size: 26px; }
.single-post .entry-content .nrb-cta p { color: #fff; text-align: center; margin-bottom: 18px; font-size: 18px; }

/* posts navigation + no comments area */
.single-post .post-navigation, .single-post .ast-single-related-posts-container { display: none; }

@media (max-width: 767px) {
  .single-post .entry-content { font-size: 17px; line-height: 1.7; }
  .single-post .entry-content h2 { font-size: 23px; margin-top: 34px; }
  .single-post .entry-content h3 { font-size: 19px; }
  .nrb-sub { font-size: 18px !important; }
  .nrb-pie { gap: 18px; }
  .nrb-pie-chart { width: 160px; height: 160px; }
  .nrb-pie-chart span { width: 88px; height: 88px; font-size: 15px; }
  .nrb-pie-legend li { font-size: 16px; }
  .nrb-flow li { padding: 12px 56px 12px 12px; font-size: 16px; }
  .nrb-flow li::before { right: 12px; width: 30px; height: 30px; font-size: 15px; }
  .nrb-btns .nrb-btn { width: 100%; }
  .nrb-gallery.cols-3, .nrb-gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .nrb-gallery { gap: 8px; }
  .nrb-gallery.cols-3 > img:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 4px); justify-self: center; }
}

/* ---------- blog index / archives ---------- */
.blog .site-content > .ast-container, .archive .site-content > .ast-container { max-width: 1100px; }
.nrb-blog-head { text-align: center; padding: 34px 16px 8px; }
.nrb-blog-head h1 { font-size: clamp(32px, 4.6vw, 46px); color: var(--nrb-navy); font-weight: 700; margin: 0 0 8px; }
.nrb-blog-head p { font-size: 19px; color: var(--nrb-navy); margin: 0 auto; max-width: 620px; }
.blog .ast-row, .archive .ast-row { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin: 0 !important; }
.blog .ast-row > article, .archive .ast-row > article { width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; float: none !important; }
.blog .ast-article-post .ast-article-inner, .archive .ast-article-post .ast-article-inner { background: #fff; border: 1px solid #DCE3E6; border-radius: 16px; padding: 22px !important; height: 100%; }
.blog .ast-article-post .post-content, .archive .ast-article-post .post-content { padding: 0 !important; border: 0 !important; background: transparent !important; }
.blog .entry-title, .archive .entry-title { font-size: 23px !important; line-height: 1.3 !important; }
.blog .entry-title a, .archive .entry-title a { color: var(--nrb-navy) !important; line-height: 1.3 !important; }
.blog .entry-title a:hover, .archive .entry-title a:hover { color: var(--nrb-rose) !important; }
.blog .entry-meta, .archive .entry-meta, .blog .entry-meta *, .archive .entry-meta * { font-size: 14px !important; color: #5A6B78; line-height: 1.4 !important; }
.blog .entry-meta a, .archive .entry-meta a { color: var(--nrb-rose) !important; font-weight: 600; }
.blog, .archive { background: #fff !important; }
.blog .site-content, .archive .site-content, .blog .ast-separate-container .ast-article-post, .blog #primary { background: transparent !important; }
.blog #primary, .archive #primary { margin-top: 0 !important; padding-top: 0 !important; }
.blog .ast-blog-layout-classic-grid, .blog .ast-row { padding: 0 !important; }
.blog .read-more, .archive .read-more { margin-top: 10px; }
.blog .read-more a, .archive .read-more a { font-size: 16px; text-decoration: none; }
.blog .ast-excerpt-container, .archive .ast-excerpt-container { font-size: 14px; line-height: 1.55; color: var(--nrb-navy); }
.blog .ast-excerpt-container p, .archive .ast-excerpt-container p { font-size: 14px !important; line-height: 1.55 !important; margin: 0 !important; }
.nrb-ex { display: flex; align-items: flex-start; gap: 14px; }
.nrb-ex-text { flex: 1; min-width: 0; }
.nrb-thumb-link { flex: none; display: block; }
.nrb-thumb { display: block; width: 110px !important; height: 110px !important; object-fit: cover; border-radius: 10px; }
.blog .read-more a, .archive .read-more a { color: var(--nrb-rose) !important; font-weight: 600; }
