@charset "utf-8";
:root{
  --hp-max: 740px;
  --hp-pad: 20px;
  --hp-text:#111; --hp-sub:#6b7280; --hp-line:#e5e7eb; --hp-accent:#6fb3ff; /* Naver green */
}
.daypost{ overflow-x: clip!important; color:var(--hp-text);}

/* font utility (웹폰트 로드됨) */
.f-noto{font-family:'Noto Sans KR',sans-serif;}
.f-nanumgothic{font-family:'Nanum Gothic',sans-serif;}
.f-myeongjo{font-family:'Nanum Myeongjo',serif;}
.f-gowun{font-family:'Gowun Dodum',sans-serif;}
.f-noto-serif{font-family:'Noto Serif KR',serif;}

/* ===== Fixed Header ===== */
.hp-header{position:fixed; top:0; left:0; right:0; z-index:1000; background:#fff; border-bottom:1px solid var(--hp-line);}
.hp-header .row{
  max-width:none; width:100%;
  box-sizing:border-box;                 /* ← 추가 */
  margin:0; padding:14px 32px 14px 32px; /* R 64px로 여유 */
  display:flex; align-items:center;
}

/* PC 메뉴 자체에도 소폭 인라인 여백 */
.hp-acts-pc{ margin-left:auto; padding-right:8px; }

.hp-logo .hp-brand{
  font-weight:800;                 
  font-size:22px;                  
  letter-spacing:.2px;
  color:#86c9ff                   /* 파스텔 블루 */
}
.hp-acts{display:flex; align-items:center;}
/* PC에서 메뉴를 텍스트+파이프로 */
.hp-acts-pc{margin-left:auto; display:flex; align-items:center;}
.hp-acts-pc .hp-btn{
  border:0; background:transparent; padding:0; margin:0;
  border-radius:0; font-weight:400; /* 700 → 600 */
  line-height:1; cursor:pointer; color:#222;
}
.hp-acts-pc .hp-btn.follow{ color:var(--hp-accent); }          /* +팔로우는 초록 텍스트 */
.hp-acts-pc .sep{ color:#a3a3a3; padding:0 10px; }             /* 파이프 간격 */
.hp-acts-pc .hp-btn:last-child{                                 /* 포스트 쓰기만 박스 */
  border:1px solid var(--hp-line); border-radius:4px;
  padding:6px 10px; margin-left:10px; background:#fff;
}

/* 모바일용 칩 */
.hp-acts-mobile{display:none; gap:8px;}
.hp-chip{border:1px solid var(--hp-line); background:#fff; padding:6px 12px; border-radius:999px; font-weight:400;}
.hp-chip.follow{color:var(--hp-accent); border-color:#bbdef7; background:#eef7ff;}

.hp-wrap{max-width:var(--hp-max); margin:0 auto; padding:118px var(--hp-pad) 56px;}

.hp-title{font-size:38px; line-height:1.25; font-weight:500; margin:10px 0 22px;}
.hp-meta{display:flex; align-items:center; gap:12px; padding-bottom:30px; border-bottom:1px solid var(--hp-line);}
.hp-avatar{width:44px; height:44px; border-radius:50%; overflow:hidden; background:#f3f4f6; flex:0 0 44px;}
.hp-who .name{font-weight:700; font-size:16px;}
.hp-who .sub{color:var(--hp-sub); font-size:14px;}

.hp-hr{display:none;} /* 상단은 meta의 보더가 구분선 역할 */
.hp-pr{text-align:right; color:var(--hp-sub); font-size:14px; margin:10px 0 18px;}

.hp-content h1{font-size:28px; line-height:1.35; margin:28px 0 12px; font-weight:800;}
.hp-content h2{font-size:22px; line-height:1.45; margin:24px 0 10px; font-weight:800;}
.hp-content p{font-size:17px; line-height:1.9; margin:14px 0;}
.hp-content blockquote{margin:40px auto; padding:14px 18px; font-size:22px; line-height:1.6; font-weight:700; color:#d00000; font-style:italic; text-align:center;}
.hp-content figure{margin:24px 0; text-align:center;}
.hp-content figure img{border-radius:8px;}
.hp-content figure figcaption{margin-top:8px; color:var(--hp-sub); font-size:13px;}
/* 중간 구분선 */
.hp-content .hp-hr{display:block; border:0; height:1px; background:var(--hp-line); position:relative; width:100%; margin:38px 0;}
.hp-content .hp-hr:after{content:""; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%) rotate(45deg); width:10px; height:10px; background:#fff; border:1px solid var(--hp-line);}

/* 요소 자체를 화면 좌우 끝까지 늘리는 풀블리드 */
/* 뷰포트 기준 가로 100% + 중앙 정렬(시각/실제 모두) */
.hp-author{
  position:relative!important;
  width:100dvw!important;                     /* ← 100vw 대신 100dvw */
  left:50%; transform:translateX(-50%)!important; /* 화면 정중앙에 고정 */
  margin:0!important;                           /* 좌우 여백 0 */
  background:#fafafa!important;
  border-top:1px solid var(--hp-line)!important;
  display:flex; flex-direction:column; align-items:center!important; text-align:center!important;
  gap:8px!important; padding:34px 0 42px!important;
}

/* 이전 calc/::before/::after 풀블리드 트릭 사용 중이면 무효화 */
.hp-author::before,
.hp-author::after{ content:none !important; }

.hp-author > *{ position:relative; z-index:auto; }


.hp-author .avatar{
  width:68px; height:68px; border-radius:50%; overflow:hidden; background:#f3f4f6; flex:0 0 auto;
}
.hp-author .info .name{
  font-weight:800; margin-top:6px;
  font-size:18px;                          /* 닉네임 더 크게 */
}
.hp-author .info .followers{
  color:#9aa0a6;                           /* 더 연하게 */
  font-size:12px;                          /* 더 작게 */
  margin-top:2px;
}
.hp-author .follow-btn{
  margin:14px 0 0 0; border:0; border-radius:999px; padding:10px 18px;
  background:var(--hp-accent); color:#fff; font-weight:800; cursor:pointer;
}

.hp-author .follow-btn.follow{color:var(--hp-accent); border-color:#bbdef7; background:#eef7ff;}

/* ===== Share modal ===== */
.hp-share-dim{position:fixed; inset:0; background:rgba(0,0,0,.38); display:none; z-index:1500;}
.hp-share{position:fixed; left:50%; top:50%; transform:translate(-50%,-50%); width:min(92vw,360px); background:#fff; border-radius:12px; box-shadow:0 22px 60px rgba(0,0,0,.4),0 2px 10px rgba(0,0,0,.2); display:none; z-index:1600;}
.hp-share .hd{padding:16px; border-bottom:1px solid var(--hp-line); font-weight:800;}
.hp-share .box{display:flex; align-items:center; gap:10px; padding:14px 16px;}
.hp-share .url{flex:1; min-width:0; border:1px solid var(--hp-line); border-radius:8px; padding:10px 12px; font-size:14px; color:#222; background:#fafafa; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.hp-share .copy{border:1px solid #111; border-radius:8px; padding:10px 12px; cursor:pointer; font-weight:700;}
.hp-share .ft{display:flex; justify-content:flex-end; padding:12px 16px; border-top:1px solid var(--hp-line);}
.hp-share .close{padding:8px 10px; border-radius:8px; background:#f3f4f6; cursor:pointer;}

/* ===== Responsive ===== */
@media (max-width: 768px){
  .hp-wrap{padding:50px var(--hp-pad) 44px;}

  /* 헤더 row의 모바일 패딩을 오른쪽 더 넓게 */
  .hp-header .row{
    box-sizing:border-box;               /* ← 추가 */
    padding:12px 7px 12px 16px;         /* R 24px */
  }
  .hp-acts-mobile{
    display:flex;          /* ← 반드시 넣어야 모바일에서 보임 */
    margin-left:auto;
    padding-right:12px;    /* ← 우측 여백 넉넉히 */
  }

  .hp-acts-pc{display:none;}

  .hp-title{font-size:24px; margin:8px 0 18px;}
  .hp-avatar{width:38px; height:38px; flex-basis:38px;}
  .hp-content p{font-size:16px; line-height:1.85;}
  .hp-author .avatar{width:52px; height:52px; flex-basis:52px;}
}
@media (max-width: 420px){
  .hp-title{font-size:20px;}
}
/* 클릭 유도: 메타/푸터의 프로필/텍스트 모두 */
.hp-avatar.need-login,
.hp-who.need-login,
.hp-author .avatar.need-login,
.hp-author .info.need-login{
  cursor:pointer;
}

.hp-avatar img,
.hp-author .avatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;       /* 1:1 이미지는 꽉 차게, 가장 자연스러움 */
  object-position:center; /* 얼굴/중앙 기준으로 배치 */
}