/* =========================================================
   Talks List Shortcode — Styles
   Identical structure to applications-list-shortcode.css.
   Uses the shared .oncefebrero-* classes plus the
   .oncefebrero-talks-wrap root wrapper.
   ========================================================= */

.oncefebrero-talks-wrap {
	font-family: inherit;
	box-sizing: border-box;
}
.oncefebrero-talks-wrap *,
.oncefebrero-talks-wrap *::before,
.oncefebrero-talks-wrap *::after {
	box-sizing: inherit;
}

/* Map
   --------------------------------------------------------- */
.oncefebrero-talks-wrap .oncefebrero-map {
	width: 100%;
	height: 450px;
	margin-bottom: 24px;
	border-radius: 8px;
	border: 1px solid #ddd;
	overflow: hidden;
}

/* Search
   --------------------------------------------------------- */
.oncefebrero-talks-wrap .oncefebrero-search {
	margin-bottom: 12px;
}
.oncefebrero-talks-wrap .oncefebrero-search-input {
	width: 100%;
	padding: 9px 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	font-size: 14px;
	transition: border-color 0.15s;
}
.oncefebrero-talks-wrap .oncefebrero-search-input:focus {
	outline: none;
	border-color: #2c3e50;
}

/* Filters
   --------------------------------------------------------- */
.oncefebrero-talks-wrap .oncefebrero-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
	padding: 16px;
	margin-bottom: 20px;
	background: #f5f7fa;
	border: 1px solid #e2e6ea;
	border-radius: 8px;
}
.oncefebrero-talks-wrap .oncefebrero-filter-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 1 160px;
}
.oncefebrero-talks-wrap .oncefebrero-filter-group label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #555;
}
.oncefebrero-talks-wrap .oncefebrero-filter-group select {
	width: 100%;
	padding: 7px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	font-size: 14px;
	cursor: pointer;
	transition: border-color 0.15s;
}
.oncefebrero-talks-wrap .oncefebrero-filter-group select:focus {
	outline: none;
	border-color: #2c3e50;
}
.oncefebrero-talks-wrap .oncefebrero-filter-group select.oncefebrero-filter--active {
	border-color: #334155;
	background: #334155;
	color: #fff;
}

/* Reset button
   --------------------------------------------------------- */
.oncefebrero-talks-wrap .oncefebrero-filter-actions {
	flex: 0 0 auto;
	justify-content: flex-end;
}
.oncefebrero-talks-wrap .oncefebrero-btn-reset {
	padding: 7px 18px;
	background: #e74c3c;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.15s;
}
.oncefebrero-talks-wrap .oncefebrero-btn-reset:hover {
	background: #c0392b;
}

/* Toolbar
   --------------------------------------------------------- */
.oncefebrero-talks-wrap .oncefebrero-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}
.oncefebrero-talks-wrap .oncefebrero-per-page-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}
.oncefebrero-talks-wrap .oncefebrero-per-page-wrap label {
	font-size: 13px;
	color: #555;
	white-space: nowrap;
}
.oncefebrero-talks-wrap .oncefebrero-per-page-wrap select {
	padding: 6px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 13px;
}
.oncefebrero-talks-wrap .oncefebrero-results-count {
	font-size: 13px;
	color: #777;
}

/* Table
   --------------------------------------------------------- */
.oncefebrero-talks-wrap .oncefebrero-table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin-bottom: 8px;
	font-size: 14px;
}
.oncefebrero-talks-wrap .oncefebrero-table th,
.oncefebrero-talks-wrap .oncefebrero-table td {
	padding: 10px 12px;
	border: 1px solid #dde3ea;
	text-align: left;
	vertical-align: middle;
	overflow-wrap: anywhere;
}
.oncefebrero-talks-wrap .oncefebrero-table thead tr {
	background: #00c3b2;
	color: #fff;
}
.oncefebrero-talks-wrap .oncefebrero-table thead th {
	border-color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.oncefebrero-talks-wrap .oncefebrero-table th:first-child,
.oncefebrero-talks-wrap .oncefebrero-table td:first-child {
	width: 34%;
}
.oncefebrero-talks-wrap .oncefebrero-table tbody tr:nth-child(even) {
	background: #f8f9fc;
}
.oncefebrero-talks-wrap .oncefebrero-table tbody tr:hover {
	background: #eaf4fb;
}

/* No results
   --------------------------------------------------------- */
.oncefebrero-talks-wrap .oncefebrero-no-results {
	padding: 20px;
	text-align: center;
	color: #888;
	font-style: italic;
	border: 1px dashed #ccc;
	border-radius: 6px;
}

/* Pagination
   --------------------------------------------------------- */
.oncefebrero-talks-wrap .oncefebrero-pagination {
	margin-top: 16px;
}
.oncefebrero-talks-wrap .oncefebrero-pagination-jump { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; }
.oncefebrero-talks-wrap .oncefebrero-pagination-jump input { width: 68px; min-height: 32px; padding: 4px 6px; }
.oncefebrero-talks-wrap .oncefebrero-pagination-jump button { min-height: 32px; padding: 4px 10px; border: 0; border-radius: 4px; background: #2980b9; color: #fff; font-weight: 600; cursor: pointer; }
.oncefebrero-talks-wrap .oncefebrero-pag-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	align-items: center;
}
.oncefebrero-talks-wrap .oncefebrero-pag-btn {
	padding: 6px 12px;
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
	font-size: 13px;
	color: #333;
	transition: background 0.12s;
}
.oncefebrero-talks-wrap .oncefebrero-pag-btn.active {
	background: #2c3e50;
	color: #fff;
	border-color: #2c3e50;
}
.oncefebrero-talks-wrap .oncefebrero-pag-btn:hover:not([disabled]):not(.active) {
	background: #ecf0f1;
	border-color: #aaa;
}
.oncefebrero-talks-wrap .oncefebrero-pag-btn[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}
.oncefebrero-talks-wrap .oncefebrero-pag-info {
	margin-left: 8px;
	font-size: 13px;
	color: #666;
}

/* Conversation buttons
   --------------------------------------------------------- */
.oncefebrero-talks-wrap .oncefebrero-btn-chat,
.oncefebrero-talks-wrap .oncefebrero-btn-chat:link,
.oncefebrero-talks-wrap .oncefebrero-btn-chat:visited,
.oncefebrero-talks-wrap .oncefebrero-btn-chat:hover,
.oncefebrero-talks-wrap .oncefebrero-btn-chat:focus,
.oncefebrero-talks-wrap .oncefebrero-btn-chat:active {
	display: inline-block !important;
	padding: 5px 12px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.5 !important;
	border-radius: 4px !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	color: #fff !important;
	text-indent: 0 !important;
	letter-spacing: normal !important;
	border: none !important;
	cursor: pointer !important;
}
.oncefebrero-talks-wrap .oncefebrero-btn-chat--new,
.oncefebrero-talks-wrap .oncefebrero-btn-chat--new:link,
.oncefebrero-talks-wrap .oncefebrero-btn-chat--new:visited {
	background: #27ae60 !important;
}
.oncefebrero-talks-wrap .oncefebrero-btn-chat--new:hover,
.oncefebrero-talks-wrap .oncefebrero-btn-chat--new:focus {
	background: #1e8449 !important;
}
.oncefebrero-talks-wrap .oncefebrero-btn-chat--open,
.oncefebrero-talks-wrap .oncefebrero-btn-chat--open:link,
.oncefebrero-talks-wrap .oncefebrero-btn-chat--open:visited {
	background: #2980b9 !important;
}
.oncefebrero-talks-wrap .oncefebrero-btn-chat--open:hover,
.oncefebrero-talks-wrap .oncefebrero-btn-chat--open:focus {
	background: #1f618d !important;
}

/* Map info window
   --------------------------------------------------------- */
.oncefebrero-info-window {
	font-size: 13px;
	max-width: 240px;
	line-height: 1.5;
	padding: 2px 0;
}
.oncefebrero-info-window__btn {
	margin-top: 8px;
}

/* Access denied notice
   --------------------------------------------------------- */
.oncefebrero-access-denied {
	padding: 14px 18px;
	background: #fef3cd;
	border: 1px solid #ffc107;
	border-radius: 6px;
	color: #856404;
	font-size: 14px;
}

/* El título es el dato principal de cada charla, tanto en escritorio como
   en la versión de ficha para móvil. */
.oncefebrero-talks-wrap .oncefebrero-table tbody td:first-child {
	font-weight: 700;
}

/* Responsive
   --------------------------------------------------------- */
@media ( max-width: 768px ) {
	.oncefebrero-talks-wrap .oncefebrero-map {
		height: 300px;
	}
	.oncefebrero-talks-wrap .oncefebrero-table thead {
		display: none;
	}
	.oncefebrero-talks-wrap .oncefebrero-table,
	.oncefebrero-talks-wrap .oncefebrero-table tbody,
	.oncefebrero-talks-wrap .oncefebrero-table tr,
	.oncefebrero-talks-wrap .oncefebrero-table td {
		display: block;
		width: 100%;
	}
	.oncefebrero-talks-wrap .oncefebrero-table tr {
		margin-bottom: 12px;
		border: 1px solid #dde3ea;
		border-radius: 6px;
		overflow: hidden;
	}
	.oncefebrero-talks-wrap .oncefebrero-table td {
		border: none;
		border-bottom: 1px solid #eee;
		padding: 8px 12px;
	}
	.oncefebrero-talks-wrap .oncefebrero-table td:last-child {
		border-bottom: none;
	}
	.oncefebrero-talks-wrap .oncefebrero-table td::before {
		content: attr( data-label );
		display: block;
		font-size: 11px;
		font-weight: 700;
		text-transform: uppercase;
		color: #888;
		margin-bottom: 2px;
	}
}
