/* ===== SimplyEvents Calendar List ===== */
.simplyevents-calendar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 0;
    padding: 0;
}

/* ===== Month Heading ===== */
.simplyevents-month {
    border-bottom: 2px solid #222;
    padding-bottom: 6px;
    font-size: 1.4em;
    margin-top: 25px;
    font-weight: 600;
    color: #222;
}

/* ===== Event Item ===== */
.simplyevent-item {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* ===== Thumbnail ===== */
.simplyevent-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.simplyevent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Event Info ===== */
.simplyevent-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    padding: 15px 20px; /* razmak između thumbnailsa i teksta */
}

/* ===== Title ===== */
.simplyevent-title {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #111;
}

/* ===== Meta: Date, Time, Location ===== */
.simplyevent-meta {
    font-size: 0.95em;
    color: #666;
    margin: 8px 0; /* razmak između naslova, datuma, vremena i lokacije */
}

.simplyevent-meta span {
    margin-right: 12px; /* razmak između date i time */
}

/* ===== Buttons ===== */
.simplyevent-buttons {
    display: flex;
    flex-direction: row; /* horizontalno na desktopu */
    gap: 15px; /* veći razmak između dugmadi */
    margin-top: 15px; /* razmak od meta sekcije */
}

.simplyevent-buttons a {
    flex: 1;
    display: block;
    text-align: center; /* centriran tekst */
    background: #0073aa;
    color: #fff; /* bela boja teksta */
    text-decoration: none;
    padding: 8px 0;
    border-radius: 6px;
    transition: background 0.3s ease;
    font-weight: 500;
}

.simplyevent-buttons a:hover {
    background: #005f8d;
    color: #fff !important; /* bele boje i na hover */
}
/* ===== Meta buttons (Google Calendar / Share) ===== */
.simplyevent-meta-buttons a {
    color: #fff !important;
    text-decoration: none;
}



/* ===== Live Badge ===== */
.live-badge {
    display: inline-block;
    background: #e60000;
    color: #fff;
    font-size: 0.85em;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 5px;
    margin-left: 8px;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0.4; }
}

/* ===== Responsive: Mobilni prikaz ===== */
@media (max-width: 767px) {
    .simplyevent-item {
        flex-direction: column;
    }

    .simplyevent-buttons {
        flex-direction: column; /* vertikalno dugmad na mobilnom */
    }
}

/* ===== Single Event Details ===== */
.simplyevent-details {
    border: 1px solid #ddd;
    padding: 15px;
    margin-top: 25px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.simplyevent-detail-poster {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}
/* ===== Single event buttons white text ===== */
.simplyevent-details .simplyevent-button,
.simplyevent-details .simplyevent-button:hover {
    color: #fff !important;      
    text-decoration: none;       
    background: #0073aa !important; 
    padding: 8px 12px !important;
    border-radius: 5px !important;
    display: inline-block !important;
    font-weight: 500;
    text-align: center;
}


/* ===== Sidebar Version ===== */
.simplyevents-sidebar {
    list-style: none;
    padding: 0;
    margin: 0;
}

.simplyevents-sidebar li {
    margin-bottom: 12px;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    background: #fafafa;
    padding: 8px 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.simplyevents-sidebar li:hover {
    background: #f0f8ff;
    transform: translateY(-2px);
}

.simplyevents-sidebar li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    flex: 1;
}

.simplyevents-sidebar li img {
    width: 70px;       /* povećana širina */
    height: 40px;      /* povećana visina */
    object-fit: cover; /* popuni prostor */
    border-radius: 4px; /* opcionalno za blage uglove */
    border: none;
    flex-shrink: 0;
}
.simplyevents-sidebar li a {
    gap: 15px; /* više prostora između slike i teksta */
}

.simplyevents-sidebar li a:hover {
    color: #005177;
}
/* ===== Desktop: dugmad u redu ===== */
@media (min-width: 768px) {
    .simplyevent-details p {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 12px;
    }

    .simplyevent-details p a.simplyevent-button {
        flex: 1; /* sva dugmad iste širine */
        text-align: center;
        padding: 8px 12px;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        background: #0073aa;
        transition: background 0.3s ease;
    }

    .simplyevent-details p a.simplyevent-button:hover {
        background: #005f8d;
    }
}
/* ===== Dugmad u listama događaja: bela ili siva boja teksta ===== */
.simplyevents-calendar .simplyevent-buttons a {
    color: #fff; /* ili #ccc ako želiš sivu */
    text-decoration: none;
    text-align: center;
    background: #0073aa;
    padding: 8px 0;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
}

.simplyevents-calendar .simplyevent-buttons a:hover {
    background: #005f8d; /* samo pozadina menja boju na hover */
    color: #fff; /* tekst ostaje bela i na hover */
}


