/* ==========================================================================
   TempMailX - Dedicated Legal Pages Stylesheet (legal.css for Privacy & TOS)
   ========================================================================== */

.ql-editor {
    padding: 24px 10px !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

/* H1 SADE TEMİZ BAŞLIK (Mavi/Mor Geçiş Yok!) */
.ql-editor h1 {
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    color: #111827 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

html.dark .ql-editor h1,
.dark .ql-editor h1 {
    color: #ffffff !important;
}

.ql-editor h2 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin-top: 36px !important;
    margin-bottom: 16px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #e5e7eb !important;
}

html.dark .ql-editor h2,
.dark .ql-editor h2 {
    color: #ffffff !important;
    border-bottom-color: #374151 !important;
}

/* YAYVAN ÜST TARAF ÖZET KARTLARI */
.ql-editor ul:first-of-type {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 30px 0 !important;
}

@media (min-width: 640px) {
    .ql-editor ul:first-of-type {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.ql-editor ul:first-of-type li {
    list-style: none !important;
    list-style-type: none !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 22px 18px !important;
    text-align: center !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    margin: 0 !important;
}

html.dark .ql-editor ul:first-of-type li,
.dark .ql-editor ul:first-of-type li {
    background: #1f2937 !important;
    border-color: #374151 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2) !important;
}

.ql-editor ul:first-of-type li::before,
.ql-editor .ql-ui {
    display: none !important;
    content: none !important;
}

.ql-editor ul:first-of-type li strong {
    color: #111827 !important;
}

html.dark .ql-editor ul:first-of-type li strong,
.dark .ql-editor ul:first-of-type li strong {
    color: #f3f4f6 !important;
}

.ql-editor ul:first-of-type li span {
    color: #6b7280 !important;
}

html.dark .ql-editor ul:first-of-type li span,
.dark .ql-editor ul:first-of-type li span {
    color: #9ca3af !important;
}

.ql-editor p {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: #4b5563 !important;
    margin-bottom: 16px !important;
}

html.dark .ql-editor p,
.dark .ql-editor p {
    color: #9ca3af !important;
}

.ql-editor li {
    color: #4b5563 !important;
}

html.dark .ql-editor li,
.dark .ql-editor li {
    color: #9ca3af !important;
}

.ql-editor a:not(.tmx-primary-btn):not(.tmx-outline-btn) {
    color: #2563eb !important;
    font-weight: 600 !important;
}

html.dark .ql-editor a:not(.tmx-primary-btn):not(.tmx-outline-btn),
.dark .ql-editor a:not(.tmx-primary-btn):not(.tmx-outline-btn) {
    color: #60a5fa !important;
}