/*
 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);
}

/* Full-width video */
.shc-fullwidth-video {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.shc-fullwidth-video video {
  display: block;
  width: 100%;
  height: auto;
}

/* Order Tracking page Styling */
.ans-wrap{max-width: 1000px;margin: 0 auto;padding: 0 16px;}
.ans-table{width: 100%;table-layout: fixed;}
.ans-table th, .ans-table td{ word-wrap: break-word;}
.ans-table-scroll{ overflow-x: auto;}
.ans-box{padding:12px 14px;border:1px solid #e7e7e7;border-radius:10px;background:#fafafa}
.ans-table{width:100%;border-collapse:separate;border-spacing:0;margin-top:10px;border:1px solid #e7e7e7;border-radius:12px;overflow:hidden}
.ans-table th,.ans-table td{padding:10px 12px;border-bottom:1px solid #eee;vertical-align:top;text-align:left;font-size: 15px;text-align: center;vertical-align: middle;}
.ans-table th{ font-weight:600; background:#f6f7f9; white-space: normal; line-height: 1.2; word-break: break-word; }
.ans-table tr:last-child td{border-bottom:none}
.ans-pill{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;line-height:1}
.ans-delivered{background:#e7f7ee;color:#137a3a;border:1px solid #bfe8cf}
.ans-pending{background:#e8f1ff;color:#1f57b8;border:1px solid #c8dcff}
.ans-shipping{background:#fff4e5;color:#9a5a00;border:1px solid #ffd9a6}
.ans-other{background:#f1f1f1;color:#444;border:1px solid #e0e0e0}


/* News section spacing */
.homepage-news-section li {margin-bottom: 22px;}

/* 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%;
    }
}