/* --- NetHub Custom Bento Grid Master Style --- */
.nethub-bento-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: repeat(2, 280px);
    gap: 30px;
    width: 100%;
}

.nethub-bento-item {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    display: block;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.nethub-bento-item.bento-large { grid-row: span 2; }

.nethub-bento-item .bento-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

/* BRAND FILTER LAYER */
.nethub-bento-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, rgba(0, 136, 149, 0.2), transparent),
        linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
    z-index: 2;
    transition: opacity 0.5s ease;
}

.nethub-bento-item:hover .bento-bg-img { transform: scale(1.08); }

.nethub-bento-item .bento-content {
    position: relative;
    z-index: 3;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
}

/* OVERLINE TAG */
.nethub-bento-item .bento-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 10px;
    display: block;
}

.nethub-bento-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 12px 0;
	color: #fff;
    line-height: 1.2;
}

.nethub-bento-item p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 25px 0;
    color: rgba(255, 255, 255, 0.8);
    max-width: 420px;
	font-weight: 400;
}

/* REFINED CTA LINK */
.bento-cta {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
	letter-spacing: 0.2px;
    line-height: normal;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease, opacity 0.3s ease;
}

.nethub-bento-item:hover .bento-cta {
    color: #ffffff;
}

.nethub-bento-cta .btn-arrow {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-block;
}

.nethub-bento-item:hover .btn-arrow {
    transform: translateX(5px);
}

/* --- RESPONSIVE TABLET (1024px) --- */
@media (max-width: 1024px) {
    .nethub-bento-grid { 
        grid-template-columns: 1fr; 
        grid-template-rows: auto; 
    }
    .nethub-bento-item { height: 380px; }
    .nethub-bento-item.bento-large { grid-row: span 1; }
}

/* --- RESPONSIVE MOBILE (767px) --- */
@media (max-width: 767px) {
    .nethub-bento-grid {
        gap: 16px;
    }
    .nethub-bento-item { 
        height: 340px; 
        border-radius: 24px; /* Slightly smaller radius for mobile */
    }
    .nethub-bento-item .bento-content {
        padding: 30px;
    }
    .nethub-bento-item h3 {
        font-size: 24px;
    }
    .nethub-bento-item p {
        font-size: 14px;
        margin-bottom: 20px;
    }
}