/* Shared comparison action in every Druivenatlas card header. */
body.single-druivenras .dr-header.dr-header-compare {
    display: grid;
    grid-template-columns: minmax(0, 1fr) fit-content(45%);
    gap: 6px 28px;
}
body.single-druivenras .dr-header-compare > * {
    grid-column: 1;
    min-width: 0;
}
body.single-druivenras .dr-header-compare > .dr-compare-cta {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    box-sizing: border-box;
    padding: 11px 17px;
    margin: 0;
    border: 1px solid #7b1e22;
    border-radius: 5px;
    background: #7b1e22;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
    transition: background-color .15s ease, border-color .15s ease;
}
body.single-druivenras .dr-header-compare > .dr-compare-cta:visited {
    color: #fff;
}
body.single-druivenras .dr-header-compare > .dr-compare-cta:hover {
    background: #59161a;
    border-color: #59161a;
    color: #fff;
}
body.single-druivenras .dr-header-compare > .dr-compare-cta:focus-visible {
    outline: 3px solid #527c89;
    outline-offset: 4px;
}
.dr-compare-cta svg {
    flex-shrink: 0;
}
@media (max-width: 700px) {
    body.single-druivenras .dr-header.dr-header-compare {
        grid-template-columns: minmax(0, 1fr);
    }
    body.single-druivenras .dr-header-compare > .dr-compare-cta {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        margin-top: 10px;
        white-space: normal;
        text-align: left;
    }
}
@media (prefers-reduced-motion: reduce) {
    .dr-compare-cta {
        transition: none !important;
    }
}
