/* ===== 首頁（原 Elementor 頁 17）=====
   主視覺沿用 Podcast 頁的 .grl-pod-hero（grl-podcast.css），這裡只調粉紫左右、欄寬與插畫；
   文章卡片沿用女力日誌「更多文章」的 .grl-more-list（grl-blog.css），這裡改成 3 欄與首頁的圖片比例。 */

/* 主視覺：左粉右紫，左欄 560、右欄 700（1280 寬時） */
.grl-home-hero.grl-home-hero { background: linear-gradient(90deg, #ea6eac 51%, #8f89c0 51%); }
.grl-home-hero .grl-pod-cols.grl-pod-cols { gap: 20px; margin: 40px -40px 0 40px; }
.grl-home-hero .grl-pod-cols.grl-pod-cols > .grl-pod-intro { flex: 0 0 43.75%; }
.grl-home-hero .grl-pod-cols.grl-pod-cols > .grl-pod-art { flex: 0 0 54.6875%; margin: 0; }
.grl-home-hero .grl-pod-art .grl-pod-img img { width: 100%; }

/* 區段共用：閃電＋置中標題 */
.grl-home-pod .grl-bolt,
.grl-home-blog .grl-bolt { margin: 0 auto 7px; text-align: center; }
.grl-home-blog .grl-bolt { margin-bottom: 8px; }
.grl-home-pod .grl-bolt img,
.grl-home-blog .grl-bolt img { display: inline-block; width: 24px; height: auto; }
.grl-home-pod .grl-center-title.grl-center-title { margin-bottom: 20px; }
.grl-home-blog .grl-center-title.grl-center-title { margin-bottom: 19px; }

/* Podcast 最新單集：3 個播放器 */
.grl-home-pod.grl-home-pod { margin: 0; padding: 104px 40px; }
.grl-home-pod > *, .grl-home-blog > * { margin-block: 0; }
.grl-home-players.grl-home-players {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0 40px;
	max-width: 1200px;
	margin: 0 auto !important;
	padding: 0 20px;
	align-items: start;
}
.grl-home-players > * { margin: 0 !important; min-width: 0; }
.grl-home-players .pp-podcast.pp-podcast { max-width: none; margin: 0 0 20px !important; }

/* 查看全部 */
/* Astra 會把頁面內容區塊限制在 1200px 靠左，按鈕列要撐滿才會置中 */
.grl-home-more.grl-home-more { justify-content: center; max-width: none !important; margin: 20px 0 0 !important; }
.grl-home-more .wp-block-button__link {
	padding: var(--grl-btn-pad, 16px 23px);
	border: 2px solid #f4d204;
	border-radius: 0;
	background: #ea6eac;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.grl-home-more .wp-block-button__link:hover { background: transparent; color: #ea6eac; }

/* Blog 最新文章：3 欄卡片 */
.grl-home-blog.grl-home-blog { margin: 0; padding: 104px 40px; background: #f0f0f3; }
.grl-home-blog .grl-home-posts.grl-home-posts { max-width: 1220px; margin: 0 auto !important; }
.grl-home-posts .wp-block-post-template.wp-block-post-template { grid-template-columns: repeat(3, 1fr); max-width: none; }
.grl-home-posts .wp-block-post-featured-image img { height: auto; aspect-ratio: 385 / 237; }
.grl-home-blog .grl-home-more.grl-home-more { margin-top: 32px !important; }

@media (max-width: 1024px) {
	.grl-home-pod, .grl-home-blog { --grl-btn-pad: 15px 22px; }
	.grl-home-hero .grl-pod-cols.grl-pod-cols { margin: 40px 0 0; }
	.grl-home-hero .grl-pod-cols.grl-pod-cols > .grl-pod-intro { flex: 0 0 43.44%; }
	.grl-home-hero .grl-pod-cols.grl-pod-cols > .grl-pod-art { flex: 1 1 0; }
	.grl-home-hero .grl-pod-art .grl-pod-img img { height: 380px; object-fit: contain; object-position: 50% 100%; }
	.grl-home-pod.grl-home-pod { padding: 40px 40px 80px; }
	.grl-home-blog.grl-home-blog { padding: 80px 40px; }
	.grl-home-pod .grl-bolt img,
	.grl-home-blog .grl-bolt img { width: 16px; }
	.grl-home-blog .grl-center-title.grl-center-title { margin-bottom: 20px; }
	.grl-home-blog .grl-home-posts.grl-home-posts { max-width: none; margin: 0 -10px !important; }
	.grl-home-posts .wp-block-post-template.wp-block-post-template { grid-template-columns: repeat(3, 1fr); }
	.grl-home-posts .wp-block-post-featured-image img { aspect-ratio: 385 / 237; }
	.grl-home-blog .grl-home-more.grl-home-more { margin-top: 31px !important; }
}

@media (max-width: 767px) {
	.grl-home-pod, .grl-home-blog { --grl-btn-pad: 14px 21px; }
	.grl-home-hero .grl-pod-cols.grl-pod-cols { margin: 0; }
	.grl-home-hero .grl-pod-cols.grl-pod-cols > .grl-pod-intro,
	.grl-home-hero .grl-pod-cols.grl-pod-cols > .grl-pod-art { flex: 0 0 auto; }
	.grl-home-hero .grl-pod-art .grl-pod-img img { height: 280px; object-position: bottom center; }
	.grl-home-pod.grl-home-pod { padding: 24px 24px 64px; }
	.grl-home-blog.grl-home-blog { padding: 64px 24px; }
	.grl-home-pod .grl-bolt img,
	.grl-home-blog .grl-bolt img { width: 24px; }
	.grl-home-pod .grl-bolt { margin-bottom: -1px; }
	.grl-home-blog .grl-bolt { margin-bottom: -2px; }
	.grl-home-blog .grl-center-title.grl-center-title { margin-bottom: 20px; }
	/* 首頁手機版介紹文字右邊不留 16px（Podcast 頁有） */
	.grl-home-hero .grl-pod-intro > p:not(.grl-eyebrow) { padding-right: 0; }
	.grl-home-players.grl-home-players { grid-template-columns: 1fr; row-gap: 40px; }
	.grl-home-pod .grl-home-more.grl-home-more { margin-top: 40px !important; }
	.grl-home-posts .wp-block-post-template.wp-block-post-template { grid-template-columns: 1fr; }
	.grl-home-blog .grl-home-more.grl-home-more { margin-top: 34px !important; }
}
