.hasepost-kommentare {
    --hasepost-kommentare-line: #d7dbe0;
    --hasepost-kommentare-muted: #72777d;
    --hasepost-kommentare-blue: #061f58;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    margin: 28px 0;
}

.hasepost-kommentare *,
.hasepost-kommentare *::before,
.hasepost-kommentare *::after {
    box-sizing: border-box;
}

.hasepost-kommentare__title {
    color: #20242a;
    font: 700 20px/1.25 Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    margin: 0 0 12px;
}

.hasepost-kommentare__form {
    margin: 0 0 14px;
}

.hasepost-kommentare__input {
    appearance: none;
    background: #fff;
    border: 1px solid var(--hasepost-kommentare-line);
    border-radius: 5px;
    color: #23262a;
    display: block;
    font: italic 14px/1.35 Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    min-height: 78px;
    outline: 0;
    padding: 10px 12px;
    resize: vertical;
    width: 100%;
}

.hasepost-kommentare__input:focus {
    border-color: #0b4b91;
    box-shadow: 0 0 0 2px rgba(11, 75, 145, 0.14);
}

.hasepost-kommentare__input::placeholder {
    color: var(--hasepost-kommentare-muted);
    opacity: 1;
}

.hasepost-kommentare__bar {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 8px;
}

.hasepost-kommentare__consent {
    align-items: center;
    color: #2f3337;
    cursor: pointer;
    display: inline-flex;
    flex: 1 1 auto;
    font: 12px/1.25 Arial, Helvetica, sans-serif;
    gap: 7px;
    letter-spacing: 0;
    min-width: 0;
}

.hasepost-kommentare__consent input {
    appearance: none;
    background: #fff;
    border: 1px solid #9aa0a6;
    border-radius: 2px;
    cursor: pointer;
    flex: 0 0 18px;
    height: 18px;
    margin: 0;
    position: relative;
    width: 18px;
}

.hasepost-kommentare__consent input:checked {
    background: var(--hasepost-kommentare-blue);
    border-color: var(--hasepost-kommentare-blue);
}

.hasepost-kommentare__consent input:checked::after {
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    height: 9px;
    left: 6px;
    position: absolute;
    top: 2px;
    transform: rotate(45deg);
    width: 5px;
}

.hasepost-kommentare__consent a {
    color: var(--hasepost-kommentare-blue);
    text-decoration: none;
}

.hasepost-kommentare__consent a:hover {
    text-decoration: underline;
}

.hasepost-kommentare[data-hasepost-kommentare-authenticated="true"] .hasepost-kommentare__consent {
    display: none;
}

.hasepost-kommentare__status {
    color: var(--hasepost-kommentare-muted);
    font-size: 13px;
    line-height: 1.35;
    min-height: 18px;
}

.hasepost-kommentare__submit,
.hasepost-kommentare__more {
    background: #fff;
    border: 1px solid #6d7074;
    border-radius: 5px;
    color: var(--hasepost-kommentare-blue);
    cursor: pointer;
    font: 700 13px/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    padding: 8px 12px;
}

.hasepost-kommentare__submit:disabled {
    border-color: #c7cbd1;
    color: #8c939c;
    cursor: not-allowed;
    opacity: 1;
}

.hasepost-kommentare__verify[hidden] {
    display: none;
}

.hasepost-kommentare__verify {
    border-top: 1px solid #eceff2;
    margin: -4px 0 16px;
    max-width: 100%;
    overflow: hidden;
    padding: 12px 0 2px;
}

.hasepost-kommentare__verify-title {
    color: #2f3337;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 3px;
}

.hasepost-kommentare__verify-text {
    color: var(--hasepost-kommentare-muted);
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 10px;
}

.hasepost-kommentare__verify-row {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
    max-width: 100%;
}

.hasepost-kommentare__verify-row[hidden] {
    display: none;
}

.hasepost-kommentare__verify-field {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.hasepost-kommentare__verify-field--code {
    flex: 0 1 auto;
}

.hasepost-kommentare__verify-field span {
    color: var(--hasepost-kommentare-muted);
    display: block;
    font-size: 12px;
    line-height: 1.3;
    margin: 0 0 3px;
}

.hasepost-kommentare__verify-field input {
    appearance: none;
    background: #fff;
    border: 1px solid var(--hasepost-kommentare-line);
    border-radius: 5px;
    color: #23262a;
    display: block;
    font: 14px/1.2 Arial, Helvetica, sans-serif;
    height: 36px;
    letter-spacing: 0;
    outline: 0;
    padding: 7px 9px;
    max-width: 100%;
    width: 100%;
}

.hasepost-kommentare__verify-row[data-hasepost-kommentare-email-row] {
    display: block;
    width: 100%;
}

.hasepost-kommentare__verify-row[data-hasepost-kommentare-email-row] .hasepost-kommentare__verify-field {
    display: block;
    max-width: 100%;
    min-width: 0 !important;
    width: 100% !important;
}

.hasepost-kommentare__verify-row[data-hasepost-kommentare-email-row] input[type="email"] {
    display: block;
    inline-size: 100%;
    max-inline-size: 100%;
    max-width: 100% !important;
    min-inline-size: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
}

.hasepost-kommentare__verify-row[data-hasepost-kommentare-email-row] .hasepost-kommentare__verify-button {
    display: block;
    margin-left: auto;
    margin-top: 7px;
    max-width: 100%;
    width: auto;
}

.hasepost-kommentare__verify-field input:focus {
    border-color: #0b4b91;
    box-shadow: 0 0 0 2px rgba(11, 75, 145, 0.14);
}

.hasepost-kommentare__verify-field .hasepost-kommentare__code-digits {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    gap: 5px;
    width: auto;
}

.hasepost-kommentare__verify-field .hasepost-kommentare__code-digits input {
    display: block;
    flex: 0 0 30px;
    font: 700 16px/1 Arial, Helvetica, sans-serif;
    height: 36px;
    padding: 6px 0;
    text-align: center;
    width: 30px !important;
}

.hasepost-kommentare__verify-button,
.hasepost-kommentare__verify-cancel {
    background: #fff;
    border: 1px solid #6d7074;
    border-radius: 5px;
    color: var(--hasepost-kommentare-blue);
    cursor: pointer;
    font: 700 13px/1 Arial, Helvetica, sans-serif;
    height: 36px;
    letter-spacing: 0;
    padding: 8px 12px;
    white-space: nowrap;
}

.hasepost-kommentare__verify-button {
    flex: 0 0 auto;
}

.hasepost-kommentare__verify-button:disabled {
    cursor: wait;
    opacity: 0.58;
}

.hasepost-kommentare__verify-button--check {
    align-items: center;
    border-color: #16833a;
    border-radius: 50%;
    color: #16833a;
    display: inline-flex;
    flex: 0 0 36px;
    justify-content: center;
    padding: 0;
    width: 36px;
}

.hasepost-kommentare__verify-button--check svg {
    display: block;
    height: 19px;
    width: 19px;
}

.hasepost-kommentare__verify-cancel {
    border-color: transparent;
    color: var(--hasepost-kommentare-muted);
    height: auto;
    margin-top: 2px;
    padding: 4px 0;
}

.hasepost-kommentare__preview {
    max-height: 180px;
    overflow: hidden;
    position: relative;
}

.hasepost-kommentare__preview::after {
    background: linear-gradient(rgba(255, 255, 255, 0), #fff);
    bottom: 0;
    content: "";
    height: 42px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.hasepost-kommentare__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hasepost-kommentare__item {
    align-items: flex-start;
    border-top: 1px solid #eceff2;
    color: #2f3337;
    display: flex;
    font-size: 14px;
    gap: 8px;
    justify-content: space-between;
    line-height: 1.45;
    padding: 10px 0;
}

.hasepost-kommentare__item-main {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.hasepost-kommentare__item-body {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.hasepost-kommentare__item-meta {
    color: var(--hasepost-kommentare-muted);
    display: block;
    font-size: 12px;
    line-height: 1.35;
    margin-top: 4px;
}

.hasepost-kommentare__item-owner {
    color: var(--hasepost-kommentare-muted);
    display: block;
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 4px;
}

.hasepost-kommentare .hasepost-kommentare__notice {
    border-top: 1px solid var(--hasepost-kommentare-line);
    color: var(--hasepost-kommentare-muted);
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px !important;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.35 !important;
    margin: 10px 0 0 !important;
    padding-top: 9px;
}

.hasepost-kommentare .hasepost-kommentare__notice strong {
    font-size: inherit;
    line-height: inherit;
}

.hasepost-kommentare-meta-link,
.hasepost-kommentare-meta-link:visited {
    color: #000 !important;
    text-decoration: none !important;
}

.hasepost-kommentare-meta-link:hover {
    color: #000 !important;
    text-decoration: none !important;
}

@media (max-width: 520px) {
    .hasepost-kommentare__bar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .hasepost-kommentare__submit {
        margin-left: auto;
    }

    .hasepost-kommentare__verify-row[data-hasepost-kommentare-email-row] {
        align-items: flex-start;
    }

    .hasepost-kommentare__verify-row[data-hasepost-kommentare-email-row] .hasepost-kommentare__verify-field {
        flex: 1 1 100%;
    }

    .hasepost-kommentare__verify-row[data-hasepost-kommentare-email-row] .hasepost-kommentare__verify-button {
        margin-left: auto;
    }
}

.hasepost-kommentare__item-actions {
    align-items: flex-start;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 5px;
    min-height: 30px;
}

.hasepost-kommentare__delete,
.hasepost-kommentare__logout,
.hasepost-kommentare__flag {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    height: 24px;
    justify-content: center;
    padding: 0;
    width: 24px;
}

.hasepost-kommentare__upvote-wrap {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 1px;
    height: 36px;
    justify-content: flex-start;
}

.hasepost-kommentare__flag {
    border: 1px solid #c84444;
    color: #b42323;
}

.hasepost-kommentare__flag.is-active {
    background: #fff5f5;
}

.hasepost-kommentare__upvote {
    align-items: center;
    background: #fff;
    border: 1px solid #16833a;
    border-radius: 50%;
    color: #16833a;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 24px;
    height: 24px;
    justify-content: center;
    min-height: 24px;
    min-width: 24px;
    padding: 0;
    width: 24px;
}

.hasepost-kommentare__upvote.is-active {
    background: #f3fbf5;
    box-shadow: 0 0 0 2px rgba(22, 131, 58, 0.18);
}

.hasepost-kommentare__flag.is-login-required,
.hasepost-kommentare__upvote.is-login-required {
    cursor: pointer;
    opacity: 0.72;
}

.hasepost-kommentare__upvote-count {
    color: var(--hasepost-kommentare-muted);
    display: block;
    font-size: 9px;
    line-height: 1;
    margin-top: 2px;
}

.hasepost-kommentare__delete {
    border: 1px solid #c84444;
    color: #b42323;
}

.hasepost-kommentare__logout {
    border: 1px solid #34373b;
    color: #202124;
}

.hasepost-kommentare__delete svg,
.hasepost-kommentare__logout svg,
.hasepost-kommentare__flag svg,
.hasepost-kommentare__upvote svg {
    display: block;
    height: 14px;
    width: 14px;
}

.hasepost-kommentare__empty {
    color: var(--hasepost-kommentare-muted);
    font-size: 14px;
    padding: 8px 0;
}

.hasepost-kommentare__more {
    bottom: 0;
    position: relative;
    z-index: 2;
}

.hasepost-kommentare-modal[hidden] {
    display: none;
}

.hasepost-kommentare-modal {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.hasepost-kommentare-modal__backdrop {
    background: rgba(255, 255, 255, 0.72);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.hasepost-kommentare-modal__dialog {
    background: #fff;
    border: 1px solid var(--hasepost-kommentare-line);
    border-radius: 5px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    left: 50%;
    max-height: min(70vh, 620px);
    max-width: min(720px, calc(100vw - 32px));
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 720px;
}

.hasepost-kommentare-modal__close {
    align-items: center;
    background: #fff;
    border: 1px solid #8a8f96;
    border-radius: 50%;
    color: #2f3337;
    cursor: pointer;
    display: inline-flex;
    font: 700 18px/1 Arial, Helvetica, sans-serif;
    height: 28px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 28px;
    z-index: 2;
}

.hasepost-kommentare-modal__body {
    max-height: min(70vh, 620px);
    overflow-y: auto;
    padding: 42px 18px 18px;
}

.hasepost-kommentare-modal .hasepost-kommentare__list {
    padding-right: 6px;
}

@media (max-width: 560px) {
    .hasepost-kommentare__verify-row {
        align-items: stretch;
        display: block;
    }

    .hasepost-kommentare__verify-button {
        margin-top: 7px;
        width: 100%;
    }

    .hasepost-kommentare__verify-field--code {
        max-width: none;
    }

    .hasepost-kommentare__verify-row[data-hasepost-kommentare-email-row] {
        display: block;
        width: 100%;
    }

    .hasepost-kommentare__verify-row[data-hasepost-kommentare-email-row] .hasepost-kommentare__verify-button {
        justify-self: end;
        width: auto;
    }
}
