/* Main Wrapper */
.fij-wrapper-shadow {
    border-radius: 15px; 
    background-color: transparent;
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

/* Header Title Bar */
.fij-widget-header {
    background-color: #002147;
    color: #fff;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

/* Slider Wrapper */
.fij-sayings-card-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 1;
}

/* *** FIX START: The Slide Fix *** */
.fij-sayings-card-wrapper .swiper-slide {
    /* DO NOT use width: 100% !important here. Swiper JS calculates it. */
    height: auto; 
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

/* Ensure the wrapper respects flexbox for slides */
.fij-sayings-card-wrapper .swiper-wrapper {
    align-items: flex-start; /* Keeps slides aligned to top if heights differ */
}
/* *** FIX END *** */

/* Card Inner */
.fij-card-inner {
    background: #fff;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Image Wrapper */
.fij-card-img-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Fit */
.fij-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

/* Layout */
.fij-card-header {
    display: flex;
    gap: 20px;
    align-items: center; 
}

.fij-card-titles {
    flex-grow: 1;
}

.fij-card-title {
    margin: 0 0 5px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.fij-card-subtitle {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.fij-card-body {
    width: 100%;
}

.fij-card-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Button */
.fij-read-more-btn {
    background: #d4a017; 
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    outline: none;
    margin-top: 5px;
}

.fij-read-more-btn:hover {
    background: #b8860b;
    opacity: 0.9;
}
