/* ===== Base Reset ===== */
/* ===== Global Reset (Mobile Safe) ===== */
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  max-width: 100vw;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

/* منع أي هوامش غير مرغوبة */
main, section {
  display: block;
}

/* صور تغطي المساحة */
img {
  max-width: 100%;
  display: block;
}
/* ===== Content Header Desktop ===== */

.header-content-desktop {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-content-desktop .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content-desktop .logo a {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}

.content-nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.content-nav a:hover {
  color: #ffa559;
}
/* ===== Content Header Mobile ===== */

.header-content-mobile {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: #fff;
  border-bottom: 1px solid #eee;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 16px;
}

.content-back-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.content-title {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
