/* ============================================================
   JAPAN TALENT MATCHING — SINGLE POST (Enterprise Blue-Gray)
   ------------------------------------------------------------
   • Open layout (no boxes)
   • Neutral reading background
   • Typography & spacing from About page
============================================================= */

:root {
  --aqua-light: #f7f9fc;   /* repurposed: soft reading surface */
  --aqua-soft: #e6ebf2;    /* repurposed: borders */
  --aqua-mid: #3b82f6;     /* repurposed: accent */
  --aqua-deep: #1e40af;    /* repurposed: accent hover */
  --aqua-text: #0b1320;    /* repurposed: primary text */
  --ink: #0b1320;
  --muted: #6b7280;
}

/* ─── Body ─── */
body.single-post {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f7f9fc 50%,
    #ffffff 100%
  );
  font-family: "Poppins","Inter",system-ui,sans-serif;
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
}

/* ─── Header ─── */
.jt-post-header {
  text-align: center;
  padding: 80px 20px 40px;
}

.jt-meta {
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.jt-cat {
  color: #2563eb;
  font-weight: 500;
}

.jt-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #0f1c2e;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.3;
}

/* ─── Hero ─── */
.jt-hero {
  text-align: center;
  margin-bottom: 60px;
}

.jt-hero img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
}

/* ─── Content ─── */
.jt-content {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 0 20px;
  font-size: 1rem;
}

.jt-content h2 {
  color: #0f1c2e;
  font-size: 1.4rem;
  margin: 32px 0 12px;
}

.jt-content h3 {
  color: #1f2a3a;
  font-size: 1.15rem;
  margin-top: 24px;
}

.jt-content p {
  margin-bottom: 1rem;
  color: var(--ink);
}

.jt-content a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jt-content a:hover {
  color: #1e40af;
}

/* ─── Tags ─── */
.jt-tags {
  text-align: center;
  margin-bottom: 50px;
}

.jt-tags a {
  display: inline-block;
  background: #f1f5f9;
  color: #1f2a3a;
  padding: 6px 16px;
  border-radius: 999px;
  margin: 4px;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.jt-tags a:hover {
  background: rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

/* ─── Navigation ─── */
.jt-nav {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  color: #1f2a3a;
}

.jt-nav a:hover {
  text-decoration: underline;
}

/* ─── Comments ─── */
#comments {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 0 20px;
  border-top: 1px solid #e6ebf2;
}

#reply-title {
  color: #0f1c2e;
  font-weight: 600;
}

#commentform label {
  color: var(--muted);
}

input,
textarea {
  border-radius: 10px;
  border: 1px solid #e6ebf2;
  padding: 10px 14px;
  width: 100%;
  margin-bottom: 10px;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

input[type="submit"] {
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 999px;
  padding: 10px 30px;
}

input[type="submit"]:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .jt-title {
    font-size: 1.7rem;
  }

  .jt-hero img {
    border-radius: 14px;
  }
}

/* ============================================================
   JT — HERO CLEAN CENTER FIX (v5 Ultra Stable)
============================================================= */

.jt-hero {
  position: relative;
  max-width: 960px;
  margin: 0 auto 60px;
  text-align: center;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 0 !important;
}

.jt-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: 0 !important;
  margin: 0 auto;
  box-shadow: none !important;
  background: none !important;
}

/* Optional: subtle fade to white bottom */
.jt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 75%,
    rgba(255,255,255,1) 100%
  );
  pointer-events: none;
}

/* ✅ Mobile */
@media (max-width: 768px) {
  .jt-hero {
    max-width: 92%;
    margin-bottom: 40px;
  }

  .jt-hero img {
    max-height: 360px;
  }
}
