/* === OneClickShuttles - Activity Archive & Taxonomy Pages === */
/* Prefijo: aa- (Activity Archive) */

/* ───────────────── Hero Section ───────────────── */

.aa-hero {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	padding: 80px 20px 60px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.aa-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle at 30% 70%, rgba(243, 165, 28, 0.08) 0%, transparent 50%),
				radial-gradient(circle at 70% 30%, rgba(72, 183, 182, 0.08) 0%, transparent 50%);
	pointer-events: none;
}

.aa-hero__inner {
	max-width: 700px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.aa-hero__label {
	display: inline-block;
	font-family: var(--font-body, 'DM Sans', sans-serif);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--secondary-color, #48B7B6);
	margin-bottom: 12px;
}

.aa-hero__title {
	font-family: var(--font-heading, 'Palanquin Dark', sans-serif);
	font-size: 42px;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
	margin: 0 0 16px;
}

.aa-hero__highlight {
	background: linear-gradient(135deg, var(--primary-color, #F3A51C), #f7c563);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.aa-hero__subtitle {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
	margin: 0 0 20px;
}

.aa-hero__count {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 30px;
	padding: 8px 20px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
}

.aa-hero__count i,
.aa-hero__count .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: var(--primary-color, #F3A51C);
}

/* ───────────────── Filters Section ───────────────── */

.aa-filters {
	background: var(--white);
	border-bottom: 1px solid var(--border);
	padding: 18px 0;
}

.aa-filters__bar {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.aa-filters__group {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.aa-filters__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-dark);
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 6px;
}

.aa-filters__label i {
	color: var(--secondary-color);
}

.aa-filters__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.aa-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	background: var(--background);
	color: var(--text-light);
	border: 1px solid var(--border);
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s;
	white-space: nowrap;
}

.aa-pill:hover {
	background: var(--white);
	border-color: var(--secondary-color);
	color: var(--secondary-color);
}

.aa-pill--active {
	background: var(--secondary-color);
	color: var(--white);
	border-color: var(--secondary-color);
}

.aa-pill--active:hover {
	background: var(--secondary-hover);
	color: var(--white);
}

.aa-pill__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	background: rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	font-size: 11px;
	font-weight: 700;
}

.aa-pill--active .aa-pill__count {
	background: rgba(255, 255, 255, 0.25);
}

/* ───────────────── Activities Grid ───────────────── */

.aa-grid-section {
	padding: 40px 0 60px;
}

.aa-activities-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

/* ───────────────── Activity Card ───────────────── */

.aa-card {
	background: var(--white);
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aa-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-xl);
}

.aa-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.aa-card__image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.aa-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.aa-card:hover .aa-card__image img {
	transform: scale(1.08);
}

.aa-card__no-image {
	width: 100%;
	height: 100%;
	background: var(--background);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--border-light);
	font-size: 48px;
}

.aa-card__badges {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	z-index: 2;
}

.aa-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	background: var(--secondary-color);
	color: var(--white);
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.aa-card__badge--hot {
	background: var(--error);
}

.aa-card__featured {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-color);
	font-size: 14px;
	z-index: 2;
}

/* ───────────────── Card Content ───────────────── */

.aa-card__content {
	padding: 20px;
}

.aa-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 10px;
	font-size: 13px;
	color: var(--text-lighter);
}

.aa-card__meta i {
	margin-right: 4px;
}

.aa-card__location i {
	color: var(--secondary-color);
}

.aa-card__duration i {
	color: var(--primary-color);
}

.aa-card__title {
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 700;
	color: var(--text-dark);
	line-height: 1.35;
	margin: 0 0 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.aa-card__excerpt {
	font-size: 13px;
	color: var(--text-light);
	line-height: 1.5;
	margin: 0 0 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ───────────────── Card Footer ───────────────── */

.aa-card__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 16px;
	border-top: 1px solid var(--border);
}

.aa-card__price {
	display: flex;
	align-items: baseline;
	gap: 5px;
	flex-wrap: wrap;
}

.aa-card__price-from {
	font-size: 11px;
	color: var(--text-lighter);
}

.aa-card__price-amount {
	font-size: 20px;
	font-weight: 700;
	color: var(--text-dark);
}

.aa-card__price-per {
	font-size: 12px;
	color: var(--text-lighter);
}

.aa-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--secondary-color);
	transition: gap 0.2s;
}

.aa-card:hover .aa-card__cta {
	gap: 10px;
}

/* ───────────────── Pagination ───────────────── */

.aa-pagination {
	margin-top: 40px;
}

.aa-pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.aa-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	background: var(--white);
	color: var(--text-dark);
	border: 1px solid var(--border);
	border-radius: var(--border-radius);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s;
}

.aa-pagination .page-numbers:hover {
	border-color: var(--secondary-color);
	color: var(--secondary-color);
}

.aa-pagination .page-numbers.current {
	background: var(--secondary-color);
	color: var(--white);
	border-color: var(--secondary-color);
}

.aa-pagination .page-numbers.dots {
	border: none;
	background: none;
	color: var(--text-lighter);
}

.aa-pagination .prev,
.aa-pagination .next {
	gap: 6px;
	font-weight: 600;
}

/* ───────────────── Empty State ───────────────── */

.aa-empty {
	text-align: center;
	padding: 60px 20px;
}

.aa-empty__icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	background: var(--background);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	color: var(--text-lighter);
}

.aa-empty__title {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	color: var(--text-dark);
	margin: 0 0 10px;
}

.aa-empty__text {
	font-size: 15px;
	color: var(--text-light);
	max-width: 400px;
	margin: 0 auto 24px;
}

.aa-empty__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	background: var(--secondary-color);
	color: var(--white);
	border-radius: var(--border-radius);
	text-decoration: none;
	font-weight: 600;
	transition: background 0.2s;
}

.aa-empty__link:hover {
	background: var(--secondary-hover);
	color: var(--white);
}

/* ───────────────── Search Section (embedded) ───────────────── */

.aa-search-section {
	background: var(--background, #F5F5F5);
	padding: 40px 20px 0;
}

.aa-search-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.aa-search-section .ocs-search-widget {
	background: white;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.aa-search-section .ocs-search-form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.aa-search-section .ocs-search-row {
	display: grid;
	gap: 1rem;
	margin-bottom: 1rem;
}

.aa-search-section .ocs-row-3col {
	grid-template-columns: repeat(3, 1fr);
}

.aa-search-section .ocs-field label {
	display: block;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	color: #666;
	margin-bottom: 0.5rem;
	letter-spacing: 0.5px;
}

.aa-search-section .ocs-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.aa-search-section .ocs-input-wrapper .ocs-icon {
	position: absolute;
	left: 0.75rem;
	font-size: 1.2rem;
	pointer-events: none;
}

.aa-search-section .ocs-input-wrapper input {
	width: 100%;
	padding: 0.75rem 0.75rem 0.75rem 2.5rem;
	border: 1px solid #E0E0E0;
	border-radius: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.95rem;
	color: #333333;
	background-color: #FFFFFF;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	outline: none;
}

.aa-search-section .ocs-field input[type="date"] {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #E0E0E0;
	border-radius: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.95rem;
	color: #333333;
	background-color: #FFFFFF;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	outline: none;
}

.aa-search-section .ocs-field input:focus {
	border-color: var(--primary-color, #F3A51C);
	box-shadow: 0 0 0 3px rgba(243, 165, 28, 0.1);
}

.aa-search-section .ocs-submit-wrapper {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 0.5rem;
}

.aa-search-section .ocs-submit-btn {
	display: inline-flex;
	padding: 0.875rem 3rem;
	border: none;
	border-radius: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.aa-search-section .ocs-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(243, 165, 28, 0.3);
}

.aa-search-section .ocs-submit-btn:active {
	transform: translateY(0);
}

.aa-search-section .ocs-loading {
	text-align: center;
	padding: 2rem;
}

.aa-search-section .ocs-spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid var(--primary-color, #F3A51C);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: aa-spin 1s linear infinite;
	margin: 0 auto 1rem;
}

@keyframes aa-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* ───────────────── CTA Section ───────────────── */

.aa-cta-section {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	padding: 60px 20px;
	text-align: center;
}

.aa-cta-inner {
	max-width: 600px;
	margin: 0 auto;
}

.aa-cta-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(72, 183, 182, 0.15);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.aa-cta-icon i {
	font-size: 28px;
	color: var(--secondary-color, #48B7B6);
}

.aa-cta-title {
	font-family: var(--font-heading, 'Palanquin Dark', sans-serif);
	font-size: 28px;
	color: #fff;
	margin: 0 0 10px;
}

.aa-cta-text {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.65);
	margin: 0 0 24px;
	line-height: 1.6;
}

.aa-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--primary-color, #F3A51C);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	padding: 14px 32px;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
}

.aa-cta-button:hover {
	background: #e09510;
	transform: translateY(-2px);
	color: #fff;
}

.aa-cta-button:active {
	transform: translateY(0);
}

.aa-cta-button i {
	font-size: 14px;
}

/* ───────────────── Responsive: 1200px ───────────────── */

@media (max-width: 1200px) {
	.aa-activities-grid {
		gap: 24px;
	}
}

/* ───────────────── Responsive: 992px ───────────────── */

@media (max-width: 992px) {
	.aa-activities-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.aa-hero {
		padding: 60px 20px 50px;
	}

	.aa-hero__title {
		font-size: 34px;
	}
}

/* ───────────────── Responsive: 768px ───────────────── */

@media (max-width: 768px) {
	.aa-hero {
		padding: 50px 16px 40px;
	}

	.aa-hero__title {
		font-size: 28px;
	}

	.aa-hero__subtitle {
		font-size: 15px;
	}

	.aa-search-section {
		padding: 30px 15px 0;
	}

	.aa-search-section .ocs-search-widget {
		padding: 1.25rem;
	}

	.aa-search-section .ocs-row-3col {
		grid-template-columns: 1fr;
	}

	.aa-search-section .ocs-submit-wrapper {
		justify-content: stretch;
	}

	.aa-search-section .ocs-submit-btn {
		width: 100%;
	}

	.aa-cta-section {
		padding: 50px 20px;
	}

	.aa-cta-title {
		font-size: 26px;
	}

	.aa-cta-text {
		font-size: 15px;
	}

	.aa-filters__group {
		flex-direction: column;
		align-items: flex-start;
	}

	.aa-filters__pills {
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 4px;
		-webkit-overflow-scrolling: touch;
	}
}

/* ───────────────── Responsive: 576px ───────────────── */

@media (max-width: 576px) {
	.aa-activities-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.aa-card__image {
		aspect-ratio: 16 / 9;
	}

	.aa-hero__title {
		font-size: 24px;
	}

	.aa-grid-section {
		padding: 30px 0 40px;
	}
}
