/* Main */
.fuw-main {
  margin: 1rem 4rem;
  display: grid;
  grid-template-columns:  repeat(auto-fit, minmax(320px, 1fr));  
  grid-gap: 10px;
  align-content: center;
}


.main-section {
  border-right: 1px solid #ccc;
}

.fuw-card {
  
  border-radius: 0.3rem;
  overflow: hidden;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.misvis {
  border-top: 6px solid var(--primaryColor);
}

.card-content {
  padding: 1rem;
  transition: all 0.2s ease-in-out;
}

.card-content:hover {
  background: var(--navBgColor);
  color: var(--whiteColor);
}

.card-content h4 {
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.card-link {
  display: flex;
  justify-content: flex-end;
}

.news {
  padding: 2rem 0;
  margin: 2rem 0;
}

.news-section {
  background: linear-gradient(to bottom, #38c172, #12283a);
  width: 100%;
  height: auto;
  margin: 1rem 0;
  padding-bottom: 2rem;
}

.news-section > img{
  background-size: cover;
}

.news-heading {
  color: var(--whiteColor);
  font-size: 2.6rem;
  font-family: var(--secondaryFont);
  margin: 2rem 0 4rem 4rem;
}

.news-card {
  overflow: hidden;
  box-shadow: rgba(255, 255, 255, 0.2) 0px 2px 8px 0px;
  background: var(--whiteColor);
  border-radius: 0.5rem;
  margin: 1rem;
  height: 380px;
  max-height: 400px;
  padding-bottom: 1rem;
  transition: all 0.3s ease-in-out;
}

.news-card.slick-current {
  transform: scale(1.1);
}

.news-body {
  padding: 0.5rem 1rem;
  margin: 0.5rem 0;
}

.news-title {
  font-weight: 600;
  font-family: var(--secondaryFont);
  font-size: 1.2rem;
}

.news-date {
  font-size: 0.8rem;
  color: var(--primaryColor);
}

.news-content {
  margin: 0.5rem 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 0.5rem 0;
}

.news-link {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

/* VC Message */
.vc-message{
  display: grid;
  grid-template-rows: 1fr, 2fr;
  margin: 1rem 4rem;
}
.vc-heading {
  margin-bottom: 3rem;
  font-weight: bold;
  font-size: 1.6rem;
  font-family: var(--secondaryFont);
}

.vc-message-body {
  display: grid;
  grid-template-areas: 
      "vc-picture vc-message-content";
  
}

.vc-message-picture {
  grid-area: vc-picture;
  overflow: hidden;
  border-radius: 50%;
  margin-right: 2rem;
  border: 1px solid #ccc;
  min-width: 200px;
  height: 200px;
}

.vc-message-picture img {
  width: 200px;
  max-width: 100%;
  height: auto;
}
.vc-name{
  padding-top: 1rem;
  font-weight: bold;
  font-size: 1rem;
  font-family: var(--secondaryFont);
  text-align: center;
}

.vc-message-content {
  grid-area: vc-message-content;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  padding: 2rem;
  border-radius: 0.3rem;
  position: relative;
  background: var(--whiteColor);
}

.vc-message-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  border-right: transparent;
  border-top: transparent;
  width: 20px;
  height: 20px;
  transform: rotate(25deg) translate(-4px, 7px);
  z-index: -1;
}

/* .carousel-caption:after {
  content:"";
  display:block;
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  background:rgba(0,0,0,0.6);
} */


.posts-heading {
  color: var(--primaryColor);
  font-size: 2.6rem;
  font-family: var(--secondaryFont);
  margin: 3rem 0 4rem 4rem;
  justify-items: center;
  text-align: center;
}

.posts{;
  display: grid;
  grid-template-row:  1fr, 4fr;  
  grid-gap: 10px;
  margin:1rem 2rem;
  align-content: center;
  
}

.post{
  display: grid;
  grid-template-columns: repeat (2,1fr );
  grid-gap: 10px;
  margin: 0 0 2rem 2rem;

}

.post-image{
  width: 400px;
  max-width: 100%;
  height: auto;
}

.post-title{
    font-weight: 600;
  font-family: var(--secondaryFont);
  font-size: 1.2rem;

}
.post-title a{
    color: var(--primaryColor);
}

/* Intervention CSS */
.intervention-layout{
  margin: 2rem 2rem;
  display: block; 
  height:auto;
}

.intervention-header{
 text-align: center;
 color: black;
 font-weight: bold;
 font-size: 2rem;
 
 /* border-bottom: 4px solid black; */
 
}

.interventions-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-areas: 
      "categories content content content";
  background: linear-gradient(to bottom, #38c172, #12283a);
  width: 95%;
  height: auto;
  margin: 1rem 0;
  padding-bottom: 2rem;
}
.categories{
  grid-area: categories;
  background-color: #ccc;
  justify-self:start;
  width: auto;
}
.content{
  grid-area: content;
  background-color: white;
  justify-self: stretch;
}
.inteventions-section > img{
  background-size: cover;
}
.intervention-category-heading {
  color: var(--whiteColor);
  font-size: 1.5rem;
  font-family: var(--secondaryFont);
  margin: 5rem;
}

.intervention-card {
  /* overflow: hidden; */
  box-shadow: rgba(255, 255, 255, 0.2) 0px 2px 8px 0px;
  background:var();
  border-radius: 0.5rem;
  border: 1px solid rgb(0, 0, 0);
  margin: 2rem;
  height: 380px;
  max-height: 400px;
  width: 300px;
  padding-bottom: 1rem;
  
}

.intervention-title{
 font-weight: 300;
  font-family: var(--secondaryFont);
  font-size: 1.2rem; 
}
.intervention-body {
  padding: 0.5rem 1rem;
  margin: 0.5rem 0;
}

.intervention-year {
  font-size: 0.8rem;
  color: var(--primaryColor);
}

.intervention-content {
  margin: 0.5rem 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 0.5rem 0;
}

.intervention-link {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}


* {box-sizing: border-box}

/* Style the tab */
.tab {
  float: left;
  flex-wrap: wrap;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  width: 100%;
  height: auto;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  display: block;
  background-color: inherit;
  color: black;
  padding: 10px 16px;
  width: 100%;
  border: none;
  outline:none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current "tab button" class */
.tab button.active {
  background-color:var(--primaryColor);
  color:var(--white);
  font-weight: bold;
}

/* Style the tab content */
.tabcontent {
  float: left;
  padding: 1rem 12px;
  border: 1px solid #ccc;
  width: 100%;
  border-left: none;
  height: auto;
  justify-self: stretch;
}