/*
Theme Name: Onyx Design Premium Theme
Theme URI: https://onyx-design.co.il
Author: Antigravity Web Design
Description: Premium Theme for Onyx Design - בניית אתר תדמית בזול. Single unified font Rubik, Light Blue, Yellow, and Burgundy palette. Massive line spacing for post pages.
Version: 3.2.0
Text Domain: theme-onyx-design-co-il
*/

/* SINGLE UNIFIED FONT FOR ENTIRE SITE */
:root {
    --font-primary: 'Rubik', sans-serif;
    
    /* Palette: Light Blue, Yellow, Burgundy */
    --color-blue: #0284c7;
    --color-blue-light: #e0f2fe;
    --color-blue-dark: #0369a1;
    
    --color-yellow: #facc15;
    --color-yellow-hover: #eab308;
    --color-yellow-light: #fef9c3;
    
    --color-burgundy: #831843;
    --color-burgundy-hover: #9f1239;
    --color-burgundy-light: #fce7f3;
    
    /* UI Bases */
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-text: #0f172a;
    --color-muted: #64748b;
    --color-border: #e2e8f0;
    --color-dark: #0f172a;
    
    --shadow-sm: 0 2px 6px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.07);
    --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: var(--font-primary) !important; }

body {
    font-family: var(--font-primary) !important;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 2.2 !important; /* Generous line spacing site-wide */
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

p {
    margin-bottom: 30px !important;
    line-height: 2.2 !important;
}

a { color: var(--color-blue); text-decoration: none; transition: all 0.25s ease; }
a:hover { color: var(--color-burgundy); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   MASSIVE LINE SPACING FOR POST PAGES (עמודי פוסטים)
   ========================================================================== */
.single-post-wrapper, 
.post-content-body, 
.entry-content, 
.single p, 
.single div, 
.single li,
.single-post-header {
    line-height: 2.35 !important;
    font-size: 1.18rem !important;
}

.single-post-wrapper p, 
.post-content-body p, 
.entry-content p {
    margin-bottom: 34px !important;
    line-height: 2.35 !important;
}

.post-content-body h2, .entry-content h2 {
    font-size: 1.9rem !important;
    font-weight: 900 !important;
    color: var(--color-dark) !important;
    margin: 45px 0 22px 0 !important;
    border-right: 5px solid var(--color-blue) !important;
    padding-right: 18px !important;
    line-height: 1.4 !important;
}

.post-content-body h3, .entry-content h3 {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: var(--color-dark) !important;
    margin: 35px 0 18px 0 !important;
    line-height: 1.4 !important;
}

.post-content-body ul, .entry-content ul,
.post-content-body ol, .entry-content ol {
    margin: 0 25px 32px 0 !important;
}

.post-content-body li, .entry-content li {
    margin-bottom: 16px !important;
    line-height: 2.25 !important;
}

/* Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-yellow), var(--color-burgundy));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease;
}

/* Top Ticker */
.top-ticker-bar {
    background: var(--color-dark);
    color: #ffffff;
    font-size: 0.88rem;
    padding: 9px 0;
    border-bottom: 2px solid var(--color-yellow);
}
.ticker-container { display: flex; align-items: center; gap: 15px; }
.ticker-label { font-weight: 800; color: var(--color-yellow); display: flex; align-items: center; gap: 8px; }

/* Header */
.main-header {
    background: var(--color-surface);
    border-bottom: 3px solid var(--color-blue);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.brand-logo { cursor: pointer; display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-burgundy));
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}
.logo-title { font-size: 1.7rem; font-weight: 900; color: var(--color-dark); line-height: 1.1; }
.highlight-main { color: var(--color-blue); }
.logo-sub { font-size: 0.8rem; color: var(--color-muted); display: block; font-weight: 600; }

/* Actions & Nav */
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-btn, .accessibility-trigger-btn {
    background: var(--color-blue-light);
    border: 1px solid var(--color-blue);
    padding: 9px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--color-blue-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.search-btn:hover, .accessibility-trigger-btn:hover { background: var(--color-blue); color: #ffffff; }

.mobile-toggle {
    display: none;
    background: var(--color-burgundy);
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.3rem;
}

.main-nav ul { display: flex; list-style: none; gap: 24px; }
.main-nav a { font-weight: 800; font-size: 1.05rem; color: var(--color-dark); padding: 8px 0; }
.main-nav a:hover { color: var(--color-burgundy); }

/* REPUTATION MANAGEMENT BANNER (FIREFOX.CO.IL) */
.reputation-promo-banner {
    background: linear-gradient(135deg, var(--color-burgundy) 0%, #4c0519 100%);
    color: #ffffff;
    padding: 18px 0;
    box-shadow: 0 4px 15px rgba(131, 24, 67, 0.25);
    border-bottom: 3px solid var(--color-yellow);
}
.reputation-banner-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.reputation-text { font-size: 1.08rem; font-weight: 600; display: flex; align-items: center; gap: 12px; line-height: 1.8 !important; }
.reputation-text strong { color: var(--color-yellow); }
.reputation-btn {
    background: var(--color-yellow);
    color: var(--color-dark);
    font-weight: 900;
    font-size: 1.02rem;
    padding: 12px 26px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4);
    transition: all 0.25s ease;
}
.reputation-btn:hover { background: var(--color-yellow-hover); transform: translateY(-2px); color: var(--color-dark); }

/* HERO SECTION */
.onyx-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 65px 0;
    border-bottom: 4px solid var(--color-blue);
}
.hero-box { text-align: center; max-width: 900px; margin: 0 auto; }
.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-yellow-light);
    color: #854d0e;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 6px 22px;
    border-radius: 30px;
    margin-bottom: 22px;
}
.hero-h1 { font-size: 2.85rem; font-weight: 900; line-height: 1.3 !important; margin-bottom: 22px; }
.hero-h1 .highlight-blue { color: var(--color-blue); }
.hero-desc { font-size: 1.25rem; color: #cbd5e1; margin-bottom: 32px; line-height: 2.0 !important; }

.hero-buttons { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.btn-hero-main {
    background: var(--color-blue);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 14px 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}
.btn-hero-main:hover { background: var(--color-blue-dark); color: #ffffff; transform: translateY(-2px); }

/* ULTRA-CLEAN MODERN LATEST ARTICLES BLOCK */
.modern-articles-section { padding: 65px 0; background: #f1f5f9; }
.section-header-center { text-align: center; margin-bottom: 45px; }
.section-header-center h2 { font-size: 2.2rem; font-weight: 900; color: var(--color-dark); margin-bottom: 12px; }
.section-header-center p { color: var(--color-muted); font-size: 1.1rem; }

.articles-grid-modern { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.article-card-modern {
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.article-card-modern:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-blue); }
.article-thumb-modern { height: 210px; display: block; overflow: hidden; background: #cbd5e1; }
.article-thumb-modern img { width: 100%; height: 100%; object-fit: cover; }
.article-body-modern { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.article-title-modern { font-size: 1.22rem; font-weight: 800; margin-bottom: 12px; line-height: 1.5 !important; }
.article-title-modern a { color: var(--color-dark); }

/* DEEP 5,000 WORD SEO GUIDE WITH EXTRA AIRY SPACING */
.seo-article-guide-wrapper {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 55px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    margin: 50px 0;
    font-size: 1.15rem !important;
    line-height: 2.25 !important;
    color: #334155;
}
.seo-article-guide-wrapper h2 { font-size: 1.9rem; font-weight: 900; color: var(--color-dark); margin: 45px 0 22px 0; border-right: 5px solid var(--color-blue); padding-right: 18px; line-height: 1.4 !important; }
.seo-article-guide-wrapper h3 { font-size: 1.45rem; font-weight: 800; color: var(--color-dark); margin: 32px 0 16px 0; line-height: 1.4 !important; }
.seo-article-guide-wrapper p { margin-bottom: 30px !important; line-height: 2.25 !important; }
.seo-article-guide-wrapper ul, .seo-article-guide-wrapper ol { margin: 0 25px 30px 0; }
.seo-article-guide-wrapper li { margin-bottom: 16px !important; line-height: 2.15 !important; }

.callout-seo-yellow {
    background: var(--color-yellow-light);
    border-right: 5px solid var(--color-yellow-hover);
    padding: 24px 28px;
    border-radius: 10px;
    margin: 30px 0;
    font-weight: 600;
    line-height: 2.1 !important;
}

.table-seo-wrap { width: 100%; overflow-x: auto; margin: 35px 0; }
.table-seo { width: 100%; border-collapse: collapse; text-align: right; }
.table-seo th { background: var(--color-dark); color: #ffffff; padding: 16px 20px; font-weight: 800; font-size: 1.05rem; }
.table-seo td { border: 1px solid var(--color-border); padding: 14px 20px; font-size: 1.02rem; line-height: 1.9 !important; }
.table-seo tr:nth-child(even) { background: #f8fafc; }

/* FAQ Accordion */
.faq-box-wrap { margin-top: 40px; }
.faq-item-single { border: 1px solid var(--color-border); border-radius: 10px; margin-bottom: 16px; overflow: hidden; }
.faq-item-title { background: #f8fafc; padding: 18px 22px; font-weight: 800; color: var(--color-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; }
.faq-item-content { padding: 24px; background: #ffffff; line-height: 2.15 !important; font-size: 1.05rem; }

/* Anchor links inside article content */
.post-content-body a, .entry-content a, .seo-article-guide-wrapper a {
    font-weight: 800 !important;
    color: var(--color-blue) !important;
    text-decoration: underline !important;
    background-color: var(--color-blue-light);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Footer */
.main-footer { background-color: var(--color-dark) !important; color: #cbd5e1 !important; padding: 55px 0 25px 0 !important; margin-top: 60px !important; direction: rtl !important; text-align: right !important; width: 100% !important; }
.main-footer .container { width: 100% !important; max-width: 1200px !important; margin: 0 auto !important; padding: 0 20px !important; box-sizing: border-box !important; }
.footer-grid { display: grid !important; grid-template-columns: 2fr 1fr 1fr 1.5fr !important; gap: 30px !important; width: 100% !important; }
.footer-col { display: flex !important; flex-direction: column !important; }
.footer-col h3 { color: #ffffff !important; font-size: 1.15rem !important; font-weight: 800 !important; margin-bottom: 16px !important; border-bottom: 2px solid var(--color-yellow) !important; padding-bottom: 8px !important; display: inline-block !important; }
.footer-about { color: #cbd5e1 !important; font-size: 0.95rem !important; line-height: 1.8 !important; margin-top: 10px !important; }
.footer-menu, .footer-links-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.footer-menu li, .footer-links-list li { margin-bottom: 10px !important; }
.footer-menu a, .footer-links-list a { color: #cbd5e1 !important; font-size: 0.95rem !important; text-decoration: none !important; }

/* Required Links in Footer */
.required-links-col a, .footer-links-list a { font-weight: 800 !important; color: var(--color-yellow) !important; text-decoration: underline !important; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1) !important; margin-top: 35px !important; padding-top: 20px !important; display: flex !important; justify-content: space-between !important; align-items: center !important; flex-wrap: wrap !important; gap: 15px !important; }
.copy-text { color: #cbd5e1 !important; font-size: 0.9rem !important; }
.back-to-top-btn { background: rgba(255,255,255,0.1) !important; color: #ffffff !important; border: 1px solid rgba(255,255,255,0.2) !important; padding: 8px 16px !important; border-radius: 6px !important; cursor: pointer !important; font-size: 0.85rem !important; font-weight: 700 !important; }

/* Modals */
.accessibility-widget, .search-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15,23,42,0.75); z-index: 10000; align-items: center; justify-content: center; }
.accessibility-widget.is-active, .search-modal.is-active { display: flex; }
.access-header, .search-modal-content { background: #ffffff; padding: 25px; border-radius: 12px; max-width: 500px; width: 90%; position: relative; }

/* Mobile Overrides */
@media screen and (max-width: 900px) {
    .hero-h1 { font-size: 2.1rem; }
    .reputation-banner-inner { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 25px !important; }
    .seo-article-guide-wrapper { padding: 25px; }
}

@media screen and (max-width: 600px) {
    .mobile-toggle { display: block !important; }
    .main-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: #ffffff; box-shadow: 0 10px 25px rgba(0,0,0,0.15); padding: 20px; z-index: 999; }
    .main-nav.is-active { display: block !important; }
    .main-nav ul { flex-direction: column !important; gap: 12px !important; }
    .footer-grid { display: flex !important; flex-direction: column !important; gap: 25px !important; width: 100% !important; }
}


/* ==========================================================================
   PERMANENT MASSIVE SPACING FOR ALL POST PAGES (עמודי פוסטים)
   ========================================================================== */
.single-post-wrapper, 
.post-content-body, 
.entry-content, 
.single p, 
.single-post-wrapper p, 
.post-content-body p, 
.entry-content p,
.post-content-body div,
.entry-content div,
.post-content-body li,
.entry-content li {
    line-height: 2.35 !important;
    margin-bottom: 35px !important;
    font-size: 1.18rem !important;
}

.post-content-body h2, .entry-content h2 {
    margin-top: 45px !important;
    margin-bottom: 22px !important;
    line-height: 1.4 !important;
}

.post-content-body h3, .entry-content h3 {
    margin-top: 35px !important;
    margin-bottom: 18px !important;
    line-height: 1.4 !important;
}
