/* Radware vendor page (partner/radware.php) */

:root {
  --rw-teal: #095568;
  --rw-teal-dark: #063d4a;
  --rw-accent: #00b4c8;
  --rw-navy: #0a1628;
  --rw-ink: #111827;
  --rw-muted: #526071;
  --rw-light: #f2f7f9;
  --rw-radius: 16px;
  --rw-shadow: 0 10px 30px rgba(10, 22, 40, 0.09);
}

body {
  overflow-x: hidden;
}

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

.rw-section {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

.rw-h1 {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

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

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

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

.rw-head {
  margin-bottom: 2.5rem;
  text-align: center;
}

.rw-rule {
  display: block;
  width: 56px;
  height: 4px;
  margin: 0.9rem auto 0;
  border-radius: 4px;
  background: var(--rw-accent);
}

/* hero */
.rw-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 480px;
  padding: 4rem 0;
  overflow: hidden;
  background: var(--rw-navy);
}

.rw-hero video {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rw-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, rgba(10, 22, 40, 0.92) 40%, rgba(9, 85, 104, 0.5) 100%);
}

.rw-hero-inner {
  position: relative;
  z-index: 2;
}

.rw-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.95rem;
  border: 1px solid rgba(0, 180, 200, 0.45);
  border-radius: 999px;
  background: rgba(0, 180, 200, 0.16);
  color: #5fe3f1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.radware-page .rw-hero-text {
  max-width: 34rem;
  margin: 1.1rem 0 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
}

/* buttons */
.rw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border: 2px solid var(--rw-teal);
  border-radius: 999px;
  background: var(--rw-teal);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.rw-btn:hover {
  border-color: var(--rw-accent);
  background: var(--rw-accent);
  color: var(--rw-navy);
}

.rw-hero .rw-btn {
  border-color: #fff;
  background: #fff;
  color: var(--rw-teal);
}

.rw-hero .rw-btn:hover {
  border-color: var(--rw-accent);
  background: var(--rw-accent);
  color: var(--rw-navy);
}

.rw-btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
}

.rw-btn:focus-visible {
  outline: 3px solid #7fdbe6;
  outline-offset: 3px;
}

/* featured cards */
.rw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e3eaef;
  border-radius: var(--rw-radius);
  background: #fff;
  box-shadow: var(--rw-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.rw-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(9, 85, 104, 0.18);
}

.rw-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

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

.radware-page .rw-card-body p {
  flex: 1;
  margin-bottom: 1.25rem;
  color: var(--rw-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* solutions tabs */
.rw-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.rw-tabs .nav-link {
  padding: 0.6rem 1.3rem;
  border: 2px solid #d5e0e6;
  border-radius: 999px;
  background: #fff;
  color: var(--rw-teal);
  font-size: 0.93rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.rw-tabs .nav-link:hover {
  border-color: var(--rw-accent);
}

.rw-tabs .nav-link.active {
  border-color: var(--rw-teal);
  background: var(--rw-teal);
  color: #fff;
}

.rw-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 1.6rem 1.6rem 1.5rem;
  border: 1px solid #e3eaef;
  border-radius: var(--rw-radius);
  background: #fff;
  box-shadow: var(--rw-shadow);
}

.radware-page .rw-item p {
  flex: 1;
  margin: 0 0 1.25rem;
  color: var(--rw-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* products */
.rw-product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e3eaef;
  border-radius: var(--rw-radius);
  background: #fff;
  box-shadow: var(--rw-shadow);
}

.rw-product img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

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

.rw-product .rw-h3 {
  color: var(--rw-teal);
  font-size: 1.1rem;
}

.radware-page .rw-product-body p {
  flex: 1;
  margin-bottom: 1.25rem;
  color: var(--rw-muted);
  font-size: 0.93rem;
}

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

  .rw-hero {
    min-height: 0;
    padding: 3rem 0;
  }

  .rw-product img {
    height: 150px;
  }
}

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

  .rw-btn,
  .rw-card {
    transition: none;
  }

  .rw-card:hover {
    transform: none;
  }
}

/* Hero logo */
.rw-hero-logo {
  display: block;
  width: auto;
  height: 40px;
  margin: 0 0 1.5rem;
}

