/**
 * TTT INAEM Jornadas – Frontend v1.5.2
 * Siguiendo prototipo: square-corners, Work Sans + Unbounded, Material Symbols
 */

/* === VARIABLES === */
:root {
    /* Colores */
    --tttj-primary: #ff7f61;
    --tttj-primary-hover: #e66a4d;
    --tttj-dark: #1d1d1b;
    --tttj-white: #ffffff;
    --tttj-light: #f5f5f5;
    --tttj-gray-200: #e5e7eb;
    --tttj-gray-500: #6b7280;
    --tttj-gray-600: #4b5563;
    --tttj-gray-700: #374151;

    /* Tipografía – familias */
    --tttj-font-heading: 'Unbounded', sans-serif;
    --tttj-font-body: 'Work Sans', sans-serif;

    /* Tipografía – escala fluida (min 16px = 1rem para accesibilidad) */
    --tttj-font-size-4xl: clamp(2rem, 1.5rem + 2vw, 3rem);           /* 32–48px */
    --tttj-font-size-3xl: clamp(1.75rem, 1.25rem + 1.5vw, 2.25rem);  /* 28–36px */
    --tttj-font-size-2xl: clamp(1.5rem, 1.125rem + 1.25vw, 1.875rem);/* 24–30px */
    --tttj-font-size-xl:  clamp(1.25rem, 1rem + 0.75vw, 1.5rem);     /* 20–24px */
    --tttj-font-size-lg:  clamp(1.125rem, 1rem + 0.5vw, 1.25rem);    /* 18–20px */
    --tttj-font-size-md:  clamp(1rem, 0.9375rem + 0.25vw, 1.125rem); /* 16–18px */
    --tttj-font-size-base: 1rem;                                       /* 16px */
    --tttj-font-size-sm:  1rem;                                        /* 16px */
    --tttj-font-size-xs:  1rem;                                        /* 16px */
    --tttj-font-size-2xs: 1rem;                                        /* 16px */

    /* Iconos – escala (4 tamaños) */
    --tttj-icon-size-xl: 2.25rem;  /* Play button */
    --tttj-icon-size-lg: 1.875rem; /* Doc icon */
    --tttj-icon-size-md: 1.25rem;  /* Inline icons, close, toggle */
    --tttj-icon-size-sm: 1rem;     /* Small icons */

    /* Transiciones */
    --tttj-transition: all 0.3s ease;
}

/* === RESET / BASE === */
[class^="tttj__"],
[class*=" tttj__"] {
    font-family: var(--tttj-font-body);
    line-height: 1.6;
    box-sizing: border-box;
}
[class^="tttj__"] *,
[class*=" tttj__"] * {
    box-sizing: border-box;
}
[class^="tttj__"] h1, [class^="tttj__"] h2,
[class^="tttj__"] h3, [class^="tttj__"] h4,
[class^="tttj__"] h5, [class^="tttj__"] h6 {
    font-family: var(--tttj-font-heading);
}
[class^="tttj__"] .material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
}
.tttj__container { max-width: 1280px; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .tttj__container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .tttj__container { padding-left: 2rem; padding-right: 2rem; } }

/* === HERO === */
.tttj__hero { position: relative; overflow: hidden; padding: 3rem 0 5rem; }
@media (min-width: 768px) { .tttj__hero { padding: 6rem 0; } }

.tttj__hero--primary   { background: var(--tttj-primary); }
.tttj__hero--secondary { background: var(--tttj-dark); }
.tttj__hero--alt_1     { background: #6c63ff; }
.tttj__hero--alt_2     { background: #26a69a; }
.tttj__hero--alt_3     { background: #42a5f5; }
.tttj__hero--alt_4     { background: #ab47bc; }

.tttj__hero-inner { display: flex; flex-direction: column; gap: 3rem; position: relative; z-index: 1; }
@media (min-width: 768px) { .tttj__hero-inner { flex-direction: row; align-items: center; } }

.tttj__hero-text { flex: 1; color: var(--tttj-white); }
.tttj__hero-badge {
    display: inline-block; padding: 4px 12px; margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.2); font-size: var(--tttj-font-size-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.tttj__hero-subtitle { margin-bottom: 0.5rem; }
.tttj__hero-subtitle-text {
    font-family: var(--tttj-font-body); font-size: var(--tttj-font-size-xl); font-weight: 500;
    letter-spacing: -0.01em; background: rgba(29,29,27,0.1); padding: 4px 8px;
}

.tttj__hero-title {
    font-size: var(--tttj-font-size-4xl); font-weight: 900; line-height: 1.1; margin: 0 0 1.5rem;
    color: var(--tttj-white);
}

.tttj__hero-media { flex: 1; width: 100%; }
.tttj__hero-img-wrap {
    position: relative; overflow: hidden;
    aspect-ratio: 16/9;
    -webkit-mask-image: var(--tttj-hero-mask-url);
    -webkit-mask-size: contain;
    -webkit-mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    mask-image: var(--tttj-hero-mask-url);
    mask-size: contain;
    mask-position: center center;
    mask-repeat: no-repeat;
}
@media (min-width: 768px) { .tttj__hero-img-wrap { aspect-ratio: 1/1; } }
.tttj__hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tttj__hero-copyright {
    position: absolute; bottom: 8px; right: 12px; font-size: var(--tttj-font-size-2xs);
    color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.4); padding: 2px 8px;
}
.tttj__hero-deco { position: absolute; top: 0; right: 0; opacity: 0.1; pointer-events: none; }

/* === CTAs === */
.tttj__ctas { background: var(--tttj-white); padding: 3rem 0; border-bottom: 1px solid var(--tttj-gray-200); }
.tttj__ctas-inner { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .tttj__ctas-inner { flex-direction: row; } }

.tttj__cta {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 1rem;
    padding: 1.5rem 2.5rem; font-family: var(--tttj-font-heading); font-weight: 700;
    font-size: var(--tttj-font-size-md); text-decoration: none; transition: var(--tttj-transition); cursor: pointer;
}
.tttj__cta--primary {
    background: var(--tttj-primary); color: var(--tttj-white); border: 2px solid var(--tttj-primary);
}
.tttj__cta--primary:hover { filter: brightness(1.1); }
.tttj__cta--outline {
    background: transparent; color: var(--tttj-primary); border: 2px solid var(--tttj-primary);
}
.tttj__cta--outline:hover { background: rgba(255,127,97,0.05); }
.tttj__cta .material-symbols-outlined { font-size: var(--tttj-icon-size-xl); }

/* === BANNER === */
.tttj__banner { padding: 2rem 0; background: var(--tttj-white); }
.tttj__banner-img { width: 100%; height: auto; display: block; }

/* Ocultar título WP/Elementor en jornadas */
.single-jornada h1.entry-title,
.single-jornada .entry-title,
.single-jornada .elementor-heading-title.entry-title {
    display: none !important;
}

/* === PREFACIO === */
.tttj__prefacio { padding: 4rem 0; background: var(--tttj-white); }
.tttj__prose { max-width: none; }
.tttj__prose p {
    font-size: var(--tttj-font-size-md); line-height: 1.75; color: var(--tttj-gray-700);
    font-family: var(--tttj-font-body); margin: 0 0 1em;
}
.tttj__prose p:last-child { margin-bottom: 0; }

/* Legacy content: botones y títulos importados */
.tttj__prose .botcent {
    text-align: center;
    margin: 1.5rem 0;
}
.tttj__prose .botcent a,
.tttj__prose .botones a {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    background: var(--tttj-primary);
    color: var(--tttj-white) !important;
    font-family: var(--tttj-font-heading);
    font-size: var(--tttj-font-size-sm);
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 100px;
    transition: var(--tttj-transition);
    cursor: pointer;
}
.tttj__prose .botcent a:hover,
.tttj__prose .botones a:hover {
    filter: brightness(1.1);
}
.tttj__prose .botones {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.tttj__prose .botones li { margin: 0; padding: 0; }

/* === PROGRAMA === */
.tttj__programa { padding: 0 0 6rem; background: var(--tttj-white); }
.tttj__heading {
    font-size: var(--tttj-font-size-3xl); font-weight: 900; color: var(--tttj-dark); margin: 0 0 3rem;
}

.tttj__accordion { display: flex; flex-direction: column; gap: 1rem; }

/* Día – details/summary */
.tttj__dia {
    background: var(--tttj-light); border-left: 4px solid var(--tttj-primary);
}
.tttj__dia[open] { background: var(--tttj-white); }

.tttj__dia > summary {
    display: flex; align-items: center; justify-content: space-between;
    padding: 2rem; cursor: pointer; list-style: none;
}
.tttj__dia > summary::-webkit-details-marker { display: none; }
.tttj__dia > summary::marker { display: none; content: ""; }

.tttj__dia-title {
    font-family: var(--tttj-font-heading); font-size: var(--tttj-font-size-xl); font-weight: 700;
}

.tttj__dia-toggle {
    width: 3rem; height: 3rem; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
    background: var(--tttj-primary); color: var(--tttj-white);
    transition: background 0.3s ease;
}
.tttj__dia-toggle .material-symbols-outlined { font-weight: 900; }

/* Toggle icons: cerrado = add, abierto = remove */
.tttj__dia .tttj__dia-icon-remove { display: none; }
.tttj__dia .tttj__dia-icon-add { display: inline; }
.tttj__dia[open] .tttj__dia-toggle { background: var(--tttj-dark); }
.tttj__dia[open] .tttj__dia-icon-remove { display: inline; }
.tttj__dia[open] .tttj__dia-icon-add { display: none; }

/* Contenido del día */
.tttj__dia-body { padding: 1rem 2rem 2rem; }

/* Eventos dentro del día */
.tttj__eventos { border-top: 1px solid var(--tttj-gray-200); }
.tttj__evento {
    display: flex; flex-direction: column; gap: 1rem; padding: 2rem 0;
    border-bottom: 1px solid var(--tttj-gray-200);
}
.tttj__evento:last-child { border-bottom: none; }
@media (min-width: 768px) {
    .tttj__evento { flex-direction: row; gap: 3rem; }
}

.tttj__evento-hora {
    width: 8rem; flex-shrink: 0; font-family: var(--tttj-font-heading);
    font-weight: 700; color: var(--tttj-primary);
}
.tttj__evento-info { flex: 1; min-width: 0; }

/* Badges */
.tttj__evento-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.tttj__badge {
    display: inline-block; padding: 2px 8px; font-size: var(--tttj-font-size-2xs);
    font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.tttj__badge--etiqueta { background: var(--tttj-primary); color: var(--tttj-white); }

.tttj__evento-title {
    font-size: var(--tttj-font-size-lg); font-weight: 700; margin: 0 0 0.5rem; color: var(--tttj-dark); line-height: 1.3;
}
.tttj__evento-desc { color: var(--tttj-gray-600); line-height: 1.7; margin-bottom: 0.5rem; }
.tttj__evento-desc p { margin: 0 0 0.5rem; }
.tttj__evento-desc p:last-child { margin-bottom: 0; }

.tttj__evento-accesibilidad {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: var(--tttj-font-size-sm); font-weight: 500; color: var(--tttj-gray-500); margin-top: 0.5rem;
}
.tttj__evento-ponentes {
    display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; margin-top: 0.5rem;
    font-size: var(--tttj-font-size-sm); font-style: italic; color: var(--tttj-gray-500);
}

/* === MATERIALES (fondo gris claro) === */
.tttj__materiales { background: var(--tttj-light); padding: 6rem 0; }
.tttj__mat-bloque { margin-bottom: 6rem; }
.tttj__mat-bloque:last-child { margin-bottom: 0; }

.tttj__mat-subtitulo {
    font-size: var(--tttj-font-size-md); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    display: inline-block; border-bottom: 2px solid var(--tttj-primary);
    padding-bottom: 4px; margin: 0 0 2.5rem;
    font-family: var(--tttj-font-body);
}

/* Documentos grid */
.tttj__docs-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .tttj__docs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tttj__docs-grid { grid-template-columns: repeat(4, 1fr); } }

.tttj__doc {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 1.5rem; padding: 2rem; background: var(--tttj-white);
    border-top: 4px solid var(--tttj-gray-200);
    text-decoration: none !important; color: var(--tttj-dark);
    transition: box-shadow 0.3s ease;
}
.tttj__doc *, .tttj__doc:hover * { text-decoration: none !important; }
.tttj__doc:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.tttj__doc--first { border-top-color: var(--tttj-primary); }

.tttj__doc-icon {
    width: 4rem; height: 4rem; border-radius: 50%;
    background: rgba(255,127,97,0.1); color: var(--tttj-primary);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tttj__doc-icon .material-symbols-outlined { font-size: var(--tttj-icon-size-lg); }
.tttj__doc-name { font-family: var(--tttj-font-heading); font-size: var(--tttj-font-size-sm); font-weight: 700; margin: 0 0 4px; }
.tttj__doc-meta { font-size: var(--tttj-font-size-xs); color: var(--tttj-gray-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin: 0; }

/* Vídeos grid */
.tttj__videos-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .tttj__videos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tttj__videos-grid { grid-template-columns: repeat(3, 1fr); } }

.tttj__video { display: block; text-decoration: none; }
.tttj__video-thumb {
    position: relative; aspect-ratio: 16/9; background: var(--tttj-dark);
    overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.tttj__video-thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    opacity: 0.6; transition: transform 0.5s ease;
}
.tttj__video:hover .tttj__video-thumb img { transform: scale(1.05); }

.tttj__video-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 4rem; height: 4rem; border-radius: 50%;
    background: var(--tttj-primary); color: var(--tttj-white);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}
.tttj__video-play .material-symbols-outlined { font-size: var(--tttj-icon-size-xl); }
.tttj__video:hover .tttj__video-play { transform: translate(-50%,-50%) scale(1.1); }

.tttj__video-caption {
    position: absolute; bottom: 0; width: 100%; padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.tttj__video-name {
    color: var(--tttj-white); font-family: var(--tttj-font-heading); font-size: var(--tttj-font-size-sm);
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin: 0;
}

/* === ENTIDADES === */
.tttj__entidades { padding: 4rem 0; background: var(--tttj-white); }
.tttj__ent-grupo { margin-bottom: 2.5rem; }
.tttj__ent-grupo:last-child { margin-bottom: 0; }
.tttj__entidades .tttj__mat-subtitulo { color: var(--tttj-gray-500); }
.tttj__ent-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.tttj__entidad a {
    display: flex; align-items: center; gap: 0.75rem;
    text-decoration: none; color: var(--tttj-dark); transition: opacity 0.3s;
}
.tttj__entidad a:hover { opacity: 0.7; }
.tttj__entidad-logo { max-height: 120px; width: auto; display: block; }
.tttj__entidad-name { font-size: var(--tttj-font-size-sm); font-weight: 500; }

/* === SUBTITULADO / AGRADECIMIENTO === */
.tttj__subtitulado,
.tttj__agradecimiento { padding: 2rem 0; border-top: 1px solid var(--tttj-gray-200); }
.tttj__subtitulado .tttj__prose p,
.tttj__agradecimiento .tttj__prose p { font-size: var(--tttj-font-size-sm); color: var(--tttj-gray-600); }

/* === VIDEO MODAL === */
.tttj__video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.tttj__video-modal--open {
    display: flex;
}
.tttj__video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}
.tttj__video-modal-content {
    position: relative;
    width: 90vw;
    max-width: 960px;
    z-index: 1;
}
.tttj__video-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--tttj-primary);
    color: var(--tttj-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
}
.tttj__video-modal-close:hover {
    background: var(--tttj-primary-hover);
}
.tttj__video-modal-close .material-symbols-outlined {
    font-size: var(--tttj-icon-size-md);
}
.tttj__video-modal-player {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}
.tttj__video-modal-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* === EVENTO - LUGAR === */
.tttj__evento-lugar {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: var(--tttj-font-size-sm);
    color: var(--tttj-gray-600);
    margin-top: 0.25rem;
}
.tttj__evento-lugar .material-symbols-outlined {
    font-size: var(--tttj-icon-size-sm);
    color: var(--tttj-primary);
}

/* === EVENTO - DETALLE EXPANDIBLE === */
.tttj__evento-detail {
    margin-top: 0.75rem;
    border: none;
}
.tttj__evento-detail > summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--tttj-font-size-sm);
    font-weight: 600;
    color: var(--tttj-primary);
    padding: 0.35rem 0;
    transition: var(--tttj-transition);
    user-select: none;
}
.tttj__evento-detail > summary::-webkit-details-marker { display: none; }
.tttj__evento-detail > summary:hover { color: var(--tttj-primary-hover); }
.tttj__evento-detail > summary .material-symbols-outlined {
    font-size: var(--tttj-icon-size-md);
    transition: transform 0.3s ease;
}
.tttj__evento-detail[open] > summary .material-symbols-outlined {
    transform: rotate(180deg);
}

.tttj__evento-detail-body {
    padding: 1rem 0 0.5rem;
    animation: tttj-slide-down 0.3s ease;
}
@keyframes tttj-slide-down {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tttj__evento-detail-img {
    position: relative;
    margin-bottom: 1rem;
    max-width: 600px;
}
.tttj__evento-detail-img img {
    width: 100%;
    height: auto;
    display: block;
}
.tttj__evento-detail-copyright {
    position: absolute;
    bottom: 0.25rem;
    right: 0.5rem;
    font-size: var(--tttj-font-size-2xs);
    color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.3);
    padding: 0.1rem 0.4rem;
}

.tttj__evento-detail-content {
    margin-bottom: 1rem;
}
.tttj__evento-detail-content p {
    font-size: var(--tttj-font-size-sm);
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.tttj__evento-detail-bios {
    margin-bottom: 1rem;
}
.tttj__evento-detail-bios-title {
    font-family: var(--tttj-font-heading);
    font-size: var(--tttj-font-size-sm);
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.tttj__evento-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: var(--tttj-font-size-xs);
    font-weight: 500;
    color: var(--tttj-gray-500);
    text-decoration: none;
    padding-top: 0.5rem;
    border-top: 1px solid var(--tttj-gray-200);
    margin-top: 0.5rem;
    transition: var(--tttj-transition);
}
.tttj__evento-detail-link:hover { color: var(--tttj-primary); }
.tttj__evento-detail-link .material-symbols-outlined { font-size: var(--tttj-icon-size-sm); }

/* Bio cards compact inside programa */
.tttj__evento-detail-bios .tttj__bio-card {
    padding: 1rem;
    margin-bottom: 0.75rem;
}
.tttj__evento-detail-bios .tttj__bio-img { width: 100px; }
.tttj__evento-detail-bios .tttj__bio-img img { width: 100px; height: 100px; }
.tttj__evento-detail-bios .tttj__bio-nombre { font-size: var(--tttj-font-size-sm); }
.tttj__evento-detail-bios .tttj__bio-desc { font-size: var(--tttj-font-size-sm); }

/* === RESPONSIVE FINO === */
@media (max-width: 480px) {
    .tttj__hero { padding: 2rem 0 3rem; }
    .tttj__dia > summary { padding: 1.25rem; }
    .tttj__dia-body { padding: 0.5rem 1.25rem 1.25rem; }
    .tttj__evento-hora { width: auto; }
    .tttj__cta { padding: 1rem 1.5rem; }
}

/* =================================================================
 * SINGLE ACTIVIDAD
 * ================================================================= */
.tttj__single-actividad {
    line-height: 1.6;
}

/* Hero image */
.tttj__act-hero {
    position: relative;
    max-height: 480px;
    overflow: hidden;
    background: var(--tttj-light);
}
.tttj__act-hero-img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}
.tttj__act-copyright {
    position: absolute;
    bottom: 0.5rem;
    right: 0.75rem;
    font-size: var(--tttj-font-size-2xs);
    color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.3);
    padding: 0.15rem 0.5rem;
}

/* Body */
.tttj__act-body {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

/* Header */
.tttj__act-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--tttj-gray-200);
}
.tttj__act-title {
    font-size: var(--tttj-font-size-3xl);
    font-weight: 900;
    margin: 0.5rem 0 1rem;
    line-height: 1.2;
}
.tttj__act-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}
.tttj__act-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--tttj-font-size-sm);
    color: var(--tttj-gray-600);
}
.tttj__act-meta-item .material-symbols-outlined {
    font-size: var(--tttj-icon-size-md);
    color: var(--tttj-primary);
}
.tttj__act-accesibilidad {
    margin-top: 0.75rem;
    font-size: var(--tttj-font-size-sm);
    color: var(--tttj-gray-500);
}

/* Content */
.tttj__act-content {
    margin-bottom: 2.5rem;
}
.tttj__act-content .tttj__prose {
    font-size: var(--tttj-font-size-base);
    line-height: 1.75;
}
.tttj__act-content .tttj__prose p {
    margin-bottom: 1rem;
}

/* Biografías */
.tttj__act-biografias {
    margin-bottom: 2.5rem;
}
.tttj__act-biografias .tttj__heading {
    font-size: var(--tttj-font-size-xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.tttj__bio-grid {
    display: grid;
    gap: 1.5rem;
}
.tttj__bio-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--tttj-light);
    border-left: 4px solid var(--tttj-primary);
}
.tttj__bio-img {
    flex-shrink: 0;
    width: 140px;
    position: relative;
}
.tttj__bio-img img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    display: block;
}
.tttj__bio-copyright {
    display: block;
    font-size: var(--tttj-font-size-2xs);
    color: var(--tttj-gray-500);
    margin-top: 0.25rem;
}
.tttj__bio-text {
    flex: 1;
    min-width: 0;
}
.tttj__bio-nombre {
    font-size: var(--tttj-font-size-md);
    font-weight: 700;
    margin: 0 0 0.5rem;
}
.tttj__bio-desc {
    font-size: var(--tttj-font-size-sm);
    color: var(--tttj-gray-600);
    line-height: 1.6;
}
.tttj__bio-desc p {
    margin-bottom: 0.5rem;
}
.tttj__bio-enlace {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    font-size: var(--tttj-font-size-sm);
    color: var(--tttj-primary);
    text-decoration: none;
    font-weight: 500;
}
.tttj__bio-enlace:hover {
    text-decoration: underline;
}
.tttj__bio-enlace .material-symbols-outlined {
    font-size: var(--tttj-icon-size-sm);
}

/* Nav */
.tttj__act-nav {
    padding-top: 2rem;
    border-top: 1px solid var(--tttj-gray-200);
}
.tttj__act-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--tttj-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--tttj-font-size-sm);
    transition: var(--tttj-transition);
}
.tttj__act-back:hover {
    color: var(--tttj-primary);
}
.tttj__act-back .material-symbols-outlined {
    font-size: var(--tttj-icon-size-md);
}

/* Responsive single actividad */
@media (max-width: 768px) {
    .tttj__act-hero-img img { height: 300px; }
    .tttj__bio-card {
        flex-direction: column;
        gap: 1rem;
    }
    .tttj__bio-img { width: 100%; }
    .tttj__bio-img img { width: 100%; height: 200px; }
    .tttj__evento-detail-bios .tttj__bio-img img { height: 160px; }
    .tttj__evento-detail-bios .tttj__bio-img { width: 100%; }
}
