/* Blog articles (/blog/): the approved model article of 30 October 2026
   (documentation/BLOG-STRATEGY.md). Loaded only on blog pages. */
/* Draft preview only (BLOG-STRATEGY.md §2); the final template comes in phase 3. */
body { background: var(--paper, #fbf6ee); }
.post { max-width: 980px; margin: 24px auto 64px; padding: 0 16px; color: #3b2410; font: 500 18px/1.65 Nunito, sans-serif; }
.post h1 { margin: 8px 0 12px; font: 800 clamp(32px, 5vw, 46px)/1.1 "Baloo 2", sans-serif; color: #2f6fc2; }
.post h2 { margin: 40px 0 12px; font: 800 28px/1.2 "Baloo 2", sans-serif; color: #2f6fc2; }
/* Numbered sub-sections and their parts (user, 23 November 2026). */
html body .post.post > h3 { text-align: left; margin: 32px 0 10px; font: 800 23px/1.25 "Baloo 2", sans-serif; color: #2f6fc2; }
.post > h4 { margin: 18px 0 6px; font: 800 18px/1.3 "Baloo 2", sans-serif; color: #3b2410; }
.post .meta { margin: 0 0 20px; font-size: 14px; color: #8a6d4f; }
.post .lead { padding: 18px 20px; border-radius: 18px; background: #fff; border: 3px solid #cfe0f5; font-weight: 700; }
.post figure { margin: 28px 0; }
.post figure img { display: block; width: 100%; height: auto; border-radius: 18px; border: 3px solid #eadcc6; background: #fff; }
.post figure.sheet img { max-width: 420px; margin: 0 auto; }
.post figcaption { margin-top: 8px; font-size: 15px; color: #8a6d4f; text-align: center; }
.post ol { padding-left: 1.2em; }
.post ol li { margin: 0 0 14px; }
.post ol li strong { color: #2f6fc2; }
.post .try { display: grid; gap: 12px; margin: 16px 0; padding: 0; list-style: none; }
.post .try a { display: block; padding: 14px 18px; border-radius: 16px; background: #fff; border: 3px solid #d7ebd0; color: #367a1f; font-weight: 800; text-decoration: none; }
.post .try span { display: block; color: #3b2410; font-weight: 500; font-size: 16px; }
.post details { margin: 10px 0; padding: 14px 18px; border-radius: 16px; background: #fff; border: 3px solid #cfe0f5; }
.post summary { font-weight: 800; cursor: pointer; }
.post .member { margin: 72px 0 40px; padding: 24px; border-radius: 22px; background: #fff; border: 3px solid #f6d3a8; text-align: center; }
.post .member p { margin: 0 0 16px; }
.post .member .site-actions { justify-content: center; }
.post .sources { font-size: 15px; }
.post .summary { margin-top: 28px; padding: 16px 18px; border-radius: 16px; background: #fff; font-size: 16px; }
.post .summary h3 { margin: 0 0 6px; font: 800 18px "Baloo 2", sans-serif; }
.post .with-mascot { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.post .with-mascot--right { grid-template-columns: 1fr 120px; }
.post .mascot { width: 120px; height: auto; }
.post .mascot--small { width: 96px; }
.post .member .mascot { display: block; margin: -70px auto 6px; }
.post .site-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 20px 0; }
.post .site-actions .site-cta svg { width: 22px; height: 22px; }
@media (max-width: 599px) { .post .with-mascot, .post .with-mascot--right { grid-template-columns: 1fr; justify-items: center; } .post .with-mascot--right .mascot { order: -1; } }
/* "Kako to raditi kod kuće": step cards joined by arrows (across on desktop, down on phones). */
.post .steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); /* any number of steps fills the full width (user, 23 November 2026) */ gap: 30px; margin: 24px 0; padding: 0; list-style: none; counter-reset: step; }
.post .steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; margin: 0; padding: 18px 12px 16px; border: 3px solid color-mix(in srgb, var(--panel) 35%, #fff); border-radius: 20px; background: #fff; text-align: center; counter-increment: step; }
.post .steps li::before { content: counter(step); position: absolute; top: -14px; left: -10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--panel); color: #fff; font: 800 16px "Baloo 2", sans-serif; }
.post .steps li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -27px; translate: 0 -50%; color: var(--panel); font: 800 26px/1 "Baloo 2", sans-serif; }
.post .steps li > svg { width: 44px; height: 44px; padding: 8px; border-radius: 14px; background: var(--panel); color: #fff; box-sizing: content-box; }
.post .steps strong { color: var(--panel); font: 800 18px/1.2 "Baloo 2", sans-serif; }
.post .steps span { font-size: 15px; line-height: 1.45; }
@media (max-width: 859px) {
  .post .steps { grid-auto-flow: row; grid-template-columns: 1fr; gap: 34px; }
  .post .steps li:not(:last-child)::after { content: "↓"; top: auto; right: auto; bottom: -32px; left: 50%; translate: -50% 0; }
}
/* Sheet picture beside its caption and buttons (desktop); stacked on phones. */
.post .sheet-card { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: center; gap: 28px; margin: 28px 0; padding: 22px; border-radius: 24px; background: color-mix(in srgb, var(--c-green) 9%, #fff); border: 3px solid color-mix(in srgb, var(--c-green) 35%, #fff); }
/* The picture with the shared method badges (methodPictureBadges) in its corner. */
.post .sheet-card__pic { position: relative; display: block; }
.post .sheet-card img { display: block; width: 100%; height: auto; border-radius: 14px; border: 3px solid #eadcc6; background: #fff; }
.post .sheet-card figcaption { display: grid; gap: 16px; margin: 0; font-size: 17px; color: #3b2410; text-align: left; }
.post .sheet-card .site-actions { justify-content: flex-start; margin: 0; }
/* Dotted background behind the sheet, the same pattern as the site bands. */
.post .sheet-card { --panel: var(--c-green); background:
  radial-gradient(circle, color-mix(in srgb, var(--panel) 22%, transparent) 2.5px, transparent 3px) 0 0 / 28px 28px,
  color-mix(in srgb, var(--panel) 9%, #fff); }
/* The caption sits on the plain card colour, so the dots never show behind the letters. */
.post .sheet-card figcaption { padding: 18px 20px; border-radius: 18px; background: color-mix(in srgb, var(--panel) 9%, #fff); }
.post .sheet-card__title { color: #367a1f; font: 800 24px/1.2 "Baloo 2", sans-serif; }
/* "Isprobajte odmah": tinted cards with a green border and a green button on the right. */
.post .try a { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: color-mix(in srgb, var(--c-green) 9%, #fff); border-color: color-mix(in srgb, var(--c-green) 45%, #fff); }
.post .try__text { display: grid; gap: 2px; }
.post .try__text strong { color: #367a1f; }
.post .try .try__btn { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; color: #fff; font-size: 17px; line-height: 1; }
@media (max-width: 699px) {
  .post .sheet-card { grid-template-columns: 1fr; padding: 16px; }
  .post .sheet-card figcaption { text-align: center; }
  .post .sheet-card .site-actions { justify-content: center; }
  .post .try a { flex-direction: column; align-items: stretch; }
  .post .try .try__btn { display: flex; justify-content: center; text-align: center; }
}
/* Mascots in circles (homepage [data-home-blob]). */
.post .with-mascot [data-home-blob] { margin: 0 auto; }
.post .with-mascot { grid-template-columns: 130px 1fr; }
.post .with-mascot--right { grid-template-columns: 1fr 130px; }
/* FAQ in its own framed box with Čuko on top (like the pigeon on the membership box). */
.post .faq-box { margin: 96px 0 40px; padding: 0 24px 22px; border-radius: 22px; background: color-mix(in srgb, var(--c-blue) 7%, #fff); border: 3px solid color-mix(in srgb, var(--c-blue) 30%, #fff); }
.post .faq-box [data-home-blob], .post .member [data-home-blob] { margin: -78px auto 14px; }
.post .member .mascot { display: none; }
/* Share row. */
.post .share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 22px; }
.post .share__label { margin-right: 4px; font-weight: 800; font-size: 15px; }
.post .share__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid color-mix(in srgb, var(--c-blue) 35%, #fff); border-radius: 999px; background: #fff; color: #2f6fc2; font: 800 15px Nunito, sans-serif; text-decoration: none; cursor: pointer; }
.post .share__btn:hover { background: color-mix(in srgb, var(--c-blue) 10%, #fff); }
.post .share__native { border-color: #2f6fc2; background: #2f6fc2; color: #fff; }
/* Phones: mascot circles above their text (after the desktop column rules). */
@media (max-width: 599px) {
  .post .with-mascot, .post .with-mascot--right { grid-template-columns: 1fr; justify-items: center; }
  .post .with-mascot--right [data-home-blob] { order: -1; }
  /* The mascot sticks out 27 px above its circle: the space above it equals
     the 41 px below it (user, 16 November 2026). */
  .post .with-mascot { margin-top: 68px; }
}
/* Author: byline under the title and a short box before the sources (text from /za-roditelje/#autor). */
.post .byline { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 16px; }
.post .byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid color-mix(in srgb, var(--c-teal) 40%, #fff); }
.post .byline a { color: #1f7a77; font-weight: 800; }
.post .byline small { color: #8a6d4f; font-size: 14px; }
.post .author-box { --panel: var(--c-teal); margin: 40px 0 24px; padding: 8px 24px 20px; border-radius: 22px; background: color-mix(in srgb, var(--c-teal) 8%, #fff); border: 3px solid color-mix(in srgb, var(--c-teal) 30%, #fff); }
.post .author-box h2 { margin: 20px 0 8px; color: #1f7a77; }
.post .author-box .site-actions { justify-content: flex-start; margin: 8px 0 0; }
@media (max-width: 599px) { .post .author-box { text-align: center; } .post .author-box .site-actions { justify-content: center; } }
  

/* Blog hub (/blog/): article cards, newest first. */
.blog-hub { max-width: 1100px; }
.blog-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.blog-card { display: grid; align-content: start; gap: 10px; padding: 0 0 20px; overflow: hidden; border-radius: 22px; text-decoration: none; color: #3b2410; --panel: var(--c-blue); }
.blog-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card h2 { margin: 6px 18px 0; font: 800 22px/1.2 "Baloo 2", sans-serif; color: #2f6fc2; }
.blog-card p { margin: 0 18px; font-size: 16px; }
.blog-card .site-cta { justify-self: center; max-width: calc(100% - 36px); margin: 6px 18px 0; color: #fff; } /* centred in the card (user, 23 November 2026) */

/* In the site layout the shared rule centres every heading; articles keep the
   approved left-aligned headings (the hub and boxed titles stay centred). */
:is([data-home-content], body.page-site main) .post:not(.blog-hub) > :is(h1, h2) { text-align: left; }

/* The article section: the language switch at its top right, above the article. */
.post-wrap { max-width: 980px; margin: 0 auto; padding: 16px 16px 0; }
.post-wrap { position: relative; margin-top: 0 !important; } /* no corner mascot, so no space for one */
.post-wrap > .site-lang { position: static !important; width: max-content; margin: 0 0 8px auto !important; }
.post-wrap > .post { margin-top: 8px; padding: 0; }

/* Byline: the name and the date start at the same left edge. */
:is([data-home-content], body.page-site main) .post .byline, .post .byline span { text-align: left; }
/* Article text starts at the left, also short paragraphs that the site centres. */
:is([data-home-content], body.page-site main) .post p[data-reading-short] { text-align: left; }
/* Blog page (user, 23 November 2026): no mascot, as the other site pages; the description keeps
   the usual 24 px gap above the cards (the trust-section rule sets it to 0). */
.post.blog-hub > [data-home-head] { margin-bottom: 24px; }
