@charset "utf-8";

/* ══════════════════════════════════════════════════════════════════
   PIZZAEXPRESS — Zendesk Guide theme stylesheet
   Restyled to PEX Component Library 3.1 (Web).

   • $variables are kept — enter the values from THEME-SETTINGS.md
     in Guide admin → Customize design → Settings.
   • Brand fonts are custom, so font stacks are pinned in CSS (the
     Zendesk font picker can't offer them). Upload the three files in
     assets-to-upload/ to the theme's Assets tab first.
   • Light mode only — the .ui-dark overrides have been removed by
     design; enabling dark mode in Guide will simply keep light colours.
   ══════════════════════════════════════════════════════════════════ */

/* DM Sans true italics (the bundled variable woff2 is upright-only). */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@1,400;1,500;1,700&display=swap");

/*************
 Brand fonts — served from theme assets.
 ⚠ BEFORE PUBLISHING IN ZENDESK: replace each src with the $assets
 variable shown in the comment (the relative paths below exist only
 for previewing inside this design-system project).
 *************/
@font-face {
  font-family: "Domaine Display Condensed";
  /* Zendesk: src: url(/hc/theming_assets/01KY75PV0EGPPBSNTVR2B69PBJ) format("woff"); */
  src: url("../fonts/domaine_display_condensed_regular-s.p.0mpzzvlwk0h7w.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Domaine Display";
  /* Zendesk: src: url(/hc/theming_assets/01KY75PV19NWJFB8WAYX6QR5JK) format("woff"); */
  src: url("../fonts/domaine_display_regular-s.p.0ao3.xcmvyune.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  /* Zendesk: src: url(/hc/theming_assets/01KY75PSVM86EG5RC0E7N8YFJ9) format("woff2"); */
  src: url("../fonts/3148927c302f6288-s.p.0ivclp6egke0x.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.fa-icon,
blockquote:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

/**********
 Variables
 **********/
body {
  /* Text */
  --text-font-family: 'DM Sans', sans-serif;
  --heading-font-family: 'Domaine Display', serif;
  --text-font-size: 16px;
  --text-font-size-large: calc(16px + 2px);
  --heading-1-font-size: 56px;
  --heading-2-font-size: 32px;
  --heading-3-font-size: 24px;
  --heading-4-font-size: 20px;
  --heading-5-font-size: 16px;
  --heading-6-font-size: calc(16px - 2px);
  /* Other */
  --border-radius-base: 2rem;
  --border-radius-small: calc(2rem / 2);
  --border-radius-button: 64px;
  --logo-height: 36px; /* @kind other */
  --border-width: 1px;
  --white-color: #fff;
  /* Assets */
  --assets-check-svg: url(/hc/theming_assets/01KXHCTKX8W3KCX8Q3QBK94KES); /* @kind other */
  --assets-circle-svg: url(/hc/theming_assets/01KXHCTKWR21DR7K9TJ3RMZD8N); /* @kind other */
}

/******************************
 PizzaExpress brand overrides
 — pinned in CSS on purpose; these are not theme settings
 ******************************/
body {
  /* Brand constants */
  --pex-warm-black: #1C1A1A;
  --pex-rose: #FF6D66;          /* signature coral accent — hover / focus */
  --pex-malbec: #331A1F;        /* deep wine — dark hero / CTA bands */
  --pex-hi-hat: #FFE39A;        /* warm cream */
  --pex-surface-warm: #EAE7E4;  /* light beige */
  --pex-ease: cubic-bezier(0.32, 0.72, 0, 1); /* @kind other */
  /* Brand font stacks override the $font settings above */
  --text-font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-font-family: "Domaine Display Condensed", Georgia, serif;
  --serif-font-family: "Domaine Display", Georgia, "Times New Roman", serif;
}

/**********
 Light mode
 **********/
body {
  --primary-color: rgba(28, 26, 26, 1);
  --secondary-color: rgba(255, 109, 102, 1);
  --primary-bg-color: rgba(247, 245, 244, 1);
  --primary-bg-color-always: rgba(247, 245, 244, 1);
  --secondary-bg-color: rgba(234, 231, 228, 1);
  --secondary-bg-color-always: rgba(234, 231, 228, 1);
  --primary-text-color: rgba(28, 26, 26, 1);
  --secondary-text-color: rgba(109, 109, 109, 1);
  --link-color: rgba(158, 26, 48, 1);
  --border-color: rgba(198, 197, 197, 1);
  --info-color: rgba(111, 128, 212, 1);
  --success-color: rgba(0, 126, 25, 1);
  --warning-color: rgba(185, 132, 0, 1);
  --danger-color: rgba(187, 26, 48, 1);
  --primary-color-light-hover: #0c0b0b;
  --primary-color-hover: #000;
  --primary-color-active: #000;
  --secondary-color-hover: #ff3329;
  --secondary-color-active: #ff241a;
  --secondary-bg-color-hover: #e1ddd9;
  --secondary-bg-color-active: #ddd8d3;
  --secondary-text-color-hover: #636363;
  --secondary-text-color-active: #5e5e5e;
  --link-color-hover: #691120;
  --link-color-active: #5c0f1c;
  --bg-image-opacity: 0.5;
  --bg-image-opacity-dark: 0.5;
  --bg-image-color: var(--primary-text-color);
}

.layout--style-filled .section:nth-child(even),
.layout--style-invert .section:nth-child(odd),
.section--secondary {
  /* Invert colors */
  --primary-bg-color: var(--secondary-bg-color-always); /* @kind color */
  --secondary-bg-color: var(--primary-bg-color-always); /* @kind color */
}

/*********
 Dark mode — intentionally removed. PizzaExpress is light-only;
 the .ui-dark class now inherits the light palette.
 *********/

/***********
 Base styles
 ***********/
*,
*:before,
*:after {
  box-sizing: border-box;
}

body,
html {
  min-height: 100vh;
}

[dir] body,
[dir] html {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--text-font-family);
  font-size: var(--text-font-size);
  font-weight: 400;
  line-height: 1.5;
  color: var(--primary-text-color);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[dir] body {
  background-color: var(--secondary-bg-color);
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-color-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:active,
a.is-active {
  color: var(--link-color-active);
}

[dir] a.is-disabled {
  cursor: default;
}

a.is-disabled,
a.is-disabled:hover,
a.is-disabled:active,
a.is-disabled.is-active {
  color: var(--secondary-text-color);
}

[dir] a,
[dir] button,
[dir] [type=submit],
[dir] [type=button],
[dir] [type=reset] {
  cursor: pointer;
}

a,
input,
button,
select,
textarea,
label {
  transition: all 220ms var(--pex-ease);
}

a:focus,
input:focus,
button:focus,
select:focus,
textarea:focus,
label:focus {
  outline: none;
}

a.focus-visible,
input.focus-visible,
button.focus-visible,
select.focus-visible,
textarea.focus-visible,
label.focus-visible {
  outline: 2px solid var(--pex-rose);
  outline-offset: 1px;
}

[dir] figure {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/********
 Headings
 ********/
h1,
.h1 {
  font-family: var(--display-font-family);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--heading-font-family);
  font-weight: bold;
}

h1,
.h1 {
  font-size: var(--heading-2-font-size);
  line-height: 0.95;
}

[dir] h1,
[dir] .h1 {
  margin: 0 0 0.6em;
}

[dir] .markdown h1,
[dir] .markdown .h1 {
  margin-top: 1em;
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9),
only screen and (min-width: 668px) and (min-height: 416px),
only screen and (min-width: 980px) {

  h1,
  .h1 {
    font-size: var(--heading-1-font-size);
    line-height: 0.9;
  }

  [dir] h1,
  [dir] .h1 {
    margin: 0 0 0.55em;
  }

  [dir] .markdown h1,
  [dir] .markdown .h1 {
    margin-top: 0.9em;
  }
}

h2,
.h2 {
  font-size: var(--heading-3-font-size);
  line-height: 1.3;
}

[dir] h2,
[dir] .h2 {
  margin: 0 0 1.3em;
}

[dir] .markdown h2,
[dir] .markdown .h2 {
  margin-top: 1.3em;
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9),
only screen and (min-width: 668px) and (min-height: 416px),
only screen and (min-width: 980px) {

  h2,
  .h2 {
    font-size: var(--heading-2-font-size);
    line-height: 1.28;
  }

  [dir] h2,
  [dir] .h2 {
    margin: 0 0 1.2em;
  }

  [dir] .markdown h2,
  [dir] .markdown .h2 {
    margin-top: 1.2em;
  }
}

h3,
.h3 {
  font-size: var(--heading-4-font-size);
  line-height: 1.4;
}

[dir] h3,
[dir] .h3 {
  margin: 0 0 1.4em;
}

[dir] .markdown h3,
[dir] .markdown .h3 {
  margin-top: 1.4em;
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9),
only screen and (min-width: 668px) and (min-height: 416px),
only screen and (min-width: 980px) {

  h3,
  .h3 {
    font-size: var(--heading-3-font-size);
    line-height: 1.3;
  }

  [dir] h3,
  [dir] .h3 {
    margin: 0 0 1.3em;
  }

  [dir] .markdown h3,
  [dir] .markdown .h3 {
    margin-top: 1.3em;
  }
}

h4,
.h4 {
  font-size: var(--heading-4-font-size);
  line-height: 1.4;
}

[dir] h4,
[dir] .h4 {
  margin: 0 0 1.4em;
}

[dir] .markdown h4,
[dir] .markdown .h4 {
  margin-top: 1.4em;
}

h5,
.h5 {
  font-size: var(--heading-5-font-size);
  line-height: 1.5;
}

[dir] h5,
[dir] .h5 {
  margin: 0 0 1.5em;
}

[dir] .markdown h5,
[dir] .markdown .h5 {
  margin-top: 1.5em;
}

h6,
.h6 {
  font-size: var(--heading-6-font-size);
  line-height: 1.5;
}

[dir] h6,
[dir] .h6 {
  margin: 0 0 1.5em;
}

[dir] .markdown h6,
[dir] .markdown .h6 {
  margin-top: 1.5em;
}

/**********************
 Other default elements
 *********************/
[dir] p,
[dir] ul,
[dir] ol,
[dir] dl,
[dir] pre,
[dir] table,
[dir] blockquote {
  margin: 1.5em 0 1.5em;
}

[dir] li {
  margin: 0.75em 0 0.75em;
}

small,
.small {
  font-size: var(--heading-6-font-size);
}

[role="main"] {
  flex-grow: 1;
  position: relative;
}

hr {
  display: block;
  height: 0;
}

[dir] hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

pre {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  color: var(--primary-bg-color);
}

[dir] pre {
  padding: 8px 16px;
  border-radius: var(--border-radius-base);
  background-color: var(--primary-text-color);
}

blockquote {
  display: block;
  position: relative;
  z-index: 2;
  font-family: var(--serif-font-family);
  font-style: italic;
  line-height: 1.2;
}

[dir=ltr] blockquote {
  padding-left: 16px;
  border-left: 1px solid var(--border-color);
}

[dir=rtl] blockquote {
  padding-right: 16px;
  border-right: 1px solid var(--border-color);
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9),
only screen and (min-width: 668px) and (min-height: 416px),
only screen and (min-width: 980px) {
  [dir=ltr] blockquote {
    padding-left: 24px;
  }

  [dir=rtl] blockquote {
    padding-right: 24px;
  }
}

@media only screen and (min-width: 980px) {
  [dir=ltr] blockquote {
    padding-left: 32px;
  }

  [dir=rtl] blockquote {
    padding-right: 32px;
  }
}

blockquote:before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: -4px;
  font-size: 60px;
  color: var(--secondary-bg-color);
}

[dir=ltr] blockquote:before {
  left: 8px;
}

[dir=rtl] blockquote:before {
  right: 8px;
}

@media only screen and (min-width: 568px) and (max-aspect-ratio: 13 / 9) and (max-width: 979px),
only screen and (min-width: 668px) and (min-height: 416px) and (max-width: 979px) {
  [dir=ltr] blockquote:before {
    left: 12px;
  }

  [dir=rtl] blockquote:before {
    right: 12px;
  }
}

@media only screen and (min-width: 980px) {
  [dir=ltr] blockquote:before {
    left: 16px;
  }

  [dir=rtl] blockquote:before {
    right: 16px;
  }
}

.list-unstyled {
  list-style: none;
}

[dir=ltr] .list-unstyled {
  padding-left: 0;
}

[dir=rtl] .list-unstyled {
  padding-right: 0;
}

dl.details {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: auto;
  grid-template-rows: auto;
  -ms-grid-columns: 1fr 2fr;
  grid-template-columns: 1fr 2fr;
}

[dir] dl.details {
  margin-bottom: 32px;
  margin-top: 0;
}

dl.details > *:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}

dl.details > *:nth-child(2) {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
}

dl.details > dt {
  font-weight: 700;
}

[dir] dl.details > dt {
  margin-bottom: 12px;
}

[dir=ltr] dl.details > dt {
  margin-right: 8px;
}

[dir=rtl] dl.details > dt {
  margin-left: 8px;
}

[dir] dl.details > dd {
  margin-bottom: 12px;
}

dl.details > div {
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  grid-column: 1 / 3;
}

[dir] dl.details > div {
  margin-bottom: 12px;
}

dl.details--type-2 {
  -ms-grid-rows: auto;
  grid-template-rows: auto;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
}

[dir] dl.details--type-2 {
  margin-bottom: 0;
}

dl.details--type-2 > *:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}

dl.details--type-2 > *:nth-child(2) {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
}

dl.details--type-2 > dd {
  color: var(--secondary-text-color);
}

@media only screen and (min-width: 980px),
only screen and (max-width: 567px) and (max-aspect-ratio: 13 / 9) {
  [dir=ltr] dl.details--type-2 > dd {
    text-align: right;
  }

  [dir=rtl] dl.details--type-2 > dd {
    text-align: left;
  }
}

[dir] dl.details--no-margin {
  margin-bottom: 0;
}

.text-secondary {
  font-size: var(--heading-6-font-size);
  line-height: 1.5;
  color: var(--secondary-text-color);
}

/******
 Tables
 ******/
.table-container {
  display: block;
  width: 100%;
  overflow-x: auto;
}

[dir] .table-container {
  border: 1px solid var(--border-color);
}

.table-container table:not(.pika-table) {
  width: calc(100% + 3px);
  max-width: calc(100% + 3px);
}

[dir] .table-container table:not(.pika-table) {
  margin: -1px;
}

table:not(.pika-table) {
  width: 100%;
  max-width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}

table:not(.pika-table) thead {
  font-weight: 700;
}

[dir] table:not(.pika-table) thead {
  background-color: var(--secondary-bg-color);
}

[dir] table:not(.pika-table) tfoot {
  background-color: var(--secondary-bg-color);
}

table:not(.pika-table) thead,
table:not(.pika-table) tbody,
table:not(.pika-table) tfoot {
  width: 100%;
  max-width: 100%;
}

[dir=ltr] table:not(.pika-table) th {
  border-left: 1px solid var(--border-color);
}

[dir=rtl] table:not(.pika-table) th {
  border-right: 1px solid var(--border-color);
}

[dir] table:not(.pika-table) td {
  padding: 8px;
  border: 1px solid var(--border-color);
}

/*******
 Iframes
 *******/
.iframe {
  display: block;
  width: 100%;
  height: 0;
  position: relative;
}

.iframe iframe {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

[dir=ltr] .iframe iframe {
  left: 0;
}

[dir=rtl] .iframe iframe {
  right: 0;
}

[dir] .markdown > * {
  margin: 1.5em 0 1.5em;
}

/* Wysiwyg body */
.wysiwyg-body p code {
  display: inline-block;
  color: var(--primary-text-color);
  white-space: pre;
}

[dir] .wysiwyg-body p code {
  padding: 0 0.25em;
  border-radius: 2px;
  border: 1px solid var(--border-color);
  background-color: var(--secondary-bg-color);
}

.wysiwyg-body a {
  text-decoration: underline;
}

.wysiwyg-body a:hover {
  text-decoration: none;
}

.wysiwyg-body blockquote {
  font-style: italic;
  overflow: hidden;
}

[dir=ltr] .wysiwyg-body blockquote {
  border-left: 5px solid var(--border-color);
  margin-left: 0;
  margin-right: 0;
  padding-left: 1.5em;
  padding-right: 1.5em;
}

[dir=rtl] .wysiwyg-body blockquote {
  border-right: 5px solid var(--border-color);
  margin-right: 0;
  margin-left: 0;
  padding-right: 1.5em;
  padding-left: 1.5em;
}

.comments__item-body.wysiwyg-body blockquote:before {
  color: var(--primary-bg-color);
}

[dir] .comments__item-body.wysiwyg-body p code {
  background-color: var(--primary-bg-color);
}

.nesty-panel ul:nth-child(2) {
  position: relative;
}

.nesty-search {
  position: absolute;
  transform: translateY(-100%);
  z-index: 1;
  outline: none !important;
  border: none !important;
  background: none !important;
}

[dir] ul[data-garden-version] {
  margin: 0;
}

.approval-request .fSbCBS {
  background-color: var(--secondary-bg-color);
  border-radius: var(--border-radius-base);
}

.approval-request .bFtQSZ {
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius-base);
}

/* Other */
[dir] reach-portal [role=menuitem],
[dir] .dropdown__menuitem {
  text-align: left;
}

.page-heading__nav,
.page-heading__meta {
  row-gap: 8px;
}

.header__link {
  display: flex;
  align-items: center;
  gap: 8px;
}

[dir] zd-summary-block {
  color: var(--primary-text-color);
  background-color: var(--secondary-bg-color);
  border-radius: var(--border-radius-small);
  border-color: var(--primary-color);
}

@media only screen and (min-width: 980px) {
  html[dir].ui-light .btn.header__link--md-icon,
  html[dir].ui-light .btn.header__link--md-icon:hover,
  html[dir].ui-light .btn.header__link--md-icon:focus,
  html[dir].ui-light .btn.header__link--md-icon:active,
  html[dir].ui-dark .btn.header__link--md-icon,
  html[dir].ui-dark .btn.header__link--md-icon:hover,
  html[dir].ui-dark .btn.header__link--md-icon:focus,
  html[dir].ui-dark .btn.header__link--md-icon:active {
    padding: 0;
    background-color: transparent;
    border-color: transparent;
  }
}

@media only screen and (max-width: 979px) {
  html[dir] .header__link--md-icon {
    box-sizing: content-box;
    width: 1.5em;
    height: 1.5em;
    padding: 7px;
  }
}

/* Dark hero / heading bands — Malbec, the PEX signature dark surface */
[dir].ui-light .welcome--style-1 .welcome__section,
[dir].ui-light .welcome--style-3 .welcome__section,
[dir].ui-light .page-heading--style-1,
[dir].ui-light .cta--style-3 .cta__section {
  background-color: var(--pex-malbec);
}

[dir] .vote--style-1 .vote__btn {
  color: #fff;
}

@media only screen and (min-width: 980px) {
  html[dir=ltr] .header__col .btn {
    margin-left: 0;
  }

  html[dir=rtl] .header__col .btn {
    margin-right: 0;
  }

  .header__col {
    gap: 14px;
  }
}

/* Blockquotes */
.markdown blockquote {
  display: block;
  width: 100%;
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-right: 0;
  margin-left: 0;
  font-family: var(--serif-font-family);
  font-style: italic;
}

[dir=ltr] .markdown blockquote {
  border-top-right-radius: var(--border-radius-base, 8px);
  border-bottom-right-radius: var(--border-radius-base, 8px);
  border-left: 4px solid var(--primary-color, #1C1A1A);
  padding: 8px 0 8px 12px;
}

[dir=rtl] .markdown blockquote {
  border-top-left-radius: var(--border-radius-base, 8px);
  border-bottom-left-radius: var(--border-radius-base, 8px);
  border-right: 4px solid var(--primary-color, #1C1A1A);
  padding: 8px 12px 8px 0;
}

@media (min-width: 768px) {
  [dir=ltr] .markdown blockquote {
    padding: 8px 0 8px 24px;
  }

  [dir=rtl] .markdown blockquote {
    padding: 8px 24px 8px 0;
  }
}

.markdown blockquote::before {
  content: "\f10e";
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: block;
  position: absolute;
  z-index: -1;
  top: -8px;
  font-size: 50px;
  color: var(--secondary-bg-color, #EAE7E4);
}

[dir=ltr] .markdown blockquote::before {
  left: 8px;
}

[dir=rtl] .markdown blockquote::before {
  right: 8px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  [dir=ltr] .markdown blockquote::before {
    left: 12px;
  }

  [dir=rtl] .markdown blockquote::before {
    right: 12px;
  }
}

@media (min-width: 1024px) {
  [dir=ltr] .markdown blockquote::before {
    left: 16px;
  }

  [dir=rtl] .markdown blockquote::before {
    right: 16px;
  }
}

/* Tables */
[dir] figure.wysiwyg-table {
  display: block;
  width: 100%;
  overflow-y: auto;
}

#service-catalog a {
  color: var(--primary-text-color);
}

/* Copyright */
.powered-by-zendesk {
  display: none !important;
}

html[dir] .pp-copyright {
  display: block;
  padding: 0 6px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: normal;
  color: var(--primary-text-color);
  text-decoration: none;
}

html[dir] .pp-copyright--style-2,
html[dir] .pp-copyright--style-2:hover,
html[dir] .pp-copyright--style-2:focus,
html[dir] .pp-copyright--style-2:active {
  background-color: var(--primary-color);
  color: #fff;
}

html[dir] .pp-copyright--style-3,
html[dir] .pp-copyright--style-3:hover,
html[dir] .pp-copyright--style-3:focus,
html[dir] .pp-copyright--style-3:active {
  background-color: var(--primary-text-color);
  color: #fff;
}

html[dir] .pp-copyright span {
  opacity: 0.75;
  text-decoration: none;
  transition: all .3s ease;
}

html[dir] .pp-copyright:hover span {
  opacity: 1;
  text-decoration: underline;
}

html[dir] select.select-organization[disabled] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: text;
  outline: none;
}

/* CTA band — Malbec surface, display headline */
[dir] .cta--type-1 {
  background: none !important;
  padding: 1.25rem 0 3rem;
}

[dir] .cta--type-1::before,
[dir] .cta--type-1::after {
  display: none !important;
}

.cta--type-1 .cta__content {
  border-radius: var(--border-radius-base);
  background-color: var(--pex-malbec);
  padding-left: 24px;
  padding-right: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta--type-1 .cta__content .cta__subtitle {
  color: #fff;
}

[dir] .cta--type-1 .cta__title {
  font-family: var(--display-font-family);
  font-weight: 400;
  font-size: 48px;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .cta--type-1 .cta__content {
    padding-left: 50%;
    text-align: left;
  }

  .cta--type-1 .cta__content::before {
    content: "";
    display: block;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(/hc/theming_assets/01KSQBBHGHJ2T92EJ8AQMPWCQE);
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 100%;
    transform: scaleX(-1);
  }
}


[dir] .helpers--type-1 .helpers__icon img,
[dir] .helpers--type-1 .helpers__icon svg {
  width: 100%;
  height: 100%;
}

[dir] .helpers--type-1 .helpers__icon {
  background: none !important;
}

[dir] .page-heading.page-heading--type-2.page-heading--style-1 .welcome__bg {
  display: none !important;
}

.header__mobile-menu-buttons {
  display: flex;
  gap: 12px;
}

html[dir] .helpers--type-1.helpers--style-4 .helpers__block {
  background-color: var(--primary-bg-color);
  box-shadow: 0 6px 16px rgba(28, 26, 26, 0.10);
  border-radius: var(--border-radius-base);
}

[dir] .helpers--type-1.helpers--style-4 .col + .col:before,
[dir] .helpers--type-1.helpers--style-4 .helpers__block:before {
  display: none;
}

[dir] .helpers--type-1.helpers--style-4 .helpers__block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.helpers__description {
  flex: 1 1 10px;
}

.helpers__btn {
  margin-top: 24px;
}

html[dir] .helpers .helpers__title {
  margin-bottom: 4px;
}

html[dir] .helpers--type-1.helpers--style-4 .helpers__block.helpers__block--dark {
  background-color: var(--pex-malbec);
  color: #fff;
}

html[dir] .helpers--type-1.helpers--style-4 .helpers__block.helpers__block--dark .helpers__title,
html[dir] .helpers--type-1.helpers--style-4 .helpers__block.helpers__block--dark .helpers__description {
  color: #fff;
}

/* White pill CTA on the dark helper block (dark-surface primary button) */
html[dir] .helpers--type-1.helpers--style-4 .helpers__block.helpers__block--dark .helpers__btn,
html[dir] .helpers--type-1.helpers--style-4 .helpers__block.helpers__block--dark .helpers__btn:focus {
  background-color: #fff;
  border-color: #fff;
  color: var(--pex-warm-black);
}

html[dir] .helpers--type-1.helpers--style-4 .helpers__block.helpers__block--dark .helpers__btn:hover,
html[dir] .helpers--type-1.helpers--style-4 .helpers__block.helpers__block--dark .helpers__btn:active {
  background-color: var(--pex-hi-hat);
  border-color: var(--pex-hi-hat);
  color: var(--pex-warm-black);
}

[dir] .helpers--type-1.helpers--style-4 .helpers__icon {
  margin-bottom: 12px;
}

/* ============================================================================
   Category blocks — Direction A card grid (PizzaExpress)
   APPEND to the end of your theme's style.css.
   Uses the --pex-* tokens and font stacks already defined in your style.css.
   ============================================================================ */

.category-blocks--pe-a {
  padding-top: 48px;
  padding-bottom: 8px;
}

.pe-cats-heading {
  margin: 0 0 20px;
  font-family: var(--display-font-family);
  font-weight: 400;
  font-size: 40px;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--pex-warm-black);
}

.pe-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

[dir] .pe-cat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 170px;
  padding: 24px 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(28, 26, 26, 0.06);
  text-decoration: none;
  color: var(--pex-warm-black);
  transition: box-shadow 220ms var(--pex-ease), transform 220ms var(--pex-ease);
}
[dir] .pe-cat-card:hover {
  box-shadow: 0 6px 16px rgba(28, 26, 26, 0.10);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--pex-warm-black);
}

.pe-cat-icon .pe-illo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  object-position: left center;
}

.pe-cat-title {
  font-family: var(--text-font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
}

.pe-cat-blurb {
  font-family: var(--text-font-family);
  font-size: 13.5px;
  line-height: 1.45;
  color: #6D6D6D;
}

.pe-cat-meta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--text-font-family);
  font-weight: 500;
  font-size: 13px;
  color: var(--pex-warm-black);
}
.pe-cat-meta .fas {
  font-size: 11px;
  color: var(--pex-rose);
}

@media (max-width: 1024px) {
  .pe-cats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .pe-cats-heading { font-size: 28px; }
  .pe-cats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  [dir] .pe-cat-card { min-height: 0; padding: 18px 16px; }
  .pe-cat-blurb { display: none; }
  .pe-cat-icon .pe-illo { height: 44px; }
}

/* Quick-link chips under the welcome search */
.pe-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
[dir] .pe-chip {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 64px;
  border: 1px solid var(--pex-warm-black);
  background: #fff;
  font-family: var(--text-font-family);
  font-weight: 500;
  font-size: 14px;
  color: var(--pex-warm-black);
  text-decoration: none;
  transition: background 220ms var(--pex-ease), color 220ms var(--pex-ease);
}
[dir] .pe-chip:hover {
  background: var(--pex-warm-black);
  color: #fff;
  text-decoration: none;
}
[dir] .pe-chip:active { transform: scale(0.97); }

/* Light CTA pill on dark (Malbec) surfaces */
[dir] .welcome .btn--primary,
[dir] .cta .btn--primary,
[dir] .helpers__block--dark .btn--primary {
  background-color: #fff;
  border-color: #fff;
  color: var(--pex-warm-black);
}
[dir] .welcome .btn--primary:hover,
[dir] .cta .btn--primary:hover,
[dir] .helpers__block--dark .btn--primary:hover {
  background-color: var(--pex-hi-hat);
  border-color: var(--pex-hi-hat);
  color: var(--pex-warm-black);
}
/* ════════════════════════════════════════════════════════════════════
   PIZZAEXPRESS HELP CENTRE — Support home (Concept B structure, D styling)
   APPEND this whole block to the END of the theme's style.css.
   Self-contained: only uses --pe-* tokens defined below (no $settings).
   Recommended Guide settings: rgba(234, 231, 228, 1) → #FFF9E9 (cream).
   ════════════════════════════════════════════════════════════════════ */

:root {
  --pe-midnight: #161E35;        /* header / dark cards (D concept navy) */
  --pe-midnight-soft: #454961;
  --pe-moonlight: #8C9ADD;       /* accent on midnight */
  --pe-malbec: #331A1F;
  --pe-rose: #FF6D66;            /* accent on malbec */
  --pe-forest: #1A2E12;          /* deep green card */
  --pe-basil: #8FCF7D;           /* accent on forest */
  --pe-gold: #796429;            /* saxophone gold card */
  --pe-hi-hat: #FFE39A;          /* accent on gold */
  --pe-cream: #FFF9E9;           /* page background */
  --pe-ink: #1C1A1A;
  --pe-white: #FFFFFF;
  --pe-display: "Domaine Display Condensed", Georgia, serif;
  --pe-serif: "Domaine Display", Georgia, "Times New Roman", serif;
  --pe-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pe-ease: cubic-bezier(0.32, 0.72, 0, 1);
}

[dir] body { background-color: var(--pe-cream); }

.pe-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
}
@media (max-width: 767px) { .pe-container { padding: 0 24px; } }

/* ── Header — warm black, per pizzaexpress.com help centre ──────── */
[dir] .pe-header {
  background-color: var(--pe-ink);
  color: var(--pe-white);
}
.pe-header__row {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 88px;
}
.pe-header__logo img { height: 44px; width: auto; display: block; }
[dir] .pe-header__back {
  font-family: var(--pe-sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--pe-white);
  white-space: nowrap;
  text-decoration: none;
  transition: color 220ms var(--pe-ease);
}
[dir] .pe-header__back:hover { color: var(--pe-rose); text-decoration: none; }
.pe-header__actions { display: flex; align-items: center; gap: 24px; margin-left: auto; }
[dir=rtl] .pe-header__actions { margin-left: 0; margin-right: auto; }
[dir] .pe-header__iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: var(--pe-white);
  text-decoration: none;
  transition: background 220ms var(--pe-ease);
}
[dir] .pe-header__iconbtn:hover { background: rgba(255,255,255,0.26); color: var(--pe-white); text-decoration: none; }
.pe-header__iconbtn svg { width: 19px; height: 19px; }
[dir] .pe-header__request {
  font-family: var(--pe-sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--pe-white);
  white-space: nowrap;
  text-decoration: none;
  transition: color 220ms var(--pe-ease);
}
[dir] .pe-header__request:hover { color: var(--pe-rose); text-decoration: none; }
[dir] .pe-header__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--pe-white);
  color: #8E8D8D;
  text-decoration: none;
  transition: box-shadow 220ms var(--pe-ease);
}
[dir] .pe-header__avatar:hover { box-shadow: 0 0 0 2px var(--pe-rose); color: #8E8D8D; text-decoration: none; }
.pe-header__avatar svg { width: 22px; height: 22px; }
.pe-header__avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .pe-header__row { gap: 14px; min-height: 64px; }
  .pe-header__logo img { height: 32px; }
  [dir] .pe-header__back { display: none; }
  .pe-header__actions { gap: 10px; }
  [dir] .pe-header__iconbtn, [dir] .pe-header__avatar { width: 38px; height: 38px; flex: 0 0 auto; }
  [dir] .pe-header__request { font-size: 14px; }
}

/* ── Hero (split: text left, photo right) ───────────────────────── */
[dir] .pe-hero {
  position: relative;
  background-color: var(--pe-midnight);
  color: var(--pe-white);
  overflow: hidden;
}
.pe-hero__photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 58%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%);
  mask-image: linear-gradient(to right, transparent 0%, #000 38%);
}
[dir=rtl] .pe-hero__photo { right: auto; left: 0; transform: scaleX(-1); }
.pe-hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.pe-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 88px 0 96px;
}
.pe-hero__eyebrow {
  display: block;
  font-family: var(--pe-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pe-hi-hat);
  margin-bottom: 16px;
}
[dir] .pe-hero h1 {
  font-family: var(--pe-display);
  font-weight: 400;
  font-size: 72px;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--pe-white);
  margin: 0 0 16px;
}
.pe-hero__sub {
  font-family: var(--pe-sans);
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px;
}

/* Zendesk {{search}} output inside the hero */
.pe-hero .search { max-width: 560px; position: relative; }
[dir] .pe-hero .search input[type="search"] {
  width: 100%;
  height: 60px;
  padding: 0 64px 0 28px;
  border: none;
  border-radius: 64px;
  background: var(--pe-white);
  color: var(--pe-ink);
  font-family: var(--pe-sans);
  font-size: 16px;
}
.pe-hero .search input[type="search"]::placeholder { color: #6D6D6D; }
[dir] .pe-hero .search input[type="search"]:focus { outline: 2px solid rgba(255,255,255,0.75); outline-offset: 1px; }

/* Quick-link chips (white pills, D style) — single scrollable row */
.pe-quick-links__label {
  display: block;
  font-family: var(--pe-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pe-hi-hat);
  opacity: 0.8;
  margin: 24px 0 10px;
}
.pe-quick-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 0;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}
.pe-quick-links::-webkit-scrollbar { display: none; }
[dir] .pe-chip {
  flex: 0 0 auto;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 64px;
  border: 1px solid rgba(255,255,255,0.9);
  background: var(--pe-white);
  font-family: var(--pe-sans);
  font-weight: 500;
  font-size: 12.5px;
  color: var(--pe-ink);
  white-space: nowrap;
  text-decoration: none;
  transition: background 220ms var(--pe-ease), color 220ms var(--pe-ease);
}
[dir] .pe-chip:hover { background: var(--pe-hi-hat); border-color: var(--pe-hi-hat); color: var(--pe-ink); text-decoration: none; }
[dir] .pe-chip:active { transform: scale(0.97); }

/* ── Section shells ─────────────────────────────────────────────── */
.pe-section { padding: 56px 0 8px; }
@media (max-width: 767px) { .pe-section { padding: 32px 0 4px; } }
[dir] .pe-section__heading {
  font-family: var(--pe-serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  color: var(--pe-ink);
  margin: 0 0 28px;
  text-transform: none;
}
@media (max-width: 767px) { [dir] .pe-section__heading { font-size: 26px; margin-bottom: 16px; } }

/* ── Topic cards (3×2 grid) ─────────────────────────────────────── */
.pe-topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .pe-topics { grid-template-columns: repeat(2, 1fr); } }

[dir] .pe-topic-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 232px;
  padding: 24px 24px 22px;
  border-radius: 16px;
  text-decoration: none;
  background: var(--pe-card-bg, var(--pe-malbec));
  color: var(--pe-card-accent, var(--pe-rose));
  transition: transform 220ms var(--pe-ease), box-shadow 220ms var(--pe-ease);
}
[dir] .pe-topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(28,26,26,0.18);
  text-decoration: none;
  color: var(--pe-card-accent, var(--pe-rose));
}
/* Tone rotates by grid position — malbec → forest → midnight → gold —
   so the pattern holds no matter what sections are named or how many exist. */
.pe-topics > :nth-child(4n+1) { --pe-card-bg: var(--pe-malbec);   --pe-card-accent: var(--pe-rose); }
.pe-topics > :nth-child(4n+2) { --pe-card-bg: var(--pe-forest);   --pe-card-accent: var(--pe-basil); }
.pe-topics > :nth-child(4n+3) { --pe-card-bg: var(--pe-midnight); --pe-card-accent: var(--pe-moonlight); }
.pe-topics > :nth-child(4n+4) { --pe-card-bg: var(--pe-gold);     --pe-card-accent: var(--pe-hi-hat); }

/* Illustration: the line-drawing SVG is applied as a CSS mask (--illo)
   and filled with the card accent — no runtime SVG inlining needed. */
.pe-topic-card__illo {
  display: block; height: 96px; width: 140px; margin-bottom: 4px;
  background-color: var(--pe-card-accent, var(--pe-rose));
  -webkit-mask: var(--illo) no-repeat left center / contain;
  mask: var(--illo) no-repeat left center / contain;
}
.pe-topic-card__title {
  font-family: var(--pe-serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  color: var(--pe-card-accent);
}
.pe-topic-card__blurb {
  font-family: var(--pe-sans);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
}
[dir] .pe-topic-card__view {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 24px;
  border: 1px solid var(--pe-card-accent);
  border-radius: 64px;
  font-family: var(--pe-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--pe-card-accent);
  transition: all 220ms var(--pe-ease);
}
.pe-topic-card__view .fas { font-size: 11px; }
[dir] .pe-topic-card:hover .pe-topic-card__view {
  background: var(--pe-card-accent);
  color: var(--pe-card-bg);
}

/* ── "Need more help?" cards ────────────────────────────────────── */
.pe-help {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 24px;
  padding-bottom: 72px;
}
@media (max-width: 1024px) { .pe-help { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

[dir] .pe-help-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 260px;
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--pe-white);
  color: var(--pe-ink);
  box-shadow: 0 1px 2px rgba(28,26,26,0.06);
}
[dir] .pe-help-card--dark { background: var(--pe-midnight); color: var(--pe-white); }
.pe-help-card__illo {
  display: block; height: 64px; width: 72px;
  background-color: var(--pe-malbec);
  -webkit-mask: var(--illo) no-repeat left center / contain;
  mask: var(--illo) no-repeat left center / contain;
}
.pe-help-card--dark .pe-help-card__illo { background-color: var(--pe-moonlight); }
[dir] .pe-help-card__badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--pe-moonlight);
  border-radius: 64px;
  font-family: var(--pe-sans);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pe-moonlight);
}
[dir] .pe-help-card__title {
  font-family: var(--pe-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
  margin: 0;
  text-transform: none;
}
[dir] .pe-help-card__desc {
  font-family: var(--pe-sans);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  color: #6D6D6D;
  flex: 1 1 auto;
}
.pe-help-card--dark .pe-help-card__desc { color: rgba(255,255,255,0.8); }

/* Buttons */
[dir] .pe-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 11px 26px;
  border-radius: 64px;
  background: var(--pe-ink);
  border: 1px solid var(--pe-ink);
  font-family: var(--pe-sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--pe-white);
  text-decoration: none;
  cursor: pointer;
  transition: all 220ms var(--pe-ease);
}
[dir] .pe-btn:hover { background: #494848; border-color: #494848; color: var(--pe-white); text-decoration: none; }
[dir] .pe-btn:active { transform: scale(0.97); }
[dir] .pe-btn--light { background: var(--pe-white); border-color: var(--pe-white); color: var(--pe-ink); }
[dir] .pe-btn--light:hover { background: var(--pe-hi-hat); border-color: var(--pe-hi-hat); color: var(--pe-ink); }

/* ── Article page heading — midnight (#161E35), matches home hero ──
   LIVE OVERRIDES — colour only. The live theme paints the band with
   var(--pex-malbec), so remap that variable on the heading and force
   the background. Layout is left to the theme. */
[dir] .page-heading, .page-heading {
  --pex-malbec: var(--pe-midnight);
  --welcome-bg-color: var(--pe-midnight);
  background-color: var(--pe-midnight) !important;
  color: var(--pe-white);
}
[dir] .page-heading .breadcrumbs a { color: var(--pe-moonlight); }
[dir] .page-heading .breadcrumbs a:hover { color: var(--pe-white); }
[dir] .page-heading__title, [dir] h1.page-heading__title { color: var(--pe-white); }

/* PREVIEW-ONLY layout — scoped to .pe-preview so it never touches the
   live theme (which has its own page-heading layout). */
[dir] .pe-preview.page-heading {
  position: relative;
  padding: 30px 0 52px;
  text-align: center;
}
.pe-preview .welcome__bg { display: none; }
.pe-preview .page-heading__breadcrumbs { margin-bottom: 36px; }
[dir] .pe-preview .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--pe-sans);
  font-size: 14.5px;
}
[dir] .pe-preview .breadcrumbs li { color: rgba(255,255,255,0.66); }
[dir] .pe-preview .breadcrumbs li + li::before {
  content: "›";
  margin-right: 10px;
  color: rgba(255,255,255,0.4);
}
[dir] .pe-preview .breadcrumbs a { text-decoration: none; }
[dir] .pe-preview .breadcrumbs a:hover { text-decoration: underline; }
.pe-preview .page-heading__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.pe-preview .page-heading__content-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
[dir] .pe-preview .page-heading__title {
  margin: 0;
  font-family: var(--pe-serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.pe-preview .page-heading__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--pe-sans);
  font-size: 15px;
  color: rgba(255,255,255,0.72);
}
[dir] .pe-preview .page-heading__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pe-white);
  font-weight: 700;
  text-decoration: none;
}
[dir] .pe-preview .page-heading__author:hover { color: var(--pe-moonlight); text-decoration: none; }
.pe-preview .page-heading__author img, .pe-preview .page-heading__author svg {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,0.16);
}
.pe-preview .page-heading__author svg { padding: 8px; box-sizing: border-box; color: rgba(255,255,255,0.85); }
[dir] .pe-preview .subscribe-btn a,
[dir] .pe-preview .subscribe-btn button {
  display: inline-block;
  padding: 11px 28px;
  border: none;
  border-radius: 64px;
  background: var(--pe-white);
  color: var(--pe-ink);
  font-family: var(--pe-sans);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: all 220ms var(--pe-ease);
}
[dir] .pe-preview .subscribe-btn a:hover,
[dir] .pe-preview .subscribe-btn button:hover { background: var(--pe-hi-hat); color: var(--pe-ink); }
[dir] .pe-preview .subscribe-btn a:active,
[dir] .pe-preview .subscribe-btn button:active { transform: scale(0.97); }

/* Article body on the cream page */
.pe-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  font-family: var(--pe-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--pe-ink);
}
.pe-article__body p { margin: 0 0 18px; }
.pe-article__body h2, .pe-article__body h3 {
  margin: 30px 0 12px;
  font-family: var(--pe-sans);
  font-weight: 700;
  line-height: 1.3;
}
.pe-article__body h2 { font-size: 22px; }
.pe-article__body h3 { font-size: 18px; }
.pe-article__body img { max-width: 100%; border-radius: 12px; }
[dir] .pe-article__body a { color: #9E1A30; text-decoration: underline; }
[dir] .pe-article__body a:hover { color: #7c1426; }
.pe-article__related { margin: 0 auto; max-width: 760px; padding: 0 24px 80px; }
.pe-article__related h2 {
  font-family: var(--pe-sans);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 14px;
}
.pe-article__related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
[dir] .pe-article__related a {
  display: block;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--pe-white);
  box-shadow: 0 1px 2px rgba(28,26,26,0.06);
  color: var(--pe-ink);
  font-family: var(--pe-sans);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: box-shadow 220ms var(--pe-ease), transform 220ms var(--pe-ease);
}
[dir] .pe-article__related a:hover {
  box-shadow: 0 6px 16px rgba(28,26,26,0.10);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  [dir] .pe-preview.page-heading { padding: 20px 0 38px; }
  .pe-preview .page-heading__breadcrumbs { margin-bottom: 26px; }
  [dir] .pe-preview .breadcrumbs { font-size: 13px; }
  [dir] .pe-preview .page-heading__title { font-size: 34px; }
  .pe-article { padding: 36px 24px 48px; }
}

/* ── Footer ─────────────────────────────────────────────────────── */

/* ── Footer ─────────────────────────────────────────────────────── */
[dir] .pe-footer {
  background: var(--pe-ink);
  color: var(--pe-white);
  margin-top: 24px;
}
.pe-footer__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding: 56px 0 40px;
}
@media (max-width: 1024px) { .pe-footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .pe-footer__cols { padding: 36px 0 24px; gap: 22px 16px; }
  .pe-footer__col h4 { font-size: 17px; margin-bottom: 10px; }
  [dir] .pe-footer__col li { margin-bottom: 8px; }
  [dir] .pe-footer__col a { font-size: 13.5px; }
  .pe-footer__bottom { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
}
.pe-footer__col h4 {
  font-family: var(--pe-serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--pe-white);
  margin: 0 0 14px;
}
.pe-footer__col ul { list-style: none; margin: 0; padding: 0; }
[dir] .pe-footer__col li { margin: 0 0 10px; }
[dir] .pe-footer__col a {
  font-family: var(--pe-sans);
  font-size: 14.5px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
[dir] .pe-footer__col a:hover { color: var(--pe-white); text-decoration: underline; }
.pe-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-family: var(--pe-sans);
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
}
.pe-footer__social { display: flex; gap: 10px; }
[dir] .pe-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  color: var(--pe-white);
  text-decoration: none;
  transition: all 220ms var(--pe-ease);
}
[dir] .pe-footer__social a:hover { background: var(--pe-white); color: var(--pe-ink); text-decoration: none; }
.pe-footer__social svg { width: 15px; height: 15px; }

/* ── Promoted articles ──────────────────────────────────────────── */
.pe-section.pe-promoted { padding-top: 0; }
.pe-promoted__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .pe-promoted__grid { grid-template-columns: repeat(2, 1fr); } }
[dir] .pe-promoted__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 26px 24px;
  border-radius: 12px;
  background: var(--pe-white);
  box-shadow: 0 1px 2px rgba(28,26,26,0.06);
  text-decoration: none;
  color: var(--pe-ink);
  transition: box-shadow 220ms var(--pe-ease), transform 220ms var(--pe-ease);
}
[dir] .pe-promoted__card:hover {
  box-shadow: 0 6px 16px rgba(28,26,26,0.10);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--pe-ink);
}
.pe-promoted__title {
  font-family: var(--pe-sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
}
.pe-promoted__snippet {
  font-family: var(--pe-sans);
  font-size: 14.5px;
  line-height: 1.5;
  color: #6D6D6D;
  flex: 1 1 auto;
}
[dir] .pe-promoted__read {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  font-family: var(--pe-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--pe-ink);
}
.pe-promoted__read .fas, .pe-promoted__read .pe-chevron { font-size: 11px; color: var(--pe-rose); }
[dir] .pe-promoted__card:hover .pe-promoted__read { text-decoration: underline; }



/* ════════════════════════════════════════════════════════════════════
   MOBILE OVERRIDES — keep at the END of the stylesheet so they win the
   cascade over the base rules above.
   ════════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  /* Mobile hero per the D — Customer Support mobile concept:
     full-bleed photo, centred serif "Customer Support" title, search
     pill, horizontally scrolling chips. */
  .pe-hero__photo {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .pe-hero__photo img { opacity: 0.32; }
  [dir] .pe-hero { background-color: #14121a; }
  .pe-hero__content {
    padding: 30px 0 26px;
    max-width: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  /* The eyebrow becomes the big centred serif title… */
  .pe-hero__eyebrow {
    font-family: var(--pe-serif);
    font-weight: 400;
    font-size: 36px;
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--pe-white);
    max-width: 9em;
    margin: 6px 0 22px;
    text-shadow: 0 1px 24px rgba(0,0,0,0.45);
  }
  /* …and the desktop headline + sub step aside. */
  [dir] .pe-hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
  .pe-hero__sub { display: none; }
  .pe-hero .search { width: 100%; }
  [dir] .pe-hero .search input[type="search"] { height: 52px; padding: 0 20px; font-size: 15px; box-shadow: 0 6px 16px rgba(28,26,26,0.10); }
  .pe-quick-links__label {
    align-self: flex-start;
    color: rgba(255,255,255,0.92);
    opacity: 1;
    margin: 14px 0 8px;
  }
  .pe-quick-links {
    align-self: stretch;
    justify-content: flex-start;
    margin: 0 -24px 0;
    padding: 2px 24px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 100vw;
  }
  .pe-quick-links::-webkit-scrollbar { display: none; }
  [dir] .pe-chip { padding: 5px 12px; font-size: 12px; }
}

@media (max-width: 640px) {
  /* Carousel: one large card per view with a peek of the next (D mobile). */
  .pe-topics {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin: 0 -24px;
    padding: 0 24px 4px;
    scrollbar-width: none;
  }
  .pe-topics::-webkit-scrollbar { display: none; }
  [dir] .pe-topic-card {
    flex: 0 0 78%;
    scroll-snap-align: center;
    min-height: 0;
    padding: 30px 26px 26px;
    gap: 10px;
    border-radius: 20px;
  }
  .pe-topic-card__illo { height: 84px; margin-bottom: 8px; }
  .pe-topic-card__title { font-size: 26px; }
  /* Pin View to the card bottom so it aligns across the carousel */
  [dir] .pe-topic-card__view { margin-top: auto; }
  .pe-topic-card__blurb { font-size: 14.5px; margin-bottom: 6px; }
}

/* Carousel dots — populated by script.js on mobile only */
.pe-topics-dots { display: none; }
@media (max-width: 640px) {
  .pe-topics-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .pe-topics-dots span { width: 26px; height: 3px; border-radius: 2px; background: #C6C5C5; transition: background 220ms var(--pe-ease); }
  .pe-topics-dots span.is-active { background: var(--pe-ink); }
}

@media (max-width: 640px) {
  /* Short stacked rows: illustration left, text + button right. */
  .pe-help { grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 10px; padding-bottom: 40px; }
  [dir] .pe-help-card {
    display: grid;
    min-height: 0;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto;
    align-items: start;
    align-content: start;
    column-gap: 14px;
    row-gap: 4px;
    padding: 16px 16px;
    border-radius: 12px;
  }
  .pe-help-card__illo { grid-row: 1 / span 4; height: 60px; width: 60px; align-self: start; }
  [dir] .pe-help-card__badge { justify-self: start; padding: 2px 10px; font-size: 9.5px; }
  [dir] .pe-help-card__title { font-size: 18px; margin: 0; }
  [dir] .pe-help-card__desc { font-size: 13px; flex: none; margin: 0; }
  [dir] .pe-btn { grid-column: 2; justify-self: start; margin-top: 6px; padding: 7px 18px; font-size: 13px; }
}

@media (max-width: 640px) {
  .pe-promoted__grid { grid-template-columns: 1fr; gap: 10px; }
  [dir] .pe-promoted__card { padding: 16px 16px; gap: 6px; }
  .pe-promoted__title { font-size: 16px; }
  .pe-promoted__snippet { font-size: 13px; }
  [dir] .pe-promoted__read { font-size: 13px; }
}

