/* Dell Infrastructure vendor page (partner/dell_infrastructure.php) */

:root {
  --dl-blue: #00447b;
  --dl-accent: #1d4ed8;
  --dl-accent-dark: #1639a8;
  --dl-night: #0a1b2e;
  --dl-ink: #14202e;
  --dl-muted: #526071;
  --dl-light: #f3f7fb;
  --dl-radius: 16px;
  --dl-line: #dfe7ef;
}

body {
  overflow-x: hidden;
}

.dl-light {
  background: var(--dl-light);
}

.dl-section {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
  scroll-margin-top: 80px;
}

.dl-h1 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

.dl-h3 {
  margin-bottom: 0.5rem;
  color: var(--dl-ink);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.dl-h3-lg {
  margin: 3rem 0 0.5rem;
  color: var(--dl-ink);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
}

.dl-h4 {
  margin: 2.25rem 0 0.4rem;
  color: var(--dl-accent);
  font-size: 1.15rem;
  font-weight: 700;
}

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

.dellinfra-page .dl-lead {
  max-width: 48rem;
  margin: 0 0 2rem;
  color: var(--dl-muted);
  font-size: 1.08rem;
}

/* hero */
.dl-hero {
  padding: 4.5rem 0;
  background:
    radial-gradient(55% 90% at 90% 15%, rgba(29, 78, 216, 0.4) 0%, transparent 65%),
    linear-gradient(160deg, #0d2742 0%, var(--dl-night) 100%);
  color: #fff;
}

.dellinfra-page .dl-hero p {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.dl-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* jump cards */
.dl-jump {
  display: block;
  height: 100%;
  padding: 1.75rem 1.6rem;
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s;
}

.dl-jump:hover {
  border-color: var(--dl-accent);
  color: inherit;
}

.dl-jump-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 0;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--dl-accent) 0%, var(--dl-blue) 100%);
  color: #fff;
  font-size: 1.3rem;
}

.dellinfra-page .dl-jump p {
  margin: 0;
  color: var(--dl-muted);
  font-size: 0.97rem;
}

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

.dl-card:hover {
  border-color: var(--dl-accent);
}

.dl-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  padding: 1rem;
  border-bottom: 1px solid var(--dl-line);
  background: linear-gradient(135deg, #eaf2fa 0%, #f6faff 100%);
}

.dl-img {
  overflow: hidden;
}

.dl-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.dl-card:hover .dl-img img {
  transform: scale(1.1);
}

.dl-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--dl-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.dl-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem 1.5rem 1.5rem;
}

.dellinfra-page .dl-desc {
  margin: 0 0 1rem;
  color: var(--dl-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.dl-label {
  margin-bottom: 0.5rem;
  color: var(--dl-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dl-list {
  flex: 1;
  width: 100%;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.dl-list li {
  position: relative;
  padding: 0.22rem 0 0.22rem 1.5rem;
  color: #2c3a4a;
  font-size: 0.9rem;
  line-height: 1.45;
}

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

/* button */
.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border: 1px solid var(--dl-accent);
  border-radius: 6px;
  background: var(--dl-accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s, border-color 0.2s;
}

.dl-btn:hover {
  border-color: var(--dl-accent-dark);
  background: var(--dl-accent-dark);
  color: #fff;
}

.dl-btn:focus-visible {
  outline: 2px solid #9db8f5;
  outline-offset: 2px;
}

/* server tabs */
.dl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 2rem;
  padding: 0;
}

.dl-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.4rem;
  border: 2px solid #d3dce7;
  border-radius: 999px;
  background: #fff;
  color: #44556a;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.dl-tab:hover {
  border-color: var(--dl-accent);
  color: var(--dl-accent);
}

.dl-tab.active {
  border-color: var(--dl-accent);
  background: var(--dl-accent);
  color: #fff;
}

.dl-tab:focus-visible {
  outline: 2px solid var(--dl-accent);
  outline-offset: 2px;
}

.dl-panel {
  display: none;
  animation: dl-fade 0.3s ease;
}

.dl-panel.active {
  display: block;
}

@keyframes dl-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .dl-section {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }

  .dl-hero {
    padding: 3rem 0;
  }

  .dl-tab {
    width: 100%;
    justify-content: center;
  }
}

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

  .dl-btn,
  .dl-card,
  .dl-img img,
  .dl-jump,
  .dl-tab {
    transition: none;
  }

  .dl-card:hover .dl-img img {
    transform: none;
  }

  .dl-panel {
    animation: none;
  }
}

/* Hero logo */
.dl-hero .dl-hero-logo {
  display: block;
  width: auto;
  height: 56px;
  border-radius: 0;
  margin: 0 0 1.5rem;
}
