* {
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Manrope", sans-serif;
    background-color: white; /* Цвет на случай, если картинка не грузится */
}











/* СТИЛІ ДЛЯ ХЕДЕРА (HERO) СТОРІНКИ ЗБОРІВ */
.news-logo {
    background-color: #262625;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.news-logo h1 {
    font-size: clamp(40px, 8vw, 70px);
    color: white;
    margin: 0;
    z-index: 2;
    position: relative;
}

.wave-container {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.wave-container svg {
    display: block;
    width: 100%;
    height: 120px;
}

.wave-container svg path {
    fill: #f8f9fa;
}

@media (max-width: 768px) {
    .wave-container svg {
        height: 60px;
    }
}

/* УНІКАЛЬНІ СТИЛІ ДЛЯ СТОРІНКИ ЗБОРІВ */
/* СТИЛІ ДЛЯ СТОРІНКИ ЗБОРІВ - ОНОВЛЕНІ ЯК НА HOME */
.fundraising-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Сітка карток зборів */
.fundraising-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Стиль картки - як у home */
.fundraising-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.fundraising-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}



/* Мітка терміново */
.card-urgent {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    animation: pulse 1.5s infinite;
    z-index: 2;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #262625;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.fundraising-card:hover .card-title {
    color: #85abba;
    cursor: pointer;
}

.card-description {
    font-size: 14px;
    color: #6b7a8a;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Прогрес-бар з хмаркою як у home */
.progress-section {
    margin-top: auto;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e5e7eb;
    border-radius: 20px;
    position: relative;
    margin: 20px 0 15px 0;
}

.progress-fill {
    height: 100%;
    background-color: #374151;
    border-radius: 20px;
    position: relative;
}

.percent-badge {
    position: absolute;
    right: 0;
    top: -32px;
    transform: translateX(50%);
    background-color: #374151;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 8px;
    white-space: nowrap;
}

.percent-badge::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #374151;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.progress-current {
    font-size: 18px;
    font-weight: 700;
    color: #262625;
}

.progress-target {
    font-size: 16px;
    font-weight: 600;
    color: #4a5b6b;
}

/* Кнопка */
/* Кнопка зі стрілочкою */
.card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #85abba;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.card-button:hover {
    background-color: #6c9aab;
    transform: scale(1.02);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.card-button:hover .arrow-icon {
    transform: translateX(4px);
}

.arrow-icon path {
    stroke: white;
}
/* Пустий стан */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 28px;
}

.empty-state h3 {
    font-size: 24px;
    color: #262625;
    margin-bottom: 10px;
}

.empty-state p {
    color: #8a9aaa;
}

/* Адаптація */
@media (max-width: 1024px) {
    .fundraising-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .fundraising-container {
        padding: 40px 15px;
    }
    
    .fundraising-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .progress-current {
        font-size: 16px;
    }
    
    .progress-target {
        font-size: 14px;
    }
}