/***** Latest news and updates Section 
*************************************/
.latest-news {
  max-width: 1920px;
  margin: 0 auto;
  background: #fff;
}

.latest-news .content {
  max-width: 1604px;
  padding: 65px 30px 60px;
  margin: 0 auto;
}

.latest-news .content h2 {
  color: #000;
  font-family: var(--font-medel);
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 60px;
  text-transform: uppercase;
  padding-bottom: 22px;
}

.latest-news .content .wrapper {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.latest-news .wrapper .item {
  max-width: calc(25% - 18.75px);
  width: calc(25% - 18.75px);
}

/*************** Posts Wrapper Section
*************************************/

.post-wrapper .content {
  max-width: 1604px;
  padding: 70px 30px 120px;
  margin: 0 auto;
}

.post-wrapper .tab-contents .wrapper {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.post-wrapper .tab-contents .wrapper .item {
  max-width: calc(25% - 18.74px);
  width: calc(25% - 18.74px);
}

.post-wrapper .tab {
  overflow: hidden;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding-bottom: 38px;
  flex-wrap: wrap;
}

.post-wrapper .tab a {
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font-weight: 600;
  line-height: 32px;
}

.post-wrapper .tab a:hover {
  color: #fff;
  background-color: #000;
}

.post-wrapper .tab a.active {
  color: #fff;
  background-color: #000;
}

.post-wrapper .tab a:not(.active) .tag-icon img {
  filter: invert(1);
}

.post-wrapper .tab a:hover .tag-icon img {
  filter: unset;
}

.post-wrapper .tabcontent {
  display: none;
}

.post-wrapper .view-all-btn a {
  color: #000;
}

/************** Community Area Section
*************************************/

.community-area {
  background-image: url(../images/community_bg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 30px;
}

.community-area .content {
  max-width: 837px;
  margin: 0 auto;
  text-align: center;
  padding: 195px 0 220px;
}

.community-area .content h2 {
  color: #fff;
  text-align: center;
  font-family: var(--font-medel);
  font-size: 2.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 60px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.community-area .content span, .community-area .content p, .email a {
  color: #fff;
  text-align: center;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  margin-top: 25px;
}
.email{
  margin-top: 25px;
}
.email a {
  text-transform: lowercase;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
}

@media screen and (max-width: 1439px) {
  .post-wrapper .tab-contents .wrapper .item,
  .latest-news .wrapper .item {
    max-width: calc(33.33% - 17px);
    width: calc(33.33% - 17px);
  }

  .post-wrapper .tab-contents .wrapper .item:nth-child(n + 7) {
    display: none;
  }
}

@media screen and (max-width: 990px) {
  .features form{
    flex-direction: column;
    padding-bottom: 10px;
  }

  .features form button,
  .features form input[type="submit"]
  .features form input{
    width: 100%;
  }

/*   .features form input{
    border-radius: 4px 4px 0 0;
  } */

/*   .features form button,
  .features form input[type="submit"]{
    border-radius: 0 0 4px 4px;
	max-width: 100%;
	width: 638.4px;
    margin: 0 auto;
  } */
  
  .post-wrapper .tab-contents .wrapper .item,
  .latest-news .wrapper .item {
    max-width: calc(50% - 12.5px);
    width: calc(50% - 12.5px);
  }
}

@media screen and (max-width: 767px) {	
  .community-area .content {
    padding: 92px 0px;
  }

  .community-area .content h2 {
    text-align: center;
    font-family: var(--font-medel);
    font-size: 2.375rem;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    text-transform: uppercase;
  }

  .community-area .content p {
    text-align: center;
    font-style: normal;
    font-weight: 400;
  }

  .email a {
    text-align: center;
    font-family: var(--font-medel);
    font-style: normal;
    font-weight: 400;
    line-height: 45px;
    text-transform: lowercase;
    text-underline-offset: 16px;
  }
}

@media screen and (max-width: 640px) {
  .post-wrapper .tab-contents .wrapper .item,
  .latest-news .wrapper .item {
    max-width: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 575px) {
  .latest-news .content {
    padding: 65px 20px 60px;
  }
}

@media screen and (max-width: 320px) {
	.community-area .content h2 {
		font-size: 2rem;
		line-height: 40px;
	}
}
