/* M4 page blocks (site/blocks/render.ts). Loaded by pages that have blocks and by the CMS preview, so it carries its own fallbacks
   for the site's tokens. Style options are classes: pb-bg-*, pb-sp-*, pb-w-*, pb-vis-*. No styling JavaScript. */
.pb { --pb-ink: var(--ink, #16121a); --pb-navy: var(--navy, #15123a); --pb-brand: var(--brand, #6d1b7b); --pb-brand-dark: var(--brand-dark, #3f0d52);
  --pb-accent: var(--accent, #e11d74); --pb-stone: var(--stone, #6b6470); --pb-paper2: var(--paper-2, #f5f3f8); --pb-line: var(--hairline, #e8e3ee);
  font-family: 'Inter', system-ui, sans-serif; color: var(--pb-ink); }
.pb__in { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pb-w-narrow .pb__in { max-width: 760px; }
.pb-w-full .pb__in { max-width: none; padding: 0; }
.pb-sp-s { padding: 16px 0; } .pb-sp-m { padding: 32px 0; } .pb-sp-l { padding: 56px 0; }
.pb-bg-light { background: var(--pb-paper2); }
.pb-bg-brand { background: linear-gradient(100deg, var(--pb-brand-dark), var(--pb-brand) 60%, var(--pb-accent)); color: #fff; }
.pb-bg-dark { background: #150c1c; color: #f3eef7; }
.pb-bg-brand h2, .pb-bg-dark h2, .pb-bg-brand h3 a, .pb-bg-dark h3 a { color: #fff; }
@media (max-width: 760px) { .pb-vis-desktop { display: none; } }
@media (min-width: 761px) { .pb-vis-mobile { display: none; } }

.pb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 18px; border-bottom: 2px solid var(--pb-line); }
.pb-head h2 { margin: 0; font-size: 22px; font-weight: 800; padding-bottom: 8px; }
.pb-head a { font-size: 14px; font-weight: 700; color: var(--brand-text, var(--pb-brand)); text-decoration: none; white-space: nowrap; }
.pb-empty { color: var(--pb-stone); }

/* hero */
.pb-hero { position: relative; border-radius: 16px; overflow: hidden; background: linear-gradient(110deg, #170a20, #2d1140 55%, #6d1b7b); color: #fff; min-height: 320px; display: flex; align-items: flex-end; }
.pb-w-full .pb-hero { border-radius: 0; }
.pb-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pb-hero--img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,6,18,.9), rgba(12,6,18,.35) 55%, rgba(12,6,18,.1)); }
.pb-hero__copy { position: relative; z-index: 1; padding: 40px; max-width: 760px; }
.pb-hero--center { justify-content: center; text-align: center; } .pb-hero--center .pb-hero__copy { margin: 0 auto; }
.pb-hero h1, .pb-hero__h { color: #fff; font-size: clamp(30px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 12px; font-weight: 800; }
.pb-hero p { color: #f0dcf1; font-size: 18px; line-height: 1.5; margin: 0 0 20px; }
.pb-btn { display: inline-block; background: #fff; color: var(--pb-brand-dark); font-weight: 800; padding: 13px 26px; border-radius: 999px; text-decoration: none; }
.pb-btn:hover { background: var(--pb-accent); color: #fff; }

/* story lists */
.pb-stories { display: grid; gap: 24px; }
.pb-stories--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb-stories--list, .pb-stories--compact { grid-template-columns: minmax(0, 1fr); }
.pb-card { min-width: 0; }
.pb-card__media { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #2a1d33; aspect-ratio: 16 / 10; margin-bottom: 10px; }
.pb-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-stories--list .pb-card { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: start; }
.pb-stories--list .pb-card__media { aspect-ratio: 4 / 3; margin: 0; }
.pb-stories--compact .pb-card { border-bottom: 1px solid var(--pb-line); padding-bottom: 12px; }
.pb-card__body { display: flex; flex-direction: column; gap: 6px; }
.pb-card h3 { font-size: 17px; line-height: 1.25; margin: 0; font-weight: 800; }
.pb-card h3 a { color: var(--pb-navy); text-decoration: none; }
.pb-card h3 a:hover { text-decoration: underline; }
.pb-card p { margin: 0; font-size: 14px; color: #4b4453; line-height: 1.5; }
.pb-card time { font-size: 12px; color: var(--pb-stone); }
.pb-bg-brand .pb-card time, .pb-bg-dark .pb-card time, .pb-bg-brand .pb-card p, .pb-bg-dark .pb-card p { color: #e8dcee; }
.pb-tag { align-self: flex-start; background: var(--cat, var(--pb-accent)); color: #fff; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; padding: 4px 9px; border-radius: 3px; }
.pb-play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(220, 38, 38, .92); }
.pb-play::after { content: ''; position: absolute; left: 18px; top: 14px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }

/* newsletter */
.pb-news { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; background: linear-gradient(100deg, #3f0d52, #7a1f86 55%, #e11d74); color: #fff; border-radius: 16px; padding: 32px; }
.pb-news h2 { color: #fff; margin: 0 0 6px; font-size: 26px; }
.pb-news p { color: #f0dcf1; margin: 0; max-width: 460px; }
.pb-news__form { display: flex; flex-wrap: wrap; gap: 10px; }
.pb-news__form input { font: 15px 'Inter', sans-serif; padding: 13px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.14); color: #fff; min-width: 240px; }
.pb-news__form input::placeholder { color: #e6cdea; }
.pb-news__form button { background: #fff; color: #3f0d52; border: 0; font-weight: 800; padding: 13px 24px; border-radius: 999px; cursor: pointer; text-transform: uppercase; letter-spacing: .05em; }
.pb-news__status { flex-basis: 100%; }
.pb-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; }

/* ad slot: always labelled, fixed size reserved while it loads (no layout jump) */
.pb-ad { text-align: center; }
.pb-ad__label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--pb-stone); margin-bottom: 6px; }
.pb-ad--728x90 { min-height: 110px; } .pb-ad--300x250 { min-height: 270px; } .pb-ad--320x100 { min-height: 120px; } .pb-ad--responsive { min-height: 120px; }

/* text, picture, video */
.pb-text { font-size: 18px; line-height: 1.7; }
.pb-text a { color: var(--brand-text, var(--pb-brand)); }
.pb-bg-brand .pb-text a, .pb-bg-dark .pb-text a { color: #fff; }
.pb-text blockquote { border-inline-start: 4px solid var(--pb-accent); margin: 18px 0; padding: 4px 18px; font-style: italic; }
.pb-image { margin: 0; }
.pb-image__img { width: 100%; height: auto; border-radius: 12px; display: block; }
.pb-image figcaption, .pb-video figcaption { font-size: 13px; color: var(--pb-stone); margin-top: 8px; }
.pb-video { margin: 0; }
.pb-video__facade { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.pb-video__facade img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.pb-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }

@media (max-width: 900px) { .pb-stories--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .pb__in { padding: 0 16px; }
  .pb-stories--grid { grid-template-columns: minmax(0, 1fr); }
  .pb-stories--list .pb-card { grid-template-columns: 110px 1fr; }
  .pb-hero__copy { padding: 26px 22px; }
  .pb-news { padding: 24px 20px; }
  .pb-news__form input { min-width: 0; flex: 1 1 200px; }
}

/* Form block: same look as the forms of the built-in pages (routes/site-page.astro) */
.pb-form { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; background: var(--paper); border: 1px solid var(--hairline); border-radius: 10px; padding: 24px; }
.pb-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pb-form input[type="text"], .pb-form input[type="email"], .pb-form input[type="url"], .pb-form textarea, .pb-form select {
  font-family: 'Inter', sans-serif; font-size: 14px; padding: 10px 12px; border: 1px solid var(--hairline);
  border-radius: 6px; color: var(--ink); font-weight: 400; resize: vertical; background: #fff;
}
.pb-form input:focus, .pb-form textarea:focus, .pb-form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.pb-form button {
  align-self: flex-start; background: var(--accent); color: #fff; border: none; font-weight: 700;
  padding: 12px 24px; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 14px; cursor: pointer;
}
.pb-form button:hover { background: var(--accent-dim); }
.pb-form .form-status { background: var(--paper-2); border-radius: 6px; padding: 12px; margin: 0; font-size: 13px; }
.pb-form .checkbox { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13.5px; color: var(--ink-2); }
.pb-form .checkbox input { margin-top: 3px; flex-shrink: 0; }
