/* Press kit: local styles only. The theme owns the header/footer, while
   media-base.css owns the News / Publications submenu's layout and typography. */
body.turbine-presskit-page {
    background: #0f0a26;
    color: #f7f5ff;
}
body.presskit-light-page {
    background: #f8f8f8;
    color: #110c22;
}

/* Match the existing Publications light header WITHOUT modifying header.php.
   The header selects logo-light.svg only on Publications; on Press kit we
   cover its original image with that existing asset via a scoped background. */
body.presskit-light-page .site-header:not(.is-scrolled) {
    background: transparent;
}
body.presskit-light-page .site-header.is-scrolled {
    background: #f8f8f8;
    box-shadow: 0 1px 8px rgb(17 12 34 / 8%);
}
body.presskit-light-page .site-header .header__menu li:not(:last-child) a {
    color: #110c22;
}
body.presskit-light-page .site-header .header__menu li:not(:last-child) a:hover {
    color: #ff6666;
}
body.presskit-light-page .site-header .header__menu li:last-child a {
    background: #ff6666;
    color: #110c22;
}
body.presskit-light-page .site-header .header__logo {
    background: url('../images/logo-light.svg') center / contain no-repeat;
}
body.presskit-light-page .site-header .header__logo img {
    visibility: hidden;
}
body.presskit-light-page .site-footer {
    background: #0f0a26;
    color: #f7f5ff;
}
body.presskit-light-page .footer-cta {
    color: #f7f5ff;
}

.presskit-page {
    background: #0f0a26;
    color: #f7f5ff;
    padding: 155px 0 0;
}
body.presskit-light-page .presskit-page {
    background: #f8f8f8;
    color: #425266;
}
.presskit-page .presskit-container {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 15px;
}
/* Inherits the shared media tabs (Pharma / 24px / 50px gap / 44px toolbar). */
.presskit-page .media-listing {
    --media-accent: #31bec5;
    --media-ink: #f7f5ff;
    --media-muted: #a8c1e1;
}
body.presskit-light-page .presskit-page .media-listing {
    --media-accent: #ff6666;
    --media-ink: #110c22;
    --media-muted: #425266;
}
.presskit-heading {
    margin: 0 0 15px;
    color: #ff6666;
    font-family: 'Pharma', 'Poppins', sans-serif;
    font-size: 50px;
    line-height: 1.08;
    font-weight: 400;
    
    text-transform: uppercase;
}
.presskit-prose {
    font-size: 20px;
    line-height: 1.42;
    font-weight: 400;
}
.presskit-prose p {
    margin: 0 0 16px;
}
.presskit-prose p:last-child {
    margin-bottom: 0;
}
.presskit-prose a {
    color: #ff6666;
}
.presskit-about {
    margin-bottom: 90px;
}
.presskit-about__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: center;
    column-gap: 110px;
}
.presskit-about__copy {
    max-width: 760px;
}
.presskit-about__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}
.presskit-outline-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 0px 60px;
    border: 1px solid #FF6666;
    border-radius: 10px;
    background: transparent;
    color: #0F0A26;
    font: inherit;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.presskit-outline-button:hover,
.presskit-outline-button:focus-visible {
    background: #DD5959;
    color: #0F0A26

}
.presskit-library {
    margin-bottom: 100px;
}
.presskit-library__intro {
    margin-bottom: 55px;
}
.presskit-library__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 36px;
}
.presskit-download {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 140px;
    margin-bottom: 20px;
    padding: 20px 24px 42px;
    border: 1px solid #d1d1d1;
    border-radius: 10px;
    text-align: center;
}
.presskit-download__title {
    margin: 0 0 17px;
    color: #0F0A26;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}
.presskit-download__subtitle {
    margin: 0;
    color: #425266;
    font-size: 14px;
    line-height: 1.35;
}
.presskit-download__button {
    position: absolute;
    bottom: -25px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min(285px, calc(100% - 40px));
    height: 50px;
    padding: 0 16px;
    border-radius: 8px;
    background: #ff6666;
    color: #0F0A26;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transform: translateX(-50%);
}
.presskit-download__button:hover,
.presskit-download__button:focus-visible {
    background: #DD5959;

}
.presskit-download__button img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.presskit-features {
    margin-bottom: 60px;
}
.presskit-features .presskit-heading {
    max-width: 1200px;
    margin-bottom: 45px;
}
.presskit-features__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:35px;
}
.presskit-article {
    min-width: 0;
}
.presskit-article__image-link {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1.45;
    overflow: hidden;
    background: #ebedef;
}
.presskit-article__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.presskit-article__date {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 6px 8px;
    background: #ff6666;
    color: #0F0A26;
    font-size: 12px;
    line-height: 1.1;
    border-top-left-radius: 8px
}
.presskit-article__tag {
    display: inline-block;
    margin-top: 20px;
    padding: 7px 14px;
    border-radius: 8px;
    background: #ff6666;
    color: #0F0A26;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.15;
}
.presskit-article__title {
    margin: 12px 0 7px;
    color: #1a233c;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
}
.presskit-article__title a {
    color: inherit;
    text-decoration: none;
}
.presskit-article__title a:hover,
.presskit-article__title a:focus-visible {
    color: #ff6666;
}
.presskit-article__excerpt {
    margin: 15px 0 0 .presskit-features__grid0;
    font-size: 20px;
    line-height: 1.4;
}
.presskit-contact {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    background: #f3f4f6;
    opacity: 0;
    scroll-margin-top: 100px;
    transition: grid-template-rows 1s ease, opacity 0.35s ease;
}
.presskit-contact.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
}
.presskit-contact__clip {
    min-height: 0;
    overflow: hidden;
}
.presskit-contact__inner {
    padding-block: 80px 100px;
}
.presskit-contact .presskit-heading {
    margin-bottom: 20px;
}
.presskit-contact__description {
    max-width: 650px;
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.5;
    color: #0F0A26;
}
.presskit-form {
    width: 100%;
}
.presskit-form__honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.presskit-form__layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}
.presskit-form__left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.presskit-form__names {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.presskit-form__field {
    display: block;
    min-width: 0;
}
.presskit-form__field input,
.presskit-form__field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 11px 15px;
    border: 1px solid #1a233c;
    border-radius: 8px;
    outline-offset: 3px;
    background: transparent;
    color: #1a233c;
    font: inherit;
    font-size: 16px;
    line-height: 1.35;
}
.presskit-form__field textarea {
    height: 104px;
    min-height: 104px;
    resize: vertical;
}
.presskit-form__field input::placeholder,
.presskit-form__field textarea::placeholder {
    color: #898d99;
    opacity: 1;
}
.presskit-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 630px;
    margin-block: 20px 24px;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}
.presskit-form__privacy input {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: #1a233c;
}
.presskit-form__privacy a {
    color: inherit;
    text-decoration: underline;
}
.presskit-form__submit {
    min-width: 145px;
    min-height: 40px;
    padding: 8px 30px;
    border: 0;
    border-radius: 8px;
    background: #17142c;
    color: #fff;
    font: inherit;
    font-size: 15px;
    cursor: pointer;
}
.presskit-form__submit:hover,
.presskit-form__submit:focus-visible {
    background: #302b4d;
}
.presskit-form__notice {
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 16px;
}
.presskit-form__notice p {
    margin: 0 0 6px;
}
.presskit-form__notice p:last-child {
    margin-bottom: 0;
}
.presskit-form__notice--success {
    background: #e5f6f1;
}
.presskit-form__notice--error {
    margin-bottom: 16px;
    background: #ffebeb;
}

/* When the admin explicitly switches off the light background, preserve contrast. */
body:not(.presskit-light-page) .presskit-page .presskit-heading,
body:not(.presskit-light-page) .presskit-page .presskit-prose a {
    color: #31bec5;
}
body:not(.presskit-light-page) .presskit-page .presskit-article__title,
body:not(.presskit-light-page) .presskit-page .presskit-download__title,
body:not(.presskit-light-page) .presskit-page .presskit-download__subtitle {
    color: #f7f5ff;
}
body:not(.presskit-light-page) .presskit-page .presskit-download {
    background: #211b37;
    border-color: #425266;
}
body:not(.presskit-light-page) .presskit-page .presskit-contact {
    background: #211b37;
}


/* Press kit quick facts modal */
body.presskit-modal-open {
    overflow: hidden;
}
.presskit-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.presskit-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.presskit-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}
.presskit-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 40px 35px;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #425266;
    transform: translateY(12px);
    transition: transform 0.3s ease;
}
.presskit-modal.is-open .presskit-modal__dialog {
    transform: translateY(0);
}
.presskit-modal__title {
    margin: 0 55px 24px 0;
    color: #ff6666;
    font-family: 'Pharma', 'Poppins', sans-serif;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}
.presskit-modal__close {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
background-color: transparent;
  border: none;
   
    cursor: pointer;
    background-image: url("../images/closePopup.svg")
}
.presskit-modal__content {
    color: #425266;
}
.presskit-modal__content hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid #d6d6d6;
}
