.explore-page {
  --explore-accent: #2563eb;
  --explore-secondary: #7c3aed;
  --explore-accent-rgb: 37, 99, 235;
  background:
    radial-gradient(circle at 7% 2%, rgba(var(--explore-accent-rgb), 0.09), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
  color: #172033;
  min-height: 100vh;
}

.explore-campus {
  --explore-accent: #0891b2;
  --explore-secondary: #7c3aed;
  --explore-accent-rgb: 8, 145, 178;
  background: transparent;
}

.explore-contacts {
  --explore-accent: #2563eb;
  --explore-secondary: #059669;
  --explore-accent-rgb: 37, 99, 235;
}

.explore-programs {
  --explore-accent: #7c3aed;
  --explore-secondary: #2563eb;
  --explore-accent-rgb: 124, 58, 237;
}

.explore-testimonials {
  --explore-accent: #db2777;
  --explore-secondary: #7c3aed;
  --explore-accent-rgb: 219, 39, 119;
}

.explore-events {
  --explore-accent: #ea580c;
  --explore-secondary: #db2777;
  --explore-accent-rgb: 234, 88, 12;
}

.explore-news {
  --explore-accent: #0284c7;
  --explore-secondary: #7c3aed;
  --explore-accent-rgb: 2, 132, 199;
}

.explore-page :is(
  .hero-title,
  .cp-hero h1,
  .hero h1,
  .explore-hero-title
) {
  font-size: clamp(1.75rem, 3vw, 2.45rem) !important;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.explore-hero {
  background:
    radial-gradient(circle at 88% 15%, rgba(255, 255, 255, 0.15), transparent 24%),
    linear-gradient(135deg, #0f2c5c 0%, var(--explore-accent) 55%, var(--explore-secondary) 100%);
  border-radius: 1.85rem;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.17);
  color: #fff;
  overflow: hidden;
  padding: 2.35rem;
  position: relative;
}

.explore-hero::after {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -75px;
  content: "";
  height: 190px;
  left: -40px;
  position: absolute;
  width: 190px;
}

.explore-hero > * {
  position: relative;
  z-index: 1;
}

.explore-eyebrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding: 0.5rem 0.9rem;
}

.explore-hero-title {
  margin: 0;
}

.explore-hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.04rem;
  line-height: 1.75;
  margin: 0.75rem 0 0;
  max-width: 760px;
}

.explore-section-title {
  align-items: center;
  color: #0f172a;
  display: flex;
  font-size: 1.4rem;
  font-weight: 800;
  gap: 0.65rem;
  margin: 2.2rem 0 1.1rem;
}

.explore-section-title i {
  align-items: center;
  background: linear-gradient(135deg, var(--explore-accent), var(--explore-secondary));
  border-radius: 0.8rem;
  color: #fff;
  display: inline-flex;
  font-size: 0.95rem;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.explore-page :is(.contact-card, .program-card, .testimonial-card, .tour-card, .explore-story-card) {
  --card-accent: var(--explore-accent);
  --card-secondary: var(--explore-secondary);
  --card-rgb: var(--explore-accent-rgb);
  border: 1px solid rgba(var(--card-rgb), 0.12);
  border-top: 5px solid var(--card-secondary);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.explore-page .row > div:nth-child(4n + 2) :is(.contact-card, .program-card, .testimonial-card, .explore-story-card) {
  --card-accent: #7c3aed;
  --card-secondary: #c084fc;
  --card-rgb: 124, 58, 237;
}

.explore-page .row > div:nth-child(4n + 3) :is(.contact-card, .program-card, .testimonial-card, .explore-story-card) {
  --card-accent: #059669;
  --card-secondary: #34d399;
  --card-rgb: 5, 150, 105;
}

.explore-page .row > div:nth-child(4n) :is(.contact-card, .program-card, .testimonial-card, .explore-story-card) {
  --card-accent: #ea580c;
  --card-secondary: #fbbf24;
  --card-rgb: 234, 88, 12;
}

.explore-page .row > div:nth-child(odd) :is(.contact-card, .program-card, .testimonial-card, .explore-story-card) {
  border-left: 5px solid var(--card-accent);
}

.explore-page .row > div:nth-child(even) :is(.contact-card, .program-card, .testimonial-card, .explore-story-card) {
  border-right: 5px solid var(--card-accent);
}

.explore-page :is(.contact-card, .program-card, .testimonial-card, .explore-story-card):hover {
  border-color: rgba(var(--card-rgb), 0.22);
  box-shadow:
    0 23px 48px rgba(15, 23, 42, 0.11),
    0 8px 20px rgba(var(--card-rgb), 0.1);
  transform: translateY(-6px);
}

.explore-page .testimonial-card::before {
  display: none;
}

.explore-page :is(.contact-card .meta-icon, .testimonial-card .meta-pill, .program-badge) {
  color: var(--card-accent);
}

.explore-story-card {
  background: #fff;
  border-radius: 1.35rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  height: 100%;
  overflow: hidden;
}

.explore-story-media {
  background: linear-gradient(135deg, rgba(var(--card-rgb), 0.13), #eef4fa);
  min-height: 175px;
  overflow: hidden;
  position: relative;
}

.explore-story-media img {
  height: 190px;
  object-fit: cover;
  transition: transform 0.45s ease;
  width: 100%;
}

.explore-story-card:hover .explore-story-media img {
  transform: scale(1.045);
}

.explore-story-placeholder {
  align-items: center;
  color: var(--card-accent);
  display: flex;
  font-size: 2.5rem;
  height: 190px;
  justify-content: center;
}

.explore-story-date {
  background: linear-gradient(135deg, var(--card-accent), var(--card-secondary));
  border-radius: 0.75rem;
  box-shadow: 0 8px 18px rgba(var(--card-rgb), 0.24);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 750;
  left: 1rem;
  padding: 0.48rem 0.72rem;
  position: absolute;
  top: 1rem;
}

.explore-story-body {
  display: flex;
  flex-direction: column;
  height: calc(100% - 190px);
  padding: 1.25rem;
}

.explore-story-body h3 {
  color: #172033;
  font-size: 1.12rem;
  font-weight: 800;
}

.explore-story-body p {
  color: #64748b;
  line-height: 1.65;
}

.explore-story-link {
  align-items: center;
  color: var(--card-accent);
  display: inline-flex;
  font-weight: 750;
  gap: 0.45rem;
  margin-top: auto;
  text-decoration: none;
}

.explore-story-link:hover {
  color: var(--card-accent);
  gap: 0.7rem;
}

.explore-empty {
  background: #fff;
  border: 1px dashed rgba(var(--explore-accent-rgb), 0.28);
  border-radius: 1.4rem;
  color: #64748b;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.explore-empty i {
  color: var(--explore-accent);
  display: block;
  font-size: 2rem;
  margin-bottom: 0.7rem;
}

.explore-programs .cp-hero {
  background:
    radial-gradient(circle at 88% 15%, rgba(255, 255, 255, 0.15), transparent 24%),
    linear-gradient(135deg, #312e81, var(--explore-accent), var(--explore-secondary));
}

.explore-contacts .contacts-hero,
.explore-testimonials .testimonials-hero {
  background: transparent;
}

.explore-contacts .hero-shell,
.explore-testimonials .hero-panel {
  border-left: 5px solid var(--explore-accent);
  border-top: 5px solid var(--explore-secondary);
}

.explore-campus .hero {
  min-height: 76vh;
}

.explore-campus .tour-grid .tour-card:nth-child(odd) {
  border-left: 5px solid var(--explore-accent);
  border-top: 5px solid #38bdf8;
}

.explore-campus .tour-grid .tour-card:nth-child(even) {
  border-right: 5px solid var(--explore-secondary);
  border-top: 5px solid #c084fc;
}

@media (max-width: 767.98px) {
  .explore-hero {
    border-radius: 1.4rem;
    padding: 1.6rem;
  }

  .explore-page :is(.hero-title, .cp-hero h1, .hero h1, .explore-hero-title) {
    font-size: 1.7rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .explore-page *,
  .explore-page *::before,
  .explore-page *::after {
    transition-duration: 0.01ms !important;
  }
}
