/* ================================
   Event Card Styles
   ================================ */

.event-card {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    transition: box-shadow 0.3s ease;
}

.event-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.event-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.event-title {
    color: #3C7A99;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.event-brief {
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-read-more {
    background-color: #20A8D8;
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
    transition: background-color 0.3s ease;
    border: none;
}

.btn-read-more:hover {
    background-color: #1985ac;
    color: white;
    text-decoration: none;
}

/* Load More Button */
.btn-load-more {
    background-color: #fff;
    color: #3C7A99;
    padding: 12px 30px;
    border: 2px solid #3C7A99;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-load-more:hover {
    background-color: #3C7A99;
    color: white;
}

.btn-load-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-load-more:hover i {
    transform: translateY(3px);
}

/* Hidden Events */
.hidden-event {
    display: none;
}

.show-event {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .event-card {
        padding: 20px;
    }
    
    .event-title {
        font-size: 1.3rem;
    }
    
    .event-image {
        margin-bottom: 20px;
    }
}

/* ================================
   Event Detail Styles
   ================================ */

.event-detail {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
}

.event-detail-title {
    color: #3C7A99;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.event-detail-image-wrapper {
    text-align: center;
    margin-bottom: 25px;
}

.event-detail-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.event-meta {
    color: #888;
    font-size: 0.95rem;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
}

.event-detail-brief {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.event-detail-brief .lead {
    font-weight: 400;
}

.event-detail-content {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

.event-detail-content p {
    margin-bottom: 1.2rem;
}

.event-detail-content h2,
.event-detail-content h3,
.event-detail-content h4 {
    color: #3C7A99;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.event-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}

.btn-outline-secondary {
    border-color: #ddd;
    color: #666;
}

.btn-outline-secondary:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
    color: #333;
}

/* ================================
   Sponsorship Card Styles
   ================================ */

.sponsorship-card-link {
    text-decoration: none;
    display: block;
}

.sponsorship-card {
    background: #ffffff;
    border: 0.5px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sponsorship-card:hover {
    border-color: #3C7A99;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.sponsor-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f9fafb;
}

.sponsor-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 90px;
    transition: transform 0.3s ease;
}

.sponsorship-card:hover .sponsor-image {
    transform: scale(1.05);
}

.sponsor-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    min-height: 90px;
}

.sponsor-title {
    color: #1f2937;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

.sponsorship-card:hover .sponsor-title {
    color: #3C7A99;
}

@media (max-width: 768px) {
    .sponsor-image-wrapper {
        min-height: 75px;
        padding: 15px;
    }
    
    .sponsor-content {
        min-height: 75px;
        padding: 15px;
    }
    
    .sponsor-title {
        font-size: 1.5rem;
    }

    .sponsor-image {
        max-height: 70px;
    }
}

@media (max-width: 768px) {
    .event-detail {
        padding: 20px;
    }
    
    .event-detail-title {
        font-size: 1.6rem;
    }
}
