/* =========================
   NETWORKING PAGE STYLING
========================= */

.networking-page {
    padding: 60px 20px 80px;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.networking-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.networking-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #05367B;
}

.networking-hero .tagline {
    font-size: 18px;
    font-weight: 500;
    color: #626365;
    margin-bottom: 15px;
}

.networking-hero .subtitle {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

/* GRID */

.networking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

/* CARD */

.networking-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.networking-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* IMAGE */

.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Fixes oversized Free Time image */
    display: block;
}

/* BODY */

.card-body {
    padding: 25px 25px 30px;
}

.card-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #05367B;
}

.card-body p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
}

.card-body ul {
    padding-left: 18px;
    margin: 10px 0;
}

.card-body li {
    font-size: 14px;
    margin-bottom: 6px;
}

.inline-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
    color: #305CDE;
    text-decoration: none;
}

.inline-link:hover {
    text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .networking-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .networking-grid {
        grid-template-columns: 1fr;
    }

    .networking-hero h1 {
        font-size: 26px;
    }

    .card-image {
        height: 200px;
    }
}