:root {
    --primary-color: #fc4c69;
    --secondary-color: rgb(245, 237, 222);
    --primary-dark: #e63e5a;
    --text-dark: #1A1A1A;
    --text-light: #4A4A4A;
    --light-bg: #F8F9FF;
}

* {
    background-color: var(--secondary-color);
}

.resources-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--text-dark);
    padding: 4rem 0 6rem;
    text-align: center;
}

.resources-hero .container {
    display: grid;
    grid-template-columns: 44% 54%;
    grid-gap: 2%;
    /* align-items: center; */
}

.resources-hero-text {
    text-align: left;
    padding: 0 4vw;
}

.resources-hero img {
    max-width: 100%;
    /* margin: 32px 0 0; */
    padding: 0 4vw;
    height: auto;
    border-radius: 500px 0 0 500px;
}
.resources-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.resources-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .resources-hero {
        padding: 2rem 0;
    }
    .resources-hero .container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .resources-hero h1 {
        font-size: 2rem;
    }

    .resources-hero p {
        font-size: 1rem;
        padding: 0;
    }

    .resources-hero img {
        padding: 0;
        border-radius: 0;
    }
}
.featured-story {
    padding: 5rem 0;
    background-color: white;
}

.featured-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 20px; 
    background-color: white;
}

@media (max-width: 768px) {
    .featured-stories-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.main-story {
    padding: 5rem 0;
    background-color: white;
}
.main-stories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 0 20px;
}

@media (max-width: 768px) {
    .main-stories-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    background-color: var(--secondary-color);
}
.section-title h2 {
    font-size: 2.25rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .section-title {
        padding: 0 2rem;
    }
    .section-title h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
}
.story-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.story-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}
.story-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.story-logo {
    height: 40px;
    margin-bottom: 1rem;
    object-fit: contain;
    max-width: 150px;
}
.story-content h3 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}

.story-content h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
}

.story-content h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #1A1A1A;
}
.story-content p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.story-meta {
    color: #666;
    font-size: 0.9rem;
    margin-top: auto;
    margin-bottom: 1rem;
}
.read-story {
    color: #fc4c69;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}
.read-story:hover {
    color: #1A1A1A;
    text-decoration: underline;
}
.stats {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 6rem 0 4rem;
    text-align: center;
    margin-bottom: 3rem;
}
.stats .container .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 20px 40px 20px;
}
.stats .container .stats-grid .stat h3 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}
.stats .container .stats-grid .stat p {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 600;
    color: var(--text-dark);
}

.stats .container p {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .stats .container .stats-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.cta1 {
    padding: 60px 0 40px;
    margin-bottom: 0;
    background-color: var(--primary-color);
    position: relative;
    clip-path: ellipse(75% 100% at 50% 0%);
    border: none;
    text-align: center;
    margin-bottom: 60px;
}

.cta1 h2 {
    color: white;
    margin-bottom: 20px;
}

.cta1 .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .cta1 {
        padding: 20px 0 10px;
    }
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}
.author-info h4 {
    margin: 0 0 0.25rem;
    color: #1A1A1A;
}
.author-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}