
/* ==========================================================================
   PR Support Page (Scientific Evidence PR Support Page — Figma node 734:16)
   ========================================================================== */

html:has(body.pr-support-page) {
  scroll-behavior: smooth;
}

body.pr-support-page {
  margin: 0;
  font-family: var(--font-mont);
  color: var(--Pocari-Blue);
  background: #fff;
  line-height: normal;
}

body.pr-support-page .sab-page-password {
  max-width: 480px;
  margin: 80px auto;
  padding: 0 24px;
}

body.pr-support-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.pr-support-page .pr-support {
  overflow-x: hidden;
}

/* Header */
body.pr-support-page .pr-support__header-top {
  padding: 29px 120px 24px 188px;
  background: #fff;
}

body.pr-support-page .pr-support__logo-link {
  display: inline-block;
}

body.pr-support-page .pr-support__logo {
  width: 331px;
  height: auto;
}

body.pr-support-page .pr-support__nav {
  background: #274dac;
  padding: 16px 120px 11px 193px;
}

body.pr-support-page .pr-support__nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.pr-support-page .pr-support__nav-list a {
  color: #fff;
  font-family: var(--font-mont);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

body.pr-support-page .pr-support__nav-list a:hover {
  text-decoration: underline;
}

/* Hero */
body.pr-support-page .pr-support__hero {
  position: relative;
  height: 545px;
  min-height: 545px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

body.pr-support-page .pr-support__hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  z-index: 0;
}

body.pr-support-page .pr-support__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    282.94deg,
    rgba(215, 239, 253, 0.62) 5.59%,
    rgba(0, 133, 213, 0.62) 60.5%
  );
  pointer-events: none;
}

body.pr-support-page .pr-support__hero-inner {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 153px 145px 80px 185px;
  color: #fff;
}

body.pr-support-page .pr-support__hero-title {
  margin: 0 0 10px;
  max-width: 1065px;
  font-family: var(--font-mont);
  font-size: 48px;
  font-weight: 800;
  line-height: 61px;
}

body.pr-support-page .pr-support__hero-lead {
  margin: 0;
  max-width: 738px;
  font-family: var(--font-mont);
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
}

body.pr-support-page .pr-support__hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 72px;
  z-index: 3;
}

/* Intro */
body.pr-support-page .pr-support__intro {
  padding: 64px 120px;
  text-align: center;
  background: #fff;
}

body.pr-support-page .pr-support__intro-title {
  margin: 0 auto 14px;
  max-width: 910px;
  font-family: var(--font-mont);
  font-size: 40px;
  font-weight: 800;
  line-height: 51px;
  color: #274dac;
}

body.pr-support-page .pr-support__intro-text {
  margin: 0 auto;
  max-width: 1120px;
  font-family: var(--font-arial);
  font-size: 16px;
  line-height: 32px;
  color: #6b707f;
}

/* Resource blocks */
body.pr-support-page .pr-support__resource {
  display: grid;
  grid-template-columns: 41.6% 1fr;
  align-items: stretch;
  min-height: 420px;
}

body.pr-support-page .pr-support__resource--image-right {
  grid-template-columns: 1fr 42.6%;
}

body.pr-support-page .pr-support__resource--gray {
  background: #f2f4f7;
}

body.pr-support-page .pr-support__resource--blue {
  background: #ebf1fa;
}

body.pr-support-page .pr-support__resource--image-right.pr-support__resource--blue {
  position: relative;
  display: block;
  min-height: 514px;
  overflow: hidden;
}

body.pr-support-page .pr-support__resource--image-right.pr-support__resource--blue .pr-support__resource-content {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: calc(100% - 598px);
  max-width: 842px;
  min-height: 514px;
  padding: 52px 72px 52px 101px;
  background: #ebf1fa;
}

body.pr-support-page .pr-support__resource--image-right.pr-support__resource--blue .pr-support__resource-media {
  position: absolute;
  top: 0;
  right: -102px;
  bottom: 0;
  z-index: 0;
  width: 770px;
  height: auto;
  min-width: 0;
  overflow: hidden;
  background: #ebf1fa;
}

body.pr-support-page .pr-support__resource-media {
  overflow: hidden;
  min-width: 0;
}

body.pr-support-page .pr-support__resource-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
}

body.pr-support-page .pr-support__resource--image-right.pr-support__resource--blue .pr-support__resource-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none !important;
  object-fit: cover;
  object-position: left center;
}

body.pr-support-page .pr-support__resource-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 52px 72px;
}

body.pr-support-page .pr-support__resource--image-right .pr-support__resource-content {
  padding-left: 107px;
}

body.pr-support-page .pr-support__resource-chip {
  margin: 0;
  font-family: var(--font-mont);
  font-size: 16px;
  font-weight: 800;
  color: #0056a8;
  text-transform: uppercase;
}

body.pr-support-page .pr-support__resource--gray .pr-support__resource-chip {
  color: #274dac;
}

body.pr-support-page .pr-support__resource-title {
  margin: 0;
  font-family: var(--font-mont);
  font-size: 40px;
  font-weight: 800;
  line-height: 51px;
  color: #274dac;
}

body.pr-support-page .pr-support__resource--blue .pr-support__resource-title {
  color: #0056a8;
}

body.pr-support-page .pr-support__resource-desc {
  margin: 0;
  max-width: 708px;
  font-family: var(--font-arial);
  font-size: 16px;
  line-height: 32px;
  color: #6b707f;
}

body.pr-support-page .pr-support__resource-note {
  margin: 0;
  max-width: 708px;
  font-family: var(--font-arial);
  font-size: 16px;
  font-weight: 700;
  line-height: 32px;
  color: rgba(39, 77, 172, 1);
  text-transform: uppercase;
}

body.pr-support-page .pr-support__resource-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 16px 36px;
  background: #007dc4;
  color: #fff;
  font-family: var(--font-mont);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

/* Download sections: body→button spacing matches title→body (18px + flex gap 18px).
   EDUCATION PROGRAM has .note between desc and button, so this does not apply. */
body.pr-support-page .pr-support__resource-desc + .pr-support__resource-btn {
  margin-top: 18px;
}

body.pr-support-page .pr-support__resource-btn:hover {
  background: #006aad;
  color: #fff;
}

body.pr-support-page .pr-support__resource-btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Footer */
body.pr-support-page .pr-support__footer {
  background: #274dac;
  padding: 92px 120px 80px 189px;
  color: #fff;
}

body.pr-support-page .pr-support__footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  justify-content: space-between;
  max-width: 1200px;
}

body.pr-support-page .pr-support__footer-brand {
  max-width: 410px;
}

body.pr-support-page .pr-support__footer-logo {
  width: 384px;
  max-width: 100%;
  height: auto;
  margin-bottom: 19px;
}

body.pr-support-page .pr-support__footer-tagline {
  margin: 0;
  font-family: var(--font-arial);
  font-size: 16px;
  line-height: 32px;
}

body.pr-support-page .pr-support__footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
}

body.pr-support-page .pr-support__footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 195px;
}

body.pr-support-page .pr-support__footer-col b {
  margin-bottom: 18px;
  font-family: var(--font-arial);
  font-size: 16px;
  font-weight: 700;
  line-height: 32px;
}

body.pr-support-page .pr-support__footer-col a {
  color: #fff;
  font-family: var(--font-arial);
  font-size: 16px;
  line-height: 32px;
  text-decoration: none;
}

body.pr-support-page .pr-support__footer-col a:hover {
  text-decoration: underline;
}

/* Tablet */
@media (max-width: 1024px) {
  body.pr-support-page .pr-support__header-top {
    padding: 24px 40px;
  }

  body.pr-support-page .pr-support__nav {
    padding: 14px 40px;
  }

  body.pr-support-page .pr-support__hero {
    height: auto;
    min-height: 420px;
  }

  body.pr-support-page .pr-support__hero-inner {
    padding: 100px clamp(48px, calc((100vw - 674px) / 2), 80px);
  }

  body.pr-support-page .pr-support__hero-title {
    font-size: 36px;
  }

  body.pr-support-page .pr-support__intro {
    padding: 48px clamp(48px, calc((100vw - 674px) / 2), 80px);
  }

  body.pr-support-page .pr-support__intro-title {
    font-size: 32px;
  }

  body.pr-support-page .pr-support__hero-lead,
  body.pr-support-page .pr-support__intro-text {
    font-size: 18px;
  }

  /* Resource cards: image-left / text-right for ALL cards (compact thumbnail) */
  body.pr-support-page .pr-support__resource,
  body.pr-support-page .pr-support__resource--image-right,
  body.pr-support-page .pr-support__resource--image-right.pr-support__resource--blue {
    display: grid;
    grid-template-columns: 35% 1fr;
    align-items: stretch;
    min-height: 0;
    position: relative;
  }

  /* Force the image into the left column, even for image-right / blue cards */
  body.pr-support-page .pr-support__resource-media,
  body.pr-support-page .pr-support__resource--image-right .pr-support__resource-media,
  body.pr-support-page .pr-support__resource--image-right.pr-support__resource--blue .pr-support__resource-media {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  body.pr-support-page .pr-support__resource-media img,
  body.pr-support-page .pr-support__resource--image-right.pr-support__resource--blue .pr-support__resource-media img {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Text always in the right column */
  body.pr-support-page .pr-support__resource-content,
  body.pr-support-page .pr-support__resource--image-right .pr-support__resource-content,
  body.pr-support-page .pr-support__resource--image-right.pr-support__resource--blue .pr-support__resource-content {
    grid-column: 2;
    grid-row: 1;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 0;
    gap: 12px;
    padding: 32px 40px 32px 32px;
    background: transparent;
  }

  body.pr-support-page .pr-support__resource--image-right.pr-support__resource--blue .pr-support__resource-content {
    background: #ebf1fa;
  }

  body.pr-support-page .pr-support__resource-title {
    font-size: 30px;
    line-height: 38px;
  }

  body.pr-support-page .pr-support__resource-chip {
    font-size: 16px;
  }

  body.pr-support-page .pr-support__resource-desc {
    font-size: 18px;
    line-height: 30px;
  }

  body.pr-support-page .pr-support__resource-note {
    font-size: 16px;
    line-height: 28px;
  }

  body.pr-support-page .pr-support__resource-btn {
    padding: 14px 32px;
    font-size: 16px;
  }

  body.pr-support-page .pr-support__footer {
    padding: 60px 40px;
  }
}

/* Mobile — PR Support page 1 (hero + intro) from Figma
   Scoped to ≤767px so tablet/desktop stay unchanged.
   Header/footer chrome: shared LP (ignore Figma chrome). */
@media (max-width: 767px) {
  /* Kill the slight right gutter / overflow scroll */
  html:has(body.pr-support-page),
  body.pr-support-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body.pr-support-page .launch-page-main,
  body.pr-support-page .frame-parent,
  body.pr-support-page .pr-support {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  /* Remove white strip under the footer */
  body.pr-support-page .frame-parent {
    padding: 0 !important;
    padding-bottom: 0 !important;
  }

  body.pr-support-page .footer {
    width: 100%;
    max-width: 100%;
    margin: 0;
    margin-bottom: 0;
    padding-bottom: 48px;
    box-sizing: border-box;
  }

  body.pr-support-page .pr-support__hero {
    height: auto;
    min-height: 420px;
    align-items: center;
    overflow: hidden;
  }

  body.pr-support-page .pr-support__hero-bg {
    object-position: center 40%;
  }

  /* Figma: hero copy block is centered; text inside is left-aligned */
  body.pr-support-page .pr-support__hero-inner {
    max-width: none;
    margin: 0;
    padding: 64px 20px 72px;
    text-align: left;
  }

  body.pr-support-page .pr-support__hero-title {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 16px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
  }

  body.pr-support-page .pr-support__hero-lead {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
  }

  /* Figma: straight edge into intro — no wave on mobile */
  body.pr-support-page .pr-support__hero-wave {
    display: none;
  }

  /* Intro — centered on light blue-gray */
  body.pr-support-page .pr-support__intro {
    padding: 48px 20px 56px;
    text-align: center;
    background: #ebf1fa;
  }

  body.pr-support-page .pr-support__intro-title {
    max-width: none;
    margin: 0 auto 20px;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.3;
    color: #274dac;
    text-align: center;
  }

  body.pr-support-page .pr-support__intro-text {
    max-width: none;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.6;
    color: #6b707f;
    text-align: center;
  }

  /* Resource cards — image full-bleed on top, text below */
  body.pr-support-page .pr-support__resource,
  body.pr-support-page .pr-support__resource--image-right,
  body.pr-support-page .pr-support__resource--image-right.pr-support__resource--blue {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: stretch;
    min-height: 0;
    position: relative;
    overflow: visible;
  }

  body.pr-support-page .pr-support__resource--gray {
    background: #f2f4f7;
  }

  body.pr-support-page .pr-support__resource--blue {
    background: #ebf1fa;
  }

  body.pr-support-page .pr-support__resource-media,
  body.pr-support-page .pr-support__resource--image-right .pr-support__resource-media,
  body.pr-support-page .pr-support__resource--image-right.pr-support__resource--blue .pr-support__resource-media {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 393 / 240;
    overflow: hidden;
  }

  body.pr-support-page .pr-support__resource-media img,
  body.pr-support-page .pr-support__resource--image-right.pr-support__resource--blue .pr-support__resource-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }

  body.pr-support-page .pr-support__resource-content,
  body.pr-support-page .pr-support__resource--image-right .pr-support__resource-content,
  body.pr-support-page .pr-support__resource--image-right.pr-support__resource--blue .pr-support__resource-content {
    grid-column: 1;
    grid-row: 2;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 0;
    gap: 14px;
    padding: 40px 26px 48px;
    background: transparent;
  }

  body.pr-support-page .pr-support__resource--image-right.pr-support__resource--blue .pr-support__resource-content {
    background: transparent;
  }

  body.pr-support-page .pr-support__resource-chip {
    font-size: 13px;
    letter-spacing: 0.02em;
  }

  body.pr-support-page .pr-support__resource-title {
    font-size: 25px;
    line-height: 1.25;
  }

  body.pr-support-page .pr-support__resource-desc {
    max-width: none;
    font-size: 15px;
    line-height: 1.6;
  }

  body.pr-support-page .pr-support__resource-note {
    max-width: none;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.5;
  }

  body.pr-support-page .pr-support__resource-btn {
    align-self: flex-start;
    margin-top: 8px;
    padding: 10px 24px;
    min-height: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  /* PDF card1: desc→button spacing without a note */
  body.pr-support-page .pr-support__resource--white .pr-support__resource-desc + .pr-support__resource-btn,
  body.pr-support-page .pr-support__resource--gray .pr-support__resource-desc + .pr-support__resource-btn {
    margin-top: 10px;
  }
}
