/* Componentes de las guías (entradas). Identidad: pizarra #263238, coral #F27B5B, acento #B8462A, gris #F5F6F7, filete #E4E8EA. */
.single-post .tt-indice,
.single-post .tt-pasos,
.single-post .tt-tabla-g,
.single-post .tt-aviso,
.single-post .tt-fig,
.single-post .tt-faqs,
.single-post .tt-cta-guia,
.single-post .tt-fuentes { margin: 28px 0; }

/* Índice */
.tt-indice details { background: #F5F6F7; border: 1px solid #E4E8EA; border-radius: 14px; padding: 4px 20px; }
.tt-indice summary { cursor: pointer; padding: 12px 0; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 20px; color: #263238; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.tt-indice summary::-webkit-details-marker { display: none; }
.tt-indice summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid #B8462A; border-bottom: 2px solid #B8462A; transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.tt-indice details[open] summary::after { transform: rotate(-135deg); }
.tt-indice ol { margin: 0 0 16px; padding-left: 22px; columns: 2; column-gap: 32px; }
.tt-indice li { break-inside: avoid; padding: 3px 0; }
.tt-indice a { color: #263238; text-decoration: none; }
.tt-indice a:hover, .tt-indice a:focus-visible { color: #B8462A; text-decoration: underline; }
.single-post h2[id] { scroll-margin-top: calc(var(--tt-cab, 84px) + 16px); }

/* Pasos */
.tt-pasos { list-style: none; padding: 0; counter-reset: paso; display: grid; gap: 12px; }
.tt-pasos li { counter-increment: paso; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; background: #fff; border: 1px solid #E4E8EA; border-radius: 14px; padding: 16px 18px; }
.tt-pasos li::before { content: counter(paso); grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; background: #263238; color: #fff; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 22px; display: grid; place-items: center; }
.tt-pasos b { color: #263238; font-size: 17px; }
.tt-pasos span { color: #47565E; }

/* Tablas (sin scroll horizontal: en móvil se apilan) */
.tt-tabla-g { border: 1px solid #E4E8EA; border-radius: 14px; overflow: hidden; background: #fff; }
.tt-tabla-g table { width: 100%; border-collapse: collapse; margin: 0; font-size: 16px; }
.tt-tabla-g th, .tt-tabla-g td { padding: 12px 16px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid #E4E8EA; }
.tt-tabla-g thead th { background: #263238; color: #fff; font-weight: 600; }
.tt-tabla-g tbody th { color: #263238; font-weight: 700; white-space: nowrap; }
.tt-tabla-g tbody tr:last-child > * { border-bottom: 0; }
.tt-tabla-g tbody tr:nth-child(even) { background: #F5F6F7; }
.tt-tabla-g a { color: #B8462A; }
@media (max-width: 640px) {
	.tt-tabla-g thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.tt-tabla-g tr { display: block; padding: 12px 16px; border-bottom: 1px solid #E4E8EA; }
	.tt-tabla-g tbody tr:last-child { border-bottom: 0; }
	.tt-tabla-g th, .tt-tabla-g td { display: block; padding: 2px 0; border: 0; white-space: normal; }
	.tt-tabla-g td[data-label] { display: flex; justify-content: space-between; gap: 16px; }
	.tt-tabla-g td[data-label]::before { content: attr(data-label); color: #47565E; }
}

/* Avisos */
.tt-aviso { border-left: 4px solid #F27B5B; background: #FDF1ED; border-radius: 0 14px 14px 0; padding: 16px 20px; }
.tt-aviso p { margin: 0; }
.tt-aviso b { display: block; color: #263238; margin-bottom: 4px; }

/* Imágenes */
.tt-fig img { display: block; width: 100%; height: auto; border-radius: 18px; }
.tt-fig figcaption { margin-top: 10px; font-size: 15px; color: #47565E; }

/* Preguntas frecuentes */
.tt-faqs { display: grid; gap: 12px; }
.tt-faq { background: #fff; border: 1px solid #E4E8EA; border-radius: 14px; }
.tt-faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; position: relative; font-weight: 700; color: #263238; }
.tt-faq summary::-webkit-details-marker { display: none; }
.tt-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 26px; line-height: 1; color: #B8462A; }
.tt-faq[open] summary::after { content: "–"; }
.tt-faq summary:focus-visible, .tt-indice summary:focus-visible { outline: 2px solid #B8462A; outline-offset: 2px; border-radius: 8px; }
.tt-faq > div { padding: 0 20px 16px; }
.tt-faq p { margin: 0; }

/* Llamada a reservar */
.tt-cta-guia { background: #263238; color: #fff; border-radius: 18px; padding: 28px; }
.tt-cta-guia p { margin: 0 0 8px; color: rgba(255,255,255,.85); }
.tt-cta-guia .tt-cta-guia__t { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 28px; line-height: 1.1; color: #fff; }
.tt-cta-guia__b { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px !important; }
.tt-cta-guia__b a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 17px; text-decoration: none; }
.tt-cta-guia__b .is-1 { background: #F27B5B; color: #263238; }
.tt-cta-guia__b .is-2 { border: 2px solid rgba(255,255,255,.5); color: #fff; }
.tt-cta-guia__b a:hover, .tt-cta-guia__b a:focus-visible { filter: brightness(1.08); text-decoration: underline; }

/* Fuentes */
.tt-fuentes { border-top: 1px solid #E4E8EA; padding-top: 20px; font-size: 15px; color: #47565E; }
.tt-fuentes p { margin: 0 0 8px; }
.tt-fuentes a { color: #47565E; }

@media (max-width: 640px) {
	.tt-indice ol { columns: 1; }
	.tt-cta-guia { padding: 22px; }
	.tt-cta-guia__b a { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .tt-indice summary::after { transition: none; } }
