/*
Theme Name: Rehla Travel
Theme URI: https://example.com/rehla-travel
Author: Rehla Studio
Author URI: https://example.com
Description: ثيم ووردبريس احترافي متخصص في مواقع السفر والسياحة، يدعم الوجهات السياحية، الدليل السياحي، والتقارير السياحية، مع دعم كامل للعربية و RTL وتصميم متجاوب وسريع.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rehla-travel
Tags: travel, tourism, platform, custom-post-types, rtl-language-support, translation-ready, responsive-layout, custom-menu, featured-images, threaded-comments

Rehla Travel WordPress Theme, (C) 2026 Rehla Studio
Rehla Travel is distributed under the terms of the GNU GPL v2 or later.
*/

/* ==========================================================================
   1. المتغيرات العامة (Design Tokens)
   ========================================================================== */
:root{
  --rehla-primary: #0e6e6e;      /* أزرق مخضر - يوحي بالبحر والسفر */
  --rehla-primary-dark: #094f4f;
  --rehla-accent: #e08a3c;       /* برتقالي دافئ - الشمس/الصحراء */
  --rehla-accent-light: #f6c98a;
  --rehla-sand: #f7f2ea;
  --rehla-ink: #1c2b2b;
  --rehla-ink-soft: #52605f;
  --rehla-white: #ffffff;
  --rehla-border: #e7e1d6;
  --rehla-radius: 14px;
  --rehla-radius-sm: 8px;
  --rehla-shadow: 0 10px 30px rgba(14, 110, 110, 0.08);
  --rehla-shadow-hover: 0 16px 40px rgba(14, 110, 110, 0.16);
  --rehla-container: 1200px;
  --rehla-font: 'Tajawal', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   2. إعادة الضبط الأساسية
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--rehla-font);
  color: var(--rehla-ink);
  background: var(--rehla-white);
  line-height: 1.75;
  font-size: 16px;
}
img{ max-width:100%; height:auto; display:block; }
a{ color: var(--rehla-primary); text-decoration:none; transition: .25s; }
a:hover{ color: var(--rehla-accent); }
ul{ padding-inline-start: 20px; }
h1,h2,h3,h4,h5,h6{ margin: 0 0 .6em; line-height:1.35; font-weight:800; color: var(--rehla-ink); }
p{ margin:0 0 1.1em; }
.container{ max-width: var(--rehla-container); margin:0 auto; padding: 0 20px; }
.screen-reader-text{ position:absolute !important; clip:rect(1px,1px,1px,1px); overflow:hidden; height:1px; width:1px; }

/* ==========================================================================
   3. الهيدر
   ========================================================================== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rehla-border);
}
.site-header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap: 20px;
}
.site-branding{ display:flex; align-items:center; gap:10px; }
.site-title{ margin:0; font-size: 22px; }
.site-title a{ color: var(--rehla-ink); }
.site-description{ font-size:12px; color: var(--rehla-ink-soft); margin:0; }
.custom-logo{ max-height:48px; width:auto; border-radius: var(--rehla-radius-sm); }

.primary-navigation ul{
  display:flex; align-items:center; gap: 6px; list-style:none; margin:0; padding:0;
}
.primary-navigation li{ position:relative; }
.primary-navigation a{
  display:block; padding:10px 14px; border-radius: 999px; color: var(--rehla-ink);
  font-weight:700; font-size:14.5px;
}
.primary-navigation a:hover, .primary-navigation .current-menu-item > a{
  background: var(--rehla-sand); color: var(--rehla-primary);
}
.primary-navigation ul ul{
  display:none; position:absolute; inset-inline-start:0; top:100%;
  background: var(--rehla-white); box-shadow: var(--rehla-shadow); border-radius: var(--rehla-radius-sm);
  min-width: 200px; padding: 8px; flex-direction: column; z-index:50;
}
.primary-navigation li:hover > ul{ display:flex; }

.header-cta{
  display:flex; align-items:center; gap:12px;
}
.btn{
  display:inline-flex; align-items:center; gap:8px; justify-content:center;
  padding: 11px 22px; border-radius: 999px; font-weight:700; font-size:14.5px;
  background: var(--rehla-primary); color:#fff; border:2px solid var(--rehla-primary); cursor:pointer;
}
.btn:hover{ background: var(--rehla-primary-dark); border-color: var(--rehla-primary-dark); color:#fff; }
.btn-outline{ background:transparent; color: var(--rehla-primary); }
.btn-outline:hover{ background: var(--rehla-primary); color:#fff; }
.btn-accent{ background: var(--rehla-accent); border-color: var(--rehla-accent); }
.btn-accent:hover{ background:#c9702a; border-color:#c9702a; }

.menu-toggle{ display:none; background:none; border:2px solid var(--rehla-border); border-radius: var(--rehla-radius-sm); padding:8px 12px; cursor:pointer; }

/* ==========================================================================
   4. الهيرو / أقسام الصفحة الرئيسية
   ========================================================================== */
.hero{
  position:relative; overflow:hidden; color:#fff;
  background: linear-gradient(180deg, rgba(9,79,79,.55), rgba(9,79,79,.75)), var(--hero-image, linear-gradient(135deg, var(--rehla-primary), var(--rehla-primary-dark)));
  background-size: cover; background-position:center;
  padding: 100px 0 130px;
}
.hero-content{ max-width: 720px; text-align:center; margin:0 auto; }
.hero-eyebrow{
  display:inline-block; background: rgba(255,255,255,.18); padding:6px 16px; border-radius:999px;
  font-size:13px; font-weight:700; margin-bottom:16px; letter-spacing:.5px;
}
.hero h1{ color:#fff; font-size: clamp(30px, 5vw, 48px); margin-bottom:16px; }
.hero p{ color: rgba(255,255,255,.92); font-size:18px; }
.hero-search{
  margin-top: 30px; background:#fff; border-radius: 999px; padding:6px;
  display:flex; align-items:center; gap:8px; max-width:560px; margin-inline:auto;
  box-shadow: var(--rehla-shadow);
}
.hero-search input{
  flex:1; border:none; outline:none; padding:12px 18px; border-radius:999px; font-size:15px; font-family:inherit;
}
.hero-search button{ border-radius:999px; }
.hero-stats{ display:flex; gap:34px; justify-content:center; margin-top:44px; flex-wrap:wrap; }
.hero-stats div{ text-align:center; }
.hero-stats strong{ display:block; font-size:26px; }
.hero-stats span{ font-size:13px; color: rgba(255,255,255,.85); }

.section{ padding: 70px 0; }
.section-sand{ background: var(--rehla-sand); }
.section-head{ text-align:center; max-width:640px; margin: 0 auto 42px; }
.section-head .eyebrow{ color: var(--rehla-accent); font-weight:800; font-size:13px; letter-spacing:1px; text-transform:uppercase; }
.section-head h2{ font-size: clamp(26px,3.5vw,34px); margin: 8px 0 10px; }
.section-head p{ color: var(--rehla-ink-soft); margin:0; }

/* ==========================================================================
   5. بطاقات الوجهات / الدليل / المقالات
   ========================================================================== */
.grid{ display:grid; gap: 26px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

.card{
  background:#fff; border:1px solid var(--rehla-border); border-radius: var(--rehla-radius);
  overflow:hidden; transition: .3s; box-shadow: var(--rehla-shadow); display:flex; flex-direction:column;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--rehla-shadow-hover); }
.card-media{ position:relative; aspect-ratio: 4/3; overflow:hidden; background: var(--rehla-sand); }
.card-media img{ width:100%; height:100%; object-fit:cover; transition:.4s; }
.card:hover .card-media img{ transform: scale(1.07); }
.card-badge{
  position:absolute; top:14px; inset-inline-start:14px; background: var(--rehla-accent); color:#fff;
  font-size:12px; font-weight:800; padding:5px 12px; border-radius:999px;
}
.card-rating{
  position:absolute; top:14px; inset-inline-end:14px; background: rgba(255,255,255,.95);
  font-size:12px; font-weight:800; padding:5px 10px; border-radius:999px; color:var(--rehla-ink);
}
.card-body{ padding: 18px 20px 22px; flex:1; display:flex; flex-direction:column; }
.card-meta{ display:flex; gap:14px; font-size:12.5px; color: var(--rehla-ink-soft); margin-bottom:8px; flex-wrap:wrap; }
.card-meta span{ display:flex; align-items:center; gap:4px; }
.card-title{ font-size:18px; margin-bottom:8px; }
.card-title a{ color: var(--rehla-ink); }
.card-title a:hover{ color: var(--rehla-primary); }
.card-excerpt{ color: var(--rehla-ink-soft); font-size:14.5px; flex:1; }
.card-footer{ display:flex; align-items:center; justify-content:space-between; margin-top:14px; padding-top:14px; border-top:1px dashed var(--rehla-border); font-size:13px; }

/* شريط تصنيفات الوجهات */
.destination-filters{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:40px; }
.destination-filters a{
  padding:8px 18px; border-radius:999px; border:1.5px solid var(--rehla-border); font-size:14px; font-weight:700; color: var(--rehla-ink-soft);
}
.destination-filters a.active, .destination-filters a:hover{ background: var(--rehla-primary); border-color: var(--rehla-primary); color:#fff; }

/* ==========================================================================
   6. صفحة الوجهة المفردة / الدليل السياحي
   ========================================================================== */
.destination-hero{
  position:relative; border-radius: var(--rehla-radius); overflow:hidden; margin-bottom: 32px;
  aspect-ratio: 21/8; background: var(--rehla-sand);
}
.destination-hero img{ width:100%; height:100%; object-fit:cover; }
.destination-info-bar{
  display:flex; flex-wrap:wrap; gap: 18px; background:#fff; border:1px solid var(--rehla-border);
  border-radius: var(--rehla-radius); padding: 22px; margin-bottom: 34px; box-shadow: var(--rehla-shadow);
}
.info-item{ flex:1; min-width:140px; text-align:center; padding: 0 10px; border-inline-end:1px solid var(--rehla-border); }
.info-item:last-child{ border-inline-end:none; }
.info-item .label{ font-size:12px; color: var(--rehla-ink-soft); display:block; margin-bottom:4px; }
.info-item .value{ font-weight:800; color: var(--rehla-primary); font-size:15px; }

.content-layout{ display:grid; grid-template-columns: 2.1fr 1fr; gap: 44px; align-items:start; }
.entry-content h2{ margin-top:1.6em; font-size:24px; }
.entry-content h3{ margin-top:1.3em; font-size:19px; }
.entry-content img{ border-radius: var(--rehla-radius-sm); margin: 10px 0; }
.entry-content blockquote{
  border-inline-start: 4px solid var(--rehla-accent); background: var(--rehla-sand); padding: 16px 20px;
  border-radius: var(--rehla-radius-sm); font-style: italic; color: var(--rehla-ink-soft);
}
.entry-content table{ width:100%; border-collapse: collapse; margin: 1.4em 0; }
.entry-content table th, .entry-content table td{ border:1px solid var(--rehla-border); padding:10px 14px; text-align:start; }
.entry-content table th{ background: var(--rehla-sand); }

.sidebar .widget{
  background:#fff; border:1px solid var(--rehla-border); border-radius: var(--rehla-radius);
  padding: 22px; margin-bottom: 24px; box-shadow: var(--rehla-shadow);
}
.sidebar .widget-title{ font-size:16px; margin-bottom:16px; padding-bottom:12px; border-bottom:2px solid var(--rehla-sand); }
.sidebar ul{ list-style:none; padding:0; margin:0; }
.sidebar ul li{ padding: 9px 0; border-bottom:1px dashed var(--rehla-border); font-size:14.5px; }
.sidebar ul li:last-child{ border-bottom:none; }

/* بطاقة معلومات سريعة داخل السايدبار (نصائح السفر) */
.tip-box{ background: linear-gradient(135deg, var(--rehla-primary), var(--rehla-primary-dark)); color:#fff; }
.tip-box .widget-title{ color:#fff; border-color: rgba(255,255,255,.25); }
.tip-box ul li{ border-color: rgba(255,255,255,.2); }

/* ==========================================================================
   7. الفوتر
   ========================================================================== */
.site-footer{ background: var(--rehla-ink); color: rgba(255,255,255,.85); margin-top: 60px; }
.footer-top{ padding: 60px 0 30px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-grid h4{ color:#fff; font-size:16px; margin-bottom:16px; }
.footer-grid p{ color: rgba(255,255,255,.65); font-size:14px; }
.footer-grid ul{ list-style:none; padding:0; margin:0; }
.footer-grid ul li{ margin-bottom:10px; }
.footer-grid ul li a{ color: rgba(255,255,255,.75); font-size:14px; }
.footer-grid ul li a:hover{ color: var(--rehla-accent); }
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.08); border-radius:50%; color:#fff; font-size:14px;
}
.footer-social a:hover{ background: var(--rehla-accent); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12); padding: 20px 0; font-size:13px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; color: rgba(255,255,255,.6);
}

.breadcrumbs{ background: var(--rehla-sand); border-bottom:1px solid var(--rehla-border); padding: 12px 0; font-size:13.5px; color: var(--rehla-ink-soft); }
.breadcrumbs a{ color: var(--rehla-ink-soft); }
.breadcrumbs a:hover{ color: var(--rehla-primary); }
.breadcrumbs span{ color: var(--rehla-ink); font-weight:700; }

/* ==========================================================================
   8. عناصر عامة: ترقيم صفحات، تعليقات، نماذج
   ========================================================================== */
.pagination{ display:flex; gap:8px; justify-content:center; margin: 40px 0 0; }
.pagination a, .pagination span{
  min-width:40px; height:40px; display:flex; align-items:center; justify-content:center;
  border:1.5px solid var(--rehla-border); border-radius: var(--rehla-radius-sm); font-weight:700; font-size:14px;
}
.pagination .current{ background: var(--rehla-primary); border-color: var(--rehla-primary); color:#fff; }

.comment-form input[type=text], .comment-form input[type=email], .comment-form textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--rehla-border); border-radius: var(--rehla-radius-sm);
  font-family:inherit; margin-bottom:14px;
}
.comment-form textarea{ min-height:130px; }

/* ==========================================================================
   9. استجابة الشاشات
   ========================================================================== */
@media (max-width: 960px){
  .content-layout{ grid-template-columns: 1fr; }
  .grid-4{ grid-template-columns: repeat(2,1fr); }
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .primary-navigation{ display:none; width:100%; order:3; }
  .primary-navigation.nav-open ul{ flex-direction:column; align-items:stretch; padding:14px 0; }
  .primary-navigation.nav-open ul ul{ position:static; box-shadow:none; }
  .site-header-inner{ flex-wrap:wrap; }
  .menu-toggle{ display:inline-flex; }
  .grid-4, .grid-3, .grid-2{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .hero{ padding: 70px 0 90px; }
  .info-item{ border-inline-end:none; border-bottom:1px solid var(--rehla-border); padding-bottom:10px; }
}

/* دعم RTL/LTR تلقائي عبر خاصية اتجاه المستند، لا حاجة لملف منفصل لأن كل الخصائص تستخدم inline-start/end */


/* ==========================================================================
   10. Rehla Travel 1.2 — تجربة سفر أكثر ذكاءً
   ========================================================================== */
.hero-v2{
  padding:86px 0 74px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.13), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(224,138,60,.18), transparent 28%),
    linear-gradient(135deg,var(--rehla-primary-dark),var(--rehla-primary));
}
.hero-v2 .hero-layout{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
  gap:44px;
  align-items:center;
}
.hero-v2 .hero-content-v2{
  max-width:760px;
  text-align:start;
}
.hero-v2 h1{
  font-size:clamp(34px,5.2vw,58px);
  line-height:1.2;
  margin:12px 0 18px;
  letter-spacing:-.6px;
}
.hero-v2 .hero-subtitle{
  max-width:680px;
  color:rgba(255,255,255,.9);
  font-size:18px;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}
.hero-actions .btn{padding:12px 22px}
.hero-actions .btn-light{
  background:#fff;
  border-color:#fff;
  color:var(--rehla-primary-dark);
}
.hero-actions .btn-light:hover{
  background:var(--rehla-sand);
  border-color:var(--rehla-sand);
  color:var(--rehla-primary-dark);
}
.hero-v2 .hero-search{
  margin:24px 0 0;
  max-width:650px;
}
.hero-visual{
  min-height:360px;
  position:relative;
  border:1px solid rgba(255,255,255,.18);
  border-radius:28px;
  overflow:hidden;
  background:
    linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.03)),
    var(--hero-image,linear-gradient(145deg,#126f70,#073f40));
  background-size:cover;
  background-position:center;
  box-shadow:0 24px 70px rgba(0,0,0,.18);
}
.hero-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.45));
}
.hero-visual-card{
  position:absolute;
  z-index:2;
  inset-inline-start:22px;
  inset-inline-end:22px;
  bottom:22px;
  background:rgba(255,255,255,.94);
  color:var(--rehla-ink);
  border-radius:18px;
  padding:16px 18px;
  box-shadow:0 12px 35px rgba(0,0,0,.15);
}
.hero-visual-card strong{display:block;font-size:18px;margin-bottom:4px}
.hero-visual-card span{font-size:13px;color:var(--rehla-ink-soft)}

.smart-nav{
  margin-top:-30px;
  position:relative;
  z-index:5;
}
.smart-nav-inner{
  background:#fff;
  border:1px solid var(--rehla-border);
  border-radius:20px;
  box-shadow:0 18px 50px rgba(28,43,43,.1);
  padding:16px;
  display:flex;
  align-items:center;
  gap:10px;
  overflow:auto;
}
.smart-nav-label{
  flex:0 0 auto;
  font-weight:800;
  font-size:14px;
  color:var(--rehla-ink);
  padding-inline:8px;
}
.smart-chip{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:1px solid var(--rehla-border);
  border-radius:999px;
  padding:9px 14px;
  font-size:13px;
  font-weight:700;
  color:var(--rehla-ink-soft);
  background:#fff;
}
.smart-chip:hover,.smart-chip.active{
  color:#fff;
  border-color:var(--rehla-primary);
  background:var(--rehla-primary);
}

.home-section-intro{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:end;
  margin-bottom:30px;
}
.home-section-intro .section-head{
  margin:0;
  text-align:start;
  max-width:720px;
}
.home-section-intro .section-head p{max-width:650px}
.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--rehla-accent);
  font-size:12px;
  font-weight:900;
  letter-spacing:.4px;
  margin-bottom:5px;
}
.section-link{
  flex:0 0 auto;
  font-weight:800;
  color:var(--rehla-primary);
  white-space:nowrap;
}
.section-link:hover{color:var(--rehla-primary-dark)}

.post-card .card-media{aspect-ratio:16/9}
.post-card .card-title{font-size:19px}
.card-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:flex-end;
  padding:20px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 18%,rgba(246,201,138,.35),transparent 24%),
    linear-gradient(145deg,#0e6e6e,#094f4f);
  color:#fff;
}
.card-fallback::before{
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  inset-inline-end:-55px;
  top:-60px;
}
.card-fallback::after{
  content:"";
  position:absolute;
  width:110px;
  height:110px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  inset-inline-start:-45px;
  bottom:-55px;
}
.card-fallback-content{position:relative;z-index:1}
.card-fallback-icon{
  display:block;
  font-size:28px;
  margin-bottom:8px;
}
.card-fallback small{
  display:block;
  color:rgba(255,255,255,.75);
  font-size:11px;
  margin-bottom:3px;
}
.card-fallback strong{
  display:block;
  color:#fff;
  font-size:16px;
  line-height:1.45;
}
.card-badge.post-badge{
  background:rgba(14,110,110,.94);
}

.empty-state{
  grid-column:1/-1;
  border:1px dashed var(--rehla-border);
  border-radius:18px;
  background:rgba(247,242,234,.55);
  padding:28px;
  text-align:center;
  color:var(--rehla-ink-soft);
}

.travel-cta{
  background:
    radial-gradient(circle at 10% 10%,rgba(246,201,138,.18),transparent 25%),
    linear-gradient(135deg,var(--rehla-primary-dark),var(--rehla-primary));
  color:#fff;
  border-radius:28px;
  padding:44px 34px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  box-shadow:0 18px 55px rgba(9,79,79,.16);
}
.travel-cta h2{color:#fff;margin:0 0 7px}
.travel-cta p{color:rgba(255,255,255,.84);margin:0;max-width:650px}
.travel-cta .btn{background:#fff;border-color:#fff;color:var(--rehla-primary-dark)}
.travel-cta .btn:hover{background:var(--rehla-sand);border-color:var(--rehla-sand)}

.post-hero{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  min-height:360px;
  display:flex;
  align-items:flex-end;
  margin-bottom:28px;
  background:linear-gradient(145deg,#0e6e6e,#094f4f);
}
.post-hero img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.post-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 20%,rgba(5,25,25,.82));
}
.post-hero-content{
  position:relative;
  z-index:2;
  padding:32px;
  width:100%;
  color:#fff;
}
.post-hero-content h1{color:#fff;max-width:900px;font-size:clamp(30px,4.5vw,48px);line-height:1.25;margin:10px 0 0}
.post-hero-meta{display:flex;flex-wrap:wrap;gap:12px;color:rgba(255,255,255,.82);font-size:13px}
.article-topbar{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.article-category{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--rehla-primary);
  background:rgba(14,110,110,.08);
  border:1px solid rgba(14,110,110,.14);
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  font-weight:800;
}
.article-progress{
  position:fixed;
  top:0;
  inset-inline-start:0;
  height:3px;
  width:0;
  background:var(--rehla-accent);
  z-index:9999;
  transition:width .1s linear;
}

.related-posts{
  margin-top:46px;
  padding-top:34px;
  border-top:1px solid var(--rehla-border);
}
.related-posts h2{font-size:24px;margin:0 0 20px}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(231,225,214,.8);
}
.site-header-inner{min-height:74px}
.site-title{font-size:20px}
.site-description{font-size:11px}

@media (max-width:960px){
  .hero-v2 .hero-layout{grid-template-columns:1fr}
  .hero-visual{min-height:300px}
  .home-section-intro{align-items:flex-start}
}
@media (max-width:720px){
  .hero-v2{padding:62px 0 58px}
  .hero-v2 .hero-content-v2{text-align:center}
  .hero-v2 .hero-search{margin-inline:auto}
  .hero-actions{justify-content:center}
  .hero-visual{min-height:250px}
  .smart-nav{margin-top:-20px}
  .smart-nav-inner{border-radius:16px}
  .home-section-intro{display:block}
  .home-section-intro .section-head{text-align:center;margin-bottom:14px}
  .section-link{display:block;text-align:center}
  .travel-cta{display:block;text-align:center;padding:34px 22px}
  .travel-cta .btn{margin-top:20px}
  .post-hero{min-height:290px}
  .post-hero-content{padding:22px}
  .post-hero-content h1{font-size:29px}
}


/* ==========================================================================
   Rehla Travel 1.3 — صفحات المحتوى بأسلوب مجلة سفر احترافية
   ========================================================================== */
.archive-hero{
  padding:56px 0 42px;
  background:
    radial-gradient(circle at 88% 18%,rgba(246,201,138,.20),transparent 28%),
    linear-gradient(135deg,var(--rehla-primary-dark),var(--rehla-primary));
  color:#fff;
}
.archive-hero .eyebrow{color:rgba(255,255,255,.75)}
.archive-hero h1{color:#fff;font-size:clamp(32px,4.8vw,52px);margin:10px 0 12px}
.archive-hero p{color:rgba(255,255,255,.86);max-width:760px;margin:0;font-size:16px;line-height:1.9}
.archive-hero-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px;
}
.archive-hero-meta span{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  padding:7px 12px;
  border-radius:999px;
  font-size:12px;
}
.archive-toolbar{
  margin-top:-24px;
  position:relative;
  z-index:4;
}
.archive-toolbar-inner{
  background:#fff;
  border:1px solid var(--rehla-border);
  border-radius:18px;
  box-shadow:0 14px 42px rgba(30,42,42,.10);
  padding:12px;
  display:flex;
  align-items:center;
  gap:8px;
  overflow:auto;
}
.archive-toolbar-inner a{
  white-space:nowrap;
  padding:9px 14px;
  border-radius:999px;
  color:var(--rehla-ink-soft);
  font-size:12px;
  font-weight:800;
}
.archive-toolbar-inner a:hover,
.archive-toolbar-inner a.is-current{
  background:var(--rehla-primary);
  color:#fff;
}
.archive-feature{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
  gap:28px;
  align-items:stretch;
  margin-bottom:46px;
}
.archive-feature-media{
  min-height:390px;
  border-radius:24px;
  overflow:hidden;
  position:relative;
  background:linear-gradient(145deg,#0e6e6e,#094f4f);
}
.archive-feature-media img{
  width:100%;
  height:100%;
  min-height:390px;
  object-fit:cover;
}
.archive-feature-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 25%,rgba(3,25,25,.82));
  display:flex;
  align-items:flex-end;
  padding:28px;
}
.archive-feature-overlay h2{
  color:#fff;
  margin:8px 0 0;
  font-size:clamp(25px,3vw,38px);
  line-height:1.35;
}
.archive-feature-overlay .card-meta{color:rgba(255,255,255,.78)}
.archive-feature-copy{
  border:1px solid var(--rehla-border);
  border-radius:24px;
  background:#fff;
  padding:30px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.archive-feature-copy .kicker{
  color:var(--rehla-accent);
  font-size:12px;
  font-weight:900;
}
.archive-feature-copy h2{margin:9px 0 12px;font-size:28px;line-height:1.4}
.archive-feature-copy p{color:var(--rehla-ink-soft);line-height:1.9}
.archive-feature-copy .btn{align-self:flex-start;margin-top:16px}
.archive-grid-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:22px;
}
.archive-grid-head h2{margin:0;font-size:25px}
.archive-grid-head p{margin:4px 0 0;color:var(--rehla-ink-soft);font-size:13px}
.archive-grid-count{
  color:var(--rehla-primary);
  font-weight:900;
  font-size:13px;
  white-space:nowrap;
}

.article-shell{
  padding-top:34px;
  padding-bottom:70px;
}
.article-main{
  max-width:1040px;
  margin-inline:auto;
}
.article-header{
  text-align:center;
  max-width:900px;
  margin:0 auto 28px;
}
.article-header .article-category{
  display:inline-flex;
}
.article-header h1{
  font-size:clamp(34px,5vw,58px);
  line-height:1.22;
  letter-spacing:-.8px;
  margin:14px auto;
  color:var(--rehla-ink);
}
.article-dek{
  color:var(--rehla-ink-soft);
  font-size:18px;
  line-height:1.9;
  max-width:780px;
  margin:0 auto;
}
.article-meta-row{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px 18px;
  color:#777;
  font-size:12px;
  margin-top:18px;
}
.article-meta-row strong{color:var(--rehla-ink)}
.article-cover{
  position:relative;
  min-height:470px;
  border-radius:28px;
  overflow:hidden;
  background:linear-gradient(145deg,#0e6e6e,#094f4f);
  margin:30px 0 34px;
  box-shadow:0 22px 70px rgba(20,35,35,.14);
}
.article-cover img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.article-cover::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.03) 25%,rgba(0,0,0,.55));
}
.article-cover-fallback{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  padding:34px;
  color:#fff;
}
.article-cover-fallback .travel-mark{
  font-size:52px;
  margin-bottom:8px;
}
.article-cover-fallback strong{
  display:block;
  color:#fff;
  font-size:24px;
}
.article-cover-caption{
  position:absolute;
  z-index:2;
  bottom:18px;
  inset-inline:22px;
  color:rgba(255,255,255,.76);
  font-size:11px;
}
.article-body-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:42px;
  align-items:start;
}
.article-content{
  min-width:0;
  font-size:17px;
  line-height:2.05;
  color:#303b3b;
}
.article-content p{margin:0 0 1.35em}
.article-content h2{
  font-size:28px;
  line-height:1.45;
  margin:2em 0 .65em;
  color:var(--rehla-ink);
  position:relative;
  padding-inline-start:15px;
}
.article-content h2::before{
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:.25em;
  width:4px;
  height:1.2em;
  border-radius:3px;
  background:var(--rehla-accent);
}
.article-content h3{
  font-size:21px;
  margin:1.7em 0 .55em;
  color:var(--rehla-ink);
}
.article-content ul,.article-content ol{padding-inline-start:1.35em;margin-bottom:1.4em}
.article-content li{margin-bottom:.45em}
.article-content img{border-radius:16px}
.article-content blockquote{
  margin:28px 0;
  padding:20px 22px;
  border-inline-start:4px solid var(--rehla-accent);
  background:var(--rehla-sand);
  border-radius:12px;
  color:var(--rehla-ink);
}
.article-toc{
  position:sticky;
  top:92px;
  border:1px solid var(--rehla-border);
  border-radius:18px;
  padding:18px;
  background:#fff;
  box-shadow:0 10px 30px rgba(30,42,42,.06);
}
.article-toc h3{font-size:15px;margin:0 0 12px}
.article-toc ul{list-style:none;margin:0;padding:0}
.article-toc li{margin:0}
.article-toc a{
  display:block;
  padding:7px 8px;
  color:var(--rehla-ink-soft);
  border-radius:8px;
  font-size:12px;
  line-height:1.6;
}
.article-toc a:hover,.article-toc a.active{
  color:var(--rehla-primary);
  background:rgba(14,110,110,.07);
}
.article-toc .toc-h3{padding-inline-start:20px;font-size:11px}
.article-facts{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin:0 0 32px;
}
.article-fact{
  background:var(--rehla-sand);
  border:1px solid var(--rehla-border);
  border-radius:15px;
  padding:15px;
  text-align:center;
}
.article-fact .icon{font-size:20px;display:block;margin-bottom:4px}
.article-fact small{display:block;color:#777;font-size:10px;margin-bottom:3px}
.article-fact strong{font-size:13px;color:var(--rehla-ink)}
.article-share{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:30px 0;
  padding-top:22px;
  border-top:1px solid var(--rehla-border);
}
.article-share button,
.article-share a{
  border:1px solid var(--rehla-border);
  background:#fff;
  border-radius:999px;
  padding:8px 13px;
  font-size:11px;
  font-weight:800;
  color:var(--rehla-ink-soft);
  cursor:pointer;
}
.article-share button:hover,.article-share a:hover{border-color:var(--rehla-primary);color:var(--rehla-primary)}
.article-related{
  margin-top:55px;
  padding-top:34px;
  border-top:1px solid var(--rehla-border);
}
.article-related h2{margin:0 0 20px;font-size:26px}

@media(max-width:900px){
  .archive-feature{grid-template-columns:1fr}
  .archive-feature-media,.archive-feature-media img{min-height:320px}
  .article-body-layout{grid-template-columns:1fr}
  .article-toc{position:relative;top:auto}
}
@media(max-width:650px){
  .archive-hero{padding:42px 0 34px}
  .archive-toolbar{margin-top:-18px}
  .archive-feature-copy{padding:22px}
  .archive-grid-head{display:block}
  .archive-grid-count{display:block;margin-top:8px}
  .article-cover{min-height:330px;border-radius:20px}
  .article-cover-fallback{padding:22px}
  .article-facts{grid-template-columns:repeat(2,1fr)}
  .article-content{font-size:16px}
  .article-content h2{font-size:24px}
  .article-header h1{font-size:34px}
  .article-dek{font-size:16px}
}


/* Rehla Travel 1.4 — منصة سفر وليست منصة سفر */
.article-location{display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:14px;font-size:13px;font-weight:800}
.article-location a{background:rgba(14,110,110,.07);padding:7px 12px;border-radius:999px;color:var(--rehla-primary)}
.tcg-figure{margin:16px 0 22px;border-radius:16px;overflow:hidden;background:var(--rehla-sand)}
.tcg-figure img{width:100% !important;max-height:520px;object-fit:cover;border-radius:0 !important}
.tcg-figure figcaption{padding:7px 12px 10px;background:#fff}
.tcg-landmarks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tcg-landmark-card{margin:0 !important;padding:0 !important;overflow:hidden;border-radius:18px !important;box-shadow:0 8px 28px rgba(20,35,35,.07)}
.tcg-landmark-card h3{padding:18px 18px 8px;margin:0 !important}
.tcg-landmark-card .tcg-figure{margin:0 0 14px;border-radius:0}
.tcg-landmark-card > p,.tcg-landmark-card > .tcg-landmark-price{margin-inline:18px}
.tcg-rated-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tcg-rated-list li{margin:0 !important;padding:16px 16px 16px 54px !important}
.tcg-rated-list .tcg-figure{margin:14px -16px -16px;border-radius:0}
.tcg-rated-list .tcg-figure img{max-height:260px}
@media(max-width:760px){.tcg-landmarks,.tcg-rated-list{grid-template-columns:1fr}}

/* ==========================================================================
   Rehla Travel 2.0 — Country / City destination platform
   ========================================================================== */
.location-hero{
  padding:52px 0 46px;
  color:#fff;
  background:
    radial-gradient(circle at 82% 15%,rgba(246,201,138,.22),transparent 26%),
    linear-gradient(135deg,var(--rehla-primary-dark),var(--rehla-primary));
}
.location-breadcrumb{display:flex;gap:8px;align-items:center;font-size:11px;color:rgba(255,255,255,.68);margin-bottom:28px}
.location-breadcrumb a{color:#fff}
.location-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:35px;align-items:center}
.location-hero h1{color:#fff;font-size:clamp(38px,6vw,68px);line-height:1.15;margin:10px 0}
.location-hero p{max-width:760px;color:rgba(255,255,255,.85);font-size:16px;line-height:1.9}
.location-hero .eyebrow{color:rgba(255,255,255,.72)}
.location-stats{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}
.location-stats span{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.15);font-size:11px}
.location-emblem{min-height:245px;border:1px solid rgba(255,255,255,.15);border-radius:28px;background:rgba(255,255,255,.08);display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 25px 70px rgba(0,0,0,.13)}
.location-emblem span{font-size:78px;line-height:1;margin-bottom:18px}
.location-emblem strong{color:#fff;font-size:24px}
.location-section{margin-bottom:55px}
.location-section .section-head{margin-bottom:23px}
.city-discovery-card{display:block;border:1px solid var(--rehla-border);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 8px 28px rgba(20,35,35,.06);transition:transform .2s ease,box-shadow .2s ease}
.city-discovery-card:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(20,35,35,.11)}
.city-discovery-media{height:175px;background:linear-gradient(145deg,#0e6e6e,#094f4f);display:flex;align-items:center;justify-content:center;overflow:hidden}
.city-discovery-media img{width:100%;height:100%;object-fit:cover}
.city-discovery-media span{font-size:44px}
.city-discovery-body{padding:15px 16px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.city-discovery-body strong{font-size:16px;color:var(--rehla-ink)}
.city-discovery-body span{font-size:10px;color:#777}
.location-feature{display:grid;grid-template-columns:1.2fr .8fr;gap:0;border-radius:25px;overflow:hidden;background:#fff;border:1px solid var(--rehla-border);box-shadow:0 16px 45px rgba(20,35,35,.08);margin-bottom:55px}
.location-feature-media{min-height:360px;background:linear-gradient(145deg,#0e6e6e,#094f4f);display:flex;align-items:center;justify-content:center;overflow:hidden}
.location-feature-media img{width:100%;height:100%;object-fit:cover}
.location-feature-media span{font-size:65px}
.location-feature-body{padding:38px;display:flex;flex-direction:column;justify-content:center}
.location-feature-body h2{font-size:30px;line-height:1.4;margin:8px 0 12px}
.location-feature-body p{color:var(--rehla-ink-soft);line-height:1.9}
.location-feature-meta{font-size:11px;color:#777;margin:10px 0 14px}
.rehla-place-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0 35px}
.rehla-place-card{background:#fff;border:1px solid var(--rehla-border);border-radius:18px;overflow:hidden;box-shadow:0 8px 25px rgba(20,35,35,.06)}
.rehla-place-media{display:block;height:190px;background:linear-gradient(145deg,#0e6e6e,#094f4f);overflow:hidden}
.rehla-place-media img{width:100%;height:100%;object-fit:cover}
.rehla-place-body{padding:17px}
.rehla-place-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.rehla-rank{width:27px;height:27px;border-radius:50%;background:var(--rehla-primary);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:900}
.rehla-place-type{font-size:10px;color:#888}
.rehla-place-card h3{font-size:18px;margin:5px 0 8px}
.rehla-place-card p{font-size:12px;color:var(--rehla-ink-soft);line-height:1.8;margin:0 0 10px}
.rehla-place-rating{font-size:12px;font-weight:900;color:#9b6b1e}
.rehla-place-price{font-size:11px;color:#777;margin-top:5px}
.article-location{display:flex;justify-content:center;align-items:center;gap:8px;margin:0 auto 12px;font-size:12px;color:#777}
.article-location a{color:var(--rehla-primary);font-weight:800}
@media(max-width:800px){
 .location-hero-grid,.location-feature{grid-template-columns:1fr}
 .location-emblem{min-height:180px}
 .location-feature-media{min-height:280px}
 .rehla-place-grid{grid-template-columns:1fr}
}
@media(max-width:550px){
 .location-hero{padding:40px 0}
 .location-hero h1{font-size:42px}
 .city-discovery-media{height:150px}
 .location-feature-body{padding:24px}
}
