/* Pixalate Kenya — brand overrides and additions on top of the Corebiz theme.
   Loaded after style.css. */

:root {
  --color-primary: #C2381A;
  --color-primary-900: #C2381A;
  --color-primary-alt: #FF5C35;
  --color-secondary: #E84020;
  --color-secondary-900: #E84020;
  --color-secondary-alt: #FF5C35;
  --color-secondary-shade: #FFE8E0;
  --color-heading: #17110E;
  --color-black: #2A211C;
  --color-black-2: #17110E;
  --color-body: #6B5D55;
  --color-body-2: #A8988E;
  --color-light: #FFFFFF;
  --color-white-shade: #FFFFFF;
  --color-border: #EADBD2;
  --px-whatsapp: #25D366;
}

/* ---------- Accessibility ---------- */
.px-skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 10000;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
}
.px-skip:focus {
  left: 12px;
  color: #fff;
}

/* ---------- Header ---------- */
.rbt-logo .px-logo,
.popup-mobile-menu .logo .px-logo {
  height: 54px;
  width: auto;
  max-width: none;
}
.rbt-header-sticky .rbt-logo .px-logo {
  height: 46px;
}
.px-logo-footer {
  width: 250px;
  max-width: 100%;
  height: auto;
}
@media (max-width: 575px) {
  .rbt-logo .px-logo,
  .rbt-header-sticky .rbt-logo .px-logo {
    height: 34px;
  }
  .rbt-header-style-1 .rbt-header-right .rbt-btn {
    padding-left: 14px;
    padding-right: 14px;
    font-size: 13px;
  }
}
.px-strapline {
  overflow: hidden;
}
.px-marquee-frame {
  overflow: hidden;
  padding: 24px 0;
  margin-bottom: -24px;
}
.px-topbar-slogan {
  font-size: 14px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}
.rbt-header-top .rbt-info-list i {
  font-size: 15px;
}
.rbt-mainmenu > li.px-current > a {
  color: var(--color-primary);
}
.rbt-social li a i {
  font-size: 16px;
  line-height: 1;
}

/* ---------- Hero ---------- */
.px-slogan {
  font-family: var(--font-autograph);
  font-size: 30px;
  line-height: 1.3;
  color: var(--color-heading);
}
.rbt-banner-9 a.rbt-banner-card {
  text-decoration: none;
}
.rbt-banner-9 .rbt-banner-images.rbt-banner-img-right.px-hero-art {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 720px;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 30px auto 0;
  padding: 0 16px;
}
.px-hero-showcase {
  position: relative;
  width: 100%;
  aspect-ratio: 1320 / 1120;
  isolation: isolate;
}
.px-hero-piece {
  position: absolute;
  display: block;
  padding: clamp(4px, 0.45vw, 7px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 32px -18px rgba(23, 17, 14, 0.35), 0 2px 8px rgba(23, 17, 14, 0.08);
  transform: rotate(var(--piece-angle));
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.px-hero-piece img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 6px;
}
.px-hero-piece-packaging {
  --piece-angle: -6deg;
  top: 6%;
  left: 3%;
  width: 60%;
  z-index: 1;
}
.px-hero-piece-tote {
  --piece-angle: 7deg;
  top: 13%;
  right: 3%;
  width: 35%;
  z-index: 2;
}
.px-hero-piece-web {
  --piece-angle: -3deg;
  right: 6%;
  bottom: 2%;
  width: 70%;
  z-index: 3;
}
.px-hero-piece:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 5px;
  z-index: 4;
}
@media (hover: hover) {
  .px-hero-piece:hover {
    transform: translateY(-6px) rotate(var(--piece-angle));
    box-shadow: 0 24px 38px -18px rgba(23, 17, 14, 0.4), 0 2px 8px rgba(23, 17, 14, 0.08);
    z-index: 4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .px-hero-piece { transition: none; }
  .px-hero-piece:hover { transform: rotate(var(--piece-angle)); }
}
@media (max-width: 991px) {
  .rbt-banner-9 .rbt-banner-images.rbt-banner-img-right.px-hero-art {
    margin-bottom: 48px;
  }
}
@media (min-width: 992px) {
  .rbt-banner-9 {
    min-height: 800px;
  }
  .rbt-banner-9 .rbt-banner-images.rbt-banner-img-right.px-hero-art {
    position: absolute;
    top: 130px;
    right: 0;
    bottom: 110px;
    width: 47%;
    max-width: 900px;
    margin: 0;
    padding: 0 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}
.px-banner-lead {
  max-width: 720px;
  margin: 20px auto 0;
}

/* ---------- Home: "what we make" tiles ---------- */
.px-tile-icon i {
  font-size: 38px;
  line-height: 1;
  color: var(--color-primary);
}

/* ---------- Process ---------- */
.px-step-head {
  min-width: 230px;
}
.px-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: var(--color-secondary-shade);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 18px;
}

/* ---------- Gallery (portfolio + home) ---------- */
.px-gallery {
  column-count: 4;
  column-gap: 20px;
}
.px-gallery-item {
  position: relative;
  display: block;
  margin: 0 0 20px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-secondary-shade);
}
.px-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}
.px-gallery-item:hover img,
.px-gallery-item:focus-visible img {
  transform: scale(1.04);
}
.px-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(20, 14, 12, 0.82));
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.px-gallery-item:hover .px-gallery-caption,
.px-gallery-item:focus-visible .px-gallery-caption {
  opacity: 1;
}
@media (max-width: 1199px) {
  .px-gallery {
    column-count: 3;
  }
}
@media (max-width: 767px) {
  .px-gallery {
    column-count: 2;
    column-gap: 12px;
  }
  .px-gallery-item {
    margin-bottom: 12px;
  }
}
.px-wide-figure img {
  width: 100%;
  height: auto;
}

/* ---------- About: values ---------- */
.px-values {
  margin-top: 10px;
}
.px-value-card,
.px-index-card {
  height: 100%;
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: #fff;
}
.px-value-card i {
  display: block;
  margin-bottom: 18px;
  font-size: 34px;
  color: var(--color-primary);
}
.px-value-card p {
  margin: 0;
}

/* ---------- Services ---------- */
.px-service-tile .rbt-card-bottom img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.px-index-card h3 a {
  color: var(--color-heading);
}
.px-index-card h3 a:hover {
  color: var(--color-primary);
}
.px-index-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.px-index-card li {
  position: relative;
  margin: 0;
  padding: 6px 0 6px 22px;
  font-size: 15px;
}
.px-index-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}
.px-service-hero {
  width: 100%;
  height: auto;
}
.px-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.px-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: var(--color-heading);
  font-weight: 500;
}
.px-checklist i {
  color: var(--color-primary);
}
.px-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.px-service-card {
  display: flex;
  gap: 22px;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: #fff;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.px-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(49, 31, 26, 0.08);
}
.px-service-thumb {
  flex: none;
  width: 140px;
  height: 140px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.px-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.px-service-thumb.px-service-example img {
  object-fit: contain;
}
.px-service-example + .px-service-body {
  min-width: 0;
  overflow-wrap: break-word;
}
@media (max-width: 575px) {
  .px-service-card {
    flex-direction: column;
  }
  .px-service-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Portfolio tabs ---------- */
.px-tabs {
  margin-top: 10px;
}

/* ---------- Contact ---------- */
.rbt-contact-info-area-2.px-contact {
  margin-bottom: 0;
  padding-bottom: 110px;
}
.rbt-contact-info-area-2.px-contact .rbt-form {
  position: relative;
  top: auto;
  right: auto;
}
.px-contact .rbt-contact-info-list {
  margin-bottom: 40px;
}
.px-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.px-info-icon i {
  font-size: 30px;
  color: var(--color-primary);
}
.rbt-form .px-select {
  width: 100%;
  cursor: pointer;
}
.px-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.px-form-note {
  min-height: 1.4em;
  margin: 16px 0 0;
  font-size: 15px;
}
.px-form-note.is-ok {
  color: #1c8a4b;
}
.px-form-note.is-error {
  color: #c62828;
}

/* ---------- Footer ---------- */
.px-footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.px-btn-whatsapp,
.px-btn-whatsapp:hover {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--px-whatsapp);
  color: #fff;
}
.px-btn-whatsapp i {
  font-size: 18px;
}
.px-wa-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--px-whatsapp);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}
.px-wa-float:hover {
  transform: scale(1.08);
  color: #fff;
}

/* ---------- 404 ---------- */
.px-404 {
  margin: 0;
  text-align: center;
  font-size: clamp(110px, 22vw, 220px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 767px) {
  .px-slogan {
    font-size: 23px;
  }
  footer.rbt-footer-style-5 {
    padding-bottom: 76px;
  }
}

/* Brand colours only: preserve the original template treatments. */
body { background-color: #FFFFFF; }
.rbt-btn.rbt-btn-gradient {
  --color-primary: #FF5C35;
  color: #17110E;
}
.rbt-btn.rbt-btn-gradient:hover { color: #17110E; }
.rbt-badge.rbt-badge-2,
.rbt-badge.rbt-badge-2 .rbt-text-white { color: #17110E !important; }
footer { --color-body: #A8988E; }

/* ---------- Mobile navigation and shared controls ---------- */
html { scroll-padding-top: 88px; }
body { overflow-wrap: break-word; }
main, .row > *, .px-service-body { min-width: 0; }
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}
.px-header-quote .px-quote-short { display: none; }
.rbt-header-sticky:not(.sticky) { visibility: hidden; }
.rbt-header-sticky:not(.sticky):focus-within { visibility: visible; top: 0; }
.rbt-progress-parent { border: 0; padding: 0; background: #fff; }
.px-btn-row > a:not(.rbt-btn) { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; }
.px-checklist i { flex-shrink: 0; }
.popup-mobile-menu { z-index: 1000; transition: opacity 180ms ease; }
.popup-mobile-menu .inner-wrapper {
  transition: left 180ms ease, opacity 180ms ease;
  width: min(380px, calc(100% - 24px));
  height: 100dvh;
  max-height: 100%;
  padding: max(20px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  overscroll-behavior: contain;
}
.popup-mobile-menu .inner-top .content { align-items: center; gap: 16px; }
.popup-mobile-menu .inner-wrapper .inner-top .close-button { width: 44px; height: 44px; }
.popup-mobile-menu .inner-top .logo .px-logo { width: auto; height: 44px; max-width: 100%; }
.popup-mobile-menu .mainmenu li a,
.popup-mobile-menu .px-submenu-toggle {
  min-height: 48px;
  padding: 12px 0;
  line-height: 1.5;
}
.popup-mobile-menu .px-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: none;
  color: var(--color-heading);
  font: inherit;
  font-weight: 500;
  text-align: left;
}
.px-submenu-toggle span { font-size: 24px; line-height: 1; }
.popup-mobile-menu #px-mobile-services:not([hidden]) { display: block; }
.popup-mobile-menu .mainmenu [aria-current="page"],
.popup-mobile-menu .px-submenu-toggle[aria-expanded="true"] { color: var(--color-primary); }
.popup-mobile-menu .mobile-menu-bottom { flex-shrink: 0; padding-top: 16px; }
.popup-mobile-menu .rbt-social a { min-width: 44px; min-height: 44px; }
html.px-menu-open { overflow: hidden; }
body.px-menu-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }

/* Tablet cards need room for both the artwork and the description. */
@media (max-width: 991px) {
  .px-service-card { flex-direction: column; gap: 20px; }
  .px-service-thumb { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .px-service-card .px-service-body { width: 100%; }
  .px-service-thumb img { object-fit: contain; }
  .px-tabs > ul { flex-wrap: wrap; overflow: visible; gap: 8px; }
  .px-tabs .rbt-tab-btn { min-height: 44px; padding: 10px 14px; font-size: 14px; }
  .px-tabs .rbt-tab-btn.active { color: var(--color-heading); }

  /* Display every work category without a hidden horizontal carousel. */
  .px-what-we-make .row > .col-lg-7 { margin-top: 32px !important; order: 2; }
  .px-what-we-make .rbt-brand-box-group.rbt-brand-box-untidy {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    min-height: 0;
    overflow: visible;
    transform: none !important;
  }
  .px-what-we-make .rbt-brand-box-group .rbt-brand-box {
    position: static;
    min-width: 0;
    width: auto;
    height: auto;
    opacity: 1 !important;
    transform: none !important;
  }
  .px-what-we-make .rbt-brand-box .rbt-brand-box-inner-2 {
    width: 100%;
    min-width: 0;
    height: 136px;
    gap: 16px;
    padding: 20px 12px;
    transform: none !important;
  }
  .px-what-we-make .rbt-brand-box :is(.rbt-brand-logo, .rbt-brand-name) {
    transform: none;
    text-align: center;
  }
  .px-what-we-make .rbt-brand-name { font-size: 16px; }
  .rbt-banner-9 .rbt-banner-images.rbt-banner-img-right.px-hero-art { max-width: 580px; margin-bottom: 20px; }
  .px-contact .rbt-form { margin-top: 8px; }
  .rbt-contact-info-area-2.px-contact { padding-bottom: 48px; }

  /* Let the footer grow naturally as its text and actions wrap. */
  footer.rbt-footer-style-5 { margin-top: 48px; padding-top: 32px; }
  .rbt-footer-style-5 .rbt-newsletter-area {
    position: relative;
    inset: auto;
    width: 100%;
    margin-bottom: 40px;
    clip-path: none;
  }
  .rbt-footer-style-5 .rbt-footer-widget-pt { padding-top: 0; }
  .px-footer-logo-link { margin-top: 0 !important; margin-bottom: 16px !important; }
  .px-logo-footer { width: 140px; }
  .px-footer-inset { padding-left: 0 !important; }
  .rbt-footer-widget a[href^="mailto:"] { overflow-wrap: anywhere; }
}

@media (max-width: 767px) {
  /* Comfortable page gutters, including notched phones in landscape. */
  .container {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .rbt-header-style-1 .rbt-header-mainbar { height: 68px; gap: 8px; }
  .rbt-header-style-1 .rbt-header-content > .rbt-header-info { margin: 0; }
  .rbt-header-style-1 .rbt-header-right .rbt-header-content { gap: 10px; }
  .rbt-header-style-1 .rbt-hamberger { margin-left: 0; }
  .rbt-header-style-1 .rbt-hamberger-btn { width: 44px; height: 44px; flex-shrink: 0; margin-left: 0; }
  .rbt-header-style-1 .rbt-logo .px-logo { height: 38px; }
  .rbt-header-style-1 .px-header-quote {
    min-height: 44px;
    height: auto;
    padding: 0 14px;
    line-height: 44px;
    font-size: 13px;
    white-space: nowrap;
  }
  .rbt-banner-9 { padding-top: 112px; padding-bottom: 30px; }
  .rbt-banner-8 { padding-top: 112px; }
  .rbt-banner-9 .rbt-banner-title,
  .rbt-banner-8 .rbt-banner-title { font-size: clamp(32px, 8.8vw, 44px); line-height: 1.12 !important; }
  main .h1 { font-size: clamp(28px, 7.4vw, 36px); line-height: 1.18; }
  main .b1 { font-size: 16px; line-height: 1.7; }
  .rbt-badge { max-width: 100%; white-space: normal; line-height: 1.5; }
  .rbt-badge .rbt-text-nowrap { white-space: normal; }
  .rbt-banner-9 .rbt-badge-text { font-size: 13px; }
  .rbt-banner-9 .rbt-button-group { gap: 16px; }
  .rbt-banner-9 .rbt-banner-card { padding: 0; }
  .rbt-banner-9 .rbt-card.rbt-banner-card .service-icon.service-icon-md { width: 44px; height: 44px; }
  .rbt-banner-9 .rbt-banner-card .service-icon svg { width: 28px; height: 28px; }
  .rbt-banner-9 .rbt-banner-card .h3 { font-size: 24px; }
  .rbt-banner-9 .rbt-banner-card p:last-child { font-size: 14px; }
  .px-slogan { font-size: 22px; line-height: 1.5; }
  .rbt-banner-9 .rbt-banner-images.rbt-banner-img-right.px-hero-art { margin-top: 18px; padding: 0 20px; }
  .rbt-icon-large { display: none; }
  .px-home-services .rbt-card.rbt-card-9 { padding: 32px 12px; gap: 16px; }
  .px-home-services .rbt-card-title { font-size: clamp(25px, 6.5vw, 32px); line-height: 1.15; }
  .px-home-services .rbt-card-content { min-width: 0; }
  .px-home-services .rbt-btn-circle { flex-shrink: 0; width: 84px; height: 84px; padding: 0 8px; }
  .px-home-services .rbt-btn-circle .circle-btn-inner { text-align: center; }
  .px-home-services .rbt-btn-circle span { font-size: 10px; line-height: 1.35; letter-spacing: 0.02em; overflow-wrap: normal; word-break: normal; hyphens: none; }
  .px-what-we-make .rbt-brand-box-group.rbt-brand-box-untidy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .px-step-head { min-width: 0; gap: 16px; }
  .px-step-head h3 { white-space: normal !important; }
  .px-step-num { width: 44px; height: 44px; font-size: 16px; }
  .px-value-card, .px-index-card, .px-service-card { padding: 24px 20px; }
  main .rbt-btn, footer .rbt-btn {
    max-width: 100%;
    min-height: 48px;
    height: auto;
    padding: 14px 22px;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .px-btn-row { gap: 12px 24px; }
  .px-contact .rbt-info-single-box { gap: 16px; margin-bottom: 24px; }
  .px-contact .rbt-info-single-box .icon { width: 48px; height: 48px; min-width: 48px; }
  .px-info-icon i { font-size: 24px; }
  .px-contact .rbt-info-content { min-width: 0; }
  .px-contact .rbt-info-content a { display: flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
  .px-contact .rbt-form { padding: 28px 20px; }
  .px-contact .rbt-form-round-bg-shape { display: none; }
  .px-contact .rbt-form { background: #fff4ef; }
  #px-contact-form { scroll-margin-top: 88px; }
  #px-contact-form :is(input:not([type="checkbox"]), select) { min-height: 48px; font-size: 16px; }
  #px-contact-form textarea { min-height: 156px; font-size: 16px; resize: vertical; }
  #px-contact-form button[type="submit"] { width: 100%; }
  .rbt-footer-style-5 .rbt-newsletter-area { padding: 28px 20px; }
  .rbt-footer-style-5 .newsletter-title { font-size: 30px; line-height: 1.2; }
  .px-footer-cta { gap: 12px; }
  .px-footer-cta .rbt-btn { flex: 1 1 180px; }
  .px-footer-links > :nth-child(-n+2) { width: 50%; }
  .px-footer-links > :last-child { width: 100%; }
  .px-footer-links .rbt-list { min-width: 0; width: 100%; margin-left: 0; }
  .px-footer-links .rbt-list li { width: 100%; margin-left: 0; }
  .px-footer-links .rbt-list a { min-width: 0; width: 100%; padding-left: 14px; font-size: 14px; }
  .rbt-footer-widget .rbt-list li { margin-top: 0; margin-bottom: 0; }
  .rbt-footer-widget .rbt-list a { display: flex; align-items: center; min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
  .rbt-footer-widget a[href^="tel:"], .rbt-footer-widget a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px; }
  footer .rbt-social a { min-width: 44px; min-height: 44px; }
  .px-wa-float { width: 48px; height: 48px; font-size: 25px; left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .rbt-progress-parent { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  body:has(#px-contact-form :focus) .px-wa-float,
  body:has(#px-contact-form :focus) .rbt-progress-parent { visibility: hidden; }
  footer.rbt-footer-style-5 { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (max-width: 575px) {
  .px-header-quote .px-quote-full { display: none; }
  .px-header-quote .px-quote-short { display: inline; }
}

@media (max-width: 359px) {
  .px-footer-links > :nth-child(-n+2) { width: 100%; }
}

@media (hover: none), (pointer: coarse) {
  .rbt-btn:is(.rbt-btn-split, .rbt-btn-split-2) .inner { line-height: 1.4; }
  .rbt-btn:is(.rbt-btn-split, .rbt-btn-split-2) .inner .hover-text { display: none; }
  .rbt-btn:is(.rbt-btn-split, .rbt-btn-split-2) .inner .default-text,
  .rbt-btn:is(.rbt-btn-split, .rbt-btn-split-2) .inner .default-text span { transform: none; opacity: 1; }
  .px-gallery-caption { position: static; display: block; padding: 10px 12px; background: #fff4ef; color: var(--color-heading); opacity: 1; font-size: 13px; line-height: 1.45; }
  .px-gallery-item:hover img { transform: none; }
  .rbt-img-animtaion { display: none; }
}

/* Also covers desktop-to-mobile resizing after the theme has initialized. */
@media (max-width: 991px), (prefers-reduced-motion: reduce) {
  .rbt-slide-element, .section-ele-slide-up, .split-line, .rbt-slide-up {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .moving-content-wrapper .moving-animation, .moving-content-wrapper .scrolling-content { animation: none !important; transform: none !important; }
  .rbt-round-blur-shape, .rbt-banner-shape-group, .rbt-shape-image { display: none; }
  .px-what-we-make .rbt-brand-box-group, .px-what-we-make .rbt-brand-box { transform: none !important; opacity: 1 !important; }
  .has-vibrate, .has-vibrate * { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
