.mil-social li span {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
    color: #737373;
    -webkit-transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
    transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 50px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-open {
    cursor: pointer;
}

#legal-checkbox:checked ~ .modal {
    display: flex;
}

.modal-legal {
    display: inline-block;
}

input[name=required] {
    height: 0;
    opacity: 0;
    overflow: hidden;
    width: 0;
    z-index: -1;
}

.meta-consent-link {
    margin-left: 12px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.meta-consent-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    width: min(440px, calc(100% - 40px));
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #222;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    font-size: 15px;
    line-height: 1.5;
}

.meta-consent-banner[hidden] {
    display: none;
}

.meta-consent-banner p {
    margin: 0 0 18px;
}

.meta-consent-actions {
    display: flex;
    gap: 10px;
}

.meta-consent-actions button {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #222;
    border-radius: 4px;
    background: #fff;
    color: #222;
    font: inherit;
    cursor: pointer;
}

.meta-consent-actions button:last-child {
    background: #222;
    color: #fff;
}

.meta-consent-actions button:focus-visible,
.meta-consent-link:focus-visible {
    outline: 2px solid #222;
    outline-offset: 3px;
}
