/* Post detail page */
.fp-post-header {
  margin-bottom: 2rem;
}

.fp-post-breadcrumb {
  margin-bottom: 1.25rem;
}

.fp-post-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #6c757d;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fp-post-breadcrumb a:hover {
  color: var(--primary-color);
}

.fp-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  color: #6c757d;
  font-size: 0.95rem;
}

.fp-post-meta time {
  color: #6c757d;
}

.fp-post-meta-category {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #f4f4f5;
  color: #333;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.fp-post-meta-category:hover {
  background: #fec42829;
  color: var(--primary-color);
}

.fp-post-hero {
  margin: 0 0 2.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f1f3f5;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.fp-post-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fp-blog-post .ud-blog-details-content {
  max-width: none;
  padding: 0;
}

.fp-blog-post .ud-blog-summary {
  margin-bottom: 2.5rem;
}

.ud-blog-details-title {
  font-size: 3rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin-bottom: 1.5rem !important;
  margin-bottom: 3rem !important;
}

.fp-post-list .ud-single-blog {
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 1rem;
}

.fp-post-list .ud-single-blog:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #505050;
}

.blog-content a:hover {
  text-decoration: underline;
}

.ud-single-blog .ud-blog-date {
  background: #e9e9e9;
  color: #333;
}

.blog-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 3.5rem;
}

.blog-content h2 strong {
  font-weight: inherit;
}

.blog-content ul {
  padding-left: 1.5rem;
  list-style: initial;
}

.blog-content ol {
  list-style: numbered-list;
  padding-left: 1.5rem;
}

.blog-content {
  font-size: 1.2rem;
  color: var(--primary-color);
  overflow-wrap: anywhere;
  max-width: 100%;
  /* overflow: hidden; */
}

.ud-page-banner {
  color: var(--primary-text-color);
  background-color: var(--light-color);
  padding-top: 10rem;
  padding-bottom: 6rem;
}

.ud-single-blog .ud-blog-title {
  margin-bottom: 5px;
}

.ud-page-banner h1 {
  color: var(--primary-text-color);
}

.ud-single-blog {
  margin-bottom: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.ud-blog-details-action {
  align-items: flex-start;
}

.ud-blog-tags {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
}

.ud-blog-tags li {
  flex-shrink: 0;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.ud-blog-share h6 {
  flex-shrink: 0;
}

.ud-newsletter-box {
  --primary-color: #091d5b;
  margin-top: 120px !important;
}

.ud-banner-content h2 {
  font-size: 2rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.85rem !important;
}

.ud-banner-content {
  text-align: left !important;
}

.ud-blog-title {
  font-size: 1.8rem !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
}

.fp-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.fp-category-list-item {
  border: 2px solid transparent;
  flex: 1;
  color: #333;
  padding: 1.25rem;
  border-radius: 0.75rem;
  font-weight: bold;
  min-height: 7rem;
  background: #ffffff14;
  box-shadow: 0 0 15px 0 rgb(0 0 0 / 10%);
  transition: all 0.3s ease-in-out;
}

.fp-category-list-item.active,
.fp-category-list-item:hover {
  background: #fec42829;
  border-color: var(--light-color) !important;
  box-shadow: 0 0 15px 0 rgb(0 0 0 / 10%);
}

.fp-category-list-item img {
  height: 150px;
}

.ud-blog-summary {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid #0034d5;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ud-blog-summary-label {
  font-size: 0.875rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  color: #8a8a8a;
}

.ud-blog-summary-label::before {
  content: "✨";
  margin-right: 0.5rem;
  font-size: 1rem;
}

.ud-blog-summary-content,
.ud-blog-summary-content p {
  font-size: 1.2rem;
  line-height: 1.6 !important;
  color: #495057;
}
