﻿/* Layout principal */
/* .noticias{
    background: #f7f8f9;
} */
.news-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  justify-content: start;
}

/* Card individual */
.news-card {
  background-color: #fff;
  overflow: hidden;
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  /* border: 1px solid transparent; */
  /* border: 1px solid #eee; */
  border-radius: 5px;
}

/* .news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
} */

.news-card:hover{
	/* border: 1px solid #333; */
    text-decoration: none;
  background-color: #F7F8FA;
}

.news-card a:hover{
  text-decoration: none!important;
}

.news-card .link{
  display: flex;
  color: #333;
  border: none;
  padding: 0px;
  align-items: flex-end;
  gap: 5px;
  font-weight: 300;
  font-size: 1rem;
}

.news-card .link .content{
	border-bottom: 2px solid transparent;
}
.news-card:hover .link .content{
	border-bottom: 2px solid;
}

.news-card:hover .link > span.icone-outlined,
.news-card .link > span.icone-filled{
	display: none;
    color: #333;
}
.news-card:hover .link > span.icone-filled,
.news-card .link > span.icone-outlined{
	display: block;
    color: #333;
}

/* Imagem */
.news-image,
.news-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* Conteúdo */
.news-content {
  padding: 15px 15px 30px;
}

.news-date {
  display: block;
  font-size: 1em;
  color: #3f7450;
  font-weight: 100;
  margin-bottom: 8px;
  text-transform: uppercase;
}


.news-title {
  font-size: 1.2em!important;
  color: #000!important;
  line-height: 1.4;
  font-weight: 400!important;
  margin: 5px 0 15px 0;
  display: inline-block;
}

.custom-select a.selected {
    font-weight: 600;
    color: #1a73e8;
}

.custom-select a.selected::before {
    content: "✓ ";
}





/* Responsividade */
@media (max-width: 600px) {
  .news-image {
    height: 200px;
  }
  .news-title {
    font-size: 15px;
  }
  .news-section {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 50px;
    justify-content: start;
  }
}


/* Botão inferior */
.more-news {
  text-align: center;
  margin: 50px 40px;
}


.link-new{
  display: flex;
  justify-content: center;
}

.link-new a{
  display: flex;
  color: #333!important;
  border: none;
  padding: 0px;
  align-items: flex-end;
  gap: 15px;
  padding: 20px;
  /* border: 1px solid; */
  border-radius: 4px;
  border-bottom: none!important;
}

.link-new a > span.icone-filled,
.link-new a:hover > span.icone-outlined{
  display: none;
  color: #333;
  font-size: 1.7rem;
}
.link-new a > span.icone-outlined,
.link-new a:hover > span.icone-filled{
  display: block;
  color: #333;
  font-size: 1.7rem;
}

.link-new a .content{
	border-bottom: 2px solid transparent;
  font-weight: 400;
  font-size: 1.2rem;
}
.link-new a:hover{
	text-decoration: none!important;
}
.link-new a:hover .content{
	border-bottom: 2px solid;
}

.todas-noticias{
  margin-top: 40px;
}



/********** News Info **********/
.news-info{
  margin-top: 40px;
}

.news-info-media{
  grid-column: 5 / 7;
}


.news-info-media img{
  width: 100%;
}




.news-info-media .tags {
    font-size: 0.7rem;
    color: var(--darkgrey);
    margin: 20px 0;
}

    .news-info-media .tags a {
      color: #333333 !important;
      padding: 3px 10px;
      display: inline-block;
      margin-right: 15px;
      font-weight: 300;
      border: 1px solid #333333;
      border-radius: 25px;
      font-size: 0.9rem !important;
      background-color: white;
    }

        .news-info-media .tags a:hover {
            text-decoration: none!important;
            border: 1px solid #DE2D3B;
        }

        .news-info-content{
          grid-column: 1 / 5;
        }

        .news-info-content .social{
          display: flex; justify-content: space-between; align-items: center;
        }


        .news-info-shared{
          margin-top: 60px;
        }

        .news-info-shared ul{
          list-style: none; 
          padding-left: 0; 
          display: flex; 
          gap: 25px; 
          margin-top: 20px;
          /*margin-left: 40px!important;*/
        }

        .news-info-shared ul li{
          padding: 0px!important;
          margin: 0px!important;
        }

        .news-info-shared ul li a{
          display: flex;
          align-items: flex-end;
          gap: 5px;
          color: #333333 !important;
          border-bottom: 2px solid transparent;
          padding-bottom: 5px;
        }

        .news-info-shared ul li a:hover{
          text-decoration: none;
          cursor: pointer;
          color: #333333!important;
          border-bottom: 2px solid;
        }



.news-date {
    display: block;
    font-size: 1rem;
    color: #333333;
    font-weight: 100;
    text-transform: none;
    margin-top: 15px;
    margin-bottom: 15px;
}

        /********** Shared Area on News **********/
/* .shared-area {
    margin: 15px 0;
}
.shared-area .btn {
    font-size: 0.8rem!important; 
    line-height: 2; 
    margin: 0px; 
    padding: 2px 15px;
    background-color: white;
    color: black!important;
}
.shared-area .btn:hover {
    color: white!important;
    text-decoration: none;
}
.shared-area .dropdown-share-links {
    position: relative; 
    display: inline-block;
}
.shared-area .dropdown-content {
    display: none;
    position: absolute;
    top: 37px;
    background-color: white;
    min-width: 160px;
    border: 1px solid #ccc;
    -webkit-box-shadow: 0px 1px 10px rgba(0,0,0,.2);
    box-shadow: 0px 1px 10px rgba(0,0,0,.2);
    z-index: 1;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, 0) !important;
    margin:0px;
}

.shared-area .dropdown-content::before {
    bottom: 100%;
    border: solid;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    top: -14px;
    left: 81px;
    border-color: rgba(0,0,0,0);
    border-bottom-color: #aaa;
    border-width: 8px;
    margin-left: -7px;
    margin-top: -2px;
}

.shared-area .dropdown-content::after {
    bottom: 100%;
    border: solid;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    top: -14px;
    left: 81px;
    border-color: rgba(0,0,0,0);
    border-bottom-color: #fff;
    border-width: 7px;
    margin-left: -6px;
}

.shared-area .dropdown-content .twitter .round {
    width: 15px;
    height: 15px;
    display: inline-block;
    background-color: #f1f1f1;
    border-radius: 50%;
    padding: 5px 4px 5px 7px;
    position: relative;
    left: -7px;
    top: 0px;
}

.shared-area .dropdown-content img {
    box-shadow: unset !important;
    width: 13px;
}
.shared-area .dropdown-content svg {
    width: 16px;
    height: 16px;
    position: relative;
    left: -2px;
}
.shared-area .dropdown-content li {
    list-style:none;
    margin: 0;
}
.shared-area .dropdown-content a {
    color: black; 
    padding: 10px 16px 10px 25px; 
    text-decoration: none; 
    font-size: 0.8rem; 
    display: flex;
    align-items: center;
}
.shared-area .dropdown-content a i {
    position: relative;
    left: -8px;
    top: 0px;
    font-size: 11pt;
    min-width: 15px;
    background-color: #f1f1f1;
    padding: 6px;
    border-radius: 50%;
}
.shared-area .dropdown-content a:hover {color: #14774c; cursor: pointer; text-decoration: none;}
.shared-area .show {display: block; padding-left: 0;}

.shared-area .dropdown-content a i::before {
    display: flex;
    justify-content: space-evenly;
} */