/*
 * PadelRegalos Design System 1.20
 * Brand palette derived from the PadelRegalos logo.
 * Scope: only pages/posts with a PR design_profile set by Publisher.
 */

body.pr-design-system {
  --pr-navy: #040051;
  --pr-navy-2: #100a78;
  --pr-coral: #fe4855;
  --pr-orange: #fca044;
  /* Logo orange at 60% over white. */
  --pr-orange-60: #fdc68f;
  --pr-white: #ffffff;
  --pr-surface: #eff0f6;
  --pr-surface-blue: #e9ecff;
  /* Visual equivalent of the logo navy at ~60% over white. Use a solid
   * color instead of CSS opacity so child content never becomes translucent. */
  --pr-brand-blue-60: #686697;
  --pr-text: #111126;
  --pr-muted: #66677a;
  --pr-border: #d7d9e7;
  --pr-success: #16865a;
  --pr-warning: #c86a14;
  --pr-danger: #d83a4b;
  --pr-radius-sm: 12px;
  --pr-radius-md: 20px;
  --pr-radius-lg: 30px;
  --pr-shadow: 0 16px 45px rgba(4, 0, 81, .10);
  --pr-shadow-hover: 0 22px 58px rgba(4, 0, 81, .16);
  --pr-shell: 1240px;
  --pr-copy: 760px;
  --pr-section-y: clamp(76px, 8vw, 118px);
  --pr-gap: clamp(18px, 2.4vw, 32px);
  --pr-gutter: clamp(24px, 4vw, 64px);
  color: var(--pr-text);
}

body.pr-design-system,
body.pr-design-system * {
  box-sizing: border-box;
}

body.pr-design-system .pr-page {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: clip;
  color: var(--pr-text);
  background: var(--pr-white);
}

/* Full-bleed breakout, independent from the classic theme content container. */
body.pr-full-width-page .pr-page {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* HOME CONTINUITY — remove classic-theme whitespace between the site header and
 * the first PR hero. Scoped only to the explicit home profile. */
body.pr-profile-home.pr-full-width-page #content,
body.pr-profile-home.pr-full-width-page .site-content,
body.pr-profile-home.pr-full-width-page .content-area,
body.pr-profile-home.pr-full-width-page .site-main,
body.pr-profile-home.pr-full-width-page article.pr-design-entry,
body.pr-profile-home.pr-full-width-page article.pr-design-entry .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.pr-profile-home .pr-page > :first-child { margin-top: 0 !important; }

/* TITLE-SPACE COLLAPSE — Orbital Go can reserve vertical space for the
 * singular title even after the title itself is hidden. Collapse only the
 * vertical spacing of the classic-theme content wrappers for PR full-width
 * pages with hide_theme_title enabled. This preserves the real WordPress
 * title in admin while allowing the first PR section/hero to start directly
 * below the site header. */
body.pr-design-system.pr-full-width-page.pr-hide-theme-title #content,
body.pr-design-system.pr-full-width-page.pr-hide-theme-title .site-content,
body.pr-design-system.pr-full-width-page.pr-hide-theme-title #primary,
body.pr-design-system.pr-full-width-page.pr-hide-theme-title .content-area,
body.pr-design-system.pr-full-width-page.pr-hide-theme-title .site-main,
body.pr-design-system.pr-full-width-page.pr-hide-theme-title article.pr-design-entry,
body.pr-design-system.pr-full-width-page.pr-hide-theme-title article.pr-design-entry > .entry-content,
body.pr-design-system.pr-full-width-page.pr-hide-theme-title article.pr-design-entry .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.pr-design-system.pr-full-width-page.pr-hide-theme-title .entry-content > .pr-page,
body.pr-design-system.pr-full-width-page.pr-hide-theme-title .pr-page > :first-child {
  margin-top: 0 !important;
}

/* ORBITAL GO EMPTY TITLE WRAPPER — when the theme title is hidden, Orbital Go
 * leaves an empty <header class="default-header"> with top padding (observed
 * as 32px in the live DOM). Remove the wrapper itself instead of merely
 * hiding the title text. Scoped to PR pages that explicitly opt into
 * hide_theme_title, so the normal site header/logo is untouched. */
body.pr-design-system.pr-hide-theme-title header.default-header,
body.pr-design-system.pr-hide-theme-title .pr-design-entry > header.default-header,
body.pr-design-system.pr-hide-theme-title .site-main > header.default-header {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Residual first-content spacing: collapse only the outer theme wrappers.
 * Do NOT remove the internal padding of the PR hero itself; that breathing is
 * intentional and remains controlled by .pr-section. */
body.pr-design-system.pr-full-width-page.pr-hide-theme-title .page-content,
body.pr-design-system.pr-full-width-page.pr-hide-theme-title .post-content,
body.pr-design-system.pr-full-width-page.pr-hide-theme-title .main-content,
body.pr-design-system.pr-full-width-page.pr-hide-theme-title .entry-content {
  margin-block-start: 0 !important;
  padding-block-start: 0 !important;
}
body.pr-design-system.pr-full-width-page.pr-hide-theme-title .pr-page {
  margin-block-start: 0 !important;
  padding-block-start: 0 !important;
}

/* Hide the conventional classic-theme masthead/title. Orbital Go may place the
 * title wrapper at different depths depending on page/template, so this is
 * intentionally broader but still scoped to a page explicitly opted into PR. */
body.pr-hide-theme-title article.pr-design-entry > .entry-header,
body.pr-hide-theme-title article.pr-design-entry > header.entry-header,
body.pr-hide-theme-title .pr-design-entry .page-header,
body.pr-hide-theme-title .pr-design-entry .post-header,
body.pr-hide-theme-title .pr-design-entry .entry-title,
body.pr-hide-theme-title .pr-design-entry h1.entry-title,
body.pr-hide-theme-title .pr-design-entry .entry-header:has(> .entry-title),
body.pr-hide-theme-title .site-main > .page-header,
body.pr-hide-theme-title .site-main > header.page-header,
body.pr-hide-theme-title .entry-header,
body.pr-hide-theme-title .page-title,
body.pr-hide-theme-title h1.page-title,
body.pr-hide-theme-title .post-title,
body.pr-hide-theme-title h1.post-title,
body.pr-hide-theme-title .single-title,
body.pr-hide-theme-title h1.single-title,
body.pr-hide-theme-title .title-single,
body.pr-hide-theme-title .page-title-area,
body.pr-hide-theme-title .post-title-area,
body.pr-hide-theme-title .title-area,
body.pr-hide-theme-title .title-wrapper,
body.pr-hide-theme-title .site-main > h1:first-child,
body.pr-hide-theme-title .content-area > h1:first-child {
  display: none !important;
}

/* Collapse any empty title wrapper left behind after the_title is filtered. */
body.pr-hide-theme-title .site-main > h1:empty,
body.pr-hide-theme-title .content-area > h1:empty,
body.pr-hide-theme-title .entry-header:has(h1:empty),
body.pr-hide-theme-title .page-header:has(h1:empty),
body.pr-hide-theme-title .post-header:has(h1:empty) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

/* The theme can also render the featured image before the_content. On a PR home
 * that duplicates the hero image and creates the apparent “double header”.
 * Hide only theme-level featured media outside the .pr-page content wrapper. */
body.pr-hide-theme-title .pr-design-entry .post-thumbnail,
body.pr-hide-theme-title .pr-design-entry figure.post-thumbnail,
body.pr-hide-theme-title .pr-design-entry .featured-image,
body.pr-hide-theme-title .pr-design-entry .entry-media,
body.pr-hide-theme-title .pr-design-entry .post-image,
body.pr-hide-theme-title .pr-design-entry .thumbnail,
body.pr-hide-theme-title .pr-design-entry .entry-header + .post-thumbnail {
  display: none !important;
}

body.pr-design-system .pr-page a {
  text-underline-offset: .18em;
}

body.pr-design-system .pr-page img {
  max-width: 100%;
  height: auto;
}

body.pr-design-system .pr-shell {
  width: min(100%, var(--pr-shell));
  margin-inline: auto;
}

body.pr-design-system .pr-copy {
  max-width: var(--pr-copy);
}

body.pr-design-system .pr-copy--center {
  max-width: var(--pr-copy);
  margin-inline: auto;
  text-align: center;
}

body.pr-design-system .pr-section {
  position: relative;
  padding: var(--pr-section-y) var(--pr-gutter);
}

/* Even if the GPT forgets an inner .pr-shell, every section keeps a safe
 * horizontal gutter. When .pr-shell is present it still caps the reading width. */
body.pr-design-system .pr-section > .pr-shell {
  width: min(100%, var(--pr-shell));
}

body.pr-design-system .pr-section--compact {
  padding-top: clamp(54px, 6vw, 82px);
  padding-bottom: clamp(54px, 6vw, 82px);
  padding-left: var(--pr-gutter);
  padding-right: var(--pr-gutter);
}

body.pr-design-system .pr-section--plain { background: var(--pr-white); }
body.pr-design-system .pr-section--surface { background: var(--pr-surface); }
body.pr-design-system .pr-section--blue { background: var(--pr-surface-blue); }
/* Brand backgrounds are intentionally flat in DS 1.5. Decorative gradients
 * were making copy contrast unpredictable and competing with editorial cards. */
body.pr-design-system .pr-section--navy {
  color: var(--pr-white);
  background: var(--pr-navy);
}
body.pr-design-system .pr-section--brand60,
body.pr-design-system .pr-section--gradient-soft {
  color: var(--pr-white);
  background: var(--pr-brand-blue-60);
}

/* Section rhythm hardening: no visual block should touch the viewport edge. */
body.pr-design-system .pr-section .pr-card-grid,
body.pr-design-system .pr-section .pr-risk-grid,
body.pr-design-system .pr-section .pr-hit-index,
body.pr-design-system .pr-section .pr-guide-grid,
body.pr-design-system .pr-section .pr-process,
body.pr-design-system .pr-section .pr-faq {
  max-width: var(--pr-shell);
}

body.pr-design-system .pr-section > .pr-card-grid,
body.pr-design-system .pr-section > .pr-risk-grid,
body.pr-design-system .pr-section > .pr-hit-index,
body.pr-design-system .pr-section > .pr-guide-grid,
body.pr-design-system .pr-section > .pr-process {
  margin-left: auto;
  margin-right: auto;
}

body.pr-design-system .pr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: .78rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--pr-coral);
}

body.pr-design-system .pr-section-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  color: var(--pr-navy);
}

body.pr-design-system .pr-section--navy .pr-section-title,
body.pr-design-system .pr-section--navy h1,
body.pr-design-system .pr-section--navy h2,
body.pr-design-system .pr-section--navy h3,
body.pr-design-system .pr-section--navy h4,
body.pr-design-system .pr-section--navy h5,
body.pr-design-system .pr-section--navy h6,
body.pr-design-system .pr-section--brand60 .pr-section-title,
body.pr-design-system .pr-section--brand60 h1,
body.pr-design-system .pr-section--brand60 h2,
body.pr-design-system .pr-section--brand60 h3,
body.pr-design-system .pr-section--brand60 h4,
body.pr-design-system .pr-section--brand60 h5,
body.pr-design-system .pr-section--brand60 h6,
body.pr-design-system .pr-section--gradient-soft .pr-section-title,
body.pr-design-system .pr-section--gradient-soft h1,
body.pr-design-system .pr-section--gradient-soft h2,
body.pr-design-system .pr-section--gradient-soft h3,
body.pr-design-system .pr-section--gradient-soft h4,
body.pr-design-system .pr-section--gradient-soft h5,
body.pr-design-system .pr-section--gradient-soft h6 {
  color: var(--pr-white);
}

body.pr-design-system .pr-lead {
  margin: 0;
  max-width: 780px;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.7;
  color: var(--pr-muted);
}

body.pr-design-system .pr-section--navy .pr-lead,
body.pr-design-system .pr-section--navy p,
body.pr-design-system .pr-section--navy li,
body.pr-design-system .pr-section--brand60 .pr-lead,
body.pr-design-system .pr-section--brand60 p,
body.pr-design-system .pr-section--brand60 li,
body.pr-design-system .pr-section--gradient-soft .pr-lead,
body.pr-design-system .pr-section--gradient-soft p,
body.pr-design-system .pr-section--gradient-soft li {
  color: rgba(255,255,255,.88);
}

/* HERO */
body.pr-design-system .pr-hero {
  position: relative;
  min-height: clamp(620px, 78vh, 850px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--pr-navy);
}

body.pr-design-system .pr-hero .wp-block-cover__image-background,
body.pr-design-system .pr-hero > img,
body.pr-design-system .pr-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

body.pr-design-system .pr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4,0,81,.91) 0%, rgba(4,0,81,.76) 42%, rgba(4,0,81,.20) 78%, rgba(4,0,81,.08) 100%),
    linear-gradient(0deg, rgba(4,0,81,.58) 0%, transparent 50%);
}

body.pr-design-system .pr-hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -170px;
  bottom: -240px;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle, rgba(252,160,68,.48), rgba(254,72,85,.20) 44%, transparent 70%);
  filter: blur(2px);
}

body.pr-design-system .pr-hero__inner {
  width: min(calc(100% - 40px), var(--pr-shell));
  margin-inline: auto;
  padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 104px);
}

body.pr-design-system .pr-hero__content {
  max-width: 780px;
}

body.pr-design-system .pr-hero h1,
body.pr-design-system .pr-hero .pr-hero__title {
  margin: 0;
  max-width: 830px;
  color: var(--pr-white);
  font-size: clamp(3rem, 7.3vw, 6.9rem);
  line-height: .94;
  letter-spacing: -.055em;
  text-wrap: balance;
}

body.pr-design-system .pr-hero__subtitle {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.62;
}

body.pr-design-system .pr-actions,
body.pr-design-system .pr-hero .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

body.pr-design-system .pr-page .wp-block-button__link,
body.pr-design-system .pr-button .wp-block-button__link,
body.pr-design-system a.pr-button,
body.pr-design-system .pr-button--primary .wp-block-button__link,
body.pr-design-system a.pr-button--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid rgba(4,0,81,.14);
  border-radius: 999px;
  background: var(--pr-orange-60) !important;
  color: #111126 !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(4,0,81,.12);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

body.pr-design-system .pr-page .wp-block-button.is-style-outline .wp-block-button__link,
body.pr-design-system .pr-button--secondary .wp-block-button__link,
body.pr-design-system a.pr-button--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid rgba(4,0,81,.14);
  border-radius: 999px;
  background: var(--pr-orange-60) !important;
  color: #111126 !important;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(4,0,81,.10);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

body.pr-design-system .pr-page .wp-block-button__link:hover,
body.pr-design-system .pr-button .wp-block-button__link:hover,
body.pr-design-system a.pr-button:hover,
body.pr-design-system .pr-page .wp-block-button__link:hover,
body.pr-design-system .pr-button--primary .wp-block-button__link:hover,
body.pr-design-system a.pr-button--primary:hover,
body.pr-design-system .pr-button--secondary .wp-block-button__link:hover,
body.pr-design-system a.pr-button--secondary:hover {
  transform: translateY(-2px);
}

body.pr-design-system .pr-button--primary .wp-block-button__link:hover,
body.pr-design-system a.pr-button--primary:hover,
body.pr-design-system .pr-button--secondary .wp-block-button__link:hover,
body.pr-design-system a.pr-button--secondary:hover {
  background: var(--pr-orange) !important;
  color: #111126 !important;
  box-shadow: 0 14px 30px rgba(4,0,81,.16);
}

/* CTA spacing — buttons should never appear glued to the preceding copy. */
body.pr-design-system .pr-page .wp-block-buttons {
  margin-top: 30px;
}
body.pr-design-system .pr-page p + .wp-block-buttons,
body.pr-design-system .pr-page ul + .wp-block-buttons,
body.pr-design-system .pr-page .pr-copy + .wp-block-buttons {
  margin-top: 34px !important;
}

/* TRUST STRIP */
body.pr-design-system .pr-trust-strip {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 40px), var(--pr-shell));
  margin: clamp(-54px, -4vw, -38px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1.5px solid rgba(4,0,81,.16);
  border-radius: var(--pr-radius-md);
  background: #f7f7fb;
  box-shadow: 0 18px 48px rgba(4,0,81,.14);
}

body.pr-design-system .pr-trust-item {
  min-width: 0;
  padding: 26px 24px;
  background: #f8f8fc;
}
body.pr-design-system .pr-trust-item + .pr-trust-item { border-left: 1px solid var(--pr-border); }
body.pr-design-system .pr-trust-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--pr-navy);
  font-size: .98rem;
}
body.pr-design-system .pr-trust-item p {
  margin: 0;
  color: var(--pr-muted);
  font-size: .90rem;
  line-height: 1.45;
}

/* GENERIC CARD SYSTEM */
body.pr-design-system .pr-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--pr-gap);
  margin-top: clamp(34px, 5vw, 58px);
  margin-bottom: clamp(34px, 4vw, 56px);
}
body.pr-design-system .pr-card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.pr-design-system .pr-card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

body.pr-design-system .pr-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1.5px solid var(--pr-border);
  border-radius: var(--pr-radius-md);
  background: var(--pr-white);
  box-shadow: 0 10px 30px rgba(4,0,81,.09);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body.pr-design-system .pr-card:hover {
  transform: translateY(-5px);
  border-color: rgba(4,0,81,.14);
  box-shadow: var(--pr-shadow-hover);
}
body.pr-design-system .pr-card__body { padding: clamp(22px, 2.3vw, 30px); }
body.pr-design-system .pr-card h3,
body.pr-design-system .pr-card__title {
  margin: 0 0 10px;
  color: var(--pr-navy);
  font-size: clamp(1.22rem, 1.8vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
body.pr-design-system .pr-card p { margin: 0; color: var(--pr-muted); line-height: 1.6; }
body.pr-design-system .pr-card__link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--pr-navy);
  font-weight: 800;
  text-decoration: none;
}
body.pr-design-system .pr-card__link::after { content: " →"; margin-left: 5px; }

body.pr-design-system .pr-card--image { min-height: 390px; display: flex; align-items: end; color: var(--pr-white); border: 0; }
body.pr-design-system .pr-card--image > img,
body.pr-design-system .pr-card--image .wp-block-image,
body.pr-design-system .pr-card--image .wp-block-image img,
body.pr-design-system .pr-card__media,
body.pr-design-system .pr-card__media img {
  width: 100%;
}
body.pr-design-system .pr-card--image > img,
body.pr-design-system .pr-card--image .pr-card__media,
body.pr-design-system .pr-card--image .pr-card__media img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}
body.pr-design-system .pr-card--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4,0,81,.90), rgba(4,0,81,.16) 66%, rgba(4,0,81,.04));
}
body.pr-design-system .pr-card--image .pr-card__body { position: relative; z-index: 2; }
body.pr-design-system .pr-card--image h3,
body.pr-design-system .pr-card--image .pr-card__title,
body.pr-design-system .pr-card--image p,
body.pr-design-system .pr-card--image .pr-card__link { color: var(--pr-white); }
body.pr-design-system .pr-card--image p { color: rgba(255,255,255,.80); }

/* Defensive Gutenberg card padding. PR normally uses a __body wrapper, but
 * manual edits can leave copy directly inside the core/column card. Keep it
 * readable without requiring raw HTML or inline CSS. */
body.pr-design-system .wp-block-column.pr-card:not(.pr-card--image):not(:has(.pr-card__body)) {
  padding: clamp(24px, 2.5vw, 32px);
}
body.pr-design-system .wp-block-column.pr-guide-card:not(:has(.pr-guide-card__body)) {
  padding: 24px;
}

/* CHIPS */
body.pr-design-system .pr-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
body.pr-design-system .pr-chip,
body.pr-design-system a.pr-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(4,0,81,.10);
  border-radius: 999px;
  background: var(--pr-surface-blue);
  color: var(--pr-navy);
  font-size: .86rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
body.pr-design-system a.pr-chip:hover { background: var(--pr-navy); color: var(--pr-white); transform: translateY(-1px); }
body.pr-design-system .pr-chip--warm { background: #fff1ea; border-color: #ffd7c5; color: #8d321f; }

/* RISK / NO-SÉ-NADA-DE-PÁDEL */
body.pr-design-system .pr-risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pr-gap);
  margin-top: 38px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
body.pr-design-system .pr-risk-card {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--pr-radius-md);
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(8px);
}
body.pr-design-system .pr-risk-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 6px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--pr-coral);
}
body.pr-design-system .pr-risk-card--high::before { background: #52d6a0; }
body.pr-design-system .pr-risk-card--medium::before { background: var(--pr-orange); }
body.pr-design-system .pr-risk-card--low::before { background: var(--pr-coral); }
body.pr-design-system .pr-risk-card h3 { margin: 0 0 10px; color: var(--pr-white); font-size: 1.4rem; }
body.pr-design-system .pr-risk-card p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.65; }

/* HIT INDEX */
body.pr-design-system .pr-hit-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pr-gap);
  margin-top: 38px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
body.pr-design-system .pr-hit-card {
  padding: clamp(26px, 3vw, 36px);
  border: 1.5px solid #cfd3e7;
  border-radius: var(--pr-radius-md);
  background: #f7f8ff;
  box-shadow: 0 10px 26px rgba(4,0,81,.07);
}
body.pr-design-system .pr-hit-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
body.pr-design-system .pr-hit-label {
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--pr-navy);
}
body.pr-design-system .pr-hit-dots { display: inline-flex; gap: 6px; }
body.pr-design-system .pr-hit-dots i {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d8d8e5;
}
body.pr-design-system .pr-hit-card--high .pr-hit-dots i:nth-child(-n+3) { background: var(--pr-success); }
body.pr-design-system .pr-hit-card--medium .pr-hit-dots i:nth-child(-n+2) { background: var(--pr-orange); }
body.pr-design-system .pr-hit-card--low .pr-hit-dots i:nth-child(1) { background: var(--pr-coral); }
body.pr-design-system .pr-hit-card h3 { margin: 0 0 8px; color: var(--pr-navy); font-size: 1.55rem; }
body.pr-design-system .pr-hit-card p { margin: 0; color: var(--pr-muted); line-height: 1.6; }
body.pr-design-system .pr-hit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--pr-surface-blue);
  color: var(--pr-navy);
  font-size: .82rem;
  font-weight: 800;
}

/* GUIDE CARDS */
body.pr-design-system .pr-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: var(--pr-gap);
  margin-top: 38px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
body.pr-design-system .pr-guide-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1.5px solid var(--pr-border);
  border-radius: var(--pr-radius-md);
  overflow: hidden;
  background: var(--pr-white);
  box-shadow: 0 8px 24px rgba(4,0,81,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
body.pr-design-system .pr-guide-card:hover { transform: translateY(-4px); box-shadow: var(--pr-shadow); }
body.pr-design-system .pr-guide-card .wp-block-image { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
body.pr-design-system .pr-guide-card .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
body.pr-design-system .pr-guide-card__body { padding: 22px; }
body.pr-design-system .pr-guide-card h3 { margin: 0 0 9px; color: var(--pr-navy); font-size: 1.22rem; line-height: 1.2; }
body.pr-design-system .pr-guide-card p { margin: 0; color: var(--pr-muted); font-size: .94rem; line-height: 1.55; }

/* PROCESS */
body.pr-design-system .pr-process {
  counter-reset: pr-step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--pr-gap);
  margin-top: 38px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
body.pr-design-system .pr-process__step {
  counter-increment: pr-step;
  position: relative;
  padding: 30px;
  border-radius: var(--pr-radius-md);
  background: var(--pr-white);
  border: 1.5px solid var(--pr-border);
  box-shadow: 0 8px 24px rgba(4,0,81,.07);
}
body.pr-design-system .pr-process__step::before {
  content: counter(pr-step, decimal-leading-zero);
  display: inline-flex;
  margin-bottom: 28px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--pr-coral);
}
body.pr-design-system .pr-process__step h3 { margin: 0 0 9px; color: var(--pr-navy); }
body.pr-design-system .pr-process__step p { margin: 0; color: var(--pr-muted); line-height: 1.6; }

/* FAQ */
body.pr-design-system .pr-faq { max-width: 880px; margin: 38px auto 0; }
body.pr-design-system .pr-faq details,
body.pr-design-system .pr-faq .wp-block-details {
  margin: 0 0 12px;
  padding: 0;
  border: 1.5px solid #cfd3e7;
  border-radius: var(--pr-radius-sm);
  background: #f8f9ff;
  box-shadow: 0 6px 18px rgba(4,0,81,.055);
  overflow: hidden;
}
body.pr-design-system .pr-faq summary {
  position: relative;
  cursor: pointer;
  padding: 20px 54px 20px 22px;
  color: var(--pr-navy);
  font-weight: 800;
  list-style: none;
}
body.pr-design-system .pr-faq summary::-webkit-details-marker { display: none; }
body.pr-design-system .pr-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pr-coral);
  font-size: 1.45rem;
  font-weight: 500;
}
body.pr-design-system .pr-faq details[open] summary::after { content: "−"; }
body.pr-design-system .pr-faq details > :not(summary),
body.pr-design-system .pr-faq .wp-block-details > :not(summary) {
  margin-left: 22px;
  margin-right: 22px;
}
body.pr-design-system .pr-faq details > p:last-child,
body.pr-design-system .pr-faq .wp-block-details > p:last-child { margin-bottom: 22px; }

/* CTA */
body.pr-design-system .pr-cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 80px);
  border-radius: var(--pr-radius-lg);
  color: var(--pr-white);
  background: var(--pr-navy);
  box-shadow: var(--pr-shadow);
}
body.pr-design-system .pr-cta-band h2 { margin: 0 0 14px; max-width: 820px; color: var(--pr-white); font-size: clamp(2rem, 4.5vw, 4.1rem); line-height: 1; letter-spacing: -.04em; }
body.pr-design-system .pr-cta-band p { margin: 0; max-width: 680px; color: rgba(255,255,255,.78); font-size: 1.08rem; line-height: 1.65; }

/* Small brand gradient accents */
body.pr-design-system .pr-gradient-text {
  color: var(--pr-coral);
  background: linear-gradient(135deg, var(--pr-coral), var(--pr-orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.pr-design-system .pr-accent-line {
  width: 64px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pr-coral), var(--pr-orange));
}

/* Accessibility */
body.pr-design-system .pr-page a:focus-visible,
body.pr-design-system .pr-page button:focus-visible,
body.pr-design-system .pr-page summary:focus-visible {
  outline: 3px solid var(--pr-orange);
  outline-offset: 4px;
}


/* GUIDE PROFILE — Design System 1.11
 * A guide needs two simultaneous widths: a comfortable reading measure for
 * prose and a broader visual canvas for cards, comparisons and authority
 * bands. Earlier guide pages inherited the narrow copy measure for every
 * component, which made the whole page look small and over-centered. */
body.pr-profile-guide {
  --pr-shell: 1100px;
  --pr-copy: 820px;
  --pr-section-y: clamp(72px, 7vw, 104px);
}


/* GUIDE HEADER — Design System 1.11
 * Every guide opens with a compact editorial hero using the primary brand navy.
 * The actual WordPress title remains hidden only in the frontend; the Gutenberg
 * H1 inside this first section is the visible editorial title. This is automatic
 * for existing guides, so approved content does not need to be rewritten. */
body.pr-profile-guide .pr-page > .pr-section:first-child:not(.pr-guide-header--plain) {
  background: var(--pr-navy) !important;
  color: var(--pr-white);
  padding-top: clamp(88px, 9vw, 132px);
  padding-bottom: clamp(88px, 9vw, 132px);
}

body.pr-profile-guide .pr-page > .pr-section:first-child:not(.pr-guide-header--plain) h1,
body.pr-profile-guide .pr-page > .pr-section:first-child:not(.pr-guide-header--plain) h2,
body.pr-profile-guide .pr-page > .pr-section:first-child:not(.pr-guide-header--plain) h3,
body.pr-profile-guide .pr-page > .pr-section:first-child:not(.pr-guide-header--plain) p,
body.pr-profile-guide .pr-page > .pr-section:first-child:not(.pr-guide-header--plain) li,
body.pr-profile-guide .pr-page > .pr-section:first-child:not(.pr-guide-header--plain) .pr-lead {
  color: rgba(255,255,255,.92);
}

body.pr-profile-guide .pr-page > .pr-section:first-child:not(.pr-guide-header--plain) h1 {
  color: var(--pr-white);
}

body.pr-profile-guide .pr-page > .pr-section:first-child:not(.pr-guide-header--plain) .pr-eyebrow {
  color: var(--pr-coral);
}

body.pr-profile-guide .pr-page > .pr-section:first-child:not(.pr-guide-header--plain) .pr-guide-reading {
  max-width: 900px;
}

body.pr-profile-guide .pr-section > .pr-shell {
  width: min(100%, 1100px);
}

/* The visual shell stays broad. Prose is constrained independently. */
body.pr-profile-guide .pr-guide-reading,
body.pr-profile-guide .pr-section .pr-guide-reading {
  width: 100%;
  max-width: 820px;
  margin-left: 0;
  margin-right: auto;
}

body.pr-profile-guide .pr-guide-reading p,
body.pr-profile-guide .pr-guide-reading li,
body.pr-profile-guide .pr-guide-reading blockquote {
  font-size: 1.06rem;
  line-height: 1.72;
}

body.pr-profile-guide .pr-guide-wide {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}

body.pr-profile-guide .pr-guide-split,
body.pr-profile-guide .wp-block-columns.pr-guide-split {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(24px, 3vw, 40px) !important;
  align-items: stretch !important;
  width: 100%;
  max-width: 1100px;
  margin: clamp(34px, 4vw, 52px) auto 0;
}

body.pr-profile-guide .wp-block-columns.pr-guide-split > .wp-block-column {
  min-width: 0 !important;
  width: auto !important;
  flex-basis: auto !important;
  margin: 0 !important;
}

/* Use for important transparency / methodology sections that should read as
 * editorial anchors rather than a small centered box. */
body.pr-profile-guide .pr-guide-band {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(32px, 4vw, 48px);
  border: 1.5px solid rgba(4,0,81,.12);
  border-radius: var(--pr-radius-md);
  background: var(--pr-surface-blue);
  box-shadow: 0 10px 30px rgba(4,0,81,.07);
}

body.pr-profile-guide .pr-section-title,
body.pr-profile-guide .pr-section h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
  line-height: 1.04;
}

body.pr-profile-guide .pr-section h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.18;
}

body.pr-profile-guide .pr-lead {
  max-width: 820px;
  font-size: clamp(1.12rem, 1.6vw, 1.34rem);
}

/* Guide-specific hit cards should feel like a major explanatory component,
 * not miniature tiles. */
body.pr-profile-guide .pr-hit-index,
body.pr-profile-guide .wp-block-columns.pr-hit-index {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
body.pr-profile-guide .pr-hit-card {
  padding: clamp(30px, 3.3vw, 42px);
}
body.pr-profile-guide .pr-hit-card h3 {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
}
body.pr-profile-guide .pr-hit-card p {
  font-size: 1rem;
  line-height: 1.68;
}

/* If an older guide put the narrow copy class on the shell itself, do not let
 * that constrain visual components. Text can be moved into pr-guide-reading
 * during controlled normalization. */
body.pr-profile-guide .pr-shell.pr-copy,
body.pr-profile-guide .pr-shell.pr-copy--center {
  max-width: 1100px;
}
body.pr-profile-guide .pr-shell.pr-copy--center {
  text-align: left;
}

@media (max-width: 760px) {
  body.pr-profile-guide .pr-guide-split,
  body.pr-profile-guide .wp-block-columns.pr-guide-split {
    grid-template-columns: 1fr !important;
  }
  body.pr-profile-guide .pr-guide-band {
    padding: 28px 22px;
  }
}

/* GUTENBERG COLUMNS BRIDGE — Design System 1.4
 * Multi-card compositions must use a native core/columns block as their
 * structural parent. Gutenberg then remains straightforward to edit, while
 * these selectors make the PR class the authoritative frontend layout.
 * !important is intentional here: WordPress core and some classic themes add
 * display/flex rules to .wp-block-columns after plugin CSS. */
body.pr-design-system .wp-block-columns.pr-columns,
body.pr-design-system .wp-block-columns.pr-trust-strip,
body.pr-design-system .wp-block-columns.pr-card-grid,
body.pr-design-system .wp-block-columns.pr-risk-grid,
body.pr-design-system .wp-block-columns.pr-hit-index,
body.pr-design-system .wp-block-columns.pr-guide-grid,
body.pr-design-system .wp-block-columns.pr-process {
  display: grid !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100%;
}

body.pr-design-system .wp-block-columns.pr-card-grid,
body.pr-design-system .wp-block-columns.pr-risk-grid,
body.pr-design-system .wp-block-columns.pr-hit-index,
body.pr-design-system .wp-block-columns.pr-guide-grid,
body.pr-design-system .wp-block-columns.pr-process {
  gap: var(--pr-gap) !important;
}

body.pr-design-system .wp-block-columns.pr-trust-strip {
  gap: 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
body.pr-design-system .wp-block-columns.pr-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  justify-content: center !important;
}
body.pr-design-system .wp-block-columns.pr-card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
body.pr-design-system .wp-block-columns.pr-card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
body.pr-design-system .wp-block-columns.pr-risk-grid,
body.pr-design-system .wp-block-columns.pr-hit-index,
body.pr-design-system .wp-block-columns.pr-process {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
body.pr-design-system .wp-block-columns.pr-guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.pr-design-system .wp-block-columns.pr-columns > .wp-block-column,
body.pr-design-system .wp-block-columns.pr-trust-strip > .wp-block-column,
body.pr-design-system .wp-block-columns.pr-card-grid > .wp-block-column,
body.pr-design-system .wp-block-columns.pr-risk-grid > .wp-block-column,
body.pr-design-system .wp-block-columns.pr-hit-index > .wp-block-column,
body.pr-design-system .wp-block-columns.pr-guide-grid > .wp-block-column,
body.pr-design-system .wp-block-columns.pr-process > .wp-block-column {
  min-width: 0 !important;
  width: auto !important;
  flex-basis: auto !important;
  margin: 0 !important;
}

/* When the visual card class is applied directly to core/column, keep it full
 * height so cards in the same row align cleanly. */
body.pr-design-system .wp-block-column.pr-card,
body.pr-design-system .wp-block-column.pr-risk-card,
body.pr-design-system .wp-block-column.pr-hit-card,
body.pr-design-system .wp-block-column.pr-guide-card,
body.pr-design-system .wp-block-column.pr-process__step,
body.pr-design-system .wp-block-column.pr-trust-item {
  height: 100%;
}

/* Responsive
 * Keep the brand grids horizontal for as long as they remain usable. The
 * previous 760px one-column breakpoint was too aggressive on desktop
 * browsers with elevated zoom / OS scaling. */
@media (max-width: 1024px) {
  body.pr-design-system .pr-card-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  body.pr-design-system .pr-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.pr-design-system .wp-block-columns.pr-card-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important; }
  body.pr-design-system .wp-block-columns.pr-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.pr-design-system .pr-trust-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body.pr-design-system { --pr-section-y: 68px; --pr-gutter: 20px; }
  body.pr-design-system .pr-shell { width: min(100%, var(--pr-shell)); }
  body.pr-design-system .pr-hero__inner,
  body.pr-design-system .pr-trust-strip { width: min(calc(100% - 28px), var(--pr-shell)); }
  body.pr-design-system .pr-hero { min-height: 680px; }
  body.pr-design-system .pr-hero::before {
    background: linear-gradient(0deg, rgba(4,0,81,.94) 0%, rgba(4,0,81,.76) 58%, rgba(4,0,81,.28) 100%);
  }
  body.pr-design-system .pr-hero h1,
  body.pr-design-system .pr-hero .pr-hero__title { font-size: clamp(3rem, 14vw, 4.8rem); }
  body.pr-design-system .pr-actions,
  body.pr-design-system .pr-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
  body.pr-design-system .pr-actions .wp-block-button,
  body.pr-design-system .pr-actions .wp-block-button__link,
  body.pr-design-system .pr-hero .wp-block-buttons .wp-block-button,
  body.pr-design-system .pr-hero .wp-block-buttons .wp-block-button__link { width: 100%; }

  /* Tablet / narrow desktop: keep meaningful horizontal groupings. */
  body.pr-design-system .pr-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.pr-design-system .wp-block-columns.pr-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.pr-design-system .wp-block-columns.pr-card-grid,
  body.pr-design-system .wp-block-columns.pr-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.pr-design-system .wp-block-columns.pr-risk-grid,
  body.pr-design-system .wp-block-columns.pr-hit-index,
  body.pr-design-system .wp-block-columns.pr-process { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  body.pr-design-system .pr-card-grid,
  body.pr-design-system .pr-card-grid--3,
  body.pr-design-system .pr-card-grid--2,
  body.pr-design-system .pr-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.pr-design-system .pr-risk-grid,
  body.pr-design-system .pr-hit-index,
  body.pr-design-system .pr-process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  body.pr-design-system .pr-risk-card,
  body.pr-design-system .pr-hit-card,
  body.pr-design-system .pr-process__step { padding: 22px 18px; }
  body.pr-design-system .pr-trust-item:nth-child(odd) { border-left: 0; }
  body.pr-design-system .pr-trust-item:nth-child(n+3) { border-top: 1px solid var(--pr-border); }
  body.pr-design-system .pr-card--image { min-height: 330px; }
  body.pr-design-system .pr-cta-band { border-radius: var(--pr-radius-md); padding: 38px 26px; }
}

@media (max-width: 520px) {
  body.pr-design-system .wp-block-columns.pr-trust-strip,
  body.pr-design-system .wp-block-columns.pr-card-grid,
  body.pr-design-system .wp-block-columns.pr-risk-grid,
  body.pr-design-system .wp-block-columns.pr-hit-index,
  body.pr-design-system .wp-block-columns.pr-guide-grid,
  body.pr-design-system .wp-block-columns.pr-process { grid-template-columns: 1fr !important; }
  body.pr-design-system .pr-trust-strip,
  body.pr-design-system .pr-card-grid,
  body.pr-design-system .pr-card-grid--3,
  body.pr-design-system .pr-card-grid--2,
  body.pr-design-system .pr-risk-grid,
  body.pr-design-system .pr-hit-index,
  body.pr-design-system .pr-guide-grid,
  body.pr-design-system .pr-process { grid-template-columns: 1fr; }
  body.pr-design-system .pr-trust-item + .pr-trust-item { border-left: 0; border-top: 1px solid var(--pr-border); }
}

@media (prefers-reduced-motion: reduce) {
  body.pr-design-system .pr-card,
  body.pr-design-system .pr-guide-card,
  body.pr-design-system .pr-button .wp-block-button__link,
  body.pr-design-system a.pr-button,
  body.pr-design-system a.pr-chip { transition: none !important; }
}

/* Hostinger Multiple Product List media-column normalization (DS 1.17).
 * The read-only DOM probe in 1.2.22 confirmed the exact structure:
 * .hostinger-affiliate-block-list-simple >
 * .hostinger-affiliate-block-list-simple__image > a > img
 * The direct media child is the boundary that reserves horizontal space before
 * the content branch. Fix only that known child; never use :has() or generic
 * wrapper selectors, which previously caused image/text overlap. */
.hostinger-affiliate-block-list-simple > .hostinger-affiliate-block-list-simple__image {
  flex: 0 0 170px !important;
  width: 170px !important;
  min-width: 170px !important;
  max-width: 170px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.hostinger-affiliate-block-list-simple > .hostinger-affiliate-block-list-simple__image > a {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hostinger-affiliate-block-list-simple > .hostinger-affiliate-block-list-simple__image > a > img[src*="media-amazon."] {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 190px !important;
  object-fit: contain !important;
}

@media (max-width: 680px) {
  .hostinger-affiliate-block-list-simple > .hostinger-affiliate-block-list-simple__image {
    flex-basis: 120px !important;
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
  }

  .hostinger-affiliate-block-list-simple > .hostinger-affiliate-block-list-simple__image > a > img[src*="media-amazon."] {
    max-height: 150px !important;
  }
}
