/* Muzalim-Plus - Custom Design */

/* Typography - Rubik Font */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800&display=swap');

/* Product Type Identifier (Badge) */
.mozlim-plus-product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    right: auto;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Rubik', 'Assistant', 'Heebo', sans-serif;
    white-space: nowrap;
    display: inline-block;
    width: auto;
    max-width: none;
}

.mozlim-plus-post-card {
    position: relative;
}

.mozlim-plus-post-card > div[style*="position: relative"] {
    position: relative;
}

.mozlim-plus-single-post {
    position: relative;
}

.mozlim-plus-single-post-image {
    position: relative;
}

/* Colors for Each Product Type */
.mozlim-plus-product-badge-ksp {
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
}

.mozlim-plus-product-badge-amazon {
    background: linear-gradient(135deg, #FF9900 0%, #FF6600 100%);
}

.mozlim-plus-product-badge-aliexpress {
    background: linear-gradient(135deg, #FF4747 0%, #E63946 100%);
}

/* Filter Buttons - Custom Colors */
.mozlim-filter-btn-all.active,
.mozlim-filter-btn-all:hover {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4) !important;
}

.mozlim-filter-btn-ksp.active,
.mozlim-filter-btn-ksp:hover {
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4) !important;
}

.mozlim-filter-btn-amazon.active,
.mozlim-filter-btn-amazon:hover {
    background: linear-gradient(135deg, #FF9900 0%, #FF6600 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4) !important;
}

.mozlim-filter-btn-aliexpress.active,
.mozlim-filter-btn-aliexpress:hover {
    background: linear-gradient(135deg, #FF4747 0%, #E63946 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255, 71, 71, 0.4) !important;
}

.mozlim-plus-posts-page,
.mozlim-plus-post-card,
.mozlim-plus-single-post {
    font-family: 'Rubik', 'Assistant', 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reduce spacing between content and footer */
.site-content,
.wp-block-post-content,
.entry-content,
.mozlim-plus-single-post,
.mozlim-plus-posts-container,
.wp-block-group,
.wp-block-post-content > *:last-child,
.entry-content > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Hide only the gray background of the footer */
.mozlim-plus-footer-menu {
    background: transparent !important;
    border-top: 1px solid #e9ecef !important;
    margin-top: 0 !important;
    padding-top: 10px !important;
}

/* Remove spacing from content containers */
.wp-block-group.alignfull,
.wp-block-group.has-global-padding,
div[style*="direction: ltr"][style*="max-width: 900px"] {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Reduce top spacing on specific pages */
.wp-block-group.alignfull.has-global-padding {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove spacing from last paragraphs */
.entry-content p:last-child,
.wp-block-post-content p:last-child,
div[style*="direction: ltr"] p:last-child,
div[style*="direction: ltr"] div:last-child,
div[style*="direction: ltr"] h2:last-child,
div[style*="direction: ltr"] h3:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Reduce spacing of all content elements */
div[style*="direction: ltr"][style*="max-width: 900px"] > * {
    margin-bottom: 10px !important;
}

div[style*="direction: ltr"][style*="max-width: 900px"] > *:last-child {
    margin-bottom: 0 !important;
}

/* Reduce top spacing on static pages */
.wp-block-post-title {
    margin-bottom: 15px !important;
}

.wp-block-group.alignfull.has-global-padding .wp-block-post-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hide unwanted text from gray section */
.mozlim-plus-footer-menu p:not(:has-text("©")):not(:has-text("כל הזכויות שמורות")) {
    display: none !important;
    visibility: hidden !important;
}

/* Hide all elements containing "פועל על" או "Powered by" או "עוצב ע״י" או "נוצר ע״י" מהחלק האפור */
.mozlim-plus-footer-menu *:contains("פועל על"),
.mozlim-plus-footer-menu *:contains("Powered by"),
.mozlim-plus-footer-menu *:contains("עוצב ע״י"),
.mozlim-plus-footer-menu *:contains("נוצר ע״י מוזלים-פלוס") {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Fix buttons on contact page */
.mozlim-plus-footer-menu a[href*="t.me"],
.mozlim-plus-footer-menu a[href*="whatsapp"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    text-align: center !important;
}

/* Hide irrelevant links from template (Blog, Events, Shop, וכו') - Aggressive CSS */
/* הסתר כל navigation links עם href="#" */
a[href="#"]:not([href*="privacy"]):not([href*="contact"]):not([href*="accessibility"]):not([href*="terms"]):not([href*="n8n"]):not([href*="/"]),
.wp-block-navigation-link[href="#"]:not([href*="privacy"]):not([href*="contact"]):not([href*="accessibility"]):not([href*="terms"]),
.wp-block-navigation-link__content[href="#"],
nav[aria-label*="Blog"],
nav[aria-label*="Events"],
nav[aria-label*="Shop"],
nav[aria-label*="About"],
nav[aria-label*="FAQs"],
nav[aria-label*="Authors"],
nav[aria-label*="Patterns"],
nav[aria-label*="Themes"],
nav[aria-label*="Stories"],
nav[aria-label*="Featured"],
nav[aria-label*="Social media"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    right: -9999px !important;
}

/* הסתר navigation blocks שמכילים רק קישורים לא רלוונטיים */
.wp-block-navigation:has(a[href="#"]):not(:has(a[href*="privacy"])):not(:has(a[href*="contact"])):not(:has(a[href*="accessibility"])):not(:has(a[href*="terms"])) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* הסתר כל navigation blocks ב-footer */
footer .wp-block-navigation,
footer nav[aria-label*="Blog"],
footer nav[aria-label*="Events"],
footer nav[aria-label*="Shop"],
footer nav[aria-label*="About"],
footer nav[aria-label*="FAQs"],
footer nav[aria-label*="Authors"],
footer nav[aria-label*="Patterns"],
footer nav[aria-label*="Themes"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Landing Page */
.mozlim-plus-landing {
    text-align: center;
    padding: 60px 20px;
    direction: ltr;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mozlim-plus-logo-container {
    margin-bottom: 40px;
}

.mozlim-plus-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.mozlim-plus-brand-name {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ffffff;
    margin: 30px 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.mozlim-plus-tagline {
    font-size: 1.5rem;
    color: #f0f0f0;
    margin-bottom: 50px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.mozlim-plus-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.mozlim-plus-btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    border: 2px solid #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mozlim-plus-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.mozlim-plus-btn-primary {
    background: #ffffff;
    color: #667eea;
    border-color: #ffffff;
}

.mozlim-plus-btn-primary:hover {
    background: #f0f0f0;
    color: #764ba2;
}

/* Posts Page */
.mozlim-plus-posts-page {
    direction: ltr;
    padding: 40px 20px 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: #f4f6f8;
    min-height: 100vh;
}

/* Filter Buttons */
.mozlim-plus-filter-buttons {
    margin-top: 30px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.mozlim-filter-btn {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.mozlim-filter-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mozlim-filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mozlim-plus-post-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mozlim-plus-post-card[style*="display: none"] {
    display: none !important;
}

.mozlim-plus-posts-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 24px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: #ffffff;
}

.mozlim-plus-posts-header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 700;
}

.mozlim-plus-posts-header p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Search Bar - Site Custom Design */
.mozlim-plus-search-box {
    max-width: 600px;
    margin: 0 auto 20px;
    position: relative;
}

.mozlim-plus-search-box form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 4px;
    transition: all 0.3s ease;
}

.mozlim-plus-search-box form:focus-within {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mozlim-plus-search-box input[type="search"],
.mozlim-plus-search-box input[type="text"] {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 26px;
    font-size: 1rem;
    font-family: 'Rubik', 'Assistant', 'Heebo', sans-serif;
    color: #ffffff;
    transition: all 0.3s ease;
    direction: ltr;
    text-align: center;
}

.mozlim-plus-search-box input[type="search"]::placeholder,
.mozlim-plus-search-box input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.mozlim-plus-search-box input[type="search"]:focus,
.mozlim-plus-search-box input[type="text"]:focus {
    outline: none;
    color: #ffffff;
    text-align: center;
}

.mozlim-plus-search-box input[type="search"]:not(:placeholder-shown),
.mozlim-plus-search-box input[type="text"]:not(:placeholder-shown) {
    text-align: center;
}

.mozlim-plus-search-box button {
    position: relative;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 4px;
    flex-shrink: 0;
}

.mozlim-plus-search-box button:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.mozlim-plus-search-box button:active {
    transform: scale(0.95);
}

.mozlim-plus-search-box .search-icon {
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1;
}

.mozlim-plus-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mozlim-plus-post-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mozlim-plus-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.mozlim-plus-post-image {
    width: 100%;
    min-height: 400px;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    background: #ffffff;
    padding: 20px;
}

.mozlim-plus-post-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mozlim-plus-post-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
    max-height: 2.8em;
}

/* For KSP, Amazon and AliExpress posts - Display full title */
article[data-product-type="ksp"] .mozlim-plus-post-title,
article[data-product-type="amazon"] .mozlim-plus-post-title,
article[data-product-type="aliexpress"] .mozlim-plus-post-title,
.mozlim-plus-post-title-full {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    text-overflow: unset;
    min-height: auto;
    max-height: none;
    white-space: normal;
    line-height: 1.6;
}

.mozlim-plus-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mozlim-plus-post-title a:hover {
    color: #667eea;
}

.mozlim-plus-post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.mozlim-plus-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #999;
}

.mozlim-plus-post-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: auto;
    font-size: 1rem;
}

.mozlim-plus-post-link:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    color: #ffffff;
    background: linear-gradient(135deg, #7a8ef5 0%, #8a5fb8 100%);
}

.mozlim-plus-post-link-buy::after {
    content: '🛒';
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.mozlim-plus-post-link-buy:hover::after {
    transform: scale(1.2);
}

.mozlim-plus-post-link-details {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.mozlim-plus-post-link-buy {
    background: #25D366 !important;
}

.mozlim-plus-post-link-buy:hover {
    background: #20ba5a !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
}

.mozlim-plus-no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1.2rem;
}

/* Responsive - Mobile First Approach */
/* iPhone וMobile - גופנים מאוזנים */
@media screen and (max-width: 480px), 
       screen and (max-device-width: 480px), 
       (-webkit-min-device-pixel-ratio: 2),
       (pointer: coarse) {
    /* Font size increase basic */
    html {
        font-size: 18px !important;
        -webkit-text-size-adjust: 100% !important;
        -moz-text-size-adjust: 100% !important;
        -ms-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
    }
    
    body {
        font-size: 18px !important;
        -webkit-text-size-adjust: 100% !important;
        -moz-text-size-adjust: 100% !important;
        -ms-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
    }
    
    h1 {
        font-size: 2.2rem !important;
    }
    
    h2 {
        font-size: 1.6rem !important;
    }
    
    h3 {
        font-size: 1.4rem !important;
    }
    
    p, div, span, a, li {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    .mozlim-plus-landing {
        padding: 30px 15px;
        min-height: auto;
    }
    
    .mozlim-plus-brand-name {
        font-size: 2.8rem !important;
        margin: 20px 0 10px;
    }
    
    .mozlim-plus-tagline {
        font-size: 1.2rem !important;
        margin-bottom: 30px;
    }
    
    .mozlim-plus-logo {
        max-width: 200px;
    }
    
    .mozlim-plus-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .mozlim-plus-btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 28px !important;
        font-size: 1.1rem !important;
        min-height: 48px !important;
        box-sizing: border-box !important;
    }
    
    /* Group buttons on home page - Mobile */
    .mozlim-plus-groups-section {
        padding: 20px 15px !important;
        margin-top: 30px !important;
    }
    
    .mozlim-plus-groups-title {
        font-size: 1.6rem !important;
        margin-bottom: 20px !important;
    }
    
    .mozlim-plus-groups-section a {
        width: 100% !important;
        padding: 14px 28px !important;
        font-size: 1rem !important;
        min-height: 48px !important;
        box-sizing: border-box !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    
    /* Cookie banner בMobile */
    #mozlim-plus-cookie-consent {
        padding: 20px 15px !important;
    }
    
    #mozlim-plus-cookie-consent p {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
        line-height: 1.6 !important;
    }
    
    #mozlim-plus-accept-cookies,
    #mozlim-plus-decline-cookies {
        padding: 14px 28px !important;
        font-size: 1.1rem !important;
        min-height: 48px !important;
        width: 100%;
        margin: 5px 0 !important;
        box-sizing: border-box !important;
    }
    
    .mozlim-plus-posts-page {
        padding: 20px 15px;
    }
    
    .mozlim-plus-posts-header {
        padding: 20px 15px !important;
        margin-bottom: 20px !important;
    }
    
    .mozlim-plus-posts-header h1 {
        font-size: 1.5rem !important;
        margin-bottom: 6px;
    }
    
    .mozlim-plus-posts-header p {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
    }
    
    .mozlim-plus-search-box {
        margin-bottom: 15px !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }
    
    .mozlim-plus-search-box form {
        padding: 3px !important;
        background: rgba(255, 255, 255, 0.25) !important;
        backdrop-filter: blur(10px) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 30px !important;
    }
    
    .mozlim-plus-search-box form:focus-within {
        background: rgba(255, 255, 255, 0.35) !important;
        border-color: rgba(255, 255, 255, 0.6) !important;
    }
    
    .mozlim-plus-search-box input[type="search"],
    .mozlim-plus-search-box input[type="text"] {
        padding: 10px 16px !important;
        font-size: 0.95rem !important;
        background: transparent !important;
        color: #ffffff !important;
        border: none !important;
    }
    
    .mozlim-plus-search-box input[type="search"]::placeholder,
    .mozlim-plus-search-box input[type="text"]::placeholder {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .mozlim-plus-search-box button {
        width: 40px !important;
        height: 40px !important;
        margin-left: 3px !important;
        background: rgba(255, 255, 255, 0.3) !important;
        border: none !important;
        border-radius: 50% !important;
    }
    
    .mozlim-plus-search-box button:hover {
        background: rgba(255, 255, 255, 0.5) !important;
    }
    
    .mozlim-plus-search-box .search-icon {
        color: #ffffff !important;
    }
    
    .mozlim-plus-filter-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .mozlim-filter-btn {
        width: 100%;
        padding: 14px 28px !important;
        font-size: 1.1rem !important;
        min-height: 48px !important;
        box-sizing: border-box !important;
    }
    
    .mozlim-plus-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mozlim-plus-post-card {
        margin-bottom: 0;
    }
    
    .mozlim-plus-post-content {
        padding: 20px;
    }
    
    .mozlim-plus-post-title {
        font-size: 1.2rem;
    }
    
    .mozlim-plus-post-prices {
        padding: 12px !important;
        margin: 15px 0 !important;
    }
}

/* Price section improvement - visual hierarchy */
.mozlim-plus-post-prices {
    margin: 24px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.mozlim-plus-post-prices .original-price {
    font-size: 0.85rem !important;
    color: #999 !important;
    text-decoration: line-through;
    margin-bottom: 8px;
    display: block;
}

.mozlim-plus-post-prices .discount-price {
    font-size: 1.8rem !important;
    color: #25D366 !important;
    font-weight: 800 !important;
    margin-top: 4px;
    display: block;
    line-height: 1.2;
}

.mozlim-plus-post-prices .price-label {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 4px;
    display: block;
}
    
    .mozlim-plus-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .mozlim-plus-post-meta > div {
        width: 100%;
    }
    
    .mozlim-plus-post-link {
        width: 100%;
        text-align: center;
        padding: 14px 28px !important;
        font-size: 1.1rem !important;
        min-height: 48px !important;
        box-sizing: border-box !important;
    }
    
    /* Product type identifier בMobile */
    .mozlim-plus-product-badge {
        top: 10px !important;
        left: 10px !important;
        right: auto !important;
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        display: inline-block !important;
        width: auto !important;
        max-width: none !important;
    }
    
    .mozlim-plus-single-post {
        padding: 20px 15px;
    }
    
    .mozlim-plus-single-post-title {
        font-size: 2rem !important;
    }
    
    .mozlim-plus-single-post-image {
        max-width: 400px;
        min-height: 250px;
        max-height: 400px;
        object-fit: contain;
    }
    
    .mozlim-plus-single-post-content {
        font-size: 1rem !important;
        line-height: 1.8 !important;
    }
    
    .mozlim-plus-single-post-content p {
        font-size: 1rem !important;
    }
    
    /* Hide irrelevant links בדפי מדיניות - Aggressive CSS */
    .wp-block-navigation:has(a[href="#"]):not(:has(a[href*="privacy"])):not(:has(a[href*="contact"])):not(:has(a[href*="accessibility"])):not(:has(a[href*="terms"])),
    .wp-block-navigation-link[href="#"]:not([href*="privacy"]):not([href*="contact"]):not([href*="accessibility"]):not([href*="terms"]),
    a[href="#"]:not([href*="privacy"]):not([href*="contact"]):not([href*="accessibility"]):not([href*="terms"]),
    nav[aria-label*="Blog"],
    nav[aria-label*="Events"],
    nav[aria-label*="Shop"],
    nav[aria-label*="About"],
    nav[aria-label*="FAQs"],
    nav[aria-label*="Authors"],
    nav[aria-label*="Patterns"],
    nav[aria-label*="Themes"],
    nav[aria-label*="Stories"],
    nav[aria-label*="Featured"] {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        right: -9999px !important;
    }
    
    /* Hide irrelevant links ב-footer patterns */
    footer .wp-block-navigation:has(a[href="#"]),
    footer .wp-block-navigation-link[href="#"] {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Buttons on Contact Page - Mobile קטן */
    .entry-content a[href*="t.me"],
    .entry-content a[href*="whatsapp.com"],
    .entry-content a[href*="chat.whatsapp.com"],
    .wp-block-post-content a[href*="t.me"],
    .wp-block-post-content a[href*="whatsapp.com"],
    .wp-block-post-content a[href*="chat.whatsapp.com"],
    div[style*="direction: ltr"] a[href*="t.me"],
    div[style*="direction: ltr"] a[href*="whatsapp.com"],
    div[style*="direction: ltr"] a[href*="chat.whatsapp.com"] {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        line-height: 1.4 !important;
        display: inline-block !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Extra long button - Mobile קטן */
    .entry-content a[href*="FqBt8DoirIyDaFQj3dn7zE"],
    .wp-block-post-content a[href*="FqBt8DoirIyDaFQj3dn7zE"],
    div[style*="direction: ltr"] a[href*="FqBt8DoirIyDaFQj3dn7zE"] {
        font-size: 0.8rem !important;
        padding: 8px 10px !important;
        line-height: 1.3 !important;
    }
    
    /* Button container - Mobile קטן */
    .entry-content div[style*="display: flex"][style*="gap: 15px"],
    .wp-block-post-content div[style*="display: flex"][style*="gap: 15px"],
    div[style*="direction: ltr"] div[style*="display: flex"][style*="gap: 15px"] {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
    }
    
    .entry-content div[style*="display: flex"][style*="gap: 15px"] a,
    .wp-block-post-content div[style*="display: flex"][style*="gap: 15px"] a,
    div[style*="direction: ltr"] div[style*="display: flex"][style*="gap: 15px"] a {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    /* Font size increase בTablet */
    body {
        font-size: 17px !important;
    }
    
    .mozlim-plus-brand-name {
        font-size: 2.8rem !important;
    }
    
    .mozlim-plus-tagline {
        font-size: 1.3rem !important;
    }
    
    .mozlim-plus-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mozlim-plus-btn {
        width: 100%;
        max-width: 400px;
        padding: 14px 28px !important;
        font-size: 1.1rem !important;
        min-height: 48px !important;
        box-sizing: border-box !important;
    }
    
    /* Group buttons on home page - Tablet */
    .mozlim-plus-groups-section {
        padding: 25px 20px !important;
    }
    
    .mozlim-plus-groups-title {
        font-size: 1.8rem !important;
    }
    
    .mozlim-plus-groups-section a {
        flex: 1 1 auto;
        min-width: 200px;
        max-width: calc(50% - 8px);
        padding: 12px 25px !important;
        font-size: 1rem !important;
    }
    
    .mozlim-plus-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .mozlim-plus-posts-header {
        padding: 24px 18px !important;
        margin-bottom: 25px !important;
    }
    
    .mozlim-plus-posts-header h1 {
        font-size: 1.6rem !important;
        margin-bottom: 8px;
    }
    
    .mozlim-plus-posts-header p {
        font-size: 0.95rem !important;
        margin-bottom: 18px !important;
    }
    
    .mozlim-plus-search-box {
        margin-bottom: 18px !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }
    
    .mozlim-plus-search-box form {
        padding: 3px !important;
        background: rgba(255, 255, 255, 0.25) !important;
        backdrop-filter: blur(10px) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 30px !important;
    }
    
    .mozlim-plus-search-box form:focus-within {
        background: rgba(255, 255, 255, 0.35) !important;
        border-color: rgba(255, 255, 255, 0.6) !important;
    }
    
    .mozlim-plus-search-box input[type="search"],
    .mozlim-plus-search-box input[type="text"] {
        padding: 11px 18px !important;
        font-size: 0.98rem !important;
        background: transparent !important;
        color: #ffffff !important;
        border: none !important;
    }
    
    .mozlim-plus-search-box input[type="search"]::placeholder,
    .mozlim-plus-search-box input[type="text"]::placeholder {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .mozlim-plus-search-box button {
        width: 42px !important;
        height: 42px !important;
        margin-left: 3px !important;
        background: rgba(255, 255, 255, 0.3) !important;
        border: none !important;
        border-radius: 50% !important;
    }
    
    .mozlim-plus-search-box button:hover {
        background: rgba(255, 255, 255, 0.5) !important;
    }
    
    .mozlim-plus-search-box .search-icon {
        color: #ffffff !important;
    }
    
    .mozlim-plus-filter-buttons {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .mozlim-filter-btn {
        flex: 1 1 auto;
        min-width: 150px;
        max-width: calc(50% - 6px);
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
    }
    
    .mozlim-plus-post-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .mozlim-plus-post-meta > div {
        width: 100%;
    }
    
    .mozlim-plus-post-link {
        width: 100%;
        text-align: center;
        padding: 14px 28px !important;
        font-size: 1.1rem !important;
        min-height: 48px !important;
        box-sizing: border-box !important;
    }
    
    .mozlim-plus-post-title {
        font-size: 1.5rem !important;
    }
    
    .mozlim-plus-post-excerpt {
        font-size: 1rem !important;
    }
    
    /* Hide irrelevant links */
    .wp-block-navigation-link[href="#"] {
        display: none !important;
    }
    
    /* Buttons on Contact Page - Tablet */
    .entry-content a[href*="t.me"],
    .entry-content a[href*="whatsapp.com"],
    .entry-content a[href*="chat.whatsapp.com"],
    .wp-block-post-content a[href*="t.me"],
    .wp-block-post-content a[href*="whatsapp.com"],
    .wp-block-post-content a[href*="chat.whatsapp.com"],
    div[style*="direction: ltr"] a[href*="t.me"],
    div[style*="direction: ltr"] a[href*="whatsapp.com"],
    div[style*="direction: ltr"] a[href*="chat.whatsapp.com"] {
        padding: 10px 20px !important;
        font-size: 0.95rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        line-height: 1.4 !important;
        display: inline-block !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Extra long button - Tablet */
    .entry-content a[href*="FqBt8DoirIyDaFQj3dn7zE"],
    .wp-block-post-content a[href*="FqBt8DoirIyDaFQj3dn7zE"],
    div[style*="direction: ltr"] a[href*="FqBt8DoirIyDaFQj3dn7zE"] {
        font-size: 0.85rem !important;
        padding: 10px 15px !important;
        line-height: 1.3 !important;
    }
    
    /* Button container - Tablet */
    .entry-content div[style*="display: flex"][style*="gap: 15px"],
    .wp-block-post-content div[style*="display: flex"][style*="gap: 15px"],
    div[style*="direction: ltr"] div[style*="display: flex"][style*="gap: 15px"] {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
    
    .entry-content div[style*="display: flex"][style*="gap: 15px"] a,
    .wp-block-post-content div[style*="display: flex"][style*="gap: 15px"] a,
    div[style*="direction: ltr"] div[style*="display: flex"][style*="gap: 15px"] a {
        flex: 1 1 auto !important;
        min-width: 150px !important;
        max-width: calc(50% - 6px) !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .mozlim-plus-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch-friendly buttons for mobile */
@media (hover: none) and (pointer: coarse) {
    .mozlim-plus-btn,
    .mozlim-plus-post-link {
        min-height: 44px;
        min-width: 44px;
    }
}

/* כפתורי טלגרם ווואטסאפ בדף צור קשר - זהים לPosts Page */
.mozlim-plus-telegram-btn,
.mozlim-plus-whatsapp-btn {
    display: inline-block !important;
    padding: 10px 25px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 25px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

.mozlim-plus-telegram-btn {
    background: #0088cc !important;
}

.mozlim-plus-telegram-btn:hover {
    background: #0077b3 !important;
    transform: translateY(-2px) !important;
}

.mozlim-plus-whatsapp-btn {
    background: #25D366 !important;
}

.mozlim-plus-whatsapp-btn:hover {
    background: #20ba5a !important;
    transform: translateY(-2px) !important;
}

/* Hide unwanted texts from gray section (Footer) */
.mozlim-plus-footer-menu *:contains("פועל על WordPress"),
.mozlim-plus-footer-menu *:contains("פועל על וורדפרס"),
.mozlim-plus-footer-menu *:contains("Powered by WordPress"),
.mozlim-plus-footer-menu *:contains("עוצב ע״י מוזלים-פלוס"),
.mozlim-plus-footer-menu *:contains("נוצר ע״י מוזלים-פלוס"),
.mozlim-plus-footer-menu *:contains("Designed by"),
.mozlim-plus-footer-menu *:contains("Created by"),
.mozlim-plus-footer-menu *:contains("עוצב ע״י"),
.mozlim-plus-footer-menu *:contains("נוצר ע״י") {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/* Aggressive CSS להסתרת טקסטים לא רצויים מהחלק האפור */
.mozlim-plus-footer-menu p:not(:has(span[class*="copyright"])):not(:has(a[href*="privacy"])):not(:has(a[href*="terms"])):not(:has(a[href*="accessibility"])):not(:has(a[href*="contact"])):not(:has(a[href*="telegram"])):not(:has(a[href*="whatsapp"])) {
    /* בדוק אם הטקסט מכיל את המילים הלא רצויות */
}

/* Hide all elements containing את הטקסטים הלא רצויים */
.mozlim-plus-footer-menu p:has-text("פועל על WordPress"),
.mozlim-plus-footer-menu p:has-text("פועל על וורדפרס"),
.mozlim-plus-footer-menu p:has-text("עוצב ע״י מוזלים-פלוס"),
.mozlim-plus-footer-menu span:has-text("פועל על WordPress"),
.mozlim-plus-footer-menu span:has-text("עוצב ע״י מוזלים-פלוס"),
.mozlim-plus-footer-menu div:has-text("פועל על WordPress"),
.mozlim-plus-footer-menu div:has-text("עוצב ע״י מוזלים-פלוס") {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Single Post Design */
.mozlim-plus-single-post {
    direction: ltr;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.mozlim-plus-single-post-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Hide text above image (excerpt/description) - רק בין הכותרת לתמונה */
.mozlim-plus-single-post-header ~ p:not(.mozlim-plus-single-post-content p),
.mozlim-plus-single-post-header + p:not(.mozlim-plus-single-post-content p),
.mozlim-plus-single-post-header ~ .wp-block-post-excerpt,
.mozlim-plus-single-post-header + .wp-block-post-excerpt,
.mozlim-plus-single-post-header ~ div:has(.wp-block-post-excerpt):not(.mozlim-plus-single-post-content),
.mozlim-plus-single-post-header + div:has(.wp-block-post-excerpt):not(.mozlim-plus-single-post-content),
.mozlim-plus-single-post-header ~ .entry-content:not(.mozlim-plus-single-post-content),
.mozlim-plus-single-post-header + .entry-content:not(.mozlim-plus-single-post-content) {
    display: none !important;
}

/* Hide content that comes before image אבל אחרי הכותרת */
.mozlim-plus-single-post-header + *:not(.mozlim-plus-single-post-image):not(.mozlim-plus-single-post-content) {
    display: none !important;
}

.mozlim-plus-single-post-image {
    width: 100%;
    max-width: 500px;
    min-height: 300px;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    object-position: center center;
    border-radius: 15px;
    margin: 0 auto 30px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: block;
}

/* Ensure image container doesn't crop the image */
div[style*="position: relative"] img.mozlim-plus-single-post-image {
    max-width: 500px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.mozlim-plus-single-post-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.mozlim-plus-single-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.mozlim-plus-single-post-content h3 {
    color: #667eea;
    margin-top: 30px;
    margin-bottom: 15px;
}

.mozlim-plus-single-post-content p {
    margin-bottom: 15px;
}

.mozlim-plus-single-post-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

.mozlim-plus-single-post-content a:hover {
    text-decoration: underline;
}

/* Group Links Design */
.mozlim-plus-social-links {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    text-align: center;
}

.mozlim-plus-social-links h3 {
    margin-bottom: 20px;
    color: #333;
}

.mozlim-plus-social-link {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 5px;
}

.mozlim-plus-social-link-telegram {
    background: #0088cc;
    color: #ffffff;
}

.mozlim-plus-social-link-telegram:hover {
    background: #006ba3;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.mozlim-plus-social-link-whatsapp {
    background: #25D366;
    color: #ffffff;
}

.mozlim-plus-social-link-whatsapp:hover {
    background: #1da851;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Buttons on Contact Page - Desktop - General CSS */
@media screen and (min-width: 769px) {
    /* תפוס כל כפתור עם padding: 10px 25px בDesktop */
    a[style*="padding: 10px 25px"][href*="t.me"],
    a[style*="padding: 10px 25px"][href*="whatsapp.com"],
    a[style*="padding: 10px 25px"][href*="chat.whatsapp.com"],
    .entry-content a[style*="padding: 10px 25px"][href*="t.me"],
    .entry-content a[style*="padding: 10px 25px"][href*="whatsapp.com"],
    .entry-content a[style*="padding: 10px 25px"][href*="chat.whatsapp.com"],
    .wp-block-post-content a[style*="padding: 10px 25px"][href*="t.me"],
    .wp-block-post-content a[style*="padding: 10px 25px"][href*="whatsapp.com"],
    .wp-block-post-content a[style*="padding: 10px 25px"][href*="chat.whatsapp.com"],
    div[style*="direction: ltr"] a[style*="padding: 10px 25px"][href*="t.me"],
    div[style*="direction: ltr"] a[style*="padding: 10px 25px"][href*="whatsapp.com"],
    div[style*="direction: ltr"] a[style*="padding: 10px 25px"][href*="chat.whatsapp.com"] {
        width: auto !important;
        max-width: none !important;
        display: inline-block !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        margin-left: 0 !important;
        padding: 10px 25px !important;
    }
    
    /* Extra long button - Desktop */
    a[style*="padding: 10px 25px"][href*="FqBt8DoirIyDaFQj3dn7zE"],
    .entry-content a[style*="padding: 10px 25px"][href*="FqBt8DoirIyDaFQj3dn7zE"],
    .wp-block-post-content a[style*="padding: 10px 25px"][href*="FqBt8DoirIyDaFQj3dn7zE"],
    div[style*="direction: ltr"] a[style*="padding: 10px 25px"][href*="FqBt8DoirIyDaFQj3dn7zE"] {
        width: auto !important;
        max-width: none !important;
        display: inline-block !important;
        white-space: nowrap !important;
        padding: 10px 25px !important;
    }
    
    /* Button container - Desktop */
    div[style*="display: flex"][style*="gap: 15px"],
    .entry-content div[style*="display: flex"][style*="gap: 15px"],
    .wp-block-post-content div[style*="display: flex"][style*="gap: 15px"],
    div[style*="direction: ltr"] div[style*="display: flex"][style*="gap: 15px"] {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    div[style*="display: flex"][style*="gap: 15px"] a,
    .entry-content div[style*="display: flex"][style*="gap: 15px"] a,
    .wp-block-post-content div[style*="display: flex"][style*="gap: 15px"] a,
    div[style*="direction: ltr"] div[style*="display: flex"][style*="gap: 15px"] a {
        width: auto !important;
        max-width: none !important;
        flex: none !important;
    }
}

/* Buttons on Contact Page - Mobile - General CSS */
@media screen and (max-width: 480px) {
    /* תפוס כל כפתור עם padding: 10px 25px בMobile */
    a[style*="padding: 10px 25px"][href*="t.me"],
    a[style*="padding: 10px 25px"][href*="whatsapp.com"],
    a[style*="padding: 10px 25px"][href*="chat.whatsapp.com"] {
        padding: 10px 20px !important;
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        white-space: nowrap !important;
        word-wrap: normal !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        min-height: auto !important;
        height: auto !important;
        margin-bottom: 10px !important;
        margin-left: 0 !important;
        margin-left: 0 !important;
    }
    
    /* Extra long button */
    a[style*="padding: 10px 25px"][href*="FqBt8DoirIyDaFQj3dn7zE"] {
        padding: 10px 15px !important;
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        display: block !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    
    /* Button container */
    div[style*="display: flex"][style*="gap: 15px"] {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
        width: 100% !important;
    }
    
    /* Ensure no overlap */
    div[style*="display: flex"][style*="gap: 15px"] a {
        margin: 0 !important;
        clear: both !important;
    }
}

@media screen and (max-width: 768px) and (min-width: 481px) {
    /* Tablet */
    a[style*="padding: 10px 25px"][href*="t.me"],
    a[style*="padding: 10px 25px"][href*="whatsapp.com"],
    a[style*="padding: 10px 25px"][href*="chat.whatsapp.com"] {
        padding: 10px 20px !important;
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        display: inline-block !important;
        box-sizing: border-box !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    a[style*="padding: 10px 25px"][href*="FqBt8DoirIyDaFQj3dn7zE"] {
        padding: 10px 15px !important;
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
    }
    
    div[style*="display: flex"][style*="gap: 15px"] {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
    
    div[style*="display: flex"][style*="gap: 15px"] a {
        flex: 1 1 auto !important;
        min-width: 150px !important;
        max-width: calc(50% - 6px) !important;
    }
}

