#blogposting {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.5em;
  line-height: 1.8;
  color: #2c2c2c;
  background-color: #faf9f6;
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
}

#blogposting h1 {
  font-size: 2em;
  font-weight: 800;
  color: #3b2f2f;
  border-left: 6px solid #8c6239;
  padding-left: 0.5em;
  margin-bottom: 1em;
}

#blogposting h2 {
  font-size: 1.6em;
  margin: 1.2em 0 0.6em;
  color: #4a3f35;
  border-bottom: 1px solid #d7ccc0;
  padding-bottom: 0.3em;
  font-weight:700;
}

#blogposting h3 {
  font-size: 1.3em;
  margin: 1em 0 0.5em;
  color: #5a4635;
  font-weight:600;
}

#blogposting p {
  font-size: 1em;
  margin: 0.8em 0;
  color: #333;
}

#blogposting img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1.2em 0;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#blogposting .FAQ-sec {
  background: #f3efea;
  padding: 1.2em;
  border-radius: 10px;
  margin: 1.5em 0;
  border-left: 4px solid #8c6239;
}

#blogposting .FAQ-sec h3 {
  color: #3b2f2f;
  margin-bottom: 0.5em;
  display: inline;
}

#blogposting .related {
  background: #f9f7f4;
  border: 1px solid #e0dcd5;
  padding: 1.2em;
  margin: 2em 0;
  border-radius: 12px;
}

#blogposting .related p:first-child {
  font-weight: bold;
  color: #5a4635;
  margin-bottom: 0.8em;
  font-size: 1.1em;
}

#blogposting .related a {
  display: block;
  margin: 0.5em 0;
  padding: 0.6em 0.8em;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e0dcd5;
  color: gray;
  text-decoration: none;
}

#blogposting .related a:first-line {
  color: #3b2f2f;
  font-size: 1.2em;
}

#blogposting .related a:hover {
  background: #f1ebe4;
  transform: translateX(4px);
}

#blogposting .image-container {
  position: relative;
  display: inline-block;
}

#blogposting .caption-text {
  position: absolute;
  bottom: 1.9em;
  right: 0.5em;
  color: white;
  background-color: rgba(66, 30, 0, 0.6);
  padding: 8px 12px;
  border-radius: 5px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

#blogposting .image-container img {
  max-width: 100%;
  height: auto;
  display: block;
}

#blogposting .FAQ-sec {
  padding: 0.5em;
}

#blogposting .CTA-SEC {
  max-width: 640px;
  margin: 40px auto;
  padding: 36px;
  background: linear-gradient(
    135deg,
    #f4f4f4 0%,
    #e5e5e5 25%,
    #d0d0d0 50%,
    #e5e5e5 75%,
    #f4f4f4 100%
  );
  border-radius: 20px;
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color: #333;
  line-height: 1.7;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12),
    inset 0 1px 4px rgba(255, 255, 255, 0.6),
    inset 0 -1px 4px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(200, 200, 200, 0.5);
}

#blogposting .CTA-SEC .info-img {
  max-width: 180px;
  width: 55%;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#blogposting .CTA-SEC .CTA-HR {
  border: none;
  border-top: 1px solid rgba(160, 160, 160, 0.5);
  width: 60px;
  margin: 16px auto;
}

#blogposting .CTA-SEC .CTA-h2 {
  font-size: 22px;
  margin: 8px 0 4px;
  letter-spacing: 3px;
  font-weight: 600;
  color: #222;
}

#blogposting .CTA-SEC .CTA-P1 {
  margin: 0 0 28px;
  font-size: 14px;
  color: #555;
}

#blogposting .CTA-SEC .info-div {
  text-align: center;
  margin-bottom: 28px;
  font-size: 14px;
  color: #444;
}

#blogposting .CTA-SEC .info-div .info-p {
  margin: 8px 0;
}

#blogposting .CTA-SEC .info-div .info-p a {
  color: #444;
  text-decoration: none;
}

#blogposting .CTA-SEC .CTA-BTN-div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}

#blogposting .CTA-SEC .CTA-BTN-div .CTA-BTN {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#blogposting .CTA-SEC .CTA-BTN-div .CTA-BTN:nth-child(1) {
  background: linear-gradient(90deg, #666, #444);
}

#blogposting .CTA-SEC .CTA-BTN-div .CTA-BTN:nth-child(2) {
  background: linear-gradient(90deg, #444, #333);
}

#blogposting .CTA-SEC .CTA-BTN-div .CTA-BTN:nth-child(3) {
  background: linear-gradient(90deg, #333, #222);
}

#blogposting .CTA-SEC .CTA-SOC-p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #666;
}

#blogposting .CTA-SEC .CTA-SOC-div {
  display: flex;
  gap: 14px;
  justify-content: center;
}

#blogposting .CTA-SEC .CTA-SOC-div .CTA-SOC-BTN {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#blogposting .CTA-SEC .CTA-SOC-div .CTA-SOC-BTN img {
  width: 20px;
  height: 20px;
}

#blogposting .CTA-SEC .lst-p {
  margin: 24px 0 0;
  font-size: 12px;
  color: #777;
}

@media (max-width: 880px) {
  #blogposting .related a {
    white-space: nowrap;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8em;
  }

  #blogposting .related a:first-line {
    font-size: 1.3em;
  }
}
