/* 렌트런 공개 블로그의 목록·상세·CTA 화면을 구성합니다. */

:root {
  color: #17211e;
  background: #f4f7f5;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.65;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; background: #f4f7f5; color: #17211e; }
a { color: inherit; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  min-height: 72px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(31, 78, 65, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.brand strong { color: #146c52; letter-spacing: -0.02em; }
.brand span { color: #65746f; font-size: 0.88rem; }
.site-header nav { display: flex; justify-content: center; gap: 26px; }
.site-header nav a { color: #3f4e49; font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.header-cta,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: #146c52;
  font-weight: 800;
  text-decoration: none;
}
.header-cta { min-height: 40px; padding: 0 18px; font-size: 0.84rem; }

main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.blog-hero { padding: 96px 0 58px; }
.blog-hero span,
.article-cta > span { color: #1b7b5e; font-size: 0.76rem; font-weight: 900; letter-spacing: 0.16em; }
.blog-hero h1 { max-width: 780px; margin: 12px 0; font-size: clamp(2.15rem, 6vw, 4.4rem); line-height: 1.08; letter-spacing: -0.055em; }
.blog-hero p { max-width: 660px; color: #60706b; font-size: 1.04rem; }

.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 90px; }
.post-card { overflow: hidden; border: 1px solid #dfe8e4; border-radius: 22px; background: #fff; box-shadow: 0 18px 60px rgba(27, 67, 56, 0.06); }
.post-card > a { display: block; height: 100%; text-decoration: none; }
.post-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #dce9e4; }
.post-card div { padding: 24px; }
.post-card span { color: #1b7b5e; font-size: 0.75rem; font-weight: 900; }
.post-card h2 { margin: 7px 0 10px; font-size: 1.28rem; line-height: 1.35; letter-spacing: -0.03em; }
.post-card p { margin: 0; color: #66746f; font-size: 0.9rem; }
.post-card small { display: block; margin-top: 18px; color: #87938f; }
.empty { grid-column: 1 / -1; padding: 44px; border-radius: 18px; background: #fff; text-align: center; }

.article-shell { width: min(100%, 900px); padding: 76px 0 110px; }
.article { padding: clamp(24px, 6vw, 72px); border: 1px solid #e0e8e5; border-radius: 28px; background: #fff; box-shadow: 0 24px 80px rgba(27, 67, 56, 0.07); }
.breadcrumb { color: #1b7b5e; font-size: 0.78rem; font-weight: 900; text-decoration: none; }
.article h1 { margin: 14px 0 18px; font-size: clamp(2rem, 5vw, 3.55rem); line-height: 1.15; letter-spacing: -0.055em; }
.article-lead { margin: 0; color: #596a64; font-size: 1.08rem; }
.article-meta { margin-top: 18px; color: #8a9692; font-size: 0.8rem; }
.article-cover { margin: 38px 0 42px; }
.article-cover img,
.article-image img { display: block; width: 100%; border-radius: 18px; object-fit: cover; }
.article-cover img { aspect-ratio: 16 / 9; }
.article-image { margin: 32px 0; }
figcaption { margin-top: 8px; color: #7a8782; font-size: 0.76rem; text-align: center; }
.article-body { color: #25332f; font-size: 1.04rem; }
.article-body h2 { margin: 52px 0 16px; font-size: 1.62rem; line-height: 1.35; letter-spacing: -0.035em; }
.article-body h3 { margin: 36px 0 12px; font-size: 1.25rem; }
.article-body p { margin: 0 0 22px; }
.article-body li { margin: 6px 0; }
.article-body blockquote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid #1b7b5e; border-radius: 0 12px 12px 0; background: #eff7f4; }
.article-body a { color: #146c52; font-weight: 750; }
.notice { margin-top: 42px; padding: 22px; border-radius: 16px; background: #f2f5f4; color: #52615c; font-size: 0.88rem; }
.notice ul { margin-bottom: 0; }
.faq { margin-top: 54px; }
.faq details { padding: 18px 0; border-top: 1px solid #e0e8e5; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { color: #596a64; }
.article-cta { margin-top: 58px; padding: clamp(26px, 5vw, 46px); border-radius: 24px; background: linear-gradient(135deg, #e9f7f2, #f8fbfa); text-align: center; }
.article-cta h2 { margin: 8px 0; font-size: 1.65rem; }
.article-cta p { max-width: 560px; margin: 0 auto; color: #5d6e68; }
.cta-button { min-height: 52px; margin-top: 22px; padding: 0 28px; }

.site-footer { padding: 42px 5vw; color: #dce8e4; background: #16342c; }
.site-footer p { margin: 6px 0; color: #aebfba; }
.site-footer a { color: #fff; font-weight: 800; }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; gap: 12px; padding: 0 18px; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; padding-bottom: 14px; overflow-x: auto; }
  .header-cta { padding: 0 13px; }
  .post-list { grid-template-columns: 1fr; }
  .blog-hero { padding-top: 68px; }
  .article-shell { padding: 30px 0 70px; }
  .article { border-radius: 20px; }
}
