.featured-section {
  position: relative;
  width: 100%;
}

.post-header {
  position: relative;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.meta-data {
  max-width: 60%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  z-index: 2;
}

.post-title {
  font-size: clamp(2.2rem, 6vw, 10rem) !important;
  margin-bottom: 0.5rem;
}

.post-meta {
  font-size: 0.9rem;
  opacity: 0.9;
}


.entire-page {
  width: 90%;
  display: flex;
  gap: 2%;
  margin: 1rem auto;
}

.post-meta {
  padding: 10px 0;
}

.wp-post-image {
  height: auto;
  max-height: 90vh;
  object-fit: cover;
  object-position: center center;
}

/* rotate border */
.rotate-border {
  padding: 50px 0;
  width: 90%;
  margin: 0 auto;
}

.category-main-heading {
  font-family: 'raleway', Helvetica, Arial, sans-serif;
  font-size: 40px;
  color: #000000;
  text-align: center;
  margin-bottom: 50px !important;
}

.ytt-rotate-detail {
  position: relative;
  padding: 20px;
  box-shadow: 0 0 8px #e9e9e9;
  border-radius: 12px;
  z-index: 0;
  overflow: hidden;
  background: #fff;
  /* or your content background color */
}

/* Rotating snake-like border */
.ytt-rotate-detail::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 16px;
  /* slightly larger than the box */
  background: conic-gradient(from 0deg,
      red, orange, yellow, green, blue, indigo, violet, red);

  z-index: -1;
}

.ytt-rotate-detail::before {
  animation: spin-snake 4s linear infinite;
}

/* Optional inner background to keep content clear */
.ytt-rotate-detail::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 10px;
  z-index: -1;
}

.ytt-rotate-detail-heading {
  margin: 0;
  text-align: center;
}

.ytt-rotate-detail p {
  text-align: center;
}

@keyframes spin-snake {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* content-with-left-image */

.content-with-left-image,
.content-with-right-image {
  width: 100%;
  background-color: #f9f0e063;
}

.cwli,
.cwri {
  display: flex;
  align-items: stretch;
}

.right {
  padding: 50px 30px;
}

.cwli .left,
.cwri .left,
.cwli .right,
.cwri .right {
  flex: 1;
}

/* Image container fills full column height */
.img-holder {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Image fills available space */
.img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content spacing */
.content-holder {
  padding: 10px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .right {
    padding: 30px 20px;
  }

  .reverse-right {
    order: 2;
  }

  .reverse-left {
    order: 1;
  }

  .cwli,
  .cwri {
    flex-direction: column;
  }

  .img-holder {
    height: 300px;
  }
}

/* blue grid started here */
.seo-process {
  max-width: 90%;
  margin: auto;
  padding: 60px 0;
  text-align: center;
}

.seo-process h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
}

.intro {
  font-size: 1.1rem;
  color: #555;
  max-width: 750px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.step {
  background: #003173;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px #ffffff36;
}

.step-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #003173;
  background: #fff;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 15px;
  box-shadow: 0 0 10px #fff;
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #fff;
}

.step p {
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
}

/* White Grid Starts here */
.local-seo {
  max-width: 90%;
  margin: auto;
  padding: 70px 0;
  text-align: center;
}

.local-seo h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #1B2A4E !important;
}

.local-seo p.intro {
  font-size: 1.1rem;
  color: #555;
  max-width: 750px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service {
  background: #fff;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #003173 !important;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgb(22 47 148 / 46%);
}