/* archive-colunista.css — Layout moderno, editorial e convidativo */

.archive-colunistas {
    background: var(--paper);
    color: var(--ink);
    padding-bottom: 48px;
}

/* ============================================
   1. HEADER EDITORIAL
   ============================================ */
.colunistas-header {
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    padding: 24px 0 28px;
}

.colunistas-header .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.825rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.colunistas-header .breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.colunistas-header .breadcrumbs a:hover {
    color: var(--brand-ink);
}

.colunistas-header .overline {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-ink);
    margin-bottom: 6px;
}

.colunistas-header .page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 10px;
    color: var(--ink);
}

.text-highlight {
    color: var(--brand-ink);
}

.header-desc {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--muted);
    max-width: 620px;
    margin: 0;
}

/* ============================================
   2. BARRA DESLIZÁVEL DE COLUNISTAS
   ============================================ */
.colunistas-bar-section {
    padding: 24px 0 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.bar-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}

.bar-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink);
}

.bar-hint {
    font-size: 0.8rem;
    color: var(--muted);
    display: none;
}

@media (max-width: 768px) {
    .bar-hint {
        display: inline-block;
    }
}

.colunistas-scroll-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 14px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}

.colunistas-scroll-track::-webkit-scrollbar {
    height: 6px;
}

.colunistas-scroll-track::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 4px;
}

.colunistas-scroll-track::-webkit-scrollbar-track {
    background: transparent;
}

.colunista-chip {
    flex: 0 0 auto;
    width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
    transition: transform 0.15s ease;
    border-radius: 12px;
    padding: 6px;
}

.colunista-chip:hover {
    transform: translateY(-3px);
}

.chip-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
    border: 3px solid var(--brand);
    background: var(--paper-2);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.colunista-chip:hover .chip-avatar {
    border-color: var(--brand-ink);
    box-shadow: 0 6px 14px rgba(10, 122, 136, 0.2);
}

.chip-avatar img,
.chip-avatar .colunista-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chip-avatar .foto-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
}

.chip-name {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.colunista-chip:hover .chip-name {
    color: var(--brand-ink);
}

.chip-role {
    font-size: 0.725rem;
    color: var(--muted);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   3. FEED DE CONTEÚDO (DESTAQUE + GRID)
   ============================================ */
.colunistas-feed-section {
    padding: 40px 0 20px;
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.feed-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0;
    white-space: nowrap;
    color: var(--ink);
}

.feed-line {
    flex: 1;
    height: 2px;
    background: var(--ink);
}

/* Post de Destaque (Lead) */
.coluna-lead-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 36px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.coluna-lead-card:hover {
    border-color: var(--brand-ink);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.coluna-lead-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eee;
}

.coluna-lead-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.coluna-lead-card:hover .coluna-lead-media img {
    transform: scale(1.03);
}

.lead-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

.coluna-lead-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coluna-author-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.author-avatar-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--brand);
    background: var(--paper-2);
}

.author-avatar-link img,
.author-avatar-link .colunista-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-avatar-link .foto-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
}

.author-info-text {
    display: flex;
    flex-direction: column;
}

.author-info-text .author-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.2;
}

.author-info-text .author-name:hover {
    color: var(--brand-ink);
}

.author-info-text .author-role {
    font-size: 0.775rem;
    color: var(--muted);
}

.coluna-author-strip .post-date {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--muted);
}

.coluna-lead-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 12px;
}

.coluna-lead-title a {
    color: var(--ink);
    text-decoration: none;
}

.coluna-lead-title a:hover {
    color: var(--brand-ink);
}

.coluna-lead-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 18px;
}

.read-more-link {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brand-ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.read-more-link:hover {
    color: var(--ink);
    text-decoration: underline;
}

@media (min-width: 900px) {
    .coluna-lead-card {
        grid-template-columns: 1.15fr 1fr;
    }
    .coluna-lead-body {
        padding: 32px 28px;
    }
}

/* Grid de Artigos */
.colunas-articles-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 600px) {
    .colunas-articles-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .colunas-articles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

.coluna-grid-card {
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    display: block;
    position: relative;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.coluna-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}

.grid-card-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
    margin: 0;
}

.grid-card-media img,
.grid-card-media .card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease;
}

.coluna-grid-card:hover .grid-card-media img,
.coluna-grid-card:hover .grid-card-media .card-img {
    transform: scale(1.05);
}

.grid-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px 18px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
    color: #fff;
}

.grid-card-author-inline {
    margin-bottom: 6px;
}

.author-inline-name {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand);
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.grid-card-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   PAGINAÇÃO
   ============================================ */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-list li a,
.pagination-list li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    transition: all 0.15s;
}

.pagination-list li a:hover {
    border-color: var(--brand-ink);
    color: var(--brand-ink);
    background: var(--paper-2);
}

.pagination-list li span.current {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

/* Empty State */
.no-posts-box {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px dashed var(--line);
    max-width: 480px;
    margin: 30px auto;
}

.no-icon {
    display: inline-block;
    color: var(--muted);
    margin-bottom: 12px;
}

.no-posts-box h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0 0 8px;
}

.no-posts-box p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   4. HISTÓRICO DE COLUNISTAS
   ============================================ */
.colunistas-historico-section {
    padding: 36px 0;
    border-top: 1px solid var(--line);
    background: var(--paper-2);
}

.historico-header {
    margin-bottom: 18px;
}

.historico-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0 0 4px;
    color: var(--ink);
}

.historico-desc {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
}

.historico-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.historico-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    text-decoration: none;
    color: var(--ink);
    transition: border-color 0.15s, transform 0.15s;
}

.historico-chip:hover {
    border-color: var(--brand-ink);
    transform: translateY(-2px);
}

.historico-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e8f0;
}

.historico-avatar img,
.historico-avatar .colunista-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%);
}

.historico-chip:hover .historico-avatar img {
    filter: grayscale(0%);
}

.historico-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.825rem;
}

/* ============================================
   5. CTA NOVO COLUNISTA
   ============================================ */
.colunistas-cta-section {
    padding: 32px 0 10px;
}

.cta-inner {
    background: var(--brand);
    color: var(--ink);
    border-radius: 14px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .cta-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 36px 40px;
    }
}

.cta-badge {
    display: inline-block;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.cta-text h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    line-height: 1.2;
    margin: 0 0 8px;
    color: var(--ink);
}

.cta-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    max-width: 540px;
    color: var(--ink);
    opacity: 0.9;
}

.cta-action .btn-primary {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.15s, background-color 0.15s;
}

.cta-action .btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    color: #fff;
}
