/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.ln-events-list-wrapper {
    font-family: inherit;
}

.ln-events-grid {
    display: flex;
    flex-direction: column;
    row-gap: 60px;
    margin: 60px 0 0;
}

.ln-event-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.ln-event-image {
    width: 500px;
    height: 275px;
    flex-shrink: 0;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-color: #f1f5f9;
}

.ln-event-no-image {
    background-image: repeating-linear-gradient(45deg, #f1f5f9 25%, transparent 25%, transparent 75%, #f1f5f9 75%, #f1f5f9), repeating-linear-gradient(45deg, #f1f5f9 25%, #ffffff 25%, #ffffff 75%, #f1f5f9 75%, #f1f5f9);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
}

.ln-event-content {
    padding: 10px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-top: 0px !important;
}
.svg-before-container {
    max-height: 23px;
    max-width: 37px;
    padding: 0 1px !important;
}
.btn-rest-txt {
    margin-left: 5px !important;
}
.svg-after {
    max-height: 23px;
    max-width: 37px;
    margin-left: 5px;
}

.ln-event-category {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #919eab;
    display: inline-block;
}

.ln-event-title {
    font-size: 50px;
    font-weight: 400;
    color: #0f172a;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.ln-event-details-container.ln-event-meta {
    display: flex;
    gap: 40px;
    margin: 0 0 24px;
}

.ln-event-meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ln-event-meta-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #015675;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ln-event-meta-label .dashicons {
    margin-top: -5px;   
    font-size: 19px;
    width: 14px;
    height: 14px;
}

.ln-event-meta-value {
    font-size: 18px;
    color: #015675;
    font-weight: 500;
}

.ln-event-description {
    font-size: 18px;
    color: #015675;
    margin-bottom: 20px;
    line-height: 1.6;
}

.ln-event-read-more {
    display: inline-flex;
    align-items: center;
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
    border: none;
    text-transform: uppercase;
    background: none;
    padding: 0;
    margin-top: 0px !important;
}

.ln-event-read-more:hover {
    color: #dc2626;
}
.svg-before-container {
    overflow: hidden;
    max-height: 23px;
}

/* Pagination  */
					
.ln-pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 30px;
margin-top: 32px;
padding: 0;
}
.ln-pagination a,
.ln-pagination span {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px !important;
height: 36px !important;
border-radius: 50% !important;
font-size: 14px !important;
color: #888 !important;
text-decoration: none !important;
transition: color 0.2s !important;
padding: initial !important;
}
.ln-pagination a:hover { color: #333 !important; }
.ln-pagination .ln-page-current {
background-color: #c0392b !important;
color: #fff !important;
font-weight: 600;
pointer-events: none;
}
.ln-pagination .ln-page-dots {
color: #aaa;
pointer-events: none;
width: auto;
padding: 0 4px;
}
.ln-pagination .ln-page-arrow img {
width: 20px !important;
height: 20px !important;
display: block !important;
}
.ln-pagination .ln-page-arrow { width: 36px !important; height: 36px !important; }
.ln-pagination .ln-page-arrow.hidden {
visibility: hidden;
pointer-events: none;
}

.ln-event-date > div, .ln-event-time > div, .ln-event-location > div {
    display: flex;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center;
    gap: 10px;
}	
/* Filter Form */
.ln-events-filter-container {
    max-width: none !important;
    margin: 40px 0;
}

#ln-events-filter-form {
    display: flex;
    gap: 30px;
    align-items: end;
    justify-content: center;
    flex-wrap: wrap;
}

.ln-filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width : 230px;
}

.ln-filter-group label {
    font-size: 15px;
    font-weight: 600;
    color: #4b9cb5;
}

.ln-filter-select,
.ln-date-picker-wrap input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #b7c7d1;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #8898a3;
    background-color: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
    height: 48px;
    appearance: none;
}

.ln-filter-select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E2523B'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 24px;
}

.ln-date-picker-wrap {
    position: relative;
    width: 100%;
}

.ln-date-picker-wrap input {
    padding-right: 40px;
}

.ln-date-picker-wrap .dashicons-calendar-alt {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #E2523B;
    pointer-events: none;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.ln-filter-select:focus,
.ln-date-picker-wrap input:focus {
    outline: none;
    border-color: #4b9cb5;
    box-shadow: 0 0 0 3px rgba(75, 156, 181, 0.1);
}

.ln-filter-actions {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.ln-filter-actions .ln-button {
    height: 48px;
    background-color: transparent;
    visibility: visible !important;
    color: #E2523B;
    border: 1px solid #E2523B;
    border-radius: 24px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    text-decoration: none;
}
input#ln_start_date {
    padding-left: 13px;
}

.ln-filter-actions .ln-button:hover {
    background-color: #E2523B;
    color: #ffffff;
}

.ln-filter-actions .ln-button:active {
    transform: scale(0.98);
}

/* Responsive Breakpoints */
@media (max-width: 600px) {
    .ln-filter-group {
        width : 100% !important;
    }
    .ln-pagination {
        gap: 20px !important;
    }
}
@media (max-width: 900px) {
    #ln-events-filter-form {
        grid-template-columns: 1fr 1fr;
    }

    .ln-filter-submit {
        grid-column: 1 / -1;
    }

    .ln-event-card {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .ln-event-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}
