/*
Theme Name: Nile Elite
Theme URI: https://nileelite-limo.com/
Author: Digital Horizon Tech (DHT)
Author URI: https://dht-eg.com/
Designer: Digital Horizon Tech (DHT)
Designer URI: https://dht-eg.com/
Description: قالب مخصص لشركة نايل إيليت للخدمات الفاخرة وخدمات الليموزين ونقل كبار الشخصيات (VIP). مبني من تصميم Stitch بنظام Obsidian & Gilded Precision.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nile-elite
Tags: rtl-language-support, custom-colors, custom-logo, translation-ready
*/

/* ===== Admin bar offset for the fixed header ===== */
.admin-bar .fixed.top-0 { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .fixed.top-0 { top: 46px; } }

/* ===== Responsive typography & spacing (mobile refinements) =====
   The Stitch design defines mobile variants (display-hero-mobile 36px,
   headline-lg-mobile 28px, margin-mobile 20px) that were not wired to the
   markup. These overrides apply them so the page scales cleanly on phones. */
@media (max-width: 767px) {
  .px-margin { padding-left: 1.25rem; padding-right: 1.25rem; }

  .text-display-hero {
    font-size: 2.25rem !important;   /* 36px */
    line-height: 2.75rem !important; /* 44px */
    letter-spacing: -0.01em !important;
  }

  .text-headline-lg {
    font-size: 1.75rem !important;   /* 28px */
    line-height: 2.25rem !important; /* 36px */
    letter-spacing: 0.01em !important;
  }

  /* Keep the hero meta bar on one tidy row */
  .text-display-hero { overflow-wrap: anywhere; }
}

/* ===== Header: avoid crowding on small screens ===== */
/* The brand lockup image already contains the "NILE ELITE" wordmark, so the
   duplicate text block is hidden below sm, and the booking button collapses
   to its icon. */
@media (max-width: 639px) {
  header .h-20 { height: 4rem; }
}

/* ===== Fixed WhatsApp float: keep clear of the safe area ===== */
aside.fixed.bottom-6 { bottom: 1.25rem; }

/* ===== Dialog polish ===== */
dialog { max-height: 90vh; overflow-y: auto; }

/* ===== Blog pagination ===== */
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; align-items: center; }
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem;
  border: 1px solid rgba(201, 164, 92, .25); border-radius: 4px;
  color: #c4c7c7; text-decoration: none; font-size: 14px; line-height: 1;
}
.page-numbers:hover { border-color: #c9a45c; color: #e8c176; }
.page-numbers.current { background: #e8c176; color: #412d00; border-color: #e8c176; font-weight: 600; }
.page-numbers.dots { border-color: transparent; }

/* ===== Post / page content typography ===== */
.ne-content a { color: #e8c176; text-decoration: none; }
.ne-content a:hover { text-decoration: underline; }
.ne-content h2, .ne-content h3, .ne-content h4 { color: #e5e2e1; font-weight: 600; margin: 1.5rem 0 .75rem; line-height: 1.4; }
.ne-content h2 { font-size: 1.75rem; }
.ne-content h3 { font-size: 1.5rem; }
.ne-content ul, .ne-content ol { padding-inline-start: 1.5rem; margin: 1rem 0; }
.ne-content ul { list-style: disc; }
.ne-content ol { list-style: decimal; }
.ne-content img { max-width: 100%; height: auto; border-radius: .5rem; margin: 1rem 0; }
.ne-content blockquote { border-inline-start: 3px solid #c9a45c; padding-inline-start: 1rem; color: #9e9e9e; margin: 1rem 0; }
