/* ===================================================
   Inner-page styles (page hero, content blocks)
   =================================================== */
.page-hero {
  background:
    linear-gradient(135deg, rgba(14,80,36,.92), rgba(31,122,58,.85)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 200' opacity='.18'><g fill='%23ffffff'><circle cx='100' cy='100' r='3'/><circle cx='200' cy='60' r='2'/><circle cx='300' cy='130' r='4'/><circle cx='450' cy='80' r='3'/><circle cx='600' cy='110' r='2'/><circle cx='720' cy='70' r='3'/><path d='M50 180 v-40 a20 20 0 0 1 40 0 v40z'/><path d='M650 180 v-50 a25 25 0 0 1 50 0 v50z'/></g></svg>") center/cover;
  background-blend-mode: overlay;
  position: relative;
}
.page-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
}
.page-bread a { color: #f3c44a; text-decoration: none; }
.page-bread a:hover { text-decoration: underline; }

/* content card */
.content-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 32px; box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.feature-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 24px; height: 100%; transition: .25s;
}
.feature-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15,80,36,.1); border-color: #c9e0d1; }
.feature-tile .ico {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--green-50); color: var(--green-600);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 14px;
}

/* loan detail page hero */
.loan-hero {
  background: linear-gradient(135deg, var(--green-50), #fff);
  padding: 56px 0;
}
.loan-hero .badge-tag {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(31,122,58,.1); color: var(--green-700);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
}
.loan-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.05;
}
.loan-hero .icon-circle {
  width: 140px; height: 140px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: #fff; margin: 0 auto;
  box-shadow: 0 18px 40px rgba(0,0,0,.15);
}
.bullet-list li {
  padding: 10px 0; border-bottom: 1px dashed var(--line);
  display: flex; gap: 12px; align-items: start;
}
.bullet-list li:last-child { border: 0; }
.bullet-list li i { color: var(--green-600); margin-top: 4px; }

.docs-list li {
  padding: 14px 16px; background: var(--bg-soft); border-radius: 10px;
  margin-bottom: 8px; display: flex; gap: 12px; align-items: center;
}

.contact-card {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 24px; height: 100%; text-align: center;
  background: #fff; transition: .25s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,80,36,.12); }
.contact-card .ico-big {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-50); color: var(--green-600);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 14px;
}

.stat-card {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff; padding: 28px; border-radius: 14px; text-align: center;
}
.stat-card .num { font-family: 'Fraunces', serif; font-size: 2.6rem; font-weight: 800; line-height: 1; }
.stat-card .lbl { font-size: .9rem; opacity: .9; margin-top: 6px; }

/* ===================================================
   Blog hero with image
   =================================================== */
.blog-post-hero { min-height: 300px; display: flex; align-items: center; }
.blog-post-hero .container-fluid { width: 100%; }

/* ===================================================
   Blog list page
   =================================================== */
.blog-featured {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
}
.blog-featured-img {
  min-height: 280px;
  background: linear-gradient(135deg, rgba(14,80,36,.5), rgba(31,122,58,.4));
  position: relative;
}
.blog-featured-body {
  background: #fff;
  color: var(--ink);
}
.blog-featured-title { color: var(--ink); }
.blog-featured-excerpt { color: var(--muted); }
.blog-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: .25s; color: var(--ink);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,80,36,.12); }
.blog-card-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  flex-shrink: 0;
}
.blog-card-body {
  background: #fff;
  color: var(--ink);
}
.blog-card-meta { color: var(--muted); }

/* ===================================================
   Blog single post page
   =================================================== */
.blog-post-body { font-size: 1.05rem; line-height: 1.85; color: var(--ink); }
.blog-post-body h2,
.blog-post-body h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: .75rem;
  color: var(--green-700);
}
.blog-post-body h3 { font-size: 1.3rem; }
.blog-post-body p { margin-bottom: 1.2rem; }
.blog-post-body ul { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.blog-post-body ul li { margin-bottom: .5rem; }
.blog-post-body a { color: var(--green-600); font-weight: 600; }
.blog-post-body a:hover { text-decoration: underline; }
.blog-post-body strong { color: var(--ink); }
.blog-quote {
  border-left: 4px solid var(--green-500);
  background: var(--green-50);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--green-700);
  margin: 1.5rem 0;
}
.blog-sidebar-cta {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
}
.blog-related-card {
  background: #fff;
  border: 1px solid var(--line);
  transition: .2s;
}
.blog-related-card:hover { border-color: var(--green-500); box-shadow: 0 4px 14px rgba(15,80,36,.08); }
.blog-related-icon {
  width: 52px; height: 52px; min-width: 52px;
  background: var(--green-50);
}
