/*
 * WebHatim V8 — V4 desktop proportions, V7 behavior and mobile layout retained.
 * Loaded after v7.css so only desktop widths/hero sizing are restored.
 * No rules at or below 880px: the V6/V7 mobile overflow fix stays intact.
 */
@media (min-width: 881px) {
  /* V4 site content width: 1280px, rather than V7's narrow 1180px. */
  .container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 26px;
  }

  /* V4 uses a full-width green hero background with centered inner content. */
  .hero {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .hero-inner { min-height: 464px; }
  .hero-copy {
    width: 62%;
    max-width: none;
    padding: 73px 0 65px;
  }
  .hero-art {
    width: 360px;
    height: 360px;
    max-width: 36%;
    opacity: 1;
    margin-left: auto;
  }

  /* Restore the V4 reading-area/sidebar balance. */
  .content-layout {
    grid-template-columns: minmax(0, 1fr) 298px;
    gap: 28px;
  }

  /* Allow the newer V7 menu labels to fit without abandoning V4 proportions. */
  .site-header { height: 84px; }
  .header-row { gap: clamp(14px, 1.65vw, 25px); }
  .nav-links { gap: clamp(8px, 1vw, 17px); }
}

/* Tablet/compact desktop: full available width with readable side column. */
@media (min-width: 881px) and (max-width: 1120px) {
  .container { max-width: 1280px; padding-inline: clamp(18px, 2.2vw, 26px); }
  .hero-inner { min-height: 420px; }
  .hero-copy { width: 67%; padding: 58px 0; }
  .hero-art { max-width: 30%; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 17px; }
}
