.custom-layout-module {
    background-size: cover;
    background-position: center;
    padding: 60px 30px;
    position: relative;
    color: white; /* Ensures text color consistency across module */
}

.module-top-banner {
    background-color: #232323; /* Same background color as .module-overlay */
    padding: 35px 35px 0px 35px;
    margin: 0 auto;
    width: 90%;
    border-radius: 8px;

}

.top-banner-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

.top-banner-text h3 {
    color: #f9d414; !important /* Matches title color in content-item */
    margin-bottom: 10px;
}

.top-banner-text p, .top-banner-rich-text {
    color: white; /* Ensures consistent text color in top banner */
    margin-bottom: 10px;
  
}

.module-overlay {
    background-color: #232323; /* Consistent with .module-top-banner */
    padding: 30px;
    margin: 0 auto;
    width: 90%;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    color: white; /* Ensures text color consistency across the grid */
}

.content-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    text-align: left;
    transition: background 0.3s ease;
}

.content-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.content-item h3 {
    color: #f9d414; /* Matches title color in top banner */
}
.content-item p {
    margin-bottom: 10px;
}

.icon-checkmark {
    width: 24px;
    height: 24px;
    background: url('path-to-your-checkmark-icon') no-repeat center;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
/* Responsive Design for Mobile and Tablet */
@media (max-width: 1024px) {
  .module-top-banner {
  margin-top: 10%;
  
  }
  
    .top-banner-content,
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .top-banner-content {
        gap: 20px;
    }
    
    .module-top-banner,
    .module-overlay {
        width: 100%;
        padding: 20px;
    }
}

