.mk-legal-hub :where(h1, h2, h3, p, ul) {
    margin: 0;
}

.mk-legal-hub-hero {
    background: var(--mk-sky);
}

.mk-legal-hub-hero .mk-wrap {
    padding-block: 48px;
}

.mk-legal-hub h1 {
    font-size: clamp(2.5rem, 6.4vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.mk-legal-hub mark {
    display: inline-block;
    max-width: 100%;
    padding: 0 .18em .05em;
    border-radius: .18em;
    color: var(--mk-ink);
    background: var(--mk-lime);
    transform: rotate(-1.2deg);
}

.mk-legal-hub-hero p {
    max-width: 560px;
    margin-top: 20px;
    font-size: 1.375rem;
    line-height: 1.45;
}

.mk-legal-hub-list {
    padding-block: 8px;
}

.mk-legal-hub-list ul {
    max-width: 820px;
    padding: 0;
    list-style: none;
}

.mk-legal-hub-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    min-height: 65px;
    padding-block: 4px;
    border-bottom: 1px solid var(--mk-line);
    color: var(--mk-ink);
    text-decoration: none;
}

.mk-legal-hub-list a:hover strong {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mk-legal-hub-list strong {
    font-size: 1.375rem;
    line-height: 1.2;
}

.mk-legal-hub-list span {
    color: var(--mk-muted);
}

.mk-legal-hub-ranking,
.mk-legal-hub-cookies {
    display: grid;
    gap: 18px;
    padding-block: 64px;
    scroll-margin-top: 20px;
}

.mk-legal-hub-ranking {
    padding-block-end: 0;
}

.mk-legal-hub-ranking p {
    max-width: 55ch;
    line-height: 1.5;
}

.mk-legal-hub h2 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.mk-legal-hub h3 {
    margin-bottom: 6px;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.2;
}

.mk-legal-hub-cookie-card {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 866px;
    padding: 22px;
    border: 1.5px solid var(--mk-ink);
    border-radius: 14px;
}

.mk-legal-hub-cookie-card > div {
    flex: 1 1 min(100%, 340px);
}

.mk-legal-hub-cookie-card p {
    line-height: 1.5;
}

.mk-legal-hub-cookie-card > .mk-legal-hub-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-basis: min(100%, 380px);
}

.mk-legal-hub-cookie-actions a,
.mk-legal-hub-cookie-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 6px 14px;
    border: 1.5px solid var(--mk-ink);
    border-radius: 10px;
    color: var(--mk-ink);
    background: var(--mk-white);
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.mk-legal-hub-cookie-actions button {
    flex: 1 1 140px;
    cursor: pointer;
}

.mk-legal-hub-cookie-actions [data-cookie-accept] {
    flex-basis: 100%;
}

.mk-legal-hub-cookie-actions [hidden] {
    display: none;
}
