.grecaptcha-badge { 
    visibility: hidden; 
}

.generate-back-to-top,
.generate-back-to-top:visited {
    bottom: 50px; /* 50px from the bottom of your screen */
}

.wp-block-image {
    margin-bottom: 1em;
}

.prefix-adlabel { 
    font-size: 0.5em; 
}

.PREFIX-close-button {
    transform: scale(1.5);
}

.youtube-video {
    margin-bottom: 20px; /* 修正了缺少的結束符號 */
}

.entry-content .google-auto-placed.ap_container {
    margin-bottom: 30px;
}

.wp-block-gallery .blocks-gallery-item, 
.wp-block-gallery .blocks-gallery-item img {
    margin-bottom: 1em;
}

.page-links {
   font-size: 36px;
}
.entry-content p {
    text-align: justify;
    text-justify: inter-word;
}
/* GeneratePress Site CSS */ /* grey line under navigation */
.site-header {
	border-bottom: 1px solid #dddddd;
}

/* makes featured article section full width */
.generate-columns-container .featured-column {
	width: 100%;
} /* End GeneratePress Site CSS */


/* 評分區塊外框樣式 */
.yasr-rating-box {
  background-color: #2b2b2b;
  color: #ffffff;
  padding: 25px 30px;
  margin: 40px 0;
  border: 2px solid #f1c40f;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(241, 196, 15, 0.5);
  text-align: center;
  line-height: 1.6;
  font-size: 1.1rem;
  position: relative;
  transition: box-shadow 0.3s ease;
}

/* 滑鼠滑過區塊時發光 */
.yasr-rating-box:hover {
  box-shadow: 0 0 25px rgba(241, 196, 15, 0.8);
}

/* 標題文字樣式 */
.yasr-rating-box .yasr-rating-title {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.15rem;
}

/* 星星評分互動效果（需配合 YASR 插件 class） */
.yasr-stars-hover {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.yasr-stars-hover:hover {
  transform: scale(1.2);
  filter: brightness(1.3);
  cursor: pointer;
}



.waynew517-related-posts {
    margin: 15px 0;
}

.waynew517-related-posts .related-posts-heading {
    font-size: 22px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 12px;
}

.waynew517-related-posts .related-posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.waynew517-related-posts .related-post-card {
    width: calc(50% - 7.5px);
    background-color: #111;
    border-radius: 4px;
    overflow: hidden;
}

.waynew517-related-posts .thumbnail-wrapper img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.waynew517-related-posts .related-post-title {
    font-size: 18px; /* ← 電腦版字體變大 */
    padding: 10px 12px;
    color: #fff;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .waynew517-related-posts .related-post-card {
        width: 100%;
    }
    .waynew517-related-posts .related-post-title {
        font-size: 20px; /* ← 手機版字體更大 */
    }
}


.entry-content .page-links {
    margin-top: 20px;
    font-weight: 600;
}
.entry-content .page-links a {
    text-decoration: none;
    padding: 0 6px;
}


/* 清單 → 卡片網格 */
.entry-content .actor-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* 卡片 */
.entry-content .actor-card {
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  transition: transform .18s ease, box-shadow .18s ease;
}
.entry-content .actor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}

/* 全卡片可點 */
.entry-content .actor-card__link {
  display: block;
  text-decoration: none;
  color: #e9e9e9;
  padding: 12px;
}

/* 清晰縮圖（對應 actor-card 480×270） */
.entry-content .actor-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 10px;
}

/* 標題、日期 */
.entry-content .actor-card__title {
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.35;
  margin: 0 0 6px;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;     /* 最多 2 行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.entry-content .actor-card__date {
  font-size: 13px;
  opacity: .75;
}

/* RWD */
@media (max-width: 1024px) {
  .entry-content .actor-grid { gap: 20px; }
  .entry-content .actor-card__img { height: 180px; }
}
@media (max-width: 640px) {
  .entry-c

/* 1) 讓 sticky 不要蓋住頁尾或內容：預留底部空間（手機） */
@media (max-width: 768px){
  body{ padding-bottom: 90px; } /* 90px 依你的黏性廣告高度調整 */
}

/* 2) 確保黏性廣告在最上層或適當層級（避免被遮/遮人） */
.advanced-ads-sticky{
  z-index: 999999;
}

/* 3) 避免黏性容器因為子元素撐開導致橫向跑版 */
.advanced-ads-sticky,
.advanced-ads-sticky *{
  max-width: 100%;
  box-sizing: border-box;
}

	