/* --- Magazine Section css starts --- */

.magazine-section {
  background-color: var(--bg-light); /* Very faint purple-white tint from screenshot */
  padding: 100px 0;
  overflow: hidden;
}

/* Typography Overrides */
.mag-subtitle {
  color: var(--dark-color);
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mag-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.btn-mag-view {
  background-color: var(--dark-color);
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: 2px; /* Sharp corners like screenshot */
  border: none;
  transition: all 0.3s ease;
}

.btn-mag-view:hover {
  background-color: #e55f00;
  color: #ffffff;
}

/* Right Header Features */
.mag-features-title {
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-black);
  margin-bottom: 20px;
}

.mag-feature-item {
  display: flex;
  align-items: center;
}

.mag-feature-icon {
  width: 32px;
  height: 32px;
  background-color: var(--dark-color);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-right: 15px;
}

.mag-feature-icon svg {
  width: 16px;
  height: 16px;
  color: #ffffff;
}

.mag-feature-text {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-grey);
  line-height: 1.5;
}

/* --- Interactive Tabs System --- */
.mag-tabs-wrapper {
  border-top: 1px dotted rgba(0, 2, 64, 0.2);
  border-bottom: 1px dotted rgba(0, 2, 64, 0.2);
  padding: 20px 0;
  margin-bottom: 30px;
}

.mag-tabs-list {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; /* Prevents overflow on mobile */
  margin: 0;
  padding: 0;
}

.mag-tab-btn {
  background-color: #ffffff;
  color: var(--text-black);
  border: 1px solid #e0e0e0;
  padding: 8px 30px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Specific styling for inactive tabs to match screenshot's underline */
.mag-tab-btn:not(.active) {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mag-tab-btn:hover:not(.active) {
  background-color: #f0f0f0;
}

.mag-tab-btn.active {
  background-color: var(--dark-color) !important;
  color: #ffffff !important;
  border-color: var(--dark-color) !important;
  text-decoration: none;
}

/* --- Card Architecture --- */
.mag-card {
  background-color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 0; /* Perfectly sharp rectangular cards */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mag-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.mag-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.mag-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mag-card:hover .mag-card-img-wrap img {
  transform: scale(1.05);
}

.mag-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Pushes the button perfectly to the bottom */
}

.mag-card-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-black);
  margin-bottom: 12px;
  line-height: 1.4;
}

.mag-card-meta {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 25px;
}

.btn-mag-download {
  background-color: var(--dark-color);
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  border: none;
  padding: 12px;
  border-radius: 0; /* Sharp corners */
  transition: background-color 0.3s ease;
}

.btn-mag-download:hover {
  background-color: var(--dark-color);
  color: #ffffff;
}

/* --- Responsive Layout Adjustments --- */
@media (max-width: 991px) {
  .magazine-section {
    padding: 80px 0;
  }
  .mag-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .mag-title {
    font-size: 1.8rem;
  }
  .mag-tab-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    width: 100%; /* Stacks beautifully on small screens */
  }
  .mag-card-content {
    padding: 20px 15px;
  }
}
/* --- Magazine Section css ends --- */

/* --- Magazine Section css starts --- */

.magazine-section {
  background-color: #fff; /* Very faint purple-white tint from screenshot */
  padding: 100px 0;
  overflow: hidden;
}

/* Typography Overrides */
.mag-subtitle {
  color: var(--dark-color);
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mag-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.btn-mag-view {
  background-color: var(--dark-color);
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: 2px; /* Sharp corners like screenshot */
  border: none;
  transition: all 0.3s ease;
}

.btn-mag-view:hover {
  background-color: #e55f00;
  color: #ffffff;
}

/* Right Header Features */
.mag-features-title {
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-black);
  margin-bottom: 20px;
}

.mag-feature-item {
  display: flex;
  align-items: center;
}

.mag-feature-icon {
  width: 32px;
  height: 32px;
  background-color: var(--dark-color);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-right: 15px;
}

.mag-feature-icon svg {
  width: 16px;
  height: 16px;
  color: #ffffff;
}

.mag-feature-text {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-grey);
  line-height: 1.5;
}

/* --- Interactive Tabs System --- */
.mag-tabs-wrapper {
  border-top: 1px dotted rgba(0, 2, 64, 0.2);
  border-bottom: 1px dotted rgba(0, 2, 64, 0.2);
  padding: 20px 0;
  margin-bottom: 30px;
}

.mag-tabs-list {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; /* Prevents overflow on mobile */
  margin: 0;
  padding: 0;
}

.mag-tab-btn {
  background-color: #ffffff;
  color: var(--text-black);
  border: 1px solid #e0e0e0;
  padding: 8px 30px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Specific styling for inactive tabs to match screenshot's underline */
.mag-tab-btn:not(.active) {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mag-tab-btn:hover:not(.active) {
  background-color: #f0f0f0;
}

.mag-tab-btn.active {
  background-color: var(--dark-color) !important;
  color: #ffffff !important;
  border-color: var(--dark-color) !important;
  text-decoration: none;
}

/* --- Card Architecture --- */
.mag-card {
  background-color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 0; /* Perfectly sharp rectangular cards */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mag-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.mag-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.mag-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mag-card:hover .mag-card-img-wrap img {
  transform: scale(1.05);
}

.mag-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Pushes the button perfectly to the bottom */
}

.mag-card-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-black);
  margin-bottom: 12px;
  line-height: 1.4;
}

.mag-card-meta {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 25px;
}

.btn-mag-download {
  background-color: var(--dark-color);
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  border: none;
  padding: 12px;
  border-radius: 0; /* Sharp corners */
  transition: background-color 0.3s ease;
}

.btn-mag-download:hover {
  background-color: var(--dark-color);
  color: #ffffff;
}

/* --- Responsive Layout Adjustments --- */
@media (max-width: 991px) {
  .magazine-section {
    padding: 80px 0;
  }
  .mag-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .mag-title {
    font-size: 1.8rem;
  }
  .mag-tab-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    width: 100%; /* Stacks beautifully on small screens */
  }
  .mag-card-content {
    padding: 20px 15px;
  }
}
/* edition-section starts */
.edition-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #fffbfb 0%, #f9f7ff 100%);
}

.ed-heading {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #131313;
  margin-bottom: 10px;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
  text-align: center;
}

.ed-subheading {
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  color: #555555;
  line-height: 1.5;
  text-align: center;
}

.ed-btn {
  background-color: var(--dark-color) !important;
  color: #ffffff;
  border: none;
  padding: 10px 30px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 2px;
  margin-top: 5px;
}

.ed-btn:hover {
  background-color: #75159b;
}

.ed-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #131313;
  margin-bottom: 8px;
}

.ed-meta p {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: #333;
  line-height: 1.4;
}

.ed-meta .role {
  color: #666;
  margin-bottom: 15px;
}

.ed-excerpt-box {
  border-left: 2px dotted var(--dark-color) !important;
  padding-left: 15px;
  margin-bottom: 15px;
}

.ed-excerpt-box p {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.5;
  margin: 0;
}

.ed-card-horizontal {
  background-color: #ffffff;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.ed-img-wrapper-h {
  width: 100%;
  height: 250px; /* fixed height */
  overflow: hidden;
}

.ed-img-wrapper-h img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ed-content-h {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.ed-card-vertical {
  background-color: transparent;
  margin-bottom: 50px;
}

.ed-img-wrapper-v {
  width: 100%;
  height: 250px;
  margin-bottom: 20px;
  overflow: hidden;
}

.ed-img-wrapper-v img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ed-card-vertical:hover .ed-img-wrapper-v img {
  transform: scale(1.03);
}

.ed-content-v {
  padding: 0;
}

@media (max-width: 991px) {
  .ed-card-horizontal {
    height: auto;
  }

  .ed-img-wrapper-h {
    height: 250px;
  }

  .ed-list-sidebar {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .ed-card-vertical {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .edition-section {
    padding: 60px 0;
  }

  .ed-heading {
    font-size: 2rem;
  }

  .ed-card-horizontal .row {
    flex-direction: column;
  }

  .ed-img-wrapper-h {
    height: 220px;
  }

  .ed-content-h {
    padding: 20px;
  }

  .ed-list-sidebar {
    grid-template-columns: 1fr;
  }
}
/* --- Magazine Section css ends --- */
/* --- Sponsors Section css starts --- */

.startup-sponsors-section {
  background-color: var(--light-color);
  padding: 100px 0;
  overflow: hidden;
}

/* Header Typography */
.sc-title {
  color: #111111;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.5rem; /* Huge, commanding title */
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
}

/* Header Right - List Styling */
.sc-supported-title {
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #444444;
}

.sc-list-item {
  display: flex;
  align-items: flex-start; /* Aligns text perfectly with top of icon if it spans two lines */
}

.sc-list-icon {
  width: 32px;
  height: 32px;
  background-color: var(--dark-color);
  border-radius: 6px; /* Softly rounded corners */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-right: 14px;
}

.sc-list-icon svg {
  width: 16px;
  height: 16px;
  color: #ffffff;
}

.sc-list-text {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #222222;
  line-height: 1.4;
  margin-top: 4px; /* Optically centers the first line of text with the icon */
}

/* Primary Button (Orange) */
.btn-sc-primary {
  background-color: var(--dark-color);
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 3px;
  border: none;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-sc-primary:hover {
  background-color: var(--dark-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- The 4 Cards --- */
.sc-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #f0f0f0; /* Very faint border to define the white area */
  border-radius: 2px;
  height: 320px; /* Uniform height ensuring grids line up perfectly */
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* The Magic Diagonal Background Layer */
.sc-card-slant {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--dark-color);
  /* The Exact Polygon: Starts at 48% down on the left, goes to 16% down on the right */
  clip-path: polygon(0 48%, 100% 16%, 100% 100%, 0 100%);
  z-index: 1;
  border: 1px solid var(--dark-color);
}

/* Content Container above the slant */
.sc-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Top Text Area */
.sc-card-title {
  padding: 22px 24px 0 24px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111111;
  line-height: 1.4;
  margin: 0;
}

/* Bottom Action Area 
   Takes up exactly the bottom 60% of the card, effectively 
   centering its contents perfectly inside the orange slant visually. */
.sc-action-area {
  margin-top: auto;
  height: 60%; 
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

/* Ghost Button Styling */
.btn-sc-ghost {
  background-color: transparent;
  color: #000000;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1.5px solid #111111; /* Sharp black border */
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-sc-ghost:hover {
  background-color: var(--dark-color);
  border: 1.5px solid #111111; /* Sharp black border */
  color: #000000;
}

/* Logos Wrapper inside Cards */
.sc-logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sc-logo-img {
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sc-logo-img svg {
  width: 100%;
  height: 100%;
  color: #ffffff;
}

.sc-logo-text {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1199px) {
  .sc-title {
    font-size: 3rem;
  }
}

@media (max-width: 991px) {
  .startup-sponsors-section {
    padding: 80px 0;
  }
  
  /* Reset Card Heights on tablet to accommodate aspect ratio change */
  .sc-card {
    height: 280px; 
  }
}

@media (max-width: 576px) {
  .startup-sponsors-section {
    padding: 60px 0;
  }
  .sc-title {
    font-size: 2.5rem;
  }
  .btn-sc-primary {
    width: 100%;
    text-align: center;
  }
}
/* --- Sponsors Section css ends --- */

/* =========================================
   UNIVERSITY GORILLA AWARDS (Standalone Section)
   ========================================= */

.aw-v1-section {
  background-color: #ffffff; /* Crisp white background */
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body, "Inter", sans-serif);
}

.aw-v1-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Header */
.aw-v1-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.aw-v1-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-color, #2d1b4e); /* University Navy/Purple */
  margin-bottom: 12px;
  display: block;
}

.aw-v1-heading {
  font-family: var(--font-heading, "Bricolage Grotesque", sans-serif);
  font-size: 3.2rem;
  color: #1E2A38; /* Keep dark for optimal contrast */
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.5px;
}

.aw-v1-cta {
  padding: 14px 32px;
  border-radius: 6px;
  background-color: var(--primary-color, #2d1b4e); 
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.aw-v1-cta:hover {
  background-color: var(--dark-color, #6b4fa2); /* Vibrant purple hover */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 27, 78, 0.25);
}

/* Stats Row */
.aw-v1-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 50px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.aw-v1-stat {
  font-size: 0.9rem;
  color: #6B7280;
}

.aw-v1-stat strong {
  color: #1E2A38;
  font-weight: 800;
}

.aw-v1-stat-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.15);
}

/* Labeled Dividers */
.aw-v1-divider {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-color, #2d1b4e);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.aw-v1-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: rgba(45, 27, 78, 0.15);
}

/* Past Winners (Horizontal Scroll) */
.aw-v1-winners-track {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.aw-v1-winners-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.aw-v1-winner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 180px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.aw-v1-winner-card:hover {
  border-color: rgba(45, 27, 78, 0.2);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

/* Advanced Shimmering Purple/Lavender Ring */
.aw-v1-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(30,42,56,0.05), rgba(107, 79, 162, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #1E2A38;
  position: relative;
}

.aw-v1-avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 4px solid transparent;
  /* Updated to match University Gorilla Purples */
  background: conic-gradient(rgb(160, 132, 92), rgb(232, 212, 139), rgb(160, 132, 92), rgb(139, 105, 20), rgb(160, 132, 92)) border-box border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.8;
}

.aw-v1-winner-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1E2A38;
  margin-bottom: 4px;
}

.aw-v1-winner-title {
  font-size: 0.75rem;
  color: #6B7280;
  line-height: 1.4;
  margin-bottom: 16px;
  flex-grow: 1;
}

.aw-v1-winner-badge {
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 800;
  background-color: var(--light-color, #f0ecfa);
  color: var(--primary-color, #2d1b4e);
  border: 1px solid rgba(45, 27, 78, 0.15);
  white-space: nowrap;
}

/* Category Grid */
.aw-v1-cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.aw-v1-cat-card {
  padding: 30px 20px;
  border-radius: 12px;
  border: 1px solid #daa52038;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.aw-v1-cat-card:hover {
  border-color: rgba(45, 27, 78, 0.2);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

.aw-v1-cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(45, 27, 78, 0.08), rgba(45, 27, 78, 0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.aw-v1-cat-icon svg {
  width: 28px;
  height: 28px;
  stroke: #A0845C;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aw-v1-cat-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1E2A38;
  margin-bottom: 6px;
  line-height: 1.3;
}

.aw-v1-cat-sub {
  font-size: 0.75rem;
  color: #9CA3AF;
}

/* Footer Note */
.aw-v1-footer {
  text-align: center;
  font-size: 0.85rem;
  color: #6B7280;
  font-style: italic;
  margin-top: 50px;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
  .aw-v1-cats-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 991.98px) {
  .aw-v1-section { padding: 80px 0; }
  .aw-v1-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .aw-v1-cats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767.98px) {
  .aw-v1-heading { font-size: 2.6rem; }
  .aw-v1-cats-grid { grid-template-columns: repeat(2, 1fr); }
  .aw-v1-stats { gap: 16px; justify-content: flex-start; }
}

@media (max-width: 575.98px) {
  .aw-v1-section { padding: 60px 0; }
  .aw-v1-heading { font-size: 2.2rem; }
  .aw-v1-cats-grid { grid-template-columns: 1fr; }
  .aw-v1-cta { width: 100%; justify-content: center; }
  .aw-v1-stats { flex-direction: column; align-items: flex-start; }
  .aw-v1-stat-dot { display: none; }
}

/* =========================================
  DIRECTORY (Variation D - Standalone)
   ========================================= */
.dir-vb-section {
  background-color: #f5f5f5;
  padding: 100px 0;
  font-family: "DM Sans", sans-serif;
}

.dir-vb-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.dir-vb-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  padding: 48px;
  border: 1px solid rgba(0,0,0,0.03);
}

/* Header */
.dir-vb-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 35px;
  flex-wrap: wrap;
  gap: 20px;
}

.dir-vb-heading {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.6rem;
  color: var(--dark-color, #1E2A38);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.dir-vb-subtext {
  font-size: 0.9rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 500;
}

.dir-vb-subtext-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #d1d5da;
}

.dir-vb-badges {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.dir-vb-badge {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--light-color, #F4F1EC);
  color: var(--dark-color, #1E2A38);
  border: 1px solid rgba(0,0,0,0.05);
  white-space: nowrap;
}

/* Search Bar */
.dir-vb-search-wrap {
  position: relative;
  margin-bottom: 35px;
}

.dir-vb-search {
  width: 100%;
  padding: 18px 24px 18px 56px;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark-color, #1E2A38);
  background-color: #ffffff;
  outline: none;
  transition: all 0.3s ease;
}

.dir-vb-search::placeholder {
  color: #a0aab5;
}

.dir-vb-search:focus {
  border-color: var(--primary-color, #A0845C);
  box-shadow: 0 0 0 4px rgba(160, 132, 92, 0.1);
}

.dir-vb-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #a0aab5;
  pointer-events: none;
  transition: color 0.3s ease;
}

.dir-vb-search:focus ~ .dir-vb-search-icon {
  color: var(--primary-color, #A0845C);
}

/* Top Country Pills */
.dir-vb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.dir-vb-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background-color: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1E2A38;
  cursor: pointer;
  white-space: nowrap;
}

.dir-vb-pill:hover {
  border-color: var(--primary-color, #A0845C);
  box-shadow: 0 4px 12px rgba(160, 132, 92, 0.1);
  transform: translateY(-2px);
}

.dir-vb-pill-count {
  padding: 3px 8px;
  border-radius: 100px;
  background-color: var(--light-color, #F4F1EC);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary-color, #A0845C);
}

/* Continent Tabs */
.dir-vb-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 30px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dir-vb-tabs::-webkit-scrollbar {
  display: none;
}

.dir-vb-tab {
  padding: 12px 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #8c98a4;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.3s ease;
  margin-bottom: -1px; /* Overlaps the bottom border */
}

.dir-vb-tab:hover {
  color: var(--dark-color, #1E2A38);
}

.dir-vb-tab.active {
  color: var(--dark-color, #1E2A38);
  border-bottom-color: var(--primary-color, #A0845C);
}

/* List Grid */
.dir-vb-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 24px;
  min-height: 400px; /* Prevents jumping when filtering */
  align-content: start;
}

.dir-vb-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4A5665;
  transition: all 0.2s ease;
  cursor: pointer;
  padding: 6px 0;
}

.dir-vb-list-item:hover {
  color: var(--primary-color, #A0845C);
  transform: translateX(4px);
}

.dir-vb-list-item img {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Footer Section */
.dir-vb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.06);
  flex-wrap: wrap;
  gap: 20px;
}

.dir-vb-footer-stat {
  font-size: 0.85rem;
  color: #6c757d;
}

.dir-vb-footer-stat strong {
  color: var(--dark-color, #1E2A38);
  font-weight: 800;
}

.dir-vb-footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-color, #1E2A38);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dir-vb-footer-link:hover {
  color: var(--primary-color, #A0845C);
  gap: 12px; /* Smooth arrow slide effect */
}

.dir-vb-footer-link svg {
  width: 16px;
  height: 16px;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .dir-vb-list-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991.98px) {
  .dir-vb-section { padding: 80px 0; }
  .dir-vb-card { padding: 40px 30px; }
  .dir-vb-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767.98px) {
  .dir-vb-list-grid { grid-template-columns: repeat(2, 1fr); }
  .dir-vb-heading { font-size: 2.2rem; }
  .dir-vb-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
  .dir-vb-section { padding: 60px 0; }
  .dir-vb-card { padding: 30px 20px; }
  .dir-vb-list-grid { grid-template-columns: 1fr; }
  .dir-vb-pills { display: none; } /* Hide pills on very small screens to save space */
}

/* --- DARK SECTION (Map & Top Jurisdictions) --- */
.dir-vc-dark {
  background-color: var(--dark-color, #1E2A38);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  font-family: "DM Sans", sans-serif;
}

.dir-vc-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.dir-vc-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Dark Header */
.dir-vc-header {
  margin-bottom: 50px;
}
.dir-vc-eyebrow {
  color: var(--primary-color, #A0845C);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.dir-vc-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 3.4rem;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.dir-vc-stats-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.95rem;
  color: #D1D5DA;
  font-weight: 500;
}
.dir-vc-stat-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--primary-color, #A0845C);
}

/* Interactive Map Area */
.dir-vc-map-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 500px;
}

/* Aspect Ratio Lock for Map & Dots */
.dir-vc-map-inner {
  position: relative;
  width: 100%;
  max-width: 850px;
  aspect-ratio: 2 / 1;
  margin: 0 auto;
}

.dir-vc-map-svg {
  width: 100%;
  height: 100%;
  opacity: 0.15;
}
.dir-vc-map-svg path {
  fill: #ffffff;
  stroke: #ffffff;
  stroke-width: 0.2;
}

/* Map Dots */
.dir-vc-map-dots {
  position: absolute;
  inset: 0;
}
.dir-vc-dot {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  background: rgba(255,255,255,0.3);
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}
.dir-vc-dot--featured {
  background: var(--primary-color, #A0845C);
  width: 12px;
  height: 12px;
  box-shadow: 0 0 15px rgba(160, 132, 92, 0.8);
  z-index: 10;
}
.dir-vc-dot--featured::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--primary-color, #A0845C);
  opacity: 0.6;
  animation: pulseGold 2s ease-out infinite;
}
@keyframes pulseGold {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Tooltips */
.dir-vc-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 8px 14px;
  background: #ffffff;
  color: var(--dark-color, #1E2A38);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 30;
}
.dir-vc-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #ffffff;
}
.dir-vc-dot:hover .dir-vc-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Frosted Glass Panel */
.dir-vc-glass-panel {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  z-index: 20;
}
.dir-vc-glass-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-color, #A0845C);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.dir-vc-glass-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dir-vc-glass-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.3s ease;
  cursor: pointer;
}
.dir-vc-glass-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.dir-vc-glass-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  flex-grow: 1;
}

/* --- LIGHT SECTION (All Jurisdictions Grid) --- */
.dir-vc-light {
  background-color: #ffffff;
  padding: 80px 0 100px 0;
  font-family: var(--font-body);
}
.dir-vc-light-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding-bottom: 20px;
  flex-wrap: wrap;
  gap: 20px;
}
.dir-vc-light-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.2rem;
  color: var(--dark-color, #1E2A38);
  margin: 0;
}
.dir-vc-light-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-color, #1E2A38);
  text-decoration: none;
  transition: color 0.3s ease;
}
.dir-vc-light-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}
.dir-vc-light-link:hover { color: var(--primary-color, #A0845C); }
.dir-vc-light-link:hover svg { transform: translateX(4px); }

/* Region Groups */
.dir-vc-region { margin-bottom: 50px; }
.dir-vc-region-header {
  font-size: 0.75rem;
  font-weight: 800;
  color: #8c98a4;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  padding-bottom: 10px;
}
.dir-vc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px 24px;
}
.dir-vc-grid-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-color, #1E2A38);
  transition: all 0.2s ease;
  cursor: default;
}
.dir-vc-grid-item:hover {
  color: var(--primary-color, #A0845C);
  transform: translateX(3px);
}
.dir-vc-grid-item img {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
  .dir-vc-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 991.98px) {
  .dir-vc-dark { padding: 80px 0; }
  .dir-vc-grid { grid-template-columns: repeat(4, 1fr); }
  .dir-vc-glass-panel {
    position: relative;
    top: auto; right: auto; transform: none;
    width: 100%;
    margin-top: 30px;
  }
  .dir-vc-map-wrapper { min-height: auto; padding: 20px; flex-direction: column; }
}
@media (max-width: 767.98px) {
  .dir-vc-grid { grid-template-columns: repeat(3, 1fr); }
  .dir-vc-title { font-size: 2.6rem; }
  .dir-vc-light-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575.98px) {
  .dir-vc-grid { grid-template-columns: repeat(2, 1fr); }
  .dir-vc-title { font-size: 2.2rem; }
}
/*  Directory (Variation D) Ends */


/* =========================================
   UNIVERSITY GORILLA MAGAZINE V1 SECTION 
   ========================================= */

.mag-section {
  background-color: #ffffff; /* Crisp white background */
  padding: 100px 0;
  font-family: var(--font-body, "Inter", sans-serif);
}

.mag-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header Area --- */
.mag-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.mag-eyebrow {
  color: var(--primary-color, #2d1b4e); /* University Navy/Purple */
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.mag-title {
  font-family: var(--font-heading, "Bricolage Grotesque", sans-serif);
  font-size: 3.2rem;
  color: #1E2A38; /* Strong dark text for headers */
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.5px;
}

/* Header Right Pills */
.mag-header-pills {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.mag-header-pill {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--light-color, #f0ecfa); /* Lavender tint background */
  color: var(--primary-color, #2d1b4e);
  border: 1px solid rgba(45, 27, 78, 0.1);
}

.mag-view-all {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1E2A38;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mag-view-all svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.mag-view-all:hover { color: var(--dark-color, #6b4fa2); }
.mag-view-all:hover svg { transform: translateX(4px); }

/* Header Bottom Line & Tags */
.mag-header-bottom {
  display: flex;
  gap: 10px;
  padding-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.8);
  margin-bottom: 60px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mag-header-bottom::-webkit-scrollbar { display: none; }

.mag-tag {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6B7280;
  border: 1px solid rgba(0,0,0,0.1);
  white-space: nowrap;
  cursor: default;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mag-tag:hover {
  background-color: #f8f9fa;
  color: var(--primary-color, #2d1b4e);
}

/* --- Dynamic Content Area --- */
.mag-active-area {
  display: flex;
  gap: 60px;
  margin-bottom: 60px;
  transition: opacity 0.3s ease-in-out; /* Smooth fade for JS swap */
}

.mag-active-area.fade-out {
  opacity: 0;
}

/* Left: Cover Image */
.mag-cover-col {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mag-cover-img-wrap {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3 / 4;
  position: relative;
  /* Creating the "Physical Magazine" illusion */
  border-radius: 4px 12px 12px 4px;
  box-shadow: -15px 15px 35px rgba(0,0,0,0.15), inset 2px 0 5px rgba(255,255,255,0.4);
  overflow: hidden;
  margin-bottom: 16px;
  background-color: #f0f0f0;
}

.mag-cover-img-wrap::before {
  /* The Magazine Spine line */
  content: '';
  position: absolute;
  top: 0; left: 10px; bottom: 0; width: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(0,0,0,0.1));
  z-index: 2;
}

.mag-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mag-cover-caption {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6B7280;
}

/* Right: Content Details */
.mag-details-col {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mag-issue-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-color, #2d1b4e);
  margin-bottom: 16px;
}

.mag-issue-title {
  font-family: var(--font-heading, "Bricolage Grotesque", sans-serif);
  font-size: 2.2rem;
  color: #1E2A38;
  line-height: 1.2;
  margin-bottom: 24px;
}

.mag-issue-desc {
  font-size: 1.05rem;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 40px;
}

.mag-toc-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 20px;
}

/* The Dotted Leader Table of Contents */
.mag-toc-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.mag-toc-item {
  display: flex;
  align-items: baseline; /* Aligns text perfectly */
  gap: 12px;
}

.mag-toc-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-color, #2d1b4e); /* Changed to primary-color */
  flex-shrink: 0;
  position: relative;
  top: -2px;
}

.mag-toc-article {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E2A38;
  line-height: 1.4;
}

.mag-toc-dots {
  flex-grow: 1;
  border-bottom: 2px dotted rgba(0,0,0,0.15);
  margin: 0 4px;
  position: relative;
  top: -4px;
}

.mag-toc-page {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-color, #6b4fa2); /* Highlighting the page number subtly */
  white-space: nowrap;
}

/* Action Buttons */
.mag-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-mag-primary {
  padding: 14px 32px;
  border-radius: 6px;
  background-color: var(--primary-color, #2d1b4e);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid var(--primary-color, #2d1b4e);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-mag-primary:hover {
  background-color: var(--dark-color, #6b4fa2);
  border-color: var(--dark-color, #6b4fa2);
  color: #ffffff;
}

.btn-mag-outline {
  padding: 14px 32px;
  border-radius: 6px;
  background-color: transparent;
  color: var(--primary-color, #2d1b4e);
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid rgba(45, 27, 78, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-mag-outline:hover {
  background-color: var(--light-color, #f0ecfa);
  border-color: var(--primary-color, #2d1b4e);
}

/* --- Archive Section (Thumbnails) --- */
.mag-archive-row {
  display: flex;
  gap: 30px;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.mag-archive-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #9CA3AF;
  text-transform: uppercase;
}

.mag-archive-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
  flex-grow: 1;
}

.mag-archive-track::-webkit-scrollbar { display: none; }

.mag-thumb {
  width: 120px;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: 2px solid transparent;
}

.mag-thumb:hover, .mag-thumb.active {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.mag-thumb.active {
  border-color: var(--primary-color, #2d1b4e); /* Highlighting active thumbnail */
}

.mag-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mag-thumb-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(45, 27, 78, 0.95), transparent);
  padding: 15px 10px 10px 10px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
  .mag-active-area { flex-direction: column; gap: 40px; }
  .mag-cover-col, .mag-details-col { width: 100%; }
  .mag-header-top { flex-direction: column; align-items: flex-start; }
  .mag-view-all { justify-content: flex-start; }
}

@media (max-width: 767.98px) {
  .mag-title { font-size: 2.6rem; }
  .mag-issue-title { font-size: 1.8rem; }
  .mag-archive-label { writing-mode: horizontal-tb; transform: none; margin-bottom: 10px; }
  .mag-archive-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .mag-actions { flex-direction: column; width: 100%; }
  .btn-mag-primary, .btn-mag-outline { width: 100%; text-align: center; }
}

@media (max-width: 575.98px) {
  .mag-title { font-size: 2.2rem; }
}

/* =========================================
   UNIVERSITY GORILLA INSIGHTS (Variation 2 - Editorial)
   ========================================= */

.in-v2-section {
  background-color: #ffffff;
  padding: 100px 0;
  font-family: var(--font-body, "Inter", sans-serif);
}

.in-v2-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header --- */
.in-v2-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.in-v2-eyebrow {
  color: var(--primary-color, #2d1b4e);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.in-v2-heading {
  font-family: var(--font-heading, "Bricolage Grotesque", sans-serif);
  font-size: 3.2rem;
  color: var(--dark-color, #1E2A38);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.5px;
}

.in-v2-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1E2A38;
  text-decoration: none;
  transition: color 0.3s ease;
  padding-bottom: 10px;
}

.in-v2-view-all svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.in-v2-view-all:hover {
  color: var(--dark-color, #6b4fa2);
}

.in-v2-view-all:hover svg {
  transform: translateX(4px);
}

/* --- Filter Pills --- */
.in-v2-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.in-v2-filters::-webkit-scrollbar {
  display: none;
}

.in-v2-filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  background-color: transparent;
  color: #6c757d;
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.in-v2-filter-btn:hover {
  border-color: var(--primary-color, #2d1b4e);
  color: var(--primary-color, #2d1b4e);
}

.in-v2-filter-btn.active {
  background-color: var(--primary-color, #2d1b4e);
  color: #ffffff;
  border-color: var(--primary-color, #2d1b4e);
}

/* --- Featured Article (Hero) --- */
.in-v2-featured {
  display: flex;
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 40px;
  transition: box-shadow 0.3s ease;
}

.in-v2-featured:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.in-v2-feat-img-wrap {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.in-v2-feat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.in-v2-featured:hover .in-v2-feat-img {
  transform: scale(1.03);
}

.in-v2-feat-content {
  width: 50%;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.in-v2-feat-badge {
  display: inline-block;
  background-color: var(--light-color, #f0ecfa);
  color: var(--primary-color, #2d1b4e);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  width: max-content;
}

.in-v2-feat-title {
  font-family: var(--font-heading, "Bricolage Grotesque", sans-serif);
  font-size: 2.2rem;
  color: #1E2A38;
  line-height: 1.2;
  margin-bottom: 16px;
}

/* The distinct italicized excerpt */
.in-v2-feat-desc {
  font-size: 1.05rem;
  color: #6B7280;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 40px;
  flex-grow: 1;
}

.in-v2-feat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 20px;
}

.in-v2-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.in-v2-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0ecfa, #e1d8f5);
  color: var(--primary-color, #2d1b4e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
}

.in-v2-author-info h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  color: #1E2A38;
  margin: 0 0 2px 0;
}

.in-v2-author-info p {
  font-size: 0.75rem;
  color: #9CA3AF;
  margin: 0;
}

.in-v2-read-btn {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1E2A38;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.in-v2-featured:hover .in-v2-read-btn {
  color: var(--dark-color, #6b4fa2);
}

/* --- Bottom Section (Editorial Split) --- */
.in-v2-bottom-divider {
  height: 1.5px;
  background-color: #1E2A38;
  margin: 40px 0;
  width: 100%;
}

.in-v2-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Secondary Card (Left) */
.in-v2-sec-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.in-v2-sec-card:hover .in-v2-sec-img {
  transform: scale(1.04);
}

.in-v2-sec-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 24px;
}

.in-v2-sec-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* The dotted category style - Editorial Multi-color retained */
.in-v2-cat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.in-v2-cat-label.color-blue { color: #2563EB; }
.in-v2-cat-label.color-green { color: #059669; }
.in-v2-cat-label.color-purple { color: var(--dark-color, #6b4fa2); }

.in-v2-cat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.in-v2-cat-dot.bg-blue { background-color: #2563EB; }
.in-v2-cat-dot.bg-green { background-color: #059669; }
.in-v2-cat-dot.bg-purple { background-color: var(--dark-color, #6b4fa2); }

.in-v2-sec-title {
  font-family: var(--font-heading, "Bricolage Grotesque", sans-serif);
  font-size: 1.8rem;
  color: #1E2A38;
  line-height: 1.25;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.in-v2-sec-card:hover .in-v2-sec-title {
  color: var(--dark-color, #6b4fa2);
}

.in-v2-sec-desc {
  font-size: 0.95rem;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 20px;
}

.in-v2-meta {
  font-size: 0.75rem;
  color: #9CA3AF;
  font-weight: 500;
  display: flex;
  gap: 12px;
}

/* List Articles (Right) */
.in-v2-list-group {
  display: flex;
  flex-direction: column;
}

.in-v2-list-item {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.in-v2-list-item:hover {
  transform: translateX(4px);
}

.in-v2-list-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.in-v2-list-item .in-v2-sec-title {
  font-size: 1.4rem;
}

.in-v2-list-item:hover .in-v2-sec-title {
  color: var(--dark-color, #6b4fa2);
}
.dir-vc-grid-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1E2A38;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dir-vc-grid-item a img {
    width: 22px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
} 
/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
  .in-v2-section { padding: 80px 0; }
  .in-v2-featured { flex-direction: column; }
  .in-v2-feat-img-wrap, .in-v2-feat-content { width: 100%; }
  .in-v2-feat-img-wrap { aspect-ratio: 16/9; }
  .in-v2-feat-content { padding: 40px 30px; }
  .in-v2-bottom-grid { gap: 30px; }
}

@media (max-width: 767.98px) {
  .in-v2-heading { font-size: 2.6rem; }
  .in-v2-bottom-grid { grid-template-columns: 1fr; }
  .in-v2-list-group { margin-top: 10px; border-top: 1px solid rgba(0,0,0,0.08); padding-top: 30px; }
}

@media (max-width: 575.98px) {
  .in-v2-section { padding: 60px 0; }
  .in-v2-heading { font-size: 2.2rem; }
  .in-v2-feat-content { padding: 30px 20px; }
  .in-v2-feat-title { font-size: 1.8rem; }
}