:root {
  /* --- Colors from style.css --- */
  --primary-style: #F25C05;     /* Bright Orange */
  --secondary-style: #A8E063;   /* Lime Green */
  --light-style: #F5F5DC;       /* Beige */
  --dark-style: #1A1A1A;        /* Off-Black */

  /* --- Colors from index.html --- */
  --primary-index: #0055FF;     /* Royal Blue */
  --secondary-index: #FFC700;   /* Golden Yellow */
  --dark-bg-index: #0A0A33;     /* Dark Navy */
  --light-text-index: #E0E0FF;  /* Lavender White */
  --shadow-dark-index: #05051a; /* Very Dark Navy */
  --shadow-light-index: #0f0f4d;/* Lighter Navy */

  /* --- Colors from post.css --- */
  --background-post: #2A0E4A;  /* Deep Purple */
  --gray-post: #6F5E8E;        /* Muted Purple-Gray */
  --primary-post: #FFB700;     /* Vibrant Gold */
  --secondary-post: #00BCD4;   /* Cyan */
  --light-post: #E0E0E0;       /* Soft White */
  --dark-post: #1A0732;        /* Very Dark Purple */
}

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;
  }
}
