/* Breakpoint values are generated from Scripts/frontend-breakpoints.json. */

/* =========================================================

   РІР‚Сћ Hero
   РІР‚Сћ Р С”Р Р…Р С•Р С—Р С”Р С‘ Hero
   РІР‚Сћ РЎРѓРЎвЂљРЎР‚Р С•Р С”РЎС“ РЎвЂћР В°Р С”РЎвЂљР С•Р Р† Hero
   РІР‚Сћ Р С—РЎР‚Р В°Р Р†РЎС“РЎР‹ Р С”Р С•Р В»Р С•Р Р…Р С”РЎС“ Hero Image System
   РІР‚Сћ ActionMenu Р Р†Р Р…РЎС“РЎвЂљРЎР‚Р С‘ Hero
   Р В­РЎвЂљР С•РЎвЂљ РЎвЂћР В°Р в„–Р В» Р С•Р С—Р С‘РЎР‚Р В°Р ВµРЎвЂљРЎРѓРЎРЏ Р Р…Р В°:
   РІР‚Сћ photocka-variables.css
   РІР‚Сћ photocka-base.css
   РІР‚Сћ photocka-components.css
   РІР‚Сћ photocka-motion.css
   
   
   
   ========================================================= */


/* =========================================================
   1. HERO РІР‚вЂќ Р С™Р С›Р СњР СћР вЂўР в„ўР СњР вЂўР В  Р В Р СћР вЂўР СљР В«
   ========================================================= */




.phc-hero {
  position: relative;
  overflow: visible;
  min-block-size: var(--phc-hero-height-min);
}

.phc-hero.phc-hero--theme-yellow {
  background-image: url('../images/hero-fon-fotochka-teplyy-zheltyy-gradient.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--phc-text-on-yellow);
}

.phc-hero--theme-yellow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--phc-bg-cream);
  opacity: 0.40;
  pointer-events: none;
  z-index: 0;
}

.phc-hero.phc-hero--theme-blue {
  background: var(--phc-hero-bg-blue);
  color: var(--phc-text-on-dark);
}

.phc-hero.phc-hero--theme-cream {
  background: var(--phc-hero-bg-cream);
  color: var(--phc-text-on-cream);
}

.phc-hero.phc-hero--theme-graphite {
  background: var(--phc-bg-graphite);
  color: var(--phc-text-on-dark);
}


/* =========================================================
   2. HERO РІР‚вЂќ Р РЋР вЂўР СћР С™Р С’ Р В Р С™Р С›Р вЂєР С›Р СњР С™Р В
   ========================================================= */

.phc-hero__inner {
  padding-inline: var(--phc-container-pad-inline);
  padding-block-start: var(--phc-hero-header-inset-desktop);
  display: grid;
  grid-template-columns: minmax(var(--phc-num-0), 1.2fr) minmax(var(--phc-num-0), 0.8fr);
  gap: var(--phc-hero-grid-gap);
  align-items: center;
  min-block-size: var(--phc-hero-height-desktop);
  position: relative;
  z-index: 1;  
}



.phc-hero__inner,
.phc-hero__content,
.phc-hero__media,
.phc-hero__facts {
  position: relative;
  z-index: 1;
}

.phc-hero__content {
  grid-column: 1;
  grid-row: 1;
}

.phc-hero__media {
  grid-column: 2;
  grid-row: 1;
}

.phc-hero__facts {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: stretch;
  inline-size: var(--phc-percent-100);
  max-inline-size: var(--phc-percent-100);
  min-inline-size: 0;
}

.phc-hero--content-only .phc-hero__inner,
.phc-hero--no-image .phc-hero__inner {
  grid-template-columns: minmax(var(--phc-num-0), var(--phc-num-1));
}

.phc-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--phc-hero-content-gap);
  inline-size: var(--phc-percent-100);
  max-inline-size: none; 
  position: relative;
  z-index: 1;  
}

.phc-hero--content-only .phc-hero__content,
.phc-hero--no-image .phc-hero__content {
  max-inline-size: var(--phc-hero-content-max-no-image);
}


/* =========================================================
   3. HERO РІР‚вЂќ Р СћР вЂўР С™Р РЋР СћР С›Р вЂ™Р В«Р в„ў Р вЂР вЂєР С›Р С™
   ========================================================= */

.phc-hero__head {
  display: flex;
  flex-direction: column;
  gap: var(--phc-space-2);
}

.phc-hero__title {
  margin-block-start: var(--phc-space-2);
  margin-block-end: var(--phc-space-3);  
  padding-block-start: 16px;
  padding-block-end: 16px;
  font-size: var(--phc-font-size-4xl);
  line-height: var(--phc-line-height-tight);
  font-weight: var(--phc-font-weight-bold);
  font-family: var(--phc-font-family-heading);
  text-wrap: balance;
}

.phc-hero__subtitle {
  font-size: var(--phc-font-size-xl);
  font-weight: var(--phc-font-weight-semibold);
  line-height: var(--phc-line-height-base);
  margin-block-start: var(--phc-space-3);
  margin-block-end: var(--phc-space-2);
  max-inline-size: none;
}

.phc-hero__text {
  display: flex;
  flex-direction: column;
  font-size: var(--phc-font-size-xl);  
  gap: var(--phc-space-2);
  max-inline-size: none;
}

.phc-hero__description {
  margin: var(--phc-num-0);
  font-size: var(--phc-font-size-base);
  line-height: var(--phc-line-height-tight);
}


/* =========================================================
   4. HERO РІР‚вЂќ Р С™Р С›Р В Р В Р вЂўР С™Р В¦Р ВР Р‡ Р СћР вЂўР С™Р РЋР СћР С’ Р СџР С› Р СћР вЂўР СљР С’Р Сљ
   ========================================================= */

.phc-hero--theme-yellow .phc-hero__subtitle,
.phc-hero--theme-cream .phc-hero__subtitle,
.phc-hero--theme-yellow .phc-hero__description,
.phc-hero--theme-cream .phc-hero__description {
  color: var(--phc-text-secondary);
}

.phc-hero--theme-blue .phc-hero__subtitle,
.phc-hero--theme-graphite .phc-hero__subtitle {
  color: var(--phc-text-on-dark-muted);
}

.phc-hero--theme-blue .phc-hero__description,
.phc-hero--theme-graphite .phc-hero__description {
  color: var(--phc-text-on-dark);
}

/* =========================================================
5. HERO РІР‚вЂќ Р С™Р СњР С›Р СџР С™Р В Р В HINT Р СџР С›Р вЂќ Р вЂќР вЂўР в„ўР РЋР СћР вЂ™Р ВР Р‡Р СљР В
========================================================= */
/* =========================================================
5. HERO РІР‚вЂќ Р С™Р СњР С›Р СџР С™Р В Р В HINT Р СџР С›Р вЂќ Р вЂќР вЂўР в„ўР РЋР СћР вЂ™Р ВР Р‡Р СљР В
========================================================= */

.phc-hero__actions-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--phc-space-2);
}

.phc-hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--phc-space-2);
  margin-block-start: var(--phc-space-4);
  align-items: stretch;
}

.phc-hero__action {
  display: flex;
  align-items: stretch;
  min-width: 0;
  inline-size: 100%;
}

.phc-hero__action--primary,
.phc-hero__action--secondary {
  display: flex;
  min-width: 0;
  inline-size: 100%;
}

.phc-hero__action > *,
.phc-hero__action .phc-action,
.phc-hero__action .phc-action__details {
  inline-size: 100%;
  min-width: 0;
}

/* Р вЂР В°Р В·Р С•Р Р†РЎвЂ№Р в„– РЎРѓРЎвЂљР С‘Р В»РЎРЉ hero-Р С”Р Р…Р С•Р С—Р С•Р С” */
.phc-btn,
.phc-hero__actions > .phc-hero__action .phc-action__btn,
.phc-hero__actions > .phc-hero__action > button,
.phc-hero__actions > .phc-hero__action > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: var(--phc-btn-height-lg);
  padding-inline: var(--phc-btn-padding-x);
  padding-block: var(--phc-btn-padding-y);
  border-radius: var(--phc-radius-button);
  font-size: var(--phc-font-size-base);
  font-weight: var(--phc-font-weight-semibold);
  text-decoration: none;
  border: 1px solid transparent;
  box-sizing: border-box;
  transition:
    background-color var(--phc-transition-fast) var(--phc-ease-in-out),
    border-color var(--phc-transition-fast) var(--phc-ease-in-out),
    color var(--phc-transition-fast) var(--phc-ease-in-out),
    transform var(--phc-transition-fast) var(--phc-ease-out),
    box-shadow var(--phc-transition-fast) var(--phc-ease-in-out);
}

.phc-btn:hover,
.phc-hero__actions > .phc-hero__action .phc-action__btn:hover,
.phc-hero__actions > .phc-hero__action > button:hover,
.phc-hero__actions > .phc-hero__action > a:hover {
  transform: translateY(calc(var(--phc-space-1) * -1));
}

/* PRIMARY */
.phc-hero__action--primary > .phc-btn,
.phc-hero__action--primary > .phc-action__btn,
.phc-hero__action--primary > button,
.phc-hero__action--primary > a {
  background: var(--phc-btn-primary-bg);
  color: var(--phc-btn-primary-text);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.24)
}

.phc-hero__action--primary > .phc-btn:hover,
.phc-hero__action--primary > .phc-action__btn:hover,
.phc-hero__action--primary > button:hover,
.phc-hero__action--primary > a:hover {
  background: var(--phc-btn-primary-hover);
}

/* SECONDARY */
.phc-hero__action--secondary > .phc-btn,
.phc-hero__action--secondary > .phc-action__btn,
.phc-hero__action--secondary > button,
.phc-hero__action--secondary > a {
  background: var(--phc-bg-cream);
  color: var(--phc-brand-yellow-dark);
  border: 1.5px solid var(--phc-btn-primary-bg);
  box-shadow: 0 1px 2px rgba(16,24,40,0.04);
}

.phc-hero__action--secondary > .phc-btn:hover,
.phc-hero__action--secondary > .phc-action__btn:hover,
.phc-hero__action--secondary > button:hover,
.phc-hero__action--secondary > a:hover {
  background: var(--phc-bg-cream-dark);
}

/* HINT */
.phc-hero__action-hint {
  margin: var(--phc-num-0);
  font-size: var(--phc-font-size-sm);
  line-height: var(--phc-line-height-base);
}

.phc-hero--theme-yellow .phc-hero__action-hint,
.phc-hero--theme-cream .phc-hero__action-hint {
  color: var(--phc-text-muted);
}

.phc-hero--theme-blue .phc-hero__action-hint,
.phc-hero--theme-graphite .phc-hero__action-hint {
  color: var(--phc-text-on-dark-muted);
}

/* =========================================================
6. ACTION MENU РІР‚вЂќ Р С›Р вЂР С›Р вЂєР С›Р В§Р С™Р С’ Р В Р СџР С›Р вЂ”Р ВР В¦Р ВР С›Р СњР ВР В Р С›Р вЂ™Р С’Р СњР ВР вЂў
========================================================= */
.phc-action {
position: relative;
display: flex;
inline-size: 100%; /* Р С™Р В»РЎР‹РЎвЂЎР ВµР Р†Р С•Р Вµ: Р Р…Р В° Р Р†РЎРѓРЎР‹ РЎв‚¬Р С‘РЎР‚Р С‘Р Р…РЎС“ РЎР‚Р С•Р Т‘Р С‘РЎвЂљР ВµР В»РЎРЏ */
}
.phc-action__details {
position: relative;
inline-size: 100%; /* Р С™Р В»РЎР‹РЎвЂЎР ВµР Р†Р С•Р Вµ: details Р Р…Р В° 100% */
}
.phc-action__details[open] {
z-index: var(--phc-z-dropdown);
}
.phc-action__btn {
cursor: pointer;
list-style: none;
display: flex;
align-items: center;
justify-content: center;
inline-size: 100%; /* Р С™Р В»РЎР‹РЎвЂЎР ВµР Р†Р С•Р Вµ: summary Р Р…Р В° 100% */
min-block-size: var(--phc-btn-height-lg);
}
.phc-action__btn::-webkit-details-marker {
display: none;
}
.phc-action__menu {
position: absolute;
inset-inline-start: var(--phc-num-0);
inset-block-start: calc(var(--phc-percent-100) + var(--phc-action-menu-offset-y));
z-index: var(--phc-z-dropdown);
min-inline-size: var(--phc-action-menu-min-width);
padding: var(--phc-action-menu-padding);
border-radius: var(--phc-action-menu-radius);
background: var(--phc-action-menu-bg);
border: 1px solid var(--phc-action-menu-border);
box-shadow: var(--phc-action-menu-shadow);
}
.phc-action__item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: var(--phc-action-item-gap);

  inline-size: 100%;
  min-block-size: var(--phc-action-item-min-height);

  padding-block: var(--phc-action-item-padding-y);
  padding-inline: var(--phc-action-item-padding-x);
  border-radius: var(--phc-action-item-radius);

  background: var(--phc-action-item-bg);
  color: var(--phc-action-item-text);

  border: var(--phc-action-item-border-width) solid var(--phc-action-item-border);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.phc-action__label {
  flex: 0 1 auto;
  text-align: left;
}

.phc-action__item:hover {
  background: var(--phc-action-item-bg-hover);
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.08);
  border-color: rgba(31, 35, 40, 0.12);  
}

.phc-action__item:active {
  background: var(--phc-action-item-bg-active);
}

.phc-action__label {
line-height: var(--phc-line-height-base);
}
.phc-action__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  inline-size: var(--phc-action-icon-size-box);
  block-size: var(--phc-action-icon-size-box);
}


.phc-action__item .phc-icon {
  inline-size: var(--phc-action-icon-size);
  block-size: var(--phc-action-icon-size);
}


.phc-action__hint {
  margin-top: var(--phc-space-2);
  padding-top: var(--phc-space-2);
  border-top: 1px solid var(--phc-action-hint-border);
  font-size: var(--phc-font-size-xs);
  line-height: 1.4;
  color: var(--phc-action-hint-text);
}
/* =========================================================
7. ACTION MENU РІР‚вЂќ Р В¦Р вЂ™Р вЂўР СћР С’ Р РЋР вЂўР В Р вЂ™Р ВР РЋР С›Р вЂ™ Р В Р С™Р С’Р В Р Сћ
========================================================= */
.phc-action__item--telegram .phc-action__icon,
.phc-action__item--telegram .phc-action__icon .phc-icon {
  color: var(--phc-action-tone-telegram);
}

.phc-action__item--max .phc-action__icon,
.phc-action__item--max .phc-action__icon .phc-icon {
  color: var(--phc-action-tone-max);
}

.phc-action__item--mail .phc-action__icon,
.phc-action__item--mail .phc-action__icon .phc-icon {
  color: var(--phc-action-tone-mail);
}

.phc-action__item--google .phc-action__icon,
.phc-action__item--google .phc-action__icon .phc-icon {
  color: var(--phc-action-tone-google);
}

.phc-action__item--yandex .phc-action__icon,
.phc-action__item--yandex .phc-action__icon .phc-icon {
  color: var(--phc-action-tone-yandex);
}

.phc-action__item--2gis .phc-action__icon,
.phc-action__item--2gis .phc-action__icon .phc-icon {
  color: var(--phc-action-tone-2gis);
}

/* =========================================================
Hover
========================================================= */


.phc-action__item--max:hover {
  border-color: var(--phc-action-tone-max-soft);
}

.phc-action__item--mail:hover {
  border-color: var(--phc-action-tone-mail-soft);
}

.phc-action__item--google:hover {
  border-color: var(--phc-action-tone-google-soft);
}

.phc-action__item--yandex:hover {
  border-color: var(--phc-action-tone-yandex-soft);
}

.phc-action__item--2gis:hover {
  border-color: var(--phc-action-tone-2gis-soft);
}

/* =========================================================
ACTION MENU РІР‚вЂќ WIDTH RESTORE
========================================================= */

.phc-action {
  position: relative;
  display: flex;
  inline-size: 100%;
  min-width: 0;
}

.phc-action__details {
  position: relative;
  inline-size: 100%;
  min-width: 0;
}

.phc-action__details[open] {
  z-index: var(--phc-z-dropdown);
}

.phc-action__btn {
  inline-size: 100%;
  min-inline-size: 0;
  justify-content: center;
}

.phc-action__menu {
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: auto;
  inset-block-start: calc(100% + var(--phc-action-menu-offset-y));
  z-index: var(--phc-z-dropdown);
  inline-size: 100%;
  min-inline-size: 100%;
  max-inline-size: 100%;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  gap: var(--phc-space-1);
}

.phc-action__menu .phc-action__item {
  inline-size: 100%;
  box-sizing: border-box;
  border-width: var(--phc-action-item-border-width);
  border-style: solid;
  border-color: var(--phc-action-item-border);
  outline: none;
}

/* =========================================================
8. HERO РІР‚вЂќ Р В¤Р С’Р С™Р СћР В«
========================================================= */
.phc-hero__facts {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: var(--phc-hero-meta-gap);
  margin-top: var(--phc-space-6);
  padding-block-start: 24px;
}
.phc-hero__fact {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--phc-space-2);
}
.phc-hero__fact-icon {
  flex: 0 0 auto;
  min-inline-size: 0;
/* Р С™Р Р†Р В°Р Т‘РЎР‚Р В°РЎвЂљ РЎРѓР С• РЎРѓР С”Р С•РЎв‚¬Р ВµР Р…Р Р…РЎвЂ№Р СР С‘ РЎС“Р С–Р В»Р В°Р СР С‘ Р Р†Р СР ВµРЎРѓРЎвЂљР С• Р С”РЎР‚РЎС“Р С–Р В° */
border-radius: var(--phc-radius-md) !important;
background: var(--phc-bg-white) !important;
border: 1px solid var(--phc-border-light) !important;
box-shadow: var(--phc-shadow-sm) !important;

}

/* Р вЂњРЎР‚Р В°Р Т‘Р С‘Р ВµР Р…РЎвЂљ Р Т‘Р В»РЎРЏ Р С‘Р С”Р С•Р Р…Р С”Р С‘ Р Р†Р Р…РЎС“РЎвЂљРЎР‚Р С‘ Р В±Р ВµР в„–Р Т‘Р В¶Р В° */
.phc-hero__fact-icon .phc-icon {
color: var(--phc-brand-yellow-dark);
}

.phc-hero__fact-text {
  display: block;
  font-size: var(--phc-font-size-sm);
  line-height: var(--phc-line-height-base);
  white-space: nowrap;
}
.phc-hero--theme-yellow .phc-hero__fact-text,
.phc-hero--theme-cream .phc-hero__fact-text {
color: var(--phc-text-secondary);
}
.phc-hero--theme-blue .phc-hero__fact-text,
.phc-hero--theme-graphite .phc-hero__fact-text {
color: var(--phc-text-on-dark);
}
/* =========================================================
   9. HERO РІР‚вЂќ MEDIA / IMAGE SYSTEM
   ========================================================= */

.phc-hero__media {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 1;
}

.phc-hero__figure {
  inline-size: min(var(--phc-percent-100), var(--phc-hero-media-maxw));
  aspect-ratio: 4 / 5;
  margin: var(--phc-num-0);
  border-radius: var(--phc-radius-none);
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.phc-hero__image {
  display: block;
  inline-size: var(--phc-percent-100);
  block-size: var(--phc-percent-100);
  object-position: center;
  background: transparent;
}

.phc-hero[data-image-fit="contain"] .phc-hero__image {
  object-fit: contain;
}

.phc-hero[data-image-fit="cover"] .phc-hero__image {
  object-fit: cover;
}

.phc-hero[data-image-background="transparent"] .phc-hero__figure {
  background: transparent;
}

/* =========================================================
   HERO IMAGE РІР‚вЂќ TABLET
   ========================================================= */

/* phc-breakpoint:lg:max */ @media (max-width: 1023.98px) {
  .phc-hero__media {
    justify-content: flex-start;
  }

  .phc-hero__figure {
    inline-size: var(--phc-percent-100);
    max-inline-size: 28rem;
  }
}

/* =========================================================
   HERO IMAGE РІР‚вЂќ MOBILE
   ========================================================= */

/* phc-breakpoint:md:max */ @media (max-width: 767.98px) {
  .phc-hero__figure {
    inline-size: var(--phc-percent-100);
    max-inline-size: var(--phc-percent-100);
    max-block-size: none;
  }
}



/* =========================================================
   HERO EDITORIAL VARIANT
   ========================================================= */

.phc-hero--editorial {
  background: var(--phc-pattern-surface-cream);
  color: var(--phc-text-on-cream);
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.phc-hero--editorial .phc-hero__inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  min-block-size: 0;
  block-size: auto;
  isolation: isolate;
  padding-block: var(--phc-space-3);
  gap: var(--phc-space-3);
}

.phc-hero--editorial .phc-hero__content {
  z-index: 3;
  max-inline-size: var(--phc-hero-content-max-width);
  gap: var(--phc-space-1);
}

.phc-hero--editorial .phc-hero__head {
  gap: var(--phc-space-1);
}

.phc-hero--editorial .phc-hero__eyebrow {
  margin: 0;
  color: var(--phc-brand-orange);
  font-size: var(--phc-font-size-sm);
  font-weight: var(--phc-font-weight-bold);
  letter-spacing: 0.08em;
  line-height: var(--phc-line-height-base);
  text-transform: uppercase;
}

.phc-hero--editorial .phc-hero__title {
  margin-block: 0;
  color: var(--phc-text-primary);
  font-size: var(--phc-hero-title-size);
  line-height: var(--phc-line-height-tight);
}

.phc-hero--editorial .phc-hero__intro {
  max-inline-size: 48ch;
  margin: 0;
  color: var(--phc-pattern-text-secondary);
}

.phc-hero--editorial .phc-hero__note {
  max-inline-size: 48ch;
  margin: 0;
  padding-block-start: var(--phc-space-1);
  border-block-start: 1px solid var(--phc-pattern-border-warm);
  color: var(--phc-pattern-accent-dark);
  font-size: var(--phc-font-size-sm);
  font-weight: var(--phc-font-weight-semibold);
}

.phc-hero--editorial .phc-hero__actions {
  margin-block-start: var(--phc-space-1);
}

.phc-hero--editorial .phc-hero__action--primary > a,
.phc-hero--editorial .phc-hero__action--primary > button,
.phc-hero--editorial .phc-hero__action--primary .phc-action__btn {
  background: var(--phc-brand-orange);
  border-color: var(--phc-brand-orange);
  color: var(--phc-text-on-dark);
}

.phc-hero--editorial .phc-hero__media {
  min-inline-size: 0;
  justify-content: center;
  overflow: visible;
  align-self: start;
  z-index: 1;
  pointer-events: none;
}

.phc-hero--editorial .phc-hero__visual-stage {
  position: relative;
  display: flex;
  inline-size: 100%;
  aspect-ratio: 3 / 2;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.phc-hero--editorial .phc-hero__media-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  transform: rotate(-2deg);
  object-fit: contain;
  pointer-events: none;
}

.phc-hero--editorial .phc-hero__foreground-frame {
  position: absolute;
  inset-inline-start: 22%;
  inset-block-start: 12%;
  inline-size: 68%;
  block-size: 76%;
  display: grid;
  place-items: center;
  z-index: 2;
}

.phc-hero--editorial .phc-hero__foreground-frame .phc-hero__figure {
  position: relative;
  inline-size: 100%;
  block-size: 100%;
  aspect-ratio: auto;
}

.phc-hero--editorial .phc-hero__media-image {
  position: relative;
  z-index: 1;
}

.phc-hero--editorial .phc-hero__facts {
  grid-column: auto;
  grid-row: auto;
  justify-self: auto;
  inline-size: auto;
  max-inline-size: 100%;
  align-items: center;
  gap: var(--phc-space-2);
  margin-block-start: 0;
}

.phc-hero--editorial .phc-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.phc-hero--editorial .phc-hero__fact {
  min-inline-size: 0;
}

.phc-hero--editorial .phc-hero__fact-icon {
  background: transparent !important;
  border-color: var(--phc-pattern-border-warm) !important;
  box-shadow: none !important;
}

.phc-hero--editorial .phc-hero__fact-icon .phc-icon {
  color: var(--phc-brand-orange);
}

.phc-hero--editorial .phc-hero__fact-text {
  color: var(--phc-pattern-text-secondary);
  white-space: normal;
}

/* Desktop keeps the compact, content-column facts composition. */
@media (min-width: 1024px) {
  .phc-hero--editorial .phc-hero__title {
    margin-block-start: calc(var(--phc-space-1) / 2);
    margin-block-end: var(--phc-space-1);
  }

  .phc-hero--editorial .phc-hero__intro {
    margin-block-end: var(--phc-space-1);
  }

  .phc-hero--editorial .phc-hero__facts {
    grid-template-columns: repeat(3, max-content);
    inline-size: auto;
    max-inline-size: 100%;
    justify-self: start;
    gap: var(--phc-hero-meta-gap);
  }
}

/* Keep the editorial two-column composition on tablet, then move the
   complete media group below the actions on narrow screens. */
@media (max-width: 1023.98px) {
  .phc-hero--editorial .phc-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--phc-space-2);
    min-block-size: 0;
    padding-block: var(--phc-space-2);
  }

  .phc-hero--editorial .phc-hero__content {
    display: contents;
  }

  .phc-hero--editorial .phc-hero__head {
    grid-column: 1;
    grid-row: 1;
  }

  .phc-hero--editorial .phc-hero__actions-wrap {
    grid-column: 1;
    grid-row: 2;
  }

  .phc-hero--editorial .phc-hero__media {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .phc-hero--editorial .phc-hero__facts {
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    inline-size: 100%;
    margin-block-start: var(--phc-space-2);
  }

  .phc-hero--editorial .phc-hero__title {
    font-size: var(--phc-hero-title-size-tablet);
  }

  .phc-hero--editorial .phc-hero__media-decor {
    transform: rotate(-2deg);
  }

  .phc-hero--editorial .phc-hero__foreground-frame {
    inset-inline-start: 20%;
    inset-block-start: 10%;
    inline-size: 72%;
    block-size: 78%;
  }
}

@media (max-width: 767.98px) {
  .phc-hero--editorial .phc-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--phc-space-1);
    padding-block: var(--phc-space-2);
  }

  .phc-hero--editorial .phc-hero__content {
    display: contents;
    max-inline-size: none;
  }

  .phc-hero--editorial .phc-hero__head {
    order: 1;
  }

  .phc-hero--editorial .phc-hero__actions-wrap {
    order: 2;
  }

  .phc-hero--editorial .phc-hero__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .phc-hero--editorial .phc-hero__media {
    order: 3;
    inline-size: 100%;
  }

  .phc-hero--editorial .phc-hero__visual-stage {
    inline-size: 100%;
    justify-content: center;
  }

  .phc-hero--editorial .phc-hero__foreground-frame {
    inset-inline-start: 15%;
    inset-block-start: 10%;
    inline-size: 70%;
    block-size: 76%;
  }

  .phc-hero--editorial .phc-hero__media-decor {
    transform: rotate(-2deg);
  }

  .phc-hero--editorial .phc-hero__facts {
    order: 4;
    align-items: flex-start;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--phc-space-1);
    margin-block-start: var(--phc-space-2);
  }
}

@media (max-width: 767.98px) {
  .phc-hero--editorial .phc-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(8.75rem, 0.95fr);
    grid-auto-rows: auto;
    column-gap: var(--phc-space-2);
    row-gap: var(--phc-space-1);
    padding-block: var(--phc-space-2);
  }

  .phc-hero--editorial .phc-hero__content,
  .phc-hero--editorial .phc-hero__head {
    display: contents;
  }

  .phc-hero--editorial .phc-hero__eyebrow {
    grid-column: 1;
    grid-row: 1;
  }

  .phc-hero--editorial .phc-hero__title {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(1.65rem, 7vw, 2rem);
    line-height: 1.08;
    margin-block-end: var(--phc-space-1);
  }

  .phc-hero--editorial .phc-hero__intro {
    grid-column: 1;
    grid-row: 3;
    margin-block-end: var(--phc-space-1);
  }

  .phc-hero--editorial .phc-hero__note {
    grid-column: 1 / -1;
    grid-row: 4;
    inline-size: 100%;
  }

  .phc-hero--editorial .phc-hero__actions-wrap {
    grid-column: 1 / -1;
    grid-row: 5;
  }

  .phc-hero--editorial .phc-hero__media {
    grid-column: 2;
    grid-row: 2 / span 2;
    inline-size: 100%;
    align-self: start;
  }

  .phc-hero--editorial .phc-hero__visual-stage {
    inline-size: 100%;
  }

  .phc-hero--editorial .phc-hero__facts {
    grid-column: 1 / -1;
    grid-row: 6;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--phc-space-1);
    margin-block-start: var(--phc-space-2);
  }

  .phc-hero--editorial .phc-hero__fact {
    gap: var(--phc-space-1);
    min-inline-size: 0;
  }

  .phc-hero--editorial .phc-hero__fact-icon {
    inline-size: 1.75rem;
    block-size: 1.75rem;
    flex: 0 0 1.75rem;
  }

  .phc-hero--editorial .phc-hero__fact-text {
    font-size: var(--phc-font-size-sm);
    line-height: 1.25;
  }
}

/* =========================================================
   ACTION MENU STACKING CONTRACT
   Closed scopes remain in normal page order; the scope containing an open
   ActionMenu is raised above adjacent page sections.
   ========================================================= */

.phc-hero {
  position: relative;
  z-index: auto;
}

.phc-hero.phc-action-scope--menu-open {
  z-index: var(--phc-z-dropdown);
}

.phc-hero__actions {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.phc-hero .phc-action,
.phc-hero .phc-action__details {
  position: relative;
  overflow: visible;
}

.phc-hero .phc-action__menu {
  z-index: var(--phc-z-dropdown);
}

.phc-hero--editorial {
  overflow: visible;
}
