/* =========================
   POST DETAIL
========================= */

.post-page{
  background:
    radial-gradient(circle at 12% 12%, rgba(199,47,43,.08), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(210,160,80,.14), transparent 28%),
    #f8f5ef;
  color:#1d2945;
  overflow:hidden;
}

.post-page .container{
  width:min(100% - 32px, 980px);
  margin:0 auto;
}

/* =========================
   HERO
========================= */

.post-hero{
  position:relative;
  padding:150px 0 58px;
}

.post-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(248,245,239,.72), rgba(248,245,239,0));
  pointer-events:none;
}

.post-hero .container{
  position:relative;
  z-index:1;
}

.post-meta{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.post-cat{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:#fff0e7;
  color:#c72f2b;
  font-size:.84rem;
  font-weight:900;
  letter-spacing:.04em;
}

.post-meta time{
  color:#747b8b;
  font-size:.9rem;
  font-weight:800;
  letter-spacing:.05em;
}

.post-title{
  margin:0;
  font-size:clamp(2rem, 5vw, 4.4rem);
  line-height:1.16;
  letter-spacing:.04em;
  color:#1d2945;
}

.post-lead{
  max-width:760px;
  margin:24px 0 0;
  color:#5f6676;
  font-size:1.05rem;
  line-height:2;
  font-weight:700;
}

/* =========================
   COVER IMAGE
========================= */

.post-cover{
  padding:10px 0 54px;
}

.post-cover__image{
  position:relative;
  width:100%;
  border-radius:30px;
  overflow:hidden;
  background:#eee3d7;
  border:1px solid rgba(140,110,80,.16);
  box-shadow:0 22px 60px rgba(24,39,63,.12);
}

.post-cover__image::before{
  content:"";
  display:block;
  aspect-ratio:16 / 9;
}

.post-cover__image img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* =========================
   DETAIL INFO CARD
========================= */

.post-detail{
  padding:0 0 34px;
}

.post-info-card{
  background:#fff;
  border:1px solid #eee3d7;
  border-radius:26px;
  padding:28px;
  box-shadow:0 14px 34px rgba(24,39,63,.06);
}

.post-info-card h2{
  margin:0 0 20px;
  font-size:1.35rem;
  letter-spacing:.06em;
  color:#1d2945;
}

.post-info-card dl{
  margin:0;
  display:grid;
  gap:14px;
}

.post-info-card dl > div{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:16px;
  padding:14px 0;
  border-bottom:1px solid #f1ebe3;
}

.post-info-card dl > div:last-child{
  border-bottom:none;
}

.post-info-card dt{
  color:#c72f2b;
  font-weight:900;
  font-size:.92rem;
}

.post-info-card dd{
  margin:0;
  color:#1d2945;
  line-height:1.8;
  font-weight:700;
}

/* =========================
   CONTENT
========================= */

.post-content{
  padding:10px 0 90px;
}

.post-article{
  background:#fff;
  border:1px solid #eee3d7;
  border-radius:30px;
  padding:clamp(24px, 5vw, 48px);
  box-shadow:0 14px 34px rgba(24,39,63,.06);
  color:#25304a;
  font-size:1.02rem;
  line-height:2.15;
  letter-spacing:.03em;
}

.post-article p{
  margin:0 0 1.5em;
}

.post-article p:last-child{
  margin-bottom:0;
}

.post-article a{
  color:#c72f2b;
  font-weight:900;
  text-decoration:underline;
  text-underline-offset:4px;
}

.post-article img{
  max-width:100%;
  height:auto;
  border-radius:20px;
  display:block;
  margin:28px auto;
}

/* =========================
   BACK LINK
========================= */

.post-back{
  margin-top:32px;
  text-align:center;
}

.post-back__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 24px;
  border-radius:999px;
  background:#1d2945;
  color:#fff;
  text-decoration:none;
  font-weight:900;
  letter-spacing:.04em;
  box-shadow:0 14px 30px rgba(24,39,63,.14);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.post-back__link:hover{
  transform:translateY(-2px);
  background:#c72f2b;
  box-shadow:0 18px 42px rgba(199,47,43,.2);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px){
  .post-page .container{
    width:min(100% - 24px, 980px);
  }

  .post-hero{
    padding:120px 0 42px;
  }

  .post-title{
    font-size:clamp(1.8rem, 9vw, 3rem);
  }

  .post-lead{
    margin-top:18px;
    font-size:.96rem;
    line-height:1.85;
  }

  .post-cover{
    padding-bottom:38px;
  }

  .post-cover__image{
    border-radius:22px;
  }

  .post-info-card{
    border-radius:22px;
    padding:22px 18px;
  }

  .post-info-card dl > div{
    grid-template-columns:1fr;
    gap:6px;
  }

  .post-content{
    padding-bottom:70px;
  }

  .post-article{
    border-radius:22px;
    padding:24px 18px;
    font-size:.96rem;
    line-height:2;
  }
}