/* =========================================================================
   Podstrani (prenova 2026, ročni slog). Vir: Prenova/_navodila/mockupi-rocno/podstrani.html
   Naslovi in vse številke so v Amatic SC (--caps), poudarki, pisemca in seznam Božičkov v Kaushan (--script).
   Komponente za postavitve iz inc/page-layouts.php, arhive, blog, Božičke in 404.
   ========================================================================= */

/* ---------- Telo strani z recepti ---------- */
.page-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; min-width: 0; font-size: 16.5px; }
.page-body > * { min-width: 0; margin: 0; }
.page-body h2 { font: 700 clamp(40px, 5vw, 56px)/.98 var(--caps); letter-spacing: .03em; margin: 0 0 12px; color: var(--mint-dark); text-wrap: balance; }
.page-body h3, .page-body .h3 { font: 700 31px/1 var(--caps); letter-spacing: .03em; margin: 0 0 8px; color: var(--mint-dark); }
.page-body h3 span { font: 400 .8em/1 var(--script); letter-spacing: 0; color: var(--red); }
@media (max-width: 760px) { .page-body h2 { font-size: 40px; } }
.page-body p { margin: 0 0 10px; max-width: 68ch; }
.page-body p:last-child { margin-bottom: 0; }
.page-body :where(.block, .fine, .tab-panel, .dcard, .way > div) > :where(ul, ol):not([class]) { margin: 0 0 12px; padding-left: 22px; list-style: disc; }
.page-body :where(.block, .fine, .tab-panel, .dcard, .way > div) > ol:not([class]) { list-style: decimal; }
.page-body :where(ul, ol):not([class]) li { display: list-item; margin-bottom: 4px; }
.page-body :where(ul, ol):not([class]) li::marker { color: var(--mint); font-weight: 700; }
.page-body a:not(.btn, .banner, .tipbtn) { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.page-body img { max-width: 100%; height: auto; }
.page-body .wp-block-image { margin: 0 0 12px; }
.page-body .wp-block-image img { border-radius: 14px; }
.page-body .aligncenter { margin-inline: auto; text-align: center; }
.lead-p { font-size: 18px; line-height: 1.65; }
.plain > h2 { margin-bottom: 12px; }
.plain > p { margin-bottom: 14px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo.is-center { align-items: center; }
.duo.block.pull > div { position: relative; padding-right: 118px; }
.stepico { position: absolute; right: 10px; top: 4px; width: 100px; height: 86px; object-fit: contain; transform: rotate(4deg); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .12)); }
@media (max-width: 760px) {
  .duo.block.pull > div { padding-right: 0; }
  .stepico { width: 70px; height: 60px; right: 0; top: 0; }
}
.duo > * { min-width: 0; }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } }
.num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; margin-bottom: 10px;
  background: var(--mint); color: #fff; font: 700 24px/1 var(--caps); transform: rotate(-4deg);
}
.num.r { background: var(--red); transform: rotate(3deg); }
.num.g { background: #B97A0B; }

/* Seznam "mora vsebovati" */
.must { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.must li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; background: var(--mint-soft); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; line-height: 1.5; min-width: 0; }
.must li::before {
  content: ""; width: 26px; height: 26px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.must b { display: block; color: var(--mint-dark); font-size: 15.5px; }
.must li.ic { grid-template-columns: 52px minmax(0, 1fr); align-items: center; }
.must li.ic::before { width: 52px; height: 52px; border-radius: 16px; background: #fff var(--ico) center / 80% no-repeat; box-shadow: 0 3px 0 rgba(31, 110, 102, .18); }
@media (max-width: 700px) { .must { grid-template-columns: 1fr; } }

/* Nasvet */
.tip { display: flex; gap: 18px; align-items: center; background: var(--mint); color: #fff; border-radius: 24px; padding: 18px 22px; box-shadow: 0 12px 26px rgba(31, 110, 102, .25); }
.tip::before { content: ""; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--red) var(--gift) center / 26px no-repeat; transform: rotate(-5deg); }
.page-body .tip p { margin: 0; flex: 1; max-width: none; font-size: 15.5px; }
.tip a { color: #fff; font-weight: 700; }
.tip a:hover { color: #fff; text-decoration-thickness: 2px; }
.tip p b { display: block; font: 700 30px/1 var(--caps); letter-spacing: .03em; }
@media (max-width: 600px) { .tip { flex-direction: column; align-items: flex-start; } }

/* Foto trak (bozicek_photo_strip) */
.pstrip { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 14px; align-items: end; }
.pstrip figure { margin: 0; background: #fff; padding: 8px 8px 6px; border-radius: 18px; box-shadow: var(--shadow); }
.pstrip figure:nth-child(1) { transform: rotate(-2deg); }
.pstrip figure:nth-child(3) { transform: rotate(2deg); }
.pstrip img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.pstrip figure:nth-child(2) img { aspect-ratio: 4 / 3.4; }
@media (max-width: 600px) { .pstrip { grid-template-columns: 1fr 1fr; } .pstrip figure:nth-child(2) { grid-column: 1 / -1; order: -1; } }
.pstrip figcaption { font: 700 24px/1 var(--caps); letter-spacing: .03em; text-align: center; padding-top: 8px; color: var(--mint-dark); }

/* Ne sme */
.block.no { background: var(--red-soft); box-shadow: none; border: 1px solid #F5C9CE; }
.page-body .block.no h2 { color: var(--red-dark); }
.nolist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.nolist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 14.5px; line-height: 1.5; }
.nolist li::before {
  content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 700px) { .nolist { grid-template-columns: 1fr; } }

/* Oštevilčeni zaključni koraki */
.finals { counter-reset: f; list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.finals li { counter-increment: f; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.finals li::before { content: counter(f); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #5A3600; font: 700 22px/1 var(--caps); }

/* Fotografije */
.photo { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transform: rotate(-.6deg); }
.photo img { display: block; width: 100%; height: auto; border-radius: 0; }
.photo.flip { background: #fff; padding: 10px; transform: rotate(1.2deg); }
.photo.flip img { border-radius: 12px; }
.photo.label { background: #fff; padding: 10px; transform: rotate(-.6deg); justify-self: center; max-width: 640px; }
.photo figcaption { font-size: 13px; color: var(--muted); text-align: center; padding: 6px 0 0; }
.photo.wide { transform: none; }
.photo.wide figcaption { padding: 6px 12px; background: #fff; }

/* Drobni tisk */
.fine { background: var(--cream); border: 2px dashed var(--line); border-radius: var(--r); padding: 20px 22px; font-size: 14.5px; color: var(--muted); }
.page-body .fine h2 { font-size: 31px; }

/* Zavihki v kartici */
.page-body .tabs { margin: 14px 0 16px; }
.tab-panel { min-width: 0; }
.tab-img img { display: block; width: 100%; height: auto; border-radius: 14px; }
.tab-img figure { margin: 0; }
.how-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.how-steps > li { position: relative; min-width: 0; min-height: 120px; border-radius: 18px; padding: 18px 130px 16px 66px; background: var(--c, var(--mint-soft)); }
.how-steps > li:nth-child(3) { grid-column: 1 / -1; padding-right: 330px; --c: #F4E6FA; }
.how-steps > li:nth-child(6) { --c: #FCEFEC; }
.how-steps > li:nth-child(7) { --c: #F4E6FA; }
.how-steps .n { position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mint-dark); color: #fff; font: 700 24px/1 var(--caps); }
.how-steps b { display: block; margin-bottom: 4px; font: 700 27px/1 var(--caps); letter-spacing: .03em; color: var(--mint-dark); }
.page-body .how-steps p, .how-steps ul { margin: 0; font-size: 14.5px; }
.page-body .how-steps ul { padding-left: 18px; display: grid; gap: 2px; list-style: disc; }
.how-steps ul li { display: list-item; }
.page-body .how-steps p + p { margin-top: 6px; }
.hico { position: absolute; right: 14px; top: 50%; display: flex; align-items: center; justify-content: center; width: 104px; height: 92px; transform: translateY(-50%) rotate(-3deg); pointer-events: none; }
.how-steps > li:nth-child(even) .hico { transform: translateY(-50%) rotate(3deg); }
.page-body .hico img { max-width: 104px; max-height: 92px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .12)); }
.hico.cl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 14px; width: 270px; height: auto; transform: translateY(-50%); }
.how-steps > li:nth-child(3) .hico.cl { transform: translateY(-50%); }
.page-body .hico.cl img { width: 64px; height: 58px; max-width: none; max-height: none; }
.hico.cl img:nth-child(odd) { transform: rotate(-8deg); }
.hico.cl img:nth-child(even) { transform: rotate(7deg) translateY(8px); }
.hico.cl:has(img:nth-child(7)) { grid-template-columns: repeat(4, 1fr); width: 300px; }
.page-body .thanks { margin: 18px 0 0; max-width: none; text-align: center; font: 700 34px/1.1 var(--caps); letter-spacing: .03em; color: var(--mint-dark); }
.thanks small { display: block; font: 600 13px/1.6 var(--body); letter-spacing: 0; color: var(--muted); }
.page-body .tab-print { margin: 10px 0 0; text-align: center; font-size: 14px; }
@media (max-width: 760px) {
  .how-steps { grid-template-columns: 1fr; }
  .how-steps > li { padding-right: 84px; }
  .how-steps > li:nth-child(3) { padding-right: 18px; }
  .hico, .how-steps > li:nth-child(even) .hico { right: 10px; top: 14px; width: 64px; height: 60px; transform: rotate(-3deg); }
  .page-body .hico img { max-width: 64px; max-height: 60px; }
  .hico.cl, .hico.cl:has(img:nth-child(7)), .how-steps > li:nth-child(3) .hico.cl { position: static; display: grid; grid-template-columns: repeat(4, 1fr); justify-items: center; width: auto; height: auto; margin: 12px 0 0; transform: none; }
  .page-body .hico.cl img { width: 54px; height: 50px; }
}

/* ---------- Postani Božiček ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fact { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px 18px; text-align: center; }
.fact b { display: block; font: 700 clamp(40px, 5vw, 54px)/1 var(--caps); letter-spacing: .02em; color: var(--red); }
.fact:nth-child(2) b { color: var(--mint); }
.fact:nth-child(3) b { color: #A86F0C; }
.fact span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }
.start { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; background: var(--mint); color: #fff; border-radius: var(--r); padding: 22px 26px; }
.start::before { content: ""; position: absolute; right: -20px; top: -30px; width: 130px; height: 170px; background: var(--snow) center / contain no-repeat; opacity: .14; transform: rotate(14deg); }
.start > * { position: relative; }
.page-body .start p { margin: 0; font: 700 clamp(28px, 3vw, 36px)/1.15 var(--caps); letter-spacing: .03em; max-width: 46ch; }
.start mark { display: inline-block; margin-top: 8px; padding: 5px 14px; border-radius: var(--pill); background: var(--gold); color: #5A3600; font: 700 17px/1.3 var(--body); letter-spacing: 0; }
.embed { position: relative; width: 100%; max-width: 720px; margin: 16px auto 0; border-radius: 14px; overflow: hidden; background: var(--mint-soft); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Podprite ---------- */
.donate { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 760px) { .donate { grid-template-columns: 1fr; } }
.dcard { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; min-width: 0; }
.page-body .dcard h3 { display: flex; align-items: center; gap: 10px; }
.dcard h3::before { content: ""; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--mint) var(--gift) center / 14px auto no-repeat; transform: rotate(-4deg); }
.dcard:nth-child(2) h3::before { background-color: var(--red); }
.dcard img { display: block; max-width: 180px; border-radius: 10px; margin: 8px 0; }
.dcard .wp-block-image { margin: 8px 0; }
.iban { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0; background: var(--cream); border-radius: 12px; padding: 10px 12px; }
.iban code { font-family: ui-monospace, Menlo, monospace; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--ink); background: none; padding: 0; }
.iban small { display: block; width: 100%; color: var(--muted); }
.ways { display: grid; gap: 14px; margin-top: 16px; }
.way { display: grid; grid-template-columns: 240px minmax(0, 1fr); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.way:nth-child(even) { grid-template-columns: minmax(0, 1fr) 240px; }
.way:nth-child(even) > img { order: 2; }
.page-body .way > img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; border-radius: 0; }
.way > div { padding: 18px 22px; min-width: 0; }
.page-body .way p { font-size: 15px; }
@media (max-width: 640px) {
  .way, .way:nth-child(even) { grid-template-columns: 1fr; }
  .way:nth-child(even) > img { order: 0; }
  .page-body .way > img { height: 170px; min-height: 0; }
}

/* ---------- Za božičke ---------- */
.zsteps { counter-reset: z; list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.zsteps li { counter-increment: z; background: var(--cream); border-radius: 18px; padding: 16px; display: grid; align-content: start; gap: 4px; min-width: 0; }
.zsteps li::before { content: counter(z); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font: 700 24px/1 var(--caps); margin-bottom: 6px; }
.zsteps li:nth-child(even)::before { background: var(--mint); }
.zsteps b { font: 700 27px/1 var(--caps); letter-spacing: .03em; color: var(--mint-dark); }
.page-body .zsteps p { margin: 0; font-size: 14.5px; }
.banner { position: relative; display: block; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s; }
.banner:hover { transform: translateY(-4px); }
.page-body .banner img { display: block; width: 100%; height: auto; border-radius: 0; }
.banner span { position: absolute; right: 12px; bottom: 12px; background: #fff; border-radius: 999px; padding: 7px 16px 5px; font: 700 21px/1 var(--caps); letter-spacing: .04em; color: var(--mint); box-shadow: 0 3px 0 rgba(0, 0, 0, .15); }

/* ---------- Za prostovoljce ---------- */
.event { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; background: var(--mint); color: #fff; border-radius: var(--r); padding: 20px 22px; box-shadow: 0 14px 30px rgba(31, 110, 102, .3); }
.page-body .event h2 { color: #fff; margin: 2px 0 4px; }
.page-body .event p { margin: 0; opacity: .92; font-size: 15px; }
.event small { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; opacity: .9; }
.cal { background: #fff; color: var(--ink); border-radius: 16px; text-align: center; overflow: hidden; min-width: 104px; transform: rotate(-3deg); }
.cal small { display: block; background: var(--red); color: #fff; padding: 4px 8px; opacity: 1; letter-spacing: .04em; }
.cal b { display: block; font: 700 40px/1 var(--caps); padding: 6px 10px; }
.event .btn { max-width: 250px; justify-content: center; text-align: center; white-space: normal; line-height: 1.05; background: var(--red); border-color: var(--red); color: #fff; }
.page-body .event h2 { font-size: 36px; }
.event .btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
@media (max-width: 820px) { .event { grid-template-columns: auto minmax(0, 1fr); } .event .btn { grid-column: 1 / -1; max-width: none; } }
.roles { list-style: none; margin: 14px 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.roles li { background: var(--mint-soft); border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; }
.roles b { font: 700 27px/1 var(--caps); letter-spacing: .03em; color: var(--mint-dark); }
@media (max-width: 600px) { .roles { grid-template-columns: 1fr; } }

/* ---------- O projektu ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; position: relative; padding-bottom: 18px; }
.timeline li::before { content: ""; position: absolute; left: 47px; top: 44px; bottom: 0; border-left: 3px dotted var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.ty { position: relative; z-index: 1; display: grid; place-items: center; height: 44px; border-radius: 14px; background: var(--mint); color: #fff; font: 700 28px/1 var(--caps); letter-spacing: .02em; transform: rotate(-3deg); }
.ty.r { background: var(--red); transform: rotate(2deg); }
.ty.g { background: var(--gold); color: #5A3600; }
.timeline li > div { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 16px 20px; min-width: 0; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; } .timeline li::before { left: 34px; } .ty { font-size: 24px; } }
.quote-block { text-align: center; border-top: 4px solid var(--gold); }
.page-body .quote-block p { margin-inline: auto; }

/* Darilne etikete (kratka voščila) */
.tags2 { list-style: none; margin: 0; padding: 10px 0 0 30px; display: flex; flex-wrap: wrap; gap: 26px 40px; justify-content: center; align-items: center; }
.tags2 li {
  position: relative; isolation: isolate; max-width: 300px; --c: #FFF6E0; color: #2B3A55; font-family: var(--script); font-size: 20px; line-height: 1.25;
  padding: 18px 22px 16px 48px; filter: drop-shadow(0 6px 10px rgba(10, 40, 35, .14)); transform: rotate(var(--rot, -2deg)); transition: transform .25s;
}
.tags2 li:nth-child(4n+2) { --rot: 2.5deg; --c: #E3F1EF; }
.tags2 li:nth-child(4n+3) { --rot: -1deg; --c: #FCE8EA; }
.tags2 li:nth-child(4n) { --rot: 1.5deg; }
.tags2 li::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c); border-radius: 6px 14px 14px 6px;
  clip-path: polygon(24px 0, 100% 0, 100% 100%, 24px 100%, 0 50%);
  -webkit-mask: radial-gradient(circle 6px at 22px 50%, transparent 5.5px, #000 6.5px); mask: radial-gradient(circle 6px at 22px 50%, transparent 5.5px, #000 6.5px);
}
.tags2 li::after {
  content: ""; position: absolute; left: -34px; top: 50%; width: 62px; height: 40px; margin-top: -24px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 40'%3E%3Cpath d='M2 4C14 2 30 10 52 24' fill='none' stroke='%23D13943' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M2 36C18 38 34 32 52 24' fill='none' stroke='%23B32C35' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tags2 li:hover { transform: rotate(0) scale(1.04); }
.tags2 li span { display: block; }

/* Pisemca */
.quotes { columns: 2 300px; column-gap: 16px; }
.quote {
  break-inside: avoid; margin: 0 0 22px; position: relative; padding: 12px; border-radius: 6px;
  background: repeating-linear-gradient(135deg, var(--red) 0 14px, #fff 14px 24px, var(--mint) 24px 38px, #fff 38px 48px);
  box-shadow: 0 10px 24px rgba(10, 40, 35, .14); transform: rotate(var(--rot, -.8deg)); transition: transform .3s;
}
.quote:nth-child(3n+2) { --rot: .9deg; }
.quote:nth-child(3n) { --rot: -.3deg; }
.quote:hover { transform: rotate(0) translateY(-3px); }
.quote > .paper {
  position: relative; background: #FFFCF3; border-radius: 3px; padding: 26px 24px 18px;
  background-image: linear-gradient(90deg, transparent 38px, rgba(209, 57, 67, .25) 38px 40px, transparent 40px), repeating-linear-gradient(#FFFCF3 0 29px, #E4EEEC 29px 30px);
  background-position: 0 0, 0 14px;
}
.quote blockquote { margin: 44px 0 0; padding: 0 0 0 28px; background: none; border: 0; font-family: var(--script); font-size: 18px; line-height: 30px; color: #2B3A55; }
.quote blockquote p { margin: 0; max-width: none; }
.quote blockquote p + p { text-indent: 1.2em; }
.quote .stamp {
  position: absolute; right: 16px; top: 16px; width: 54px; height: 64px; background: var(--mint) var(--gift) center / 28px no-repeat; border-radius: 2px;
  transform: rotate(6deg); border: 3px dashed rgba(255, 255, 255, .85); box-shadow: 0 0 0 4px #FFFCF3, 0 0 0 5px rgba(43, 58, 85, .18), 2px 3px 6px rgba(0, 0, 0, .15);
}
.quote:nth-child(3n+2) .stamp { background-color: var(--red); }
.quote:nth-child(3n) .stamp { background-color: var(--gold); }
.quote .pm {
  position: absolute; right: 52px; top: 44px; width: 62px; height: 62px; border-radius: 50%; border: 2px solid rgba(43, 58, 85, .35);
  display: grid; place-items: center; font: 700 10px/1 var(--body); letter-spacing: .08em; color: rgba(43, 58, 85, .5); transform: rotate(-14deg); pointer-events: none;
}
.quote .pm::before, .quote .pm::after { content: ""; position: absolute; left: -22px; right: -22px; height: 2px; background: repeating-linear-gradient(90deg, rgba(43, 58, 85, .3) 0 10px, transparent 10px 14px); }
.quote .pm::before { top: 22px; }
.quote .pm::after { bottom: 22px; }
.quote figcaption { display: block; text-align: right; font-family: var(--script); font-size: 24px; line-height: 1.15; color: var(--red-dark); margin-top: 10px; }
.quote figcaption.anon { font-size: 26px; color: var(--red); }
.quote figcaption small { display: block; font-size: 17px; color: #2B3A55; }
.izlead { margin-top: -64px; position: relative; z-index: 3; }
.page-body .iz2 { margin: 10px 0 0; }

/* ---------- Pogosta vprašanja ---------- */
.faq-intro .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.faq-tools {
  position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 72px); z-index: 5; display: grid; gap: 12px;
  margin: 0 -14px; padding: 10px 14px 12px; border-radius: 0 0 18px 18px; transition: background .2s, box-shadow .2s; scroll-margin-top: 90px;
}
.faq-tools.stuck { background: rgba(255, 251, 243, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 18px -14px rgba(10, 40, 35, .35); }
.fsearch { display: block; margin: 0; }
.fsearch input {
  width: 100%; font: inherit; font-size: 17px; padding: 16px 18px 16px 50px; border-radius: 16px; border: 2px solid var(--line); color: var(--ink); box-shadow: var(--shadow);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6E66' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 16px center / 22px no-repeat;
}
.fsearch input::placeholder { color: var(--muted); opacity: 1; }
.fsearch input:focus { outline: none; border-color: var(--mint); }
.fsearch input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.fchips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: inherit; font-size: 14px; font-weight: 700; border: 2px solid var(--line); background: #fff; color: var(--ink); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: var(--mint); }
.chip.on, .chip[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: #fff; }
.chip small { font-size: 12px; opacity: .85; margin-left: 2px; }
.chip.on small, .chip[aria-pressed="true"] small { opacity: 1; }
.fcat { scroll-margin-top: 220px; }
.fcat[hidden], .qa[hidden] { display: none !important; }
.page-body .fcat h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fcat h2 small { font-family: var(--body); font-size: 13px; font-weight: 700; background: var(--mint-soft); color: var(--mint-dark); border-radius: 999px; padding: 3px 10px; }
.qa { background: #fff; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 10px; border: 2px solid transparent; transition: border-color .2s; scroll-margin-top: 220px; }
.qa[open] { border-color: var(--mint-soft); }
.qa summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 30px; gap: 14px; align-items: center;
  padding: 16px 18px; font-family: var(--body); font-weight: 700; font-size: 17px; line-height: 1.3; border-radius: 14px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; width: 30px; height: 30px; border-radius: 50%; transition: transform .25s;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6E66' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.qa[open] summary::after {
  transform: rotate(180deg); background-color: var(--mint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.qa summary:hover { color: var(--mint-dark); }
.qa summary:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.ans { padding: 0 18px 16px; font-size: 15.5px; }
.page-body .ans p { margin: 0 0 10px; }
.ans ul, .ans ol { margin: 0 0 10px; padding-left: 20px; list-style: disc; }
.ans li { display: list-item; }
.ans img { display: block; max-width: 100%; height: auto; margin: 8px 0 12px; border-radius: 12px; border: 1px solid var(--line); }
.qa mark { background: var(--soon-bg); color: inherit; border-radius: 3px; }
.page-body .fempty { text-align: center; padding: 30px; color: var(--muted); max-width: none; }

/* ---------- Mediji ---------- */
.mstats { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 12px; margin-top: -64px; position: relative; z-index: 3; }
.mstats > div { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 18px; }
.mstats b { display: block; font: 700 40px/1 var(--caps); letter-spacing: .02em; color: var(--mint); }
.mstats > div:last-child b { font-size: 30px; color: var(--mint-dark); line-height: 1.05; }
.mstats span { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) { .mstats { grid-template-columns: 1fr 1fr; } .mstats > div:last-child { grid-column: 1 / -1; } }
.years {
  display: flex; gap: 6px; flex-wrap: wrap; position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 72px); z-index: 4;
  background: rgba(255, 251, 243, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 0;
}
.years a { font: 700 22px/1 var(--caps); letter-spacing: .02em; text-decoration: none; color: var(--mint-dark); background: var(--mint-soft); padding: 7px 13px 5px; border-radius: 999px; }
.years a:hover { background: var(--mint); color: #fff; }
.myear { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; scroll-margin-top: 140px; }
.page-body .myear h2 { font-size: 48px; color: var(--red); position: sticky; top: 140px; align-self: start; }
.mlist { list-style: none; margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; border-left: 3px dotted var(--line); }
.mlist a { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; background: #fff; border-radius: 14px; padding: 12px 16px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 var(--line); transition: transform .2s, box-shadow .2s; }
.mlist a:hover { transform: translateX(4px); box-shadow: var(--shadow); color: var(--ink); }
.mlist a:hover b { color: var(--mint-dark); }
.md { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.mlist b { font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.ms { font-size: 12.5px; font-weight: 700; color: var(--mint-dark); background: var(--mint-soft); border-radius: 999px; padding: 3px 10px; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.clip img { display: block; width: min(100%, 360px); height: auto; border-radius: 12px; box-shadow: var(--shadow); transform: rotate(-1.5deg); margin: 8px 0; }
@media (max-width: 700px) {
  .myear { grid-template-columns: 1fr; gap: 6px; }
  .page-body .myear h2 { position: static; }
  .mlist a { grid-template-columns: 1fr; }
  .ms { justify-self: start; }
}

/* ---------- Pretekle akcije ---------- */
.mut { color: var(--muted); }
.page-body h2 + .mut { margin-top: -6px; }
.bigstat { margin-top: -64px; position: relative; z-index: 3; background: var(--red); color: #fff; border-radius: var(--r); padding: 22px 26px; display: flex; gap: 18px; align-items: center; box-shadow: 0 14px 30px rgba(209, 57, 67, .3); }
.bigstat b { font: 700 clamp(56px, 7vw, 80px)/.95 var(--caps); letter-spacing: .02em; }
.bigstat span { font-weight: 600; max-width: 34ch; }
@media (max-width: 560px) { .bigstat { flex-direction: column; align-items: flex-start; gap: 6px; } }

.gbars { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 7px; }
.gbars li { display: grid; grid-template-columns: 48px minmax(0, 1fr) 120px; gap: 12px; align-items: center; }
.gy { font: 700 20px/1 var(--caps); letter-spacing: .02em; color: var(--mint-dark); }
.gt { height: 22px; background: var(--cream); border-radius: 999px; overflow: hidden; }
.gb { display: block; height: 100%; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, var(--mint), var(--mint-2)); animation: bz-grow 1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 50ms); transform-origin: left; }
.gbars li:nth-child(even) .gb { background: linear-gradient(90deg, #66BBB0, #8FD0C6); }
.gbars li.rec .gb { background: linear-gradient(90deg, var(--red), #E5555F); }
.gv { font: 700 20px/1 var(--caps); letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.gv em { font-style: normal; font-family: var(--body); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--red-dark); color: #fff; border-radius: 999px; padding: 2px 7px; vertical-align: 2px; margin-left: 4px; }
@keyframes bz-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 520px) { .gbars li { grid-template-columns: 40px minmax(0, 1fr) 92px; gap: 8px; } .gy, .gv { font-size: 18px; } .gt { height: 18px; } }

.yeargrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.yeargrid a { position: relative; display: grid; align-content: end; min-height: 170px; padding: 18px; border-radius: 22px; text-decoration: none; color: var(--ink); background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: transform .25s; }
.yeargrid a::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, var(--mint-soft) 0 34%, transparent 35%); }
.yeargrid li:nth-child(3n+2) a::before { background: radial-gradient(circle at 85% 15%, var(--red-soft) 0 34%, transparent 35%); }
.yeargrid li:nth-child(3n) a::before { background: radial-gradient(circle at 85% 15%, var(--soon-bg) 0 34%, transparent 35%); }
.yeargrid a:hover { transform: translateY(-5px) rotate(-.6deg); color: var(--ink); }
.yr { position: relative; font: 700 72px/.85 var(--caps); letter-spacing: .02em; color: var(--mint); }
.yeargrid li:nth-child(3n+2) .yr { color: var(--red); }
.yeargrid li:nth-child(3n) .yr { color: #B97A0B; }
.ya { position: relative; font-weight: 700; color: var(--muted); font-size: 14px; }
.yg { position: absolute; right: 16px; top: 16px; font: 700 21px/1 var(--caps); letter-spacing: .04em; color: var(--mint-dark); }
@media (max-width: 700px) { .yeargrid { grid-template-columns: 1fr 1fr; } .yr { font-size: 56px; } .yeargrid a { min-height: 130px; } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.posts.pull { margin-top: -64px; position: relative; z-index: 3; }
.post { margin: 0; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.post.feat { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto; }
.post:not(:has(.pimg)) { grid-template-rows: 1fr; grid-template-columns: 1fr; }
.pimg { display: block; overflow: hidden; background: var(--mint-soft); }
.pimg img { display: block; width: 100%; height: auto; aspect-ratio: 2.56 / 1; object-fit: cover; transition: transform .4s; }
.post.feat .pimg { position: relative; min-height: 260px; }
.post.feat .pimg img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.post:hover .pimg img { transform: scale(1.04); }
.post > div { padding: 16px 20px 18px; display: grid; align-content: start; gap: 6px; }
.page-body .post h2 { margin: 0; font-size: 31px; line-height: 1; }
.post h2 a { color: var(--mint-dark); text-decoration: none; }
.post h2 a:hover { color: var(--red); }
.page-body .post.feat h2 { font-size: 44px; }
.page-body .post p { margin: 0; font-size: 15px; }
.page-body .pmeta { font-size: 13px; color: var(--muted); font-weight: 600; margin: 0 0 4px; }
.pc { display: inline-block; background: var(--red-soft); color: var(--red-dark); border-radius: 999px; padding: 2px 9px; margin-right: 6px; font-weight: 700; text-decoration: none; }
a.pc:hover { background: var(--red); color: #fff; }
.more { font-weight: 700; font-size: 14.5px; }
@media (max-width: 700px) { .posts, .post.feat { grid-template-columns: 1fr; } .post.feat .pimg { min-height: 0; } .post.feat .pimg img { position: static; height: auto; aspect-ratio: 2.56 / 1; } }

.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pager .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 2px 8px 0; border-radius: 12px; background: #fff; box-shadow: var(--shadow); text-decoration: none; font: 700 24px/1 var(--caps); color: var(--ink); }
.pager a.page-numbers:hover { background: var(--mint-soft); color: var(--mint-dark); }
.pager .current { background: var(--mint); color: #fff; }
.pager .dots { background: none; box-shadow: none; }

.prods { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.prods a { display: grid; gap: 4px; text-decoration: none; color: var(--ink); }
.prods img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; transition: transform .25s; }
.prods a:hover img { transform: translateY(-4px) rotate(-1deg); }
.prods b { font-size: 14.5px; line-height: 1.3; }
.prods span { color: var(--red-dark); font: 700 26px/1 var(--caps); letter-spacing: .02em; }
.prods del { color: var(--muted); font-weight: 400; }
@media (max-width: 760px) { .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.single .pmeta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.single .photo.wide { margin: 0 0 16px; }
.pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pnav a { display: grid; gap: 2px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 14px 18px; text-decoration: none; color: var(--ink); font-weight: 700; }
.pnav a.next { grid-column: 2; text-align: right; }
.pnav a:hover { color: var(--mint-dark); }
.pnav small { color: var(--muted); font-weight: 600; font-size: 13px; }
@media (max-width: 560px) { .pnav { grid-template-columns: 1fr; } .pnav a.next { grid-column: auto; } }

.slist { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.slist li { border-top: 1px solid var(--line); padding-top: 10px; }
.slist small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mint-dark); }
.slist a { font: 700 28px/1.05 var(--caps); letter-spacing: .03em; color: var(--mint-dark); }
.page-body .slist p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }

/* ---------- 404 in iskalnik ---------- */
.nf { margin-top: -64px; position: relative; z-index: 3; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 32px 36px; }
.nf-art { display: flex; align-items: center; gap: 6px; font: 700 clamp(110px, 15vw, 180px)/1 var(--caps); color: var(--mint); }
.nf-art span:first-child { transform: rotate(-6deg); }
.nf-art span:last-child { color: var(--red); transform: rotate(6deg); }
.nf-gift { display: block; width: .78em; height: .9em; background: var(--red) var(--gift) center / 58% no-repeat; border-radius: 24px; transform: rotate(-8deg); animation: bz-wob 2.8s ease-in-out infinite; box-shadow: 0 12px 24px rgba(209, 57, 67, .3); }
@keyframes bz-wob { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) translateY(-6px); } }
.nf-txt p { color: var(--muted); }
.nf-search { display: flex; gap: 10px; margin-top: 14px; }
.nf-search .fsearch { flex: 1; }
.btn.nfbtn { align-self: center; }
.page-body .nf-home { margin-top: 14px; }
.nf-links { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nf-links a { display: grid; gap: 2px; height: 100%; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 16px 18px; text-decoration: none; color: var(--ink); border-left: 5px solid var(--mint); transition: transform .2s; }
.nf-links li:nth-child(3n+2) a { border-left-color: var(--red); }
.nf-links li:nth-child(3n) a { border-left-color: var(--gold); }
.nf-links a:hover { transform: translateY(-3px); color: var(--ink); }
.nf-links b { font: 700 27px/1 var(--caps); letter-spacing: .03em; color: var(--mint-dark); }
.nf-links span { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .nf { grid-template-columns: 1fr; gap: 16px; padding: 22px; } .nf-links { grid-template-columns: 1fr 1fr; } .nf-search { flex-direction: column; } .btn.nfbtn { justify-content: center; } }
@media (max-width: 460px) { .nf-links { grid-template-columns: 1fr; } }

/* ---------- Božički ---------- */
.bzstats { margin-top: -64px; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bzstats div { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 22px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bzstats b { font: 700 clamp(52px, 6vw, 72px)/.95 var(--caps); letter-spacing: .02em; color: var(--mint); }
.bzstats div:nth-child(2) b { color: var(--red); }
.bzstats span { font-size: 15px; color: var(--muted); font-weight: 600; }
.bzhead { display: flex; gap: 18px; align-items: end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 6px; }
.bzsearch { flex: 0 1 340px; }
.bzsearch input:disabled { opacity: .6; }
.page-body .bzcount { margin: 10px 0 14px; font-size: 14px; font-weight: 700; color: var(--muted); }
.scroll { position: relative; padding: 22px 0; }
.scroll::before, .scroll::after { content: ""; position: absolute; left: -10px; right: -10px; height: 30px; border-radius: 15px; background: linear-gradient(#E9D8B4, #FBF1DC 45%, #D9C29A); box-shadow: 0 6px 12px rgba(80, 55, 20, .2); z-index: 2; }
.scroll::before { top: 0; }
.scroll::after { bottom: 0; }
.bzbox { position: relative; max-height: 560px; overflow: hidden; background: #FFF8E8; background-image: radial-gradient(circle at 20% 10%, rgba(201, 138, 18, .06), transparent 40%), radial-gradient(circle at 80% 70%, rgba(209, 57, 67, .05), transparent 45%); padding: 34px 34px 26px; box-shadow: inset 0 0 40px rgba(170, 130, 60, .18); }
.bzbox::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(255, 248, 232, 0), #FFF8E8 85%); pointer-events: none; }
.bzbox.all { max-height: none; }
.bzbox.all::after, .bzbox.few::after { display: none; }
.page-body .scroll-t { text-align: center; font-family: var(--script); font-weight: 400; font-size: 34px; color: var(--red-dark); margin: 0 0 16px; max-width: none; }
.bzlist { list-style: none; margin: 0; padding: 0; columns: 4 170px; column-gap: 28px; column-rule: 1px dashed rgba(170, 130, 60, .3); }
.bzlist li { break-inside: avoid; font-family: var(--script); font-size: 18px; line-height: 1.45; color: #2B3A55; padding: 2px 0 2px 24px; position: relative; overflow-wrap: anywhere; }
.bzlist li::before { content: "✓"; position: absolute; left: 2px; top: 2px; font-family: var(--body); font-weight: 800; font-size: 14px; color: var(--mint); }
.bzlist li:nth-child(3n+2)::before { color: var(--red); }
.bzlist li.bznone { column-span: all; padding-left: 0; }
.bzlist li.bznone::before { content: none; }
.bzlist mark { background: var(--gold); color: #3A2600; border-radius: 3px; padding: 0 2px; }
.bzmore { display: flex; margin: 16px auto 0; }
.bzmore[hidden] { display: none; }
@media (max-width: 700px) { .bzsearch { flex-basis: 100%; } .bzbox { padding: 28px 18px 20px; } .bzlist { columns: 2 130px; column-gap: 16px; } .bzlist li { font-size: 17px; } }
@media (max-width: 480px) { .bzstats { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .quote, .tags2 li, .banner, .mlist a, .qa summary::after, .yeargrid a, .pimg img, .prods img, .nf-links a { transition: none; }
  .gb, .nf-gift { animation: none; }
}
