.plasma-cookie-notice {
    position: fixed;
    bottom: 16px;
    z-index: 999999;
    width: min(360px, calc(100vw - 32px));
    padding: 14px 42px 14px 16px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: #202833;
    color: #f3f5f7;
    box-shadow: 0 10px 30px rgba(0,0,0,.28);
    font-size: 13px;
    line-height: 1.45;
}
.plasma-cookie-right { right: 16px; }
.plasma-cookie-left { left: 16px; }
.plasma-cookie-notice[hidden] { display: none !important; }
.plasma-cookie-close {
    position: absolute;
    top: 5px;
    right: 7px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font: 24px/30px Arial, sans-serif;
    cursor: pointer;
    opacity: .68;
}
.plasma-cookie-close:hover { opacity: 1; }
.plasma-cookie-text a {
    color: #ff4b24 !important;
    text-decoration: underline;
}

.plasma-consent-field {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    margin: 4px 0 18px;
    color: #e5e9ef !important;
    font-size: 13px;
    line-height: 1.45;
}
.plasma-consent-field input[type="checkbox"] {
    flex: 0 0 auto;
    width: 17px !important;
    height: 17px !important;
    min-height: 0 !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    accent-color: #ff4b24;
}
.plasma-consent-field label {
    margin: 0 !important;
    color: inherit !important;
    font-weight: 400 !important;
    cursor: pointer;
}
.plasma-consent-field a {
    color: #ff6a48 !important;
    text-decoration: underline;
    font-weight: 600;
}

.plasma-legal-footer {
    padding: 14px 16px 18px;
    text-align: center;
    color: #aeb7c3;
    font-size: 12px;
    line-height: 1.7;
    opacity: 1;
}
.plasma-legal-footer a {
    color: #ff4b24 !important;
    white-space: normal;
    text-decoration: none;
}
.plasma-legal-footer a:hover { text-decoration: underline; }
.plasma-legal-footer span { margin: 0 5px; }

/* Юридические страницы плагина. В Hello Elementor тема выводит свой заголовок
   страницы над содержимым; скрываем его, чтобы не было дубля с H1 документа. */
.plasma-legal-page .page-header,
.plasma-legal-page .entry-header:has(.entry-title) {
    display: none !important;
}

.plasma-legal-document {
    width: min(100%, 900px);
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 24px 56px;
    box-sizing: border-box;
    color: #d6dce5 !important;
    font-size: 16px;
    line-height: 1.7;
}
.plasma-legal-document h1,
.plasma-legal-document h2,
.plasma-legal-document h3 {
    color: #ffffff !important;
    font-weight: 700;
}
.plasma-legal-document h1 {
    margin: 0 0 26px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
}
.plasma-legal-document h2 {
    margin: 1.55em 0 .55em;
    font-size: clamp(21px, 2.3vw, 28px);
    line-height: 1.28;
}
.plasma-legal-document p,
.plasma-legal-document li {
    color: #d6dce5 !important;
}
.plasma-legal-document strong {
    color: #ffffff !important;
    font-weight: 700;
}
.plasma-legal-document a {
    color: #ff5a35 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.plasma-legal-document ul,
.plasma-legal-document ol {
    margin: .75em 0 1em 1.25em;
}

@media (max-width: 767px) {
    .plasma-legal-document {
        padding: 22px 16px 42px;
        font-size: 15px;
        line-height: 1.65;
    }
    .plasma-legal-document h1 { margin-bottom: 22px; }
}

@media (max-width: 480px) {
    .plasma-cookie-notice { left: 12px; right: 12px; bottom: 12px; width: auto; }
    .plasma-legal-footer span { display: none; }
    .plasma-legal-footer a { display: block; margin: 4px 0; }
}
