@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Noto+Serif+TC:wght@600;700&display=swap');

h1,h2,h3,.site-title{font-family:'Playfair Display','Noto Serif TC',serif !important;font-weight:600;letter-spacing:.02em;}

body.home .entry-hero,body.page-id-173 .entry-hero{display:none !important;}

.home-hero{background-image:linear-gradient(rgba(6,8,20,.72),rgba(6,8,20,.72)),url('https://psmarktung.com/wp-content/uploads/2026/07/shutterstock_373292029.jpg');background-size:cover;background-position:center;border-radius:16px;padding:4.5rem 2rem 3.4rem !important;margin-top:1.5rem;overflow:hidden;}
.hero-title{font-size:clamp(2.6rem,8vw,5rem);letter-spacing:.06em;line-height:1.05;margin-bottom:.25em;color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.8),0 0 8px rgba(0,0,0,.55);}
.hero-sub{font-family:'Playfair Display','Noto Serif TC',serif !important;letter-spacing:.12em;color:#ffd77a !important;text-transform:uppercase;font-size:.95rem;margin-bottom:1.6rem;text-shadow:0 1px 12px rgba(0,0,0,.85),0 0 5px rgba(0,0,0,.6);}
.home-hero p:not(.hero-sub){color:#fff;text-shadow:0 1px 14px rgba(0,0,0,.9),0 0 5px rgba(0,0,0,.75);font-weight:500;}
.home-hero .is-style-outline .wp-block-button__link{color:#fff !important;border-color:#fff !important;}
.home-hero .hero-socials a[aria-label="X"]{color:#fff !important;}

.hero-actions > .wp-block-group__inner-container{display:grid !important;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;}
.hero-actions > .wp-block-group__inner-container::before{content:"";}
.hero-buttons{margin:0 !important;}
.hero-buttons .wp-block-button{width:190px;}
.hero-buttons .wp-block-button__link{width:100%;text-align:center;}
.hero-socials{justify-content:flex-end !important;margin:0 !important;}

.author-block{margin:3rem auto;gap:2.5rem;align-items:center;}
.author-block img{border-radius:14px;aspect-ratio:4/5;object-fit:cover;width:100%;max-width:320px;}
.author-block h2{margin-bottom:1rem;font-size:1.8rem;}
.author-block p{font-size:1rem;line-height:1.9;}

.series-block{gap:1.8rem;margin-top:1.5rem;}
.series-block .wp-block-column{background:#faf6ee;padding:1.8rem;border-radius:12px;}
.series-block h3{margin-top:0;font-size:1.4rem;}

.episode-grid{margin-top:1.5rem;}
.episode-grid .wp-block-post-template{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:2rem 1.4rem !important;width:100% !important;justify-items:stretch !important;}
.episode-grid .wp-block-post-template>li{width:100% !important;max-width:100% !important;margin:0 !important;flex:none !important;}
.episode-grid figure.wp-block-post-featured-image{width:100% !important;margin-bottom:.6rem;}
.episode-grid figure.wp-block-post-featured-image a{display:block;}
.episode-grid figure.wp-block-post-featured-image img{width:100% !important;height:auto !important;border-radius:10px;box-shadow:0 4px 16px rgba(0,0,0,.08);}
.episode-grid .wp-block-post-title{margin:.3rem 0 .1rem;line-height:1.4;font-size:1rem;}
.episode-grid .wp-block-post-title a{text-decoration:none;}
.episode-grid .wp-block-post-date{color:#9a7b3f;font-size:.8rem;letter-spacing:.03em;}

.wp-block-separator.is-style-wide{max-width:none;border-color:#e7ded0;opacity:1;}
.wp-block-button__link{border-radius:6px;padding:.7em 1.6em;}

@media(max-width:900px){
  .hero-actions > .wp-block-group__inner-container{display:flex !important;flex-direction:column;gap:1rem;}
  .hero-actions > .wp-block-group__inner-container::before{display:none;}
  .hero-socials{justify-content:center !important;}
}
@media(max-width:781px){
  .home-hero{padding:3rem 1.2rem 2.4rem !important;}
  .episode-grid .wp-block-post-template{grid-template-columns:repeat(2,1fr) !important;gap:1.4rem 1rem !important;}
  .episode-grid .wp-block-post-title{font-size:.95rem;}
  .author-block{gap:1.4rem;}
  .author-block img{max-width:220px;margin-left:auto;margin-right:auto;}
  .hero-sub{font-size:.78rem;letter-spacing:.08em;}
  .series-block .wp-block-column{padding:1.4rem;}
}
@media(max-width:480px){
  .hero-title{letter-spacing:.04em;}
}
.entry-content h2 a,.entry-content h3 a{color:#9933cc !important;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px;transition:opacity .15s;}
.entry-content h2 a:hover,.entry-content h3 a:hover{opacity:.7;}
.listen-card{background:#faf6ee;border:1px solid #efe7d6;border-radius:16px;padding:1.6rem 1.6rem 1.4rem;margin:1.4rem auto 2rem;max-width:640px;}
.listen-card .listen-title{margin:0 0 .9rem;font-size:1.15rem;text-align:center;}
.listen-card figure.wp-block-audio{margin:0 0 1rem;}
.listen-card audio{width:100%;height:46px;}
.listen-card .listen-or{text-align:center;color:#8a6d3b;font-size:.9rem;margin:.4rem 0 .9rem;}
.listen-card .listen-row{margin-bottom:0;}
.featured-ep{margin:2.5rem auto 1.5rem;text-align:center;max-width:760px;}
.featured-label{color:#9933cc;letter-spacing:.25em;font-size:.8rem;font-weight:600;margin-bottom:.8rem;}
.featured-cover{margin:0 auto .9rem;}
.featured-cover img{border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.12);}
.featured-ep h3{margin:.3rem 0 1rem;}
.featured-ep h3 a{text-decoration:none;}
/* mark-article-cover */
.mark-article-cover{margin:0 auto 1.2rem;}
.mark-article-cover img{width:100%;height:auto;border-radius:12px;display:block;}
@media(min-width:782px){.mark-article-cover{max-width:520px;}}

/* db-archive-compact */
body[class*="category-db-"] ul.kadence-posts-list{grid-template-columns:repeat(5,1fr) !important;gap:24px !important;}
@media(max-width:1024px){body[class*="category-db-"] ul.kadence-posts-list{grid-template-columns:repeat(3,1fr) !important;}}
@media(max-width:600px){body[class*="category-db-"] ul.kadence-posts-list{grid-template-columns:repeat(2,1fr) !important;gap:14px !important;}}

/* archive: fixed image size, responsive column count */
body.archive .kadence-posts-list.grid-cols{grid-template-columns:repeat(auto-fill,230px) !important;justify-content:center !important;}
@media(max-width:600px){body.archive .kadence-posts-list.grid-cols{grid-template-columns:repeat(auto-fill,155px) !important;gap:1rem !important;}}