/* ===========================
   POST PAGE STYLES
=========================== */

/* Breadcrumb */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.breadcrumb-bar .container {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #888;
  flex-wrap: wrap;
}

.breadcrumb-bar a {
  color: #e63946;
}

.breadcrumb-bar a:hover {
  text-decoration: underline;
}

/* Post Layout */
.post-main {
  padding: 32px 0 56px;
  background: #f5f5f5;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

/* Article */
.post-article {
  background: #fff;
  border-radius: 8px;
  padding: 28px 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.post-header {
  margin-bottom: 20px;
}

.post-header .cat-label {
  position: static;
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
}

.post-header h1 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.post-featured-img {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
}

.post-featured-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Post Content */
.post-content {
  color: #333;
  line-height: 1.8;
}

.post-content p {
  margin-bottom: 16px;
}

.post-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 28px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

.post-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

/* Info Box */
.info-box {
  background: #f0f9f8;
  border-left: 4px solid #2b7a78;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 20px 0;
}

.info-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.info-box ul li {
  font-size: 14px;
  color: #333;
}

/* Table */
.jobs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}

.jobs-table th {
  background: #1a1a1a;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}

.jobs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  color: #333;
}

.jobs-table tr:nth-child(even) td {
  background: #f9f9f9;
}

.jobs-table tr:hover td {
  background: #fff3f3;
}

/* Check List */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 24px;
}

.check-list li {
  padding-left: 24px;
  position: relative;
  font-size: 14px;
  color: #333;
}

.check-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  font-size: 13px;
}

/* Steps List */
.steps-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 24px;
}

.steps-list li {
  font-size: 14px;
  color: #333;
  padding-left: 6px;
}

/* Apply CTA */
.apply-cta {
  background: linear-gradient(135deg, #e63946, #c1121f);
  color: #fff;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 28px 0;
  text-align: center;
}

.apply-cta h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}

.apply-cta p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.apply-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #fff;
  color: #e63946;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 24px;
}

.faq-item {
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #fafafa;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: left;
  transition: background 0.2s;
}

.faq-q:hover {
  background: #f0f0f0;
}

.faq-q span {
  font-size: 18px;
  color: #e63946;
  flex-shrink: 0;
  margin-left: 10px;
}

.faq-a {
  display: none;
  padding: 14px 16px;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  border-top: 1px solid #eee;
}

/* Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 13px;
}

.post-tags span {
  font-weight: 600;
  color: #888;
}

.post-tags a {
  padding: 4px 12px;
  background: #f0f0f0;
  border-radius: 20px;
  font-size: 12px;
  color: #555;
  transition: background 0.2s, color 0.2s;
}

.post-tags a:hover {
  background: #e63946;
  color: #fff;
}

/* Share */
.post-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
}

.post-share span {
  font-weight: 600;
  color: #888;
}

.share-btn {
  padding: 7px 14px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  transition: opacity 0.2s;
}

.share-btn:hover {
  opacity: 0.85;
}

.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #1da1f2; }
.share-btn.tg { background: #0088cc; }
.share-btn.wa { background: #25d366; }

/* Responsive */
@media (max-width: 900px) {
  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-article {
    padding: 20px 18px;
  }

  .post-header h1 {
    font-size: 20px;
  }

  .post-featured-img img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .jobs-table {
    font-size: 12px;
  }

  .jobs-table th,
  .jobs-table td {
    padding: 8px 10px;
  }
}
