.kerooja-tabs-nav { display: flex; border-bottom: 1px solid #eaeaea; position: relative; }
.kerooja-tab-btn { background: transparent !important; box-shadow: none !important; outline: none !important; border: none !important; position: relative; cursor: pointer; display: inline-block; transition: color 0.3s ease; }
.kerooja-tab-btn::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 0px; transition: all 0.3s ease; }
.kerooja-tab-btn:hover, .kerooja-tab-btn.active { background: transparent !important; box-shadow: none !important; outline: none !important; }
.kerooja-event-list-item { display: flex; flex-direction: row; background: #fafbfc; border: 1px solid #eaeaea; border-radius: 8px; margin-bottom: 16px; text-decoration: none; color: inherit; transition: 0.3s; }
.kerooja-event-list-item:hover { border-color: #ccc; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.kerooja-date-col { padding: 24px; border-right: 1px solid #eaeaea; min-width: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f2f6fa; border-radius: 8px 0 0 8px; }
.kerooja-details-col { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.kerooja-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.kerooja-event-gallery-item { display: flex; flex-direction: column; background: #fafbfc; border: 1px solid #eaeaea; border-radius: 8px; text-decoration: none; color: inherit; transition: 0.3s; }
.kerooja-event-gallery-item:hover { border-color: #ccc; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.kerooja-date-row { padding: 24px 24px 0 24px; display: flex; align-items: center; gap: 8px; }
.kerooja-event-gallery-item .kerooja-date-row { border-bottom: 1px solid #eaeaea; padding-bottom: 16px; width: 100%; }
.k-day { font-size: 32px; font-weight: 900; color: #0056b3; line-height: 1; }
.k-month { font-size: 16px; font-weight: 700; color: #0056b3; text-transform: uppercase; }
.kerooja-title { font-size: 18px; margin: 0 0 8px 0; color: #111; transition: color 0.3s ease; }
.kerooja-meta { font-size: 12px; font-weight: 600; color: #444; text-transform: uppercase; margin: 0 0 8px 0; transition: color 0.3s ease; }
.kerooja-excerpt { transition: color 0.3s ease; }
.kerooja-pagination { margin-top: 24px; display: flex; gap: 8px; }
.kerooja-pagination .page-numbers { padding: 8px 12px; background: #f5f5f5; border-radius: 4px; text-decoration: none; color: #333; }
.kerooja-pagination .page-numbers.current { background: #0056b3; color: #fff; }

/* CALENDAR VIEW CSS */
.kerooja-cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; background: #f2f6fa; padding: 12px 24px; border-radius: 8px; }
.kerooja-cal-header h3 { margin: 0; font-size: 20px; }
.kerooja-cal-nav { text-decoration: none; color: #0056b3; font-weight: 600; border: 1px solid transparent; transition: all 0.3s ease; }
.kerooja-cal-grid { display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)) !important; width: 100% !important; border-top: 1px solid #eaeaea; border-left: 1px solid #eaeaea; }
.kerooja-cal-day-name { padding: 12px; text-align: center; font-weight: 600; font-size: 14px; background: #fafbfc; border-bottom: 1px solid #eaeaea; border-right: 1px solid #eaeaea; min-width: 0 !important; overflow: hidden !important; }
.kerooja-cal-cell { min-height: 100px; padding: 8px; border-bottom: 1px solid #eaeaea; border-right: 1px solid #eaeaea; display: flex; flex-direction: column; gap: 4px; min-width: 0 !important; overflow: hidden !important; }
.kerooja-cal-cell.empty { background: #fafbfc; }
.kerooja-cal-date { font-weight: 600; font-size: 14px; align-self: flex-end; margin-bottom: 4px; color: #666; }
.kerooja-cal-event { background: #0056b3; color: #fff; font-size: 11px; padding: 4px 6px; border-radius: 4px; text-decoration: none; display: block !important; width: 100% !important; box-sizing: border-box !important; border-left: 2px solid transparent; transition: all 0.3s ease; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }

@media (max-width: 1024px) { 
    .kerooja-gallery-grid { grid-template-columns: repeat(2, 1fr); } 
}
@media (max-width: 767px) { 
    .kerooja-gallery-grid { grid-template-columns: 1fr; } 
    .kerooja-event-list-item { flex-direction: column; } 
    .kerooja-date-col { border-right: none; border-bottom: 1px solid #eaeaea; border-radius: 8px 8px 0 0; flex-direction: row; gap: 12px; } 
    .kerooja-cal-day-name { font-size: 11px; padding: 8px 4px; }
    .kerooja-cal-cell { min-height: 80px; padding: 4px; }
}