/*
Theme Name: Vilva Child
Template: vilva
Version: 1.0.0

*/

/* @import url("../vilva/style.css"); */


/* banner */
.banner-section {
  height: 500px;
  background: url("https://hubhopper.com/blog/wp-content/uploads/2025/06/cropped-banner-image-scaled-1.jpg");
  background-size: cover;
  position: relative;
  background-position: left;
  margin-top: -100px;
  overflow: hidden;
  z-index: -1;
}

.banner-text {
  color: white;
  position: absolute;
  top: calc(50% + 50px);
  transform: translateY(-50%);
  width: 40%;
}

@media only screen and (max-width:1024px) {
  .banner-section {
    background-position: center;
    height: 400px;
  }

  .banner-text {
    width: 60%;

  }

  .blog-box {
    display: flex;
    flex-direction: column;
  }
}

@media only screen and (max-width:767px) {
  .banner-section {
    background-position: center;
    height: 400px;
  }

  .banner-text {
    width: 90%;
  }

}


/* pagination */
.custom-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 20px 0;
}

.custom-pagination li a,
.custom-pagination li span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid black;
  border-radius: 50%;
  font-weight: 500;
  text-decoration: none;
  color: black;
  transition: 0.3s ease;
}

.custom-pagination li.active span,
.custom-pagination li a:hover {
  background: #5b3df1;
  color: white;
  border-color: #5b3df1;
}


/* blog loop */
.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.blog-card-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-card-content {
  padding: 20px;
}

.blog-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}

.blog-title a {
  color: #333;
  text-decoration: none;
}

.blog-title a:hover {
  color: #5b3df1;
}

.blog-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.blog-excerpt {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
}

.read-more {
  font-weight: bold;
  color: #5b3df1;
  text-decoration: none;
}


/* footer cta */
.cta-section {
  background-color: #0c1323;
  /* deep navy background */
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 15px;
}

.cta-subtitle {
  font-size: 16px;
  color: #ddd;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: #fff;
  color: #0c1323;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #5b3df1;
  color: #fff;
}

/* sidebar card */
.pricing-card {
  border: 2px solid #5b3df1;
  border-radius: 0px;
  text-align: center;
  padding: 30px 20px;
  /* max-width: 300px; */
  font-family: 'Segoe UI', sans-serif;
  margin: auto;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.pricing-badge {
  background-color: #5b3df1;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 12px;
  /* border-radius: 4px 4px 0 0; */
  margin: -30px -20px 20px;
}

.pricing-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.pricing-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.pricing-price {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.price-term {
  font-size: 16px;
  font-weight: 400;
  color: #555;
  margin-left: 4px;
}

.pricing-button {
  display: inline-block;
  background-color: #5b3df1;
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.pricing-button:hover {
  background-color: #472fc3;
  color: #fff;
}

.pricing-note {
  font-size: 14px;
  color: #444;
  margin-top: 20px;
}


/* sidebar subscribe */
.subscribe-popup {
  /* width: 320px; */
  border-radius: 10px;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  background: #fff;
  position: relative;
  margin-bottom: 20px;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: white;
  z-index: 10;
}

.popup-top {
  background: linear-gradient(135deg, #6a5af9, #826cf4);
  padding-top: 20px;
  text-align: center;
  position: relative;
}

.popup-image {
  width: 100%;
  height: 200px;
}

.popup-bottom {
  background-color: #6a5af9;
  text-align: center;
  padding: 20px;
  color: white;
}

.subscribe-title {
  font-size: 28px;
  margin-bottom: 5px;
}

.subscribe-text {
  font-size: 14px;
  margin-bottom: 20px;
}

.subscribe-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.subscribe-form input {
  padding: 10px 12px;
  font-size: 14px;
  border: none;
  outline: none;
  width: 140px;
  border-radius: 4px 0 0 4px;
  height: 40px;
  background-color: #e6e9fc;
}

.subscribe-form button {
  background: #fff;
  color: #6a5af9;
  border: none;
  padding: 10px 14px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  transition: 0.3s;
  height: 40px;
}

.subscribe-form button:hover {
  background: #e2e0ff;
}

#secondary {
  margin-top: 120px;
}

.blog-heading-section {
  margin: 40px 0;
  /* padding-top: 20px; */

}

.blog-heading-section h2 {
  font-size: 34px;
  font-weight: 600;
  color: #4a5568;
  /* similar to the gray in the image */
  margin-top: 20px;
}


/* latest post */

.latest-posts-section {
  padding: 40px 0px;
  border-bottom: 1px solid #000;
}

.latest-posts-heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.latest-posts-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-card {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
}

.post-thumb img {
  width: 150px;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.post-content {
  flex: 1;
}

.post-meta {
  font-size: 12px;
  color: #777;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.post-title a {
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  color: #1a1a1a;
}

.post-title a:hover {
  text-decoration: underline;
}

.post-excerpt {
  font-size: 14px;
  color: #444;
  margin-top: 10px;
}


/*  */
.custom-post-card {
  display: flex;
  gap: 20px;


  margin-bottom: 20px;
  align-items: flex-start;
}

.custom-post-thumbnail img {
  width: 300px;
  height: auto;
  object-fit: cover;
}

.custom-post-info {
  flex: 1;
}

.custom-post-meta {
  font-size: 12px;
  color: #777;

  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.custom-post-meta .post-comments {
  display: flex;
  align-items: center;
  gap: 4px;
}

.custom-post-info h3 {
  margin: 0px;
  margin-top: 10px;
  font-size: medium !important;
}

.custom-post-title a {
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  color: #000;
}

.custom-post-title a:hover {
  color: #5a3eff;
}

.custom-post-excerpt {
  font-size: 14px;
  color: #444;
}

.blog-sidebar {
  margin-top: 350px !important;
}

/* Responsive Design */

@media (max-width: 768px) {
 .custom-post-card {
    flex-direction: column;
    gap: 15px;
  }
.custom-post-thumbnail{
    width: 100%;
 }
  .custom-post-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
}
@media (max-width: 425px) {
  

  .custom-post-thumbnail img {
    width: 100%;
    height: auto;
  }

  .custom-post-title a {
    font-size: 16px;
  }

  .custom-post-excerpt {
    font-size: 13px;
  }

  .blog-sidebar {
    margin-top: 50px !important;
  }
 
}

.blog-header-section {
  height: 100px;
  background-color: black;
  margin-top: -100px;
}

.updated-meta {
  border-top: 4px solid #f26522;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.breadcrumb-box {
  margin: 50px 0px;
}

.breadcrumb {
  font-size: 14px;
  color: #555;
}

.breadcrumb a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb span {
  color: #888;
}

.single-style-four .site-main article .post-thumbnail {
  margin-bottom: 10px !important;
}

.blog-date {
  margin-bottom: 60px !important;

}

.blog-date .posted-on,
.blog-date .entry-date {

  color: black !important;
}


/* for blog CTA */
.blog-cta-section {
  background-color: #4f46e5;
  color: #fff;
  padding: 20px 20px;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 2rem 0;
}

.blog-cta-content {
  flex: 1 1 300px;
}

.blog-cta-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.blog-cta-desc {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.6;
}

.blog-cta-button {
  display: inline-block;
  background-color: #fbbf24;
  color: #000;
  padding: 10px 20px;
  text-decoration: none !important;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s;
}

.blog-cta-button:hover {
  background-color: #f59e0b;
  color: black !important;
}

.blog-cta-image {
  flex: 1 1 300px;
  text-align: right;
}

.blog-cta-image img {
  max-width: 100%;
  height: auto;
}


/* for rating */

.rating-box{
  width: 100%;
}
.blog-rating-wrapper {
  margin: 1.5rem 0;
  font-family: sans-serif;
}

.rating-buttons {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.rating-btn {
  border: none;
  color: white;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.rating-btn:hover {
  transform: scale(1.1);
}

.rating-response {
  margin-top: 10px;
  font-weight: bold;
  color: #1e40af;
}


.rating-btn {
  padding: 5px 10px;
  margin: 0 2px;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.rating-btn:nth-child(1) {
  background: #e53935;
}

.rating-btn:nth-child(2) {
  background: #fbc02d;
}

.rating-btn:nth-child(3) {
  background: #fdd835;
}

.rating-btn:nth-child(4) {
  background: #cddc39;
}

.rating-btn:nth-child(5) {
  background: #43a047;
}

/* subscribe form */
.subscribe-box {
    background: #6a5df6;
    color: white;
    border-radius: 10px;
    overflow: hidden;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin: auto;
    margin-bottom: 20px;
}
.subscribe-image{
  margin-top: 15px;
}
.subscribe-image img {
    width: 100%;
    display: block;
    border-bottom: 0;
}

.subscribe-content {
    padding: 20px;
}

.subscribe-content h2 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: bold;
}

.subscribe-content p {
    font-size: 14px;
    margin-bottom: 15px;
}

.subscribe-form .wpforms-form input[type="email"] {
    padding: 9px !important;
    border-radius: 5px 0px 0px 5px !important;
    border: none !important;
    margin-right: 5px !important;
    background-color: #e6e9fc !important;
     height: 40px !important;
}

.subscribe-form .wpforms-form button[type="submit"] {
    padding: 10px 15px !important;
    border-radius: 0px 5px 5px 0px !important;
    background-color: white !important;
    color: #6a5df6 !important;
    font-weight: bold !important;
    border: none !important;
    height: 40px !important;
}


.subscribe-form .wpforms-form{
  display: flex;
  justify-content: center;
  align-items: center;
}

.subscribe-form .wpforms-submit-container{
  margin-top: 0px !important;
}


/* social share blog */
.social-share {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.share-icon {
  width: 40px;
  height: 40px;
  border: 2px solid #5b45f3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b45f3;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.share-icon:hover {
  background-color: #5b45f3;
  color: #fff;
}


/* popular post */
.popular-heading{
  color: #54595f;
  margin: 10px 0px;
  margin-bottom: 40px;
}
.popular-post-card {
    

    overflow: hidden;
 
    margin-bottom: 30px;
}

.popular-post-image img {
    width: 100%;
    height: auto;
  
    object-fit: cover;
    display: block;
}

.popular-post-content {
    padding: 10px 0px;
   
}

.posted-by {
  display: flex;
  align-items: center;
    font-size: 13px;
    font-weight: 400;
    margin: 0 0 5px;
 
}

.author-name{
  margin-right:10px ;
}

.posted-by>span{
  margin-left: 5px;
}

.popular-post-title a {
 
    font-weight: bold;
  color: #000;
    text-decoration: none;
}



.popular-post-title a:hover {
 color: #5b45f3;
}
.post-category {
    display: inline-block;
    margin-top: 8px;
    background: #e8dcff;
    color: #5b2cad;
    padding: 4px 12px;
    font-size: 13px;
    border-radius: 20px;
}


.post-views {
display: flex;
justify-content: center;
align-items: center;
width: 27px;
color:#000;
font-size: 12px;
}

.post-views>span{
  margin-left: 5px;
}

.popular-count{
  color: white;
}
