/* =========================
   GLOBAL
========================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
  overflow-x:hidden;
}

body{
  font-family:Arial, sans-serif;
  background:#7d7d7d;
  color:#111;
}

a{
  box-sizing:border-box;
}

img{
  max-width:100%;
}

/* =========================
   THEME
========================= */

.hero,
.episode-page-hero,
.all-episodes-hero,
.search-page-hero,
.episode-article-hero,
.about-hero{
  background:linear-gradient(
    145deg,
    #0f0f10 0%,
    #2c0012 20%,
    #610027 55%,
    #8f0038 80%,
    #b61b54 100%
  );
}

/* =========================
   COMMON NAV
========================= */

.nav{
  display:flex;
  align-items:center;
  gap:35px;
  position:relative;
  z-index:10;
  font-size:14px;
  font-weight:bold;
}

.logo{
  margin-right:20px;
  color:#ffb3c7;
  font-size:20px;
  line-height:0.9;
  text-decoration:none;
}

.image-logo{
  display:flex;
  align-items:center;
}

.image-logo img{
  width:140px;
  height:auto;
  display:block;
}

.menu-link{
  color:#f7d6df;
  text-decoration:none;
  font-family:'Cinzel', serif;
  font-size:18px;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
}

.menu-link:hover{
  opacity:0.6;
}

/* =========================
   COMMON SEARCH
========================= */

.search{
  position:absolute;
  top:55px;
  right:90px;
  z-index:20;
}

.search input{
  width:280px;
  padding:12px 18px;
  border:none;
  border-radius:8px;
  outline:none;
  background:#f4efe8;
  color:#111;
  box-shadow:0 4px 12px rgba(0,0,0,0.18);
}

.search input::placeholder{
  color:#555;
  opacity:1;
}

/* =========================
   COMMON FOOTER
========================= */

.bottom{
  background:#5b5b5b;
  color:white;
  text-align:center;
  padding:70px 20px;
  font-size:18px;
  font-weight:bold;
}

/* =========================
   INDEX PAGE
========================= */

.hero{
  min-height:100vh;
  position:relative;
  overflow:hidden;
  padding:50px 70px;
}

.main-area.news-layout{
  display:grid;
  grid-template-columns:minmax(760px, 1fr) 420px;
  align-items:center;
  gap:70px;
  max-width:1280px;
  margin:90px auto 0;
}

.main-left{
  display:flex;
  align-items:center;
  gap:60px;
  min-width:0;
}

.portrait-wrap{
  width:clamp(370px, 28vw, 430px);
  height:clamp(500px, 38vw, 560px);
  flex-shrink:0;
  position:relative;
  overflow:hidden;
  padding:10px;
  border:none;
  border-radius:8px;
  background:#f4efe8;
  box-shadow:0 18px 40px rgba(0,0,0,0.35);
  transform:rotate(-2deg);
}

.slide{
  position:absolute;
  top:10px;
  left:10px;
  width:calc(100% - 20px);
  height:calc(100% - 20px);
  object-fit:cover;
  object-position:center top;
  opacity:0;
  visibility:hidden;
  animation:fade 30s infinite;
  border-radius:4px;
}

.slide:nth-child(1){
  animation-delay:0s;
}

.slide:nth-child(2){
  animation-delay:15s;
}

@keyframes fade{
  0%{ opacity:0; visibility:hidden; }
  2%{ opacity:1; visibility:visible; }
  48%{ opacity:1; visibility:visible; }
  50%{ opacity:0; visibility:hidden; }
  100%{ opacity:0; visibility:hidden; }
}

.sub{
  color:#ffb3c7;
  font-size:20px;
  letter-spacing:1px;
  margin-bottom:20px;
}

.headline{
  max-width:520px;
  color:white;
  font-size:64px;
  line-height:0.95;
  font-weight:500;
}

.headline span{
  position:relative;
  display:inline-block;
  z-index:1;
  font-family:'Caveat', cursive;
  font-size:1.15em;
}

.headline span::after{
  content:"";
  position:absolute;
  left:-4px;
  right:-4px;
  bottom:8px;
  height:14px;
  z-index:-1;
  border-radius:4px;
  background:rgba(215,181,109,0.55);
  transform:rotate(-1.5deg);
}

.watch-btn{
  display:inline-block;
  margin-top:35px;
  padding:16px 42px;
  background:black;
  color:white;
  text-decoration:none;
  font-size:14px;
  font-weight:bold;
  letter-spacing:1px;
  border-radius:4px;
  transition:0.3s;
}

.watch-btn:hover{
  background:#9e1f2f;
}

.news-sidebar{
  width:420px;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.news-card,
.news-card:visited{
  display:block;
  padding:28px 30px;
  background:rgba(22, 8, 20, 0.82);
  border:1px solid rgba(255, 211, 220, 0.22);
  border-radius:14px;
  color:white;
  text-decoration:none;
  box-shadow:0 18px 38px rgba(0,0,0,0.22);
  transition:0.25s;
}

.news-card:hover{
  transform:translateY(-3px);
  background:rgba(25, 10, 16, 0.9);
  color:white;
  text-decoration:none;
}

.news-card *,
.news-card *:visited{
  color:inherit;
  text-decoration:none;
}

.news-label{
  margin-bottom:14px;
  color:#ffb3c7 !important;
  font-size:13px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
}

.news-card h2{
  margin:0 0 14px;
  color:white !important;
  font-size:26px;
  line-height:1.25;
}

.news-card small,
.news-link-text{
  color:#ffb3c7 !important;
  font-weight:800;
  text-decoration:none !important;
}

.archive-count-card h2{
  font-size:34px;
}

.latest-card{
  overflow:hidden;
}

.latest-card-top{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 96px;
  gap:6px;
  align-items:start;
}

.latest-card-text{
  min-width:0;
}

.latest-card .latest-case-thumb{
  width:96px !important;
  height:170px !important;
  max-width:96px !important;
  max-height:170px !important;
  object-fit:cover !important;
  object-position:center center !important;
  border-radius:8px !important;
  display:block !important;
  position:static !important;
  inset:auto !important;
  opacity:1 !important;
  animation:none !important;
  transform:none !important;
  flex-shrink:0;
}

.latest-card .latest-case-image{
  display:none !important;
}

.latest-card h2{
  font-size:22px;
  line-height:1.25;
  margin:8px 0 12px;
}

.latest-card small{
  display:block;
  margin-top:12px;
}

/* Legacy cards */
.cards{
  display:flex;
  justify-content:center;
  gap:60px;
  margin-top:80px;
}

.episode-card{
  width:430px;
  display:block;
  padding:30px;
  background:#f3edf0;
  border-radius:8px;
  text-decoration:none;
  color:black;
  transition:0.3s;
}

.episode-card:hover,
.dark-card:hover{
  transform:translateY(-5px);
  opacity:0.85;
}

.episode-card h2{
  margin:0;
  font-size:34px;
  line-height:0.9;
}

.episode-card p{
  margin-top:10px;
  font-size:15px;
  line-height:1.4;
}

.dark-card{
  width:320px;
  display:flex;
  justify-content:center;
  align-items:center;
  background:#160814;
  border-radius:8px;
  color:white;
  text-decoration:none;
  font-size:34px;
  font-weight:bold;
  transition:0.3s;
}

/* =========================
   ALL EPISODES PAGE
========================= */

.all-episodes-body,
.search-body{
  margin:0;
  font-family:Arial, sans-serif;
  background:#e9e9e9;
  color:#111;
  overflow-x:hidden;
}

.all-episodes-hero,
.search-page-hero,
.about-hero{
  position:relative;
  overflow:hidden;
  padding:50px 70px 90px;
}

.page-header{
  max-width:1200px;
  margin:90px auto 0;
  padding:0 40px;
}

.page-header h1{
  margin:0 0 18px;
  color:white;
  font-size:64px;
  line-height:1;
  font-weight:600;
}

.page-header p{
  margin:0;
  color:#f3edf0;
  font-size:20px;
}

.episodes-grid{
  max-width:1200px;
  margin:80px auto 140px;
  padding:0 40px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:45px;
}

.episodes-pager{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:22px;
  margin:-80px auto 120px;
  font-size:16px;
  font-weight:bold;
}

.episodes-pager button{
  border:none;
  background:#111;
  color:white;
  padding:14px 24px;
  border-radius:4px;
  font-size:14px;
  font-weight:bold;
  cursor:pointer;
  transition:0.25s;
}

.episodes-pager button:hover{
  background:#9e1f2f;
}

.episodes-pager button:disabled{
  background:#999;
  cursor:default;
  opacity:0.5;
}

.episodes-pager span{
  color:#111;
}

.all-episode-card{
  display:block;
  overflow:hidden;
  background:white;
  border-radius:8px;
  color:black;
  text-decoration:none;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
  transition:0.3s;
}

.all-episode-card:hover{
  transform:translateY(-8px);
  opacity:0.9;
}

.all-episode-card img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
}

.all-episode-info{
  padding:28px;
}

.all-episode-info h2{
  margin:0 0 16px;
  font-size:28px;
  line-height:1.15;
  font-weight:600;
}

.all-episode-info p{
  margin:0 0 22px;
  color:#444;
  font-size:16px;
  line-height:1.7;
}

.all-episode-info small{
  color:#777;
  font-size:14px;
  font-weight:bold;
  letter-spacing:1px;
}

/* =========================
   SEARCH PAGE
========================= */

.search-page{
  max-width:900px;
  margin:100px auto 140px;
  padding:0 30px;
}

.search-box{
  margin-bottom:50px;
}

.search-box input{
  width:100%;
  padding:18px 22px;
  border:2px solid #9e1f2f;
  border-radius:30px;
  outline:none;
  font-size:20px;
}

.search-page h1{
  margin:0 0 35px;
  font-size:48px;
}

.result-card{
  display:block;
  background:white;
  padding:30px;
  margin-bottom:25px;
  border-radius:8px;
  color:black;
  text-decoration:none;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
  transition:0.3s;
}

.result-card:hover{
  transform:translateY(-5px);
  opacity:0.85;
}

.result-card h2{
  margin:0 0 12px;
  font-size:28px;
  line-height:1.2;
}

.result-card p{
  margin:0 0 15px;
  color:#444;
  line-height:1.6;
  font-size:16px;
}

.result-card small{
  color:#777;
  font-weight:bold;
  font-size:14px;
}

.no-result{
  margin-top:40px;
  background:white;
  padding:30px;
  border-radius:8px;
  color:#555;
  font-size:22px;
}

/* =========================
   EPISODE LIST PAGE
========================= */

.episode-page-hero{
  min-height:100vh;
  position:relative;
  overflow:hidden;
  padding:50px 70px;
}

.episode-page-content{
  max-width:900px;
  margin:170px auto 0;
}

.episode-page-content h1{
  margin:0 0 55px;
  color:white;
  text-align:center;
  font-size:42px;
  font-weight:900;
}

.recent-episode-list{
  position:relative;
  max-width:1240px;
  margin:0 auto;
  overflow:visible;
}

.recent-episode-track{
  display:flex;
  gap:24px;
  overflow-x:auto;
  scroll-behavior:smooth;
  padding:18px 10px 34px;
  scrollbar-width:none;
  scroll-snap-type:x mandatory;
}

.recent-episode-track::-webkit-scrollbar{
  display:none;
}

.carousel-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:58px;
  height:58px;
  border:none;
  border-radius:50%;
  background:rgba(17,17,17,0.92);
  color:white;
  font-size:36px;
  line-height:1;
  cursor:pointer;
  z-index:100;
  transition:0.25s;
}

.carousel-btn:hover{
  background:#9e1f2f;
  transform:translateY(-50%) scale(1.06);
}

.carousel-prev{
  left:-34px;
}

.carousel-next{
  right:-34px;
}

.episode-page-hero .recent-episode-card{
  position:relative !important;
  width:300px !important;
  height:430px !important;
  flex:0 0 300px !important;
  max-width:none !important;
  padding:0 !important;
  scroll-snap-align:start;
  background-image:url("../images/polaroid.png?v=5") !important;
  background-size:100% 100% !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-color:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:#111 !important;
  overflow:hidden !important;
  text-decoration:none !important;
  transition:0.28s ease;
  transform:rotate(-0.6deg);
}

.episode-page-hero .recent-episode-card:nth-child(even){
  transform:rotate(0.7deg);
}

.episode-page-hero .recent-episode-card:hover{
  transform:translateY(-6px) rotate(0deg) !important;
  opacity:0.96 !important;
}

.episode-page-hero .recent-episode-card img{
  position:absolute !important;
  top:36px !important;
  left:32px !important;
  width:236px !important;
  height:160px !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center center;
  border:6px solid #f8f1e7 !important;
  border-radius:3px !important;
  display:block !important;
  margin:0 !important;
  box-shadow:0 8px 18px rgba(0,0,0,0.18);
}

.episode-page-hero .recent-episode-card h3{
  position:absolute !important;
  top:235px !important;
  left:34px !important;
  right:34px !important;
  margin:0 !important;
  color:#111 !important;
  font-size:21px !important;
  line-height:1.15 !important;
  font-weight:900 !important;
  letter-spacing:-0.03em;
}

.episode-page-hero .recent-episode-card small{
  position:absolute !important;
  left:34px !important;
  bottom:38px !important;
  color:#56351d !important;
  font-size:13px !important;
  font-weight:900 !important;
  letter-spacing:0.02em;
}

.browse{
  background:#e9e9e9;
  text-align:center;
  padding:100px 20px 120px;
}

.browse h2{
  margin:0 0 35px;
  font-size:34px;
  font-weight:900;
}

.browse-buttons{
  width:420px;
  max-width:90%;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.browse-buttons a{
  background:black;
  color:white;
  text-decoration:none;
  padding:15px;
  border-radius:4px;
  font-weight:bold;
  font-size:14px;
  transition:0.3s;
}

.browse-buttons a:hover{
  background:#9e1f2f;
}

/* =========================
   ABOUT PAGE
========================= */

.about-body{
  background:linear-gradient(
    145deg,
    #0f0f10 0%,
    #2c0012 20%,
    #610027 55%,
    #8f0038 80%,
    #b61b54 100%
  );
  color:#111;
}

.about-hero{
  min-height:460px;
  display:flex;
  flex-direction:column;
  background:transparent;
  position:relative;
  overflow:hidden;
  padding:50px 70px 70px;
}

.about-main{
  max-width:none;
  margin:0;
  padding:0;
  background:transparent;
}

.storytellers-heading{
  max-width:780px;
  margin:105px auto 0;
  text-align:center;
  color:#fff;
}

.storytellers-heading .sub{
  margin-bottom:14px;
  color:#d7b3b7;
  font-size:12px;
  font-weight:800;
  letter-spacing:2.2px;
  text-transform:uppercase;
}

.storytellers-heading h1{
  margin:0 0 18px;
  color:#fff;
  font-size:46px;
  line-height:1.12;
  font-weight:700;
}

.storytellers-heading p{
  max-width:640px;
  margin:0 auto;
  color:rgba(255,255,255,0.86);
  font-size:17px;
  line-height:1.8;
}

.storytellers-section{
  max-width:1180px;
  margin:0 auto;
  padding:30px 24px 110px;
  background:transparent;
}

.storyteller-list{
  display:flex;
  flex-direction:column;
  gap:56px;
}

.storyteller-profile{
  display:grid;
  grid-template-columns:360px minmax(0, 1fr);
  gap:54px;
  align-items:center;
  background:#fff;
  padding:44px;
  border-radius:18px;
  box-shadow:0 18px 45px rgba(0,0,0,0.22);
}

.storyteller-profile.reverse{
  grid-template-columns:minmax(0, 1fr) 360px;
}

.storyteller-profile.reverse .storyteller-image{
  order:2;
}

.storyteller-profile.reverse .storyteller-text{
  order:1;
}

.storyteller-image{
  width:100%;
  aspect-ratio:4 / 5;
  overflow:hidden;
  background:#eee;
  border-radius:10px;
  box-shadow:none;
}

.storyteller-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center top;
}

.storyteller-text span{
  display:block;
  margin-bottom:14px;
  color:#9e1f2f;
  font-size:13px;
  font-weight:800;
  letter-spacing:1.8px;
  text-transform:uppercase;
}

.storyteller-text h2{
  margin:0 0 22px;
  color:#111;
  font-size:42px;
  line-height:1.08;
  font-weight:700;
}

.storyteller-text p{
  margin:0 0 16px;
  color:#555;
  font-size:18px;
  line-height:1.85;
}

.about-watch{
  text-align:center;
  margin-top:70px;
}

/* =========================
   EPISODE ARTICLE PAGE
========================= */

.episode-article-body{
  margin:0;
  background:#d9d9d9;
  color:#000;
  font-family:Arial, sans-serif;
  overflow-x:hidden;
}

.episode-article-hero{
  position:relative;
  overflow:hidden;
  padding:50px 70px;
}

.article{
  width:820px;
  margin:150px auto 140px;
  font-family:'Noto Sans KR', sans-serif;
  font-size:17px;
  line-height:1.9;
  font-weight:400;
  letter-spacing:-0.01em;
}

.article p,
.article li,
.article .date,
.article .credit,
.article .quote,
.article .article-section-title{
  font-family:inherit;
}

.date{
  text-align:center;
  font-size:21px;
  margin-bottom:25px;
  letter-spacing:2px;
}

.article h1{
  text-align:center;
  font-size:42px;
  line-height:1.2;
  font-weight:500;
  margin:0 0 35px;
  letter-spacing:1px;
}

.article-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  margin-bottom:45px;
}

.action-link{
  display:flex;
  justify-content:center;
  align-items:center;
  width:42px;
  height:42px;
  transition:0.3s;
}

.action-link:hover,
.youtube-link:hover{
  opacity:0.7;
}

.action-link img,
.youtube-link img{
  width:42px;
  height:42px;
  object-fit:contain;
}

.share-btn{
  background:none;
  border:none;
  padding:0;
  cursor:pointer;
}

.youtube-link{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:45px;
  transition:0.3s;
}

.divider{
  border:none;
  border-top:3px solid black;
  margin-bottom:35px;
}

.credit{
  font-size:22px;
  font-style:italic;
  margin-bottom:45px;
  color:#444;
}

.hero-image,
.article-inline-image{
  width:100%;
  object-fit:cover;
  display:block;
  border-radius:10px;
}

.hero-image{
  max-height:650px;
  margin-bottom:55px;
}

.article-inline-image{
  max-height:620px;
  margin:55px 0;
}

.article-image-block{
  margin:55px 0;
}

.article-image-block img{
  width:100%;
  max-height:620px;
  object-fit:cover;
  display:block;
  border-radius:10px;
}

.article-image-block figcaption{
  margin-top:12px;
  color:#666;
  text-align:center;
  font-size:14px;
  font-style:italic;
}

.article p{
  color:#222;
  font-size:24px;
  line-height:1.9;
  margin-bottom:45px;
}

.article-section-title{
  margin:70px 0 24px;
  color:#111;
  font-size:30px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:0.5px;
}

.quote{
  max-width:760px;
  margin:60px 0;
  padding-left:30px;
  border-left:6px solid #9e1f2f;
  font-size:34px;
  line-height:1.5;
  font-weight:700;
}

.sources-title{
  margin-top:90px;
  font-size:24px;
  font-weight:bold;
  text-decoration:underline;
}

.source-note{
  font-size:20px;
  margin:15px 0 35px;
}

.sources a{
  display:block;
  color:black;
  font-size:20px;
  line-height:1.7;
  margin-bottom:10px;
  word-break:break-all;
  text-decoration:none;
}

.sources a:hover{
  opacity:0.6;
}

/* =========================
   EPISODE NAVIGATION
========================= */

.floating-episode-nav{
  position:fixed;
  top:50%;
  left:0;
  width:100%;
  transform:translateY(-50%);
  pointer-events:none;
  z-index:9999;
}

.floating-nav-btn{
  position:absolute;
  width:80px;
  height:80px;
  border-radius:50%;
  background:#111;
  color:white;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:46px;
  font-weight:300;
  line-height:1;
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
  transition:0.25s;
  pointer-events:auto;
}

.floating-nav-btn.prev{
  left:25px;
}

.floating-nav-btn.next{
  right:25px;
}

.floating-nav-btn.disabled{
  opacity:0.25;
  pointer-events:none;
  cursor:default;
}

.floating-nav-btn:hover{
  background:#9e1f2f;
  transform:scale(1.08);
}

.episode-navigation{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:24px;
  margin-top:90px;
  padding-top:45px;
  border-top:2px solid #111;
}

.episode-nav-btn{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:54px;
  padding:14px 52px;
  background:#9e1f2f;
  color:white;
  text-decoration:none;
  font-size:15px;
  font-weight:bold;
  letter-spacing:1px;
  border-radius:4px;
  transition:0.3s;
  text-transform:uppercase;
}

.cta-btn{
  background:#111;
}

.episode-nav-btn:hover,
.cta-btn:hover{
  background:#9e1f2f;
  transform:translateY(-2px);
}

.episode-nav-btn.disabled{
  background:#999;
  color:#ddd;
  pointer-events:none;
  cursor:default;
}

/* =========================
   ARCHIVE PAGE
========================= */

.archive-hero {
  min-height: 200px;
}

.archive-header {
  max-width: 960px;
  margin: 70px auto 0;
  padding: 0 10px 40px;
  text-align: center;
  color: #fff;
}

.archive-label {
  font-size: 13px;
  letter-spacing: 2px;
  color: #d7b3b7;
  margin-bottom: 18px;
}

.archive-header h1 {
  font-size: 58px;
  margin-bottom: 18px;
}

.archive-header > p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
}

.archive-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 720px;
  margin: 42px auto 0;
}

.archive-stats div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.archive-stats strong {
  display: block;
  font-size: 34px;
  margin-bottom: 8px;
}

.archive-stats span {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.archive-main {
  max-width: none;
  margin: 0;
  padding: 30px 10px 40px;
  background: linear-gradient(135deg, #4a0018 0%, #9e1f2f 100%);
}

.archive-explore {
  max-width: 1180px;
  margin: 0 auto 80px;
}
.archive-section {
  margin-bottom: 72px;
}

.archive-section-title {
  margin-bottom: 26px;
}

.archive-section-title h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.archive-section-title p {
  color: #666;
}

.archive-explore {
  margin-bottom: 80px;
}

.archive-explore-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
}

.archive-label-dark {
  font-size: 12px;
  letter-spacing: 2px;
  color: #9e1f2f;
  margin-bottom: 12px;
  font-weight: 700;
}

.archive-database-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.archive-database-panel {
  background: #fff;
  border: 1px solid #ead7da;
  padding: 12px 10px;
  min-height: 300px;
}

.archive-database-panel h3 {
  font-size: 24px;
  margin-bottom: 22px;
  color: #222;
}

.archive-panel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.archive-panel-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0e2e4;
  text-decoration: none;
  color: #222;
  transition: 0.2s ease;
}

.archive-panel-item:hover {
  color: #9e1f2f;
  padding-left: 6px;
}

.archive-panel-item span {
  font-size: 16px;
  font-weight: 600;
}

.archive-panel-item small {
  font-size: 12px;
  color: #9e1f2f;
  background: #f1e3e5;
  padding: 6px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.archive-hidden-items {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.archive-hidden-items.is-open {
  display: flex;
}

.archive-panel-more {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding-top: 16px;
  border: none;
  border-top: 1px solid #f0e2e4;
  background: transparent;
  text-align: left;
  color: #9e1f2f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.archive-panel-more:hover {
  text-decoration: underline;
}
.archive-explore-title h2 {
  color: #fff;
}

.archive-explore-title p {
  color: rgba(255, 255, 255, 0.75);
}

.archive-label-dark {
  color: #d7b3b7;
}



@media (max-width: 1000px) {
  .archive-database-grid {
    grid-template-columns: 1fr;
  }

  .archive-database-panel {
    min-height: auto;
  }
}

.archive-random {
  text-align: center;
  padding: 60px 24px;
  background: #f7f1f2;
}

.archive-random h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.archive-random p {
  color: #666;
  margin-bottom: 26px;
}

.archive-random button {
  border: none;
  background: #9e1f2f;
  color: #fff;
  padding: 15px 28px;
  cursor: pointer;
  letter-spacing: 1px;
}
.archive-search {
  max-width: 520px;
  margin: 28px auto 0;
  display: flex;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.archive-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 15px 18px;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.archive-search input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.archive-search button {
  border: none;
  background: #fff;
  color: #9e1f2f;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.archive-search button:hover {
  background: #f1e3e5;
}



@media (max-width: 900px) {
  .archive-header h1 {
    font-size: 42px;
  }

  .archive-stats,
  .archive-latest-grid {
    grid-template-columns: 1fr;
  }
}

.episode-meta{
  margin-top:10px;
  font-size:13px;
  color:#777;
}

.episode-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:10px;
  margin-bottom:8px;
}

.episode-tags span{
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
  background:#f1e3e5;
  color:#9e1f2f;
}

/* =========================
   TABLET
========================= */

@media(max-width:950px){
  .episodes-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .article{
    width:auto;
    margin:100px 30px 120px;
  }

  .article h1{
    font-size:34px;
  }

  .article p{
    font-size:20px;
  }

  .quote{
    font-size:30px;
  }
}

/* =========================
   TABLET
========================= */

@media(max-width:950px){
  .episodes-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .article{
    width:auto;
    margin:100px 30px 120px;
  }

  .article h1{
    font-size:34px;
  }

  .article p{
    font-size:20px;
  }

  .quote{
    font-size:30px;
  }
}

/* =========================
   CONTACT PAGE
========================= */

body.contact-body{
  min-height:100vh;
  background:linear-gradient(
    145deg,
    #0f0f10 0%,
    #2c0012 20%,
    #610027 55%,
    #8f0038 80%,
    #b61b54 100%
  );
  color:#111;
}

.contact-hero{
  position:relative;
  overflow:hidden;
  padding:50px 70px 90px;
  min-height:420px;
  background:transparent;
}

.contact-hero-heading{
  max-width:760px;
  margin:95px auto 0;
  text-align:center;
  color:#fff;
}

.contact-hero-heading p{
  margin:0 0 16px;
  color:#d7b3b7;
  font-size:13px;
  font-weight:700;
  letter-spacing:2.5px;
  text-transform:uppercase;
}

.contact-hero-heading h1{
  margin:0 0 20px;
  color:#fff;
  font-size:58px;
  line-height:1;
  font-weight:700;
}

.contact-hero-heading span{
  display:block;
  color:rgba(255,255,255,0.86);
  font-size:18px;
  line-height:1.7;
}

.contact-main{
  max-width:900px;
  margin:0 auto 100px;
  padding:0 24px;
  position:relative;
  z-index:2;
  background:transparent;
}

.contact-card{
  background:#fff;
  border-radius:24px;
  padding:70px 80px;
  box-shadow:0 18px 45px rgba(0,0,0,0.22);
  text-align:center;
}

.contact-card h2{
  margin:0 0 24px;
  color:#9e1f2f;
  font-size:36px;
}

.contact-card p{
  margin:0 0 18px;
  color:#444;
  font-size:19px;
  line-height:1.9;
}

.contact-label{
  margin-top:28px !important;
  color:#777 !important;
  font-size:14px !important;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}

.contact-email{
  display:inline-block;
  margin:8px 0 32px;
  color:#9e1f2f;
  font-size:30px;
  font-weight:700;
  text-decoration:none;
}

.contact-email:hover{
  text-decoration:underline;
}

.contact-divider{
  width:70px;
  height:2px;
  margin:30px auto;
  background:#e5e5e5;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){
  body{
    min-width:0;
  }

  .hero,
  .episode-page-hero,
  .all-episodes-hero,
  .search-page-hero,
  .episode-article-hero,
  .about-hero,
  .contact-hero{
    padding:42px 28px 70px;
    min-height:auto;
  }

  .nav{
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:18px;
    text-align:center;
    font-size:15px;
  }

  .logo,
  .image-logo{
    flex:0 0 100%;
    width:100%;
    margin-right:0;
    margin-bottom:14px;
    justify-content:center;
  }

  .image-logo img{
    width:230px;
    max-width:80%;
  }

  .menu-link{
    display:inline-flex;
    width:auto;
    flex:0 0 auto;
    white-space:nowrap;
    font-size:13px;
    letter-spacing:0.5px;
  }

  .search{
    position:static;
    width:100%;
    max-width:100%;
    margin-top:18px;
    text-align:center;
  }

  .search input{
    width:100%;
    max-width:420px;
    padding:16px 20px;
    font-size:18px;
  }

  .main-area.news-layout{
    display:flex;
    flex-direction:column;
    gap:36px;
    margin-top:55px;
    text-align:center;
  }

  .main-left{
    flex-direction:column;
    gap:34px;
    text-align:center;
  }

  .portrait-wrap,
  .main-left .portrait-wrap{
    width:82vw;
    max-width:420px;
    height:520px;
    transform:rotate(-1.5deg);
  }

  .headline{
    font-size:46px;
    line-height:1.02;
    max-width:360px;
  }

  .news-sidebar{
    width:100%;
    max-width:420px;
    margin:0 auto;
    gap:18px;
  }

  .episode-page-content{
    max-width:100%;
    margin:90px auto 0;
  }

  .episode-page-content h1,
  .page-header h1,
  .search-page h1{
    font-size:46px;
    line-height:1.08;
    margin-bottom:42px;
  }

  .episodes-grid{
    grid-template-columns:1fr;
    padding:0 34px;
    margin:70px auto 110px;
    gap:32px;
  }

  .article{
    width:auto;
    margin:90px 36px 120px;
  }

  .article h1{
    font-size:44px;
  }

  .article p{
    font-size:26px;
  }

  .storytellers-heading{
    margin:70px auto 0;
  }

  .storytellers-heading h1{
    font-size:36px;
  }

  .storytellers-heading p{
    font-size:16px;
  }

  .storytellers-section{
    padding:26px 24px 90px;
  }

  .storyteller-profile,
  .storyteller-profile.reverse{
    grid-template-columns:1fr;
    gap:28px;
    padding:28px;
  }

  .storyteller-profile.reverse .storyteller-image,
  .storyteller-profile.reverse .storyteller-text{
    order:initial;
  }

  .storyteller-text h2{
    font-size:34px;
  }

  .storyteller-text p{
    font-size:16px;
  }

  .contact-hero-heading{
    margin:70px auto 0;
  }

  .contact-hero-heading h1{
    font-size:42px;
  }

  .contact-main{
    margin:0 auto 70px;
    padding:0 24px;
  }

  .contact-card{
    padding:42px 30px;
    border-radius:18px;
  }

  .contact-card h2{
    font-size:30px;
  }

  .contact-card p{
    font-size:17px;
  }

  .contact-email{
    font-size:22px;
    word-break:break-word;
  }

  .bottom{
    padding:60px 28px;
    font-size:18px;
  }
}