/* =========================================
   REAL ESTATE TRENDS
   BLACK & WHITE EDITORIAL DESIGN
========================================= */

.real-estate-section {
  position: relative;
  width: 100%;
  /* background: #ffffff; */
  color: #111111;
  overflow: hidden;
  /* padding: 100px 0; */
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* =========================================
   HEADER
========================================= */

.real-estate-section .real-estate-header {
  /* max-width: 1050px; */
  margin-bottom: 10px;
  animation: revealUp 0.8s ease both;
}

.real-estate-section .article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #777;
  margin-bottom: 30px;
}

.real-estate-section .meta-line {
  width: 45px;
  height: 1px;
  background: #111;
}

.real-estate-section .real-estate-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 7vw, 40px);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: -2px;
  max-width: 1000px;
}

.real-estate-section .real-estate-header h1 span {
  display: block;
  font-style: italic;
  color: #555;
}

.real-estate-section .article-intro {
  max-width: 650px;
  margin: 35px 0 0;
  padding-left: 25px;
  border-left: 2px solid #111;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

/* =========================================
   INTRODUCTION
========================================= */

.real-estate-section .article-introduction {
  /* display: grid; */
  grid-template-columns: 250px 1fr;
  gap: 60px;
  padding: 45px 0;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
}

.real-estate-section .intro-label {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 12px;
}

.real-estate-section .intro-label span:first-child {
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
}

.real-estate-section .intro-content {
  max-width: 780px;
}

.real-estate-section .intro-content p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.85;
  color: #444;
}

.real-estate-section .intro-content p:last-child {
  margin-bottom: 0;
}

/* =========================================
   MARKET HIGHLIGHT
========================================= */

.real-estate-section .market-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 80px 0;
  background: #111;
  color: #fff;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.real-estate-section .market-highlight::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -100px;
  top: -120px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.real-estate-section .highlight-number {
  display: flex;
  align-items: center;
  padding: 50px;
  font-family: Georgia, serif;
  font-size: clamp(65px, 9vw, 125px);
  line-height: 1;
  letter-spacing: -6px;
}

.real-estate-section .highlight-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  border-left: 1px solid #444;
}

.real-estate-section .highlight-content span {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 18px;
}

.real-estate-section .highlight-content p {
  max-width: 390px;
  color: #bbb;
  line-height: 1.7;
  margin: 0;
  font-size: 14px;
}

/* =========================================
   TRENDS HEADING
========================================= */

.real-estate-section .trends-wrapper {
  margin-top: 15px;
}

.real-estate-section .trends-heading {
  margin-bottom: 60px;
}

.real-estate-section .trends-heading > span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 22px;
  color: #777;
}

.real-estate-section .trends-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 45px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -2px;
  margin: 0;
}

.real-estate-section .trends-heading h2 strong {
  font-style: italic;
  font-weight: 400;
}

/* =========================================
   TREND CARD
========================================= */

.real-estate-section .trend-card {
  /* display: grid; */
  grid-template-columns: 160px 1fr;
  gap: 40px;
  padding: 55px 0;
  border-top: 1px solid #d5d5d5;
  position: relative;
  transition:
    padding-left 0.35s ease,
    background 0.35s ease;
}

.real-estate-section .trend-card:last-child {
  border-bottom: 1px solid #d5d5d5;
}

/* .real-estate-section .trend-card:hover {
  padding-left: 20px;
} */

.real-estate-section .trend-number {
  font-family: Georgia, serif;
  font-size: 70px;
  line-height: 1;
  color: #d7d7d7;
  transition: color 0.35s ease;
}

/* .real-estate-section .trend-card:hover .real-estate-section .trend-number {
  color: #111;
} */

.real-estate-section .trend-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.real-estate-section .trend-title-row h3 {
  /* max-width: 700px; */
  margin: 0 0 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 30px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}

.real-estate-section .trend-text {
  max-width: 850px;
}

.real-estate-section .trend-text p {
  color: #555;
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 18px;
}

.real-estate-section .trend-text p:last-child {
  margin-bottom: 0;
}

/* =========================================
   FOOTER CTA
========================================= */

.real-estate-section .article-footer {
  margin-top: 10px;
  padding: 65px 0;
  /* border-top: 1px solid #111; */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.real-estate-section .footer-small {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
}

.real-estate-section .article-footer h3 {
  margin: 18px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(42px, 5vw, 65px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -2px;
}

.real-estate-section .read-more-btn {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 17px 25px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.real-estate-section .read-more-btn span {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.real-estate-section .read-more-btn:hover {
  background: #111;
  color: #fff;
}

.real-estate-section .read-more-btn:hover span {
  transform: translate(4px, -4px);
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.real-estate-section .trend-card {
  animation: trendReveal linear both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

@keyframes trendReveal {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   SHARE BLOG SECTION
========================================= */

.real-estate-section .share-blog {
  margin-top: 35px;
  padding: 45px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 50px;

  /* border-top: 1px solid #d8d8d8; */
  border-bottom: 1px solid #111;

  animation: shareReveal 0.8s ease both;
}

.real-estate-section .share-blog-content {
  max-width: 550px;
}

.real-estate-section .share-blog-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.real-estate-section .share-icon {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: #111;
  color: #fff;

  border-radius: 50%;

  font-size: 17px;

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.real-estate-section .share-blog:hover .share-icon {
  transform: rotate(12deg) scale(1.05);
}

.real-estate-section .share-blog-heading span {
  display: block;

  margin-bottom: 5px;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 2px;

  color: #777;
}

.real-estate-section .share-blog-heading h3 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 26px;
  font-weight: 400;

  line-height: 1.1;
}

.real-estate-section .share-blog-content > p {
  margin: 18px 0 0;

  max-width: 500px;

  color: #666;

  font-size: 13px;
  line-height: 1.75;
}

/* =========================================
   SOCIAL BUTTONS
========================================= */

.real-estate-section .share-blog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 10px;

  flex-wrap: wrap;
}

.real-estate-section .share-social {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  aspect-ratio: 1/1;

  padding: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  position: relative;

  border: 1px solid #d2d2d2;

  background: #fff;
  color: #111;

  text-decoration: none;

  cursor: pointer;

  overflow: hidden;

  transition:
    transform 0.3s ease,
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.real-estate-section .share-social::before {
  content: "";

  position: absolute;

  width: 100%;
  height: 100%;

  left: 0;
  bottom: -100%;

  background: #111;

  transition: bottom 0.3s ease;

  z-index: 0;
}

.real-estate-section .share-social svg {
  position: relative;
  z-index: 2;

  font-size: 16px;

  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.real-estate-section .share-social:hover {
  color: #fff;
  border-color: #111;

  transform: translateY(-6px);
}

.real-estate-section .share-social:hover::before {
  bottom: 0;
}

.real-estate-section .share-social:hover svg {
  transform: scale(1.15);
}

/* =========================================
   SOCIAL BRAND HOVERS
========================================= */

.real-estate-section .share-social.facebook:hover::before {
  background: #1877f2;
}

.real-estate-section .share-social.facebook:hover {
  border-color: #1877f2;
}

.real-estate-section .share-social.twitter:hover::before {
  background: #000;
}

.real-estate-section .share-social.linkedin:hover::before {
  background: #0a66c2;
}

.real-estate-section .share-social.linkedin:hover {
  border-color: #0a66c2;
}

.real-estate-section .share-social.whatsapp:hover::before {
  background: #25d366;
}

.real-estate-section .share-social.whatsapp:hover {
  border-color: #25d366;
}

/* =========================================
   COPY LINK
========================================= */

.real-estate-section .share-social.copy-link:hover::before {
  background: #333;
}

.real-estate-section .share-social.copy-link.copied {
  background: #111;
  border-color: #111;
  color: #fff;
}

.real-estate-section .share-social.copy-link.copied svg {
  animation: copiedAnimation 0.4s ease;
}

@keyframes copiedAnimation {
  0% {
    transform: scale(0.6);
  }

  60% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* =========================================
   SHARE REVEAL
========================================= */

@keyframes shareReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   TABLET
========================================= */

@media (min-width: 768px) and (max-width: 991px) {
  .real-estate-section {
    /* padding: 75px 0; */
  }

  .real-estate-section .article-introduction {
    grid-template-columns: 180px 1fr;
    gap: 35px;
  }

  .real-estate-section .trend-card {
    grid-template-columns: 100px 1fr;
    gap: 30px;
  }

  .real-estate-section .trend-number {
    font-size: 55px;
  }

  .real-estate-section .market-highlight {
    margin: 60px 0;
  }

  .real-estate-section .share-blog {
    flex-direction: column;
    align-items: flex-start;

    gap: 30px;
  }

  .real-estate-section .share-blog-actions {
    justify-content: flex-start;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (min-width: 576px) and (max-width: 767px) {
  .real-estate-section {
    /* padding: 55px 0; */
  }

  .real-estate-container {
    width: min(92%, 600px);
  }

  .real-estate-section .article-meta {
    flex-wrap: wrap;
    margin-bottom: 22px;
  }

  .real-estate-section .real-estate-header {
    margin-bottom: 55px;
  }

  .real-estate-section .real-estate-header h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .real-estate-section .article-intro {
    font-size: 14px;
    padding-left: 18px;
  }

  .real-estate-section .article-introduction {
    display: block;
    padding: 35px 0;
  }

  .real-estate-section .intro-label {
    margin-bottom: 30px;
  }

  .real-estate-section .intro-content p {
    font-size: 14px;
  }

  .real-estate-section .market-highlight {
    display: block;
    min-height: auto;
  }

  .real-estate-section .highlight-number {
    padding: 40px 30px 20px;
    font-size: 75px;
  }

  .real-estate-section .highlight-content {
    padding: 25px 30px 40px;
    border-left: 0;
    border-top: 1px solid #444;
  }

  .real-estate-section .trends-wrapper {
    /* margin-top: 70px; */
  }

  .real-estate-section .trends-heading {
    margin-bottom: 40px;
  }

  .real-estate-section .trends-heading h2 {
    font-size: 43px;
  }

  .real-estate-section .trend-card {
    display: block;
    padding: 40px 0;
  }

  .real-estate-section .trend-card:hover {
    padding-left: 0;
  }

  .real-estate-section .trend-number {
    font-size: 45px;
    margin-bottom: 20px;
  }

  .real-estate-section .trend-title-row {
    gap: 15px;
  }

  .real-estate-section .trend-title-row h3 {
    font-size: 29px;
    margin-bottom: 25px;
  }

  .real-estate-section .trend-arrow {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .real-estate-section .trend-text p {
    font-size: 13px;
    line-height: 1.8;
  }

  .real-estate-section .article-footer {
    margin-top: 70px;
    display: block;
  }

  .real-estate-section .article-footer h3 {
    font-size: 48px;
  }

  .real-estate-section .read-more-btn {
    margin-top: 35px;
  }

  .real-estate-section .share-blog {
    margin-top: 25px;
    padding: 35px 0;

    gap: 25px;
  }

  .real-estate-section .share-blog-heading {
    gap: 13px;
  }

  .real-estate-section .share-icon {
    width: 44px;
    height: 44px;

    font-size: 15px;
  }

  .real-estate-section .share-blog-heading h3 {
    font-size: 23px;
  }

  .real-estate-section .share-blog-content > p {
    font-size: 12px;
  }

  .real-estate-section .share-blog-actions {
    width: 100%;

    justify-content: flex-start;

    gap: 8px;
  }

  .real-estate-section .share-social {
    width: 44px;
    height: 44px;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (min-width: 0px) and (max-width: 575.98px) {
  .real-estate-section .real-estate-header h1 {
    font-size: 25px;
  }

  .real-estate-section .article-intro {
    padding-left: 10px;
    font-size: 15px;
  }

  .real-estate-section .trends-heading h2 {
    font-size: 24px;
  }

  .real-estate-section .trend-title-row h3 {
    font-size: 20px;
  }

  .real-estate-section .trend-text p {
    text-align: justify;
  }

  .real-estate-section .highlight-number {
    font-size: 60px;
  }

  .real-estate-section .trend-card {
    padding: 10px 0;
  }

  .real-estate-section .share-blog {
    padding: 30px 0;
  }

  .real-estate-section .share-blog-heading h3 {
    font-size: 21px;
  }

  .real-estate-section .share-blog-content > p {
    font-size: 12px;
    line-height: 1.7;
  }

  .real-estate-section .share-social {
    width: 42px;
    height: 42px;
  }
}
