.stateContainer {
  background: #f3f4fa;
}

.state-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: white;
  background-image: url("/assets/img/hero4-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 20px;
  box-sizing: border-box;
}

.state-banner h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: #fff;
  font-weight: 600;
}

.state-banner h2 {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: orange;
  font-weight: 600;
  margin: 10px 0;
  line-height: 23px;
}

.state-banner .state-description {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 10px auto;
  max-width: 800px;
  color: #fff;
}

.detail-content-section {
  display: block;
  background: #000;
  background-image: url("https://www.marketalpha.ai/images/s-8/illustration.svg");
  background-repeat: no-repeat, no-repeat;
  background-position: top, center top 40px;
  padding-bottom: 100px;
}

.detail-content-section .detailtitle {
  text-align: center;
  padding-top: 270px;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.detail-content-section .detailtitle h2 {
  font-size: 28px;
  color: #fff;
  font-weight: 500;
}

.detail-content-section .detailtitle p {
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  margin: 10px 0px;
}

.detail-content-section .wrapper {
  width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.detail-content-section .wrapper .detailcontent {
  width: 24%;
  margin-top: 10px;
  padding: 8px;
  border: 1px solid #1e293d;
  background: rgba(21, 23, 31, 1);
  border-radius: 5px;
  margin-bottom: 10px;
}

.detail-content-section .wrapper .detailcontent .detailData {
  background: linear-gradient(
    180deg,
    rgba(218, 214, 254, 0.018),
    rgba(218, 214, 254, 0)
  );
  border-radius: 4px;
  padding: 24px;
}

.detail-content-section .wrapper .detailcontent .detailData .imageWrapper {
  width: 55px;
  height: 55px;
  display: block;
}

.detail-content-section .wrapper .detailcontent .detailData .imageWrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-content-section .wrapper .detailcontent .detailData h3 {
  background: linear-gradient(91.59deg, #3f91fa, #7a5bf7 99.39%),
    linear-gradient(
      91.59deg,
      rgba(241, 192, 42, 0.06),
      rgba(241, 192, 42, 0.18) 99.39%
    );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 20px;
  padding: 15px 0px;
}

.detail-content-section .wrapper .detailcontent .detailData p {
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  line-height: 24px;
}

.top-cities-section {
  padding: 50px 0;
  background: #fff;
}

.top-cities-section .wrapper {
  width: 1200px;
  margin: auto;
}

.top-cities-section .title h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
  font-weight: 700;
}

.cityCard {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.city-card {
  display: flex;
  flex-direction: column;
}

.city-card .city-button {
  color: #0678b1;
  text-decoration-color: #0678b1;
}

.city-card h3 {
  font-size: 16px;
}

.countryDescription {
  padding: 40px 0px;
}
.countryDescription .wrapper {
  width: 1200px;
  margin: auto;
}

.countryDescription .wrapper .country-description {
  display: block;
}

.countryDescription .wrapper .country-description h1 {
  font-size: 28px;
  color: #000;
  font-weight: 600;
}
.countryDescription .wrapper .country-description h2 {
  margin-bottom: 5px;
}
.countryDescription .wrapper .country-description h3 {
  margin-bottom: 5px;
}
.countryDescription .wrapper .country-description h4 {
  margin-bottom: 5px;
}

.countryDescription .wrapper .country-description p {
  font-size: 16px;
  line-height: 22px;
  padding: 10px 0px;
}

.countryDescription .wrapper .country-description ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.countryDescription .wrapper .country-description ul li {
  line-height: 24px;
}

.countryDescription .wrapper .country-description ul li a {
  text-decoration: none;
  color: #0678b1;
}
.countryDescription .wrapper .country-description ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.countryDescription .wrapper .country-description ol li {
  line-height: 24px;
}

.countryDescription .wrapper .country-description ol li a {
  text-decoration: none;
  color: #0678b1;
}

.top-blogs-section {
  display: block;
  padding: 40px 0px;
  background: #000;
  margin-bottom: 40px;
}

.top-blogs-section .wrapper {
  width: 1200px;
  margin: auto;
}
.top-blogs-section .title {
  display: block;
  text-align: center;
  margin-bottom: 10px;
}

.top-blogs-section .title h2 {
  font-size: 28px;
  color: #fff;
  font-weight: 600;
}

.blogCard {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.blog-card {
  margin-top: 10px;
  padding: 8px;
  border: 1px solid #1e293d;
  background: rgba(21, 23, 31, 1);
  width: 24%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.blog-card .blog-card-detail {
  background: linear-gradient(
    180deg,
    rgba(218, 214, 254, 0.018),
    rgba(218, 214, 254, 0)
  );
  border-radius: 5px;
  padding: 10px;
  position: relative;
}

.blog-card:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/* Blog image */
.blog-image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

/* Blog text content */
.blog-content {
  display: block;
}

.blog-content h3 {
  background: linear-gradient(91.59deg, #3f91fa, #7a5bf7 99.39%),
    linear-gradient(
      91.59deg,
      rgba(241, 192, 42, 0.06),
      rgba(241, 192, 42, 0.18) 99.39%
    );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 15px 0px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
}

/* Clamp HTML content to 5 lines */
.blog-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  color: #fff;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 15px;
}

.blog-description h1,
.blog-description h2,
.blog-description h3,
.blog-description h4,
.blog-description h5,
.blog-description h6 {
  font-size: 16px; /* same as paragraph */
  font-weight: 400; /* optional */
  margin: 0; /* optional */
}

/* Prevent block elements inside HTML content from breaking layout */
.blog-description p,
.blog-description strong,
.blog-description em,
.blog-description span,
.blog-description a,
.blog-description br {
  display: inline;
}

/* Blog button */
.blog-button {
  display: inline-block;
  padding: 8px 18px;
  background: #0678b1;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.blog-button:hover {
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  transform: translateY(-2px);
}

@media only screen and (max-width: 768px) and (min-width: 360px) {
  .detail-content-section .detailtitle h2 {
    padding: 0px 10px;
  }
  .detail-content-section .detailtitle p {
    padding: 0px 10px;
  }

  .detail-content-section .wrapper {
    width: 100%;
    flex-wrap: wrap;
    padding: 0px 10px;
  }
  .detail-content-section .wrapper .detailcontent {
    width: 100%;
  }

  .top-blogs-section .wrapper {
    width: 100%;
    padding: 0px 10px;
  }

  .top-blogs-section .wrapper .blogCard .blog-card {
    width: 100%;
  }

  .countryDescription .wrapper {
    width: 100%;
    padding: 0px 10px;
  }
}

@media only screen and (max-width: 1299px) and (min-width: 769px) {
  .detail-content-section .wrapper {
    width: 100%;
    flex-wrap: wrap;
    padding: 0px 10px;
  }
  .top-blogs-section .wrapper {
    width: 100%;
    padding: 0px 10px;
  }

  .countryDescription .wrapper {
    width: 100%;
    padding: 0px 10px;
  }
}
