/* newsletters_styles.css
   Combined styles for Our Kids Read newsletter system
   Includes styles from October 2024, April 2025, and November 2025 newsletters
   Last updated: October 2024 - November 2025
*/

/* ===== GLOBAL STYLES & RESETS ===== */
body,
.wrapper,
html {
    overflow: visible !important;
    margin: 0;
    padding: 0;
}

/* Material Icons adjustments */
.material-icons {
    vertical-align: middle;
    font-size: 1.2rem;
    margin-right: 4px;
}

.icon-large {
    font-size: 2rem;
}

.icon-circle {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 8px;
}

/* ===== NEWSLETTER LAYOUT SHELL ===== */
.newsletter-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 0;
    align-items: flex-start;
}

/* ===== SIDEBAR STYLES ===== */
.newsletter-sidebar {
    flex: 0 0 280px;
    max-width: 280px;
    position: sticky;
    top: 120px;
    align-self: flex-start;
    z-index: 10;
    height: fit-content;
}

.newsletter-index {
    background-color: #0d9488;
    color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.newsletter-index h3 {
    font-size: 1.35rem;
    margin-bottom: 5px;
    color: white;
    border-bottom: 0;
    padding-bottom: 0;
    text-align: center;
}

.newsletter-index hr {
    border-color: rgba(255, 255, 255, 0.3);
    margin: 5px 0 15px;
}

.newsletter-index ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.newsletter-index li {
    margin-bottom: 10px;
}

.newsletter-index a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.2s, padding-left 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-index a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    padding-left: 10px;
    border-radius: 6px;
}

.newsletter-index a.active {
    background-color: rgba(255, 255, 255, 0.25);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    display: block;
}

.sidebar-toggle-btn {
    display: none;
    background-color: #0d9488;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===== CONTENT AREA ===== */
.newsletter-content {
    flex: 1;
    max-width: calc(100% - 320px);
}

.newsletter-box {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

/* ===== SECTION HEADERS ===== */
.nl-section {
    margin-top: 36px;
    margin-bottom: 20px;
}

.nl-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0d9488;
    margin: 0 0 6px 0;
    letter-spacing: 0.01em;
}

.nl-section-rule {
    border: 0;
    border-top: 1.5px solid #0d9488;
    margin: 0 0 20px 0;
}

/* ===== TITLE BAR ===== */
.nl-title-bar {
    background: #004750;
    border-radius: 8px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 16px;
}

.nl-title-bar img {
    height: 44px;
    width: auto;
    flex-shrink: 0;
}

.nl-title-bar .nl-title {
    font-size: 1.75rem;
    color: white;
    margin: 0;
    flex: 1;
    text-align: center;
    letter-spacing: 0.04em;
}

.nl-title-bar .nl-month {
    font-size: 1.4rem;
    color: #efb01e;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== CTA ROW ===== */
.nl-cta-row {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.nl-cta-row a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 1.08rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.3;
    transition: opacity 0.2s;
}

.nl-cta-row a:hover {
    opacity: 0.85;
}

.cta-teal {
    background: #004750;
    color: white !important;
}

.cta-red {
    background: #c82660;
    color: white !important;
}

.nl-chevs {
    display: inline-flex;
    gap: 2px;
    opacity: 0.5;
}

.nl-chevs i {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid white;
}

/* ===== EXECUTIVE LETTER ===== */
.nl-exec-row {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-bottom: 4px;
}

.nl-exec-photo {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #c82660;
    background: #bfe9e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #004750;
}

.nl-exec-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nl-exec-text p {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.78;
    margin-bottom: 10px;
}

.nl-exec-text p:last-child {
    margin-bottom: 0;
}

.nl-exec-text a {
    color: #0d9488;
}

.nl-exec-sign {
    font-size: 1.02rem;
    color: #374151;
    margin-top: 12px;
    font-weight: 700;
}

/* ===== FEATURED STORIES ===== */
.nl-stories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 8px;
}

.nl-story-card {
    border: 1.5px solid #c82660;
    border-radius: 6px;
    overflow: hidden;
}

.nl-story-card .sc-img {
    width: 100%;
    height: 180px;
    background: #d1fae5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
}

.nl-story-card .sc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nl-story-card .sc-body {
    padding: 12px 14px;
}

.nl-story-card .sc-title {
    font-size: 0.97rem;
    font-weight: 700;
    color: #1f2937;
    text-transform: uppercase;
    margin-bottom: 8px;
    line-height: 1.4;
}

.nl-story-card p {
    font-size: 0.97rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

/* ===== MULTI-IMAGE GRID STYLES ===== */
.multi-image-grid {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d9488 0%, #004750 100%);
    overflow: hidden;
}

.image-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
    width: 100%;
    height: 100%;
    position: relative;
}

.grid-item {
    overflow: hidden;
    position: relative;
    background: #ffffff;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    animation-delay: 0.1s;
}

.grid-item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    animation-delay: 0.2s;
}

.grid-item-3 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    animation-delay: 0.3s;
}

.grid-item-4 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    animation-delay: 0.4s;
}

.grid-item-5 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    animation-delay: 0.5s;
}

.grid-item-6 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    animation-delay: 0.6s;
}

.image-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 71, 80, 0.7) 0%, rgba(200, 38, 96, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.multi-image-grid:hover .image-grid-overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.news-badge {
    background: #f3f4f6;
    color: #004750;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.news-badge:hover {
    background: #004750;
    color: white;
    border-color: #004750;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ===== EVENTS ===== */
.nl-events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
}

.nl-event-item {
    margin-bottom: 20px;
}

.nl-event-date {
    font-size: 2.2rem;
    font-weight: 700;
    color: #c82660;
    margin-bottom: 4px;
    line-height: 1.1;
}

.nl-event-desc {
    font-size: 1.10rem;
    color: #374151;
    line-height: 1.5;
}

.nl-event-detail {
    font-weight: 700;
    font-size: 1.10rem;
    color: #374151;
    margin-bottom: 2px;
}

.nl-event-btns {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.ev-btn {
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ev-btn:hover {
    opacity: 0.85;
}

.ev-teal {
    background: #0d9488;
    color: white !important;
}

.ev-red {
    background: #c82660;
    color: white !important;
}

.event-cancelled {
    background: #fee2e2;
    color: #991b1b;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-left: 8px;
}

/* ===== 60 SECONDS ===== */
.nl-sixty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

.nl-sixty-col h4 {
    font-size: 1.65rem;
    font-weight: 400;
    color: #0d9488;
    margin: 0 0 10px 0;
}

.nl-sixty-col ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.nl-sixty-col li {
    font-size: 1.02rem;
    color: #374151;
    line-height: 1.65;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.nl-sixty-col li .material-icons {
    color: #0d9488;
    font-size: 1.2rem;
    margin-top: 2px;
}

/* ===== FEATURED ARTICLES ===== */
.nl-article {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.nl-article .art-img {
    flex-shrink: 0;
    width: 160px;
    height: 115px;
    border: 1.5px solid #c82660;
    border-radius: 4px;
    overflow: hidden;
    background: #bfe9e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.7rem;
}

.nl-article .art-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nl-article h4 {
    font-size: 1.65rem;
    font-weight: 400;
    color: #0d9488;
    margin: 0 0 6px 0;
    line-height: 1.25;
}

.nl-article p {
    font-size: 1.10rem;
    color: #374151;
    line-height: 1.65;
    margin: 0 0 6px 0;
}

.nl-article a {
    color: #0d9488;
}

/* ===== PARTNERS ===== */
.nl-partner-card {
    display: flex;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
    padding: 14px 0;
}

.nl-partner-card:last-of-type {
    border-bottom: none;
}

.nl-partner-logo {
    flex-shrink: 0;
    width: 80px;
    height: 52px;
    border-radius: 4px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151;
    text-align: center;
    line-height: 1.3;
    padding: 4px;
}

.nl-partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.nl-partner-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.nl-partner-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* ===== PERSON PROFILES ===== */
.nl-person {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.nl-person.flip {
    flex-direction: row-reverse;
}

.nl-circle {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #c82660;
    background: #bfe9e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #004750;
}

.nl-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nl-person-body h4 {
    font-size: 1.75rem;
    font-weight: 400;
    color: #0d9488;
    margin: 0 0 2px 0;
}

.nl-person-body .role {
    font-size: 0.95rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 8px;
}

.nl-person-body p {
    font-size: 1.10rem;
    color: #374151;
    line-height: 1.72;
    margin-bottom: 8px;
}

.nl-person-body p:last-child {
    margin-bottom: 0;
}

.nl-person-body blockquote {
    border-left: 3px solid #efb01e;
    margin: 10px 0 0;
    padding: 8px 12px;
    background: #fffbeb;
    border-radius: 0 5px 5px 0;
    font-style: italic;
    font-size: 1.10rem;
    color: #374151;
    line-height: 1.7;
}

/* ===== SUPPORT BOX ===== */
.nl-support-box {
    background: #004750;
    border-radius: 10px;
    padding: 28px 32px;
    margin-top: 32px;
    color: white;
}

.nl-support-box h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: white;
    margin: 0 0 6px 0;
}

.nl-support-box hr {
    border-color: rgba(255, 255, 255, 0.25);
    margin: 0 0 16px 0;
}

.nl-support-box p {
    font-size: 1.10rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
    line-height: 1.7;
}

.nl-support-box p:last-child {
    margin-bottom: 0;
}

.nl-support-box a {
    color: #efb01e;
    text-decoration: underline;
}

.nl-support-box strong {
    color: white;
}

.nl-support-box .site-url {
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.97rem;
    margin-top: 16px;
}

/* ===== VOLUNTEER BOX ===== */
.nl-vol-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 20px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.nl-vol-box .vol-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #0d9488;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    overflow: hidden;
}

.nl-vol-box .vol-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nl-vol-box h4 {
    font-size: 1.75rem;
    font-weight: 400;
    color: #c2410c;
    margin-bottom: 6px;
}

.nl-vol-box p {
    font-size: 1.00rem;
    color: #374151;
    line-height: 1.65;
    margin: 0;
}

/* ===== PORTAL BOX ===== */
.nl-portal-box {
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 20px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.nl-portal-box .p-icon {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 5px;
    background: #bfe9e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 1.5px solid #c82660;
    overflow: hidden;
}

.nl-portal-box .p-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nl-portal-box h4 {
    font-size: 1.75rem;
    font-weight: 400;
    color: #0d9488;
    margin-bottom: 6px;
}

.nl-portal-box p {
    font-size: 1.00rem;
    color: #374151;
    line-height: 1.65;
    margin-bottom: 8px;
}

.nl-portal-box p:last-child {
    margin-bottom: 0;
}

.nl-rule {
    border: 0;
    border-top: 1px solid #f3f4f6;
    margin: 20px 0;
}

/* ===== SUPPORT ITEMS ===== */
.support-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-item .material-icons {
    color: #efb01e;
    font-size: 1.5rem;
}

/* ===== FUNDRAISER BOX ===== */
.fundraiser-box {
    background: #c82660;
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.fundraiser-box h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fundraiser-box h3 {
    font-size: 1.8rem;
    color: #efb01e;
    margin-bottom: 20px;
}

.fundraiser-goal {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
}

.goal-item {
    flex: 1;
    min-width: 150px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.goal-number {
    font-size: 2rem;
    font-weight: 700;
    color: #efb01e;
}

/* ===== DONATION OPTIONS ===== */
.donation-option {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.donation-option a {
    color: #efb01e;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.social-links a {
    color: #0d9488;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-links a .material-icons {
    font-size: 1.5rem;
}

/* ===== SPONSOR COLLAGE ===== */
.sponsor-collage {
    width: 100%;
    margin: 20px 0;
}

.sponsor-collage img {
    width: 100%;
    height: auto;
}

/* ===== STAT CARDS ===== */
.stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #c82660;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

/* ===== TABLE STYLES ===== */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.event-table {
    width: 100%;
    border-collapse: collapse;
}

.event-table th {
    background: #f3f4f6;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #c82660;
}

.event-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
}

/* ===== DIVIDER DOTS ===== */
.divider-dots {
    text-align: center;
    color: #9ca3af;
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin: 20px 0;
}

/* ===== URL FOOTER ===== */
.url-footer {
    display: flex;
    align-items: center;
    padding: 28px 0 8px;
}

.url-footer div:first-child {
    flex: 1;
    height: 7px;
    background: #004750;
}

.url-footer div:last-child {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #004750;
    padding: 0 14px;
    white-space: nowrap;
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 900px) {
    .newsletter-layout {
        flex-direction: column;
        gap: 20px;
        padding: 30px 15px;
        align-items: stretch;
    }

    .sidebar-toggle-btn {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }

    .newsletter-sidebar {
        position: relative;
        top: 0;
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        margin-bottom: 20px;
    }

    .newsletter-index {
        display: none;
        width: 100%;
    }

    .newsletter-index.sidebar-open {
        display: block;
    }

    .newsletter-content {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .newsletter-box {
        padding: 20px;
        width: 100%;
    }

    .nl-stories-grid {
        grid-template-columns: 1fr;
    }

    .nl-sixty-grid {
        grid-template-columns: 1fr;
    }

    .nl-events-grid {
        grid-template-columns: 1fr;
    }

    .nl-article {
        flex-direction: column;
    }

    .nl-article .art-img {
        width: 100%;
        height: 180px;
    }

    .nl-title-bar {
        flex-direction: column;
        text-align: center;
    }

    .nl-cta-row {
        flex-direction: column;
    }

    .nl-person.flip {
        flex-direction: row;
    }

    .image-grid-6 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }

    .grid-item-1 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .grid-item-2 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .grid-item-3 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .grid-item-4 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .grid-item-5 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .grid-item-6 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .overlay-text {
        font-size: 1.2rem;
    }

    .grid-item {
        border-radius: 4px;
    }

    .fundraiser-goal {
        flex-direction: column;
    }

    .goal-item {
        min-width: auto;
    }
}

@media screen and (max-width: 768px) {
    .newsletter-layout {
        padding: 20px 10px;
    }

    .newsletter-box {
        padding: 15px;
    }

    .image-grid-6 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }

    .grid-item-1,
    .grid-item-2,
    .grid-item-3,
    .grid-item-4,
    .grid-item-5,
    .grid-item-6 {
        animation-delay: 0s;
    }

    .overlay-text {
        font-size: 1rem;
        padding: 5px 10px;
    }

    .grid-item {
        border-radius: 4px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .stat-card {
        margin-bottom: 10px;
    }
}