/**
 * Lecture Panel — Nebula Institute of Technology
 * Include via: your_theme/css/lecture-panel.css
 * Library def: your_theme.libraries.yml  →  lecture-panel: css/lecture-panel.css
 */

/* ── CUSTOM PROPERTIES ── */
:root {
  --lp-teal:       #00a9b5;
  --lp-teal-dark:  #007a84;
  --lp-teal-light: #e0f7f9;
  --lp-navy:       #002851;
  --lp-navy-mid:   #1a2e3b;
  --lp-gold:       #e8a820;
  --lp-white:      #ffffff;
  --lp-bg:         #f4f8f9;
  --lp-text:       #2d3e4a;
  --lp-muted:      #6b8190;
  --lp-border:     #d0e4e8;
}

/* ── BREADCRUMB ── */
.lp-breadcrumb {
  background: var(--lp-navy);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}
.lp-breadcrumb a { color: #fff; text-decoration: none; }
.lp-breadcrumb span { color: rgba(255, 255, 255, 0.5); }

/* ── HERO ── */
.lp-profile-hero {
  background: linear-gradient(135deg, #002851 0%, #243e50 50%, var(--lp-teal-dark) 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 40px 0;
}
.lp-profile-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300a9b5' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.lp-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* Photo */
.lp-profile-photo-wrap { flex-shrink: 0; position: relative; }
.lp-profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 5px solid var(--lp-teal);
  background: #2a4a5e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.lp-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-photo-placeholder {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
}
.lp-photo-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: var(--lp-gold);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.lp-photo-badge svg { width: 16px; height: 16px; fill: #fff; }

/* Hero text */
.lp-hero-info { flex: 1; padding-bottom: 36px; }
.lp-dept-tag {
  display: inline-block;
  background: rgba(0, 169, 181, 0.25);
  border: 1px solid rgba(0, 169, 181, 0.4);
  color: #7de8f0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.lp-name {
  font-size: 2.4rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
  font-weight: 700;
}
.lp-title {
  font-size: 1rem;
  color: var(--lp-teal);
  font-weight: 500;
  margin-bottom: 20px;
}
.lp-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-hero-tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ── MAIN LAYOUT ── */
.lp-main-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  background: var(--lp-bg);
  margin-top: 30px;
}

/* ── CARD ── */
.lp-card {
  background: var(--lp-white);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 28px;
}
.lp-card-header {
  background: linear-gradient(90deg, var(--lp-teal) 0%, #01264d 100%);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-card-header h2 {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.lp-card-header svg { width: 18px; height: 18px; fill: rgba(255, 255, 255, 0.8); }
.lp-card-body { padding: 28px; }

/* ── PROFILE TEXT (body field) ── */
.lp-profile-text p {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--lp-text);
  margin-bottom: 16px;
}
.lp-profile-text p:last-child { margin-bottom: 0; }

/* ── EDUCATION PARAGRAPH ── */
.lp-edu-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--lp-border);
}
.lp-edu-item:last-child { border-bottom: none; padding-bottom: 0; }
.lp-edu-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--lp-teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-edu-icon svg { width: 22px; height: 22px; fill: var(--lp-teal); }
.lp-edu-detail h4 {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--lp-navy-mid);
  margin: 0 0 3px;
}
.lp-edu-detail p {
  font-size: 0.83rem;
  color: var(--lp-muted);
  margin: 0;
}
.lp-edu-year {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--lp-teal-light);
  color: var(--lp-teal-dark);
  padding: 2px 10px;
  border-radius: 10px;
}

/* ── RESEARCH LINKS ── */
.lp-research-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-research-list li { margin-bottom: 12px; }
.lp-research-list li:last-child { margin-bottom: 0; }
.lp-research-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lp-teal-dark);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.lp-research-list a:hover { color: var(--lp-teal); text-decoration: underline; }
.lp-ext-icon { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }

/* ── CONTACT SIDEBAR ── */
.lp-contact-body { padding: 0 !important; }
.lp-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--lp-border);
  transition: background 0.15s;
}
.lp-contact-item:last-child { border-bottom: none; }
.lp-contact-item:hover { background: #f0fafb; }
.lp-contact-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--lp-teal-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-contact-icon svg { width: 18px; height: 18px; fill: var(--lp-teal); }
.lp-contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lp-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.lp-contact-value {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--lp-navy-mid);
  margin-top: 2px;
  word-break: break-word;
}
.lp-contact-value a { color: var(--lp-teal); text-decoration: none; }
.lp-contact-value a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .lp-main-wrap {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  .lp-hero-inner { flex-direction: column; align-items: center; text-align: center; }
  .lp-hero-tags { justify-content: center; }
  .lp-profile-hero { padding: 40px 20px 0; }
  .lp-breadcrumb { padding: 12px 20px; }
}

/* ══════════════════════════════════════════════════════════════
   PAGE TEMPLATE SHELL  (page--node--lecture-panel.html.twig)
   These rules style the full-page wrapper, site header, nav,
   and footer rendered by the page template. They complement
   (not replace) any existing base-theme header/footer styles.
   Prefix: lp-site-* / lp-primary-* to avoid collisions.
   ══════════════════════════════════════════════════════════════ */

/* Outer wrapper — full viewport column */
.lp-page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--lp-bg);
  font-family: inherit;
}

/* ── SITE HEADER ── */
.lp-site-header {
  background: var(--lp-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 200;
}

/*
 * Drupal renders header blocks (logo, site name, slogan)
 * via the region. The selectors below target common Olivero /
 * Claro / custom-theme markup patterns. Adjust to match your
 * base theme's actual HTML output.
 */
.lp-site-header .site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 40px;
  height: 70px;
  text-decoration: none;
}
.lp-site-header .site-branding__logo img {
  height: 44px;
  width: auto;
}
.lp-site-header .site-branding__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lp-navy);
  text-decoration: none;
  line-height: 1.2;
}
.lp-site-header .site-branding__slogan {
  font-size: 0.75rem;
  color: var(--lp-muted);
}

/* ── PRIMARY NAVIGATION ── */
.lp-primary-nav {
  background: var(--lp-white);
  border-top: 1px solid var(--lp-border);
}

/*
 * Target the menu rendered inside the navigation region.
 * Drupal outputs <ul class="menu"> inside the nav block.
 */
.lp-primary-nav .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 40px;
  gap: 0;
}
.lp-primary-nav .menu__item { position: relative; }
.lp-primary-nav .menu__link {
  display: block;
  padding: 14px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--lp-navy);
  text-decoration: none;
  transition: color 0.2s, border-bottom-color 0.2s;
  border-bottom: 3px solid transparent;
}
.lp-primary-nav .menu__link:hover,
.lp-primary-nav .menu__link.is-active {
  color: var(--lp-teal);
  border-bottom-color: var(--lp-teal);
}

/* ── SECONDARY NAVIGATION ── */
.lp-secondary-nav {
  background: var(--lp-navy);
  padding: 0 40px;
}
.lp-secondary-nav .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.lp-secondary-nav .menu__link {
  display: block;
  padding: 8px 14px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.lp-secondary-nav .menu__link:hover { color: #fff; }

/* ── HIGHLIGHTED REGION ── */
.lp-highlighted {
  max-width: 100%;
  padding: 0;
}

/* ── HELP / STATUS MESSAGES ── */
.lp-help {
  max-width: 1100px;
  margin: 16px auto;
  padding: 0 40px;
}

/* ── MAIN CONTENT AREA ── */
/*
 * .lp-main-content is the <main> element.
 * It expands to fill available vertical space (flex-grow)
 * so the footer always sticks to the bottom.
 * The actual layout grid (hero, cards, sidebar) is handled
 * by .lp-main-wrap inside node--lecture-panel--full.html.twig.
 */
.lp-main-content {
  flex: 1 0 auto;
  outline: none; /* skip-link target — do not show focus ring on main */
}

/* ── SITE FOOTER ── */
.lp-site-footer {
  background: var(--lp-navy);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  flex-shrink: 0;
}

/*
 * Inner footer layout — two-column: links left, copyright right.
 * Adjust if your footer region outputs different blocks.
 */
.lp-site-footer .lp-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* Footer menu */
.lp-site-footer .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
  flex-wrap: wrap;
}
.lp-site-footer .menu__link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.lp-site-footer .menu__link:hover { color: var(--lp-teal); }

/* Copyright text block */
.lp-site-footer .lp-copyright {
  text-align: right;
}
.lp-site-footer .lp-copyright a {
  color: var(--lp-teal);
  text-decoration: none;
}

/* ── SKIP LINK (accessibility) ── */
.lp-skip-link {
  position: absolute;
  top: -999px;
  left: 8px;
  background: var(--lp-teal);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 6px 6px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.1s;
}
.lp-skip-link:focus { top: 0; }

/* ── RESPONSIVE (page shell) ── */
@media (max-width: 900px) {
  .lp-site-header .site-branding { padding: 0 20px; }
  .lp-primary-nav .menu { padding: 0 20px; overflow-x: auto; }
  .lp-secondary-nav { padding: 0 20px; }
  .lp-help { padding: 0 20px; }
  .lp-site-footer .lp-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .lp-site-footer .lp-copyright { text-align: left; }
}

@media (max-width: 600px) {
  .lp-primary-nav .menu__link { padding: 12px 12px; font-size: 0.82rem; }
}

/* ── FADE-IN ANIMATION ── */
@keyframes lp-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lp-profile-hero { animation: lp-fade-up 0.5s ease both; }
.lp-card { animation: lp-fade-up 0.5s ease both; }
.lp-main-col .lp-card:nth-child(1) { animation-delay: 0.1s; }
.lp-main-col .lp-card:nth-child(2) { animation-delay: 0.2s; }
.lp-main-col .lp-card:nth-child(3) { animation-delay: 0.3s; }
.lp-sidebar-col .lp-card { animation-delay: 0.15s; }


/* ═══════════════════════════════════════════════════════════════
   PAGE TEMPLATE STYLES
   page--node--lecture-panel.html.twig
   ═══════════════════════════════════════════════════════════════ */

/* ── Skip link ── */
.lp-skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--lp-teal);
  color: #fff;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.lp-skip-link:focus { top: 0; }

/* ── Body reset for lecture panel pages ── */
body.lp-page {
  margin: 0;
  padding: 0;
  background: var(--lp-bg, #f4f8f9);
  font-family: 'DM Sans', sans-serif;
}

/* ── Site header ── */
.lp-site-header {
  background: var(--lp-white, #fff);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 200;
}
.lp-site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.lp-site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--lp-navy, #002851);
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.lp-logo-mark {
  width: 40px;
  height: 40px;
  background: var(--lp-teal, #00a9b5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.lp-logo-text { line-height: 1.25; }

/* Primary nav region — Drupal renders <ul> inside here */
.lp-primary-nav { display: flex; align-items: center; }
.lp-primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}
.lp-primary-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--lp-navy, #002851);
  text-decoration: none;
  transition: color 0.2s;
}
.lp-primary-nav a:hover,
.lp-primary-nav a.is-active { color: var(--lp-teal, #00a9b5); }

/* ── Breadcrumb region wrapper ── */
.lp-breadcrumb-region { background: var(--lp-navy, #002851); }
.lp-breadcrumb-region nav,
.lp-breadcrumb-region ol,
.lp-breadcrumb-region ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 14px 40px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}
.lp-breadcrumb-region a { color: #fff; text-decoration: none; }
.lp-breadcrumb-region a:hover { text-decoration: underline; }
.lp-breadcrumb-region li + li::before {
  content: '›';
  color: rgba(255, 255, 255, 0.5);
  margin-right: 6px;
}

/* Fallback static breadcrumb (same visual) */
.lp-breadcrumb {
  background: var(--lp-navy, #002851);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}
.lp-breadcrumb a { color: #fff; text-decoration: none; }
.lp-breadcrumb a:hover { text-decoration: underline; }
.lp-breadcrumb span { color: rgba(255, 255, 255, 0.5); }

/* ── Main content area ── */
.lp-page-main {
  /* No padding — the node template hero goes edge-to-edge */
  outline: none;
}

/* Status messages */
.lp-messages-region {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 40px;
}

/* ── Site footer ── */
.lp-site-footer {
  background: var(--lp-navy, #002851);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 20px;
}
.lp-site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-footer-copy {
  font-size: 0.82rem;
  text-align: center;
}
.lp-footer-copy a {
  color: var(--lp-teal, #00a9b5);
  text-decoration: none;
}
.lp-footer-copy a:hover { text-decoration: underline; }

/* Footer region (Drupal blocks) */
.lp-site-footer .block { color: rgba(255, 255, 255, 0.6); font-size: 0.82rem; }
.lp-site-footer a { color: var(--lp-teal, #00a9b5); text-decoration: none; }
.lp-site-footer a:hover { text-decoration: underline; }

/* ── Responsive adjustments ── */
@media (max-width: 900px) {
  .lp-site-header__inner { padding: 0 20px; }
  .lp-primary-nav { display: none; } /* add a hamburger menu if needed */
  .lp-breadcrumb,
  .lp-breadcrumb-region nav,
  .lp-breadcrumb-region ol { padding: 12px 20px; }
  .lp-site-footer__inner { padding: 20px; }
  .lp-messages-region { padding: 0 20px; }
}


/* ═══════════════════════════════════════════════════════════════
   LECTURER LIST — Views block (About Us page)
   views-view-unformatted--lecturer-panel.html.twig
   views-view-fields--lecturer-panel.html.twig
   ═══════════════════════════════════════════════════════════════ */

/* ── Grid wrapper ── */
.lp-lecturer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  padding: 0;
  margin: 0;
}

/* ── Individual card row wrapper ── */
.lp-lecturer-card {
  /* reset Views-injected styles */
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── Clickable card link wrapper ── */
.lp-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--lp-white, #fff);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  position: relative;
}
.lp-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 2px solid transparent;
  transition: border-color 0.25s ease;
  pointer-events: none;
}
.lp-card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 169, 181, 0.18);
}
.lp-card-link:hover::after {
  border-color: var(--lp-teal, #00a9b5);
}
.lp-card-link:focus-visible {
  outline: 3px solid var(--lp-teal, #00a9b5);
  outline-offset: 3px;
}

/* ── Photo area ── */
.lp-card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #002851 0%, #007a84 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

/* Drupal image field renders an <img> inside a div — target it */
.lp-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.lp-card-link:hover .lp-card-photo img {
  transform: scale(1.05);
}

/* Fallback initial letter */
.lp-card-initial {
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1;
  user-select: none;
}

/* Teal accent bar at bottom of photo */
.lp-card-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--lp-teal, #00a9b5);
}

/* ── Card text body ── */
.lp-lecturer-grid .lp-card-body {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.lp-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--lp-navy, #002851);
  margin: 0;
  line-height: 1.3;
}

.lp-card-position {
  font-size: 0.8rem;
  color: var(--lp-muted, #6b8190);
  margin: 0;
  line-height: 1.4;
}

/* View Profile CTA */
.lp-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--lp-teal, #00a9b5);
  text-transform: uppercase;
  transition: gap 0.2s ease;
}
.lp-card-cta svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  transition: transform 0.2s ease;
}
.lp-card-link:hover .lp-card-cta { gap: 6px; }
.lp-card-link:hover .lp-card-cta svg { transform: translateX(3px); }

/* ── Card entrance animation ── */
@keyframes lp-card-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lp-lecturer-card {
  animation: lp-card-in 0.4s ease both;
}
.lp-lecturer-card:nth-child(1)  { animation-delay: 0.05s; }
.lp-lecturer-card:nth-child(2)  { animation-delay: 0.10s; }
.lp-lecturer-card:nth-child(3)  { animation-delay: 0.15s; }
.lp-lecturer-card:nth-child(4)  { animation-delay: 0.20s; }
.lp-lecturer-card:nth-child(5)  { animation-delay: 0.25s; }
.lp-lecturer-card:nth-child(6)  { animation-delay: 0.30s; }
.lp-lecturer-card:nth-child(7)  { animation-delay: 0.35s; }
.lp-lecturer-card:nth-child(8)  { animation-delay: 0.40s; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .lp-lecturer-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .lp-lecturer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .lp-card-name { font-size: 0.9rem; }
}
