/* =========================================
   UNIVERSITY DETAIL PAGE STYLES
========================================= */

/* Grid Layout */
.uni-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

/* =========================================
   LEFT: MAIN CONTENT (EDITORIAL STYLE)
========================================= */
.uni-detail-cover {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--vnm-radius-lg);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  margin-bottom: 48px;
}

.uni-detail-content {
  color: var(--vnm-color-text-body);
  font-size: 1.1rem;
  line-height: 1.8;
}

.uni-detail-content .lead-text {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--vnm-color-text-heading);
  line-height: 1.6;
  margin-bottom: 40px;
  padding-left: 24px;
  border-left: 4px solid var(--vnm-color-primary);
}

.uni-detail-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 48px 0 20px;
  letter-spacing: -0.02em;
}

.uni-detail-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin: 32px 0 16px;
}

.uni-detail-content p {
  margin-bottom: 24px;
}

.uni-detail-content strong {
  color: #0f172a;
}

/* Custom Bullet Lists */
.vnm-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.vnm-feature-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
  color: #334155;
}

.vnm-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc143c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* =========================================
   RIGHT: STICKY SIDEBAR
========================================= */
.uni-detail-sidebar {
  position: sticky;
  top: 120px; /* Sticks nicely below the header */
}

.vnm-sticky-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.vnm-sticky-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.sticky-fact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.sticky-fact:last-of-type {
  border-bottom: none;
}

.fact-label {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
}

.fact-value {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.sticky-tuition {
  margin-top: 24px;
  padding: 24px;
  background: rgba(15, 23, 42, 0.03);
  border-radius: 12px;
  text-align: center;
}

.sticky-tuition .fact-label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.tuition-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  margin: 8px 0 4px;
  line-height: 1;
}

.tuition-price span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #64748b;
}

.tuition-sub {
  font-size: 0.95rem;
  color: var(--vnm-color-primary);
  font-weight: 700;
  margin: 0;
}

.sticky-actions {
  margin-top: 32px;
}

/* =========================================
   RESPONSIVE FIXES
========================================= */
@media (max-width: 1024px) {
  .uni-detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .uni-detail-sidebar {
    position: static; /* Disables sticky behavior on mobile/tablets */
  }
  
  .uni-detail-cover {
    height: 400px;
  }
}

@media (max-width: 600px) {
  .vnm-feature-list {
    grid-template-columns: 1fr; /* Single column bullets on mobile */
  }
}