/* Horizontal Logo Scrolling Animation */

/* =====================================
   STPR LOGO CARD SLIDER - MEDIUM SPEED
===================================== */

.stpr-logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 18px 0;
    background: #ffffff;
    border-top: 1px solid #e5edf3;
    border-bottom: 1px solid #e5edf3;
}

.stpr-logo-slider::before,
.stpr-logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.stpr-logo-slider::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.stpr-logo-slider::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.stpr-logo-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    animation: stprMediumScroll 34s linear infinite;
}

.stpr-logo-slider:hover .stpr-logo-track {
    animation-play-state: paused;
}

.stpr-logo-card {
    width: 245px;
    height: 135px;
    flex: 0 0 245px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #cfdbe6;
    border-radius: 18px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    transition: all 0.35s ease;
}

.stpr-logo-card img {
    width: 175px !important;
    height: 72px !important;
    max-width: 175px !important;
    max-height: 72px !important;
    min-width: 175px !important;
    min-height: 72px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block;
    border-radius: 8px;
    transition: all 0.35s ease;
}

.stpr-logo-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: #2563eb;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.20);
}

.stpr-logo-card:hover img {
    transform: scale(1.07);
}

@keyframes stprMediumScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .stpr-logo-slider {
        padding: 14px 0;
    }

    .stpr-logo-track {
        gap: 16px;
        animation-duration: 26s;
    }

    .stpr-logo-card {
        width: 205px;
        height: 115px;
        flex-basis: 205px;
        border-radius: 14px;
    }

    .stpr-logo-card img {
        width: 145px !important;
        height: 60px !important;
        max-width: 145px !important;
        max-height: 60px !important;
        min-width: 145px !important;
        min-height: 60px !important;
    }

    .stpr-logo-slider::before,
    .stpr-logo-slider::after {
        width: 45px;
    }
}
/* ==============================
   SMALL EQUAL EDITORIAL SECTION
   ============================== */

.stpr-editor-section {
  background: linear-gradient(135deg, #b51217 0%, #9d1015 58%, #2b1b1b 100%);
  padding: 28px 30px;
  color: #fff;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  box-sizing: border-box;
  overflow: hidden;
}

.stpr-editor-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.stpr-editor-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.stpr-editor-head span {
  width: 2px;
  height: 22px;
  background: rgba(255,255,255,0.8);
}

.stpr-editor-head a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #fff;
  padding-bottom: 3px;
}

/* Equal card layout */
.stpr-editor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stpr-editor-card {
  height: 185px;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 15px;
  padding: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 14px;
  box-sizing: border-box;
  overflow: hidden;
}

.stpr-editor-avatar {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  background: #fff;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.stpr-editor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.stpr-editor-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.stpr-editor-role {
  display: inline-block;
  background: #fff;
  color: #b51217;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 18px;
  margin-bottom: 7px;
  line-height: 1.2;
}

.stpr-editor-info h3 {
  margin: 0 0 5px;
  font-size: 17px;
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
}

.stpr-editor-info p {
  margin: 2px 0;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 600;
  color: rgba(255,255,255,0.93);
}

/* Hover */
.stpr-editor-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.12);
  transition: 0.25s ease;
}

/* Tablet */
@media (max-width: 900px) {
  .stpr-editor-grid {
    grid-template-columns: 1fr;
  }

  .stpr-editor-card {
    height: auto;
    min-height: 150px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .stpr-editor-section {
    padding: 24px 16px;
  }

  .stpr-editor-head {
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

  .stpr-editor-head h2 {
    font-size: 21px;
    width: 100%;
  }

  .stpr-editor-head span {
    display: none;
  }

  .stpr-editor-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    height: auto;
    min-height: 180px;
  }

  .stpr-editor-info {
    align-items: center;
  }
}