/* Blog Page Custom Styles */

/* Page Title Section */
.page-title.page-title-1 {
  position: relative;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  min-height: 400px;
}

.page-title.page-title-1 .bg-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-title.page-title-1 .bg-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-title.page-title-1.bg-overlay-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 52, 100, 0.85);
  z-index: 1;
}

.page-title.page-title-1 .container {
  position: relative;
  z-index: 2;
}

.page-title.page-title-1 .title {
  text-align: center;
}

.page-title.page-title-1 .title-subtitle {
  font-family: var(--global--font-heading);
  color: #92c13e;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.page-title.page-title-1 .title-heading {
  font-family: var(--global--font-heading);
  color: #ffffff;
  font-size: 48px;
  font-weight: 500;
  text-transform: capitalize;
  line-height: 1.3;
  margin-bottom: 0;
}

@media screen and (max-width: 767.98px) {
  .page-title.page-title-1 .title-heading {
    font-size: 32px;
  }
}

/* Blog Grid Section */
.blog.blog-grid {
  padding: 100px 0;
  background-color: #ffffff;
}

.blog.blog-grid .row > [class*="col-"] {
  margin-bottom: 50px;
}

/* Blog Entry Card */
.blog-entry {
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-entry .entry-img {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.blog-entry .entry-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-entry .entry-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #92c13e;
  color: #ffffff;
  text-align: center;
  padding: 10px 15px;
  border-radius: 4px;
  z-index: 2;
}

.blog-entry .entry-date .day {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.blog-entry .entry-date .month {
  display: block;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 5px;
}

.blog-entry .entry-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-entry .entry-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.blog-entry .entry-author p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.blog-entry .entry-author a {
  color: #063464;
  font-weight: 500;
  text-decoration: none;
}

.blog-entry .entry-author a:hover {
  color: #92c13e;
}

.blog-entry .entry-category {
  font-size: 14px;
}

.blog-entry .entry-category a {
  color: #92c13e;
  text-decoration: none;
  font-weight: 500;
}

.blog-entry .entry-category a:hover {
  color: #063464;
}

.blog-entry .entry-title {
  margin-bottom: 15px;
}

.blog-entry .entry-title h4 {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
}

.blog-entry .entry-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-entry .entry-title a:hover {
  color: #92c13e;
}

.blog-entry .entry-bio {
  margin-bottom: 20px;
  flex: 1;
}

.blog-entry .entry-bio p {
  margin: 0;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

.blog-entry .entry-more {
  margin-top: auto;
}

.blog-entry .entry-more .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Pagination */
.pagination-area {
  margin-top: 50px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination .page-item {
  margin: 0;
}

.pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 10px 15px;
  background: #ffffff;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background: #92c13e;
  border-color: #92c13e;
  color: #ffffff;
}

.pagination .page-item.active .page-link {
  background: #063464;
  border-color: #063464;
  color: #ffffff;
}

.pagination .page-link i {
  margin-left: 5px;
  font-size: 12px;
}

/* Responsive adjustments */
@media screen and (max-width: 991.98px) {
  .blog.blog-grid {
    padding: 60px 0;
  }
}

@media screen and (max-width: 767.98px) {
  .blog-entry .entry-img {
    height: 200px;
  }

  .blog-entry .entry-content {
    padding: 20px;
  }

  .blog-entry .entry-title h4 {
    font-size: 18px;
  }

  .pagination-area {
    margin-top: 30px;
  }
}

/* ========================================
   Blog Single/Detail Page Styles
   ======================================== */

/* Blog Single Section */
.blog.blog-single {
  /* padding: 80px 0; */
  background-color: #ffffff;
}

/* Entry Image */
.blog-single .blog-entry .entry-img {
  position: relative;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.blog-single .blog-entry .entry-img img {
  width: 100%;
  height: auto;
}

.blog-single .blog-entry .entry-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #92c13e;
  color: #ffffff;
  text-align: center;
  padding: 10px 15px;
  border-radius: 4px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.blog-single .blog-entry .entry-date .month {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
}

.blog-single .blog-entry .entry-date .day {
  font-size: 24px;
  font-weight: 700;
  margin-top: 5px;
  line-height: 1;
}

/* Entry Content */
.blog-single .entry-content {
  margin-bottom: 40px;
}

/* Entry Meta */
.blog-single .entry-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-bottom: 20px;
  margin-bottom: 25px;
  border-bottom: 1px solid #e5e5e5;
}

.blog-single .entry-meta .divider {
  width: 1px;
  height: 20px;
  background: #e5e5e5;
}

.blog-single .entry-category a {
  color: #92c13e;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  margin-right: 10px;
}

.blog-single .entry-category a:hover {
  color: #063464;
}

.blog-single .entry-author a {
  color: #063464;
  font-weight: 500;
  text-decoration: none;
}

.blog-single .entry-author a:hover {
  color: #92c13e;
}

.blog-single .entry-author p {
  margin: 0;
  font-size: 14px;
}

.blog-single .entry-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.blog-single .entry-share span {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-transform: capitalize;
}

.blog-single .entry-share .module-social {
  display: flex;
  gap: 8px;
}

/* Entry Title */
.blog-single .entry-title {
  margin-bottom: 25px;
}

.blog-single .entry-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0;
}

/* Entry Bio/Content */
.blog-single .entry-bio {
  margin-bottom: 30px;
}

.blog-single .entry-bio p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

/* Entry Infos (Image + Pricing) */
.blog-single .entry-infos {
  margin: 40px 0;
}

.blog-single .entry-infos img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.blog-single .prices-list {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
}

.blog-single .prices-list h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: capitalize;
  margin-bottom: 20px;
}

.blog-single .prices-list ul {
  margin: 0;
  padding: 0;
}

.blog-single .prices-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 15px;
  color: #666;
}

.blog-single .prices-list li:last-child {
  border-bottom: none;
}

.blog-single .prices-list .price {
  color: #92c13e;
  font-weight: 700;
  font-size: 16px;
}

/* Entry Holder (Tags + Share) */
.blog-single .entry-holder {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 25px 0;
  border-top: 2px solid #e5e5e5;
  border-bottom: 2px solid #e5e5e5;
  margin: 40px 0;
}

.blog-single .entry-tags {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.blog-single .entry-tags > span {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-transform: capitalize;
}

.blog-single .entry-tags > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-single .entry-tags a {
  padding: 6px 15px;
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  color: #666;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-single .entry-tags a:hover {
  background: #92c13e;
  border-color: #92c13e;
  color: #ffffff;
}

/* Navigation Posts */
.blog-single .nav-posts {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0;
}

.blog-single .nav-posts .btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
}

.blog-single .prev-post .btn i {
  order: -1;
  transform: rotate(180deg);
}

/* Author Bio Widget */
.blog-single .entry-widget-bio {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.blog-single .entry-widget-content {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.blog-single .entry-widget-content img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-single .entry-bio-desc h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  text-transform: capitalize;
}

.blog-single .entry-bio-desc p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.blog-single .entry-bio-desc .module-social {
  display: flex;
  gap: 10px;
}

/* Sidebar Styles */
.sidebar-blog {
  position: sticky;
  top: 100px;
}

.sidebar-blog .widget {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
}

.sidebar-blog .widget-title h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: capitalize;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #92c13e;
}

/* Widget Search */
.widget-search .input-group {
  display: flex;
}

.widget-search .form-control {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #e5e5e5;
  border-right: none;
  border-radius: 4px 0 0 4px;
}

.widget-search .btn {
  padding: 12px 20px;
  background: #92c13e;
  border: 1px solid #92c13e;
  border-radius: 0 4px 4px 0;
  color: #ffffff;
  transition: all 0.3s ease;
}

.widget-search .btn:hover {
  background: #063464;
  border-color: #063464;
}

/* Widget Recent Posts */
.widget-recent-posts .post {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.widget-recent-posts .post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.widget-recent-posts .post.active {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 4px;
  border-bottom: none;
}

.widget-recent-posts .post-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}

.widget-recent-posts .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-recent-posts .post-date {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #999;
}

.widget-recent-posts .post-title a {
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.widget-recent-posts .post-title a:hover {
  color: #92c13e;
}

/* Widget Categories */
.widget-categories ul {
  margin: 0;
  padding: 0;
}

.widget-categories li {
  margin-bottom: 12px;
}

.widget-categories li:last-child {
  margin-bottom: 0;
}

.widget-categories a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 4px;
  color: #666;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.widget-categories a:hover {
  background: #92c13e;
  color: #ffffff;
}

.widget-categories i {
  color: #92c13e;
  font-weight: 700;
  font-style: normal;
}

.widget-categories a:hover i {
  color: #ffffff;
}

/* Widget Tags */
.widget-tags .widget-content {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.widget-tags a {
  padding: 8px 16px;
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  color: #666;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.widget-tags a:hover {
  background: #92c13e;
  border-color: #92c13e;
  color: #ffffff;
}

/* Widget Reservation */
.widget-reservation {
  position: relative;
  padding: 40px 30px !important;
  border: none !important;
  overflow: hidden;
}

.widget-reservation .bg-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.widget-reservation .bg-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-reservation.bg-overlay-theme-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(146, 193, 62, 0.95);
  z-index: 1;
}

.widget-reservation .card-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  z-index: 3;
  width: 100px;
}

.widget-reservation .card-badge img {
  width: 100%;
}

.widget-reservation .widget-content {
  position: relative;
  z-index: 2;
}

.widget-reservation .heading-subtitle {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.widget-reservation .heading-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

.widget-reservation .heading-desc {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.widget-reservation .btn {
  width: 100%;
  margin-bottom: 15px;
}

.widget-reservation a[href^="tel"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.widget-reservation a[href^="tel"] span {
  font-size: 16px;
}

/* Responsive adjustments for blog single */
@media screen and (max-width: 991.98px) {
  .blog.blog-single {
    padding: 60px 0;
  }

  .sidebar-blog {
    position: static;
    margin-top: 50px;
  }

  .blog-single .entry-title h2 {
    font-size: 26px;
  }

  .blog-single .entry-widget-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media screen and (max-width: 767.98px) {
  .blog-single .entry-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-single .entry-meta .divider {
    display: none;
  }

  .blog-single .entry-share {
    margin-left: 0;
  }

  .blog-single .entry-holder {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-single .nav-posts {
    flex-direction: column;
  }

  .blog-single .entry-widget-bio {
    padding: 25px;
  }

  .sidebar-blog .widget {
    padding: 20px;
  }
}
