.post-header {
  padding-left: 4px;
}

.hero-section {
  background-color: #fff;
  padding: 20px;
}

.hero-section h2 {
  color: #444;
}

.hero-section div {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ddd;
}

.dotted-divider {
  border: 0;
  border-top: 2px dashed #e0e0e0;
  margin: 18px 0;
}

.page-header-container {
  max-width: 840px;
  margin: 0 auto 12px auto;
  padding: 0 8px;
}

.header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.header-logo {
  text-align: center;
}

@media (min-width: 768px) {
  .header-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 6px;
  }

  .header-logo {
    text-align: left;
    flex: 0 0 auto;
  }
  .header-buttons {
    justify-content: flex-end;
    gap: 6px;
  }
  .btn-detail {
    padding: 6px 10px;
    font-size: 0.82rem;
  }
}

.header-logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.header-logo p {
  font-size: 0.85rem;
  color: #666;
  margin: 4px 0 0 0;
}

.header-buttons {
  display: flex;
  gap: 6px;
}

.btn-detail {
  padding: 6px 10px;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.12s ease;
  border: 1px solid #ccc;
  font-size: 0.82rem;
}

.btn-detail-light {
  background-color: #fff;
  color: #333;
}

.btn-detail-light:hover {
  background-color: #f8f8f8;
}

.btn-detail-dark {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

.btn-detail-dark:hover {
  background-color: #555;
}

.header-hero-image {
  text-align: center;
}

.header-hero-image img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.info-container {
  max-width: 1100px;
  margin: 0 auto;
}

.info-header {
  text-align: center;
  margin-bottom: 30px;
}

.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.search-bar select,
.search-bar input[type="text"] {
  padding-left: 15px;
  padding-right: 15px;
  border-color: #ccc;
  border-radius: 5px;
}

.search-bar input[type="text"] {
  width: auto;
  min-width: 300px;
}

.btn-search {
  padding: 10px 20px;
  background: #333;
  color: white;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

.page-footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-column p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 25px 0;
  border-top: 1px solid #e0e0e0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.footer-links strong {
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-links a {
  color: #555;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  color: #555;
  font-size: 1.2rem;
  text-decoration: none;
}

.footer-socials img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 10px;
}

.detail-content-container {
  max-width: 900px;
  margin: 0 auto;
}

.section-badge-title {
  display: inline-block;
  background-color: #6366f1;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 10px;
  box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

.detail-author-bio {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding: 20px;
  background-color: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 10px;
}

.detail-author-bio img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.detail-author-bio strong {
  display: block;
  font-size: 1.1rem;
  color: #333;
}

.detail-author-bio span {
  font-size: 0.9rem;
  color: #777;
}

.detail-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 30px;
}

.description-box {
  padding-left: 4px;
}

.detail-info-list h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  border-top: 1px solid #eee;
  padding-top: 25px;
}

.info-list-items {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

.info-item {
  margin-bottom: 8px;
}

.info-label {
  display: inline-block;
  background-color: #f3f4f6;
  color: #374151;
  padding: 6px 12px;
  margin: 4px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 100px;
  text-align: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.detail-gallery {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.detail-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.post-footer {
  margin-top: 50px;
  text-align: center;
  padding-bottom: 20px;
}

.btn-badge-back {
  display: inline-block;
  background-color: #2d4bad;
  color: white;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(99, 102, 241, 0.25);
  transition: all 0.2s ease;
}

.btn-badge-back:hover {
  background-color: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(99, 102, 241, 0.4);
}

.link-text {
  color: #2563eb;
  font-weight: 600;
  transition: color 0.2s;
}
