/* Top slider (owner request 2026-11-14), used with teu-slider.js. Needs teu-refresh.css (colours, fonts). */
.teu-slides { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; width: 100%; align-self: stretch; }
.teu-slide { grid-area: 1 / 1; width: 100%; min-width: 0; opacity: 0; visibility: hidden; transform: translateX(28px);
  transition: opacity .8s var(--teu-ease), transform .8s var(--teu-ease), visibility 0s linear .8s; }
.teu-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.teu-slider-nav { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; align-items: center;
  gap: 10px; z-index: 3; }
.teu-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .45);
  cursor: pointer; transition: width .3s var(--teu-ease), background .3s; }
.teu-dot.is-active { width: 28px; background: var(--teu-blue); }
.teu-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  transition: background .2s, border-color .2s; }
.teu-arrow:hover { background: var(--teu-blue); border-color: var(--teu-blue); }

/* slide 2 shows a deeper blue over the same picture */
.banner .overlay { transition: background .8s var(--teu-ease); }
.preset-banner-v3-home-hero-logo-nav-h1-slogan.teu-on-portal .overlay {
  background: linear-gradient(110deg, rgba(10, 22, 40, .94) 0%, rgba(0, 79, 135, .85) 55%, rgba(41, 163, 221, .55) 100%) !important; }

.teu-slide-portal .banner-content .teu-portal-grid { display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) !important;
  gap: 48px; align-items: center; text-align: left; flex-direction: initial !important; }
.teu-portal-copy h2 { color: #fff !important; font-size: clamp(30px, 4.4vw, 52px) !important; line-height: 1.12 !important;
  margin: 14px 0 12px !important; }
.teu-portal-copy p { color: rgba(255, 255, 255, .88) !important; font-size: 18px !important; max-width: 520px; margin: 0 0 26px !important; }
.teu-badge { display: inline-block; font: 600 13px "Inter", Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: rgba(41, 163, 221, .25); border: 1px solid rgba(41, 163, 221, .6); padding: 6px 14px; border-radius: 999px; }
.teu-portal-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.teu-portal-actions .teu-btn { display: inline-flex; align-items: center; padding: 14px 24px; font-weight: 700; font-size: 16px;
  text-decoration: none !important; }
.teu-btn-signup { background: var(--teu-blue) !important; color: #fff !important; box-shadow: 0 10px 26px rgba(41, 163, 221, .35); }
.teu-btn-signup:hover { background: #fff !important; color: var(--teu-deep) !important; }
.teu-btn-ghost { border: 2px solid rgba(255, 255, 255, .7); color: #fff !important; background: transparent; }
.teu-btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* a small picture of the portal (sample rows, not real records) */
.teu-portal-card { background: rgba(255, 255, 255, .96); border-radius: 18px; padding: 16px 18px 18px; color: var(--teu-navy);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transform: rotate(-2deg); animation: teu-float 6s ease-in-out infinite;
  font: 14px "Inter", Arial, sans-serif; }
@keyframes teu-float { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-10px); } }
.teu-card-head { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid #e8edf2; margin-bottom: 6px; }
.teu-card-head span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.teu-card-head span:nth-child(2) { background: #febc2e; }
.teu-card-head span:nth-child(3) { background: #28c840; }
.teu-card-head b { margin-left: 10px; font-weight: 600; color: #6b7380; font-size: 12px; }
.teu-card-row { display: grid; grid-template-columns: 1fr 1.6fr .7fr; gap: 8px; padding: 9px 4px; border-bottom: 1px solid #f0f3f6; }
.teu-card-row i { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.teu-card-row.teu-h i { font-weight: 700; font-size: 12px; color: #6b7380; text-transform: uppercase; }
.teu-card-foot { display: flex; justify-content: space-between; margin-top: 12px; padding: 10px 12px; border-radius: 10px;
  background: rgba(26, 127, 75, .08); color: #1a7f4b; font-weight: 600; }

@media (max-width: 860px) {
  .teu-slide-portal .banner-content .teu-portal-grid { grid-template-columns: minmax(0, 1fr) !important; text-align: center; }
  .teu-portal-copy p { margin-left: auto !important; margin-right: auto !important; }
  .teu-portal-actions { justify-content: center; }
  .teu-portal-card { display: none; }
  .teu-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .teu-slide { transition: none !important; transform: none !important; }
  .teu-portal-card { animation: none !important; }
}
