.ljdh-home-blocks {
    margin-top: 40px;
}


.ljdh-row {
    display: grid;
    grid-template-columns: 1fr 180px;
    align-items: center;
    margin-bottom: 6px;
}

.ljdh-home-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.ljdh-home-row>[class*="col"] {
    display: flex;
}

.ljdh-home-row .ljdh-card {
    width: 100%;
    height: 100%;
}

.row.ljdh-home-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}


/* CARD */

.ljdh-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);

    display: flex;
    flex-direction: column;

    width: 100%;
}

.ljdh-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* titles */

.ljdh-card .title_block {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    /* min-height: 260px; */
}

.ljdh-card-header {
    background: #24b9d7;
    color: white;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px;
    font-size: 0.9rem;
}

/* BODY */

.ljdh-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;

}

/* EVENT BLOCK */

.event-block {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

/* Title */

.event-block:last-child {
    border-bottom: none;
    margin-bottom: auto;
}

.event-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 6px;
}

/* event date */

.event-block small {
    display: block;
    margin-top: 6px;
    color: #777;
}


.event-block img{
    float:none;
    display:block;
    width:100%;
    margin-top:8px;
}


/* Description clamp */

.event-description {
    font-size: 0.9rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    height: auto;
    min-height: 3em;
}

/* gradient fade */

.event-description::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2em;
    background: linear-gradient(to bottom, transparent, white);
}

.event-description.expanded {
    -webkit-line-clamp: unset;
}

/* images inside description */

.event-description img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    height: auto;
}

/* read more */

.read-more {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #24b9d7;
    cursor: pointer;
}

.read-more:hover {
    text-decoration: underline;
}

/* date */

.date-badge {
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.8rem;
}

/* OPENING HOURS */



.ljdh-location-title {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.ljdh-location {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e5e5;

}

.ljdh-location:last-child {
    border-bottom: none;
}

.ljdh-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 2px;
}


.ljdh-day {
    font-weight: 700;
}


.ljdh-cutoff {
    font-size: 0.8rem;
    color: #666;
    margin-left: 20px;
    margin-bottom: 6px;
}

.pickup-icon {
    font-size: 16px;
    vertical-align: -3px;
    margin-right: 6px;
}

.pickup-badge-right {
    background: #28a745;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.70rem;
    font-weight: 600;
    white-space: nowrap;
}

.pickup-badge-right-yellow {
    background: #a79028;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.70rem;
    font-weight: 600;
    white-space: nowrap;
}


/* MOBILE */

@media (max-width:768px) {

    .ljdh-home-row {
        grid-template-columns: 1fr;
    }

    .ljdh-card {
        margin-bottom: 20px;

    }

}