:root {
  --primary: #1c0632;
  --secondary: #3a155a;
  --light: #f0f6ff;
  --dark: #262b47;
}

body {
  position: absolute;
  left: 20px;
  right: 20px;
  align-items: center;
  font-family: Arial, sans-serif;
  color: white;
  text-align: center;
  margin: 0;
  padding: 0;
}
#podcast{
  height: 30vh;
  margin-bottom: 6rem;
  background: url(../assets/img/bg-circle.png), url(../assets/img/bg-triangle.png),
    url(../assets/img/bg-bottom.png),
    linear-gradient(to bottom right, var(--primary), var(--secondary));
  background-position: left 0px top 0px, right 0px top 50%, center bottom;
  background-repeat: no-repeat;
  /* background-color: red; */
}

.container-post {
  max-width: 90%;
  margin: auto;
}

.post {
  text-align: start;
  text-decoration: none;
  display: flex;
  background: white;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;

}

.post:hover {
  transform: scale(1.05);
}


.post img {
  width: 8vw;
  height: 18vh;
  object-fit: cover;
}

.content {
  padding: 15px;
  flex: 1;
}

.category {
  display: inline-block;
  background: red;
  color: white;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 5px;
}



.read-more {
  background: red;
  color: white;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.post-title-btn {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.gb-container-7cedf8a4 {
  display: flex
;
  flex-direction: row;
  row-gap: 0.5rem;
  text-align: left;
  margin-bottom: 20px;
}
@media only screen and (max-width: 400px) {
  .post {
    text-align: start;
    text-decoration: none;
    display: block; /* Ensure it appears */
    background: white;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    width: 100%; /* Full width for mobile */
  }

  .post:hover {
    transform: scale(1.05);
  }

  .post img {
    width: 100%; /* Image takes full width */
    height: auto; /* Adjusts height automatically */
    object-fit: cover;
    display: block;
  }

  .content {
    padding: 15px;
    display: block;
    text-align: left;
  }

  .category {
    display: inline-block;
    background: red;
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
  }

  .read-more {
    background: red;
    color: white;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
  }

  .post-title-btn {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
  }
}


@media (max-width: 680.98px) {
  .post {
text-overflow:ellipsis;
    max-width: 600px;
    /* max-height: 170px; */
    padding: 15px;
    /* height: 250px; */
    /* width: 80%; */
    align-items: center;
    /* text-align: start; */
    text-decoration: none;
    display: flex;
    background: white;
    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
  }


  .post img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin-right: 15px;
    /* object-fit: revert-layer; */
}


.post-title-btn {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}


}