/* ==========================================================================
   yorkipoo-litter.css — page-scoped styles for template-yorkipoo-litter.php

   Extends breeder-editorial.css (pb-ed__*). Adds new pb-yp__* components
   for the 4-up puppy grid, status pills, hero overlay gradient, FAQ marker
   override, and the full-bleed CTA with decorative "pets" background icon.

   Tokens are kept inline-as-hex (rather than CSS variables) to match the
   existing breeder-editorial.css convention. Token reference:
     Masthead Red       var(--pb-accent-hover)   (sole accent)
     Container Red      var(--pb-accent)   (interactive red surfaces)
     Warm Cream         var(--pb-surface)   (primary surface)
     Pure White         #ffffff   (container fill)
     Ink Navy           var(--pb-ink)   (primary text)
     Warm Umber         var(--pb-ink-soft)   (secondary text)
     Tinted Lavender    var(--pb-low)   (alternate section / placeholder fill)
     Rose Border        var(--pb-outline-soft)   (1px borders)
     Ghost Pink         var(--pb-soft)   (on-red text)
     Cerulean           var(--pb-violet)   (interactive secondary — Available pill)
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Page root + layout escape (no JS, no Divi reliance)
   --------------------------------------------------------------------------- */
.pb-yp {
  background: var(--pb-surface);
  color: var(--pb-ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  line-height: 1.6;
}

.pb-yp .pb-ed__wrap--narrow {
  max-width: 860px;
}

/* ---------------------------------------------------------------------------
   HERO — proper gradient overlay (not Stitch's flat black)
   --------------------------------------------------------------------------- */
.pb-yp__hero {
  position: relative;
  width: 100%;
  /* Was 870px per brief, dropped to 620 — 870 pushed the bottom-anchored
     headline below the fold on 1366x768 and 1440x900 laptops once the
     WP admin bar + PB sticky header (~265px combined) were subtracted. */
  height: 620px;
  min-height: 480px;
  /* Safety net for unusually short viewports: never exceed (viewport - 160px),
     which accounts for admin bar + custom header so text stays above the fold. */
  max-height: calc(100vh - 160px);
  overflow: hidden;
  background: var(--pb-ink);
}
/* Restore taller cinematic hero on large displays where the fold isn't a
   concern (27"+ monitors / >1600px tall screens have room). */
@media (min-width: 1600px) and (min-height: 1000px) {
  .pb-yp__hero {
    height: 760px;
  }
}

/* No-image state: shorter hero, vertically centered text */
.pb-yp__hero.pb-yp__hero--empty {
  height: 620px;
}
.pb-yp__hero.pb-yp__hero--empty .pb-yp__hero-text {
  align-items: center;
  padding-bottom: 0;
}
.pb-yp__hero.pb-yp__hero--empty .pb-yp__hero-overlay {
  /* When no photo, the gradient isn't masking anything — soften to a flat tint */
  background: linear-gradient(
    180deg,
    rgba(24, 25, 51, 0) 0%,
    rgba(24, 25, 51, 0.25) 100%
  );
}
@media (max-width: 768px) {
  .pb-yp__hero.pb-yp__hero--empty {
    height: 420px;
  }
}

.pb-yp__hero-media,
.pb-yp__hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pb-yp__hero-media img {
  object-fit: cover;
  object-position: center top;
}

.pb-yp__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.18) 50%,
    transparent 100%
  );
  z-index: 1;
}

.pb-yp__hero-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  /* Was 96px, dropped to 64px now that hero height is 620 not 870. Keeps
     the bottom-anchored block from sitting too far up the box. */
  padding-bottom: 64px;
}

.pb-yp__hero-eyebrow {
  /* Pure white (was ghost pink var(--pb-soft)) for max contrast / boldest presence. */
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  /* Bumped from 18px to 22px for a stronger brand mark. */
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin: 0 0 24px;
  text-align: center;
  /* Deeper text-shadow anchors the wordmark over the photography. */
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

/* Material Symbols heart sitting after the wordmark — masthead-red color anchor. */
.pb-yp__hero-heart {
  display: inline-block;
  vertical-align: -5px;
  margin-left: 16px;
  font-size: 26px !important;
  /* Shifted from ghost pink to masthead red for visual punch beside the brand. */
  color: var(--pb-accent-hover);
  /* Filled weight setting for a fully solid heart shape. */
  font-variation-settings:
    "FILL" 1,
    "wght" 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.pb-yp__hero-h1 {
  color: #ffffff;
  font-family: "Noto Serif", Georgia, serif;
  /* Reduced from clamp(42, 6vw, 64) so each stanza of the
     three-line tagline ("Made for Companionship.") fits on
     a single line without auto-wrapping. */
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  /* margin auto + text-align center → block sits centered AND lines center within it. */
  margin: 0 auto;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  /* Bumped from 720px to 820px so "Made for Companionship."
     has horizontal room at the ceiling font size. */
  max-width: 820px;
}

.pb-yp__hero-subline {
  color: var(--pb-soft);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  margin: 24px auto 0;
  max-width: 560px;
  text-align: center;
}

@media (max-width: 768px) {
  .pb-yp__hero {
    height: 520px;
  }
  .pb-yp__hero-text {
    padding-bottom: 56px;
  }
  .pb-yp__hero-subline {
    font-size: 16px;
  }
}

/* Portrait viewports: portrait-format image (805×1200).
   - Restore hero to 620px (overrides 520px mobile rule) — with the portrait
     image, the face lands at only ~33% of 620px (≈207px), leaving 160px+
     of dark blurred area above the bottom-anchored text block.
   - object-position: center top pins the face to the top of the frame.
   Uses `orientation: portrait` to catch both phones and iPad-portrait. */
@media (orientation: portrait) {
  .pb-yp__hero {
    height: 620px;
  }
  .pb-yp__hero-media img {
    object-position: center top;
  }
  .pb-yp__hero-text {
    padding-bottom: 24px;
  }
}

/* ---------------------------------------------------------------------------
   INTRO — 5/7 asymmetric grid
   --------------------------------------------------------------------------- */
.pb-yp__intro {
  padding: 96px 32px;
}

.pb-yp__intro-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}

.pb-yp__intro-left .pb-ed__rule {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--pb-accent-hover);
  margin-bottom: 24px;
}

.pb-yp__intro-h2 {
  color: var(--pb-accent-hover);
  margin: 0;
}

.pb-yp__intro-pullquote {
  font-family: "Noto Serif", Georgia, serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  color: var(--pb-ink-soft);
  margin: 0 0 32px;
}

.pb-yp__intro-body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--pb-ink);
  max-width: 65ch;
}

.pb-yp__intro-body p {
  margin: 0 0 1em;
}
.pb-yp__intro-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .pb-yp__intro {
    padding: 56px 24px;
  }
  .pb-yp__intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pb-yp__intro-pullquote {
    font-size: 22px;
  }
}

/* ---------------------------------------------------------------------------
   PUPPIES — 4-up grid + cards + status pills (the new components)
   --------------------------------------------------------------------------- */
.pb-yp__puppies-section {
  padding: 96px 32px;
  background: var(--pb-low);
}

.pb-yp__puppies-head {
  margin-bottom: 56px;
  max-width: 720px;
}

.pb-yp__puppies-head .pb-ed__eyebrow {
  display: block;
  color: var(--pb-accent-hover);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pb-yp__puppies-head .pb-ed__headline-lg {
  color: var(--pb-ink);
  margin: 0 0 16px;
}

.pb-yp__puppies-head .pb-ed__rule {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--pb-accent-hover);
}

.pb-yp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .pb-yp__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pb-yp__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pb-yp__puppies-section {
    padding: 56px 24px;
  }
}

/* Card --------------------------------------------------------------------- */
.pb-yp__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
  /* No card shadow — editorial flat per brief */
}

.pb-yp__card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  text-indent: -9999px;
  overflow: hidden;
}

.pb-yp__card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--pb-outline-soft);
  background: var(--pb-low);
}

.pb-yp__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
}

.pb-yp__card:hover .pb-yp__card-img {
  transform: scale(1.06);
}

.pb-yp__card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pb-ink-soft);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--pb-low);
}

/* Card body --------------------------------------------------------------- */
.pb-yp__card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pb-yp__card-name {
  font-family: "Noto Serif", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--pb-ink);
  line-height: 1.2;
  margin: 0;
  transition: color 0.2s ease;
}

.pb-yp__card:hover .pb-yp__card-name {
  color: var(--pb-accent-hover);
}

.pb-yp__card-meta {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--pb-ink-soft);
  margin: 0;
  letter-spacing: 0.02em;
}

.pb-yp__card-note {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--pb-ink-soft);
  margin: 4px 0 0;
}

.pb-yp__card-cta {
  display: inline-block;
  margin-top: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pb-accent-hover);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.pb-yp__card:hover .pb-yp__card-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Placed-state treatment (Stitch's nice invention — adopted from review) */
.pb-yp__card--placed .pb-yp__card-img {
  filter: grayscale(1);
  opacity: 0.7;
}

.pb-yp__card--placed .pb-yp__card-name,
.pb-yp__card--placed .pb-yp__card-meta,
.pb-yp__card--placed .pb-yp__card-note {
  opacity: 0.7;
}

.pb-yp__card--placed:hover .pb-yp__card-img {
  transform: none;
}

.pb-yp__card--placed:hover .pb-yp__card-name {
  color: var(--pb-ink);
}

/* Status pills — flat fills, no shadow, single word -------------------------- */
.pb-yp__pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-block;
  padding: 6px 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid transparent;
  /* No shadow per brief */
}

.pb-yp__pill--available {
  background: var(--pb-violet);
  color: #ffffff;
}

.pb-yp__pill--reserved {
  background: var(--pb-accent-hover);
  color: #ffffff;
}

.pb-yp__pill--placed {
  background: var(--pb-low);
  color: var(--pb-ink-soft);
  border-color: var(--pb-outline-soft);
}

/* ---------------------------------------------------------------------------
   TRAITS — 3-col, no shadows, no card borders
   --------------------------------------------------------------------------- */
.pb-yp__traits-section {
  padding: 96px 32px;
  background: var(--pb-surface);
}

.pb-yp__traits-head {
  margin-bottom: 48px;
  max-width: 720px;
}

.pb-yp__traits-head .pb-ed__eyebrow {
  display: block;
  color: var(--pb-accent-hover);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pb-yp__traits-head .pb-ed__headline-lg {
  color: var(--pb-ink);
  margin: 0;
}

.pb-yp__traits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

@media (max-width: 768px) {
  .pb-yp__traits-section {
    padding: 56px 24px;
  }
  .pb-yp__traits-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.pb-yp__trait {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.pb-yp__trait-icon {
  color: var(--pb-accent-hover);
  font-size: 36px !important; /* Material Symbols loads with its own sizing */
  line-height: 1;
}

.pb-yp__trait:nth-child(2) .pb-yp__trait-icon {
  color: var(--pb-violet);
}
.pb-yp__trait:nth-child(3) .pb-yp__trait-icon {
  color: var(--pb-violet);
}

.pb-yp__trait-title {
  margin: 0;
  color: var(--pb-ink);
}

.pb-yp__trait-body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pb-ink-soft);
  margin: 0;
}

/* ---------------------------------------------------------------------------
   PULL QUOTE — override pb-ed__pullquote scale to brief (32px italic)
   --------------------------------------------------------------------------- */
.pb-yp__pullquote {
  padding: 96px 32px;
  background: var(--pb-surface);
  border-top: 1px solid rgba(230, 189, 183, 0.3);
  border-bottom: 1px solid rgba(230, 189, 183, 0.3);
  text-align: center;
}

.pb-yp__pullquote .pb-ed__quote-mark {
  display: block;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 72px;
  line-height: 1;
  color: var(--pb-accent-hover);
  margin-bottom: 24px;
}

.pb-yp__pullquote blockquote {
  margin: 0 auto 24px;
  max-width: 720px;
}

.pb-yp__pullquote blockquote p {
  font-family: "Noto Serif", Georgia, serif;
  font-style: italic;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--pb-ink);
  margin: 0;
}

.pb-yp__pullquote-attr {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pb-accent-hover);
}

@media (max-width: 768px) {
  .pb-yp__pullquote {
    padding: 56px 24px;
  }
  .pb-yp__pullquote blockquote p {
    font-size: 22px;
  }
  .pb-yp__pullquote .pb-ed__quote-mark {
    font-size: 56px;
  }
}

/* ---------------------------------------------------------------------------
   FAQ — accordion, native <details>, marker rotates on open
   --------------------------------------------------------------------------- */
.pb-yp__faq {
  padding: 96px 32px;
  background: var(--pb-low);
}

.pb-yp__faq .pb-ed__eyebrow {
  display: block;
  color: var(--pb-accent-hover);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pb-yp__faq-h2 {
  color: var(--pb-ink);
  margin: 0 0 16px;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
}

.pb-yp__faq .pb-ed__rule {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--pb-accent-hover);
  margin-bottom: 40px;
}

.pb-yp__faq-list {
  border-top: 1px solid rgba(230, 189, 183, 0.5);
}

.pb-yp__faq-item {
  border-bottom: 1px solid rgba(230, 189, 183, 0.5);
  padding: 20px 0;
}

.pb-yp__faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--pb-ink);
  line-height: 1.3;
}

.pb-yp__faq-item > summary::-webkit-details-marker {
  display: none;
}
.pb-yp__faq-item > summary::marker {
  content: "";
}

.pb-yp__faq-marker {
  flex-shrink: 0;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  color: var(--pb-accent-hover);
  transition: transform 0.25s ease;
}

.pb-yp__faq-item[open] .pb-yp__faq-marker {
  transform: rotate(45deg);
}

.pb-yp__faq-a {
  padding: 16px 48px 8px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--pb-ink-soft);
}

.pb-yp__faq-a p {
  margin: 0 0 1em;
}
.pb-yp__faq-a p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .pb-yp__faq {
    padding: 56px 24px;
  }
  .pb-yp__faq-item > summary {
    font-size: 18px;
    gap: 16px;
  }
  .pb-yp__faq-h2 {
    font-size: 32px;
  }
}

/* ---------------------------------------------------------------------------
   FINAL CTA — full-bleed red with decorative "pets" background icon
   --------------------------------------------------------------------------- */
.pb-yp__cta {
  position: relative;
  background: var(--pb-accent-hover);
  padding: 96px 32px;
  overflow: hidden;
}

.pb-yp__cta-bg {
  position: absolute;
  top: -40px;
  right: -40px;
  color: #ffffff;
  opacity: 0.08;
  font-size: 400px !important;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transform: rotate(12deg);
}

.pb-yp__cta-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: left;
}

.pb-yp__cta-h2 {
  color: #ffffff;
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 24px;
  max-width: 720px;
}

.pb-yp__cta-body {
  color: var(--pb-soft);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 640px;
}

.pb-yp__cta-actions {
  display: flex;
  gap: 16px;
}

.pb-yp__cta-btn {
  display: inline-block;
  padding: 18px 32px;
  background: #ffffff;
  color: var(--pb-accent-hover);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: transform 0.15s ease;
}

.pb-yp__cta-btn:hover,
.pb-yp__cta-btn:focus {
  background: var(--pb-soft);
  color: var(--pb-accent-hover);
  text-decoration: none;
}

.pb-yp__cta-btn:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .pb-yp__cta {
    padding: 56px 24px;
  }
  .pb-yp__cta-bg {
    font-size: 280px !important;
    top: -20px;
    right: -60px;
  }
  .pb-yp__cta-h2 {
    font-size: 32px;
  }
  .pb-yp__cta-body {
    font-size: 16px;
  }
}

/* ---------------------------------------------------------------------------
   Reduced motion — kill image zoom + marker transition
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .pb-yp__card-img,
  .pb-yp__card-name,
  .pb-yp__card-cta,
  .pb-yp__faq-marker,
  .pb-yp__cta-btn {
    transition: none !important;
  }
  .pb-yp__card:hover .pb-yp__card-img {
    transform: none;
  }
}

/* ===========================================================================
   SPECIFICITY OVERRIDES — beat Divi parent-theme rules
   Divi defines `.et_pb_section h1`, `body h1`, etc. that override single-class
   selectors. These overrides chain `body.pb-yp` for high specificity AND use
   !important on color / font-family to lock brand-critical values.
   =========================================================================== */
body.pb-yp .pb-yp__hero-h1,
body .pb-yp .pb-yp__hero-h1 {
  color: #ffffff !important;
  font-family: "Noto Serif", Georgia, serif !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

body.pb-yp .pb-yp__hero-eyebrow,
body .pb-yp .pb-yp__hero-eyebrow {
  color: var(--pb-soft) !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
}

body.pb-yp .pb-yp__hero-subline,
body .pb-yp .pb-yp__hero-subline {
  color: var(--pb-soft) !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
}

body.pb-yp .pb-yp__cta-h2,
body .pb-yp .pb-yp__cta-h2 {
  color: #ffffff !important;
  font-family: "Noto Serif", Georgia, serif !important;
}

body.pb-yp .pb-yp__cta-body,
body .pb-yp .pb-yp__cta-body {
  color: var(--pb-soft) !important;
}

body.pb-yp .pb-yp__card-name,
body .pb-yp .pb-yp__card-name {
  color: var(--pb-ink) !important;
  font-family: "Noto Serif", Georgia, serif !important;
}

/* Material Symbols safety net — Divi's icon plugins use .et-pb-icon / .et_pb_icon
   which have their own font-family. Lock our trait icons to Material Symbols. */
body.pb-yp .material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
  font-weight: normal !important;
  font-style: normal !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  display: inline-block !important;
  white-space: nowrap !important;
  word-wrap: normal !important;
  direction: ltr !important;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
}

/* ===========================================================================
   HERO LAYOUT — landscape: text on left, puppy face on right
   On portrait the existing @media(orientation:portrait) rule already shifts
   the image to 82% and keeps text centered — leave that untouched.
   =========================================================================== */
@media (orientation: landscape) {
  /* Constrain text block to the left ~48%, left-align copy.
     align-items intentionally omitted — inherits flex-end from base rule
     so the block stays bottom-anchored, matching the original design. */
  .pb-yp__hero-text {
    padding-left: clamp(24px, 5vw, 80px);
    padding-right: 52%;
  }
  .pb-yp__hero-eyebrow,
  .pb-yp__hero-h1,
  .pb-yp__hero-subline {
    text-align: left;
  }
  /* Push puppy face toward the right third of the frame */
  .pb-yp__hero-media img {
    object-position: 72% top;
  }
  /* Left-to-right dark gradient keeps text legible over the lighter bg */
  .pb-yp__hero-overlay {
    background:
      linear-gradient(to right, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.28) 46%, transparent 66%),
      linear-gradient(to top,   rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.08) 45%, transparent 100%);
  }
}
}
