/* ══════════════════════════════════════
   EXColumnas — Columnas de opinión
   ══════════════════════════════════════ */

.ex-col {
    padding: 80px 0;
    background: var(--white);
}
.ex-col__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--px-mobile);
}
@media (min-width: 768px) {
    .ex-col__container { padding: 0 3rem; }
}

/* Header */
.ex-col__header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .ex-col__header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.ex-col__tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.ex-col__tag-line {
    width: 40px;
    height: 2px;
    background: var(--analdex-yellow);
    border-radius: 9999px;
}
.ex-col__tag-text {
    color: #0C256A;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ex-col__title {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--analdex-navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
@media (min-width: 768px) { .ex-col__title { font-size: 3rem; } }

.ex-col__subtitle {
    color: var(--gray-400);
    font-size: 14px;
    font-weight: 300;
    max-width: 448px;
}

.ex-col__badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--amber-50);
    border: 1px solid var(--amber-200);
    border-radius: 16px;
    padding: 12px 20px;
    flex-shrink: 0;
}
.ex-col__badge-icon { color: var(--amber-600); flex-shrink: 0; }
.ex-col__badge-text { color: var(--amber-700); font-size: 12px; font-weight: 600; }

/* Filters */
.ex-col__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}
.ex-col__filter-btn {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 9999px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-500);
    transition: all 0.2s;
}
.ex-col__filter-btn:hover {
    border-color: rgba(27,47,107,0.3);
    color: var(--analdex-navy);
}
.ex-col__filter-btn--active {
    background: var(--analdex-navy);
    color: #fff;
    border-color: var(--analdex-navy);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

/* Columna destacada */
.ex-col__destacada {
    margin-bottom: 32px;
}
.ex-col__dest-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    min-height: 380px;
    transition: all 0.5s;
}
.ex-col__dest-card:hover {
    border-color: hsla(45,100%,50%,0.3);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}
@media (min-width: 768px) { .ex-col__dest-card { flex-direction: row; } }

.ex-col__dest-img-wrap {
    position: relative;
    height: 256px;
    overflow: hidden;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .ex-col__dest-img-wrap { width: 55%; height: auto; }
}
.ex-col__dest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}
.ex-col__dest-card:hover .ex-col__dest-img { transform: scale(1.05); }
.ex-col__dest-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, hsla(220,76%,20%,0.6), hsla(220,76%,20%,0.2), transparent);
}

/* Badges on image */
.ex-col__dest-badge-tema {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 9999px;
    border: 1px solid;
}
.ex-col__dest-badge-dest {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 9999px;
    background: var(--analdex-yellow);
    color: var(--analdex-navy);
}

/* Dest content */
.ex-col__dest-body {
    flex: 1;
    background: var(--gray-50);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (min-width: 768px) { .ex-col__dest-body { padding: 40px; } }
.ex-col__dest-accent {
    width: 40px;
    height: 2px;
    background: hsla(45,100%,50%,0.4);
    border-radius: 9999px;
    margin-bottom: 20px;
    transition: all 0.5s;
}
.ex-col__dest-card:hover .ex-col__dest-accent {
    width: 64px;
    background: var(--analdex-yellow);
}
.ex-col__dest-titulo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--analdex-navy);
    line-height: 1.2;
    margin-bottom: 16px;
}
@media (min-width: 768px) { .ex-col__dest-titulo { font-size: 1.875rem; } }
.ex-col__dest-extracto {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.7;
}

/* Dest footer */
.ex-col__dest-footer {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ex-col__dest-autor {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ex-col__dest-autor-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    flex-shrink: 0;
}
.ex-col__dest-autor-nombre { color: var(--analdex-navy); font-weight: 900; font-size: 14px; }
.ex-col__dest-autor-cargo { color: var(--gray-400); font-size: 12px; }
.ex-col__dest-autor-empresa { color: var(--analdex-yellow); font-size: 12px; font-weight: 700; }

.ex-col__dest-meta {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
@media (min-width: 768px) { .ex-col__dest-meta { display: flex; } }
.ex-col__dest-meta-info { color: var(--gray-400); font-size: 12px; display: flex; gap: 12px; }
.ex-col__dest-meta-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--analdex-navy);
    color: #fff;
    font-weight: 900;
    font-size: 12px;
    padding: 10px 20px;
    border-radius: 9999px;
    transition: all 0.3s;
}
.ex-col__dest-meta-cta:hover {
    background: var(--analdex-yellow);
    color: var(--analdex-navy);
}

/* Grid cards */
.ex-col__grid {
    display: grid;
    gap: 20px;
}
@media (min-width: 640px) { .ex-col__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ex-col__grid { grid-template-columns: repeat(4, 1fr); } }

.ex-col__card {
    background: var(--white);
    border-radius: 24px;
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.5s;
}
.ex-col__card:hover {
    border-color: hsla(45,100%,50%,0.25);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.ex-col__card-img-wrap {
    position: relative;
    height: 160px;
    overflow: hidden;
    flex-shrink: 0;
}
.ex-col__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}
.ex-col__card:hover .ex-col__card-img { transform: scale(1.05); }
.ex-col__card-img-overlay {
    position: absolute;
    inset: 0;
    background: hsla(220,76%,20%,0.3);
    transition: background 0.3s;
}
.ex-col__card:hover .ex-col__card-img-overlay { background: hsla(220,76%,20%,0.1); }
.ex-col__card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 9999px;
    border: 1px solid;
}
.ex-col__card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ex-col__card-accent {
    width: 24px;
    height: 2px;
    background: hsla(45,100%,50%,0.4);
    border-radius: 9999px;
    margin-bottom: 12px;
    transition: all 0.3s;
}
.ex-col__card:hover .ex-col__card-accent {
    width: 40px;
    background: var(--analdex-yellow);
}
.ex-col__card-titulo {
    color: var(--analdex-navy);
    font-weight: 900;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    flex: 1;
}
.ex-col__card-extracto {
    color: var(--gray-400);
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ex-col__card-autor {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}
.ex-col__card-autor-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    flex-shrink: 0;
}
.ex-col__card-autor-nombre { color: var(--analdex-navy); font-weight: 900; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-col__card-autor-meta { color: var(--gray-400); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-col__card-cta-wrap { padding: 0 20px 20px; }
.ex-col__card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 1px solid var(--gray-200);
    color: var(--analdex-navy);
    font-weight: 900;
    font-size: 11px;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s;
}
.ex-col__card:hover .ex-col__card-cta {
    border-color: var(--analdex-navy);
    background: var(--analdex-navy);
    color: #fff;
}

/* Tema color classes */
.tema-politica { background: var(--orange-50); color: var(--orange-700); border-color: var(--orange-100); }
.tema-exportaciones { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-100); }
.tema-logistica { background: var(--green-50); color: var(--green-700); border-color: var(--green-100); }
.tema-aduanas { background: var(--purple-50); color: var(--purple-700); border-color: var(--purple-100); }
.tema-sostenibilidad { background: var(--teal-50); color: var(--teal-700); border-color: var(--teal-100); }

/* Empty state */
.ex-col__empty {
    text-align: center;
    padding: 80px 0;
    color: var(--gray-400);
    font-size: 14px;
}