/* VicOne Page Styles */

.vicone-page {
  --page-max-width: 1600px;
  width: 100%;
}

/* Hero Banner Section */
.hero-banner {
  position: relative;
  min-height: min(100vh, 800px);
  padding: 8rem 0 4rem;
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 26, 0.75) 0%, rgba(10, 10, 26, 0.4) 60%, rgba(10, 10, 26, 0.2) 100%);
  z-index: 1;
}

.hero-pixel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 2;
  pointer-events: none;
  opacity: 0.35;
}

.hero-grid-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: auto;
  z-index: 2;
  pointer-events: none;
  opacity: 0.06;
}

/* Social Sidebar */
.hero-social-sidebar {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  z-index: 5;
}

.hero-social-sidebar a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-social-sidebar a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-social-sidebar img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

/* Hero Content */
.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 650px;
  text-align: left;
  margin-left: 60px;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
}

.hero-cta .btn-arrow {
  margin-left: 0.3rem;
}

/* Hero Promo Carousel */
.hero-promo-carousel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 230px;
  z-index: 5;
}

.hero-promo-card {
  display: none;
  flex-direction: column;
  background: rgba(30, 40, 65, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-promo-card.active {
  display: flex;
}

.hero-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-promo-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.hero-promo-text {
  padding: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.hero-promo-text strong {
  display: inline-block;
  margin-top: 0.28rem;
  color: #ffffff;
  font-size: 0.85rem;
}

.hero-promo-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.hero-promo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 0;
}

.hero-promo-dot.active {
  background: #ffffff;
}

/* Button Styles */
.vicone-page .btn {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.vicone-page .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.vicone-page .btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary,
.vicone-page .btn-primary {
  background: #ff0037;
  color: white;
  border-radius: 4px;
  padding: 0.9rem 2.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: none;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.btn-primary:hover,
.vicone-page .btn-primary:hover {
  background: #d90030;
  transform: translateY(-2px);
}

.vicone-page .btn-secondary {
  background-color: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.vicone-page .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.vicone-page .btn-large {
  padding: 1rem 3rem;
  font-size: 1.125rem;
}

/* Section Common Styles */
.vicone-page section {
  padding: 5rem 2rem;
}

.vicone-page .container {
  max-width: var(--page-max-width);
  margin: 0 auto;
}

.vicone-page section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #212529;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.vicone-page .section-intro {
  font-size: 1.125rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #6c757d;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  font-weight: 300;
}

/* Products Section */
.products-section {
  background: #ffffff;
  position: relative;
  padding: 5rem 4rem;
}

.products-section .container {
  max-width: 1800px;
}

.products-section::after {
  display: none;
}

.products-grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.products-intro {
  flex: 0 0 320px;
  padding-top: 0;
}

/* When 7+ product cards, switch to 4-column grid so xZETA flows to left of row 2 */
.products-grid:has(.products-cards-wrap > :nth-child(7)) {
  display: grid;
  grid-template-columns: 320px repeat(3, 1fr);
  gap: 1.5rem;
  column-gap: 2.5rem;
  align-items: start;
}

.products-grid:has(.products-cards-wrap > :nth-child(7)) .products-intro {
  grid-column: 1;
  grid-row: 1;
  padding-right: 1rem;
}

.products-grid:has(.products-cards-wrap > :nth-child(7)) .products-cards-wrap {
  display: contents;
}

.products-section .products-intro h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a1a2e;
  text-align: left;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.products-intro-line {
  display: none;
}

.products-description {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 2rem;
  text-align: left;
}

.products-cta {
  text-align: left;
}

.products-cards-wrap {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.products-section .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 340px;
  background: #26323e;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: all 0.5s ease;
}

@media (min-width: 1101px) {
  .products-section .product-card {
    min-height: 420px;
  }
}

@media (min-width: 1400px) {
  .products-section {
    padding: 7rem 5rem;
  }

  .products-section .product-card {
    min-height: 450px;
  }

  .products-intro {
    flex: 0 0 360px;
  }

  .products-grid:has(.products-cards-wrap > :nth-child(7)) {
    grid-template-columns: 360px repeat(3, 1fr);
  }
}

@media (min-width: 1700px) {
  .products-section .product-card {
    min-height: 480px;
  }

  .products-section {
    padding: 8rem 6rem;
  }
}

/* Pixel decorations (top-left corner) */
.product-card-pixels {
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 10;
}

.product-card-pixels .pixel-1,
.product-card-pixels .pixel-2 {
  width: 15px;
  height: 15px;
  background: #fff;
}

.product-card-pixels .pixel-2 {
  position: relative;
  left: 17px;
  top: 0;
}

/* Border inside line */
.product-card-border {
  position: absolute;
  width: 88%;
  height: 88%;
  border: 1px solid #fff;
  opacity: 0.2;
  z-index: 5;
  pointer-events: none;
}

/* Red gradient overlay */
.product-card-gradient {
  width: 250%;
  height: 250%;
  position: absolute;
  bottom: -150%;
  right: -150%;
  background: radial-gradient(circle, rgba(255, 0, 55, 1) 0%, rgba(0, 0, 0, 0) 49%, rgba(0, 0, 0, 0) 100%);
  opacity: 0.7;
  transition: all 0.5s ease-in-out;
  pointer-events: none;
}

.products-section .product-card:nth-child(odd) .product-card-gradient {
  right: unset;
  left: -134%;
}

.products-section .product-card:hover {
  transform: scale(0.97);
}

.products-section .product-card:hover .product-card-gradient {
  width: 280%;
  height: 280%;
}

.product-card-inner {
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 6;
}

.products-section .product-icon {
  width: 105px;
  height: auto;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-section .product-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.products-section .product-name {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 1.8em;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  letter-spacing: 2px;
}

.products-section .product-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 20px;
  text-align: center;
  margin: 0;
  padding: 10px;
}

.product-learn-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-top: auto;
}

.product-learn-more span {
  margin-left: 0.3rem;
}

/* Solutions Section */
.solutions-section {
  background-color: #eaecf1;
  position: relative;
}

.solutions-section h2 {
  color: #1a1a2e;
}

.solutions-section .section-intro {
  color: #555;
}

.solutions-section .section-intro a {
  color: #ff0037;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.vicone-page .sol-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.vicone-page .sol-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.vicone-page .sol-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.vicone-page .sol-card-image .sol-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.vicone-page .sol-card-image .sol-card-fallback {
  display: none;
}

.vicone-page .sol-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.vicone-page .sol-card:hover .sol-card-image img {
  transform: scale(1.04);
}

.vicone-page .sol-card:hover .sol-card-image .sol-card-video {
  transform: scale(1.04);
}

.vicone-page .sol-card-body {
  padding: 1.5rem 2rem;
  text-align: center;
}

.vicone-page .sol-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.vicone-page .sol-card-body p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.sol-learn-more {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ff0037;
}

.sol-learn-more span {
  margin-left: 0.25rem;
}

/* Section divider lines removed — no longer needed */

.solutions-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Partners Section */
.partners-section {
  background: #ffffff;
  position: relative;
  padding-top: 40px;
}

.partners-section h2 a {
  color: #ff0037;
  text-decoration: none;
}

/* Partners Carousel */
.partners-carousel {
  position: relative;
  margin-top: 2.5rem;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.partners-carousel.is-dragging {
  cursor: grabbing;
}

.partners-carousel.is-dragging .partner-item {
  pointer-events: none;
}

.partners-carousel-track,
.carousel-track {
  display: flex;
  gap: 0;
  transition: transform 0.4s ease;
}

.partners-carousel-track.no-transition,
.carousel-track.no-transition {
  transition: none;
}

.partner-item {
  flex: 0 0 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem 0;
  text-decoration: none;
  cursor: pointer;
}

.partner-logo-box {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.partner-logo-box img {
  width: 90%;
  max-height: 120px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.2s ease;
}

.partner-item:hover .partner-logo-box img {
  filter: grayscale(0%) opacity(1);
}

.partner-item:hover {
  text-decoration: none;
}

.partner-desc {
  font-size: 1rem;
  color: #999;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* Dots */
.partners-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-bottom: 2rem;
}

.partners-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.partners-carousel-dot.active {
  background: #ff0037;
}

@media (max-width: 960px) {
  .partner-item {
    flex: 0 0 33.333%;
  }
}

@media (max-width: 600px) {
  .partner-item {
    flex: 0 0 50%;
  }
}

/* Why VicOne Section */
.why-vicone-section {
  background-color: #eef1f7;
  background-image:
    radial-gradient(circle, rgba(180, 190, 210, 0.5) 1px, transparent 1px),
    linear-gradient(rgba(180, 190, 210, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 190, 210, 0.15) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 40px 40px;
  position: relative;
}

.why-vicone-section .shared-container-wide {
  max-width: 1900px;
  width: 95%;
}

.why-vicone-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-radius: 4px;
  overflow: hidden;
}

.why-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 640px;
  background-size: cover;
  background-position: center;
}

.why-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 30, 0.85) 0%, rgba(10, 15, 30, 0.35) 60%, transparent 100%);
}

.why-card-body {
  position: absolute;
  top: 38%;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 1.75rem 2rem;
  color: white;
}

.why-card-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: white;
}

.why-card-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

@media (max-width: 768px) {
  .why-vicone-cards {
    grid-template-columns: 1fr;
  }

  .why-card {
    min-height: 300px;
  }
}

.why-vicone-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Generic carousel dot (used by makeCarousel) */
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.carousel-dot.active {
  background: #ff0037;
}

/* Awards Section */
.awards-section {
  background: #ffffff;
  position: relative;
  padding-top: 5rem;
}

.awards-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.awards-section a,
.awards-section a:hover {
  text-decoration: none;
}

.carousel-track.carousel-center {
  justify-content: center;
}

/* Resources / Blog Section */
.resources-blog-section {
  background: #f5f7fa;
  padding: 5rem 0;
}

.resources-blog-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.resources-blog-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.resources-subtitle {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.resources-subtitle a {
  color: #cc0028;
  text-decoration: none;
}

.resources-articles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.resources-card {
  display: block;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  background: #1a1a1a;
}

.resources-card-featured {
  height: 420px;
}

.resources-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.resources-card-image-placeholder {
  background-color: #2a3541;
}

.resources-card:hover .resources-card-image {
  transform: scale(1.04);
}

.resources-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 45%, rgba(0, 0, 0, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 2rem;
  color: #fff;
}

.resources-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.resources-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.4rem;
  color: #fff;
}

.resources-card-featured .resources-card-title {
  font-size: 1.6rem;
}

.resources-card-date {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.5rem;
}

.resources-card-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0.5rem 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resources-read-more {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 1px;
  width: fit-content;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.resources-grid .resources-card {
  height: 260px;
}

.resources-view-more {
  text-align: center;
  margin-top: 3rem;
}

.resources-view-more .btn:not(.btn-primary) {
  display: inline-block;
  background-color: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.resources-view-more .btn:not(.btn-primary):hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .resources-card-featured {
    height: 320px;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .resources-grid .resources-card {
    height: 220px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Resources — 4 White Cards Variant (non-homepage)
   ═══════════════════════════════════════════════════════════════ */
.resources-four-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.resources-four-grid > * {
  width: calc(25% - 1.125rem);
}

.resources-four-grid.resources-three-grid > * {
  width: calc(33.333% - 1rem);
}

.resources-white-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.resources-white-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
  text-decoration: none;
  color: #1a1a1a;
}

.resources-white-card__image {
  height: 180px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.resources-white-card__image--placeholder {
  background-color: #dde1e7;
}

.resources-white-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.resources-white-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #ff0037;
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.resources-white-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 0 0 0.5rem;
}

.resources-white-card__date {
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.resources-white-card__desc {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resources-white-card__read-more {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ff0037;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .resources-four-grid > * {
    width: calc(50% - 0.75rem);
  }

  .resources-four-grid.resources-three-grid > * {
    width: calc(50% - 0.75rem);
  }
}

@media (max-width: 600px) {
  .resources-four-grid > * {
    width: 100%;
  }
}


/* Responsive Design */
@media (max-width: 1100px) {
  .hero-promo-carousel {
    width: 200px;
  }

  .hero-content {
    max-width: 550px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-pixel-overlay {
    display: none;
  }

  .products-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .products-intro {
    flex: none;
  }

  .products-cards-wrap {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-grid:has(.products-cards-wrap > :nth-child(7)) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .products-grid:has(.products-cards-wrap > :nth-child(7)) .products-intro {
    grid-column: 1 / -1;
  }

  .products-grid:has(.products-cards-wrap > :nth-child(7)) .products-cards-wrap {
    display: contents;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 990px) {
  .vicone-page .sol-card-image .sol-card-video {
    display: none;
  }

  .vicone-page .sol-card-image .sol-card-fallback {
    display: block;
  }
}

@media (max-width: 960px) {
  .hero-banner {
    padding: 7rem 2.5rem 4rem;
  }

  .hero-social-sidebar {
    left: 0.8rem;
    gap: 0.6rem;
  }

  .hero-social-sidebar a {
    width: 34px;
    height: 34px;
  }

  .hero-social-sidebar img {
    width: 16px;
    height: 16px;
  }

  .hero-content {
    max-width: 50%;
    margin-left: 55px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
  }

  .hero-cta .btn {
    font-size: 0.8rem;
    padding: 0.75rem 1.8rem;
  }

  .hero-promo-carousel {
    width: 190px;
    bottom: 1rem;
  }

  .hero-promo-thumb img {
    height: 110px;
  }

  .hero-promo-text {
    font-size: 0.72rem;
    padding: 0.5rem 0.6rem;
  }

  .hero-promo-dots {
    margin-top: 0.6rem;
  }

  .hero-promo-dot {
    width: 8px;
    height: 8px;
  }

  .hero-grid-overlay {
    display: none;
  }

  .products-cards-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid:has(.products-cards-wrap > :nth-child(7)) {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid:has(.products-cards-wrap > :nth-child(7)) .products-intro {
    grid-column: 1 / -1;
  }

  .products-intro h2 {
    font-size: 2rem;
  }

  .products-section .product-card {
    height: 320px;
  }

  .products-section .product-icon {
    width: 80px;
  }

  .products-section .product-name {
    font-size: 1.4em;
  }

  .products-section .product-desc {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .vicone-page section {
    padding: 3.5rem 1.5rem;
  }

  .vicone-page section h2 {
    font-size: 1.875rem;
  }

  .vicone-page .section-intro {
    font-size: 1.125rem;
  }

  .vicone-page .btn {
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
  }

  .vicone-page .btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .vicone-page section {
    padding: 4.5rem 1.5rem;
  }

  .hero-banner {
    min-height: auto;
    padding: 7rem 1rem 2rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content {
    margin-left: 0;
  }

  .hero-social-sidebar {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    flex-direction: row;
    gap: 0.6rem;
    margin-bottom: 1rem;
  }

  .hero-social-sidebar a {
    width: 36px;
    height: 36px;
  }

  .hero-social-sidebar img {
    width: 18px;
    height: 18px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-promo-carousel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 260px;
    margin: 1.5rem auto 0;
  }

  .hero-promo-dots {
    justify-content: center;
  }

  .products-cards-wrap {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .products-grid:has(.products-cards-wrap > :nth-child(7)) {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .products-intro h2 {
    font-size: 1.6rem;
  }

  .products-section .product-card {
    height: 300px;
  }
}