.blog {
  display: flex;
  max-width: 1200px;
  margin: 0px auto;
  gap: 32px;
  padding: 24px;
  width: 100%;
}

@media only screen and (max-width: 768px) {
  .blog {
    flex-direction: column;
    margin: 0 auto;
  }
}

.blog ul {
  list-style: none;
}

.blog-title {
  margin: 24px auto 24px auto;
}

.blog-title img {
  width: 100%;
}

.blog_desc {
  margin: 36px 0;
}

.blog-hush {
  margin: 24px auto 24px auto;
  font-size: 20px;
  border: 1px solid #2d5469;
  color: #2d5469;
  border-radius: 100px;
  padding: 8px 24px;
  white-space: nowrap;
  text-align: center;
  display: block;
  width: fit-content;
}

.blog .main {
  width: 70%;
  flex: 1;
}

.blog .side {
  width: 30%;
  flex: 0;
  min-width: 30%;
}

@media only screen and (max-width: 768px) {
  .blog .main {
    width: 100%;
  }

  .blog .side {
    width: 100%;
    min-width: auto;
  }
}

.blog-detail {}

.blog-detail .insta-caption {
  line-height: 36px;
  font-size: 18px;
  padding: 24px 0;

  a,
  a:visited {
    color: #2d5469;
  }
}

.blog-list {
  margin: auto;
  display: grid;
  grid-template-rows: minmax(100px, auto);
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;

}

@media (max-width: 1024px) {
  .blog-list {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.blog-item a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #222;
  display: block;
  width: 100%;
  margin: auto;
}


.hidden {
  display: none;
}

.more {
  border: 1px solid #2d5469;
  border-radius: 60px;
  width: fit-content;
  padding: 16px 32px;
  margin: 24px auto;
  text-align: center;
  font-size: 20px;
  line-height: 20px;
  display: block;
  cursor: pointer;
}

a.back {
  border: 1px solid #2d5469;
  color: #2d5469;
  border-radius: 60px;
  width: fit-content;
  padding: 16px 32px;
  margin: 24px auto;
  text-align: center;
  font-size: 20px;
  line-height: 20px;
  display: block;
  cursor: pointer;
}

.notfound {
  padding: 24px;
  text-align: center;
}

.blog-item img {
  width: 100%;
  max-width: 240px;
  max-height: 240px;
  object-fit: cover;
  margin: auto;
  margin-bottom: 8px;
  aspect-ratio: 1 / 1;
}

.blog-list .insta-caption {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-weight: 600;
  line-height: 24px;
  font-size: 18px;
  min-height: 48px;
  line-break: anywhere;
  white-space: break-spaces;
}

@media only screen and (max-width: 680px) {
  .blog-list .insta-caption {
    line-height: 21px;
    font-size: 15px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

.blog-list .insta-timestamp {
  font-weight: 300;
  line-height: 20px;
  font-size: 14px;
  display: block;
  color: #999;
}

.side h2 {
  text-align: center;
  border-bottom: 1px solid #2d5469;
  font-size: 24px;
  line-height: 30px;
  font-family: serif;
  margin: 24px auto;
  padding: 6px 12px;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ranking-item {
  font-size: 16px;
  line-height: 18px;
  color: #222;
}

.ranking-item a {
  display: flex;
  flex-direction: row;
  color: #222;

  gap: 12px;
}

.ranking-item a:hover {
  opacity: 0.7;
}

.ranking-item a:nth-child(1) {
  flex-basis: 120px;
  flex-grow: 0;
}

.ranking-item a:nth-child(2) {
  flex-basis: auto;
  flex-grow: 2;
}

.ranking-item>a>img {
  width: 100px;
  height: 100px;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
}

.ranking-list .ranking-item .rankmark {
  display: none;
}

.ranking-list .ranking-item:nth-of-type(1) .rankmark {
  display: block;
}

.ranking-list .ranking-item:nth-of-type(1) .rankmark img {
  width: auto;
  height: 26px;

  display: inline-block;
  margin-right: 2px;
  vertical-align: middle;
  margin-bottom: 1px;
}

.ranking-list .ranking-item .ranking-line {
  display: flex;
  flex-direction: column;
  color: #222;
  gap: 6px;
}

.ranking-list p.caption {
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
}

.ranking-list .like {
  font-size: 15px;
  line-height: 14px;
  margin: 0;
  display: inline-block;
  color: #2d5469;
  margin-right: 12px;
}

.ranking-list .timestamp {
  font-size: 13px;
  margin: 0;
  display: inline-block;
  color: #999;
}

.breadcrumb {
  padding: 0 0 24px 0;
}

.breadcrumb a {
  display: inline-block;
  padding: 6px;
  border: 1px solid #2d5469;
}

.breadcrumb a:hover {
  opacity: 0.8;
}

.tag-list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.tag-list>* {
  flex-basis: 60px;
  flex-grow: 0;
}

.tag-list>* a {
  border: 1px solid #2d5469;
  border-radius: 100px;
  padding: 4px 8px;
  display: block;
  width: 100%;
  height: 100%;
  white-space: nowrap;
  text-align: center;
  color: #2d5469;
}

.swiper {
  background-color: #eee;
}

.swiper-wrapper {
  height: auto !important;
}

.swiper-slide {
  text-align: center;
  height: auto;
}

.swiper-slide img,
.swiper-slide video {
  width: auto;
  height: 540px;
  object-fit: contain;
  margin: auto;
  vertical-align: middle;
  border: 0;
}

@media only screen and (max-width: 768px) {

  .swiper-slide img,
  .swiper-slide video {
    width: auto;
    height: 400px;
    object-fit: contain;
    margin: auto;
    vertical-align: middle;
    border: 0;
  }
}

/* .swiper-thumbnail {
  background-color: #eee;
  width: 100%;
}
.swiper-thumbnail-wrapper {
  width: 100%;
}
.swiper-thumbnail-slide {
  opacity: 0.5;
  transition: opacity 0.5s;

  text-align: center;
  width: 120px;
}

.swiper-thumbnail .swiper-thumbnail-slide.swiper-slide-active {
  opacity: 1;
}

.swiper-thumbnail-slide img {
  object-fit: cover;
  margin: auto;
  vertical-align: middle;
  border: 0;
  height: 100px;
  width: 100px;
} */
.swiper-button-prev,
.swiper-button-next {
  --swiper-navigation-color: #ff2911;
  background-color: white;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  width: 46px;
  height: 46px;
  border-radius: 46px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 30px;
  color: #2d5469;
  line-height: 30px;
}

@media (max-width: 768px) {

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}



.swiper-pagination-bullet {
  background: #ddd;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #2d5469;
}

.insta-banner {
  text-align: center;
}

.insta-banner img {
  max-width: 360px;
  margin: auto;
  width: 100%;
}

.playbtn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: auto;
}

.playbtn::after {
  content: '';
  background-image: url(/images/playbtn.webp);
  background-repeat: no-repeat;
  background-position: center;
  width: 38px;
  height: 38px;
  background-size: contain;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}