/* Legal pages only (.dr-legal). Does not style the rest of the storefront. */
.is-ctl-cms .cms-element-text .dr-legal {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    color: #e6e6e6;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.is-ctl-cms .cms-element-text .dr-legal p,
.is-ctl-cms .cms-element-text .dr-legal li {
    color: #e6e6e6;
    font-size: inherit;
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 0.9em;
}

.is-ctl-cms .cms-element-text .dr-legal > h2 {
    color: #f4c400 !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none !important;
    text-shadow: none !important;
    margin: 0 0 0.55em;
}

.is-ctl-cms .cms-element-text .dr-legal .dr-legal-updated {
    color: #b5b5b5 !important;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0.9em;
}

.is-ctl-cms .cms-element-text .dr-legal h3 {
    color: #ffffff !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none !important;
    text-shadow: none !important;
    margin: 1.8em 0 0.6em;
    padding-bottom: 0.35em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.is-ctl-cms .cms-element-text .dr-legal a {
    color: #f4c400;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.is-ctl-cms .cms-element-text .dr-legal a:hover {
    color: #ffd84d;
}

.is-ctl-cms .cms-element-text .dr-legal strong {
    color: #ffffff;
    font-weight: 700;
}

.is-ctl-cms .cms-element-text .dr-legal ul,
.is-ctl-cms .cms-element-text .dr-legal ol {
    margin: 0 0 0.9em;
    padding-left: 1.35em;
    color: #e6e6e6;
}

.is-ctl-cms .cms-element-text .dr-legal ul {
    list-style: disc outside;
}

.is-ctl-cms .cms-element-text .dr-legal ol {
    list-style: decimal outside;
}

.is-ctl-cms .cms-element-text .dr-legal li::marker {
    color: #f4c400;
}

.is-ctl-cms .cms-element-text .dr-legal table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 0.9em;
    color: #e6e6e6;
    background: transparent;
}

.is-ctl-cms .cms-element-text .dr-legal th,
.is-ctl-cms .cms-element-text .dr-legal td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.55em 0.7em;
    vertical-align: top;
    color: #e6e6e6;
    background: transparent;
    font-size: 15px;
    line-height: 1.55;
}

.is-ctl-cms .cms-element-text .dr-legal th {
    color: #ffffff;
    font-weight: 700;
    background: #161616;
}

.is-ctl-cms .cms-element-text .dr-legal pre.dr-legal-form {
    color: #e6e6e6;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem 1.1rem;
    margin: 0 0 0.9em;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
    line-height: 1.65;
}

.is-ctl-cms .cms-element-text .dr-legal .dr-legal-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
}

.is-ctl-cms .cms-element-text .dr-legal .dr-legal-form-actions button {
    color: #f4c400;
    background: transparent;
    border: 1px solid rgba(244, 196, 0, 0.55);
    border-radius: 6px;
    padding: 0.35em 0.8em;
    font-size: 15px;
    line-height: 1.4;
    cursor: pointer;
}

.is-ctl-cms .cms-element-text .dr-legal .dr-legal-form-actions button:hover {
    color: #ffd84d;
    border-color: #ffd84d;
}

@media (max-width: 767px) {
    .is-ctl-cms .cms-element-text .dr-legal {
        font-size: 15px;
    }

    .is-ctl-cms .cms-element-text .dr-legal > h2 {
        font-size: 24px !important;
    }

    .is-ctl-cms .cms-element-text .dr-legal h3 {
        font-size: 20px !important;
    }
}
