/* Import Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.0
*/

.custom-blog-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0;
}

.custom-blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
  z-index: 1;
}

.custom-blog-hero h1 {
  position: relative;
  z-index: 2;
}
body *:not(header):not(header *):not(footer):not(footer *):not(i):not([class*="dashicon"]):not([class*="icon"]):not([class*="fa"]):not(svg):not(use) {
  font-family: 'Inter', sans-serif !important;
}


.custom-blog-title {
  font-size: 48px;
  font-weight: bold;
  margin: 0;
}

/* === Layout === */
.custom-blog-container {
  display: flex;
  max-width: 1200px;
  margin: 40px auto;
  gap: 30px;
  padding: 0 20px;
}

.blog-left {
  flex: 2;
}

.blog-right {
  flex: 1;
}

/* === Blog Post === */
.blog-post {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* === Thumbnail === */
.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px 6px 0 0;
}

/* === Content Wrapper === */
.post-content-wrapper {
  padding: 20px;
}

/* === Flex Container: Calendar + Text === */
.post-inner-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

/* === Date Box === */
.post-date-box {
  margin-top: 10px;
  width: 60px;
  background: #ffffff;
  color: #000000;
  text-align: center;
  font-weight: bold;
  border-radius: 4px;
  flex-shrink: 0;
}

.post-date-box .day {
  font-size: 22px;
  padding: 10px 0 5px;
}

.post-date-box .month {
  background: #7A843D;
  font-size: 13px;
  color: #ffffff;
  padding: 5px 0;
}

/* === Text Content === */
.post-text {
  flex: 1;
}

.post-title a {
  font-size: 22px;
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

.post-title a:hover {
  text-decoration: underline;
}

.post-meta {
  font-size: 14px;
  color: #888;
  margin: 10px 0 15px;
}

.post-excerpt {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
}

.read-more {
  display: inline-block;
  background: #ffffff;
  color: #201c1c;
  padding: 10px 16px;
  font-size: 13px;
  text-transform: uppercase;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
}

.read-more:hover {
  background-color: #7A843D;
  color: #ffffff;
}

/* === Sidebar Widgets === */
.blog-right .widget {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.blog-right .widget h3 {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.blog-right .widget h3 .dot {
  height: 10px;
  width: 10px;
  background: #7A843D;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
}

.blog-right ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-right ul li {
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
  list-style: none;
  margin: 5px 0;
}

.blog-right ul li a {
  color: #666;
  text-decoration: none;
  display: block;
}

.blog-right ul li a:hover {
  color: #000;
}

.get-in-touch {
  display: inline-block;
  width: 88%;
  padding: 12px;
  background: #000000;
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  border: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.get-in-touch:hover {
  background: #7A843D;
   color: white;
}


/* === Pagination === */
.custom-pagination {
  text-align: center;
  margin-top: 40px;
}

.custom-pagination .page-numbers {
  display: inline-block;
  padding: 10px 14px;
  margin: 0 4px;
  background: #444;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.custom-pagination .page-numbers:hover {
  background: #7A843D;
}

.custom-pagination .current {
  background: #7A843D;
  font-weight: bold;
}

/* === Responsive Fix for Tablet & Mobile === */
@media (max-width: 768px) {
  .custom-blog-container {
    flex-direction: column;
  }

  .blog-left, .blog-right {
    width: 100%;
  }

  .post-inner-content {
    flex-direction: column;
  }

  .post-date-box {
    width: 100%;   
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
  }

  .post-text {
    width: 100%;
  }

  .custom-blog-title {
    font-size: 32px;
    padding: 0 20px;
  }

  .get-in-touch {
    width: 100%;
  }

  .read-more {
    width: 100%;
    text-align: center;
  }
}
.no-results {
  background: #fff;
  border-left: 4px solid #e74c3c;
  padding: 20px;
  margin: 20px 0;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 6px;
}

.no-results h2 {
  color: #e74c3c;
  margin-bottom: 10px;
}

.no-results p {
  color: #555;
  font-size: 15px;
}
