/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 25 2026 | 09:18:04 */
.ec-section {
    max-width: 1280px;
    margin: 0 auto;
}

.ec-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    align-items: stretch;
}

/* Column */
.ec-column {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 22px;
    padding: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    min-width: 0;
    height: 100%;
}

.ec-column-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.ec-column-header h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
}

.ec-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

/* Category Colors */
.ec-column[data-category="birthday"] .ec-icon {
    background: linear-gradient(135deg,#ff9a56,#ff6f61);
}

.ec-column[data-category="obituary"] .ec-icon {
    background: linear-gradient(135deg,#5c6b8a,#37425c);
}

.ec-column[data-category="feast-day"] .ec-icon {
    background: linear-gradient(135deg,#e0a72e,#c17f11);
}

.ec-column[data-category="members"] .ec-icon {
    background: linear-gradient(135deg,#2bb3a3,#1c8577);
}

.ec-column[data-category="birthday"] .ec-date-badge {
    background: #fff1ea;
}

.ec-column[data-category="obituary"] .ec-date-badge {
    background: #eef0f5;
}

.ec-column[data-category="feast-day"] .ec-date-badge {
    background: #fbf1de;
}

.ec-column[data-category="birthday"] .ec-dot.is-active {
    background: #ff6f61;
}

.ec-column[data-category="obituary"] .ec-dot.is-active {
    background: #37425c;
}

.ec-column[data-category="feast-day"] .ec-dot.is-active {
    background: #c17f11;
}

/* Carousel */
.ec-carousel {
    overflow: hidden;
    border-radius: 18px;
}

.ec-carousel-track {
    display: flex;
    transition: transform .45s ease;
}

.ec-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
}

/* Card */
.ec-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
}

.ec-card-image{
    width:100%;
    height:100%;               /* fixed height fixes the desktop "too tall" issue */
    overflow:hidden;
    border-radius:16px;
    background:#f5f5f5;
}

.ec-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:top center; /* Keeps faces visible */
    display:block;
    transition:transform .4s ease;
}

.ec-card:hover .ec-card-image img{
    transform:scale(1.05);
}
.ec-card-body {
    padding: 14px 4px 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.ec-date-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.1;
}

.ec-day {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
}

.ec-month {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    color: #666;
}

.ec-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a1a;
    flex: 1;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: 42px;
}

/* Navigation */
.ec-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 5px;
}

.ec-nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
}

.ec-nav-btn:hover {
    background: #e9e9e9;
    transform: scale(1.08);
}

.ec-nav-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.ec-dots {
    display: flex;
    gap: 6px;
}

.ec-dot {
    width: 7px;
    height: 7px;
    border-radius: 20px;
    background: #d9d9d9;
    transition: .3s;
}

.ec-dot.is-active {
    width: 22px;
}

.ec-empty {
    padding: 50px 0;
    text-align: center;
    color: #999;
}

/* Static "Members" CTA card */
.ec-column-static {
    justify-content: flex-start;
}

.ec-static-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 6px 8px 2px;
}

.ec-static-illustration {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg,#e6f7f4,#d3f0ea);
    color: #1c8577;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-static-illustration svg {
    width: 28px;
    height: 28px;
}

.ec-static-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    max-width: 220px;
}

.ec-static-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg,#2bb3a3,#1c8577);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: .25s;
}

.ec-static-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(28,133,119,.35);
}

/* Tablet */
@media (max-width:1024px){
    .ec-columns{
        grid-template-columns:repeat(2,1fr);
    }

    .ec-card-image{
        height:100%;
    }
}

/* Mobile */
@media (max-width:767px){

    .ec-section{
        padding:20px 15px;
    }

    .ec-columns{
        grid-template-columns:1fr;
        gap:20px;
    }

    .ec-column{
        padding:18px;
    }

    .ec-card-image{
        height:100%;
    }

    .ec-title{
        font-size:16px;
    }
}