/* ===================================
   עיצוב עמודים סטטיים - Pages
   =================================== */

/* קונטיינר ראשי של העמוד */
.page .site-main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: transparent;
}

/* כותרת העמוד */
.page .entry-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--color-primary);
}

.page .entry-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.3;
    margin-bottom: 0;
    text-align: center;
}

/* תמונה ראשית של העמוד */
.page .post-thumbnail {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.page .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.page .post-thumbnail:hover img {
    transform: scale(1.03);
}

/* תוכן העמוד */
.page .entry-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.9;
    color: #333;
}

/* פסקאות */
.page .entry-content p {
    margin-bottom: 1.5em;
}

/* כותרות בתוך התוכן */
.page .entry-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin-top: 2.5em;
    margin-bottom: 1em;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--color-primary);
}

.page .entry-content h3 {
    font-size: 26px;
    font-weight: 600;
    color: var(--color-dark);
    margin-top: 2em;
    margin-bottom: 0.8em;
}

.page .entry-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 1.8em;
    margin-bottom: 0.7em;
}

/* ציטוטים */
.page .entry-content blockquote {
    background: linear-gradient(135deg, #fff7ee 0%, #fef9f3 100%);
    border-right: 5px solid var(--color-primary);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 12px;
    font-style: italic;
    font-size: 19px;
    color: #555;
    position: relative;
}

.page .entry-content blockquote::before {
    content: '"';
    font-size: 60px;
    color: var(--color-primary);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

/* רשימות */
.page .entry-content ul,
.page .entry-content ol {
    margin: 1.5em 0;
    padding-right: 30px;
}

.page .entry-content li {
    margin-bottom: 0.8em;
    line-height: 1.8;
}

.page .entry-content ul li::marker {
    color: var(--color-primary);
    font-size: 1.2em;
}

/* קישורים בתוכן */
.page .entry-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: rgba(216, 73, 60, 0.3);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page .entry-content a:hover {
    color: var(--color-primary-hover);
    text-decoration-color: var(--color-primary-hover);
}

/* תמונות בתוך התוכן */
.page .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Footer של העמוד (אם יש עריכה) */
.page .entry-footer {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    padding: 20px 30px;
    border-radius: 16px;
    border: 2px solid var(--color-border);
    margin-bottom: 40px;
    text-align: center;
}

.page .entry-footer .edit-link a {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.page .entry-footer .edit-link a::before {
    content: "✏️";
    font-size: 18px;
}

.page .entry-footer .edit-link a:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(216, 73, 60, 0.3);
}

/* תגובות בעמודים (אם מאופשרות) */
.page .comments-area {
    background: white;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

/* ===================================
   התאמות RESPONSIVE למובייל
   =================================== */
@media (max-width: 800px) {
    .page .site-main {
        padding: 40px 15px;
    }

    .page .entry-title {
        font-size: 36px;
    }

    .page .entry-content {
        padding: 30px 20px;
        font-size: 17px;
    }

    .page .entry-content h2 {
        font-size: 26px;
    }

    .page .entry-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .page .entry-title {
        font-size: 28px;
    }

    .page .entry-content {
        padding: 20px 15px;
        font-size: 16px;
    }
}

/* ===================================
   אנימציות
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page article {
    animation: fadeInUp 0.6s ease-out;
}
