.featured-grid {
  padding: 1.5rem;
}
.featured-card {
  background: #fff;
  color: #333;
  overflow: hidden;
  /*width: calc(25% - 20px);*/
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.featured-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-content{
  padding: 20px 15px;
}
.card-content h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}
.card-content .position {
  font-size: 14px;
  color: #ff0099;
  margin-bottom: 10px;
  display: flex;
  column-gap: 0.5rem;
  align-items: center;
}
.company {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 10px;
}
.company img {
  width: 100%;
  height: 100%;
  margin-right: 5px;
}
.achievements {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}
.achievements li {
  list-style: none;
   font-size: 14px;
  margin-bottom: 5px;
}

.achievements li img {
  height: 16px;
  margin-right: 5px;
  margin-right: 5px;
  color: #ff0099;
}
.profile-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-link a {
  font-size: 14px;
  color: #222222;
  text-decoration: none;
  display: flex;
  align-items: end;
  column-gap: .5rem;
}

.profile-link i {
  font-size: .8rem;
  transition: .4s ease;
}

.profile-link:hover i {
  transform: translateX(3px);
}

/** News Post Style */
.news-list {
  width: 100%;
}
.news-list .news-item {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.news-list .news-item .news-image {
  width: 300px;
  height: 200px;
}
.news-list .news-item .news-image img {
  width: 100%;
  height: 100%;
}
.news-list .news-item .news-details {
  width: 70%;
}
.news-list .news-item .news-details article {
  display: flex;
  align-items: baseline;
  column-gap: 0.5rem;
  margin-bottom: 1rem;
}
.news-list .news-item .news-details article .news-tag {
  padding: 5px 10px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: bold;
  background-color: #A17D24;
}
.news-item .news-details article .news-tag a{
  color: #ffffff;
}
.news-item .news-details article .news-date {
  display: flex;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  margin-bottom: 10px;
  align-items: center;
  column-gap: 0.35rem;
}
.news-item .news-details h3 a{
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #222222;
}
.news-item .news-details p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
}
.news-item .news-details .btn-view-more{
    font-size: 0.8rem;
    transition: 0.4s ease;
}
.news-item .news-details .btn-view-more {
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    column-gap: 0.75rem;
    background-color: transparent;
    border: none;
}

/* Responsivo */
@media (max-width: 1024px) {
  .news-list .news-item {
    position: relative;
    flex-direction: column;
}
.news-list .news-item .news-image {
    width: 100%;
    height: auto;
    max-height: 250px;
}
.news-list .news-item .news-details {
    width: 100%;
}
}

/**Responsive Search filter**/

/* Tablet Layout: 768px. */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .featured-grid {
    padding: 1.5rem;
    max-width: 100%;
  }
}

/* Mobile Layout: 320px. */
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .featured-grid {
    padding: 1rem;
    max-width: 100%;
  }
  .featured-card {
    height: auto;
    margin-bottom: 1.5rem;
  }
  .featured-card .card-image img {
    height: 160px;
  }
  .card-content {
    padding: 15px 10px;
  }
  .card-content h3 {
    font-size: 16px;
  }
  .company,
  .card-content .position,
  .achievements li {
    font-size: 13px;
  }
  .news-list .news-item {
    flex-direction: column;
    gap: 10px;
  }
  .news-list .news-item .news-image {
    width: 100%;
    height: 330px;
    max-height: 420px;
  }
  .news-list .news-item .news-details {
    width: 100%;
  }
  .events-list {
    padding: 10px;
  }
  .events-list h3 {
    font-size: 16px;
  }
  .events-list .event-item h4 {
    font-size: 15px;
  }
  .galery-section-content {
    padding: 2rem 0.5rem;
  }
  .type-content {
    width: 100%;
    flex-direction: column;
    row-gap: 0.5rem;
  }
  .type-content .item-type {
    width: 100%;
    font-size: 0.95rem;
  }
  .tab-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tab-gallery-grid .gallery-item img {
    width: 100%;
    height: 120px;
  }
}


@media (max-width: 600px) {
  .news-list .news-item h3 a {
    font-size: 16px;
    text-align: left;
  }
  .news-list .news-item p {
    font-size: 13px;
    text-align: left;
    position: relative;
  }
  .news-list .news-item .btn-view-more {
    width: 100%;
  }
}

/** Event list **/
 .events-list {
  width: 100%;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
}
.events-list{
  width: 100%;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
}
 .events-list h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #A17D24;
}
 .events-list .event-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.75rem;
}
 .events-list .event-item h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}
 .events-list .event-item .event-date, 
 .events-list .event-item .event-location, 
 .events-list .event-item .event-participants {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}
 .events-list .event-item .event-date i, 
 .events-list .event-item .event-location i, 
 .events-list .event-item .event-participants i {
  margin-right: 5px;
  color: #A17D24;
}
 .events-list .event-item .event-register{
  font-size: 16px;
  font-weight: 500;
  background-color: transparent;
  color: #222222;
  border: none;
  padding: 5px 10px;
  width: 100%;
  text-align: center;
  margin: 0.35rem 0;
}
 .events-list .event-item .event-register:hover{
  background-color: #A17D24;
  color: #fff;
}
 .events-list .event-item .event-register>a{
  /*background-color: #A17D24;*/
  color: #222222;
}
 .events-list .event-item .event-register:hover>a{
  /*background-color: #A17D24;*/
  color: #fff;
}

/** Galeria **/

.btn-galery {
  color: #fff;
  margin: 2rem 0;
}
.galery-section-content{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /*padding: 4rem 1rem;*/
}
.type-content {
  background-color: #212225;
  padding: 4px;
  display: flex;
  column-gap: 0.5rem;
  width: 50%;
  margin-bottom: 2rem;
}
.type-content .item-type {
  padding: 0.45rem 0;
  color: #CECECE;
  width: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
}
.type-content .item-type.active, .type-content .item-type:hover {
  background-color: #335F46;
}
.gallery-grid {
  display: grid;
  gap: 1rem;
}
.tab-gallery-grid{
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}
.tab-gallery-grid .gallery-item img {
  width: 290px;
  height: 180px;
}
.btn-view-more-galery {
    color: #fff;
    margin: 2rem 0;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    text-align: center;
    border: none;
}
.tab-button i {
    margin-right: 8px;
    vertical-align: middle;
    max-height: 18px;
}

/* ========================= */
/* RESPONSIVIDADE */
/* ========================= */

/* Tablet */
@media (max-width: 1024px) {
  .type-content {
    width: 70%;
  }
  .type-content .item-type {
    width: 45%;
    font-size: 0.9rem;
  }
}
/* Mobile */
@media (max-width: 767px) {
  .type-content {
    width: 100%;
  }
  .type-content .item-type {
    width: 100%; /* Cada botão ocupa toda a largura */
    font-size: 0.85rem;
  }
}
/*
.gallery .section-content .parceiro {
  width: 55%;
  margin: 2rem 0;
}
.gallery .section-content .img-parceiros {
  display: flex;
  align-items: center;
  column-gap: 1.75rem;
}
.gallery .section-content .img-parceiros .par-item {
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery .section-content .img-parceiros .par-item img {
  width: 104px;
  height: 104px;
}
.gallery .section-content .img-parceiros .mirempet {
  background-color: #FFFFFF;
}
.gallery .section-content .img-parceiros .sonangol {
  background-color: #FCE302;
}
.gallery .section-content .img-parceiros .total {
  background-color: #FFFFFF;
}
.gallery .section-content .img-parceiros .bp {
  background-color: #FFFFFF;
}
.gallery .section-content .img-parceiros .eni {
  background-color: #F5E54D;
}*/