/* Kauno Events Frontend Styles */

/* Home Shortcode Styles */
.kauno-events-home {
    margin: 40px 0;
}

.events-title {
    text-align: center;
    font-size: 27px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 3rem;
}
div#acwp-toolbar-module {
    width: 500px;
}
.acwp-toggler label {
    padding: 10px !important;
    font-size: 15px !important;
}
.events-carousel .event-date, .events-carousel .event-location {
    font-size: 11px;
}
.event-date,
.event-location {
    word-break: break-word;
}
a.btn.btn-outline.btn-full {
    background: #ffcc4c;
    width: 235px;
}

.events-carousel {
    position: relative;
    margin: 0 auto;
}
a.wp-block-read-more {
    background: #0d9488;
    color: white;
    padding: 8px 38px;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 400;
    transition: background-color 0.3s ease;
    margin-bottom: 4rem;
}

.events-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    
}

.event-card {
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    padding: 18px 20px;
    height: auto;
    min-height: 150px;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.event-content {
    flex: 1;
    min-width: 0;
}

.event-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    word-break: break-word;
}

.event-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-title a:hover {
    color: #0d9488;
}

.event-date {
    color: #6b7280;
    font-size: 0.9rem;
}

.event-arrow {
    color: #0d9488;
    flex: 0 0 auto;
    margin-left: 1rem;
}

.carousel-nav {
    display: none; /* Hidden for now, can be implemented later */
}

.events-footer {
    text-align: center;
    
}

.btn-all-events {
background: #0d9488;
    color: white;
    padding: 8px 38px;
    font-size: 13px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn-all-events:hover {
    background: #0f766e;
    color: white;
    text-decoration: none;
}

/* List Shortcode Styles */
.kauno-events-list {
    margin: 40px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.events-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-controls label {
    font-weight: 500;
    color: #374151;
}

/* .event-sort-select {
padding: 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #787e8b;
    font-weight: 200;
    margin-bottom: 26px;
} */

.events-table {
    border-radius: 8px;
    overflow: hidden;
}

.event-row {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 1rem;
    padding: 1rem .8rem;
    border-bottom: 2px solid #e5e7eb;
    align-items: start;
}
.events-filters {
    text-align: right;
}

.kauno-events-list p, .kauno-events-list br {
    display: none;
}

.event-location-col {
    font-size: 14px;
}

h3.event-link a {
    text-decoration: none;
    font-size: 19px;
}
h3.event-link {
    margin-top: -26px;
}

.event-row:last-child {
    border-bottom: none;
}

.event-row:hover {
    background: #f9fafb;
}

.event-date-col {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.event-title-col {
    font-weight: 500;
}

.event-link {
    color: #0d9488;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.event-link:hover {
    color: #0f766e;
    text-decoration: none;
}

.event-location-col {
    color: #6b7280;
    font-size: 14px;
    text-align: right;
}

.btn-load-more {
    display: flex
;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 9px 24px;
    background: #399E97;
    border-radius: 8px;
    border: none;
    color: white;
    font-size: 14px;
    width: 170px;
    text-align: center;
    margin: auto;
	margin-top: 40px;
}

.btn-load-more:hover {
    background: #0f766e;
}

.no-events {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .events-slider {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .event-card {
        padding: 1.5rem;
    }
    
    .events-header {
        justify-content: center;
    }
    
    .event-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .event-location-col {
        text-align: center;
    }
    
    .sort-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
}

h3.event-link br {
    display: none;
}

h3.event-link a {
    font-size: 20px;
}

@media (max-width: 480px) {
    .events-title {
        font-size: 1.5rem;
    }
    
    .event-card {
        padding: 1rem;
    }
    
    .event-title {
        font-size: 1.1rem;
    }
    
    .event-row {
        padding: 1rem;
    }
}

/* Empty state */
.kauno-events-empty {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    font-style: italic;
    background: #f9fafb;
    border-radius: 8px;
    margin: 2rem 0;
}


.abcf {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}
@media (max-width: 768px) {
.event-row {
        flex-direction: column;
        padding: 11px 0px 13px 0px !important;
        margin-bottom: 11px;
        text-align: left !important;
        height: auto;
        gap: 33px;
        align-items: flex-start;
    }
	.abcf {
    display: flex
;
    justify-content: space-between;
    width: 100%;
}
	
div#eventsContainer {
    margin-top: 38px;
}

}