/* section: hero banner */
.page-ban-ca__hero-section {
    background-color: #6adf9e;
    background: linear-gradient(180deg, #38b574 0%, #6adf9e 50%, #38b574 100%);
    padding-top: 10px;
}
.page-ban-ca__hero-image {
    background: #6adf9e;
    border-radius: 12px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px;
}
.page-ban-ca__hero-img {
    width: 100%;
    height: auto;
    aspect-ratio: 17/5;
    display: block;
    object-fit: cover;
    border-radius: 12px;
    max-height: 560px;
}
.page-ban-ca__hero-content {
    text-align: center;
    padding: 22px 14px 36px;
    max-width: 900px;
    margin: 0 auto;
}
.page-ban-ca__hero-title {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.25;
    max-width: 780px;
    margin: 0 auto 10px;
    text-shadow: 0 2px 8px #01200f;
}
.page-ban-ca__hero-desc {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 680px;
    margin: 8px auto 20px;
    font-weight: 500;
}
.page-ban-ca__hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 0 10px;
}
.page-ban-ca__btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.3px;
    background: #C30808;
}
.page-ban-ca__btn--register {
    background: #C30808;
    border: 2px solid #FFD700;
}
.page-ban-ca__btn--login {
    background: #C30808;
}
.page-ban-ca__btn:hover {
    background: #C30808;
    opacity: 0.8;
}
.page-ban-ca__btn--register, .page-ban-ca__btn--login {
    color: #FFFF00;
    font-size: 16px;
}

/* general sections */
.page-ban-ca__intro-section,
.page-ban-ca__features-section,
.page-ban-ca__blogs-section,
.page-ban-ca__about-section,
.page-ban-ca__cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 14px 34px;
}
.page-ban-ca__intro-title,
.page-ban-ca__section-title,
.page-ban-ca__blogs-title,
.page-ban-ca__about-title {
    color: #017439;
    font-weight: 600;
    text-align: center;
    margin: 8px 0 22px;
}
.page-ban-ca__intro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-content: center;
}
.page-ban-ca__intro-item {
    border-radius: 12px;
    overflow: hidden;
    background: #eaf5ee;
    padding: 8px;
    color: #333;
    box-shadow: 0 4px 20px rgba(1, 116, 57, 0.07);
}
.page-ban-ca__intro-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    max-height: 400px;
    object-fit: cover;
}
.page-ban-ca__intro-cta {
    text-align: center;
}
.page-ban-ca__features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.page-ban-ca__feature-card {
    background: #ffffff;
    border: 1px solid #e4f2e9;
    box-shadow: 0 6px 24px rgba(1, 116, 57, 0.05);
    padding: 15px 15px 19px;
    border-radius: 18px;
    color: #333;
    line-height: 1.5;
}
.page-ban-ca__feature-card img {
    border-radius: 10px;
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 12px;
    object-fit: cover;
}
.page-ban-ca__blogs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 30px;
}
.page-ban-ca__blog-card {
    background: #fff;
    border: 1px solid #dff0e6;
    padding: 14px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.page-ban-ca__blog-card img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    border-radius: 12px;
}
.page-ban-ca__blog-title {
    font-size: 1.12rem;
    color: #017439;
    margin: 10px 0 7px;
    line-height: 1.35;
}
.page-ban-ca__blog-content {
    margin-bottom: 13px;
    color: #4a4a4a;
    line-height: 1.6;
}
.page-ban-ca__blog-card .page-ban-ca__btn {
    background: #C30808;
    color: #FFFF00;
    font-weight: 600;
    padding: 7px 16px;
    font-size: 13px;
    border-radius: 9px;
    text-align: center;
    align-self: flex-start;
}

/* about */
.page-ban-ca__about-section {
    max-width: 1100px;
    text-align: center;
    padding-bottom: 16px;
}
.page-ban-ca__about-title {
    color: #017439;
    margin-bottom: 16px;
}
.page-ban-ca__about-text {
    line-height: 1.8;
    color: #222;
    max-width: 980px;
    margin-bottom: 27px;
    margin-inline: auto;
}
.page-ban-ca__about-content a.page-ban-ca__btn {
    text-transform: uppercase;
}

/* cta */
.page-ban-ca__cta-section {
    text-align: center;
    border-radius: 24px;
    margin-bottom: 30px;
    background: #017439;
    padding: 40px 30px 45px;
}
.page-ban-ca__cta-line {
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    display: block;
    margin-bottom: 25px;
}
.page-ban-ca__cta-btn {
    color: #FFFF00;
    background: #C30808;
    border: 2px solid #FFD700;
    margin: 6px;
}

/* responsive */
@media (max-width: 1024px) {
    .page-ban-ca__blogs-grid,
    .page-ban-ca__intro-grid { grid-template-columns: repeat(2, 1fr); }
    .page-ban-ca__features-grid { grid-template-columns: repeat(2, 1fr); }
    .page-ban-ca__hero-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .page-ban-ca__intro-grid,
    .page-ban-ca__features-grid,
    .page-ban-ca__blogs-grid { grid-template-columns: 1fr; }
    .page-ban-ca__hero-image { border-radius: 6px; padding: 6px; }
    .page-ban-ca__hero-img { aspect-ratio: 2/1; }
    .page-ban-ca__hero-title { font-size: 1.6rem; }
    .page-ban-ca__hero-actions { flex-direction: column; gap: 10px; }
    .page-ban-ca__btn { width: 100%; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; }
    .page-ban-ca__cta-section { padding: 25px 15px; }
    .page-ban-ca__cta-line { font-size: 1.15rem; }
    .page-ban-ca img {
        max-width: 100% !important;
        height: auto !important;
    }
    .page-ban-ca__intro-grid,
    .page-ban-ca__features-grid,
    .page-ban-ca__blogs-grid { gap: 16px; }
    .page-ban-ca [class*="__card"] img,
    .page-ban-ca [class*="__item"] img {
        max-width: 100%;
        height: auto;
    }
    .page-ban-ca { max-width: 100%; overflow-x: hidden; }
}