/* === Typography Balancer === */
h1, h2, h3, h4, h5, h6, .card h4, .article-title {
  text-wrap: balance;
}

:root {
  /* === Lovable-Inspired Design System === */
  
  /* Primary Brand Colors */
  --primary: #6B1D5E;           /* Deep Plum - Main brand */
  --primary-foreground: #FFFFFF;
  --accent: #C8956C;            /* Warm Gold accent */
  --accent-foreground: #FFFFFF;
  
  /* Semantic Colors */
  --plum: #6B1D5E;
  --gold: #D4A853;
  --gold-foreground: #3D2E0A;
  --teal: #0D9488;
  
  /* Category Colors */
  --cat-hia: #6B1D5E;        /* هي */
  --cat-sisters: #8b5cf6;    /* أخواتها */
  --cat-mom: #f43f5e;         /* أمومة وطفولة */
  --cat-home: #0D9488;        /* بيتي */
  --cat-culture: #D4A853;     /* ثقافة ومجتمع */
  --cat-news: #3b82f6;        /* حولنا */
  --cat-guide: #10b981;       /* دليل هي */
  --cat-expert: #6366f1;      /* اسأل خبير */
  --cat-women: #880e4f;       /* نون النسوة */

  /* Layout Colors */
  --background: #FAFAFA;
  --foreground: #1A1A2E;
  --card: #FFFFFF;
  --card-foreground: #1A1A2E;
  --muted: #F4F4F5;
  --muted-foreground: #71717A;
  --border: #E5E7EB;
  --input: #E5E7EB;
  --secondary: #F4F4F5;
  --secondary-foreground: #18181B;
  --destructive: #EF4444;

  /* Surface */
  --surface-color: #FFFFFF;
  --surface-alt: #F9FAFB;

  /* Text */
  --text-main: #1A1A2E;
  --text-muted: #71717A;

  /* Nav */
  --nav-bg: #6B1D5E;
  --nav-text: #FFFFFF;
  
  /* Radius & Shadows */
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-soft: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-card: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow: var(--shadow-soft);
  --shadow-hover: var(--shadow-card);
  --transition: all 0.22s ease;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #6B1D5E, #C8956C);
  --gradient-placeholder: linear-gradient(135deg, #F4F4F5, #E5E7EB, #F4F4F5);

  /* Font Families */
  --font-sans: 'Cairo', system-ui, sans-serif;
  --font-display: 'Cairo', system-ui, sans-serif;
  --font-ui: 'Cairo', system-ui, sans-serif;
}

[data-theme="dark"] {
  --background: #0C0A1A;
  --foreground: #F1F5F9;
  --card: #1A1832;
  --card-foreground: #F1F5F9;
  --muted: #27243D;
  --muted-foreground: #94A3B8;
  --border: #2D2B45;
  --input: #2D2B45;
  --secondary: #27243D;
  --secondary-foreground: #F1F5F9;
  --surface-color: #1A1832;
  --surface-alt: #27243D;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --nav-bg: #09090b;
  --primary: #9B4DCA;
  --accent: #D4A853;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  line-height: 1.85;
  font-size: clamp(0.9375rem, 0.88rem + 0.28vw, 1.0625rem);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s, color 0.3s;
}

[data-theme="dark"] body {
  background-color: #050510;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.site-wrapper {
  max-width: 1344px;
  margin: 0 auto;
  background-color: var(--card);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; padding: 0; margin: 0; }
.container, .shell { max-width: 100%; margin: 0 auto; padding: 0 2rem; }n: var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; padding: 0; margin: 0; }
.container { max-width: 100%; margin: 0 auto; padding: 0 40px; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.4; }

/* Top Bar & Header */
.top-bar { background-color: var(--surface-color); border-bottom: 1px solid var(--border-color); font-size: 13px; color: var(--text-muted); padding: 8px 0; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-social a { margin-right: 15px; color: var(--text-muted); }
.top-social a:hover { color: var(--primary); }
.main-header { background-color: var(--surface-color); padding: 30px 0; }
.header-content { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.logo { flex-shrink: 0; }
.logo h1 { font-size: 42px; font-weight: 800; color: var(--primary); margin: 0; font-family: 'Cairo', serif; }
.logo h1 span { color: var(--accent); font-weight: 400; font-size: 32px; }
.header-ad { flex-grow: 1; display: flex; justify-content: flex-end; }
.header-ad img { max-width: 100%; border-radius: var(--radius); }

/* Navigation */
.main-nav { background-color: var(--nav-bg); color: var(--nav-text); position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; flex-wrap: nowrap; overflow: visible; }
.nav-links > li { position: relative; }
.nav-links > li > a { display: block; padding: 18px 12px; font-weight: 600; font-size: 12px; color: var(--nav-text); }
.nav-links > li > a:hover, .nav-links > li > a.active { background-color: var(--primary); }
.dropdown { position: absolute; top: 100%; right: 0; background-color: var(--surface-color); min-width: 200px; box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); border: 1px solid var(--border-color); border-top: 3px solid var(--primary); z-index: 1000; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 12px 20px; color: var(--text-main); border-bottom: 1px solid var(--border-color); font-size: 12px; }
.dropdown a:hover { background-color: var(--surface-alt); padding-right: 25px; color: var(--primary); }
.nav-actions button { background: transparent; border: none; color: var(--nav-text); font-size: 18px; cursor: pointer; padding: 10px; margin-right: 5px; transition: var(--transition); }
.nav-actions button:hover { color: var(--accent); }

/* Ticker */
.breaking-news { background-color: var(--surface-color); border-bottom: 1px solid var(--border-color); padding: 10px 0; margin-bottom: 15px; }
.ticker-wrap { display: flex; align-items: center; overflow: hidden; }
.ticker-title { background-color: var(--accent); color: white; padding: 4px 15px; border-radius: 20px; font-weight: 700; font-size: 13px; margin-left: 15px; flex-shrink: 0; z-index: 2; }
.ticker-move { display: flex; animation: ticker 25s linear infinite; white-space: nowrap; }
.ticker-item { margin-left: 40px; font-size: 12px; font-weight: 600; cursor: pointer; }
.ticker-item:hover { color: var(--primary); }
@keyframes ticker { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* Reading Progress Bar & Back to Top */
.reading-progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 4px; z-index: 9999; background: transparent; }
.reading-progress-bar { height: 4px; background: linear-gradient(90deg, var(--accent), var(--primary)); width: 0%; transition: width 0.1s linear; border-radius: 0 2px 2px 0; }
#back-to-top { position: fixed; bottom: 30px; left: 30px; width: 46px; height: 46px; background: var(--primary); color: white; border: none; border-radius: 50%; font-size: 12px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.2); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; display: flex; align-items: center; justify-content: center; }
#back-to-top.show { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* Main Layout */
.main-layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; margin-bottom: 20px; }
.content-area { display: flex; flex-direction: column; gap: 30px; min-width: 0; }

/* Global Section Styles */
.section-title { border-bottom: 2px solid var(--border-color); margin-bottom: 25px; position: relative; }
.section-title h2 { font-size: 20px; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 3px solid var(--primary); margin-bottom: -2px; }
.title-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: var(--primary); }
.title-dot.hia { background: var(--cat-hia); }
.title-dot.sisters { background: var(--cat-sisters); }
.title-dot.mom { background: var(--cat-mom); }
.title-dot.home { background: var(--cat-home); }
.title-dot.culture { background: var(--cat-culture); }
.title-dot.news { background: var(--cat-news); }
.title-dot.guide { background: var(--cat-guide); }
.title-dot.expert { background: var(--cat-expert); }

/* Category Badges */
.category-badge { display: inline-block; padding: 4px 10px; font-size: 12px; font-weight: 700; color: white; border-radius: 4px; margin-bottom: 5px; }
.category-badge.hia { background-color: var(--cat-hia); }
.category-badge.sisters { background-color: var(--cat-sisters); }
.category-badge.mom { background-color: var(--cat-mom); }
.category-badge.home { background-color: var(--cat-home); }
.category-badge.culture { background-color: var(--cat-culture); }
.category-badge.news { background-color: var(--cat-news); }
.category-badge.expert { background-color: var(--cat-expert); }

/* 1. Hero Grid */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; border-radius: var(--radius-lg); overflow: hidden; }
.hero-post { position: relative; overflow: hidden; }
.hero-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hero-post:hover img { transform: scale(1.05); }
.post-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); color: white; pointer-events: none; }
.post-overlay h2, .post-overlay h3, .post-overlay a { pointer-events: auto; }
.main-hero { grid-column: 1 / 2; }
.main-hero img { height: 330px; }
.main-hero h2 { font-size: 26px; margin: 10px 0; color: white; }
.sub-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.sub-hero img { height: 207.5px; }
.sub-hero h3 { font-size: 15px; margin-top: 5px; color: white; }
.hero-post a { color: white; }
.hero-post a:hover { text-decoration: underline; }
.post-meta { font-size: 12px; color: rgba(255,255,255,0.8); display: flex; gap: 15px; margin-top: 5px; }

/* 2. Layout 1 (Large + Small List) */
.layout-1-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 15px; }
.large-post .post-thumb { position: relative; border-radius: var(--radius); overflow: hidden; height: 250px; margin-bottom: 15px; }
.large-post img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.large-post:hover img { transform: scale(1.05); }
.abs-badge { position: absolute; top: 15px; left: 15px; right: auto; margin: 0; z-index: 10; }
.large-post h3 { font-size: 22px; margin-bottom: 5px; }
.large-post p { color: var(--text-muted); font-size: 15px; }

.small-list { display: flex; flex-direction: column; gap: 15px; }
.small-list-item { display: flex; gap: 15px; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.small-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.small-list-item .thumb { width: 100px; height: 75px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; }
.small-list-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.small-list-item:hover .thumb img { transform: scale(1.1); }
.small-list-item h4 { font-size: 15px; margin-bottom: 5px; }
.small-list-item .date { font-size: 12px; color: var(--text-muted); }

/* 3. Square Scroll (Horizontal Carousel) */
.scroll-container { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--primary) var(--border-color); }
.scroll-container::-webkit-scrollbar { height: 6px; }
.scroll-container::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.square-card { flex: 0 0 200px; height: 200px; position: relative; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; }
.square-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.square-card:hover img { transform: scale(1.1); }
.card-content { position: absolute; bottom: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); padding: 20px 15px 15px; }
.card-content h4 { color: white; font-size: 15px; line-height: 1.4; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }

/* 4. Grid 3 Columns Rectangles */
.grid-3-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.rect-card { background-color: var(--surface-color); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; transition: var(--transition); box-shadow: var(--shadow); }
.rect-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.rect-card .thumb { height: 160px; overflow: hidden; }
.rect-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.rect-card:hover .thumb img { transform: scale(1.05); }
.rect-card .details { padding: 15px; }
.rect-card h3 { font-size: 12px; margin-bottom: 5px; }
.rect-card .date { font-size: 12px; color: var(--text-muted); }

/* 5. Dark Section (Video) */
.block-video { background-color: #2e1065; border-radius: var(--radius-lg); padding: 15px; color: white; }
.block-video .dark-title h2 { color: white; border-bottom-color: rgba(255,255,255,0.2); }
.video-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 15px; }
.main-video .video-thumb { position: relative; border-radius: var(--radius); overflow: hidden; height: 300px; margin-bottom: 15px; cursor: pointer; }
.main-video img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); opacity: 0.9; }
.main-video:hover img { opacity: 1; transform: scale(1.02); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(236, 72, 153, 0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; box-shadow: 0 0 15px rgba(0,0,0,0.5); transition: var(--transition); }
.main-video:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); background: var(--accent); }
.main-video h3 { font-size: 20px; color: white; }
.video-list { display: flex; flex-direction: column; gap: 15px; }
.vid-item { display: flex; gap: 15px; align-items: center; cursor: pointer; padding: 10px; border-radius: var(--radius); transition: background 0.3s; }
.vid-item:hover { background-color: rgba(255,255,255,0.1); }
.vid-item .v-thumb { width: 120px; height: 80px; position: relative; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.vid-item .v-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; background: rgba(0,0,0,0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; color: white; }
.vid-item h4 { font-size: 12px; color: #f8fafc; font-weight: 600; line-height: 1.4; }
.vid-item:hover h4 { color: white; }

/* 6. Two Column Layout */
.two-col-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* 7. Standard List Post */
.post-list { display: flex; flex-direction: column; gap: 25px; }
.list-post { display: flex; gap: 15px; background-color: var(--surface-color); padding: 15px; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border-color); }
.list-post:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.post-thumb { position: relative; flex-shrink: 0; width: 280px; border-radius: var(--radius); overflow: hidden; }
.post-thumb img { width: 100%; height: 180px; object-fit: cover; transition: var(--transition); }
.list-post:hover .post-thumb img { transform: scale(1.05); }
.post-details h3 { font-size: 20px; margin: 10px 0; }
.post-details p { color: var(--text-muted); font-size: 15px; }

/* Sidebar Widgets */
.sidebar { display: flex; flex-direction: column; gap: 20px; background-color: rgba(0,0,0,0.02); padding: 15px; border-radius: var(--radius); border: 1px solid var(--border-color); }
.widget { background-color: var(--surface-color); border-radius: var(--radius); padding: 15px; box-shadow: var(--shadow); border: 1px solid var(--border-color); }
.widget-title { margin-bottom: 20px; border-bottom: 2px solid var(--border-color); }
.widget-title h3 { font-size: 18px; display: inline-block; padding-bottom: 8px; border-bottom: 2px solid var(--primary); margin-bottom: -2px; }

/* Social */
.social-counters { display: grid; grid-template-columns: 1fr; gap: 10px; }
.social-box { display: flex; align-items: center; padding: 12px 15px; border-radius: var(--radius); color: white !important; font-weight: 700; }
.social-box i { font-size: 20px; margin-left: 15px; }
.social-box .count { margin-left: auto; font-size: 12px; }
.social-box .label { font-size: 12px; opacity: 0.8; font-weight: 400; }
.social-box.fb { background-color: #1877F2; }
.social-box.tw { background-color: #000000; }
.social-box.yt { background-color: #FF0000; }

/* Popular */
.popular-posts li { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border-color); }
.popular-posts li:last-child { border-bottom: none; padding-bottom: 0; }
.popular-posts .num { width: 35px; height: 35px; background-color: var(--surface-alt); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; margin-left: 15px; flex-shrink: 0; }
.popular-details h4 { font-size: 12px; line-height: 1.5; }

/* Ads & Sticky */
.ad-widget { padding: 0; text-align: center; background: transparent; box-shadow: none; border: none; }
.ad-widget img { border-radius: var(--radius); max-width: 100%; }
.sticky-widget { position: sticky; top: 80px; }

/* Footer */
.main-footer { background-color: var(--nav-bg); color: var(--nav-text); padding: 40px 0 0; }
.footer-content { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr; gap: 40px; margin-bottom: 20px; }
.footer-about h2 span { color: var(--accent); }
.footer-about p { color: #fdf4ff; opacity: 0.8; margin-top: 15px; max-width: 400px; line-height: 1.7; font-size: 14px; }
.footer-socials { display: flex; gap: 15px; margin-top: 25px; }
.footer-socials a { color: white; background: rgba(255,255,255,0.1); width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; font-size: 15px; }
.footer-socials a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-links h3 { margin-bottom: 25px; font-size: 18px; color: var(--accent); position: relative; padding-bottom: 10px; }
.footer-links h3::after { content: ''; position: absolute; bottom: 0; right: 0; width: 40px; height: 2px; background: var(--accent); }
.footer-links ul li { margin-bottom: 12px; }
.footer-links a { color: #fdf4ff; opacity: 0.8; display: inline-block; transition: 0.3s; font-size: 14px; }
.footer-links a i { margin-left: 5px; opacity: 0.5; font-size: 10px; transition: 0.3s; }
.footer-links a:hover { color: var(--accent); transform: translateX(-5px); opacity: 1; }
.footer-links a:hover i { opacity: 1; }
.footer-newsletter h3 { margin-bottom: 20px; font-size: 18px; color: var(--accent); }
.footer-newsletter p { color: #fdf4ff; opacity: 0.8; margin-bottom: 15px; font-size: 14px; line-height: 1.6; }
.footer-newsletter form { display: flex; background: rgba(255,255,255,0.1); border-radius: 25px; overflow: hidden; padding: 4px; border: 1px solid rgba(255,255,255,0.2); }
.footer-newsletter input { flex: 1; background: none; border: none; padding: 10px 15px; color: white; outline: none; font-family: inherit; }
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.6); }
.footer-newsletter button { background: var(--accent); border: none; color: white; padding: 10px 20px; border-radius: 20px; cursor: pointer; font-weight: bold; transition: 0.3s; font-family: inherit; }
.footer-newsletter button:hover { background: #d81b60; }
.footer-bottom { background-color: #2e0231; padding: 20px 0; text-align: center; color: rgba(255,255,255,0.7); font-size: 13px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 20px; }

/* Hamburger Mobile Menu Button */
.hamburger-btn { display: none; background: transparent; border: none; color: var(--nav-text); font-size: 22px; cursor: pointer; padding: 10px; transition: var(--transition); }
.hamburger-btn:hover { color: var(--accent); }

/* Mobile Nav Drawer */
.mobile-nav-drawer { display: none; position: fixed; top: 0; right: -100%; width: 290px; height: 100vh; background: var(--nav-bg); z-index: 9000; box-shadow: -5px 0 20px rgba(0,0,0,0.3); transition: right 0.35s ease; overflow-y: auto; padding: 20px 0; }
.mobile-nav-drawer.open { right: 0; }
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 8999; opacity: 0; transition: opacity 0.3s ease; }
.mobile-nav-overlay.open { display: block; opacity: 1; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 5px; }
.mobile-nav-header .logo-text { font-size: 24px; font-weight: 800; color: var(--accent); }
.mobile-close-btn { background: transparent; border: none; color: var(--nav-text); font-size: 20px; cursor: pointer; }
.mobile-nav-links { list-style: none; padding: 0 15px; margin: 0; }
.mobile-nav-links li a { display: block; padding: 14px 10px; color: var(--nav-text); font-size: 15px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.07); transition: var(--transition); border-radius: 6px; }
.mobile-nav-links li a:hover { color: var(--accent); background: rgba(255,255,255,0.05); padding-right: 18px; }
.mobile-nav-links li a i { margin-left: 8px; width: 18px; }

/* Responsive Adjustments */
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .main-hero img { height: 300px; }
  .sub-hero-grid { grid-template-columns: 1fr 1fr; }
  .layout-1-grid { grid-template-columns: 1fr; }
  .video-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger-btn { display: flex; align-items: center; }
  .mobile-nav-drawer { display: block; }
  .main-layout { grid-template-columns: 1fr; }
  /* .sidebar { display: none; } */
  .sidebar { margin-top: 40px; }
  .list-post { flex-direction: column; }
  .post-thumb { width: 100%; }
  .grid-3-container { grid-template-columns: 1fr; }
  .two-col-layout { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  body { padding: 0; }
  .boxed-wrapper { border-radius: 0; }
}

/* Ad Blocks Styles */
.ad-block { display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: 'Cairo', sans-serif; font-weight: 700; text-align: center; border-radius: var(--radius); margin-bottom: 15px; line-height: 1.4; padding: 15px; transition: var(--transition); cursor: pointer; }
.ad-block:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.ad-block span { display: block; font-size: 12px; font-weight: 600; margin-top: 8px; opacity: 0.8; }

.ad-block-rect { width: 100%; height: 120px; font-size: 22px; }
.header-ad-size { height: 70px; margin-bottom: 0; font-size: 24px; width: 100%; max-width: 100%; }
.ad-block-square { width: 100%; max-width: 300px; height: 250px; font-size: 20px; margin: 0 auto; }
.ad-block-tall { width: 100%; max-width: 300px; height: 600px; font-size: 22px; margin: 0 auto; }

/* Ad Blocks Colors */
.color-pink { background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%); border: 2px dashed #f472b6; color: #be185d; }
.color-purple { background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); border: 2px dashed #c084fc; color: #7e22ce; }
.color-teal { background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%); border: 2px dashed #2dd4bf; color: #0f766e; }
.color-orange { background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%); border: 2px dashed #fb923c; color: #c2410c; }
.color-blue { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); border: 2px dashed #38bdf8; color: #0369a1; }

/* Sidebar Widgets Styles */
.newsletter-widget p { font-size: 12px; margin-bottom: 15px; color: var(--text-muted); }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input { padding: 12px; border: 1px solid var(--border-color); border-radius: var(--radius); outline: none; font-family: 'Cairo', sans-serif; background: var(--surface-alt); color: var(--text-main); }
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button { background: var(--primary); color: white; border: none; padding: 12px; border-radius: var(--radius); cursor: pointer; font-weight: 700; font-family: 'Cairo', sans-serif; transition: var(--transition); }
.newsletter-form button:hover { background: var(--accent); }

.cat-list li { border-bottom: 1px dashed var(--border-color); }
.cat-list li:last-child { border-bottom: none; }
.cat-list a { display: flex; align-items: center; padding: 12px 0; font-size: 15px; color: var(--text-main); }
.cat-list a i { margin-left: 10px; width: 20px; text-align: center; }
.cat-list a span { margin-right: auto; background: var(--surface-alt); padding: 2px 8px; border-radius: 12px; font-size: 12px; color: var(--text-muted); }

.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tags-cloud a { background: var(--surface-alt); padding: 6px 12px; border-radius: var(--radius); font-size: 13px; color: var(--text-main); transition: var(--transition); }
.tags-cloud a:hover { background: var(--primary); color: white; }

.poll-widget p { font-weight: 600; margin-bottom: 15px; font-size: 12px; color: var(--text-main); }
.poll-form label { display: block; margin-bottom: 5px; font-size: 12px; cursor: pointer; color: var(--text-muted); }
.poll-form input { margin-left: 8px; }
.poll-btn { width: 100%; background: var(--surface-alt); color: var(--primary); border: 1px solid var(--primary); padding: 10px; border-radius: var(--radius); cursor: pointer; font-weight: 700; font-family: 'Cairo', sans-serif; margin-top: 10px; transition: var(--transition); }
.poll-btn:hover { background: var(--primary); color: white; }

.category-dropdown-wrapper { position: relative; }
.category-btn { background-color: var(--primary); color: white; border: none; padding: 10px 20px; font-size: 12px; font-weight: bold; cursor: pointer; border-radius: 4px; display: flex; align-items: center; gap: 8px; }
.mega-menu { position: absolute; top: 100%; right: 0; background-color: white; min-width: 250px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border-radius: 0 0 8px 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; border-top: 3px solid var(--primary); z-index: 1000; padding: 10px 0; }
.category-dropdown-wrapper:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu-list { list-style: none; padding: 0; margin: 0; }
.mega-menu-list li a { display: block; padding: 12px 20px; color: var(--text-main); font-weight: bold; border-bottom: 1px solid var(--border-color); text-decoration: none; }
.mega-menu-list li a:hover { background-color: var(--surface-alt); color: var(--primary); padding-right: 25px; transition: all 0.3s ease; }
/* Category Page Styles */
.category-header { background-color: var(--surface-color); padding: 20px 0; text-align: center; border-bottom: 1px solid var(--border-color); margin-bottom: 15px; }
.category-title { font-size: 32px; color: var(--primary); font-weight: 800; margin: 0; }
.category-sponsors { margin-bottom: 20px; }
.sponsor-horizontal { background-color: #f8e5f0; border: 1px dashed var(--primary); text-align: center; padding: 40px 20px; font-weight: bold; color: var(--text-main); border-radius: var(--radius); margin-bottom: 20px; font-size: 18px; }
.sponsor-split-container { display: flex; gap: 15px; }
.sponsor-rect { background-color: #e5f0f8; border: 1px dashed #3b82f6; text-align: center; padding: 60px 20px; font-weight: bold; color: var(--text-main); border-radius: var(--radius); flex: 1; font-size: 18px; }



/* --- New Professional Sections --- */
.block-editors-choice {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-right: 5px solid #dc2743;
}
.editors-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
}
.editors-main-article {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 350px;
}
.editors-sub-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.editors-sub-article {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    flex: 1;
}
.editors-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 15px;
    color: white;
}
.editors-overlay-small {
    padding: 15px;
}
.editors-main-article img, .editors-sub-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.editors-main-article:hover img, .editors-sub-article:hover img {
    transform: scale(1.05);
}

.block-tech .tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.tech-card {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease;
}
.tech-card:hover {
    transform: translateY(-5px);
}
.tech-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.tech-card-details {
    padding: 15px;
}
.tech-card-details h3 {
    font-size: 12px;
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .editors-grid {
        grid-template-columns: 1fr;
    }
    .editors-main-article {
        height: 250px;
    }
    .block-tech .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .block-tech .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Offers CTA Banner --- */
.offers-cta-banner {
    display: block;
    background: linear-gradient(135deg, #FF416C, #FF4B2B);
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    color: white !important;
    text-decoration: none;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(255, 75, 43, 0.2);
    transition: all 0.3s ease;
}
.offers-cta-banner:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 30px rgba(255, 75, 43, 0.4);
    color: white !important;
}
.offers-cta-banner i {
    font-size: 45px;
    margin-bottom: 15px;
}
.offers-cta-banner h2 {
    font-size: 32px;
    margin: 0 0 10px 0;
    font-weight: 800;
    color: white !important;
}
.offers-cta-banner p {
    font-size: 20px;
    margin: 0;
    opacity: 0.95;
    color: white !important;
}

/* --- Dual CTA Banners --- */
.cta-banners-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.cta-banners-wrapper .half-banner {
    flex: 1;
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .cta-banners-wrapper {
        flex-direction: column;
    }
    .cta-banners-wrapper .half-banner {
        margin-bottom: 20px;
    }
    .cta-banners-wrapper .half-banner:last-child {
        margin-bottom: 0;
    }
}

/* --- Writers Section --- */
.writers-scroll-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #8e44ad #f1f1f1;
}
.writers-scroll-container::-webkit-scrollbar {
    height: 6px;
}
.writers-scroll-container::-webkit-scrollbar-thumb {
    background-color: #8e44ad;
    border-radius: 10px;
}
.writer-card {
    min-width: 150px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}
.writer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.writer-avatar {
    width: 70px;
    height: 70px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #8e44ad;
    padding: 3px;
}
.writer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.writer-name {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}
.writer-article {
    font-size: 12px;
    line-height: 1.5;
}
.writer-article a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}
.writer-article a:hover {
    color: #8e44ad;
}


/* Override Writers Sizes */
.writers-scroll-container { gap: 10px; }
.writer-card { min-width: 140px; padding: 15px; }
.writer-avatar { width: 70px; height: 70px; margin: 0 auto 10px; }
.writer-name { font-size: 13px; margin-bottom: 5px; }
.writer-article { font-size: 11px; }

/* --- Non Al-Niswa Layout --- */
.non-niswa-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
}
.featured-woman {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.featured-woman img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.featured-woman:hover img {
    transform: scale(1.05);
}
.featured-woman .woman-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 30px;
    color: white;
}
.featured-woman .woman-title {
    background: #2980b9;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}
.featured-woman h3 {
    font-size: 24px;
    margin: 0 0 10px 0;
    color: white;
}
.featured-woman p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}
.featured-woman .read-more {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}
.featured-woman .read-more i {
    margin-right: 5px;
    transition: transform 0.3s;
}
.featured-woman .read-more:hover i {
    transform: translateX(-5px);
}

.women-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.woman-grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 190px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.woman-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.woman-grid-item:hover img {
    transform: scale(1.05);
}
.woman-info-small {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 15px;
    color: white;
}
.woman-info-small .woman-title {
    font-size: 11px;
    color: #f1c40f;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 3px;
}
.woman-info-small h4 {
    font-size: 16px;
    margin: 0;
    color: white;
}

@media (max-width: 992px) {
    .non-niswa-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .women-grid {
        grid-template-columns: 1fr;
    }
    .woman-grid-item {
        height: 200px;
    }
}

/* =========================================
   Writers Grid Styles (Ù‡ÙÙ†Ù‘ ÙŠÙƒØªÙØ¨Ù’Ù†)
   ========================================= */
.writers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
    width: 100%;
}

.author-card {
    background-color: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary);
    padding: 3px;
}

.author-name {
    font-size: 20px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 5px;
}

.author-bio {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.author-country {
    font-weight: bold;
    color: #666;
}

.author-stats {
    background-color: #f8e5f0;
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-read-more {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn-read-more:hover {
    background-color: #920f5c;
    color: white;
}

/* Dark mode adjustments */
body.dark-mode .author-stats {
    background-color: #3a1c2e;
    color: #ff9ecd;
}


/* Pioneers Profile Cards */
.pioneers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 15px;
}
.pioneer-card {
    background: #fff;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #f3f4f6;
    transition: all 0.3s;
}
.pioneer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(147, 51, 234, 0.1);
    border-color: #d8b4fe;
}
.pioneer-img-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    padding: 3px;
    background: #fff;
    border: 2px dashed #9333ea;
}
.pioneer-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.pioneer-info h3 {
    font-size: 16px;
    margin: 0 0 8px 0;
    font-weight: 800;
}
.pioneer-badge {
    display: inline-block;
    background: #f3e8ff;
    color: #7e22ce;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 12px;
    margin-bottom: 10px;
}
.pioneer-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Masonry Grid (Trending) */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 15px;
    margin-top: 15px;
}
.masonry-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.masonry-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.masonry-item:hover img {
    transform: scale(1.05);
}
.masonry-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    pointer-events: none;
}
.masonry-content {
    position: absolute;
    bottom: 15px;
    right: 15px;
    left: 15px;
    z-index: 2;
}
.masonry-cat {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.masonry-content h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.item-large { grid-column: span 1; grid-row: span 2; }
.item-large h3 { font-size: 18px; }
.item-medium { grid-column: span 1; grid-row: span 1; }
.item-small { grid-column: span 1; grid-row: span 1; }
@media (max-width: 768px) {
    .masonry-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .item-large, .item-medium, .item-small { grid-column: span 1; grid-row: span 1; }
}

/* Horizontal Slider (Health & Beauty) */
.beauty-slider {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}
.beauty-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.beauty-card {
    flex: 0 0 250px;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.beauty-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.beauty-card:hover img {
    transform: scale(1.03);
}
.beauty-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px 15px 20px;
}
.beauty-tag {
    display: inline-block;
    background: #f43f5e;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 15px;
    margin-bottom: 10px;
}
.beauty-overlay h3 {
    color: #fff;
    font-size: 16px;
    margin: 0;
    line-height: 1.4;
}
.slider-hint {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 10px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}
/* She Showcase Section */
.she-showcase-section { margin-bottom: 20px; }
.she-main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    height: 330px;
}
.she-hero-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
}
.she-hero-card a { display: block; height: 100%; }
.she-hero-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.she-hero-card:hover img { transform: scale(1.04); }
.she-hero-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    padding: 30px 20px 20px;
}
.she-hero-overlay h2 {
    color: #fff;
    font-size: 18px;
    margin: 8px 0 10px;
    line-height: 1.5;
}
.she-meta { color: rgba(255,255,255,0.8); font-size: 12px; }
.she-cat-label {
    display: inline-block;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 15px;
}
.she-sub-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: 100%;
}
.she-sub-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: block;
}
.she-sub-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.she-sub-card:hover img { transform: scale(1.05); }
.she-sub-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82), transparent);
    padding: 25px 10px 12px;
}
.she-sub-overlay h3 {
    color: #fff;
    font-size: 13px;
    margin: 5px 0 0;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .she-main-layout { grid-template-columns: 1fr; height: auto; }
    .she-hero-card { height: 250px; }
    .she-sub-cards { grid-template-columns: 1fr 1fr; }
    .she-sub-card { height: 150px; }
}
/* Sisters New Grid Section */
.sisters-new-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.sisters-new-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}
.sisters-new-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}
.sisters-new-card a {
    display: block;
    text-decoration: none;
    color: var(--text-main);
}
.sisters-card-img {
    position: relative;
    height: 180px;
    width: 100%;
}
.sisters-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sisters-cat-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--cat-sisters);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}
.sisters-card-content {
    padding: 20px;
}
.sisters-card-content h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
}
@media (max-width: 768px) {
    .sisters-new-grid {
        grid-template-columns: 1fr;
    }
}
/* Sisters Scroll + Featured Layout */
.sisters-scroll-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 330px;
}
.sisters-scroll-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    padding-left: 10px; overflow-y: auto;
    height: 100%;
}
.sisters-scroll-list::-webkit-scrollbar { width: 6px; }
.sisters-scroll-list::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
.sisters-scroll-list::-webkit-scrollbar-thumb { background-color: var(--cat-sisters); border-radius: 4px; }

.sisters-small-item {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-main);
}
.sisters-small-item:hover {
    background: #fdfafb;
    border-color: var(--cat-sisters);
    transform: translateX(-5px);
}
.sisters-small-item img {
    width: 100px;
    min-width: 100px;
    height: 85px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.sisters-small-item .details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sisters-small-item .details h3 {
    font-size: 14px;
    margin: 5px 0 0;
    line-height: 1.5;
    font-weight: 700;
}

.sisters-featured-left {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
}
.sisters-featured-left a {
    display: block;
    height: 100%;
    color: #fff;
    text-decoration: none;
}
.sisters-featured-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.sisters-featured-left:hover img {
    transform: scale(1.03);
}
.sisters-featured-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px 30px 30px;
}
.sisters-featured-overlay h2 {
    font-size: 22px;
    margin: 12px 0;
    line-height: 1.4;
    font-weight: 800;
}
.sisters-featured-overlay p {
    font-size: 14px;
    opacity: 0.85;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .sisters-scroll-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    .sisters-scroll-list {
        height: 300px;
        padding-left: 0;
    }
    .sisters-featured-left {
        height: 350px;
    }
}
/* Contact Action Button in Nav */
.contact-action-btn {
    background-color: var(--primary, #c0556a);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.contact-action-btn:hover {
    background-color: transparent;
    color: var(--primary, #c0556a) !important;
    border: 2px solid var(--primary, #c0556a);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .contact-action-btn span {
        display: none;
    }
    .contact-action-btn {
        padding: 8px 12px;
        border-radius: 50%;
    }
}

/* She TV Button */
.tv-action-btn {
    background-color: transparent;
    color: var(--primary, #c0556a) !important;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary, #c0556a);
}
.tv-action-btn:hover {
    background-color: var(--primary, #c0556a);
    color: #fff !important;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .tv-action-btn { display: none !important; }
}

/* Maryouma AI FAB */
.maryouma-fab {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, var(--primary, #c0556a), #8e3a59);
    color: #fff !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(192,85,106,0.4);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}
.maryouma-fab:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 30px rgba(192,85,106,0.6);
}
.maryouma-tooltip {
    position: absolute;
    left: 75px;
    background: #fff;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}
.maryouma-fab:hover .maryouma-tooltip {
    opacity: 1;
    visibility: visible;
    left: 85px;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(192,85,106, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(192,85,106, 0); }
    100% { box-shadow: 0 0 0 0 rgba(192,85,106, 0); }
}
@media (max-width: 768px) {
    .maryouma-fab { bottom: 20px; left: 20px; width: 50px; height: 50px; font-size: 1.5rem; }
    .maryouma-tooltip { display: none; }
}

/* Fix Nav Actions Layout */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

/* Top Actions Group */
.top-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.top-actions a, .top-actions button {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.85rem; padding: 4px 10px; border-radius: 20px;
    color: var(--text-main); background: var(--surface-alt);
    border: none; cursor: pointer; text-decoration: none; transition: all 0.3s ease;
}
.top-actions a:hover, .top-actions button:hover {
    background: var(--primary); color: #fff !important;
}
.maryouma-top-btn {
    background: linear-gradient(135deg, var(--primary), #8e3a59) !important;
    color: #fff !important;
    font-weight: bold;
}
.maryouma-top-btn:hover {
    transform: translateY(-2px); box-shadow: 0 4px 10px rgba(192,85,106,0.4);
}
@media (max-width: 768px) {
    .hide-on-mobile { display: none; }
    .top-bar-content { flex-direction: column; gap: 10px; justify-content: center; }
    .top-actions { justify-content: center; margin-bottom: 5px; }
}

/* Social Media Brand Colors */
.top-social a .fa-twitter { color: #1DA1F2 !important; }
.top-social a .fa-facebook { color: #1877F2 !important; }
.top-social a .fa-instagram { color: #E1306C !important; }
.top-social a .fa-youtube { color: #FF0000 !important; }
.top-social a .fa-telegram { color: #0088cc !important; }
.top-social a .fa-tiktok { color: #000000 !important; }

body.dark-mode .top-social a .fa-tiktok,
body.dark-mode .top-social a .fa-twitter { color: #ffffff !important; } /* If X logo */

.top-social a { transition: transform 0.3s ease; display: inline-block; }
.top-social a:hover { transform: scale(1.2); }

/* Mega Menu Improvements */
.mega-menu { width: 450px; padding: 10px; border-radius: var(--radius); }
.mega-menu-list {
    max-height: 60vh !important;
    padding: 5px !important;
    gap: 8px !important;
    grid-template-columns: repeat(3, 1fr) !important;
}
.mega-menu-list li { list-style: none; }
.mega-menu-list a {
    display: flex;
    align-items: center;
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    border-radius: 8px !important;
    border: 1px solid transparent !important;
    transition: all 0.2s ease !important;
    background: var(--surface-color) !important;
}
.mega-menu-list a:hover {
    background: var(--surface-alt) !important;
    color: var(--primary) !important;
    border-color: var(--border-color) !important;
    transform: translateX(-3px);
}

/* Custom Scrollbar for Mega Menu */
.mega-menu-list::-webkit-scrollbar { width: 6px; }
.mega-menu-list::-webkit-scrollbar-track { background: var(--surface-alt); border-radius: 10px; }
.mega-menu-list::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; }
.mega-menu-list::-webkit-scrollbar-thumb:hover { background: var(--primary); }

@media (max-width: 768px) {
    .mega-menu { width: 100%; position: static; box-shadow: none; padding: 0; }
    .mega-menu-list { grid-template-columns: 1fr 1fr !important; max-height: none !important; }
}



/* Sponsorship Ads CSS */
.ad-slot-1, .ad-slot-2, .ad-slot-3, .ad-slot-4 {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.ad-slot-1 {
    min-height: 90px;
}

.ad-slot-2, .ad-slot-3 {
    min-height: 250px;
}

.ad-slot-4 {
    min-height: 600px;
}

.ad-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.ad-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* End Sponsorship Ads CSS */
/* Scrollable lists for two-column layout */
.two-col-layout .small-list {
    height: 285px;
    overflow-y: auto;
    padding-left: 10px; /* padding on left because Arabic is RTL */
}
/* Custom scrollbar for small-list */
.two-col-layout .small-list::-webkit-scrollbar {
    width: 6px;
}
.two-col-layout .small-list::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}
.two-col-layout .small-list::-webkit-scrollbar-thumb {
    background: #c1c1c1; 
    border-radius: 10px;
}
.two-col-layout .small-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8; 
}

/* Custom scrollbar for horizontal scroll container */
.horizontal-scroll-container::-webkit-scrollbar {
    height: 8px;
}
.horizontal-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}
.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: #c1c1c1; 
    border-radius: 10px;
}
.horizontal-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8; 
}
/* SHE TV */
.shetv-section {
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    background-color: #f8fafc; /* Lighter background to match the design */
    color: var(--foreground);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
}
.shetv-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, transparent 50%, var(--primary) 50%, var(--primary) 100%), 
                linear-gradient(-135deg, transparent 50%, #f472b6 50%, #f472b6 100%);
    background-size: 50% 100%;
    background-repeat: no-repeat;
    background-position: left bottom, right bottom;
    opacity: 0.15;
    pointer-events: none;
}
.shetv-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem;
    background-color: #fff;
}
@media (min-width: 640px) {
    .shetv-header { padding: 0.75rem 1.5rem; }
}
.shetv-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.shetv-title-wrap h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shetv-link {
    background-color: var(--gold);
    color: #8c6d31;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}
.shetv-content {
    padding: 1rem;
}
@media (min-width: 640px) {
    .shetv-content { padding: 1.5rem; }
}
.shetv-main {
    max-width: 48rem;
    margin: 0 auto;
    padding-bottom: 2rem;
}
.tablet-frame-silver {
    background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
    border-radius: 1.5rem;
    padding: 1rem 1rem 1rem 1rem;
    box-shadow: 
        inset 0 0 0 2px #fff,
        inset 0 0 0 4px #94a3b8,
        0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    margin: 0 auto;
    border: 1px solid #94a3b8;
}
.tablet-frame-silver::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
    width: 0.25rem;
    height: 3rem;
    background: #94a3b8;
    border-radius: 1rem;
    box-shadow: inset 1px 0 2px rgba(0,0,0,0.2);
}

.tablet-inner {
    background-color: #0f172a;
    border-radius: 0.75rem;
    overflow: hidden;
    color: #fff;
    border: 4px solid #1e293b;
}

/* Tablet Nav */
.tablet-nav {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
    overflow-x: auto;
    scrollbar-width: none;
}
.tablet-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.tablet-nav a:hover, .tablet-nav a.active {
    background-color: #334155;
    color: #fff;
}
.live-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Tablet Content Grid */
.tablet-content-grid {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .tablet-content-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Main Player */
.main-player {
    padding: 1rem;
}
.video-placeholder-inner {
    aspect-ratio: 16/9;
    background-image: linear-gradient(to bottom right, #1a1a2e, #4c1d95);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.8);
    border: 1px solid #334155;
    cursor: pointer;
}
.video-placeholder-inner:hover i {
    color: #fff;
    transform: scale(1.1);
    transition: transform 0.3s;
}
.player-info {
    margin-top: 1rem;
}
.player-info h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}
.player-info p {
    margin: 0.25rem 0 0;
    color: #ef4444;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Playlist */
.playlist-scroll {
    background-color: #1e293b;
    padding: 1rem;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #475569 #1e293b;
    border-right: 1px solid #334155;
}
.playlist-title {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: #cbd5e1;
}
.playlist-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.2s;
    margin-bottom: 0.5rem;
}
.playlist-item:hover {
    background-color: #334155;
}
.vid-thumb {
    width: 4rem;
    height: 2.5rem;
    background-color: #0f172a;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #94a3b8;
    flex-shrink: 0;
}
.vid-info {
    min-width: 0;
}
.vid-info h5 {
    gap: 0.5rem;
    min-width: 0;
}
.shetv-title-wrap h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shetv-link {
    background-color: var(--gold);
    color: #8c6d31;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}
.shetv-content {
    padding: 1rem;
}
@media (min-width: 640px) {
    .shetv-content { padding: 1.5rem; }
}
.shetv-main {
    max-width: 48rem;
    margin: 0 auto;
    padding-bottom: 2rem;
}
.tablet-frame-silver {
    background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
    border-radius: 1.5rem;
    padding: 1rem 1rem 1rem 1rem;
    box-shadow: 
        inset 0 0 0 2px #fff,
        inset 0 0 0 4px #94a3b8,
        0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    margin: 0 auto;
    border: 1px solid #94a3b8;
}
.tablet-frame-silver::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
    width: 0.25rem;
    height: 3rem;
    background: #94a3b8;
    border-radius: 1rem;
    box-shadow: inset 1px 0 2px rgba(0,0,0,0.2);
}

.tablet-inner {
    background-color: #0f172a;
    border-radius: 0.75rem;
    overflow: hidden;
    color: #fff;
    border: 4px solid #1e293b;
}

/* Tablet Nav */
.tablet-nav {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
    overflow-x: auto;
    scrollbar-width: none;
}
.tablet-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.tablet-nav a:hover, .tablet-nav a.active {
    background-color: #334155;
    color: #fff;
}
.live-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Tablet Content Grid */
.tablet-content-grid {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .tablet-content-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Main Player */
.main-player {
    padding: 1rem;
}
.video-placeholder-inner {
    aspect-ratio: 16/9;
    background-image: linear-gradient(to bottom right, #1a1a2e, #4c1d95);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.8);
    border: 1px solid #334155;
    cursor: pointer;
}
.video-placeholder-inner:hover i {
    color: #fff;
    transform: scale(1.1);
    transition: transform 0.3s;
}
.player-info {
    margin-top: 1rem;
}
.player-info h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}
.player-info p {
    margin: 0.25rem 0 0;
    color: #ef4444;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Playlist */
.playlist-scroll {
    background-color: #1e293b;
    padding: 1rem;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #475569 #1e293b;
    border-right: 1px solid #334155;
}
.playlist-title {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: #cbd5e1;
}
.playlist-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.2s;
    margin-bottom: 0.5rem;
}
.playlist-item:hover {
    background-color: #334155;
}
.vid-thumb {
    width: 4rem;
    height: 2.5rem;
    background-color: #0f172a;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #94a3b8;
    flex-shrink: 0;
}
.vid-info {
    min-width: 0;
}
.vid-info h5 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vid-info span {
    font-size: 0.75rem;
    color: #94a3b8;
}



/* ==========================================================================
   Ultimate Mobile Experience (Typography & Spacing) - Added by Antigravity
   ========================================================================== */
@media (max-width: 768px) {
    html, body { overflow-x: hidden; width: 100%; }
    body { background-color: #f8fafc; font-size: 14px !important; line-height: 1.6 !important; }
    .shell, .container { padding: 0 12px !important; box-sizing: border-box; overflow-x: hidden; }
    h1 { font-size: 20px !important; line-height: 1.4 !important; }
    h2 { font-size: 18px !important; line-height: 1.4 !important; }
    h3 { font-size: 15px !important; line-height: 1.4 !important; }
    h4 { font-size: 13px !important; line-height: 1.4 !important; }
    p { font-size: 13px !important; line-height: 1.6 !important; }
    .section-title h2 { font-size: 16px !important; padding-bottom: 6px !important; }
    .hero-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; border-radius: 10px; background: transparent; }
    .hero-main { grid-column: 1 / -1 !important; }
    .hero-main img { height: 180px !important; border-radius: 10px !important; }
    .hero-sub { border-radius: 6px !important; overflow: hidden; }
    .hero-sub img { height: 100px !important; }
    .hero-main .hero-overlay h3 { font-size: 15px !important; padding: 10px !important; }
    .hero-sub .hero-overlay { padding: 8px !important; }
    .hero-sub .hero-overlay h4 { font-size: 11px !important; font-weight: 700 !important; }
    .nav-flex { gap: 6px !important; }
    .home-link span, .home-link { font-size: 0 !important; padding: 6px !important; }
    .home-link i { font-size: 16px !important; }
    .offers-nav-btn { padding: 4px 8px !important; font-size: 11px !important; }
    .action-btn { padding: 4px !important; font-size: 16px !important; }
    .sisters-grid, .decor-list, .writers-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
    .sisters-card .img-wrapper img { height: 100px !important; }
    .sisters-content { padding: 8px !important; }
    .sisters-content h3 { font-size: 12px !important; font-weight: 700 !important; }
    .sisters-content .read-more { font-size: 11px !important; }
    .large-post .post-thumb { height: 160px !important; }
    .large-post h3 { font-size: 16px !important; }
    .small-list-item { flex-direction: row !important; align-items: center !important; padding-bottom: 10px !important; }
    .small-list-item .thumb { width: 100px !important; height: 75px !important; flex-shrink: 0 !important; }
    .small-list-item h4 { font-size: 12px !important; font-weight: 700 !important; }
    .horizontal-scroll-container, .scroll-container { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 8px !important; padding-bottom: 10px !important; scroll-snap-type: x mandatory; }
    .card-elevated, .scroll-card-4, .square-card { min-width: 140px !important; flex: 0 0 140px !important; }
    .card-elevated .img-wrapper img { height: 90px !important; }
    .card-body { padding: 8px !important; }
    .card-body h3 { font-size: 12px !important; font-weight: 700 !important; }
    .women-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
    .woman-grid-item { height: 120px !important; }
    .woman-info-small { padding: 8px !important; }
    .woman-info-small h4 { font-size: 11px !important; font-weight: 700 !important; }
    .featured-woman { height: 200px !important; }
    .featured-woman h3 { font-size: 16px !important; }
    .top-bar-flex { justify-content: center !important; }
    .header-ad { margin-top: 5px; width: 100%; }
    .ad-banner, .header-ad .ad-banner { height: 70px !important; padding: 5px !important; font-size: 12px !important; }
    .ad-banner span { font-size: 12px !important; margin-top: 2px !important; }
    .ad-banner small { font-size: 10px !important; }
    .sponsor-horizontal, .sponsor-rect { padding: 15px 10px !important; font-size: 13px !important; min-height: 80px !important; }
    .ad-block-rect { height: 70px !important; font-size: 14px !important; }
    .ad-widget img { max-height: 90px !important; object-fit: contain !important; width: 100% !important; }
    .ticker-wrap { padding: 4px 0 !important; }
    .ticker-title { font-size: 11px !important; padding: 2px 10px !important; margin-bottom: 5px !important; }
    .ticker-item { font-size: 11px !important; }
    .footer-content { gap: 20px !important; padding-top: 20px !important; }
    .footer-links h3, .footer-newsletter h3 { font-size: 15px !important; margin-bottom: 12px !important; }
    .footer-links a, .footer-newsletter p { font-size: 12px !important; }
    .footer-about p { font-size: 12px !important; line-height: 1.5 !important; }
    .article-content p { font-size: 14px !important; line-height: 1.7 !important; }
    .article-content img { border-radius: 8px !important; }
}

/* ==========================================================================
   Ultimate Mobile V6 (Final Stable Build) - Antigravity
   ========================================================================== */
/* GLOBAL DESKTOP PROTECTIONS */
.mobile-logo { display: none !important; }
.desktop-logo { display: flex !important; }

/* MOBILE SPECIFIC OVERRIDES */
@media (max-width: 768px) {
    /* 1. Fix Horizontal Scroll (Priority 1) */
    body, html, .main-layout { overflow-x: hidden !important; width: 100% !important; max-width: 100vw !important; box-sizing: border-box !important; }
    * { box-sizing: border-box !important; }

    /* 2. Logo Swap */
    .desktop-logo { display: none !important; }
    .mobile-logo { display: flex !important; justify-content: center; align-items: center; width: 100% !important; margin: 0 auto !important; padding: 5px 0 !important; }
    .mobile-logo img { max-height: 120px !important; width: auto !important; max-width: 80% !important; object-fit: contain !important; }
    .logo-area { padding: 5px 0 0 0 !important; }

    /* 3. Header Ads (Stacked & Clean) */
    .header-ad { margin-top: 5px !important; padding: 0 10px !important; flex: none !important; min-width: auto !important; width: 100% !important; }
    .header-ad .sponsor-container { flex-direction: column !important; gap: 8px !important; }
    .header-ad .sponsor-gold, .header-ad .sponsor-silver { flex: none !important; width: 100% !important; height: 60px !important; max-height: 60px !important; border-radius: 8px !important; overflow: hidden !important; }
    .header-ad .sponsor-gold img, .header-ad .sponsor-silver img { height: 100% !important; width: 100% !important; object-fit: contain !important; background: transparent; }

    /* 4. Category Banners (Gold Large, Silver Small) */
    .container > .sponsor-container, .main-layout > .sponsor-container { flex-direction: column !important; gap: 12px !important; margin-bottom: 20px !important; }
    .container > .sponsor-container > .sponsor-gold { height: 180px !important; max-height: 180px !important; }
    .container > .sponsor-container > .sponsor-silver { height: 90px !important; max-height: 90px !important; }

    /* 5. Sidebar Order (Above Articles) */
    .main-layout { display: flex !important; flex-direction: column !important; }
    .main-layout > aside, .sidebar-container { order: -1 !important; margin-bottom: 20px !important; width: 100% !important; }

    /* 6. Sidebar Ads Ratios (Square = 150px, Rectangle = 300px) */
    .ad-placeholder-square { height: 150px !important; max-height: 150px !important; }
    .ad-placeholder-tall-special { height: 300px !important; max-height: 300px !important; }
    .ad-widget .geo-ad-img { object-fit: contain !important; width: 100% !important; height: auto !important; max-height: 300px !important; }

    /* 7. Article Spacing & Sizing */
    .article-list-item { padding: 15px 5px !important; margin-bottom: 15px !important; }
    .article-list-item a { flex-direction: row !important; gap: 12px !important; align-items: flex-start !important; }
    .article-list-item h2 { font-size: 1.1rem !important; }
    .article-list-item p { font-size: 0.9rem !important; }
}

/* === Global Standard 2-Column Layout Grid (RESTORED) === */
.main-layout, .main-grid {
    display: flex !important;
    gap: 30px !important;
    align-items: flex-start !important;
}

.content-area, .articles-grid, .article-container {
    flex: 1 !important;
    min-width: 0 !important;
}

.magazine-sidebar {
    width: 320px !important;
    flex-shrink: 0 !important;
}

@media (max-width: 992px) {
    .main-layout, .main-grid {
        flex-direction: column !important;
    }
    .magazine-sidebar {
        width: 100% !important;
    }
}
