/* ===== Motoencuentros Argentina - Calendario de Eventos ===== */
/* Colores del sitio:
   Azul: #007ced | Amarillo: #F0CE49 | Fondo: #F2F2F2
   Menu oscuro: #353537 | Negro: #1D1D1D | Hover: #B80000 */

* { box-sizing: border-box; }

body {
	font-family: 'Open Sans', sans-serif;
	background: #0d1520;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 800;
	line-height: 1.3;
}

a { color: #c5d3e3; }
a:hover { color: #007ced; text-decoration: none; }

/* ===== Layout boxed (igual al sitio) ===== */
.active.boxed {
	max-width: 1200px;
	margin: 0px auto;
	background: #152030;
	padding: 0px;
	min-height: 100%;
	-webkit-box-shadow: 0px 0px 30px -5px rgba(0,0,0,0.6);
	-moz-box-shadow: 0px 0px 30px -5px rgba(0,0,0,0.6);
	box-shadow: 0px 0px 30px -5px rgba(0,0,0,0.6);
}

/* ===== Top bar ===== */
.top-bar { padding: 0px; }

nav.top-menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 1010;
}

nav.top-menu ul li {
	display: inline-block;
	float: left;
	position: relative;
}

nav.top-menu ul.menu li a {
	display: block;
	padding: 7px 10px;
	color: #8a9bab !important;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.3px;
	font-family: 'Open Sans', sans-serif;
}

nav.top-menu ul.menu li a i { font-size: 17px; }

nav.top-menu .show-menu {
	text-decoration: none;
	color: #fff;
	background: #1D1D1D;
	text-align: center;
	padding: 10px 0px;
	margin: 0px;
	display: none;
}

#show-top-menu { display: none; }

#show-top-menu:checked ~ #mobile-menu { display: block; }

@media screen and (max-width: 990px) {
	nav.top-menu { background: #152030; }
	nav.top-menu ul { position: static; display: none; }
	nav.top-menu li { position: relative; }
	nav.top-menu ul li, li a { width: 100%; }
	nav.top-menu ul.menu li a { border-bottom: 1px solid #2a3a4d; }
	nav.top-menu .show-menu { display: block; }
}

/* ===== Main menu ===== */
nav.main-menu { margin-bottom: 30px; border-bottom: 4px solid #007ced; background-color: #353537; }

nav.main-menu .container {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

nav.main-menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: relative;
	background-color: transparent;
	z-index: 1002;
	flex: 1;
}

.menu-logo {
	display: inline-block;
	vertical-align: middle;
	margin-right: 20px;
	padding: 6px 0;
}

.menu-logo img {
	height: 40px;
	width: auto;
	vertical-align: middle;
}

nav.main-menu ul li {
	display: inline-block;
	position: relative;
}

nav.main-menu ul.menu > li > a {
	position: relative;
	display: block;
	padding: 17px 15px;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 800;
	color: #f2f2f2;
	letter-spacing: 0.9px;
	text-transform: uppercase;
	-webkit-transition: padding .3s;
	-moz-transition: padding .3s;
	transition: padding .3s;
}

nav.main-menu ul.menu > li.active-item > a,
nav.main-menu ul.menu > li:hover > a {
	color: #fff !important;
	text-decoration: none;
	background-color: #1D1D1D;
}

nav.main-menu .show-menu {
	text-decoration: none;
	color: #fff;
	background: #1D1D1D;
	text-align: center;
	padding: 15px 0px;
	margin: 0px;
	display: none;
}

#show-menu { display: none; }
#show-menu:checked ~ #main-mobile-menu { display: block; }

@media screen and (max-width: 990px) {
	nav.main-menu ul { position: static; display: none; }
	nav.main-menu li { position: relative; }
	nav.main-menu ul li, li a { width: 100%; }
	nav.main-menu ul.menu li a { border-bottom: 1px solid #696969; }
	nav.main-menu .show-menu { display: block; }
}

/* ===== Marquee ===== */
.container-marquee {
	display: flex;
	align-items: stretch;
	overflow: hidden;
}

.marquee-sibling {
	background-color: #007ced;
	color: #fff;
	padding: 10px 15px;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
	white-space: nowrap;
	display: flex;
	align-items: center;
}

.marquee-sibling i { margin-right: 8px; }

.marquee {
	flex: 1;
	overflow: hidden;
	white-space: nowrap;
	padding: 10px 0;
}

.marquee-content-items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-block;
	animation: marquee-scroll 40s linear infinite;
}

.marquee-content-items li {
	display: inline-block;
	padding: 0 30px;
	font-size: 13px;
	color: #b0c0d0;
}

.marquee-content-items li a { color: #4da3ff; font-weight: 600; }

@keyframes marquee-scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-100%); }
}

/* ===== Sections ===== */
.ot-section-b { margin-bottom: 50px; }
.content-block { padding: 0 15px; }

/* ===== Page title ===== */
.page-title {
	font-size: 28px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #ffffff;
	margin-bottom: 5px;
}

.page-title span { display: inline-block; }
.page-title i { color: #007ced; margin-right: 10px; }

.page-subtitle {
	font-size: 14px;
	color: #8a9bab;
	margin-bottom: 30px;
}

/* ===== Calendar ===== */
.calendar-wrapper {
	background: #1c2939;
	border: 1px solid #2a3a4d;
	border-radius: 6px;
	padding: 20px;
	margin-bottom: 40px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

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

.calendar-header h3 {
	font-size: 20px;
	font-weight: 800;
	text-transform: uppercase;
	color: #ffffff;
	margin: 0;
}

.cal-nav-btn {
	background: #2a3a4d;
	color: #fff;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	font-size: 18px;
	cursor: pointer;
	transition: background 0.2s;
}

.cal-nav-btn:hover { background: #007ced; }

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

.cal-cell {
	aspect-ratio: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
	border: 1px solid #2a3a4d;
	border-radius: 4px;
	background: #152030;
	color: #8a9bab;
	cursor: default;
	position: relative;
	min-height: 50px;
}

.cal-cell.cal-header {
	background: #0d1520;
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	border: none;
	aspect-ratio: auto;
	min-height: 35px;
}

.cal-cell.cal-empty {
	background: transparent;
	border: none;
}

.cal-cell.cal-today {
	border: 2px solid #007ced;
	color: #007ced;
	font-weight: 800;
}

.cal-cell.has-event {
	background: #007ced;
	color: #fff;
	cursor: pointer;
	font-weight: 800;
}

.cal-cell.has-event:hover {
	background: #0d1520;
}

.cal-cell .event-count {
	font-size: 9px;
	background: #F0CE49;
	color: #1D1D1D;
	border-radius: 50%;
	width: 16px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
	font-weight: 700;
}

.calendar-legend {
	margin-top: 15px;
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #8a9bab;
}

.legend-dot {
	width: 14px;
	height: 14px;
	border-radius: 3px;
	display: inline-block;
}

.legend-event { background: #007ced; }
.legend-today { border: 2px solid #007ced; background: #152030; }

/* ===== Filter bar ===== */
.filter-bar {
	background: #1c2939;
	border: 1px solid #2a3a4d;
	border-radius: 6px;
	padding: 15px 20px;
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.filter-label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: #ffffff;
	white-space: nowrap;
}

.filter-label i { color: #007ced; margin-right: 6px; }

.filter-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: 1;
	min-width: 200px;
}

.filter-pill {
	background: #152030;
	border: 1px solid #2a3a4d;
	color: #b0c0d0;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
}

.filter-pill:hover {
	border-color: #007ced;
	color: #fff;
}

.filter-pill.active {
	background: #007ced;
	border-color: #007ced;
	color: #fff;
}

.filter-pill .pill-count {
	background: rgba(255,255,255,0.15);
	border-radius: 10px;
	padding: 1px 7px;
	font-size: 10px;
	margin-left: 5px;
}

.filter-pill.active .pill-count {
	background: rgba(255,255,255,0.25);
}

.filter-select-wrap { position: relative; }

.filter-select {
	background: #152030;
	border: 1px solid #2a3a4d;
	color: #c5d3e3;
	padding: 8px 30px 8px 12px;
	border-radius: 4px;
	font-size: 13px;
	font-family: 'Open Sans', sans-serif;
	cursor: pointer;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.filter-select:focus { border-color: #007ced; }

.filter-select-wrap:after {
	content: "\f0d7";
	font-family: FontAwesome;
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #8a9bab;
	pointer-events: none;
}

.filter-clear {
	background: transparent;
	border: 1px solid #2a3a4d;
	color: #8a9bab;
	padding: 8px 14px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
}

.filter-clear:hover {
	border-color: #B80000;
	color: #B80000;
}

/* ===== Section title events ===== */
.section-title-events {
	font-size: 22px;
	font-weight: 800;
	text-transform: uppercase;
	color: #ffffff;
	margin-bottom: 25px;
	padding-bottom: 10px;
	border-bottom: 3px solid #007ced;
}

.section-title-events span { display: inline-block; }
.section-title-events i { color: #007ced; margin-right: 10px; }

/* ===== Event card (estilo clasificado) ===== */
.event-card {
	background: #1c2939;
	border: 1px solid #2a3a4d;
	border-radius: 6px;
	margin-bottom: 30px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.2);
	transition: box-shadow 0.2s, transform 0.2s;
}

.event-card:hover {
	box-shadow: 0 8px 24px rgba(0,124,237,0.25);
	transform: translateY(-3px);
}

.event-card.event-highlight {
	border: 2px solid #007ced;
	box-shadow: 0 0 20px rgba(0,124,237,0.5);
	animation: highlightPulse 0.5s ease 3;
}

@keyframes highlightPulse {
	0%, 100% { box-shadow: 0 0 20px rgba(0,124,237,0.5); }
	50% { box-shadow: 0 0 35px rgba(0,124,237,0.8); }
}

.event-card-image {
	position: relative;
	overflow: hidden;
	background: #000;
	height: 220px;
}

.event-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity 0.2s;
}

.event-card:hover .event-card-image img { opacity: 0.88; }

.event-card-date-badge {
	position: absolute;
	top: 0;
	left: 0;
	background: #007ced;
	color: #fff;
	padding: 8px 14px;
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	text-align: center;
	line-height: 1.1;
	z-index: 5;
}

.event-card-date-badge .day {
	font-size: 24px;
	display: block;
}

.event-card-date-badge .month {
	font-size: 11px;
	text-transform: uppercase;
	display: block;
}

.event-card-category-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: #F0CE49;
	color: #1D1D1D;
	padding: 4px 10px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 2px;
	z-index: 5;
}

.event-card-body { padding: 18px 20px; }

.event-card-title {
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	color: #ffffff;
	margin: 0 0 12px;
	line-height: 1.3;
}

.event-card-specs {
	list-style: none;
	padding: 0;
	margin: 0 0 15px;
	border-top: 1px solid #2a3a4d;
	border-bottom: 1px solid #2a3a4d;
}

.event-card-specs li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	font-size: 13px;
	color: #b0c0d0;
	border-bottom: 1px dotted #2a3a4d;
}

.event-card-specs li:last-child { border-bottom: none; }

.event-card-specs li i {
	color: #007ced;
	width: 16px;
	text-align: center;
}

.event-card-specs li strong {
	color: #ffffff;
	font-weight: 700;
}

.event-card-desc {
	font-size: 13px;
	color: #8a9bab;
	line-height: 1.6;
	margin-bottom: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.event-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.event-card-price-like {
	font-size: 12px;
	color: #6a7a8a;
}

.event-card-price-like i { color: #007ced; }

.event-card-btn {
	background: #2a3a4d;
	color: #c5d3e3;
	padding: 8px 20px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s;
	font-family: 'Open Sans', sans-serif;
}

.event-card-btn:hover {
	color: #fff;
	background: #007ced;
}

/* ===== No events ===== */
.no-events-msg {
	text-align: center;
	padding: 60px 20px;
	color: #6a7a8a;
}

.no-events-msg i {
	font-size: 60px;
	margin-bottom: 20px;
	color: #2a3a4d;
}

.no-events-msg p {
	font-size: 16px;
	color: #6a7a8a;
}

/* ===== Loading ===== */
.loading-msg {
	text-align: center;
	padding: 60px 20px;
	color: #6a7a8a;
}

.loading-msg i {
	font-size: 40px;
	margin-bottom: 15px;
	color: #007ced;
}

/* ===== Modal ===== */
.event-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.75);
	z-index: 9999;
	justify-content: center;
	align-items: center;
}

.event-modal-overlay.active {
	display: flex;
}

.event-modal {
	background: #1c2939;
	border: 1px solid #2a3a4d;
	border-radius: 8px;
	max-width: 700px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(0,0,0,0.5);
	color: #fff;
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 16px;
	cursor: pointer;
	z-index: 10;
	transition: background 0.2s;
}

.modal-close:hover { background: #B80000; }

.modal-image img {
	width: 100%;
	border-radius: 6px 6px 0 0;
	display: block;
}

.modal-body { padding: 25px 30px; }

.modal-title {
	font-size: 24px;
	font-weight: 800;
	text-transform: uppercase;
	color: #ffffff;
	margin-bottom: 5px;
}

.modal-category {
	display: inline-block;
	background: #F0CE49;
	color: #1D1D1D;
	padding: 4px 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 2px;
	margin-bottom: 15px;
}

.modal-specs {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	border-top: 1px solid #2a3a4d;
	border-bottom: 1px solid #2a3a4d;
}

.modal-specs li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	font-size: 14px;
	color: #b0c0d0;
	border-bottom: 1px dotted #2a3a4d;
}

.modal-specs li:last-child { border-bottom: none; }
.modal-specs li i { color: #007ced; width: 18px; text-align: center; }
.modal-specs li strong { color: #ffffff; font-weight: 700; }

.modal-desc {
	font-size: 14px;
	color: #b0c0d0;
	line-height: 1.7;
	margin-bottom: 20px;
}

.modal-contact {
	background: #152030;
	padding: 15px;
	border-radius: 4px;
	font-size: 13px;
	color: #b0c0d0;
}

.modal-contact i { color: #007ced; margin-right: 8px; }

/* ===== Footer ===== */
.footer {
	background: #0d1520;
	color: #8a9bab;
	padding-top: 30px;
	border-top: 1px solid #2a3a4d;
}

.footer .section-title {
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
}

.footer p { color: #B7B7B7; font-size: 13px; }

.footer a { color: #E0E0E0; }
.footer a:hover { color: #007ced; }

.footer-categories { list-style: none; }
.footer-categories li { margin-bottom: 8px; }
.footer-categories li a { font-size: 13px; }

.social-link {
	display: inline-block;
	width: 36px;
	height: 36px;
	line-height: 36px;
	text-align: center;
	background: #353537;
	color: #fff;
	border-radius: 50%;
	margin-right: 8px;
	font-size: 15px;
	transition: background 0.2s;
}

.social-link:hover { background: #007ced; color: #fff; }

.footer-bottom {
	text-align: center;
	padding: 20px 15px;
	background: #08111c;
	color: #6a7a8a;
	font-size: 12px;
	margin-top: 20px;
}

.footer-bottom a { color: #007ced; }

.ot-advert { text-align: center; }
.ot-section-b { margin-bottom: 50px; }
