/* Concept D: a loud restaurant poster with circular product photography. */
.page-home.home-concept-d {
    background: #fff3c7;
}

.poster-hero {
    background: #ef3f47;
    color: #111812;
    overflow: hidden;
    width: 100%;
}

.poster-ticker {
    align-items: center;
    background: #111812;
    color: #c6f25b;
    display: flex;
    font: 800 12px/1 var(--font-display);
    gap: clamp(22px, 5vw, 70px);
    justify-content: center;
    letter-spacing: .15em;
    min-height: 50px;
    overflow: hidden;
    text-transform: uppercase;
    white-space: nowrap;
}

.poster-ticker i {
    color: #ef3f47;
    font-size: 8px;
}

.poster-canvas {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1440px;
    min-height: 690px;
    padding: 44px clamp(24px, 4vw, 58px) 50px;
    position: relative;
}

.poster-heading {
    align-self: center;
    grid-column: 1 / span 7;
    grid-row: 1;
    position: relative;
    z-index: 3;
}

.poster-heading > span {
    background: #fff3c7;
    display: inline-block;
    font: 800 10px/1 var(--font-body);
    letter-spacing: .1em;
    margin-bottom: 26px;
    padding: 9px 12px;
    text-transform: uppercase;
    transform: rotate(-2deg);
}

.poster-hero h1 {
    font: 800 clamp(76px, 9vw, 138px)/.75 var(--font-display);
    letter-spacing: -.095em;
    margin: 0;
}

.poster-hero h1 strong,
.poster-hero h1 em {
    display: block;
}

.poster-hero h1 em {
    color: #fff3c7;
    font-size: .39em;
    font-style: normal;
    letter-spacing: -.045em;
    line-height: 1;
    margin-top: 28px;
    max-width: 13ch;
}

.poster-picture {
    align-self: center;
    grid-column: 7 / -1;
    grid-row: 1;
    justify-self: end;
    margin: 0;
    position: relative;
    transform: rotate(3deg);
    width: min(43vw, 560px);
    z-index: 2;
}

.poster-picture > div {
    aspect-ratio: 1;
    background: #fff3c7;
    border: 12px solid #fff3c7;
    border-radius: 50%;
    overflow: hidden;
}

.poster-picture img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.poster-picture figcaption {
    background: #111812;
    color: #fff;
    font: 800 10px/1 var(--font-body);
    padding: 10px 13px;
    position: absolute;
    right: 9%;
    top: 2%;
    transform: rotate(5deg);
}

.poster-note {
    align-self: end;
    background: #fff;
    border: 2px solid #111812;
    grid-column: 6 / span 4;
    grid-row: 1;
    justify-self: center;
    max-width: 350px;
    padding: 24px;
    position: relative;
    transform: rotate(-2deg);
    z-index: 5;
}

.poster-note > span {
    color: #c61f27;
    font: 800 9px/1 var(--font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.poster-note p {
    color: #263029;
    font-size: 13px;
    line-height: 1.55;
    margin: 14px 0 20px;
}

.poster-note a {
    color: #111812;
    font: 800 12px/1.2 var(--font-display);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.poster-links {
    background: #fff3c7;
    border-bottom: 2px solid #111812;
    border-top: 2px solid #111812;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.poster-links a {
    align-items: center;
    color: #111812;
    display: grid;
    font: 800 16px/1.1 var(--font-display);
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 100px;
    padding: 18px clamp(16px, 2.5vw, 36px);
    text-decoration: none;
}

.poster-links a + a {
    border-left: 2px solid #111812;
}

.poster-links span {
    font-size: 9px;
}

.poster-links i {
    font-style: normal;
}

.poster-links a:hover,
.poster-links a:focus-visible {
    background: #c6f25b;
}

.home-concept-d .trust-strip {
    background: #fff3c7;
    margin-top: 0;
}

.home-concept-d .solutions-section-primary {
    background: #ffd9d5;
}

.home-concept-d .solutions-section-primary .solution-grid {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-concept-d .solutions-section-primary .solution-card {
    background: #fff;
    border: 2px solid #111812;
    border-radius: 0;
}

.home-concept-d .solutions-section-primary .solution-card-content > span {
    color: #515d53;
}

.home-concept-d .solutions-section-primary .solution-card:nth-child(2),
.home-concept-d .solutions-section-primary .solution-card:nth-child(3) {
    transform: translateY(22px);
}

.home-concept-d .worldline-terminal-section,
.home-concept-d .home-pricing,
.home-concept-d .home-customer-proof {
    border: 2px solid #111812;
    border-radius: 0;
}

.home-concept-d .worldline-terminal-section {
    background: #eee4ff;
}

.home-concept-d .worldline-terminal-copy > p,
.home-concept-d .worldline-rate small {
    color: #4b554d;
}

@media (max-width: 900px) {
    .poster-canvas {
        min-height: 620px;
    }

    .poster-heading {
        grid-column: 1 / span 8;
    }

    .poster-picture {
        grid-column: 7 / -1;
        width: min(49vw, 470px);
    }

    .poster-note {
        grid-column: 5 / span 5;
    }
}

@media (max-width: 700px) {
    .poster-ticker {
        gap: 22px;
        justify-content: flex-start;
        min-height: 44px;
        padding: 0 18px;
    }

    .poster-canvas {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 30px 18px 32px;
    }

    .poster-heading {
        order: 1;
    }

    .poster-heading > span {
        margin-bottom: 22px;
    }

    .poster-hero h1 {
        font-size: clamp(58px, 18vw, 76px);
    }

    .poster-hero h1 em {
        margin-top: 18px;
    }

    .poster-picture {
        align-self: center;
        margin-top: 28px;
        order: 2;
        width: min(82vw, 310px);
    }

    .poster-picture > div {
        border-width: 8px;
    }

    .poster-note {
        align-self: stretch;
        margin: -26px 8px 0;
        max-width: none;
        order: 3;
        padding: 22px;
        transform: rotate(-1deg);
    }

    .poster-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .poster-links a {
        font-size: 14px;
        min-height: 90px;
        padding: 14px;
    }

    .poster-links a + a {
        border-left: 0;
    }

    .poster-links a:nth-child(even) {
        border-left: 2px solid #111812;
    }

    .poster-links a:nth-child(n + 3) {
        border-top: 2px solid #111812;
    }

    .home-concept-d .solutions-section-primary .solution-grid {
        grid-template-columns: 1fr;
    }

    .home-concept-d .solutions-section-primary .solution-card:nth-child(2),
    .home-concept-d .solutions-section-primary .solution-card:nth-child(3) {
        transform: none;
    }
}
