 /**
 * ODM Events – Event list card layout
 */

 /* Smooth scrolling */
 html {
	 scroll-behavior: smooth;
 }

 body.single.single-odm-event.body_style_wide:not(.expand_content) [class*="content_wrap"] > .content, 
 body.single.single-odm-event.body_style_boxed:not(.expand_content) [class*="content_wrap"] > .content{
	 width: 1300px;
	 max-width: 100%;
 }
 .odm-single-event {
	 padding: 40px 20px;
 }
 
 .odm-single-event__container {
	 display: flex;
	 gap: 40px;
	 max-width: 1200px;
	 margin: 0 auto;
	 flex-wrap: wrap;
 }
 
 .odm-single-event__image {
	 flex: 0 0 40%;
	 min-width: 300px;
	 position: relative;
	 overflow: hidden;
 }
 
 .odm-single-event__image img {
	 width: 100%;
	 height: auto;
	 display: block;
	 border-radius: 8px;
 }
 
 .odm-single-event__placeholder {
	 width: 100%;
	 padding-bottom: 75%;
	 background: #f0f0f0;
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 border-radius: 8px;
	 position: relative;
 }
 
 .odm-single-event__placeholder span {
	 position: absolute;
	 top: 50%;
	 left: 50%;
	 transform: translate(-50%, -50%);
	 color: #999;
	 font-size: 18px;
 }
 .odm-single-event__live-badge span {
	 line-height: normal;
 }
 .odm-single-event__content {
	 flex: 1;
	 min-width: 300px;
	 max-width: 100%;
	 overflow-wrap: break-word;
 }
 
 .odm-single-event__title {
	 font-size: 2.5rem;
	 margin-bottom: 20px;
	 line-height: 1.2;
	 margin-top: 0;
 }
 
 .odm-single-event__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 30px;
    padding: 20px;
    background: #E7EEF2;
    border-radius: 8px;
}
 
 .odm-single-event__part-title {
	 margin: 0 0 15px 0;
	 padding-bottom: 10px;
	 font-family: 'Roboto';
	 border-bottom: 2px solid #ccc;
	 font-size: 18px;
	 font-weight: 700;
	 color: #333;
	 text-transform: uppercase;
	 letter-spacing: 0.5px;
 }
 
 .odm-single-event__meta-item.odm-single-event__meta-item--date{
	 text-transform: capitalize;
 }
 .odm-single-event__meta-item {
	 display: flex;
	 align-items: center;
	 gap: 10px;
	 font-size: 16px;
 }
 
 .odm-single-event__icon {
	 flex-shrink: 0;
	 color: #666;
 }

 .odm-single-event__meta-item a[href^="tel:"] {
	 color: #4285F4;
	 text-decoration: none;
	 transition: color 0.3s ease;
 }

 .odm-single-event__meta-item a[href^="tel:"]:hover {
	 color: #1a73e8;
	 text-decoration: underline;
 }
 
 .odm-single-event__location-wrapper {
	 display: flex;
	 flex-direction: column;
	 gap: 8px;
	 flex: 1;
 }
 
 .odm-single-event__navigate-wrapper {
	 display: flex;
	 align-items: center;
	 gap: 10px;
	 flex-wrap: wrap;
	 flex: 1;
 }
 
 .odm-single-event__map-links {
	 display: flex;
	 gap: 10px;
	 flex-wrap: wrap;
 }
 
 .odm-single-event__map-link {
	 display: inline-flex;
	 align-items: center;
	 gap: 4px;
	 padding: 4px 10px;
	 color: #4285F4;
	 line-height: normal;
	 text-decoration: none;
	 border-radius: 4px;
	 font-size: 13px;
	 font-weight: 500;
	 transition: all 0.3s ease;
	 border: 1px solid #4285F4;
 }
 
 .odm-single-event__map-link:hover {
	 background: #4285F4;
	 color: #fff;
	 transform: translateY(-1px);
	 box-shadow: 0 2px 4px rgba(0,0,0,0.1);
 }

 .odm-single-event__map-link:focus {
	 outline: 2px solid #4285F4;
	 outline-offset: 2px;
 }

 .odm-single-event__map-link svg {
	 flex-shrink: 0;
 }
 
 .odm-single-event__map-link--waze {
	 color: #0b85ad;
	 border-color: #0b85ad;
 }
 
 .odm-single-event__map-link--waze:hover {
	 background: #0b85ad;
	 color: #fff;
	 transform: translateY(-1px);
	 box-shadow: 0 2px 4px rgba(0,0,0,0.1);
 }

 .odm-single-event__map-link--waze:focus {
	 outline: 2px solid #0b85ad;
	 outline-offset: 2px;
 }
 
 .odm-single-event__description {
	 margin-bottom: 30px;
	 line-height: 1.6;
	 font-size: 16px;
 }
 
 .odm-single-event__actions {
	 display: flex;
	 flex-wrap: wrap;
	 gap: 15px;
	 align-items: center;
 }
 
 /* Live Video Embed (Full Width) */
 .odm-single-event__video-embed {
	 width: 100%;
	 margin-bottom: 40px;
 }
 
 .odm-single-event__video-wrapper {
	 position: relative;
	 padding-bottom: 56.25%; /* 16:9 aspect ratio */
	 height: 0;
	 overflow: hidden;
	 border-radius: 8px;
	 background: #000;
 }
 
 .odm-single-event__video-wrapper iframe {
	 position: absolute;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
 }
 
 /* Live Badge (Small) */
 .odm-single-event__live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 21px;
    background: #666;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
    transition: background 0.3s ease;
}
 
 .odm-single-event__live-badge:hover {
	 background: #555;
	 color: #fff;
	 transform: translateY(-1px);
 }

 .odm-single-event__live-badge:focus {
	 outline: 2px solid #666;
	 outline-offset: 2px;
 }

 .odm-single-event__live-badge--is-live {
	 background: #ff0000;
	 animation: pulse 2s ease-in-out infinite;
 }

 .odm-single-event__live-badge--is-live:hover {
	 background: #cc0000;
	 transform: translateY(-1px);
 }

 .odm-single-event__live-badge--is-live:focus {
	 outline: 2px solid #ff0000;
	 outline-offset: 2px;
 }
 
 .odm-single-event__badge-icon {
	 flex-shrink: 0;
	 width: 16px;
	 height: 16px;
 }
 
 @keyframes pulse {
	 0%, 100% { opacity: 1; }
	 50% { opacity: 0.7; }
 }
 
 /* Tablet responsive */
 @media (max-width: 1024px) {
	 .odm-single-event {
		 padding: 30px 15px;
	 }

	 .odm-single-event__container {
		 gap: 30px;
	 }

	 .odm-single-event__image {
		 flex: 0 0 35%;
	 }
 }

 /* Mobile responsive */
 @media (max-width: 768px) {
	 .odm-single-event {
		 padding: 20px 15px;
	 }

	 .odm-single-event__container {
		 flex-direction: column;
		 gap: 20px;
	 }

	 .odm-single-event__image {
		 flex: 0 0 100%;
		 min-width: 100%;
	 }

	 .odm-single-event__title {
		 font-size: 1.75rem;
		 margin-bottom: 15px;
	 }

	 .odm-single-event__meta {
		 padding: 15px;
		 gap: 6px;
	 }

	 .odm-single-event__part-title {
		 font-size: 16px;
		 margin-bottom: 12px;
		 padding-bottom: 8px;
	 }

	 .odm-single-event__meta-item {
		 font-size: 14px;
		 gap: 8px;
	 }

	 .odm-single-event__icon {
		 width: 18px;
		 height: 18px;
	 }

	 .odm-single-event__description {
		 font-size: 15px;
		 margin-bottom: 20px;
	 }

	 .odm-single-event__actions {
		 flex-direction: column;
		 align-items: stretch;
		 gap: 12px;
	 }

	 .odm-single-event__video-embed {
		 margin-bottom: 20px;
	 }

	 .odm-single-event__live-badge {
		 font-size: 12px;
		 padding: 8px 14px;
		 justify-content: center;
	 }

	 .odm-single-event__navigate-wrapper {
		 flex-direction: column;
		 align-items: flex-start;
		 gap: 8px;
	 }

	 .odm-single-event__navigate-label {
		 white-space: normal;
	 }

	 .odm-single-event__map-links {
		 gap: 8px;
		 width: 100%;
	 }

	 .odm-single-event__map-link {
		 flex: 1;
		 justify-content: center;
		 padding: 10px 14px;
		 min-width: 0;
		 font-size: 14px;
	 }
 }

 /* Extra small mobile devices */
 @media (max-width: 480px) {
	 .odm-single-event {
		 padding: 15px 10px;
	 }

	 .odm-single-event__title {
		 font-size: 1.5rem;
	 }

	 .odm-single-event__meta {
		 padding: 12px;
	 }

	 .odm-single-event__part-title {
		 font-size: 14px;
	 }

	 .odm-single-event__meta-item {
		 font-size: 13px;
	 }

	 .odm-single-event__map-links {
		 flex-direction: row;
	 }

	 .odm-single-event__map-link {
		 width: auto;
	 }
 }

.odm-events-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.odm-events-empty {
	color: #666;
	margin: 0;
}

.odm-event-card {
	display: flex;
	align-items: stretch;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	min-height: 200px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.odm-event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.odm-event-card__image {
	flex: 0 0 220px;
	min-height: 200px;
	background: #f0f0f0;
}

.odm-event-card__image a {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 200px;
}

.odm-event-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.odm-event-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 200px;
	color: #999;
	font-size: 0.9rem;
}

.odm-event-card__content {
	flex: 1;
	padding: 1.25rem 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.5rem;
	min-width: 0;
}

.odm-event-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	color: #888;
	font-size: 1.1rem;
}

.odm-event-card__date,
.odm-event-card__time {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	text-transform: capitalize;
}

.odm-event-card__icon {
	flex-shrink: 0;
	opacity: 0.8;
}

.odm-event-card__title {
	margin: 0;
	font-size: 1.8rem;
	line-height: 1.3;
	font-weight: 700;
}

.odm-event-card__title a {
	color: inherit;
	text-decoration: none;
}

.odm-event-card__title a:hover {
	text-decoration: underline;
}

.odm-event-card__excerpt {
	font-size: 0.9rem;
	color: #555;
	line-height: 1.45;
	margin: 0;
}

.odm-event-card__excerpt p {
	margin: 0;
}

.odm-event-card__location {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 1.1rem;
	color: #888;
	margin-top: 0.25rem;
}

.odm-event-card__actions {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1.25rem 1.5rem;
	border-left: 1px solid #eee;
}

/* Add to Calendar Button web component */
.odm-event-card__actions add-to-calendar-button {
	display: inline-block;
}

.odm-event-card__button {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background: #5b9bd5;
	color: #fff !important;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 700;
	border-radius: 6px;
	white-space: nowrap;
	transition: all 0.3s ease;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.odm-event-card__button:hover {
	background: #4a8ac4;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(91, 155, 213, 0.3);
}
.odm-event-card__button--details {
    background: #456882;
    line-height: normal;
    padding: 15px 30px;
}

.odm-event-card__button--details:hover {
	background: rgb(17, 35, 52);
}

/* Live pe Youtube block */
.odm-event-card__live {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: #f0f0f0;
	color: #333;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: 8px;
	transition: background 0.2s, color 0.2s;
}

a.odm-event-card__live:hover {
	background: #e0e0e0;
	color: #333;
}

.odm-event-card__live-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: #ff0000;
}

/* Când evenimentul e în desfășurare: roșu + puls */
.odm-event-card__live--is-live {
	background: #ff0000;
	color: #fff !important;
	animation: odm-live-pulse 1.5s ease-in-out infinite;
}

.odm-event-card__live--is-live .odm-event-card__live-icon {
	color: #fff;
}

a.odm-event-card__live--is-live:hover {
	background: #cc0000;
	color: #fff !important;
}

@keyframes odm-live-pulse {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.5);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(255, 0, 0, 0);
	}
}

 /* Responsive: tablet */
 @media (max-width: 1024px) {
	 .odm-event-card__image {
		 flex: 0 0 200px;
	 }

	 .odm-event-card__content {
		 padding: 1rem 1.25rem;
	 }

	 .odm-event-card__title {
		 font-size: 1.5rem;
	 }
 }

 /* Responsive: stack on mobile screens */
 @media (max-width: 768px) {
	 .odm-event-card {
		 flex-direction: column;
	 }

	 .odm-event-card__image {
		 flex: 0 0 auto;
		 min-height: 200px;
	 }

	 .odm-event-card__image a,
	 .odm-event-card__placeholder {
		 min-height: 200px;
	 }

	 .odm-event-card__content {
		 padding: 1.25rem 1.5rem;
	 }

	 .odm-event-card__title {
		 font-size: 1.4rem;
	 }

	 .odm-event-card__meta {
		 font-size: 0.95rem;
		 gap: 0.75rem;
	 }

	 .odm-event-card__actions {
		 flex-direction: row;
		 flex-wrap: wrap;
		 justify-content: left;
		 border-left: none;
		 border-top: 1px solid #eee;
		 padding: 1rem 1.25rem;
		 gap: 0.5rem;
	 }

	 .odm-event-card__button,
	 .odm-event-card__live {
		 min-height: none;
		 padding: 0.65rem 1.25rem;
	 }
 }

 /* Event cards - extra small mobile */
 @media (max-width: 480px) {
	 .odm-event-card__content {
		 padding: 1rem 1.25rem;
	 }

	 .odm-event-card__title {
		 font-size: 1.25rem;
	 }

	 .odm-event-card__meta {
		 font-size: 0.9rem;
		 gap: 0.5rem;
	 }

	 .odm-event-card__actions {
		 padding: 0.875rem 1rem;
	 }
 }
