/* style/ban-ca.css */
.page-ban-ca {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background */
    line-height: 1.6;
    background-color: #ffffff; /* Explicitly define for consistency, though shared.css sets body */
}

/* Hero Section */
.page-ban-ca__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, assuming body already has header offset */
    padding-bottom: 40px;
    background-color: #017439; /* Brand primary color background */
}

.page-ban-ca__hero-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-ban-ca__hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__hero-text-container {
    text-align: center;
    color: #ffffff; /* White text on dark green background */
    padding: 0 20px;
    max-width: 900px;
}

.page-ban-ca__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
}

.page-ban-ca__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
    width: 100%; /* Important for mobile button wrapping */
    box-sizing: border-box; /* Include padding/border in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

/* General Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-outline {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box; /* Include padding/border in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-ban-ca__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-ban-ca__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
    transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-ban-ca__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
    transform: translateY(-2px);
}

.page-ban-ca__btn-outline {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
    padding: 10px 20px;
    font-size: 0.95rem;
}

.page-ban-ca__btn-outline:hover {
    background-color: #017439;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-ban-ca__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

/* General Section Styling */
.page-ban-ca__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.page-ban-ca__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #017439; /* Primary brand color for titles on light background */
}

.page-ban-ca__section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-ban-ca__light-bg .page-ban-ca__section-title {
    color: #017439;
}

.page-ban-ca__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-ban-ca__dark-bg .page-ban-ca__section-title,
.page-ban-ca__dark-bg .page-ban-ca__section-subtitle {
    color: #ffffff;
}

/* Content Grid for text and image */
.page-ban-ca__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-ban-ca__content-grid:nth-of-type(even) {
    flex-direction: row-reverse; /* Alternate image/text layout */
}

.page-ban-ca__text-block {
    flex: 1;
}

.page-ban-ca__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}