/* FLAURA2 5-Year OS — Day 0 splash (flaura-splash.css) — US-118780
   Built from the Figma "Tagrisso 5-Year Splash Page": Desktop 1440 (>= 992px) and Mobile 390 (<= 991px).
   Every selector is scoped to the splash id (#flaura-os-splash). The modal shell rules use
   .modal:has(#flaura-os-splash), so they only apply to the popup that contains this splash: other
   modals (exit ramp, contact us, videos) and the self-certification popup on other pages are not affected.
   Images (logo, banner, labels, icons) are the Figma SVGs in the DAM folder flaura_os_splash-page/ (img in the HTML);
   decorative corners / accents / close X are CSS backgrounds from the same folder.
   Hero scale: --u = 1px at 1440 / 390 and above; below that the hero scales down with the width. */

/* ---------- self-certification modal shell (splash renders inside it on home) ---------- */
.modal:has(#flaura-os-splash) .modal-dialog {
  box-sizing: border-box;
  top: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-shadow: none;
}

.modal:has(#flaura-os-splash) .modal-body {
  padding: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.modal:has(#flaura-os-splash) .modal-content {
  position: relative;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* the modal header text ("Welcome to the AstraZeneca Medicines Site") is not part of the design */
.modal:has(#flaura-os-splash) .modal-header {
  display: none !important;
}

.modal:has(#flaura-os-splash) .modal-footer.self-certification-modal-footer {
  margin: 0;
  padding: 0;
  border: 0;
}

/* the self-certify button is the splash close (X) of the design */
.modal:has(#flaura-os-splash) button.btn.btn-primary.self-certify-yes.submit-btn {
  position: absolute;
  z-index: 10003;
  top: 38.67px;
  right: 39.33px;
  display: block;
  width: 48px;
  min-width: 0;
  max-width: none;
  height: 48px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  appearance: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.modal:has(#flaura-os-splash) button.btn.btn-primary.self-certify-yes.submit-btn span,
.modal:has(#flaura-os-splash) button.btn.btn-primary.self-certify-yes.submit-btn::before {
  display: none;
  content: none;
}

.modal:has(#flaura-os-splash) button.btn.btn-primary.self-certify-yes.submit-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 27.555px;
  height: 27.562px;
  margin: -13.78px 0 0 -13.78px;
  background: url("/content/dam/open-digital/tagrisso-hcp/us/en/flaura_os_splash-page/flaura-close.svg") 0 0 / 100% 100% no-repeat;
}

/* hide the modal's loading placeholders ("Validating..." and the htmlAsset "Loading......") */
.modal:has(#flaura-os-splash) .hcp-validation-loading,
.modal:has(#flaura-os-splash) .self-certify-blur.modal-blur,
.modal:has(#flaura-os-splash) .html-asset-inner .text-center {
  display: none !important;
}

/* opaque backdrop only while the splash popup is shown (:where keeps specificity 0,1,0) */
:where(body:has(.modal[style*="display: block"] #flaura-os-splash)) > .modal-backdrop {
  background-color: #e0e0e0;
  opacity: 1;
}

body.self-certiy-open .modal:has(#flaura-os-splash) {
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #e0e0e0;
}

/* Bootstrap adds an inline padding-left/right (scrollbar width) to the modal when the splash is taller than the screen */
.modal:has(#flaura-os-splash) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ---------- splash ---------- */
#flaura-os-splash.flaura-os-splash {
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  /*min-height: max-content;*/
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
}

#flaura-os-splash.flaura-os-splash,
#flaura-os-splash.flaura-os-splash *,
#flaura-os-splash.flaura-os-splash *::before,
#flaura-os-splash.flaura-os-splash *::after {
  box-sizing: border-box;
}

#flaura-os-splash.flaura-os-splash :where(p, h1, h2, h3, ul) {
  margin: 0;
  padding: 0;
}

#flaura-os-splash.flaura-os-splash img {
  display: block;
  max-width: none;
}

/* ---------- header ---------- */
#flaura-os-splash.flaura-os-splash .flaura-header {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  display: block;
  height: 132px;
  padding: 0;
  background: #ffffff;
  box-shadow: 0 4px 10px 6px rgba(0, 89, 94, 0.25);
}

#flaura-os-splash.flaura-os-splash .flaura-logo {
  position: absolute;
  left: 66.714px;
  top: 40px;
  width: 267px;
  height: 56px;
}

#flaura-os-splash.flaura-os-splash .flaura-logo a,
#flaura-os-splash.flaura-os-splash .flaura-logo img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- hero ---------- */
#flaura-os-splash.flaura-os-splash .flaura-hero {
  --u: 1px;
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  min-height: calc(695 * var(--u));
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: linear-gradient(180deg, #008c94 calc(69.56 * var(--u)), #0b5257 calc(648.69 * var(--u)));
}

@supports (width: 1cqw) {
  #flaura-os-splash.flaura-os-splash .flaura-hero {
    --u: min(1px, calc(100cqw / 1425));
    /* 1:1 from 1425px of content (1440 minus a 15px scrollbar) */
  }
}

/* purple corner (top left) and teal corner (bottom right) */
#flaura-os-splash.flaura-os-splash .flaura-hero::before,
#flaura-os-splash.flaura-os-splash .flaura-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  background-repeat: no-repeat;
}

#flaura-os-splash.flaura-os-splash .flaura-hero::before {
  left: 0;
  top: calc(-1 * var(--u));
  width: calc(162 * var(--u));
  height: calc(224.486 * var(--u));
  background-image: url("/content/dam/open-digital/tagrisso-hcp/us/en/flaura_os_splash-page/flaura-corner-top-left.svg");
  background-size: calc(223.528 * var(--u)) calc(282.343 * var(--u));
  background-position: calc(-62.49 * var(--u)) calc(-57.86 * var(--u));
}

#flaura-os-splash.flaura-os-splash .flaura-hero::after {
  right: calc(0.263 * var(--u));
  bottom: calc(-3.742 * var(--u));
  width: calc(174.737 * var(--u));
  height: calc(267.742 * var(--u));
  background-image: url("/content/dam/open-digital/tagrisso-hcp/us/en/flaura_os_splash-page/flaura-corner-bottom-right.svg");
  background-size: calc(276.197 * var(--u)) calc(449.009 * var(--u));
  background-position: 0 0;
}

/* banner: NEW + 5-YEAR DATA (H1 = desktop / mobile image) */
#flaura-os-splash.flaura-os-splash .flaura-banner {
  position: absolute;
  z-index: 2;
  left: calc(50% - 558 * var(--u));
  top: calc(216.446 * var(--u));
  display: block;
  width: calc(1083 * var(--u));
  height: calc(202 * var(--u));
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

#flaura-os-splash.flaura-os-splash .flaura-banner img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

#flaura-os-splash.flaura-os-splash .flaura-banner .flaura-banner-mobile {
  display: none;
}

#flaura-os-splash.flaura-os-splash .flaura-banner::before,
#flaura-os-splash.flaura-os-splash .flaura-banner::after {
  content: "";
  position: absolute;
  background: 0 0 / 100% 100% no-repeat;
}

#flaura-os-splash.flaura-os-splash .flaura-banner::before {
  left: calc(-81 * var(--u));
  top: calc(43.554 * var(--u));
  width: calc(66.21 * var(--u));
  height: calc(75.263 * var(--u));
  background-image: url("/content/dam/open-digital/tagrisso-hcp/us/en/flaura_os_splash-page/flaura-accent-left-desktop.svg");
}

#flaura-os-splash.flaura-os-splash .flaura-banner::after {
  left: calc(1120 * var(--u));
  top: calc(37.554 * var(--u));
  width: calc(52.122 * var(--u));
  height: calc(60.002 * var(--u));
  background-image: url("/content/dam/open-digital/tagrisso-hcp/us/en/flaura_os_splash-page/flaura-accent-right-desktop.svg");
}

/* ARE HERE > */
#flaura-os-splash.flaura-os-splash .flaura-are-here {
  position: absolute;
  z-index: 2;
  left: calc(50% - 133 * var(--u));
  top: calc(421.978 * var(--u));
  width: calc(221 * var(--u));
  height: calc(54 * var(--u));
  margin: 0;
  font-size: 0;
  line-height: 0 !important;
}

#flaura-os-splash.flaura-os-splash .flaura-are-here img {
  width: 100%;
  height: 100%;
}

#flaura-os-splash.flaura-os-splash .flaura-are-here .flaura-are-here-mobile {
  display: none;
}

/* SEE THE DATA button */
#flaura-os-splash.flaura-os-splash .flaura-cta {
  position: absolute;
  z-index: 2;
  left: calc(50% - 318 * var(--u));
  top: calc(524 * var(--u));
  display: block;
  width: calc(591 * var(--u));
  max-width: none;
  height: calc(106 * var(--u));
  margin: 0;
  padding: 0;
  border-radius: calc(17.16 * var(--u));
  background: #5c315e;
  box-shadow: 0 calc(4 * var(--u)) calc(10 * var(--u)) #6f356e;
  text-decoration: none;
}

#flaura-os-splash.flaura-os-splash .flaura-cta-text {
  position: absolute;
  left: calc(142.816 * var(--u));
  top: calc(35.895 * var(--u));
  display: block;
  width: calc(259 * var(--u));
  height: calc(40 * var(--u));
}

#flaura-os-splash.flaura-os-splash .flaura-cta-icon {
  position: absolute;
  left: calc(501 * var(--u));
  top: calc(29 * var(--u));
  display: block;
  width: calc(54.494 * var(--u));
  height: calc(54.494 * var(--u));
  margin: 0;
}

/* ---------- footer ---------- */
#flaura-os-splash.flaura-os-splash .flaura-footer {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-height: 197px;
  padding: 18px 48px 31px;
  background: #5c315e;
  color: #ffffff !important;
  text-align: left;
}

/* font: Roboto Condensed Italic (requested to the font team); fallback while it is not on the site */
#flaura-os-splash.flaura-os-splash .flaura-report {
  margin: 0 0 41.5px;
  color: #ffffff;
  font-family: "Roboto Condensed", "Barlow", Arial, sans-serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 22.5px !important;
  letter-spacing: 0.36px;
}

#flaura-os-splash.flaura-os-splash .flaura-report a {
  color: #ffffff;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit !important;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
}

#flaura-os-splash.flaura-os-splash .flaura-report .flaura-ext-icon {
  display: inline-block;
  width: 20.957px;
  height: 18.691px;
  margin: 0 0 0 8px;
  vertical-align: top;
}

#flaura-os-splash.flaura-os-splash .flaura-flag-line {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 0;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 18.2px !important;
}

#flaura-os-splash.flaura-os-splash .flaura-flag {
  flex: 0 0 auto;
  width: 50px;
  height: 26px;
  object-fit: cover;
}

#flaura-os-splash.flaura-os-splash .flaura-flag-line span {
  margin-top: 5px;
}

#flaura-os-splash.flaura-os-splash .flaura-legal {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
}

#flaura-os-splash.flaura-os-splash .flaura-legal-text {
  min-height: 42px;
}

#flaura-os-splash.flaura-os-splash .flaura-legal-text p {
  margin: 0;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 18.2px !important;
}

#flaura-os-splash.flaura-os-splash .flaura-az-logo {
  flex: 0 0 auto;
  width: 198px;
  padding: 0 5px;
}

#flaura-os-splash.flaura-os-splash .flaura-az-logo img {
  width: 188px;
  height: 48px;
}

@media screen and (min-width:991px){
    #self-certify-template #flaura-os-splash.flaura-os-splash{
    /*min-height:max-content;    */
}
}

/* ---------- mobile (<= 991px, Figma 390) ---------- */
@media (max-width: 991px) {
  .modal:has(#flaura-os-splash) button.btn.btn-primary.self-certify-yes.submit-btn {
    top: 14.67px;
    right: 21.33px;
  }

  #flaura-os-splash.flaura-os-splash .flaura-header {
    height: 77px;
  }

  #flaura-os-splash.flaura-os-splash .flaura-logo {
    left: 25px;
    top: 21px;
    width: 170px;
    height: 35.655px;
  }

  #flaura-os-splash.flaura-os-splash .flaura-hero {
    min-height: calc(517 * var(--u));
    background: linear-gradient(180deg, #008c94 calc(70.56 * var(--u)), #0b5257 calc(649.69 * var(--u)));
  }

  @supports (width: 1cqw) {
    #flaura-os-splash.flaura-os-splash .flaura-hero {
      --u: min(1px, calc(100cqw / 390));
    }
  }

  #flaura-os-splash.flaura-os-splash .flaura-hero::before {
    top: 0;
    width: calc(69.278 * var(--u));
    height: calc(96 * var(--u));
    background-image: url("/content/dam/open-digital/tagrisso-hcp/us/en/flaura_os_splash-page/flaura-corner-top-left.svg");
    background-size: calc(95.59 * var(--u)) calc(120.742 * var(--u));
    background-position: calc(-26.72 * var(--u)) calc(-24.74 * var(--u));
  }

  #flaura-os-splash.flaura-os-splash .flaura-hero::after {
    right: calc(0.989 * var(--u));
    bottom: calc(-3.742 * var(--u));
    width: calc(69.011 * var(--u));
    height: calc(105.742 * var(--u));
    background-image: url("/content/dam/open-digital/tagrisso-hcp/us/en/flaura_os_splash-page/flaura-corner-bottom-right.svg");
    background-size: calc(109.081 * var(--u)) calc(177.332 * var(--u));
  }

  #flaura-os-splash.flaura-os-splash .flaura-banner {
    left: calc(50% - 138.5735 * var(--u));
    top: calc(64.725 * var(--u));
    width: calc(266 * var(--u));
    height: calc(286 * var(--u));
  }

  #flaura-os-splash.flaura-os-splash .flaura-banner .flaura-banner-desktop {
    display: none;
  }

  #flaura-os-splash.flaura-os-splash .flaura-banner .flaura-banner-mobile {
    display: block;
  }

  #flaura-os-splash.flaura-os-splash .flaura-banner::before {
    left: calc(-47.426 * var(--u));
    top: calc(86.185 * var(--u));
    width: calc(25.12 * var(--u));
    height: calc(22.737 * var(--u));
    background-image: url("/content/dam/open-digital/tagrisso-hcp/us/en/flaura_os_splash-page/flaura-accent-left-mobile.svg");
  }

  #flaura-os-splash.flaura-os-splash .flaura-banner::after {
    left: calc(304.574 * var(--u));
    top: calc(105.545 * var(--u));
    width: calc(28.214 * var(--u));
    height: calc(25.536 * var(--u));
    background-image: url("/content/dam/open-digital/tagrisso-hcp/us/en/flaura_os_splash-page/flaura-accent-right-mobile.svg");
  }

  #flaura-os-splash.flaura-os-splash .flaura-are-here {
    left: calc(50% - 67 * var(--u));
    top: calc(373 * var(--u));
    width: calc(151 * var(--u));
    height: calc(37 * var(--u));
  }

  #flaura-os-splash.flaura-os-splash .flaura-are-here .flaura-are-here-desktop {
    display: none;
  }

  #flaura-os-splash.flaura-os-splash .flaura-are-here .flaura-are-here-mobile {
    display: block;
  }

  #flaura-os-splash.flaura-os-splash .flaura-cta {
    left: calc(50% - 163 * var(--u));
    top: calc(435 * var(--u));
    width: calc(322 * var(--u));
    height: calc(57.753 * var(--u));
    border-radius: calc(9.349 * var(--u));
    box-shadow: 0 calc(4 * var(--u)) calc(10 * var(--u)) #6f356e
  }

  #flaura-os-splash.flaura-os-splash .flaura-cta-text {
    left: calc(70.686 * var(--u));
    top: calc(19.123 * var(--u));
    width: calc(155 * var(--u));
    height: calc(24 * var(--u));
  }

  #flaura-os-splash.flaura-os-splash .flaura-cta-icon {
    left: calc(272.965 * var(--u));
    top: calc(15.8 * var(--u));
    width: calc(30 * var(--u));
    height: calc(30 * var(--u));
  }

  #flaura-os-splash.flaura-os-splash .flaura-footer {
    min-height: 324px;
    padding: 18px 28px 58px;
  }

  #flaura-os-splash.flaura-os-splash .flaura-report {
    max-width: 333px;
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 20px !important;
    letter-spacing: 0.32px;
  }

  #flaura-os-splash.flaura-os-splash .flaura-report .flaura-ext-icon {
    width: 16.219px;
    height: 14.018px;
    margin: 2px 0 0 7px;
  }

  #flaura-os-splash.flaura-os-splash .flaura-flag-line {
    font-size: 13px;
    line-height: 16.9px !important;
  }

  #flaura-os-splash.flaura-os-splash .flaura-flag-line span {
    max-width: 264px;
    margin-top: -4px;
  }

  #flaura-os-splash.flaura-os-splash .flaura-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 13.2px;
  }

  #flaura-os-splash.flaura-os-splash .flaura-legal-text {
    max-width: 315px;
    min-height: 75px;
  }

  #flaura-os-splash.flaura-os-splash .flaura-legal-text p {
    font-size: 13px;
    line-height: 16.9px !important;
  }
}


@media screen and (min-width:600px) and (max-width:992px){
    #flaura-os-splash.flaura-os-splash .flaura-report,
    #flaura-os-splash.flaura-os-splash .flaura-flag-line span,
    #flaura-os-splash.flaura-os-splash .flaura-legal-text{
        max-width:max-content !important;
        width:100%
    }
    #flaura-os-splash.flaura-os-splash .flaura-legal{
        gap:0px
    }
}

@media print {
   * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}


/* ---------- VAZ-29632 round 1 (2026-11-23) ---------- */
/* 854762 / 854799 / 854775: white strip under the splash = margin-bottom-10 of the htmlAsset (css link) after it */
.modal:has(#flaura-os-splash) .modal-content .htmlAsset .html-asset-container {
  margin-bottom: 0 !important;
}

/* 854818: no focus ring on mouse/touch click on the X (keyboard focus ring kept) */
.modal:has(#flaura-os-splash) button.btn.btn-primary.self-certify-yes.submit-btn:focus:not(:focus-visible) {
  outline: 0;
}

/* 854781: cookie banner above the splash popup (staging platform raised the popup to 33002) */
body:has(.modal[style*="display: block"] #flaura-os-splash) #CookieReportsBannerAZ {
  z-index: 33010 !important;
}

/* 854772: print = only the splash, one page, with its colours */
@media print {
  body:has(.modal[style*="display: block"] #flaura-os-splash) > :not(.selfCertificationPage) {
    display: none !important;
  }

  body:has(.modal[style*="display: block"] #flaura-os-splash) .selfCertificationPage > :not(.modal) {
    display: none !important;
  }

  .modal:has(#flaura-os-splash) {
    position: static !important;
    overflow: visible !important;
  }

  .modal:has(#flaura-os-splash) .modal-content {
    min-height: 0;
  }

  #flaura-os-splash.flaura-os-splash {
    min-height: 0;
    break-inside: avoid;
  }

  #flaura-os-splash.flaura-os-splash,
  #flaura-os-splash.flaura-os-splash *,
  #flaura-os-splash.flaura-os-splash *::before,
  #flaura-os-splash.flaura-os-splash *::after,
  .modal:has(#flaura-os-splash) button.btn.btn-primary.self-certify-yes.submit-btn::after {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}


/* 854775 (mobile): line break as Figma ("...related to AstraZeneca" / "products."). With the fallback font (Roboto Condensed
   is not on the site) the first line needs 366px: no letter-spacing (350px) and the line may use the right padding (28 -> 10px).
   When Roboto Condensed is added, letter-spacing 0.32px can come back. */
@media (max-width: 991px) {
  #flaura-os-splash.flaura-os-splash .flaura-report {
    max-width: 352px;
    margin-right: -18px;
    letter-spacing: 0;
  }
}


/* 854772 (reopen): print uses the paper width (~720-740px), so the mobile footer applied and the AZ logo went under the
   legal text on the left. In print the footer is laid out as on desktop: legal text left, AZ logo right (bottom aligned). */
@media print {
  #flaura-os-splash.flaura-os-splash .flaura-footer {
    min-height: 0;
    padding-bottom: 31px;
  }

  #flaura-os-splash.flaura-os-splash .flaura-report {
    max-width: none;
    margin-right: 0;
  }

  #flaura-os-splash.flaura-os-splash .flaura-flag-line span {
    max-width: none;
    margin-top: 5px;
  }

  #flaura-os-splash.flaura-os-splash .flaura-legal {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
  }

  #flaura-os-splash.flaura-os-splash .flaura-legal-text {
    max-width: none;
    min-height: 0;
  }
}
.laura-dosing #flaura-os-splash.flaura-os-splash .flaura-banner { max-width: none; }
