/* Start custom CSS *//* style.css - עיצוב למאמר ניתוח נדל"ן */

/* איפוס בסיסי */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Assistant', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    font-size: 18px;
    text-align: right;
    direction: rtl;
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
}

/* כותרות */
h1 {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #2d74da;
    font-weight: 700;
}

h2 {
    font-size: 1.8rem;
    color: #2d3748;
    margin: 2rem 0 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    color: #4a5568;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

/* תקציר מנהלים */
.tldr {
    background-color: #e6f3ff;
    border-right: 4px solid #2d74da;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.tldr h2 {
    color: #1a365d;
    margin-top: 0;
    border-bottom: none;
}

/* קטעי תוכן */
.content-section {
    background-color: white;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* תשובות מיידיות */
.immediate-answer {
    background-color: #f0fff4;
    border-right: 3px solid #38a169;
    padding: 1rem;
    margin: 1rem 0;
    font-weight: 600;
    color: #276749;
    border-radius: 0 4px 4px 0;
}

/* תיאור מקרה */
.case-study {
    background-color: #fffaf0;
    border: 1px solid #ed8936;
}

/* סיכום AI */
.ai-summary {
    background-color: #f5f5f5;
    border: 1px dashed #666;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.ai-summary h2 {
    color: #4a5568;
    border-bottom: 1px dashed #999;
}

.ai-content {
    background-color: white;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}

/* טבלאות */
.table-container {
    overflow-x: auto;
    margin: 1.5rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 16px;
    min-width: 600px;
}

caption {
    font-weight: 600;
    padding: 0.75rem;
    background-color: #2d74da;
    color: white;
    text-align: center;
    border-radius: 4px 4px 0 0;
}

thead {
    background-color: #4a5568;
    color: white;
}

th {
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
}

td {
    padding: 0.75rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

tbody tr:nth-child(even) {
    background-color: #f7fafc;
}

tbody tr:hover {
    background-color: #edf2f7;
}

/* פוטר */
.article-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
    font-size: 0.9rem;
    color: #718096;
    text-align: center;
}

/* עיצוב רספונסיבי */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .content-section {
        padding: 1rem;
    }
    
    .tldr {
        padding: 1rem;
    }
    
    table {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    th, td {
        padding: 0.5rem;
    }
}/* End custom CSS */