.banner h1 {
    font-size: 46px;
    margin-bottom: 1.5rem;
}

p.community-subtitle {
    text-align: center !important;
}

@media (max-width: 768px) {
     
     .banner h1 {
    font-size: 23px;
    /* margin-bottom: 1.5rem; */
    margin-top: 61px;
}
    }

/* Mobile Community Section */
    .community-card-simple {
        padding: 20px;
    }

    .community-header-simple h3 {
        font-size: 1.4rem;
    }

    .community-subtitle {
        font-size: 1rem;
    }

    .community-description p {
        font-size: 1rem;
    }

    .community-highlights {
        /*  flex-direction: column; */
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .highlight-item {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    .community-join-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }.community-section {
    background: #f5f5f5;
}

/* Community of Practice Section - Simple Design */
.community-card-simple {
    background: #ffffff;
    border: 2px solid #4a7c23;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.community-header-simple {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8f5e8;
}

.community-header-simple h3 {
    color: #2d5016;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.community-subtitle {
    color: #4a7c23;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    font-style: italic;
}

.community-description {
    margin-bottom: 25px;
}

.community-description p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.community-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.highlight-item {
    background: #e8f5e8;
    color: #2d5016;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #4a7c23;
}

.community-action {
    text-align: center;
}

.community-join-btn {
    display: inline-block;
    background: #4a7c23;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(74, 124, 35, 0.3);
}

.community-join-btn:hover {
    background: #2d5016;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(74, 124, 35, 0.4);
    text-decoration: none;
    color: white;
}.banner h1 {
    font-size: 46px;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .banner h1 {
        font-size: 23px;
        margin-top: 61px;
    }
}

/* AFF Project Page Styles */
.project-meta-bar {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c23 100%);
    color: white;
    padding: 20px 0;
    margin-bottom: 0;
    max-width: 100%;
    width: 100%;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 0.95rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.meta-label {
    font-weight: 600;
    margin-right: 8px;
}

.content-section {
    padding: 30px;
    margin-bottom: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: block;
}

/* Different background colors for each section */
.overview-section {
    background: #ffffff;
}

.outcomes-section {
    background: #f5f5f5;
}

.info-section {
    background: #f5f5f5;
    color: #333;
}

.info-section h2 {
    color: #2d5016;
    border-bottom: 3px solid #4a7c23;
}

.info-section .info-label {
    color: #2d5016;
}

.info-section .info-value {
    color: #555;
}

.programme-section {
    background: #ffffff;
}

.enablers-section {
    background: #f5f5f5;
}

.targets-section {
    background: #ffffff;
}

.alignment-section {
    background: #f5f5f5;
}

.manager-section {
    background: #ffffff;
}

.blogs-section {
    background: #f5f5f5;
}

.resources-section {
    background: #ffffff;
}

.content-section h2 {
    color: #2d5016;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #4a7c23;
    padding-bottom: 10px;
}

.content-section h3 {
    color: #4a7c23;
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
}

.content-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.outcomes-list {
    list-style: none;
    padding: 0;
}

.outcomes-list li {
    background: #e8f5e8;
    margin: 10px 0;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #2d5016;
}

.outcomes-list li:before {
    content: "✓";
    color: #2d5016;
    font-weight: bold;
    margin-right: 10px;
}

/* Updated info grid for single column layout */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #2d5016;
    min-width: 180px;
    flex-shrink: 0;
    margin-right: 15px;
}

.info-value {
    flex: 1;
    color: #555;
}

.target-groups-single {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    background: #e8f5e8;
    color: #2d5016;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.alignment-list {
    list-style: none;
    padding: 0;
}

.alignment-list li {
    background: #ffffff;
    margin: 8px 0;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.target-group {
    background: #e8f5e8;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #2d5016;
}

.highlight-box {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border: 2px solid #4a7c23;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.highlight-box h3 {
    color: #2d5016;
    margin-bottom: 15px;
}

/* Project Manager Section - 50% width left-aligned */
.manager-card-narrow {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 2px solid #4a7c23;
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 50%;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.manager-photo-left {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #4a7c23;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.manager-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f0f8f0;
    border: 4px solid #4a7c23;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.placeholder-icon {
    font-size: 2rem;
    color: #4a7c23;
}

.manager-info {
    flex: 1;
}

.manager-info h3 {
    color: #2d5016;
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.manager-title {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-style: italic;
}

.manager-note {
    color: #666;
    font-style: italic;
    margin-bottom: 0;
}

.manager-link {
    display: inline-block;
    background: #4a7c23;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.manager-link:hover {
    background: #2d5016;
    text-decoration: none;
    color: white;
}

/* Blogs Section - 3 columns */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h4 {
    color: #2d5016;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.blog-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: left;
}

.blog-link {
    display: inline-block;
    background: #4a7c23;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.blog-link:hover {
    background: #2d5016;
    text-decoration: none;
    color: white;
}

/* Resources Section - 2 columns */
.resources-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.resource-item {
    display: flex;
    align-items: flex-start;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.resource-image {
    margin-right: 20px;
    flex-shrink: 0;
    width: 80px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #4a7c23;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.resource-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.resource-content {
    flex: 1;
}

.resource-content h4 {
    color: #2d5016;
    font-size: 1.1rem;
    margin-bottom: 8px;
    
    line-height: 1.3;
}

.resource-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-style: italic;
    text-align: left;
}

.resource-link {
    display: inline-block;
    background: #4a7c23;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.resource-link:hover {
    background: #2d5016;
    text-decoration: none;
    color: white;
}

/* Resources Section - Single item layout */
.resources-grid-single {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.resource-item-single {
    display: flex;
    align-items: flex-start;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 500px;
}

.resource-item-single:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.resource-placeholder {
    margin-right: 20px;
    flex-shrink: 0;
    width: 80px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid #4a7c23;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #f0f8f0;
    font-size: 2.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
    .project-meta,
    .content-section {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .project-meta-bar {
        padding: 15px 0;
    }

    .project-meta {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        width: 100%;
        padding: 0 10px;
    }

    .meta-item {
        display: flex;
        justify-content: space-between;
        padding: 10px 15px;
        border-radius: 8px;
        width: 100%;
    }

    .content-section {
        display: block;
        width: 100%;
        padding: 20px 15px;
        margin-bottom: 0;
    }

    .content-section h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .content-section h3 {
        font-size: 1.2rem;
        margin: 20px 0 10px 0;
    }

    .content-section p {
        text-align: left;
        font-size: 0.95rem;
        line-height: 1.5;
        width: 100%;
    }

    .highlight-box {
        display: block;
        width: 100%;
        padding: 20px 15px;
        margin: 20px 0;
    }

    .outcomes-list li {
        display: block;
        width: 100%;
        padding: 12px;
        margin: 8px 0;
        font-size: 0.9rem;
    }

    .info-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .info-item {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 12px 0;
        width: 100%;
    }

    .info-label {
        font-weight: 700;
        min-width: auto;
        width: 100%;
        margin-right: 0;
    }

    .info-value {
        font-size: 0.9rem;
        width: 100%;
    }

    .tag-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 15px;
        width: 100%;
    }

    .tag {
        display: block;
        text-align: center;
        padding: 8px 15px;
        font-size: 0.85rem;
        width: 100%;
    }

    .target-groups-single {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .target-group {
        display: block;
        padding: 12px 15px;
        font-size: 0.9rem;
        text-align: center;
        width: 100%;
    }

    .alignment-list li {
        display: block;
        padding: 12px 15px;
        font-size: 0.85rem;
        margin: 6px 0;
        width: 100%;
    }

    /* Mobile Manager Section */
    .manager-card-narrow {
        max-width: 100%;
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .manager-photo-left,
    .manager-placeholder {
        width: 80px;
        height: 80px;
    }

    .placeholder-icon {
        font-size: 2rem;
    }

    .manager-info h3 {
        font-size: 1.2rem;
    }

    .manager-title {
        font-size: 0.85rem;
    }

    .manager-link {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    /* Mobile Blogs Section */
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .blog-image {
        height: 180px;
    }

    .blog-content {
        padding: 15px;
    }

    .blog-content h4 {
        font-size: 1rem;
    }

    /* Mobile Resources Section */
    .resources-grid-two {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .resources-grid-single {
        justify-content: center;
    }

    .resource-item,
    .resource-item-single {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        max-width: 100%;
    }

    .resource-image,
    .resource-placeholder {
        margin: 0 auto 15px auto;
        width: 70px;
        height: 90px;
    }

    .resource-placeholder {
        font-size: 2rem;
    }

    .resource-content h4 {
        font-size: 1rem;
        text-align: center;
    }

    .resource-content p {
        text-align: center;
        font-size: 0.85rem;
    }

    .resource-link {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
}

@media (max-width: 480px) {
    .project-meta,
    .content-section {
        padding-left: 5px;
        padding-right: 5px;
    }

    .content-section {
        padding: 15px 10px;
        width: 100%;
    }

    .content-section h2 {
        font-size: 1.3rem;
    }

    .meta-item {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .highlight-box {
        padding: 15px 10px;
    }

    .outcomes-list li {
        padding: 10px;
        font-size: 0.85rem;
    }

    .tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .target-group {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}