/* Press template — match main header visuals to sticky state; positions unchanged */

/* --------------------------------------------------------------------------
   Layout / chrome
   -------------------------------------------------------------------------- */

.footer-top,
.ip-banner {
    display: none;
}

/* Mirror .header.is-sticky from css/global/global.css (no position/top/left/z-index overrides) */
.header {
    background: rgba(var(--primary), 1);
}

.header .header-logo a img {
    filter: brightness(0) invert(1);
}

.header .site-navi>li>a {
    color: #ffffff;
}

.header .header-contact a {
    color: #ffffff;
}

.header .header-contact a i {
    color: #ffffff;
}

.header .header-contact a:hover {
    color: rgba(var(--secondary), 1);
}

.header .header-contact a:hover i {
    color: rgba(var(--secondary), 1);
}

/* --------------------------------------------------------------------------
   Page styles (whole template)
   -------------------------------------------------------------------------- */
#inner-page-wrapper {
    margin-bottom: 0 !important;
}

#inner-page-wrapper>.container {
    width: 100%;
    padding: 0;
}

.img-container {
    position: relative;
    display: block;
}

.img-container canvas {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--secondary), 1);
}

.img-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    object-fit: cover;
}

.img-container.no-bg canvas {
    background-color: transparent;
}

.img-container.no-bg img {
    object-fit: contain;
}

.bg-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-img.fixed {
    background-attachment: fixed;
}

/* --------------------------------------------------------------------------
   Banner — ACF: banner_title_small, banner_title_main, banner_subtitle
   -------------------------------------------------------------------------- */

.ipPressBanner {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: clamp(500px, 35.9375vw, 650px);
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    background: rgba(var(--primary), 1);
}

.ipPressBanner-inner {
    width: 100%;
    max-width: 785px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-sizing: border-box;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.ipPressBanner-titleSm:not(:last-child) {
    margin-bottom: 40px;
}

.ipPressBanner-titleMain:not(:last-child) {
    margin-bottom: 30px;
}

.ipPressBanner-titleSm {
    font-family: var(--font-family-default);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #b2a18f;
}

.ipPressBanner-titleMain {
    font-family: var(--font-family-title);
    font-weight: 400;
    font-size: 60px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.ipPressBanner-subtitle {
    font-family: var(--font-family-default);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.39;
    letter-spacing: 0.1em;
    color: #ffffff;
}

.ipPressBanner-inner .ipPressBanner-titleSm>*:first-child,
.ipPressBanner-inner .ipPressBanner-titleMain>*:first-child,
.ipPressBanner-inner .ipPressBanner-subtitle>*:first-child {
    margin-top: 0;
}

.ipPressBanner-inner .ipPressBanner-titleSm>*:last-child,
.ipPressBanner-inner .ipPressBanner-titleMain>*:last-child,
.ipPressBanner-inner .ipPressBanner-subtitle>*:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Statistics — ACF repeater: statistics → number, label
   -------------------------------------------------------------------------- */

.ipPressStats {
    margin: 0;
    padding: 0;
    background: rgba(var(--primary), 1);
}

.ipPressStats-inner {
    display: grid;
    width: 100%;
    gap: 2px;
    box-sizing: border-box;
}

.ipPressStats-inner[data-count="1"] {
    grid-template-columns: 1fr;
}

.ipPressStats-inner[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ipPressStats-inner[data-count="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ipPressStats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 0;
    min-width: 0;
    padding: 75px 15px;
    background: #003a4e;
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.ipPressStats-number {
    font-family: var(--font-family-default);
    font-weight: 400;
    font-size: clamp(50px, 4.375vw, 70px);
    line-height: 1;
    letter-spacing: 0;
    color: #b2a18f;
}

.ipPressStats-number+.ipPressStats-label {
    margin-top: 15px;
}

.ipPressStats-label {
    font-family: var(--font-family-default);
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Featured — ACF: featured_title, featured_image
   -------------------------------------------------------------------------- */

.ipPressFeatured {
    box-sizing: border-box;
    padding: 100px 15px;
    background: #ffffff;
}

.ipPressFeatured-inner {
    width: 100%;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.ipPressFeatured-title {
    font-family: var(--font-family-default);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    color: rgba(var(--primary), 1);
}

.ipPressFeatured-title:not(:last-child) {
    margin-bottom: 35px;
}

/* --------------------------------------------------------------------------
   Conversation — ACF: featured_background_image, conversation_title_small,
   conversation_title_main, repeater content → text
   -------------------------------------------------------------------------- */

.ipPressConversation {
    position: relative;
    box-sizing: border-box;
    padding: 85px 15px 75px;
    overflow: hidden;
}

.ipPressConversation .bg-img {
    background-color: rgba(var(--primary), 1);
}

.ipPressConversation-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1025px;
    margin-left: auto;
    margin-right: auto;
}

.ipPressConversation-titles+.ipPressConversation-grid {
    margin-top: 10px;
}

.ipPressConversation-titleSm {
    font-family: var(--font-family-default);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
}

.ipPressConversation-titleSm:not(:last-child) {
    margin-bottom: 0;
}

.ipPressConversation-titleMain {
    font-family: var(--font-family-title);
    font-weight: 400;
    font-size: 70px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-align: center;
    color: #ffffff;
}

/* Max 3 boxes per row; incomplete rows stay centered via flex */
.ipPressConversation-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
}

.ipPressConversation-item {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 1 calc((100% - 32px) / 3);
    min-height: 0;
    min-width: 0;
    max-width: calc((100% - 32px) / 3);
    padding: 20px 10px;
    background: #b2a18f;
    text-align: center;
}

.ipPressConversation-itemText {
    font-family: var(--font-family-default);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Press coverage — ACF: press_title, press_subtitle, press_button_text
   -------------------------------------------------------------------------- */

.ipPressSection {
    box-sizing: border-box;
    width: 100%;
    padding: 95px 15px 100px;
}

.ipPressSection-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.ipPressSection-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 25px;
}

.ipPressSection-title {
    margin: 0;
    font-family: var(--font-family-title);
    font-weight: 400;
    font-size: 45px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: #222222;
}

.ipPressSection-subtitle {
    margin: 0;
    max-width: 520px;
    font-family: var(--font-family-default);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: #444444;
    text-align: right;
}

.ipPressSection-featureLink {
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: inherit;
}

.ipPressSection-featureLink:focus-visible {
    outline: 2px solid rgba(var(--primary), 1);
    outline-offset: 4px;
}

.ipPressSection-featureMedia {
    width: 100%;
    height: 365px;
}

.ipPressSection-featureMedia .img-container {
    width: 100%;
    height: 100%;
}

.ipPressSection-featureBody {
    margin-top: 30px;
    text-align: left;
}

.ipPressSection-featureBody .ipPressSection-source {
    margin: 0 0 8px;
}

.ipPressSection-featureBody .ipPressSection-articleTitle {
    margin: 0 0 8px;
}

.ipPressSection-featureBody .ipPressSection-excerpt {
    margin: 0 0 14px;
}

.ipPressSection-featureBody .ipPressSection-date {
    margin: 0 0 30px;
}

.ipPressSection-featureBody .ipPressSection-read {
    margin: 0;
}

.ipPressSection-source {
    display: block;
    font-family: var(--font-family-default);
    font-weight: 500;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(var(--primary), 1);
}

.ipPressSection-articleTitle {
    display: block;
    font-family: var(--font-family-title);
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    letter-spacing: 0;
    color: #222222;
}

.ipPressSection-excerpt {
    display: block;
    font-family: var(--font-family-default);
    font-weight: 400;
    font-size: 15px;
    line-height: 25px;
    letter-spacing: 0.05em;
    color: #333333;
}

.ipPressSection-date {
    display: block;
    font-family: var(--font-family-default);
    font-weight: 400;
    font-size: 15px;
    line-height: 25px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #333333;
}

.ipPressSection-read {
    display: inline-block;
    margin-top: 4px;
}

.ipPressSection-readInner,
.ipPressSection-moreLink {
    display: inline-block;
    box-sizing: border-box;
    padding: 15px 15px 7px;
    border: 1px solid rgba(var(--secondary), 1);
    font-family: var(--font-family-default);
    font-weight: 500;
    font-size: 14px;
    line-height: 25px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #333333;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

.ipPressSection-readInner:hover,
.ipPressSection-readInner:focus-visible,
.ipPressSection-moreLink:hover,
.ipPressSection-moreLink:focus-visible {
    color: #ffffff;
    background-color: rgba(var(--secondary), 1);
}

.ipPressSection-moreLink:focus-visible {
    outline: 2px solid rgba(var(--primary), 1);
    outline-offset: 2px;
}

.ipPressSection-divider {
    width: 100%;
    height: 0;
    margin: 50px 0;
    border: 0;
    border-bottom: 2px solid #d0d0d0;
}

.ipPressSection-gridWrap {
    margin-top: 0;
}

.ipPressSection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.ipPressSection-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 35px 40px 50px;
    border: 1px solid rgba(var(--secondary), 1);
    text-align: left;
    text-decoration: none;
    color: inherit;
}

.ipPressSection-card:focus-visible {
    outline: 2px solid rgba(var(--primary), 1);
    outline-offset: 2px;
}

.ipPressSection-card .ipPressSection-source {
    margin-bottom: 0;
}

.ipPressSection-card .ipPressSection-articleTitle {
    margin-top: 8px;
}

.ipPressSection-card .ipPressSection-excerpt {
    flex: 1 1 auto;
    margin-top: 45px;
}

.ipPressSection-card .ipPressSection-read {
    margin-top: auto;
    padding-top: 55px;
}

.ipPressSection-actions {
    margin-top: 50px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Connect — ACF: connect_background_image, connect_title_small, connect_title_main,
   connect_text, connect_download_button_text, connect_download_button_url, connect_button_text
   -------------------------------------------------------------------------- */

.ipPressConnect {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    padding: 100px 15px 135px;
}

.ipPressConnect .bg-img {
    background-color: #ffffff;
    opacity: 0.07;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.ipPressConnect-inner {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ipPressConnect-titleSm {
    margin: 0;
    font-family: var(--font-family-default);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #222222;
}

.ipPressConnect-titleMain {
    margin: 0 0 5px;
    font-family: var(--font-family-title);
    font-weight: 500;
    font-size: 70px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: #222222;
}

.ipPressConnect-text {
    margin: 0 auto 55px;
    font-family: var(--font-family-default);
    font-weight: 400;
    font-size: 15px;
    line-height: 25px;
    letter-spacing: 0.05em;
    color: #222222;
    max-width: 600px;
}

.ipPressConnect-text:last-child {
    margin-bottom: 0;
}

.ipPressConnect-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 15px;
    width: 100%;
}

.ipPressConnect-btn {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    padding: 18px 15px 15px;
    border: 0;
    font-family: var(--font-family-default);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.075em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    color: #ffffff;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition);
}

.ipPressConnect-btn--download {
    background-color: rgba(var(--primary), 1);
}

.ipPressConnect-btn--secondary {
    background-color: rgba(var(--secondary), 1);
}

.ipPressConnect-btn:hover,
.ipPressConnect-btn:focus-visible {
    background-color: #003a4e;
    color: #ffffff;
}

.ipPressConnect-btn:focus-visible {
    outline: 2px solid rgba(var(--primary), 1);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Conversation popup — #ipPressConversationPopup (AIOS: .aiosp-ref-#ipPressConversationPopup > .aios-popup-body)
   -------------------------------------------------------------------------- */

/* Template instance only (in-page); do not hide #ipPressConversationPopup when shown inside .aiosp-wrap */
section#ipPressConversationPopup.aiosp-hide {
    display: none !important;
}

/* Override default lightbox body (white 80% / min-height 500px) for this popup */
.aiosp-wrap .aiosp-container.aiosp-ref-\#ipPressConversationPopup .aios-popup-body {
    width: 95%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    min-height: 0;
    background: transparent;
    box-sizing: border-box;
}

.aiosp-wrap .aiosp-container.aiosp-ref-\#ipPressConversationPopup #ipPressConversationPopup {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Close: native button stays clickable but invisible; visual icon is .ipPressClose-iconLayer (press.js) */
.aiosp-wrap .aiosp-container.aiosp-ref-\#ipPressConversationPopup .aiosp-content,
.aiosp-wrap .aios-popup-body:has(#ipPressConversationPopup) .aiosp-content {
    position: relative;
}

.aiosp-wrap .aiosp-container.aiosp-ref-\#ipPressConversationPopup .aiosp-close,
.aiosp-wrap .aios-popup-body:has(#ipPressConversationPopup) .aiosp-close {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    line-height: 1;
    padding: 0;
    border-radius: 0;
    opacity: 0;
    z-index: 2;
    color: transparent !important;
    background-color: transparent !important;
    font-family: var(--font-family-default), Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    transition: opacity var(--transition), background-color var(--transition);
}

.aiosp-wrap .aiosp-container.aiosp-ref-\#ipPressConversationPopup .ipPressClose-iconLayer,
.aiosp-wrap .aios-popup-body:has(#ipPressConversationPopup) .ipPressClose-iconLayer {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.aiosp-wrap .aiosp-container.aiosp-ref-\#ipPressConversationPopup .ipPressClose-iconLayer .ai-font-close-b,
.aiosp-wrap .aios-popup-body:has(#ipPressConversationPopup) .ipPressClose-iconLayer .ai-font-close-b {
    font-size: 30px;
    line-height: 1;
    display: block;
    color: #ffffff;
    transition: color var(--transition);
}

.aiosp-wrap .aiosp-container.aiosp-ref-\#ipPressConversationPopup .aiosp-close::before,
.aiosp-wrap .aios-popup-body:has(#ipPressConversationPopup) .aiosp-close::before {
    display: none;
    content: none;
}

.aiosp-wrap .aiosp-container.aiosp-ref-\#ipPressConversationPopup .aiosp-close:hover,
.aiosp-wrap .aiosp-container.aiosp-ref-\#ipPressConversationPopup .aiosp-close:focus,
.aiosp-wrap .aios-popup-body:has(#ipPressConversationPopup) .aiosp-close:hover,
.aiosp-wrap .aios-popup-body:has(#ipPressConversationPopup) .aiosp-close:focus {
    background-color: transparent !important;
}

.aiosp-wrap .aiosp-container.aiosp-ref-\#ipPressConversationPopup .aiosp-close:hover + .ipPressClose-iconLayer .ai-font-close-b,
.aiosp-wrap .aiosp-container.aiosp-ref-\#ipPressConversationPopup .aiosp-close:focus + .ipPressClose-iconLayer .ai-font-close-b,
.aiosp-wrap .aios-popup-body:has(#ipPressConversationPopup) .aiosp-close:hover + .ipPressClose-iconLayer .ai-font-close-b,
.aiosp-wrap .aios-popup-body:has(#ipPressConversationPopup) .aiosp-close:focus + .ipPressClose-iconLayer .ai-font-close-b {
    color: rgba(var(--secondary), 1);
}

/* Plugin extras inside CF7 (keep honeypots functional; hide visible admin/test UI only) */
#ipPressConversationPopup .altEmail_container,
#ipPressConversationPopup .wpa-test-msg {
    display: none !important;
}

.ipPressPopup {
    box-sizing: border-box;
    max-width: 100%;
    margin: 0 auto;
    padding: 90px 40px;
    text-align: center;
    background-color: rgba(var(--primary), 1);
}

.ipPressPopup-header {
    margin: 0 0 40px;
}

.ipPressPopup-kicker {
    margin: 0 0 8px;
    font-family: var(--font-family-default);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #ffffff;
}

.ipPressPopup-title {
    margin: 0;
    font-family: var(--font-family-title);
    font-weight: 400;
    font-size: 70px;
    line-height: 1.1;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.ipPressPopup-formWrap {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 535px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.ipPressPopup-formWrap>.wpcf7 {
    max-width: 100%;
    background: transparent;
}

.ipPressPopup-formWrap .ipPressPopup-cf7 form {
    position: relative;
}

/* Keep <label> in CF7; add class="hidden" on each label — visible copy is placeholders */
.ipPressPopup-formWrap .ipPressPopup-cf7 label.hidden {
    display: none !important;
}

.ipPressPopup-formWrap .ipPressPopup-cf7 input[type="text"],
.ipPressPopup-formWrap .ipPressPopup-cf7 input[type="email"],
.ipPressPopup-formWrap .ipPressPopup-cf7 input[type="tel"] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 8px 0 12px;
    border: none;
    border-bottom: 1px solid #ffffff;
    border-radius: 0;
    font-family: var(--font-family-default);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: #ffffff;
    background: transparent;
    outline: none;
}

.ipPressPopup-formWrap .ipPressPopup-cf7 input::placeholder {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.ipPressPopup-formWrap .ipPressPopup-cf7 input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.9);
}

.ipPressPopup-formWrap .ipPressPopup-cf7 input::-moz-placeholder {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.ipPressPopup-formWrap .ipPressPopup-cf7 .wpcf7-form-control-wrap {
    position: relative;
    display: block;
    margin-bottom: 40px;
}

.ipPressPopup-formWrap .ipPressPopup-cf7 .wpcf7-not-valid-tip {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    margin: 0;
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 13px;
    line-height: 1.3;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.35);
}

.ipPressPopup-formWrap .ipPressPopup-cf7 .wpcf7-spinner {
    position: absolute;
    bottom: -28px;
    left: 0;
    right: 0;
    margin: auto;
}

.ipPressPopup-formWrap .ipPressPopup-cf7 input[type="submit"] {
    display: block;
    box-sizing: border-box;
    min-width: 200px;
    margin: 60px auto 0;
    padding: 18px 32px 15px;
    border: none;
    font-family: var(--font-family-default);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    color: #ffffff;
    background-color: rgba(var(--secondary), 1);
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition);
}

.ipPressPopup-formWrap .ipPressPopup-cf7 input[type="submit"]:hover,
.ipPressPopup-formWrap .ipPressPopup-cf7 input[type="submit"]:focus-visible {
    background-color: #003a4e;
}

.ipPressPopup-formWrap .ipPressPopup-cf7 .wpcf7-response-output {
    position: absolute;
    width: 100%;
    bottom: -32px;
    left: 0;
    right: 0;
    margin: auto;
    border: none;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    color: #ffffff !important;
}

.ipPressPopup-formWrap .ipPressPopup-cf7 .wpcf7-response-output.wpcf7-mail-sent-ok,
.ipPressPopup-formWrap .ipPressPopup-cf7 .wpcf7-response-output.wpcf7-mail-sent-ng,
.ipPressPopup-formWrap .ipPressPopup-cf7 .wpcf7-response-output.wpcf7-aborted,
.ipPressPopup-formWrap .ipPressPopup-cf7 .wpcf7-response-output.wpcf7-spam-blocked,
.ipPressPopup-formWrap .ipPressPopup-cf7 .wpcf7-response-output.wpcf7-validation-errors,
.ipPressPopup-formWrap .ipPressPopup-cf7 .wpcf7-response-output.wpcf7-acceptance-missing {
    color: #ffffff !important;
}

.ipPressPopup-formWrap .ipPressPopup-cf7 .ajax-loader {
    position: absolute;
    left: 50%;
    bottom: -28px;
    margin: 0;
    transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   Media queries
   -------------------------------------------------------------------------- */

@media only screen and (max-width: 1199px) {
    .bg-img {
        background-attachment: scroll !important;
    }
}

@media only screen and (max-width: 991px) {
    .ipPressBanner {
        height: 600px;
    }

    .ipPressBanner-titleMain {
        font-size: 45px;
    }

    .ipPressStats-inner[data-count="1"],
    .ipPressStats-inner[data-count="2"],
    .ipPressStats-inner[data-count="3"] {
        grid-template-columns: 1fr;
    }

    .ipPressStats-item {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .ipPressFeatured {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .ipPressConversation {
        padding: 60px 15px;
    }

    .ipPressConversation-inner {
        max-width: 400px;
    }

    .ipPressConversation-titles+.ipPressConversation-grid {
        margin-top: 30px;
    }

    .ipPressConversation-titleMain {
        font-size: 35px;
    }

    .ipPressConversation-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .ipPressSection {
        padding: 60px 15px 70px;
    }

    .ipPressSection-head {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }

    .ipPressSection-title {
        font-size: 40px;
        text-align: center;
    }

    .ipPressSection-subtitle {
        max-width: none;
        text-align: center;
    }

    .ipPressSection-grid {
        grid-template-columns: 1fr;
    }

    .ipPressSection-card {
        align-items: center;
        padding: 40px 15px;
        text-align: center;
    }

    .ipPressSection-featureBody {
        text-align: center;
    }

    .ipPressConnect {
        padding: 60px 15px 70px;
    }

    .ipPressConnect-titleMain {
        font-size: 35px;
    }

    .ipPressConnect-actions {
        flex-direction: column;
        align-items: center;
    }

    .ipPressConnect-btn {
        flex: 0 1 auto;
        width: 100%;
        max-width: 400px;
        font-size: 18px;
    }

    .ipPressPopup {
        padding: 90px 15px;
    }

    .ipPressPopup-title {
        font-size: 35px;
    }

    .aiosp-wrap .aiosp-container.aiosp-ref-\#ipPressConversationPopup .aiosp-close,
    .aiosp-wrap .aios-popup-body:has(#ipPressConversationPopup) .aiosp-close,
    .aiosp-wrap .aiosp-container.aiosp-ref-\#ipPressConversationPopup .ipPressClose-iconLayer,
    .aiosp-wrap .aios-popup-body:has(#ipPressConversationPopup) .ipPressClose-iconLayer {
        top: 15px;
        right: 15px;
    }

    .ipPressPopup-formWrap .ipPressPopup-cf7 .wpcf7-response-output {
        bottom: -55px;
    }
}

@media only screen and (max-width: 768px) {
    .ipPressBanner-titleMain {
        font-size: 40px;
    }
}

@media only screen and (max-width: 480px) {
    .ipPressBanner-titleMain {
        font-size: 35px;
    }
}

/* Body / UA flags (not width queries) */
.mobile .bg-img,
.safari-true .bg-img {
    background-attachment: scroll !important;
}