/* ==========================================
   BLOG STYLES - OneMotion Theme
   ========================================== */

/* -------------------- */
/* Blog Archive Hero */
/* -------------------- */
.one-motion-blog-hero {
  background-color: #f6f3ec;
  padding: 150px 20px 80px 20px;
  margin-top: -160px;
  position: relative;
  z-index: 2;
}

.one-motion-blog-hero .one-motion-badge {
  display: inline-block;
}

/* -------------------- */
/* Blog Archive Section */
/* -------------------- */
.one-motion-blog-archive-section {
  background-color: #fff;
  padding: 80px 20px 150px 20px;
  position: relative;
  z-index: 2;
}

.one-motion-blog-grid {
  margin-bottom: 30px;
}

/* -------------------- */
/* Blog Card Styles */
/* -------------------- */
.one-motion-article-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.one-motion-article-card .one-motion-post-thumbnail {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

.one-motion-article-card .one-motion-post-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.one-motion-article-card:hover .one-motion-post-thumbnail img {
  transform: scale(1.05);
}

.one-motion-article-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.one-motion-article-excerpt {
  color: var(--one-motion-gloabl-text);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  flex: 1;
}

.one-motion-read-more {
  color: var(--global-color-primary);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.one-motion-read-more:hover {
  color: var(--global-color-heading);
}

.one-motion-read-more svg {
  transition: transform 0.3s ease;
}

.one-motion-read-more:hover svg {
  transform: translateX(5px);
}

/* -------------------- */
/* Pagination */
/* -------------------- */
.one-motion-pagination {
  display: flex;
  justify-content: center;
}

.one-motion-pagination .pagination {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.one-motion-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  border-radius: 10px;
  background-color: #fff;
  border: 1px solid var(--one-motion-general-border);
  color: var(--global-color-heading);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.one-motion-pagination .page-numbers:hover,
.one-motion-pagination .page-numbers.current {
  background-color: var(--global-color-primary);
  border-color: var(--global-color-primary);
  color: #fff;
}

.one-motion-pagination .page-numbers svg {
  width: 20px;
  height: 20px;
}

/* -------------------- */
/* No Posts Message */
/* -------------------- */
.one-motion-no-posts {
  text-align: center;
  padding: 80px 20px;
}

.one-motion-no-posts h3 {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--global-color-heading);
}

.one-motion-no-posts p {
  font-size: 18px;
  color: var(--one-motion-gloabl-text);
}

/* -------------------- */
/* Single Blog Post Hero */
/* -------------------- */
.one-motion-blog-single-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  margin-top: -160px;
  background-color: #4d4946;
}

.one-motion-blog-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.one-motion-blog-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.one-motion-blog-single-hero .one-motion-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.one-motion-blog-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 200px;
}

.one-motion-blog-single-title {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
  margin: 0;
}

/* Breadcrumb Styling */
.one-motion-breadcrumb .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.one-motion-breadcrumb .breadcrumb-item {
  color: rgba(255, 255, 255, 0.7);
}

.one-motion-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.one-motion-breadcrumb .breadcrumb-item a:hover {
  color: var(--global-color-primary);
}

.one-motion-breadcrumb .breadcrumb-item.active {
  color: #fff;
}

.one-motion-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: rgba(255, 255, 255, 0.5);
}

/* Reading Time */
.one-motion-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}



.one-motion-reading-time svg {
  width: 16px;
  height: 16px;
}

/* -------------------- */
/* Single Blog Content */
/* -------------------- */
.one-motion-blog-single-content {
  background-color: #fff;
  padding: 80px 20px 100px 20px;
}

.one-motion-blog-article .entry-content {
  font-size: 18px;
  line-height: 1.8;
  color: var(--one-motion-gloabl-text);
}

.one-motion-blog-article .entry-content h2,
.one-motion-blog-article .entry-content h3,
.one-motion-blog-article .entry-content h4 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--global-color-heading);
}

.one-motion-blog-article .entry-content h2 {
  font-size: 36px;
  line-height: 1.2;
}

.one-motion-blog-article .entry-content h3 {
  font-size: 28px;
  line-height: 1.3;
}

.one-motion-blog-article .entry-content h4 {
  font-size: 22px;
  line-height: 1.4;
}

.one-motion-blog-article .entry-content p {
  margin-bottom: 25px;
}

.one-motion-blog-article .entry-content ul,
.one-motion-blog-article .entry-content ol {
  margin-bottom: 25px;
  padding-left: 30px;
}

.one-motion-blog-article .entry-content li {
  margin-bottom: 10px;
}

.one-motion-blog-article .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  margin: 30px 0;
}

.one-motion-blog-article .entry-content blockquote {
  border-left: 4px solid var(--global-color-primary);
  padding-left: 30px;
  margin: 40px 0;
  font-size: 22px;
  font-style: italic;
  color: var(--global-color-heading);
}

.one-motion-blog-article .entry-content a {
  color: var(--global-color-primary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.one-motion-blog-article .entry-content a:hover {
  color: var(--global-color-heading);
}

/* -------------------- */
/* Post Tags */
/* -------------------- */
.one-motion-post-tags {
  padding-top: 30px;
  border-top: 1px solid var(--one-motion-general-border);
}

.one-motion-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.one-motion-tag-item {
  display: inline-block;
  padding: 8px 20px;
  background-color: #f6f3ec;
  border-radius: 20px;
  color: var(--global-color-heading);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.one-motion-tag-item:hover {
  background-color: var(--global-color-primary);
  color: #fff;
}

/* -------------------- */
/* Author Bio */
/* -------------------- */
.one-motion-author-bio {
  padding: 40px;
  background-color: #f6f3ec;
  border-radius: 20px;
}

.one-motion-author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.one-motion-author-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--global-color-heading);
  margin-bottom: 10px;
}

.one-motion-author-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--one-motion-gloabl-text);
}

/* -------------------- */
/* Post Navigation */
/* -------------------- */
.one-motion-post-navigation {
  padding-top: 50px;
  border-top: 1px solid var(--one-motion-general-border);
}

.one-motion-post-nav-item {
  display: block;
  padding: 30px;
  background-color: #f6f3ec;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
}

.one-motion-post-nav-item:hover {
  background-color: var(--global-color-primary);
  transform: translateY(-5px);
}

.one-motion-post-nav-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #8a8a8a;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.one-motion-post-nav-item:hover .one-motion-post-nav-label {
  color: #fff;
}

.one-motion-post-nav-label svg {
  width: 20px;
  height: 20px;
}

.one-motion-post-nav-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--global-color-heading);
  margin: 0;
  line-height: 1.3;
}

.one-motion-post-nav-item:hover .one-motion-post-nav-title {
  color: #fff;
}

.one-motion-post-nav-next {
  text-align: right;
}

.one-motion-post-nav-next .one-motion-post-nav-label {
  justify-content: flex-end;
}

/* -------------------- */
/* Related Posts */
/* -------------------- */
.one-motion-related-posts {
  background-color: #f6f3ec;
  padding: 100px 20px;
}

/* -------------------- */
/* Blog Sidebar */
/* -------------------- */
.one-motion-blog-sidebar {
  position: sticky;
  top: 30px;
}

.one-motion-widget {
  background-color: #f6f3ec;
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 30px;
}

.one-motion-widget-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--global-color-heading);
  margin-bottom: 20px;
}

/* Search Widget */
.one-motion-widget-search .input-group {
  position: relative;
}

.one-motion-widget-search .form-control {
  border: 1px solid var(--one-motion-general-border);
  border-radius: 10px;
  padding: 12px 50px 12px 20px;
  font-size: 16px;
}

.one-motion-widget-search .form-control:focus {
  border-color: var(--global-color-primary);
  box-shadow: 0 0 0 0.2rem rgba(247, 148, 32, 0.25);
}

.one-motion-search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #f79420;
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.one-motion-search-btn:hover {
  background-color: var(--global-color-heading);
}

.one-motion-search-btn svg {
  stroke: #fff;
}

/* Categories Widget */
.one-motion-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.one-motion-category-list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}

.one-motion-category-list li:last-child {
  border-bottom: none;
}

.one-motion-category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--global-color-heading);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.one-motion-category-list a:hover {
  color: var(--global-color-primary);
}

.one-motion-category-list .count {
  color: #8a8a8a;
  font-size: 14px;
}

/* Recent Posts Widget */
.one-motion-recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.one-motion-recent-post-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.one-motion-recent-post-item:last-child {
  border-bottom: none;
}

.one-motion-recent-post-thumb {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
}

.one-motion-recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.one-motion-recent-post-item:hover .one-motion-recent-post-thumb img {
  transform: scale(1.1);
}

.one-motion-recent-post-content {
  flex: 1;
}

.one-motion-recent-post-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 5px;
}

.one-motion-recent-post-title a {
  color: var(--global-color-heading);
  text-decoration: none;
  transition: color 0.3s ease;
}

.one-motion-recent-post-title a:hover {
  color: var(--global-color-primary);
}

.one-motion-recent-post-date {
  font-size: 13px;
  color: #8a8a8a;
}

/* Tags Widget */
.one-motion-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.one-motion-tag-cloud-item {
  display: inline-block;
  padding: 6px 15px;
  background-color: #fff;
  border-radius: 15px;
  color: var(--global-color-heading);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.one-motion-tag-cloud-item:hover {
  background-color: var(--global-color-primary);
  color: #fff;
}

/* -------------------- */
/* Responsive Styles */
/* -------------------- */
@media (max-width: 991px) {
  .one-motion-blog-sidebar {
    position: static;
    /* margin-top: 60px; */
  }
}

@media (max-width: 768px) {
  .one-motion-blog-hero {
    padding: 100px 15px 50px 15px;
    margin-top: -85px;
  }

  .one-motion-blog-archive-section {
    padding: 50px 15px 80px 15px;
  }

  .one-motion-blog-single-hero {
    min-height: 500px;
    padding-bottom: 50px;
    margin-top: -85px;
  }

  .one-motion-blog-hero-content {
    padding-top: 150px;
  }

  .one-motion-blog-single-title {
    font-size: 32px;
  }

  .one-motion-blog-single-content {
    padding: 50px 15px 60px 15px;
  }

  .one-motion-blog-article .entry-content {
    font-size: 16px;
  }

  .one-motion-blog-article .entry-content h2 {
    font-size: 28px;
  }

  .one-motion-blog-article .entry-content h3 {
    font-size: 24px;
  }

  .one-motion-author-bio {
    padding: 25px;
  }

  .one-motion-post-nav-item {
    padding: 20px;
  }

  .one-motion-related-posts {
    padding: 60px 15px;
  }

  .one-motion-widget {
    padding: 20px;
  }
}
