/* ================================================================
   OBITUARY CANDLES
   ================================================================ */

.candles-card {
    overflow: hidden;
}

/* ================================================================
   INTRO TEXT
   ================================================================ */

.candles-intro {
    text-align: center;
    margin-bottom: 35px;
}

.candles-intro p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* ================================================================
   CANDLE GRID
   ================================================================ */

.candles-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* ================================================================
   CANDLE CARD
   ================================================================ */

.candle-card {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    border: 1px solid #fde68a;
    border-radius: 18px;
    padding: 35px 20px;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 5px 18px rgba(0,0,0,0.05);
}

.candle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* ================================================================
   CANDLE ICON
   ================================================================ */

.candle-icon {
    font-size: 65px;
    line-height: 1;
    margin-bottom: 18px;
    animation: candleGlow 2s infinite alternate;
}

@keyframes candleGlow {

    from {
        transform: scale(1);
        opacity: 0.9;
    }

    to {
        transform: scale(1.08);
        opacity: 1;
    }

}

/* ================================================================
   TITLE
   ================================================================ */

.candle-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 18px;
}

/* ================================================================
   BUTTON
   ================================================================ */

.candle-btn {
    background: #f59e0b;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.candle-btn:hover {
    background: #d97706;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 991px) {

    .candles-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 576px) {

    .candles-wrapper {
        grid-template-columns: 1fr;
    }

    .candle-icon {
        font-size: 55px;
    }

}