/* security-detail.css — 보안 안내 페이지: 어드민에서 비우거나 추가할 수 있는 요소의 보정 + "상세 안내" 문서 블록
   (카드 아이콘·태그가 비면 숨김, 상세 안내는 카드 아래 한 줄 폭의 문서 카드로 표시) */
.security-pills span:empty{display:none}
.security-hero h1 span:empty{display:none}
.security-hero>p:empty,.security-architecture header small:empty,.security-architecture header p:empty{display:none}
.security-grid article>i:empty{display:none}
.security-cta h2:empty,.security-cta p:empty{display:none}
.security-cta>div a:empty,.security-cta>div a[href=""]{display:none}

.security-docs{grid-template-columns:1fr!important;max-width:880px;padding-top:8px!important;padding-bottom:40px!important;gap:16px}
.security-docs>article{padding:30px 32px}
.security-docs h2{margin:0 0 14px;font-size:21px;line-height:1.4}
.security-docs p{margin:0 0 .9em;color:#a1acba;font-size:15px;line-height:1.85}
.security-docs p:last-child,.security-docs ul:last-child{margin-bottom:0}
.security-docs ul{margin:0 0 .9em;padding-left:1.3em;color:#a1acba;font-size:15px;line-height:1.85}
.security-docs li{margin:.35em 0}
.security-docs li::marker{color:#6f86ff}
.security-docs b,.security-docs strong{color:#e9edf3;font-weight:700}
.security-docs a{color:#7f95ff;text-decoration:underline;text-underline-offset:3px}
html[data-theme="light"] .security-docs>article{border-color:#e3e7ee;background:#fff}
html[data-theme="light"] .security-docs p,html[data-theme="light"] .security-docs ul{color:#4a5262}
html[data-theme="light"] .security-docs h2,html[data-theme="light"] .security-docs b,html[data-theme="light"] .security-docs strong{color:#0f1319}
html[data-theme="light"] .security-docs a{color:#4b57e8}
@media(max-width:560px){.security-docs>article{padding:22px 18px}.security-docs p,.security-docs ul{font-size:14px}}

/* 카드 개수가 어드민에서 바뀌어도 어색하지 않게: 2개·4개는 2열, 1개는 한 줄 (그 밖에는 기존 3열) */
@media(min-width:561px){
  .security-grid:has(>article:last-child:nth-child(2)),.security-grid:has(>article:last-child:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}
  .security-grid:has(>article:last-child:nth-child(1)){grid-template-columns:minmax(0,1fr)}
}
/* 하단 안내 문장 안의 링크는 버튼이 아니라 글자 링크로 (버튼 스타일은 아래 두 개 버튼에만) */
.security-cta p a{display:inline;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#7f95ff;font-weight:700;text-decoration:underline;text-underline-offset:3px}
html[data-theme="light"] .security-cta p a{color:#4b57e8}
