.news-feed {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 20px;
}

.page-header-center {
    text-align: center;
    margin-bottom: 40px;
}

.page-title-main {
    font-size: 2.5rem;
    color: #028090;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #555;
}

.news-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

/* Ad Card Style - Interna Pocus Theme - Full Image Overlay */
.ad-card {
    position: relative;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    min-height: 250px;
    /* Garante altura suficiente */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Imagem de Fundo */
.ad-bg-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ad-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay Escuro para Legibilidade */
.ad-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(74, 20, 140, 0.7), rgba(123, 31, 162, 0.4));
    /* Roxo com transparência */
    z-index: 2;
}

/* Conteúdo sobre a imagem */
.ad-content-wrapper {
    position: relative;
    z-index: 3;
    padding: 30px;
    width: 100%;
    max-width: 600px;
}

.ad-title {
    color: #fff;
    /* Texto branco */
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ad-text {
    color: #f3e5f5;
    /* Off-white lilás */
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.ad-btn {
    display: inline-block;
    background-color: #fff;
    /* Botão branco para contraste */
    color: #7b1fa2;
    /* Texto roxo */
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ad-btn:hover {
    background-color: #f3e5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: #4a148c;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.news-meta {
    font-size: 0.9em;
    color: #888;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-meta i {
    color: #028090;
}

.news-title {
    font-size: 1.8em;
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-weight: 700;
    line-height: 1.3;
}

.news-content {
    line-height: 1.8;
    color: #4a5568;
    font-size: 1.05rem;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-delete-news {
    background: #fee2e2;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    transition: background 0.2s;
}

.btn-delete-news:hover {
    background: #fecaca;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content-lg {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}