/* ===== SOLUTIONS LISTING PAGE STYLES ===== */

/* ═══ Shared Layout ═══ */
.base-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.light-blue-bg {
  background-color: #f4f7fa;
}

.overflow-hidden {
  overflow: hidden;
}

/* ═══ Primary Button (matches original site) ═══ */
.primary-button-with-shadow {
  display: inline-block;
  padding: 16px 35px;
  background-color: #ff0037;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 0, 55, 0.35);
  transition: background-color 0.2s, transform 0.15s;
  line-height: 1.5;
}

.primary-button-with-shadow:hover {
  background-color: #d90030;
  transform: translateY(-2px);
}

.primary-button-with-shadow.no-gradient {
  background-image: none;
}

.primary-button-arrow-only-navbar.highlight-button {
  display: inline-block;
  padding: 14px 30px;
  background-color: #ff0037;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.15s;
}

.primary-button-arrow-only-navbar.highlight-button:hover {
  background-color: #d90030;
  transform: translateY(-2px);
}

/* ═══ Overview Section ═══ */
.sol-overview {
  position: relative;
  padding: 100px 0 80px;
}

.sol-bg-grid-holder {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.sol-flex-vertical-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
}

.sol-section-heading {
  font-size: 2.6rem;
  font-weight: 700;
  color: #1a212b;
  line-height: 1.2;
  margin-bottom: 0;
  text-align: center;
}

.sol-content-text-holder {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.sol-content-text-holder p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.sol-content-text-holder a {
  color: #d32f2f;
  text-decoration: none;
}

.sol-content-text-holder a:hover {
  text-decoration: none;
}

/* ═══ Solution Cards ═══ */
.sol-cards-section {
  padding: 60px 0;
  background: #ffffff;
}

.sol-cards-section > .base-container {
  max-width: 1500px;
}

.solutions-listing-page.vicone-page .sol-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin-bottom: 60px;
}

.solutions-listing-page.vicone-page .sol-card-reverse {
  flex-direction: row-reverse;
}

.solutions-listing-page.vicone-page .sol-card-media {
  position: relative;
  flex: 0 0 50%;
  max-width: 50%;
  min-height: 400px;
  max-height: 500px;
  overflow: hidden;
  background: #1a212b;
}

.sol-card-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.sol-card-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sol-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.sol-play-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.sol-play-btn:hover {
  background: rgba(0, 0, 0, 0.55);
}

.sol-play-btn svg {
  width: 20px;
  height: 20px;
}

.solutions-listing-page.vicone-page .sol-card-content {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 50px;
}

.sol-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a212b;
  margin-bottom: 20px;
  line-height: 1.2;
}

.sol-card-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.sol-card-text a {
  color: #d32f2f;
  text-decoration: none;
}

.sol-card-text a:hover {
  text-decoration: none;
}

.sol-card-btn {
  margin-top: 10px;
  align-self: flex-start;
}

/* Resources & CTA sections use shared partials (resources-section.njk, cta-banner.njk)
   with styles from vicone-page-template.css and cta-banner.css */

/* ═══ Responsive ═══ */
@media (max-width: 991px) {

  .solutions-listing-page.vicone-page .sol-card,
  .solutions-listing-page.vicone-page .sol-card-reverse {
    flex-direction: column;
  }

  .solutions-listing-page.vicone-page .sol-card-media {
    flex: none;
    max-width: 100%;
    min-height: 300px;
  }

  .solutions-listing-page.vicone-page .sol-card-content {
    flex: none;
    max-width: 100%;
    padding: 35px 30px;
  }

}

@media (max-width: 768px) {
  .sol-section-heading {
    font-size: 1.8rem;
  }

  .sol-overview {
    padding: 60px 0 50px;
  }

  .solutions-listing-page.vicone-page .sol-card-content {
    padding: 25px 20px;
  }

  .sol-card-title {
    font-size: 1.5rem;
  }
}