/* ==========================================
   BLOG SECTION
========================================== */

.blog-section {
  width: 100%;
  background: #f5f9fc;
  padding: 50px 0 70px;
}

/* ==========================================
   CONTAINER
========================================== */

.blog-container {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

/* ==========================================
   MAIN 8 / 4 LAYOUT
========================================== */

.blog-layout {
  display: grid;

  /*
        8 / 12 = 66.66%
        4 / 12 = 33.33%
    */

  grid-template-columns: 2fr 1fr;

  gap: 32px;

  align-items: start;
}

/* ==========================================
   LEFT MAIN CONTENT
========================================== */

.blog-main {
  min-width: 0;
  width: 100%;
}

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

.blog-featured-image {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #eaf6ff;
  margin-bottom: 30px;
}

.blog-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

/* ==========================================
   ARTICLE CONTENT
========================================== */

.blog-content {
  width: 100%;
  padding: 5px 5px 20px;
}

.blog-content p {
  margin: 0 0 24px;

  color: #60758b;

  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.85;
}

.blog-content strong {
  color: #0f2d5b;
  font-weight: 600;
}

/* ==========================================
   HEADINGS
========================================== */

.blog-content h2 {
  color: #0f2d5b;
  padding-top: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  font-weight: 700;

  /* line-height: 1.3; */
}

.blog-content h3 {
  margin: 0 0 15px;

  color: #0f2d5b;

  font-family: "Poppins", sans-serif;
  font-size: 21px;
  font-weight: 600;
}

/* ==========================================
   HIGHLIGHT BOX
========================================== */

.blog-highlight {
  margin: 35px 0;
  padding: 25px 28px;

  border-left: 4px solid #00b4f0;

  border-radius: 10px;

  background: #eaf6ff;
}

.blog-highlight ul {
  margin: 0;
  padding-left: 22px;

  color: #60758b;

  font-size: 16px;
  line-height: 1.8;
}

.blog-highlight li {
  margin-bottom: 6px;
}

/* ==========================================
   RIGHT SIDEBAR
========================================== */

.blog-sidebar {
  min-width: 0;
  width: 100%;
}

/* ==========================================
   RECENT POSTS BOX
========================================== */

.recent-posts {
  width: 100%;

  padding: 28px;

  background: #ffffff;

  border: 1px solid #e2ebf2;

  border-radius: 14px;

  box-shadow: 0 5px 20px rgba(15, 45, 91, 0.05);
}

/* ==========================================
   RECENT POSTS TITLE
========================================== */

.recent-posts-title {
  margin: 0 0 20px;

  color: #0f2d5b;

  font-family: "Poppins", sans-serif;

  font-size: 27px;
  font-weight: 700;

  line-height: 1.3;
}

/* ==========================================
   RECENT POST
========================================== */

.recent-post {
  display: block;

  padding: 20px 0;

  text-decoration: none;

  border-bottom: 1px solid #e5edf3;
}

.recent-post:first-of-type {
  padding-top: 5px;
}

.recent-post:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.recent-post h3 {
  margin: 0;

  color: #0077b6;

  font-family: "Inter", sans-serif;

  font-size: 16px;
  font-weight: 600;

  line-height: 1.55;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.recent-post span {
  display: block;

  margin-top: 9px;

  color: #8493a3;

  font-family: "Inter", sans-serif;

  font-size: 11px;
  font-weight: 500;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

/* ==========================================
   HOVER
========================================== */

.recent-post:hover h3 {
  color: #00b4f0;
}

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

@media (max-width: 991px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .blog-sidebar {
    width: 100%;
  }

  .recent-posts {
    width: 100%;
  }
}

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

@media (max-width: 640px) {
  .blog-section {
    padding: 30px 0 50px;
  }

  .blog-container {
    width: min(100% - 24px, 1440px);
  }

  .blog-layout {
    gap: 25px;
  }

  .blog-featured-image {
    margin-bottom: 22px;
    border-radius: 10px;
  }

  .blog-content {
    padding: 0;
  }

  .blog-content p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 20px;
  }

  .blog-content h2 {
    margin-top: 32px;
    font-size: 25px;
  }

  .recent-posts {
    padding: 22px;
    border-radius: 10px;
  }

  .recent-posts-title {
    font-size: 24px;
  }
}

/* ==========================================
   PROPERTY CTA BOX
========================================== */

.property-cta {
  position: relative;

  width: 100%;
  min-height: 205px;

  margin-top: 14px;

  overflow: hidden;

  border-radius: 10px;

  background: #0f2d5b;
}

/* Background Image */

.property-cta-bg {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* Dark Overlay */

.property-cta-overlay {
  position: absolute;

  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(6, 36, 69, 0.96) 0%,
    rgba(6, 36, 69, 0.82) 42%,
    rgba(6, 36, 69, 0.25) 100%
  );
}

/* Content */

.property-cta-content {
  position: relative;

  z-index: 2;

  min-height: 205px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  padding: 22px 20px;
}

/* Heading */

.property-cta-content h3 {
  max-width: 280px;

  margin: 0;

  color: #ffffff;

  font-family: "Poppins", sans-serif;

  font-size: 21px;
  font-weight: 700;

  line-height: 1.2;
}

/* Description */

.property-cta-content p {
  max-width: 270px;

  margin: 10px 0 16px;

  color: rgba(255, 255, 255, 0.88);

  font-family: "Inter", sans-serif;

  font-size: 12px;
  line-height: 1.5;
}

/* Button */

.property-cta-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 9px 18px;

  border-radius: 999px;

  background: #ffffff;

  color: #00b4f0;

  font-family: "Inter", sans-serif;

  font-size: 12px;
  font-weight: 700;

  text-decoration: none;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.property-cta-button:hover {
  background: #00b4f0;

  color: #ffffff;

  transform: translateY(-2px);
}

.property-cta-button svg {
  transition: transform 0.2s ease;
}

.property-cta-button:hover svg {
  transform: translateX(3px);
}

/* WhatsApp button fix for this blog page */
a.whatsapp-float {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 60px !important;
  height: 60px !important;

  z-index: 999999 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

a.whatsapp-float .whatsapp-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
}

a.whatsapp-float img {
  display: block !important;
  width: 30px !important;
  height: 30px !important;
}
