/*
Theme Name: بوابة نيوز
Theme URI: https://bawabatnews.com
Description: قالب إخباري عربي حديث بتصميم احترافي وتجاوب كامل، مستوحى من بوابات الأخبار العالمية مثل جنة وMSN
Version: 1.0.0
Author: Manus Design Team
Author URI: https://manus.im
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bawabat-news
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* اتجاه الملف: «نبض المدينة» — صحافة رقمية عربية كثيفة ومنظمة، بتباين كحلي/كهرماني وتكوينات غير متماثلة. */

:root {
  --pulse: #f2a900;
  --pulse-soft: #fff6dc;
  --navy: #0b1f33;
  --navy-2: #112d49;
  --ink: #101820;
  --radius: 0.45rem;
}

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

html {
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: "Noto Kufi Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #faf9f7;
  color: #1a1a1a;
  line-height: 1.6;
  background-image: radial-gradient(circle at 15% 15%, rgba(242, 169, 0, 0.04), transparent 28%);
}

body.dark-mode {
  background-color: #0d1117;
  color: #e8e8e8;
}

h1, h2, h3, h4, h5, h6, strong {
  font-family: "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 180ms ease;
}

a:hover {
  color: var(--pulse);
}

button {
  cursor: pointer;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 180ms ease, color 180ms ease;
}

button:active {
  transform: scale(0.97);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
}

/* Selection */
::selection {
  background-color: var(--pulse);
  color: var(--navy);
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--navy);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
