.page-doi-tac {
    font-family: Arial, sans-serif;
    color: #FFF5E1; /* Main text color */
    background: #B71C1C; /* Main background color */
    line-height: 1.6;
    padding-bottom: 40px; /* General bottom padding for the page */
}

.page-doi-tac__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-doi-tac__hero-section {
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
    padding-bottom: 60px;
    background: linear-gradient(180deg, #C91F17 0%, #7A0E0E 100%); /* Deep Red gradient */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-doi-tac__hero-content {
    max-width: 800px;
    margin-bottom: 40px;
}

.page-doi-tac__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    color: #FFD86A; /* Gold color for title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-doi-tac__description {
    font-size: 1.1rem;
    color: #FFF5E1;
    margin-bottom: 30px;
}

.page-doi-tac__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 600px; /* Limit button group width */
    margin: 0 auto;
}

.page-doi-tac__btn-primary,
.page-doi-tac__btn-secondary,
.page-doi-tac__btn-link {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
    max-width: 100%; /* Ensure buttons don't overflow */
    text-align: center;
}

.page-doi-tac__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
    color: #7A0E0E; /* Deep Red text for contrast */
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-doi-tac__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.page-doi-tac__btn-secondary {
    background: transparent;
    color: #FFD86A; /* Gold text */
    border: 2px solid #FFD86A; /* Gold border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-doi-tac__btn-secondary:hover {
    background: #FFD86A;
    color: #7A0E0E;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.page-doi-tac__btn-link {
    background: #E53935; /* Auxiliary red */
    color: #FFF5E1;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
}

.page-doi-tac__btn-link:hover {
    background: #C91F17; /* Primary red */
    transform: translateY(-1px);
}

.page-doi-tac__hero-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-doi-tac__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* General Section Styling */
.page-doi-tac__why-partner-section,
.page-doi-tac__programs-section,
.page-doi-tac__how-to-section,
.page-doi-tac__support-section,
.page-doi-tac__long-read-section,
.page-doi-tac__join-us-cta {
    padding: 60px 0;
    text-align: center;
}

.page-doi-tac__why-partner-section {
    background: #B71C1C; /* Background color */
}

.page-doi-tac__programs-section {
    background: #7A0E0E; /* Deep Red */
}

.page-doi-tac__how-to-section {
    background: #B71C1C; /* Background color */
}

.page-doi-tac__support-section {
    background: #D32F2F; /* Card BG color */
}

.page-doi-tac__long-read-section {
    background: #7A0E0E; /* Deep Red */
    padding-bottom: 80px;
}

.page-doi-tac__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #FFD86A; /* Gold color */
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-doi-tac__section-description {
    font-size: 1.05rem;
    color: #FFF5E1;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Features Grid */
.page-doi-tac__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-doi-tac__feature-card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    border: 1px solid #F2B544; /* Border color */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-doi-tac__feature-icon {
    width: 100%;
    max-width: 280px; /* Ensure it's larger than 200px display */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 250px; /* Explicitly ensure minimum display size */
    min-height: 187px; /* For 4:3 aspect ratio if min-width is 250px */
}

.page-doi-tac__feature-title {
    font-size: 1.5rem;
    color: #FFD86A; /* Gold */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-doi-tac__feature-text {
    font-size: 1rem;
    color: #FFF5E1;
}

/* Program Cards */
.page-doi-tac__program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-doi-tac__program-card {
    background: #D32F2F; /* Card BG color */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.page-doi-tac__program-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-doi-tac__program-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-doi-tac__program-title {
    font-size: 1.6rem;
    color: #FFD86A; /* Gold */
    margin-bottom: 15px;
    font-weight: 600;
}