/* 
Theme Name: Evte News
Layout: Authority (Forbes/Exame Style)
Description: Layout robusto, full-width e focado em autoridade.
*/

:root {
    --auth-bg: #ffffff;
    --auth-text: #111111;
    --auth-gray: #f5f5f5;
    --auth-border: #e0e0e0;
    --auth-meta: #666666;
    /* --auth-primary injetada via PHP */
}

.authority-wrapper {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Georgia', 'Times New Roman', serif;
    /* Fonte serifada para autoridade */
    color: var(--auth-text);
    background: var(--auth-bg);
}

.authority-container {
    max-width: 1400px;
    /* Mais largo que o padrão */
    margin: 0 auto;
    padding: 0 40px;
}

/* Sans-serif para UI elements */
.authority-ticker-bar,
.authority-cat-tag,
.authority-meta,
.auth-cat,
.auth-time,
.auth-section-title,
.auth-section-title-center {
    font-family: 'Inter', sans-serif;
}

/* =========================================
   1. TICKER (Full Width)
   ========================================= */
.authority-ticker-bar {
    background: var(--auth-primary);
    color: #fff;
    display: flex;
    height: 40px;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.authority-ticker-label {
    background: rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 30px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

.authority-ticker-mask {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.authority-ticker-content {
    display: flex;
    gap: 40px;
    animation: auth-ticker 40s linear infinite;
    white-space: nowrap;
    padding-left: 20px;
}

.authority-ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.authority-ticker-time {
    opacity: 0.7;
    font-size: 0.75rem;
}

.authority-ticker-item a {
    color: #fff;
    text-decoration: none;
}

@keyframes auth-ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   2. HERO "THE COVER"
   ========================================= */
.authority-hero {
    padding: 60px 0;
    border-bottom: 1px solid var(--auth-border);
}

.authority-cover {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Texto | Imagem */
    gap: 60px;
    align-items: center;
}

.authority-cover-content {
    display: flex;
    flex-direction: column;
}

.authority-cat-tag {
    display: inline-block;
    color: var(--auth-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.authority-cover-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 20px;
}

.authority-cover-title a {
    color: var(--auth-text);
    text-decoration: none;
    transition: color 0.2s;
}

.authority-cover-title a:hover {
    color: var(--auth-primary);
}

.authority-cover-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--auth-meta);
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
}

.authority-meta {
    font-size: 0.9rem;
    color: #888;
    display: flex;
    gap: 15px;
}

.auth-author {
    font-weight: 700;
    color: var(--auth-text);
}

.authority-cover-image {
    position: relative;
    height: 500px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.authority-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.authority-cover:hover .authority-cover-image img {
    transform: scale(1.02);
}

/* =========================================
   3. POWER GRID
   ========================================= */
.authority-power-grid {
    padding: 60px 0;
    border-bottom: 1px solid var(--auth-border);
}

.auth-grid-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    /* 50% | 25% | 25% */
    gap: 60px;
}

.auth-section-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 800;
    border-bottom: 3px solid var(--auth-primary);
    padding-bottom: 10px;
    margin: 0 0 30px;
    display: inline-block;
}

/* Col 1: Main */
.auth-main-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.auth-card-main {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
    align-items: start;
}

.auth-card-thumb {
    height: 160px;
    border-radius: 4px;
    overflow: hidden;
}

.auth-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-cat {
    display: block;
    color: var(--auth-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.auth-card-title {
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0 0 10px;
    font-weight: 700;
}

.auth-card-title a {
    color: var(--auth-text);
    text-decoration: none;
}

.auth-card-title a:hover {
    color: var(--auth-primary);
}

.auth-card-excerpt {
    font-size: 1rem;
    color: var(--auth-meta);
    line-height: 1.5;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* Col 2: Quick */
.auth-quick-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.auth-item-quick {
    padding: 15px 0;
    border-bottom: 1px solid var(--auth-border);
}

.auth-item-quick:first-child {
    padding-top: 0;
}

.auth-time {
    display: block;
    font-size: 0.75rem;
    color: var(--auth-primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.auth-quick-title {
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0;
    font-weight: 600;
}

.auth-quick-title a {
    color: var(--auth-text);
    text-decoration: none;
}

.auth-quick-title a:hover {
    color: var(--auth-primary);
}

/* Col 3: Opinion */
.auth-col-opinion {
    background: var(--auth-gray);
    padding: 30px;
    border-radius: 4px;
}

.auth-opinion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.auth-card-opinion {
    display: flex;
    flex-direction: column;
}

.auth-opinion-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.auth-author-avatar img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
}

.auth-author-name {
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.auth-opinion-title {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.3;
    margin: 0;
}



.auth-author {
    font-weight: 700;
    color: var(--auth-text);
}

.authority-cover-image {
    position: relative;
    height: 500px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.authority-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.authority-cover:hover .authority-cover-image img {
    transform: scale(1.02);
}

/* =========================================
   3. POWER GRID
   ========================================= */
.authority-power-grid {
    padding: 60px 0;
    border-bottom: 1px solid var(--auth-border);
}

.auth-grid-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    /* 50% | 25% | 25% */
    gap: 60px;
}

.auth-section-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 800;
    border-bottom: 3px solid var(--auth-primary);
    padding-bottom: 10px;
    margin: 0 0 30px;
    display: inline-block;
}

/* Col 1: Main */
.auth-main-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.auth-card-main {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
    align-items: start;
}

.auth-card-thumb {
    height: 160px;
    border-radius: 4px;
    overflow: hidden;
}

.auth-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-cat {
    display: block;
    color: var(--auth-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.auth-card-title {
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0 0 10px;
    font-weight: 700;
}

.auth-card-title a {
    color: var(--auth-text);
    text-decoration: none;
}

.auth-card-title a:hover {
    color: var(--auth-primary);
}

.auth-card-excerpt {
    font-size: 1rem;
    color: var(--auth-meta);
    line-height: 1.5;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* Col 2: Quick */
.auth-quick-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.auth-item-quick {
    padding: 15px 0;
    border-bottom: 1px solid var(--auth-border);
}

.auth-item-quick:first-child {
    padding-top: 0;
}

.auth-time {
    display: block;
    font-size: 0.75rem;
    color: var(--auth-primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.auth-quick-title {
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0;
    font-weight: 600;
}

.auth-quick-title a {
    color: var(--auth-text);
    text-decoration: none;
}

.auth-quick-title a:hover {
    color: var(--auth-primary);
}

/* Col 3: Opinion */
.auth-col-opinion {
    background: var(--auth-gray);
    padding: 30px;
    border-radius: 4px;
}

.auth-opinion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.auth-card-opinion {
    display: flex;
    flex-direction: column;
}

.auth-opinion-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.auth-author-avatar img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
}

.auth-author-name {
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.auth-opinion-title {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.3;
    margin: 0;
}

.auth-opinion-title a {
    color: var(--auth-text);
    text-decoration: none;
}

/* =========================================
   4. SEÇÃO "EM FOCO"
   ========================================= */
.authority-focus {
    padding: 60px 0;
    background: #fff;
    border-bottom: 1px solid var(--auth-border);
}

.auth-focus-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.auth-focus-card-lg {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

.auth-focus-thumb {
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
}

.auth-focus-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.auth-focus-card-lg:hover .auth-focus-thumb img {
    transform: scale(1.03);
}

.auth-focus-title-lg {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 10px 0 15px;
}

.auth-focus-title-lg a {
    color: var(--auth-text);
    text-decoration: none;
}

.auth-focus-title-lg a:hover {
    color: var(--auth-primary);
}

.auth-focus-excerpt {
    font-size: 1.05rem;
    color: var(--auth-meta);
    font-family: 'Inter', sans-serif;
}

/* Side List */
.auth-focus-side {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid var(--auth-border);
    padding-left: 30px;
}

.auth-focus-item-sm {
    padding: 20px 0;
    border-bottom: 1px solid var(--auth-border);
}

.auth-focus-item-sm:first-child {
    padding-top: 0;
}

.auth-focus-item-sm:last-child {
    border-bottom: none;
}

.auth-focus-title-sm {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px;
}

.auth-focus-title-sm a {
    color: var(--auth-text);
    text-decoration: none;
}

.auth-focus-title-sm a:hover {
    color: var(--auth-primary);
}

/* =========================================
   5. SEÇÃO "TECH & INOVAÇÃO" (DARK)
   ========================================= */
.authority-dark {
    padding: 80px 0;
    background: #111;
    color: #fff;
    margin: 40px 0;
}

.auth-dark-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.auth-section-title-dark {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.auth-view-all {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-view-all:hover {
    color: #fff;
}

.auth-dark-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.auth-dark-card {
    display: flex;
    flex-direction: column;
}

.auth-dark-thumb {
    height: 180px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.auth-dark-card:hover .auth-dark-thumb {
    opacity: 1;
}

.auth-dark-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-dark-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
}

.auth-dark-title a {
    color: #fff;
    text-decoration: none;
}

.auth-dark-title a:hover {
    color: var(--auth-primary);
}

.auth-dark-meta {
    font-size: 0.8rem;
    color: #666;
}

/* =========================================
   6. SEÇÃO "ESTILO DE VIDA" (MOSAIC)
   ========================================= */
.authority-mosaic {
    padding: 60px 0;
}

.auth-mosaic-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 30px;
}

.auth-mosaic-thumb-lg {
    position: relative;
    height: 500px;
    border-radius: 4px;
    overflow: hidden;
}

.auth-mosaic-thumb-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.auth-mosaic-card-lg:hover .auth-mosaic-thumb-lg img {
    transform: scale(1.03);
}

.auth-mosaic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.auth-cat-white {
    background: var(--auth-primary);
    color: #fff;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.auth-mosaic-title-lg {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.auth-mosaic-title-lg a {
    color: #fff;
    text-decoration: none;
}

/* Sub Grid */
.auth-mosaic-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.auth-mosaic-thumb-sm {
    height: 160px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.auth-mosaic-thumb-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-mosaic-title-sm {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.auth-mosaic-title-sm a {
    color: var(--auth-text);
    text-decoration: none;
}

.auth-mosaic-title-sm a:hover {
    color: var(--auth-primary);
}

/* =========================================
   7. SEÇÃO "MAIS LIDAS" (NUMBERED)
   ========================================= */
.authority-numbered {
    padding: 60px 0;
    background: var(--auth-gray);
    border-top: 1px solid var(--auth-border);
    border-bottom: 1px solid var(--auth-border);
}

.auth-numbered-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.auth-numbered-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.auth-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--auth-primary);
    line-height: 0.8;
    opacity: 0.3;
}

.auth-numbered-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.auth-numbered-title a {
    color: var(--auth-text);
    text-decoration: none;
}

.auth-numbered-title a:hover {
    color: var(--auth-primary);
}

/* =========================================
   8. MARKET STRIP
   ========================================= */
.authority-market {
    padding: 60px 0;
    background: #fff;
}

.auth-section-title-center {
    font-size: 1.5rem;
    text-align: center;
    font-weight: 800;
    margin: 0 0 40px;
    text-transform: uppercase;
}

.auth-market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.auth-market-card {
    display: flex;
    flex-direction: column;
}

.auth-market-thumb {
    height: 180px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.auth-market-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.auth-market-card:hover .auth-market-thumb img {
    transform: scale(1.05);
}

.auth-market-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.auth-market-title a {
    color: var(--auth-text);
    text-decoration: none;
}

.auth-market-title a:hover {
    color: var(--auth-primary);
}

/* =========================================
   RESPONSIVIDADE (UNBREAKABLE)
   ========================================= */
@media (max-width: 1200px) {
    .authority-cover {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .authority-cover-image {
        height: 400px;
        order: -1;
        /* Imagem acima no tablet */
    }

    .auth-grid-wrapper {
        grid-template-columns: 1.5fr 1fr;
        /* Remove coluna opinião para baixo */
    }

    .auth-col-opinion {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .auth-focus-grid {
        grid-template-columns: 1fr;
    }

    .auth-focus-side {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--auth-border);
        padding-top: 30px;
    }
}

@media (max-width: 768px) {
    .authority-container {
        padding: 0 20px;
    }

    .authority-cover-title {
        font-size: 2.5rem;
    }

    .auth-grid-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-col-opinion {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .auth-market-grid,
    .auth-dark-grid,
    .auth-numbered-grid {
        grid-template-columns: 1fr;
    }

    .auth-card-main {
        grid-template-columns: 1fr;
        /* Stack card main */
    }

    .auth-card-thumb {
        height: 200px;
    }

    .auth-focus-card-lg {
        grid-template-columns: 1fr;
    }

    .auth-mosaic-grid {
        grid-template-columns: 1fr;
    }

    .auth-mosaic-sub {
        grid-template-columns: 1fr;
    }
}