/* Dispatch Answers -------------------------------------------------------- */
.dispatchanswers-block {
    padding: var(--section-padding-top) 0 var(--section-padding-bottom);
}

.dispatchanswers-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
    align-items: start;
}

.dispatchanswers-intro {
    position: sticky;
    top: calc(var(--header-h) + 32px);
}

.dispatchanswers-intro .cm-intro {
    margin-bottom: 0;
}

.dispatchanswers-list {
    border-top: 2px solid var(--ink);
}

.dispatchanswers-item {
    border-bottom: 1px solid var(--steel);
}

.dispatchanswers-item summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    cursor: pointer;
    list-style: none;
}

.dispatchanswers-item summary::-webkit-details-marker {
    display: none;
}

.dispatchanswers-item summary:focus-visible {
    outline: 3px solid var(--tertiary);
    outline-offset: 4px;
}

.dispatchanswers-q {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.35;
}

.dispatchanswers-item summary:hover .dispatchanswers-q {
    color: var(--primary);
}

/* Plus that turns to a minus. */
.dispatchanswers-toggle {
    position: relative;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--primary);
}

.dispatchanswers-toggle::before,
.dispatchanswers-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    background: #fff;
    transition: transform 0.2s ease-out;
}

.dispatchanswers-toggle::after {
    transform: rotate(90deg);
}

.dispatchanswers-item[open] .dispatchanswers-toggle {
    background: var(--tertiary);
}

.dispatchanswers-item[open] .dispatchanswers-toggle::before,
.dispatchanswers-item[open] .dispatchanswers-toggle::after {
    background: var(--secondary);
}

.dispatchanswers-item[open] .dispatchanswers-toggle::after {
    transform: rotate(0deg);
}

.dispatchanswers-a {
    max-width: 680px;
    padding: 0 52px 28px 0;
}

.dispatchanswers-a > *:first-child { margin-top: 0; }
.dispatchanswers-a > *:last-child { margin-bottom: 0; }

/* Dark grounds */
.cm-ground-night .dispatchanswers-list,
.cm-ground-navy .dispatchanswers-list {
    border-top-color: var(--tertiary);
}

.cm-ground-night .dispatchanswers-item,
.cm-ground-navy .dispatchanswers-item {
    border-bottom-color: rgba(255, 255, 255, 0.22);
}

.cm-ground-night .dispatchanswers-item summary:hover .dispatchanswers-q,
.cm-ground-navy .dispatchanswers-item summary:hover .dispatchanswers-q {
    color: var(--tertiary);
}

.cm-ground-night .dispatchanswers-toggle {
    background: var(--primary);
}

.cm-ground-navy .dispatchanswers-toggle {
    background: var(--secondary);
}

/* Tablet - 1199px and below */
@media (max-width: 1199px) {
    .dispatchanswers-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .dispatchanswers-intro {
        position: static;
        max-width: 760px;
    }

    .dispatchanswers-list {
        max-width: 860px;
    }
}

/* Mobile - 767px and below */
@media (max-width: 767px) {
    .dispatchanswers-item summary {
        gap: 16px;
        padding: 20px 0;
    }

    .dispatchanswers-q {
        font-size: 1.1rem;
    }

    .dispatchanswers-a {
        padding: 0 0 24px;
    }
}
