/*
Theme Name:   Twenty Twenty-Five Mindflix Child
Theme URI:    https://mindflix.co.il
Description:  תבנית בת של Twenty Twenty-Five
Author:       Peyman
Author URI:   https://mindflix.co.il
Template:     twentytwentyfive
Version:      1.0.0
Text Domain:  twentytwentyfive-child
*/

/* כאן תוכל להוסיף את ה-CSS המותאם אישית שלך */

/* דוגמה: שינוי צבע הכותרות */
h1, h2, h3 {
    color: #333;
}

/* דוגמה: שינוי רקע */
body {
    background-color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* ========================================
   עיצוב תבנית פוסט tpmindflix
   ======================================== */

/* אזור ה-COVER עם התמונה הגדולה */
.tpmindflix-cover {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
    position: relative;
    margin-bottom: 80px;
}

.tpmindflix-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

/* גרדיאנט כהה מתחת */
.tpmindflix-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
}

/* הכותרת על התמונה */
.tpmindflix-title-overlay {
    position: absolute;
    bottom: 120px;
    right: 0;
    left: 0;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.tpmindflix-main-title {
    font-size: 2.5rem;
    font-weight: normal;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    line-height: 1.2;
}

/* התמונה העגולה הקטנה */
.tpmindflix-profile-image {
    position: absolute;
    bottom: -60px;
    right: 50%;
    transform: translateX(50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 6px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 3;
    object-fit: cover;
}

/* מיכל התוכן */
.tpmindflix-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* אזור המטא - תאריך וקטגוריות */
.tpmindflix-meta {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.tpmindflix-date {
    color: #666;
    display: flex;
    font-size: 0.95rem;
    margin-bottom: 15px;
    justify-content: center;
}

.tpmindflix-space {
    margin: 0 10px;
}

.tpmindflix-categories {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.tpmindflix-category {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tpmindflix-category:nth-child(1) {
    background: #ffebee;
    color: #c62828;
}

.tpmindflix-category:nth-child(2) {
    background: #e8eaf6;
    color: #3f51b5;
}

.tpmindflix-category:nth-child(3) {
    background: #e0f2f1;
    color: #00796b;
}

.tpmindflix-category:nth-child(4) {
    background: #fff3e0;
    color: #e65100;
}

.tpmindflix-category:nth-child(5) {
    background: #e5f3d5;
    color: #59a700;
}

.tpmindflix-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* תוכן הפוסט */
.tpmindflix-post-content {
    direction: rtl;
}

/* אזור הקדמה */
.tpmindflix-intro {
    background: linear-gradient(135deg, #dfe6e9 0%, #b2bec3 100%);
    border-right: 5px solid #2d3436;
    padding: 30px 35px;
    margin: 20px 0;
    border-radius: 8px;
}

.tpmindflix-intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2d3436;
    font-weight: 600;
    margin: 0;
}

/* רשת העובדות */
.tpmindflix-facts-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 40px 0;
}

/* כרטיס עובדה */
.tpmindflix-fact-item {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tpmindflix-fact-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.tpmindflix-fact-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ff6b6b;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    margin-bottom: 15px;
}

.tpmindflix-fact-item:nth-child(4n+2) .tpmindflix-fact-number {
    background: #4ecdc4;
}

.tpmindflix-fact-item:nth-child(4n+3) .tpmindflix-fact-number {
    background: #95e1d3;
}

.tpmindflix-fact-item:nth-child(4n+4) .tpmindflix-fact-number {
    background: #f38181;
}

.tpmindflix-fact-content {
    /* אין צורך ב-wrapper נוסף */
}

.tpmindflix-fact-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.tpmindflix-fact-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* אזור סיום */
.tpmindflix-outro {
    background: linear-gradient(135deg, #636e72 0%, #2d3436 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    margin: 50px 0 30px;
    text-align: center;
    border: 2px solid #b2bec3;
}

.tpmindflix-outro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 600;
    margin: 0;
}

/* ========================================
   רספונסיבי - טאבלט
   ======================================== */
@media (max-width: 1024px) {
    .tpmindflix-facts-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ========================================
   רספונסיבי - מובייל
   ======================================== */
@media (max-width: 768px) {
    .tpmindflix-cover {
        height: 300px;
        margin-bottom: 70px;
    }

    .tpmindflix-main-title {
        font-size: 2rem;
    }

    .tpmindflix-title-overlay {
        bottom: 100px;
    }

    .tpmindflix-profile-image {
        width: 120px;
        height: 120px;
        bottom: -50px;
    }

    .tpmindflix-container {
        padding: 0 15px 30px;
    }

    .tpmindflix-facts-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tpmindflix-intro {
        padding: 25px 20px;
    }

    .tpmindflix-intro-text {
        font-size: 1.1rem;
    }

    .tpmindflix-fact-item {
        padding: 20px;
    }

    .tpmindflix-fact-title {
        font-size: 1.2rem;
    }

    .tpmindflix-fact-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .tpmindflix-cover {
        height: 250px;
    }

    .tpmindflix-main-title {
        font-size: 1.6rem;
    }

    .tpmindflix-profile-image {
        width: 100px;
        height: 100px;
    }
}

/* ========================================
   עיצוב פוסטים קשורים - עוד בנושא
   ======================================== */

.tpmindflix-related-section {
    max-width: 1200px;
    margin: 60px auto 40px;
    padding: 0 20px;
}

/* .tpmindflix-related-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.tpmindflix-related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
} */

/* רשת הפוסטים */
.tpmindflix-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ניקוי תגיות מיותרות */
.tpmindflix-related-grid > p,
.tpmindflix-related-grid > br,
.tpmindflix-related-item > p:empty,
.tpmindflix-related-item > br,
.tpmindflix-related-link > p,
.tpmindflix-related-link > br,
.tpmindflix-related-cover > p,
.tpmindflix-related-cover > br,
.tpmindflix-related-content > p:empty,
.tpmindflix-related-content > br:first-child,
.tpmindflix-related-content > br:last-child,
.tpmindflix-categories-slider p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* כרטיס פוסט */
.tpmindflix-related-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tpmindflix-related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tpmindflix-related-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* אזור התמונה */
.tpmindflix-related-cover {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
    overflow: visible;
}

.tpmindflix-related-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

/* התמונה העגולה */
.tpmindflix-related-profile {
    position: absolute;
    bottom: -35px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    z-index: 2;
}

/* תוכן הכרטיס */
.tpmindflix-related-content {
    padding: 50px 20px 25px;
    text-align: center;
}

.tpmindflix-related-post-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.tpmindflix-related-item:hover .tpmindflix-related-post-title {
    color: #ff6b6b;
}

.tpmindflix-related-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   רספונסיבי - טאבלט
   ======================================== */
@media (max-width: 1024px) {
    .tpmindflix-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* ========================================
   רספונסיבי - מובייל
   ======================================== */
@media (max-width: 768px) {
    .tpmindflix-related-section {
        margin: 40px auto 30px;
        padding: 0 15px;
    }

    .tpmindflix-related-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .tpmindflix-related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tpmindflix-related-cover {
        height: 180px;
    }

    .tpmindflix-related-profile {
        width: 70px;
        height: 70px;
        bottom: -30px;
    }

    .tpmindflix-related-content {
        padding: 45px 15px 20px;
    }

    .tpmindflix-related-post-title {
        font-size: 1.1rem;
    }

    .tpmindflix-related-description {
        font-size: 0.9rem;
    }
}

/* ========================================
   עיצוב עמוד קטגוריה
   ======================================== */

.tpmindflix-category-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* כותרת הקטגוריה */
.tpmindflix-category-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 3px solid #f0f0f0;
}

/* .tpmindflix-category-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    position: relative;
    display: inline-block;
}

.tpmindflix-category-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 3px;
} */

.tpmindflix-category-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 30px auto 0;
}

/* רשת הפוסטים */
.tpmindflix-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

/* כרטיס פוסט */
.tpmindflix-category-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tpmindflix-category-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.tpmindflix-category-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* אזור התמונה */
.tpmindflix-category-cover {
    position: relative;
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
    overflow: visible;
}

.tpmindflix-category-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.tpmindflix-category-item:hover .tpmindflix-category-cover-img {
    opacity: 1;
    transform: scale(1.05);
}

/* התמונה העגולה */
.tpmindflix-category-profile {
    position: absolute;
    bottom: -40px;
    right: 50%;
    transform: translateX(50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 5px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    z-index: 2;
    transition: all 0.3s ease;
}

.tpmindflix-category-item:hover .tpmindflix-category-profile {
    transform: translateX(50%) scale(1.1);
}

/* תוכן הכרטיס */
.tpmindflix-category-content {
    padding: 55px 25px 30px;
    text-align: center;
}
.tpmindflix-category-content p {
    margin: 0;
    padding: 0;
}

.tpmindflix-category-post-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 25px 0 15px 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.tpmindflix-category-item:hover .tpmindflix-category-post-title {
    color: #ff6b6b;
}

.tpmindflix-category-post-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* פגינציה */
.tpmindflix-pagination {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.tpmindflix-pagination .page-numbers {
    display: inline-block;
    padding: 12px 20px;
    margin: 0 5px;
    background: #ffffff;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.tpmindflix-pagination .page-numbers:hover {
    background: #ff6b6b;
    color: #ffffff;
    border-color: #ff6b6b;
    transform: translateY(-2px);
}

.tpmindflix-pagination .page-numbers.current {
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    color: #ffffff;
    border-color: transparent;
}

.tpmindflix-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}

.tpmindflix-pagination .page-numbers.dots:hover {
    transform: none;
    background: transparent;
}

/* ========================================
   רספונסיבי - טאבלט
   ======================================== */
@media (max-width: 1024px) {
    .tpmindflix-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .tpmindflix-category-title {
        font-size: 2.5rem;
    }
}

/* ========================================
   רספונסיבי - מובייל
   ======================================== */
@media (max-width: 768px) {
    .tpmindflix-category-page {
        padding: 40px 15px;
    }
    
    .tpmindflix-category-header {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .tpmindflix-category-title {
        font-size: 2rem;
    }
    
    .tpmindflix-category-description {
        font-size: 1.1rem;
    }
    
    .tpmindflix-category-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tpmindflix-category-cover {
        height: 200px;
    }
    
    .tpmindflix-category-profile {
        width: 80px;
        height: 80px;
        bottom: -35px;
    }
    
    .tpmindflix-category-content {
        padding: 50px 20px 25px;
    }
    
    .tpmindflix-category-post-title {
        font-size: 1.2rem;
    }
    
    .tpmindflix-category-post-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .tpmindflix-category-title {
        font-size: 1.6rem;
    }
    
    .tpmindflix-category-cover {
        height: 180px;
    }
    
    .tpmindflix-category-profile {
        width: 70px;
        height: 70px;
    }
}

/* ניקוי תגיות מיותרות בעמוד קטגוריה */
.tpmindflix-category-grid > p,
.tpmindflix-category-grid > br,
.tpmindflix-category-item > p:empty,
.tpmindflix-category-item > br,
.tpmindflix-category-link > p,
.tpmindflix-category-link > br,
.tpmindflix-category-cover > p,
.tpmindflix-category-cover > br,
.tpmindflix-category-content > p:empty,
.tpmindflix-category-content > br:first-child,
.tpmindflix-category-content > br:last-child {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* עיצוב כתבות - סגנון 1: תיבות תוכן */

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.8;
    font-size: 18px;
}

.article-content h2 {
    color: #1a1a1a;
    font-size: 28px;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 600;
}

.article-content h3 {
    color: #333;
    font-size: 22px;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.article-content p {
    margin: 20px 0;
    color: #444;
    font-weight: 300;
}

.highlight-box {
    background: #1a1a1a;
    color: white;
    padding: 25px;
    margin: 30px 0;
    border-radius: 2px;
    border-right: 4px solid #d4af37;
}

.highlight-box h3 {
    color: #d4af37;
    margin-top: 0;
    font-weight: 600;
}

.highlight-box p {
    color: #e0e0e0;
}

/* עיצוב עמודי תנאים ומדיניות */
.legal-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    line-height: 1.8;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.legal-intro {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #2d3748;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.legal-page h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: #4a5568;
}

.legal-page ul {
    margin: 15px 0 15px 40px;
}

.legal-page li {
    margin: 10px 0;
}

.legal-footer {
    margin-top: 50px;
    padding: 20px;
    background: #fff3cd;
    border-right: 4px solid #ff6b6b;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 20px;
        margin: 30px 15px;
    }
    
    .legal-page h1 {
        font-size: 2rem;
    }
    
    .legal-page h2 {
        font-size: 1.5rem;
    }
}


.elegant-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-row {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    color: #2c3e50;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #adb5bd;
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
    font-family: inherit;
}

.form-submit-row {
    margin-top: 32px;
    text-align: center;
}

.form-submit {
    padding: 14px 48px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.form-submit:active {
    transform: translateY(0);
}

/* הודעות שגיאה ואישור */
.wpcf7-not-valid-tip {
    font-size: 13px;
    color: #e74c3c;
    margin-top: 6px;
}

.wpcf7-response-output {
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .elegant-form-wrapper {
        padding: 24px;
        border-radius: 8px;
    }
    
    .form-submit {
        width: 100%;
        padding: 16px;
    }
}


/* ========================================
   עיצוב עמוד הבית
   ======================================== */

.tpmindflix-homepage {
    direction: rtl;
}

/* הירו - אזור הפתיחה */
.tpmindflix-hero {
    background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
    padding: 100px 20px;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.tpmindflix-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.1); }
}

.tpmindflix-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tpmindflix-hero-title {
    font-size: 3.5rem;
    font-weight: normal;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.tpmindflix-hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 30px 0;
    opacity: 0.95;
}

.tpmindflix-hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ffffff;
    margin: 0;
    opacity: 0.9;
}

/* כותרות סקציות */
.tpmindflix-section-title,
.tpmindflix-related-title,
.tpmindflix-category-title {
    font-size: 1.5em;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 8px;
}

/* .tpmindflix-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 3px;
} */

/* קרוסלת פוסטים */
.tpmindflix-latest-section {
    max-width: 1400px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.tpmindflix-carousel-item {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    padding-bottom: 10px;
}

.tpmindflix-carousel-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.tpmindflix-carousel-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tpmindflix-carousel-cover {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
    border-radius: 15px 15px 0 0;
    /* overflow: hidden; */
}

.tpmindflix-carousel-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.tpmindflix-carousel-profile {
    position: absolute;
    bottom: -40px;
    right: 50%;
    transform: translateX(50%);
    width: 80px !important;
    height: 80px !important;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    object-fit: cover;
    z-index: 2;
}

.tpmindflix-carousel-content {
    padding: 55px 20px 25px;
    text-align: center;
}

.tpmindflix-carousel-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.tpmindflix-carousel-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* כפתורי ניווט של Owl Carousel */
.owl-nav button {
    background: #ffffff !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    font-size: 2rem !important;
    color: #1a1a1a !important;
    transition: all 0.3s ease !important;
}

.owl-nav button:hover {
    background: #ff6b6b !important;
    color: #ffffff !important;
    transform: scale(1.1);
}

.owl-dots {
    text-align: center;
    margin-top: 30px;
}

.owl-dot {
    width: 12px;
    height: 12px;
    background: #ddd !important;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
}

.owl-dot.active {
    background: #ff6b6b !important;
    width: 30px;
    border-radius: 10px;
}

/* רשת קטגוריות */
.tpmindflix-categories-section {
    margin: 40px 0;
}

.tpmindflix-categories-slider.owl-carousel {
    direction: rtl;
}

.tpmindflix-categories-slider .item {
    padding: 5px;
}

.tpmindflix-category-card {
    display: inline;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.tpmindflix-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.tpmindflix-category-image {
    width: 100%;
    /* aspect-ratio: 16/9; */
    aspect-ratio: 6/7;
    overflow: hidden;
}

.tpmindflix-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tpmindflix-category-placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
}

.tpmindflix-category-content {
    padding: 20px;
    background: #fff;
}

.tpmindflix-category-name {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.tpmindflix-category-count {
    font-size: 14px;
    color: #666;
}

.tpmindflix-categories-slider .owl-item {
    position: relative;
}

/* עיצוב חיצי הניווט */
.tpmindflix-categories-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5) !important;
    color: #fff !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
}

.tpmindflix-categories-slider .owl-nav button.owl-prev {
    right: -20px;
}

.tpmindflix-categories-slider .owl-nav button.owl-next {
    left: -20px;
}

.tpmindflix-categories-slider .owl-nav button:hover {
    background: rgba(0,0,0,0.8) !important;
}

/* עיצוב הנקודות */
.tpmindflix-categories-slider .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.tpmindflix-categories-slider .owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #ddd;
    border-radius: 50%;
}

.tpmindflix-categories-slider .owl-dot.active {
    background: #333;
}

/* רשת פוסטים פופולריים */
.tpmindflix-popular-section {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.tpmindflix-popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tpmindflix-popular-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.tpmindflix-popular-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.tpmindflix-popular-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tpmindflix-popular-cover {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
    overflow: visible;
}

.tpmindflix-popular-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.tpmindflix-popular-profile {
    position: absolute;
    bottom: -30px;
    right: 50%;
    transform: translateX(50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    object-fit: cover;
    z-index: 2;
}

.tpmindflix-popular-content {
    padding: 45px 20px 25px;
    text-align: center;
}

.tpmindflix-popular-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.mindflix-popular-title {
    margin: 0 0 12px 0 !important;
}

.tpmindflix-popular-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   רספונסיבי
   ======================================== */

@media (max-width: 1024px) {
    .tpmindflix-popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tpmindflix-hero {
        padding: 60px 20px;
        margin-bottom: 60px;
    }
    
    .tpmindflix-hero-title {
        font-size: 2.2rem;
    }
    
    .tpmindflix-hero-subtitle {
        font-size: 1.3rem;
    }
    
    .tpmindflix-hero-description {
        font-size: 1.1rem;
    }
    
    .tpmindflix-section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .tpmindflix-carousel-image {
        height: 200px;
    }
    
    .tpmindflix-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .tpmindflix-popular-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .tpmindflix-hero-title {
        font-size: 1.8rem;
    }
    
    .tpmindflix-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .tpmindflix-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.mindflix-post-link-with-image {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mindflix-post-image {
    flex-shrink: 0;
}

.mindflix-post-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.mindflix-no-image {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 4px;
}

.mindflix-post-title-text {
    flex: 1;
}
.mindflix-popular-posts {
    max-width: 300px;
}
.mindflix-post-item,
.mindflix-category-item {
    font-size: 14px;
}
.mindflix-post-item a,
.mindflix-category-item a {
    text-decoration: none;
}
.mindflix-post-item a:hover,
.mindflix-category-item a:hover {
    color: #674e77;
}