/* ==========================================================================
   NGC Talleres — add-on ngc-asesoria
   Sección incrustada dentro de [ngc_asesoria]. Sin fondos oscuros. Sin emojis.
   ========================================================================== */

/* ── Sección dentro del quiz ────────────────────────────────────── */

.ngc-talleres-section {
    margin: 48px 0;
    font-family: inherit;
    color: inherit;
}

.ngc-talleres-section__header {
    text-align: center;
    margin-bottom: 32px;
}

.ngc-talleres-section__line {
    width: 40px;
    height: 3px;
    background: #E10600;
    margin: 0 auto 16px;
}

.ngc-talleres-section__title {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.2;
}

.ngc-talleres-section__subtitle {
    font-size: 1rem;
    opacity: .8;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.5;
}

.ngc-talleres-section__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ngc-talleres-section__empty {
    text-align: center;
    padding: 40px 20px;
    background: #f7f7f5;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .ngc-talleres-section { margin: 36px 0; }
    .ngc-talleres-section__grid { grid-template-columns: 1fr; gap: 18px; }
    .ngc-talleres-section__title { font-size: 1.4rem; }
}

/* ── Card ─────────────────────────────────────────────────────────── */

.ngc-taller-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ngc-taller-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,.08);
}

.ngc-taller-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #f3f3f1;
    overflow: hidden;
}

.ngc-taller-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ngc-taller-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f3f1 0%, #e8e8e4 100%);
}

.ngc-taller-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #E10600;
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 6px 10px;
    border-radius: 4px;
}

.ngc-taller-card__body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ngc-taller-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.ngc-taller-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: .92rem;
    opacity: .7;
}

.ngc-taller-card__speciality {
    display: inline-block;
    background: #f3f3f1;
    color: #444;
    font-size: .78rem;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 0;
    align-self: flex-start;
}

.ngc-taller-card__desc {
    margin: 4px 0 0;
    line-height: 1.55;
    font-size: .95rem;
}

.ngc-taller-card__adv {
    background: #f7f7f5;
    border-left: 3px solid #E10600;
    padding: 12px 14px;
    margin: 8px 0 0;
    border-radius: 4px;
}

.ngc-taller-card__adv-title {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 8px;
    color: #E10600;
    font-weight: 700;
}

.ngc-taller-card__adv ul {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
    font-size: .9rem;
    line-height: 1.55;
}

.ngc-taller-card__contact {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ngc-taller-card__addr {
    margin: 0;
    font-size: .88rem;
    opacity: .75;
}

.ngc-taller-card__tel,
.ngc-taller-card__web {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: .9rem;
}

.ngc-taller-card__tel a,
.ngc-taller-card__web a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .2s, color .2s;
}

.ngc-taller-card__tel a:hover,
.ngc-taller-card__web a:hover {
    color: #E10600;
    border-bottom-color: #E10600;
}

.ngc-ico {
    flex: 0 0 auto;
    vertical-align: middle;
}

/* ── Admin ────────────────────────────────────────────────────────── */

.ngc-talleres-admin .ngc-media-preview {
    width: 300px;
    aspect-ratio: 16 / 9;
    background: #f3f3f1;
    border: 1px dashed #c3c4c7;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
}

.ngc-talleres-admin .ngc-media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
