body.essay-content-page {
  background: #fafafa;
  color: #333333;
}

.essay-content-page .essay-page-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 36px auto 64px;
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

.essay-content-page .essay-page-box>.container {
  float: none;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 36px 44px;
  box-sizing: border-box;
  border: 1px solid #e5ebee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 35px #24374606;
}

.essay-content-page .essay-page-box>.sidebar {
  float: none;
  width: 100%;
  max-width: 300px;
  min-width: 0;
  margin: 0;
  padding: 24px 0 0;
}

.essay-content-page .unitName {
  background: #ff822f;
  color: #ffffff;
}

.essay-content-page .unitName>div {
  max-width: 1200px;
}

.essay-content-page .unitPath2 {
  width: 100%;
  margin: 0 0 22px;
  color: #7a8993;
  font-size: 13px;
  line-height: 1.8;
}

.essay-content-page .unitPath2>div {
  width: 100%;
  padding: 0;
  overflow-wrap: anywhere;
}

.essay-content-page .unitPath2 a {
  color: #6b7d88;
}

.essay-content-page .essay-page-box h1 {
  margin: 24px 0 18px;
  padding: 0;
  color: #333333;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .2px;
  overflow-wrap: anywhere;
}

.essay-content-page .essay-page-box>.container>header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 0 0 22px;
  margin: 0 0 28px;
  border-bottom: 1px solid #e8edef;
}

.essay-content-page .essay-page-box time {
  float: none;
  color: #7b8b95;
  font-size: 14px;
  margin: 0;
}

.essay-content-page .essay-page-box .article {
  padding: 0;
  color: #444444;
  font-size: 18px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.essay-content-page .article p {
  margin: 0 0 1.5em;
}

.essay-content-page .article h2,
.essay-content-page .article h3 {
  color: #333333;
  line-height: 1.5;
  margin: 1.8em 0 .8em;
}

.essay-content-page .article h2 {
  font-size: 27px;
}

.essay-content-page .article h3 {
  font-size: 22px;
}

.essay-content-page .article a {
  color: #009caf;
  text-underline-offset: 4px;
}

.essay-content-page .article img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.essay-content-page .article iframe {
  max-width: 100%;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 10px;
}

.essay-content-page .article blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: #fff8f1;
  border: 0 !important;
  border-left: 3px solid #ff822f !important;
  border-radius: 0 12px 12px 0;
  color: #666666;
  font-size: 17px;
}

.essay-content-page .article table {
  max-width: 100%;
}

/* .essay-content-page .essay-page-box .search-article { display: flex !important; width: 280px; max-width: 100%; margin: 0 0 12px; border: 1px solid #dce5e9; border-radius: 10px; overflow: hidden; background: #f8fafb; }
.essay-content-page .search-article input[type="text"] { background: transparent; border: 0; border-radius: 0; height: 42px; padding: 10px 12px; font-size: 15px; }
.essay-content-page .search-article input[type="submit"] { height: 42px; border-radius: 0; background: #009caf; font-size: 15px; }
.essay-content-page .search-article input[type="submit"]:hover { background: #008597; } */
.essay-content-page .essay-page-box .btn-try {
  width: 100%;
  max-width: 320px;
  margin: 48px auto;
  padding: 15px 24px;
  box-sizing: border-box;
  border-radius: 12px;
  background: linear-gradient(110deg, #ff822f, #ffae38, #ff9133, #ff822f);
  background-size: 300% 100%;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 8px 24px #ff822f55;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  animation: essay-cta-gradient 7s ease infinite, essay-cta-glow 3s ease-in-out infinite;
  transition: transform .2s ease;
}

.essay-content-page .essay-page-box .btn-try::before {
  content: none;
}

.essay-content-page .essay-page-box .btn-try:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.essay-content-page .essay-page-box .btn-try::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, #ffffff24 50%, transparent 65%);
  transform: translateX(-120%);
  animation: essay-cta-shine 6s ease-in-out infinite;
}

@keyframes essay-cta-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes essay-cta-glow {
  0%, 100% { box-shadow: 0 8px 24px #ff822f55; }
  50% { box-shadow: 0 10px 34px #ff982f88; }
}

@keyframes essay-cta-shine {
  0%, 65% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  .essay-content-page .essay-page-box .btn-try {
    animation: none;
    transition: none;
  }
  .essay-content-page .essay-page-box .btn-try::after { animation: none; content: none; }
  .essay-content-page .essay-page-box .btn-try:hover { transform: none; }
}

.essay-content-page .pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0;
  margin: 24px 0;
  border-top: 1px solid #e8edef;
  border-bottom: 1px solid #e8edef;
}

.essay-content-page .pager a {
  float: none;
  padding: 10px 18px;
  border: 1px solid #e0e8eb;
  border-radius: 10px;
  background: #f8fafb;
  color: #555555;
  text-decoration: none;
}

.essay-content-page .pager .next {
  margin-left: auto;
}

.essay-content-page .hot-offers {
  margin: 32px 0 0;
}

.essay-content-page .hot-offers h3 {
  margin: 0 0 20px;
  padding: 0;
  color: #333333;
  font-size: 22px;
  letter-spacing: .3px;
}

.essay-content-page .hot-offers ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  letter-spacing: normal;
  list-style: none;
}

.essay-content-page .hot-offers ul li {
  display: block;
  width: auto;
  margin: 0;
  border: 1px solid #e5ebee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.essay-content-page .hot-offers .item-image {
  width: 100%;
  margin: 0;
}

.essay-content-page .hot-offers .item-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.essay-content-page .hot-offers li p {
  margin: 0;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.65;
}

.essay-content-page .hot-offers li p a {
  color: #333333;
}

.essay-content-page .sidebar img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 0;
}

.essay-content-page .essay-page-box a:focus-visible,
.essay-content-page .essay-page-box input:focus-visible {
  outline: 3px solid #79c9d3;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .essay-content-page .essay-page-box {
    grid-template-columns: minmax(0, 1fr);
    max-width: 860px;
    gap: 28px;
  }

  .essay-content-page .essay-page-box>.sidebar {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .essay-content-page .essay-page-box {
    width: calc(100% - 24px);
    margin: 20px auto 36px;
  }

  .essay-content-page .essay-page-box>.container {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .essay-content-page .essay-page-box .article {
    font-size: 17px;
    line-height: 1.9;
  }

  .essay-content-page .article h2 {
    font-size: 23px;
  }

  .essay-content-page .article h3 {
    font-size: 20px;
  }

  .essay-content-page .hot-offers ul {
    gap: 12px;
  }

  .essay-content-page .hot-offers li p {
    padding: 12px;
    font-size: 14px;
  }
}
