/* Import global variables from main style.css */
.service-inner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Use global font system */
li, h1, h2, h3, h4, h5, h6, a, p {
    font-family: "Mada", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

h2, h3 {
    font-size: clamp(26px, 4vw, 36px); /* Match section title */
    color: var(--primary-green);
    line-height: 1.3;
    font-weight: 700;
}

hr {
    margin-bottom: 15px;
}

ul {
    margin-left: 30px;
    list-style-type: disc;
}

.service-inner-content > img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.content-service {
    max-width: 850px;
    margin: 0 auto;
    text-align: left;
}

.content-service h2 {
    font-size: clamp(26px, 4vw, 36px); /* Match section title */
    margin-bottom: 20px;
    color: var(--primary-green);
    line-height: 1.3;
    font-weight: 700;
}

.content-service p {
    font-size: clamp(15px, 2vw, 17px); /* Match homepage body */
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.content-service ul {
    padding: 0;
    margin-bottom: 20px;
}

.content-service ul li {
    margin-bottom: 15px;
    font-size: clamp(15px, 2vw, 17px); /* Match homepage body */
    line-height: 1.6;
}

.gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.how-you-can-help {
    margin-top: 40px;
    text-align: left;
}

.how-you-can-help h2 {
    font-size: clamp(26px, 4vw, 36px); /* Match section title */
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--primary-green);
    font-weight: 700;
}

.how-you-can-help p {
    font-size: clamp(15px, 2vw, 17px); /* Match homepage body */
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.help-list {
    list-style: disc;
    padding-left: 20px;
}

.help-list li {
    margin-bottom: 15px;
    font-size: clamp(15px, 2vw, 17px); /* Match homepage body */
    line-height: 1.6;
    color: #555;
}

.help-list li strong {
    color: var(--primary-green);
    font-weight: 600;
}

.additional-content {
    margin-top: 40px;
}

.additional-content p {
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.6;
    color: #555;
}

.additional-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

.additional-content .additional-content-image{
    width: 100%;
    object-fit: cover;
    object-position: center;
    height: 450px;
}

@media (max-width: 768px) {
    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .service-inner-content > img, .additional-content .additional-content-image {
        height: 300px;
    }
    
    .gallery img {
        height: 250px;
    }
    
    /* Font sizes are now handled by clamp() automatically */
}