.video-box {
  position: absolute;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  width: 100%;
  top: 240px;
  left: -60px;
}
.video-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 1023px) {
    .video-box {
        width: 100%;
        top: auto;
        left: 0;
        position: relative;
        margin: -60px 0 30px;
    }
    
    .section-images-mobile:has(.video-box) .section-image-1 {
        transform: translateX(-30px);
    }
}

/* insights blog */
.section-articles-list {
    margin: 7rem 0 0;
    display: flex;
    justify-content: center;
}

.section-articles-list h2 {
    max-width: 560px;
    margin-bottom: 30px;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns by default */
    gap: 3rem; /* Space between articles */
}

/* Single column layout for smaller screens */
@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

.insight-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 2px solid #E3E3E3;
    padding-bottom: 20px;
}

.insight-image img {
    width: 100%;
    height: auto;
    display: block;
}

.insight-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.insight-punchline {
    font-size: 0.85rem;
    color: #4B4B4B;
}

.insight-title {
    font-size: 1.75rem;
    font-weight: 400;
    color: #4B4B4B;
    margin: 20px 0 0;
}

.insight-title a {
    text-decoration: none;
    color: inherit;
}

.insight-title a:hover {
    color: #FF4D00;
}

.insight-excerpt {
    font-size: 1rem;
    line-height: 1.5;
    color: #4B4B4B;
}

.insight-read-more {
    display: flex;
    margin-top: auto; /* Ensures it stays at the bottom */
    text-decoration: none;
    color: #4B4B4B;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    margin: 0;
    margin-top: 12px;
}

.insight-read-more:after {
    content: '';
    display: block;
    width: 31px;
    height: 24px;
    margin-left: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30.608' height='24.083' viewBox='0 0 30.608 24.083'%3E%3Cg data-name='orange arrow' fill='%23ff4d00'%3E%3Cpath data-name='Rectangle 6' d='M0 11.19h27.59v1.798H0z'/%3E%3Cpath data-name='Rectangle 7' d='M20.322 1.271 21.593 0l9.014 9.014-1.27 1.271z'/%3E%3Cpath data-name='Rectangle 8' d='m20.321 22.811 9.016-9.016 1.271 1.272-9.016 9.015z'/%3E%3C/g%3E%3C/svg%3E");
    transition: all cubic-bezier(.19, 1, .22, 1) 1s;
}

.insight-read-more:hover {
  color: #FF4D00;
}

.insight-read-more:hover:after {
    transform: translateX(7px);
}

.insights-pagination {
    display: flex;
    justify-content: flex-start; /* Align dots to the left */
    gap: 8px; /* Space between dots */
    margin-top: 1.5rem;
}

.insights-pagination .page-dot {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.insights-pagination .page-dot:hover {
  background-color: #FF4D00; /* Orange color for active dot */
  opacity: .7;
}

.insights-pagination .page-dot.current {
    background-color: #FF4D00; /* Orange color for active dot */
    opacity: 1;
}

.insight-hero {
    width: 100%;
    min-height: 600px; /* Adjust height as needed */
    padding: 50px 0px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff; /* Adjust text color for readability */
    text-align: center;
}

.insight-hero h1 {
  color: white;
  text-align: left;
}

@media screen and (max-width: 767px) {
  .insight-hero {
    min-height: 80vh;
  }
}

.insight-content-details {
  margin: 70px 0 50px;
}

.insight-content-details .container {
  max-width: 1100px;
}

.insight-content-details .container > * {
  margin-top: 16px;
}

.insight-content-details .container h2,
.insight-content-details .container h3,
.insight-content-details .container h4,
.insight-content-details .container h5,
.insight-content-details .container h6 {
  margin-top: 32px;
}

.insight-content-details .container ul,
.insight-content-details .container ol {
  list-style: disc;
  list-style: inside;
}

.insight-content-details .container a {
  text-decoration: underline;
  color: inherit;
}

.insight-content-details .container a:hover {
  color: #FF4D00;
}

.insight-content-details .container > *:first-child {
  margin-top: 0;
}

.insight-content-details .back-container {
  position: absolute;
  left: 50%;
  margin-left: -650px;
  
}

.insight-content-details .back-container a {
  color: #4B4B4B;
  text-decoration: none;
}

.insight-content-details .back-container a:hover {
  color: #FF4D00;
}


@media screen and (max-width: 1300px) {
  .insight-content-details .back-container {
    position: static;
    left: auto;
    margin-left: auto;
    margin-bottom: 30px;
    width: 100%;
  }
  
  .insight-content-details {
    margin: 30px 0;
  }
}

@media (min-width: 1301px) {
 .insight-content-details .sharethis-inline-share-buttons {
   display: flex;
   flex-direction: column;
 }
 
 .insight-content-details .sharethis-inline-share-buttons .st-btn {
   margin-top: 12px;
 }
 
 .insight-content-details .social-started {
   width: 130px;
 }
}


/* about page fix */
@media (min-width: 1024px) {
    /* .section-about-intro .section-flex {
        position: static;
        top: auto;
        transform: none;
        width: auto;
    }
    
    .section-about-intro {
        padding: 50px 0 0;
    } */
}

.insights-card-slider .card-slider-image {
  border-radius: 0;
  width: 100%;
}

.insights-card-slider .card-slider-image img {
  width: 100%;
}

.svg-decal.add-overlay img {
    mask-image: url('../img/mask.png');
    mask-size: 100% auto;
    mask-repeat: no-repeat;
    mask-position:  right top;
}
