/* =========================================================
   MARKETS PAGE
========================================================= */

.markets-page {
    width: 100%;
    background: #ffffff;
}

.markets-container {
    width: 100%;
    max-width: 1330px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}


/* =========================================================
   BANNER
========================================================= */

.markets-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.markets-banner img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.markets-breadcrumb {
    width: 100%;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

.markets-breadcrumb .markets-container {
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 12px;
    line-height: 1.5;
    color: #888888;
}

.markets-breadcrumb a {
    color: #888888;
    text-decoration: none;
}

.markets-breadcrumb a:hover {
    color: #01c30c;
}

.markets-breadcrumb-separator {
    margin: 0 7px;
}


/* =========================================================
   INTRO
========================================================= */

.markets-intro {
    max-width: 850px;
    margin: 0 auto;
    padding: 55px 20px 38px;
    text-align: center;
}

.markets-intro h1 {
    margin: 0 0 18px;
    padding: 0;
    font-size: 35px;
    line-height: 1.2;
    font-weight: 500;
    color: #111111;
    text-transform: uppercase;
}

.markets-intro-content {
    font-size: 13px;
    line-height: 1.7;
    color: #777777;
}

.markets-intro-content p {
    margin: 0 0 10px;
}


/* =========================================================
   MARKET GRID
========================================================= */

.markets-list {
    width: 100%;
    padding: 5px 0 70px;
}

.post-type-archive-markets .markets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 45px;
}


/* =========================================================
   MARKET ITEM
========================================================= */

.post-type-archive-markets .market-item {
    width: 100%;
    min-width: 0;
}


/* =========================================================
   MARKET IMAGE
========================================================= */

.post-type-archive-markets .market-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 5px;
    background: #eeeeee;
}

.market-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-type-archive-markets .market-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.market-item:hover .market-image img {
    transform: scale(1.04);
}


/* =========================================================
   MARKET CONTENT
========================================================= */

.market-content {
    padding: 15px 0 0;
}

.market-title {
    margin: 0 0 7px;
    padding: 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 500;
    text-transform: uppercase;
}

.market-title a {
    color: #111111;
    text-decoration: none;
}

.market-title a:hover {
    color: #01c30c;
}

.market-description {
    font-size: 13px;
    line-height: 1.65;
    color: #666666;
}

.market-description p {
    margin: 0;
}


/* =========================================================
   CTA
========================================================= */

.markets-cta {
    width: 100%;
    padding: 70px 0;
    border-top: 1px solid #eeeeee;
}

.markets-cta-inner {
    display: grid;
    grid-template-columns: 0.8fr 1.5fr;
    gap: 70px;
    align-items: start;
}

.markets-cta-content h2 {
    margin: 0 0 15px;
    padding: 0;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    color: #111111;
}

.markets-cta-description {
    font-size: 13px;
    line-height: 1.7;
    color: #777777;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.markets-cta-form {
    width: 100%;
}

.markets-cta-form input:not([type="submit"]),
.markets-cta-form textarea,
.markets-cta-form select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dddddd;
    border-radius: 3px;
    padding: 12px 14px;
    font-size: 13px;
    background: #ffffff;
}

.markets-cta-form textarea {
    min-height: 130px;
}

.markets-cta-form input[type="submit"],
.markets-cta-form button {
    background: #01c30c;
    color: #ffffff;
    border: 0;
    border-radius: 3px;
    padding: 11px 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.markets-cta-form input[type="submit"]:hover,
.markets-cta-form button:hover {
    background: #009f09;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .markets-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .markets-cta-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .markets-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .markets-banner img {
        height: 200px;
    }

    .markets-intro {
        padding: 40px 10px 30px;
    }

    .markets-intro h1 {
        font-size: 26px;
    }

    .markets-grid {
        grid-template-columns: 1fr;
        row-gap: 35px;
    }

    .market-image {
        height: auto;
    }

    .market-image img {
        height: auto;
    }

    .markets-cta {
        padding: 50px 0;
    }

}

.archive-market-main {
    width: 100%;
}