/* Dell Endpoint vendor page (partner/dell_endpoint.php) */

:root {
  --color-dell-endpoint: #0076CE;
  --color-dell-endpoint-dark: #005a9e;
  --de-night: #07111f;
  --de-ink: #14202e;
  --de-muted: #526071;
  --de-light: #f3f7fb;
  --de-line: #dfe7ef;
  --de-radius: 16px;
}

body {
  overflow-x: hidden;
}

.dell-endpoint-page p {
  font-size: 1rem;
  line-height: 1.7;
}

.dell-endpoint-page h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.dell-endpoint-page h2 {
  margin-bottom: 0.75rem;
  color: var(--de-ink);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.dell-endpoint-page h3 {
  color: var(--de-ink);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.vendor-color {
  color: var(--color-dell-endpoint);
}

.bg-vendor-color {
  background-color: var(--color-dell-endpoint);
}

/* sections */
.dell-endpoint-page .py-5.full-bleed {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
  scroll-margin-top: 80px;
}

.dell-endpoint-page .bg-light {
  background: var(--de-light) !important;
}

.dell-endpoint-page .mb-4 {
  max-width: 50rem;
  color: var(--de-muted);
}

/* hero */
.dell-endpoint-hero {
  background: var(--de-night) url('/images/dell_enterprise/dell-endpoint-hero.webp') center / cover no-repeat;
}

.dell-endpoint-hero-overlay {
  display: flex;
  align-items: center;
  min-height: 500px;
  background: linear-gradient(90deg, rgba(7, 17, 31, 0.94) 0%, rgba(7, 17, 31, 0.7) 55%, rgba(7, 17, 31, 0.3) 100%);
}

.dell-endpoint-hero-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dell-endpoint-hero h1 {
  margin-bottom: 1rem;
  color: #fff;
}

.dell-endpoint-page .dell-endpoint-hero p {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
}

.btn-dell-endpoint,
.btn-dell-endpoint-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.7rem;
  border: 2px solid var(--color-dell-endpoint);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-dell-endpoint {
  background: var(--color-dell-endpoint);
  color: #fff !important;
}

.btn-dell-endpoint:hover {
  border-color: var(--color-dell-endpoint-dark);
  background: var(--color-dell-endpoint-dark);
}

.btn-dell-endpoint-outline {
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
  color: #fff !important;
}

.btn-dell-endpoint-outline:hover {
  border-color: #fff;
  background: #fff;
  color: var(--de-night) !important;
}

/* category cards */
.dell-cat-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--de-line);
  border-radius: var(--de-radius);
  background: #fff;
  color: inherit;
  text-decoration: none !important;
  transition: border-color 0.25s;
}

.dell-cat-card:hover {
  border-color: var(--color-dell-endpoint);
}

.dell-cat-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  overflow: hidden;
}

.dell-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.4s ease;
}

.dell-cat-card:hover .dell-cat-media img {
  transform: scale(1.06);
}

.dell-cat-media.bg-dark {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
}

.dell-cat-media.bg-blue {
  background: linear-gradient(145deg, #0076CE 0%, #004d8c 100%);
}

.dell-cat-media.bg-gray {
  background: linear-gradient(145deg, #2d3436 0%, #636e72 100%);
}

.dell-cat-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--color-dell-endpoint);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dell-cat-badge.badge-light {
  background: #fff;
  color: var(--color-dell-endpoint);
}

.dell-cat-body {
  padding: 1.5rem;
}

.dell-endpoint-page .dell-cat-body p {
  margin-bottom: 0;
  color: var(--de-muted);
  font-size: 0.95rem;
}

.dell-cat-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.9rem;
  color: var(--color-dell-endpoint);
  font-weight: 600;
}

/* product cards */
.dell-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--de-line);
  border-radius: var(--de-radius);
  background: #fff;
  transition: border-color 0.25s;
}

.dell-product-card:hover {
  border-color: var(--color-dell-endpoint);
}

.dell-product-card .card-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  padding: 1.25rem;
  overflow: hidden;
  border-bottom: 1px solid var(--de-line);
  background: linear-gradient(135deg, #eef5fb 0%, #f8fbfe 100%);
}

.dell-product-card .card-img-wrap img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.dell-product-card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.dell-product-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem 1.5rem 1.5rem;
}

.dell-product-card .card-desc {
  margin-bottom: 1rem;
  color: var(--de-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.dell-product-card .spec-list {
  flex: 1;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  color: #2c3a4a;
  font-size: 0.9rem;
}

.dell-product-card .spec-list li {
  position: relative;
  padding: 0.25rem 0 0.25rem 1.5rem;
  line-height: 1.45;
}

.dell-product-card .spec-list li::before {
  content: '\f00c';
  position: absolute;
  top: 0.4rem;
  left: 0;
  color: #0a9b3a;
  font-family: 'Font Awesome 6 Free';
  font-size: 0.75rem;
  font-weight: 900;
}

.dell-product-card .card-actions {
  margin-top: auto;
}

.dell-product-card .btn-learn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1.5rem;
  border: 2px solid var(--color-dell-endpoint);
  border-radius: 8px;
  background: var(--color-dell-endpoint);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.dell-product-card .btn-learn:hover {
  border-color: var(--color-dell-endpoint-dark);
  background: var(--color-dell-endpoint-dark);
}

.dell-product-card .btn-learn i {
  font-size: 0.8em;
  transition: transform 0.2s;
}

.dell-product-card .btn-learn:hover i {
  transform: translateX(3px);
}

.dell-product-card.dell-monitor-card .card-img-wrap {
  min-height: 210px;
}

.dell-product-card.dell-monitor-card .card-img-wrap img {
  max-height: 200px;
}

@media (max-width: 767px) {
  .dell-endpoint-page .py-5.full-bleed {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }

  .dell-endpoint-hero-overlay {
    min-height: 0;
    background: rgba(7, 17, 31, 0.78);
  }
}

@media (prefers-reduced-motion: reduce) {

  .dell-cat-media img,
  .dell-product-card .card-img-wrap img,
  .dell-product-card .btn-learn i {
    transition: none;
  }

  .dell-cat-card:hover .dell-cat-media img,
  .dell-product-card:hover .card-img-wrap img,
  .dell-product-card .btn-learn:hover i {
    transform: none;
  }
}
