/**
 * LABTEC-IA custom layer for the BootstrapMade Mentor template.
 */
:root {
  --heading-color: #14324a;
  --accent-color: #0d8f8a;
  --nav-hover-color: #0d8f8a;
  --lab-blue: #143e63;
  --lab-blue-2: #0e5b84;
  --lab-teal: #0d8f8a;
  --lab-gold: #c58a19;
  --lab-ink: #223344;
  --lab-muted: #687687;
  --lab-line: #dce6ed;
  --lab-soft: #f4f8fb;
  --lab-surface: #ffffff;
}

body {
  color: var(--lab-ink);
}

.header.lab-header > .container-fluid,
.main .container,
.footer .container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1320px;
  padding-left: 0;
  padding-right: 0;
  width: min(calc(100% - 48px), 1320px);
}

.header.lab-header {
  border-bottom: 1px solid var(--lab-line);
}

.header.lab-header > .container-fluid {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
}

.header.lab-header .logo {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  margin-right: auto;
}

.header .logo img {
  max-height: 42px;
  margin-right: 10px;
  object-fit: contain;
  width: auto;
}

.header .logo .sitename,
.footer .logo .sitename {
  color: var(--lab-blue);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  background: var(--lab-teal);
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
}

.header .btn-getstarted:hover {
  background: var(--lab-blue);
}

.header.lab-header .navmenu {
  align-items: center;
  display: flex;
}

.header.lab-header .navmenu ul {
  align-items: center;
  display: flex;
}

.header.lab-header .mobile-nav-toggle {
  display: none;
}

.navmenu a {
  letter-spacing: 0;
}

.lab-hero-v2 {
  align-items: center;
  background: #0b2236 url("../../images/Original_site_cover.jpg") center 42% / cover no-repeat;
  display: flex;
  min-height: 76vh;
  overflow: hidden;
  padding: 88px 0;
  position: relative;
}

.lab-hero-v2 > img {
  height: 100%;
  inset: 0;
  filter: saturate(0.95) contrast(1.05);
  object-fit: cover;
  object-position: center 42%;
  position: absolute;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 24, 39, 0.94) 0%, rgba(9, 34, 53, 0.82) 48%, rgba(9, 34, 53, 0.5) 100%),
    linear-gradient(0deg, rgba(7, 24, 39, 0.36), rgba(7, 24, 39, 0.1));
  inset: 0;
  position: absolute;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 360px;
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 850px;
}

.eyebrow {
  color: #d8f2ef;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(46px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0 0 18px;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
}

.hero-subtitle {
  color: #eef7fb;
  font-size: 22px;
  line-height: 1.55;
  max-width: 780px;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.hero-actions,
.detail-nav,
.event-actions,
.link-button-row,
.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lab-primary-btn,
.lab-secondary-btn,
.detail-nav a,
.link-button-row a,
.member-actions a,
.event-link {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  gap: 6px;
  padding: 10px 16px;
}

.lab-primary-btn {
  background: var(--lab-teal);
  color: #fff;
}

.lab-primary-btn:hover {
  background: #0b7773;
  color: #fff;
}

.lab-secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
}

.lab-secondary-btn:hover {
  background: #fff;
  color: var(--lab-blue);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  padding: 28px;
}

body:not([data-aos-easing]) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.hero-panel .panel-title {
  color: var(--lab-blue);
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-panel p {
  color: var(--lab-muted);
  line-height: 1.65;
}

.hero-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}

.hero-stats div {
  background: var(--lab-soft);
  border: 1px solid var(--lab-line);
  border-radius: 8px;
  padding: 12px;
}

.hero-stats strong {
  color: var(--lab-blue);
  display: block;
  font-size: 26px;
  line-height: 1;
}

.hero-stats span {
  color: var(--lab-muted);
  display: block;
  font-size: 13px;
  margin-top: 5px;
}

.lab-section-title {
  margin-bottom: 28px;
}

.lab-section-title span {
  color: var(--lab-teal);
  display: block;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.lab-section-title h2 {
  color: var(--heading-color);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.lab-section-title p,
.muted-copy {
  color: var(--lab-muted);
}

.lab-logo-panel {
  align-items: center;
  background: var(--lab-surface);
  border: 1px solid var(--lab-line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(20, 62, 99, 0.08);
  display: flex;
  justify-content: center;
  min-height: 360px;
  padding: 40px;
}

.lab-logo-panel img {
  max-height: 290px;
  object-fit: contain;
  width: 100%;
}

.about-team-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.about-team-item {
  background: #fff;
  border: 1px solid var(--lab-line);
  border-left: 4px solid var(--lab-teal);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
}

.about-team-item span,
.team-kicker,
.event-meta {
  color: var(--lab-gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-team-item strong {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 18px;
}

.about-team-item small {
  color: var(--lab-muted);
}

.team-card,
.event-feed-item,
.member-card,
.resource-panel,
.contact-card,
.side-panel {
  background: #fff;
  border: 1px solid var(--lab-line);
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(20, 62, 99, 0.06);
}

.team-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  height: 100%;
  overflow: hidden;
}

.team-card-media,
.event-feed-media,
.detail-hero-media,
.member-photo,
.gallery-tile > span {
  background: var(--lab-soft);
  overflow: hidden;
  position: relative;
}

.team-card-media img,
.event-feed-media img,
.detail-hero-media img,
.member-photo img,
.gallery-tile img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.team-card-media {
  min-height: 260px;
}

.team-card-body {
  padding: 26px;
}

.team-card h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.team-head {
  color: var(--lab-blue);
  font-weight: 800;
}

.lab-inline-link {
  color: var(--lab-teal);
  font-weight: 800;
}

.lab-inline-link:hover {
  color: var(--lab-blue);
}

.event-feed {
  display: grid;
  gap: 22px;
}

.event-feed.full {
  gap: 28px;
}

.event-feed-item {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  overflow: hidden;
}

.event-feed-media {
  min-height: 230px;
}

.event-feed-body {
  padding: 26px;
}

.event-feed-body h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
}

.event-feed-body p {
  color: color-mix(in srgb, var(--lab-ink), white 18%);
  line-height: 1.7;
}

.event-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.event-badges span {
  background: var(--lab-soft);
  border: 1px solid var(--lab-line);
  border-radius: 999px;
  color: var(--lab-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
}

.event-link,
.detail-nav a,
.link-button-row a,
.member-actions a {
  background: var(--lab-soft);
  border: 1px solid var(--lab-line);
  color: var(--lab-blue);
  font-size: 14px;
}

.event-link:hover,
.detail-nav a:hover,
.link-button-row a:hover,
.member-actions a:hover {
  background: var(--lab-teal);
  border-color: var(--lab-teal);
  color: #fff;
}

.resource-panel {
  height: 100%;
  padding: 28px;
}

.resource-panel h3,
.side-panel h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
}

.resource-list {
  display: grid;
  gap: 12px;
}

.resource-card {
  align-items: center;
  background: var(--lab-soft);
  border: 1px solid var(--lab-line);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  padding: 14px;
}

.resource-card i {
  color: var(--lab-teal);
  font-size: 24px;
}

.resource-card strong {
  color: var(--heading-color);
  display: block;
  line-height: 1.3;
}

.resource-card small {
  color: var(--lab-muted);
  display: block;
  font-size: 13px;
  margin-top: 3px;
}

.team-publication-list {
  display: grid;
  gap: 10px;
}

.team-publication-row {
  align-items: center;
  background: var(--lab-soft);
  border: 1px solid var(--lab-line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 70px 1fr auto;
  padding: 14px;
}

.team-publication-row strong {
  color: var(--lab-teal);
}

.team-publication-row span {
  color: var(--heading-color);
  font-weight: 700;
}

.team-publication-row em {
  color: var(--lab-muted);
  font-size: 13px;
  font-style: normal;
}

.contact-card {
  height: 100%;
  padding: 28px;
  text-align: center;
}

.contact-card i {
  align-items: center;
  background: var(--lab-teal);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 24px;
  height: 58px;
  justify-content: center;
  margin-bottom: 18px;
  width: 58px;
}

.page-hero {
  background: linear-gradient(135deg, var(--lab-blue), var(--lab-blue-2));
  color: #fff;
  padding: 74px 0;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(36px, 6vw, 66px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

.page-hero p {
  color: #eef7fb;
  font-size: 18px;
  line-height: 1.65;
  max-width: 850px;
}

.detail-hero-grid {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 380px;
}

.detail-hero-media {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  height: 290px;
}

.detail-hero-media.contain img {
  object-fit: contain;
  padding: 22px;
}

.detail-section h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 18px;
}

.detail-section p,
.detail-section li,
.event-copy p {
  line-height: 1.78;
}

.clean-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.clean-list li {
  border-bottom: 1px solid var(--lab-line);
  line-height: 1.7;
  padding: 12px 0;
}

.member-card {
  height: 100%;
  overflow: hidden;
}

.member-photo {
  height: 275px;
}

.member-body {
  padding: 24px;
}

.member-body h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
}

.member-role {
  color: var(--lab-teal);
  font-weight: 800;
}

.member-body p {
  color: color-mix(in srgb, var(--lab-ink), white 18%);
  font-size: 14px;
  line-height: 1.7;
}

.side-panel {
  padding: 24px;
  position: sticky;
  top: 100px;
}

.video-frame {
  background: #101820;
  border-radius: 8px;
  overflow: hidden;
}

.video-frame video {
  display: block;
  width: 100%;
}

.gallery-tile {
  background: #fff;
  border: 1px solid var(--lab-line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(20, 62, 99, 0.06);
  display: block;
  overflow: hidden;
}

.gallery-tile > span {
  display: block;
  height: 170px;
}

.gallery-tile small {
  color: var(--lab-muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 12px;
  word-break: break-word;
}

.image-fallback {
  align-items: center;
  background: linear-gradient(135deg, var(--lab-blue), var(--lab-teal));
  color: #fff;
  display: flex;
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 800;
  height: 100%;
  justify-content: center;
  min-height: 150px;
  width: 100%;
}

.not-found {
  padding: 90px 0;
}

.footer.lab-footer {
  border-top: 1px solid var(--lab-line);
}

@media (max-width: 1199px) {
  .header .logo .sitename {
    font-size: 22px;
  }

  .header.lab-header {
    padding: 12px 0;
  }

  .header.lab-header > .container-fluid {
    gap: 14px;
  }

  .header.lab-header .navmenu ul {
    display: none;
  }

  .mobile-nav-active .header.lab-header .navmenu > ul {
    display: block;
  }

  .header.lab-header .mobile-nav-toggle {
    cursor: pointer;
    display: block;
    font-size: 28px;
    line-height: 1;
  }
}

@media (max-width: 991px) {
  .hero-grid,
  .detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 560px;
  }

  .team-card,
  .event-feed-item {
    grid-template-columns: 1fr;
  }

  .team-card-media,
  .event-feed-media {
    min-height: 260px;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 575px) {
  .header.lab-header > .container-fluid,
  .main .container,
  .footer .container {
    width: min(calc(100% - 28px), 100%);
  }

  .header .btn-getstarted {
    display: none;
  }

  .header .logo .sitename {
    font-size: 18px;
  }

  .lab-hero-v2 {
    min-height: 70vh;
    padding: 70px 0;
  }

  .hero-subtitle,
  .page-hero p {
    font-size: 16px;
  }

  .hero-stats,
  .team-publication-row {
    grid-template-columns: 1fr;
  }

  .event-feed-body,
  .team-card-body,
  .member-body,
  .resource-panel {
    padding: 20px;
  }
}
