/* Featured rotating card */
#featured-card {
    transition: opacity 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

#featured-card.fading {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card.featured {
    background: white;
}

/* Standard cards */
.content-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-icon {
    font-size: 1.2rem;
    opacity: 0.85;
}

.card-link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    color: #004a99;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}
/* ================================
   CONTACT CARD
   ================================ */

.contact-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card .card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-card .card-icon {
    font-size: 1.3rem;
    opacity: 0.9;
}

.contact-card p {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
}

.contact-card .contact-email {
    margin-top: 14px;
    font-weight: 600;
    color: #004a99;
    text-decoration: none;
    word-break: break-all; /* prevents overflow on long emails */
}

.contact-card .contact-email:hover {
    text-decoration: underline;
}
.content-card,
.contact-card,
.card.featured {
    max-width: 300px;
    box-sizing: border-box;
}
