/* Normalize informational pages across Pro stacks (Icon and Integrity). */
body.page .x-container.offset:has(.entry-wrap .mt-lp-block) {
    width: 100%;
    max-width: none;
    margin-top: 0;
    margin-bottom: 0;
}

body.page .entry-wrap:has(.mt-lp-block) {
    padding: 50px 0;
    background-color: transparent;
    box-shadow: none;
}

.entry-wrap:has(.mt-lp-block) .entry-header {
    margin-bottom: 20px;
}

.entry-wrap:has(.mt-lp-block) .entry-title {
    box-sizing: border-box;
    width: 88%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding: 0 20px;
    color: #004f9f;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.entry-wrap:has(.mt-lp-block) .entry-content > .x-section {
    padding-top: 0;
    padding-bottom: 38px;
}

.mt-lp-block {
    box-sizing: border-box;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 18px;
    color: #17324d;
    font-family: inherit;
}

.mt-lp-block * {
    box-sizing: border-box;
}

.mt-lp-banner {
    margin-bottom: 26px;
}

.mt-lp-banner img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    border-radius: 0;
}

/* Contact page: join the banner and form row without the two-pixel overlap. */
body:is(.page-id-24931, .page-id-17852) .x-row:has(.mt-lp-banner) .mt-lp-banner {
    margin-bottom: 0;
}

body:is(.page-id-24931, .page-id-17852) .x-row:has(.mt-lp-banner) + .x-row,
body:is(.page-id-24931, .page-id-17852) .mt-lp-banner + .x-row {
    margin-top: 0 !important;
}

.mt-lp-intro {
    max-width: 900px;
    margin-bottom: 24px;
    font-size: 15px;
    font-style: italic;
    line-height: 1.55;
    text-align: center;
}

.mt-lp-section-title {
    margin: 28px auto 16px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}

.mt-lp-card,
.mt-lp-line {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    min-height: 88px;
    padding: 14px 24px;
    border: 1px solid #c9ddef;
    background: #fff;
}

.mt-lp-card + .mt-lp-card {
    margin-top: 12px;
}

.mt-lp-icon {
    display: flex;
    flex: 0 0 64px;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.mt-lp-icon img {
    display: block;
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}

.mt-lp-icon svg {
    display: block;
    width: 42px;
    height: 42px;
    color: #073d72;
}

.mt-lp-copy {
    flex: 1;
    min-width: 0;
}

.mt-lp-copy h3 {
    margin: 0 0 5px;
    color: #123c67;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.mt-lp-copy p,
.mt-lp-copy li {
    margin: 0;
    color: #344f68;
    font-size: 13px;
    line-height: 1.45;
}

.mt-lp-copy p + p {
    margin-top: 4px;
}

.mt-lp-copy a {
    color: #0e5b91;
    text-decoration: underline;
}

.mt-lp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.mt-lp-grid-2 .mt-lp-card {
    height: 100%;
    margin: 0;
}

.mt-lp-group {
    padding: 0;
    border: 1px solid #c9ddef;
    background: #fff;
}

.mt-lp-group .mt-lp-line {
    margin: 0;
    border: 0;
    border-bottom: 1px solid #c9ddef;
}

.mt-lp-group .mt-lp-line:last-child {
    border-bottom: 0;
}

.mt-lp-number {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0e4f84;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.mt-lp-note {
    padding: 18px 24px;
    border: 1px solid #c9ddef;
    background: #f7fbfe;
    font-size: 13px;
    line-height: 1.5;
}

.mt-lp-note ul {
    margin: 0;
    padding-left: 20px;
}

.mt-lp-note li + li {
    margin-top: 5px;
}

.mt-lp-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 24px auto;
    text-align: center;
}

.mt-lp-social::before,
.mt-lp-social::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #c9ddef;
}

.mt-lp-social a {
    display: block;
    flex: 0 0 auto;
    color: #0e4f84;
    font-weight: 600;
    text-decoration: none;
}

.mt-lp-social-icon {
    display: block;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: contain;
}

.mt-lp-address {
    font-style: normal;
}

.mt-lp-button {
    display: inline-block;
    margin-top: 9px;
    padding: 8px 15px;
    background: #0e4f84;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
}

/* Returns and exchanges: layout based on the Lithuanian Cornerstone project. */
.entry-wrap:has(.mt-returns) .entry-header {
    display: none;
}

.entry-wrap:has(.mt-returns) {
    padding-top: 34px;
}

.mt-returns {
    max-width: 900px;
    color: #273b51;
    font-family: "Work Sans", "Raleway", sans-serif;
}

.mt-returns-heading {
    margin: 42px auto 14px;
    color: #123c67;
    font-size: 22px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.mt-returns-heading:first-child {
    margin-top: 0;
}

.mt-returns-omniva {
    max-width: 820px;
    margin: 0 auto 42px;
    padding: 28px 34px;
    border: 1px solid #c9ddef;
    background: #fff;
    text-align: center;
}

.mt-returns-omniva h2 {
    margin: 0 0 12px;
    color: #123c67;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.mt-returns-omniva p {
    max-width: 680px;
    margin: 0 auto;
    color: #263b52;
    font-size: 15px;
    line-height: 1.55;
}

.mt-returns-omniva .mt-lp-button {
    margin: 18px 0 24px;
    padding: 11px 22px;
    font-size: 13px;
}

.mt-returns-omniva-alternative {
    padding-top: 22px;
    border-top: 1px solid #c9ddef;
}

.mt-returns-omniva-alternative strong {
    display: block;
    margin-bottom: 7px;
    color: #123c67;
    font-size: 16px;
}

.mt-returns-intro {
    max-width: 720px;
    margin: 0 auto 24px;
    font-size: 16px;
    font-style: italic;
    line-height: 1.55;
    text-align: center;
}

.mt-returns-card {
    max-width: 820px;
    margin: 0 auto 24px;
    padding: 18px 28px;
}

.mt-returns-card .mt-lp-icon,
.mt-returns-step .mt-lp-icon {
    flex-basis: 82px;
    width: 82px;
    height: 82px;
}

.mt-returns-card .mt-lp-icon img,
.mt-returns-step .mt-lp-icon img {
    max-width: 82px;
    max-height: 82px;
}

.mt-returns-card .mt-lp-copy h3,
.mt-returns-step .mt-lp-copy h3 {
    margin-bottom: 7px;
    font-size: 17px;
}

.mt-returns-card .mt-lp-copy p,
.mt-returns-step .mt-lp-copy p {
    font-size: 14px;
    line-height: 1.55;
}

.mt-returns-form-link {
    display: inline-block;
    margin-top: 7px;
    color: #123c67 !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline !important;
    text-transform: uppercase;
}

.mt-returns-address {
    margin: 0 auto 24px;
    color: #263b52;
    font-size: 14px;
    line-height: 1.55;
    text-align: center;
}

.mt-returns-address-title {
    display: block;
    margin-bottom: 7px;
    color: #123c67;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.mt-returns-address a {
    color: inherit;
}

.mt-returns-steps {
    max-width: 820px;
    margin: 0 auto 20px;
}

.mt-returns-step {
    align-items: flex-start;
    gap: 24px;
    min-height: 118px;
    padding: 18px 28px;
}

.mt-returns-conditions {
    max-width: 760px;
    margin: 0 auto 42px;
    color: #263b52;
    font-size: 14px;
    line-height: 1.55;
}

.mt-returns-conditions strong {
    display: block;
    margin-bottom: 5px;
    color: #123c67;
}

.mt-returns-conditions ul {
    margin: 0;
    padding-left: 20px;
}

.mt-returns-complaints {
    max-width: 820px;
    margin: 0 auto;
}

/* Terms page: editorial cards using the informational-page visual language. */
.entry-wrap:has(.mt-terms) .entry-header {
    display: none;
}

.entry-wrap:has(.mt-terms) {
    padding-top: 34px;
}

.mt-terms {
    max-width: 900px;
    color: #263b52;
    font-family: "Work Sans", "Raleway", sans-serif;
}

.mt-terms-hero {
    margin-bottom: 22px;
    padding: 32px 38px;
    background: #0e4f84;
    color: #fff;
    text-align: center;
}

.mt-terms-hero h1 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.mt-terms-hero p {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-style: italic;
    line-height: 1.5;
}

.mt-terms-card {
    margin-bottom: 16px;
    padding: 26px 32px;
    border: 1px solid #c9ddef;
    background: #fff;
}

.mt-terms-card h2 {
    margin: 0 0 16px;
    color: #123c67;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.mt-terms-card p,
.mt-terms-card li {
    color: #344f68;
    font-size: 14px;
    line-height: 1.65;
}

.mt-terms-card p {
    margin: 0 0 12px;
}

.mt-terms-card p:last-child {
    margin-bottom: 0;
}

.mt-terms-card ul,
.mt-terms-card ol {
    margin: 0 0 12px;
    padding-left: 22px;
}

.mt-terms-card a {
    color: #0e5b91;
    text-decoration: underline;
}

/* Keep banners and cards compact on phones while preserving editability. */
@media (max-width: 767px) {
    body.page .entry-wrap:has(.mt-lp-block) {
        padding: 18px 0;
    }

    .entry-wrap:has(.mt-lp-block) .entry-header {
        margin-bottom: 14px;
    }

    .entry-wrap:has(.mt-lp-block) .entry-title {
        font-size: 27px;
    }

    .mt-lp-block {
        margin-bottom: 14px;
    }

    .mt-lp-banner {
        width: calc(100% + 30px);
        margin-right: -15px;
        margin-bottom: 20px;
        margin-left: -15px;
    }

    .mt-lp-intro {
        padding: 0 8px;
        font-size: 14px;
    }

    .mt-lp-grid-2 {
        grid-template-columns: 1fr;
    }

    .mt-lp-card,
    .mt-lp-line {
        align-items: flex-start;
        gap: 14px;
        min-height: 0;
        padding: 14px;
    }

    .mt-lp-icon {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
    }

    .mt-lp-icon img {
        max-width: 36px;
        max-height: 36px;
    }

    .mt-lp-icon svg {
        width: 36px;
        height: 36px;
    }

    .mt-lp-copy h3 {
        font-size: 14px;
    }

    .mt-lp-copy p,
    .mt-lp-copy li {
        font-size: 12.5px;
    }

    .mt-lp-section-title {
        margin-top: 22px;
        font-size: 16px;
    }

    .mt-lp-social {
        gap: 10px;
    }

    .mt-lp-social-icon {
        width: 48px;
        height: 48px;
    }

    .entry-wrap:has(.mt-returns) {
        padding-top: 24px;
    }

    .mt-returns {
        padding-right: 3px;
        padding-left: 3px;
    }

    .mt-returns-heading {
        margin-top: 32px;
        font-size: 19px;
    }

    .mt-returns-intro {
        padding: 0 12px;
        font-size: 15px;
    }

    .mt-returns-omniva {
        margin-bottom: 32px;
        padding: 22px 17px;
    }

    .mt-returns-omniva h2 {
        font-size: 19px;
    }

    .mt-returns-omniva p {
        font-size: 13.5px;
    }

    .mt-returns-card,
    .mt-returns-step {
        gap: 14px;
        padding: 15px;
    }

    .mt-returns-card .mt-lp-icon,
    .mt-returns-step .mt-lp-icon {
        flex-basis: 62px;
        width: 62px;
        height: 62px;
    }

    .mt-returns-card .mt-lp-icon img,
    .mt-returns-step .mt-lp-icon img {
        max-width: 62px;
        max-height: 62px;
    }

    .mt-returns-card .mt-lp-copy h3,
    .mt-returns-step .mt-lp-copy h3 {
        font-size: 14px;
    }

    .mt-returns-card .mt-lp-copy p,
    .mt-returns-step .mt-lp-copy p,
    .mt-returns-conditions,
    .mt-returns-address {
        font-size: 12.5px;
    }

    .entry-wrap:has(.mt-terms) {
        padding-top: 24px;
    }

    .mt-terms-hero {
        padding: 25px 18px;
    }

    .mt-terms-hero h1 {
        font-size: 22px;
    }

    .mt-terms-hero p {
        font-size: 13.5px;
    }

    .mt-terms-card {
        margin-bottom: 13px;
        padding: 20px 18px;
    }

    .mt-terms-card h2 {
        font-size: 17px;
    }

    .mt-terms-card p,
    .mt-terms-card li {
        font-size: 13px;
    }
}
