
/* KPHONE BLOG v1.1.1 — main-site visual alignment */
body.kphone-blog-page{
  margin:0!important;
  background:#fff!important;
}
body.kphone-blog-page #masthead,
body.kphone-blog-page .site-header:not(.kb-site-header),
body.kphone-blog-page .entry-header,
body.kphone-blog-page .page-header{
  display:none!important;
}
body.kphone-blog-page #page,
body.kphone-blog-page #content,
body.kphone-blog-page .site-content,
body.kphone-blog-page .content-area,
body.kphone-blog-page .site-main,
body.kphone-blog-page article,
body.kphone-blog-page .entry-content{
  margin:0!important;
  padding:0!important;
  max-width:none!important;
  width:100%!important;
}
.kb-site-header{
  position:relative;
  z-index:50;
  background:#fff;
  border-bottom:1px solid #ececf0;
}
.kb-header-wrap{
  width:min(1180px,calc(100% - 32px));
  min-height:78px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:24px;
}
.kb-brand{display:flex;align-items:center;text-decoration:none;flex:0 0 auto}
.kb-brand img{display:block;width:190px;max-width:28vw;height:auto}
.kb-main-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:28px;
}
.kb-main-nav a{
  color:#171717;
  font-size:15px;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}
.kb-main-nav a:hover,
.kb-main-nav a.is-current{color:#ff1675}
.kb-burger{
  display:none;
  margin-left:auto;
  border:0;
  background:transparent;
  padding:8px;
}
.kb-burger span{
  display:block;
  width:26px;
  height:3px;
  margin:4px 0;
  border-radius:999px;
  background:#111;
}

.kphone-blog-hub{
  --kb-pink:#f80767;
  --kb-yellow:#ffd900;
  --kb-ink:#111;
  --kb-soft:#fff7fa;
  --kb-line:#f2dbe5;
  color:var(--kb-ink);
  font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.kphone-blog-hub *{box-sizing:border-box}
.kb-wrap{width:min(1180px,calc(100% - 32px));margin:0 auto}
.kb-hero{
  padding:68px 0 58px;
  background:linear-gradient(180deg,#fff 0%,#fff8fb 100%);
  border-bottom:1px solid #f5e2ea;
}
.kb-kicker{
  margin:0 0 10px!important;
  color:var(--kb-pink)!important;
  font-size:13px!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
  line-height:1!important;
}
.kb-hero h1{
  margin:0!important;
  color:#111!important;
  font-size:clamp(42px,4.3vw,60px)!important;
  line-height:1.06!important;
  letter-spacing:-.05em!important;
}
.kb-lead{
  margin:18px 0 0!important;
  max-width:720px;
  color:#595959!important;
  font-size:18px!important;
  line-height:1.65!important;
}
.kb-section{padding:50px 0}
.kb-category-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.kb-category-card{
  display:grid;
  grid-template-columns:86px 1fr;
  grid-template-rows:auto auto;
  column-gap:20px;
  align-items:center;
  min-height:150px;
  padding:22px 24px;
  border:1.5px solid #f3cadb;
  border-radius:22px;
  background:#fff;
  color:#111;
  text-decoration:none;
  box-shadow:none;
  transition:.18s ease;
}
.kb-category-card:not(.is-empty):hover{
  transform:translateY(-2px);
  border-color:#f80767;
  box-shadow:0 10px 24px rgba(248,7,103,.08);
}
.kb-category-card.is-empty{background:#fffafa}
.kb-icon{
  grid-row:1/3;
  display:flex;
  width:86px;
  height:86px;
  align-items:center;
  justify-content:center;
  border-radius:22px;
  background:linear-gradient(135deg,#ffe4f0,#fff4cc);
  color:#f80767;
  font-size:12px;
  font-weight:900;
}
.kb-category-card strong{
  align-self:end;
  font-size:24px;
  line-height:1.25;
  letter-spacing:-.04em;
}
.kb-cat-desc{
  align-self:start;
  margin-top:7px;
  padding:0;
  color:#777;
  font-size:14px;
  line-height:1.5;
}
.kb-latest-section{
  background:#fff;
  border-top:1px solid #f4e3ea;
}
.kb-latest-section h2{
  margin:0!important;
  font-size:34px!important;
  line-height:1.2!important;
  letter-spacing:-.04em!important;
}
.kb-post-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:22px;
}
.kb-post-card{
  overflow:hidden;
  border:1.5px solid #f0d8e2;
  border-radius:20px;
  background:#fff;
  box-shadow:none;
}
.kb-thumb{
  display:block;
  aspect-ratio:16/9;
  background-size:cover;
  background-position:center;
}
.kb-thumb-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#ffe8f2,#fff6d2);
  color:#111;
  font-weight:900;
  text-decoration:none;
}
.kb-post-body{padding:19px}
.kb-date{margin:0 0 8px!important;color:#999!important;font-size:13px!important}
.kb-post-card h3{margin:0!important;font-size:21px!important;line-height:1.4!important;letter-spacing:-.035em!important}
.kb-post-card h3 a{color:#111;text-decoration:none}
.kb-excerpt{margin:12px 0 18px!important;color:#666!important;font-size:15px!important;line-height:1.65!important}
.kb-readmore{color:#f80767;font-size:14px;font-weight:900;text-decoration:none}
.kb-empty-inline{
  margin-top:22px;
  padding:34px 20px;
  border:1.5px dashed #e3cbd5;
  border-radius:18px;
  background:#fffafa;
  color:#888;
  text-align:center;
}

@media(max-width:900px){
  .kb-main-nav{gap:16px}
  .kb-main-nav a{font-size:14px}
  .kb-category-grid{grid-template-columns:1fr}
  .kb-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .kb-header-wrap{min-height:70px;width:calc(100% - 24px)}
  .kb-brand img{width:180px;max-width:58vw}
  .kb-burger{display:block}
  .kb-main-nav{
    display:none;
    position:absolute;
    top:70px;
    left:0;
    right:0;
    margin:0;
    padding:12px 20px 18px;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:#fff;
    border-bottom:1px solid #eee;
    box-shadow:0 10px 22px rgba(0,0,0,.07);
  }
  .kb-main-nav.is-open{display:flex}
  .kb-main-nav a{padding:12px 0;font-size:16px}
  .kb-wrap{width:calc(100% - 20px)}
  .kb-hero{padding:42px 0 36px}
  .kb-hero h1{font-size:36px!important}
  .kb-lead{font-size:16px!important}
  .kb-section{padding:36px 0}
  .kb-category-card{grid-template-columns:72px 1fr;min-height:132px;padding:18px}
  .kb-icon{width:72px;height:72px;border-radius:18px}
  .kb-category-card strong{font-size:21px}
  .kb-post-grid{grid-template-columns:1fr}
}


/* v1.1.4 single BLOG post + comments removal + footer + typography */
body.kphone-blog-post{margin:0!important;background:#fff!important;font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:#171717!important}
body.kphone-blog-post #masthead,
body.kphone-blog-post header.site-header:not(.kb-site-header),
body.kphone-blog-post .site-header:not(.kb-site-header){display:none!important}
body.kphone-blog-post .comments-area,
body.kphone-blog-post #comments,
body.kphone-blog-post .comment-respond,
body.kphone-blog-post .comments-title,
body.kphone-blog-post .comment-form{display:none!important}
body.kphone-blog-post #page,
body.kphone-blog-post #content,
body.kphone-blog-post .site-content,
body.kphone-blog-post .content-area,
body.kphone-blog-post .site-main{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
body.kphone-blog-post article{width:min(980px,calc(100% - 32px))!important;max-width:980px!important;margin:48px auto 0!important;padding:0!important}
body.kphone-blog-post .entry-header{display:block!important;margin:0 0 26px!important;padding:0!important}
body.kphone-blog-post .entry-title{margin:0!important;font-size:clamp(34px,4vw,54px)!important;line-height:1.12!important;letter-spacing:-.05em!important;font-weight:900!important;color:#111!important}
body.kphone-blog-post .entry-meta{margin-top:12px!important;color:#999!important;font-size:13px!important}
body.kphone-blog-post .entry-content{margin:0!important;padding:0!important;font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:18px!important;line-height:1.82!important;color:#333!important}
body.kphone-blog-post .entry-content h2{margin:52px 0 18px!important;font-size:30px!important;line-height:1.25!important;letter-spacing:-.04em!important;font-weight:900!important;color:#111!important}
body.kphone-blog-post .entry-content h3{margin:34px 0 12px!important;font-size:23px!important;line-height:1.35!important;letter-spacing:-.03em!important;color:#171717!important}
body.kphone-blog-post .entry-content p{margin:0 0 20px!important;font-size:18px!important;line-height:1.82!important;color:#333!important}
body.kphone-blog-post .entry-content ul,
body.kphone-blog-post .entry-content ol{margin:12px 0 24px 1.25em!important;font-size:17px!important;line-height:1.75!important}
body.kphone-blog-post .entry-content img{max-width:100%!important;height:auto!important;border-radius:18px!important}
body.kphone-blog-post .kphone-video-embed{width:100%!important;display:flex!important;justify-content:center!important;align-items:center!important;margin:30px auto 42px!important}
body.kphone-blog-post .kphone-video-embed iframe{display:block!important;width:min(420px,100%)!important;max-width:420px!important;aspect-ratio:9/16!important;height:auto!important;min-height:0!important;border:0!important;margin:0 auto!important}
body.kphone-blog-post .post-navigation{width:min(980px,calc(100% - 32px));margin:44px auto!important}

.kb-global-footer{margin-top:64px;background:#111;color:#fff;border-top:4px solid #f80767;font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.kb-global-footer-inner{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:42px 0 34px}
.kb-footer-brand strong{display:block;font-size:22px;letter-spacing:-.03em}.kb-footer-brand p{margin:8px 0 0!important;color:#cfcfcf!important;font-size:15px!important}
.kb-footer-links{display:flex;flex-wrap:wrap;gap:10px 22px;margin:26px 0 22px;padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.14)}
.kb-footer-links a{color:#fff;text-decoration:none;font-size:14px;font-weight:700}.kb-footer-links a:hover{color:#fee500}
.kb-footer-info p{margin:6px 0!important;color:#bdbdbd!important;font-size:13px!important;line-height:1.6!important}.kb-footer-copy{margin:20px 0 0!important;color:#777!important;font-size:12px!important}

@media(max-width:760px){
 body.kphone-blog-post article{width:calc(100% - 24px)!important;margin-top:30px!important}
 body.kphone-blog-post .entry-title{font-size:34px!important}
 body.kphone-blog-post .entry-content,body.kphone-blog-post .entry-content p{font-size:16px!important;line-height:1.75!important}
 body.kphone-blog-post .entry-content h2{font-size:27px!important;margin-top:40px!important}
 body.kphone-blog-post .entry-content h3{font-size:21px!important}
 body.kphone-blog-post .kphone-video-embed{margin:22px auto 30px!important;padding:0 4px!important}
 body.kphone-blog-post .kphone-video-embed iframe{width:100%!important;max-width:380px!important}
 .kb-global-footer{margin-top:42px}.kb-global-footer-inner{width:calc(100% - 24px);padding:32px 0 28px}.kb-footer-links{gap:10px 16px}.kb-footer-brand strong{font-size:20px}
}


/* v1.1.5 — single BLOG post layout hard fix */
body.kphone-blog-post{
  margin:0!important;
  background:#fff!important;
  font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  color:#171717!important;
}

/* Remove Hello Elementor's duplicate/default chrome */
body.kphone-blog-post > #site-header,
body.kphone-blog-post header#site-header,
body.kphone-blog-post .site-header:not(.kb-site-header),
body.kphone-blog-post > .site-header:not(.kb-site-header),
body.kphone-blog-post #site-footer.site-footer{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}

/* Full-width theme wrapper, then recenter actual article */
body.kphone-blog-post #page,
body.kphone-blog-post #content,
body.kphone-blog-post .site-main{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

/* Article title */
body.kphone-blog-post .page-header{
  display:block!important;
  width:min(980px,calc(100% - 32px))!important;
  max-width:980px!important;
  margin:52px auto 26px!important;
  padding:0!important;
}
body.kphone-blog-post .page-header .entry-title,
body.kphone-blog-post .entry-title{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#111!important;
  font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:clamp(34px,3.2vw,52px)!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:-.045em!important;
  text-align:left!important;
}

/* Actual post content */
body.kphone-blog-post .page-content{
  width:min(980px,calc(100% - 32px))!important;
  max-width:980px!important;
  margin:0 auto!important;
  padding:0 0 72px!important;
  color:#292929!important;
  font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:17px!important;
  line-height:1.82!important;
}
body.kphone-blog-post .page-content > *{
  max-width:100%!important;
}
body.kphone-blog-post .page-content p{
  margin:0 0 18px!important;
  font-size:17px!important;
  line-height:1.82!important;
  color:#333!important;
}
body.kphone-blog-post .page-content h1{
  margin:48px 0 18px!important;
  font-size:34px!important;
  line-height:1.25!important;
  font-weight:800!important;
  letter-spacing:-.04em!important;
}
body.kphone-blog-post .page-content h2{
  margin:46px 0 16px!important;
  font-size:29px!important;
  line-height:1.3!important;
  font-weight:800!important;
  letter-spacing:-.035em!important;
}
body.kphone-blog-post .page-content h3{
  margin:32px 0 12px!important;
  font-size:22px!important;
  line-height:1.35!important;
  font-weight:750!important;
  letter-spacing:-.025em!important;
}
body.kphone-blog-post .page-content ul,
body.kphone-blog-post .page-content ol{
  margin:0 0 24px 1.35em!important;
  padding:0!important;
}
body.kphone-blog-post .page-content li{
  margin:7px 0!important;
  font-size:17px!important;
  line-height:1.72!important;
}
body.kphone-blog-post .page-content strong{
  font-weight:800!important;
  color:#111!important;
}

/* Images inserted inside accidental H2 wrappers should behave as images, not headings */
body.kphone-blog-post .page-content h2:has(> img){
  margin:34px 0!important;
  font-size:0!important;
  line-height:0!important;
}
body.kphone-blog-post .page-content img,
body.kphone-blog-post .page-content .aligncenter{
  display:block!important;
  max-width:100%!important;
  height:auto!important;
  margin:28px auto!important;
  border-radius:18px;
}

/* Shorts centered */
body.kphone-blog-post .kphone-video-embed{
  width:100%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  margin:24px auto 42px!important;
}
body.kphone-blog-post .kphone-video-embed iframe{
  display:block!important;
  width:min(420px,100%)!important;
  max-width:420px!important;
  aspect-ratio:9/16!important;
  height:auto!important;
  min-height:0!important;
  margin:0 auto!important;
  border:0!important;
}

/* Remove stray paragraph generated by "\n" mishandling */
body.kphone-blog-post .page-content > p:first-of-type:empty{
  display:none!important;
}

/* Footer sits at full browser width */
body.kphone-blog-post .kb-global-footer{
  width:100%!important;
  margin:0!important;
  clear:both!important;
}

/* Mobile */
@media(max-width:760px){
  body.kphone-blog-post .page-header{
    width:calc(100% - 24px)!important;
    margin:32px auto 20px!important;
  }
  body.kphone-blog-post .page-header .entry-title,
  body.kphone-blog-post .entry-title{
    font-size:32px!important;
    line-height:1.18!important;
  }
  body.kphone-blog-post .page-content{
    width:calc(100% - 24px)!important;
    padding-bottom:48px!important;
    font-size:16px!important;
  }
  body.kphone-blog-post .page-content p,
  body.kphone-blog-post .page-content li{
    font-size:16px!important;
    line-height:1.75!important;
  }
  body.kphone-blog-post .page-content h1{font-size:28px!important;margin-top:36px!important}
  body.kphone-blog-post .page-content h2{font-size:25px!important;margin-top:34px!important}
  body.kphone-blog-post .page-content h3{font-size:20px!important;margin-top:26px!important}
  body.kphone-blog-post .kphone-video-embed iframe{
    max-width:360px!important;
  }
}
