/* WP Tcpdy — Post Page Styles */

.post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 40px;
}
@media(min-width:1024px) {
  .post-layout { grid-template-columns: 1fr 300px; }
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }

/* Post Article */
.post-article {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-hero {
  aspect-ratio: 16/6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.post-body { padding: 24px; }

.post-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.pmeta-date, .pmeta-rt {
  font-size: 12px;
  color: var(--text-muted);
}

.post-title {
  font-size: clamp(18px,4vw,28px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 12px;
}

.post-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg);
  padding: 12px 16px;
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  margin-bottom: 16px;
  line-height: 1.7;
}

/* Share Bar */
.share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: opacity .2s;
}
.share-btn:hover { opacity: .85; }
.share-btn.whatsapp { background: #25d366; color: #fff; }
.share-btn.twitter  { background: #1da1f2; color: #fff; }
.share-btn.copy     { background: var(--bg); color: var(--text); border: 1px solid var(--border); }

/* Post Content */
.post-content {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
}
.post-content h2 {
  font-size: clamp(16px,3vw,21px);
  font-weight: 800;
  margin: 28px 0 12px;
  color: var(--secondary);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}
.post-content h3 {
  font-size: clamp(14px,2.5vw,17px);
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--secondary);
}
.post-content p { margin-bottom: 14px; }
.post-content ul, .post-content ol {
  margin: 10px 0 16px 20px;
}
.post-content li { margin-bottom: 6px; }
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: block;
  overflow-x: auto;
}
.post-content th {
  background: var(--secondary);
  color: #fff;
  padding: 10px 14px;
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
}
.post-content td {
  padding: 9px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.post-content tr:last-child td { border-bottom: none; }
.post-content tr:nth-child(even) td { background: #f9fafb; }
.post-content tr:hover td { background: var(--primary-light); }
.post-content strong { font-weight: 700; color: var(--secondary); }

/* Post Tags */
.post-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
}
.post-tags a {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 3px 10px;
  border-radius: 20px;
  transition: all .2s;
}
.post-tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Featured Image Hero */
.post-hero-img {
  height: 380px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 0;
  background: #f1f5f9;
}
@media (max-width: 600px) {
  .post-hero-img { height: 200px; }
}
