/* ========================================================= */
/* 1. הסתרה גלובלית של תגובות, פרטי כותב וניווט בכל האתר */
/* ========================================================= */
.entry-meta, 
.comments-area, 
#comments,
.post-navigation {
    display: none !important;
}

/* ========================================================= */
/* 2. חשיפה חכמה *רק* עבור יצירה יהודית (זיהוי לפי מזהה 44) */
/* ========================================================= */
article.category-44 .entry-meta,
article.category-יצירה-יהודית .entry-meta {
    display: block !important;
}

article.category-44 .entry-meta .byline,
article.category-44 .entry-meta .author,
article.category-יצירה-יהודית .entry-meta .byline,
article.category-יצירה-יהודית .entry-meta .author {
    display: none !important;
}

article.category-44 footer.entry-meta,
article.category-יצירה-יהודית footer.entry-meta {
    display: none !important;
}

main:has(article.category-44) .comments-area,
main:has(article.category-44) #comments,
main:has(article.category-יצירה-יהודית) .comments-area,
main:has(article.category-יצירה-יהודית) #comments {
    display: block !important;
}

/* ========================================================= */
/* 3. עיצובים כלליים */
/* ========================================================= */
.hierarchy-container { padding: 20px 0; }

.group-title {
    background: #f1f5f9;
    padding: 15px 25px;
    border-right: 5px solid #0073aa;
    margin: 40px 0 20px 0;
    font-size: 1.5em;
    color: #1e293b;
    border-radius: 4px;
}

/* ========================================================= */
/* 4. עיצוב במת יוצרים - טופס חיפוש ודפדוף */
/* ========================================================= */
.bama-search-form {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.bama-search-form form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.bama-search-form input[type="text"] {
    flex: 1;
    min-width: 220px;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    background: #ffffff;
}

.bama-search-form button {
    background: #0073aa;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.bama-search-form button:hover { background: #005177; }

.bama-search-form .clear-search {
    color: #64748b;
    text-decoration: none;
    font-size: 15px;
    margin-right: 10px;
}

.bama-search-form .clear-search:hover {
    text-decoration: underline;
    color: #ef4444;
}

/* ========================================================= */
/* 5. עיצוב הכרטיסיות (אפקט ריחוף ולחיצה לכל הכרטיסיות) */
/* ========================================================= */

/* הגדרת הכרטיסייה לקבלת אפקט ריחוף */
.bama-hover-card {
    position: relative;
    transition: all 0.3s ease !important;
}

/* האפקט עצמו - הרמה למעלה, צללית והדגשת מסגרת */
.bama-hover-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
    border-color: #0073aa !important;
}

/* הפיכת כל הכרטיסייה ללחיצה - מותח את קישור הכותרת */
.card-stretched-link::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

/* הגנה על קישור שם היוצר - שומר עליו לחיץ למרות המתיחה */
.bama-meta-link {
    position: relative;
    z-index: 2;
}

/* עיצוב תקציר השיר */
.poem-excerpt {
    font-size: 1.05em;
    color: #4a5568;
    background: #f8fafc;
    border-right: 3px solid #0073aa;
    padding: 12px 20px;
    margin-top: 15px;
    line-height: 1.7;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}