<style data-wp-block-html="css">
/* ===============================
   TRAVEL LIFE ANGEL HOME DESIGN
================================ */

/* ===============================
   COMMON SECTION
================================ */

.tla-section {
  margin-top: 25px;
  padding: 20px;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.tla-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.tla-section-title h2 {
  margin: 0;
  font-size: 20px;
  color: #20364f;
}

.tla-title-icon {
  font-size: 22px;
  color: #ff7a00;
}


/* ===============================
   LATEST POSTS
================================ */

.tla-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tla-post-card {
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: .25s;
}

.tla-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0,0,0,.12);
}

.tla-post-image {
  display: block;
  width: 100%;
  height: 165px;
  overflow: hidden;
}

.tla-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: .3s;
}

.tla-post-card:hover .tla-post-image img {
  transform: scale(1.04);
}

.tla-post-content {
  padding: 12px;
}

.tla-post-title {
  display: block;
  color: #222;
  text-decoration: none;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.tla-post-title:hover {
  color: #007da4;
}

.tla-post-meta {
  margin-top: 9px;
  font-size: 12px;
  color: #777;
}


/* ===============================
   VIEW ALL BUTTON
================================ */

.tla-center {
  text-align: center;
  margin-top: 18px;
}

.tla-view-btn {
  display: inline-block;
  background: #0b4168;
  color: #fff !important;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  transition: .25s;
}

.tla-view-btn:hover {
  background: #087da1;
}


/* ===============================
   CATEGORY SECTION
================================ */

.tla-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.tla-category-card {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 15px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.tla-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 17px;
}

.tla-category-heading > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tla-category-heading a {
  font-size: 11px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.tla-category-heading a:hover {
  color: #007da4;
}

.tla-cat-icon {
  font-size: 20px;
}

.destination-icon {
  color: #1580a5;
}

.honeymoon-icon {
  color: #ec76ad;
}

.temple-icon {
  color: #8c6ce5;
}


/* ===============================
   CATEGORY FEATURED POST
================================ */

.tla-featured {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 13px;
}

.tla-featured img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
}

.tla-featured-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 35px 10px 10px;
  background: linear-gradient(
    transparent,
    rgba(0,0,0,.85)
  );
}

.tla-featured-overlay a {
  color: #fff !important;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.tla-featured-date {
  display: block;
  color: #eee;
  font-size: 11px;
  margin-top: 4px;
}


/* ===============================
   CATEGORY SMALL POSTS
================================ */

.tla-small-post {
  display: flex;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid #eeeeee;
}

.tla-small-post:last-child {
  border-bottom: 0;
}

.tla-small-image {
  width: 65px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 5px;
  overflow: hidden;
}

.tla-small-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tla-small-content {
  flex: 1;
}

.tla-small-title {
  display: block;
  color: #333;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.tla-small-title:hover {
  color: #087da1;
}

.tla-small-date {
  display: block;
  font-size: 10px;
  color: #888;
  margin-top: 3px;
}


/* ===============================
   LOADING
================================ */

.tla-loading {
  padding: 30px;
  text-align: center;
  color: #777;
  grid-column: 1 / -1;
}


/* ===============================
   TABLET
================================ */

@media (max-width: 900px) {

  .tla-menu {
    gap: 15px;
  }

  .tla-menu a {
    font-size: 16px;
  }

  .tla-latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tla-categories {
    grid-template-columns: 1fr;
  }

}


/* ===============================
   MOBILE
================================ */

@media (max-width: 700px) {

  .tla-header {
    min-height: 75px;
    padding: 10px 15px;
  }

  .tla-logo img {
    width: 160px;
  }

  .tla-menu {
    display: none;
  }

  .tla-mobile-btn {
    display: block;
  }

  .tla-mobile-menu {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 8px 15px;
  }

  .tla-mobile-menu.active {
    display: flex;
    flex-direction: column;
  }

  .tla-mobile-menu a {
    padding: 10px 5px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
  }

  .tla-section {
    padding: 12px;
    margin-top: 15px;
  }

  .tla-latest-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tla-post-image {
    height: 190px;
  }

  .tla-categories {
    display: block;
    margin-top: 15px;
  }

  .tla-category-card {
    margin-bottom: 15px;
  }

}


/* ===============================
   SMALL MOBILE
================================ */

@media (max-width: 400px) {

  .tla-logo img {
    width: 145px;
  }

  .tla-post-image {
    height: 175px;
  }

  .tla-featured img {
    height: 135px;
  }

}
</style>

<script data-wp-block-html="js">
document.addEventListener("DOMContentLoaded", function () {

  const API = "https://travellifeangel.com/wp-json/wp/v2";

  /* ===============================
     MOBILE MENU
  ================================ */

  const mobileBtn = document.getElementById("tlaMobileBtn");
  const mobileMenu = document.getElementById("tlaMobileMenu");

  if (mobileBtn) {
    mobileBtn.addEventListener("click", function () {
      mobileMenu.classList.toggle("active");
    });
  }


  /* ===============================
     IMAGE
  ================================ */

  function getImage(post) {

    try {

      if (
        post._embedded &&
        post._embedded["wp:featuredmedia"] &&
        post._embedded["wp:featuredmedia"][0]
      ) {
        return post._embedded["wp:featuredmedia"][0].source_url;
      }

    } catch (e) {}

    return "https://travellifeangel.com/wp-content/uploads/2026/05/travel-life-angel.jpg";
  }


  /* ===============================
     DATE
  ================================ */

  function getDate(date) {

    const d = new Date(date);

    return d.toLocaleDateString("hi-IN", {
      day: "2-digit",
      month: "short",
      year: "numeric"
    });

  }


  /* ===============================
     REMOVE HTML FROM TITLE
  ================================ */

  function cleanTitle(title) {

    const temp = document.createElement("div");

    temp.innerHTML = title;

    return temp.textContent || temp.innerText || "";

  }


  /* ===============================
     LATEST 9 POSTS
  ================================ */

  async function loadLatestPosts() {

    const container =
      document.getElementById("tla-latest-posts");

    try {

      const response = await fetch(
        API +
        "/posts?per_page=9&orderby=date&order=desc&_embed"
      );

      if (!response.ok) {
        throw new Error("Posts load failed");
      }

      const posts = await response.json();

      container.innerHTML = "";

      posts.forEach(function (post) {

        const image = getImage(post);
        const title = cleanTitle(post.title.rendered);
        const date = getDate(post.date);

        container.innerHTML += `

          <article class="tla-post-card">

            <a
              class="tla-post-image"
              href="${post.link}"
              aria-label="${title}"
            >

              <img
                src="${image}"
                alt="${title}"
                loading="lazy"
              >

            </a>

            <div class="tla-post-content">

              <a
                class="tla-post-title"
                href="${post.link}"
              >
                ${title}
              </a>

              <div class="tla-post-meta">
                ${date}
              </div>

            </div>

          </article>

        `;

      });

    } catch (error) {

      container.innerHTML =
        "<div class='tla-loading'>Posts load नहीं हो पाए।</div>";

      console.error(error);

    }

  }


  /* ===============================
     CATEGORY POSTS
  ================================ */

  async function loadCategory(slug, containerID) {

    const container =
      document.getElementById(containerID);

    try {

      /* Find category */

      const categoryResponse = await fetch(
        API +
        "/categories?slug=" +
        encodeURIComponent(slug)
      );

      const categories =
        await categoryResponse.json();

      if (!categories.length) {

        container.innerHTML =
          "<p>Category नहीं मिली।</p>";

        return;
      }

      const categoryID =
        categories[0].id;


      /* Get posts */

      const postsResponse = await fetch(

        API +
        "/posts?categories=" +
        categoryID +
        "&per_page=5&orderby=date&order=desc&_embed"

      );

      const posts =
        await postsResponse.json();


      if (!posts.length) {

        container.innerHTML =
          "<p>इस category में अभी कोई post नहीं है।";

        return;
      }


      /* Featured post */

      let html = "";

      const featured = posts[0];

      const featuredImage =
        getImage(featured);

      const featuredTitle =
        cleanTitle(featured.title.rendered);

      const featuredDate =
        getDate(featured.date);


      html += `

        <div class="tla-featured">

          <img
            src="${featuredImage}"
            alt="${featuredTitle}"
            loading="lazy"
          >

          <div class="tla-featured-overlay">

            <a href="${featured.link}">
              ${featuredTitle}
            </a>

            <span class="tla-featured-date">
              ${featuredDate}
            </span>

          </div>

        </div>

      `;


      /* Small posts */

      posts.slice(1, 5).forEach(function (post) {

        const image =
          getImage(post);

        const title =
          cleanTitle(post.title.rendered);

        const date =
          getDate(post.date);


        html += `

          <div class="tla-small-post">

            <a
              class="tla-small-image"
              href="${post.link}"
            >

              <img
                src="${image}"
                alt="${title}"
                loading="lazy"
              >

            </a>

            <div class="tla-small-content">

              <a
                class="tla-small-title"
                href="${post.link}"
              >
                ${title}
              </a>

              <span class="tla-small-date">
                ${date}
              </span>

            </div>

          </div>

        `;

      });


      container.innerHTML = html;


    } catch (error) {

      container.innerHTML =
        "<p>Posts load नहीं हो पाए।</p>";

      console.error(error);

    }

  }


  /* ===============================
     LOAD EVERYTHING
  ================================ */

  loadLatestPosts();

  loadCategory(
    "destinations",
    "tla-destination"
  );

  loadCategory(
    "honeymoon",
    "tla-honeymoon"
  );

  loadCategory(
    "temple-mystery",
    "tla-temple"
  );

});
</script>

<div id="tla-home">



  <!-- LATEST POSTS -->
  <section class="tla-section">

    <div class="tla-section-title">
      <span class="tla-title-icon"></span>
      <h2>Latest Posts</h2>
    </div>

    <div id="tla-latest-posts" class="tla-latest-grid">
      <div class="tla-loading">Posts loading...</div>
    </div>

    <div class="tla-center">
      <a href="https://travellifeangel.com/" class="tla-view-btn">
        View All Posts →
      </a>
    </div>

  </section>


  <!-- THREE CATEGORIES -->
  <section class="tla-categories">

    <!-- DESTINATION -->
    <div class="tla-category-card">

      <div class="tla-category-heading">
        <div>
          <span class="tla-cat-icon destination-icon"></span>
          <span>Destination</span>
        </div>

        <a href="https://travellifeangel.com/destinations/">
          View All →
        </a>
      </div>

      <div id="tla-destination"></div>

    </div>


    <!-- HONEYMOON -->
    <div class="tla-category-card">

      <div class="tla-category-heading">
        <div>
          <span class="tla-cat-icon honeymoon-icon">♡</span>
          <span>Honeymoon</span>
        </div>

        <a href="https://travellifeangel.com/honeymoon/">
          View All →
        </a>
      </div>

      <div id="tla-honeymoon"></div>

    </div>


    <!-- TEMPLE -->
    <div class="tla-category-card">

      <div class="tla-category-heading">
        <div>
          <span class="tla-cat-icon temple-icon"></span>
          <span>Temple &amp; Mystery</span>
        </div>

        <a href="https://travellifeangel.com/category/temple-mystery/">
          View All →
        </a>
      </div>

      <div id="tla-temple"></div>

    </div>

  </section>

</div>
pachmarhi madhya pradesh 5 place visit in under 3000 rupay

pachmarhi madhya pradesh 5 place visit in under 3000 rupay

अगर आप कम बजट में किसी ऐसी जगह घूमना चाहते हैं जहाँ प्राकृतिक सुंदरता, झरने, गुफाएँ, पहाड़ और शांत वातावरण एक साथ देखने को मिल जाएँ, तो मध्य प्रदेश का पचमढ़ी आपके लिए एक बेहतर विकल्प हो सकता है। …

Read more