/* ===================================================================
   CSS SHIELD: #tta-portal (Aislamiento de Módulo - Atractivos)
   =================================================================== */

#tta-portal {
    color: #333333;
    font-family: 'Inter', sans-serif;
    background-color: #fcfcfc;
    display: block;
    width: 100%;
}

#tta-portal .tta-hero-compact {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#tta-portal .tta-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#tta-portal .tta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}

#tta-portal .tta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

#tta-portal .tta-hero-content {
    color: #ffffff;
    padding: 40px 0;
}

#tta-portal .tta-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

#tta-portal .tta-hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

#tta-portal .tta-breadcrumbs {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 10px;
    font-weight: 500;
}

#tta-portal .tta-breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
}

#tta-portal .tta-breadcrumbs a:hover {
    color: #8E1537;
}

#tta-portal .tta-breadcrumbs .sep {
    margin: 0 8px;
}

/* Header de Sección */
#tta-portal .tta-section-header {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 35px;
    position: relative;
}

#tta-portal .tta-title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#tta-portal .tta-title-decoration .line {
    height: 2px;
    width: 80px;
    background: linear-gradient(90deg, transparent, #8E1537, transparent);
}

#tta-portal .tta-title-decoration h2 {
    color: #8E1537;
    font-size: 2.2rem;
    font-weight: 800;
}

#tta-portal .tta-subtitle {
    color: #666666;
    font-size: 1.05rem;
    margin-top: 8px;
}

/* Controles de Carrusel Superior */
#tta-portal .tta-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

#tta-portal .tta-ctrl-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #8E1537;
    background: #ffffff;
    color: #8E1537;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#tta-portal .tta-ctrl-btn:hover,
#tta-portal .tta-ctrl-btn.active {
    background: #8E1537;
    color: #ffffff;
}

#tta-portal .tta-autoplay-note {
    font-size: 0.82rem;
    color: #777777;
    margin-left: 10px;
}

/* Grid de Tarjetas */
#tta-portal .tta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 1200px) {
    #tta-portal .tta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #tta-portal .tta-grid {
        grid-template-columns: 1fr;
    }
}

/* Estructura de Tarjetas */
#tta-portal .tta-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

#tta-portal .tta-card-slider {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

#tta-portal .tta-badge-counter {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    z-index: 5;
}

#tta-portal .tta-slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

#tta-portal .tta-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

#tta-portal .tta-slide-img.active {
    opacity: 1;
}

#tta-portal .tta-slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: all 0.3s ease;
}

#tta-portal .tta-card-slider:hover .tta-slide-arrow {
    opacity: 1;
}

#tta-portal .tta-slide-arrow.prev { left: 10px; }
#tta-portal .tta-slide-arrow.next { right: 10px; }

#tta-portal .tta-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

#tta-portal .tta-slider-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

#tta-portal .tta-slider-dots .dot.active {
    background: #ffffff;
    width: 18px;
    border-radius: 999px;
}

/* Cuerpo de Tarjeta */
#tta-portal .tta-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#tta-portal .tta-card-body h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #8E1537;
    margin-bottom: 8px;
}

#tta-portal .tta-card-body .tta-desc {
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 18px;
}

#tta-portal .tta-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#tta-portal .tta-meta-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: #444444;
}

#tta-portal .tta-meta-list li a {
    color: #444444; /* Mantiene el color del texto base */
    text-decoration: none;
    transition: color 0.2s ease;
}

#tta-portal .tta-meta-list li a:hover {
    color: #8E1537; /* Cambia a guinda al pasar el mouse */
    text-decoration: underline;
}

#tta-portal .tta-meta-list i {
    color: #8E1537;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

#tta-portal .tta-activities-block {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed #e5e5e5;
}

#tta-portal .tta-act-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 8px;
}

#tta-portal .tta-act-icons {
    display: flex;
    gap: 14px;
    color: #8E1537;
    font-size: 1.25rem;
}

/* Banner Envíanos tus Fotos */
#tta-portal .tta-photo-banner {
    background: #8E1537;
    border-radius: 20px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    margin-bottom: 50px;
    box-shadow: 0 15px 35px rgba(142, 21, 55, 0.25);
}

#tta-portal .tta-photo-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

#tta-portal .tta-photo-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

#tta-portal .tta-photo-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

#tta-portal .tta-photo-text p {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.9);
}

#tta-portal .tta-btn-upload {
    background: #ffffff;
    color: #8E1537;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 16px 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#tta-portal .tta-btn-upload:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Redes Sociales */
#tta-portal .tta-social-section {
    text-align: center;
    padding-bottom: 60px;
}

#tta-portal .tta-social-section p {
    font-size: 0.9rem;
    font-weight: 800;
    color: #8E1537;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

#tta-portal .tta-social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

#tta-portal .tta-social-links a {
    color: #8E1537;
    font-size: 1.6rem;
    transition: transform 0.2s ease;
}

#tta-portal .tta-social-links a:hover {
    transform: scale(1.2);
}

@media (max-width: 992px) {
    #tta-portal .tta-photo-banner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 30px 20px;
    }
    #tta-portal .tta-photo-content {
        flex-direction: column;
    }
}