section.first-banner {
    height: 100%;
    margin: 8px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.80) 100%), url(https://megaworld-bgc.com/wp-content/uploads/2025/08/Township-bg.png) lightgray 50% / cover no-repeat;
    background-size: cover;
    /* ✅ Fixes zooming and respects image ratio */
    background-repeat: no-repeat;
    background-position: center;
    padding: 200px 324px 100px 324px;
    border-radius: 24px;
}


section.first-banner p {
    padding-right: 16px;
    font-weight: 200 !important;
}

section.township {
    background: #fff;
}

section.township .wrapper {
    max-width: 1256px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

section.township .township-content .township-title {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 934px;
    margin: 0 auto;
}

section.township .township-card-bg {
    display: flex;
    padding: 60px;
    justify-content: flex-end;
    border-radius: 12px;
    border: 1px solid var(--Gold-1, #AE8625);
    backdrop-filter: blur(10px);
}

section.township .township-card {
    max-width: 555px;
    padding: 60px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    border-radius: 12px;
    border: 1px solid var(--Gold-1, #AE8625);
}

section.township .township-card-content,
section.township .township-card-properties,
section.vlog .vlog-end,
section.articles-section .featured-article-cta {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

section.township .township-card-content h2 {
    font-size: 20px;
}

section.township li,
section.township ul {
    color: var(--Brown, #432C07);
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
    /* 185.714% */
    align-self: stretch;
    margin-bottom: 0;
}

section.township .township-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

section.township .township-card-properties h3 {
    font-size: 16px;
}

section.township .township-card-properties p {
    margin: 0;
    color: var(--Brown, #432C07);
    font-family: "Roboto Condensed";
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 36px;
    text-transform: uppercase;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.features-grid li {
    max-width: 500px;
}

.location-p {
    color: var(--Brown, #432C07) !important;
    font-family: "Montserrat" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 26px !important;
    text-transform: math-auto !important;
    /* 185.714% */
}

.contact-card-items a {
    color: var(--Text-Color, #64635D);
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    /* 162.5% */
}

.township-card-wrapper:nth-of-type(2) .features-grid {
    /* styles for the second card */
    grid-template-columns: repeat(1, 1fr) !important;
}

.township-card-wrapper:nth-of-type(3) .features-grid {
    /* styles for the second card */
    grid-template-columns: repeat(1, 1fr) !important;
}


.card-bottom .number-link {
    text-decoration: none;
    color: #FFF;
    font-family: "Roboto Condensed";
    font-size: 18px;
    font-style: normal;
    font-weight: 900;
    line-height: 36px;
    /* 200% */
    text-transform: uppercase;
}

@media (max-width: 997px) {

    section.township .township-card-bg {
    padding: 20px 30px !important;

}
    .features-grid {
        grid-template-columns: 1fr;
    }
}