body.journal-page {
  background: #f3eee7 !important; /* บังคับใช้สีครีมเป็นพื้นหลัง */
  color: #2a2623;
  min-height: 100vh;
  height: auto !important; /* ปลดล็อกความสูงให้ยืดตามเนื้อหาอัตโนมัติ */
}

body.journal-page .journal-stage {
  padding: 120px 24px 80px;
  min-height: 100vh;
  height: auto !important; /* ปลดล็อกความสูงส่วนกล่องเนื้อหาด้วย */
}


body.journal-page .journal-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.5rem, 5vw, 4.5rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}

/* สไตล์ของแต่ละบทความ */
body.journal-page .journal-card {
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

body.journal-page .journal-card:last-child {
  border-bottom: none;
}

body.journal-page .journal-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 24px;
}

body.journal-page .journal-date {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #776f68;
  margin-bottom: 12px;
}

body.journal-page .journal-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 20px 0;
}

/* จัดการระยะห่างของเนื้อหาที่มาจาก CMS */
body.journal-page .cms-content p {
  font-size: 1.15rem;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 1.5rem;
}
body.journal-page .cms-content p:last-child {
  margin-bottom: 0;
}

/* Mobile */
@media (max-width: 767px) {
  body.journal-page .journal-stage {
    padding: 80px 16px 60px;
  }
  body.journal-page .journal-heading {
    font-size: 1.8rem;
  }
  body.journal-page .cms-content p {
    font-size: 1rem;
  }
}

/* ==========================================
   JOURNAL META DATA (ตกแต่ง วันที่ & ชื่อผู้เขียน)
========================================== */
.article-card .article-meta {
    font-size: 0.75rem;          /* ขนาดเล็กกะทัดรัด */
    color: #888888;              /* สีเทาอ่อน ดูมินิมอล */
    margin-top: 0.2rem;          /* ห่างจากชื่อบทความนิดนึง */
    margin-bottom: 0.8rem;       /* ดันเนื้อหา Excerpt ลงไป */
    letter-spacing: 0.05em;      /* ถ่างตัวอักษรให้อ่านง่าย */
    text-transform: uppercase;   /* พิมพ์ใหญ่ทั้งหมดให้ดูพรีเมียม (เปลี่ยนเป็น none ได้ถ้าไม่ชอบ) */
}

.article-card .meta-dot {
    margin: 0 0.4rem;            /* ระยะห่างของจุดคั่นกลาง */
    opacity: 0.5;                /* ทำจุดคั่นให้จางลง */
}

/* ==========================================
   FIX: ลบขีดเส้นใต้กวนใจในการ์ด Journal 
========================================== */

/* 1. บังคับลบขีดเส้นใต้ออกจากทุกส่วนในการ์ด (รวมถึงวันที่และผู้เขียน) */
a.article-card,
a.article-card * {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* 2. คืนขีดเส้นใต้ให้เฉพาะคำว่า "READ MORE" เพื่อให้ลูกค้ารู้ว่ากดได้ */
a.article-card .read-more-link {
    text-decoration: underline !important;
    text-underline-offset: 4px; /* ถ่างเส้นใต้ให้ห่างจากตัวหนังสือเล็กน้อย จะดูสวยขึ้นครับ */
}

/* 3. (ลูกเล่นเสริม) เวลาเอาเมาส์ไปชี้ที่การ์ด ให้ขีดเส้นใต้โผล่มาที่ชื่อเรื่องเบาๆ */
a.article-card:hover h2 {
    text-decoration: underline !important;
    text-underline-offset: 4px;
}