:root {
    /* Paleta de verde moderna e sofisticada */
    --wpcm-bg-dark: #0f1f0f; /* Verde muito escuro, quase preto */
    --wpcm-bg-secondary: #1a2e1a; /* Verde escuro secundário */
    --wpcm-hover-bg: #234a23; /* Verde médio para hover */
    --wpcm-accent-green: #2d5a3d; /* Verde de destaque */
    --wpcm-mint-accent: #4a7c59; /* Verde mint sutil */

    /* Texto e contraste */
    --wpcm-text-white: #ffffff;
    --wpcm-text-gray: #ffffff; /* Branco puro para melhor contraste */
    --wpcm-text-muted: #e8e8e8; /* Branco levemente acinzentado */

    /* Bordas e detalhes */
    --wpcm-border-gray: #2a3d2a; /* Borda com tom verde escuro */
    --wpcm-border-light: #3d5a3d; /* Borda mais clara */

    --wpcm-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wpcm-news-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.wpcm-news-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    background: linear-gradient(135deg, var(--wpcm-bg-dark) 0%, var(--wpcm-bg-secondary) 100%);
    overflow: hidden;
    font-family: var(--wpcm-font-family);
    border: 1px solid var(--wpcm-border-gray);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.wpcm-main-story {
    width: 100%;
    background: linear-gradient(135deg, var(--wpcm-bg-dark) 0%, var(--wpcm-bg-secondary) 100%);
}

.wpcm-main-content {
    display: flex;
    align-items: stretch;
}

.wpcm-story-info {
    flex: 1;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--wpcm-bg-dark) 0%, var(--wpcm-bg-secondary) 100%);
    position: relative;
    text-align: left !important;
}

/* Sutil linha de destaque verde */
.wpcm-story-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--wpcm-mint-accent) 0%, var(--wpcm-accent-green) 100%);
}

.wpcm-main-headline {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--wpcm-text-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}

.wpcm-main-headline a {
    color: var(--wpcm-text-white);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: left !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}

.wpcm-main-headline a:hover {
    color: var(--wpcm-mint-accent);
    text-shadow: 0 2px 8px rgba(74, 124, 89, 0.4);
}

.wpcm-story-meta {
    margin-bottom: 20px;
}

.story-author {
    font-size: 11px;
    font-weight: 600;
    color: var(--wpcm-mint-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpcm-story-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--wpcm-text-white);
}

.wpcm-story-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--wpcm-bg-secondary) 0%, var(--wpcm-accent-green) 100%);
    height: 500px;
    border-left: 1px solid var(--wpcm-border-gray);
}

.main-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.main-story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
}

.main-image-link:hover .main-story-img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.1);
}

.wpcm-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--wpcm-bg-secondary) 0%, var(--wpcm-accent-green) 100%);
    color: var(--wpcm-text-white);
    font-size: 14px;
    border: 2px dashed var(--wpcm-border-light);
}

.wpcm-no-posts {
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--wpcm-bg-dark) 0%, var(--wpcm-bg-secondary) 100%);
    color: var(--wpcm-text-white);
    border-radius: 12px;
    border: 1px solid var(--wpcm-border-gray);
}

.wpcm-secondary-stories {
    display: flex;
    background: linear-gradient(135deg, var(--wpcm-bg-secondary) 0%, var(--wpcm-bg-dark) 100%);
    border-top: 1px solid var(--wpcm-border-gray);
}

.wpcm-story-card {
    flex: 1;
    padding: 25px 20px;
    background: transparent;
    border-right: 1px solid var(--wpcm-border-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    text-align: left !important;
}

.wpcm-story-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--wpcm-mint-accent) 0%, var(--wpcm-accent-green) 100%);
    transition: width 0.3s ease;
}

.wpcm-story-card:last-child {
    border-right: none;
}

.wpcm-story-card:hover,
.wpcm-story-card.active {
    background: linear-gradient(135deg, var(--wpcm-hover-bg) 0%, var(--wpcm-accent-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wpcm-story-card:hover::before,
.wpcm-story-card.active::before {
    width: 100%;
}

.story-title {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--wpcm-text-white);
    margin: 0;
    text-align: left !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}

.story-title a {
    color: var(--wpcm-text-white);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: left !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}

.story-title a:hover {
    color: var(--wpcm-mint-accent);
}

/* Força estilos mesmo com aplicação inline */
.wpcm-main-headline[style],
.wpcm-main-headline a[style],
.story-title[style],
.story-title a[style] {
    text-align: left !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .wpcm-main-content {
        flex-direction: column;
    }

    .wpcm-story-info {
        order: 2;
        padding: 25px 20px;
    }

    .wpcm-story-info::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
    }

    .wpcm-story-image {
        order: 1;
        height: 280px;
        border-left: none;
        border-bottom: 1px solid var(--wpcm-border-gray);
    }

    .wpcm-main-headline {
        font-size: 28px;
    }

    .wpcm-secondary-stories {
        flex-direction: column;
    }

    .wpcm-story-card {
        border-right: none;
        border-bottom: 1px solid var(--wpcm-border-gray);
        padding: 20px;
    }

    .wpcm-story-card:last-child {
        border-bottom: none;
    }
}
