/* -------------------------
   Layout
------------------------- */

.ena-news-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.ena-news-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 30px 0;
    border-bottom: 1px solid #e5e5e5; /* elválasztó vonal */
}

/* kép */

.ena-news-thumb img {
    display: block;
    max-width: 320px;
    height: auto;
}

/* jobb oldali tartalom */

.ena-news-body {
    flex: 1;
}

/* felső meta sor: domain + dátum */

.ena-news-meta-top {
    font-size: 11px;
    color: #777;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ena-news-source,
.ena-news-date {
    text-transform: uppercase;
}

.ena-news-source {
    font-weight: 600;
    margin-right: 15px;
}

/* cím */

.ena-news-title {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.3;
}

.ena-news-title a {
    color: #333;
    text-decoration: none;
}

.ena-news-title a:hover {
    color: #000;
    text-decoration: underline;
}

/* bevezető szöveg */

.ena-news-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 12px;
    max-width: 700px;
}

/* Read More gomb */

.ena-news-meta-bottom {
    margin-top: 5px;
}

.ena-news-read-more {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #555;
    background: #555;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.ena-news-read-more:hover {
    background: #333;
    border-color: #333;
    color: #fff;
}

/* -------------------------
   Pagination
------------------------- */

.ena-pagination {
    margin-top: 30px;
    text-align: center;
}

.ena-pagination-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: inline-flex;
    gap: 4px;
}

.ena-pagination-list li a {
    display: block;
    padding: 6px 12px;
    border: 1px solid #ccc;
    background: #f4f4f4;
    color: #444;
    font-size: 14px;
    text-decoration: none;
}

.ena-pagination-list li a:hover {
    background: #e0e0e0;
}

.ena-pagination-list li.active a {
    background: #555;
    border-color: #555;
    color: #fff;
}

.ena-pagination-nextprev a {
    display: inline-block;
    margin: 0 3px;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #555;
    background: #555;
    color: #fff;
    text-decoration: none;
}

.ena-pagination-nextprev a:hover {
    background: #333;
    border-color: #333;
}

.ena-news-author {
    margin-left: 15px;
    margin-right: 15px;
}


/* -------------------------
   Responsive
------------------------- */

@media (max-width: 900px) {
    .ena-news-thumb img {
        max-width: 260px;
    }
}

@media (max-width: 768px) {
    .ena-news-item {
        flex-direction: column;
    }

    .ena-news-thumb img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .ena-news-item {
        padding: 20px 0;
    }

    .ena-news-title {
        font-size: 20px;
    }

    .ena-news-excerpt {
        font-size: 13px;
    }
}
