/* ==========================================================================
   0. THEME VARIABLES (Light Mode & Deep Forest Green Dark Mode)
   ========================================================================== */
:root {
  --bg-page: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F4F7F4;
  --bg-secondary: #F8FAFC;
  --bg-header: rgba(255, 255, 255, 0.85);
  --bg-pill: rgba(4, 60, 12, 0.08);
  --bg-toggle-track: #EDF2F7;

  --text-primary: #1F2937;
  --text-body: #1F2937;
  --text-secondary: #4B5563;
  --text-muted: #64748B;
  --text-light: #043C0C;
  --text-heading: #043c0c;
  --text-heading-hover: #8C733E;

  --accent-gold: #8C733E;
  --accent-gold-bright: #C2A45F;
  --accent-green: #043c0c;
  --accent-green-dark: #022006;

  --border-subtle: #E2E8F0;
  --border-faint: #EDF2F7;
  --border-gold-alpha: rgba(194, 164, 95, 0.25);
  --glow-gold-subtle: rgba(194, 164, 95, 0.2);

  --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 24px rgba(4, 60, 12, 0.08);
  --focus-ring: rgba(4, 60, 12, 0.15);
  --skeleton-base: #E2E8F0;
  --skeleton-pulse: #EDF2F7;
  --transition-smooth: all 0.2s ease;
}

[data-theme="dark"] {
  /* 1. Deeper, cooler-tinted dark pine canvas so cards sit clearly above it */
  --bg-page: #011204;

  /* 2. Noticeably lighter, richer emerald cards with crisp separation */
  --bg-card: #06300d;
  --bg-card-subtle: #042409;
  --bg-secondary: #031c07;
  --bg-header: rgba(1, 18, 4, 0.92);
  --bg-pill: rgba(194, 164, 95, 0.16);
  --bg-toggle-track: #011404;

  /* 3. Higher contrast typography */
  --text-primary: #F0F4F1;
  --text-body: #E2EAE4;
  --text-secondary: #B5C7B9;
  --text-muted: #8BA390;
  --text-light: #FFFFFF;
  --text-heading: #D4B772;
  --text-heading-hover: #FFF4DC;

  /* 4. Richer gold accents & sharper borders to outline cards */
  --accent-gold: #D4B772;
  --accent-gold-bright: #E5CA89;
  --accent-green: #D4B772;
  --accent-green-dark: #073810;

  --border-subtle: rgba(194, 164, 95, 0.32);
  --border-faint: rgba(194, 164, 95, 0.18);
  --border-gold-alpha: rgba(194, 164, 95, 0.42);
  --glow-gold-subtle: rgba(194, 164, 95, 0.3);

  /* 5. Deeper drop shadows for physical 3D card lift */
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.75);
  --focus-ring: rgba(212, 183, 114, 0.3);
  --skeleton-base: #06300d;
  --skeleton-pulse: #094213;
}
/* Elevate Hero & Spotlight Banners in Dark Mode */
[data-theme="dark"] .explore-hero-slider,
[data-theme="dark"] .spotlight-card,
[data-theme="dark"] .magazine-marquee-spotlight {
  background: radial-gradient(circle at top right, #0c4f17 0%, #052c0c 55%, #021706 100%);
  border: 1px solid rgba(212, 183, 114, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65),
              inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Give standard cards a subtle top highlight edge for depth */
[data-theme="dark"] .card,
[data-theme="dark"] .article-item,
[data-theme="dark"] .book-card,
[data-theme="dark"] .about-card,
[data-theme="dark"] .profile-card,
[data-theme="dark"] .explore-tag-section,
[data-theme="dark"] .insight-magazine-card,
[data-theme="dark"] .bio-split-row {
  border-top: 1px solid rgba(212, 183, 114, 0.35);
}

/* Make Biography index badges & Download buttons stand out against dark green cards */
[data-theme="dark"] .bio-index-tag,
[data-theme="dark"] .download-btn {
  background-color: #C2A45F;
  color: #021c06 !important;
  font-weight: 700;
}

[data-theme="dark"] .download-btn:hover {
  background-color: #E5CA89;
  color: #011204 !important;
}

/* ==========================================================================
   1. GLOBAL RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-page);
  margin: 0;
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  color: var(--text-primary);
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* ==========================================================================
   2. HOMEPAGE SPECIFIC STYLING (Dark Green Hero Layout)
   ========================================================================== */
.home-page {
  background-color: #043c0c;
}

.hero-home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
  text-align: center;
}

.title-wrapper {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.hero-watermark {
  position: absolute;
  width: 115%;
  max-width: 720px;
  opacity: 0.12;
  filter: invert(1);
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-title {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 56px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -1px;
}

.hero-subtitle {
  color: #C2A45F;
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 40px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-nav {
  display: flex;
  gap: 15px;
  margin-bottom: 50px;
}

.hero-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 30px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.hero-nav a:hover,
.hero-nav a.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.search-container {
  width: 100%;
  max-width: 500px;
}

#siteSearch {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

#siteSearch::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#siteSearch:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #C2A45F;
  box-shadow: 0 0 20px rgba(194, 164, 95, 0.2);
}

/* ==========================================================================
   3. SUBPAGES GLOBAL STYLING (Sticky Headers & Theme Toggle)
   ========================================================================== */
.site-header {
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-faint);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

#mainLogo {
  color: var(--text-heading);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

#subLogo {
  color: var(--text-muted);
  font-size: 12px;
  margin: 2px 0 0 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  display: inline-block;
  padding: 8px 16px;
  color: var(--text-body);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.header-nav a:hover,
.header-nav a.active {
  background-color: var(--bg-pill);
  color: var(--text-heading);
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  margin-left: 16px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.25s ease;
}

/* Subtle vertical divider separating nav links from the utility icon */
.theme-toggle-btn::before {
  content: "";
  position: absolute;
  left: -10px;
  height: 18px;
  width: 1px;
  background-color: var(--border-subtle);
  pointer-events: none;
}

.theme-toggle-btn:hover {
  background: var(--bg-pill);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: rotate(12deg);
}

.theme-toggle-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-title {
  color: var(--text-heading);
  text-align: center;
  font-size: 36px;
  margin-top: 60px;
  margin-bottom: 40px;
}

/* ==========================================================================
   4. BIOGRAPHIES EXTENDED CARD GRID & SIDE-BY-SIDE PANELS
   ========================================================================== */
.bioCard {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-faint);
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  max-width: calc(33.333% - 20px);
  padding: 30px 20px !important;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease;
  box-sizing: border-box;
  text-align: center;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-gold-alpha);
}

.card p {
  margin: 0;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.card .ar-title,
.card .artitle {
  font-family: 'Amiri', 'Traditional Arabic', serif;
  font-size: 21px;
  color: var(--text-heading);
  display: block;
  margin-top: 10px;
  font-weight: normal;
}

.bio-split-row {
  display: flex;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  margin-top: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.bio-panel {
  width: 50%;
  padding: 45px 40px !important;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--text-primary);
}

.bio-panel h2 {
  color: var(--text-heading) !important;
}

.bio-english-panel {
  border-right: 1px solid var(--border-faint);
  text-align: left;
}

.bio-arabic-panel {
  text-align: right;
  font-family: 'Amiri', 'Traditional Arabic', serif;
  font-size: 28px;
  background-color: var(--bg-card-subtle);
}

.bio-meta-bar {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.bio-index-tag {
  background-color: #043c0c;
  border: 1px solid var(--border-gold-alpha);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.bio-layer-tag {
  color: var(--accent-gold);
  font-weight: 600;
}

/* ==========================================================================
   5. ARTICLES FEED & SINGLE ARTICLE LAYOUT
   ========================================================================== */
.articles-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 60px 20px;
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.article-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-faint);
  padding: 35px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.article-meta {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.article-title {
  margin: 0 0 12px 0;
  font-size: 24px;
  font-weight: 700;
}

.article-title a {
  color: var(--text-heading);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-title a:hover {
  color: var(--accent-gold);
}

.article-excerpt {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.read-more {
  display: inline-block;
color: var(--accent-gold);
text-decoration: none;
font-weight: 600;
font-size: 14px;
transition: letter-spacing 0.2s ease, color 0.2s ease;
}
.read-more:hover {
letter-spacing: 0.5px;
color: var(--text-heading);
}
/* ==========================================================================
6. LIBRARY GRID SYSTEM & BOOK HOVER FOCUS STYLES
========================================================================== */
.library-container {
max-width: 1100px;
margin: 0 auto;
padding: 0 20px 80px 20px;
}
.book-grid {
display: grid;
grid-template-columns: repeat(auto-fill, 250px);
gap: 25px;
justify-content: center;
align-items: start;
}
.book-card {
background: var(--bg-card);
border-radius: 16px;
padding: 20px;
box-shadow: var(--shadow-card);
border: 1px solid var(--border-faint);
width: 100%;
max-width: 260px;
text-align: center;
display: flex;
flex-direction: column;
transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
overflow: hidden;
}
.book-card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-hover);
border-color: var(--border-gold-alpha);
}
.book-cover {
width: 100%;
height: 240px;
border-radius: 6px 12px 12px 6px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 18px;
position: relative;
box-shadow: 3px 6px 15px rgba(0, 0, 0, 0.25);
overflow: hidden;
border: 1px solid rgba(194, 164, 95, 0.25);
}
.book-cover::before {
content: '';
position: absolute;
left: 8px;
top: 0;
width: 3px;
height: 100%;
background: rgba(255, 255, 255, 0.15);
}
.cover-text-calligraphy {
text-decoration: none;
color: rgba(255, 255, 255, 0.25);
font-size: 50px;
font-weight: 700;
}
.color-1 {
background: linear-gradient(135deg, #043c0c, #022507);
}
.book-title {
font-size: 16px;
font-weight: 700;
color: var(--text-heading);
margin: 0 0 6px 0;
line-height: 1.3;
}
.book-author {
font-size: 13px;
color: var(--text-muted);
margin: 0;
transition: margin-bottom 0.3s ease;
}
.book-revealed-details {
max-height: 0;
opacity: 0;
transform: translateY(10px);
transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
opacity 0.3s ease,
transform 0.3s ease;
}
.book-revealed-details p {
color: var(--text-secondary) !important;
}
.book-card:hover .book-revealed-details {
max-height: 200px;
opacity: 1;
transform: translateY(0);
}
.book-card:hover .book-author {
margin-bottom: 15px;
}
.download-btn {
display: block;
background-color: #043c0c;
border: 1px solid var(--border-gold-alpha);
color: #FFFFFF !important;
text-decoration: none;
font-size: 13px;
font-weight: 700;
padding: 10px 18px;
border-radius: 6px;
margin-top: 15px;
transition: background-color 0.2s ease, color 0.2s ease;
}
.download-btn:hover {
background-color: #C2A45F;
color: #022006 !important;
text-decoration: none !important;
}
/* ==========================================================================
7. ABOUT PAGE CONTENT LAYOUT
========================================================================== */
.about-container {
max-width: 1000px;
margin: 0 auto;
padding: 0 20px 80px 20px;
}
.about-grid {
display: grid;
grid-template-columns: 1.6fr 1fr;
gap: 40px;
align-items: start;
}
.about-card {
background-color: var(--bg-card);
padding: 40px;
border-radius: 16px;
box-shadow: var(--shadow-card);
border: 1px solid var(--border-faint);
text-align: left;
}
.about-section-title {
color: var(--text-heading);
font-size: 24px;
font-weight: 700;
margin: 0 0 20px 0;
position: relative;
padding-bottom: 10px;
}
.about-section-title::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 3px;
background-color: #C2A45F;
border-radius: 2px;
}
.about-text {
font-size: 16px;
line-height: 1.7;
color: var(--text-body);
margin: 0 0 20px 0;
}
.about-text:last-child {
margin-bottom: 0;
}
.about-text strong {
color: var(--text-heading);
font-weight: 600;
}
.profile-card {
background-color: var(--bg-card);
padding: 35px 25px;
border-radius: 16px;
box-shadow: var(--shadow-card);
border: 1px solid var(--border-faint);
text-align: center;
}
.profile-name {
font-size: 20px;
font-weight: 700;
color: var(--text-heading);
margin: 0 0 12px 0;
}
.profile-bio {
font-size: 14px;
line-height: 1.6;
color: var(--text-secondary);
margin: 0 0 25px 0;
}
.profile-footer {
border-top: 1px solid var(--border-faint);
padding-top: 15px;
font-size: 12px;
color: var(--text-muted);
font-weight: 500;
}
/* ==========================================================================
8. DYNAMIC VIEWS STYLING (Injected Content Panels)
========================================================================== */
#fullArticleView {
background-color: var(--bg-card);
padding: 40px;
border-radius: 16px;
box-shadow: var(--shadow-card);
margin-top: 30px;
}
#view-content {
color: var(--text-body);
font-size: 16px;
line-height: 1.8;
margin-top: 25px;
}
#fullArticleView a[href="Articles.html"],
#bookView a[href="Library.html"],
#bioView a[href="Biographies.html"] {
color: var(--accent-gold);
font-weight: 600;
transition: letter-spacing 0.2s ease, color 0.2s ease;
}
#fullArticleView a:hover,
#bookView a:hover,
#bioView a:hover {
color: var(--text-heading);
}
#bookView {
background-color: var(--bg-card);
color: var(--text-primary);
border-radius: 16px;
box-shadow: var(--shadow-card);
padding: 40px;
margin-top: 30px;
}
#book-title {
color: var(--text-heading);
font-size: 32px;
}
#book-author {
color: var(--accent-gold);
font-style: italic;
}
#book-description {
color: var(--text-secondary);
}
#bioView {
background-color: transparent;
padding: 0;
margin-top: 0;
}
blockquote {
font-style: italic;
font-size: 1.15rem;
color: var(--accent-gold);
border-left: 4px solid var(--text-heading);
padding-left: 20px;
margin: 30px 0;
line-height: 1.7;
}
/* ==========================================================================
9. RESPONSIVE BREAKPOINTS (Media Queries Collapse Rules)
========================================================================== */
@media (max-width: 900px) {
.card {
flex: 1 1 calc(50% - 20px);
max-width: calc(50% - 20px);
}
}
@media (max-width: 768px) {
.about-grid {
grid-template-columns: 1fr;
}
.bio-split-row {
flex-direction: column-reverse;
}
.bio-panel {
width: 100%;
border-right: none;
}
.bio-arabic-panel {
border-bottom: 1px solid var(--border-faint);
}
}
@media (max-width: 600px) {
.card {
flex: 1 1 100%;
max-width: 100%;
}
}
/* ==========================================================================
10. SIYAR TEXT VIEW SPACING & LAYOUT REFINEMENTS
========================================================================== */
.bio-view-wrapper {
max-width: 1200px;
margin: 30px auto 60px auto;
padding: 0 20px;
}
.back-to-bios-btn {
display: inline-block !important;
margin-top: 20px !important;
margin-bottom: 25px !important;
font-size: 15px;
color: var(--accent-gold) !important;
text-decoration: none;
}
.back-to-bios-btn:hover {
text-decoration: none !important;
color: var(--text-heading) !important;
}
#prevBioBtn,
#nextBioBtn {
background: var(--bg-card) !important;
border: 1px solid var(--border-subtle) !important;
color: var(--text-heading) !important;
}
#prevBioBtn:hover,
#nextBioBtn:hover {
border-color: var(--accent-gold) !important;
}
/* ==========================================================================
11. TEXT VIEW TOGGLE CONTROLS (English / Arabic / Both)
========================================================================== */
.view-toggles {
display: flex;
background-color: var(--bg-toggle-track);
padding: 4px;
border-radius: 6px;
gap: 4px;
}
.toggle-btn {
background: none;
border: none;
padding: 6px 12px;
font-size: 13px;
font-weight: 600;
color: var(--text-muted);
cursor: pointer;
border-radius: 4px;
transition: all 0.2s ease;
}
.toggle-btn:hover {
color: var(--text-heading);
}
.toggle-btn.active {
background-color: var(--bg-card);
color: var(--text-heading);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.hide-panel {
display: none !important;
}
.full-width-panel {
width: 100% !important;
border-right: none !important;
}
/* ==========================================================================
12 & 14. LOCAL BIO FILTER BAR & DROPDOWN STYLING
========================================================================== */
.search-filter-row {
display: flex;
gap: 12px;
max-width: 600px;
margin: 0 auto 30px auto;
padding: 0 20px;
}
#localBioSearch {
flex: 1;
padding: 12px 20px;
font-size: 15px;
background-color: var(--bg-card);
color: var(--text-primary);
border: 1px solid var(--border-subtle);
border-radius: 8px;
outline: none;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#localBioSearch::placeholder {
color: var(--text-muted);
}
#localBioSearch:focus {
border-color: var(--text-heading) !important;
box-shadow: 0 0 0 3px var(--focus-ring) !important;
outline: none;
}
#eraSelectFilter {
max-width: 180px;
width: auto;
padding: 12px 16px;
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
background-color: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 8px;
cursor: pointer;
outline: none;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
transition: border-color 0.2s ease;
}
#eraSelectFilter:focus,
#eraSelectFilter:hover {
border-color: var(--text-heading);
}
@media (max-width: 480px) {
.search-filter-row {
flex-direction: column;
}
}
/* ==========================================================================
13. COMPACT SKELETON LOADING FRAME ANIMATION
========================================================================== */
.skeleton-card {
background-color: var(--skeleton-base);
border-radius: 12px;
flex: 1 1 calc(33.333% - 20px);
min-width: 280px;
max-width: calc(33.333% - 20px);
height: 120px;
animation: pulse-glow 1.5s infinite ease-in-out;
}
@keyframes pulse-glow {
0% { opacity: 0.6; background-color: var(--skeleton-base); }
50% { opacity: 1; background-color: var(--skeleton-pulse); }
100% { opacity: 0.6; background-color: var(--skeleton-base); }
}
/* ==========================================================================
ISNAD POPOVERS, QUOTE CARDS & SAYINGS LOUNGE
========================================================================== */
.isnad {
color: var(--text-muted);
font-size: 0.95em;
}
.bio-panel a,
#view-content a {
color: var(--accent-gold);
text-decoration: none;
font-weight: 600;
transition: color 0.2s ease;
}
.bio-panel a:hover,
#view-content a:hover {
color: var(--text-heading);
}
.quote-container {
max-width: 550px;
margin: -11px auto 20px auto;
padding: 22px 30px;
background: rgba(255, 255, 255, 0.07);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 12px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
text-align: center;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
animation: fadeIn 0.8s ease-out;
}
.quote-text {
font-size: 18px;
font-style: italic;
color: #FFFFFF;
line-height: 1.6;
margin: 0 0 10px 0;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.quote-author {
font-size: 14px;
font-weight: 500;
color: #D1D5DB;
letter-spacing: 0.5px;
margin: 0 0 16px 0;
}
.quote-link {
display: inline-flex;
align-items: center;
font-size: 13px;
font-weight: 600;
color: #C2A45F;
text-decoration: none;
padding: 6px 16px;
background: rgba(194, 164, 95, 0.08);
border: 1px solid rgba(194, 164, 95, 0.25);
border-radius: 20px;
transition: all 0.2s ease;
}
.quote-link:hover {
background: rgba(194, 164, 95, 0.2);
color: #FFFFFF;
border-color: rgba(194, 164, 95, 0.5);
box-shadow: 0 0 12px rgba(194, 164, 95, 0.25);
}
.quote-link .arrow {
margin-left: 6px;
transition: transform 0.2s ease;
}
.quote-link:hover .arrow {
transform: translateX(4px);
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
/* Standalone Sayings Reading Lounge */
.sayings-viewport {
max-width: 780px;
margin: 60px auto 100px auto;
padding: 0 24px;
display: flex;
flex-direction: column;
align-items: center;
min-height: 60vh;
color: var(--text-light);
}
.sayings-intro {
text-align: center;
margin-bottom: 50px;
color: var(--text-light);
}
.sayings-tag {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 2.5px;
color: var(--accent-gold);
font-weight: 600;
display: inline-block;
margin-bottom: 12px;
}
.sayings-subtitle {
font-family: 'Playfair Display', serif;
font-style: italic;
font-size: 1.05rem;
color: var(--text-muted);
line-height: 1.5;
max-width: 500px;
margin: 0 auto;
}
.sayings-display-vault {
width: 100%;
padding: 20px 10px;
text-align: center;
margin-bottom: 60px;
}
.saying-main-prose {
font-family: 'Playfair Display', serif;
font-size: 2rem;
line-height: 1.6;
color: var(--text-light);
margin: 0 0 30px 0;
font-style: italic;
font-weight: 400;
transition: opacity 0.3s ease, transform 0.3s ease;
}
.saying-meta-attribution {
display: flex;
flex-direction: column;
align-items: center;
font-family: 'Plus Jakarta Sans', sans-serif;
gap: 8px;
}
.saying-author-sig {
font-size: 1.1rem;
font-weight: 500;
color: var(--accent-gold);
text-shadow: 0 0 8px var(--glow-gold-subtle);
}
.saying-source-tag {
font-size: 13px;
color: var(--text-muted);
font-style: italic;
}
.saying-context-trigger {
color: #C2A45F !important;
font-weight: 600;
text-transform: lowercase;
letter-spacing: 0.5px;
border-bottom: 1px dashed rgba(194, 164, 95, 0.4);
padding-bottom: 2px;
margin-top: 4px;
text-decoration: none !important;
transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.saying-context-trigger:hover {
color: var(--text-heading) !important;
border-bottom-style: solid;
text-shadow: 0 0 10px rgba(194, 164, 95, 0.6);
}
.sayings-controls-track {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
border-top: 1px solid var(--border-gold-alpha);
padding-top: 40px;
}
.control-actions-group {
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
width: 100%;
}
.saying-nav-btn {
background-color: var(--bg-secondary);
border: 1px solid var(--border-gold-alpha);
color: var(--text-light);
font-family: 'Plus Jakarta Sans', sans-serif;
font-size: 14px;
font-weight: 500;
padding: 12px 24px;
cursor: pointer;
border-radius: 30px;
transition: var(--transition-smooth);
min-width: 120px;
}
.saying-nav-btn:hover:not(:disabled) {
border-color: var(--accent-gold);
background-color: var(--bg-card);
color: var(--accent-gold);
}
.saying-nav-btn:disabled {
opacity: 0.25;
cursor: not-allowed;
}
.another-saying-accent {
background-color: transparent;
border-color: var(--accent-gold);
color: var(--accent-gold);
}
.another-saying-accent:hover {
background-color: var(--accent-gold) !important;
color: var(--bg-page) !important;
box-shadow: 0 0 15px var(--glow-gold-subtle);
}
.saying-counter-string {
font-size: 12px;
letter-spacing: 1px;
color: var(--text-muted);
text-transform: uppercase;
}
.site-footer-colophon {
margin-top: 100px;
border-top: 1px solid var(--border-gold-alpha);
padding: 40px 20px;
text-align: center;
font-size: 12px;
color: var(--text-muted);
}
/* Superscript Isnad Popover Trigger & Card */
.isnad-data {
color: #C2A45F !important;
font-family: 'Plus Jakarta Sans', sans-serif;
font-size: 0.85rem;
font-weight: 700;
vertical-align: super;
cursor: pointer;
margin-left: 5px;
padding: 0 4px;
display: inline-block;
user-select: none;
}
.isnad-data:hover {
color: #FFF1D6 !important;
text-shadow: 0 0 8px rgba(194, 164, 95, 0.6);
}
.isnad-popover-card {
position: absolute;
z-index: 2500;
width: 100%;
max-width: 400px;
background-color: #052D0B !important;
border: 1px solid #C2A45F !important;
border-radius: 8px;
padding: 18px;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5),
0 0 15px rgba(194, 164, 95, 0.15);
transition: opacity 0.2s ease;
}
.popover-academic-header {
font-family: 'Plus Jakarta Sans', sans-serif;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 1px;
color: #8FA493;
border-bottom: 1px solid rgba(194, 164, 95, 0.12);
padding-bottom: 6px;
margin-bottom: 12px;
}
.popover-traditional-arabic {
font-family: 'Amiri', serif;
font-size: 1.3rem;
line-height: 1.6;
color: #F4F7F5;
direction: rtl;
text-align: right;
}
.popover-traditional-arabic br {
content: "";
margin-bottom: 12px;
display: block;
}
/* ==========================================================================
15. EXPLORE HUB PREMIUM SYSTEM
========================================================================== */
.explore-viewport {
max-width: 1200px;
margin: 40px auto 80px auto;
padding: 0 24px;
}
.explore-page-intro {
text-align: center;
margin-bottom: 50px;
}
.explore-subtitle {
font-size: 15px;
color: var(--text-muted);
max-width: 600px;
margin: -20px auto 0 auto;
line-height: 1.6;
}
.explore-tag-section {
background-color: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 16px;
padding: 30px;
margin-bottom: 40px;
box-shadow: var(--shadow-card);
}
.tag-header-row {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--border-subtle);
padding-bottom: 16px;
margin-bottom: 24px;
}
.tag-title-group {
display: flex;
align-items: center;
gap: 12px;
}
.tag-decorator {
width: 4px;
height: 24px;
background-color: #C2A45F;
border-radius: 2px;
}
.tag-title {
font-size: 22px;
color: var(--text-heading);
margin: 0;
font-weight: 700;
letter-spacing: -0.5px;
}
.tag-count-pill {
background-color: var(--bg-pill);
color: var(--text-heading);
font-size: 12px;
font-weight: 600;
padding: 4px 10px;
border-radius: 20px;
}
.tag-arrow-link {
color: var(--accent-gold);
text-decoration: none;
font-size: 14px;
font-weight: 600;
display: flex;
align-items: center;
gap: 6px;
transition: color 0.2s ease;
}
.tag-arrow-link:hover {
color: var(--text-heading);
}
.tag-arrow-link .arrow-glyph {
transition: transform 0.2s ease;
}
.tag-arrow-link:hover .arrow-glyph {
transform: translateX(4px);
}
.explore-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 20px;
}
.explore-card {
background: var(--bg-card-subtle);
border: 1px solid var(--border-subtle);
border-radius: 12px;
text-decoration: none;
display: flex;
flex-direction: column;
justify-content: space-between;
transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.2s ease, border-color 0.2s ease;
overflow: hidden;
}
.explore-card:hover {
transform: translateY(-4px);
border-color: rgba(194, 164, 95, 0.5);
box-shadow: var(--shadow-hover);
background: var(--bg-card);
}
.explore-card-content {
padding: 20px;
flex-grow: 1;
display: flex;
flex-direction: column;
}
.explore-card-meta {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--accent-gold);
font-weight: 700;
margin-bottom: 8px;
}
.explore-card-title-en {
font-size: 15px;
color: var(--text-heading);
margin: 0 0 10px 0;
font-weight: 700;
line-height: 1.4;
}
.explore-card-title-ar {
font-family: 'Amiri', 'Traditional Arabic', serif;
font-size: 19px;
color: var(--text-secondary);
margin: auto 0 0 0;
line-height: 1.3;
}
.explore-card-footer {
border-top: 1px solid var(--border-faint);
padding: 12px 20px;
background-color: rgba(0, 0, 0, 0.03);
}
.explore-card-action {
font-size: 12px;
font-weight: 600;
color: var(--text-muted);
transition: color 0.2s ease;
}
.explore-card:hover .explore-card-action {
color: var(--text-heading);
}
.load-more-container {
text-align: center;
margin: 50px 0;
}
.load-more-btn {
background: var(--bg-card);
border: 1px solid var(--text-heading);
padding: 12px 35px;
border-radius: 30px;
color: var(--text-heading);
font-size: 15px;
font-weight: 600;
cursor: pointer;
box-shadow: var(--shadow-card);
transition: all 0.2s ease;
}
.load-more-btn:hover {
background: var(--text-heading);
color: var(--bg-page);
box-shadow: var(--shadow-hover);
transform: translateY(-1px);
}
/* Explore Hero Slider */
.explore-hero-slider {
  background: radial-gradient(circle at top right, #0a5416 0%, #043c0c 55%, #022006 100%);
  border: 1px solid rgba(194, 164, 95, 0.45);
  border-radius: 16px;
  padding: 35px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(4, 60, 12, 0.22),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.slider-watermark {
position: absolute;
right: 30px;
top: 50%;
transform: translateY(-50%);
width: 480px;
max-width: 75%;
opacity: 0.09;
filter: invert(1);
mix-blend-mode: screen;
pointer-events: none;
user-select: none;
z-index: 0;
}
.hero-slider-inner {
position: relative;
z-index: 1;
transition: opacity 0.3s ease;
}
.hero-layer {
font-size: 12px;
text-transform: uppercase;
letter-spacing: 1.5px;
color: #C2A45F;
font-weight: 600;
margin-bottom: 8px;
display: block;
}
.hero-title-row {
display: flex;
align-items: baseline;
gap: 15px;
flex-wrap: wrap;
margin-bottom: 15px;
}
.hero-name-en {
font-size: 38px;
font-weight: 800;
margin: 0;
letter-spacing: -0.5px;
}
.hero-name-ar {
font-family: 'Amiri', serif;
font-size: 32px;
color: rgba(255, 255, 255, 0.9);
margin: 0;
}
.hero-tags-list {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 20px;
}
.hero-tag-pill {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(194, 164, 95, 0.3);
color: #FFFFFF;
font-size: 11px;
font-weight: 600;
padding: 4px 12px;
border-radius: 20px;
text-transform: uppercase;
}
.hero-excerpt {
font-style: italic;
font-size: 16px;
line-height: 1.6;
color: #E2E8F0;
border-left: 3px solid #C2A45F;
padding-left: 15px;
margin: 0 0 25px 0;
}
.hero-action-row {
display: flex;
justify-content: space-between;
align-items: center;
}
.hero-read-btn {
display: inline-flex;
align-items: center;
background: rgba(194, 164, 95, 0.15);
border: 1px solid #C2A45F;
color: #FFFFFF;
padding: 10px 24px;
border-radius: 30px;
text-decoration: none;
font-weight: 600;
font-size: 14px;
transition: all 0.2s ease;
}
.hero-read-btn:hover {
background: #C2A45F;
color: #043c0c;
box-shadow: 0 0 15px rgba(194, 164, 95, 0.4);
}
.hero-nav-arrows {
display: flex;
gap: 10px;
}
.hero-arrow-btn {
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.2);
color: #FFFFFF;
width: 40px;
height: 40px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
transition: all 0.2s ease;
}
.hero-arrow-btn:hover {
background: rgba(194, 164, 95, 0.2);
border-color: #C2A45F;
}
.fixed-eras-row {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-bottom: 40px;
}
@media (max-width: 1100px) {
.explore-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
.fixed-eras-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
.explore-grid { grid-template-columns: repeat(2, 1fr); }
.tag-header-row { flex-direction: column; align-items: flex-start; gap: 12px; }
.tag-arrow-link { width: 100%; justify-content: space-between; }
}
@media (max-width: 480px) {
.explore-grid { grid-template-columns: repeat(1, 1fr); }
}
/* ==========================================================================
16. DEEP INSIGHTS & MAGAZINE EDITORIAL STYLING
========================================================================== */
.insights-dashboard-wrapper,
.magazine-dashboard-wrapper {
max-width: 1140px;
margin: 0 auto;
padding: 40px 20px 80px 20px;
}
.magazine-brand-header {
border-bottom: 1px solid var(--border-subtle);
padding-bottom: 28px;
margin-bottom: 45px;
position: relative;
}
.magazine-brand-header::after {
content: "";
position: absolute;
bottom: -1px;
left: 0;
width: 60px;
height: 2px;
background: #C2A45F;
}
.magazine-brand-title {
font-family: 'Playfair Display', 'Georgia', serif;
font-size: 42px;
color: var(--text-heading);
font-weight: 800;
margin: 0 0 10px 0;
letter-spacing: -0.5px;
}
.insights-subtitle,
.magazine-brand-subtitle {
color: var(--text-muted);
font-size: 16px;
line-height: 1.6;
}
.spotlight-card,
.magazine-marquee-spotlight {
  background: radial-gradient(circle at top right, #0a5416 0%, #043c0c 55%, #022006 100%);
  color: #FFFFFF;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(4, 60, 12, 0.22),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  margin-bottom: 45px;
  border: 1px solid rgba(194, 164, 95, 0.45);
  position: relative;
  overflow: hidden;
}
.spotlight-badge,
.magazine-badge {
display: inline-block;
background-color: #C2A45F;
color: #022507;
font-size: 11px;
text-transform: uppercase;
font-weight: 700;
padding: 4px 12px;
border-radius: 30px;
letter-spacing: 0.5px;
margin-bottom: 15px;
}
.spotlight-title,
.spotlight-headline {
margin: 0 0 12px 0;
font-size: 28px;
font-weight: 700;
letter-spacing: -0.5px;
color: #FFFFFF;
}
.spotlight-excerpt,
.spotlight-snippet {
color: #E2E8F0;
font-size: 15px;
line-height: 1.7;
margin: 0 0 25px 0;
max-width: 850px;
}
.magazine-read-btn {
color: #022206;
text-decoration: none;
font-weight: 600;
font-size: 14px;
background: #C2A45F;
padding: 12px 28px;
border-radius: 30px;
transition: all 0.25s ease;
display: inline-block;
}
.magazine-read-btn:hover {
background: #FFFFFF;
color: #043c0c;
transform: translateY(-2px);
}
.insights-control-bar,
.magazine-control-panel {
display: flex;
gap: 16px;
margin-bottom: 35px;
background: var(--bg-card);
padding: 16px;
border-radius: 12px;
border: 1px solid var(--border-subtle);
}
.search-box-container,
.magazine-search-field {
flex: 1;
}
#insightsSearchInput {
width: 100%;
padding: 12px 18px;
border: 1px solid var(--border-subtle);
font-size: 15px;
background-color: var(--bg-secondary);
color: var(--text-primary);
border-radius: 8px;
outline: none;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#insightsSearchInput:focus {
border-color: var(--text-heading);
background-color: var(--bg-card);
box-shadow: 0 0 0 3px var(--focus-ring);
}
.filter-dropdown-container select,
.magazine-filter-dropdown select {
padding: 12px 20px;
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
background-color: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 8px;
cursor: pointer;
outline: none;
}
.filter-dropdown-container select:focus,
.magazine-filter-dropdown select:focus {
border-color: var(--text-heading);
}
.insights-grid-deck,
.magazine-asymmetric-deck {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 28px;
}
.insight-archive-card,
.insight-magazine-card {
background-color: var(--bg-card);
border: 1px solid var(--border-faint);
border-radius: 14px;
box-shadow: var(--shadow-card);
display: flex;
flex-direction: column;
overflow: hidden;
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.insight-archive-card {
padding: 30px;
align-items: flex-start;
}
.insight-archive-card:hover,
.insight-magazine-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-hover);
border-color: var(--border-gold-alpha);
}
.card-magazine-banner {
width: 100%;
height: 190px;
overflow: hidden;
background-color: var(--bg-secondary);
border-bottom: 1px solid var(--border-faint);
}
.card-magazine-banner img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.6s ease;
}
.insight-magazine-card:hover .card-magazine-banner img {
transform: scale(1.05);
}
.card-magazine-inner {
padding: 28px;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.insight-card-category-tag,
.card-magazine-tag {
font-size: 11px;
font-weight: 700;
color: var(--accent-gold);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 12px;
}
.insight-card-title,
.insight-magazine-card h3 {
font-family: 'Playfair Display', 'Georgia', serif;
margin: 0 0 12px 0;
font-size: 20px;
font-weight: 700;
color: var(--text-heading);
line-height: 1.4;
}
.insight-card-description,
.insight-magazine-card p {
color: var(--text-secondary);
font-size: 14.5px;
line-height: 1.65;
margin: 0 0 24px 0;
flex-grow: 1;
}
.insight-card-anchor-link,
.card-magazine-anchor {
color: var(--accent-gold);
text-decoration: none;
font-weight: 700;
font-size: 13px;
transition: color 0.2s ease, transform 0.2s ease;
}
.insight-card-anchor-link:hover,
.card-magazine-anchor:hover {
color: var(--text-heading);
transform: translateX(3px);
}
/* Deep Dive Reading Pane */
.magazine-back-link {
color: var(--accent-gold);
text-decoration: none;
font-weight: 600;
font-size: 14px;
display: inline-block;
margin-bottom: 25px;
transition: color 0.2s ease;
}
.magazine-back-link:hover {
color: var(--text-heading);
}
.magazine-deep-dive-card {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 16px;
padding: 60px 50px;
box-shadow: var(--shadow-card);
}
.magazine-dive-badge {
font-size: 11px;
font-weight: 700;
color: var(--accent-gold);
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 18px;
}
.magazine-dive-title {
font-family: 'Playfair Display', 'Georgia', serif;
color: var(--text-heading);
margin: 0 0 24px 0;
font-size: 38px;
line-height: 1.25;
font-weight: 800;
letter-spacing: -0.5px;
}
.magazine-divider {
border: 0;
border-top: 1px solid var(--border-subtle);
margin: 24px 0 35px 0;
}
.magazine-dive-body {
color: var(--text-body);
font-size: 16.5px;
line-height: 1.9;
}
.magazine-dive-body blockquote {
font-style: italic;
font-size: 18px;
color: var(--accent-gold);
border-left: 4px solid var(--text-heading);
padding: 15px 15px 15px 24px;
margin: 35px 0;
background: var(--bg-secondary);
border-radius: 0 8px 8px 0;
}
/* ==========================================================================
17. MOBILE-ONLY REFINEMENTS (Targeting screens 768px and smaller)
========================================================================== */
@media (max-width: 768px) {
body, html {
overflow-x: hidden; }
  .hero-home {
    height: auto !important;
    min-height: 100svh !important;
    padding: 36px 18px !important;
  }

  .hero-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  .hero-subtitle {
    font-size: 13px !important;
    margin-bottom: 24px !important;
  }

  .hero-nav {
    margin-bottom: 24px !important;
  }

  .quote-container {
    padding: 18px 20px !important;
    margin-bottom: 20px !important;
  }

  .quote-text {
    font-size: 15px !important;
  }

  .site-header {
    position: sticky !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 14px 16px !important;
    text-align: center !important;
    width: 100% !important;
  }

  .header-brand {
    width: 100% !important;
    padding: 0 36px !important; /* Keeps title perfectly centered without hitting the corner icon */
    margin-bottom: 12px !important;
  }

  #mainLogo {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  .theme-toggle-btn {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
  }

  .theme-toggle-btn::before {
    display: none !important;
  }

  .header-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto !important;
    gap: 4px !important;
  }

  .header-nav a {
    font-size: 13px !important;
    padding: 6px 10px !important;
  }

  /* Keep the dark-mode icon compact and flush on mobile */
  .theme-toggle-btn {
    width: 30px !important;
    height: 30px !important;
    margin-left: 4px !important;
  }

  .theme-toggle-btn::before {
    display: none !important;
  }

  /* Also ensure Homepage hero nav wraps cleanly on small screens */
  .hero-nav {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .hero-nav a {
    font-size: 14px !important;
    padding: 8px 14px !important;
  }

.explore-hero-slider {
padding: 25px 20px !important;
min-height: auto !important;
}
.hero-name-en {
font-size: 26px !important;
line-height: 1.2 !important;
}
.hero-name-ar {
font-size: 24px !important;
}
.hero-excerpt {
font-size: 14px !important;
line-height: 1.5 !important;
}
.hero-action-row {
flex-direction: column !important;
align-items: stretch !important;
gap: 15px !important;
}
.hero-read-btn {
justify-content: center !important;
width: 100% !important;
}
.hero-nav-arrows {
justify-content: center !important;
}
.hero-tags-list {
display: flex !important;
flex-wrap: nowrap !important;
overflow-x: auto !important;
width: 100% !important;
padding-bottom: 8px !important;
gap: 8px !important;
scroll-snap-type: x mandatory !important;
-webkit-overflow-scrolling: touch !important;
}
.hero-tag-pill {
flex: 0 0 auto !important;
scroll-snap-align: start !important;
font-size: 10px !important;
padding: 4px 10px !important;
}
.hero-tags-list::-webkit-scrollbar {
display: none !important;
}
#fixedErasContainer {
display: flex !important;
flex-wrap: nowrap !important;
overflow-x: auto !important;
width: 100% !important;
gap: 16px !important;
padding: 5px 4px 15px 4px !important;
grid-template-columns: none !important;
scroll-snap-type: x mandatory !important;
-webkit-overflow-scrolling: touch !important;
}
#fixedErasContainer .explore-tag-section {
flex: 0 0 85% !important;
scroll-snap-align: center !important;
box-sizing: border-box !important;
width: auto !important;
max-width: none !important;
}
#fixedErasContainer::-webkit-scrollbar {
display: none !important;
}
.explore-tag-section .explore-grid {
display: flex !important;
flex-wrap: nowrap !important;
overflow-x: auto !important;
width: 100% !important;
gap: 16px !important;
padding: 5px 4px 15px 4px !important;
grid-template-columns: none !important;
scroll-snap-type: x mandatory !important;
-webkit-overflow-scrolling: touch !important;
}
.explore-tag-section .explore-card {
flex: 0 0 80% !important;
scroll-snap-align: center !important;
box-sizing: border-box !important;
width: auto !important;
max-width: none !important;
}
.explore-tag-section .explore-grid::-webkit-scrollbar {
display: none !important;
}
.bio-meta-bar {
flex-direction: column;
gap: 12px;
align-items: center;
text-align: center;
padding: 15px 10px;
}
.bio-meta-bar > div {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.insights-control-bar,
.magazine-control-panel {
flex-direction: column;
gap: 12px;
align-items: stretch;
}
.insights-grid-deck,
.magazine-asymmetric-deck {
grid-template-columns: 1fr;
}
.magazine-deep-dive-card {
padding: 40px 24px;
}
.magazine-brand-title {
font-size: 34px;
}
.spotlight-title,
.spotlight-headline {
font-size: 22px;
}
.saying-main-prose {
font-size: 1.45rem;
line-height: 1.55;
}
.control-actions-group {
flex-direction: column;
width: 100%;
gap: 10px;
}
.saying-nav-btn {
width: 100%;
}
}