*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --stone-950: #0c0a09;
    --bg: #fcfdfa;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Assistant', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--stone-800);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.75;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--stone-100); }
::-webkit-scrollbar-thumb { background: var(--stone-300); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--stone-400); }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ============ HEADER (משותף לכל דפי הבלוג) ============ */
.blog-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(252,253,250,0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--stone-200);
    padding: 16px 24px;
}
.blog-header-inner {
    max-width: 1120px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.blog-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.blog-logo img { width: 34px; height: 34px; object-fit: contain; }
.blog-logo span { font-size: 19px; font-weight: 800; color: var(--emerald-900); letter-spacing: 0.08em; }
.blog-header-nav { display: flex; align-items: center; gap: 22px; font-size: 13.5px; font-weight: 700; color: var(--stone-600); }
.blog-header-nav a { text-decoration: none; transition: color 0.2s; }
.blog-header-nav a:hover { color: var(--emerald-700); }
.blog-header-nav .cta-btn {
    background: var(--stone-900); color: #fff; padding: 9px 18px; border-radius: 12px;
    display: flex; align-items: center; gap: 8px; transition: background 0.25s, transform 0.25s;
}
.blog-header-nav .cta-btn:hover { background: var(--emerald-800); transform: translateY(-1px); }
@media (max-width: 720px) { .blog-header-nav .nav-links { display: none; } }

/* ============ HERO (עמוד אינדקס) ============ */
.blog-hero {
    background: radial-gradient(circle at 15% 20%, rgba(4,120,87,0.10), transparent 45%),
                linear-gradient(140deg, var(--stone-950) 0%, var(--stone-900) 55%, var(--emerald-950) 100%);
    color: #fff;
    padding: 76px 24px 96px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.blog-hero::before {
    content: ''; position: absolute; inset: 0; opacity: 0.06;
    background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 18px 18px;
}
.blog-hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.blog-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
    color: var(--emerald-200); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em;
    padding: 7px 18px; border-radius: 50px; margin-bottom: 22px; backdrop-filter: blur(6px);
}
.blog-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 18px; }
.blog-hero p { color: rgba(255,255,255,0.72); font-size: 16px; line-height: 1.8; max-width: 560px; margin: 0 auto; }

/* ============ מיכל ראשי ============ */
.blog-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ============ כרטיס מאמר מומלץ ============ */
.featured-card {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
    background: #fff; border: 1px solid var(--stone-200); border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.08); overflow: hidden;
    margin: -56px auto 64px; position: relative; z-index: 2;
    text-decoration: none;
    transition: box-shadow 0.35s, transform 0.35s;
}
.featured-card:hover { box-shadow: 0 32px 70px rgba(0,0,0,0.12); transform: translateY(-3px); }
.featured-media { position: relative; min-height: 280px; background-size: cover; background-position: center; }
.featured-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.15), transparent 40%); }
.featured-badge {
    position: absolute; top: 18px; right: 18px; background: var(--amber-500); color: #fff;
    font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
    padding: 6px 14px; border-radius: 50px; z-index: 1;
}
.featured-body { padding: 40px 40px 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.cat-tag {
    display: inline-flex; align-self: flex-start; align-items: center; gap: 6px;
    background: var(--emerald-50); color: var(--emerald-800); border: 1px solid var(--emerald-100);
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
    padding: 5px 13px; border-radius: 50px; margin-bottom: 14px;
}
.featured-body h2 { font-size: 1.7rem; font-weight: 900; color: var(--stone-950); line-height: 1.3; margin-bottom: 12px; letter-spacing: -0.01em; }
.featured-body p { color: var(--stone-500); font-size: 14.5px; line-height: 1.75; margin-bottom: 20px; }
.meta-row { display: flex; align-items: center; gap: 16px; font-size: 12.5px; color: var(--stone-400); font-weight: 600; }
.meta-row span { display: flex; align-items: center; gap: 6px; }
.read-more-link { display: inline-flex; align-items: center; gap: 8px; color: var(--emerald-700); font-weight: 800; font-size: 13.5px; margin-top: 22px; }
.featured-card:hover .read-more-link i { transform: translateX(-4px); }
.read-more-link i { transition: transform 0.3s; }

@media (max-width: 860px) {
    .featured-card { grid-template-columns: 1fr; margin-top: -32px; }
    .featured-media { min-height: 200px; }
    .featured-body { padding: 28px 24px; }
}

/* ============ רשת מאמרים ============ */
.section-label {
    font-size: 12px; font-weight: 800; color: var(--stone-400); text-transform: uppercase;
    letter-spacing: 0.1em; margin-bottom: 20px; display: block;
}
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 80px; }
@media (max-width: 860px) { .article-grid { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1080px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }

.article-card { text-decoration: none; display: block; group: article; }
.article-media {
    aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; position: relative; margin-bottom: 18px;
    background-size: cover; background-position: center; box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: box-shadow 0.35s;
}
.article-card:hover .article-media { box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.article-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.article-card:hover .article-media img { transform: scale(1.06); }
.article-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--stone-950); line-height: 1.4; margin-bottom: 8px; transition: color 0.2s; }
.article-card:hover h3 { color: var(--emerald-800); }
.article-card p { color: var(--stone-500); font-size: 13.5px; line-height: 1.7; margin-bottom: 14px; }

/* ============ מאמר בודד - כותרת ============ */
.article-hero { padding: 44px 24px 0; text-align: center; }
.article-hero-inner { max-width: 760px; margin: 0 auto; }
.article-hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 900; color: var(--stone-950); letter-spacing: -0.02em; line-height: 1.25; margin: 16px 0 18px; }
.article-hero .lede { font-size: 16px; color: var(--stone-500); line-height: 1.8; max-width: 620px; margin: 0 auto 26px; }
.article-hero-image {
    max-width: 1120px; margin: 32px auto 0; border-radius: 28px; overflow: hidden;
    aspect-ratio: 21/9; background-size: cover; background-position: center; box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}
@media (max-width: 720px) { .article-hero-image { aspect-ratio: 4/3; border-radius: 20px; } }

/* ============ גוף המאמר ============ */
.article-body { max-width: 720px; margin: 0 auto; padding: 56px 24px 0; }
.article-body h2 { font-size: 1.5rem; font-weight: 900; color: var(--stone-950); margin: 44px 0 16px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 12px; }
.article-body h2 .num { color: var(--emerald-600); font-size: 1rem; font-weight: 800; }
.article-body h3 { font-size: 1.15rem; font-weight: 800; color: var(--stone-900); margin: 28px 0 12px; }
.article-body p { font-size: 15.5px; color: var(--stone-600); line-height: 1.9; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 18px 0; padding-inline-start: 0; list-style: none; }
.article-body ul li {
    position: relative; padding-inline-end: 28px; margin-bottom: 12px; font-size: 15px; color: var(--stone-600); line-height: 1.8;
}
.article-body ul li::before {
    content: ''; position: absolute; inset-inline-end: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald-600);
}
.article-body strong { color: var(--stone-900); font-weight: 800; }
.article-body a.inline-link { color: var(--emerald-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.pull-quote {
    font-size: 1.35rem; font-weight: 800; color: var(--stone-900); line-height: 1.55;
    border-right: 4px solid var(--emerald-700); padding: 4px 24px; margin: 40px 0;
}

.tip-box {
    background: var(--emerald-50); border: 1px solid var(--emerald-100); border-radius: 18px;
    padding: 22px 26px; margin: 30px 0; display: flex; gap: 16px; align-items: flex-start;
}
.tip-box .tip-icon {
    width: 38px; height: 38px; border-radius: 12px; background: var(--emerald-700); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0;
}
.tip-box strong { display: block; color: var(--emerald-900); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.tip-box p { margin: 0; font-size: 14.5px; color: var(--emerald-900); line-height: 1.75; }

/* קופסת מוצרים רלוונטיים */
.product-callout {
    background: linear-gradient(135deg, var(--stone-900), var(--stone-950));
    border-radius: 22px; padding: 30px 32px; margin: 44px 0; color: #fff; position: relative; overflow: hidden;
}
.product-callout::before { content: ''; position: absolute; top: -40px; left: -40px; width: 160px; height: 160px; background: rgba(4,120,87,0.35); border-radius: 50%; filter: blur(50px); }
.product-callout-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.product-callout h4 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.product-callout p { color: rgba(255,255,255,0.65); font-size: 13.5px; margin: 0; }
.product-callout-btn {
    background: #fff; color: var(--stone-950); font-weight: 800; font-size: 13.5px;
    padding: 12px 24px; border-radius: 12px; text-decoration: none; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 8px; transition: transform 0.25s, box-shadow 0.25s;
    flex-shrink: 0;
}
.product-callout-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.25); }

/* ============ מטא / שיתוף / כותב ============ */
.article-meta-bar {
    max-width: 720px; margin: 28px auto 0; padding: 0 24px 28px; border-bottom: 1px solid var(--stone-200);
    display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 12.5px; color: var(--stone-400); font-weight: 700;
}
.article-meta-bar span { display: flex; align-items: center; gap: 6px; }

/* ============ מאמרים קשורים ============ */
.related-section { max-width: 1120px; margin: 90px auto 0; padding: 60px 24px; border-top: 1px solid var(--stone-200); }

/* ============ פוטר משותף ============ */
.blog-footer { text-align: center; padding: 40px 20px 32px; border-top: 1px solid var(--stone-200); background: var(--stone-50); margin-top: 40px; }
.blog-footer p { font-size: 12.5px; color: var(--stone-400); }
.blog-footer .footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.blog-footer .footer-links a { font-size: 12.5px; color: var(--emerald-700); text-decoration: none; font-weight: 600; }
.blog-footer .footer-links a:hover { text-decoration: underline; }

/* כפתור חזרה */
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--stone-500); font-size: 13px; font-weight: 700; text-decoration: none; margin-bottom: 20px; transition: color 0.2s; }
.back-link:hover { color: var(--emerald-700); }
