/* Angeles — Frontend Styles */

/* ── Inicio: secciones por área ── */
.angeles-inicio-area {
    margin-bottom: 48px;
}

.angeles-inicio-area__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
}

.angeles-inicio-area__title {
    font-size: 1.4em;
    font-weight: 700;
    margin: 0;
}

.angeles-inicio-area__title a {
    color: inherit;
    text-decoration: none;
}

.angeles-inicio-area__title a:hover {
    color: #2271b1;
}

.angeles-inicio-area__ver-todo {
    font-size: .85em;
    color: #2271b1;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.angeles-inicio-area__ver-todo:hover {
    text-decoration: underline;
}

.angeles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    padding: 10px 0;
}

.angeles-card-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.angeles-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.angeles-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}

.angeles-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.angeles-card-item:hover .angeles-card-img img {
    transform: scale(1.04);
}

.angeles-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f8;
    font-size: 2.5em;
}

.angeles-card-title {
    padding: 12px 14px 14px;
    font-size: .95em;
    font-weight: 600;
    line-height: 1.3;
    color: #1d2327;
}

.angeles-notice {
    color: #646970;
    font-style: italic;
    padding: 16px 0;
}

.angeles-iframe-wrapper {
    width: 100%;
    height: 85vh;
    min-height: 600px;
}

.angeles-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 600px) {
    .angeles-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
}
