/* ==========================================================
   PATHS [SENDEROS] DESIGN SYSTEM
   Version 1.0
   ========================================================== */


/* ----------------------------------------------------------
   1. GLOBAL VARIABLES
   ---------------------------------------------------------- */

:root {
  /* Brand colors */
  --ps-navy: #082b6f;
  --ps-blue: #293a87;
  --ps-text: #111111;
  --ps-muted: #aab2cf;
  --ps-pale-blue: #f4f7ff;
  --ps-line-blue: #d9e3fb;
  --ps-white: #ffffff;
  --ps-focus: #f2b84b;

  /* WordPress font family */
  --ps-font-family: "Mallory", Arial, sans-serif;

  /* Layout */
  --ps-content-width: 1180px;
  --ps-wide-width: 1500px;
  --ps-reading-width: 760px;
  --ps-page-padding: clamp(1.25rem, 5vw, 5rem);

  /* Spacing */
  --ps-section-space: clamp(4rem, 8vw, 7rem);
  --ps-section-space-small: clamp(3rem, 6vw, 5rem);

  /* Corners */
  --ps-radius-small: 12px;
  --ps-radius-medium: 22px;
  --ps-radius-large: 30px;
  --ps-radius-pill: 999px;

  /* Motion */
  --ps-transition: 180ms ease;
}


/* ----------------------------------------------------------
   2. SHARED RESET
   ---------------------------------------------------------- */

.ps-section,
.ps-section *,
.ps-component,
.ps-component * {
  box-sizing: border-box;
}

.ps-section img,
.ps-component img {
  display: block;
  max-width: 100%;
  height: auto;
}


/* ----------------------------------------------------------
   3. CONTAINERS
   ---------------------------------------------------------- */

.ps-container {
  width: min(
    calc(100% - (var(--ps-page-padding) * 2)),
    var(--ps-content-width)
  );
  margin-inline: auto;
}

.ps-container-wide {
  width: min(
    calc(100% - (var(--ps-page-padding) * 2)),
    var(--ps-wide-width)
  );
  margin-inline: auto;
}

.ps-container-reading {
  width: min(
    calc(100% - (var(--ps-page-padding) * 2)),
    var(--ps-reading-width)
  );
  margin-inline: auto;
}


/* ----------------------------------------------------------
   4. SECTION SPACING
   ---------------------------------------------------------- */

.ps-section {
  position: relative;
  padding-block: var(--ps-section-space);
}

.ps-section-small {
  padding-block: var(--ps-section-space-small);
}

.ps-bg-white {
  background-color: var(--ps-white);
}

.ps-bg-pale {
  background-color: var(--ps-pale-blue);
}

/* ----------------------------------------------------------
   5. TYPOGRAPHY
   ---------------------------------------------------------- */

.ps-heading-xl,
.ps-heading-lg,
.ps-heading-md,
.ps-heading-sm,
.ps-body-large,
.ps-body,
.ps-body-small,
.ps-text-bold,
.ps-button,
.ps-breadcrumb {
  font-family: var(--ps-font-family) !important;
}

.ps-heading-xl,
.ps-heading-lg,
.ps-heading-md,
.ps-heading-sm {
  margin-top: 0;
  color: var(--ps-navy);
}

.ps-heading-xl {
  font-size: clamp(2.4rem, 5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.ps-heading-lg {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.ps-heading-md {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ps-heading-sm {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.ps-body-large {
  color: var(--ps-text);
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  font-weight: 400;
  line-height: 1.55;
}

.ps-body {
  color: var(--ps-text);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
}

.ps-body-small {
  color: var(--ps-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
}

.ps-text-bold {
  font-weight: 700;
}

/* ----------------------------------------------------------
   6. ACCESSIBILITY
   ---------------------------------------------------------- */

.ps-section a,
.ps-component a {
  text-underline-offset: 0.2em;
}

.ps-section a:focus-visible,
.ps-component a:focus-visible,
.ps-section button:focus-visible,
.ps-component button:focus-visible {
  outline: 3px solid var(--ps-focus);
  outline-offset: 4px;
}


/* ----------------------------------------------------------
   7. BUTTONS
   ---------------------------------------------------------- */

.ps-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;

  min-height: 52px;
  padding: 0.9rem 1.35rem;

  border: 2px solid transparent;
  border-radius: var(--ps-radius-pill);

  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;

  cursor: pointer;

  transition:
    background-color var(--ps-transition),
    color var(--ps-transition),
    border-color var(--ps-transition),
    transform var(--ps-transition);
}

.ps-button-primary {
  color: var(--ps-white);
  background-color: var(--ps-blue);
}

.ps-button-primary:hover {
  color: var(--ps-blue);
  background-color: var(--ps-white);
  border-color: var(--ps-blue);
}

.ps-button-secondary {
  color: var(--ps-navy);
  background-color: var(--ps-white);
  border-color: var(--ps-navy);
}

.ps-button-secondary:hover {
  color: var(--ps-white);
  background-color: var(--ps-blue);
  border-color: var(--ps-blue);
}

/* ----------------------------------------------------------
   8. PAGE HERO
   ---------------------------------------------------------- */

.ps-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 330px;
  background-color: #7ca7de30;
}

.ps-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
	transform: rotate(180deg);

 
}

.ps-page-hero__inner {
  display: flex;
  align-items: center;

  min-height: 330px;
  padding-top: clamp(2.75rem, 5vw, 4rem);
  padding-bottom: clamp(5.5rem, 7vw, 6.5rem);
}

.ps-page-hero__content {
  width: 100%;
  max-width: 720px;
}

.ps-page-hero__title {
  margin: 0;

  color: var(--ps-navy);
  font-family: var(--ps-font-family) !important;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.ps-page-hero__description {
  max-width: 680px;
  margin: clamp(1rem, 2vw, 1.35rem) 0 0;

  color: #4a5f7a;
  font-family: var(--ps-font-family) !important;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
}

/* ----------------------------------------------------------
   9. BREADCRUMB TAB
   ---------------------------------------------------------- */

.ps-breadcrumb-tab {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;

  max-width: calc(100% - 1.25rem);
  padding: 1.1rem clamp(1.4rem, 3vw, 2.5rem);

  background-color: var(--ps-white);
  border-radius: 24px 0 0 0;
}

.ps-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;

  margin: 0;
  padding: 0 0 0 1.25rem;

  border-left: 4px solid var(--ps-blue);
  list-style: none;

  font-family: var(--ps-font-family) !important;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.4;
}

.ps-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.ps-breadcrumb__link {
  color: var(--ps-muted);
  text-decoration: none;
  transition: color var(--ps-transition);
}

.ps-breadcrumb__link:hover {
  color: var(--ps-navy);
  text-decoration: underline;
}

.ps-breadcrumb__current {
  color: var(--ps-blue);
  font-family: var(--ps-font-family) !important;
  font-weight: 700;
}

.ps-breadcrumb__separator {
  color: var(--ps-muted);
  user-select: none;
}

/* ----------------------------------------------------------
   RESOURCE PAGE HERO EXTENSIONS
   Uses the existing .ps-page-hero design
   ---------------------------------------------------------- */

.ps-resource-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) auto;
  align-items: center;
  justify-content: space-between;
  gap: clamp(3rem, 8vw, 8rem);

  width: 100%;
}


/* Video duration */

.ps-resource-hero__meta {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;

  min-width: 130px;

  text-align: center;
}

.ps-resource-hero__duration {
  display: block;

  color: var(--ps-navy);
  font-family: var(--ps-font-family) !important;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.ps-resource-hero__meta-label {
  display: block;
  margin-top: 0.4rem;

  color: var(--ps-navy);
  font-family: var(--ps-font-family) !important;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.4;
}


/* Resource back tab */

.ps-resource-back-tab {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;

  max-width: calc(100% - 1.25rem);
  padding: 1.1rem clamp(1.4rem, 3vw, 2.5rem);

  background-color: var(--ps-white);
  border-radius: 24px 0 0 0;
}

.ps-resource-back-tab__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  color: var(--ps-text);
  font-family: var(--ps-font-family) !important;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

.ps-resource-back-tab__link svg {
  flex: 0 0 auto;

  width: 18px;
  height: 18px;

  stroke-width: 1.8;
}

.ps-resource-back-tab__label {
  color: var(--ps-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.ps-resource-back-tab__link:hover
.ps-resource-back-tab__label {
  color: var(--ps-navy);
}


/* Entrance animations */

.ps-animations-ready .ps-resource-hero__meta {
  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 650ms ease 180ms,
    transform 650ms ease 180ms;
}

.ps-animations-ready .ps-resource-back-tab {
  opacity: 0;
  transform: translateX(30px);

  transition:
    opacity 600ms ease 220ms,
    transform 600ms ease 220ms;
}

.ps-page-hero.is-visible .ps-resource-hero__meta,
.ps-page-hero.is-visible .ps-resource-back-tab {
  opacity: 1;
  transform: translate(0);
}


/* Tablet */

@media (max-width: 900px) {
  .ps-resource-hero__layout {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
  }

  .ps-resource-hero__meta {
    min-width: 110px;
  }
}


/* Mobile */

@media (max-width: 767px) {
  .ps-resource-hero__layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .ps-resource-hero__meta {
    align-items: flex-start;
    min-width: 0;
    text-align: left;
  }

  .ps-resource-hero__duration {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .ps-resource-hero__meta-label {
    margin-top: 0.2rem;
    font-size: 1rem;
  }

  .ps-resource-back-tab {
    padding: 1rem 1.25rem;
    border-radius: 20px 0 0 0;
  }

  .ps-resource-back-tab__link {
    font-size: 1rem;
  }
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .ps-animations-ready .ps-resource-hero__meta,
  .ps-animations-ready .ps-resource-back-tab {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ----------------------------------------------------------
   10. ABOUT INTRO SECTION
   ---------------------------------------------------------- */

.ps-about-intro {
  overflow: hidden;
  background-color: var(--ps-white);
}

.ps-about-intro__heading {
  max-width: 900px;
  margin: 0 0 clamp(3rem, 6vw, 5.5rem);
}

.ps-about-intro__grid {
  display: grid;
  grid-template-columns: minmax(280px, 480px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.ps-about-intro__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--ps-radius-large);
  background-color: var(--ps-pale-blue);
}

.ps-about-intro__image {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.ps-about-intro__content {
  width: 100%;
  max-width: 680px;
}

.ps-about-intro__content-heading {
  margin: 0 0 1.75rem;
  color: var(--ps-blue);
}

.ps-about-intro__lead {
  margin: 0 0 2rem;
  color: var(--ps-text);
  font-family: var(--ps-font-family) !important;
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.5;
}

.ps-about-intro__text {
  margin: 0;
}

.ps-about-intro__text + .ps-about-intro__text {
  margin-top: 1.5rem;
}

@media (hover: hover) and (pointer: fine) {
  .ps-about-intro__media:hover .ps-about-intro__image {
    transform: scale(1.025);
  }
}


/* ----------------------------------------------------------
   11. PROJECT NUMBERS SECTION
   ---------------------------------------------------------- */

.ps-project-numbers {
  overflow: hidden;
  background-color: var(--ps-pale-blue);
}

.ps-project-numbers__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.95fr);
  align-items: center;
  gap: clamp(4rem, 7vw, 7.5rem);
}

.ps-project-numbers__content {
  width: 100%;
  max-width: 690px;
}

.ps-project-numbers__heading {
  margin: 0 0 clamp(2rem, 3vw, 2.75rem);
}

.ps-project-numbers__intro {
  max-width: 570px;
  margin: 0 0 clamp(2.5rem, 4vw, 3.75rem);

  color: var(--ps-text);
  font-family: var(--ps-font-family) !important;
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  font-weight: 700;
  line-height: 1.55;
}

.ps-project-numbers__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 2px solid var(--ps-line-blue);
}

.ps-project-numbers__item {
  display: flex;
  align-items: center;
  gap: 1.25rem;

  min-height: 74px;
  padding: 1rem 0;

  border-top: 2px solid var(--ps-line-blue);
}

.ps-project-numbers__item:first-child {
  border-top: 0;
}

.ps-project-numbers__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  color: var(--ps-blue);
}

.ps-project-numbers__icon svg {
  display: block;
  width: 100%;
  height: 100%;

  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.ps-project-numbers__label {
  color: var(--ps-text);
  font-family: var(--ps-font-family) !important;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 400;
  line-height: 1.35;
}


/* Project Numbers image collage */

.ps-project-numbers__collage {
  position: relative;
  width: 100%;
  min-height: 560px;
}

.ps-project-numbers__photo {
  position: absolute;
  overflow: hidden;

  margin: 0;
  border-radius: 30px;
  background-color: #e9edf8;
}

.ps-project-numbers__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-project-numbers__photo--one {
  top: 1%;
  left: 0;
  z-index: 2;

  width: 58%;
  height: 42%;

  transform: rotate(6deg);
}

.ps-project-numbers__photo--one img {
  object-position: center;
}

.ps-project-numbers__photo--two {
  top: 3%;
  right: 0;
  z-index: 1;

  width: 54%;
  height: 43%;

  transform: rotate(-8deg);
}

.ps-project-numbers__photo--two img {
  object-position: center;
}

.ps-project-numbers__photo--three {
  right: 8%;
  bottom: 0;
  z-index: 3;

  width: 62%;
  height: 55%;

  transform: rotate(5deg);
}

.ps-project-numbers__photo--three img {
  object-position: center;
}


/* ----------------------------------------------------------
   12. RESPONSIVE — TABLET
   ---------------------------------------------------------- */

@media (max-width: 1100px) {
  .ps-project-numbers__grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
    gap: 3.5rem;
  }

  .ps-project-numbers__collage {
    min-height: 500px;
  }
}

@media (max-width: 1024px) {
  .ps-about-intro__grid {
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }
}

@media (max-width: 900px) {
  .ps-project-numbers__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .ps-project-numbers__content {
    max-width: 760px;
  }

  .ps-project-numbers__collage {
    width: min(100%, 680px);
    min-height: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 820px) {
  .ps-about-intro__grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 3rem;
  }

  .ps-about-intro__media {
    width: 100%;
    max-width: 560px;
  }

  .ps-about-intro__content {
    max-width: 760px;
  }
}

/* ----------------------------------------------------------
   13. RESPONSIVE — MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {
  :root {
    --ps-page-padding: 1.25rem;
    --ps-section-space: 4rem;
    --ps-section-space-small: 3rem;
  }

  /* Page hero */

  .ps-page-hero {
    min-height: auto;
  }

  .ps-page-hero__inner {
    min-height: 280px;
    padding-top: 2.75rem;
    padding-bottom: 6rem;
  }

  .ps-page-hero__title {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .ps-page-hero__description {
    font-size: 1.05rem;
  }

  /* Breadcrumb */

  .ps-breadcrumb-tab {
    padding: 1rem 1.25rem;
    border-radius: 20px 0 0 0;
  }

  .ps-breadcrumb {
    gap: 0.45rem;
    padding-left: 0.9rem;
    border-left-width: 3px;
  }

  .ps-breadcrumb__item {
    gap: 0.45rem;
  }

  /* About introduction */

  .ps-about-intro__heading {
    margin-bottom: 2.5rem;
  }

  .ps-about-intro__grid {
    gap: 2.5rem;
  }

  .ps-about-intro__media {
    border-radius: var(--ps-radius-medium);
  }

  .ps-about-intro__image {
    aspect-ratio: 1 / 1.08;
  }

  .ps-about-intro__content-heading {
    margin-bottom: 1.4rem;
  }

  .ps-about-intro__lead {
    margin-bottom: 1.6rem;
  }

  .ps-about-intro__text + .ps-about-intro__text {
    margin-top: 1.25rem;
  }

  /* Project numbers */

  .ps-project-numbers__intro {
    margin-bottom: 2rem;
  }

  .ps-project-numbers__item {
    gap: 1rem;
    min-height: 68px;
    padding: 0.9rem 0;
  }

  .ps-project-numbers__icon {
    width: 36px;
    height: 36px;
  }

  .ps-project-numbers__collage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;

    min-height: 0;
  }

  .ps-project-numbers__photo {
    position: relative;
    inset: auto;

    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;

    border-radius: var(--ps-radius-medium);
    transform: none;
  }

  .ps-project-numbers__photo--three {
    aspect-ratio: 4 / 3;
  }
}

/* ----------------------------------------------------------
   14. REDUCED MOTION
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ps-button,
  .ps-breadcrumb__link,
  .ps-about-intro__image {
    transition: none;
  }

  .ps-button:hover,
  .ps-about-intro__media:hover .ps-about-intro__image {
    transform: none;
  }
}

/* ----------------------------------------------------------
   15. PROJECT TIMELINE
   ---------------------------------------------------------- */

.ps-project-timeline {
  overflow: hidden;
  background-color: var(--ps-white);
}

.ps-project-timeline__heading {
  margin: 0 0 clamp(4rem, 7vw, 6.5rem);
  text-align: center;
}

.ps-project-timeline__list {
  position: relative;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);

  margin: 0;
  padding: 0;
  list-style: none;
}

.ps-project-timeline__list::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;

  height: 2px;
  background-color: var(--ps-line-blue);
}

.ps-project-timeline__item {
  position: relative;
  padding-top: 4.5rem;
}

.ps-project-timeline__marker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;

  width: 36px;
  height: 36px;

  border-radius: 50%;
  background-color: #cfdbff;
}

.ps-project-timeline__date {
  display: block;
  margin-bottom: 1rem;

  color: var(--ps-navy);
  font-family: var(--ps-font-family) !important;
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.ps-project-timeline__title {
  margin: 0 0 1rem;

  color: var(--ps-text);
  font-family: var(--ps-font-family) !important;
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  font-weight: 400;
  line-height: 1.3;
}

.ps-project-timeline__description {
  margin: 0;

  color: var(--ps-text);
  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
}

/* Tablet */

@media (max-width: 1024px) {
  .ps-project-timeline__list {
    gap: 2rem;
  }

  .ps-project-timeline__description {
    font-size: 0.95rem;
  }
}

/* Vertical timeline */

@media (max-width: 767px) {
  .ps-project-timeline__heading {
    margin-bottom: 3rem;
    text-align: left;
  }

  .ps-project-timeline__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;

    padding-left: 2.25rem;
  }

  .ps-project-timeline__list::before {
    top: 0;
    bottom: 0;
    left: 15px;
    right: auto;

    width: 2px;
    height: auto;
  }

  .ps-project-timeline__item {
    padding-top: 0;
  }

  .ps-project-timeline__marker {
    top: 0.2rem;
    left: -2.25rem;

    width: 32px;
    height: 32px;
  }

  .ps-project-timeline__date {
    margin-bottom: 0.75rem;
  }

  .ps-project-timeline__title {
    margin-bottom: 0.75rem;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .ps-project-timeline__item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================
   16. SITE-WIDE ENTRANCE ANIMATIONS
   ========================================================== */

/*
   Elements remain visible by default.
   JavaScript adds .ps-animations-ready to the page before
   applying the hidden animation states.
*/


/* ----------------------------------------------------------
   INITIAL ANIMATION STATES
   ---------------------------------------------------------- */

.ps-animations-ready .ps-page-hero__title,
.ps-animations-ready .ps-page-hero__description,
.ps-animations-ready .ps-breadcrumb-tab,
.ps-animations-ready .ps-about-intro__heading,
.ps-animations-ready .ps-about-intro__media,
.ps-animations-ready .ps-about-intro__content,
.ps-animations-ready .ps-project-numbers__content,
.ps-animations-ready .ps-project-numbers__item,
.ps-animations-ready .ps-project-numbers__photo,
.ps-animations-ready .ps-project-timeline__heading,
.ps-animations-ready .ps-project-timeline__item {
  opacity: 0;
  will-change: opacity, transform;
}


/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

.ps-animations-ready .ps-page-hero__title {
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.ps-animations-ready .ps-page-hero__description {
  transform: translateY(20px);
  transition:
    opacity 650ms ease 120ms,
    transform 650ms ease 120ms;
}

.ps-animations-ready .ps-breadcrumb-tab {
  transform: translateX(30px);
  transition:
    opacity 600ms ease 220ms,
    transform 600ms ease 220ms;
}

.ps-page-hero.is-visible .ps-page-hero__title,
.ps-page-hero.is-visible .ps-page-hero__description,
.ps-page-hero.is-visible .ps-breadcrumb-tab {
  opacity: 1;
  transform: translate(0);
}


/* ----------------------------------------------------------
   ABOUT INTRO
   ---------------------------------------------------------- */

.ps-animations-ready .ps-about-intro__heading {
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.ps-animations-ready .ps-about-intro__media {
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 700ms ease 100ms,
    transform 700ms ease 100ms;
}

.ps-animations-ready .ps-about-intro__content {
  transform: translateY(28px);
  transition:
    opacity 700ms ease 200ms,
    transform 700ms ease 200ms;
}

.ps-about-intro.is-visible .ps-about-intro__heading,
.ps-about-intro.is-visible .ps-about-intro__media,
.ps-about-intro.is-visible .ps-about-intro__content {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* ----------------------------------------------------------
   PROJECT NUMBERS
   ---------------------------------------------------------- */

.ps-animations-ready .ps-project-numbers__content {
  transform: translateY(28px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.ps-animations-ready .ps-project-numbers__item {
  transform: translateX(-16px);
  transition:
    opacity 450ms ease,
    transform 450ms ease;
}

.ps-animations-ready .ps-project-numbers__photo {
  transform-origin: center;
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.ps-animations-ready .ps-project-numbers__photo--one {
  transform: translateY(30px) rotate(6deg) scale(0.96);
  transition-delay: 100ms;
}

.ps-animations-ready .ps-project-numbers__photo--two {
  transform: translateY(30px) rotate(-8deg) scale(0.96);
  transition-delay: 200ms;
}

.ps-animations-ready .ps-project-numbers__photo--three {
  transform: translateY(30px) rotate(5deg) scale(0.96);
  transition-delay: 300ms;
}

.ps-project-numbers.is-visible .ps-project-numbers__content,
.ps-project-numbers.is-visible .ps-project-numbers__item,
.ps-project-numbers.is-visible .ps-project-numbers__photo {
  opacity: 1;
}

.ps-project-numbers.is-visible .ps-project-numbers__content {
  transform: translateY(0);
}

.ps-project-numbers.is-visible .ps-project-numbers__item {
  transform: translateX(0);
}

.ps-project-numbers.is-visible .ps-project-numbers__photo--one {
  transform: translateY(0) rotate(6deg) scale(1);
}

.ps-project-numbers.is-visible .ps-project-numbers__photo--two {
  transform: translateY(0) rotate(-8deg) scale(1);
}

.ps-project-numbers.is-visible .ps-project-numbers__photo--three {
  transform: translateY(0) rotate(5deg) scale(1);
}

.ps-project-numbers.is-visible .ps-project-numbers__item:nth-child(1) {
  transition-delay: 150ms;
}

.ps-project-numbers.is-visible .ps-project-numbers__item:nth-child(2) {
  transition-delay: 230ms;
}

.ps-project-numbers.is-visible .ps-project-numbers__item:nth-child(3) {
  transition-delay: 310ms;
}

.ps-project-numbers.is-visible .ps-project-numbers__item:nth-child(4) {
  transition-delay: 390ms;
}


/* ----------------------------------------------------------
   PROJECT TIMELINE
   ---------------------------------------------------------- */

.ps-animations-ready .ps-project-timeline__heading {
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.ps-animations-ready .ps-project-timeline__item {
  transform: translateY(24px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.ps-project-timeline.is-visible .ps-project-timeline__heading,
.ps-project-timeline.is-visible .ps-project-timeline__item {
  opacity: 1;
  transform: translateY(0);
}

.ps-project-timeline.is-visible .ps-project-timeline__item:nth-child(1) {
  transition-delay: 100ms;
}

.ps-project-timeline.is-visible .ps-project-timeline__item:nth-child(2) {
  transition-delay: 180ms;
}

.ps-project-timeline.is-visible .ps-project-timeline__item:nth-child(3) {
  transition-delay: 260ms;
}

.ps-project-timeline.is-visible .ps-project-timeline__item:nth-child(4) {
  transition-delay: 340ms;
}


/* ----------------------------------------------------------
   MOBILE COLLAGE
   ---------------------------------------------------------- */

@media (max-width: 767px) {
  .ps-animations-ready .ps-project-numbers__photo--one,
  .ps-animations-ready .ps-project-numbers__photo--two,
  .ps-animations-ready .ps-project-numbers__photo--three {
    transform: translateY(24px) scale(0.98);
  }

  .ps-project-numbers.is-visible .ps-project-numbers__photo--one,
  .ps-project-numbers.is-visible .ps-project-numbers__photo--two,
  .ps-project-numbers.is-visible .ps-project-numbers__photo--three {
    transform: translateY(0) scale(1);
  }
}


/* ----------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ps-animations-ready .ps-page-hero__title,
  .ps-animations-ready .ps-page-hero__description,
  .ps-animations-ready .ps-breadcrumb-tab,
  .ps-animations-ready .ps-about-intro__heading,
  .ps-animations-ready .ps-about-intro__media,
  .ps-animations-ready .ps-about-intro__content,
  .ps-animations-ready .ps-project-numbers__content,
  .ps-animations-ready .ps-project-numbers__item,
  .ps-animations-ready .ps-project-numbers__photo,
  .ps-animations-ready .ps-project-timeline__heading,
  .ps-animations-ready .ps-project-timeline__item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ----------------------------------------------------------
   17. ABOUT CTA SECTION
   ---------------------------------------------------------- */

.ps-about-cta {
  padding-top: 0;
  padding-bottom: var(--ps-section-space);
  background: var(--ps-white);
}

.ps-about-cta {
  background: var(--ps-white);
}

.ps-about-cta__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: clamp(440px, 48vw, 620px);
  border-radius: clamp(24px, 3vw, 42px);

  background-image:
    url("https://pathsforhealing.org/wp-content/uploads/2026/08/pexels-pixabay-461049.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark premium overlay */

.ps-about-cta__panel::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,.06) 0%,
      rgba(255,255,255,0) 45%
    ),
    linear-gradient(
      rgba(8,43,111,.20),
      rgba(8,43,111,.20)
    );

  pointer-events: none;
}

/* subtle vignette */

.ps-about-cta__panel::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 0;

  box-shadow:
    inset 0 0 120px rgba(8,43,111,.18);

  pointer-events: none;
}

.ps-about-cta__inner {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: inherit;
  padding: clamp(2rem,5vw,5rem);
}


/* ----------------------------------------------------------
   GLASS CARD
   ---------------------------------------------------------- */

.ps-about-cta__card {

  width: min(100%,680px);

  padding: clamp(2.25rem,4vw,3.5rem);

  text-align: center;

  background: rgba(255,255,255,.78);

  border: 1px solid rgba(255,255,255,.55);

  border-radius: clamp(22px,2vw,30px);

  box-shadow:
      0 30px 80px rgba(8,43,111,.16);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ps-about-cta__heading{
  margin:0 0 clamp(1.75rem,3vw,2.5rem);
}


/* ----------------------------------------------------------
   BUTTON
   ---------------------------------------------------------- */

.ps-about-cta__button{

  gap:.85rem;

  min-height:58px;

  padding:
      .95rem
      1rem
      .95rem
      1.6rem;

  font-size:
      clamp(1rem,1.2vw,1.15rem);

  transition:
      transform .25s ease,
      box-shadow .25s ease;
}

.ps-about-cta__button:hover{

  transform:translateY(-3px);

  box-shadow:
      0 16px 36px rgba(8,43,111,.22);

}

.ps-about-cta__button-icon{

  display:flex;
  align-items:center;
  justify-content:center;

  width:40px;
  height:40px;

  background:white;

  color:var(--ps-blue);

  border-radius:999px;

  transition:
      transform .25s ease,
      background-color .25s ease;
}

.ps-about-cta__button-icon svg{

  width:22px;
  height:22px;

  stroke-width:2;
}

.ps-about-cta__button:hover
.ps-about-cta__button-icon{

  transform:
      translate(2px,-2px);

  background:#f8f9ff;

}


/* ----------------------------------------------------------
   ENTRANCE ANIMATION
   ---------------------------------------------------------- */

.ps-animations-ready .ps-about-cta__panel{

  opacity:0;

  transform:
      translateY(30px)
      scale(.985);

  transition:
      opacity .7s ease,
      transform .7s ease;

}

.ps-animations-ready .ps-about-cta__card{

  opacity:0;

  transform:translateY(20px);

  transition:
      opacity .65s ease .18s,
      transform .65s ease .18s;

}

.ps-about-cta.is-visible .ps-about-cta__panel,
.ps-about-cta.is-visible .ps-about-cta__card{

  opacity:1;

  transform:
      translateY(0)
      scale(1);

}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width:900px){

.ps-about-cta__panel{

min-height:500px;

}

.ps-about-cta__card{

width:min(100%,620px);

}

}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width:767px){

.ps-about-cta__panel{

min-height:440px;

border-radius:var(--ps-radius-medium);

}

.ps-about-cta__inner{

padding:1.25rem;

}

.ps-about-cta__card{

padding:2rem 1.35rem;

border-radius:20px;

background:rgba(255,255,255,.84);

}

.ps-about-cta__button{

width:100%;

justify-content:space-between;

padding-left:1.25rem;

}

}


/* ----------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------- */

@media (prefers-reduced-motion:reduce){

.ps-animations-ready .ps-about-cta__panel,
.ps-animations-ready .ps-about-cta__card{

opacity:1;

transform:none;

transition:none;

}

.ps-about-cta__button,
.ps-about-cta__button-icon{

transition:none;

}

.ps-about-cta__button:hover,
.ps-about-cta__button:hover .ps-about-cta__button-icon{

transform:none;

box-shadow:none;

}

}

/* ----------------------------------------------------------
   VIDEO TIP
   ---------------------------------------------------------- */

.ps-video-tip {
  background: var(--ps-white);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.ps-video-tip__card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;

  padding: 1.75rem 2rem;

  background: #7ca7de10;
  border: 1px solid #c9d7f2;
  border-radius: 22px;
}

.ps-video-tip__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 44px;
  height: 44px;

  color: var(--ps-blue);
}

.ps-video-tip__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.8;
}

.ps-video-tip__title {
  margin: 0 0 .45rem;

  color: var(--ps-navy);

  font-family: var(--ps-font-family);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
}

.ps-video-tip__text {
  margin: 0;

  color: var(--ps-text);

  font-family: var(--ps-font-family);
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (max-width:767px){

  .ps-video-tip__card{
    gap:1rem;
    padding:1.35rem;
  }

  .ps-video-tip__icon{
    width:36px;
    height:36px;
  }

  .ps-video-tip__title{
    font-size:1.15rem;
  }

  .ps-video-tip__text{
    font-size:1rem;
  }

}
/* ----------------------------------------------------------
   19. VIDEO LIBRARY APP
   ---------------------------------------------------------- */

.ps-video-library {
  position: relative;
  z-index: 1;

  padding-top: 0;
  background-color: var(--ps-white);
}

.ps-video-library,
.ps-video-library * {
  box-sizing: border-box;
}

.ps-video-library .ps-container-wide {
  overflow: visible;
}


/* ----------------------------------------------------------
   TOOLBAR
   ---------------------------------------------------------- */

.ps-video-library__toolbar {
  position: relative;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;

  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.ps-video-library__toolbar-left,
.ps-video-library__toolbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ps-video-library__toolbar-right {
  margin-left: auto;
}

.ps-video-library__sort-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  color: var(--ps-blue);
  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.ps-video-library__sort-label svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.ps-video-library__select-wrap {
  position: relative;
}

.ps-video-library__select {
  min-height: 50px;
  padding: 0.75rem 3rem 0.75rem 1.1rem;

  color: var(--ps-text);
  background-color: var(--ps-white);
  border: 1px solid rgba(41, 58, 135, 0.42);
  border-radius: 12px;

  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  font-weight: 400;

  cursor: pointer;

  -webkit-appearance: none;
  appearance: none;

  transition:
    border-color var(--ps-transition),
    box-shadow var(--ps-transition);
}

.ps-video-library__select-icon {
  position: absolute;
  top: 50%;
  right: 1rem;

  width: 18px;
  height: 18px;

  color: var(--ps-blue);
  pointer-events: none;

  transform: translateY(-50%);
}


/* Search */

.ps-video-library__search {
  position: relative;

  width: clamp(220px, 26vw, 330px);
}

.ps-video-library__search-icon {
  position: absolute;
  top: 50%;
  left: 1rem;

  width: 20px;
  height: 20px;

  color: var(--ps-text);
  pointer-events: none;

  transform: translateY(-50%);
}

.ps-video-library__search-input {
  width: 100%;
  min-height: 50px;

  padding: 0.75rem 2.8rem 0.75rem 3rem;

  color: var(--ps-text);
  background-color: var(--ps-white);
  border: 1px solid rgba(41, 58, 135, 0.42);
  border-radius: 12px;

  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  font-weight: 400;

  transition:
    border-color var(--ps-transition),
    box-shadow var(--ps-transition);
}

.ps-video-library__search-input::placeholder {
  color: #8b91a3;
  opacity: 1;
}

.ps-video-library__search-input::-webkit-search-cancel-button {
  display: none;
}

.ps-video-library__search-clear {
  position: absolute;
  top: 50%;
  right: 0.6rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;
  padding: 0;

  color: var(--ps-blue);
  background: transparent;
  border: 0;
  border-radius: 50%;

  cursor: pointer;

  transform: translateY(-50%);
}

.ps-video-library__search-clear:hover {
  background-color: var(--ps-pale-blue);
}

.ps-video-library__search-clear[hidden] {
  display: none;
}


/* Filter button */

.ps-video-library__filter {
  position: relative;
  z-index: 110;
}

.ps-video-library__filter-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;

  min-height: 50px;
  padding: 0.75rem 1.1rem;

  color: var(--ps-text);
  background-color: var(--ps-white);
  border: 1px solid rgba(41, 58, 135, 0.42);
  border-radius: 12px;

  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  font-weight: 400;

  cursor: pointer;

  transition:
    color var(--ps-transition),
    background-color var(--ps-transition),
    border-color var(--ps-transition);
}

.ps-video-library__filter-button:hover,
.ps-video-library__filter-button[aria-expanded="true"] {
  color: var(--ps-blue);
  background-color: var(--ps-pale-blue);
  border-color: var(--ps-blue);
}

.ps-video-library__filter-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.ps-video-library__filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 24px;
  height: 24px;
  padding-inline: 0.4rem;

  color: var(--ps-white);
  background-color: var(--ps-blue);
  border-radius: var(--ps-radius-pill);

  font-size: 0.8rem;
  font-weight: 700;
}

.ps-video-library__filter-count[hidden] {
  display: none;
}


/* ----------------------------------------------------------
   FILTER PANEL
   ---------------------------------------------------------- */

.ps-video-library__filter-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  z-index: 9999;

  width: min(330px, calc(100vw - 2.5rem));
  padding: 0.6rem;

  background-color: var(--ps-white);
  border: 1px solid rgba(8, 43, 111, 0.1);
  border-radius: 20px;
  box-shadow:
    0 24px 60px rgba(8, 43, 111, 0.16),
    0 5px 14px rgba(8, 43, 111, 0.07);
}

.ps-video-library__filter-panel[hidden] {
  display: none;
}

.ps-video-library__filter-group {
  padding: 1rem;
}

.ps-video-library__filter-group +
.ps-video-library__filter-group {
  border-top: 1px solid var(--ps-line-blue);
}

.ps-video-library__filter-heading {
  margin: 0 0 0.65rem;

  color: var(--ps-navy);
  font-family: var(--ps-font-family) !important;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ps-video-library__checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  min-height: 44px;
  padding: 0.55rem 0.6rem;

  color: var(--ps-text);
  border-radius: 10px;

  font-family: var(--ps-font-family) !important;
  font-size: 1rem;

  cursor: pointer;
}

.ps-video-library__checkbox:hover {
  background-color: var(--ps-pale-blue);
}

.ps-video-library__checkbox input {
  flex: 0 0 auto;

  width: 20px;
  height: 20px;
  margin: 0;

  accent-color: var(--ps-blue);
  cursor: pointer;
}

.ps-video-library__filter-footer {
  display: flex;
  justify-content: flex-end;

  padding: 0.75rem 1rem 0.5rem;
  border-top: 1px solid var(--ps-line-blue);
}

.ps-video-library__clear-filters {
  padding: 0.55rem 0.7rem;

  color: var(--ps-blue);
  background: transparent;
  border: 0;
  border-radius: 8px;

  font-family: var(--ps-font-family) !important;
  font-size: 0.95rem;
  font-weight: 700;

  cursor: pointer;
}

.ps-video-library__clear-filters:hover {
  background-color: var(--ps-pale-blue);
}


/* ----------------------------------------------------------
   RESULTS STATUS
   ---------------------------------------------------------- */

.ps-video-library__status {
  margin: -1rem 0 1.5rem;

  color: #5d667b;
  font-family: var(--ps-font-family) !important;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* ----------------------------------------------------------
   VIDEO GRID
   ---------------------------------------------------------- */

.ps-video-library__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 2rem);
}


/* ----------------------------------------------------------
   VIDEO CARD
   ---------------------------------------------------------- */

.ps-video-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;

  min-width: 0;

  background-color: var(--ps-white);
  border: 1px solid rgba(8, 43, 111, 0.06);
  border-radius: 26px;
  box-shadow:
    0 8px 26px rgba(8, 43, 111, 0.07);

  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.ps-video-card[hidden] {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .ps-video-card:hover {
    transform: translateY(-5px);
    box-shadow:
      0 18px 42px rgba(8, 43, 111, 0.12);
  }
}


/* Thumbnail */

.ps-video-card__media {
  position: relative;
  display: block;
  overflow: hidden;

  aspect-ratio: 16 / 9;

  color: inherit;
  background-color: var(--ps-pale-blue);
  text-decoration: none;
}

.ps-video-card__image {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 500ms ease;
}

.ps-video-card__media::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(8, 43, 111, 0.04),
      rgba(8, 43, 111, 0.18)
    );

  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .ps-video-card:hover .ps-video-card__image {
    transform: scale(1.035);
  }
}


/* Play icon */

.ps-video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: clamp(64px, 6vw, 82px);
  height: clamp(64px, 6vw, 82px);

  color: var(--ps-white);
  background-color: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;

  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);

  transform: translate(-50%, -50%);

  transition:
    background-color 200ms ease,
    transform 200ms ease;
}

.ps-video-card__play svg {
  width: 34%;
  height: 34%;

  fill: var(--ps-white);
  stroke: var(--ps-white);
  stroke-width: 2.4;

  transform: translateX(2px);
}

@media (hover: hover) and (pointer: fine) {
  .ps-video-card:hover .ps-video-card__play {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(1.06);
  }

  .ps-video-card:hover .ps-video-card__play svg {
    fill: var(--ps-blue);
    stroke: var(--ps-blue);
  }
}


/* Duration */

.ps-video-card__duration {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 2;

  padding: 0.3rem 0.55rem;

  color: var(--ps-white);
  background-color: rgba(17, 17, 17, 0.75);
  border-radius: 7px;

  font-family: var(--ps-font-family) !important;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;

  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}


/* Card content */

.ps-video-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;

  padding: clamp(1.25rem, 2vw, 1.6rem);
}

.ps-video-card__title {
  margin: 0 0 0.75rem;

  color: var(--ps-blue);
  font-family: var(--ps-font-family) !important;
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.ps-video-card__description {
  flex: 1;

  margin: 0 0 1.35rem;

  color: var(--ps-text);
  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.ps-video-card__button {
  align-self: flex-start;

  min-height: 48px;
  padding: 0.75rem 1.2rem;

  font-size: 0.95rem;
}


/* ----------------------------------------------------------
   EMPTY STATE
   ---------------------------------------------------------- */

.ps-video-library__empty {
  display: none;

  padding: clamp(3rem, 7vw, 5rem) 1.5rem;

  text-align: center;

  background-color: var(--ps-pale-blue);
  border: 1px solid var(--ps-line-blue);
  border-radius: var(--ps-radius-large);
}

.ps-video-library__empty.is-visible {
  display: block;
}

.ps-video-library__empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;

  color: var(--ps-blue);
}

.ps-video-library__empty-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.6;
}

.ps-video-library__empty-title {
  margin: 0 0 0.65rem;

  color: var(--ps-navy);
  font-family: var(--ps-font-family) !important;
  font-size: 1.5rem;
  font-weight: 700;
}

.ps-video-library__empty-text {
  max-width: 520px;
  margin: 0 auto 1.5rem;

  color: var(--ps-text);
  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  line-height: 1.55;
}


/* ----------------------------------------------------------
   FOCUS STATES
   ---------------------------------------------------------- */

.ps-video-library__select:focus-visible,
.ps-video-library__search-input:focus-visible,
.ps-video-library__filter-button:focus-visible,
.ps-video-library__search-clear:focus-visible,
.ps-video-library__clear-filters:focus-visible {
  outline: 3px solid var(--ps-focus);
  outline-offset: 3px;
}

.ps-video-card__media:focus-visible {
  outline: 4px solid var(--ps-focus);
  outline-offset: -4px;
}


/* ----------------------------------------------------------
   ENTRANCE ANIMATION
   ---------------------------------------------------------- */

.ps-animations-ready .ps-video-library__toolbar,
.ps-animations-ready .ps-video-card {
  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.ps-video-library.is-visible
.ps-video-library__toolbar,
.ps-video-library.is-visible
.ps-video-card {
  opacity: 1;
  transform: translateY(0);
}

.ps-video-library.is-visible
.ps-video-card:nth-child(2) {
  transition-delay: 70ms;
}

.ps-video-library.is-visible
.ps-video-card:nth-child(3) {
  transition-delay: 140ms;
}

.ps-video-library.is-visible
.ps-video-card:nth-child(4) {
  transition-delay: 210ms;
}

.ps-video-library.is-visible
.ps-video-card:nth-child(5) {
  transition-delay: 280ms;
}

.ps-video-library.is-visible
.ps-video-card:nth-child(6) {
  transition-delay: 350ms;
}

.ps-video-library.is-visible
.ps-video-card:nth-child(7) {
  transition-delay: 420ms;
}

.ps-video-library.is-visible
.ps-video-card:nth-child(8) {
  transition-delay: 490ms;
}

.ps-video-library.is-visible
.ps-video-card:nth-child(9) {
  transition-delay: 560ms;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 1000px) {
  .ps-video-library__toolbar {
    align-items: flex-end;
  }

  .ps-video-library__toolbar-right {
    flex: 1;
    justify-content: flex-end;
  }

  .ps-video-library__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {
  .ps-video-library__toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ps-video-library__toolbar-left,
  .ps-video-library__toolbar-right {
    width: 100%;
  }

  .ps-video-library__toolbar-left {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ps-video-library__toolbar-right {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-left: 0;
  }

  .ps-video-library__select-wrap,
  .ps-video-library__select,
  .ps-video-library__search {
    width: 100%;
  }

  .ps-video-library__filter-panel {
    position: fixed;
    top: auto;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;

    width: auto;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }

  .ps-video-library__grid {
    grid-template-columns: 1fr;
  }

  .ps-video-card {
    border-radius: var(--ps-radius-medium);
  }

  .ps-video-card__body {
    padding: 1.3rem;
  }

  .ps-video-card__title {
    font-size: 1.3rem;
  }
}


/* ----------------------------------------------------------
   SMALL MOBILE
   ---------------------------------------------------------- */

@media (max-width: 480px) {
  .ps-video-library__toolbar-right {
    grid-template-columns: 1fr;
  }

  .ps-video-library__filter-button {
    justify-content: center;
    width: 100%;
  }
}


/* ----------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------- */

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

  .ps-animations-ready .ps-video-library__toolbar,
  .ps-animations-ready .ps-video-card {
    opacity: 1;
    transform: none;
  }
}

/* ----------------------------------------------------------
   20. BOOKLET LIBRARY APP
   ---------------------------------------------------------- */

.ps-booklet-library {
  position: relative;
  z-index: 1;

  padding-top: 0;
  background-color: var(--ps-white);
}

.ps-booklet-library,
.ps-booklet-library * {
  box-sizing: border-box;
}

.ps-booklet-library .ps-container-wide {
  overflow: visible;
}


/* ----------------------------------------------------------
   TOOLBAR
   ---------------------------------------------------------- */

.ps-booklet-library__toolbar {
  position: relative;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;

  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.ps-booklet-library__toolbar-left,
.ps-booklet-library__toolbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ps-booklet-library__toolbar-right {
  margin-left: auto;
}


/* Sort label */

.ps-booklet-library__sort-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  color: var(--ps-blue);
  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.ps-booklet-library__sort-label svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}


/* Sort select */

.ps-booklet-library__select-wrap {
  position: relative;
}

.ps-booklet-library__select {
  min-height: 50px;
  padding: 0.75rem 3rem 0.75rem 1.1rem;

  color: var(--ps-text);
  background-color: var(--ps-white);
  border: 1px solid rgba(41, 58, 135, 0.42);
  border-radius: 12px;

  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  font-weight: 400;

  cursor: pointer;

  -webkit-appearance: none;
  appearance: none;

  transition:
    border-color var(--ps-transition),
    box-shadow var(--ps-transition),
    background-color var(--ps-transition);
}

.ps-booklet-library__select:hover {
  border-color: var(--ps-blue);
}

.ps-booklet-library__select-icon {
  position: absolute;
  top: 50%;
  right: 1rem;

  width: 18px;
  height: 18px;

  color: var(--ps-blue);
  pointer-events: none;

  transform: translateY(-50%);
}


/* ----------------------------------------------------------
   SEARCH
   ---------------------------------------------------------- */

.ps-booklet-library__search {
  position: relative;
  width: clamp(220px, 26vw, 330px);
}

.ps-booklet-library__search-icon {
  position: absolute;
  top: 50%;
  left: 1rem;

  width: 20px;
  height: 20px;

  color: var(--ps-text);
  pointer-events: none;

  transform: translateY(-50%);
}

.ps-booklet-library__search-input {
  width: 100%;
  min-height: 50px;

  padding: 0.75rem 2.8rem 0.75rem 3rem;

  color: var(--ps-text);
  background-color: var(--ps-white);
  border: 1px solid rgba(41, 58, 135, 0.42);
  border-radius: 12px;

  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  font-weight: 400;

  transition:
    border-color var(--ps-transition),
    box-shadow var(--ps-transition);
}

.ps-booklet-library__search-input:hover {
  border-color: var(--ps-blue);
}

.ps-booklet-library__search-input::placeholder {
  color: #8b91a3;
  opacity: 1;
}

.ps-booklet-library__search-input::-webkit-search-cancel-button {
  display: none;
}

.ps-booklet-library__search-clear {
  position: absolute;
  top: 50%;
  right: 0.6rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;
  padding: 0;

  color: var(--ps-blue);
  background: transparent;
  border: 0;
  border-radius: 50%;

  cursor: pointer;

  transform: translateY(-50%);

  transition:
    color var(--ps-transition),
    background-color var(--ps-transition);
}

.ps-booklet-library__search-clear:hover {
  background-color: var(--ps-pale-blue);
}

.ps-booklet-library__search-clear[hidden] {
  display: none;
}

.ps-booklet-library__search-clear svg {
  width: 18px;
  height: 18px;
}


/* ----------------------------------------------------------
   FILTER BUTTON
   ---------------------------------------------------------- */

.ps-booklet-library__filter {
  position: relative;
  z-index: 110;
}

.ps-booklet-library__filter-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;

  min-height: 50px;
  padding: 0.75rem 1.1rem;

  color: var(--ps-text);
  background-color: var(--ps-white);
  border: 1px solid rgba(41, 58, 135, 0.42);
  border-radius: 12px;

  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  font-weight: 400;

  cursor: pointer;

  transition:
    color var(--ps-transition),
    background-color var(--ps-transition),
    border-color var(--ps-transition);
}

.ps-booklet-library__filter-button:hover,
.ps-booklet-library__filter-button[aria-expanded="true"] {
  color: var(--ps-blue);
  background-color: var(--ps-pale-blue);
  border-color: var(--ps-blue);
}

.ps-booklet-library__filter-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.ps-booklet-library__filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 24px;
  height: 24px;
  padding-inline: 0.4rem;

  color: var(--ps-white);
  background-color: var(--ps-blue);
  border-radius: var(--ps-radius-pill);

  font-size: 0.8rem;
  font-weight: 700;
}

.ps-booklet-library__filter-count[hidden] {
  display: none;
}


/* ----------------------------------------------------------
   FILTER PANEL
   ---------------------------------------------------------- */

.ps-booklet-library__filter-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  z-index: 99999;

  width: min(340px, calc(100vw - 2.5rem));
  max-height: min(680px, 72vh);
  padding: 0.6rem;

  overflow-y: auto;

  background-color: var(--ps-white);
  border: 1px solid rgba(8, 43, 111, 0.1);
  border-radius: 20px;

  box-shadow:
    0 24px 60px rgba(8, 43, 111, 0.16),
    0 5px 14px rgba(8, 43, 111, 0.07);
}

.ps-booklet-library__filter-panel[hidden] {
  display: none;
}

.ps-booklet-library__filter-group {
  padding: 1rem;
}

.ps-booklet-library__filter-group +
.ps-booklet-library__filter-group {
  border-top: 1px solid var(--ps-line-blue);
}

.ps-booklet-library__filter-heading {
  margin: 0 0 0.65rem;

  color: var(--ps-navy);
  font-family: var(--ps-font-family) !important;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ps-booklet-library__checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  min-height: 44px;
  padding: 0.55rem 0.6rem;

  color: var(--ps-text);
  border-radius: 10px;

  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  line-height: 1.35;

  cursor: pointer;

  transition: background-color var(--ps-transition);
}

.ps-booklet-library__checkbox:hover {
  background-color: var(--ps-pale-blue);
}

.ps-booklet-library__checkbox input {
  flex: 0 0 auto;

  width: 20px;
  height: 20px;
  margin: 0;

  accent-color: var(--ps-blue);
  cursor: pointer;
}

.ps-booklet-library__filter-footer {
  display: flex;
  justify-content: flex-end;

  padding: 0.75rem 1rem 0.5rem;
  border-top: 1px solid var(--ps-line-blue);
}

.ps-booklet-library__clear-filters {
  padding: 0.55rem 0.7rem;

  color: var(--ps-blue);
  background: transparent;
  border: 0;
  border-radius: 8px;

  font-family: var(--ps-font-family) !important;
  font-size: 0.95rem;
  font-weight: 700;

  cursor: pointer;

  transition: background-color var(--ps-transition);
}

.ps-booklet-library__clear-filters:hover {
  background-color: var(--ps-pale-blue);
}


/* ----------------------------------------------------------
   RESULTS STATUS
   ---------------------------------------------------------- */

.ps-booklet-library__status {
  margin: -1rem 0 1.5rem;

  color: #5d667b;
  font-family: var(--ps-font-family) !important;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* ----------------------------------------------------------
   BOOKLET GRID
   ---------------------------------------------------------- */

.ps-booklet-library__grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.4vw, 2.25rem);
}


/* ----------------------------------------------------------
   BOOKLET CARD
   ---------------------------------------------------------- */

.ps-booklet-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;

  min-width: 0;

  background-color: var(--ps-white);
  border: 1px solid rgba(8, 43, 111, 0.07);
  border-radius: 26px;

  box-shadow:
    0 8px 26px rgba(8, 43, 111, 0.07);

  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.ps-booklet-card[hidden] {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .ps-booklet-card:hover {
    border-color: rgba(41, 58, 135, 0.16);

    transform: translateY(-5px);

    box-shadow:
      0 20px 46px rgba(8, 43, 111, 0.12);
  }
}


/* ----------------------------------------------------------
   CARD VISUAL AREA
   ---------------------------------------------------------- */

.ps-booklet-card__visual {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 360px;
  padding: clamp(1.75rem, 3vw, 2.5rem);

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #f8faff 0%,
      var(--ps-pale-blue) 100%
    );
}

.ps-booklet-card__visual::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 20% 15%,
      rgba(255, 255, 255, 0.92),
      transparent 34%
    );

  pointer-events: none;
}


/* ----------------------------------------------------------
   BOOKLET COVER
   ---------------------------------------------------------- */

.ps-booklet-card__cover {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  width: min(72%, 230px);
  aspect-ratio: 3 / 4.15;
  padding: 1.35rem;

  overflow: hidden;

  border-radius: 7px 16px 16px 7px;

  box-shadow:
    -8px 12px 20px rgba(8, 43, 111, 0.08),
    0 22px 45px rgba(8, 43, 111, 0.2);

  transform:
    perspective(900px)
    rotateY(-4deg)
    rotateZ(-1deg);

  transition:
    transform 350ms ease,
    box-shadow 350ms ease;
}

.ps-booklet-card__cover::before {
  content: "";

  position: absolute;
  inset: 0 auto 0 0;

  width: 9px;

  background: rgba(8, 43, 111, 0.16);
}

.ps-booklet-card__cover::after {
  content: "";

  position: absolute;
  inset: 0;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: inherit;

  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .ps-booklet-card:hover
  .ps-booklet-card__cover {
    transform:
      perspective(900px)
      rotateY(0deg)
      rotateZ(0deg)
      translateY(-4px);

    box-shadow:
      -5px 12px 18px rgba(8, 43, 111, 0.07),
      0 28px 55px rgba(8, 43, 111, 0.24);
  }
}


/* Cover color variations */

.ps-booklet-card__cover--one {
  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      #293a87,
      #082b6f
    );
}

.ps-booklet-card__cover--two {
  color: #082b6f;
  background:
    linear-gradient(
      145deg,
      #dbe8ff,
      #b9cff9
    );
}

.ps-booklet-card__cover--three {
  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      #4d73c9,
      #293a87
    );
}

.ps-booklet-card__cover--four {
  color: #082b6f;
  background:
    linear-gradient(
      145deg,
      #f5dca8,
      #f2b84b
    );
}

.ps-booklet-card__cover--five {
  color: #082b6f;
  background:
    linear-gradient(
      145deg,
      #d7e5ff,
      #c2d4fa
    );
}

.ps-booklet-card__cover--six {
  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      #345cb5,
      #172e72
    );
}


/* ----------------------------------------------------------
   COVER CONTENT
   ---------------------------------------------------------- */

.ps-booklet-card__brand {
  position: relative;
  z-index: 2;

  display: block;
  margin-bottom: auto;

  font-family: var(--ps-font-family) !important;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.ps-booklet-card__cover-icon {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;
  margin-bottom: 1.15rem;

  color: currentColor;
  background-color: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 15px;

  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ps-booklet-card__cover--two
.ps-booklet-card__cover-icon,
.ps-booklet-card__cover--four
.ps-booklet-card__cover-icon,
.ps-booklet-card__cover--five
.ps-booklet-card__cover-icon {
  background-color: rgba(255, 255, 255, 0.42);
  border-color: rgba(8, 43, 111, 0.09);
}

.ps-booklet-card__cover-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}

.ps-booklet-card__cover-title {
  position: relative;
  z-index: 2;

  display: block;

  font-family: var(--ps-font-family) !important;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.ps-booklet-card__cover-label {
  position: relative;
  z-index: 2;

  display: block;
  margin-top: 0.8rem;

  font-family: var(--ps-font-family) !important;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.3;
}


/* ----------------------------------------------------------
   CARD BODY
   ---------------------------------------------------------- */

.ps-booklet-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;

  padding: clamp(1.3rem, 2vw, 1.7rem);
}

.ps-booklet-card__title {
  margin: 0 0 0.75rem;

  color: var(--ps-blue);
  font-family: var(--ps-font-family) !important;
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.ps-booklet-card__description {
  margin: 0 0 1.2rem;

  color: var(--ps-text);
  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
}
/* ----------------------------------------------------------
   BOOKLET DETAILS
   ---------------------------------------------------------- */

.ps-booklet-card__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;

  margin: 0 0 1.45rem;
}


/* Main metadata row */

.ps-booklet-card__details-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  width: 100%;

  color: #667085;

  font-family: var(--ps-font-family) !important;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}


/* Individual detail */

.ps-booklet-card__detail {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  white-space: nowrap;
}


/* Divider */

.ps-booklet-card__detail + .ps-booklet-card__detail {
  margin-left: 1rem;
  padding-left: 1rem;
}

.ps-booklet-card__detail + .ps-booklet-card__detail::before {
  content: "";

  position: absolute;
  left: 0;
  top: 50%;

  width: 1px;
  height: 1rem;

  background: var(--ps-line-blue);

  transform: translateY(-50%);
}


/* Icons */

.ps-booklet-card__detail svg {
  width: 18px;
  height: 18px;

  flex-shrink: 0;

  color: var(--ps-blue);
  stroke-width: 1.8;
}


/* ----------------------------------------------------------
   COMPANION VIDEO
   ---------------------------------------------------------- */

.ps-booklet-card__detail--video {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  margin-top: 0.1rem;

  color: var(--ps-blue);

  font-family: var(--ps-font-family) !important;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;

  text-decoration: none;
  white-space: nowrap;
}

.ps-booklet-card__detail--video::before {
  display: none !important;
}

.ps-booklet-card__detail--video svg {
  width: 18px;
  height: 18px;

  flex-shrink: 0;

  color: currentColor;
  stroke-width: 1.8;
}

@media (hover:hover) and (pointer:fine) {
  .ps-booklet-card__detail--video:hover {
    color: var(--ps-navy);
    text-decoration: underline;
    text-underline-offset: .18em;
  }
}


/* ----------------------------------------------------------
   CARD ACTIONS
   ---------------------------------------------------------- */

.ps-booklet-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;

  margin-top: auto;
}

.ps-booklet-card__actions .ps-button {
  min-height: 48px;
  padding: 0.75rem 1rem;

  font-size: 0.92rem;
}

.ps-booklet-card__actions .ps-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.ps-booklet-card__preview,
.ps-booklet-card__download {
  flex: 1 1 auto;
}


/* ----------------------------------------------------------
   EMPTY STATE
   ---------------------------------------------------------- */

.ps-booklet-library__empty {
  display: none;

  padding:
    clamp(3rem, 7vw, 5rem)
    1.5rem;

  text-align: center;

  background-color: var(--ps-pale-blue);
  border: 1px solid var(--ps-line-blue);
  border-radius: var(--ps-radius-large);
}

.ps-booklet-library__empty.is-visible {
  display: block;
}

.ps-booklet-library__empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;

  color: var(--ps-blue);
}

.ps-booklet-library__empty-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.6;
}

.ps-booklet-library__empty-title {
  margin: 0 0 0.65rem;

  color: var(--ps-navy);
  font-family: var(--ps-font-family) !important;
  font-size: 1.5rem;
  font-weight: 700;
}

.ps-booklet-library__empty-text {
  max-width: 520px;
  margin: 0 auto 1.5rem;

  color: var(--ps-text);
  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  line-height: 1.55;
}


/* ----------------------------------------------------------
   FOCUS STATES
   ---------------------------------------------------------- */

.ps-booklet-library__select:focus-visible,
.ps-booklet-library__search-input:focus-visible,
.ps-booklet-library__filter-button:focus-visible,
.ps-booklet-library__search-clear:focus-visible,
.ps-booklet-library__clear-filters:focus-visible,
.ps-booklet-card__tag--video:focus-visible {
  outline: 3px solid var(--ps-focus);
  outline-offset: 3px;
}


/* ----------------------------------------------------------
   ENTRANCE ANIMATION
   ---------------------------------------------------------- */

.ps-animations-ready
.ps-booklet-library__toolbar,
.ps-animations-ready
.ps-booklet-card {
  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.ps-booklet-library.is-visible
.ps-booklet-library__toolbar,
.ps-booklet-library.is-visible
.ps-booklet-card {
  opacity: 1;
  transform: translateY(0);
}

.ps-booklet-library.is-visible
.ps-booklet-card:nth-child(2) {
  transition-delay: 80ms;
}

.ps-booklet-library.is-visible
.ps-booklet-card:nth-child(3) {
  transition-delay: 160ms;
}

.ps-booklet-library.is-visible
.ps-booklet-card:nth-child(4) {
  transition-delay: 240ms;
}

.ps-booklet-library.is-visible
.ps-booklet-card:nth-child(5) {
  transition-delay: 320ms;
}

.ps-booklet-library.is-visible
.ps-booklet-card:nth-child(6) {
  transition-delay: 400ms;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 1100px) {
  .ps-booklet-card__visual {
    min-height: 330px;
  }

  .ps-booklet-card__cover {
    width: min(76%, 215px);
  }
}

@media (max-width: 1000px) {
  .ps-booklet-library__toolbar {
    align-items: flex-end;
  }

  .ps-booklet-library__toolbar-right {
    flex: 1;
    justify-content: flex-end;
  }

  .ps-booklet-library__grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {
  .ps-booklet-library__toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ps-booklet-library__toolbar-left,
  .ps-booklet-library__toolbar-right {
    width: 100%;
  }

  .ps-booklet-library__toolbar-left {
    display: grid;
    grid-template-columns:
      auto
      minmax(0, 1fr);
  }

  .ps-booklet-library__toolbar-right {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      auto;

    margin-left: 0;
  }

  .ps-booklet-library__select-wrap,
  .ps-booklet-library__select,
  .ps-booklet-library__search {
    width: 100%;
  }

  .ps-booklet-library__filter-panel {
    position: fixed;
    top: auto;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 99999;

    width: auto;
    max-height: calc(100vh - 2rem);

    overflow-y: auto;
  }

  .ps-booklet-library__grid {
    grid-template-columns: 1fr;
  }

  .ps-booklet-card {
    border-radius:
      var(--ps-radius-medium);
  }

  .ps-booklet-card__visual {
    min-height: 330px;
    padding: 1.75rem;
  }

  .ps-booklet-card__cover {
    width: min(68%, 220px);
  }

  .ps-booklet-card__body {
    padding: 1.3rem;
  }

  .ps-booklet-card__title {
    font-size: 1.3rem;
  }

  .ps-booklet-card__tags {
    gap: 0.4rem;
  }

  .ps-booklet-card__tag {
    min-height: 28px;
    padding: 0.3rem 0.6rem;
    font-size: 0.76rem;
  }
}


/* ----------------------------------------------------------
   SMALL MOBILE
   ---------------------------------------------------------- */

@media (max-width: 480px) {
  .ps-booklet-library__toolbar-right {
    grid-template-columns: 1fr;
  }

  .ps-booklet-library__filter-button {
    justify-content: center;
    width: 100%;
  }

  .ps-booklet-card__visual {
    min-height: 300px;
    padding: 1.35rem;
  }

  .ps-booklet-card__cover {
    width: min(72%, 205px);
  }

  .ps-booklet-card__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ps-booklet-card__actions
  .ps-button {
    width: 100%;
  }
}


/* ----------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------- */

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

  .ps-animations-ready
  .ps-booklet-library__toolbar,
  .ps-animations-ready
  .ps-booklet-card {
    opacity: 1;
    transform: none;
  }

  .ps-booklet-card__cover {
    transform: none;
  }
}
/* ----------------------------------------------------------
   21. READING TIP
   ---------------------------------------------------------- */

.ps-reading-tip {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background-color: var(--ps-white);
}

.ps-reading-tip__card {
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;

  padding: 1.65rem 1.9rem;

  background-color: #7ca7de10;
  border: 1px solid #c9d7f2;
  border-radius: 22px;
}

.ps-reading-tip__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  color: var(--ps-navy);
}

.ps-reading-tip__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.8;
}

.ps-reading-tip__content {
  max-width: 840px;
}

.ps-reading-tip__title {
  margin: 0 0 0.35rem;

  color: var(--ps-navy);
  font-family: var(--ps-font-family) !important;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.ps-reading-tip__lead {
  margin: 0 0 0.3rem;

  color: var(--ps-text);
  font-family: var(--ps-font-family) !important;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.ps-reading-tip__text {
  margin: 0;

  color: var(--ps-text);
  font-family: var(--ps-font-family) !important;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
}


/* Entrance animation */

.ps-animations-ready .ps-reading-tip__card {
  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.ps-reading-tip.is-visible .ps-reading-tip__card {
  opacity: 1;
  transform: translateY(0);
}


/* Mobile */

@media (max-width: 767px) {
  .ps-reading-tip {
    padding-top: 0.75rem;
    padding-bottom: 2.5rem;
  }

  .ps-reading-tip__card {
    gap: 1rem;
    padding: 1.35rem;

    border-radius: 18px;
  }

  .ps-reading-tip__icon {
    width: 34px;
    height: 34px;
  }

  .ps-reading-tip__title {
    font-size: 1.15rem;
  }

  .ps-reading-tip__lead,
  .ps-reading-tip__text {
    font-size: 1rem;
  }
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .ps-animations-ready .ps-reading-tip__card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----------------------------------------------------------
   22. RESOURCE HERO
   ---------------------------------------------------------- */

.ps-resource-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 330px;

  background-color: var(--ps-white);
}

.ps-resource-hero::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -1;

  background-image:
    url("https://pathsforhealing.org/wp-content/uploads/2026/08/Gradient-BG-2.png");

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  opacity: 0.35;

  pointer-events: none;
}

.ps-resource-hero__inner {
  display: flex;
  align-items: center;

  min-height: 330px;

  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(5.5rem, 8vw, 6.75rem);
}

.ps-resource-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);

  width: 100%;
}

.ps-resource-hero__copy {
  width: 100%;
  max-width: 760px;
}

.ps-resource-hero__title {
  margin: 0;

  color: var(--ps-navy);

  font-family: var(--ps-font-family) !important;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.ps-resource-hero__description {
  max-width: 720px;

  margin: clamp(1rem, 2vw, 1.4rem) 0 0;

  color: var(--ps-text);

  font-family: var(--ps-font-family) !important;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
}


/* ----------------------------------------------------------
   DURATION
   ---------------------------------------------------------- */

.ps-resource-hero__meta {
  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 150px;

  text-align: center;
}

.ps-resource-hero__duration {
  display: block;

  color: var(--ps-navy);

  font-family: var(--ps-font-family) !important;
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ps-resource-hero__meta-label {
  display: block;

  margin-top: 0.65rem;

  color: var(--ps-navy);

  font-family: var(--ps-font-family) !important;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  font-weight: 400;
  line-height: 1.3;
}


/* ----------------------------------------------------------
   BACK TAB
   ---------------------------------------------------------- */

.ps-resource-hero__back-tab {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;

  max-width: calc(100% - 1.25rem);

  padding: 1rem clamp(1.3rem, 3vw, 2.25rem);

  background-color: var(--ps-white);
  border-radius: 24px 0 0 0;
}

.ps-resource-hero__back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  color: var(--ps-text);

  font-family: var(--ps-font-family) !important;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}

.ps-resource-hero__back-link strong {
  color: var(--ps-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ps-resource-hero__back-link svg {
  flex: 0 0 auto;

  width: 18px;
  height: 18px;

  color: var(--ps-text);
  stroke-width: 1.8;
}

.ps-resource-hero__back-link:hover strong {
  color: var(--ps-navy);
}

.ps-resource-hero__back-link:focus-visible {
  outline: 3px solid var(--ps-focus);
  outline-offset: 4px;
  border-radius: 4px;
}


/* ----------------------------------------------------------
   ENTRANCE ANIMATION
   ---------------------------------------------------------- */

.ps-animations-ready
.ps-resource-hero__title,
.ps-animations-ready
.ps-resource-hero__description,
.ps-animations-ready
.ps-resource-hero__meta,
.ps-animations-ready
.ps-resource-hero__back-tab {
  opacity: 0;

  will-change: opacity, transform;
}

.ps-animations-ready
.ps-resource-hero__title {
  transform: translateY(24px);

  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.ps-animations-ready
.ps-resource-hero__description {
  transform: translateY(20px);

  transition:
    opacity 650ms ease 120ms,
    transform 650ms ease 120ms;
}

.ps-animations-ready
.ps-resource-hero__meta {
  transform: translateY(20px);

  transition:
    opacity 650ms ease 180ms,
    transform 650ms ease 180ms;
}

.ps-animations-ready
.ps-resource-hero__back-tab {
  transform: translateX(30px);

  transition:
    opacity 600ms ease 240ms,
    transform 600ms ease 240ms;
}

.ps-resource-hero.is-visible
.ps-resource-hero__title,
.ps-resource-hero.is-visible
.ps-resource-hero__description,
.ps-resource-hero.is-visible
.ps-resource-hero__meta,
.ps-resource-hero.is-visible
.ps-resource-hero__back-tab {
  opacity: 1;
  transform: translate(0);
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 900px) {
  .ps-resource-hero__content {
    gap: 3rem;
  }

  .ps-resource-hero__meta {
    min-width: 120px;
  }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {
  .ps-resource-hero {
    min-height: auto;
  }

  .ps-resource-hero__inner {
    min-height: 320px;

    padding-top: 2.75rem;
    padding-bottom: 6.5rem;
  }

  .ps-resource-hero__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ps-resource-hero__copy {
    max-width: none;
  }

  .ps-resource-hero__title {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .ps-resource-hero__description {
    font-size: 1.05rem;
  }

  .ps-resource-hero__meta {
    align-items: flex-start;

    min-width: 0;

    text-align: left;
  }

  .ps-resource-hero__duration {
    font-size: 2.65rem;
  }

  .ps-resource-hero__meta-label {
    margin-top: 0.4rem;

    font-size: 1rem;
  }

  .ps-resource-hero__back-tab {
    padding: 1rem 1.25rem;

    border-radius: 20px 0 0 0;
  }
}


/* ----------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ps-animations-ready
  .ps-resource-hero__title,
  .ps-animations-ready
  .ps-resource-hero__description,
  .ps-animations-ready
  .ps-resource-hero__meta,
  .ps-animations-ready
  .ps-resource-hero__back-tab {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ----------------------------------------------------------
   VIDEO RESOURCE — AUDIENCE
   ---------------------------------------------------------- */

.ps-resource-audience {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);

  background-color: var(--ps-white);
}

.ps-resource-audience__layout {
  display: grid;
  grid-template-columns:
    minmax(280px, 0.9fr)
    minmax(0, 1.5fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}


/* Heading */

.ps-resource-audience__heading-wrap {
  width: 100%;
}

.ps-resource-audience__heading {
  max-width: 600px;
  margin: 0;

  color: var(--ps-navy);
  font-family: var(--ps-font-family) !important;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}


/* Audience list */

.ps-resource-audience__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  margin: 0;
  padding: 0;

  list-style: none;
}

.ps-resource-audience__item {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;

  min-height: 210px;
  padding: 1.5rem;

  text-align: center;
}

.ps-resource-audience__item + 
.ps-resource-audience__item {
  border-left: 2px solid var(--ps-line-blue);
}


/* Icons */

.ps-resource-audience__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 66px;
  height: 66px;

  color: var(--ps-blue);
}

.ps-resource-audience__icon svg {
  display: block;

  width: 100%;
  height: 100%;

  stroke-width: 1.8;
}


/* Labels */

.ps-resource-audience__label {
  color: var(--ps-text);
  font-family: var(--ps-font-family) !important;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
}


/* ----------------------------------------------------------
   ENTRANCE ANIMATION
   ---------------------------------------------------------- */

.ps-animations-ready
.ps-resource-audience__heading,
.ps-animations-ready
.ps-resource-audience__item {
  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.ps-resource-audience.is-visible
.ps-resource-audience__heading,
.ps-resource-audience.is-visible
.ps-resource-audience__item {
  opacity: 1;
  transform: translateY(0);
}

.ps-resource-audience.is-visible
.ps-resource-audience__item:nth-child(1) {
  transition-delay: 100ms;
}

.ps-resource-audience.is-visible
.ps-resource-audience__item:nth-child(2) {
  transition-delay: 180ms;
}

.ps-resource-audience.is-visible
.ps-resource-audience__item:nth-child(3) {
  transition-delay: 260ms;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 950px) {
  .ps-resource-audience__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ps-resource-audience__heading {
    max-width: 700px;
  }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {
  .ps-resource-audience {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .ps-resource-audience__layout {
    gap: 2rem;
  }

  .ps-resource-audience__heading br {
    display: none;
  }

  .ps-resource-audience__list {
    grid-template-columns: 1fr;
  }

  .ps-resource-audience__item {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1.25rem;

    min-height: 0;
    padding: 1.4rem 0;

    text-align: left;
  }

  .ps-resource-audience__item +
  .ps-resource-audience__item {
    border-top: 2px solid var(--ps-line-blue);
    border-left: 0;
  }

  .ps-resource-audience__icon {
    flex: 0 0 auto;

    width: 48px;
    height: 48px;
  }

  .ps-resource-audience__label {
    font-size: 1.15rem;
  }

  .ps-resource-audience__label br {
    display: none;
  }
}


/* ----------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ps-animations-ready
  .ps-resource-audience__heading,
  .ps-animations-ready
  .ps-resource-audience__item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----------------------------------------------------------
   VIDEO RESOURCE — PLAYER
   ---------------------------------------------------------- */

.ps-resource-player {
  padding-top: 0;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background-color: var(--ps-white);
}


/* ----------------------------------------------------------
   VIDEO FRAME
   ---------------------------------------------------------- */

.ps-resource-player__frame {
  position: relative;
  overflow: hidden;

  width: 100%;
  aspect-ratio: 16 / 9;

  background-color: var(--ps-navy);
  border-radius: clamp(22px, 3vw, 36px);

  box-shadow:
    0 12px 34px rgba(8, 43, 111, 0.09);
}

.ps-resource-player__iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
}


/* ----------------------------------------------------------
   PLAYER FOOTER
   ---------------------------------------------------------- */

.ps-resource-player__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;

  padding: 1.5rem 0 0;
}

.ps-resource-player__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.ps-resource-player__buttons .ps-button {
  min-height: 50px;
  padding: 0.8rem 1.25rem;
  font-size: 0.95rem;
}

.ps-resource-player__buttons svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}


/* ----------------------------------------------------------
   PLAYER META
   ---------------------------------------------------------- */

.ps-resource-player__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;

  color: var(--ps-text);
  font-family: var(--ps-font-family) !important;
  font-size: 0.95rem;
  line-height: 1.4;
}

.ps-resource-player__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  padding: 0.4rem 0;

  color: var(--ps-blue);
  background: transparent;
  border: 0;

  font-family: var(--ps-font-family) !important;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;

  cursor: pointer;
}

.ps-resource-player__copy:hover {
  color: var(--ps-navy);
}

.ps-resource-player__copy svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.ps-resource-player__separator {
  width: 1px;
  height: 20px;

  background-color: var(--ps-line-blue);
}

.ps-resource-player__published {
  margin: 0;
}

.ps-resource-player__published time {
  font-weight: 700;
}


/* ----------------------------------------------------------
   FOCUS STATES
   ---------------------------------------------------------- */

.ps-resource-player__copy:focus-visible {
  outline: 3px solid var(--ps-focus);
  outline-offset: 4px;
  border-radius: 4px;
}


/* ----------------------------------------------------------
   ENTRANCE ANIMATION
   ---------------------------------------------------------- */

.ps-animations-ready
.ps-resource-player__frame,
.ps-animations-ready
.ps-resource-player__buttons,
.ps-animations-ready
.ps-resource-player__meta {
  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.ps-resource-player.is-visible
.ps-resource-player__frame,
.ps-resource-player.is-visible
.ps-resource-player__buttons,
.ps-resource-player.is-visible
.ps-resource-player__meta {
  opacity: 1;
  transform: translateY(0);
}

.ps-resource-player.is-visible
.ps-resource-player__buttons {
  transition-delay: 120ms;
}

.ps-resource-player.is-visible
.ps-resource-player__meta {
  transition-delay: 220ms;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 900px) {
  .ps-resource-player__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .ps-resource-player__meta {
    justify-content: flex-start;
  }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {
  .ps-resource-player {
    padding-bottom: 3rem;
  }

  .ps-resource-player__frame {
    border-radius: var(--ps-radius-medium);
  }

  .ps-resource-player__footer {
    gap: 1.25rem;
    padding-top: 1.25rem;
  }

  .ps-resource-player__buttons {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .ps-resource-player__buttons .ps-button {
    width: 100%;
  }

  .ps-resource-player__meta {
    gap: 0.6rem;
    font-size: 0.9rem;
  }
}


/* ----------------------------------------------------------
   SMALL MOBILE
   ---------------------------------------------------------- */

@media (max-width: 480px) {
  .ps-resource-player__meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .ps-resource-player__separator {
    display: none;
  }
}


/* ----------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ps-animations-ready
  .ps-resource-player__frame,
  .ps-animations-ready
  .ps-resource-player__buttons,
  .ps-animations-ready
  .ps-resource-player__meta {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----------------------------------------------------------
   23. ACCESSIBILITY NOTES
   ---------------------------------------------------------- */

.ps-accessibility-notes {
  padding-top: 0;
  padding-bottom: clamp(3rem, 6vw, 5rem);

  background-color: var(--ps-white);
}

.ps-accessibility-notes__accordion {
  border-top: 1px solid rgba(17, 17, 17, 0.24);
  border-bottom: 1px solid rgba(17, 17, 17, 0.24);
}


/* ----------------------------------------------------------
   TOGGLE
   ---------------------------------------------------------- */

.ps-accessibility-notes__heading {
  margin: 0;
}

.ps-accessibility-notes__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  width: 100%;
  min-height: 118px;
  padding: 1.75rem 0;

  color: var(--ps-text);
  background: transparent;
  border: 0;

  font-family: var(--ps-font-family) !important;
  text-align: left;

  cursor: pointer;
}

.ps-accessibility-notes__label {
  color: var(--ps-text);

  font-family: var(--ps-font-family) !important;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.ps-accessibility-notes__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  color: var(--ps-text);

  transition:
    color var(--ps-transition),
    transform 240ms ease;
}

.ps-accessibility-notes__icon svg {
  width: 38px;
  height: 38px;
  stroke-width: 2.5;
}

.ps-accessibility-notes__toggle:hover
.ps-accessibility-notes__icon {
  color: var(--ps-blue);
}

.ps-accessibility-notes__toggle:focus-visible {
  position: relative;
  z-index: 2;

  outline: 3px solid var(--ps-focus);
  outline-offset: 5px;
}


/* ----------------------------------------------------------
   PANEL
   ---------------------------------------------------------- */

.ps-accessibility-notes__panel[hidden] {
  display: none;
}

.ps-accessibility-notes__panel {
  border-top: 1px solid var(--ps-line-blue);
}

.ps-accessibility-notes__content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);

  padding:
    clamp(2rem, 4vw, 3rem)
    0
    clamp(2.5rem, 5vw, 4rem);
}


/* ----------------------------------------------------------
   NOTE ITEMS
   ---------------------------------------------------------- */

.ps-accessibility-notes__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}

.ps-accessibility-notes__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  color: var(--ps-blue);
}

.ps-accessibility-notes__item-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.8;
}

.ps-accessibility-notes__item-title {
  margin: 0 0 0.5rem;

  color: var(--ps-navy);

  font-family: var(--ps-font-family) !important;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.ps-accessibility-notes__item-text {
  margin: 0;

  color: var(--ps-text);

  font-family: var(--ps-font-family) !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
}

.ps-accessibility-notes__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  margin-top: 0.85rem;

  color: var(--ps-blue);

  font-family: var(--ps-font-family) !important;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.ps-accessibility-notes__link:hover {
  color: var(--ps-navy);
}

.ps-accessibility-notes__link svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}


/* ----------------------------------------------------------
   OPEN ANIMATION
   ---------------------------------------------------------- */

.ps-accessibility-notes__panel:not([hidden])
.ps-accessibility-notes__content {
  animation:
    ps-accessibility-panel-in
    360ms ease both;
}

@keyframes ps-accessibility-panel-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ----------------------------------------------------------
   SECTION ENTRANCE ANIMATION
   ---------------------------------------------------------- */

.ps-animations-ready
.ps-accessibility-notes__accordion {
  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.ps-accessibility-notes.is-visible
.ps-accessibility-notes__accordion {
  opacity: 1;
  transform: translateY(0);
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 900px) {
  .ps-accessibility-notes__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {
  .ps-accessibility-notes {
    padding-bottom: 3rem;
  }

  .ps-accessibility-notes__toggle {
    min-height: 96px;
    gap: 1rem;
    padding: 1.4rem 0;
  }

  .ps-accessibility-notes__label {
    font-size: 1.55rem;
  }

  .ps-accessibility-notes__icon {
    width: 38px;
    height: 38px;
  }

  .ps-accessibility-notes__icon svg {
    width: 30px;
    height: 30px;
  }

  .ps-accessibility-notes__content {
    padding-top: 1.75rem;
    padding-bottom: 2.25rem;
  }

  .ps-accessibility-notes__item {
    gap: 0.85rem;
  }

  .ps-accessibility-notes__item-icon {
    width: 36px;
    height: 36px;
  }

  .ps-accessibility-notes__item-icon svg {
    width: 26px;
    height: 26px;
  }
}


/* ----------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ps-accessibility-notes__icon {
    transition: none;
  }

  .ps-accessibility-notes__panel:not([hidden])
  .ps-accessibility-notes__content {
    animation: none;
  }

  .ps-animations-ready
  .ps-accessibility-notes__accordion {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----------------------------------------------------------
   VIDEO RESOURCE — COMPANION BOOKLET
   ---------------------------------------------------------- */

.ps-resource-companion {
  padding-top: 0;
  padding-bottom: clamp(4rem, 8vw, 7rem);

  background-color: var(--ps-white);
}


/* ----------------------------------------------------------
   COMPANION CARD
   ---------------------------------------------------------- */

.ps-resource-companion__card {
  position: relative;

  display: block;
  overflow: hidden;

  width: 100%;
  min-height: clamp(360px, 42vw, 590px);

  color: var(--ps-white);
  background-color: var(--ps-navy);
  border-radius: clamp(24px, 3vw, 40px);

  text-decoration: none;

  box-shadow:
    0 12px 34px rgba(8,43,111,.09);

  transition:
    box-shadow 300ms ease;
}


/* ----------------------------------------------------------
   IMAGE
   ---------------------------------------------------------- */

.ps-resource-companion__image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition:
    transform 600ms ease;
}


/* ----------------------------------------------------------
   OVERLAY
   ---------------------------------------------------------- */

.ps-resource-companion__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(8,18,35,.72) 0%,
      rgba(8,18,35,.34) 50%,
      rgba(8,18,35,.54) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8,18,35,.04) 35%,
      rgba(8,18,35,.78) 100%
    );

  pointer-events: none;
}


/* ----------------------------------------------------------
   CONTENT
   ---------------------------------------------------------- */

.ps-resource-companion__content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;

  padding: clamp(2rem,5vw,4.5rem);
}

.ps-resource-companion__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  max-width: 70%;
}


/* ----------------------------------------------------------
   GLASS PILL
   ---------------------------------------------------------- */

.ps-resource-companion__pill {
  display: inline-flex;
  align-items: center;
  gap: .65rem;

  margin-bottom: 1.4rem;

  padding: .7rem 1rem;

  color: #fff;

  background: rgba(255,255,255,.16);

  border: 1px solid rgba(255,255,255,.22);

  border-radius: 999px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  font-family: var(--ps-font-family) !important;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
}

.ps-resource-companion__pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 18px;
  height: 18px;
}

.ps-resource-companion__pill-icon svg {
  width: 100%;
  height: 100%;

  stroke-width: 2;
}


/* ----------------------------------------------------------
   TITLE
   ---------------------------------------------------------- */

.ps-resource-companion__title {
  color: #fff;

  font-family: var(--ps-font-family) !important;
  font-size: clamp(2rem,4.4vw,4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}


/* ----------------------------------------------------------
   VIEW RESOURCE
   ---------------------------------------------------------- */

.ps-resource-companion__link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .75rem;

  padding-bottom: .2rem;

  color: #fff;

  border-bottom: 2px solid currentColor;

  font-family: var(--ps-font-family) !important;
  font-size: clamp(1.2rem,2.3vw,2rem);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;

  transition:
    gap .25s ease;
}

.ps-resource-companion__link svg {
  width: 1.15em;
  height: 1.15em;

  stroke-width: 1.8;

  transition:
    transform .25s ease;
}


/* ----------------------------------------------------------
   HOVER
   ---------------------------------------------------------- */

@media (hover:hover) and (pointer:fine){

  .ps-resource-companion__card:hover{
    box-shadow:
      0 20px 48px rgba(8,43,111,.16);
  }

  .ps-resource-companion__card:hover
  .ps-resource-companion__image{
    transform:scale(1.025);
  }

  .ps-resource-companion__card:hover
  .ps-resource-companion__link{
    gap:1rem;
  }

  .ps-resource-companion__card:hover
  .ps-resource-companion__link svg{
    transform:translate(3px,-3px);
  }

}


/* ----------------------------------------------------------
   FOCUS
   ---------------------------------------------------------- */

.ps-resource-companion__card:focus-visible{
  outline:4px solid var(--ps-focus);
  outline-offset:5px;
}


/* ----------------------------------------------------------
   ENTRANCE ANIMATION
   ---------------------------------------------------------- */

.ps-animations-ready
.ps-resource-companion__card{
  opacity:0;
  transform:translateY(28px) scale(.99);

  transition:
    opacity .7s ease,
    transform .7s ease;
}

.ps-resource-companion.is-visible
.ps-resource-companion__card{
  opacity:1;
  transform:translateY(0) scale(1);
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width:767px){

  .ps-resource-companion{
    padding-bottom:4rem;
  }

  .ps-resource-companion__card{
    min-height:430px;
    border-radius:var(--ps-radius-medium);
  }

  .ps-resource-companion__content{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-end;
    gap:1.75rem;

    padding:1.75rem;
  }

  .ps-resource-companion__details{
    max-width:100%;
  }

  .ps-resource-companion__pill{
    margin-bottom:1rem;
    padding:.65rem .9rem;
    font-size:.9rem;
  }

  .ps-resource-companion__title{
    font-size:clamp(1.8rem,8vw,2.6rem);
  }

  .ps-resource-companion__link{
    font-size:1.15rem;
  }

}


/* ----------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------- */

@media (prefers-reduced-motion:reduce){

  .ps-resource-companion__card,
  .ps-resource-companion__image,
  .ps-resource-companion__link,
  .ps-resource-companion__link svg{
    transition:none;
  }

  .ps-resource-companion__card:hover
  .ps-resource-companion__image,
  .ps-resource-companion__card:hover
  .ps-resource-companion__link svg{
    transform:none;
  }

  .ps-animations-ready
  .ps-resource-companion__card{
    opacity:1;
    transform:none;
    transition:none;
  }

}

/* ----------------------------------------------------------
   23. SUGGESTED VIDEOS
   ---------------------------------------------------------- */

.ps-suggested-videos {
  overflow: hidden;
  background-color: var(--ps-pale-blue);
}

.ps-suggested-videos__heading {
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.ps-suggested-videos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
}


/* ----------------------------------------------------------
   MINI VIDEO CARD
   ---------------------------------------------------------- */

.ps-suggested-video {
  display: flex;
  flex-direction: column;
  overflow: hidden;

  min-width: 0;

  color: var(--ps-text);
  background-color: var(--ps-white);
  border: 1px solid rgba(8, 43, 111, 0.06);
  border-radius: 24px;

  text-decoration: none;

  box-shadow:
    0 8px 26px rgba(8, 43, 111, 0.07);

  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}


/* ----------------------------------------------------------
   THUMBNAIL
   ---------------------------------------------------------- */

.ps-suggested-video__media {
  position: relative;
  overflow: hidden;

  aspect-ratio: 16 / 9;

  background-color: var(--ps-navy);
}

.ps-suggested-video__image {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 500ms ease;
}

.ps-suggested-video__media::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      180deg,
      rgba(8, 43, 111, 0.02),
      rgba(8, 43, 111, 0.2)
    );

  pointer-events: none;
}


/* ----------------------------------------------------------
   PLAY BUTTON
   ---------------------------------------------------------- */

.ps-suggested-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: clamp(54px, 5vw, 68px);
  height: clamp(54px, 5vw, 68px);

  color: var(--ps-white);
  background-color: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;

  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);

  transform: translate(-50%, -50%);

  transition:
    background-color 200ms ease,
    transform 200ms ease;
}

.ps-suggested-video__play svg {
  width: 34%;
  height: 34%;

  fill: var(--ps-white);
  stroke: var(--ps-white);
  stroke-width: 2.4;

  transform: translateX(2px);

  transition:
    fill 200ms ease,
    stroke 200ms ease;
}


/* ----------------------------------------------------------
   DURATION
   ---------------------------------------------------------- */

.ps-suggested-video__duration {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;

  padding: 0.3rem 0.55rem;

  color: var(--ps-white);
  background-color: rgba(17, 17, 17, 0.72);
  border-radius: 7px;

  font-family: var(--ps-font-family) !important;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;

  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}


/* ----------------------------------------------------------
   CARD BODY
   ---------------------------------------------------------- */

.ps-suggested-video__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;

  min-height: 92px;
  padding: 1.25rem 1.35rem;
}

.ps-suggested-video__title {
  margin: 0;

  color: var(--ps-blue);
  font-family: var(--ps-font-family) !important;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.ps-suggested-video__arrow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  color: var(--ps-blue);
  background-color: var(--ps-pale-blue);
  border-radius: 50%;

  transition:
    color 200ms ease,
    background-color 200ms ease,
    transform 200ms ease;
}

.ps-suggested-video__arrow svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}


/* ----------------------------------------------------------
   HOVER
   ---------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {
  .ps-suggested-video:hover {
    border-color: rgba(41, 58, 135, 0.14);

    transform: translateY(-4px);

    box-shadow:
      0 18px 40px rgba(8, 43, 111, 0.12);
  }

  .ps-suggested-video:hover
  .ps-suggested-video__image {
    transform: scale(1.035);
  }

  .ps-suggested-video:hover
  .ps-suggested-video__play {
    background-color: rgba(255, 255, 255, 0.92);

    transform:
      translate(-50%, -50%)
      scale(1.05);
  }

  .ps-suggested-video:hover
  .ps-suggested-video__play svg {
    fill: var(--ps-blue);
    stroke: var(--ps-blue);
  }

  .ps-suggested-video:hover
  .ps-suggested-video__arrow {
    color: var(--ps-white);
    background-color: var(--ps-blue);

    transform: translateX(3px);
  }
}


/* ----------------------------------------------------------
   FOCUS
   ---------------------------------------------------------- */

.ps-suggested-video:focus-visible {
  outline: 4px solid var(--ps-focus);
  outline-offset: 5px;
}


/* ----------------------------------------------------------
   ENTRANCE ANIMATION
   ---------------------------------------------------------- */

.ps-animations-ready
.ps-suggested-videos__heading,
.ps-animations-ready
.ps-suggested-video {
  opacity: 0;
  transform: translateY(24px);

  will-change: opacity, transform;

  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.ps-suggested-videos.is-visible
.ps-suggested-videos__heading,
.ps-suggested-videos.is-visible
.ps-suggested-video {
  opacity: 1;
  transform: translateY(0);
}

.ps-suggested-videos.is-visible
.ps-suggested-video:nth-child(1) {
  transition-delay: 100ms;
}

.ps-suggested-videos.is-visible
.ps-suggested-video:nth-child(2) {
  transition-delay: 180ms;
}

.ps-suggested-videos.is-visible
.ps-suggested-video:nth-child(3) {
  transition-delay: 260ms;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 1000px) {
  .ps-suggested-videos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {
  .ps-suggested-videos__heading {
    margin-bottom: 2rem;
    text-align: left;
  }

  .ps-suggested-videos__grid {
    grid-template-columns: 1fr;
  }

  .ps-suggested-video {
    border-radius: var(--ps-radius-medium);
  }

  .ps-suggested-video__body {
    min-height: 84px;
    padding: 1.15rem 1.25rem;
  }

  .ps-suggested-video__title {
    font-size: 1.2rem;
  }
}


/* ----------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ps-suggested-video,
  .ps-suggested-video__image,
  .ps-suggested-video__play,
  .ps-suggested-video__play svg,
  .ps-suggested-video__arrow {
    transition: none;
  }

  .ps-suggested-video:hover,
  .ps-suggested-video:hover
  .ps-suggested-video__image,
  .ps-suggested-video:hover
  .ps-suggested-video__play,
  .ps-suggested-video:hover
  .ps-suggested-video__arrow {
    transform: none;
  }

  .ps-animations-ready
  .ps-suggested-videos__heading,
  .ps-animations-ready
  .ps-suggested-video {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----------------------------------------------------------
   BOOKLET LIGHTBOX
   ---------------------------------------------------------- */

body.ps-booklet-lightbox-open {
  overflow: hidden;
}

.ps-booklet-lightbox[hidden] {
  display: none;
}

.ps-booklet-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: clamp(1rem, 3vw, 2rem);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.ps-booklet-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}


/* Backdrop */

.ps-booklet-lightbox__backdrop {
  position: absolute;
  inset: 0;

  background:
    rgba(8, 18, 35, 0.78);

  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}


/* Dialog */

.ps-booklet-lightbox__dialog {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  width: min(1180px, 100%);
  height: min(90vh, 900px);

  overflow: hidden;

  background-color: var(--ps-white);
  border-radius: clamp(20px, 2vw, 28px);

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.28);

  transform: translateY(18px) scale(0.985);

  transition:
    transform 220ms ease;
}

.ps-booklet-lightbox.is-open
.ps-booklet-lightbox__dialog {
  transform: translateY(0) scale(1);
}


/* ----------------------------------------------------------
   LIGHTBOX TOOLBAR
   ---------------------------------------------------------- */

.ps-booklet-lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  padding: 1rem 1.1rem;

  background-color: var(--ps-white);
  border-bottom: 1px solid var(--ps-line-blue);
}

.ps-booklet-lightbox__download {
  min-height: 46px;
  padding: 0.7rem 1.1rem;

  font-size: 0.95rem;
}


/* Close */

.ps-booklet-lightbox__close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;
  padding: 0;

  color: var(--ps-navy);
  background-color: var(--ps-pale-blue);
  border: 0;
  border-radius: 50%;

  cursor: pointer;

  transition:
    color var(--ps-transition),
    background-color var(--ps-transition),
    transform var(--ps-transition);
}

.ps-booklet-lightbox__close svg {
  width: 22px;
  height: 22px;

  stroke-width: 2;
}

.ps-booklet-lightbox__close:hover {
  color: var(--ps-white);
  background-color: var(--ps-blue);

  transform: scale(1.04);
}

.ps-booklet-lightbox__close:focus-visible {
  outline: 3px solid var(--ps-focus);
  outline-offset: 3px;
}


/* ----------------------------------------------------------
   PDF VIEWER
   ---------------------------------------------------------- */

.ps-booklet-lightbox__viewer {
  flex: 1;

  min-height: 0;

  background-color: #eef1f6;
}

.ps-booklet-lightbox__iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {
  .ps-booklet-lightbox {
    padding: 0;
  }

  .ps-booklet-lightbox__dialog {
    width: 100%;
    height: 100%;

    border-radius: 0;
  }

  .ps-booklet-lightbox__toolbar {
    padding: 0.85rem 1rem;
  }

  .ps-booklet-lightbox__download {
    min-height: 44px;
    padding: 0.65rem 0.9rem;

    font-size: 0.9rem;
  }

  .ps-booklet-lightbox__close {
    width: 44px;
    height: 44px;
  }
}


/* ----------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ps-booklet-lightbox,
  .ps-booklet-lightbox__dialog,
  .ps-booklet-lightbox__close {
    transition: none;
  }

  .ps-booklet-lightbox__dialog {
    transform: none;
  }

  .ps-booklet-lightbox__close:hover {
    transform: none;
  }
}

/* ----------------------------------------------------------
   BOOKLET PREVIEW
---------------------------------------------------------- */

.ps-booklet-viewer__preview {
  display: block;

  width: 100%;
  max-width: 760px;

  margin: 0 auto 2.5rem;
  padding: 0;

  background: transparent;
  border: 0;

  border-radius: 24px;
  overflow: hidden;

  box-shadow:
    0 12px 32px rgba(0,32,91,.08),
    0 2px 8px rgba(0,32,91,.06);

  cursor: pointer;

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.ps-booklet-viewer__image {
  display: block;

  width: 100%;
  height: auto;
}

.ps-booklet-viewer__preview:hover {
  transform: translateY(-4px);

  box-shadow:
    0 20px 48px rgba(0,32,91,.12),
    0 8px 18px rgba(0,32,91,.08);
}

.ps-booklet-viewer__preview:focus-visible {
  outline: 3px solid var(--ps-focus);
  outline-offset: 6px;
}

.ps-resource-player__footer {
  display: flex;
  justify-content: center;
}

.ps-resource-player__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Entrance animation */

.ps-animations-ready
.ps-booklet-viewer__preview {
  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.ps-booklet-viewer.is-visible
.ps-booklet-viewer__preview {
  opacity: 1;
  transform: translateY(0);
}

.ps-booklet-viewer.is-visible
.ps-resource-player__buttons {
  transition-delay: 120ms;
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

  .ps-animations-ready
  .ps-booklet-viewer__preview {
    opacity: 1;
    transform: none;
    transition: none;
  }

}

/* ----------------------------------------------------------
   LIBRARY INFORMATION
---------------------------------------------------------- */

.ps-booklet-library__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;

  margin: 0 auto 2rem;
}

.ps-booklet-library__info-item {
  display: inline-flex;
  align-items: center;
  gap: .55rem;

  padding: .7rem 1rem;

  background: #fff;

  border: 1px solid var(--ps-line-blue);
  border-radius: 999px;

  color: var(--ps-text);

  font-family: var(--ps-font-family) !important;
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.35;

  box-shadow:
    0 6px 18px rgba(0, 32, 91, .05);
}

.ps-booklet-library__info-item svg {
  width: 18px;
  height: 18px;

  color: var(--ps-blue);

  flex-shrink: 0;
}

@media (max-width: 768px) {

  .ps-booklet-library__info {
    justify-content: flex-start;
  }

  .ps-booklet-library__info-item {
    width: 100%;
    justify-content: flex-start;
  }

}