/* Blog detail presentation only. Content, queries, forms, and interactions stay untouched. */

.blog-header {
  padding-top: clamp(104px, 9vw, 140px) !important;
}

.blog-header .container.mt-80 {
  margin-top: 0 !important;
}

.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 18px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  line-height: 1.5;
}

.blog-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-breadcrumb a {
  color: rgba(255, 255, 255, .76);
  text-decoration: none;
  transition: color .2s ease;
}

.blog-breadcrumb a:hover,
.blog-breadcrumb a:focus-visible {
  color: #14cf93;
}

.blog-header .caption {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.blog-header .caption .sub-title {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(20, 207, 147, .32);
  border-radius: 999px;
  background: rgba(20, 207, 147, .08);
}

.blog-header .caption h1 {
  max-width: 940px;
  margin: 20px auto 0 !important;
  font-size: clamp(28px, 4.2vw, 54px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.blog-header .info {
  max-width: 980px;
  margin: 30px auto 0 !important;
  padding: 19px 26px;
  gap: 20px 34px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .12);
}

.blog-header .info .circle-60 {
  width: 88px;
  height: 88px;
  line-height: 88px;
  flex: 0 0 88px;
}

.blog-header .info .circle-60 .circle-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blog-header .info .left-info,
.blog-header .info .left-info > .d-flex {
  min-width: 0;
}

.blog-header .info .right-info {
  margin-left: auto;
}

.blog-header .thumbnail {
  width: min(calc(100% - 16px), 1320px);
  margin: 34px auto 0;
  padding: 0 !important;
  display: flex;
  justify-content: center;
}

.blog-header .thumbnail img {
  display: block;
  width: 100% !important;
  max-width: 1320px;
  height: auto !important;
  max-height: min(78vh, 820px);
  object-fit: contain !important;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .22);
}

.blog.section-padding {
  padding-top: clamp(42px, 6vw, 76px) !important;
}

.blog .container {
  max-width: 1180px;
}

.blog .row.xlg-marg {
  align-items: flex-start;
}

.main-post {
  max-width: 790px;
  margin: 0 auto;
}

.main-post .item {
  padding-bottom: 42px !important;
}

.main-post .text {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.82;
}

.main-post .text p {
  margin-bottom: 1.25em;
}

.main-post .blog-content > :first-child {
  margin-top: 0;
}

.main-post .blog-content a {
  color: #14cf93;
  text-decoration: underline;
  text-decoration-color: rgba(20, 207, 147, .4);
  text-underline-offset: 3px;
}

.main-post .blog-content a:hover,
.main-post .blog-content a:focus-visible {
  color: #caff33;
}

.main-post .text h2,
.main-post .text h3,
.main-post .text h4 {
  scroll-margin-top: 100px;
  margin-top: 2em;
  margin-bottom: .7em;
  line-height: 1.2;
}

.main-post .post-qoute {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  margin-top: 34px !important;
  padding: 30px 34px 30px 92px !important;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 207, 147, .08), rgba(255, 255, 255, .025));
}

.main-post .post-qoute::before {
  content: "\201C";
  position: absolute;
  top: 50%;
  left: 22px;
  z-index: 0;
  color: rgba(255, 255, 255, .94);
  font-family: Georgia, serif;
  font-size: clamp(76px, 8vw, 108px);
  font-weight: 700;
  line-height: .7;
  transform: translateY(-50%);
  pointer-events: none;
}

.main-post .post-qoute h6 {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 !important;
  min-width: 0;
  max-width: 100%;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

.main-post .post-qoute h6::before {
  content: none !important;
}

.main-post .post-qoute h6 .l-block,
.main-post .post-qoute h6 .sub-title {
  display: block;
  margin: 0 !important;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.main-post .iner-img {
  height: auto !important;
  max-height: none !important;
  margin: 30px auto !important;
  display: flex;
  justify-content: center;
}

.main-post .iner-img img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: min(46vh, 430px);
  object-fit: contain !important;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

.main-post .info-area {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
}

.main-post .info-area .tags,
.main-post .info-area .share-icon {
  gap: 10px;
  flex-wrap: wrap;
}

.sidebar {
  position: sticky;
  top: 96px;
}

.MainTableContent {
  max-width: 360px;
  margin: 22px 0 0 auto;
  padding: 22px;
  border: 1px solid rgba(20, 207, 147, .22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(10, 20, 31, .96), rgba(16, 38, 48, .94));
  box-shadow: 0 16px 36px rgba(0, 0, 0, .2);
}

.Tbl-cONTENT-h4 {
  margin-bottom: 16px;
  font-size: 17px;
  letter-spacing: .08em;
}

.MainTableContent ul,
.MainTableContent ol {
  max-height: min(48vh, 520px);
  overflow: auto;
  scrollbar-width: thin;
  padding-left: 0;
  list-style: none;
}

.MainTableContent li {
  margin: 8px 0 !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  line-height: 1.4;
  border-left-width: 3px !important;
}

.MainTableContent li a {
  display: block;
  color: #f8f9fa !important;
  text-decoration: none !important;
}

.comments-from {
  margin-top: 56px !important;
}

.comments-from > .comments-from {
  margin-top: 0 !important;
}

.comments-from input,
.comments-from textarea {
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .035) !important;
}

.comments-from button {
  width: auto !important;
  min-width: 170px;
  border-radius: 999px !important;
}

@media (max-width: 991px) {
  .blog-header .thumbnail img {
    max-height: 64vh;
  }

  .sidebar {
    position: static;
    margin-top: 46px;
  }

  .MainTableContent {
    max-width: none;
    margin: 24px 0 0;
  }
}

@media (max-width: 767px) {
  .blog-header {
    padding-top: 92px !important;
  }

  .blog-header .caption h1 {
    font-size: clamp(26px, 8vw, 38px) !important;
  }

  .blog-header .info {
    align-items: flex-start !important;
    padding: 14px;
  }

  .blog-header .info .circle-60 {
    width: 78px;
    height: 78px;
    line-height: 78px;
    flex-basis: 78px;
  }

  .blog-header .info .left-info > .d-flex {
    flex-wrap: wrap;
    gap: 16px !important;
  }

  .blog-header .info .right-info {
    width: 100%;
    margin-left: 0;
  }

  .blog-header .thumbnail {
    width: calc(100% - 24px);
    margin-top: 24px;
  }

  .blog-header .thumbnail img {
    max-height: 54vh;
    border-radius: 12px !important;
  }

  .main-post .post-qoute {
    width: 100%;
    overflow: hidden;
    padding: 24px 20px 24px 72px !important;
  }

  .main-post .post-qoute::before {
    left: 14px;
    font-size: 72px;
  }

  .main-post .iner-img {
    margin: 24px auto !important;
  }

  .main-post .iner-img img {
    max-height: 34vh;
    border-radius: 11px;
  }

  .main-post .info-area {
    align-items: flex-start;
    flex-direction: column;
  }

  .comments-from button {
    width: 100% !important;
  }
}
