/* Extracted from page-student-life.php; preserve source block order. */

.ugp-student-shell {
    background:
      radial-gradient(circle at top left, rgba(92,169,230,0.18), transparent 35%),
      linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
    padding-bottom: 2rem;
  }

  .ugp-student-hero {
    background:
      linear-gradient(135deg, rgba(0,56,111,0.98), rgba(37,111,178,0.95)),
      #00386f;
    color: #fff;
    padding: 3.25rem 0 2.8rem;
    margin-bottom: 2rem;
  }

  .ugp-student-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.85fr);
    gap: 1.5rem;
    align-items: end;
  }

  .ugp-student-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    color: rgba(255,255,255,0.72);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .ugp-student-kicker .dashicons {
    width: 1rem;
    height: 1rem;
    font-size: 1rem;
  }

  .ugp-student-hero h1 {
    color: #fff;
    font-size: clamp(2.15rem, 4vw, 3.1rem);
    margin: 0 0 0.9rem;
    line-height: 1.08;
  }

  .ugp-student-hero p {
    margin: 0;
    max-width: 760px;
    color: rgba(255,255,255,0.84);
    line-height: 1.85;
  }

  .ugp-student-summary {
    display: grid;
    gap: 0.85rem;
  }

  .ugp-student-summary-item {
    border-radius: 16px;
    padding: 1rem 1.05rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(6px);
  }

  .ugp-student-summary-item strong {
    display: block;
    margin-bottom: 0.35rem;
    color: rgba(255,255,255,0.68);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .ugp-student-summary-item span {
    display: block;
    color: #fff;
    font-weight: 700;
    line-height: 1.5;
  }

  .ugp-student-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .ugp-student-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(37,111,178,0.14);
    box-shadow: 0 12px 35px rgba(15,23,42,0.06);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }

  .ugp-card-link:hover .ugp-student-card,
  .ugp-card-link:focus-visible .ugp-student-card {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(15,23,42,0.12);
    border-color: rgba(37,111,178,0.24);
  }

  .ugp-student-card::before {
    content: "";
    display: block;
    height: 8px;
    background: linear-gradient(90deg, #5ca9e6, #256fb2);
  }

  .ugp-student-card.is-rhythm::before {
    background: linear-gradient(90deg, #256fb2, #0ea5e9);
  }

  .ugp-student-card.is-community::before {
    background: linear-gradient(90deg, #0f766e, #22c55e);
  }

  .ugp-student-card.is-campus::before {
    background: linear-gradient(90deg, #1d4ed8, #2563eb);
  }

  .ugp-student-card.is-events::before {
    background: linear-gradient(90deg, #7c3aed, #ec4899);
  }

  .ugp-student-card.is-accommodation::before {
    background: linear-gradient(90deg, #ea580c, #f59e0b);
  }

  .ugp-student-card.is-tour::before {
    background: linear-gradient(90deg, #0f172a, #256fb2);
  }

  .ugp-student-card.is-gallery::before {
    background: linear-gradient(90deg, #256fb2, #14b8a6);
  }

  .ugp-student-card.is-reviews::before {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
  }

  .ugp-student-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    min-height: 100%;
    padding: 1.35rem 1.35rem 1.45rem;
  }

  .ugp-student-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .ugp-student-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37,111,178,0.1);
    color: var(--color-primary-deep, #256fb2);
  }

  .ugp-student-icon .dashicons {
    width: 1.3rem;
    height: 1.3rem;
    font-size: 1.3rem;
  }

  .ugp-student-card .ugp-card-title {
    margin: 0;
    font-size: 1.28rem;
  }

  .ugp-student-card .ugp-card-text {
    margin: 0;
    color: var(--color-text-muted, #64748b);
    line-height: 1.75;
    flex: 1;
  }

  .ugp-student-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary-deep, #256fb2);
    letter-spacing: 0.02em;
  }

  .ugp-student-card-meta::before {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.7;
  }

  .ugp-student-cta {
    margin-top: 1.8rem;
    padding: 1.5rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(37,111,178,0.14);
    box-shadow: 0 12px 35px rgba(15,23,42,0.06);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: center;
  }

  .ugp-student-cta h2 {
    margin: 0 0 0.55rem;
    color: var(--color-text-main, #0f172a);
  }

  .ugp-student-cta p {
    margin: 0;
    color: var(--color-text-muted, #64748b);
    line-height: 1.8;
  }

  .ugp-student-cta .ugp-btn {
    white-space: nowrap;
  }

  @media (max-width: 960px) {
    .ugp-student-hero-grid,
    .ugp-student-grid,
    .ugp-student-cta {
      grid-template-columns: 1fr;
    }
  }
