.container-materia {
    width: min(90%, 800px);
    margin: 3rem auto 0 auto;
    padding-bottom: 2rem;
}

.titulo-materia {
    /*font-family: "all-round-gothic", sans-serif;*/
    /*font-family: "Philosopher", serif;*/
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--marelo);
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.titulo-materia span {
    color: var(--marelo);
    font-weight: 400;
}

.sub-titulo-materia {
    /*font-family: "rockwell", serif;*/
    /*font-family: "all-round-gothic", sans-serif;
    font-weight: 300;*/
    font-family: "Fraunces", serif;
    font-weight: 300;
    font-style: italic;
    color: var(--verdin);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.sub-titulo-dois {
    font-family: "roboto", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    color: var(--marelo);
    margin-top: 5rem;
    margin-bottom: 2rem;
}

.autor-materia {
    font-family: "roboto", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    color: var(--marelo);
    margin-bottom: 3rem;
}

/* PARÁGRAFOS */
.container-materia p {
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 1.8rem;
    color: var(--texto);
}

/* IMAGENS E LEGENDAS SEMÂNTICAS */
figure {
    margin: 3rem 0;
    width: 100%;
}

figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Imagem Pequena com texto contornando (Igual ao arquivo Sem título - 17 de junho de 2026 às 16.34.49-2.jpg) */
.img-pequena {
    float: right;
    width: 45%;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.img-pequena-esq {
    float: left;
    width: 45%;
    margin-right: 2rem;
    margin-bottom: 1.5rem;
}

figcaption {
    font-family: "rockwell", serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--legenda);
    margin-top: 0.4rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

/* CITAÇÕES (Destaques de texto como a fala do Suplicy) */
blockquote {
    margin: 4rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--verdin);
    font-family: "rockwell", serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--marelo);
}

/* AUDIO E VÍDEO NATIVOS LOCAIS */
.midia-local {
    width: 100%;
    margin: 2.5rem 0;
    border-radius: 8px;
    background: #2a3a39;
}

video.midia-local {
    aspect-ratio: 16 / 9;
}

/* BOTÕES ON-HOVER ANIMADOS (Baseados no arquivo Sem título - 17 de junho de 2026 às 16.34.49-5.png) */
.container-botoes {
    display: flex;
    gap: 1.5rem;
    margin: 4rem 0;
    flex-wrap: wrap;
}

.botao-materia {
    background-color: #4f6866; /* Cor padrão sem hover */
    color: var(--texto);
    border: none;
    padding: 0.8rem 2rem;
    font-family: "all-round-gothic", sans-serif;
    font-size: 1.1rem;
    border-radius: 18px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

/* Efeito Hover Suave */
.botao-materia:hover {
    background-color: var(--zuzin);
    color: var(--verdaum);
    transform: translateY(-2px); /* Leve subida para dar sensação de clique */
}

.galeria-grid {
  display: grid;
  /* Cria colunas automáticas de no mínimo 230px que se ajustam aos 800px */
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 15px; /* Espaçamento entre as fotos */
  width: 100%;
  margin-top: 20px;
}

.galeria-grid img {
  width: 100%;
  height: 200px; /* Altura fixa para manter o padrão */
  object-fit: cover; /* Corta a imagem proporcionalmente sem distorcer */
  border-radius: 8px; /* Cantos arredondados elegantes */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Sombra leve */
}

.galeria-carrossel {
  width: 100%; /* Ocupa os 800px do main */
  overflow: hidden; /* Esconde o que passar dos 800px */
  white-space: nowrap;
  background: var(--marelo);
  padding: 10px 0;
  border-radius: 8px;
}

.carrossel-trilho {
  display: inline-block;
  animation: rolarAutomatico 15s linear infinite; /* Altere os 15s para mudar a velocidade */
}

.carrossel-trilho img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  margin-right: 15px;
  border-radius: 6px;
  display: inline-block;
}

/* Animação que move o trilho para a esquerda */
@keyframes rolarAutomatico {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}


.img-grande {
    position: static;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.img-grande img{
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
}

/* =============================================
   PLAYER SPOTIFY
   ============================================= */

.spotify-wrapper {
    margin: 3.5rem 0;
    border-radius: 12px;
    overflow: hidden;           /* Iframe respeita o border-radius */
    background-color: #121212;  /* Cor do tema escuro do Spotify */
    border: 1px solid #2e4342;  /* Borda sutil no tom do site */
}

.spotify-label {
    display: block;
    font-family: "roboto", sans-serif;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--verdin);
    padding: 1rem 1.4rem 0.6rem;
}

.spotify-wrapper iframe {
    display: block;             /* Remove gap inferior do inline */
    border-radius: 0;           /* O wrapper já tem o radius */
}