/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}


body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

/* Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
header {
    background: #333;
    color: white;
    padding: 20px 0;
}

header p {
    text-align: center;
    color: #ffe3ec;
}

header h1 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 10px;
}

header a {
    font-size: 2.2em;
    }

h1 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #882252;
}

h1 a {
    text-decoration: none;
    color: inherit;
}

nav {
    text-align: center;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: normal;
    transition: color 0.2s;
}


.topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffe1e9;
  padding: 20px 20px;
}

.logo {
  font-size: 17px;
  font-weight: bold;
  color: #333;
}

.logo a {
  font-size: 19px;
  font-weight: normal;
  color: #333;
  text-decoration: none;
  font-family: 'Times New Roman', Times, serif;
}

.site {
  font-size: 18px;
  text-decoration: none;
  font-weight: normal;
}

.site a {
  font-size: 18px;
  color: #333;
  text-decoration: none;
  font-weight: normal;
}

.banner {
  background: linear-gradient(to right, #ffc1d3, #ffe3ec);
  text-align: center;
  padding: 5px 20px;
}

.banner h1 {
  font-size: 42px;
  margin-bottom: 0px;
  color: #333;
}

.banner p {
  font-size: 18px;
  margin-bottom: 10px;
}

.botao {
  padding: 12px 24px;
  background-color: #e91e63;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
}

.noticia-news {
  width: 100%;
  max-width: 90%; /* ou o tamanho máximo que você quer */
  margin: 0 auto;   /* centraliza horizontalmente */
  text-align: center; /* centraliza o conteúdo interno */
  box-sizing: border-box;
  padding: 0 0px; /* garante espaço nas laterais no mobile */
}

.noticia-news .ad-wrapper ins.adsbygoogle {
  display: block !important;
  margin: 0 auto !important; 
}

.noticia-news-2 {
  width: 100%;
  max-width: 1100px;  
  margin: 0 auto;     
  padding: 0 10px;    
  text-align: center;
  box-sizing: border-box;
  border: 1px solid blue;
}

.noticia-news-2 ins.adsbygoogle {
  display: block !important;
  width: 100% !important;       
  max-width: 100% !important;   
  height: auto !important;
  margin: 0 auto !important;    
}

@media screen and (max-width: 480px) {
  .noticia-news-2 ins.adsbygoogle {
    display: block !important;
    width: 100% !important;        /* ocupa container */
    max-width: 100% !important;    /* não ultrapassa o container */
    margin: 0 auto !important;     /* centraliza */
    transform: scale(0.85);        /* reduz o tamanho do banner */
    transform-origin: top center;  /* centraliza ao reduzir */
  }
}



/* Últimas notícias */
.latest-news {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.latest-news h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.latest-news ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-news ul li {
    margin-bottom: 10px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    transition: background 0.2s;
}

.latest-news ul li:last-child {
    border-bottom: none;
}

.latest-news ul li a {
    text-decoration: none;
    color: #882252;
    font-weight: 500;
    transition: color 0.2s;
}


@media screen and (max-width: 768px) {
    .latest-news {
        padding: 15px;
        margin: 30px 15px;
    }

    .latest-news h3 {
        font-size: 1.5rem;
    }
}


/* Notícias */
#news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.news-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.news-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h1 a {
    color: #882252; 
    font-weight: bold;  
    }

.news-content h2 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #882252;
}

.news-content h2 a {
    text-decoration: none;
    color: inherit;
}

.news-content h2 a:hover {
    color: #ffca28;
}

.news-content small {
    color: #666;
    margin-bottom: 10px;
}

.news-content p {
    flex: 1;
    color: #444;
    line-height: 1.9em;
    font-size: 16px;
}



.news-content a {
    color: #333; /* cor do link */
    text-decoration: none; /* remove sublinhado */
    font-weight: normal; /* opcional, deixa mais visível */
    transition: color 0.3s, text-decoration 0.3s;
}



/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer a {
    color: white;
}

/* Responsividade */
@media(max-width:768px){
    header h1 {
        font-size: 1.6em;
    }

    nav a {
        display: block;
        margin: 8px 0;
    }

    .news-item img {
        height: 150px;
    }
}

@media(max-width:480px){
    .news-item img {
        height: 120px;
    }
}

