:root {
  --news-red: #d91c1c;
  --news-red-dark: #b31212;
  --news-red-light: #fdf2f2;
  --black: #111111;
  --dark-gray: #222222;
  --body-text: #2c2c2c;
  --muted-text: #666666;
  --light-bg: #f7f7f9;
  --card-bg: #ffffff;
  --border-color: #e2e2e6;
  --border-dark: #cccccc;
  
  --font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-height: 60px;
  --container-max: 1140px;
  --container-narrow: 760px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-text);
  background-color: var(--light-bg);
  overflow-x: hidden;
  direction: rtl;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 1.5rem, var(--container-max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 1.5rem, var(--container-narrow));
  margin-inline: auto;
}

/* TOP TICKER BAR */
.top-bar {
  background: var(--black);
  color: #ffffff;
  font-size: 0.8125rem;
  padding: 0.375rem 0;
  border-bottom: 1px solid #222;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-bar__date {
  color: #aaaaaa;
  font-weight: 500;
  white-space: nowrap;
}

.top-bar__ticker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  white-space: nowrap;
}

.badge-flash {
  background: var(--news-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  letter-spacing: 0.5px;
  animation: flashPulse 1.8s infinite;
}

@keyframes flashPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.top-bar__text {
  color: #e0e0e0;
  font-weight: 500;
}

/* MAIN HEADER */
.main-header {
  background: #ffffff;
  border-bottom: 3px solid var(--news-red);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 38px;
  width: auto;
  border-radius: 4px;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-title span {
  color: var(--news-red);
}

.logo-subtitle {
  font-size: 0.725rem;
  color: var(--muted-text);
  font-weight: 500;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--news-red);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--news-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-report {
  background: var(--news-red);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.15s;
}

.btn-report:hover {
  background: var(--news-red-dark);
  color: #fff;
}

.menu-toggle-btn {
  display: inline-flex;
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--black);
}

/* MOBILE MENU */
.mobile-nav-panel {
  display: none;
  background: #ffffff;
  border-bottom: 2px solid var(--news-red);
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mobile-nav-panel.is-open {
  display: block;
}

.mobile-nav-panel a {
  display: block;
  padding: 0.65rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-panel a:last-child {
  border-bottom: none;
}

/* NEWS LAYOUT GRID - HOMEPAGE */
.news-portal {
  padding: 1.5rem 0 3rem;
}

.news-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* MAIN HEADLINE STORY (YNET STYLE) */
.main-story-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}

.main-story-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.main-story-card__header {
  padding: 1.5rem 1.5rem 1rem;
}

.category-tag {
  display: inline-block;
  background: var(--news-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.category-tag--survey {
  background: #0066cc;
}

.main-story-card__title {
  font-size: clamp(1.5rem, 4.5vw, 2.35rem);
  font-weight: 900;
  line-height: 1.18;
  color: var(--black);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.main-story-card__subtitle {
  font-size: 1.05rem;
  color: #444444;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-weight: 400;
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted-text);
  border-top: 1px solid #f0f0f0;
  padding-top: 0.75rem;
}

.story-meta i {
  color: var(--news-red);
}

/* SIDEBAR / RECENT NEWS */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.25rem;
}

.sidebar-box__title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--black);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--news-red);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-news-item {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 0.85rem;
}

.sidebar-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-news-item__city {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--news-red);
  margin-bottom: 0.25rem;
  display: block;
}

.sidebar-news-item__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.35;
}

.sidebar-news-item__title:hover {
  color: var(--news-red);
}

/* SURVEY CALLOUT BANNER - OPEN SURVEY */
.survey-news-banner {
  background: #ffffff;
  border: 2px solid var(--news-red);
  border-radius: 4px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(217, 28, 28, 0.08);
  position: relative;
  overflow: hidden;
}

.survey-news-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  background: var(--news-red);
}

.survey-news-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.survey-news-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--news-red-light);
  color: var(--news-red);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  width: fit-content;
}

.survey-news-banner__title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1.25;
}

.survey-news-banner__desc {
  font-size: 0.95rem;
  color: #444;
}

.btn-action-red {
  background: var(--news-red);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.15s, transform 0.15s;
  border: none;
  cursor: pointer;
  width: fit-content;
}

.btn-action-red:hover {
  background: var(--news-red-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

/* CITIES GRID SECTION */
.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--black);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}

.section-title-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title-text::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--news-red);
}

.cities-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.city-news-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.city-news-card:hover {
  border-color: var(--news-red);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.city-news-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.city-news-card__name {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--black);
}

.city-news-card__status {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
}

.status-published {
  background: #e6f4ea;
  color: #137333;
}

.status-survey {
  background: var(--news-red-light);
  color: var(--news-red);
}

.status-soon {
  background: #f1f3f4;
  color: #5f6368;
}

.city-news-card__headline {
  font-size: 0.875rem;
  color: #444;
  line-height: 1.4;
  font-weight: 500;
}

.city-news-card__link {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--news-red);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ABOUT & METHODOLOGY SECTION */
.news-about-block {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature-item__icon {
  width: 36px;
  height: 36px;
  background: var(--news-red-light);
  color: var(--news-red);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-feature-item__text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.about-feature-item__text p {
  font-size: 0.85rem;
  color: var(--muted-text);
  line-height: 1.45;
}

/* ARTICLE / REPORT PAGE STYLING */
.news-article-wrap {
  padding: 2rem 0 4rem;
}

.news-article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  overflow: hidden;
}

.news-article-header {
  padding: 1.75rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
}

.article-city-badge {
  display: inline-block;
  background: var(--black);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.news-article-title {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1.18;
  margin-bottom: 0.85rem;
  letter-spacing: -0.5px;
}

.news-article-sub {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.825rem;
  color: var(--muted-text);
  padding-top: 0.85rem;
  border-top: 1px solid #f0f0f0;
}

.article-byline__author {
  font-weight: 800;
  color: var(--black);
}

.news-article-content {
  padding: 1.75rem 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #222222;
}

.news-article-content h2 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--black);
  margin: 2rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--news-red);
}

.news-article-content p {
  margin-bottom: 1.25rem;
}

/* STATS BOXES IN ARTICLES */
.news-stats-box {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-right: 4px solid var(--news-red);
  padding: 1.25rem;
  border-radius: 4px;
  margin: 1.5rem 0;
}

.news-stats-box__title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-bar-row {
  margin-bottom: 0.85rem;
}

.stat-bar-row:last-child {
  margin-bottom: 0;
}

.stat-bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.stat-bar-bg {
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: var(--news-red);
  border-radius: 4px;
}

/* FORM STYLING FOR SURVEY */
.news-form {
  background: #ffffff;
}

.news-form-field {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  display: block;
  clear: both;
}

.news-form-field legend {
  font-size: 1.025rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.85rem;
  display: block;
  width: 100%;
  padding: 0;
}

.news-radio-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.news-radio-label {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  transition: all 0.15s;
}

.news-radio-label:hover {
  border-color: var(--news-red);
  background: var(--news-red-light);
}

.news-radio-label input[type="radio"] {
  accent-color: var(--news-red);
  width: 18px;
  height: 18px;
  margin-left: 0.75rem;
}

.news-textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #ffffff;
}

.news-textarea:focus {
  outline: none;
  border-color: var(--news-red);
}

/* FOOTER */
.main-footer {
  background: var(--black);
  color: #dddddd;
  padding: 2.5rem 0 1.5rem;
  border-top: 4px solid var(--news-red);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 0.85rem;
}

.footer-col p {
  color: #aaaaaa;
  line-height: 1.6;
}

.footer-contact-link {
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #222222;
  padding-top: 1.25rem;
  text-align: center;
  color: #888888;
  font-size: 0.8rem;
}

/* RESPONSIVE MEDIA QUERIES */
@media (min-width: 640px) {
  .news-hero-grid {
    grid-template-columns: 1.6fr 1fr;
  }

  .survey-news-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .news-radio-group {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .main-nav {
    display: flex;
  }

  .menu-toggle-btn {
    display: none;
  }

  .btn-back span:last-child {
    display: inline;
  }
}

@media (min-width: 900px) {
  .news-article-header,
  .news-article-content {
    padding: 2.5rem 2.5rem;
  }
}

/* SHARE BUTTONS STYLING */
.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--muted-text);
  padding-top: 0.85rem;
  border-top: 1px solid #f0f0f0;
}

.article-byline__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.article-share-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-share-facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #1877f2;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.825rem;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(24, 119, 242, 0.2);
}

.btn-share-facebook:hover {
  background: #166fe5;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.35);
  color: #ffffff !important;
}

.btn-share-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.825rem;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.2);
}

.btn-share-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
  color: #ffffff !important;
}

.btn-share-facebook--large,
.btn-share-whatsapp--large {
  font-size: 0.95rem;
  padding: 0.65rem 1.35rem;
  border-radius: 6px;
}

.article-footer-share {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--news-red);
}

.article-footer-share__box {
  background: #f9f9fb;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.article-footer-share__title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.article-footer-share__desc {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 1.25rem;
}

.article-footer-share__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
