/* ==========================================================================
   TempMailX - Dedicated Edu Mail Page Stylesheet (edu.css - 3-Column Grid)
   ========================================================================== */

.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: 12px !important;
}

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

.ql-editor h2 {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    color: #111827 !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2) !important;
}

html.dark .ql-editor h2,
.dark .ql-editor h2 {
    color: #ffffff !important;
    border-bottom-color: rgba(96, 165, 250, 0.25) !important;
}

/* 3-COLUMN PERK CARDS GRID */
.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: 32px 0 !important;
}

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

@media (min-width: 1024px) {
    .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: 20px !important;
    padding: 24px 20px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !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 20px rgba(0, 0, 0, 0.25) !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:hover {
    transform: translateY(-5px) !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.18) !important;
}

.tmx-card-title {
    font-size: 1.15rem !important;
    display: block !important;
    margin: 6px 0 !important;
    color: #111827 !important;
}

html.dark .tmx-card-title,
.dark .tmx-card-title {
    color: #f3f4f6 !important;
}

.tmx-card-desc {
    font-size: 13.5px !important;
    color: #6b7280 !important;
    display: block !important;
    margin-bottom: 16px !important;
    line-height: 1.5 !important;
    flex: 1 !important;
}

html.dark .tmx-card-desc,
.dark .tmx-card-desc {
    color: #9ca3af !important;
}

.tmx-claim-link {
    display: inline-block !important;
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
    padding: 8px 18px !important;
    border-radius: 100px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.tmx-claim-link:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

html.dark .tmx-claim-link,
.dark .tmx-claim-link {
    background: #1e293b !important;
    color: #60a5fa !important;
    border-color: #334155 !important;
}

html.dark .tmx-claim-link:hover,
.dark .tmx-claim-link:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border-color: #3b82f6 !important;
}

.ql-editor ol {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 20px !important;
    padding: 24px 28px 24px 44px !important;
    margin: 28px 0 !important;
    list-style-type: decimal !important;
}

html.dark .ql-editor ol,
.dark .ql-editor ol {
    background: #1f2937 !important;
    border-color: #374151 !important;
}

.ql-editor ol li {
    margin-bottom: 14px !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    color: #374151 !important;
}

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

.ql-editor p {
    color: #4b5563 !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
}

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