/* GPT Makale Oluşturucu Frontend CSS */
.article-pro-heading {
    position: relative;
    font-size: 24px;
    color: #333;
    margin-top: 1.5em;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5f5f5;
}

.article-pro-subheading {
    position: relative;
    font-size: 20px;
    color: #444;
    margin-top: 1.2em;
    padding-left: 15px;
    border-left: 3px solid #0073aa;
}

.article-pro-separator {
    height: 3px;
    background: linear-gradient(90deg, #0073aa, transparent);
    margin: 10px 0 20px;
    border-radius: 3px;
}

.article-pro-intro {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    border-left: 4px solid #0073aa;
    padding-left: 15px;
    margin-bottom: 25px;
}

.article-pro-conclusion {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
    border-left: 4px solid #0073aa;
}

.article-pro-checklist {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.article-pro-checklist li {
    position: relative;
    padding-left: 28px !important;
    margin-bottom: 10px !important;
    line-height: 1.5;
}

.article-pro-checklist li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: #0073aa;
    font-weight: bold;
    font-size: 18px;
}


.article-pro-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden; /* For border-radius */
}

/* Enhance default table style if needed */
.article-pro-table th {
    background-color: #0073aa;
    color: white;
    font-weight: bold;
    text-align: left;
    padding: 12px 15px;
}

.article-pro-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

.article-pro-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.article-pro-table tr:last-child td {
    border-bottom: none;
}

.article-pro-table tr:hover {
    background-color: #f1f1f1;
}

.article-pro-quote {
    font-style: italic;
    padding: 15px 20px;
    margin: 20px 0;
    background-color: #f8f9fa;
    border-left: 5px solid #0073aa;
    position: relative;
}

/* Optional quote styling */
.article-pro-quote:before {
    content: '"';
    position: absolute;
    left: -15px; /* Adjust as needed */
    top: 10px;
    font-size: 30px;
    font-family: Georgia, serif;
    color: #0073aa;
    background: white; /* To cover border */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px; /* Adjust vertical alignment */
}


.article-pro-toc {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 15px 20px;
    margin: 25px 0 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    width: 100%;
    box-sizing: border-box;
}

.article-pro-toc-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
    color: #333;
}

.article-pro-toc-list {
    list-style-type: decimal !important;
    margin: 0 0 0 20px !important;
    padding: 0 !important;
    counter-reset: item;
}


.article-pro-toc-item {
    margin-bottom: 10px !important;
    position: relative !important;
    line-height: 1.4 !important;
    break-inside: avoid; /* Önemli: maddelerin sütunlar arasında bölünmesini engeller */
}

.article-pro-toc-link {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    padding: 2px 0;
}

.article-pro-toc-link:hover {
    color: #005177;
    text-decoration: underline;
}

.article-pro-toc ul {
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.article-pro-toc ul li {
    margin-bottom: 8px !important;
    padding-left: 15px !important;
    position: relative !important;
}

.article-pro-toc ul li:before {
    content: '›'; /* Arrow character */
    position: absolute;
    left: 0;
    color: #0073aa;
    font-weight: bold;
}

.article-pro-toc ul li a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.2s;
}

.article-pro-toc ul li a:hover {
    color: #005177;
    text-decoration: underline;
}

.article-pro-info-box {
    margin: 25px 0;
    padding: 15px 20px 15px 60px; /* Space for icon */
    border-radius: 5px;
    position: relative;
    background-color: #f8f9fa; /* Default background */
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Common style for icon */
.article-pro-info-box:before {
    font-family: "dashicons"; /* Use Dashicons */
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    /* background-color: #fff; Optional background for icon */
}

.article-pro-info-box .info-box-title {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.article-pro-info-box .info-box-content p:last-child {
    margin-bottom: 0;
}

/* Specific box styles */
.info-box { border-left: 4px solid #0073aa; }
.info-box:before { content: '\f348'; color: #0073aa; } /* dashicons-info */

.important-box { background-color: #fffbea; border-left: 4px solid #f0b849; }
.important-box:before { content: '\f534'; color: #f0b849; } /* dashicons-warning */

.warning-box { background-color: #fef7f7; border-left: 4px solid #d63638; }
.warning-box:before { content: '\f534'; color: #d63638; } /* dashicons-warning */

.note-box { background-color: #f0f7fb; border-left: 4px solid #72aee6; }
.note-box:before { content: '\f473'; color: #72aee6; } /* dashicons-edit */

.tip-box { background-color: #f0faf0; border-left: 4px solid #4ab866; }
.tip-box:before { content: '\f339'; color: #4ab866; } /* dashicons-lightbulb */

.alert-box { background-color: #fcf8e3; border-left: 4px solid #f0ad4e; }
.alert-box:before { content: '\f534'; color: #f0ad4e; } /* dashicons-warning */


/* FAQ Section */
.article-pro-faq-section {
    margin: 30px 0;
}

.article-pro-faq-item {
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    overflow: hidden; /* Ensure content stays within rounded corners */
}

.article-pro-faq-question {
    background-color: #f8f9fa;
    padding: 15px;
    margin: 0;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid #e9ecef; /* Add border for collapsed state */
}

.article-pro-faq-question:after {
    content: '+';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #0073aa;
    font-weight: bold;
    transition: transform 0.3s;
}

.article-pro-faq-question.active {
    border-bottom: none; /* Remove border when active */
}

.article-pro-faq-question.active:after {
    content: '−'; /* Use minus sign */
    /* transform: translateY(-50%) rotate(180deg); Alternative animation */
}

.article-pro-faq-answer {
    padding: 15px;
    background: white;
    display: none; /* Initially hidden */
}
.article-pro-faq-answer p:last-child {
    margin-bottom: 0;
}

/* Image Placeholder */
.article-pro-image-placeholder {
    background-color: #f0f3f5;
    border: 1px dashed #c8d7e1;
    padding: 40px 20px;
    text-align: center;
    margin: 30px 0;
    border-radius: 5px;
}
.article-pro-image-placeholder .image-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c7a89;
}
.article-pro-image-placeholder .dashicons-format-image {
    font-size: 48px;
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}
.article-pro-image-placeholder .placeholder-text {
    font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .article-pro-table {
        display: block; /* Allows horizontal scrolling */
        overflow-x: auto;
        white-space: nowrap; /* Prevents wrapping inside table cells */
    }

    .article-pro-heading {
        font-size: 22px;
    }

    .article-pro-subheading {
        font-size: 18px;
    }

    .article-pro-intro {
        font-size: 16px;
    }

    .article-pro-info-box {
        padding: 15px 15px 15px 50px; /* Adjust padding for smaller screens */
    }
    .article-pro-info-box:before {
        left: 15px; /* Move icon closer to edge */
    }

}



/* Masaüstü için çoklu sütun */
@media (min-width: 768px) {
    .article-pro-toc-list {
        column-count: 2;
        column-gap: 30px;
    }
}




* Orta boyutlu cihazlar için tek sütun */
@media (max-width: 767px) {
    .article-pro-toc-list {
        column-count: 1 !important;
    }
    
    .article-pro-toc {
        padding: 12px 15px;
    }
    
    .article-pro-toc-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

/* Çok küçük ekranlar için daha kompakt görünüm */
@media (max-width: 480px) {
    .article-pro-toc {
        padding: 10px;
        margin: 15px 0;
    }
    
    .article-pro-toc-list {
        margin: 0 0 0 15px !important;
    }
    
    .article-pro-toc-item {
        margin-bottom: 8px !important;
        font-size: 14px;
    }
}