.post-hero {
  background: linear-gradient(135deg, #0b2544 0%, #123d71 58%, #c8102e 100%);
  color: #fff;
  padding: 46px 18px;
}

.post-hero-inner {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: end;
}

@media (min-width: 980px) {
  .post-hero-inner { grid-template-columns: 1.35fr .65fr; }
}

.post-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.14;
  margin: 0;
}

.post-hero p {
  max-width: 820px;
  font-size: 18px;
  color: #eef5ff;
  margin: 10px 0 0;
}

.post-actions,
.social-row,
.actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.post-actions { margin-top: 18px; }

.post-actions .btn {
  background: #fff;
  color: #0b2544;
  border-color: #fff;
}

.post-actions .btn.primary {
  background: #c8102e;
  color: #fff;
  border-color: #c8102e;
}

.follow-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
}

.follow-card h2 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 6px;
}

.follow-card p {
  color: #e9f1ff;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.social-row .facebook { background: #1877f2; }
.social-row .linkedin { background: #0a66c2; }

.post-main {
  max-width: 1180px;
  margin: auto;
  padding: 26px 18px 44px;
}

.post-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #dfe7f4;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(11,37,68,.08);
  padding: 10px;
  margin-bottom: 20px;
}

.post-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 10px;
  color: #0f172a;
  font-weight: 800;
  border: 1px solid transparent;
}

.post-nav a:hover {
  background: #f7f9fd;
  border-color: #e1e8f3;
  text-decoration: none;
}

.post-nav a.active {
  background: #eef3fb;
  border-color: #dfe7f4;
  color: #0b2544;
}

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 860px) {
  .post-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .post-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.post-panel,
.post-card {
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.post-card h2,
.post-card h3,
.post-panel h2,
.post-panel h3 {
  color: #0b2544;
  margin-top: 0;
}

.post-card .btn { margin-top: auto; align-self: flex-start; }

.status-pill {
  display: inline-block;
  background: #eef3fb;
  border: 1px solid #dfe7f4;
  color: #0b2544;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0b2544;
  border: 1px solid #dfe7f4;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.notice {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 12px;
  padding: 14px;
  color: #493b00;
}

.warning {
  background: #fff5f5;
  border: 1px solid #feb2b2;
  border-radius: 12px;
  padding: 14px;
  color: #7f1d1d;
}

.success {
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #064e3b;
  border-radius: 12px;
  padding: 14px;
}

.download-card {
  border: 1px solid #e9eef5;
  border-radius: 12px;
  padding: 15px;
  background: #fff;
}

.download-card strong {
  display: block;
  color: #0b2544;
  margin-bottom: 6px;
}

.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: 1 / -1; }
}

.post-form label {
  display: block;
  font-weight: 800;
  color: #0b2544;
  margin-bottom: 6px;
}

.post-form input,
.post-form select,
.post-form textarea {
  width: 100%;
  border: 1px solid #dfe7f4;
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
  font: inherit;
}

.post-form textarea { min-height: 110px; }

.choice-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .choice-row { grid-template-columns: repeat(3, 1fr); }
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 12px;
  background: #f8fbff;
}

.choice input {
  width: auto;
  margin-top: 4px;
}

.journal-preview {
  display: none;
  margin-top: 10px;
  background: #f7f9fd;
  border: 1px solid #e1e8f3;
  border-radius: 12px;
  padding: 14px;
}

.journal-preview dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px;
  margin: 0;
}

.journal-preview dt {
  font-weight: 800;
  color: #0b2544;
}

.journal-preview dd {
  margin: 0;
  color: #475569;
}

@media (max-width: 620px) {
  .journal-preview dl { grid-template-columns: 1fr; }
}
