.entry-content a.toggle-btn.readmore-btn {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    padding: 14px 28px;
    color: #1E3A8A !important; /* น้ำเงินเข้ม บังคับใช้ */
    background: #f0f6ff;
    border: 2px solid #60A5FA;
    border-radius: 6px;
    text-align: center;
    line-height: 1.1;
    min-width: 180px;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.entry-content a.toggle-btn.readmore-btn:hover,
.entry-content a.toggle-btn.readmore-btn:active,
.entry-content a.toggle-btn.readmore-btn:focus {
    color: #1E3A8A !important;
    background: #dbeafe;
    border-color: #3B82F6;
    outline: none;
}

/* READ MORE button enhanced specificity and colors */
.entry-content a.toggle-btn.readmore-btn {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    padding: 14px 28px;
    color: #1E3A8A !important; /* force text color */
    background: #f0f6ff;
    border: 2px solid #60A5FA;
    border-radius: 6px;
    text-align: center;
    line-height: 1.1;
    min-width: 180px;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.entry-content a.toggle-btn.readmore-btn:hover,
.entry-content a.toggle-btn.readmore-btn:active,
.entry-content a.toggle-btn.readmore-btn:focus {
    color: #1E3A8A !important;
    background: #dbeafe;
    border-color: #3B82F6;
    outline: none;
}



/* Overlay glass effect */
.short-content {
  position: relative;
  max-height: 300px; /* adjust height to show only part */
  overflow: hidden;
}
.short-content .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Overlay glass effect on clipped content --- */
.entry-content .short-content {
    position: relative;
    max-height: 320px; /* adjust as needed */
    overflow: hidden;
}

.entry-content .short-content .ct-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: rgba(255,255,255,0.75);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
}

/* Hide overlay when expanded */
.entry-content .expand .ct-overlay { display: none; }

/* Ensure expanded content shows fully */
.entry-content .expand { max-height: none; overflow: visible; }

/* Button style (strong specificity) */
.entry-content a.toggle-btn.readmore-btn {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    padding: 14px 28px;
    color: #1E3A8A !important;
    background: #f0f6ff;
    border: 2px solid #60A5FA;
    border-radius: 6px;
    text-align: center;
    line-height: 1.1;
    min-width: 180px;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.entry-content a.toggle-btn.readmore-btn:hover,
.entry-content a.toggle-btn.readmore-btn:active,
.entry-content a.toggle-btn.readmore-btn:focus {
    color: #1E3A8A !important;
    background: #dbeafe;
    border-color: #3B82F6;
    outline: none;
}
