.template-cop30_view .content-center {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
}

.main-cop30 {
  width: 100%;
  display: flex;
  padding: 0;
  margin:  0;
  position: relative;
  background: 
    url('++plone++ebc.agenciagov.images/left-top.png') no-repeat top left,
    url('++plone++ebc.agenciagov.images/right-top.png') no-repeat top right,
    url('++plone++ebc.agenciagov.images/left-bottom.png') no-repeat bottom left,
    url('++plone++ebc.agenciagov.images/right-bottom.png') no-repeat bottom right;
  transition: all 0.3s ease;
}

h2.chamada-cop30 {
  font-size: 24px;
  font-weight: 400;
  color: #725936;
  line-height: 1.3;
  margin: 0 30px 0 0;
  text-align: center;
}

.header-cop30 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #E8E8E8;
}

.header-cop30 .brand img { height: auto; display: block; }

.header-cop30 .primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.header-cop30 .nav-toggle {
  display: none; 
  border: 1px solid #dcdcdc;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.header-cop30 .nav-toggle .icon { margin-left: 8px; }

.header-cop30 .menu {
  display: flex;
  gap: 16px;
  list-style: none;
}

.header-cop30 .menu a {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #725936;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.header-cop30 .menu .span {
  color: #725936;
}

.header-cop30 .menu a:hover { background: #f5f5f5; }

.header-cop30 .menu a[aria-current="page"],
.header-cop30 .menu a.active {
  font-weight: 700;
  text-decoration: underline;
}

.conteudo-cop30 {
  width: 100%;
  max-width: 54.4;
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.lista-de-noticias-cop30 {
  background-color: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 20px;
}

.container-cards-cop30 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.destaque-principal-cop30 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}

.destaque-principal-cop30 .container-img {
  max-width: 50%;
  position: relative;
  z-index: 0;
  display: flex;
  flex-shrink: 0;
}

.destaque-principal-cop30 img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  object-fit: cover;
}

.destaques-secundarios-cop {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 30px;
}

.card-noticia-cop30, 
.card-destaque-secundario-cop30 {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #f1f1f1;
  border: 1px solid #e9e9e9;
  color: #121214;
  border-radius: 5px;
  padding: 20px;
}

.card-destaque-secundario-cop30 {
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1;
  background-color: transparent;
  border: none;
  padding: 0;  
  gap: 16px;
}

.card-noticia-cop30.video .container-img::after,
.card-destaque-secundario-cop30.video .container-img::after,
.destaque-principal-cop30.video .container-img::after {
  content: url('++plone++ebc.agenciagov.images/play-icon.png');
  position: absolute;
  background-color: rgba(0,0,0,0.3);
  width: 100%;
  display: flex;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  filter: brightness(1);
}

.card-noticia-cop30.audio .container-img::after,
.card-destaque-secundario-cop30.audio .container-img::after,
.destaque-principal-cop30.audio .container-img::after {
  content: url('++plone++ebc.agenciagov.images/speaker-icon.png');
  position: absolute;
  left: 5px;
  bottom: 5px;
  z-index: 1;
}

.card-noticia-cop30:hover {
  background-color: #fff;  
}

.card-noticia-cop30:hover,
.card-destaque-secundario-cop30:hover,
.destaque-principal-cop30:hover {
  color: var(--prim-color);
  transition: all 0.7s ease; 
}

.card-noticia-cop30 .container-img {
  width: 100%;
  max-width: 30%; 
  position: relative;
  z-index: 0;
  display: flex;
  flex-shrink: 0;
}

.card-destaque-secundario-cop30 .container-img,
.destaque-principal-cop30 .container-img { 
  position: relative;
  z-index: 0;
  display: flex;
}

.card-noticia-cop30 .container-img img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-destaque-secundario-cop30 .container-img img,
.destaque-principal-cop30 .container-img img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  aspect-ratio: 16 /9;
  object-fit: cover;
}

.tag-cop30 {
  font-size: 13px;
  font-weight: 700;
  color: #725936;
  line-height: 1.5;
}

.titulo-noticia-cop30 {
  font-size: 20px;
  font-weight: 700;
  color: #121214;
  line-height: 1.5;
  margin: 8px 0;
}

.destaque-principal-cop30 .titulo-noticia-cop30 {
  font-size: 32px;
  line-height: 1.3;
}

.resumo-noticia-cop30 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #515151;
  margin-bottom: 8px;
}

.data-container-cop30 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
}

.container-button-cop30 {
  width: 100%;
  position: relative;
}

.container-button-cop30::before{
  content: "";
  width: 100%;
  height: 1px;
  background-color:#725936;
  left: 0;
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
  z-index: 0;
}

.cta-cop30 {
  position: relative;
  background: #725936;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  z-index: 1;
  margin: 20px auto;
  display: block;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-cop30:hover {
  background: #176309;
  transition: all 0.3s ease;
}

aside.cop30 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  height: fit-content;
  max-width: 25.6%;
  position: sticky;
  top: 80px;
}

.titulo-section-cop30 {
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #121214;
  font-weight: 400;
  padding-bottom: 10px;
  border-bottom: 1px solid #E8E8E8;
}

.titulo-section-cop30 .nome-section {  
  font-weight: 700;
}

aside.cop30 a {
  display: flex;
}

aside.cop30 img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

@media screen and (min-width:1400px) {
  aside.cop30 a:hover img {
    transition: all 0.3s ease;
    filter: brightness(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,.3);
  }
}
@media screen and (max-width:1676px) {
  .main-cop30 {
    background-size: 10% auto, 10% auto, 8% auto, 8% auto;
  }
}

@media screen and (max-width:1489px) {
  .main-cop30 {
    background-size: 8% auto, 8% auto, 5% auto, 5% auto;
  }
}

@media screen and (max-width:1216px) {
  .content-center {
    padding: 0 20px;
  }
}

@media (max-width: 980px) {
  .destaque-principal-cop30 {
    flex-direction: column;
  }

  .destaque-principal-cop30 .container-img {
    width: 100%;
    max-width: 100%;
  }
} 

@media (max-width: 768px) {
  .header-cop30 {
    z-index: 100;
    background: #fff;
    flex-direction: column;
  }

  .header-cop30 .primary-nav { justify-content: flex-end; position: relative; width: 100%;}
  .header-cop30 .nav-toggle { display: inline-flex; align-items: center; }

  h2.chamada-cop30 {
    font-size: 16px;
    margin: 0;
  }

  .header-cop30 .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(56px + env(safe-area-inset-top, 0px));
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 12px;
    background: rgba(29, 28, 28, 0.9);
    -webkit-backdrop-filter: saturate(120%) blur(6px);
    backdrop-filter: saturate(120%) blur(6px);
    border-bottom: 1px solid #eaeaea;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    z-index: 99;
    max-height: 70vh;
    overflow: auto;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    border-radius: 5px;
  }

  .header-cop30 .menu.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header-cop30 .menu li { border-bottom: 1px solid #f0f0f0; width: 100%;}
  .header-cop30 .menu li.span {
    display: none;
  }
  .header-cop30 .menu li:last-child { border-bottom: 0; }
  .header-cop30 .menu a {
    display: block;
    padding: 14px 8px;
    border-radius: 8px;
    color: white;
  }

  .header-cop30 .menu a:hover,
  .header-cop30 .menu a:focus-visible {
    
    outline: none;
  }

  .header-cop30 .menu a[aria-current="page"],
  .header-cop30 .menu a.active {
    color: var(--sec-color);
  }

  .header-cop30 .nav-toggle { padding: 10px 14px; border-radius: 10px; width: 100%; justify-content: space-between;}

  /* Overlay atrás do menu */
  .header-cop30.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.08);
    z-index: 98;
  }

  .conteudo-cop30 {
    flex-direction: column;
    max-width: 100%;
  }

  aside.cop30 {
    max-width: 100%;
    position: relative;
    top: 0;
    gap: 12px;
    margin-top: 20px;
  }

  .main-cop30 {
    background: none;
  }

  .header-cop30::after { height: 8px; width: 100%; } 

  .titulo-noticia-cop30 {
    font-size: 14px;
    margin: 4px 0
  }

  .card-noticia-cop30 {
    padding: 10px;
  }

  .destaque-principal-cop30 {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
  } 
  
  .destaque-principal-cop30 .container-img {
    max-width: 100%;
  }

  .destaque-principal-cop30 .titulo-noticia-cop30 {
    font-size: 20px;
    line-height: 1.3;
  }

  .destaques-secundarios-cop {
    flex-direction: column;
  }

  .card-destaque-secundario-cop30 {
    max-width: 100%;
    flex-direction: row;
    align-items: center;
  }

  .card-destaque-secundario-cop30 .container-img {
    max-width: 30%;
    flex-shrink: 0;
  }
  
}

@media screen and (max-width: 480px) {
  .header-cop30 .primary-nav {
    width: 100%;
  }

  .header-cop30 .nav-toggle {
    width: 100%;
    justify-content: space-between;
  } 
}

/* Prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  .header-cop30 .menu { transition: none !important; }
}