/* Nidino 2026 – Impressum, Blog, Blog posts. Active only when html.nd-pg. */
.pg-legacy { display: none !important; }
html.nd-pg:not(.nd-pg-ready) body { opacity: 0; }
html.nd-pg body { transition: opacity .25s; background: #FBF7F1; }
@media (min-width: 992px) { html.nd-pg .white-navbar :is(.navbar-link, .dropdown-toggle, .w-icon-dropdown-toggle) { color: #163A35 !important; } }
html.nd-pg .white-navbar .image-burger { filter: brightness(0) opacity(.8); }

#nd-pg {
  --canvas: #FBF7F1; --surface: #FFFFFF; --ink: #163A35; --ink-soft: #4A6862; --accent: #245953;
  --mint: #86C8BC; --mint-soft: #E2F2EE; --peach: #FFD3B0; --peach-soft: #FFEEE1; --deep: #1C4842;
  --hair: rgba(22, 58, 53, .12);
  --display: "Outfit", system-ui, sans-serif; --text: "Figtree", system-ui, sans-serif;
  --e1: 0 1px 2px rgba(22,58,53,.06), 0 4px 14px -6px rgba(22,58,53,.18);
  --e2: 0 2px 4px rgba(22,58,53,.06), 0 16px 36px -14px rgba(22,58,53,.32);
  font-family: var(--text); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
#nd-pg *, #nd-pg *::before, #nd-pg *::after { box-sizing: border-box; }
#nd-pg :is(h1, h2, h3, h4) { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); text-transform: none; }
#nd-pg :is(p, span, a, li, strong, button, summary) { font-family: var(--text); text-transform: none; }
#nd-pg svg { width: 18px; height: 18px; flex: none; }
#nd-pg img { max-width: 100%; }
#nd-pg li { background-image: none; }
.pg-wrap { width: min(100% - 32px, 1160px); margin-inline: auto; position: relative; }
.pg-narrow { width: min(100% - 32px, 760px); }
.pg-eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase !important; color: var(--accent); }
.pg-card { background: var(--surface); border-radius: 22px; box-shadow: var(--e1); }
.pg-rise { opacity: 0; transform: translateY(14px); transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.pg-rise.is-in { opacity: 1; transform: none; }

/* hero */
.pg-hero { position: relative; overflow: hidden; padding: calc(var(--navh, 80px) + clamp(1.2rem, 4vw, 2.6rem)) 0 clamp(1.4rem, 4vw, 2.4rem);
  background: radial-gradient(120% 90% at 100% 0%, var(--mint-soft) 0%, transparent 60%), radial-gradient(80% 70% at 0% 100%, var(--peach-soft) 0%, transparent 65%); }
.pg-hero .pg-wrap { display: grid; gap: .6rem; justify-items: start; z-index: 1; }
#nd-pg .pg-hero h1 { font-size: clamp(2rem, 6.4vw, 3.4rem); max-width: 18ch; margin: 0; }
.pg-hero p { color: var(--ink-soft); margin: 0; }
.pg-hero__dino { position: absolute; right: max(-30px, calc(50% - 640px)); bottom: -40px; width: clamp(110px, 18vw, 210px); opacity: .9; animation: pg-bob 6s ease-in-out infinite; pointer-events: none; }
@media (max-width: 640px) { .pg-hero__dino { width: 90px; right: -20px; bottom: auto; top: calc(var(--navh, 60px) + 6px); opacity: .35; } }
@keyframes pg-bob { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-10px); } }

/* prose (rich text from Webflow) */
.pg-prose { color: var(--ink); font-size: 1.02rem; }
.pg-prose .w-richtext, .pg-prose.w-richtext { all: unset; display: block; }
#nd-pg .pg-prose :is(h1, h2) { font-size: clamp(1.45rem, 3.6vw, 1.85rem); margin: 2.2rem 0 .7rem; scroll-margin-top: 110px; }
#nd-pg .pg-prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .5rem; scroll-margin-top: 110px; }
#nd-pg .pg-prose h4 { font-size: 1.05rem; margin: 1.3rem 0 .4rem; }
#nd-pg .pg-prose > div > :first-child, #nd-pg .pg-prose > :first-child { margin-top: 0 !important; }
#nd-pg .pg-prose p { margin: 0 0 1rem; color: var(--ink); font-size: inherit; line-height: 1.7; font-family: var(--text) !important; }
#nd-pg .pg-prose :is(ul, ol) { margin: 0 0 1.1rem; padding-left: 1.3rem; display: block; }
#nd-pg .pg-prose li { margin: .3rem 0; padding-left: .2rem; list-style: disc; font-size: inherit; line-height: 1.6; }
#nd-pg .pg-prose ol li { list-style: decimal; }
#nd-pg .pg-prose a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-family: inherit !important; }
#nd-pg .pg-prose strong { font-weight: 700; }
#nd-pg .pg-prose blockquote { margin: 1.4rem 0; padding: 1rem 1.2rem; border: 0; border-left: 4px solid var(--mint); border-radius: 0 14px 14px 0; background: var(--mint-soft); background-image: none; text-align: left; font-size: 1.05rem; font-style: italic; }
#nd-pg .pg-prose figure { margin: 1.6rem 0; }
#nd-pg .pg-prose figure img, #nd-pg .pg-prose img { border-radius: 16px; height: auto; }

/* legal */
.pg-legal { padding: clamp(1.4rem, 4vw, 2.4rem) 0 clamp(3rem, 7vw, 4.5rem); }
.pg-legal__grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .pg-legal__grid { grid-template-columns: 300px 1fr; gap: 1.6rem; align-items: start; } .pg-legal__side { position: sticky; top: 100px; display: grid; gap: 1rem; } }
.pg-legal__side { display: grid; gap: .8rem; }
.pg-legal__body { padding: clamp(1.2rem, 4vw, 2.4rem); }
.pg-contact { padding: 1.1rem 1.1rem 1.2rem; display: grid; gap: .5rem; }
#nd-pg .pg-contact h2 { font-size: 1.1rem; margin: 0 0 .2rem; }
.pg-contact__addr { display: flex; gap: .55rem; margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.45; }
.pg-contact__addr svg { margin-top: .15rem; color: var(--accent); }
.pg-contact a { display: inline-flex; align-items: center; gap: .55rem; min-height: 40px; padding: .35rem .85rem; border-radius: 999px; background: var(--mint-soft); color: var(--accent) !important; font-weight: 600; font-size: .93rem; text-decoration: none !important; justify-self: start; }
.pg-toc { padding: .4rem .5rem .6rem; }
.pg-toc summary { list-style: none; cursor: pointer; padding: .7rem .7rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.pg-toc summary::-webkit-details-marker { display: none; }
.pg-toc summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.pg-toc[open] summary::after { transform: rotate(45deg); }
#nd-pg .pg-toc ol { list-style: none; margin: 0; padding: 0 .2rem .2rem; max-height: min(60vh, 520px); overflow: auto; display: block; }
#nd-pg .pg-toc li { margin: 0; padding: 0; }
.pg-toc a { display: block; padding: .38rem .55rem; border-radius: 10px; font-size: .9rem; line-height: 1.35; color: var(--ink-soft) !important; text-decoration: none !important; transition: background-color .15s, color .15s; }
.pg-toc li.lvl2 a { font-weight: 700; color: var(--ink) !important; margin-top: .3rem; }
.pg-toc a:hover, .pg-toc a.is-on { background: var(--mint-soft); color: var(--accent) !important; }
.pg-top { position: fixed; z-index: 40; left: 16px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--accent) !important; box-shadow: var(--e2); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s; }
.pg-top.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* blog overview */
.pg-blog { padding: clamp(1.2rem, 4vw, 2rem) 0 clamp(2.4rem, 6vw, 3.6rem); }
.pg-chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: .2rem 2px .9rem; }
.pg-chips[hidden] { display: none; }
.pg-chips::-webkit-scrollbar { display: none; }
.pg-chip { flex: none; min-height: 42px; padding: .5rem 1rem; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink); font-weight: 600; font-size: .93rem; cursor: pointer; transition: background-color .18s, color .18s; }
.pg-chip.is-on { background: var(--accent); color: #fff; box-shadow: none; }
.pg-grid { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 640px) { .pg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pg-grid { grid-template-columns: repeat(3, 1fr); gap: 1.3rem; } }
.pg-post { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border-radius: 22px; overflow: hidden; box-shadow: var(--e1); color: var(--ink) !important; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
.pg-post:hover { box-shadow: var(--e2); transform: translateY(-3px); }
.pg-post__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint-soft); }
.pg-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; display: block; }
.pg-post:hover .pg-post__img img { transform: scale(1.04); }
.pg-post__img .pg-post__ph { object-fit: contain; padding: 18%; opacity: .5; }
.pg-post__body { display: grid; align-content: start; gap: .4rem; padding: 1rem 1.1rem 1.15rem; }
.pg-post__cat { justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase !important; color: #7A4A22 !important; background: var(--peach-soft); border-radius: 999px; padding: .2rem .6rem; text-decoration: none !important; }
.pg-post__new { justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase !important; color: #fff; background: var(--accent); border-radius: 999px; padding: .2rem .6rem; }
.pg-post strong { font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.pg-post__teaser { color: var(--ink-soft); font-size: .93rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pg-post__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .2rem; font-weight: 700; font-size: .92rem; color: var(--accent); }
.pg-post:hover .pg-post__more svg { transform: translateX(3px); }
.pg-post__more svg { transition: transform .2s; }
@media (min-width: 820px) {
  .pg-post--big { grid-template-columns: 1.2fr 1fr; grid-template-rows: none; }
  .pg-post--big .pg-post__img { aspect-ratio: auto; min-height: 340px; }
  .pg-post--big .pg-post__body { padding: 2rem 2rem; align-content: center; gap: .6rem; }
  .pg-post--big strong { font-size: clamp(1.5rem, 2.6vw, 2rem); }
  .pg-post--big .pg-post__teaser { font-size: 1rem; -webkit-line-clamp: 4; }
}
.pg-post--big .pg-post__body { display: flex; flex-direction: column; align-items: flex-start; }
.pg-post--big .pg-post__new + .pg-post__cat { margin-top: -.1rem; }
.pg-loading { color: var(--ink-soft); font-size: .9rem; text-align: center; padding: 1rem 0 0; }

/* blog post */
.pg-article__head { position: relative; padding: calc(var(--navh, 80px) + clamp(1rem, 3vw, 2rem)) 0 0;
  background: radial-gradient(120% 70% at 100% 0%, var(--mint-soft) 0%, transparent 60%), radial-gradient(80% 60% at 0% 60%, var(--peach-soft) 0%, transparent 65%); }
.pg-back { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; color: var(--accent) !important; text-decoration: none !important; margin-bottom: 1rem; }
.pg-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; color: var(--ink-soft); font-size: .9rem; margin-bottom: .7rem; }
.pg-article__meta > span { display: inline-flex; align-items: center; gap: .35rem; }
#nd-pg .pg-article__head h1 { font-size: clamp(1.9rem, 5.6vw, 3rem); margin: 0 0 1.4rem; }
.pg-article__imgwrap { width: min(100% - 32px, 980px); }
.pg-article__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; box-shadow: var(--e2); }
.pg-article__body { padding: clamp(1.6rem, 5vw, 2.6rem) 0 1rem; font-size: 1.06rem; }
.pg-related { border-top: 1px solid var(--hair); margin-top: 1.4rem; padding: 1.4rem 0 1rem; }
#nd-pg .pg-related h2 { font-size: 1.2rem; margin: 0 0 .8rem; }
.pg-related > div { display: grid; gap: .6rem; }
@media (min-width: 640px) { .pg-related > div { grid-template-columns: 1fr 1fr; } }
.pg-related a { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .9rem 1rem; border-radius: 16px; background: var(--surface); box-shadow: var(--e1); color: var(--ink) !important; font-weight: 600; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
.pg-related a:hover { box-shadow: var(--e2); transform: translateY(-2px); }
.pg-related a svg { color: var(--accent); }

/* cta */
.pg-cta { padding: .6rem 0 clamp(3rem, 8vw, 4.6rem); }
.pg-cta__card { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: var(--deep); padding: 1.8rem 1.3rem; display: grid; gap: 1.1rem; }
.pg-cta__card > img { position: absolute; z-index: -1; right: -24px; bottom: -28px; width: 150px; opacity: .22; transform: rotate(-10deg); }
#nd-pg .pg-cta__card h2 { color: #fff; font-size: clamp(1.4rem, 4vw, 2rem); margin: 0 0 .3rem; }
.pg-cta__card p { color: rgba(255,255,255,.78); margin: 0; }
.pg-cta__btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none !important; transition: transform .16s, box-shadow .16s; }
.pg-btn:hover { transform: translateY(-2px); box-shadow: var(--e2); }
.pg-btn--mint { background: var(--mint); color: var(--deep) !important; }
.pg-btn--peach { background: var(--peach); color: #3B2414 !important; }
@media (min-width: 820px) { .pg-cta__card { grid-template-columns: 1fr auto; align-items: center; padding: 2.2rem 2.4rem; } .pg-cta__card > img { width: 210px; } }

@media (prefers-reduced-motion: reduce) {
  #nd-pg *, #nd-pg *::before { animation: none !important; transition: none !important; }
  .pg-rise { opacity: 1; transform: none; }
}
