/*
Theme Name: חדשות הצפון
Theme URI: https://hatzafon-news.co.il
Description: עיצוב עיתונאי לבן-אדום-שחור
Version: 3.1
Author: Claude
Text Domain: hatzafon-news
*/

html,body{box-sizing:border-box;margin:0;padding:0;width:100%;overflow-x:hidden;}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
body{font-family:'Heebo',sans-serif;direction:rtl;background:#fff;color:#111;font-size:15px;line-height:1.5;}
a{text-decoration:none;color:inherit;}
img{max-width:100%;height:auto;display:block;}

/* === UTILITY BAR === */
.util-bar{background:#111;padding:5px 18px;display:flex;justify-content:space-between;align-items:center;width:100%;}
.util-bar span{font-size:10px;color:#888;}

/* === HEADER === */
.site-header{background:#fff;padding:12px 18px;border-bottom:3px solid #111;display:flex;align-items:center;gap:12px;width:100%;}
.site-logo-wrap{flex:1;display:flex;align-items:center;}
.site-logo-text{display:flex;align-items:baseline;gap:6px;}
.logo-w1{font-size:28px;font-weight:900;color:#111;letter-spacing:-1px;line-height:1;}
.logo-w2{font-size:28px;font-weight:900;color:#e60012;letter-spacing:-1px;line-height:1;}
.custom-logo{height:44px;width:auto;}
.custom-logo-link{display:flex;align-items:center;}
.header-search-btn{background:#111;color:#fff;border:none;border-radius:50px;padding:7px 16px;font-size:12px;font-family:'Heebo',sans-serif;cursor:pointer;white-space:nowrap;}

/* === NAV === */
.site-nav{background:#fff;border-bottom:1px solid #e8e8e8;padding:0 18px;display:flex;gap:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;}
.site-nav::-webkit-scrollbar{display:none;}
.site-nav a{padding:10px 14px;font-size:12px;font-weight:700;color:#333;white-space:nowrap;border-left:1px solid #eee;display:block;}
.site-nav a:last-child{border-left:none;}
.site-nav a.active{background:#e60012;color:#fff;}
.site-nav a:hover:not(.active){color:#e60012;}

/* === BREAKING BAR === */
.breaking-bar{background:#111;display:flex;align-items:center;gap:10px;padding:6px 14px;overflow:hidden;width:100%;}
.breaking-badge{background:#e60012;color:#fff;font-size:10px;font-weight:700;padding:2px 10px;border-radius:3px;white-space:nowrap;flex-shrink:0;}
.breaking-ticker{font-size:11px;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* === SITE WRAP === */
.site-wrap{width:100%;max-width:100%;background:#fff;margin:0;padding:0;}

/* === HERO GRID === */
.hero-grid{display:grid;grid-template-columns:3fr 1fr;border-bottom:1px solid #e8e8e8;width:100%;}
.hero-main{padding:20px 22px;border-right:1px solid #e8e8e8;display:block;}
.hero-main__img{width:100%;height:420px;object-fit:cover;border-radius:0;margin-bottom:14px;}
.hero-tags{display:flex;align-items:center;gap:8px;margin-bottom:10px;flex-wrap:wrap;}
.hero-cat{display:inline-block;background:#e60012;color:#fff;font-size:10px;font-weight:700;padding:2px 9px;border-radius:2px;}
.hero-meta{font-size:10px;color:#888;}
.hero-title{font-size:24px;font-weight:900;color:#111;line-height:1.3;margin-bottom:10px;}
.hero-excerpt{font-size:13px;color:#555;line-height:1.6;margin-bottom:10px;}
.hero-read-more{font-size:11px;color:#e60012;font-weight:600;}

/* === SIDE STACK === */
.side-stack{display:flex;flex-direction:column;}
.side-card{padding:14px 16px;border-bottom:1px solid #f0f0f0;cursor:pointer;display:block;transition:background 0.15s;}
.side-card:last-child{border-bottom:none;}
.side-card:hover{background:#fafafa;}
.side-cat{display:inline-block;font-size:9px;font-weight:700;padding:1px 7px;border-radius:2px;margin-bottom:6px;}
.side-cat.red{background:#e60012;color:#fff;}
.side-cat.black{background:#111;color:#fff;}
.side-title{font-size:13px;font-weight:600;color:#111;line-height:1.4;}

/* === BOTTOM CARDS === */
.bottom-cards{display:grid;grid-template-columns:repeat(3,1fr);background:#f8f8f8;border-top:1px solid #e8e8e8;width:100%;}
.bottom-card{padding:14px 16px;border-right:1px solid #e8e8e8;cursor:pointer;display:block;transition:background 0.15s;}
.bottom-card:last-child{border-right:none;}
.bottom-card:hover{background:#f0f0f0;}
.bottom-cat{font-size:10px;font-weight:700;color:#e60012;margin-bottom:5px;}
.bottom-cat.dark{color:#111;}
.bottom-title{font-size:12px;color:#111;line-height:1.4;font-weight:500;}

/* === NEWS SECTION === */
.news-section{padding:16px 18px;border-top:2px solid #e8e8e8;width:100%;}
.section-title{font-size:14px;font-weight:900;color:#111;border-right:4px solid #e60012;padding-right:10px;margin-bottom:12px;}

/* === CARD-H === */
.card-h{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #f0f0f0;align-items:flex-start;cursor:pointer;text-decoration:none;color:inherit;transition:opacity 0.15s;}
.card-h:last-child{border-bottom:none;}
.card-h:hover{opacity:0.75;}
.card-h__img{width:90px;height:65px;object-fit:cover;border-radius:6px;flex-shrink:0;}
.card-h__body{flex:1;}
.card-h__cat{font-size:9px;font-weight:700;color:#e60012;margin-bottom:4px;}
.card-h__title{font-size:13px;font-weight:600;color:#111;line-height:1.4;margin-bottom:4px;}
.card-h__meta{font-size:10px;color:#aaa;}

/* === SINGLE POST === */
.article-outer{background:#fff;padding:20px 12px;min-height:100vh;}
.article-card{background:#fff;max-width:720px;margin:0 auto;padding:24px 22px;}
.article-cat-badge{display:inline-block;background:#e60012;color:#fff;font-size:11px;font-weight:700;padding:3px 10px;border-radius:3px;margin-bottom:12px;}
.article-title{font-size:24px;font-weight:900;color:#111;line-height:1.3;margin-bottom:12px;}
.article-meta{font-size:11px;color:#888;margin-bottom:16px;padding-bottom:14px;border-bottom:2px solid #111;}
.article-hero-img{width:100%;height:auto;border-radius:6px;margin-bottom:18px;}
.article-body{font-size:15px;color:#222;line-height:1.8;}
.article-body p{margin-bottom:14px;}
.article-body h2{font-size:18px;font-weight:700;margin:20px 0 10px;}
.article-body blockquote{border-right:4px solid #e60012;padding:10px 16px;margin:16px 0;background:#fafafa;font-style:italic;color:#444;}

/* === SEARCH OVERLAY === */
.search-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.7);z-index:1000;align-items:center;justify-content:center;}
.search-overlay.open{display:flex;}
.search-box{background:#fff;border-radius:12px;padding:20px;width:90%;max-width:480px;}
.search-box form{display:flex;gap:8px;}
.search-box input{flex:1;border:1px solid #e8e8e8;border-radius:8px;padding:10px 14px;font-size:14px;font-family:'Heebo',sans-serif;direction:rtl;outline:none;}
.search-box button{background:#e60012;color:#fff;border:none;border-radius:8px;padding:10px 16px;font-size:13px;font-family:'Heebo',sans-serif;cursor:pointer;}

/* === FOOTER === */
.site-footer{background:#111;color:#888;text-align:center;padding:20px 18px;font-size:11px;border-top:3px solid #e60012;width:100%;}
.site-footer a{color:#ccc;}

/* === MOBILE === */
@media(max-width:768px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-main{border-right:none;border-bottom:1px solid #e8e8e8;padding:14px 14px;}
  .hero-main__img{height:200px;}
  .side-stack{flex-direction:row;overflow-x:auto;}
  .side-card{min-width:180px;border-bottom:none;border-left:1px solid #f0f0f0;}
  .side-card:last-child{border-left:none;}
  .bottom-cards{grid-template-columns:1fr;}
  .bottom-card{border-right:none;border-bottom:1px solid #e8e8e8;}
  .bottom-card:last-child{border-bottom:none;}
  .logo-w1,.logo-w2{font-size:20px;}
  .article-title{font-size:18px;}
  .article-card{padding:16px 14px;}
  .hero-title{font-size:18px;}
}