/* Fiilimsiler Konu Anlatımı - Temiz Minimal CSS */

.lesson-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: #ffffff;
    color: #333333;
}

/* Normal tema yapısına uygun full width */
.lesson-container.full-width {
    max-width: 100%;
    width: 100%;
    padding: 0 15px; /* Normal tema padding'i */
    margin: 0;
    background: transparent;
}

.lesson-container.full-width .lesson-content {
    background: transparent;
    padding: 0;
    margin: 0;
}

.lesson-container.full-width .lesson-header {
    background: transparent;
    padding: 0;
    margin: 0 0 20px 0;
}

/* lesson-header kaldırıldı - WordPress başlık kullanılıyor */

/* Kazanım Bölümü */
.kazanım-section {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #f39c12;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.kazanım-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #856404;
}

.kazanım-text {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: #856404;
}

.lesson-content {
    background: transparent;
    padding: 0;
    margin: 0;
}

.section-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 30px 0 15px 0;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

.definition-section {
    margin-bottom: 30px;
}

.definition-box {
    background: #f8f9fa;
    color: #333333;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    margin: 20px 0;
}

.definition-text {
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.definition-text strong {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

.properties-section {
    margin-bottom: 30px;
}

.property-item {
    display: flex;
    margin-bottom: 20px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.2s ease;
}

.property-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.property-number {
    background: #007bff;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.property-content {
    flex: 1;
}

.property-content h3 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.property-description {
    color: #2c3e50;
    margin: 16px 0 0 0;
    font-style: normal;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #e6eafc 0%, #e6e6e6 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}


.example-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
    gap: 20px;
    margin: 20px 0;
    width: 100%;
}

.example-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 24px;
    margin: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.example-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px 16px 0 0;
}

.example-box::after {
    content: "✨";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    opacity: 0.7;
}

.example-title {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.example-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.example-correct, .example-wrong {
    display: flex;
    align-items: center;
    margin: 8px 0;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.example-correct {
    background: #d4edda;
    border-left: 3px solid #28a745;
}

.example-wrong {
    background: #f8d7da;
    border-left: 3px solid #dc3545;
}

.example-label {
    font-weight: bold;
    margin-right: 8px;
    font-size: 0.9rem;
}

.example-text {
    flex: 1;
}

.comparison-table {
    background: white;
    border-radius: 6px;
    margin: 10px 0;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.table-header {
    background: #007bff;
    color: white;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    font-size: 0.9rem;
}

.table-content {
    padding: 0;
}

.table-row {
    display: flex;
    padding: 8px 10px;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:nth-child(even) {
    background: #f8f9fa;
}

.person {
    flex: 1;
    font-weight: 500;
    color: #495057;
}

.word {
    flex: 1;
    color: #dc3545;
    font-weight: bold;
    text-align: right;
}

.example-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.example-item {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 0.8rem;
}

.example-sentence {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: 6px;
    margin: 8px 0;
    border: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.sentence-part {
    flex: 1;
    font-weight: 500;
    color: #2c3e50;
}

.sentence-label {
    background: #ffc107;
    color: #212529;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.sentence-analysis {
    background: white;
    border-radius: 6px;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #e9ecef;
}

.sentence-parts {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.part {
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
    flex: 1;
    min-width: 100px;
    text-align: center;
    font-size: 0.9rem;
}

.yan-cumle {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #2196f3;
}

.temel-cumle {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.sentence-labels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.label {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    flex: 1;
    min-width: 100px;
    text-align: center;
}

.function-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin: 10px 0;
}

.function-item {
    background: white;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.function-type {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: bold;
    text-align: center;
    font-size: 0.8rem;
}

.function-example {
    color: #2c3e50;
    font-weight: 500;
    text-align: center;
    font-size: 0.9rem;
}

.types-section {
    margin-bottom: 30px;
}

.type-card {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.2s ease;
}

.type-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.type-header {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

.type-title {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid #007bff;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.type-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.type-formula {
    background: #e9ecef;
    color: #495057;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.8rem;
    display: inline-block;
}

.type-content {
    padding: 20px;
}

.type-definition {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.6;
}

.type-definition strong {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.example-card {
    background: white;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.2s ease;
}

.example-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.example-sentence {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.example-analysis {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
}

.warning-box h4 {
    color: #856404;
    margin: 0 0 10px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.warning-examples {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.warning-example {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.warning-label {
    background: #ffc107;
    color: #212529;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.8rem;
    margin-right: 10px;
    min-width: 80px;
    text-align: center;
}

.warning-text {
    color: #2c3e50;
    font-weight: 500;
}

.lesson-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

.study-tip {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.study-tip h4 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.study-tip p {
    color: #2c3e50;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Test Bölümü - Yeniden Tasarlandı */
.test-section {
    margin-top: 40px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.test-section h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.test-section p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.test-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    min-height: 44px;
    line-height: 1;
}

.test-button:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Kavram Haritası - YENİ TASARIM */
.kavram-haritasi {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
}

.kavram-baslik {
    background: #dc3545;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: inline-block;
}

.kavram-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 44px 44px 44px;
    grid-gap: 5px;
    width: 100%;
}

.kavram-grid br {
    display: none;
}

.kavram-kutu {
    background: #007bff;
    color: white;
    border-radius: 4px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
    box-sizing: border-box;
}

.kavram-kutu:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

.kavram-kutu:visited {
    color: white;
}

.kavram-kutu.ana {
    font-weight: 500;
    font-size: 0.9rem;
}

.kavram-kutu.alt {
    background: #6c757d;
    font-weight: 400;
    font-size: 0.85rem;
    padding: 6px 10px;
}

.kavram-kutu.alt:hover {
    background: #5a6268;
}

.kavram-numara {
    background: rgba(255, 255, 255, 0.2);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.kavram-metin {
    font-weight: inherit;
    font-size: inherit;
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .kavram-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 40px;
    }
    
    .kavram-kutu {
        padding: 6px 10px;
        gap: 6px;
    }
    
    .kavram-numara {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
    
    .kavram-baslik {
        font-size: 1.1rem;
        padding: 6px 12px;
    }
    
    .example-box {
        padding: 15px;
        margin: 10px 0;
    }
    
    .example-box::before {
        top: 12px;
        right: 12px;
        font-size: 14px;
    }
    
    .property-description {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .example-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .example-box {
        padding: 20px;
    }
    
    .example-box::after {
        top: 15px;
        right: 15px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .kavram-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 38px;
    }
}

/* Yorumlar Bölümü */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lesson-title {
        font-size: 1.8rem;
    }
    
    .lesson-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .property-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .property-number {
        margin: 0 auto 10px auto;
    }
    
    .sentence-parts, .sentence-labels {
        flex-direction: column;
    }
    
    .part, .label {
        min-width: auto;
    }
    
    .function-examples {
        grid-template-columns: 1fr;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .warning-example {
        flex-direction: column;
        text-align: center;
    }
    
    .warning-label {
        margin: 0 0 10px 0;
    }
    
    .test-section {
        padding: 20px;
        margin-top: 30px;
    }
    
    .test-section h3 {
        font-size: 1.2rem;
    }
    
    .test-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .lesson-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .type-header h3 {
        font-size: 1.1rem;
    }
    
    .test-section {
        padding: 15px;
    }
    
    .test-section h3 {
        font-size: 1.1rem;
    }
    
    .test-button {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

/* Example List Styles */
.example-list-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin: 20px 0 10px 0;
    padding: 8px 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #007bff;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: inline-block;
}

/* Önemli Nokta Vurgusu */
.important-point {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: white !important;
    font-weight: bold !important;
    padding: 8px 12px;
    border-radius: 6px;
    margin: 10px 0;
    box-shadow: 0 3px 6px rgba(220, 53, 69, 0.3);
    border-left: 4px solid #a71e2a;
    display: inline-block;
}

/* Önemli nokta için ekstra güçlendirme */
.warning-section .important-point,
.summary-section .important-point,
.lesson-content .important-point,
p.important-point,
div.important-point {
    color: white !important;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    display: inline-block !important;
    margin: 10px 0 !important;
}

/* Tek Örnek İçin Tam Genişlik */
.example-section.single-example {
    grid-template-columns: 1fr !important;
}

.example-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 10px 0 20px 0 !important;
}

.example-list li {
    list-style: none !important;
    margin: 8px 0 !important;
}

.example-list li {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #007bff;
    padding: 12px 16px;
    margin: 8px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.example-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-left-color: #0056b3;
}

.example-list li::before {
    content: "→";
    color: #007bff;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.1em;
}

.example-list li:nth-child(even) {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left-color: #2196f3;
}

.example-list li:nth-child(even)::before {
    color: #2196f3;
}

.example-list li:nth-child(3n) {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border-left-color: #9c27b0;
}

.example-list li:nth-child(3n)::before {
    color: #9c27b0;
}