/* Portfolio / Gallery page (components/portfolio-page.jinja), design B
   "Quiet editorial". Loaded only on /pages/Gallery from page.jinja.
   Logical properties only, so one stylesheet serves LTR and RTL.
   Fonts (Barlow Condensed, Noto Kufi Arabic, Cairo) are loaded globally
   in layout.jinja. */

.pf {
  --pf-bg: #FBFBF9;
  --pf-ink: #1B1B1A;
  --pf-muted: #5F5F59;      /* 6.6:1 on --pf-bg */
  --pf-ph: #EDEDE8;
  --pf-line: #DADAD3;
  --pf-dark: #1B1B1A;
  --pf-on-dark: #FBFBF9;
  --pf-on-dark-muted: #C9C9C2;
  --pf-latin: 'Barlow Condensed', 'Noto Kufi Arabic', 'Cairo', sans-serif;
  --pf-head: 'Barlow Condensed', sans-serif;
  --pf-body: 'Barlow Condensed', sans-serif;

  background: var(--pf-bg);
  color: var(--pf-ink);
  text-align: start;   /* the theme sets text-align:left higher up, even in RTL */
  font-family: var(--pf-body);
  font-size: 18px;
  line-height: 1.5;
}
[dir="rtl"] .pf {
  --pf-head: 'Noto Kufi Arabic', 'Cairo', sans-serif;
  --pf-body: 'Cairo', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
.pf [hidden] { display: none !important; }
.pf .container { max-width: 1240px; padding-inline: 24px; }
.pf img { display: block; }
.pf-latin { font-family: var(--pf-latin); text-transform: uppercase; letter-spacing: .01em; }
.pf .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Focus ring for every interactive element on the page */
.pf a:focus-visible,
.pf button:focus-visible,
.pf [tabindex]:focus-visible { outline: 2px solid var(--pf-ink); outline-offset: 4px; }

.pf-ico { display: block; flex: 0 0 auto; }

/* Breadcrumb: theme styles (custom.css) + align with the page container */
.pf .breadcrumb { padding-inline: 0; padding-block: 16px 0; align-items: center; }
.pf .breadcrumb-item.active { color: var(--pf-muted); }
[dir="rtl"] .pf-ico--dir { transform: scaleX(-1); }

/* ---------- Intro ---------- */
.pf-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  padding-block: 48px 40px;
}
.pf-eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pf-muted);
}
[dir="rtl"] .pf-eyebrow { letter-spacing: 0; text-transform: none; }
.pf-h1 {
  margin: 0;
  font-family: var(--pf-head);
  font-weight: 700;
  font-size: clamp(40px, 4.4vw + 20px, 76px);
  line-height: .95;
  text-transform: uppercase;
  color: var(--pf-ink);
}
[dir="rtl"] .pf-h1 { text-transform: none; line-height: 1.3; font-size: clamp(32px, 3vw + 18px, 56px); }
.pf-intro__text { margin: 0; max-width: 52ch; color: var(--pf-muted); font-size: 18px; }
[dir="rtl"] .pf-intro__text { font-size: 16px; }

/* ---------- Filter bar ---------- */
.pf-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-block-end: 1px solid var(--pf-line);
}
.pf-filters {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-block-end: -1px;
  min-width: 0;
}
.pf-filters::-webkit-scrollbar { display: none; }
.pf-filter {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 0;
  background: none;
  border: 0;
  border-block-end: 2px solid transparent;
  color: var(--pf-muted);
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  white-space: nowrap;
}
[dir="rtl"] .pf-filter { font-size: 15px; text-transform: none; letter-spacing: 0; }
.pf-filter:hover { color: var(--pf-ink); }
.pf-filter[aria-pressed="true"] { color: var(--pf-ink); border-block-end-color: var(--pf-ink); }
.pf-count { margin: 0; padding-block: 12px; font-size: 15px; color: var(--pf-muted); white-space: nowrap; margin-inline-start: auto; }

/* ---------- Featured ----------
   Project photos are portrait 1080×1350 (4:5), so every photo box on this
   page is 4:5. Desktop: photo column + info column side by side; tablet:
   stacked with the photo column capped; mobile: full width. */
.pf-featured { padding-block: 32px 56px; }
@media (min-width: 992px) {
  .pf-featured {
    display: grid;
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    gap: 0 64px;
    align-items: end;
  }
  .pf-featured > .pf-video { grid-column: 1 / -1; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .pf-gal { max-width: 480px; }
}
.pf-gal { outline: none; }
.pf-gal__main {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--pf-ph);
  overflow: hidden;
}
.pf-gal__slide { position: absolute; inset: 0; }
.pf-gal__slide img,
.pf-thumb img,
.pf-row__thumb img,
.pf-strip__item img,
.pf-video__btn img { width: 100%; height: 100%; object-fit: cover; }
/* Clickable photo: opens the full-size viewer at this photo. Fills its 4:5 box. */
.pf-zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.pf .pf-zoom:focus-visible { outline-offset: -4px; }
.pf-gal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(251, 251, 249, .92);
  color: var(--pf-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
}
.pf-gal__nav:hover { background: var(--pf-bg); }
.pf-gal__nav--prev { inset-inline-start: 16px; }
.pf-gal__nav--next { inset-inline-end: 16px; }
.pf-gal__counter {
  position: absolute;
  inset-block-end: 16px;
  inset-inline-end: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(27, 27, 26, .78);
  color: var(--pf-on-dark);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  direction: ltr;
  z-index: 1;
}
.pf-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-block-start: 8px;
}
.pf-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: var(--pf-ph);
  cursor: pointer;
  overflow: hidden;
  opacity: .6;
  transition: opacity .2s;
}
.pf-thumb:hover, .pf-thumb[aria-current="true"] { opacity: 1; }
.pf-thumb[aria-current="true"]::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px var(--pf-ink); }
.pf-thumb__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 27, 26, .55);
  color: var(--pf-on-dark);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  direction: ltr;
}
.pf-thumb__more--m { display: none; }

.pf-featured__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 24px 48px;
  align-items: end;
  margin-block-start: 32px;
}
.pf-label { margin: 0 0 8px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-muted); }
[dir="rtl"] .pf-label { letter-spacing: 0; text-transform: none; }
.pf-featured__name { margin: 0; font-size: 72px; line-height: .95; font-weight: 700; overflow-wrap: anywhere; }
/* Desktop: the info sits in its own column beside the photo, so stack it. */
@media (min-width: 992px) {
  .pf-featured__info { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-block-start: 0; }
  .pf-featured__name { font-size: clamp(48px, 3vw + 20px, 72px); }
}
.pf-featured__side { display: grid; gap: 20px; justify-items: start; }
.pf-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 16px 24px; margin: 0; width: 100%; }
.pf-facts dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-muted); }
[dir="rtl"] .pf-facts dt { letter-spacing: 0; text-transform: none; }
.pf-facts dd { margin: 2px 0 0; font-size: 18px; font-weight: 600; }

/* ---------- Buttons ---------- */
.pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
[dir="rtl"] .pf-btn { font-family: 'Cairo', sans-serif; text-transform: none; letter-spacing: 0; font-size: 15px; }
.pf-btn--dark { background: var(--pf-dark); color: var(--pf-on-dark) !important; }
.pf-btn--dark:hover { background: #000; }
.pf-btn--outline { background: transparent; color: var(--pf-ink) !important; border-color: var(--pf-ink); }
.pf-btn--outline:hover { background: var(--pf-ink); color: var(--pf-on-dark) !important; }
.pf-btn--light { background: var(--pf-on-dark); color: var(--pf-ink) !important; }
.pf-btn--light:hover { background: #fff; }
.pf-btn--ghost { background: transparent; color: var(--pf-on-dark) !important; border-color: var(--pf-on-dark); }
.pf-btn--ghost:hover { background: rgba(251, 251, 249, .1); }

/* ---------- Project index ---------- */
.pf-index { padding-block: 0 56px; }
.pf-index__head,
.pf-row__btn {
  display: grid;
  grid-template-columns: var(--pf-cols);
  gap: 24px;
  align-items: center;
}
.pf-index__head {
  padding-block: 12px;
  border-block-end: 1px solid var(--pf-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pf-muted);
}
[dir="rtl"] .pf-index__head { letter-spacing: 0; text-transform: none; }
.pf-rows { list-style: none; margin: 0; padding: 0; }
.pf-row { border-block-end: 1px solid var(--pf-line); }
.pf-row__h { margin: 0; font: inherit; }
.pf-row__btn {
  width: 100%;
  min-height: 44px;
  padding-block: 16px;
  padding-inline: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.pf-row__btn:hover .pf-row__name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.pf-row__no { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 600; color: var(--pf-muted); }
.pf-row__thumb { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--pf-ph); overflow: hidden; }
.pf-badge {
  position: absolute;
  inset-block-end: 6px;
  inset-inline-end: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(27, 27, 26, .78);
  color: var(--pf-on-dark);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  direction: ltr;
}
.pf-row__main { display: grid; gap: 2px; min-width: 0; }
.pf-row__name { font-size: 30px; font-weight: 700; line-height: 1.05; overflow-wrap: anywhere; }
.pf-row__meta { display: none; font-size: 14px; color: var(--pf-muted); }
.pf-row__cell { font-size: 16px; color: var(--pf-muted); min-width: 0; overflow-wrap: anywhere; }
.pf-row__arrow { display: flex; justify-content: flex-end; color: var(--pf-ink); transition: transform .2s; }
.pf-row.is-open .pf-row__arrow { transform: rotate(90deg); }
[dir="rtl"] .pf-row.is-open .pf-row__arrow { transform: rotate(-90deg); }

.pf-row__panel { padding-block: 4px 28px; }
.pf-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.pf-strip__item {
  flex: 0 0 calc((100% - 24px) / 4);
  aspect-ratio: 4 / 5;
  background: var(--pf-ph);
  overflow: hidden;
  scroll-snap-align: start;
}
.pf-row__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-block-start: 20px; }
.pf-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--pf-line);
  border-radius: 999px;
  color: var(--pf-ink) !important;
  font-size: 15px;
  text-decoration: none !important;
}
.pf-chip:hover { border-color: var(--pf-ink); }
.pf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--pf-ink) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: underline !important;
  text-underline-offset: 5px;
}
[dir="rtl"] .pf-link { text-transform: none; letter-spacing: 0; }

.pf-more { display: flex; justify-content: center; padding-block-start: 40px; }

/* ---------- Video (click to load) ---------- */
.pf-video { margin-block-start: 24px; }
.pf-shared-video { padding-block: 0 56px; }
.pf-shared-video .pf-video { margin-block-start: 0; }
.pf-shared-video .pf-video__btn, .pf-shared-video .pf-video__el { aspect-ratio: 21 / 9; }
.pf-video__btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: var(--pf-dark);
  cursor: pointer;
  overflow: hidden;
}
.pf-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--pf-on-dark);
  color: var(--pf-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-video__el { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
/* No poster image: a frame of the video itself (loaded near the viewport by
   the page script), faded in once painted; the dark tile shows until then. */
.pf-video__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.pf-video__frame.is-ready { opacity: 1; }

/* "View project" as a button (opens the viewer) looks like the link version */
button.pf-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
[dir="rtl"] button.pf-link { font-family: 'Cairo', sans-serif; }

/* ---------- Full-screen photo viewer ---------- */
.pf-lb {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  background: var(--pf-dark);
  color: var(--pf-on-dark);
}
.pf-lb__top { display: flex; align-items: center; gap: 16px; padding: 12px 16px; }
.pf-lb__title { margin: 0; flex: 1 1 auto; min-width: 0; font-size: 22px; font-weight: 700; color: var(--pf-on-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-lb__count { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 600; letter-spacing: .06em; color: var(--pf-on-dark-muted); direction: ltr; }
.pf-lb__btn {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(251, 251, 249, .12);
  color: var(--pf-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pf-lb__btn:hover { background: rgba(251, 251, 249, .22); }
.pf .pf-lb button:focus-visible { outline-color: var(--pf-on-dark); }
.pf-lb__stage { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 72px 24px; }
/* The viewer shows the whole photo: contain, never crop or stretch. */
.pf-lb__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pf-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.pf-lb__nav--prev { inset-inline-start: 16px; }
.pf-lb__nav--next { inset-inline-end: 16px; }

/* ---------- Gym setup content + FAQ (SB-GAL-7) ---------- */
.pf-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 64px;
  align-items: start;
  padding-block: 72px;
  border-block-start: 1px solid var(--pf-line);
}
.pf-about__title,
.pf-faq__title {
  margin: 0 0 20px;
  font-family: var(--pf-head);
  font-weight: 700;
  font-size: clamp(30px, 1.6vw + 20px, 44px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--pf-ink);
}
.pf-faq__title { font-size: clamp(24px, 1vw + 18px, 32px); }
[dir="rtl"] .pf-about__title,
[dir="rtl"] .pf-faq__title { text-transform: none; line-height: 1.4; font-size: clamp(24px, 1.2vw + 16px, 34px); }
[dir="rtl"] .pf-faq__title { font-size: clamp(20px, .8vw + 15px, 26px); }
.pf-about__copy p { margin: 0 0 16px; max-width: 62ch; color: var(--pf-muted); }
.pf-about__copy p:last-child { margin-block-end: 0; color: var(--pf-ink); font-weight: 600; }

.pf-faq__item { border-block-end: 1px solid var(--pf-line); }
.pf-faq__item:first-of-type { border-block-start: 1px solid var(--pf-ink); }
.pf-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  cursor: pointer;
  list-style: none;
}
.pf-faq__q::-webkit-details-marker { display: none; }
.pf-faq__q:focus-visible { outline: 2px solid var(--pf-ink); outline-offset: 4px; }
.pf-faq__q h3 {
  margin: 0;
  font-family: var(--pf-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--pf-ink);
}
[dir="rtl"] .pf-faq__q h3 { font-size: 17px; line-height: 1.6; }
.pf-faq__icon { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.pf-faq__icon::before,
.pf-faq__icon::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 7px;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease;
}
.pf-faq__icon::after { transform: rotate(90deg); }
.pf-faq__item[open] .pf-faq__icon::after { transform: rotate(0deg); }
.pf-faq__a { margin: 0; padding-block-end: 20px; max-width: 62ch; color: var(--pf-muted); }

/* ---------- CTA band ---------- */
.pf-cta { background: var(--pf-dark); color: var(--pf-on-dark); padding-block: 72px; }
.pf-cta__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px 64px; align-items: end; }
.pf-cta__title {
  margin: 0 0 12px;
  font-family: var(--pf-head);
  font-size: clamp(36px, 3vw + 20px, 56px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--pf-on-dark);
}
[dir="rtl"] .pf-cta__title { text-transform: none; line-height: 1.35; font-size: clamp(28px, 2vw + 18px, 42px); }
.pf-cta__text { margin: 0; max-width: 60ch; color: var(--pf-on-dark-muted); }
.pf-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Tablet + mobile (< 992px) ----------
   The index table's columns (no., photo, name, type, city, area, year) do
   not fit below desktop width: the name column collapsed to zero and broke
   one letter per line. Use the compact row (photo, name + meta line,
   arrow) here, as on mobile. The featured info stacks in one column. */
@media (max-width: 991px) {
  .pf-index__head { display: none; }
  .pf-row__btn { grid-template-columns: 88px minmax(0, 1fr) 24px; gap: 16px; }
  .pf-row__no, .pf-row__cell { display: none; }
  .pf-row__meta { display: block; }
  .pf-featured__info { grid-template-columns: minmax(0, 1fr); }
  .pf-featured__name { font-size: clamp(40px, 5vw + 12px, 60px); overflow-wrap: break-word; }
  .pf-about { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .pf .container { padding-inline: 16px; }
  .pf-intro { grid-template-columns: minmax(0, 1fr); padding-block: 32px 24px; gap: 16px; }
  .pf-intro__text { font-size: 16px; }
  .pf-bar { display: block; }
  .pf-filters { gap: 22px; margin-inline: -16px; padding-inline: 16px; }
  .pf-filter { font-size: 16px; }
  .pf-count { display: none; }
  .pf-bar--solo .pf-count { display: block; }

  .pf-featured { padding-block: 20px 40px; }
  .pf-gal__nav { width: 44px; height: 44px; }
  .pf-gal__nav--prev { inset-inline-start: 10px; }
  .pf-gal__nav--next { inset-inline-end: 10px; }
  .pf-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .pf-thumb:nth-child(n+5) { display: none; }
  .pf-thumb__more--d { display: none; }
  .pf-thumb__more--m { display: flex; }
  .pf-featured__info { grid-template-columns: minmax(0, 1fr); margin-block-start: 20px; }
  .pf-featured__name { font-size: 44px; }

  .pf-row__btn { grid-template-columns: 72px minmax(0, 1fr) 24px; gap: 14px; padding-block: 14px; }
  .pf-row__name { font-size: 24px; }
  .pf-strip { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .pf-strip__item { flex-basis: 72%; }

  .pf-shared-video .pf-video__btn, .pf-shared-video .pf-video__el { aspect-ratio: 16 / 9; }
  .pf-about { padding-block: 48px; }
  .pf-faq__q h3 { font-size: 18px; }
  .pf-cta { padding-block: 48px; }
  .pf-lb__stage { padding: 0 0 72px; }
  .pf-lb__nav { top: auto; bottom: 16px; transform: none; }
  .pf-lb__title { font-size: 18px; }
  .pf-cta__inner { grid-template-columns: minmax(0, 1fr); }
  .pf-cta__actions .pf-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .pf *, .pf *::before, .pf *::after { transition: none !important; scroll-behavior: auto !important; }
}
