@charset "UTF-8";
/* blog-post.html 전용 스타일 — 원본 <style> 블록을 그대로 옮김. css/blog-post.css 는 이 파일에서 생성됨 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --nav-height: 60px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Pretendard", -apple-system, sans-serif;
  color: #1a1a2e;
  background: #fff;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: #1a1a2e;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: #4a90d9;
}

.nav-links a.active {
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-talk {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffd600;
  color: #1a1a2e;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Pretendard", sans-serif;
  cursor: pointer;
  text-decoration: none;
}

.talk-icon {
  width: 20px;
  height: 20px;
  background: #1a1a2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.talk-icon svg {
  fill: white;
  width: 11px;
  height: 11px;
}

.btn-inquiry {
  border: 1.5px solid #333;
  background: transparent;
  color: #1a1a2e;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Pretendard", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-inquiry:hover {
  background: #1a1a2e;
  color: white;
}

/* ── ARTICLE ── */
.post-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 60px) 24px 100px;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #888;
  text-decoration: none;
  margin-bottom: 36px;
  transition: color 0.2s;
}

.post-back:hover {
  color: #4a90d9;
}

.post-back svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.post-category {
  font-size: 13px;
  font-weight: 600;
  color: #4a90d9;
  background: #eef4ff;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.post-title {
  font-size: 36px;
  font-weight: 700;
  color: #0d1b2e;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 28px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 40px;
}

.post-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #4a90d9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.post-avatar svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.post-author {
  font-size: 14px;
  font-weight: 600;
  color: #1a2e4a;
}

.post-date {
  font-size: 13px;
  color: #999;
}

.post-thumb {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
}

.post-thumb img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* ── ARTICLE BODY ── */
.post-body {
  font-size: 16px;
  line-height: 1.85;
  color: #2d2d2d;
}

.post-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0d1b2e;
  margin: 52px 0 18px;
  letter-spacing: -0.3px;
}

.post-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a2e4a;
  margin: 36px 0 14px;
}

.post-body p {
  margin-bottom: 20px;
  color: #444;
}

.post-body ul, .post-body ol {
  margin: 0 0 20px 22px;
}

.post-body li {
  margin-bottom: 8px;
  color: #444;
}

.post-body strong {
  color: #1a2e4a;
  font-weight: 700;
}

.post-body blockquote {
  border-left: 3px solid #4a90d9;
  padding: 12px 20px;
  margin: 28px 0;
  background: #f7f9ff;
  border-radius: 0 8px 8px 0;
  color: #555;
}

/* 시트·구글 문서에서 발행한 글에 들어가는 요소 (apps-script/블로그_발행.gs) */
.post-body em {
  font-style: italic;
}

.post-body a {
  color: #236ede;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}

.post-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.post-body .post-img {
  margin: 32px 0;
}

.post-body hr {
  border: none;
  border-top: 1px solid #e6ebf2;
  margin: 40px 0;
}

.post-body li > ul, .post-body li > ol {
  margin: 8px 0 0 22px;
}

.post-body .post-table {
  overflow-x: auto;
  margin: 28px 0;
}

.post-body table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  line-height: 1.6;
}

.post-body th, .post-body td {
  border: 1px solid #dfe5ee;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  color: #444;
}

.post-body th {
  background: #f5f8fc;
  color: #1a2e4a;
  font-weight: 700;
}

/* ── NAVIGATION ── */
/* 이전 글 / 다음 글: 대표 이미지 + 화살표 카드 */
.post-nav {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid #f0f0f0;
}

.post-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.post-nav-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #e8edf4;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.post-nav-card:hover {
  border-color: #b8d4f0;
  box-shadow: 0 10px 28px rgba(35, 110, 222, 0.12);
  transform: translateY(-2px);
}

.post-nav-card.next {
  text-align: right;
}

.post-nav-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #eef3fa;
}

.post-nav-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.post-nav-card:hover .post-nav-thumb img {
  transform: scale(1.05);
}

.post-nav-text {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-nav-dir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #236ede;
}

.post-nav-card.next .post-nav-dir {
  justify-content: flex-end;
}

.post-nav-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #eaf2ff;
  color: #236ede;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.post-nav-arrow svg {
  width: 14px;
  height: 14px;
}

.post-nav-card:hover .post-nav-arrow {
  background: #236ede;
  color: white;
}

.post-nav-card.prev:hover .post-nav-arrow {
  transform: translateX(-3px);
}

.post-nav-card.next:hover .post-nav-arrow {
  transform: translateX(3px);
}

.post-nav-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a2e4a;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-nav-date {
  font-size: 12px;
  color: #999;
}

/* 첫 글·마지막 글처럼 한쪽이 없을 때 */
.post-nav-card.empty {
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: #f7f9fc;
  border-style: dashed;
  color: #8a94a6;
  font-size: 13px;
  padding: 24px;
  min-height: 120px;
}

.post-nav-card.empty:hover {
  transform: none;
  box-shadow: none;
}

.post-nav-card.empty strong {
  color: #236ede;
  font-size: 14px;
}

.post-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 28px auto 0;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid #e3e8f0;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.post-nav-list:hover {
  border-color: #236ede;
  color: #236ede;
}

.post-nav-list svg {
  width: 16px;
  height: 16px;
}

/* 좁은 화면: 위아래로 쌓고, 이미지를 왼쪽 작은 썸네일로 */
@media (max-width: 560px) {
  .post-nav-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .post-nav-card {
    flex-direction: row;
  }
  .post-nav-card.next {
    flex-direction: row-reverse;
  }
  .post-nav-card {
    align-items: center;
  }
  .post-nav-thumb {
    aspect-ratio: 16/9;
    width: 120px;
    flex-shrink: 0;
    margin-left: 12px;
    border-radius: 8px;
  }
  .post-nav-card.next .post-nav-thumb {
    margin-left: 0;
    margin-right: 12px;
  }
  .post-nav-text {
    padding: 14px 16px;
    justify-content: center;
    min-width: 0;
  }
  .post-nav-title {
    font-size: 14px;
  }
  .post-nav-card.empty {
    min-height: 72px;
    flex-direction: column;
  }
}
footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 60px 60px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-logo .price {
  color: #4a90d9;
}

.footer-logo .one {
  color: white;
}

.footer-tagline {
  font-size: 13px;
  color: #888;
  margin-bottom: 36px;
}

.footer-company h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ddd;
  margin-bottom: 14px;
}

.footer-info-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #888;
  margin-bottom: 7px;
}

.footer-info-row .label {
  min-width: 110px;
  color: #aaa;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #555;
  margin-top: 32px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-bottom a {
  color: #666;
  text-decoration: none;
}

/* ── HAMBURGER + MOBILE MENU ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px 4px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 998;
  flex-direction: column;
}

.mobile-menu.open {
  display: flex;
  animation: menuDown 0.22s ease;
}

@keyframes menuDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mobile-menu-links a {
  display: block;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a2e;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s, background 0.2s;
}

.mobile-menu-links a:hover {
  color: #4a90d9;
  background: #f9fbff;
}

.mobile-menu-links a.active {
  color: #4a90d9;
  font-weight: 700;
}

.mobile-menu-cta {
  padding: 16px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu-cta .btn-talk {
  justify-content: center;
  width: 100%;
}

.mobile-menu-cta .btn-inquiry {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 1024px) {
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    display: none !important;
  }
  .nav-right .btn-inquiry {
    display: none;
  }
}
@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }
  .post-title {
    font-size: 26px;
  }
  .post-thumb img {
    height: 240px;
  }
  .post-wrap {
    padding-top: calc(var(--nav-height) + 36px);
  }
  footer {
    padding: 48px 24px 32px;
  }
}
@media (max-width: 480px) {
  nav {
    padding: 0 16px;
  }
  .nav-right .btn-talk {
    display: none;
  }
  .post-title {
    font-size: 22px;
  }
  .post-thumb img {
    height: 200px;
  }
  .post-body h2 {
    font-size: 20px;
  }
  footer {
    padding: 40px 16px 28px;
  }
}
/* 톡문의 버튼: 카카오톡 이미지 버튼으로 통일 */
.btn-talk.btn-talk-img {
  background: none;
  padding: 0;
  gap: 0;
  border-radius: 999px;
}

.btn-talk.btn-talk-img img {
  height: 34px;
  width: auto;
  display: block;
}

.btn-talk.btn-talk-img:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 214, 0, 0.45);
  filter: none;
}

.mobile-menu-cta .btn-talk.btn-talk-img {
  justify-content: center;
  width: 100%;
}

.mobile-menu-cta .btn-talk.btn-talk-img img {
  height: 44px;
}

/* ── 공통 푸터: 모든 페이지 동일 (페이지별 footer 스타일보다 우선) ── */
footer.site-footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 60px 60px 40px;
  margin: 0;
  border: 0;
  text-align: left;
  line-height: normal;
  font-size: 14px;
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: block;
}

.site-footer .footer-logo {
  display: inline-block;
  margin-bottom: 10px;
}

.site-footer .footer-logo img {
  height: 24px;
  width: auto;
  display: block;
}

.site-footer .footer-tagline {
  font-size: 13px;
  color: #888;
  margin: 0 0 36px;
}

.site-footer .footer-company {
  margin-bottom: 32px;
}

.site-footer .footer-company h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ddd;
  margin: 0 0 14px;
}

.site-footer .footer-info-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #888;
  margin-bottom: 7px;
}

.site-footer .footer-info-row .label {
  min-width: 110px;
  color: #aaa;
  flex-shrink: 0;
}

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  font-size: 12px;
  color: #555;
}

.site-footer .footer-links {
  display: flex;
  gap: 20px;
}

.site-footer .footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.site-footer .footer-links a:hover, .site-footer .footer-links a[aria-current] {
  color: #aaa;
}

.site-footer .footer-links .sep {
  color: #333;
}

@media (max-width: 768px) {
  footer.site-footer {
    padding: 48px 24px 32px;
  }
}
@media (max-width: 480px) {
  footer.site-footer {
    padding: 40px 16px 28px;
  }
}
/* 도입 문의하기 버튼: 몇 초마다 잠깐 푸른빛으로 빛남 */
.nav-right .btn-inquiry {
  animation: inquiryGlow 4s ease-in-out infinite;
}

.nav-right .btn-inquiry:hover {
  animation: none;
}

@keyframes inquiryGlow {
  0%, 62%, 100% {
    box-shadow: 0 0 0 0 rgba(35, 110, 222, 0);
  }
  76% {
    border-color: #236ede;
    box-shadow: 0 0 0 3px rgba(35, 110, 222, 0.16), 0 0 18px rgba(35, 110, 222, 0.45);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-right .btn-inquiry {
    animation: none;
  }
}
