/* Modern CSS for lista-titulos.php */

:root {
    --lt-primary-color: #002c6d;
    --lt-secondary-color: #ffd300;
    --lt-bg-color: #f4f7f6;
    --lt-card-bg: #ffffff;
    --lt-text-color: #333333;
    --lt-text-light: #666666;
    --lt-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --lt-shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.15);
    --lt-radius: 12px;
    --lt-transition: all 0.3s ease;
}

.lt-wrapper {
    background-color: var(--lt-bg-color);
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
    min-height: 80vh;
}

.lt-container {
    max-width: 1200px;
    margin: 0 auto;
}

.lt-header {
    text-align: center;
    margin-bottom: 50px;
}

.lt-title {
    font-size: 2.5rem;
    color: var(--lt-primary-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.lt-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--lt-secondary-color);
    border-radius: 2px;
}

.lt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.lt-card {
    background-color: var(--lt-card-bg);
    border-radius: var(--lt-radius);
    box-shadow: var(--lt-shadow);
    transition: var(--lt-transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.lt-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--lt-shadow-hover);
}

.lt-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lt-card-image-wrapper {
    background-color: #f8f9fa;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    border-bottom: 1px solid #eee;
}

.lt-card-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--lt-transition);
}

.lt-card:hover .lt-card-image {
    transform: scale(1.05);
}

.lt-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.lt-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--lt-primary-color);
    margin: 0;
    line-height: 1.4;
}

.lt-card-footer {
    padding: 15px 25px;
    background-color: var(--lt-primary-color);
    color: white;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(100%);
    transition: var(--lt-transition);
    margin-top: auto;
}

.lt-card:hover .lt-card-footer {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .lt-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .lt-title {
        font-size: 2rem;
    }
}
