/* Additional styles specific to the events page */
.events-hero {
background-color: var(--foreground);
color: white;
padding: 5rem 0;
position: relative;
}

.events-hero::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 4rem;
background-color: white;
clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.events-hero h1 {
color: white;
font-size: 3rem;
margin-bottom: 1.5rem;
}

.events-hero p {
max-width: 36rem;
margin-bottom: 2rem;
font-size: 1.125rem;
}

.events-filters {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin-bottom: 2rem;
}

.filter-group {
display: flex;
flex-direction: column;
min-width: 200px;
}

.filter-label {
font-weight: 500;
margin-bottom: 0.5rem;
}

.filter-select {
padding: 0.5rem;
border: 1px solid var(--gray-300);
border-radius: 0.25rem;
background-color: white;
}

.calendar-view {
margin-bottom: 3rem;
}

.calendar-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}

.calendar-title {
font-size: 1.5rem;
font-weight: 600;
}

.calendar-nav {
display: flex;
gap: 0.5rem;
}

.calendar-nav-btn {
display: flex;
align-items: center;
justify-content: center;
width: 2.5rem;
height: 2.5rem;
border-radius: 0.25rem;
background-color: white;
border: 1px solid var(--gray-300);
color: var(--gray-700);
transition: all 0.3s;
}

.calendar-nav-btn:hover {
background-color: var(--gray-100);
}

.calendar-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 0.5rem;
margin-bottom: 2rem;
}

.calendar-day-header {
text-align: center;
font-weight: 500;
padding: 0.5rem;
background-color: var(--gray-100);
border-radius: 0.25rem;
}

.calendar-day {
min-height: 100px;
border: 1px solid var(--gray-200);
border-radius: 0.25rem;
padding: 0.5rem;
position: relative;
}

.calendar-day.inactive {
background-color: var(--gray-50);
color: var(--gray-400);
}

.calendar-day-number {
font-weight: 500;
margin-bottom: 0.5rem;
}

.calendar-event {
font-size: 0.75rem;
padding: 0.25rem 0.5rem;
border-radius: 0.25rem;
margin-bottom: 0.25rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
}

.calendar-event.exhibition {
background-color: rgba(255, 107, 107, 0.2);
color: var(--primary);
}

.calendar-event.workshop {
background-color: rgba(78, 205, 196, 0.2);
color: var(--secondary);
}

.calendar-event.lecture {
background-color: rgba(26, 83, 92, 0.2);
color: var(--foreground);
}

.calendar-event.performance {
background-color: rgba(247, 255, 247, 0.5);
color: #4a6a6a;
border: 1px solid #4a6a6a;
}

.featured-events {
margin-bottom: 3rem;
}

.featured-events-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
}

.featured-events-title {
font-size: 1.5rem;
font-weight: 600;
}

.view-toggle {
display: flex;
gap: 0.5rem;
background-color: var(--gray-100);
padding: 0.25rem;
border-radius: 0.25rem;
}

.view-toggle-btn {
padding: 0.5rem 1rem;
border-radius: 0.25rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s;
}

.view-toggle-btn.active {
background-color: white;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.events-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
}

.event-card {
background-color: white;
border-radius: 0.5rem;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.event-image {
height: 200px;
position: relative;
}

.event-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.event-date-badge {
    margin: 10rem; /* Adjust this value to increase space around the date */
    padding: 0.5rem; /* Optional: Add padding for better spacing */
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: white;
    border-radius: 0.25rem;
    padding: 0.5rem;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.event-date-month {
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
color: var(--primary);
}

.event-date-day {
font-size: 1.25rem;
font-weight: 700;
color: var(--foreground);
}

.event-content {
padding: 1.5rem;
}

.event-meta {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
font-size: 0.875rem;
color: var(--gray-600);
}

.event-meta-item {
display: flex;
align-items: center;
gap: 0.25rem;
}

.event-title {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--foreground);
}

.event-description {
color: var(--gray-600);
margin-bottom: 1.5rem;
line-height: 1.5;
}

.event-footer {
display: flex;
justify-content: space-between;
align-items: center;
}

.event-category {
font-size: 0.75rem;
font-weight: 600;
padding: 0.25rem 0.75rem;
border-radius: 1rem;
}

.event-category.exhibition {
background-color: rgba(255, 107, 107, 0.2);
color: var(--primary);
}

.event-category.workshop {
background-color: rgba(78, 205, 196, 0.2);
color: var(--secondary);
}

.event-category.lecture {
background-color: rgba(26, 83, 92, 0.2);
color: var(--foreground);
}

.event-category.performance {
background-color: rgba(247, 255, 247, 0.5);
color: #4a6a6a;
border: 1px solid #4a6a6a;
}

.timeline-view {
display: none; /* Hidden by default, shown when timeline view is active */
}

.timeline {
position: relative;
max-width: 1200px;
margin: 0 auto;
}

.timeline::after {
content: '';
position: absolute;
width: 6px;
background-color: var(--gray-200);
top: 0;
bottom: 0;
left: 50%;
margin-left: -3px;
}

.timeline-item {
padding: 10px 40px;
position: relative;
width: 50%;
box-sizing: border-box;
}

.timeline-item::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
background-color: white;
border: 4px solid var(--secondary);
border-radius: 50%;
top: 15px;
z-index: 1;
}

.timeline-item.left {
left: 0;
}

.timeline-item.right {
left: 50%;
}

.timeline-item.left::after {
right: -10px;
}

.timeline-item.right::after {
left: -10px;
}

.timeline-content {
padding: 20px;
background-color: white;
border-radius: 0.5rem;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.registration-cta {
background-color: var(--foreground);
color: white;
padding: 3rem 0;
text-align: center;
border-radius: 0.5rem;
margin-bottom: 3rem;
}

.registration-cta h2 {
font-size: 2rem;
margin-bottom: 1rem;
}

.registration-cta p {
max-width: 36rem;
margin: 0 auto 2rem;
}

.cta-buttons {
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}

@media (min-width: 768px) {
.events-grid {
    grid-template-columns: repeat(2, 1fr);
}

.calendar-day {
    min-height: 120px;
}
}

@media (min-width: 1024px) {
.events-grid {
    grid-template-columns: repeat(3, 1fr);
}

.calendar-day {
    min-height: 150px;
}
}

.calendar-day {
	color: #FF4500; /* Red-Orange color */
	font-weight: bold; /* Optional: make the numbers bold */
}


.month {
	margin: 20px;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	display: inline-block;
	width: 300px; /* Adjust width as needed */
}
.calendar-day {
	color: #FF4500; /* Red-Orange color */
	font-weight: bold; /* Optional: make the numbers bold */
}
.table {
	width: 100%;
}


.calendar {
	display: flex;
	flex-direction: column;
	margin: 20px;
}
.header .month-year {
	font-size: 20px;
	font-weight: bold;
	color: #636e73;
	padding: 20px 0;
}
.days {
	display: flex;
	flex-wrap: wrap;
}
.day_name {
	width: calc(100% / 7);
	border-right: 1px solid #2c7aca;
	padding: 20px;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
	color: #818589;
	background-color: #448cd6;
}
.day_num {
	display: flex;
	flex-direction: column;
	width: calc(100% / 7);
	border-right: 1px solid #e6e9ea;
	border-bottom: 1px solid #e6e9ea;
	padding: 15px;
	font-weight: bold;
	color: #7c878d;
	cursor: pointer;
	min-height: 100px;
}
.day_num span {
	display: inline-flex;
	width: 30px;
	font-size: 14px;
}
.day_num .event {
	margin-top: 10px;
	font-weight: 500;
	font-size: 14px;
	padding: 3px 6px;
	border-radius: 4px;
	background-color: #f7c30d;
	color: #fff;
	word-wrap: break-word;
	position: relative;
	max-height: 40px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.day_num.ignore {
	background-color: #fdfdfd;
	color: #ced2d4;
	cursor: inherit;
}

.event:hover::after {
	content: attr(title);
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 100%;
	background-color: #333;
	color: #fff;
	padding: 5px;
	border-radius: 4px;
	white-space: nowrap;
	z-index: 10;
	opacity: 0.9;
	font-size: 12px;
}

.event:hover {
	font-size: 16px;
}

.event-title {
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.event-excerpt {
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
