/* Turisme Horta Sud · Elementos */
.ths-buscador { background: #fff; border-radius: 28px; box-shadow: 0 18px 50px rgba(30, 59, 0, .16); padding: 28px 32px 32px; }
.ths-pestanas { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.ths-buscador .ths-pestana { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; color: var(--e-global-color-primary, #2F5D00); font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer; box-shadow: none; text-transform: none; }
.ths-buscador .ths-pestana:hover, .ths-buscador .ths-pestana:focus { background: var(--e-global-color-54bf362, #EAF3CC); color: var(--e-global-color-primary, #2F5D00); }
.ths-buscador .ths-pestana[aria-selected="true"], .ths-buscador .ths-pestana[aria-selected="true"]:hover { background: var(--e-global-color-primary, #2F5D00); color: #fff; }
.ths-pestana:focus-visible, .ths-tema:focus-visible, .ths-pueblo:focus-visible { outline: 3px solid var(--e-global-color-accent, #98C400); outline-offset: 3px; }
.ths-temas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ths-tema { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 0 20px; border-radius: 20px; background: var(--e-global-color-ths0001, #F5F9EA); color: var(--e-global-color-primary, #2F5D00); text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.25; transition: background-color .2s ease; }
.ths-tema:hover { color: var(--e-global-color-ths0003, #1E3B00); }
.ths-tema-icono { flex: 0 0 auto; display: inline-flex; font-size: 24px; width: 28px; justify-content: center; }
.ths-tema-icono svg { width: 26px; height: 26px; fill: currentColor; }
.ths-pueblos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ths-pueblo { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--e-global-color-ths0002, #DCE8BE); background: #fff; color: var(--e-global-color-text, #302E2B); text-decoration: none; font-weight: 700; }
.ths-pueblo:hover { border-color: var(--e-global-color-secondary, #639219); background: var(--e-global-color-ths0001, #F5F9EA); color: var(--e-global-color-primary, #2F5D00); }
.ths-pueblo span { font-weight: 400; font-size: 13px; color: var(--e-global-color-ths0004, #5B6B47); white-space: nowrap; }
.ths-buscador [hidden] { display: none !important; }
@media (max-width: 767px) {
	.ths-buscador { padding: 20px; border-radius: 24px; }
	.ths-tema { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; min-height: 96px; padding: 14px 16px; font-size: 15px; }
	.ths-pueblo { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { .ths-tema { transition: none; } }

/* Filtro de listados y tabla filtrable */
.ths-filtros { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.ths-filtros label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; color: var(--e-global-color-ths0004, #5B6B47); }
.ths-filtros select, .ths-filtros input { min-height: 48px; min-width: 240px; padding: 0 16px; border: 1px solid var(--e-global-color-ths0002, #DCE8BE); border-radius: 14px; background: #fff; font: inherit; font-size: 16px; color: var(--e-global-color-text, #302E2B); }
.ths-filtros select:focus, .ths-filtros input:focus { border-color: var(--e-global-color-secondary, #639219); outline: none; box-shadow: 0 0 0 3px rgba(152, 196, 0, .25); }
.ths-cuenta { margin-left: auto; padding-bottom: 12px; font-weight: 700; color: var(--e-global-color-ths0004, #5B6B47); }
.ths-vacio { margin: 24px 0 0; padding: 24px; border-radius: 20px; background: var(--e-global-color-ths0001, #F5F9EA); }
.e-loop-item[hidden], .ths-tabla tr[hidden] { display: none !important; }
.ths-tabla-listado .ths-filtros { margin-bottom: 28px; }
.ths-tabla-caja { overflow-x: auto; }
.ths-tabla { width: 100%; border-collapse: collapse; font-size: 16px; }
.ths-tabla th, .ths-tabla td { text-align: left; padding: 14px 12px; border: 0; border-bottom: 1px solid var(--e-global-color-ths0002, #DCE8BE); vertical-align: top; background: transparent; }
.ths-tabla th { font-size: 14px; color: var(--e-global-color-ths0004, #5B6B47); }
.ths-tabla tbody tr:hover td { background: var(--e-global-color-ths0001, #F5F9EA); }
.ths-tabla a { color: var(--e-global-color-primary, #2F5D00); font-weight: 700; }
@media (max-width: 767px) {
	.ths-filtros label { flex: 1 1 100%; }
	.ths-filtros select, .ths-filtros input { width: 100%; min-width: 0; }
	.ths-cuenta { margin-left: 0; }
}

/* Tarjetas sin foto: sin el marcador gris de Elementor */
.ths-card-foto img[src*="placeholder"] { display: none; }
.ths-sin-foto:has(img[src*="placeholder"]) { background-image: radial-gradient(circle at 28% 30%, rgba(255,255,255,.55) 0 22%, transparent 22.5%), radial-gradient(circle at 75% 78%, rgba(152,196,0,.28) 0 24%, transparent 24.5%); }

/* Descargas: el icono no se encoge */
.ths-descarga > .elementor-widget-icon { flex: 0 0 28px; }
.ths-descarga .elementor-icon svg { width: 28px; height: 28px; }
