/* =========================
RESET
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Pretendard',sans-serif;
background:#f5f7fb;
color:#222;
line-height:1.9;
word-break:keep-all;
font-size:16px;
}

img{
max-width:100%;
display:block;
border-radius:18px;
}

a{
text-decoration:none;
color:inherit;
transition:.3s;
}

ul,ol{
list-style:none;
}

button{
font-family:'Pretendard',sans-serif;
}

/* =========================
LAYOUT
========================= */

#wrap{
width:100%;
overflow:hidden;
}

#container{
max-width:1280px;
margin:60px auto;
padding:0 20px;
display:grid;
grid-template-columns:1fr 320px;
gap:40px;
}

/* =========================
HEADER
========================= */

#header{
position:sticky;
top:0;
z-index:999;
background:rgba(255,255,255,.92);
backdrop-filter:blur(12px);
border-bottom:1px solid #edf1f5;
}

#header .inner{
max-width:1280px;
margin:auto;
padding:20px;
display:flex;
align-items:center;
justify-content:space-between;
gap:30px;
}

.logo a{
font-size:30px;
font-weight:900;
color:#111;
}

#gnb ul{
display:flex;
gap:22px;
}

#gnb a{
font-size:15px;
font-weight:700;
color:#444;
}

#gnb a:hover{
color:#2c7be5;
}

/* =========================
SEARCH
========================= */

.search-box{
display:flex;
align-items:center;
gap:10px;
}

.search-box input{
width:240px;
padding:14px 18px;
border:1px solid #dce3eb;
border-radius:14px;
background:#fff;
font-size:14px;
}

.search-box button{
padding:14px 20px;
border:none;
background:#2c7be5;
color:#fff;
font-weight:700;
border-radius:14px;
cursor:pointer;
}

/* =========================
POST LIST
========================= */

.post-item{
background:#fff;
border-radius:22px;
overflow:hidden;
margin-bottom:24px;
border:1px solid #edf1f5;
box-shadow:0 6px 18px rgba(0,0,0,.04);
transition:.35s;
}

.post-item:hover{
transform:translateY(-6px);
box-shadow:0 20px 45px rgba(0,0,0,.08);
}

.post-item .thumb{
overflow:hidden;
}

.post-item img{
transition:.4s;
}

.post-item:hover img{
transform:scale(1.04);
}

.post-item .info{
padding:22px;
}

.post-item h2{
font-size:22px;
line-height:1.5;
font-weight:800;
margin-bottom:14px;
color:#111;
}

.post-item p{
font-size:15px;
line-height:1.8;
color:#666;
margin-bottom:14px;
}

.post-item .meta{
font-size:14px;
color:#8b95a1;
}

/* =========================
POST COVER
========================= */

.post-cover{
background:linear-gradient(135deg,#2c7be5,#4f8ff7);
border-radius:32px;
overflow:hidden;
margin-bottom:40px;
color:#fff;
}

.cover-inner{
padding:90px 60px;
}

.post-cover .category{
display:inline-block;
padding:10px 18px;
border-radius:50px;
background:rgba(255,255,255,.18);
font-size:14px;
font-weight:700;
margin-bottom:24px;
}

.post-cover h1{
font-size:52px;
line-height:1.35;
font-weight:900;
margin-bottom:24px;
}

.post-cover .meta{
display:flex;
gap:18px;
font-size:15px;
opacity:.9;
}

/* =========================
ENTRY CONTENT
========================= */

.entry-content{
background:#fff;
padding:60px;
border-radius:32px;
box-shadow:0 10px 30px rgba(0,0,0,.04);
font-size:18px;
line-height:2;
}

.entry-content h2{
font-size:34px;
font-weight:900;
line-height:1.45;
margin-top:70px;
margin-bottom:28px;
padding-left:18px;
border-left:8px solid #2c7be5;
}

.entry-content h3{
font-size:28px;
font-weight:800;
margin-top:50px;
margin-bottom:24px;
}

.entry-content p{
margin-bottom:30px;
font-size:18px;
line-height:2;
}

.entry-content strong{
color:#2c7be5;
font-weight:800;
}

.entry-content img{
margin:40px 0;
box-shadow:0 12px 30px rgba(0,0,0,.08);
}

/* =========================
전문가 박스
========================= */
.expert-box{
background:linear-gradient(135deg,#2c7be5 0%, #4f8ff7 100%);
color:#fff;
padding:42px;
border-radius:30px;
margin-bottom:45px;

font-size:20px;
line-height:1.9;
font-weight:800;

box-shadow:
0 18px 45px rgba(44,123,229,.24);

letter-spacing:-0.4px;

position:relative;
overflow:hidden;
}

.expert-box p{
font-size:28px;
font-weight:900;
line-height:1.6;
margin:0;
text-shadow:
0 2px 10px rgba(0,0,0,.22);
}

/* =========================
상담 버튼
========================= */

.consult-btn{
display:block;
background:#2c7be5;
color:#fff !important;
padding:24px;
text-align:center;
border-radius:22px;
font-size:22px;
font-weight:900;
margin:50px 0;
box-shadow:0 15px 35px rgba(44,123,229,.25);
}

.consult-btn:hover{
transform:translateY(-4px);
background:#1d5fc1;
}

/* =========================
상담 박스
========================= */

.consult-box{
margin-top:70px;
padding:40px;
border-radius:28px;
background:#f8fafc;
border:2px solid #dbe6f3;
text-align:center;
}

.consult-box h3{
font-size:30px;
margin-bottom:16px;
font-weight:900;
}

.consult-box p{
margin:0;
}

/* =========================
요약 박스
========================= */

.summary-box{
background:#f8fafc;
padding:32px;
border-radius:24px;
margin:45px 0;
border:1px solid #e2e8f0;
}

.summary-box h3{
font-size:24px;
margin-bottom:18px;
font-weight:800;
}

.summary-box li{
margin-bottom:12px;
line-height:1.9;
}

/* =========================
AUTHOR BOX
========================= */

.author-box{
background:#fff;
border:2px solid #dbe6f3;
padding:36px;
border-radius:24px;
margin-top:60px;
line-height:1.9;
box-shadow:0 8px 24px rgba(0,0,0,.04);
}

/* =========================
TABLE
========================= */

table{
width:100%;
border-collapse:collapse;
margin:40px 0;
overflow:hidden;
border-radius:20px;
box-shadow:0 8px 24px rgba(0,0,0,.05);
}

th{
background:#2c7be5;
color:#fff;
padding:18px;
font-size:16px;
font-weight:800;
}

td{
padding:18px;
border:1px solid #edf1f5;
background:#fff;
font-size:15px;
line-height:1.8;
}

/* =========================
ADS
========================= */

.ads-top,
.ads-bottom{
margin:50px 0;
padding:30px;
background:#f8fafc;
border:2px dashed #d5dce5;
border-radius:24px;
text-align:center;
}

/* =========================
SIDEBAR
========================= */

.side-box{
background:#fff;
padding:30px;
border-radius:24px;
margin-bottom:30px;
box-shadow:0 10px 25px rgba(0,0,0,.04);
}

.side-box h3{
font-size:20px;
font-weight:900;
margin-bottom:22px;
}

.side-box li{
margin-bottom:14px;
}

.side-box a{
line-height:1.8;
font-weight:600;
}

/* =========================
PAGINATION
========================= */

.pagination{
margin-top:80px;
display:flex;
justify-content:center;
gap:10px;
}

.pagination a{
width:46px;
height:46px;
display:flex;
align-items:center;
justify-content:center;
background:#fff;
border-radius:14px;
font-weight:700;
box-shadow:0 4px 12px rgba(0,0,0,.05);
}

/* =========================
FOOTER
========================= */

#footer{
margin-top:120px;
padding:60px 20px;
background:#fff;
border-top:1px solid #edf1f5;
text-align:center;
color:#8b95a1;
}

/* =========================
MOBILE
========================= */

@media(max-width:1024px){

#container{
grid-template-columns:1fr;
}

}

@media(max-width:768px){

#header .inner{
flex-direction:column;
align-items:flex-start;
}

.search-box{
width:100%;
flex-direction:column;
}

.search-box input{
width:100%;
}

.search-box button{
width:100%;
}

.cover-inner{
padding:60px 30px;
}

.post-cover h1{
font-size:34px;
}

.entry-content{
padding:34px 26px;
font-size:16px;
}

.entry-content h2{
font-size:28px;
}

.entry-content h3{
font-size:24px;
}

.post-item h2{
font-size:26px;
}

}
.toc-box{
background:#fff;
border:2px solid #dbe6f3;
padding:30px;
border-radius:24px;
margin:40px 0;
box-shadow:0 8px 24px rgba(0,0,0,.04);
}

.toc-box h3{
font-size:24px;
margin-bottom:20px;
font-weight:800;
}

.toc-box li{
margin-bottom:14px;
}

.toc-box a{
color:#2c7be5;
font-weight:700;
}
.profile-card{
background:linear-gradient(135deg,#0f172a,#1e293b);
color:#fff;
padding:40px;
border-radius:28px;
margin-top:80px;
box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.profile-card h3{
font-size:30px;
margin-bottom:20px;
font-weight:900;
}

.profile-card p{
line-height:2;
font-size:17px;
}
.final-box{
background:#eff6ff;
padding:35px;
border-radius:24px;
margin-top:60px;
border-left:8px solid #2c7be5;
}

.final-box h3{
font-size:28px;
margin-bottom:18px;
font-weight:900;
}
.entry-content{
max-width:920px;
margin:auto;
}
.post-item .thumb{
height:240px;
overflow:hidden;
}

.post-item .thumb img{
width:100%;
height:100%;
object-fit:cover;
}
.post-item p{
display:-webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
overflow:hidden;
}
.expert-check{
    border-left:6px solid #0f9d58;
    background:#fafafa;
    padding:25px 30px;
    margin:30px 0;
    border-radius:10px;
}

.expert-title{
    font-size:20px;
    font-weight:700;
    margin-bottom:18px;
    color:#111;
}

.expert-check ul{
    margin-bottom:20px;
    line-height:1.9;
}

.expert-sub{
    font-size:18px;
    font-weight:700;
    margin-bottom:15px;
}
.expert-desc{
    margin-top:18px;
    font-size:17px;
    color:#444;
}
.expert-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    border: 1.5px solid rgba(255, 255, 255, 0.55); /* ✅ 테두리 추가로 구분감 */
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 15px;          /* ✅ 살짝 키움 */
    font-weight: 900;         /* ✅ 800 → 900 (더 굵게) */
    margin-bottom: 20px;
    color: #ffffff !important;
    opacity: 1 !important;
    backdrop-filter: blur(10px);
    letter-spacing: -0.3px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45); /* ✅ 그림자 강화 */
}
@media(max-width:768px){

.expert-badge{
font-size:22px;
line-height:1.5;
}
}
.expert-badge{
opacity:1 !important;
filter:none !important;
mix-blend-mode:normal !important;

color:#fff !important;

background:none !important;
backdrop-filter:none !important;

font-size:28px !important;
font-weight:900 !important;

text-shadow:
0 2px 10px rgba(0,0,0,.45) !important;
}

.expert-box *{
opacity:1 !important;
filter:none !important;
}
/* 카테고리 다른 글 목록 - 배경 흰색 + 텍스트 검정 */
.another_category,
.another_category_wrap,
#another_category,
.another-category,
[class*="another_category"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
}

.another_category *,
.another_category_wrap *,
#another_category * {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #222222 !important;
}

.another_category a,
.another_category_wrap a,
#another_category a {
  color: #222222 !important;
  font-weight: 600 !important;
}

.another_category a:hover,
.another_category_wrap a:hover,
#another_category a:hover {
  color: #e74c3c !important;
}
/* 카테고리 목록 글 제목 링크 색상 */
.another_category a {
  color: #222222 !important;
  font-weight: 600 !important;
}

.another_category a:hover {
  color: #e74c3c !important; /* 마우스 올렸을 때 빨간색 */
  text-decoration: underline !important;
}
/* 카테고리 목록 배경색 흰색으로 변경 */
.another_category {
  background-color: #ffffff !important;
  border: 1px solid #eeeeee !important;
}

.another_category li {
  background-color: #ffffff !important;
}

.another_category li:hover {
  background-color: #f5f5f5 !important; /* 마우스 올렸을 때 연한 회색 */
}
/* 날짜 잘림 방지 */
.another_category,
.another_category_wrap {
  padding-right: 30px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.another_category li {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 4px 40px 4px 0px !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.another_category li a {
  flex: 1 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin-right: 20px !important;
}

.another_category li span {
  flex-shrink: 0 !important;
  min-width: 80px !important;
  text-align: right !important;
  color: #888888 !important;
}
/* overflow hidden 해제 */
.another_category,
.another_category_wrap,
.another_category ul,
.another_category li {
  overflow: visible !important;
}
/* 보험 상담 박스 파란색 배경 */
.revenue_list_wrap,
.notice-wrap,
.blog-description,
[class*="revenue"],
[class*="notice"] {
  background: #5b9bd5 !important;
  background-color: #5b9bd5 !important;
  border: none !important;
  color: #ffffff !important;
}

.revenue_list_wrap *,
.notice-wrap *,
.blog-description * {
  color: #ffffff !important;
}
/* 보험 상담 및 문의 박스 파란색 배경 */
.consult-box {
  background: #5b9bd5 !important;
  background-color: #5b9bd5 !important;
  border: none !important;
  border-radius: 12px !important;
}

.consult-box * {
  color: #ffffff !important;
}
.consult-box {
  cursor: pointer !important;
  transition: opacity 0.2s !important;
}

.consult-box:hover {
  opacity: 0.85 !important;
}