* {
  background-color: white;
  padding: 0;
  margin: 0;
}
body {
  background-color: white;
}
.blog-post {
  position: relative;
}
.blog-post h1 {
  padding-top: 150px;
  text-align: center;
  text-decoration: none;
  font-family: "Dancing Script", Spartan, cursive, sans-serif;
  color: #8A887A;
  font-size: 40px;
  font-weight: normal;
  margin-bottom: 10px;
}
.summary-post p {
  margin: 0 auto;
  font-family: "Special Elite", serif;
  color: #929292;
  width: 60%;
  height: 100%;
  text-align: center;
}
.bts-d {
  gap: 100px;
  padding-right: 240px;
  padding-bottom: 80px;
  padding-left: 240px;
}
.post-meta p {
  color: red;
  font-family: Spartan, sans-serif;
}
.post-content p {
  background-color: white;
  font-family: Special Elite, serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 160%;
  letter-spacing: -2%;
  color: #919191;
}
.post-content h4 {
  font-size: 40px;
  font-family: "Dancing Script", Spartan, cursive, sans-serif;
  font-weight: 200;
  color: #8A887A;
}
.post-content code {
  font-weight: 400;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 160%;
  letter-spacing: -2%;
  color: #919191;
  font-family: "Special Elite", Spartan, cursive, sans-serif;
}
.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  height: 800px;
}
.video-thumbnail {
  height: 100%;
  width: 100%;
  display: block;
  cursor: pointer;
  transition: opacity 0.4s ease;
}
.video-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  pointer-events: none;
  /* prevent clicks until visible */
  transition: opacity 0.4s ease;
}
.video-thumbnail-wrapper:hover .video-thumbnail {
  opacity: 0;
}
.video-thumbnail-wrapper:hover .video-frame {
  opacity: 1;
  pointer-events: auto;
}
.featured-image {
  display: flex;
  justify-content: center;
  margin-bottom: 75px;
}
.featured-image img {
  align-content: center;
  margin-top: 20px;
  width: 100%;
  height: 100%;
  aspect-ratio: 1.7777777778;
  max-width: 480px;
  max-height: 360px;
}
.introduction {
  display: flex;
  gap: 80px;
  flex-direction: column;
  margin-top: 60px;
  padding-bottom: 80px;
}
.introduction-text {
  margin-bottom: 20px;
  margin-top: 75px;
  font-family: Special Elite, serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 160%;
  letter-spacing: -2%;
  color: #919191;
}
.top-image img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 180px;
  height: 353px;
}
.button {
  margin: 100px auto;
  width: 394px;
  height: 83px;
  justify-content: space-between;
  opacity: 1;
  padding: 25px 16px;
  background-color: #E7E7E7;
}
.button p {
  font-family: Spartan, serif;
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  leading-trim: CAP_HEIGHT;
  line-height: 140%;
  letter-spacing: -2%;
  text-align: center;
  color: #5e5e5e;
  background-color: #E7E7E7;
}
.button a {
  text-decoration: none;
}
.project-1 {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin-top: 60px;
}
.bts-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.video-container {
  place-self: center;
}
.video-frame {
  width: 100%;
  height: 100%;
}
.project-1 .sub-title {
  font-family: Special Elite, serif;
  font-weight: 400;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 160%;
  letter-spacing: -2%;
  color: #919191;
}
.ingredients {
  font-family: Special Elite, serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 160%;
  letter-spacing: -2%;
  color: #919191;
}
.two-column {
  display: flex;
  flex-direction: row;
  gap: 80px;
  margin-top: 80px;
}
.left-col img {
  width: 527.9199829102px;
  height: 683.4000244141px;
  angle: 0 deg;
  opacity: 1;
}
.left-col {
  flex: 0.75;
}
.right-col {
  flex: 1.25;
  align-content: center;
}
.extra-image-block {
  justify-self: center;
}
.extra-image img {
  width: 464px;
  height: 112px;
  margin: 0 auto;
  display: block;
}
.extra-image {
  display: flex;
  justify-content: center;
  position: relative;
  justify-self: center;
}
.extra-image .overlay-text {
  left: 45%;
  font-family: Sancreek, serif;
  font-weight: 400;
  font-size: 19.2px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
}
.right-col p {
  font-family: Special Elite, serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 19px;
  leading-trim: NONE;
  line-height: 160%;
  letter-spacing: -2%;
  margin-bottom: 1em;
}
.left-col {
  align-content: center;
  position: relative;
  width: fit-content;
}
.left-col .image-wrapper {
  position: relative;
  width: 100%;
}
.left-col .img-responsive, .left-col .img-idol {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
  position: relative;
}
.left-col .img-idol {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 2;
}
.left-col:hover .img-responsive {
  opacity: 0;
}
.left-col:hover .img-idol {
  opacity: 1;
}
.left-col:hover .overlay-text {
  opacity: 0;
}
.btsgridone {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 fixed columns */
  grid-template-rows: repeat(3, auto);
  /* 3 fixed rows */
  gap: 80px;
  margin: 0 auto;
  padding: 20px;
}
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  color: #5e5e5e;
  font-family: "Sancreek", serif;
  font-weight: 400;
  font-size: 1.5vw;
  /* responsive font size */
  line-height: 130%;
  z-index: 3;
  opacity: 1;
  transition: opacity 0.3s ease;
  text-align: center;
}
.grid-item {
  align-content: center;
  text-align: center;
}
.grid-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.grid-item p {
  text-align: left;
  font-family: Special Elite, serif;
  font-weight: 400;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 160%;
  letter-spacing: -2%;
  color: #919191;
}
.grid-item:hover img {
  transform: scale(1.03);
}
.hover-grid {
  margin-top: 75px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 100%;
}
.hover-grid .overlay-text {
  width: 70%;
  top: 45%;
}
.hover-grid .grid-item p {
  margin-top: 20px;
}
.image-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.img-responsive, .img-idol {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.5s ease;
  position: relative;
  z-index: 1;
}
.img-idol {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 2;
}
.grid-item .overlay-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  color: #5e5e5e;
  font-family: "Sancreek", serif;
  font-weight: 400;
  font-size: 2vw;
  /* responsive font size */
  line-height: 130%;
  z-index: 3;
  opacity: 1;
  transition: opacity 0.3s ease;
  text-align: center;
}
.image-wrapper:hover .img-responsive {
  opacity: 0;
}
.image-wrapper:hover .img-idol {
  opacity: 1;
}
.image-wrapper:hover .overlay-text {
  opacity: 0;
}
.under-text {
  margin-top: 8px;
  text-align: left;
  font-size: 14px;
}
.head-img-container {
  position: relative;
  width: 464px;
  height: 112px;
  margin: 80px auto;
}
.head-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Optional: keep image nicely scaled */
  display: block;
}
.image-container {
  display: flex;
  min-height: 600px;
  align-items: center;
}
.head-text {
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  font-family: "Sancreek", cursive !important;
  font-weight: 400;
  font-style: normal;
  font-size: 19.2px !important;
  line-height: 1;
  letter-spacing: 0;
  color: #919191 !important;
  margin: 0;
  white-space: nowrap;
  text-align: center;
}
@media (max-width: 768px) {
  .overlay-text {
    font-size: 4vw;
  }
}
@media (min-width: 2000px) {
  .video-thumbnail-wrapper {
    height: 1160px;
  }
  iframe {
    height: 100%;
    width: 100%;
  }
  .image-container {
    display: flex;
    min-height: 815px;
    align-items: center;
  }
  .overlay-text {
    font-size: 1.5vw;
  }
  .grid-item p {
    margin-top: 25px;
  }
}
@media screen and (min-width: 2900px) {
  .vimeo-wrapper {
    height: 1165px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1366px) {
  iframe {
    height: 640px;
  }
}
@media screen and (max-width: 480px) {
  .blog-post h1 {
    padding-top: 10px;
  }
  .video-thumbnail-wrapper {
    height: 220px;
  }
  .introduction {
    gap: 40px;
    padding-bottom: 0;
  }
  .project-1 {
    margin-top: 0;
    gap: 40px;
  }
  .bts-d {
    margin-top: 100px;
    padding: 24px;
  }
  iframe {
    height: 220px;
    width: 100%;
  }
  .btsgridone {
    grid-template-columns: repeat(1, 1fr);
  }
  .hover-grid {
    margin-top: 20px;
    grid-template-columns: repeat(1, 1fr);
  }
  .two-column {
    flex-direction: column;
    gap: 40px;
  }
  .head-img-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto 0 16px;
  }
  .button {
    width: 300px;
  }
  .ingredients {
    font-size: 16px;
  }
  .project-1 .sub-title {
    font-size: 16px;
  }
  .introduction-text {
    font-size: 16px;
  }
  .post-content p {
    font-size: 16px;
  }
  .bts-grid {
    gap: 40px;
  }
  .featured-image img {
    width: 380px;
    height: 100%;
    aspect-ratio: 1.7777777778;
  }
  .grid-item p {
    margin-top: 20px;
    font-size: 16px;
  }
  .image-container {
    min-height: 0;
  }
  .extra-image-block {
    width: 350px;
    height: 84px;
  }
  .extra-image img {
    margin-left: 10px;
    width: 100%;
    height: 100%;
  }
  .extra-image .overlay-text {
    font-size: 14px;
  }
}
