:root {
  --navy: #07183f;
  --navy-2: #0b2856;
  --blue: #0647a8;
  --green: #16a56d;
  --gold: #d8a645;
  --ink: #172033;
  --text: #566174;
  --muted: #7c8799;
  --line: #e3e9f0;
  --soft: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(7, 24, 63, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

.blog-hero {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      105deg,
      rgba(7, 24, 63, 0.68),
      rgba(9, 55, 91, 0.46)
    ),
    url("../images/pexels-siddanth-sawant-178759136-28464697-scaled.jpg")
    center 45% / cover no-repeat;

  color: #ffffff;
}

.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 25%,
      rgba(22, 165, 109, 0.20),
      transparent 34%
    );
  pointer-events: none;
}

.blog-hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 76px;
  text-align: center;
}

.blog-hero h1 {
  max-width: 760px;
  margin: 17px auto 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.4px;
}

.blog-kicker,
.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: #baf1d8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .9px;
  text-transform: uppercase;
}

.blog-hero .blog-hero-inner h1 {
  max-width: 680px;
  margin: 16px auto 0;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.blog-hero p {
  max-width: 650px;
  margin: 18px auto 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

.blog-section {
  padding: 78px 0 96px;
  background: linear-gradient(#f5f8fb 0, #fff 320px);
}

.blog-container {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}

.blog-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.blog-heading span {
  display: block;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-heading h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1px;
}

.blog-heading p {
  max-width: 520px;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 15px 38px rgba(7, 24, 63, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(7, 24, 63, 0.12);
}

.blog-card-image {
  display: block;
  height: 245px;
  overflow: hidden;
  background: #e8edf3;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 21px 22px 23px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.blog-meta .category {
  color: var(--green);
  font-weight: 800;
}

.blog-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.35px;
}

.blog-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 18px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.blog-link i {
  transition: transform 0.2s ease;
}

.blog-link:hover i {
  transform: translateX(4px);
}

.blog-card-placeholder {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 30px;
  text-align: center;
  color: #8a94a4;
  background: linear-gradient(135deg, #eff4f8, #f9fbfd);
}

/* Article */
.article-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(7,24,63,.96), rgba(9,55,91,.80)),
    url("../images/blog-property-management.jpg") center / cover no-repeat;
  color: #fff;
}

.article-hero-inner {
  width: min(960px, calc(100% - 40px));
  margin: auto;
  padding: 78px 0 84px;
  text-align: center;
}

.article-breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
}

.article-breadcrumb a { color: #fff; text-decoration: none; }

.article-summary {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,.80);
}

.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 25px;
  font-size: 13px;
  color: rgba(255,255,255,.78);
}

.article-main {
  padding: 72px 0 96px;
  background: linear-gradient(#f5f8fb, #fff 300px);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 42px;
  width: min(1080px, calc(100% - 40px));
  margin: auto;
  align-items: start;
}

.article-body {
  padding: 38px 42px 48px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.article-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
}

.article-body p + p { margin-top: 18px; }

.article-body h2 {
  margin: 38px 0 14px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -.5px;
}

.article-body h2:first-of-type { margin-top: 0; }

.article-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 9px;
  border-radius: 10px;
  background: #ebf8f2;
  border: 1px solid #cfeadd;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  vertical-align: middle;
}

.article-cta {
  margin-top: 40px;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: #fff;
}

.article-cta span {
  color: #62dca7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.article-cta h3 {
  margin: 8px 0 9px;
  font-size: 24px;
  line-height: 1.35;
}

.article-cta p { color: rgba(255,255,255,.75); }

.article-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 13px 18px;
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.article-sidebar {
  position: sticky;
  top: 110px;
}

.article-side-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(7,24,63,.07);
}

.article-side-card + .article-side-card { margin-top: 20px; }

.article-side-card h3 {
  margin: 0 0 13px;
  color: var(--navy);
  font-size: 17px;
}

.article-side-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
}

.article-side-card a {
  display: inline-flex;
  margin-top: 15px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }

  .article-sidebar { position: static; }

  .blog-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-image {
    height: 220px;
  }

  .blog-card h3 {
    font-size: 18px;
  }
}

@media (max-width: 650px) {
  .blog-hero-inner,
  .article-hero-inner {
    width: min(100% - 28px, 1120px);
    padding: 62px 0 68px;
  }

  .blog-section,
  .article-main { padding: 48px 0 68px; }

  .blog-container,
  .article-layout { width: min(100% - 24px, 1120px); }

  .article-body { padding: 27px 21px 34px; }

  .article-body h2 { font-size: 21px; }

  .blog-card-body { padding: 21px; }

  @media (max-width: 900px) {
  .blog-hero .blog-hero-inner h1 {
    font-size: 34px;
  }
}


@media (max-width: 650px) {
  .blog-hero .blog-hero-inner h1 {
    font-size: 28px;
    line-height: 1.2;
  }
}
}


/* =========================================================
   ARTICLE FEATURED IMAGE
   ========================================================= */

.article-featured-section {
  position: relative;
  padding: 0 20px;
  background: linear-gradient(
    180deg,
    #f5f8fb 0%,
    #f5f8fb 50%,
    #ffffff 50%,
    #ffffff 100%
  );
}

.article-featured-container {
  width: min(1000px, 100%);
  margin: 0 auto;
  transform: translateY(38px);
}

.article-featured-image {
  display: block;
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: center;
  border: 8px solid #ffffff;
  border-radius: 22px;
  box-shadow: 0 24px 65px rgba(7, 24, 63, 0.18);
}

/* Create enough room after the translated image */
.article-main {
  padding-top: 112px;
}

/* Better article headings */
.article-point h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.article-point h2 .article-number {
  flex: 0 0 38px;
  margin-right: 0;
}

.article-side-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #ebf8f2;
  color: #16a56d;
  font-size: 17px;
}

.article-side-card a {
  align-items: center;
  gap: 7px;
}

@media (max-width: 700px) {
  .article-featured-section {
    padding: 0 12px;
  }

  .article-featured-container {
    transform: translateY(24px);
  }

  .article-featured-image {
    height: 260px;
    border-width: 5px;
    border-radius: 15px;
  }

  .article-main {
    padding-top: 76px;
  }

  .article-point h2 {
    gap: 10px;
  }
}
