/* ==========================================================================

   JAMMU KASHMIR STUDY CENTRE (JKSC) - MODERN DESIGN SYSTEM

   Premier National Think Tank Web Experience

   ========================================================================== */



:root {

  /* Brand Palette */

  --primary: #37358b;

  --primary-hover: #29276c;

  --primary-light: #f2eef4;

  --primary-glow: rgba(55, 53, 139, 0.25);

  --primary-gradient: linear-gradient(135deg, #37358b 0%, #ae8feb 100%);

  

  --dark: #0f172a;

  --dark-surface: #1e293b;

  --text-main: #1e293b;

  --text-muted: #64748b;

  --text-light: #94a3b8;

  

  --bg-page: #ffffff;

  --bg-surface: #f2eef4;

  --bg-card: #ffffff;

  

  --border: #e2e8f0;

  --border-focus: #cbd5e1;

  

  --accent-gold: #d97706;

  --accent-blue: #2563eb;

  --accent-green: #059669;

  

  /* Layout & Geometry */

  --radius-sm: 6px;

  --radius-md: 10px;

  --radius-lg: 16px;

  --radius-pill: 9999px;

  

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);

  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);

  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);

  --shadow-hover: 0 16px 36px rgba(55, 53, 139, 0.12);

  

  --max-width: 1240px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

}



/* Base Reset */

*, *::before, *::after {

  box-sizing: border-box;

  margin: 0;

  padding: 0;

}



html {

  font-size: 16px;

  scroll-behavior: smooth;

}



body {

  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  color: var(--text-main);

  background-color: var(--bg-page);

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;

}



img {

  max-width: 100%;

  height: auto;

  display: block;

}



a {

  color: inherit;

  text-decoration: none;

  transition: var(--transition);

}



button, input, textarea, select {

  font-family: inherit;

  font-size: inherit;

}



/* Container */

.container {

  width: 100%;

  max-width: var(--max-width);

  margin-left: auto;

  margin-right: auto;

  padding-left: 24px;

  padding-right: 24px;

}



/* ==========================================================================

   TOP BAR & NAVIGATION

   ========================================================================== */

.top-bar {

  background: var(--dark);

  color: #e2e8f0;

  font-size: 0.82rem;

  padding: 8px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

}



.top-bar-content {

  display: flex;

  justify-content: space-between;

  align-items: center;

}



.top-bar-tagline {

  display: flex;

  align-items: center;

  gap: 8px;

  font-weight: 500;

  letter-spacing: 0.3px;

}



.top-bar-tagline .badge {

  background: var(--primary);

  color: #fff;

  font-size: 0.7rem;

  font-weight: 700;

  padding: 2px 8px;

  border-radius: var(--radius-sm);

  text-transform: uppercase;

}



.top-bar-links {

  display: flex;

  align-items: center;

  gap: 20px;

}



.top-bar-links a:hover {

  color: #fff;

}



.lang-switch {

  display: flex;

  gap: 6px;

  background: rgba(255, 255, 255, 0.1);

  padding: 2px 8px;

  border-radius: var(--radius-sm);

  font-size: 0.75rem;

  font-weight: 700;

}



.lang-switch .active {

  color: #fff;

}



/* Main Navbar */

.site-header {

  position: sticky;

  top: 0;

  background: rgba(55, 53, 139, 0.98);

  backdrop-filter: blur(12px);

  z-index: 1000;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

}



.navbar {

  display: flex;

  align-items: center;

  justify-content: space-between;

  height: 76px;

}



.brand-logo {

  display: flex;

  align-items: center;

  gap: 14px;

}



.brand-emblem {

  width: 44px;

  height: 44px;

  background: rgba(255, 255, 255, 0.15);

  border: 1.5px solid rgba(255, 255, 255, 0.4);

  border-radius: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #fff;

  font-weight: 800;

  font-size: 1.15rem;

  box-shadow: 0 2px 8px rgba(0,0,0,0.15);

}



.brand-text {

  display: flex;

  flex-direction: column;

}



.brand-name {

  color: #fff;

  font-size: 1.25rem;

  font-weight: 800;

  letter-spacing: -0.3px;

  line-height: 1.2;

}



.brand-sub {

  color: rgba(255, 255, 255, 0.8);

  font-size: 0.72rem;

  font-weight: 600;

  letter-spacing: 0.5px;

  text-transform: uppercase;

}



.nav-menu {
  flex-wrap: nowrap;

  display: flex;

  align-items: center;

  gap: 8px;

  list-style: none;

}



.nav-link {

  color: rgba(255, 255, 255, 0.9);

  font-size: 0.95rem;

  font-weight: 600;

  padding: 8px 16px;

  border-radius: var(--radius-sm);

  position: relative;

  transition: var(--transition);

}



.nav-link:hover {

  color: #fff;

  background: rgba(255, 255, 255, 0.1);

}



.nav-link.active {

  color: #fff;

  background: rgba(255, 255, 255, 0.18);

}



.nav-link.active::after {

  content: '';

  position: absolute;

  bottom: 0;

  left: 16px;

  right: 16px;

  height: 3px;

  background: #fff;

  border-radius: 3px 3px 0 0;

}



.nav-cta {
  white-space: nowrap;
  flex-shrink: 0;

  background: #fff;

  color: var(--primary) !important;

  font-weight: 700;

  padding: 9px 20px;

  border-radius: var(--radius-pill);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  margin-left: 8px;

}



.nav-cta:hover {

  background: #f8fafc;

  transform: translateY(-1px);

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);

}



/* Mobile Toggle */

.mobile-toggle {

  display: none;

  background: transparent;

  border: none;

  color: #fff;

  font-size: 1.6rem;

  cursor: pointer;

  padding: 6px;

}



/* ==========================================================================

   HERO BANNER

   ========================================================================== */

.hero-slider-section {

  position: relative;

  background: var(--dark);

  color: #fff;

  overflow: hidden;

  min-height: 540px;

  display: flex;

  align-items: center;

}



.hero-bg-media {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  opacity: 0.38;

  filter: saturate(1.1) brightness(0.9);

}



.hero-overlay-gradient {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.85) 100%),

              radial-gradient(circle at 20% 50%, rgba(55, 53, 139, 0.25) 0%, transparent 60%);

}



.hero-content {

  position: relative;

  z-index: 10;

  max-width: 820px;

  padding: 80px 0;

}



.hero-tag {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  background: var(--primary);

  color: #fff;

  font-size: 0.8rem;

  font-weight: 700;

  letter-spacing: 0.8px;

  text-transform: uppercase;

  padding: 6px 14px;

  border-radius: var(--radius-sm);

  margin-bottom: 20px;

  box-shadow: 0 4px 12px rgba(55, 53, 139, 0.4);

}



.hero-title {

  font-size: 2.85rem;

  font-weight: 800;

  line-height: 1.2;

  letter-spacing: -0.8px;

  margin-bottom: 18px;

  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);

}



.hero-meta {

  display: flex;

  align-items: center;

  gap: 16px;

  color: #cbd5e1;

  font-size: 0.92rem;

  margin-bottom: 26px;

}



.hero-meta-item {

  display: flex;

  align-items: center;

  gap: 6px;

}



.hero-excerpt {

  font-size: 1.12rem;

  color: #e2e8f0;

  line-height: 1.65;

  margin-bottom: 32px;

  max-width: 720px;

}



.hero-actions {

  display: flex;

  align-items: center;

  gap: 16px;

}



.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  padding: 12px 28px;

  font-size: 0.95rem;

  font-weight: 600;

  border-radius: var(--radius-md);

  border: 1px solid transparent;

  cursor: pointer;

  transition: var(--transition);

}



.btn-primary {

  background: var(--primary);

  color: #fff;

  box-shadow: 0 4px 16px var(--primary-glow);

}



.btn-primary:hover {

  background: var(--primary-hover);

  transform: translateY(-2px);

  box-shadow: 0 8px 24px rgba(55, 53, 139, 0.35);

}



.btn-outline-white {

  background: transparent;

  color: #fff;

  border-color: rgba(255, 255, 255, 0.4);

}



.btn-outline-white:hover {

  background: rgba(255, 255, 255, 0.15);

  border-color: #fff;

  transform: translateY(-2px);

}



.btn-outline-purple {

  background: transparent;

  color: var(--primary);

  border: 1.5px solid var(--primary);

}



.btn-outline-purple:hover {

  background: var(--primary);

  color: #fff;

  transform: translateY(-2px);

}



.btn-sm {

  padding: 8px 18px;

  font-size: 0.85rem;

  border-radius: var(--radius-sm);

}



/* ==========================================================================

   SECTION HEADERS & PILL FILTERS

   ========================================================================== */

.section {

  padding: 72px 0;

}



.section-bg-alt {

  background-color: var(--bg-surface);

  border-top: 1px solid var(--border);

  border-bottom: 1px solid var(--border);

}



.section-header {

  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  margin-bottom: 40px;

  flex-wrap: wrap;

  gap: 20px;

}



.section-header-centered {

  text-align: center;

  max-width: 720px;

  margin: 0 auto 48px;

}



.section-kicker {

  display: inline-block;

  font-size: 0.8rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 1.2px;

  color: var(--primary);

  margin-bottom: 8px;

}



.section-title {

  font-size: 2.25rem;

  font-weight: 800;

  color: var(--dark);

  letter-spacing: -0.6px;

  line-height: 1.25;

}



.section-subtitle {

  font-size: 1.05rem;

  color: var(--text-muted);

  margin-top: 10px;

  line-height: 1.6;

}



.section-viewall {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  color: var(--primary);

  font-weight: 700;

  font-size: 0.95rem;

  padding: 8px 16px;

  border-radius: var(--radius-sm);

  background: var(--primary-light);

}



.section-viewall:hover {

  background: #ede9fe;

  transform: translateX(4px);

}



/* Filter Pills Bar */

.filter-pills-bar {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  justify-content: center;

  gap: 10px;

  margin-bottom: 40px;

}



.filter-pill {

  background: #f1f5f9;

  color: #475569;

  border: 1px solid var(--border);

  padding: 9px 24px;

  font-size: 0.9rem;

  font-weight: 600;

  border-radius: var(--radius-pill);

  cursor: pointer;

  transition: var(--transition);

}



.filter-pill:hover {

  background: #e2e8f0;

  color: var(--dark);

}



.filter-pill.active {

  background: var(--primary) !important;

  color: #fff !important;

  border-color: var(--primary) !important;

  box-shadow: 0 4px 14px var(--primary-glow);

}



/* ==========================================================================

   ARTICLE & OPINION CARDS (3-COLUMN GRID)

   ========================================================================== */

.cards-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;

}



.article-card {

  background: #fff;

  border: 1px solid var(--border);

  border-radius: var(--radius-lg);

  overflow: hidden;

  display: flex;

  flex-direction: column;

  transition: var(--transition);

  box-shadow: var(--shadow-sm);

}



.article-card:hover {

  transform: translateY(-6px);

  box-shadow: var(--shadow-hover);

  border-color: #cbd5e1;

}



.article-thumb-wrap {

  position: relative;

  width: 100%;

  padding-top: 56.25%; /* 16:9 ratio locked */

  background: var(--dark-surface);

  overflow: hidden;

}



.article-thumb {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.4s ease;

}



.article-card:hover .article-thumb {

  transform: scale(1.05);

}





.article-category-badge {

  font-size: 0.72rem;

  font-weight: 700;

  letter-spacing: 0.5px;

  text-transform: uppercase;

  color: #fff;

  padding: 2px 8px;

  border-radius: var(--radius-sm);

  display: inline-block;

  line-height: 1.4;

}



.article-badge {

  position: absolute;

  top: 14px;

  left: 14px;

  font-size: 0.72rem;

  font-weight: 700;

  letter-spacing: 0.6px;

  text-transform: uppercase;

  color: #fff;

  padding: 4px 12px;

  border-radius: var(--radius-sm);

  backdrop-filter: blur(4px);

  box-shadow: 0 2px 6px rgba(0,0,0,0.25);

}



.badge-research { background: #2563eb; }

.badge-politics { background: #4f46e5; }

.badge-culture { background: #059669; }

.badge-columnists { background: #d97706; }

.badge-opinion { background: #37358b; }



.article-body {

  padding: 24px;

  display: flex;

  flex-direction: column;

  flex-grow: 1;

}



.article-meta {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 12px;

  color: var(--text-muted);

  font-size: 0.82rem;

  margin-bottom: 12px;

}



.article-title {

  font-size: 1.15rem;

  font-weight: 700;

  line-height: 1.4;

  color: var(--dark);

  margin-bottom: 12px;

}



.article-title a:hover {

  color: var(--primary);

}



.article-excerpt {

  color: #475569;

  font-size: 0.92rem;

  line-height: 1.6;

  margin-bottom: 20px;

  flex-grow: 1;

}



.article-readmore {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  color: var(--primary);

  font-weight: 700;

  font-size: 0.88rem;

  margin-top: auto;

  transition: var(--transition);

}



.article-card:hover .article-readmore {

  color: var(--primary-hover);

  transform: translateX(4px);

}



/* ==========================================================================

   PUBLICATIONS SECTION (3D BOOK SHOWCASE)

   ========================================================================== */

/* ==========================================================================
   PUBLICATIONS SHOWCASE & GRID (Hover Actions Overlay)
   ========================================================================== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: stretch;
}

.book-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.book-card:hover {
  transform: translateY(-6px);
}

.book-cover-wrap {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  background: #f8fafc;
}

.book-card:hover .book-cover-wrap {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.12);
}

.book-cover {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  transition: transform 0.35s ease;
}

.book-card:hover .book-cover {
  transform: scale(1.02);
}

/* Hover Dark Overlay */
.book-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 28px;
  opacity: 0;
  visibility: hidden;
  border-radius: 6px;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 5;
}

.book-cover-wrap:hover .book-cover-overlay,
.book-card:hover .book-cover-overlay {
  opacity: 1;
  visibility: visible;
}

/* Action Buttons Container on Overlay */
.book-overlay-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  transform: translateY(6px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-cover-wrap:hover .book-overlay-actions,
.book-card:hover .book-overlay-actions {
  transform: translateY(0);
}

/* Purple Icon Buttons */
.book-overlay-btn {
  width: 44px;
  height: 44px;
  background: #37358b;
  color: #ffffff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.book-overlay-btn:hover {
  background: #29276c;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(55, 53, 139, 0.5);
}

.book-overlay-btn svg {
  display: block;
  stroke: #ffffff;
  width: 20px;
  height: 20px;
}

/* Backward compatibility classes if ever called */
.book-actions { display: none; }
.book-btn { display: none; }



/* ==========================================================================

   NEWSLETTER BANNER

   ========================================================================== */

.newsletter-card {

  background: linear-gradient(135deg, #f8fafc 0%, #f3e8ff 100%);

  border: 1px solid #e9d5ff;

  border-radius: var(--radius-lg);

  padding: 48px 40px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 32px;

  box-shadow: 0 8px 24px rgba(55, 53, 139, 0.05);

}



.newsletter-info h3 {

  font-size: 1.85rem;

  font-weight: 800;

  color: var(--dark);

  line-height: 1.3;

  margin-bottom: 6px;

}



.newsletter-info p {

  color: #64748b;

  font-size: 1rem;

}



.newsletter-form {

  display: flex;

  gap: 12px;

  width: 100%;

  max-width: 480px;

}



.newsletter-input {

  flex: 1;

  background: #fff;

  border: 1.5px solid #cbd5e1;

  border-radius: var(--radius-md);

  padding: 12px 18px;

  font-size: 0.95rem;

  color: var(--dark);

  outline: none;

  transition: var(--transition);

}



.newsletter-input:focus {

  border-color: var(--primary);

  box-shadow: 0 0 0 3px var(--primary-glow);

}



/* ==========================================================================

   OUR PEOPLE (ABOUT PAGE)

   ========================================================================== */

.people-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 28px;

}



.person-card {

  background: #fff;

  border: 1px solid var(--border);

  border-radius: var(--radius-lg);

  padding: 24px 20px;

  text-align: center;

  transition: var(--transition);

  box-shadow: var(--shadow-sm);

}



.person-card:hover {

  transform: translateY(-5px);

  box-shadow: var(--shadow-md);

  border-color: #cbd5e1;

}



.person-avatar {

  width: 120px;

  height: 120px;

  border-radius: var(--radius-pill);

  object-fit: cover;

  margin: 0 auto 16px;

  border: 3px solid #fff;

  box-shadow: 0 4px 14px rgba(0,0,0,0.12);

}



.person-name {

  font-size: 1.1rem;

  font-weight: 700;

  color: var(--dark);

  margin-bottom: 4px;

}



.person-role {

  color: var(--primary);

  font-size: 0.85rem;

  font-weight: 600;

  margin-bottom: 10px;

}



.person-bio {

  color: var(--text-muted);

  font-size: 0.85rem;

  line-height: 1.5;

}



/* ==========================================================================

   PAGINATION

   ========================================================================== */

.pagination-wrap {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 8px;

  margin-top: 50px;

}



.page-num {

  width: 42px;

  height: 42px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: var(--radius-sm);

  background: #fff;

  border: 1px solid var(--border);

  color: #334155;

  font-weight: 700;

  font-size: 0.95rem;

  cursor: pointer;

  transition: var(--transition);

}



.page-num:hover {

  border-color: var(--primary);

  color: var(--primary);

}



.page-num.active {

  background: var(--primary);

  border-color: var(--primary);

  color: #fff;

}



/* ==========================================================================

   FOOTER

   ========================================================================== */

.site-footer {

  background: #090e17;

  color: #94a3b8;

  padding: 72px 0 32px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

}



.footer-grid {

  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1.5fr;

  gap: 48px;

  margin-bottom: 56px;

}



.footer-col h4 {

  color: #fff;

  font-size: 1.05rem;

  font-weight: 700;

  margin-bottom: 20px;

  letter-spacing: -0.2px;

}



.footer-about p {

  color: #94a3b8;

  font-size: 0.92rem;

  line-height: 1.7;

  margin-top: 14px;

}



.footer-links {

  list-style: none;

}



.footer-links li {

  margin-bottom: 12px;

}



.footer-links a {

  color: #94a3b8;

  font-size: 0.92rem;

  transition: var(--transition);

}



.footer-links a:hover {

  color: #fff;

  padding-left: 4px;

}



.footer-contact-item {

  display: flex;

  align-items: flex-start;

  gap: 12px;

  margin-bottom: 14px;

  font-size: 0.9rem;

  color: #94a3b8;

}



.footer-contact-item span {

  color: var(--primary);

  font-size: 1.1rem;

}



.footer-bottom {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding-top: 28px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  font-size: 0.85rem;

}



/* ==========================================================================

   RESPONSIVE MEDIA QUERIES

   ========================================================================== */

@media (max-width: 1024px) {

  .cards-grid {

    grid-template-columns: repeat(2, 1fr);

  }

  .books-grid {

    grid-template-columns: repeat(3, 1fr);

  }

  .people-grid {

    grid-template-columns: repeat(2, 1fr);

  }

  .footer-grid {

    grid-template-columns: repeat(2, 1fr);

    gap: 36px;

  }

  .newsletter-card {

    flex-direction: column;

    text-align: center;

  }

}



@media (max-width: 768px) {

  .top-bar {

    display: none;

  }

  .nav-menu {
  flex-wrap: nowrap;

    display: none;

  }

  .mobile-toggle {

    display: block;

  }

  .hero-title {

    font-size: 2.1rem;

  }

  .cards-grid,

  .books-grid,

  .people-grid,

  .footer-grid {

    grid-template-columns: 1fr;

  }

  .footer-bottom {

    flex-direction: column;

    gap: 12px;

    text-align: center;

  }

  .newsletter-form {

    flex-direction: column;

  }

}



/* WordPress Admin Bar Compatibility */

body.admin-bar .site-header {

  top: 32px !important;

}

@media screen and (max-width: 782px) {

  body.admin-bar .site-header {

    top: 46px !important;

  }

}





/* ==========================================================================

   COLLABORATIONS & PARTNER LOGOS

   ========================================================================== */

.collab-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));

  gap: 24px;

}

.collab-card {

  background: #fff;

  border: 1px solid var(--border);

  border-radius: var(--radius-lg);

  padding: 28px 20px;

  text-align: center;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  box-shadow: var(--shadow-sm);

  transition: var(--transition);

}

.collab-card:hover {

  transform: translateY(-4px);

  box-shadow: var(--shadow-md);

  border-color: var(--primary);

}

.collab-logo {
  height: 44px;
  max-height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: grayscale(5%);
  transition: var(--transition);
}

.collab-card:hover .collab-logo {
  height: 44px;
  max-height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: grayscale(5%);
  transition: var(--transition);
}

.collab-name {

  font-size: 0.95rem;

  font-weight: 700;

  color: var(--dark);

  line-height: 1.35;

}

.collab-type {

  font-size: 0.78rem;

  color: var(--primary);

  font-weight: 600;

  margin-top: 6px;

  text-transform: uppercase;

  letter-spacing: 0.5px;

}





/* ==========================================================================

   INTERACTIVE TABS COMPONENT (PATRONS, PEOPLE, FELLOWS)

   ========================================================================== */

.tabs-wrapper {

  margin-top: 16px;

}

.tabs-nav {

  display: flex;

  justify-content: center;

  gap: 12px;

  margin-bottom: 40px;

  flex-wrap: wrap;

}

.tab-btn {

  background: #fff;

  color: var(--text);

  border: 1.5px solid var(--border);

  padding: 12px 28px;

  font-size: 1rem;

  font-weight: 700;

  border-radius: var(--radius-pill);

  cursor: pointer;

  transition: all 0.25s ease;

  display: inline-flex;

  align-items: center;

  gap: 8px;

}

.tab-btn:hover {

  border-color: var(--primary);

  color: var(--primary);

  transform: translateY(-2px);

}

.tab-btn.active {

  background: var(--primary);

  color: #fff;

  border-color: var(--primary);

  box-shadow: 0 4px 14px rgba(55, 53, 139, 0.3);

}

.tab-panel {

  display: none;

}

.tab-panel.active {

  display: block;

}



/* Collab filter pills */

.collab-pills-bar {

  display: flex;

  justify-content: center;

  gap: 10px;

  margin-bottom: 36px;

  flex-wrap: wrap;

}

.collab-filter-pill {

  background: #fff;

  color: var(--text);

  border: 1.5px solid var(--border);

  padding: 10px 22px;

  font-size: 0.92rem;

  font-weight: 700;

  border-radius: var(--radius-pill);

  cursor: pointer;

  transition: all 0.2s ease;

}

.collab-filter-pill:hover {

  border-color: var(--primary);

  color: var(--primary);

}

.collab-filter-pill.active {

  background: var(--dark);

  color: #fff;

  border-color: var(--dark);

}



/* ============================================================

   Horizontal Patrons Format (Matches Reference Layout)

   ============================================================ */

.patrons-list {

  display: flex;

  flex-direction: column;

  gap: 48px;

  max-width: 1080px;

  margin: 0 auto;

  padding: 16px 0;

}



.patron-row {

  display: flex;

  gap: 36px;

  align-items: flex-start;

  padding-bottom: 48px;

  border-bottom: 1px solid #e2e8f0;

}



.patron-row:last-child {

  border-bottom: none;

  padding-bottom: 0;

}



.patron-thumb-wrap {

  flex: 0 0 220px;

  width: 220px;

  height: 220px;

  border-radius: 4px;

  overflow: hidden;

  background-color: #0f172a;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);

}



.patron-thumb {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.3s ease;

}



.patron-row:hover .patron-thumb {

  transform: scale(1.03);

}



.patron-content {

  flex: 1;

}



.patron-name {

  font-size: 1.45rem;

  font-weight: 700;

  color: #1e1b4b;

  margin-top: 0;

  margin-bottom: 14px;

  line-height: 1.35;

  letter-spacing: -0.01em;

}



.patron-bio {

  font-size: 1rem;

  line-height: 1.75;

  color: #334155;

  margin: 0;

}



@media (max-width: 768px) {

  .patron-row {

    flex-direction: column;

    gap: 20px;

    align-items: flex-start;

    padding-bottom: 36px;

  }

  .patron-thumb-wrap {

    width: 100%;

    max-width: 240px;

    height: 240px;

  }

}



/* ============================================================

   People Grid Section (Matches User Reference Screenshots)

   ============================================================ */

.team-people-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 36px 24px;

  max-width: 1100px;

  margin: 0 auto;

  padding: 24px 0 36px;

}



.team-person-card {

  display: flex;

  flex-direction: column;

}



.team-person-thumb-wrap {

  width: 100%;

  height: 250px;

  overflow: hidden;

  background: #f1f5f9;

  margin-bottom: 14px;

}



.team-person-thumb-wrap.empty {

  background: transparent;

}



.team-person-thumb {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.25s ease;

}



.team-person-card:hover .team-person-thumb {

  transform: scale(1.02);

}



.team-person-name {

  font-size: 1.08rem;

  font-weight: 700;

  color: #111827;

  margin: 0 0 6px 0;

  line-height: 1.35;

}



.team-person-role {

  font-size: 0.92rem;

  color: #6b21a8;

  line-height: 1.45;

  margin: 0;

  font-weight: 500;

}



@media (max-width: 1024px) {

  .team-people-grid {

    grid-template-columns: repeat(3, 1fr);

    gap: 28px 20px;

  }

}

@media (max-width: 768px) {

  .team-people-grid {

    grid-template-columns: repeat(2, 1fr);

    gap: 24px 16px;

  }

}

@media (max-width: 480px) {

  .team-people-grid {

    grid-template-columns: 1fr;

    gap: 24px;

  }

}


.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 46px;
  max-height: 46px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 40px;
    max-height: 40px;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 34px;
    max-height: 34px;
  }
}


/* ==========================================================================
   USER CUSTOM PALETTE (#37358b Primary, #f2eef4 Surface, #ae8feb Accent)
   ========================================================================== */
:root {
  --accent-purple: #ae8feb;
  --accent-purple-hover: #9c76e8;
  --accent-purple-glow: rgba(174, 143, 235, 0.35);
}

.site-header {
  background: rgba(55, 53, 139, 0.98) !important;
}

.top-bar {
  background: #24225a !important;
}

.nav-link.active,
.nav-link:hover {
  color: #ae8feb !important;
}

.nav-link.active::after {
  background: #ae8feb !important;
}

.nav-cta {
  white-space: nowrap;
  flex-shrink: 0;
  background: #ae8feb !important;
  color: #1e1b4b !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: #c4a9f7 !important;
  color: #1e1b4b !important;
}

.btn-primary {
  background: #37358b !important;
  border-color: #37358b !important;
}

.btn-primary:hover {
  background: #29276c !important;
  border-color: #29276c !important;
}

.section-bg-alt {
  background-color: #f2eef4 !important;
}

.section-kicker {
  color: #37358b !important;
}

.book-overlay-btn {
  background: #37358b !important;
  border: 1.5px solid rgba(174, 143, 235, 0.4) !important;
}

.book-overlay-btn:hover {
  background: #ae8feb !important;
  color: #1e1b4b !important;
}

.book-overlay-btn:hover svg {
  stroke: #1e1b4b !important;
}

.article-category-badge {
  background: #37358b !important;
  color: #ffffff !important;
}

.tab-btn.active,
.collab-filter-pill.active {
  background: #37358b !important;
  border-color: #37358b !important;
  color: #ffffff !important;
}

.tab-btn:hover,
.collab-filter-pill:hover {
  border-color: #ae8feb !important;
  color: #37358b !important;
}

