/*
|--------------------------------------------------------------------------
| SweetMeet - Homepage Styles
|--------------------------------------------------------------------------
| Version: 1.0.1
| Date: 20/11/2026
| Description: Widen NZ city heading and avoid desktop subtitle wrapping.
|--------------------------------------------------------------------------
*/

/* ==========================================================================
   Home - Main Content
   ========================================================================== */

.smp-home {
    background: #f5f5f5;
    color: #000;
}


/* ==========================================================================
   Home - Main Content
   ========================================================================== */

.smp-home {
    background: #f5f5f5;
    color: #000;
}

.smp-home__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}


/* ==========================================================================
   Home - Introduction
   ========================================================================== */

.smp-home__intro {
    padding: 55px 0 35px;
}

.smp-home__intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 70px;
    align-items: center;
}

.smp-home__intro-text {
    margin: 0 0 40px;

    font-size: 17px;
    line-height: 1.55;
    font-weight: 500;
}

.smp-home__benefits {
    display: grid;
    gap: 24px;
}

.smp-home__benefit h2 {
    margin: 0 0 4px;

    font-size: 27px;
    line-height: 1.2;
    font-weight: 600;
}

.smp-home__benefit p {
    margin: 0;

    font-size: 16px;
    line-height: 1.5;
}

.smp-home__intro-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.smp-home__intro-images img {
    display: block;
    width: 100%;
    height: auto;

    border-radius: 14px;
}


/* ==========================================================================
   Home - Connections
   ========================================================================== */

.smp-home__connections {
    padding: 25px 0 55px;
}

.smp-home__connections-header {
    max-width: 1100px;
    margin: 0 auto 38px;
    text-align: center;
}

.smp-home__connections-header h2 {
    margin: 0 0 10px;

    font-size: 42px;
    line-height: 1.15;
    font-weight: 500;
}

.smp-home__connections-header p {
    margin: 0;

    font-size: 17px;
    line-height: 1.5;
    color: #000;
}


/* Connection Cards */

.smp-home__connection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 55px;
}

.smp-home__connection {
    text-align: center;
}

.smp-home__connection img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 20px;

    border: 1px solid #C8A96A;
    border-radius: 10px;
}

.smp-home__connection h3 {
    margin: 0 0 8px;

    font-size: 20px;
    line-height: 1.25;
    font-weight: 600;
}

.smp-home__connection p {
    margin: 0 auto;
    max-width: 230px;

    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}


/* ==========================================================================
   Home - Tablet
   ========================================================================== */

@media (max-width: 900px) {

    .smp-home__intro-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .smp-home__intro-images {
        max-width: 520px;
        margin: 0 auto;
    }

    .smp-home__connection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

}


/* ==========================================================================
   Home - Mobile
   ========================================================================== */

@media (max-width: 600px) {

    .smp-home__container {
        padding: 0 24px;
    }

    .smp-home__intro {
        padding: 35px 0 25px;
    }

    .smp-home__intro-text {
        margin-bottom: 30px;
        font-size: 16px;
    }

    .smp-home__benefit h2 {
        font-size: 23px;
    }

    .smp-home__benefit p {
        font-size: 15px;
    }

    .smp-home__intro-images {
        gap: 10px;
    }

    .smp-home__connections {
        padding: 25px 0 40px;
    }

    .smp-home__connections-header {
        margin-bottom: 30px;
    }

    .smp-home__connections-header h2 {
        font-size: 32px;
    }

    .smp-home__connections-header p {
        font-size: 15px;
    }

    .smp-home__connection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 16px;
    }

    .smp-home__connection img {
        margin-bottom: 14px;
    }

    .smp-home__connection h3 {
        font-size: 17px;
    }

    .smp-home__connection p {
        font-size: 13px;
    }

}

/* ==========================================================================
   Home - New Zealand Cities
   ========================================================================== */

.smp-home-cities {
    background: #000;
    padding: 65px 30px 70px;
}

.smp-home-cities__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.smp-home-cities__header {
    max-width: 1100px;
    margin: 0 auto 38px;
    text-align: center;
}

.smp-home-cities__title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.2;
}

.smp-home-cities__intro {
    margin: 0;
    color: #aaa;
    font-size: 16px;
    line-height: 1.6;
}

/* Single-line city introduction at desktop widths; mobile stays responsive. */
@media (min-width: 1000px) {
    .smp-home-cities__intro {
        white-space: nowrap;
    }
}


/* Grid */

.smp-home-cities__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}


/* City */

.smp-home-cities__item {
    display: flex;
    flex-direction: column;
    gap: 5px;

    padding: 20px 18px;

    color: #fff;
    text-decoration: none;

    border: 1px solid rgba(200, 169, 106, 0.45);
    border-radius: 5px;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.smp-home-cities__item strong {
    color: #C8A96A;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.smp-home-cities__item span {
    color: #ddd;
    font-size: 14px;
    line-height: 1.4;
}

.smp-home-cities__item:hover,
.smp-home-cities__item:focus {
    background: rgba(200, 169, 106, 0.08);
    border-color: #C8A96A;
    text-decoration: none;
}


/* Tablet */

@media (max-width: 900px) {

    .smp-home-cities__grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* Mobile */

@media (max-width: 560px) {

    .smp-home-cities {
        padding: 50px 24px 55px;
    }

    .smp-home-cities__header {
        margin-bottom: 28px;
    }

    .smp-home-cities__title {
        font-size: 30px;
    }

    .smp-home-cities__intro {
        font-size: 15px;
    }

    .smp-home-cities__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .smp-home-cities__item {
        padding: 16px 13px;
    }

    .smp-home-cities__item strong {
        font-size: 15px;
    }

    .smp-home-cities__item span {
        font-size: 13px;
    }

}