/* Event Manager Pro Styles */

.emp-event-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
	font-family: 'SourceSansPro-Regular',Helvetica,Arial,Lucida,sans-serif;
}

a.emp-day-card-link {
    color: #1d74bd;
    font-size: 20px;
    margin-top: 9px;
	font-family: 'SourceSansPro-Regular',Helvetica,Arial,Lucida,sans-serif;
}

.emp-event-title a {
    color: #ffff;
}

/* Calendar Section */
.emp-calendar-section {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    max-width: 800px;
    margin: 0 auto;
}

.emp-calendar {
    flex: 0 0 400px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.emp-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 10px;
}

.emp-calendar-header h3 {
    margin: 0;
    color: #1d74bd;
    font-size: 18px;
    flex: 1;
    text-align: center;
}

.emp-calendar-nav {
    background: none;
    border: none;
    color: #1d74bd;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s;
} 

.emp-calendar-nav:hover {
    background: #f0f0f0;
}

.emp-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.emp-day-name {
    text-align: center;
    font-size: 12px;
    color: #707070;
    padding: 8px 0;
	font-family: 'SourceSansPro-Bold',Helvetica,Arial,Lucida,sans-serif;
}

.emp-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.emp-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    color: #1d74bd;
    cursor: default;
    transition: all 0.3s;
    position: relative;
	font-family: 'SourceSansPro-Regular',Helvetica,Arial,Lucida,sans-serif;
}

.emp-calendar-day:hover {
    background: #f0f7ff;
}

.emp-calendar-day.emp-other-month {
    color: #ccc;
    cursor: default;
}

.emp-calendar-day.emp-today {
    color: #1D74BD;
   	font-family: 'SourceSansPro-Bold',Helvetica,Arial,Lucida,sans-serif;
}

.emp-calendar-day.emp-has-event {
    cursor: pointer;
    background: #1d74bd;
    color: #fff;
   	font-family: 'SourceSansPro-Bold',Helvetica,Arial,Lucida,sans-serif;
	border-radius: 50% !important;
}

.emp-calendar-day.emp-today::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    background: #1d74bd;
    border-radius: 50%;
}

.emp-calendar-day.emp-has-event::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    background: #1d74bd;
    border-radius: 50%;
}

.emp-calendar-day.emp-today.emp-has-event::after {
    background: white;
}

.emp-calendar-day.emp-selected {
    background: #1d74bd;
    color: white;
}

/* Featured Event Card */
#emp-calendar-wrapper,
#emp-featured-event-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.emp-featured-event {
    border-radius: 8px;
    padding: 00px;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 400px;
}

.emp-event-date-badge {
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.8);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    z-index: 2;
}

.emp-date-month {
    font-size: 20px;
	text-transform: uppercase;
    margin-bottom: 5px;
	font-family: 'SourceSansPro-Regular',Helvetica,Arial,Lucida,sans-serif;
}

.emp-date-day {
    font-size: 40px;
	line-height: 1;
	font-family: 'SourceSansPro-Bold',Helvetica,Arial,Lucida,sans-serif;
}

.emp-event-speaker img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0px 0px;
}

.emp-event-content {
    margin-top: 0px;
	padding: 20px 25px 25px 25px;
    z-index: 2;
}

.emp-event-title {
    font-size: 30px;
	font-family: 'SourceSansPro-Bold',Helvetica,Arial,Lucida,sans-serif;
    margin-bottom: 10px;
}

.emp-event-logo {
    font-size: 24px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.emp-event-time {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.emp-event-subtitle {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
	font-family: 'SourceSansPro-Regular',Helvetica,Arial,Lucida,sans-serif;
}

.emp-event-speaker-name {
    font-size: 16px;
	font-family: 'SourceSansPro-Regular',Helvetica,Arial,Lucida,sans-serif;
}

/* Events Section */
.emp-events-section {
    margin-top: 60px;
}

.emp-section-title {
    color: #1d74bd;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.emp-events-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.emp-events-swiper {
    flex: 1;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    height: auto;
}

.emp-slider-arrow {
    background: #ffffff;
    color: #1d74bd;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 82px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.emp-slider-arrow:hover:not(.swiper-button-disabled) {
    transform: scale(1.1);
}

.emp-slider-arrow.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.emp-event-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.emp-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.emp-card-header {
    position: relative;
    height: 200px;
    background: #707070;
    overflow: hidden;
}

.emp-card-date {
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.8);
    padding: 15px;
    border-radius: 8px 0px 8px 0px;
    text-align: center;
    color: white;
    z-index: 2;
}

.emp-card-month {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 5px;
	font-family: 'SourceSansPro-Regular',Helvetica,Arial,Lucida,sans-serif;
}

.emp-card-day {
    font-size: 40px;
    line-height: 1;
	font-family: 'SourceSansPro-Bold',Helvetica,Arial,Lucida,sans-serif;
}

.emp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0px 0px;
}

.eventimage .attachment-medium.size-medium.wp-post-image {
  max-height: 200px !important;
}

.emp-card-body {
    padding: 25px;
    color: white;
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.emp-card-title {
    font-size: 30px;
    margin: 0 0 15px 0;
    line-height: 1.1em;
	font-family: 'SourceSansPro-Bold',Helvetica,Arial,Lucida,sans-serif;
    color: #ffffff;
}

.emp-card-title a {
    color: #ffffff;
    text-decoration: none;
	text-transform: none;
}

.emp-card-subtitle {
    font-size: 20px;
    line-height: 1.3em;
    margin: 0 0 20px 0;
	font-family: 'SourceSansPro-Regular',Helvetica,Arial,Lucida,sans-serif;
    flex: 1;
}

.emp-card-link {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: white;
    font-size: 32px;
    text-decoration: none;
    transition: transform 0.3s;
    display: inline-block;
    line-height: 1;
}

.emp-card-link:hover {
    transform: translateX(5px);
}

/* Modal Styles */
.emp-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.emp-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.emp-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.emp-modal-close:hover {
    color: #707070;
}

#emp-modal-title {
    color: #1d74bd;
    margin-bottom: 20px;
}

.emp-day-event-item {
    padding: 15px;
    border-left: 4px solid #1d74bd;
    margin-bottom: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.emp-day-event-time {
    color: #1d74bd;
    margin-bottom: 8px;
	font-family: 'SourceSansPro-Bold',Helvetica,Arial,Lucida,sans-serif;
}

.emp-day-event-content h4 {
    margin: 0 0 8px 0;
    color: #707070;
	font-size:30px;
}

.emp-day-event-content h4 a {
    color: #707070;
    text-decoration: none;
}

.emp-day-event-content h4 a:hover {
    color: #1d74bd;
}

.emp-day-event-content p {
    margin: 0;
    color: #707070;
    font-size: 20px;
	line-height: 1.3em;
	font-family: 'SourceSansPro-Regular',Helvetica,Arial,Lucida,sans-serif;
}

.emp-no-events {
    text-align: center;
    color: #999;
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .emp-events-swiper {
        /* Swiper handles responsive breakpoints */
    }
}

@media (max-width: 1024px) {
    .emp-calendar-section {
        flex-direction: column;
    }
    
    .emp-calendar {
        flex: 1;
        max-width: 100%;
    }
}

@media (max-width: 981px) {
	
	.emp-calendar-grid {
   		min-height: 550px;
	}
	
    .emp-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 60px;
        position: absolute;
        bottom: 0px;
    }
    
    .emp-slider-arrow.emp-slider-prev {
        left: 50%;
        margin-left: -60px;
    }
    
    .emp-slider-arrow.emp-slider-next {
        right: 50%;
        margin-right: -60px;
    }
    
    .emp-events-slider-wrapper {
        padding-bottom: 70px;
    }
    
    #emp-calendar-wrapper, #emp-featured-event-wrapper {
        margin-top: 20px;
    }
    
    .emp-featured-event {
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .emp-calendar {
        padding: 15px;
    }
    
    .emp-calendar-day {
        font-size: 12px;
    }
    
    .emp-section-title {
        font-size: 22px;
    }
    
    .emp-modal-content {
        width: 95%;
        padding: 20px;
    }
}