/* Blog detail page — TradeSocial style */
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@400;600;700;800&display=swap');

:root {
  --bg: #effaf4;
  --muted: #6b7280;
  --text: #05221a;
  --accent: #2e6b51;
  /* deep green */
  --card-radius: 18px;
  --max-width: 1270px;
  --header-gradient-start: #0a241c;
  --header-gradient-end: #4c9b7a;
}

/* Reset & base */
* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: 'Encode Sans', system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: 'Encode Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Layout container */
.container {
    max-width: 1440px;
    padding: 0 85px;
    margin: 0 auto;
}

/* Page wrapper spacing */
.blog-detail-page {
  padding-bottom: 48px;
}

/* Top gradient hero (title area) */
.hero-top {
  background: url("/new-designs/images/blog/blog-detail-hero-bg.png") no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 8em 0 4em;
  border-bottom: 6px solid rgba(255, 255, 255, 0.04);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 14px;
}

.back-link svg {
  opacity: 0.95;
  transform: translateX(-2px);
}

/* Title */
.post-title {
  font-size: clamp(32px, 2vw, 52px);
  line-height: 1.15;
  margin: 0 0 8px 0;
  font-weight: 700;
  letter-spacing: -1px;
  text-transform: uppercase;
  max-width: 1100px;
  color: #FFF;
}

/* meta & tags under header */
.post-meta-top {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 6px;
  flex-wrap: wrap;
}

.post-date {
  color: #ADC0B8;
  font-weight: 600;
  font-size: 16px;
}

.tag-list {
  padding-top: 25px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  background: #30604B;
  color: #FFFFFF;
  padding: 6.25px 15.65px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2px;
}

/* Article container */
.article-container {
  margin-top: 50px;
  margin-bottom: 28px;
}

/* Hero image block */
.hero-image {
  position: relative;
  max-width: 890px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15, 40, 30, 0.08);
}

.hero-image img {
  width: 100%;
  height: 517px;
  object-fit: cover;
  display: block;
}

/* overlay strip sitting on top of image */
.hero-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(10, 20, 10, 0.06);
  backdrop-filter: blur(4px);
}

.read-time {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  color: #0A241C;
  font-size: 14px;
  vertical-align: middle;
}

.read-time svg {
  opacity: 0.9;
  transform: translateY(1px);
}

/* share buttons (right side on overlay) */
.share-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* .share-btn{
  height:34px;
  min-width:34px;
  padding:6px;
  border-radius: 999px;
  border: none;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #0a241c;
  cursor:pointer;
  color: #0c2b22;
} */
/* .share-btn svg{ opacity:0.9; } */

/* Article content body */
.post-content {
  max-width: 906px;
  margin: 28px auto 48px;
  font-size: 20px;
  color: #072a24;
  padding: 0 8px;
  font-weight: 600;
}

.post-content .lead {
  margin-bottom: 16px;
  color: #0A241C;
}

.post-content p {
  margin: 12px 0 17px;
  color: #0A241C;
  font-weight: normal;
  line-height: 25px;
}

.post-content h2 {
  font-size: 28px;
  margin-top: 25px;
  margin-bottom: 10px;
  color: #0A241C;
  font-weight: 800;
}

.post-content ul {
  margin: 10px 0 16px 20px;
  color: #0A241C;
}

.post-content li {
  margin: 0;
  line-height: 22px;
}

/* conclusion */
.post-content .conclusion {
  margin-top: 18px;
  font-weight: 700;
}

/* contact button */
.btn-contact {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(46, 107, 81, 0.12);
}

.share-buttons {
  display: flex;
  gap: 12px;
  color: #0a241c;
  font-weight: 600;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #0a241c;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.share-btn:hover {
  transform: scale(1.1);
  /* background-color: #333; */
}

.share-btn svg {
  width: 20px;
  height: 19px;
}

/* Responsive */
@media (max-width: 1100px) {
  :root {
    --max-width: 980px;
  }

  .hero-image img {
    height: 380px;
  }
}

@media (max-width: 1200px) {
  .container {
    padding: 0 40px;
  }

  .post-title {
    font-size: clamp(24px, 6.5vw, 36px);
  }

  .hero-image img {
    height: 450px;
  }

  .hero-overlay {
    left: 12px;
    right: 12px;
  }
}

@media (max-width: 640px) {
  .hero-top {
    padding: 100px 0 34px;
  }

  .back-link {
    font-size: 13px;
  }

  .post-title {
    font-size: 20px;
    text-transform: none;
  }

  .post-meta-top {
    gap: 10px;
  }

  .hero-image img {
    height: 240px;
  }

  .hero-overlay {
    padding: 8px;
    bottom: 12px;
  }

  .share-buttons {
    gap: 6px;
  }

  .post-content {
    padding: 0 6px;
    font-size: 15px;
  }

  .post-content .lead {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .hero-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .read-time {
    font-size: 13px;
    font-weight: 500;
  }

  .share-buttons {
    align-self: flex-end;
  }

  .hero-image img {
    height: 200px;
  }
}