```css
@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap");

:root{
  --navy:#082b59;
  --navy-deep:#06264f;
  --blue:#1768c3;
  --blue-soft:#edf5ff;
  --ink:#182535;
  --text:#3f4c5c;
  --muted:#778495;
  --line:#dce5ef;
  --paper:#ffffff;
  --bg:#f4f7fb;
  --shadow:0 16px 44px rgba(20,45,78,.08);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  max-width:100%;
  overflow-x:clip;
}

body{
  margin:0;
  max-width:100%;
  overflow-x:clip;
  background:var(--bg);
  color:var(--ink);
  font-family:"Noto Sans KR",Arial,sans-serif;
  line-height:1.75;
  word-break:keep-all;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input{
  font:inherit;
}

button{
  cursor:pointer;
}

.container{
  width:min(1180px,calc(100% - 40px));
  margin-inline:auto;
}

.sr-only,
.skip-link{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link:focus{
  width:auto;
  height:auto;
  clip:auto;
  z-index:1000;
  top:12px;
  left:12px;
  padding:8px 12px;
  border-radius:6px;
  background:#ffffff;
  color:var(--navy);
}

/* 상단 헤더 */

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(10px);
}

.header-inner{
  display:flex;
  align-items:center;
  gap:32px;
  width:min(1180px,calc(100% - 40px));
  height:76px;
  margin:auto;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-weight:800;
  letter-spacing:-.04em;
  white-space:nowrap;
}

.brand-mark{
  position:relative;
  display:grid;
  width:25px;
  height:25px;
  place-items:center;
  overflow:hidden;
  border-radius:50%;
  background:var(--navy);
}

.brand-mark i{
  position:absolute;
  top:7px;
  left:5px;
  width:11px;
  height:11px;
  border-radius:50%;
  background:#ffffff;
}

.brand-mark b{
  position:absolute;
  top:2px;
  right:3px;
  width:11px;
  height:11px;
  border-radius:50%;
  background:#e84145;
}

.brand-name{
  font-size:18px;
}

.global-nav{
  display:flex;
  align-items:center;
  gap:24px;
  margin-left:auto;
  color:#33465c;
  font-size:14px;
  font-weight:700;
}

.global-nav a{
  position:relative;
  padding:8px 0;
}

.global-nav a::after{
  content:"";
  position:absolute;
  bottom:2px;
  left:0;
  width:0;
  height:2px;
  background:var(--blue);
  transition:.2s;
}

.global-nav a:hover::after{
  width:100%;
}

.search-form{
  display:flex;
  height:38px;
  margin-left:8px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:6px;
  background:#ffffff;
}

.search-form input{
  width:170px;
  padding:0 10px;
  border:0;
  outline:0;
  font-size:12px;
}

.search-form button{
  width:38px;
  border:0;
  background:var(--navy);
  color:#ffffff;
  font-size:21px;
  line-height:1;
}

.mobile-menu-btn{
  display:none;
  width:36px;
  padding:7px;
  border:0;
  background:transparent;
}

.mobile-menu-btn span{
  display:block;
  height:2px;
  margin:5px 0;
  background:var(--navy);
}

/* 목록 페이지 */

.archive-head{
  padding:58px 0 50px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(120deg,#eef5ff,#ffffff);
}

.eyebrow,
.aside-label{
  margin:0 0 10px;
  color:var(--blue);
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
}

.archive-head h1,
.tag-page h1,
.guest-page h1{
  margin:0 0 8px;
  font-size:34px;
  letter-spacing:-.06em;
}

.archive-head p:last-child{
  margin:0;
  color:var(--text);
}

.post-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  padding:46px 0;
}

.post-card{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:12px;
  background:#ffffff;
  transition:.2s;
}

.post-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

.post-card-link{
  display:block;
  height:100%;
}

.post-thumb{
  aspect-ratio:1.7;
  margin:0;
  overflow:hidden;
  background:#eaf0f6;
}

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

.post-card-body{
  padding:18px 18px 20px;
}

.post-category{
  margin:0 0 7px;
  color:var(--blue);
  font-size:12px;
  font-weight:700;
}

.post-card h2{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.45;
  letter-spacing:-.045em;
}

.post-summary{
  display:-webkit-box;
  margin:0 0 16px;
  overflow:hidden;
  color:#687585;
  font-size:13px;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.post-card time{
  color:#8a96a3;
  font-size:12px;
}

.pagination{
  padding:0 0 50px;
  text-align:center;
}

.pagination a,
.pagination span{
  display:inline-grid;
  min-width:34px;
  height:34px;
  margin:2px;
  place-items:center;
  border:1px solid var(--line);
  border-radius:5px;
  background:#ffffff;
  font-size:13px;
}

.pagination .selected{
  border-color:var(--navy);
  background:var(--navy);
  color:#ffffff;
}

/* 글 영역 */

.post-view{
  padding:54px 0 72px;
}

.article-header{
  padding:42px 54px 28px;
  border:1px solid var(--line);
  border-bottom:0;
  border-radius:14px 14px 0 0;
  background:#ffffff;
}

.breadcrumb{
  margin:0 0 14px;
  color:#718094;
  font-size:13px;
}

.breadcrumb span{
  margin:0 7px;
  color:#a1adba;
}

.article-header h1{
  max-width:900px;
  margin:0;
  font-size:38px;
  line-height:1.35;
  letter-spacing:-.07em;
}

.article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:0;
  margin-top:20px;
  color:#7c8895;
  font-size:13px;
}

.article-meta span + span::before{
  content:"";
  margin:0 12px;
  border-left:1px solid #d9e0e8;
}

/* 기본: 우측 광고 없이 본문 760px 중앙 정렬 */

.article-layout{
  display:block;
  width:100%;
  padding:0 44px 48px;
  border:1px solid var(--line);
  border-radius:0 0 14px 14px;
  background:#ffffff;
}

.article-main{
  width:100%;
  max-width:760px;
  min-width:0;
  margin:0 auto;
}

.article-ad-aside{
  display:none;
}

/* 본문 */

.entry-content{
  padding:38px 0 28px;
  color:#303c4a;
  font-size:17px;
  line-height:1.95;
  letter-spacing:-.025em;
  word-spacing:-.01em;
}

.entry-content > *:first-child{
  margin-top:0;
}

.entry-content p{
  margin:0 0 20px;
}

.entry-content strong{
  color:#162a44;
  font-weight:700;
}

/* H2와 H3 크기 통일 */

.entry-content h2,
.entry-content h3{
  color:#082f63;
  font-size:22px;
  font-weight:800;
  line-height:1.52;
  letter-spacing:-.055em;
  scroll-margin-top:108px;
}

.entry-content h2{
  position:relative;
  margin:52px 0 20px;
  padding:14px 18px 14px 22px;
  border-top:1px solid #c1d8f0;
  border-bottom:1px solid #d6e5f4;
  border-radius:3px;
  background:linear-gradient(90deg,#edf5ff 0%,#fbfdff 82%);
}

.entry-content h2::before{
  content:"";
  position:absolute;
  top:13px;
  bottom:13px;
  left:0;
  width:5px;
  border-radius:0 2px 2px 0;
  background:#0b4f99;
}

.entry-content h3{
  position:relative;
  margin:34px 0 14px;
  padding:0 0 10px 14px;
  border-bottom:2px solid #d0e1f2;
  background:transparent;
  color:#0b4f99;
}

.entry-content h3::before{
  content:"";
  position:absolute;
  top:3px;
  bottom:12px;
  left:0;
  width:4px;
  border-radius:3px;
  background:#1768c3;
}

.entry-content h4{
  margin:28px 0 10px;
  color:#203a59;
  font-size:17px;
}

/* 목록 */

.entry-content ul,
.entry-content ol{
  margin:18px 0 24px;
  padding:18px 22px 18px 42px;
  border:1px solid #dce7f3;
  border-radius:7px;
  background:#fbfdff;
}

.entry-content li + li{
  margin-top:8px;
}

/* 인용·핵심 요약 */

.entry-content blockquote,
body #article-content blockquote,
body .contents_style blockquote,
body .tt_article_useless_p_margin blockquote{
  display:block;
  margin:28px 0;
  padding:20px 22px 20px 24px;
  border:1px solid #cfe2fb;
  border-left:5px solid #1768c3;
  border-radius:8px;
  background:#f3f8ff;
  box-shadow:none;
  color:#36516f;
  font-family:"Noto Sans KR",Arial,sans-serif;
  font-size:16px;
  font-style:normal;
  font-weight:400;
  line-height:1.85;
  letter-spacing:-.02em;
  text-align:left;
}

.entry-content blockquote::before,
.entry-content blockquote::after,
body #article-content blockquote::before,
body #article-content blockquote::after,
body .contents_style blockquote::before,
body .contents_style blockquote::after,
body .tt_article_useless_p_margin blockquote::before,
body .tt_article_useless_p_margin blockquote::after{
  content:none;
  display:none;
}

.entry-content blockquote strong,
body #article-content blockquote strong,
body .contents_style blockquote strong,
body .tt_article_useless_p_margin blockquote strong{
  display:block;
  margin:0 0 8px;
  color:#174c89;
  font-size:16px;
  font-weight:800;
}

.entry-content blockquote p,
body #article-content blockquote p,
body .contents_style blockquote p,
body .tt_article_useless_p_margin blockquote p{
  margin:0 0 8px;
  padding:0;
  font-size:inherit;
  line-height:inherit;
  text-align:left;
}

.entry-content blockquote p:last-child,
body #article-content blockquote p:last-child,
body .contents_style blockquote p:last-child,
body .tt_article_useless_p_margin blockquote p:last-child{
  margin-bottom:0;
}

/* 표 */

.entry-content table{
  width:100%;
  margin:24px 0;
  border:1px solid #d7e2ed;
  border-collapse:collapse;
  font-size:15px;
}

.entry-content th{
  background:#eaf3ff;
  color:#133c6e;
  font-weight:700;
}

.entry-content th,
.entry-content td{
  padding:13px;
  border:1px solid #d7e2ed;
  text-align:left;
}

.entry-content .table-wrap{
  width:100%;
  max-width:100%;
  margin:28px 0;
  overflow-x:auto;
  border:1px solid #d7e2ed;
  border-radius:9px;
  background:#ffffff;
  box-shadow:0 4px 14px rgba(20,45,78,.04);
  -webkit-overflow-scrolling:touch;
}

.entry-content .table-wrap table{
  width:100%;
  min-width:540px;
  margin:0;
  border:0;
  border-collapse:collapse;
  background:#ffffff;
}

.entry-content .table-wrap th,
.entry-content .table-wrap td{
  vertical-align:top;
  text-align:left;
}

.entry-content .table-wrap th{
  padding:14px;
  border-top:0;
  border-right:1px solid #d7e2ed;
  border-bottom:1px solid #cbddec;
  border-left:0;
  background:#eaf3ff;
  color:#133c6e;
  white-space:nowrap;
}

.entry-content .table-wrap td{
  padding:13px 14px;
  border-top:0;
  border-right:1px solid #e1e8ef;
  border-bottom:1px solid #e1e8ef;
  border-left:0;
  color:#3d4d60;
}

.entry-content .table-wrap th:last-child,
.entry-content .table-wrap td:last-child{
  border-right:0;
}

.entry-content .table-wrap tbody tr:last-child td{
  border-bottom:0;
}

.entry-content .table-wrap tbody tr:nth-child(even) td{
  background:#f8fbff;
}

/* 이미지 */

.entry-content img,
.article-main img,
.article-main video{
  display:block;
  max-width:100%;
  height:auto;
}

.entry-content img{
  margin:8px 0 18px;
  border-radius:8px;
}

.article-main pre{
  max-width:100%;
  overflow-x:auto;
}

.entry-content hr{
  margin:46px 0;
  border:0;
  border-top:1px solid #dae3ed;
}

/* 본문 수동 광고 */

.entry-content .ad-unit{
  clear:both;
  width:100%;
  max-width:760px;
  min-width:0;
  margin:46px auto;
  padding:0;
  overflow:visible;
  text-align:center;
}

.entry-content .ad-unit > .adsbygoogle{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 auto !important;
}

/* 광고가 작은 규격으로 송출될 때 중앙 정렬만 적용 */

.entry-content .ad-unit iframe{
  display:block !important;
  margin-right:auto !important;
  margin-left:auto !important;
}

.entry-content .ad-unit + h2{
  margin-top:46px;
}

.entry-content .ad-unit + h3{
  margin-top:34px;
}

.entry-content .ad-unit + p{
  margin-top:30px;
}

/* 본문 위 목차 */

.article-toc,
.toc-sticky{
  border:1px solid #cfe0f3;
  border-radius:9px;
  background:#f8fbff;
}

.article-toc.toc-mobile{
  display:block;
  margin:30px 0 0;
  padding:18px 20px;
}

.toc-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom:14px;
  border-bottom:1px solid #d9e7f4;
  color:#062f63;
  font-size:16px;
  font-weight:800;
  letter-spacing:-.035em;
}

.toc-title button{
  border:0;
  background:transparent;
  color:#6d7d8d;
  font-size:12px;
}

.toc-list{
  columns:2;
  column-gap:30px;
  margin:0;
  padding:13px 0 0;
  list-style:none;
}

.toc-list li{
  break-inside:avoid;
  margin:10px 0;
}

.toc-list li a{
  display:flex;
  align-items:flex-start;
  gap:8px;
  color:#29445f;
  font-size:14px;
  font-weight:700;
  line-height:1.62;
  letter-spacing:-.025em;
  white-space:normal;
}

.toc-list li a:hover{
  color:var(--blue);
}

.toc-list li a span{
  flex:0 0 38px;
  width:38px;
  color:#0b5eb5;
  font-size:12px;
  font-weight:800;
}

.toc-list .toc-sub{
  margin-top:8px;
  margin-left:20px;
}

.toc-list .toc-sub a{
  color:#55718e;
  font-size:13px;
  font-weight:700;
  line-height:1.58;
}

.toc-list .toc-sub a span{
  flex-basis:42px;
  width:42px;
  color:#4d82bb;
  font-size:11px;
  font-weight:800;
}

.is-collapsed .toc-list{
  display:none;
}

/* 해시태그 */

.entry-content .post-hashtags{
  margin:32px 0 0;
  padding-top:18px;
  border-top:1px solid #dce5ef;
  color:#52708e;
  font-size:13px;
  line-height:1.9;
  word-break:break-word;
}

/* 본문 하단 안내 */

.article-notice{
  margin-top:8px;
  padding:19px 22px;
  border:1px solid #cddff4;
  border-radius:8px;
  background:#f8fbff;
  color:#4d5f74;
  font-size:14px;
}

.article-notice strong{
  display:block;
  margin-bottom:5px;
  color:#174c89;
}

.article-notice p{
  margin:0;
}

.article-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding-top:18px;
}

.article-actions button{
  padding:7px 11px;
  border:1px solid var(--line);
  border-radius:5px;
  background:#ffffff;
  color:#526376;
  font-size:12px;
}

.article-actions button:hover{
  border-color:#9fc1e8;
  color:var(--navy);
}

/* PC 우측 광고: CSS 기준 1180px 이상에서만 표시 */

@media(min-width:1180px){

  .post-view .container{
    width:min(1160px,calc(100% - 48px));
  }

  .article-header{
    width:100%;
    max-width:1160px;
    margin:0 auto;
  }

  .article-layout{
    display:grid;
    grid-template-columns:minmax(0,760px) 300px;
    justify-content:center;
    gap:24px;
    width:100%;
    max-width:1160px;
    margin:0 auto;
    padding:0 38px 48px;
  }

  .article-main{
    width:760px;
    max-width:760px;
    margin:0;
  }

  .article-ad-aside{
    display:block;
    width:300px;
    min-width:300px;
    max-width:300px;
    padding-top:38px;
  }

  .sidebar-ad{
    width:300px;
    min-width:300px;
    max-width:300px;
    overflow:visible;
    border:1px solid #d7e5f3;
    border-radius:10px;
    background:#ffffff;
  }

  .sidebar-ad .ad-label{
    margin:0;
    padding:13px 10px 10px;
    border-bottom:1px solid #e0eaf4;
    color:#8090a2;
    font-size:10px;
    font-weight:700;
    letter-spacing:.1em;
    line-height:1;
    text-align:center;
    text-transform:uppercase;
  }

  .sidebar-ad .ad-unit{
    width:300px;
    min-width:300px;
    max-width:300px;
    margin:0;
    padding:0;
    overflow:visible;
    text-align:center;
  }

  .sidebar-ad .adsbygoogle{
    display:block !important;
    width:300px !important;
    min-width:300px !important;
    max-width:300px !important;
    margin:0 auto !important;
  }
}

/* 공지·태그·방명록 */

.notice-view,
.tag-page,
.guest-page{
  margin-top:54px;
  margin-bottom:70px;
  padding:45px 55px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#ffffff;
}

.notice-view h1{
  font-size:34px;
  letter-spacing:-.06em;
}

.tag-cloud a{
  display:inline-block;
  margin:5px;
  padding:7px 11px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#f9fbfd;
  font-size:13px;
}

/* 푸터 */

.site-footer{
  padding:35px 0;
  background:#09294f;
  color:#dae6f5;
}

.footer-inner{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
}

.footer-brand{
  color:#ffffff;
}

.site-footer p{
  margin:9px 0 0;
  color:#9fb4cb;
  font-size:12px;
}

.copyright{
  white-space:nowrap;
}

/* 맨 위로 버튼 */

.to-top{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:20;
  width:44px;
  height:44px;
  border:1px solid #cddced;
  border-radius:50%;
  background:#ffffff;
  box-shadow:0 8px 20px rgba(17,55,95,.14);
  color:var(--navy);
  font-size:20px;
  opacity:0;
  pointer-events:none;
  transform:translateY(8px);
  transition:.2s;
}

.to-top.show{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

/* 태블릿 */

@media(max-width:1179px){

  .article-header{
    padding:36px 38px 24px;
  }

  .article-layout{
    padding:0 38px 42px;
  }

  .article-main{
    max-width:760px;
  }

  .article-ad-aside{
    display:none;
  }

  .header-inner{
    gap:18px;
  }

  .global-nav{
    gap:15px;
  }

  .search-form input{
    width:130px;
  }
}

/* 모바일 */

@media(max-width:700px){

  .container{
    width:calc(100% - 28px);
  }

  .site-header{
    position:relative;
  }

  .header-inner{
    width:calc(100% - 28px);
    height:62px;
  }

  .brand-name{
    font-size:16px;
  }

  .brand-mark{
    width:22px;
    height:22px;
  }

  .brand-mark i{
    top:6px;
    left:4px;
    width:10px;
    height:10px;
  }

  .brand-mark b{
    width:10px;
    height:10px;
  }

  .mobile-menu-btn{
    display:block;
    margin-left:auto;
  }

  .global-nav{
    position:absolute;
    top:62px;
    left:0;
    display:none;
    width:100%;
    margin:0;
    padding:12px 14px;
    border-bottom:1px solid var(--line);
    background:#ffffff;
    box-shadow:0 10px 15px rgba(23,47,78,.07);
  }

  .global-nav.is-open{
    display:grid;
    gap:0;
  }

  .global-nav a{
    padding:11px 5px;
  }

  .search-form{
    display:none;
  }

  .archive-head{
    padding:38px 0;
  }

  .archive-head h1,
  .tag-page h1,
  .guest-page h1{
    font-size:27px;
  }

  .post-list{
    grid-template-columns:1fr;
    gap:12px;
    padding:25px 0;
  }

  .post-card-link{
    display:flex;
  }

  .post-thumb{
    width:38%;
    flex:none;
    aspect-ratio:1.1;
  }

  .post-card-body{
    padding:13px 14px;
  }

  .post-card h2{
    font-size:16px;
  }

  .post-summary{
    margin-bottom:7px;
    font-size:12px;
  }

  .post-view{
    padding:22px 0 42px;
  }

  .article-header{
    padding:25px 20px 18px;
    border-radius:10px 10px 0 0;
  }

  .article-header h1{
    font-size:26px;
    line-height:1.42;
  }

  .article-meta{
    margin-top:14px;
    font-size:11px;
  }

  .article-meta span + span::before{
    margin:0 7px;
  }

  .article-layout{
    padding:0 20px 32px;
    border-radius:0 0 10px 10px;
  }

  .entry-content{
    padding:28px 0 22px;
    font-size:16px;
    line-height:1.9;
    letter-spacing:-.02em;
  }

  .entry-content h2,
  .entry-content h3{
    font-size:19px;
    line-height:1.52;
    scroll-margin-top:76px;
  }

  .entry-content h2{
    margin:42px 0 17px;
    padding:12px 14px 12px 18px;
  }

  .entry-content h2::before{
    top:11px;
    bottom:11px;
    width:4px;
  }

  .entry-content h3{
    margin-top:29px;
    padding-bottom:9px;
    padding-left:12px;
  }

  .entry-content h3::before{
    top:2px;
    bottom:11px;
    width:3px;
  }

  .entry-content blockquote,
  body #article-content blockquote,
  body .contents_style blockquote,
  body .tt_article_useless_p_margin blockquote{
    margin:22px 0;
    padding:17px 17px 17px 19px;
    font-size:15px;
    line-height:1.8;
  }

  .entry-content blockquote strong,
  body #article-content blockquote strong,
  body .contents_style blockquote strong,
  body .tt_article_useless_p_margin blockquote strong{
    font-size:15px;
  }

  .entry-content .table-wrap{
    margin:22px 0;
    border-radius:7px;
  }

  .entry-content .table-wrap table{
    min-width:480px;
    font-size:13px;
  }

  .entry-content .table-wrap th,
  .entry-content .table-wrap td{
    padding:10px 11px;
  }

  .entry-content .ad-unit{
    margin:32px auto;
  }

  .article-toc.toc-mobile{
    margin-top:22px;
    padding:15px 16px;
  }

  .toc-title{
    font-size:15px;
  }

  .toc-list{
    columns:1;
    column-gap:0;
  }

  .toc-list li{
    margin:9px 0;
  }

  .toc-list li a{
    gap:7px;
    font-size:13px;
  }

  .toc-list li a span{
    flex-basis:35px;
    width:35px;
    font-size:11px;
  }

  .toc-list .toc-sub{
    margin-left:14px;
  }

  .toc-list .toc-sub a{
    font-size:12px;
  }

  .toc-list .toc-sub a span{
    flex-basis:39px;
    width:39px;
    font-size:10px;
  }

  .entry-content .post-hashtags{
    margin-top:26px;
    padding-top:16px;
    font-size:12px;
  }

  .article-notice{
    font-size:13px;
  }

  .footer-inner{
    display:block;
  }

  .copyright{
    margin-top:19px !important;
    white-space:normal;
  }

  .notice-view,
  .tag-page,
  .guest-page{
    margin-top:22px;
    margin-bottom:42px;
    padding:28px 20px;
  }

  .to-top{
    right:14px;
    bottom:14px;
    width:40px;
    height:40px;
  }
}




/* =========================================================
   모바일 본문 광고 오른쪽 쏠림·잘림 방지
   CSS 가장 마지막에 추가
   ========================================================= */

@media(max-width:700px){

  /* 글 페이지에서는 광고가 화면 폭을 충분히 사용할 수 있게 처리 */
  .post-view .container{
    width:100% !important;
    max-width:none !important;
  }

  /* 본문 카드 내부 광고가 화면 폭보다 좁아지지 않게 설정 */
  .article-layout{
    overflow:visible !important;
  }

  /* 광고만 본문 좌우 여백을 벗어나 화면 기준으로 중앙 배치 */
  .entry-content .ad-unit{
    position:relative !important;
    left:50% !important;
    width:100vw !important;
    max-width:100vw !important;
    min-width:0 !important;
    margin:32px 0 !important;
    padding:0 !important;
    overflow:visible !important;
    text-align:center !important;
    transform:translateX(-50%) !important;
  }

  /* 애드센스 반응형 광고 영역 */
  .entry-content .ad-unit > .adsbygoogle{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 auto !important;
    text-align:center !important;
  }

  /* 광고 블록에 이전 PC용 폭·여백이 남지 않게 초기화 */
  .entry-content .ad-unit,
  .entry-content .ad-unit *{
    box-sizing:border-box !important;
  }

  /* 본문 텍스트와 표는 기존 여백 유지 */
  .article-layout{
    padding:0 20px 32px !important;
  }

  .article-main,
  .entry-content{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
}
