/*
Theme Name: Pidopapas Bloques
Template: twentytwentyfive
Version: 1.0.0
Text Domain: pidopapas-bloques
*/
/* Raios compartidos por todos os compoñentes de Pidopapas. */
:root {
  --pp-radius-panel: 9px;
  --pp-radius-card: 7px;
  --pp-radius-media: 5px;
  --pp-radius-control: 4px;
  --pp-radius-card-inner: calc(var(--pp-radius-card) - 1px);
}

/* Pidopapas · portada editorial */
:is(.pp-home-v2, .pp-interior) {
  --pp-ink: #17253e;
  --pp-accent: #254874;
  --pp-cream: #fff5dc;
  --pp-line: #d5dfeb;
  color: var(--pp-ink);
}
.pp-home-v2 { max-width: 1180px; margin-inline: auto; }
:is(.pp-home-v2, .pp-interior) :is(h1, h2, h3) {
  color: var(--pp-ink);
  line-height: 1.12;
  text-wrap: balance;
  letter-spacing: -.035em;
}
.pp-home-v2 h1 { font-size: clamp(2.8rem, 6vw, 5.75rem); font-weight: 800; }
.pp-home-v2 h2 { font-size: clamp(1.85rem, 4vw, 3.3rem); font-weight: 800; }
.pp-home-v2 h3 { font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 750; }
.pp-home-v2 :is(p, h1, h2, h3, figure, .wp-block-buttons) { margin: 0; }
.pp-home-v2 p, .pp-interior p { line-height: 1.6; }

.pp-home-v2 .pp-lead-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(18px, 5vw, 72px);
  margin-block-start: clamp(34px, 6vw, 74px);
  padding: clamp(20px, 5vw, 54px);
  border-radius: var(--pp-radius-panel);
  background: #f4effb;
}

.pp-home-v2 :is(.pp-explore, .pp-bookshops, .pp-story) { margin-block-start: clamp(34px, 6vw, 74px); }
.pp-home-v2 .pp-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: clamp(10px, 2vw, 22px);
  margin-block-start: 20px;
}
.pp-home-v2 .pp-routes > .pp-route {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border-radius: var(--pp-radius-card);
  border: 1px solid var(--pp-line);
}
.pp-home-v2 .pp-books { background: #f4effb; }
.pp-home-v2 .pp-workshops { background: #e8f4ed; }
.pp-home-v2 .pp-resources { background: #fff5dc; }
.pp-home-v2 .pp-route .wp-block-buttons { margin-block-start: auto; padding-block-start: 6px; }
.pp-home-v2 .pp-bookshops {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: clamp(22px, 4vw, 46px);
  border-radius: var(--pp-radius-panel);
  background: #282341;
  color: #fff;
}
.pp-home-v2 .pp-band-copy { display: grid; gap: 10px; }
.pp-home-v2 .pp-bookshops h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.5rem); }
.pp-home-v2 .pp-story { display: grid; gap: 14px; max-width: 62ch; padding-block-end: 8px; }
.pp-interior .pp-lede { font-size: clamp(1.15rem, 2.4vw, 1.55rem); }
:is(.pp-home-v2, .pp-interior) .wp-block-buttons { gap: 10px; }
:is(.pp-home-v2, .pp-interior) .wp-block-button__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: .65em 1.05em;
  border-radius: var(--pp-radius-control);
  background: var(--pp-accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
:is(.pp-home-v2, .pp-interior) .wp-block-button__link:hover { background: #17355c; }
:is(.pp-home-v2, .pp-interior) .wp-block-button__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}
:is(.pp-home-v2, .pp-interior) .pp-quiet .wp-block-button__link {
  background: transparent;
  color: var(--pp-accent);
  box-shadow: inset 0 0 0 1px currentColor;
}
.pp-home-v2 .pp-story .pp-quiet .wp-block-button__link {
  padding-inline: 0;
  border-radius: 0;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pp-home-v2 .pp-bookshops .wp-block-button__link { background: var(--pp-cream); color: var(--pp-ink); }
.pp-home-v2 .pp-bookshops .wp-block-button__link:hover { background: #ffe4aa; }

@media (max-width: 740px) {
  .pp-home-v2 .pp-routes { grid-template-columns: minmax(0, 1fr); }
}

.pp-site-header, .pp-site-footer {
  max-width: 1180px;
  margin-inline: auto;
  padding: 20px clamp(16px, 5vw, 40px);
}
/* Keep the whole header in view, including the native mobile navigation. */
html { --pp-sticky-top:0px; scroll-padding-top:calc(var(--pp-sticky-top) + 104px); }
html:has(body.admin-bar) { --pp-sticky-top:32px; }
.wp-site-blocks > header:has(.pp-site-header) {
 position:sticky; top:var(--pp-sticky-top); z-index:10000;
 background:rgb(255 255 255 / 97%); box-shadow:0 3px 16px rgb(23 53 92 / 6%);
 margin-block-start:0;
}
 .pp-site-header { border-bottom:1px solid #d5dfeb; transition:padding-block .2s ease; }
.pp-site-header.pp-header-compact { padding-block:8px; }
.pp-site-header .pp-site-logo img { transition:width .2s ease; }
.pp-site-header.pp-header-compact .pp-site-logo img { width:clamp(110px,13vw,148px); }
.pp-site-header .wp-block-navigation__responsive-container-open { min-width:44px; min-height:44px; justify-content:center; align-items:center; }
@media (prefers-reduced-motion:reduce) {
 .pp-site-header, .pp-site-header .pp-site-logo img { transition:none; }
}

@media (max-width:782px) { html:has(body.admin-bar) { --pp-sticky-top:46px; } }
@media (max-width:600px) {
 html:has(body.admin-bar) { --pp-sticky-top:0px; }
 html { scroll-padding-top:90px; }
}

.pp-site-header .wp-block-site-title { color: #17253e; font-size: 1.45rem; font-weight: 800; }
.pp-site-footer { border-top: 1px solid #d5dfeb; }
.pp-home-v2 { padding: clamp(16px, 4vw, 40px); }
.pp-home-v2 .pp-route > .wp-block-image {
  aspect-ratio: 16 / 10;
  flex: none;
  margin: 0;
  overflow: hidden;
}
.pp-home-v2 .pp-route > .wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pp-home-v2 .pp-route-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: clamp(18px, 3vw, 28px);
}
.pp-home-v2 .pp-escape { background: #fff5dc; }
.pp-home-v2 .pp-bookshops p { color: #fff; }
.pp-home-v2 :is(.pp-story, .pp-route-body) .wp-block-buttons { justify-self: start; }

/* Subscrición e vídeo da portada */
.pp-site-logo { margin: 0; }
.pp-site-logo img { display: block; width: clamp(120px, 16vw, 180px); aspect-ratio: 100 / 26; height: auto; }
.pp-home-v2 .pp-signup {
  display: grid;
  gap: 10px;
}
.pp-home-v2 .pp-signup h2 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
.pp-home-v2 .pp-signup :is(.pp-signup-link, input[type="submit"]) {
  justify-self: start;
  display: inline-block;
  padding: .7em 1em;
  color: #fff;
  background: #a83129;
  border: 0;
  border-radius: var(--pp-radius-control);
  font-weight: 700;
  text-decoration: none;
}
.pp-video { width: min(100%, 252px); justify-self: center; }
.pp-video :is(.pp-video-play, .pp-video-player) {
  display: grid;
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 0;
  border-radius: var(--pp-radius-media);
  background: #262033;
}
.pp-video-play img { width: 100%; height: 100%; object-fit: cover; }
.pp-video-play span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: #a83129;
}
.pp-home-v2 .pp-video p { margin-top: 10px; font-size: .9rem; text-align: center; }
.pp-video .pp-video-player { height: auto; }
.pp-video-play img { position: absolute; inset: 0; }
.pp-signup .wpcf7-form { display: grid; gap: 10px; }
.pp-signup .wpcf7-form input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
}
.pp-signup .wpcf7-list-item { margin-inline-start: 0; }

/* Portada fotográfica e coleccións */
.pp-home-v2 {
  --pp-ink: #17253e;
  --pp-accent: #254874;
  --pp-line: #d5dfeb;
  --pp-hero: #17355c;
  --pp-hero-text: #fff;
  --pp-hero-body: #e6eef9;
  --pp-photo: #d3e9f5;
  --pp-action: #ffd58a;
  --pp-action-text: #1c2d45;
  --pp-action-hover: #ffe8bd;
  --pp-paper: #eef3f8;
  --pp-shops: #233d5a;
  --pp-leads: #edf4fa;
}
.pp-home-v2 .pp-photo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  background: var(--pp-hero);
  color: var(--pp-hero-text);
  border-radius: var(--pp-radius-panel);
  overflow: hidden;
}
.pp-home-v2 .pp-photo-copy {
  display: grid;
  gap: clamp(13px, 2vw, 24px);
  padding: clamp(24px, 5vw, 64px);
}
.pp-home-v2 .pp-photo-copy h1 {
  color: var(--pp-hero-text);
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  line-height: .99;
  letter-spacing: -.065em;
}
.pp-home-v2 .pp-photo-copy p { color: var(--pp-hero-body); max-width: 35ch; }
.pp-home-v2 .pp-photo-copy .wp-block-button:not(.pp-quiet) .wp-block-button__link {
  background: var(--pp-action);
  color: var(--pp-action-text);
}
.pp-home-v2 .pp-photo-copy .wp-block-button:not(.pp-quiet) .wp-block-button__link:hover {
  background: var(--pp-action-hover);
}
.pp-home-v2 .pp-photo-copy .pp-quiet .wp-block-button__link {
  color: var(--pp-hero-text);
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pp-home-v2 .pp-hero-video {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 0;
  margin: 0;
  padding: clamp(18px, 3vw, 38px);
  background: var(--pp-photo);
}
.pp-home-v2 .pp-hero-video .pp-video { width: min(100%, 224px); }
.pp-home-v2 .pp-hero-video .pp-video p { color: var(--pp-ink); }

.pp-home-v2 :is(.pp-collections,.pp-local-shops) { margin-block-start: clamp(42px, 6vw, 78px); }
.pp-home-v2 :is(.pp-collections,.pp-lead-panel) { scroll-margin-top: 20px; }
.pp-home-v2 .pp-collection-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-block-end: 20px;
}
.pp-home-v2 .pp-collection-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(12px, 1.6vw, 22px);
}
.pp-home-v2 .pp-collection-grid > .pp-collection {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius-card);
  background: #fff;
}
.pp-home-v2 .pp-collection > .wp-block-image {
  display: grid;
  aspect-ratio: 1;
  border-radius: var(--pp-radius-card-inner) var(--pp-radius-card-inner) 0 0;
  place-items: center;
  background: #e9f1f6;
  overflow: hidden;
}
.pp-home-v2 .pp-collection:nth-child(1) > .wp-block-image { background: #e9f0e6; }
.pp-home-v2 .pp-collection:nth-child(3) > .wp-block-image { background: #f3eade; }
.pp-home-v2 .pp-collection:nth-child(5) > .wp-block-image { background: #f0edf5; }
.pp-home-v2 .pp-collection img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.pp-home-v2 .pp-collection-label {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: clamp(13px, 1.5vw, 20px);
}
.pp-home-v2 .pp-collection-label h3 {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 6px;
  font-size: clamp(1.2rem, 2vw, 1.48rem);
}
.pp-collection-label h3:has(a)::after {
  content: '';
  flex: 0 0 .5em;
  width: .5em;
  height: .5em;
  margin: .26em .15em 0 0;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}
.pp-home-v2 .pp-collection-label p { font-size: .95rem; line-height: 1.45; }
.pp-home-v2 .pp-collection-label .pp-collection-age {
  color: #425e77;
  font-size: .78rem;
  font-weight: 650;
}
.pp-collection-label h3 a { color: inherit; text-decoration: none; }

/* Extend the real link to the whole card, with just one keyboard stop. */
:is(.pp-collection, .pp-seasonal-card.pp-book-choice):has(a) {
  position: relative;
  isolation: isolate;
}
:is(.pp-collection-label h3 a, .pp-book-choice .wp-block-button__link)::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: var(--pp-radius-card-inner);
}
:is(.pp-collection, .pp-book-choice):has(a:focus-visible) {
  outline: 3px solid #254874;
  outline-offset: 3px;
}
@media (hover: hover) {
  :is(.pp-home-v2 .pp-collection-grid > .pp-collection, .pp-seasonal .pp-book-choice):hover {
    border-color: #7795ae;
    box-shadow: 0 6px 18px #17355c14;
  }
  .pp-collection:hover h3 a {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}
@media (max-width: 1059px) {
  .pp-home-v2 .pp-collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pp-home-v2 .pp-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .pp-home-v2 .pp-collection-grid { grid-template-columns: minmax(0, 1fr); }
  .pp-home-v2 .pp-collection-grid > .pp-collection {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  }
  .pp-home-v2 .pp-collection > .wp-block-image {
    aspect-ratio: auto;
    border-radius: var(--pp-radius-card-inner) 0 0 var(--pp-radius-card-inner);
  }
  .pp-home-v2 .pp-collection-label { align-content: center; }
}
.pp-home-v2 .pp-local-shops {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  background: var(--pp-shops);
  border-radius: var(--pp-radius-panel);
  color: #fff;
  overflow: hidden;
}
.pp-home-v2 .pp-local-shops > .wp-block-image { align-self: stretch; }
.pp-home-v2 .pp-local-shops img { display: block; width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.pp-home-v2 .pp-local-copy { display: grid; align-content: center; gap: 12px; margin: 0; padding: clamp(20px,4vw,44px); }
.pp-home-v2 .pp-local-copy :is(h2,p) { color: #fff; }
.pp-home-v2 .pp-local-copy .wp-block-button__link { background: var(--pp-action); color: var(--pp-action-text); }
.pp-home-v2 .pp-local-copy .wp-block-button__link:hover { background: var(--pp-action-hover); }
@media (max-width: 820px) {
  .pp-home-v2 :is(.pp-photo-hero,.pp-local-shops) { grid-template-columns: minmax(0,1fr); }
  .pp-home-v2 .pp-local-shops img { min-height: 0; max-height: 260px; }
}
@media (max-width: 580px) {
  .pp-home-v2 .pp-lead-panel { grid-template-columns: minmax(0,1fr); }
}

.pp-home-v2 .pp-lead-panel { background: var(--pp-leads); }
.pp-home-v2 .pp-local-shops,
.pp-home-v2 .pp-local-copy :is(h2,p) { color: #fff; }
.pp-home-v2 .pp-signup :is(.pp-signup-link, input[type="submit"]) {
  background: var(--pp-accent);
}

.pp-home-v2 .pp-signup { max-width: 65ch; }
.pp-home-v2 .pp-project {
  padding-block-start: clamp(24px, 5vw, 52px);
  margin-block-start: clamp(32px, 6vw, 72px);
  border-block-start: 1px solid var(--pp-line);
}
.pp-home-v2 .pp-project .pp-story { margin: 0; }
.pp-home-v2 .pp-project-copy > p { margin-block-start: 16px; }
.pp-site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 26px;
}
.pp-site-footer .wp-block-navigation { margin: 0; }
.pp-site-footer .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.pp-home-v2 .pp-feature-school { background: #254874; }
.pp-home-v2 .pp-feature-escape { background: #17355c; }
@media (min-width: 821px) {
  .pp-home-v2 .pp-feature-school { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .pp-home-v2 .pp-feature-school > .wp-block-image { grid-column: 2; grid-row: 1; }
  .pp-home-v2 .pp-feature-school .pp-local-copy { grid-column: 1; grid-row: 1; }
}

.pp-home-v2 .pp-photo-copy .wp-block-button.pp-quiet { flex-basis: 100%; }
.pp-home-v2 .pp-photo-copy .pp-quiet .wp-block-button__link { padding-inline: 0; }
.pp-home-v2 .pp-print-preview { margin: 0; }
.pp-home-v2 .pp-print-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--pp-radius-media);
}
.pp-home-v2 .pp-print-preview figcaption {
  color: var(--pp-ink);
  font-size: .875rem;
  text-align: start;
}

/* Vídeo destacado e tarxeta de subscrición */
.pp-home-v2 .pp-photo-copy { padding: clamp(20px, 4vw, 52px); }
.pp-home-v2 .pp-photo-copy h1 { font-size: clamp(2.45rem, 4.8vw, 4.45rem); }
.pp-home-v2 .pp-hero-video .pp-video { width: min(100%, 280px); }
.pp-home-v2 .pp-lead-panel {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  margin-block-start: clamp(24px, 4vw, 48px);
  padding: clamp(20px, 4vw, 48px);
  border: 1px solid var(--pp-line);
  background: #fff;
}
.pp-home-v2 .pp-signup {
  gap: 14px;
  min-width: 0;
}
.pp-home-v2 .pp-signup h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.pp-home-v2 .pp-signup .wpcf7 {
  margin-block-start: 2px;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius-card);
  background: var(--pp-leads);
}
.pp-home-v2 .pp-signup .wpcf7-form p { margin: 0; }
.pp-home-v2 .pp-signup .wpcf7-acceptance { font-size: .9rem; }
.pp-home-v2 .pp-signup input[type="email"] {
  margin-block-start: 6px;
  border: 1px solid #aebfd0;
  border-radius: var(--pp-radius-control);
  background: #fff;
  color: var(--pp-ink);
}
.pp-home-v2 .pp-signup input[type="submit"] { min-height: 44px; }
.pp-home-v2 .pp-print-preview {
  box-sizing: border-box;
  width: min(100%, 380px);
  justify-self: center;
  margin: 0;
  padding: clamp(10px, 2vw, 16px);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius-card);
  background: var(--pp-paper);
}
.pp-home-v2 .pp-print-preview figcaption { margin-block: 10px 0; }
@media (max-width: 700px) {
  .pp-home-v2 .pp-hero-video .pp-video { width: min(100%, 220px); }
  .pp-home-v2 .pp-lead-panel { grid-template-columns: minmax(0, 1fr); }
  .pp-home-v2 .pp-print-preview { justify-self: start; }
}

/* Sobre Pidopapas */
.pp-interior.pp-about {
  max-width: 1040px;
  margin-inline: auto;
}
.pp-about .pp-about-intro {
  padding: clamp(24px, 5vw, 54px);
  border-radius: var(--pp-radius-panel);
  background: #17355c;
  color: #fff;
}
.pp-about .pp-about-intro p {
  max-width: 53ch;
  margin: 0;
  line-height: 1.55;
}
.pp-about .pp-about-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(22px, 5vw, 68px);
  margin-block-start: clamp(32px, 6vw, 68px);
}
.pp-about .pp-about-copy, .pp-about .pp-about-ending { display: grid; gap: 14px; }
.pp-about :is(.pp-about-copy, .pp-about-ending) > :is(h2, p) { margin: 0; }
.pp-about h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
.pp-about figure.pp-about-photo { margin: 0; }
.pp-about .pp-about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 61%;
  border-radius: var(--pp-radius-media);
}
.pp-about .pp-about-photo figcaption { margin-block-end: 0; text-align: start; }
.pp-about .pp-about-ending {
  margin-block-start: clamp(32px, 6vw, 68px);
  padding: clamp(22px, 5vw, 46px);
  border: 1px solid #d5dfeb;
  border-radius: var(--pp-radius-panel);
  background: #edf4fa;
}
.pp-about .pp-about-ending > p { max-width: 70ch; }
.pp-about .pp-about-extra-photo img { width: 100%; border-radius: var(--pp-radius-media); }
@media (min-width: 761px) {
  .pp-about .pp-about-reverse { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .pp-about .pp-about-reverse .pp-about-photo { grid-area: 1 / 1; }
  .pp-about .pp-about-reverse .pp-about-copy { grid-area: 1 / 2; }
}
@media (max-width: 760px) {
  .pp-about .pp-about-chapter { grid-template-columns: minmax(0, 1fr); }
}

/* Catálogo e cabeceira de Sobre Pidopapas */
.wp-site-blocks > .pp-page-main { margin-block-start: clamp(18px, 2.6vw, 34px); }
.pp-page-main > .wp-block-post-content { margin-block-start: clamp(12px, 2vw, 24px); }
.pp-about-main { padding-inline: clamp(16px, 4vw, 40px); }
.pp-about-main > .wp-block-post-title {
  max-width: 1040px;
  margin: 0 auto clamp(16px, 3vw, 34px);
  text-align: center;
}
.pp-home-v2.pp-catalog { padding-block-start: 0; }
.pp-catalog .pp-catalog-intro {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3.5vw, 42px);
  margin-block-end: clamp(22px, 4vw, 46px);
  border-radius: var(--pp-radius-panel);
  background: var(--pp-hero);
  color: var(--pp-hero-text);
}
.pp-catalog .pp-catalog-intro h1 {
  color: var(--pp-hero-text);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}
.pp-catalog .pp-catalog-intro p { max-width: 58ch; color: var(--pp-hero-body); }
.pp-catalog #escolle-o-teu-caderno { margin-block-end: 18px; }
.pp-catalog .pp-catalog-intro .wp-block-button__link { background: var(--pp-cream); color: var(--pp-ink); }
.pp-catalog .pp-catalog-intro .wp-block-button__link:hover { background: #ffe4aa; }
.pp-catalog .pp-catalog-intro .pp-quiet .wp-block-button__link { background: transparent; color: var(--pp-hero-text); }
.pp-catalog .pp-catalog-intro .pp-quiet .wp-block-button__link:hover { background: rgb(255 255 255 / 12%); }

.pp-workshops {
  display: grid;
  gap: clamp(32px, 6vw, 68px);
  max-width: 1080px;
  margin-inline: auto;
}
.pp-workshops :is(h2, h3, p, figure, .wp-block-buttons) { margin: 0; }
.pp-workshops h2 { font-size: clamp(1.65rem, 3.4vw, 2.65rem); }
.pp-workshops h3 { font-size: clamp(1.2rem, 2.3vw, 1.6rem); }
.pp-workshops :is(.pp-workshop-hero, .pp-workshop-example, .pp-workshop-options) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 4vw, 42px);
}
.pp-workshops :is(.pp-workshop-hero, .pp-workshop-example) { align-items: center; }
.pp-workshops :is(.pp-workshop-copy, .pp-workshop-option, .pp-workshop-contact, .pp-workshop-section) {
  display: grid;
  align-content: start;
  gap: 16px;
}
.pp-workshops :is(.pp-workshop-hero, .pp-workshop-libraries, .pp-workshop-contact) {
  padding: clamp(22px, 5vw, 52px);
  border-radius: var(--pp-radius-panel);
}
.pp-workshops .pp-workshop-hero { background: #17355c; color: #fff; }
.pp-workshops .pp-workshop-hero .wp-block-button__link { background: #ffd58a; color: var(--pp-ink); }
.pp-workshops .pp-workshop-hero .wp-block-button__link:hover { background: #ffe4aa; }
.pp-workshops :is(.pp-workshop-hero, .pp-workshop-example) img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--pp-radius-media);
}
.pp-workshops .pp-workshop-hero img { object-position: center 59%; }
.pp-workshops .pp-workshop-example img { object-position: center 53%; }
.pp-workshops .pp-workshop-option {
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius-card);
  background: #eef3f8;
}
.pp-workshops .pp-workshop-libraries { background: #dceef1; }
.pp-workshops .pp-workshop-contact { background: var(--pp-cream); }
.pp-workshops :is(.pp-workshop-libraries, .pp-workshop-contact) p { max-width: 62ch; }
.pp-workshops #solicitar-obradoiro { scroll-margin-block-start: 48px; }

/* Practical workshop information and the dedicated proposal request. */
/* Workshop sections have distinct reading rhythms: facts, formats, process. */
.pp-workshops .pp-workshop-eyebrow { color:#45627b; font-size:.72rem; font-weight:750; letter-spacing:.12em; line-height:1.4; }
.pp-workshops .pp-workshop-section-intro { display:grid; align-content:start; gap:14px; }
.pp-workshops .pp-workshop-practical-v2 {
 display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.65fr); gap:clamp(28px,5vw,60px);
 padding:clamp(24px,4vw,42px); background:#edf4f7; border-radius:8px;
}
.pp-page-main .pp-workshops .pp-workshop-practical-v2 h2 { font-size:clamp(1.6rem,2.8vw,2.15rem); max-width:13ch; }
.pp-workshop-practical-v2 .pp-workshop-section-intro > p:last-child { font-size:1rem; line-height:1.65; max-width:28ch; color:#425b70; }
.pp-workshop-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 28px; align-items:stretch; }
.pp-workshops .pp-workshop-fact { display:flex; flex-direction:column; gap:7px; padding:20px 0; border:0; border-bottom:1px solid #cbdce5; border-radius:0; background:none; margin:0; }
.pp-workshops .pp-workshop-fact:nth-child(-n+2) { padding-top:0; }
.pp-workshops .pp-workshop-fact:nth-last-child(-n+2) { border-bottom:0; padding-bottom:0; }
.pp-page-main .pp-workshops .pp-workshop-fact h3 { font-size:1.08rem; line-height:1.3; }
.pp-workshops .pp-workshop-fact p { font-size:.9rem; line-height:1.55; color:#41576a; }
.pp-workshops .pp-workshop-fact .pp-workshop-fact-label { font-size:.66rem; font-weight:700; letter-spacing:.08em; color:#476579; }
.pp-workshops .pp-workshop-formats { gap:24px; }
.pp-workshops .pp-workshop-formats-heading { display:grid; grid-template-columns:1.2fr 1fr; gap:32px; align-items:end; }
.pp-workshops .pp-workshop-section-note { max-width:39ch; font-size:1rem; line-height:1.6; color:#476074; }
.pp-workshops .pp-workshop-options-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-auto-rows:1fr; gap:22px; align-items:stretch; }
.pp-workshops .pp-workshop-options-three > .pp-workshop-format {
 display:flex; flex-direction:column; gap:15px; padding:26px; border:1px solid #d3dfe7;
 border-radius:7px; background:#fff; margin:0; box-sizing:border-box;
}
.pp-workshops .pp-workshop-format .pp-workshop-symbol { display:grid; align-items:center; justify-items:start; height:86px; box-sizing:border-box; padding:14px 18px; border-radius:4px; background:#fbf0dd; }
.pp-workshops .pp-workshop-format-enigmas .pp-workshop-symbol { background:#e5f0ee; }
.pp-workshops .pp-workshop-format-escape .pp-workshop-symbol { background:#e5eef6; }
.pp-workshop-symbol img { display:block; width:56px; height:56px; }
.pp-workshops .pp-workshop-format .pp-workshop-audience { min-height:2.8em; color:#50697b; font-size:.65rem; font-weight:750; letter-spacing:.07em; line-height:1.4; }
.pp-page-main .pp-workshops .pp-workshop-options-three h3 { font-size:1.4rem; line-height:1.2; }
.pp-workshops .pp-workshop-options-three p { font-size:.96rem; line-height:1.6; }
.pp-workshops .pp-workshop-option .pp-workshop-duration { margin-top:auto; padding-top:18px; border-top:1px solid #d7e2e9; color:#17355c; font-size:.86rem; font-weight:700; }
.pp-workshops .pp-workshop-process { gap:30px; padding-block:30px 0; border-top:1px solid #d4e0e8; }
.pp-workshop-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; align-items:stretch; }
.pp-workshops .pp-workshop-step { position:relative; display:flex; flex-direction:column; gap:14px; padding:0; background:none; border:0; border-radius:0; margin:0; }
.pp-workshops .pp-workshop-step:not(:last-child)::after { content:""; position:absolute; left:58px; right:-30px; top:24px; height:1px; background:#c5d7e3; }
.pp-workshops .pp-workshop-step-number { display:grid; place-items:center; width:48px; height:48px; border:1px solid #bfd2e1; border-radius:50%; background:#eaf2f7; color:#17355c; font-size:.85rem; font-weight:750; line-height:1; margin-bottom:5px; }
.pp-page-main .pp-workshops .pp-workshop-step h3 { font-size:1.2rem; line-height:1.3; }
.pp-workshops .pp-workshop-step p:not(.pp-workshop-step-number) { max-width:32ch; font-size:.96rem; line-height:1.65; color:#41586b; }
.pp-workshops .pp-workshop-process-link { font-size:.98rem; font-weight:700; }
.pp-workshop-process-link a { text-decoration-thickness:1px; text-underline-offset:5px; }
@media (max-width:900px) {
 .pp-workshops .pp-workshop-practical-v2 { grid-template-columns:1fr; }
 .pp-workshop-practical-v2 .pp-workshop-section-intro > p:last-child { max-width:55ch; }
 .pp-page-main .pp-workshops .pp-workshop-practical-v2 h2 { max-width:none; }
 .pp-workshops .pp-workshop-options-three { grid-template-columns:1fr; grid-auto-rows:auto; }
 .pp-workshops .pp-workshop-format .pp-workshop-audience { min-height:0; }
 .pp-workshops .pp-workshop-formats-heading { grid-template-columns:1fr; gap:16px; }
}
@media (max-width:620px) {
 .pp-workshop-facts { grid-template-columns:1fr; }
 .pp-workshops .pp-workshop-fact:nth-child(2) { padding-top:20px; }
 .pp-workshops .pp-workshop-fact:nth-last-child(2) { padding-bottom:20px; border-bottom:1px solid #cbdce5; }
 .pp-workshop-steps { grid-template-columns:1fr; gap:24px; }
 .pp-workshops .pp-workshop-step { display:grid; grid-template-columns:40px minmax(0,1fr); column-gap:16px; row-gap:8px; }
 .pp-workshops .pp-workshop-step-number { width:38px; height:38px; grid-column:1; grid-row:1 / 3; }
 .pp-workshop-step :is(h3,p:not(.pp-workshop-step-number)) { grid-column:2; }
 .pp-workshops .pp-workshop-step:not(:last-child)::after { left:19px; top:47px; right:auto; bottom:-15px; width:1px; height:auto; }
 .pp-workshops .pp-workshop-step p:not(.pp-workshop-step-number) { max-width:none; }
}
.pp-workshops .pp-workshop-form-note { font-size: .9rem; line-height: 1.55; }
.pp-workshop-contact > * { min-width: 0; margin-block: 0; }
.pp-workshops .pp-workshop-contact .wpcf7 { width: 100%; min-width: 0; margin: 10px 0 0; }
.pp-workshop-contact .wpcf7 p { max-width: none; }
.pp-workshop-request-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pp-request-field { min-width: 0; }
.pp-request-wide { grid-column: 1 / -1; }
.pp-request-field label { display: block; margin-block-end: 7px; font-size: .95rem; line-height: 1.4; font-weight: 650; color: #17253e; }
.pp-request-field .wpcf7-form-control-wrap { display: block; }
.pp-request-field :is(input, select, textarea) { box-sizing: border-box; display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #aebfd0; border-radius: var(--pp-radius-control); background: white; color: #17253e; font: inherit; font-size: 1rem; line-height: 1.4; }
.pp-request-field textarea { min-height: 106px; resize: vertical; }
.pp-request-field :is(input, textarea)::placeholder { color: #637287; opacity: 1; }
.pp-request-field :is(input, select, textarea):focus-visible { outline: 2px solid #254874; outline-offset: 2px; }
.pp-request-help { display: block; margin-block-start: 6px; color: #52667b; font-size: .82rem; line-height: 1.5; }
.pp-request-privacy { margin-block: 24px 18px; font-size: .9rem; line-height: 1.6; }
.pp-request-privacy .wpcf7-list-item { margin: 0; }
.pp-request-privacy input[type=checkbox] { width: 18px; height: 18px; margin: 0 7px 0 0; vertical-align: middle; accent-color: #254874; }
.pp-request-submit input[type=submit] { min-height: 48px; padding: 13px 22px; border: 0; border-radius: var(--pp-radius-control); background: #254874; color: white; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; }
.pp-request-submit input[type=submit]:hover { background: #17355c; }
.pp-request-submit input[type=submit]:disabled { opacity: .55; cursor: not-allowed; }
.pp-workshop-contact .wpcf7-not-valid-tip { margin-block-start: 5px; font-size: .85rem; color: #a5212c; }
.pp-workshop-contact .wpcf7-response-output { margin: 18px 0 0; padding: 14px; background: white; font-size: 1rem; }
@media (max-width: 900px) {
}
@media (max-width: 620px) {
  .pp-page-main:has(.pp-workshops) .wp-block-post-content { padding-inline: 20px; }
  .pp-page-main .pp-workshops { width: 100%; }
  .pp-workshops .pp-workshop-contact { padding-inline: 16px; }
  .pp-workshop-facts, .pp-workshop-steps, .pp-workshop-request-fields { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .pp-request-wide { grid-column: auto; }
  .pp-request-submit input[type=submit] { width: 100%; }
}

@media (max-width: 700px) {
  .pp-workshops :is(.pp-workshop-hero, .pp-workshop-example, .pp-workshop-options) { grid-template-columns: minmax(0, 1fr); }
}

.pp-seasonal {
  display: grid;
  gap: clamp(30px, 5vw, 62px);
  max-width: 1080px;
  margin-inline: auto;
}
.pp-seasonal :is(h1, h2, h3, p, figure, .wp-block-buttons) { margin: 0; }
.pp-seasonal h2 { font-size: clamp(1.55rem, 3.2vw, 2.5rem); }
.pp-seasonal h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.pp-seasonal :is(.pp-seasonal-copy, .pp-seasonal-section, .pp-seasonal-card) {
  display: grid;
  align-content: start;
  gap: 14px;
}
.pp-seasonal :is(.pp-seasonal-hero, .pp-seasonal-shops) {
  padding: clamp(20px, 4vw, 44px);
  border-radius: var(--pp-radius-panel);
}
.pp-seasonal .pp-seasonal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
  background: #fbefdf;
}
.pp-seasonal .pp-seasonal-hero img { display: block; width: 100%; border-radius: var(--pp-radius-media); }
.pp-seasonal .pp-seasonal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}
.pp-seasonal .pp-seasonal-card {
  grid-template-rows: auto auto 1fr auto;
  padding: clamp(16px, 2.5vw, 26px);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius-card);
  background: #fffaf2;
}
.pp-seasonal .pp-seasonal-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; }
.pp-seasonal .pp-seasonal-samples img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: var(--pp-radius-media);
  background: #f6f3ee;
}
.pp-seasonal figcaption { margin-block: 8px 0; color: var(--pp-ink); }
.pp-seasonal .pp-seasonal-shops { background: #dceef1; }
.pp-seasonal #escolle-o-teu-caderno { scroll-margin-block-start: 48px; }

@media (max-width: 700px) {
  .pp-seasonal :is(.pp-seasonal-hero, .pp-seasonal-grid) { grid-template-columns: minmax(0, 1fr); }
  .pp-seasonal .pp-seasonal-card img { max-width: 240px; margin-inline: auto; }
}

.pp-christmas .pp-seasonal-hero { background: #e8f0e7; }
.pp-christmas .pp-seasonal-card { background: #f9fbf7; }

.pp-summer .pp-seasonal-hero { background: #e3f1f7; }
.pp-adults .pp-seasonal-hero { background: #f5ede3; }
.pp-book-detail .pp-seasonal-hero > .wp-block-image { width: min(100%, 360px); justify-self: center; }
.pp-book-detail #interior-do-caderno { scroll-margin-block-start: 48px; }
.pp-book-detail .pp-seasonal-samples img { aspect-ratio: 5 / 6; }

.pp-bookshop-directory {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
  max-width: 1080px;
  margin-inline: auto;
}
.pp-bookshop-directory > * { margin-block: 0; }
.pp-bookshop-directory [hidden] { display: none; }
.pp-bookshop-directory .pp-directory-intro { max-width: 64ch; }
.pp-page-main .pp-bookshop-directory { gap: 22px; }
.pp-bookshop-directory #mapa-librarias { scroll-margin-block-start: 24px; }
.pp-bookshop-directory [hidden] { display: none !important; }
.pp-bookshop-directory .pp-directory-browser {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
  align-items: stretch;
  gap: 20px;
  margin-block-start: 0;
}
.pp-directory-browser > *, .pp-directory-map-panel > *, .pp-directory-results > * { margin-block: 0; }
.pp-directory-map-panel { min-width: 0; border: 1px solid var(--pp-line); border-radius: var(--pp-radius-panel); overflow: hidden; background: #f3f7fa; }
.pp-directory-map-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 14px 18px; background: #153657; color: white; font-size: .88rem; }
.pp-directory-map-toolbar button { padding: 7px 11px; border: 1px solid #ffffff80; border-radius: var(--pp-radius-control); background: transparent; color: white; font: inherit; cursor: pointer; }
.pp-directory-map-toolbar button:hover { background: #ffffff17; }
.pp-directory-map { height: 490px; width: 100%; position: relative; z-index: 1; background: #e5ecdf; font-family: inherit; }
.pp-bookshop-directory .pp-directory-map-note { margin: 0; padding: 12px 16px; color: #4c6175; font-size: .8rem; line-height: 1.5; }
.pp-directory-map-error { padding: 10px 16px; color: #773f16; background: #fff5dc; font-size: .9rem; }
.pp-directory-results { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--pp-line); border-radius: var(--pp-radius-panel); overflow: hidden; background: white; }
.pp-directory-results-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; background: #f3f7fa; border-bottom: 1px solid var(--pp-line); }
.pp-page-main .pp-bookshop-directory .pp-directory-results-header h2 { font-size: 1.1rem; line-height: 1.3; margin: 0; }
.pp-directory-clear-town { flex-shrink: 0; padding: 7px 9px; border: 1px solid #9aafc2; border-radius: var(--pp-radius-control); color: #153657; background: white; font: inherit; font-size: .8rem; cursor: pointer; }
.pp-directory-results-list { flex: 1; max-height: 530px; min-height: 0; overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.pp-directory-card { padding: 18px; border-bottom: 1px solid #dfe6ed; }
.pp-directory-card:last-child { border-bottom: 0; }
.pp-page-main .pp-bookshop-directory .pp-directory-card h3 { margin: 4px 0 10px; font-size: 1.1rem; line-height: 1.35; }
.pp-bookshop-directory .pp-directory-card-place { margin: 0; font-size: .78rem; line-height: 1.4; color: #51647a; }
.pp-directory-card a { display: inline-block; font-size: .85rem; font-weight: 650; color: #254874; text-underline-offset: 4px; }
.pp-directory-card:hover { background: #f7fafc; }
.pp-directory-browser :is(button, a, [tabindex]):focus-visible { outline: 3px solid #557d9b; outline-offset: 3px; }
.pp-directory-browser.pp-map-unavailable { grid-template-columns: minmax(0, 1fr); }
.pp-directory-map .leaflet-tile { max-width: none; max-height: none; border-radius: 0; }
.pp-directory-map .leaflet-control-zoom a { color: #153657; width: 36px; height: 36px; line-height: 36px; text-decoration: none; }
.pp-directory-map .leaflet-control-attribution { font-size: 11px; background: #fffffff2; padding: 2px 6px; }
.pp-directory-map .leaflet-control-attribution a { color: #254874; }
.pp-directory-map .pp-town-marker { display: grid; place-items: center; border: 2px solid white; border-radius: 50%; color: white; background: #254874; box-shadow: 0 2px 7px #152e4b55; font-size: 14px; font-weight: 750; }
.pp-directory-map .pp-town-marker.is-selected { background: #f6ca7b; color: #153657; border-color: #153657; z-index: 1000 !important; }
.pp-directory-map .pp-town-marker.is-cluster { border: 4px solid #fff; box-shadow: 0 0 0 4px #25487444, 0 2px 7px #152e4b55; }
.pp-directory-map .pp-town-marker:hover { background: #153657; transform-origin: center; }
.pp-directory-map .leaflet-popup-content-wrapper { border-radius: var(--pp-radius-card); }
.pp-directory-map .leaflet-popup-content { margin: 18px 22px; font-family: inherit; }
.pp-directory-popup strong { display: block; color: #153657; font-size: 1.1rem; }
.pp-directory-popup p { font-size: .8rem; margin: 5px 0 12px; }
.pp-directory-popup a { display: block; color: #254874; padding-block: 7px; border-top: 1px solid #e2e8ef; font-size: .88rem; }
@media (max-width: 850px) {
  .pp-bookshop-directory .pp-directory-browser { grid-template-columns: minmax(0, 1fr); }
  .pp-directory-map { height: 390px; }
  .pp-directory-results-list { max-height: 420px; }
}
@media (max-width: 520px) {
  .pp-directory-map { height: 330px; }
  .pp-directory-map-toolbar { padding: 12px; font-size: .8rem; }
  .pp-bookshop-directory .pp-directory-intro { font-size: 1.05rem; }
}
.pp-directory-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .75fr) auto;
  align-items: end;
  gap: 12px 16px;
  padding: 18px;
  border-radius: var(--pp-radius-card);
  background: #edf4fa;
}
.pp-directory-filters label { display: grid; gap: 5px; font-size: 1rem; font-weight: 650; }
.pp-directory-filters :is(input, select, button) {
  box-sizing: border-box;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #aebfd0;
  border-radius: var(--pp-radius-control);
  background: #fff;
  color: var(--pp-ink);
  font: inherit;
}
.pp-directory-filters button:disabled { opacity: .6; }
.pp-directory-filters :is(input, select, button):focus-visible { outline: 2px solid var(--pp-accent); outline-offset: 2px; }
.pp-directory-filters .pp-directory-status { grid-column: 1 / -1; margin: 0; font-size: 1rem; }
.pp-bookshop-directory .pp-directory-table table { width: 100%; font-size: clamp(.875rem, 1.7vw, 1rem); }
.pp-directory-table :is(th, td) { padding: clamp(6px, 1.35vw, 14px); overflow-wrap: anywhere; }
.pp-directory-table th { text-align: start; color: #fff; background: var(--pp-accent); }
.pp-directory-table tbody tr:nth-child(even) { background: #f3f7fa; }
.pp-directory-trade {
  padding: clamp(20px, 4vw, 40px);
  border-radius: var(--pp-radius-card);
  background: #edf4fa;
}
.pp-directory-trade > :first-child { margin-block-start: 0; }

@media (max-width: 620px) {
  .pp-directory-filters { grid-template-columns: minmax(0, 1fr) auto; }
  .pp-directory-filters label:first-child { grid-column: 1 / -1; }
}

.pp-home-v2 .pp-photo-hero > .pp-hero-signup {
  align-self: stretch;
  align-content: center;
  max-width: none;
  margin: 0;
  padding: clamp(20px, 4vw, 44px);
  background: var(--pp-leads);
  color: var(--pp-ink);
  scroll-margin-top: 48px;
}
.pp-home-v2 .pp-hero-signup .wpcf7 {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.pp-home-v2 .pp-hero-signup input[type="submit"] { width: 100%; }
.pp-home-v2 .pp-home-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 18px;
  margin-block-start: clamp(28px, 5vw, 62px);
}
.pp-home-v2 .pp-home-media .pp-hero-video { border-radius: var(--pp-radius-card); }
.pp-home-v2 .pp-home-media .pp-print-preview {
  display: grid;
  align-content: center;
  justify-items: center;
  width: 100%;
}
.pp-home-v2 .pp-home-media .pp-print-preview img { max-width: 350px; }

/* As grellas controlan a separación entre as súas tarxetas. */
:is(.pp-workshops .pp-workshop-options, .pp-seasonal .pp-seasonal-grid, .pp-home-v2 .pp-home-features) {
  grid-auto-rows: 1fr;
  align-items: stretch;
}
:is(.pp-workshops .pp-workshop-options, .pp-seasonal .pp-seasonal-grid, .pp-home-v2 .pp-home-features) > * {
  margin-block: 0;
  min-width: 0;
}
.pp-home-v2 .pp-home-features {
  display: grid;
  gap: clamp(22px, 4vw, 48px);
  margin-block-start: clamp(42px, 6vw, 78px);
}
.pp-home-v2 .pp-home-features > .pp-local-shops { margin-block: 0; }

@media (max-width: 820px) {
  .pp-home-v2 .pp-photo-hero > .pp-photo-copy,
  .pp-home-v2 .pp-photo-hero > .pp-hero-signup { padding: 16px 20px; gap: 8px; }
  .pp-home-v2 .pp-photo-hero > .pp-photo-copy h1 { font-size: clamp(1.8rem, 7vw, 3rem); line-height: 1.06; }
  .pp-home-v2 .pp-hero-signup h2 { font-size: clamp(1.38rem, 5vw, 2rem); }
  .pp-home-v2 .pp-photo-hero p { font-size: 1rem; line-height: 1.45; }
  .pp-home-v2 .pp-hero-signup .wpcf7-form { gap: 8px; }
}
@media (max-width: 580px) {
  .pp-home-v2 .pp-home-media { grid-template-columns: minmax(0, 1fr); }
}

/* Interior editorial system: one alignment, one hierarchy, no orphan titles. */
.pp-page-heading {
 box-sizing: border-box;
 width: min(1080px, calc(100% - 40px));
 max-width: none !important;
 margin: 0 auto 28px !important;
 padding: 14px 0 24px;
 border-bottom: 1px solid #d5dfeb;
}
.pp-page-heading .pp-breadcrumb { margin: 0 0 16px; font-size: .82rem; letter-spacing: .04em; color: #50667d; }
.pp-page-heading .pp-breadcrumb a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pp-page-heading > .wp-block-post-title,
.pp-catalog .pp-catalog-intro h1 {
 max-width: 24ch;
 margin: 0;
 text-align: left;
 font-size: clamp(2rem, 4vw, 3.45rem);
 font-weight: 750;
 line-height: 1.08;
 letter-spacing: -.045em;
 text-wrap: balance;
 color: #17355c;
}
.pp-catalog .pp-catalog-intro h1 { color: #fff; }
.pp-about-main { padding-inline: 0; }
.pp-page-main .pp-interior { box-sizing: border-box; width: min(1080px, calc(100% - 40px)); }
.pp-page-main .pp-about { max-width: 1080px; }
.pp-page-main .pp-interior :is(h2,h3) { font-weight: 720; }
.pp-page-main .pp-interior h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.15; }
.pp-page-main .pp-interior h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.2; }
.pp-year .pp-seasonal-hero { background: #e5f0f5; }
.pp-year .pp-grid-four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.pp-year .pp-seasonal-card { background: #f4f8fb; padding: 20px; }
.pp-year .pp-seasonal-card h3 { font-size: 1.25rem; }
.pp-year .pp-seasonal-card p { font-size: 1rem; }
.pp-year .pp-seasonal-card .wp-block-button__link { font-size: .95rem; padding: 12px 16px; }
.pp-seasonal .pp-step { margin: 0; padding: 24px; border-radius: var(--pp-radius-card); background: #edf4fa; }
.pp-seasonal .pp-step h3 { margin-bottom: 12px; }
.pp-escapes .pp-seasonal-hero { background: #e5f0f5; }
.pp-escapes .pp-seasonal-card { background: #f5f8fb; }
.pp-thanks-panel { padding: clamp(24px,5vw,52px); border-radius: var(--pp-radius-panel); background: #edf4fa; display: grid; gap: 18px; }
.pp-thanks-panel > :first-child { margin-top: 0; }
.pp-thanks-panel > :last-child { margin-bottom: 0; }
.pp-legal { max-width: 780px; margin: 0 auto; font-size: 1.05rem; }
.pp-legal h2 { margin: 2.1em 0 .65em; }
.pp-legal h3 { margin: 1.7em 0 .65em; }
.pp-legal :is(p,li) { line-height: 1.75; overflow-wrap: anywhere; }
.pp-legal > :first-child { margin-top: 0; }
.pp-contact { margin-inline: auto; }
.pp-contact > p { max-width: 65ch; }
.pp-contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px,4vw,50px); margin-top: 32px; }
.pp-contact-aside { border-radius: var(--pp-radius-panel); background: #17355c; color: #fff; padding: clamp(24px,4vw,40px); align-self: start; }
.pp-contact-aside :is(h2,h3,a) { color: #fff !important; }
.pp-contact-aside p { font-size: 1.05rem; }
.pp-contact-aside h2 { margin-top: 0; }
.pp-contact-form { margin: 0; padding: clamp(20px,3vw,32px); border: 1px solid #d5dfeb; border-radius: var(--pp-radius-panel); background: #f5f8fb; }
.pp-contact-form h2 { margin-top: 0; }
.pp-contact-form label { display: block; font-size: 1rem; font-weight: 600; }
.pp-contact-form :is(input[type="text"],input[type="email"],textarea) { box-sizing: border-box; width: 100%; margin-top: 6px; padding: 12px; background: white; color: #17253e; border: 1px solid #aebfd0; border-radius: var(--pp-radius-control); font: inherit; }
.pp-contact-form textarea { min-height: 150px; max-height: 350px; }
.pp-contact-form .wpcf7-list-item { margin: 0; }
.pp-contact-form .wpcf7-acceptance label { font-size: .9rem; font-weight: 400; }
.pp-contact-form input[type="submit"] { border: 0; border-radius: var(--pp-radius-control); min-height: 46px; padding: 12px 24px; background: #254874; color: #fff; font: inherit; cursor: pointer; }
.pp-contact-form input[type="submit"]:disabled { opacity: .6; }
.pp-journal { margin-inline: auto; }
.pp-journal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-block: 32px; }
.pp-journal-card { display: flex; flex-direction: column; border: 1px solid #d5dfeb; border-radius: var(--pp-radius-card); overflow: hidden; background: #fff; }
.pp-journal-card > a img { display: block; width: 100%; height: auto; aspect-ratio: 1.52; object-fit: cover; }
.pp-journal-card-copy { display: flex; flex-direction: column; flex: 1; gap: 14px; padding: 24px; }
.pp-journal-card-copy > * { margin: 0; }
.pp-journal-card-copy time { font-size: .8rem; color: #50667d; }
.pp-page-main .pp-journal-card h2 { font-size: 1.4rem; line-height: 1.2; }
.pp-journal-card h2 a { text-decoration: none; color: inherit; }
.pp-journal-card h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pp-journal-card-copy p { font-size: 1rem; }
.pp-journal-card-copy .pp-read { margin-top: auto; font-weight: 650; font-size: 1rem; }
.pp-pagination { display: flex; justify-content: center; gap: 12px; margin-block: 32px; }
.pp-pagination a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #254874; border-radius: var(--pp-radius-control); text-decoration: none; }
.pp-pagination a[aria-current="page"] { background: #254874; color: white; }
.pp-article-content { box-sizing: border-box; max-width: 780px !important; width: calc(100% - 40px); margin-inline: auto; }
.pp-article-content :is(p,li) { line-height: 1.75; }
.pp-article-content h2 { margin-top: 1.6em; font-weight: 720; font-size: clamp(1.6rem,3vw,2.3rem); }
.pp-article-content img { max-width: 100%; height: auto; border-radius: var(--pp-radius-media); }
.pp-article-content .wp-block-buttons { margin-block: 32px; }
@media(max-width:960px) { .pp-year .pp-grid-four, .pp-journal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) {
 .pp-year .pp-grid-four,.pp-journal-grid,.pp-contact-grid { grid-template-columns: minmax(0,1fr); }
 .pp-page-heading { padding-block: 8px 20px; margin-bottom: 20px !important; }
 .pp-page-heading .pp-breadcrumb { margin-bottom: 12px; }
 .pp-seasonal .pp-step { padding: 20px; }
}
.pp-page-heading { padding-block-start: 3px; }
.pp-page-main > .wp-block-post-featured-image {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}
.pp-page-main > .wp-block-post-content.is-layout-constrained > .pp-interior {
  max-width: 1080px;
}
.pp-page-main > .wp-block-post-content.is-layout-constrained > .pp-legal {
  max-width: 780px;
}
.pp-page-main .pp-workshops .pp-workshop-hero h2 { color: #fff; }

.pp-seasonal .pp-book-choice {
  background: #fff;
  padding: 0 0 clamp(12px, 1.5vw, 20px);
}
.pp-seasonal .pp-book-choice > figure {
  display: grid;
  place-items: center;
  border-radius: var(--pp-radius-card-inner) var(--pp-radius-card-inner) 0 0;
  overflow: hidden;
  background: #edf3f7;
}
.pp-seasonal .pp-book-choice img { max-height: 360px; }
.pp-seasonal .pp-book-choice > :is(h3, p, .wp-block-buttons) {
  margin-inline: clamp(12px, 1.5vw, 20px);
}
.pp-seasonal .pp-book-choice > p { font-size: 1rem; line-height: 1.5; }
.pp-seasonal .pp-book-choice .wp-block-button__link {
  position: static;
  padding: 4px 0;
  border-radius: 0;
  background: none;
  color: #254874;
  font-size: .95rem;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 600px) {
  .pp-seasonal .pp-book-choice {
    grid-template-columns: 100px minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    gap: 7px 12px;
    padding: 0;
  }
  .pp-seasonal .pp-book-choice > :is(h3, p, .wp-block-buttons) { grid-column: 2; }
  .pp-seasonal .pp-book-choice > figure {
    grid-row: 1 / 4;
    border-radius: var(--pp-radius-card-inner) 0 0 var(--pp-radius-card-inner);
  }
  .pp-seasonal .pp-book-choice > h3 { margin-block-start: 12px; }
  .pp-seasonal .pp-book-choice > .wp-block-buttons { margin-block-end: 8px; }
  .pp-seasonal .pp-book-choice > p { font-size: .95rem; line-height: 1.45; }
}

/* A imaxe medra lixeiramente dentro do seu marco, sen mover a grella. */
:is(.pp-route, .pp-local-shops, .pp-workshop-hero, .pp-workshop-example, .pp-seasonal-hero) > .wp-block-image {
  overflow: hidden;
}
:is(.pp-workshop-hero, .pp-workshop-example, .pp-seasonal-hero) > .wp-block-image {
  border-radius: var(--pp-radius-media);
}
.pp-journal-card > a {
  display: block;
  overflow: hidden;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.pp-collection, .pp-book-choice, .pp-route, .pp-local-shops, .pp-workshop-hero, .pp-workshop-example, .pp-seasonal-hero) > .wp-block-image img,
  .pp-journal-card > a img {
    transition: transform 240ms ease-out;
  }
  :is(.pp-collection, .pp-book-choice, .pp-route, .pp-local-shops, .pp-workshop-hero, .pp-workshop-example, .pp-seasonal-hero):hover > .wp-block-image img,
  .pp-journal-card:hover > a img {
    transform: scale(1.035);
  }
}

/* O vídeo acompaña as mostras do interior de cada colección. */
.pp-video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(16px, 4vw, 42px);
  padding: clamp(18px, 3vw, 32px);
  border-radius: var(--pp-radius-panel);
  background: #edf4fa;
}
.pp-video-feature.pp-video-portrait {
  grid-template-columns: minmax(0, 1fr) minmax(0, .65fr);
}
.pp-video-feature .pp-video { width: 100%; }
.pp-video-feature.pp-video-portrait .pp-video { width: min(100%, 240px); }
.pp-video-feature:not(.pp-video-portrait) :is(.pp-video-play, .pp-video-player) { aspect-ratio: 16 / 9; }
.pp-seasonal .pp-video-feature .pp-video-play img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.pp-video-feature .pp-video-play:focus-visible {
  outline: 3px solid #254874;
  outline-offset: 3px;
}
@media (max-width: 680px) {
  .pp-video-feature,
  .pp-video-feature.pp-video-portrait { grid-template-columns: minmax(0, 1fr); }
}

/* Presentación e vídeo xunto ao formulario de captación. */
.pp-home-v2 .pp-hero-with-video {
  grid-template-columns: minmax(0, 1fr) minmax(0, .7fr) minmax(0, 1.25fr);
  align-items: stretch;
}
.pp-home-v2 .pp-hero-with-video > .pp-photo-copy {
  align-content: center;
  padding: 28px 20px 28px 30px;
  gap: 18px;
}
.pp-home-v2 .pp-hero-with-video .pp-photo-copy h1 {
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  line-height: 1.04;
}
.pp-home-v2 .pp-hero-with-video .pp-photo-copy p { font-size: 1.05rem; }
.pp-home-v2 .pp-hero-with-video > .pp-hero-preview {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  margin: 0;
  padding: 24px 18px 24px 0;
}
.pp-home-v2 .pp-hero-preview .pp-video { width: min(100%, 200px); }
.pp-home-v2 .pp-hero-preview > p { font-size: .85rem; color: #e6eef9; text-align: center; }
.pp-home-v2 .pp-hero-with-video > .pp-hero-signup { padding: 28px; }
.pp-home-v2 .pp-hero-with-video .pp-hero-signup h2 { font-size: clamp(1.6rem,2.5vw,2rem); }
@media (max-width: 820px) {
  .pp-home-v2 .pp-hero-with-video {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "copy" "signup" "video";
  }
  .pp-home-v2 .pp-hero-with-video > .pp-photo-copy {
    grid-area: copy;
    padding: 16px 20px;
    gap: 8px;
  }
  .pp-home-v2 .pp-hero-with-video .pp-photo-copy h1 { font-size: clamp(1.8rem,7vw,2.6rem); }
  .pp-home-v2 .pp-hero-with-video > .pp-hero-signup { grid-area: signup; padding: 16px 20px; }
  .pp-home-v2 .pp-hero-with-video > .pp-hero-preview { grid-area: video; padding: 20px; }
  .pp-home-v2 .pp-hero-preview .pp-video { width: min(100%, 220px); }
}
@media (max-width: 820px) {
  .pp-home-v2 .pp-hero-with-video > .pp-photo-copy { padding-block: 12px; gap: 6px; }
  .pp-home-v2 .pp-hero-with-video .pp-photo-copy p { font-size: 1rem; }
  .pp-home-v2 .pp-hero-with-video > .pp-hero-signup { padding-block: 12px; }
  .pp-home-v2 .pp-hero-with-video .pp-hero-signup h2 { font-size: clamp(1.38rem, 5vw, 2rem); }
}

/* Book interiors: editable photographs and native WordPress image enlargement. */
.pp-seasonal .pp-book-preview-wrap { display: grid; gap: clamp(32px, 5vw, 56px); }
.pp-seasonal .pp-book-preview { gap: 18px; }
.pp-seasonal .pp-book-preview > p { max-width: 74ch; }
.pp-seasonal .pp-gallery-hint { color: #4c6175; font-size: .9rem; }
.pp-seasonal .pp-book-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2.5vw, 28px);
  margin-block-start: 8px;
}
.pp-seasonal .pp-book-gallery > .wp-block-image {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius-card);
  background: #f4f7f8;
}
.pp-seasonal .pp-book-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  border-radius: 3px;
  background: #fff;
  cursor: zoom-in;
}
.pp-seasonal .pp-book-gallery figcaption {
  flex: 1;
  margin: 0;
  padding: 16px 4px 6px;
  color: var(--pp-ink);
  text-align: left;
  font-size: .95rem;
  line-height: 1.55;
}
.pp-seasonal .pp-book-gallery figcaption strong { display: block; margin-block-end: 5px; }
.pp-seasonal .pp-book-photo-grid img { aspect-ratio: 16 / 10; background: #e8edf0; }
.pp-seasonal .pp-book-photo-story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 44px);
  padding: clamp(16px, 3vw, 30px);
  background: #eaf2f6;
  border-radius: var(--pp-radius-panel);
  margin-block: 8px 12px;
}
.pp-seasonal .pp-book-photo-story .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--pp-radius-media);
  cursor: zoom-in;
}
.pp-seasonal .pp-book-photo-story figcaption { font-size: .85rem; line-height: 1.5; }
.pp-seasonal .pp-book-story-copy { display: grid; gap: 14px; }
.pp-seasonal .pp-book-story-copy p { font-size: 1.05rem; }
.pp-seasonal .pp-book-story-copy .pp-book-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: #3f617d; }
.pp-seasonal #interior-do-caderno { scroll-margin-block-start: 32px; }
.pp-seasonal .pp-book-gallery .lightbox-trigger { z-index: 2; }
/* Shared, editable evidence: distinguish collaborations from public references. */
.pp-proof { display: grid; gap: 22px; margin-block: 12px; }
.pp-proof :is(.pp-proof-grid, .pp-proof-feature, .pp-proof-references, .pp-proof-copy, .pp-proof-reference) > * { margin-block: 0; }
.pp-proof #colaboracions-referencias { scroll-margin-block-start: 24px; }
:is(.pp-home-v2, .pp-interior) .pp-proof :is(h2, h3, p, figure) { margin: 0; }
.pp-proof h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.2; }
.pp-proof-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; }
.pp-proof-feature {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2vw, 26px);
  padding: clamp(18px, 2.4vw, 28px);
  background: #eaf2f6;
  border: 1px solid var(--pp-line, #d5dfeb);
  border-radius: var(--pp-radius-card);
}
.pp-proof .pp-proof-photo { width: 100%; min-width: 0; }
.pp-proof .pp-proof-photo img { display: block; width: 100%; height: auto; border-radius: var(--pp-radius-media); }
.pp-proof .pp-proof-photo figcaption { margin-block-start: 9px; font-size: .75rem; line-height: 1.45; color: #4c6175; }
.pp-proof-copy, .pp-proof-reference { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.pp-proof .pp-proof-copy h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.15; }
.pp-proof .pp-proof-copy p { font-size: 1rem; line-height: 1.6; }
.pp-proof-references { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.pp-proof-reference { padding: 22px; border: 1px solid var(--pp-line, #d5dfeb); border-radius: var(--pp-radius-card); background: #fff; }
.pp-proof .pp-proof-reference h3 { font-size: 1.25rem; line-height: 1.2; }
.pp-proof .pp-proof-reference p { font-size: .95rem; line-height: 1.5; }
.pp-proof :is(.pp-proof-copy, .pp-proof-reference) .pp-proof-label { font-size: .66rem; font-weight: 700; letter-spacing: .07em; color: #42617a; }
.pp-proof .pp-proof-link { margin-block-start: auto; padding-block-start: 4px; }
.pp-proof .pp-proof-link a { color: #254874; font-size: .95rem; font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pp-proof .pp-proof-link a:focus-visible { outline: 2px solid #254874; outline-offset: 5px; border-radius: 2px; }
.pp-proof .pp-proof-link a:hover { text-decoration-thickness: 2px; }
@media (max-width: 960px) {
  .pp-proof-grid { grid-template-columns: minmax(0, 1fr); }
  .pp-proof-references { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
}
@media (max-width: 560px) {
  .pp-proof-feature, .pp-proof-references { grid-template-columns: minmax(0, 1fr); }
  .pp-proof .pp-proof-photo { max-width: 360px; justify-self: center; }
  .pp-proof-reference { padding: 20px; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pp-seasonal .pp-book-gallery > figure { transition: border-color .2s, box-shadow .2s, transform .2s; }
  .pp-seasonal .pp-book-gallery > figure:hover { border-color: #8aa8bb; box-shadow: 0 7px 20px #15365712; transform: translateY(-2px); }
}
@media (max-width: 900px) {
  .pp-seasonal .pp-book-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-seasonal .pp-book-photo-story { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .pp-seasonal .pp-book-gallery { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pp-seasonal .pp-book-gallery > figure { padding: 14px; }
  .pp-seasonal .pp-book-gallery img { max-height: 520px; }
}

/* Book decisions: each edition keeps age, price and real samples together. */
.pp-seasonal .pp-book-comparison { display:grid; gap:24px; }
.pp-book-comparison > h2 { margin-block-end:0; }
.pp-seasonal .pp-book-age-nav { gap:10px; margin-block:4px 12px; }
.pp-book-age-nav .wp-block-button__link { padding:10px 18px; font-size:.95rem; }
.pp-seasonal .pp-book-dossier {
 display:grid; grid-template-columns:minmax(180px,230px) minmax(0,1fr); gap:32px;
 padding:28px; border:1px solid #cddce7; border-radius:8px; background:#fff;
 scroll-margin-top:28px; box-shadow:0 3px 14px rgba(20,51,79,.035);
}
.pp-book-dossier > * { min-width:0; }
.pp-book-dossier-cover { align-self:start; padding:12px; background:#f0f5f7; border-radius:5px; }
.pp-book-dossier .pp-book-dossier-cover-image img { display:block; width:100%; height:300px; object-fit:contain; }
.pp-seasonal .pp-book-dossier-info { display:grid; gap:14px; }
.pp-book-dossier-info h3 { line-height:1.2; color:#163557; }
.pp-seasonal .pp-book-dossier-facts { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 18px; }
.pp-seasonal .pp-book-age { padding:5px 11px; border-radius:4px; background:#e5f0f5; color:#17375b; font-size:.95rem; font-weight:650; line-height:1.5; }
.pp-seasonal .pp-book-price { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px; line-height:1.3; }
.pp-book-price strong { font-size:1.4rem; color:#163557; }
.pp-book-price span { font-size:.8rem; color:#4d6171; }
.pp-seasonal .pp-book-fit { font-size:1rem; line-height:1.55; }
.pp-seasonal .pp-book-samples-label { font-size:.85rem; color:#4d6171; margin-block-start:4px; }
.pp-seasonal .pp-book-dossier-samples { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; align-items:start; }
.pp-book-dossier .pp-book-dossier-sample { min-width:0; }
.pp-book-dossier .pp-book-dossier-sample img { display:block; width:100%; height:auto; aspect-ratio:3/4; object-fit:contain; background:#f8fafb; border:1px solid #dbe5ed; border-radius:3px; }
.pp-seasonal .pp-book-dossier-sample figcaption { margin-top:6px; font-size:.8rem; line-height:1.4; color:#425769; text-align:left; }
.pp-seasonal .pp-book-purchase { display:flex; flex-wrap:wrap; gap:10px; padding-block-start:4px; }
.pp-book-purchase .wp-block-button__link { font-size:.95rem; padding:12px 17px; text-align:center; }
.pp-seasonal .pp-book-price-note { font-size:.78rem; line-height:1.45; color:#536574; }
.pp-book-comparison :is(a,button):focus-visible { outline:3px solid #b3750b; outline-offset:4px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 .pp-book-dossier-sample img { transition:transform .18s ease,box-shadow .18s ease; }
 .pp-book-dossier-sample:hover img { transform:scale(1.025); box-shadow:0 3px 12px #1534571a; }
}
@media (max-width:760px) {
 .pp-seasonal .pp-book-dossier { grid-template-columns:minmax(0,1fr); padding:20px; gap:22px; }
 .pp-book-dossier-cover { width:min(100%,220px); box-sizing:border-box; justify-self:center; }
 .pp-book-dossier .pp-book-dossier-cover-image img { height:260px; }
 .pp-seasonal .pp-book-dossier-facts { justify-content:flex-start; }
 .pp-seasonal .pp-book-dossier-samples { gap:8px; }
 .pp-book-purchase > .wp-block-button { flex:1 1 180px; }
 .pp-book-purchase .wp-block-button__link { width:100%; box-sizing:border-box; }
}
@media (max-width:620px) {
 .pp-page-main:has(.pp-book-comparison) > .wp-block-post-content { padding-inline:16px; }
 .pp-page-main .pp-interior:has(.pp-book-comparison) { width:100%; }
 .pp-seasonal .pp-book-dossier { padding:16px; }
}
