/*
 * ENERGY 106 — DAB HELPER V2
 *
 * Clean standalone component.
 * The postcode checker is not styled here.
 */

.energy-dab-help-v2,
.energy-dab-help-v2 * {
    box-sizing: border-box;
}

.energy-dab-help-v2 {
    --edh-pink: #ed1584;
    --edh-border: #522761;
    --edh-muted: #c8b0d4;

    display: grid;
    width: 100%;
    min-width: 0;
    grid-column: 1 / -1;
    gap: 14px;
    margin-top: 15px;
    color: #fff;
    container-type: inline-size;
}

.energy-dab-help-v2 a {
    text-decoration: none;
}

.energy-dab-help-v2 h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(20px, 2.2vw, 27px);
    font-weight: 950;
    line-height: 1.14;
}

.energy-dab-help-v2 p {
    margin: 0;
    color: var(--edh-muted);
    font-size: 13px;
    line-height: 1.5;
}

.energy-dab-help-v2 .edh2-eyebrow {
    margin-bottom: 7px;
    color: var(--edh-pink);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}

/* LISTENING ALTERNATIVES */

.energy-dab-help-v2 .edh2-listen {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, 365px);
    align-items: center;
    gap: 24px;
    min-width: 0;
    padding: 21px 25px;
    border: 1px solid var(--edh-border);
    border-radius: 5px;
    background: #260735;
}

.energy-dab-help-v2 .edh2-listen__copy {
    min-width: 0;
}

.energy-dab-help-v2 .edh2-listen__copy p {
    margin-top: 7px;
}

.energy-dab-help-v2 .edh2-listen__right {
    display: flex;
    width: 100%;
    max-width: 365px;
    justify-self: end;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.energy-dab-help-v2 .edh2-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    width: 100%;
}

.energy-dab-help-v2 .edh2-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 11px 16px;
    border: 1px solid var(--edh-pink);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 950;
    line-height: 1.25;
    white-space: nowrap;
    transition:
        background-color .18s ease,
        border-color .18s ease;
}

.energy-dab-help-v2 .edh2-button svg {
    display: block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.energy-dab-help-v2 .edh2-button--primary {
    background: var(--edh-pink);
    color: #fff;
}

.energy-dab-help-v2 .edh2-button--primary:hover {
    background: #c9006a;
    border-color: #c9006a;
    color: #fff;
}

.energy-dab-help-v2 .edh2-button--outline {
    background: transparent;
    border-color: #79508b;
    color: #fff;
}

.energy-dab-help-v2 .edh2-button--outline:hover {
    background: rgba(237,21,132,.1);
    border-color: var(--edh-pink);
    color: #fff;
}

.energy-dab-help-v2 .edh2-alexa-help {
    max-width: 440px;
    font-size: 11px;
    text-align: right;
}

.energy-dab-help-v2 .edh2-alexa-help strong {
    color: #fff;
    font-weight: 800;
}

/* THREE COMPACT STEPS */

.energy-dab-help-v2 .edh2-guide {
    min-width: 0;
    padding: 21px 25px 23px;
    border: 1px solid var(--edh-border);
    border-radius: 5px;
    background: #260735;
}

.energy-dab-help-v2 .edh2-guide__heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 18px;
}

.energy-dab-help-v2 .edh2-guide__heading > p {
    padding-bottom: 3px;
    font-size: 12px;
}

.energy-dab-help-v2 .edh2-steps {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.energy-dab-help-v2 .edh2-steps li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    padding: 6px 20px;
    border-right: 1px solid var(--edh-border);
}

.energy-dab-help-v2 .edh2-steps li:first-child {
    padding-left: 0;
}

.energy-dab-help-v2 .edh2-steps li:last-child {
    padding-right: 0;
    border-right: 0;
}

.energy-dab-help-v2 .edh2-step-number {
    flex: 0 0 auto;
    color: var(--edh-pink);
    font-size: 22px;
    font-weight: 950;
    line-height: 1.1;
}

.energy-dab-help-v2 .edh2-steps li > div {
    min-width: 0;
}

.energy-dab-help-v2 .edh2-steps strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.3;
}

.energy-dab-help-v2 .edh2-steps p {
    font-size: 12px;
}

/* COVERAGE FAQ */

.energy-dab-help-v2 .edh2-faq {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--edh-border);
    border-radius: 5px;
    background: #230632;
}

.energy-dab-help-v2 .edh2-faq summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 65px;
    padding: 13px 21px;
    list-style: none;
    cursor: pointer;
    color: #fff;
}

.energy-dab-help-v2 .edh2-faq summary::-webkit-details-marker {
    display: none;
}

.energy-dab-help-v2 .edh2-faq summary strong {
    flex: 1;
    font-size: 14px;
    font-weight: 850;
}

.energy-dab-help-v2 .edh2-faq__question-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: 2px solid var(--edh-pink);
    border-radius: 50%;
    color: var(--edh-pink);
    font-size: 17px;
    font-weight: 950;
}

.energy-dab-help-v2 .edh2-faq summary svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    stroke: var(--edh-pink);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .18s ease;
}

.energy-dab-help-v2 .edh2-faq[open] summary svg {
    transform: rotate(180deg);
}

.energy-dab-help-v2 .edh2-faq__answer {
    display: grid;
    gap: 10px;
    padding: 0 22px 19px 61px;
}

.energy-dab-help-v2 .edh2-faq__answer p {
    max-width: 92ch;
    font-size: 12px;
    line-height: 1.6;
}

/* TABLET / CONSTRAINED CONTENT */

@container (max-width: 760px) {
    .energy-dab-help-v2 .edh2-listen {
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    .energy-dab-help-v2 .edh2-listen__right {
        align-items: flex-start;
        max-width: none;
    }

    .energy-dab-help-v2 .edh2-actions {
        justify-content: flex-start;
    }

    .energy-dab-help-v2 .edh2-alexa-help {
        max-width: none;
        text-align: left;
    }

    .energy-dab-help-v2 .edh2-steps li {
        gap: 9px;
        padding: 6px 12px;
    }
}

/* MOBILE */

@container (max-width: 600px) {
    .energy-dab-help-v2 {
        gap: 11px;
    }

    .energy-dab-help-v2 .edh2-listen,
    .energy-dab-help-v2 .edh2-guide {
        padding: 18px 16px;
    }

    .energy-dab-help-v2 h2 {
        font-size: 22px;
    }

    .energy-dab-help-v2 .edh2-actions {
        flex-wrap: wrap;
    }

    .energy-dab-help-v2 .edh2-button {
        flex: 1 1 145px;
        min-width: 0;
        white-space: normal;
        text-align: center;
    }

    .energy-dab-help-v2 .edh2-guide__heading {
        margin-bottom: 13px;
    }

    .energy-dab-help-v2 .edh2-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .energy-dab-help-v2 .edh2-steps li,
    .energy-dab-help-v2 .edh2-steps li:first-child,
    .energy-dab-help-v2 .edh2-steps li:last-child {
        gap: 13px;
        padding: 12px 0;
        border-right: 0;
        border-bottom: 1px solid var(--edh-border);
    }

    .energy-dab-help-v2 .edh2-steps li:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .energy-dab-help-v2 .edh2-steps li:first-child {
        padding-top: 0;
    }

    .energy-dab-help-v2 .edh2-faq summary {
        min-height: 59px;
        padding: 13px 15px;
    }

    .energy-dab-help-v2 .edh2-faq__answer {
        padding: 0 16px 17px;
    }
}
