
:root {
  --stovia-color-primary: #4f46e5;
  --stovia-color-primary-dark: #3730a3;
  --stovia-color-accent: #f59e0b;
  --stovia-color-success: #10b981;
  --stovia-color-warning: #f59e0b;
  --stovia-color-danger: #ef4444;
  --stovia-color-surface: #ffffff;
  --stovia-color-surface-soft: #f8fafc;
  --stovia-color-border: #e2e8f0;
  --stovia-color-text: #0f172a;
  --stovia-color-muted: #64748b;
  --stovia-shadow-card: 0 10px 25px -5px rgba(79, 70, 229, 0.04), 0 8px 16px -6px rgba(79, 70, 229, 0.04), 0 0 1px rgba(79, 70, 229, 0.1);
  --stovia-shadow-card-hover: 0 20px 25px -5px rgba(79, 70, 229, 0.1), 0 10px 10px -5px rgba(79, 70, 229, 0.04);
  --stovia-radius-sm: 6px;
  --stovia-radius-md: 12px;
  --stovia-radius-lg: 14px;
  --stovia-space-1: 4px;
  --stovia-space-2: 8px;
  --stovia-space-3: 12px;
  --stovia-space-4: 16px;
  --stovia-space-5: 24px;
  --stovia-space-6: 32px;
  --stovia-space-7: 48px;
  --stovia-container: 1200px;
  --stovia-font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --stovia-font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --stovia-font-sans: var(--stovia-font-body);
  --stovia-gradient-primary: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  --stovia-gradient-surface: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

html[data-theme="dark"] {
  --stovia-color-surface: #1e293b;
  --stovia-color-surface-soft: #0f172a;
  --stovia-color-border: #334155;
  --stovia-color-text: #f8fafc;
  --stovia-color-muted: #94a3b8;
  --stovia-shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 16px -6px rgba(0, 0, 0, 0.3), 0 0 1px rgba(255, 255, 255, 0.1);
  --stovia-shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
  --stovia-gradient-surface: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body, button, input, select, textarea {
  font-family: var(--stovia-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.stovia-site-brand,
.stovia-footer-logo,
.stovia-hero-banner-title {
  font-family: var(--stovia-font-heading);
}

body {
  margin: 0;
  color: var(--stovia-color-text);
  background: var(--stovia-color-surface-soft);
  font-family: var(--stovia-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--stovia-color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--stovia-color-primary-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.3);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.stovia-skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 1000;
  background: var(--stovia-color-primary);
  color: #fff;
  padding: var(--stovia-space-3) var(--stovia-space-4);
  border-radius: var(--stovia-radius-sm);
  transition: top 0.2s ease;
}

.stovia-skip-link:focus {
  top: 12px;
}

.stovia-container {
  width: min(100% - 32px, var(--stovia-container));
  margin-inline: auto;
}

.stovia-section {
  padding-block: var(--stovia-space-7);
}

.stovia-site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--stovia-color-border);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

html[data-theme="dark"] .stovia-site-header {
  background: rgba(15, 23, 42, 0.95);
}

.stovia-site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--stovia-space-4);
}

.stovia-site-brand {
  color: #388da8;
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

html[data-theme="dark"] .stovia-site-brand {
  color: #48c9b0;
}

/* Center Navigation Links with Pipe Dividers */
.stovia-header-center-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stovia-header-center-nav a {
  color: #475569;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.stovia-header-center-nav a:hover,
.stovia-header-center-nav a.is-active {
  color: #0f172a;
  font-weight: 700;
}

html[data-theme="dark"] .stovia-header-center-nav a {
  color: #94a3b8;
}

html[data-theme="dark"] .stovia-header-center-nav a:hover,
html[data-theme="dark"] .stovia-header-center-nav a.is-active {
  color: #ffffff;
}

.stovia-nav-divider {
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 300;
  user-select: none;
}

html[data-theme="dark"] .stovia-nav-divider {
  color: #334155;
}

/* Right Control Icons */
.stovia-header-right-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stovia-header-icon-btn {
  background: transparent;
  border: none;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.stovia-header-icon-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
}

html[data-theme="dark"] .stovia-header-icon-btn {
  color: #94a3b8;
}

html[data-theme="dark"] .stovia-header-icon-btn:hover {
  color: #ffffff;
  background: #1e293b;
}

/* Teal Circular Hamburger Button */
.stovia-header-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #48c9b0;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(72, 201, 176, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.stovia-header-menu-btn:hover {
  transform: scale(1.05);
  background: #3eb59d;
}

/* Search Modal / Bar Overlay (Clean revamped transitions) */
.stovia-search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--stovia-color-border);
  padding: 15px var(--stovia-space-4);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

html[data-theme="dark"] .stovia-search-overlay {
  background: #0f172a;
}

.stovia-search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .stovia-header-center-nav {
    display: none;
  }
}

.stovia-card {
  background: var(--stovia-color-surface);
  border: 1px solid var(--stovia-color-border);
  border-radius: var(--stovia-radius-md);
  box-shadow: var(--stovia-shadow-card);
  padding: var(--stovia-space-5);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.stovia-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--stovia-shadow-card-hover);
  border-color: rgba(79, 70, 229, 0.15);
}

.stovia-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--stovia-space-2);
  border: 1px solid transparent;
  border-radius: var(--stovia-radius-sm);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.stovia-button:active {
  transform: scale(0.98);
}

.stovia-button--primary {
  color: #fff;
  background: var(--stovia-color-primary);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.stovia-button--primary:hover {
  color: #fff;
  background: var(--stovia-color-primary-dark);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.stovia-grid {
  display: grid;
  gap: var(--stovia-space-5);
}

.stovia-form-field {
  display: grid;
  gap: var(--stovia-space-2);
  margin-bottom: var(--stovia-space-4);
}

.stovia-form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--stovia-color-text);
}

.stovia-input,
.stovia-select,
.stovia-textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--stovia-color-border);
  border-radius: var(--stovia-radius-sm);
  padding: 12px 16px;
  color: var(--stovia-color-text);
  background: #fff;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stovia-input:focus,
.stovia-select:focus,
.stovia-textarea:focus {
  outline: none;
  border-color: var(--stovia-color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.stovia-textarea {
  min-height: 132px;
  resize: vertical;
}

/* Breadcrumbs Styling */
.stovia-breadcrumbs {
  margin-bottom: var(--stovia-space-4);
  font-size: 0.875rem;
}

.stovia-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--stovia-space-2);
}

.stovia-breadcrumbs li {
  display: flex;
  align-items: center;
  color: var(--stovia-color-muted);
}

.stovia-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: var(--stovia-space-2);
  color: var(--stovia-color-border);
}

.stovia-breadcrumbs a {
  color: var(--stovia-color-muted);
}

.stovia-breadcrumbs a:hover {
  color: var(--stovia-color-primary);
}

.stovia-site-footer {
  background: #111111;
  color: #a3a3a3;
  padding-block: 60px 40px;
  border-top: 1px solid #222222;
  font-size: 0.9rem;
  line-height: 1.6;
}

.stovia-footer-logo-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.stovia-footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  letter-spacing: 0.2em;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
}

.stovia-footer-divider {
  border: none;
  border-top: 1px solid #222222;
  margin: 25px 0;
}

.stovia-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.stovia-footer-col-title {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 15px;
}

.stovia-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.stovia-footer-menu a {
  color: #a3a3a3;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.stovia-footer-menu a:hover {
  color: #ffffff;
}

.stovia-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.stovia-footer-copyright {
  font-size: 0.775rem;
  color: #737373;
  max-width: 750px;
  line-height: 1.5;
}

.stovia-footer-socials {
  display: flex;
  gap: 15px;
  align-items: center;
}

.stovia-footer-social-link {
  color: #a3a3a3;
  transition: color 0.2s ease;
  display: inline-flex;
}

.stovia-footer-social-link:hover {
  color: #ffffff;
}

@media (max-width: 767px) {
  .stovia-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stovia-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .stovia-footer-grid {
    grid-template-columns: 1fr;
  }
  .stovia-site-brand {
    font-size: 1.55rem;
  }
}

@media (max-width: 767px) {
  .stovia-site-header {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  html[data-theme="dark"] .stovia-site-header {
    background: #0f172a !important;
  }

  .stovia-site-header__inner {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-block: 0 !important;
    gap: 0 !important;
  }

  .stovia-section {
    padding-block: var(--stovia-space-6);
  }
}

/* Mobile Drawer Menu (Clean revamped layout with CSS transitions) */
.stovia-mobile-drawer {
  position: fixed;
  inset: 0;
  overflow: hidden; /* keep the off-canvas panel from widening the page */
  background: rgba(15, 23, 42, 0);
  z-index: 999;
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.stovia-mobile-drawer.is-open {
  background: rgba(15, 23, 42, 0.5);
  pointer-events: auto;
}

.stovia-mobile-drawer-content {
  position: absolute;
  right: -280px;
  top: 0;
  bottom: 0;
  width: 280px;
  background: var(--stovia-color-surface);
  padding: 30px 24px;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.stovia-mobile-drawer.is-open .stovia-mobile-drawer-content {
  transform: translateX(-280px);
}

.stovia-mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.stovia-mobile-drawer-title {
  font-weight: 800;
  font-size: 1.6rem;
  color: #388da8;
}

.stovia-mobile-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--stovia-color-text);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.stovia-mobile-drawer-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

html[data-theme="dark"] .stovia-mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.05);
}

.stovia-mobile-drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stovia-mobile-drawer-item a {
  display: block;
  padding: 12px 16px;
  color: var(--stovia-color-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.stovia-mobile-drawer-item a:hover,
.stovia-mobile-drawer-item a.is-active {
  background: rgba(56, 141, 168, 0.08);
  color: #388da8;
  padding-left: 20px;
}

/* --------------------------------------------------
 * HERO SECTION (Home Page)
 * -------------------------------------------------- */
/* --------------------------------------------------
 * HERO SECTION (Revamped Banner & Floating Search Card)
 * -------------------------------------------------- */
.stovia-hero-revamped {
  position: relative;
  width: calc(100% - 48px);
  margin: 24px auto 85px auto;
}

.stovia-hero-banner {
  position: relative;
  width: 100%;
  height: 580px; /* Taller image banner placeholder */
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.stovia-hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.65) 100%);
  z-index: 1;
}

.stovia-hero-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 840px;
  padding: 0 20px 60px 20px;
  color: #ffffff;
}

.stovia-hero-banner-title {
  font-size: 2.8rem;
  font-weight: 850;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stovia-hero-banner-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Floating Search Card */
.stovia-hero-search-card {
  position: relative;
  z-index: 10;
  margin-top: -100px;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  border-radius: 24px;
  padding: 38px 44px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  transition: background 0.3s ease;
  box-sizing: border-box;
}

html[data-theme="dark"] .stovia-hero-search-card {
  background: #1e293b;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
  .stovia-hero-banner {
    height: 400px;
    border-radius: 16px;
  }
  .stovia-hero-banner-title {
    font-size: 2.1rem;
  }
  .stovia-hero-search-card {
    margin-left: 0;
    margin-top: -60px;
    max-width: 100%;
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .stovia-hero-revamped {
    width: calc(100% - 32px);
    margin: 16px auto 60px auto;
  }
  .stovia-hero-banner {
    height: 340px;
  }
  .stovia-hero-banner-title {
    font-size: 1.6rem;
  }
  .stovia-hero-banner-desc {
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .stovia-hero-search-card {
    margin-top: -40px;
    padding: 16px;
  }
}

/* --------------------------------------------------
 * SINGLE KAMPUS HERO SECTION (Revamped Split Layout)
 * -------------------------------------------------- */
.stovia-kampus-hero-revamped {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 250px;
  margin-bottom: var(--stovia-space-5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stovia-kampus-hero-image-col {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px;
  overflow: hidden;
}

.stovia-kampus-hero-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stovia-kampus-hero-banner-col {
  position: relative;
  background: linear-gradient(135deg, #2d8a9c 0%, #388da8 50%, #3a7d97 100%);
  padding: 32px 40px 32px 90px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stovia-kampus-hero-logo-badge {
  position: absolute;
  left: 38%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #ffffff;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.stovia-kampus-hero-logo-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.stovia-kampus-hero-title {
  font-family: var(--stovia-font-heading);
  font-size: 2.2rem;
  font-weight: 850;
  color: #ffffff;
  margin: 0 0 4px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stovia-kampus-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 16px 0;
  font-weight: 500;
}

.stovia-kampus-hero-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.stovia-kampus-hero-link {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.95;
  transition: opacity 0.2s ease;
  font-weight: 500;
}

.stovia-kampus-hero-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.stovia-kampus-hero-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.stovia-kampus-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 30px;
  background: #f3db68;
  color: #1e293b;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  width: fit-content;
}

.stovia-kampus-hero-cta-btn:hover {
  background: #e6cb4c;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  color: #0f172a;
}

@media (max-width: 991px) {
  .stovia-kampus-hero-revamped {
    grid-template-columns: 1fr;
  }
  .stovia-kampus-hero-image-col {
    height: 240px;
    min-height: 240px;
  }
  .stovia-kampus-hero-logo-badge {
    left: 50%;
    top: 240px;
    width: 100px;
    height: 100px;
  }
  .stovia-kampus-hero-banner-col {
    padding: 64px 24px 36px 24px;
    align-items: center;
    text-align: center;
  }
  .stovia-kampus-hero-links {
    justify-content: center;
  }
  .stovia-kampus-hero-title {
    font-size: 2.1rem;
  }
}

/* --------------------------------------------------
 * 3-COLUMN GALLERY CAROUSEL (SWIPEABLE & SCROLLABLE)
 * -------------------------------------------------- */
.stovia-gallery-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.stovia-gallery-carousel-track::-webkit-scrollbar {
  display: none;
}

.stovia-gallery-carousel-item {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stovia-color-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--stovia-color-surface-soft);
}

.stovia-gallery-carousel-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stovia-gallery-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.stovia-gallery-carousel-item:hover img {
  transform: scale(1.05);
}

.stovia-carousel-nav-side-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--stovia-color-border);
  background: #ffffff;
  color: var(--stovia-color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.stovia-carousel-nav-side-btn--left {
  left: -18px;
}

.stovia-carousel-nav-side-btn--right {
  right: -18px;
}

.stovia-carousel-nav-side-btn:hover {
  background: #388da8;
  color: #ffffff;
  border-color: #388da8;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(56, 141, 168, 0.35);
}

/* --------------------------------------------------
 * FACULTY PAGINATION BUTTONS
 * -------------------------------------------------- */
.stovia-fac-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--stovia-color-border);
  background: var(--stovia-color-surface);
  color: var(--stovia-color-text);
  font-family: var(--stovia-font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stovia-fac-page-btn:hover:not(:disabled) {
  background: #388da8;
  color: #ffffff;
  border-color: #388da8;
  box-shadow: 0 4px 12px rgba(56, 141, 168, 0.25);
}

.stovia-fac-page-btn.active {
  background: #388da8;
  color: #ffffff;
  border-color: #388da8;
  box-shadow: 0 4px 12px rgba(56, 141, 168, 0.25);
}

/* --------------------------------------------------
 * STOVIA LEAD FORM SUBMIT BUTTON (PINK PILL)
 * -------------------------------------------------- */
.stovia-lead-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 30px;
  background: #eb5889;
  color: #ffffff;
  font-family: var(--stovia-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(235, 88, 137, 0.35);
  transition: all 0.25s ease;
  width: fit-content;
}

/* --------------------------------------------------
 * CAMPUS CARD CTA BUTTON (OCEAN TEAL GRADIENT PILL)
 * -------------------------------------------------- */
.stovia-campus-card-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 30px;
  background: linear-gradient(135deg, #328198 0%, #46be98 100%);
  color: #ffffff;
  font-family: var(--stovia-font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(50, 129, 152, 0.25);
  transition: all 0.25s ease;
  width: fit-content;
}

.stovia-campus-card-cta-btn:hover {
  background: linear-gradient(135deg, #2b7388 0%, #3ca886 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(50, 129, 152, 0.35);
  color: #ffffff;
}

.stovia-campus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1) !important;
}

.stovia-campus-card:hover img {
  transform: scale(1.05);
}

/* --------------------------------------------------
 * WORDPRESS ARCHIVE PAGINATION STYLING
 * -------------------------------------------------- */
.navigation.pagination {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--stovia-color-border);
  background: var(--stovia-color-surface);
  color: var(--stovia-color-text);
  font-family: var(--stovia-font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.navigation.pagination .page-numbers:hover:not(.current) {
  background: #388da8;
  color: #ffffff;
  border-color: #388da8;
  box-shadow: 0 4px 14px rgba(56, 141, 168, 0.3);
  transform: translateY(-1px);
}

.navigation.pagination .page-numbers.current {
  background: linear-gradient(135deg, #328198 0%, #46be98 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(50, 129, 152, 0.3);
}

.navigation.pagination .page-numbers.dots {
  border: none;
  background: transparent;
  box-shadow: none;
}

/* --------------------------------------------------
 * HOME PEEK CAROUSEL SLIDER (WITH BLURRED PEEK & ARROW)
 * -------------------------------------------------- */
.stovia-peek-carousel-wrapper {
  position: relative;
  width: 100%;
}

.stovia-peek-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 10px 4px 25px 4px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  cursor: grab;
  user-select: none;
}

.stovia-peek-carousel-track:active {
  cursor: grabbing;
}

.stovia-peek-carousel-track::-webkit-scrollbar {
  display: none;
}

.stovia-peek-carousel-item {
  flex: 0 0 calc((100% - 60px) / 3.5);
  min-width: 260px;
  scroll-snap-align: start;
  transition: transform 0.35s ease;
}

/* Progressive Gradient Blur Mask Overlay on Right Edge (Half Clear, Half Blurred) */
.stovia-carousel-right-blur-fade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 160px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  pointer-events: none;
  z-index: 12;
  transition: opacity 0.3s ease;
}

/* Carousel Nav Buttons (Floating Arrow) */
.stovia-carousel-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #475569;
  border: 1px solid var(--stovia-color-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.25s ease;
}

.stovia-carousel-arrow-btn:hover {
  background: #388da8;
  color: #ffffff;
  border-color: #388da8;
  box-shadow: 0 8px 24px rgba(56, 141, 168, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.stovia-carousel-arrow-btn--prev {
  left: -18px;
}

.stovia-carousel-arrow-btn--next {
  right: -18px;
}

@media (max-width: 991px) {
  .stovia-peek-carousel-item {
    flex: 0 0 calc((100% - 20px) / 2.2);
  }
}

@media (max-width: 767px) {
  .stovia-carousel-arrow-btn {
    display: none !important;
  }
  .stovia-carousel-right-blur-fade {
    width: 85px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
}

@media (max-width: 640px) {
  .stovia-peek-carousel-item {
    flex: 0 0 78%;
  }
}

/* --------------------------------------------------
 * CAROUSEL PAGINATION DOTS INDICATOR
 * -------------------------------------------------- */
.stovia-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 8px;
}

.stovia-carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.stovia-carousel-dot:hover {
  background: #94a3b8;
  transform: scale(1.12);
}

.stovia-carousel-dot.is-active {
  background: #388da8;
  transform: scale(1.2);
  box-shadow: 0 3px 10px rgba(56, 141, 168, 0.35);
}

/* Detail pages: content + 360px sidebar, stacked on tablet/mobile. */
.stovia-layout-sidebar {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: var(--stovia-space-6);
}

.stovia-layout-sidebar > * {
    min-width: 0;
}

@media (max-width: 991px) {
    .stovia-layout-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Kampus: daftar fakultas & jurusan */
.stovia-faculties-card { padding: 32px 36px; }
.stovia-majors-body { padding: 14px 20px 18px; }
.stovia-majors-col { width: 100px; }
.stovia-majors-table.is-collapsed tbody tr:nth-child(n+16) { display: none; }
.stovia-majors-toggle {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 10px 16px;
    border: 1px solid var(--stovia-color-border);
    border-radius: 10px;
    background: #f8fafc;
    color: #0f766e;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 640px) {
    .stovia-faculties-card { padding: 20px 16px; }
    .stovia-majors-body { padding: 8px 12px 14px; }
    .stovia-majors-col { width: auto; padding-left: 8px !important; }
    .stovia-majors-table th,
    .stovia-majors-table td { font-size: 0.85rem !important; vertical-align: top; }
}

/* --------------------------------------------------
 * CARD MEDIA (shared card image height)
 * -------------------------------------------------- */
.stovia-card-media {
  height: 210px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* --------------------------------------------------
 * HOMEPAGE (compact layout & type scale)
 * -------------------------------------------------- */
.stovia-home {
  --home-title: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  --home-h2: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
}

.stovia-home .stovia-hero-revamped {
  /* Same width as .stovia-container so the hero lines up with the sections below. */
  width: min(100% - 32px, var(--stovia-container));
  margin: 16px auto 56px;
}

.stovia-home .stovia-hero-revamped > .stovia-container {
  width: 100%;
}

.stovia-home .stovia-hero-banner {
  height: 400px;
  border-radius: 20px;
}

.stovia-home .stovia-hero-banner-content {
  max-width: 720px;
  padding-bottom: 48px;
}

.stovia-home .stovia-hero-banner-title {
  font-size: var(--home-title);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  text-wrap: balance;
}

.stovia-home .stovia-hero-banner-desc {
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 560px;
  text-wrap: pretty;
}

.stovia-hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.stovia-hero-stats strong {
  color: #ffffff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stovia-home .stovia-hero-search-card {
  max-width: 720px;
  margin: -36px auto 0;
  padding: 10px;
  border-radius: 32px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.stovia-quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 0 6px 2px;
  font-size: 0.8rem;
}

.stovia-quick-links-label {
  color: var(--stovia-color-muted);
  font-weight: 600;
}

.stovia-quick-links a {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--stovia-color-surface-soft);
  border: 1px solid var(--stovia-color-border);
  color: #334155;
  font-weight: 600;
  line-height: 1.5;
}

.stovia-quick-links a:hover {
  border-color: #388da8;
  color: #388da8;
}

html[data-theme="dark"] .stovia-quick-links a {
  color: var(--stovia-color-text);
}

/* Sections */
.stovia-home-sections {
  padding-bottom: 56px;
}

.stovia-home-section + .stovia-home-section {
  margin-top: 40px;
}

.stovia-home-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 14px;
}

.stovia-home-title {
  margin: 0;
  font-size: var(--home-h2);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--stovia-color-text);
}

.stovia-home-intro {
  margin: 4px 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--stovia-color-muted);
}

.stovia-home-more {
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #388da8;
  white-space: nowrap;
}

.stovia-home-more:hover {
  color: #2b6f85;
}

/* Compact cards on the homepage */
.stovia-home .stovia-peek-carousel-track {
  gap: 16px;
  padding: 4px 2px 12px;
}

.stovia-home .stovia-peek-carousel-item {
  flex-basis: calc((100% - 64px) / 4.4);
  min-width: 220px;
}

.stovia-home .stovia-card-media {
  height: 140px;
}

.stovia-home .stovia-campus-card h2 {
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.stovia-home .stovia-campus-card p {
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
}

.stovia-home .stovia-carousel-dots {
  gap: 8px;
  margin-top: 8px;
}

.stovia-home .stovia-carousel-dot {
  width: 8px;
  height: 8px;
}

.stovia-home .stovia-carousel-arrow-btn {
  width: 38px;
  height: 38px;
}

/* Province grid */
.stovia-province-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stovia-province-grid a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stovia-color-border);
  background: var(--stovia-color-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stovia-province-grid a:hover {
  border-color: #388da8;
  box-shadow: 0 4px 14px rgba(56, 141, 168, 0.12);
}

.stovia-province-name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--stovia-color-text);
}

.stovia-province-count {
  font-size: 0.82rem;
  color: var(--stovia-color-muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 991px) {
  .stovia-home .stovia-hero-banner {
    height: 340px;
  }
  .stovia-home .stovia-peek-carousel-item {
    flex-basis: calc((100% - 32px) / 2.6);
  }
}

@media (max-width: 640px) {
  .stovia-home .stovia-hero-revamped {
    width: min(100% - 32px, var(--stovia-container));
    margin: 12px auto 40px;
  }
  .stovia-home .stovia-hero-banner {
    height: 320px;
    border-radius: 16px;
  }
  .stovia-home .stovia-hero-banner-content {
    padding-bottom: 36px;
  }
  .stovia-home .stovia-hero-banner-desc {
    font-size: 0.92rem;
  }
  .stovia-hero-stats {
    font-size: 0.82rem;
    gap: 4px 14px;
    margin-top: 12px;
  }
  .stovia-home .stovia-hero-search-card {
    max-width: 100%;
    margin-top: -28px;
    padding: 8px;
  }
  .stovia-home .stovia-peek-carousel-item {
    flex-basis: 68%;
    min-width: 0;
  }
  .stovia-home .stovia-card-media {
    height: 120px;
  }
  .stovia-home-section + .stovia-home-section {
    margin-top: 32px;
  }
  .stovia-home-intro {
    font-size: 0.88rem;
  }
  .stovia-province-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .stovia-province-grid li:nth-child(n+9) {
    display: none;
  }
  .stovia-quick-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -8px;
    padding-inline: 14px;
  }
  .stovia-quick-links::-webkit-scrollbar {
    display: none;
  }
  .stovia-quick-links > * {
    flex-shrink: 0;
  }
}

/* Homepage single-row search bar */
.stovia-searchbar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 52px;
  padding: 0 6px 0 16px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: var(--stovia-color-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stovia-searchbar:focus-within {
  border-color: #388da8;
  box-shadow: 0 0 0 3px rgba(56, 141, 168, 0.15);
}

.stovia-searchbar-icon {
  flex-shrink: 0;
  color: #94a3b8;
}

.stovia-searchbar-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--stovia-color-text);
  font-size: 1rem;
  outline: none;
}

.stovia-searchbar-input:focus-visible {
  outline: none;
}

.stovia-searchbar-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #475569;
}

.stovia-searchbar-filter:hover {
  background: var(--stovia-color-surface-soft);
  color: #388da8;
}

.stovia-searchbar-submit {
  flex-shrink: 0;
  height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #eb5889;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.stovia-searchbar-submit:hover {
  background: #d84576;
}

html[data-theme="dark"] .stovia-searchbar {
  border-color: #334155;
}

html[data-theme="dark"] .stovia-searchbar-filter {
  color: #94a3b8;
}

@media (max-width: 640px) {
  .stovia-searchbar {
    height: 46px;
    padding-left: 12px;
  }
  .stovia-searchbar-filter {
    width: 36px;
    height: 36px;
  }
  .stovia-searchbar-submit {
    height: 36px;
    padding: 0 14px;
  }
}

/* Keep carousel arrows inside the 16px page gutter on narrower screens. */
@media (max-width: 1279px) {
  .stovia-carousel-arrow-btn--prev { left: -10px; }
  .stovia-carousel-arrow-btn--next { right: -10px; }
}

/* Compact campus card (homepage) */
.stovia-kcard {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--stovia-color-border);
  border-radius: 14px;
  background: var(--stovia-color-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.stovia-kcard:hover {
  border-color: #388da8;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.stovia-kcard-media {
  position: relative;
  background: #e2e8f0;
}

.stovia-kcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stovia-kcard-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 8px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.stovia-kcard-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 12px 14px 14px;
}

.stovia-kcard-title {
  margin: 0;
  font-family: var(--stovia-font-body);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stovia-kcard-title a {
  color: var(--stovia-color-text);
}

/* Stretch the title link so the whole card is clickable. */
.stovia-kcard-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.stovia-kcard:hover .stovia-kcard-title a {
  color: #388da8;
}

.stovia-kcard-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--stovia-color-muted);
}

.stovia-kcard-meta {
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 2px;
}

.stovia-kcard-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.stovia-kcard-meta-item svg {
  flex-shrink: 0;
  color: #eb5889;
}

.stovia-kcard-meta-item--prodi svg {
  color: #388da8;
}

.stovia-kcard-meta-item > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.stovia-kcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.stovia-kcard-chip {
  padding: 2px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-theme="dark"] .stovia-kcard-chip {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.stovia-home .stovia-kcard .stovia-card-media {
  height: 120px;
}

@media (max-width: 640px) {
  .stovia-home .stovia-kcard .stovia-card-media {
    height: 104px;
  }
}

/* Compact major card additions */
.stovia-kcard-desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html[data-theme="dark"] .stovia-kcard-desc {
  color: var(--stovia-color-muted);
}

.stovia-kcard-levels {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.stovia-kcard-chip {
  min-width: 0;
}

.stovia-kcard-level {
  padding: 1px 7px;
  border-radius: 6px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.6;
}

html[data-theme="dark"] .stovia-kcard-level {
  background: rgba(99, 102, 241, 0.18);
  color: #c7d2fe;
}

/* Small CTA pill for compact cards (same gradient as .stovia-campus-card-cta-btn) */
.stovia-kcard-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #328198 0%, #46be98 100%);
  color: #ffffff;
  font-family: var(--stovia-font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(50, 129, 152, 0.22);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.stovia-kcard:hover .stovia-kcard-cta {
  background: linear-gradient(135deg, #2b7388 0%, #3ca886 100%);
  box-shadow: 0 5px 14px rgba(50, 129, 152, 0.32);
}

@media (max-width: 640px) {
  .stovia-kcard-level:nth-child(n+3) {
    display: none;
  }
}

/* --------------------------------------------------
 * ARCHIVE PAGES (reuse homepage look via .stovia-home)
 * -------------------------------------------------- */
.stovia-archive .stovia-hero-banner {
  height: 300px;
}

.stovia-archive .stovia-hero-banner-content {
  padding-bottom: 36px;
}

.stovia-searchbar-filter {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.stovia-searchbar-filter.is-active,
.stovia-searchbar-filter[style*="border-color"] {
  background: rgba(56, 141, 168, 0.12);
  color: #388da8;
}

.stovia-filter-panel {
  margin-top: 10px;
  padding: 12px 8px 4px;
  border-top: 1px solid var(--stovia-color-border);
}

.stovia-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stovia-filter-field label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--stovia-color-muted);
}

.stovia-filter-field select {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--stovia-color-border);
  border-radius: 10px;
  background: var(--stovia-color-surface);
  color: var(--stovia-color-text);
  font-size: 0.9rem;
}

.stovia-filter-field select:focus {
  border-color: #388da8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(56, 141, 168, 0.15);
}

.stovia-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1023px) {
  .stovia-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.stovia-archive-pagination {
  margin-top: 32px;
}

@media (max-width: 640px) {
  .stovia-archive .stovia-hero-banner {
    height: 240px;
  }
  .stovia-filter-grid {
    grid-template-columns: 1fr;
  }
  .stovia-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .stovia-archive .stovia-kcard-body {
    padding: 10px 10px 12px;
  }
  .stovia-archive .stovia-kcard-title {
    font-size: 0.9rem;
  }
  .stovia-archive .stovia-kcard-foot {
    flex-wrap: wrap;
  }
  .stovia-archive .stovia-kcard-chip {
    display: none;
  }
  .stovia-archive .stovia-kcard-cta {
    margin-left: 0;
  }
}

/* --------------------------------------------------
 * SINGLE KAMPUS (compact detail layout)
 * -------------------------------------------------- */
.stovia-kampus-single {
  --home-h2: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  padding-top: 20px;
}

.stovia-kampus-single .stovia-kampus-hero-revamped {
  min-height: 220px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.stovia-kampus-single .stovia-kampus-hero-image-col {
  min-height: 220px;
}

.stovia-kampus-single .stovia-kampus-hero-banner-col {
  padding: 28px 36px 28px 84px;
}

.stovia-kampus-single .stovia-kampus-hero-title {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.stovia-kampus-single .stovia-kampus-hero-subtitle {
  font-size: 0.98rem;
  margin-bottom: 12px;
}

.stovia-kampus-single .stovia-kampus-hero-links {
  gap: 8px 16px;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.stovia-kampus-single .stovia-kampus-hero-link svg {
  width: 16px;
  height: 16px;
}

.stovia-kampus-single .stovia-kampus-hero-cta-btn {
  padding: 8px 20px;
  font-size: 0.88rem;
}

.stovia-kampus-single .stovia-layout-sidebar {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

.stovia-detail-main,
.stovia-detail-aside {
  display: grid;
  gap: 20px;
  align-content: start;
}

.stovia-detail-card {
  padding: 24px 28px;
  border: 1px solid var(--stovia-color-border);
  border-radius: 16px;
  background: var(--stovia-color-surface);
}

.stovia-detail-card--compact {
  padding: 20px 22px;
}

.stovia-detail-card > .stovia-home-title,
.stovia-detail-card > .stovia-home-head {
  margin-bottom: 14px;
}

.stovia-detail-card .stovia-home-head {
  align-items: center;
}

.stovia-detail-prose {
  font-size: 1rem;
  line-height: 1.7;
  color: #334155;
  max-width: 68ch;
}

.stovia-detail-prose p {
  margin: 0 0 12px;
}

.stovia-detail-prose p:last-child {
  margin-bottom: 0;
}

html[data-theme="dark"] .stovia-detail-prose {
  color: var(--stovia-color-text);
}

.stovia-detail-subtitle {
  margin: 20px 0 6px;
  font-family: var(--stovia-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #388da8;
}

.stovia-detail-count {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--stovia-color-surface-soft);
  border: 1px solid var(--stovia-color-border);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--stovia-color-muted);
  white-space: nowrap;
}

.stovia-detail-aside-title {
  margin: 0 0 12px;
  font-family: var(--stovia-font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--stovia-color-text);
}

/* Faculties & majors */
.stovia-faculty {
  border: 1px solid var(--stovia-color-border);
  border-radius: 12px;
  overflow: hidden;
}

.stovia-faculty-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #3bb399 0%, #358da8 50%, #367699 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.98rem;
}

.stovia-faculty-count {
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
}

.stovia-kampus-single .stovia-majors-body {
  padding: 4px 16px 12px;
}

.stovia-majors-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.stovia-majors-table th {
  padding: 10px 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 1px solid var(--stovia-color-border);
}

.stovia-majors-table td {
  padding: 9px 0;
  border-bottom: 1px solid #f1f5f9;
  color: var(--stovia-color-text);
  font-weight: 500;
}

.stovia-majors-table tbody tr:last-child td {
  border-bottom: 0;
}

.stovia-majors-table .stovia-majors-col {
  width: 110px;
  text-align: center;
  color: #475569;
}

html[data-theme="dark"] .stovia-majors-table td {
  border-color: var(--stovia-color-border);
}

/* Admission paths */
.stovia-path-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stovia-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--stovia-color-border);
  border-left: 4px solid #388da8;
  border-radius: 12px;
}

.stovia-path strong {
  display: block;
  font-size: 1rem;
  color: var(--stovia-color-text);
}

.stovia-path span,
.stovia-path a {
  font-size: 0.85rem;
  margin-right: 10px;
}

.stovia-path span {
  color: var(--stovia-color-muted);
}

.stovia-path a {
  color: #388da8;
  font-weight: 700;
}

.stovia-path .stovia-path-date {
  flex-shrink: 0;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Sidebar */
.stovia-facts {
  margin: 0;
  display: grid;
  gap: 0;
}

.stovia-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid #f1f5f9;
}

.stovia-facts > div:last-child {
  border-bottom: 0;
}

.stovia-facts dt {
  font-size: 0.85rem;
  color: var(--stovia-color-muted);
}

.stovia-facts dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
  color: var(--stovia-color-text);
}

.stovia-contact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stovia-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #334155;
}

.stovia-contact-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #388da8;
}

.stovia-contact-list a {
  color: #334155;
  word-break: break-word;
}

.stovia-contact-list a:hover {
  color: #388da8;
}

html[data-theme="dark"] .stovia-contact-list li,
html[data-theme="dark"] .stovia-contact-list a {
  color: var(--stovia-color-text);
}

@media (max-width: 991px) {
  .stovia-kampus-single .stovia-layout-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
  .stovia-kampus-single .stovia-kampus-hero-image-col {
    height: 180px;
    min-height: 180px;
  }
  .stovia-kampus-single .stovia-kampus-hero-logo-badge {
    top: 180px;
    width: 84px;
    height: 84px;
  }
  .stovia-kampus-single .stovia-kampus-hero-banner-col {
    padding: 52px 20px 24px;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .stovia-kampus-single {
    padding-top: 12px;
  }
  .stovia-detail-card {
    padding: 18px 16px;
  }
  .stovia-majors-table .stovia-majors-col {
    width: 72px;
  }
  .stovia-path {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Leave room for the overlapping logo only when there is one. */
.stovia-kampus-single .stovia-kampus-hero-revamped:not(.has-logo) .stovia-kampus-hero-banner-col {
  padding-left: 40px;
}

@media (max-width: 991px) {
  .stovia-kampus-single .stovia-kampus-hero-revamped:not(.has-logo) .stovia-kampus-hero-banner-col {
    padding: 24px 20px;
  }
}

/* --------------------------------------------------
 * SINGLE KAMPUS — original brand colours on the compact layout
 * -------------------------------------------------- */

/* Visi / Misi: gradient label badges */
.stovia-kampus-single .stovia-detail-subtitle {
  display: inline-flex;
  margin: 20px 0 10px;
  padding: 4px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #378b9b 0%, #4667b3 100%);
  color: #ffffff;
  font-family: var(--stovia-font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 4px 12px rgba(55, 139, 155, 0.2);
}

/* Section counter pill in brand teal */
.stovia-kampus-single .stovia-detail-count {
  background: rgba(56, 141, 168, 0.1);
  border-color: rgba(56, 141, 168, 0.25);
  color: #2d7f95;
}

/* Admission paths: teal gradient rows with the yellow date pill */
.stovia-kampus-single .stovia-path {
  border: 0;
  padding: 14px 20px;
  border-radius: 16px;
  background: linear-gradient(90deg, #328198 0%, #3aa098 50%, #46be98 100%);
  box-shadow: 0 4px 16px rgba(50, 129, 152, 0.12);
}

.stovia-kampus-single .stovia-path strong {
  color: #ffffff;
  font-family: var(--stovia-font-heading);
  font-size: 1.05rem;
}

.stovia-kampus-single .stovia-path span {
  color: rgba(255, 255, 255, 0.88);
}

.stovia-kampus-single .stovia-path a {
  color: #f3db68;
}

.stovia-kampus-single .stovia-path .stovia-path-date {
  padding: 6px 14px;
  background: #f3db68;
  color: #334155;
  font-family: var(--stovia-font-heading);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Info singkat: light-blue accent on labels */
.stovia-kampus-single .stovia-facts dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stovia-fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
}

html[data-theme="dark"] .stovia-fact-icon {
  background: rgba(14, 165, 233, 0.15);
  color: #7dd3fc;
}

.stovia-kampus-single .stovia-facts > div {
  align-items: center;
}

/* Kontak: teal gradient card with white text */
.stovia-detail-card--contact {
  border: 0;
  background: linear-gradient(135deg, #3bb399 0%, #358da8 50%, #367699 100%);
  box-shadow: 0 10px 30px rgba(53, 141, 168, 0.25);
}

.stovia-detail-card--contact .stovia-detail-aside-title,
.stovia-detail-card--contact .stovia-contact-list li,
.stovia-detail-card--contact .stovia-contact-list a,
html[data-theme="dark"] .stovia-detail-card--contact .stovia-contact-list li,
html[data-theme="dark"] .stovia-detail-card--contact .stovia-contact-list a {
  color: #ffffff;
}

.stovia-detail-card--contact .stovia-contact-list li {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.stovia-detail-card--contact .stovia-contact-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stovia-detail-card--contact .stovia-contact-list svg {
  color: rgba(255, 255, 255, 0.9);
}

.stovia-detail-card--contact .stovia-contact-list a:hover {
  color: #f3db68;
}

/* Visi & Misi block */
.stovia-kampus-single .stovia-detail-prose {
  max-width: none;
}

.stovia-visimisi {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--stovia-color-border);
}

.stovia-visimisi .stovia-detail-subtitle {
  margin-top: 0;
}

.stovia-visi {
  margin: 0;
  padding: 14px 18px;
  border-left: 4px solid #388da8;
  border-radius: 0 12px 12px 0;
  background: rgba(56, 141, 168, 0.07);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: #1e3a4a;
}

.stovia-visi p {
  margin: 0;
}

html[data-theme="dark"] .stovia-visi {
  color: var(--stovia-color-text);
}

.stovia-misi-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: misi;
}

.stovia-misi-list li {
  position: relative;
  padding-left: 38px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #334155;
  counter-increment: misi;
}

.stovia-misi-list li::before {
  content: counter(misi);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #378b9b 0%, #4667b3 100%);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}

html[data-theme="dark"] .stovia-misi-list li {
  color: var(--stovia-color-text);
}

@media (max-width: 640px) {
  .stovia-misi-list li {
    padding-left: 34px;
    font-size: 0.95rem;
  }
}

/* --------------------------------------------------
 * LEAD FORM CARD (sidebar "Konsultasi Gratis")
 * -------------------------------------------------- */
.stovia-lead-card {
  overflow: hidden;
  border: 1px solid var(--stovia-color-border);
  border-radius: 16px;
  background: var(--stovia-color-surface);
  scroll-margin-top: 90px;
}

.stovia-lead-card-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  background: linear-gradient(135deg, #fdf2f7 0%, #fef9e7 100%);
  border-bottom: 1px solid var(--stovia-color-border);
}

html[data-theme="dark"] .stovia-lead-card-head {
  background: rgba(235, 88, 137, 0.08);
}

.stovia-lead-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eb5889;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(235, 88, 137, 0.3);
}

.stovia-lead-card-title {
  margin: 0 0 2px;
  font-family: var(--stovia-font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--stovia-color-text);
}

.stovia-lead-card-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--stovia-color-muted);
}

.stovia-lead-card-body {
  padding: 18px 20px 20px;
}

.stovia-lead-form {
  display: grid;
  gap: 14px;
}

.stovia-field label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

html[data-theme="dark"] .stovia-field label {
  color: var(--stovia-color-text);
}

.stovia-field-optional {
  font-weight: 500;
  color: #94a3b8;
}

.stovia-field-control {
  position: relative;
}

.stovia-field-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  transition: color 0.2s ease;
}

.stovia-field-control input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 38px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: var(--stovia-color-surface);
  color: var(--stovia-color-text);
  font-family: var(--stovia-font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stovia-field-control input::placeholder {
  color: #a0aec0;
}

.stovia-field-control input:focus {
  border-color: #388da8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(56, 141, 168, 0.15);
}

.stovia-field-control input:focus + .stovia-field-icon,
.stovia-field-control:focus-within .stovia-field-icon {
  color: #388da8;
}

html[data-theme="dark"] .stovia-field-control input {
  border-color: var(--stovia-color-border);
}

.stovia-lead-card .stovia-lead-submit-btn {
  width: 100%;
  height: 46px;
  margin-top: 4px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.stovia-lead-card .stovia-lead-submit-btn:disabled {
  opacity: 0.7;
  cursor: progress;
}

.stovia-lead-privacy {
  margin: 0;
  line-height: 1.5;
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
}

.stovia-form-notice {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.stovia-form-notice--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.stovia-form-notice--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.stovia-lead-submit-btn:hover:not(:disabled) {
  background: #d84576;
  box-shadow: 0 6px 18px rgba(235, 88, 137, 0.45);
}

.stovia-lead-privacy svg {
  display: inline-block;
  margin-right: 4px;
  vertical-align: -1px;
}

/* --------------------------------------------------
 * SINGLE MAJOR (reuses .stovia-kampus-single detail styles)
 * -------------------------------------------------- */
.stovia-major-single .stovia-detail-subtitle:first-of-type {
  margin-top: 4px;
}

.stovia-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stovia-skill-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(56, 141, 168, 0.08);
  border: 1px solid rgba(56, 141, 168, 0.2);
  color: #1e3a4a;
  font-size: 0.88rem;
  font-weight: 600;
}

.stovia-skill-list svg {
  color: #3aa098;
}

html[data-theme="dark"] .stovia-skill-list li {
  color: var(--stovia-color-text);
}

.stovia-subject-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}

.stovia-offering-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stovia-offering-grid .stovia-card-media {
  height: 110px;
}

.stovia-degree-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stovia-degree-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--stovia-color-text);
}

.stovia-degree-list .stovia-kcard-level {
  flex-shrink: 0;
  min-width: 52px;
  text-align: center;
}

@media (max-width: 1100px) {
  .stovia-offering-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .stovia-subject-list {
    grid-template-columns: 1fr;
  }
  .stovia-offering-grid {
    gap: 10px;
  }
  .stovia-offering-grid .stovia-kcard-chip {
    display: none;
  }
  .stovia-offering-grid .stovia-kcard-body {
    padding: 10px;
  }
}

/* Prodi names that have their own Major page */
.stovia-major-link {
  color: #2d7f95;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(45, 127, 149, 0.3);
  text-underline-offset: 3px;
}

.stovia-major-link:hover {
  color: #388da8;
  text-decoration-color: currentColor;
}

/* --------------------------------------------------
 * ARTICLES (listing + single)
 * -------------------------------------------------- */
.stovia-articles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stovia-acard-media {
  height: 170px;
  background: linear-gradient(135deg, #3bb399 0%, #358da8 50%, #367699 100%);
}

.stovia-acard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stovia-acard-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.75);
}

.stovia-acard-badge {
  background: #eb5889;
}

.stovia-acard .stovia-kcard-desc {
  -webkit-line-clamp: 3;
}

.stovia-acard-meta {
  display: flex;
  gap: 6px;
  margin: auto 0 0;
  padding-top: 8px;
  font-size: 0.8rem;
  color: var(--stovia-color-muted);
}

.stovia-quick-links a.is-active {
  border-color: #388da8;
  background: #388da8;
  color: #ffffff;
}

/* Single article */
.stovia-article {
  max-width: 760px;
  padding-top: 20px;
}

.stovia-article-header {
  margin: 16px 0 24px;
}

.stovia-article-cat {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(235, 88, 137, 0.1);
  color: #d84576;
  font-size: 0.8rem;
  font-weight: 700;
}

.stovia-article-title {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.stovia-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--stovia-color-muted);
}

.stovia-article-cover {
  margin: 0 0 28px;
  border-radius: 16px;
  overflow: hidden;
}

.stovia-article-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.stovia-article-body {
  font-size: 1.08rem;
  line-height: 1.8;
}

.stovia-article-body h2,
.stovia-article-body h3 {
  margin: 1.8em 0 0.6em;
  line-height: 1.3;
  color: var(--stovia-color-text);
}

.stovia-article-body a {
  color: #2d7f95;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stovia-article-body ul,
.stovia-article-body ol {
  padding-left: 1.4em;
}

.stovia-article-body blockquote {
  margin: 1.5em 0;
  padding: 14px 18px;
  border-left: 4px solid #388da8;
  border-radius: 0 12px 12px 0;
  background: rgba(56, 141, 168, 0.07);
}

.stovia-article-body img {
  border-radius: 12px;
}

.stovia-article-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--stovia-color-border);
}

.stovia-article-related .stovia-home-title {
  margin-bottom: 16px;
}

@media (max-width: 1023px) {
  .stovia-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .stovia-articles-grid {
    grid-template-columns: 1fr;
  }
  .stovia-acard-media {
    height: 160px;
  }
}

/* --------------------------------------------------
 * RANKING (homepage leaderboard + full ranking page)
 * -------------------------------------------------- */
.stovia-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--stovia-color-surface-soft);
  border: 1px solid var(--stovia-color-border);
  color: #475569;
  font-family: var(--stovia-font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stovia-rank-badge.is-top-1 { background: linear-gradient(135deg, #fde68a, #f59e0b); border-color: #f59e0b; color: #78350f; }
.stovia-rank-badge.is-top-2 { background: linear-gradient(135deg, #f1f5f9, #94a3b8); border-color: #94a3b8; color: #1e293b; }
.stovia-rank-badge.is-top-3 { background: linear-gradient(135deg, #fed7aa, #c2410c); border-color: #c2410c; color: #ffffff; }

.stovia-leaderboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(10, auto);
  column-gap: 16px;
  margin: 0;
  padding: 8px 16px;
  list-style: none;
  border: 1px solid var(--stovia-color-border);
  border-radius: 16px;
  background: var(--stovia-color-surface);
}

.stovia-leaderboard-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid #f1f5f9;
}

.stovia-leaderboard-item:nth-child(10),
.stovia-leaderboard-item:nth-child(20) {
  border-bottom: 0;
}

html[data-theme="dark"] .stovia-leaderboard-item {
  border-color: var(--stovia-color-border);
}

.stovia-leaderboard-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.stovia-leaderboard-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--stovia-color-text);
}

a.stovia-leaderboard-name:hover {
  color: #388da8;
}

.stovia-leaderboard-sub {
  font-size: 0.8rem;
  color: var(--stovia-color-muted);
}

.stovia-leaderboard-foot {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.stovia-leaderboard-foot .stovia-kcard-cta {
  margin: 0;
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* Full ranking page */
.stovia-ranking-select {
  flex-shrink: 0;
  max-width: 180px;
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-left: 1px solid var(--stovia-color-border);
  background: transparent;
  color: var(--stovia-color-text);
  font-size: 0.9rem;
}

.stovia-ranking-table-wrap {
  overflow: hidden;
  border: 1px solid var(--stovia-color-border);
  border-radius: 16px;
  background: var(--stovia-color-surface);
}

.stovia-ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.stovia-ranking-table th {
  padding: 12px 16px;
  background: var(--stovia-color-surface-soft);
  border-bottom: 1px solid var(--stovia-color-border);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  color: #94a3b8;
}

.stovia-ranking-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
}

html[data-theme="dark"] .stovia-ranking-table td {
  border-color: var(--stovia-color-border);
  color: var(--stovia-color-text);
}

.stovia-ranking-table tbody tr:last-child td {
  border-bottom: 0;
}

.stovia-ranking-table tbody tr:hover td {
  background: rgba(56, 141, 168, 0.04);
}

.stovia-ranking-rank {
  width: 64px;
}

.stovia-ranking-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--stovia-color-text);
}

.stovia-ranking-name a {
  color: var(--stovia-color-text);
}

.stovia-ranking-name a:hover {
  color: #388da8;
}

.stovia-ranking-status {
  flex-shrink: 0;
  padding: 1px 6px;
  border-radius: 5px;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.stovia-ranking-sub {
  display: none;
  font-size: 0.8rem;
  color: var(--stovia-color-muted);
}

.stovia-ranking-empty {
  margin: 0;
  padding: 24px;
  text-align: center;
  color: var(--stovia-color-muted);
}

.stovia-ranking-source {
  margin: 16px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--stovia-color-muted);
}

.stovia-ranking-source a {
  color: #2d7f95;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .stovia-ranking-hide-md {
    display: none;
  }
}

@media (max-width: 767px) {
  .stovia-leaderboard {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    grid-template-rows: none;
    padding: 4px 12px;
  }
  .stovia-leaderboard-item:nth-child(10) {
    border-bottom: 1px solid #f1f5f9;
  }
  .stovia-leaderboard .stovia-kcard-chip {
    display: none;
  }
  .stovia-ranking-hide-sm {
    display: none;
  }
  .stovia-ranking-sub {
    display: block;
    margin-top: 2px;
    font-weight: 400;
  }
  .stovia-ranking-table td,
  .stovia-ranking-table th {
    padding: 10px 12px;
  }
  .stovia-ranking-rank {
    width: 48px;
  }
  .stovia-ranking-select {
    max-width: 120px;
  }
}

.stovia-rank-logo {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--stovia-color-border);
  padding: 2px;
}

.stovia-ranking-table .stovia-rank-logo {
  width: 32px;
  height: 32px;
}

.stovia-rank-logo--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(56, 141, 168, 0.1);
  border-color: rgba(56, 141, 168, 0.25);
  color: #2d7f95;
  font-size: 0.72rem;
  font-weight: 700;
}

/* --------------------------------------------------
 * CONTACT PAGE
 * -------------------------------------------------- */
.stovia-contact-page .stovia-hero-banner {
  height: 260px;
}

.stovia-contact-page .stovia-hero-banner-content {
  padding-bottom: 0;
}

.stovia-contact-page .stovia-hero-revamped {
  margin-bottom: 32px;
}

.stovia-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.stovia-contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stovia-field-control select {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 38px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: var(--stovia-color-surface);
  color: var(--stovia-color-text);
  font-family: var(--stovia-font-body);
  font-size: 0.95rem;
}

.stovia-contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: var(--stovia-color-surface);
  color: var(--stovia-color-text);
  font-family: var(--stovia-font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  resize: vertical;
}

.stovia-field-control select:focus,
.stovia-contact-form textarea:focus {
  border-color: #388da8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(56, 141, 168, 0.15);
}

.stovia-contact-form .stovia-lead-submit-btn {
  width: auto;
  justify-self: start;
  padding: 0 32px;
}

.stovia-contact-form .stovia-lead-privacy {
  text-align: left;
}

.stovia-contact-shortcuts {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stovia-contact-shortcuts a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  color: var(--stovia-color-text);
  transition: background 0.2s ease;
}

.stovia-contact-shortcuts a:hover {
  background: rgba(56, 141, 168, 0.07);
}

.stovia-contact-shortcuts svg {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
}

.stovia-contact-shortcuts span {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  color: var(--stovia-color-muted);
}

.stovia-contact-shortcuts strong {
  font-size: 0.92rem;
  color: var(--stovia-color-text);
}

@media (max-width: 991px) {
  .stovia-contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .stovia-contact-page .stovia-hero-banner {
    height: 220px;
  }
  .stovia-contact-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .stovia-contact-form .stovia-lead-submit-btn {
    width: 100%;
  }
}

/* --------------------------------------------------
 * ABOUT PAGE
 * -------------------------------------------------- */
.stovia-about-page .stovia-hero-banner {
  height: 300px;
}

.stovia-about-page .stovia-hero-banner-content {
  padding-bottom: 0;
}

.stovia-about-page .stovia-hero-revamped {
  margin-bottom: 0;
}

.stovia-about-numbers {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -44px auto 40px;
  max-width: 960px;
  padding: 0;
  list-style: none;
  border-radius: 18px;
  background: var(--stovia-color-surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.stovia-about-numbers li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 20px 12px;
  text-align: center;
}

.stovia-about-numbers li + li {
  border-left: 1px solid var(--stovia-color-border);
}

.stovia-about-numbers strong {
  font-family: var(--stovia-font-heading);
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  color: #2d7f95;
  font-variant-numeric: tabular-nums;
}

.stovia-about-numbers span {
  font-size: 0.85rem;
  color: var(--stovia-color-muted);
}

.stovia-about-mission {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.stovia-about-mission .stovia-home-title {
  margin-bottom: 12px;
}

.stovia-about-mission .stovia-detail-prose {
  margin: 0 0 12px;
  max-width: none;
}

.stovia-about-mission .stovia-visi {
  font-size: 1.1rem;
}

.stovia-about-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stovia-about-features a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--stovia-color-border);
  border-radius: 16px;
  background: var(--stovia-color-surface);
  color: var(--stovia-color-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.stovia-about-features a:hover {
  border-color: #388da8;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.stovia-about-features strong {
  font-size: 1rem;
  color: var(--stovia-color-text);
}

.stovia-about-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3bb399 0%, #358da8 50%, #367699 100%);
  color: #ffffff;
}

.stovia-about-sources li {
  color: #334155;
}

.stovia-about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, #3bb399 0%, #358da8 50%, #367699 100%);
  color: #ffffff;
}

.stovia-about-cta h2 {
  margin: 0 0 4px;
  font-size: var(--home-h2);
  font-weight: 700;
  color: #ffffff;
}

.stovia-about-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.stovia-about-cta .stovia-kampus-hero-cta-btn {
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .stovia-about-mission {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .stovia-about-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .stovia-about-page .stovia-hero-banner {
    height: 320px;
  }
  .stovia-about-page .stovia-hero-banner-content {
    padding-bottom: 40px;
  }
  .stovia-about-page .stovia-hero-banner-desc {
    -webkit-line-clamp: unset;
    display: block;
  }
  .stovia-about-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -32px;
  }
  .stovia-about-numbers li:nth-child(3) {
    border-left: 0;
  }
  .stovia-about-numbers li:nth-child(n+3) {
    border-top: 1px solid var(--stovia-color-border);
  }
  .stovia-about-features {
    grid-template-columns: minmax(0, 1fr);
  }
  .stovia-about-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }
}

/* Shortcut links on the teal gradient card */
.stovia-detail-card--contact .stovia-contact-shortcuts a,
.stovia-detail-card--contact .stovia-contact-shortcuts strong {
  color: #ffffff;
}

.stovia-detail-card--contact .stovia-contact-shortcuts span {
  color: rgba(255, 255, 255, 0.8);
}

.stovia-detail-card--contact .stovia-contact-shortcuts svg {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.stovia-detail-card--contact .stovia-contact-shortcuts a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.stovia-detail-card--contact .stovia-contact-shortcuts a:hover strong {
  color: #f3db68;
}

.stovia-detail-card--contact .stovia-contact-shortcuts li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 4px;
}

/* --------------------------------------------------
 * PROGRAMS (Ujian & Beasiswa)
 * -------------------------------------------------- */
.stovia-pcard-status.is-berlangsung { background: #16a34a; }
.stovia-pcard-status.is-selesai { background: #64748b; }

.stovia-pcard-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #388da8;
}

.stovia-filter-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stovia-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stovia-check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #334155;
}

.stovia-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(58, 160, 152, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233aa098' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

html[data-theme="dark"] .stovia-check-list li {
  color: var(--stovia-color-text);
}

@media (max-width: 640px) {
  .stovia-filter-grid--two {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------
 * SHARED (moved from inline styles)
 * -------------------------------------------------- */
.stovia-hero-banner {
  background-image: url('../images/background-home.png');
}

.stovia-hero-search-wrap {
  position: relative;
}

/* Honeypot field: hidden from people, visible to naive bots. */
.stovia-hp {
  position: absolute;
  left: -9999px;
}

.stovia-site-brand {
  display: flex;
  align-items: center;
  height: 38px;
  line-height: 1;
}

.stovia-footer-logo-wrapper {
  text-align: center;
  margin-bottom: 20px;
}

.stovia-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  line-height: 1;
}

.stovia-mobile-drawer-title {
  display: flex;
  align-items: center;
  height: 30px;
}

.stovia-logo-img {
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
}

.stovia-empty-state {
  padding: var(--stovia-space-6);
  text-align: center;
}

.stovia-empty-state p {
  color: var(--stovia-color-muted);
}

.stovia-gallery-wrap {
  position: relative;
}

#stovia-faculties-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.stovia-faq-list {
  display: grid;
  gap: var(--stovia-space-3);
  margin-top: var(--stovia-space-4);
}

.stovia-faq-item {
  padding: var(--stovia-space-4);
  cursor: pointer;
}

.stovia-faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  list-style: none;
}

.stovia-faq-caret {
  font-size: 0.8rem;
  color: var(--stovia-color-primary);
}

.stovia-faq-item p {
  margin: var(--stovia-space-3) 0 0;
  color: var(--stovia-color-muted);
  cursor: default;
}

.stovia-search-overlay-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.stovia-search-overlay-form input {
  flex: 1;
  height: 44px;
  padding: 10px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
}

.stovia-search-overlay-form button {
  height: 44px;
  padding-inline: 20px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
}

/* WhatsApp consultation button (cta-card when a WA number is set) */
.stovia-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-family: var(--stovia-font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.stovia-wa-btn:hover {
  background: #1ebe5b;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.stovia-ranking-intro {
  margin: 0 0 20px;
  max-width: none;
  font-size: 0.98rem;
  color: #475569;
}

.stovia-ranking-intro p {
  margin: 0 0 10px;
}

/* Ranking: Semua / Negeri / Swasta tabs */
.stovia-ranking-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.stovia-ranking-tabs a {
  padding: 6px 16px;
  border: 1px solid var(--stovia-color-border);
  border-radius: 999px;
  background: var(--stovia-color-surface);
  color: var(--stovia-color-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.stovia-ranking-tabs a:hover {
  border-color: #388da8;
  color: #388da8;
}

.stovia-ranking-tabs a.is-active {
  border-color: #388da8;
  background: #388da8;
  color: #ffffff;
}

.stovia-ranking-national {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  color: var(--stovia-color-muted);
  white-space: nowrap;
}

.stovia-wa-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: var(--stovia-color-surface);
  color: var(--stovia-color-text);
  font-family: var(--stovia-font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  resize: vertical;
}

.stovia-wa-form textarea:focus {
  border-color: #25d366;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.stovia-wa-form .stovia-wa-btn {
  border: 0;
  cursor: pointer;
  margin-bottom: 0;
}
