/* WordPress Support & Maintenance */
.wp-support {
    --wp-support-black: #191716;
    --wp-support-white: #fcfcfc;
    --wp-support-buttercup: #ffdc7e;
    --wp-support-terracotta: #d7694c;
    --wp-support-aquamarine: #8ad6d6;
    --wp-support-strawberry: #e897b6;
    --wp-support-snot: #c4d94c;

    box-sizing: border-box;
    width: 100%;
    padding: 60px 0 68px;
    background-color: var(--wp-support-black);
    color: var(--wp-support-white);
    font-family: "Urbanist", sans-serif;
    overflow-x: clip;
}

.wp-support *,
.wp-support *::before,
.wp-support *::after {
    box-sizing: border-box;
}

/* Content column matches the site header: 1330px max, 40px either side
   below that, 30px at tablet, 20px on phones. */
.wp-support-container {
    width: min(1330px, 100% - 80px);
    margin-left: auto;
    margin-right: auto;
}

/* Vertical rhythm between sections lives here so any section can be
   dropped cleanly. */
.wp-support > * + *,
.wp-support-panel > * + * {
    margin-top: 68px;
}

.wp-support > .wp-support-panel {
    margin-top: 104px;
}

/* Type */
.wp-support-eyebrow {
    color: var(--wp-support-buttercup) !important;
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

.wp-support-hero-heading,
.wp-support-heading {
    color: var(--wp-support-white) !important;
    font-family: inherit !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.022em;
    margin: 0;
}

.wp-support-hero-heading {
    font-size: 4rem !important;
    max-width: 941px;
    margin: 7px auto 0;
    text-align: center;
}

.wp-support-heading {
    font-size: 3rem !important;
}

.wp-support-hero-heading em,
.wp-support-heading em {
    font-style: italic;
    font-weight: inherit;
}

.wp-support-body-text {
    color: var(--wp-support-white) !important;
    font-size: 1rem !important;
    font-weight: 500;
    line-height: 26px;
    margin: 0;
}

.wp-support-body-text p {
    margin: 0 0 26px;
}

.wp-support-body-text p:last-child {
    margin-bottom: 0;
}

/* Buttons */
.wp-support-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 27px;
}

.wp-support-buttons.is-centered {
    justify-content: center;
}

.wp-support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 16px;
    border: 1px solid var(--wp-support-white);
    border-radius: 2px;
    background-color: transparent;
    color: var(--wp-support-white) !important;
    font-size: 0.875rem !important;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wp-support-button.is-outline:hover,
.wp-support-button.is-outline:focus-visible {
    background-color: var(--wp-support-white);
    color: var(--wp-support-black) !important;
}

.wp-support-button.is-solid,
.wp-support-button.is-cta {
    border-color: var(--wp-support-buttercup);
    background-color: var(--wp-support-buttercup);
    color: var(--wp-support-black) !important;
}

.wp-support-button.is-cta {
    color: var(--wp-support-terracotta) !important;
}

.wp-support-button.is-solid:hover,
.wp-support-button.is-solid:focus-visible,
.wp-support-button.is-cta:hover,
.wp-support-button.is-cta:focus-visible {
    border-color: var(--wp-support-white);
    background-color: var(--wp-support-white);
}

.wp-support-button.is-cta:hover,
.wp-support-button.is-cta:focus-visible {
    border-color: var(--wp-support-black);
}

/* Images: radius on the wrapper (clipped) and the img itself, both
   !important - Elementor's kit image styles otherwise reset it. */
.wp-support-image {
    overflow: hidden;
    border-radius: 10px !important;
}

.wp-support-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px !important;
}

/* Hero */
.wp-support-hero .wp-support-buttons {
    margin-top: 31px;
}

.wp-support-hero-image {
    margin-top: 48px;
}

.wp-support-hero-image img {
    aspect-ratio: 1059 / 453;
}

/* Intro */
.wp-support-intro {
    display: grid;
    grid-template-columns: minmax(0, 518fr) minmax(0, 507fr);
    column-gap: 35px;
    align-items: center;
}

.wp-support-intro .wp-support-body-text {
    margin-top: 23px;
}

.wp-support-intro .wp-support-buttons {
    margin-top: 22px;
}

.wp-support-intro-image img {
    aspect-ratio: 507 / 465;
}

/* Clients */
.wp-support-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* Up to 68px between logos (the Figma spacing), tightening with the
       viewport so they stay on one line down to ~1280px. */
    gap: 32px clamp(32px, 4.5vw, 68px);
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.wp-support-logo {
    position: relative;
    flex: 0 0 auto;
    width: var(--logo-width);
    max-width: 100%;
    margin: 0;
    padding: 0;
    opacity: 0.3;
}

.wp-support-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Legacy Silverware: wordmark + strapline as two layers, placed as in Figma. */
.wp-support-logo.is-layered img {
    position: absolute;
}

.wp-support-logo .is-legacy-top {
    top: 0;
    left: 0;
}

.wp-support-logo .is-legacy-bottom {
    top: 80.94%;
    left: 15.17%;
    width: 70.28%;
}

/* Pills */
.wp-support-pills {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wp-support-pill {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 11px 15px 11px 16px;
    border-radius: 400px;
    background-color: var(--wp-support-white);
    color: #000 !important;
    font-size: 1rem !important;
    font-weight: 600;
    line-height: 26px;
    text-align: center;
    white-space: nowrap;
}

.wp-support-pill.is-issue-1,
.wp-support-pill.is-why-2 { background-color: var(--wp-support-snot); }
.wp-support-pill.is-issue-2,
.wp-support-pill.is-why-1 { background-color: var(--wp-support-buttercup); }
.wp-support-pill.is-issue-3,
.wp-support-pill.is-why-3 { background-color: var(--wp-support-aquamarine); }
.wp-support-pill.is-issue-4 { background-color: var(--wp-support-terracotta); }
.wp-support-pill.is-issue-5,
.wp-support-pill.is-why-4 { background-color: var(--wp-support-strawberry); }

/* Common issues: pills float around the heading on wide screens, sit in a
   row above it everywhere else. */
.wp-support-issues {
    position: relative;
    text-align: center;
}

.wp-support-issue-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.wp-support-issues-content .wp-support-heading {
    max-width: 627px;
    margin: 0 auto;
}

.wp-support-issues-content .wp-support-body-text {
    max-width: 547px;
    margin: 19px auto 0;
}

.wp-support-issues-content .wp-support-buttons {
    margin-top: 22px;
}

@media (min-width: 1200px) {
    .wp-support-issues {
        padding-top: 77px;
    }

    .wp-support-issue-pills {
        position: absolute;
        inset: 0;
        display: block;
        margin: 0;
        pointer-events: none;
    }

    .wp-support-issue-pills .wp-support-pill {
        position: absolute;
    }

    .wp-support-pill.is-issue-1 { top: 6px; left: calc(50% - 399px); }
    .wp-support-pill.is-issue-2 { top: 0; left: calc(50% + 136px); }
    .wp-support-pill.is-issue-3 { top: 164px; left: calc(50% - 541px); }
    .wp-support-pill.is-issue-4 { top: 106px; left: calc(50% + 334px); }
    .wp-support-pill.is-issue-5 { top: 223px; left: calc(50% + 317px); }
}

/* White panel: full-bleed, the dark page shows round its corners. */
.wp-support-panel {
    padding: 100px 0;
    border-radius: 8px;
    background-color: var(--wp-support-white);
}

.wp-support-panel .wp-support-heading,
.wp-support-panel .wp-support-body-text {
    color: var(--wp-support-black) !important;
}

.wp-support-includes > .wp-support-heading,
.wp-support-who > .wp-support-heading {
    max-width: 627px;
}

.wp-support-includes > .wp-support-body-text {
    max-width: 547px;
    margin-top: 12px;
}

.wp-support-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 25px;
    margin-top: 48px;
}

/* Terracotta tile with two buttercup squares, as drawn in Figma. */
.wp-support-feature-icon {
    position: relative;
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: var(--wp-support-terracotta);
}

.wp-support-feature-icon::before,
.wp-support-feature-icon::after {
    content: "";
    position: absolute;
    width: 10.778px;
    height: 10.778px;
    background-color: var(--wp-support-buttercup);
}

.wp-support-feature-icon::before {
    top: 7.5px;
    left: 7.5px;
    opacity: 0.5;
}

.wp-support-feature-icon::after {
    top: 18.28px;
    left: 18.28px;
}

.wp-support-feature-title {
    color: var(--wp-support-black) !important;
    font-family: inherit !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 22px 0 0;
}

.wp-support-feature-text {
    color: var(--wp-support-black) !important;
    font-size: 1rem !important;
    font-weight: 400;
    line-height: 26px;
    margin: 12px 0 0;
}

.wp-support-who > .wp-support-body-text {
    max-width: 452px;
    margin-top: 12px;
}

.wp-support-who-row {
    display: grid;
    grid-template-columns: minmax(0, 518fr) minmax(0, 428fr);
    gap: 40px 114px;
    align-items: start;
    margin-top: 31px;
}

.wp-support-who-image,
.wp-support-who-image img {
    border-radius: 8px !important;
}

.wp-support-who-image img {
    aspect-ratio: 518 / 315;
}

.wp-support-who-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wp-support-who-list li {
    margin: 0;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--wp-support-terracotta);
    color: var(--wp-support-black) !important;
    font-size: 1rem !important;
    font-weight: 500;
    line-height: 26px;
}

.wp-support-who-list li + li {
    margin-top: 20px;
}

/* Why choose Unit */
.wp-support-why {
    text-align: center;
}

.wp-support-why-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 22px;
    max-width: 840px;
    margin: 40px auto 0;
}

.wp-support-why .wp-support-buttons {
    margin-top: 40px;
}

/* Closing CTA card */
.wp-support-cta-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 371px;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--wp-support-white);
}

.wp-support-cta-content {
    align-self: center;
    padding: 40px 54px;
}

.wp-support-cta-heading {
    color: var(--wp-support-black) !important;
    font-family: inherit !important;
    font-size: 2.25rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.022em;
    margin: 0;
}

.wp-support-cta-text {
    max-width: 390px;
    color: var(--wp-support-black) !important;
    font-size: 1.25rem !important;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.022em;
    margin: 8px 0 21px;
}

.wp-support-cta-image {
    position: relative;
    min-height: 100%;
}

.wp-support-cta-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
}

/* Responsive */
@media (max-width: 1100px) {
    .wp-support-hero-heading {
        font-size: 3.25rem !important;
    }
    .wp-support-heading {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 1024px) {
    .wp-support-container {
        width: calc(100% - 60px);
    }
}

@media (max-width: 900px) {
    .wp-support {
        padding-top: 48px;
    }
    .wp-support > * + *,
    .wp-support-panel > * + * {
        margin-top: 56px;
    }
    .wp-support > .wp-support-panel {
        margin-top: 72px;
    }
    .wp-support-panel {
        padding: 72px 0;
    }
    .wp-support-intro {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 40px;
    }
    .wp-support-intro-image img {
        aspect-ratio: 4 / 3;
    }
    .wp-support-logos {
        gap: 28px 44px;
    }
    .wp-support-logo {
        width: calc(var(--logo-width) * 0.7);
    }
    .wp-support-features {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .wp-support-who-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .wp-support-cta-card {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }
    .wp-support-cta-image {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 767px) {
    .wp-support-container {
        width: calc(100% - 40px);
    }
    .wp-support-hero-heading {
        font-size: 2.5rem !important;
    }
    .wp-support-heading {
        font-size: 2rem !important;
    }
    .wp-support-hero-image img {
        aspect-ratio: 4 / 3;
    }
    .wp-support-logo {
        width: calc(var(--logo-width) * 0.55);
    }
    .wp-support-pill {
        white-space: normal;
    }
    .wp-support-cta-content {
        padding: 40px 24px;
    }
    .wp-support-cta-heading {
        font-size: 1.875rem !important;
    }
}
