/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/**** CUSTOM STYLING FOR FLUENT COMMUNITY SHORTCODE ****/
/* Wrapper for spacing the stack */
.fcom-announcements-wrap {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Each announcement block */
.fcom-announcement {
    background-color: rgba(227, 27, 34, 0.34);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 14px;
}

/* Title/link styles */
.fcom-announcement-title {
    font-size: 1.15rem;
    margin: 0; /* tight look like your screenshot */
}

.fcom-announcement-title a {
    text-decoration: none;
    color: #111;
    display: block; /* makes the whole row feel clickable */
}

.fcom-announcement-title a:hover {
    text-decoration: underline;
}
/** END **/


/** Custom styling for user cards on Homepage **/
.shc-staff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: -10px;
}
.shc-staff-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    margin: 10px;
    flex: 1 1 240px;    /* base width a bit wider */
    min-width: 180px;   /* do not let it collapse */
    max-width: 260px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.shc-staff-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
}

.shc-staff-card-image-wrap {
    width: 100%;
    overflow: hidden;
}

.shc-staff-card-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

.shc-staff-card-body {
    padding: 16px 18px 18px;
    background: #ffffff;
    text-align: center;
}

.shc-staff-card-name {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 700;
}

.shc-staff-card-title {
    margin: 0;
    font-size: 0.95rem;
}

/** My Schedule **/
.shc-schedule-wrapper {
    text-align: center;
    margin: 20px auto;
}

.shc-schedule-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Simple responsiveness */
@media (min-width: 1024px) {
    .shc-staff-card {
        flex: 0 0 calc(25% - 20px); /* up to 4 per row on large screens */
    }
}

@media (max-width: 767px) {
    .shc-staff-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}