/*
Theme Name: سكطعش كيدس
Theme URI: https://kids.sakat3sh.com
Author: سكطعش
Author URI: https://sakat3sh.com
Description: قالب قصص الأطفال الرسمي لموقع سكطعش كيدس — تصميم عربي RTL أصيل مع نظام فئات عمرية، وضع ليلي، ومشاركة واتساب.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sakat3sh-kids
Tags: rtl-language, arabic, children, stories, custom-colors, custom-menu, featured-images, full-width-template, blog
*/

/* ═══════════════════════════════
   CSS VARIABLES & RESET
═══════════════════════════════ */
:root {
  --cream:        #FFF8EE;
  --cream2:       #FFF0D8;
  --coral:        #D4552B;
  --coral-light:  #F07A56;
  --coral-dim:    rgba(212,85,43,0.1);
  --gold:         #F5C72A;
  --gold-dim:     rgba(245,199,42,0.15);
  --teal:         #2BADA3;
  --teal-dim:     rgba(43,173,163,0.1);
  --navy:         #1E2D4A;
  --navy2:        #2A3D5F;
  --text:         #2A2020;
  --text2:        #6B5B52;
  --text3:        #9E8C82;
  --white:        #FFFFFF;
  --border:       rgba(42,32,32,0.1);
  --shadow:       0 4px 24px rgba(42,32,32,0.08);
  --shadow-lg:    0 12px 48px rgba(42,32,32,0.12);
  --radius:       16px;
  --radius-sm:    10px;
  --radius-xs:    6px;
  --font-body:    'Cairo', sans-serif;
  --font-display: 'Amiri', serif;
  --transition:   0.25s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="dark"] {
  --cream:       #1A1510;
  --cream2:      #221C14;
  --coral:       #E8724C;
  --coral-light: #F0916E;
  --coral-dim:   rgba(232,114,76,0.12);
  --gold:        #F5C72A;
  --gold-dim:    rgba(245,199,42,0.12);
  --teal:        #3DC9BE;
  --teal-dim:    rgba(61,201,190,0.12);
  --navy:        #D6E4FF;
  --navy2:       #B8CCEC;
  --text:        #F0EAE0;
  --text2:       #B8A898;
  --text3:       #7A6E65;
  --white:       #251F18;
  --border:      rgba(240,234,224,0.1);
  --shadow:      0 4px 24px rgba(0,0,0,0.25);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  direction: rtl;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
ul, ol { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 3px; }

/* ═══════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════ */
.skids-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.skids-section       { padding: 64px 0; }
.skids-section-sm    { padding: 40px 0; }
.skids-bg-alt        { background: var(--cream2); }

.skids-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}
.skids-section-head.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 6px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.skids-view-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--coral);
  border: 1.5px solid var(--coral);
  padding: 8px 18px;
  border-radius: 8px;
  white-space: nowrap;
  transition: all var(--transition);
}
.skids-view-all:hover { background: var(--coral); color: white; }

/* ═══════════════════════════════
   READING BAR
═══════════════════════════════ */
#skids-reading-bar {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: 3px;
  z-index: 999;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  width: 0%;
  transition: width 0.1s linear;
  transform-origin: right;
}

/* ═══════════════════════════════
   HEADER
═══════════════════════════════ */
#skids-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,248,238,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
[data-theme="dark"] #skids-header { background: rgba(26,21,16,0.92); }

.skids-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

/* Logo */
.skids-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.skids-logo-mark {
  width: 40px; height: 40px;
  background: var(--coral);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: white; font-weight: 900;
  box-shadow: 0 4px 12px rgba(212,85,43,0.35);
  transition: transform var(--transition);
}
.skids-logo:hover .skids-logo-mark { transform: rotate(-6deg) scale(1.05); }
.skids-logo-text { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.2; }
.skids-logo-text span { font-size: 11px; font-weight: 400; color: var(--text3); display: block; letter-spacing: 0.05em; }

/* Desktop Nav */
#skids-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}
#skids-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text2);
  padding: 7px 14px;
  border-radius: var(--radius-xs);
  transition: all var(--transition);
}
#skids-nav a:hover,
#skids-nav a.current-menu-item { color: var(--coral); background: var(--coral-dim); }

/* Header Actions */
.skids-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.skids-btn-night {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  background: var(--white);
  color: var(--text2);
  transition: all var(--transition);
}
.skids-btn-night:hover { border-color: var(--gold); transform: scale(1.05); }

.skids-btn-subscribe {
  background: var(--coral);
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(212,85,43,0.25);
  white-space: nowrap;
}
.skids-btn-subscribe:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212,85,43,0.35); }

.skids-hamburger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--white);
}
.skids-hamburger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* ═══════════════════════════════
   MOBILE MENU
═══════════════════════════════ */
#skids-mobile-nav {
  display: none;
  position: fixed;
  inset: 0; z-index: 200;
  background: rgba(0,0,0,0.5);
}
#skids-mobile-nav.open { display: block; }

.skids-mobile-panel {
  position: absolute;
  top: 0; right: 0;
  width: 280px; height: 100%;
  background: var(--cream);
  padding: 80px 24px 32px;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}
#skids-mobile-nav.open .skids-mobile-panel { transform: translateX(0); }

.skids-mobile-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; background: var(--white); color: var(--text2);
}
.skids-mobile-link {
  display: block;
  padding: 13px 16px; border-radius: 10px;
  font-size: 16px; font-weight: 600; color: var(--text);
  transition: all var(--transition);
}
.skids-mobile-link:hover { background: var(--coral-dim); color: var(--coral); }

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
#skids-hero {
  padding: 72px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero-decoration { position: absolute; pointer-events: none; overflow: hidden; inset: 0; z-index: 0; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.18; }
.blob1 { width: 500px; height: 500px; background: var(--coral); top: -100px; right: -100px; }
.blob2 { width: 400px; height: 400px; background: var(--gold); bottom: -50px; left: -50px; }
.blob3 { width: 300px; height: 300px; background: var(--teal); top: 100px; left: 30%; }

.hero-star { position: absolute; color: var(--gold); font-size: 20px; animation: twinkle 3s ease-in-out infinite; opacity: 0.6; }
@keyframes twinkle { 0%,100%{opacity:0.4;transform:scale(1)}50%{opacity:0.9;transform:scale(1.2)} }

.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim);
  border: 1.5px solid rgba(245,199,42,0.4);
  color: #9B7A00;
  padding: 8px 18px; border-radius: 100px;
  font-size: 14px; font-weight: 600;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}
[data-theme="dark"] .hero-badge { color: var(--gold); }

#skids-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
  animation: fadeUp 0.6s 0.1s ease both;
  opacity: 0;
}
#skids-hero h1 em {
  font-style: normal;
  color: var(--coral);
  position: relative;
}
#skids-hero h1 em::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 4px; background: var(--gold); border-radius: 2px;
  transform-origin: right;
  animation: underlineIn 0.8s 0.7s ease both;
}
@keyframes underlineIn { from{transform:scaleX(0)} to{transform:scaleX(1)} }

.hero-sub {
  font-size: clamp(17px, 2.5vw, 21px);
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.75;
  animation: fadeUp 0.6s 0.2s ease both;
  opacity: 0;
}

@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

.age-picker-title {
  font-size: 16px; font-weight: 600; color: var(--text3);
  margin-bottom: 16px; letter-spacing: 0.05em;
  animation: fadeUp 0.6s 0.3s ease both; opacity: 0;
}
.age-picker {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  animation: fadeUp 0.6s 0.35s ease both; opacity: 0;
}
.age-btn {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 20px 28px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-width: 140px;
  box-shadow: var(--shadow);
  font-family: var(--font-body);
}
.age-btn:hover, .age-btn.active {
  border-color: var(--coral);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(212,85,43,0.2);
}
.age-btn.active { background: var(--coral); }
.age-btn.active .age-emoji { transform: scale(1.15); }
.age-btn.active .age-label { color: white; }
.age-btn.active .age-range { color: rgba(255,255,255,0.8); }
.age-emoji { font-size: 36px; line-height: 1; transition: transform var(--transition); }
.age-label { font-size: 15px; font-weight: 700; color: var(--text); }
.age-range { font-size: 13px; color: var(--text3); font-weight: 400; }

/* ═══════════════════════════════
   FEATURED STORY
═══════════════════════════════ */
.skids-featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  margin-bottom: 64px;
  box-shadow: var(--shadow-lg);
}
.featured-left {
  padding: 52px 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.featured-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,199,42,0.2); border: 1px solid rgba(245,199,42,0.4);
  color: var(--gold);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
}
.featured-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700; color: white; line-height: 1.3; margin-bottom: 16px;
}
.featured-excerpt { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.75; margin-bottom: 32px; }
.featured-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-featured {
  background: var(--gold); color: #2A1A00;
  font-size: 15px; font-weight: 700; padding: 12px 24px; border-radius: 12px;
  transition: all var(--transition); box-shadow: 0 6px 20px rgba(245,199,42,0.4);
}
.btn-featured:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(245,199,42,0.5); }
.btn-featured-ghost {
  background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.2); color: white;
  font-size: 14px; font-weight: 600; padding: 11px 20px; border-radius: 12px;
  display: flex; align-items: center; gap: 8px; transition: all var(--transition);
}
.btn-featured-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-featured-ghost svg { width: 16px; height: 16px; fill: currentColor; }
.featured-right {
  display: flex; align-items: center; justify-content: center;
  font-size: 160px; position: relative; overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.featured-right::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(245,199,42,0.15) 0%, transparent 70%);
}
.featured-emoji { position: relative; z-index: 1; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-16px) rotate(3deg)} }

/* ═══════════════════════════════
   STORY CARDS
═══════════════════════════════ */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.story-card {
  background: var(--white); border-radius: 20px; overflow: hidden;
  border: 1.5px solid var(--border); box-shadow: var(--shadow);
  transition: all var(--transition); cursor: pointer;
  opacity: 0; transform: translateY(24px);
}
.story-card.visible { opacity: 1; transform: translateY(0); transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--transition), border-color var(--transition); }
.story-card:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow-lg); border-color: var(--coral); }

.story-thumb {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 72px; position: relative; overflow: hidden;
}
.story-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.story-thumb .story-thumb-emoji { position: relative; z-index: 1; transition: transform var(--transition); }
.story-card:hover .story-thumb-emoji { transform: scale(1.15) rotate(-5deg); }
.story-thumb.thumb-coral { background: linear-gradient(135deg,#FFE4D9,#FFCBB8); }
.story-thumb.thumb-gold  { background: linear-gradient(135deg,#FFF3CC,#FFE580); }
.story-thumb.thumb-teal  { background: linear-gradient(135deg,#D4F5F2,#A8EDE9); }
.story-thumb.thumb-purple{ background: linear-gradient(135deg,#EDE8FF,#D4CAF8); }
.story-thumb.thumb-green { background: linear-gradient(135deg,#D6F5DC,#B3EBC0); }
.story-thumb.thumb-blue  { background: linear-gradient(135deg,#D9EEFF,#B8DEFF); }

.story-age-tag {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--white); border-radius: 100px;
  padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--coral);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.story-body { padding: 20px 22px 22px; }
.story-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text3); margin-bottom: 10px; }
.story-meta span { display: flex; align-items: center; gap: 4px; }
.story-title {
  font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.story-excerpt {
  font-size: 14px; color: var(--text2); line-height: 1.65; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.story-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.btn-read {
  background: var(--coral); color: white;
  font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 8px;
  transition: all var(--transition);
}
.btn-read:hover { background: #B8441F; transform: scale(1.03); }
.btn-share {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #25D366;
  padding: 8px 12px; border-radius: 8px;
  border: 1.5px solid rgba(37,211,102,0.3);
  background: rgba(37,211,102,0.06); transition: all var(--transition);
}
.btn-share:hover { background: #25D366; color: white; }
.btn-share svg { width: 16px; height: 16px; fill: currentColor; }

/* No results */
.skids-no-results {
  text-align: center; padding: 60px 0; color: var(--text3); display: none;
}
.skids-no-results .icon { font-size: 56px; margin-bottom: 16px; }
.skids-no-results .title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }

/* ═══════════════════════════════
   SINGLE POST (STORY PAGE)
═══════════════════════════════ */
.skids-single-hero {
  padding: 48px 0 32px;
  text-align: center;
}
.skids-single-thumb {
  max-height: 460px; border-radius: 20px; overflow: hidden; margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
}
.skids-single-thumb img { width: 100%; object-fit: cover; }
.skids-single-meta { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.skids-tag {
  padding: 5px 14px; border-radius: 100px; font-size: 13px; font-weight: 600;
  background: var(--coral-dim); color: var(--coral); border: 1.5px solid rgba(212,85,43,0.2);
}
.skids-single-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 700; color: var(--text); line-height: 1.25; margin-bottom: 24px;
}
.skids-single-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.skids-content {
  max-width: 720px; margin: 0 auto;
  font-size: 18px; line-height: 1.9; color: var(--text2);
}
.skids-content p { margin-bottom: 1.5em; }
.skids-content h2, .skids-content h3 {
  font-family: var(--font-display); color: var(--text); margin: 1.8em 0 0.8em;
}
.skids-content blockquote {
  border-right: 4px solid var(--coral); padding: 16px 24px;
  background: var(--coral-dim); border-radius: 0 12px 12px 0;
  margin: 2em 0; font-style: italic;
}

/* Related Stories */
.skids-related { margin-top: 80px; padding-top: 48px; border-top: 1px solid var(--border); }
.skids-related-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 28px; }

/* Share bar */
.skids-share-bar {
  background: var(--white); border: 1.5px solid var(--border); border-radius: 16px;
  padding: 24px 28px; margin: 40px 0;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.skids-share-label { font-size: 16px; font-weight: 700; color: var(--text); }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: white;
  font-size: 14px; font-weight: 700; padding: 10px 20px; border-radius: 10px;
  transition: all var(--transition);
}
.btn-whatsapp:hover { opacity: 0.9; transform: scale(1.03); }
.btn-whatsapp svg { width: 18px; height: 18px; fill: white; }
.btn-copy-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream2); color: var(--text2);
  font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 10px;
  border: 1.5px solid var(--border); transition: all var(--transition);
}
.btn-copy-link:hover { border-color: var(--coral); color: var(--coral); }

/* ═══════════════════════════════
   HAJJAR SECTION
═══════════════════════════════ */
.skids-hajjar {
  background: var(--cream2); border-radius: 28px; padding: 56px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  border: 1.5px solid var(--border);
}
.hajjar-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-dim); border: 1.5px solid rgba(43,173,163,0.3); color: var(--teal);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.hajjar-title {
  font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; line-height: 1.25; color: var(--text); margin-bottom: 16px;
}
.hajjar-title em { font-style: normal; color: var(--teal); }
.hajjar-desc { font-size: 16px; color: var(--text2); line-height: 1.8; margin-bottom: 28px; }
.hajjar-episodes { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.episode-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 14px 18px; transition: all var(--transition); cursor: pointer;
}
.episode-item:hover { border-color: var(--teal); transform: translateX(-4px); }
.episode-num {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--teal-dim); color: var(--teal);
  font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.episode-name { font-size: 15px; font-weight: 600; color: var(--text); }
.episode-age { margin-inline-start: auto; font-size: 12px; color: var(--text3); }
.btn-teal {
  background: var(--teal); color: white; font-size: 15px; font-weight: 700;
  padding: 13px 28px; border-radius: 12px; transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 20px rgba(43,173,163,0.3);
}
.btn-teal:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(43,173,163,0.4); }

/* Planet visual */
.hajjar-visual { display: flex; align-items: center; justify-content: center; position: relative; height: 400px; }
.planet-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.planet {
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FF6B4A, #C8341A);
  box-shadow: 0 0 80px rgba(200,52,26,0.3), inset -30px -20px 0 rgba(0,0,0,0.15);
  animation: rotateSlow 20s linear infinite; position: relative;
}
.planet::before {
  content: ''; position: absolute; top: 15%; left: 20%;
  width: 60px; height: 30px; background: rgba(255,255,255,0.08);
  border-radius: 50%; transform: rotate(-20deg);
}
.planet-ring {
  position: absolute; width: 320px; height: 80px;
  border: 12px solid rgba(245,199,42,0.35);
  border-radius: 50%; transform: rotateX(75deg);
  animation: rotateSlow 20s linear infinite reverse;
}
.planet-char {
  position: absolute; font-size: 72px; top: -20px; left: 50%;
  transform: translateX(-50%); animation: astronautFloat 5s ease-in-out infinite; z-index: 10;
}
@keyframes astronautFloat { 0%,100%{transform:translateX(-50%) translateY(0) rotate(-5deg)}50%{transform:translateX(-50%) translateY(-20px) rotate(5deg)} }
.mini-star { position: absolute; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; opacity: 0.7; animation: twinkle 2s ease-in-out infinite; }
@keyframes rotateSlow { from{transform:rotate(0deg)}to{transform:rotate(360deg)} }

/* ═══════════════════════════════
   WHY SECTION
═══════════════════════════════ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: var(--white); border: 1.5px solid var(--border); border-radius: 20px;
  padding: 32px 28px; text-align: center; transition: all var(--transition);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-card:hover .why-icon { transform: scale(1.15) rotate(-5deg); }
.why-icon { font-size: 48px; margin-bottom: 16px; display: block; transition: transform var(--transition); }
.why-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.why-desc { font-size: 15px; color: var(--text2); line-height: 1.75; }

/* ═══════════════════════════════
   TESTIMONIALS
═══════════════════════════════ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--white); border: 1.5px solid var(--border); border-radius: 20px;
  padding: 28px; transition: all var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testi-quote { font-size: 48px; line-height: 0.8; color: var(--coral); font-family: var(--font-display); margin-bottom: 12px; opacity: 0.4; }
.testi-text { font-size: 15px; color: var(--text2); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.testi-name { font-size: 15px; font-weight: 700; color: var(--text); }
.testi-role { font-size: 13px; color: var(--text3); }
.stars-rating { color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-inline-start: auto; }

/* ═══════════════════════════════
   NEWSLETTER
═══════════════════════════════ */
.skids-newsletter {
  background: linear-gradient(135deg, var(--coral) 0%, #B8441F 100%);
  border-radius: 28px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
}
.skids-newsletter::before { content: '📖'; position: absolute; font-size: 300px; opacity: 0.06; top: -60px; right: -30px; pointer-events: none; line-height: 1; }
.skids-newsletter::after  { content: '⭐'; position: absolute; font-size: 200px; opacity: 0.06; bottom: -40px; left: -10px; pointer-events: none; line-height: 1; }
.newsletter-label {
  display: inline-block; background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 20px;
}
.newsletter-title { font-family: var(--font-display); font-size: clamp(28px,4vw,46px); font-weight: 700; color: white; margin-bottom: 14px; line-height: 1.2; }
.newsletter-sub { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 36px; line-height: 1.7; max-width: 520px; margin-inline: auto; }
.newsletter-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.newsletter-input {
  flex: 1; min-width: 260px; max-width: 380px; padding: 15px 22px;
  border-radius: 12px; border: none; background: white;
  font-size: 15px; font-family: var(--font-body); color: var(--text); outline: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15); text-align: right;
}
.newsletter-input::placeholder { color: var(--text3); }
.btn-newsletter {
  background: var(--gold); color: #2A1A00; font-size: 15px; font-weight: 700;
  padding: 15px 28px; border-radius: 12px; font-family: var(--font-body); cursor: pointer;
  transition: all var(--transition); white-space: nowrap; box-shadow: 0 4px 20px rgba(0,0,0,0.2); border: none;
}
.btn-newsletter:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
.newsletter-note { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 16px; position: relative; z-index: 1; }

/* ═══════════════════════════════
   ABOUT / PAGE
═══════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual {
  position: relative; height: 400px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, var(--coral-dim), var(--gold-dim));
  border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center;
}
.about-card-inner { text-align: center; padding: 40px; }
.about-big-num { font-family: var(--font-display); font-size: 88px; font-weight: 700; color: var(--coral); line-height: 1; margin-bottom: 8px; }
.about-stat-label { font-size: 16px; font-weight: 600; color: var(--text2); margin-bottom: 32px; }
.about-stats-row { display: flex; gap: 32px; justify-content: center; }
.about-stat-num { font-size: 30px; font-weight: 900; color: var(--teal); line-height: 1; }
.about-stat-name { font-size: 13px; color: var(--text3); font-weight: 500; }
.about-channel-badge {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: var(--white); border: 1.5px solid var(--border); border-radius: 14px;
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
}
.channel-icon { font-size: 28px; }
.channel-name { font-size: 15px; font-weight: 700; color: var(--text); }
.channel-sub { font-size: 13px; color: var(--text3); }
.channel-link {
  margin-inline-start: auto; background: #FF0000; color: white;
  font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 6px; transition: all var(--transition); white-space: nowrap;
}
.channel-link:hover { opacity: 0.85; }
.about-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); margin-bottom: 12px; }
.about-heading { font-family: var(--font-display); font-size: clamp(28px,3.5vw,42px); font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 20px; }
.about-heading em { font-style: normal; color: var(--coral); }
.about-text { font-size: 16px; color: var(--text2); line-height: 1.85; margin-bottom: 20px; }
.about-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.about-feature { display: flex; align-items: flex-start; gap: 14px; }
.feature-check {
  width: 28px; height: 28px; border-radius: 8px; background: rgba(43,173,163,0.12); color: var(--teal);
  font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.feature-text { font-size: 15px; color: var(--text2); line-height: 1.6; }
.feature-text strong { color: var(--text); font-weight: 700; }
.btn-about {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: white; font-size: 15px; font-weight: 700;
  padding: 13px 26px; border-radius: 12px; transition: all var(--transition);
  box-shadow: 0 6px 20px rgba(30,45,74,0.25);
}
.btn-about:hover { transform: translateY(-3px); opacity: 0.9; }
[data-theme="dark"] .btn-about { background: var(--coral); }

/* Generic Page */
.skids-page-content {
  max-width: 760px; margin: 0 auto; padding: 64px 0;
  font-size: 17px; color: var(--text2); line-height: 1.85;
}
.skids-page-content h1, .skids-page-content h2, .skids-page-content h3 {
  font-family: var(--font-display); color: var(--text); margin-bottom: 16px; margin-top: 40px;
}
.skids-page-content p { margin-bottom: 1.5em; }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
#skids-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
  margin-top: 80px;
}
[data-theme="dark"] #skids-footer { background: #100D08; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--coral); font-size: 18px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 900; }
.footer-logo-name { font-size: 17px; font-weight: 700; color: white; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 20px; }
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center;
  font-size: 18px; background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6); transition: all var(--transition);
}
.social-btn:hover { border-color: var(--coral); color: white; background: rgba(212,85,43,0.2); }
.footer-col-title { font-size: 14px; font-weight: 700; color: white; margin-bottom: 16px; letter-spacing: 0.05em; }
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col-links a:hover { color: var(--gold); }
.footer-nl-title { font-size: 14px; font-weight: 700; color: white; margin-bottom: 8px; }
.footer-nl-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 14px; line-height: 1.6; }
.footer-form { display: flex; flex-direction: column; gap: 8px; }
.footer-input {
  padding: 11px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07); color: white; font-size: 14px; font-family: var(--font-body); outline: none; text-align: right;
}
.footer-input::placeholder { color: rgba(255,255,255,0.3); }
.footer-input:focus { border-color: rgba(245,199,42,0.5); }
.btn-footer-nl {
  background: var(--coral); color: white; font-size: 14px; font-weight: 700; padding: 11px;
  border-radius: 10px; font-family: var(--font-body); cursor: pointer; transition: all var(--transition); border: none;
}
.btn-footer-nl:hover { background: var(--coral-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ═══════════════════════════════
   TOAST
═══════════════════════════════ */
#skids-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text); color: var(--cream);
  padding: 14px 24px; border-radius: 12px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: 300; white-space: nowrap; pointer-events: none;
}
#skids-toast.show { transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════
   PAGINATION
═══════════════════════════════ */
.skids-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.skids-pagination .page-numbers {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 14px; font-weight: 600; border: 1.5px solid var(--border);
  color: var(--text2); background: var(--white); transition: all var(--transition);
}
.skids-pagination .page-numbers:hover,
.skids-pagination .page-numbers.current { background: var(--coral); color: white; border-color: var(--coral); }
.skids-pagination .page-numbers.dots { border: none; background: none; }

/* ═══════════════════════════════
   ARCHIVE PAGE
═══════════════════════════════ */
.skids-archive-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  padding: 64px 0; text-align: center; color: white;
}
.skids-archive-hero h1 { font-family: var(--font-display); font-size: clamp(32px,5vw,56px); font-weight: 700; margin-bottom: 12px; }
.skids-archive-hero p { font-size: 18px; color: rgba(255,255,255,0.75); }

/* ═══════════════════════════════
   404
═══════════════════════════════ */
.skids-404 { text-align: center; padding: 120px 24px; }
.skids-404 .big-emoji { font-size: 96px; margin-bottom: 24px; }
.skids-404 h1 { font-family: var(--font-display); font-size: clamp(28px,4vw,48px); font-weight: 700; color: var(--text); margin-bottom: 16px; }
.skids-404 p { font-size: 18px; color: var(--text2); margin-bottom: 32px; max-width: 500px; margin-inline: auto; }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1024px) {
  .skids-hajjar { grid-template-columns: 1fr; padding: 40px 32px; }
  .hajjar-visual { height: 300px; }
  .skids-featured { grid-template-columns: 1fr; }
  .featured-right { height: 200px; font-size: 100px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  #skids-nav, .skids-btn-subscribe { display: none; }
  .skids-hamburger { display: flex; }
  .why-grid, .testi-grid { grid-template-columns: 1fr; }
  .age-btn { min-width: 110px; padding: 16px 18px; }
  .skids-hajjar { padding: 32px 24px; }
  .skids-newsletter { padding: 48px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-visual { height: 300px; }
  .featured-left { padding: 36px 32px; }
  .skids-content { font-size: 16px; }
}
@media (max-width: 480px) {
  .age-btn { min-width: 90px; padding: 14px 12px; }
  .age-emoji { font-size: 28px; }
  #skids-hero { padding: 48px 16px 56px; }
  .skids-container { padding: 0 16px; }
  .skids-share-bar { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════
   WP CORE OVERRIDES
═══════════════════════════════ */
.wp-block-image img { border-radius: 12px; }
.aligncenter { margin: 2em auto; text-align: center; }
.alignleft { float: right; margin: 0 0 1em 1.5em; } /* RTL swap */
.alignright { float: left; margin: 0 1.5em 1em 0; } /* RTL swap */
.wp-caption-text { font-size: 13px; color: var(--text3); text-align: center; margin-top: 8px; }
