/* ======================================
   دالّة - Main CSS (Cleaned & Fixed)
   ====================================== */

/* ======================
   ROOT VARIABLES
   ====================== */
:root {
  --primary: #062141;
  --primary-dark: #041829;
  --primary-light: #0a4d4d;
  --primary-soft: rgba(6, 33, 65, 0.08);

  --secondary: #0a4d4d;
  --secondary-light: #1a7a7a;
  --secondary-soft: rgba(10, 77, 77, 0.08);

  --accent: #1a7a7a;
  --accent-hover: #0d5555;

  --text-main: #01203a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --bg-white: #ffffff;
  --bg-soft: #f8fafc;
  --bg-light: #f1f5f9;

  --gradient-primary: linear-gradient(135deg, #062141, #0a4d4d);
  --gradient-soft: linear-gradient(135deg, #f0f8f9, #e6f1f4);
  --gradient-accent: linear-gradient(135deg, #1a7a7a, #0a4d4d);

  --border-color: rgba(6, 33, 65, 0.12);
  --shadow-sm: 0 2px 8px rgba(6, 33, 65, 0.08);
  --shadow-md: 0 8px 24px rgba(6, 33, 65, 0.12);
  --shadow-lg: 0 16px 40px rgba(6, 33, 65, 0.16);
  --shadow-xl: 0 24px 56px rgba(6, 33, 65, 0.20);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 28px;
  --radius-full: 999px;

  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: 0.3s ease-in-out;
}


/* ======================
   GLOBAL RESET
   ====================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: var(--text-main);
  direction: rtl;
  background: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html { scroll-behavior: smooth; }

/* ======================
   HERO SECTION
   ====================== */
.header-nav {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  padding: 0 60px;
  flex-direction: row-reverse;
  transition: all 0.3s ease;
}

.header-nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  background-color: rgba(255, 255, 255, 0.98) !important;
}

.site-logo img {
  height: 58px;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.site-logo img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 35px;
  margin: 0 40px;
  height: 100%;
}

.nav-links .nav-link,
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: #1a1a1a !important;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
  padding: 0 4px;
  line-height: 1;
  border: none !important;
  transition: color 0.3s ease;
}

.nav-links .nav-link::after,
.nav-links > a::after,
.dropdown .dropbtn::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 18px;
  height: 3px;
  background: linear-gradient(90deg, #00699a, #00647a);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 3px;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active,
.dropdown:hover .dropbtn {
  color: #034169 !important;
}

.nav-links .nav-link:hover::after,
.nav-links .nav-link.active::after,
.dropdown:hover .dropbtn::after {
  transform: scaleX(1);
  transform-origin: left;
}

.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.dropbtn { cursor: pointer; }

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  padding: 12px 0;
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  text-decoration: none;
  color: #111 !important;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 18px;
  text-align: right;
  transition: all 0.2s ease;
  position: relative;
}

.dropdown-content a::before {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 0;
  background: linear-gradient(180deg, #0a4d4d, #1a7a7a);
  transition: height 0.3s ease;
  border-radius: 3px;
}

.dropdown-content a:hover {
  background: #f8f9fa;
  color: #0a4d4d !important;
  padding-right: 24px;
}

.dropdown-content a:hover::before { height: 70%; }

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #0a4d4d;
  padding: 10px;
  min-width: 44px; min-height: 44px;
  transition: transform 0.3s ease;
}

.menu-toggle:hover { transform: scale(1.1); }

@media (max-width: 992px) {
  .menu-toggle { display: block !important; z-index: 1001; position: relative; }
  .header-nav { padding: 0 18px; }

  .nav-links {
    position: fixed !important;
    top: 82px !important;
    left: 14px !important; right: auto !important;
    width: min(340px, calc(100% - 28px)) !important;
    max-height: calc(100vh - 110px) !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 14px !important;
    margin: 0 !important;
    transform: translateX(-110%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    height: auto !important;
    z-index: 1000 !important;
    display: flex !important;
  }

  .nav-links.open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
  }

  .nav-links .nav-link,
  .nav-links a {
    height: auto !important;
    padding: 14px !important;
    border-radius: 10px !important;
    color: #111 !important;
    justify-content: flex-start !important;
    display: flex !important;
  }

  .nav-links .nav-link::after,
  .nav-links > a::after,
  .dropdown .dropbtn::after { display: none !important; }

  .nav-links .nav-link.active {
    background: linear-gradient(135deg, #0f6f78, #055a75) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
  }

  .nav-links .nav-link:hover {
    background: #f4f6f6 !important;
    color: #0a4d4d !important;
  }

  .dropdown { width: 100% !important; display: block !important; }

  .dropdown-content {
    position: static !important;
    display: none !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    margin-top: 6px !important;
    padding: 6px 0 !important;
    border: 1px solid #eee !important;
    background: #f8f9fa !important;
  }

  .dropdown.open .dropdown-content { display: block !important; }
  .dropdown-content a { padding: 12px 14px !important; font-size: 15px !important; }
  .dropdown-content a:hover { background: #e9ecef !important; }
}

#topics { scroll-margin-top: 95px; }

/* ======================
   SHARED SECTION HEADS
   ====================== */
.section-header-academic,
.workshops-head,
.experts-head,
.achievements-head,
.tweets-head {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 70px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #1a7a7a;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 18px;
  position: relative;
  padding: 0 50px;
}

.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px; height: 2px;
}

.section-label::before {
  right: 0;
  background: linear-gradient(90deg, #1a7a7a, transparent);
}

.section-label::after {
  left: 0;
  background: linear-gradient(90deg, transparent, #1a7a7a);
}

.section-title-clean {
  font-size: 44px;
  font-weight: 800;
  color: #01203a;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 18px;
  color: #5a5a5a;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* Shared section title style */
.section-title {
  font-size: 48px;
  font-weight: 800;
  color: #062141;
  margin: 0 0 24px;
  letter-spacing: -0.8px;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%; transform: translateX(-50%);
  width: 0; height: 4px;
  background: linear-gradient(90deg, #062141, #0a4d4d, #1a7a7a);
  border-radius: var(--radius-full);
  animation: expandLine 0.8s ease-out 0.3s forwards;
  box-shadow: 0 2px 10px rgba(6, 33, 65, 0.3);
}

@keyframes expandLine {
  to { width: 120px; }
}

.section-subtitle {
  margin: 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
  padding-top: 12px;
  letter-spacing: 0.2px;
}

/* ======================
   TOPICS SECTION
   ====================== */

/* ── Hero + Topics (Option A) ── */
.hero-topics-section {
  padding: 40px 40px 0;
  background: #ffffff;
  margin-top: 20px;
}

/* Hero banner */
.ht-hero {
  background: #062141;
  border-radius: 20px;
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 8px 40px rgba(6,33,65,0.18);
  margin-top: 57px;
}

.ht-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.ht-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-direction: row-reverse;
}

.ht-hero-text { flex: 1; text-align: right; }

.ht-eyebrow {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.ht-title {
  font-size: 32px;
  font-weight: 800;
  color: white;
  line-height: 1.35;
  margin-bottom: 12px;
}

.ht-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}

.ht-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.ht-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: white;
  color: #062141;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s ease;
}
.ht-btn-primary:hover { background: #e1f5ee; transform: translateY(-2px); }

/* Stats column */
.ht-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  align-self: stretch;
  justify-content: center;
}

.ht-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 20px;
  text-align: center;
  min-width: 90px;
}

.ht-stat-n { font-size: 22px; font-weight: 800; color: white; }
.ht-stat-l { font-size: 10px; color: rgba(255,255,255,0.45); margin-top: 3px; }

/* Topics grid */
.ht-topics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding-bottom: 40px;
}

.ht-topic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 12px;
  background: #ffffff;
  border: 1px solid rgba(6,33,65,0.08);
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: all .3s cubic-bezier(0.68,-0.55,0.265,1.55);
}
.ht-topic:hover { transform: translateY(-8px); box-shadow: 0 14px 36px rgba(6,33,65,0.13); border-color: rgba(10,77,77,0.22); }

.ht-topic-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(10,77,77,0.16);
  position: relative;
}

.ht-topic-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a4d4d, #1a7a7a, #062141);
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0.8;
  animation: htGradient 4s ease infinite;
}

@keyframes htGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.ht-topic-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform .4s cubic-bezier(0.68,-0.55,0.265,1.55);
}
.ht-topic:hover .ht-topic-icon img { transform: scale(1.2) rotate(-5deg); }

.ht-topic-title {
  font-size: 13px;
  font-weight: 700;
  color: #062141;
  text-align: center;
  line-height: 1.45;
}

/* Hide old hero + topics classes */
.background-wrapper,
.overlay,
.main-content,
.slogan,
.sub-slogan,
.action-buttons,
.btn-secondary,
.topics-section,
.topics-grid,
.topic-card-v2,
.icon-circle,
.topic-title,
.section-header-academic,
.section-label,
.section-title-clean,
.section-description,
.topics-hint,
.topics-dots { display: none !important; }

/* Mobile */
@media (max-width: 1024px) {
  .hero-topics-section { padding: 20px 20px 0; }
  .ht-hero { padding: 28px 28px; }
  .ht-title { font-size: 24px; }
  .ht-sub { font-size: 13px; }
  .ht-topics { grid-template-columns: repeat(3, 1fr); gap: 10px; padding-bottom: 30px; }
  .ht-topic-icon { width: 58px; height: 58px; }
  .ht-topic-icon img { width: 32px; height: 32px; }
  .ht-topic-title { font-size: 12px; }
}

@media (max-width: 768px) {
  .ht-hero-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ht-stats { flex-direction: row; width: 100%; }
  .ht-stat { flex: 1; padding: 10px; }
  .ht-stat-n { font-size: 18px; }
  .ht-title { font-size: 22px; }
  .ht-topics { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ht-topic { padding: 14px 8px; gap: 8px; }
  .ht-topic-icon { width: 50px; height: 50px; }
  .ht-topic-icon img { width: 28px; height: 28px; }
  .ht-topic-title { font-size: 11px; }
}

@media (max-width: 480px) {
  .ht-topics { grid-template-columns: repeat(2, 1fr); }
  .ht-topic:last-child { grid-column: 1 / -1; max-width: 160px; margin: 0 auto; }
}

/* Scroll progress bar — removed */
.scroll-progress { display: none !important; }

/* ======================
   SHARED SWIPER PAGINATION
   Fixes huge gap: use padding-bottom instead of large fixed space
   ====================== */
.swiper {
  /* Override any inherited padding that creates gaps */
}

/* All section swipers: tight bottom padding - just enough for dots */
.workshops-swiper,
.myExpertsSwiper,
.achievements-swiper {
  height: 67%;
}

.tweets-swiper {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 10px 10px 28px !important;
  box-sizing: border-box;
  overflow: hidden;
}

/* Shared pagination dot style */
.workshops-swiper .swiper-pagination,
.myExpertsSwiper .swiper-pagination,
.achievements-swiper .swiper-pagination,
.tweets-swiper .swiper-pagination {
  position: absolute !important;
  bottom: 6px !important;
}

.workshops-swiper .swiper-pagination-bullet,
.myExpertsSwiper .swiper-pagination-bullet,
.achievements-swiper .swiper-pagination-bullet,
.tweets-swiper .swiper-pagination-bullet {
  width: 10px; height: 10px;
  opacity: 1;
  background: rgba(6, 33, 65, 0.22);
  transition: all 0.35s ease;
  margin: 0 6px !important;
}

.workshops-swiper .swiper-pagination-bullet-active,
.myExpertsSwiper .swiper-pagination-bullet-active,
.achievements-swiper .swiper-pagination-bullet-active,
.tweets-swiper .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #062141, #0a4d4d);
  box-shadow: 0 4px 12px rgba(6, 33, 65, 0.4);
}

/* ======================
   WORKSHOPS SECTION
   ====================== */
.workshops-section { display: none !important; }
.experts-section  { display: none !important; }

/* ── Combined Workshops + Experts section (Option B) ── */
.we-section {
  padding: 80px 40px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Workshops full-width strip ── */
.we-workshops-strip {
  background: #ffffff;
  border: 1px solid rgba(6,33,65,0.08);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.06);
}

.we-strip-header {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(6,33,65,0.07);
}

.we-strip-header-left h3 { font-size: 22px; font-weight: 800; color: #062141; }
.we-strip-header-left p  { font-size: 14px; color: #64748b; margin-top: 4px; }

.we-strip-link {
  font-size: 14px;
  font-weight: 700;
  color: #0a4d4d;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 8px 18px;
  border: 1.5px solid rgba(10,77,77,0.25);
  border-radius: 999px;
  transition: all .2s ease;
}
.we-strip-link:hover { background: #062141; color: white; border-color: #062141; }

.we-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.we-wcard {
  padding: 28px 32px;
  border-right: 1px solid rgba(6,33,65,0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .2s ease;
}

.we-wcard:first-child { border-right: none; }
.we-wcard:hover { background: #f8fafc; }

.we-wcard-bar {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #062141, #0a4d4d);
  margin-bottom: 4px;
}
.we-wcard-bar.upcoming { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.we-wcard-bar.ended    { background: #e2e8f0; }

.we-wcard-title {
  font-size: 17px;
  font-weight: 800;
  color: #062141;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.we-wcard-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.we-wcard-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.we-wcard-status.available { background: #dcfce7; color: #166534; }
.we-wcard-status.upcoming  { background: #eff6ff; color: #1e40af; }
.we-wcard-status.ended     { background: #f1f5f9; color: #64748b; }
.we-wcard-status.full      { background: #fff1f2; color: #9f1239; }

.we-wcard-time {
  font-size: 13px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.we-wcard-btn {
  font-size: 14px;
  font-weight: 700;
  color: #0a4d4d;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
}
.we-wcard-btn:hover { gap: 8px; }

/* ── Experts 3-card row ── */
.we-experts-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.we-ecard {
  background: #ffffff;
  border: 1px solid rgba(6,33,65,0.08);
  border-radius: 18px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: all .25s ease;
}
.we-ecard:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(6,33,65,0.12); border-color: rgba(10,77,77,0.22); }

.we-esidebar {
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #062141, #0a4d4d);
  align-self: stretch;
  flex-shrink: 0;
}

.we-eavatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #062141, #06365d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.we-eavatar i { font-size: 24px; color: white; }

.we-ebody { flex: 1; min-width: 0; }
.we-ename  { font-size: 17px; font-weight: 800; color: #062141; }
.we-efield {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  background: #dbebf7d6;
  color: #085041;
  border-radius: 999px;
  margin-top: 5px;
}
.we-ework {
  font-size: 13px;
  color: #64748b;
  margin-top: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.we-experts-footer {
  text-align: center;
  margin-top: 24px;
}
.we-experts-footer a {
  font-size: 14px;
  font-weight: 700;
  color: #0a4d4d;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


/* ── Experts divider label ── */
.we-experts-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 20px;
}

.we-experts-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(6,33,65,0.12), transparent);
}

.we-experts-divider-line.rev {
  background: linear-gradient(90deg, transparent, rgba(6,33,65,0.12));
}

.we-experts-divider-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  background: linear-gradient(135deg, #071b33, #003e5c);
  color: white;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.we-experts-divider-label i { font-size: 13px; color: white !important; }

/* Center 3rd expert card on mobile only — handled in @media block */

/* Mobile */
@media (max-width: 1024px) {
  .we-section { padding: 60px 20px; }
  .we-cards-row { grid-template-columns: 1fr; }
  .we-wcard { border-right: none; border-top: 0.5px solid rgba(6,33,65,0.07); }
  .we-wcard:first-child { border-top: none; }
  .we-experts-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .we-experts-row { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .we-ecard { padding: 10px 12px; gap: 8px; border-radius: 12px; flex-direction: column; align-items: flex-start; }
  .we-esidebar { display: none; }
  .we-eavatar { width: 32px; height: 32px; }
  .we-eavatar i { font-size: 13px; }
  .we-ename { font-size: 12px; }
  .we-efield { font-size: 9px; padding: 2px 6px; margin-top: 2px; }
  .we-ework { font-size: 10px; margin-top: 2px; white-space: normal; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .we-experts-footer { margin-top: 14px; }
  .we-experts-footer a { font-size: 12px; }
  /* Center 3rd card in mobile 2-column grid */
  .we-experts-row .we-ecard:last-child:nth-child(3) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; width: 100%; }
}

@media (max-width: 380px) {
  .we-experts-row { grid-template-columns: 1fr !important; }
}


.workshop-header-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.workshop-card-v3 .wc-icon {
  width: 85px; height: 85px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(10, 77, 77, 0.12), rgba(6, 33, 65, 0.1));
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(10, 77, 77, 0.2);
  flex-shrink: 0;
}

.workshop-card-v3:hover .wc-icon {
  background: linear-gradient(135deg, rgba(10, 77, 77, 0.18), rgba(6, 33, 65, 0.15));
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 10px 25px rgba(6, 33, 65, 0.2);
}

.workshop-card-v3 .wc-icon svg {
  width: 42px; height: 42px;
  fill: none;
  stroke: #0a4d4d;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workshop-badge-inline {
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}

.workshop-badge-inline.upcoming  { background: linear-gradient(135deg, #3b82f6, #2563eb); color: white; }
.workshop-badge-inline.available { background: linear-gradient(135deg, #10b981, #059669); color: white; }
.workshop-badge-inline.full      { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
.workshop-badge-inline.ended     { background: linear-gradient(135deg, #6b7280, #4b5563); color: white; }

.workshop-card-v3 .workshop-title {
  color: #062141;
  font-size: 23px; line-height: 1.4;
  margin: 0 0 14px;
  font-weight: 800;
  word-wrap: break-word;
  letter-spacing: -0.3px;
}

.workshop-card-v3 .workshop-desc {
  margin: 0 0 22px;
  color: #475569;
  font-size: 15px; line-height: 1.7;
  /* flex-grow removed — conflicts with -webkit-line-clamp on iOS Safari */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.2px;
  max-height: calc(1.7em * 3);
}

.workshop-card-v3 .workshop-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  padding-top: 22px;
  border-top: 2px solid #f1f5f9;
}

.workshop-card-v3 .meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.2px;
}

.workshop-card-v3 .meta-item i { color: #0a4d4d; font-size: 16px; width: 20px; text-align: center; }

.workshop-card-v3 .workshop-partnership {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-radius: 12px;
  margin-bottom: 18px;
  border-right: 4px solid #0a4d4d;
  font-size: 14px; color: #555;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.workshop-card-v3 .workshop-partnership i { color: #0a4d4d; font-size: 18px; }
.workshop-card-v3 .workshop-partnership strong { color: #062141; font-weight: 700; }

.workshop-card-v3 .workshop-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.workshop-card-v3 .btn-details-full {
  width: 100%;
  text-align: center;
  padding: 16px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.3px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #084343, #0e4343);
  color: white;
  box-shadow: 0 6px 15px rgba(10, 77, 77, 0.3);
  position: relative; overflow: hidden;
  min-height: 52px;
}

.workshop-card-v3 .btn-details-full::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.workshop-card-v3 .btn-details-full:hover::before { opacity: 1; }

.workshop-card-v3 .btn-details-full:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(10, 77, 77, 0.4);
}

.workshop-card-v3 .btn-details-full:active { transform: translateY(-1px); }

/* workshops footer / view-all buttons: hidden (cards are clickable) */
.workshops-footer,
.experts-footer,
.achievements-footer,
.btn-view-all,
.btn-view-all-experts,
.btn-view-all-achievements,
.section-footer { display: none !important; }

/* Workshops/Experts now in .we-section — hide old swipers */
#workshopsGrid   { display: none !important; }
#workshopsSwiper { display: none !important; }
#achievementsGrid { display: grid; }
#achievementsSwiper { display: none; }

@media (max-width: 1024px) {
  #achievementsGrid { display: none !important; }
  #achievementsSwiper { display: block !important; height: 67%; }
}

@media (max-width: 768px) {
}

/* ======================
   EXPERTS SECTION
   ====================== */
/* experts-section hidden — now part of we-section */
.experts-container { display: none !important; }
.experts-section .experts-grid { display: none !important; }

.expert-card {
  width: 100%;
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(6, 33, 65, 0.08);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: visible;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

/* Corner angle decorators — top-right & bottom-left brackets */
.expert-card::before,
.expert-card::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Top-right corner (RTL: top-left visually) */
.expert-card::before {
  top: 14px;
  right: 14px;
  border-top: 3px solid #0a4d4d;
  border-right: 3px solid #0a4d4d;
  border-radius: 0 6px 0 0;
  transform: translate(6px, -6px);
}

/* Bottom-left corner (RTL: bottom-right visually) */
.expert-card::after {
  bottom: 14px;
  left: 14px;
  border-bottom: 3px solid #062141;
  border-left: 3px solid #062141;
  border-radius: 0 0 0 6px;
  transform: translate(-6px, 6px);
}

.expert-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(6, 33, 65, 0.18);
  border-color: rgba(10, 77, 77, 0.25);
}

.expert-card:hover::before,
.expert-card:hover::after {
  opacity: 1;
  transform: translate(0, 0);
}

.expert-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.expert-avatar-modern {
  width: 105px; height: 105px;
  display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
}

.expert-avatar-modern::before { display: none !important; }

.expert-photo {
  width: 105px; height: 105px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  position: relative; z-index: 2;
  box-shadow: 0 10px 30px rgba(6, 33, 65, 0.25);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  background: linear-gradient(135deg, #062141, #0a4d4d);
}

.expert-card:hover .expert-photo {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 15px 40px rgba(6, 33, 65, 0.35);
}

.expert-icon-fallback {
  width: 105px; height: 105px;
  border-radius: 50%;
  background: linear-gradient(135deg, #062141, #0a4d4d);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  border: 5px solid white;
  box-shadow: 0 10px 30px rgba(6, 33, 65, 0.25);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.expert-icon-fallback i {
  font-size: 44px; color: white; opacity: 0.95;
  transition: transform 0.4s ease;
}

.expert-card:hover .expert-icon-fallback {
  background: linear-gradient(135deg, #0a4d4d, #1a7a7a);
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 15px 40px rgba(6, 33, 65, 0.35);
}

.expert-card:hover .expert-icon-fallback i { transform: scale(1.12); }

.expert-badge {
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--secondary);
  background: var(--secondary-soft);
  border: 1px solid var(--border-color);
  white-space: normal; text-align: center;
  flex: 1; min-width: 0; line-height: 1.4;
  max-width: 200px;
}

.expert-name {
  font-size: 25px; font-weight: 800;
  color: #062141;
  margin: 14px 0 12px;
  word-wrap: break-word;
  letter-spacing: -0.3px;
}

.expert-specialty {
  font-size: 16px; font-weight: 600;
  color: #475569;
  margin: 0 0 16px;
  flex-grow: 1;
  word-wrap: break-word;
  line-height: 1.7;
  letter-spacing: 0.2px;
}

.expert-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: auto;
}

.expert-link {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 12px;
  background: var(--secondary-soft);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
  min-height: 48px;
  display: inline-flex; align-items: center;
  letter-spacing: 0.3px;
}

.expert-link:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.expert-link:active { transform: translateY(-1px); }

/* myExpertsSwiper no longer used */
.myExpertsSwiper { display: none !important; }

/* ======================
   ACHIEVEMENTS SECTION
   ====================== */
.achievements-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  text-align: center;
}

.achievements-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0 auto;
}

.achievement-card-v2 {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  text-align: right;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  cursor: pointer;
}

.achievement-card-v2:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(6, 33, 65, 0.2);
  border-color: rgba(10, 77, 77, 0.3);
}

.achieve-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-light);
}

.achieve-image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.achievement-card-v2:hover .achieve-image { transform: scale(1.12) rotate(1deg); }

.achieve-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--gradient-primary);
  color: white;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.3px;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.achieve-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.achieve-title {
  margin: 0;
  font-size: 21px; font-weight: 800;
  color: #062141; line-height: 1.4;
  letter-spacing: -0.3px;
}

.achieve-meta { display: flex; gap: 12px; flex-wrap: wrap; }

.meta-chip {
  display: inline-flex;
  align-items: center; gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--secondary-soft);
  color: var(--secondary);
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.2px;
  border: 1px solid var(--border-color);
}

.meta-chip i { color: var(--secondary); }

.achieve-description {
  margin: 0;
  color: #475569; font-size: 15px; line-height: 1.75;
  letter-spacing: 0.2px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* flex-grow removed — it prevents line-clamp from working in Safari/iOS */
  max-height: calc(1.75em * 3); /* hard fallback for browsers that ignore -webkit-line-clamp */
}

.achieve-link {
  margin-top: auto;
  display: inline-flex; align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--secondary); font-weight: 700; font-size: 15px;
  letter-spacing: 0.3px;
  width: fit-content;
  transition: gap 0.3s ease, color 0.3s ease;
  padding: 8px 0;
  min-height: 44px;
}

.achievement-card-v2:hover .achieve-link { gap: 16px; color: var(--accent); }

.achieve-link span { transition: transform 0.3s ease; font-size: 18px; font-weight: bold; }
.achievement-card-v2:hover .achieve-link span { transform: translateX(-6px); }

@media (max-width: 768px) {
  .achievements-section { padding: 60px 20px; }
}

/* ======================
   TWEETS SECTION
   ====================== */
.tweets-section {
  padding: 80px 20px;
  background: #ffffff;
  text-align: center;
}

.tweets-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.tweets-swiper .twitter-tweet {
  margin: 0 !important;
  width: 340px !important;
  max-width: 340px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-md) !important;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}

.tweets-swiper .swiper-slide:hover .twitter-tweet {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-8px) !important;
}

@media (max-width: 992px) { .tweets-section { padding: 60px 16px; } }

/* ======================
   FOOTER — Option C (light)
   ====================== */
.main-footer,
footer.main-footer {
  background: #f8fafc !important;
  color: #062141 !important;
  margin-top: 80px !important;
  padding: 0 !important;
  position: relative !important;
  border-top: 0.5px solid rgba(6,33,65,0.08) !important;
}

/* Accent bar top */
.main-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(147deg, #08366b, #042467, #002260);
  z-index: 1;
}

/* Brand row — light version */
.footer-brand-row {
  padding: 52px 80px 44px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 60px;
  align-items: start;
  border-bottom: 0.5px solid rgba(6,33,65,0.08);
  background: #f8fafc;
}

.footer-brand-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-name-b {
  font-size: 38px;
  font-weight: 800;
  color: #062141;
  margin-bottom: 10px;
}

.footer-brand-tagline-b {
  font-size: 16px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social-b {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-b a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #062141;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .25s ease;
}

.footer-social-b a i {
  color: white !important;
  font-size: 18px !important;
}

.footer-social-b a:hover {
  background: linear-gradient(135deg, #0a4d4d, #1a7a7a);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(6,33,65,0.2);
}

.footer-contact-b {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  width: 100%;
}

.footer-contact-label {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: .5px;
}

.footer-email-b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #062141;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s;
  direction: ltr;
}

.footer-email-b i {
  font-size: 15px;
  color: #0a4d4d;
}

.footer-email-b:hover {
  color: #0a4d4d;
}

/* Links row — reuse brand-row grid cols 2&3 */
.footer-links-row {
  display: none; /* merged into brand-row grid */
}

.footer-links-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: #062141;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-col ul li a {
  font-size: 16px;
  color: #64748b !important;
  text-decoration: none;
  display: block;
  padding: 7px 0;
  font-weight: 500;
  transition: all .2s ease;
}

.footer-links-col ul li a:hover {
  color: #062141 !important;
  transform: translateX(-4px);
}

/* Bottom bar */
.footer-bottom {
  padding: 20px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #94a3b8 !important;
  max-width: unset;
  margin: 0;
  border-top: 0.5px solid rgba(6,33,65,0.08);
  background: #f8fafc;
}

.footer-bottom a {
  color: #0a4d4d !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.footer-bottom a:hover {
  color: #062141 !important;
  transform: none;
  display: inline;
}

/* Hide old footer container */
.main-footer .footer-container { display: none !important; }

@media (max-width: 768px) {
  .footer-brand-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 24px 28px;
  }
  .footer-bottom {
    padding: 18px 24px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ======================
   BACK TO TOP BUTTON
   ====================== */
.back-to-top-btn {
  position: fixed;
  bottom: 32px; left: 32px;
  z-index: 9999;
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #062141;
  box-shadow: 0 10px 30px rgba(10, 51, 77, 0.4);
  border: none; cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(30px) scale(0.8);
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.back-to-top-btn.show {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn i {
  color: white !important; font-size: 23px !important;
  transition: transform 0.3s ease;
}

.back-to-top-btn:hover {
  transform: translateY(-10px) scale(1.15);
  box-shadow: 0 20px 50px rgba(10, 47, 77, 0.5);
  background: linear-gradient(135deg, #1a477a, #2a489a);
}

.back-to-top-btn:hover i { transform: translateY(-4px); }
.back-to-top-btn:active { transform: translateY(-8px) scale(1.12); }

/* ======================
   FONT AWESOME FIX
   ====================== */
i.fa-solid, i.fas { 
  font-family: "Font Awesome 6 Free" !important; 
  font-weight: 900 !important; 
  font-style: normal !important;
  display: inline-block !important;
  line-height: 1 !important;
}
i.fa-regular, i.far { 
  font-family: "Font Awesome 6 Free" !important; 
  font-weight: 400 !important; 
}
i.fa-brands, i.fab { 
  font-family: "Font Awesome 6 Brands" !important; 
  font-weight: 400 !important; 
}

/* Only force white on icons that actually need it */
.back-to-top-btn i,
.footer-social .social-icon i,
footer i { 
  color: #ffffff !important; 
}
footer .fa-brands { 
  font-family: "Font Awesome 6 Brands" !important; 
  font-weight: 400 !important; 
}

/* ======================
   GLOBAL RESPONSIVE
   ====================== */
@media (max-width: 768px) {
  .slogan { font-size: 42px; }
  .sub-slogan { font-size: 20px; }
  .section-title { font-size: 36px !important; }
  .section-subtitle { font-size: 17px !important; }

  .action-buttons {
    flex-direction: column;
    width: 100%; max-width: 320px;
  }

  .btn-secondary { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .slogan { font-size: 36px; }
  .sub-slogan { font-size: 18px; }
  .section-title { font-size: 30px !important; }
  .section-subtitle { font-size: 16px !important; }
}

/* =============================================
   MOBILE: tighter text clamping on small screens
   ============================================= */
@media (max-width: 768px) {
  .achieve-description {
    -webkit-line-clamp: 2 !important;
    max-height: calc(1.75em * 2) !important;
    font-size: 14px;
  }

  .achieve-title {
    font-size: 17px !important;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: calc(1.4em * 2);
  }

  .workshop-card-v3 .workshop-desc {
    -webkit-line-clamp: 2 !important;
    max-height: calc(1.7em * 2) !important;
    font-size: 14px;
  }
}




/* ======================
   SWIPER SLIDES: remove min-height so autoHeight works fully
   ====================== */
#workshopsSwiper .swiper-slide .workshop-card-v3,
.workshops-swiper .swiper-slide .workshop-card-v3 {
  min-height: unset !important;
}

.myExpertsSwiper .swiper-slide .expert-card {
  min-height: unset !important;
}

#achievementsSwiper .swiper-slide .achievement-card-v2,
.achievements-swiper .swiper-slide .achievement-card-v2 {
  min-height: unset !important;
}

/* ── wrapper link ── */
.ht-topics-cta {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(6,33,65,0.08);
  border: 1px solid rgba(6,33,65,0.07);
  text-decoration: none;
  margin-bottom: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ht-topics-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(6,33,65,0.15);
}

/* ── left: dark mosaic ── */
.htc-mosaic {
  background: linear-gradient(160deg, #062141, #0a3355);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.htc-tile {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.ht-topics-cta:hover .htc-tile {
  background: rgba(255,255,255,0.17);
}
.ht-topics-cta:hover .htc-tile:nth-child(1) { transform: translateY(-3px); }
.ht-topics-cta:hover .htc-tile:nth-child(2) { transform: translateY(-3px); transition-delay: .05s; }
.ht-topics-cta:hover .htc-tile:nth-child(3) { transform: translateY(-3px); transition-delay: .1s; }

.htc-tile img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.htc-tile span {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  text-align: center;
  line-height: 1.4;
  font-family: 'Tajawal', sans-serif;
}

/* +more tile */
.htc-tile-more {
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.22);
}
.htc-more-num {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: rgba(255,255,255,0.75) !important;
  line-height: 1 !important;
}
.htc-more-label {
  font-size: 10px !important;
  color: rgba(255,255,255,0.4) !important;
  font-weight: 600 !important;
}

/* ── right: text body ── */
.htc-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.htc-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: #0a4d4d;
  letter-spacing: 0.5px;
}

.htc-title {
  font-size: 22px;
  font-weight: 800;
  color: #062141;
  line-height: 1.35;
  margin: 0;
}

.htc-sub {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

.htc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  background: linear-gradient(135deg, #062141, #0a4d4d);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  align-self: flex-start;
  transition: gap 0.25s ease, opacity 0.25s ease;
  font-family: 'Tajawal', sans-serif;
}
.ht-topics-cta:hover .htc-btn {
  gap: 12px;
}
.htc-btn i {
  font-size: 11px;
}

/* ── responsive ── */
@media (max-width: 900px) {
  .ht-topics-cta {
    grid-template-columns: 180px 1fr;
  }
  .htc-body {
    padding: 24px 26px;
    gap: 8px;
  }
  .htc-title { font-size: 18px; }
}

@media (max-width: 640px) {
  .ht-topics-cta {
    grid-template-columns: 1fr;
  }
  .htc-mosaic {
    grid-template-rows: auto;
    padding: 18px;
    gap: 8px;
  }
  .htc-tile { padding: 12px 6px; }
  .htc-body {
    padding: 22px 22px;
    gap: 8px;
  }
  .htc-title { font-size: 17px; }
  .htc-sub { font-size: 13px; }
  .htc-btn { font-size: 13px; padding: 10px 20px; }
}

@media (max-width: 400px) {
  .htc-mosaic { grid-template-columns: repeat(2, 1fr); }
}