/* ====== هوية Google الجديدة (4 ألوان فرائحية) + Glassmorphism ====== */
:root {
  --g-blue:   #A8C7FA;
  --g-blue-d: #1967D2;
  --g-green:  #C4EED0;
  --g-green-d:#188038;
  --g-yellow: #F9E5B2;
  --g-yellow-d:#E37400;
  --g-red:    #F2B8B5;
  --g-red-d:  #D93025;
  --bg-warm:  #FEF7F0;
  --ink:      #1F2A44;
  --glass-bg: rgba(255,255,255,0.55);
  --glass-brd: rgba(255,255,255,0.65);
}

/* ==== خلفية عائمة بألوان Google ==== */
body.hrjpf {
  background: var(--bg-warm);
  overflow-x: hidden;
}
body.hrjpf::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 400px at 15% 10%, var(--g-blue) 0%, transparent 60%),
    radial-gradient(500px 380px at 85% 15%, var(--g-green) 0%, transparent 60%),
    radial-gradient(550px 400px at 80% 85%, var(--g-yellow) 0%, transparent 60%),
    radial-gradient(500px 380px at 12% 90%, var(--g-red) 0%, transparent 60%);
  filter: blur(40px);
  opacity: 0.85;
}

/* ==== الهيدر القزازي ==== */
header.site-header,
.ct-header [data-sticky] {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-brd);
  box-shadow: 0 8px 32px rgba(31, 42, 68, 0.08);
}

/* ==== بطاقات المقالات القزازية ==== */
.entry-card,
.post,
article {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--glass-brd);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(31, 42, 68, 0.10);
  transition: transform .3s ease, box-shadow .3s ease;
}
.entry-card:hover, article:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(31, 42, 68, 0.16);
}

/* ==== الأزرار بألوان Google ==== */
a, .entry-title a { color: var(--g-blue-d); }
a:hover { color: var(--g-blue); }

.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
  background: var(--g-blue-d) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 12px 32px !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(25, 103, 210, .30);
  transition: all .25s ease;
}
.wp-block-button__link:hover { background: var(--g-blue) !important; color: var(--ink) !important; }

/* ==== الهيرو ==== */
.herjpf-hero {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: center;
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.herjpf-hero .hero-photo {
  flex: 0 0 320px;
  order: 1; /* يسار */
}
.herjpf-hero .hero-photo img {
  width: 100%;
  border-radius: 24px;
  border: 6px solid rgba(255,255,255,.6);
  box-shadow: 0 24px 64px rgba(31,42,68,.22);
}
.herjpf-hero .hero-text {
  flex: 1;
  order: 2; /* يمين */
}
.hero-badge {
  display: inline-block;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-brd);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--g-green-d);
  margin-bottom: 20px;
}
.herjpf-hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}
.herjpf-hero h1 .g1 { color: var(--g-blue-d); }
.herjpf-hero h1 .g2 { color: var(--g-green-d); }
.herjpf-hero h1 .g3 { color: var(--g-yellow-d); }
.herjpf-hero h1 .g4 { color: var(--g-red-d); }
.herjpf-hero p {
  font-size: 19px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 28px;
}

/* ==== بطاقات المميزات ==== */
.hrjpf-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 64px;
  padding: 0 24px;
}
.hrjpf-feature {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-brd);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}
.hrjpf-feature .dot {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.hrjpf-feature h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.hrjpf-feature p { font-size: 14px; color: #64748b; }

.dot.b { background: var(--g-blue); }
.dot.g { background: var(--g-green); }
.dot.y { background: var(--g-yellow); }
.dot.r { background: var(--g-red); }

/* ==== تجاوب للجوال (RTL) ==== */
@media (max-width: 768px) {
  .herjpf-hero { flex-direction: column-reverse; text-align: center; padding: 48px 16px; }
  .herjpf-hero .hero-photo { flex: 0 0 220px; }
  .herjpf-hero h1 { font-size: 32px; }
}
