* {
box-sizing: border-box;
}

html {
margin: 0;
padding: 0;
font-size: 16px;
-webkit-text-size-adjust: 100%;
}

body {
margin: 0;
padding: 0;
background: #f6f6f6;
color: #222;
font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
line-height: 1.65;
}

a {
color: inherit;
text-decoration: none;
}

img {
max-width: 100%;
height: auto;
display: block;
}

.header {
background: #ffffff;
border-bottom: 1px solid #e8e8e8;
}

.inner {
width: min(1120px, calc(100% - 32px));
margin: 0 auto;
}

.header .inner {
height: 68px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
}

.logo {
display: flex;
align-items: center;
flex-shrink: 0;
}

.logo a {
display: flex;
align-items: center;
}

.logo img {
display: block;
}

.menu {
display: block;
}

.menu ul {
display: flex;
align-items: center;
gap: 4px;
list-style: none;
margin: 0;
padding: 0;
}

.menu li {
margin: 0;
padding: 0;
}

.menu a {
display: block;
padding: 9px 14px;
border-radius: 999px;
font-size: 15px;
font-weight: 600;
color: #444;
}

.menu a:hover {
background: #f2f2f2;
color: #111;
}

.menu a[aria-current="page"] {
background: #222;
color: #fff;
}

.burger {
display: none;
width: 42px;
height: 42px;
border: 0;
background: transparent;
padding: 0;
cursor: pointer;
}

.burger span {
display: block;
width: 22px;
height: 2px;
background: #222;
margin: 5px auto;
border-radius: 2px;
}

.content {
width: min(1120px, calc(100% - 32px));
margin: 34px auto 56px;
}

.post {
background: transparent;
}

.post-header {
margin: 0 0 24px;
padding: 0;
}

.post-title {
position: relative;
display: flex;
align-items: center;
gap: 12px;
margin: 0;
font-size: 31px;
line-height: 1.25;
font-weight: 800;
letter-spacing: -0.04em;
color: #171717;
}

.post-title::before {
content: "";
display: block;
width: 13px;
height: 13px;
border-radius: 3px;
background: #222;
flex: 0 0 auto;
}

.post-list {
margin: 0 0 28px;
}

.item-list {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
}

.item-list article {
background: #ffffff;
border: 1px solid #e5e5e5;
border-radius: 18px;
overflow: hidden;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.035);
}

.item-list article header {
padding: 18px 18px 12px;
}

.item-list h3 {
margin: 0;
font-size: 19px;
line-height: 1.35;
font-weight: 800;
letter-spacing: -0.03em;
color: #171717;
}

.item-thumb {
display: block;
margin: 0 18px;
border-radius: 14px;
overflow: hidden;
background: #eee;
}

.item-thumb img {
width: 100%;
aspect-ratio: 16 / 9;
object-fit: cover;
transition: transform 0.2s ease;
}

.item-thumb:hover img {
transform: scale(1.025);
}

.item-list dl {
margin: 16px 18px 0;
padding: 0;
display: grid;
grid-template-columns: 48px 1fr;
gap: 8px 10px;
font-size: 14px;
}

.item-list dt {
margin: 0;
padding: 0;
font-weight: 800;
color: #222;
}

.item-list dd {
margin: 0;
padding: 0;
color: #555;
word-break: keep-all;
}

.item-list footer {
padding: 18px;
}

.item-list footer a {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
height: 46px;
border-radius: 12px;
background: #28446b;
color: #fff;
font-size: 15px;
font-weight: 800;
letter-spacing: -0.02em;
}

.item-list footer a::after {
content: ">";
font-size: 16px;
font-weight: 800;
line-height: 1;
}

.item-list footer a:hover {
background: #395d8e;
}

.post-content {
background: #ffffff;
border: 1px solid #e5e5e5;
border-radius: 20px;
padding: 34px;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.035);
}

.content-view {
font-size: 17px;
color: #333;
word-break: keep-all;
overflow-wrap: break-word;
}

.content-view h2 {
margin: 0 0 20px;
padding: 0 0 14px;
border-bottom: 2px solid #222;
font-size: 27px;
line-height: 1.35;
font-weight: 850;
letter-spacing: -0.04em;
color: #111;
}

.content-view h3 {
margin: 34px 0 13px;
font-size: 21px;
line-height: 1.4;
font-weight: 800;
letter-spacing: -0.035em;
color: #171717;
}

.content-view p {
margin: 0 0 15px;
}

.content-view ul {
margin: 12px 0 20px;
padding: 0;
list-style: none;
}

.content-view li {
position: relative;
margin: 0 0 9px;
padding: 0 0 0 18px;
}

.content-view li::before {
content: "";
position: absolute;
left: 0;
top: 0.78em;
width: 6px;
height: 6px;
border-radius: 50%;
background: #222;
}

.content-view strong {
font-weight: 800;
color: #111;
}

.content-view table {
width: 100%;
margin: 18px 0 24px;
border-collapse: collapse;
border-top: 2px solid #222;
font-size: 15px;
}

.content-view th {
background: #f5f5f5;
font-weight: 800;
color: #111;
}

.content-view th,
.content-view td {
padding: 13px 14px;
border-bottom: 1px solid #e5e5e5;
text-align: left;
vertical-align: top;
}

.footer {
background: #ffffff;
border-top: 1px solid #e8e8e8;
}

.footer .inner {
min-height: 72px;
display: flex;
align-items: center;
justify-content: center;
}

.footer p {
margin: 0;
font-size: 14px;
color: #333;
}

@media (max-width: 960px) {
.item-list {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 760px) {
.header .inner {
height: 62px;
}

.burger {
display: block;
}

.menu {
position: absolute;
left: 0;
right: 0;
top: 62px;
display: none;
background: #ffffff;
border-top: 1px solid #e8e8e8;
border-bottom: 1px solid #e8e8e8;
z-index: 20;
}

.menu.is-open {
display: block;
}

.menu ul {
width: min(1120px, calc(100% - 32px));
margin: 0 auto;
padding: 12px 0;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}

.menu a {
padding: 11px 12px;
border-radius: 10px;
background: #f6f6f6;
text-align: center;
font-size: 14px;
}

.menu a[aria-current="page"] {
background: #222;
color: #fff;
}

.content {
width: min(100% - 24px, 1120px);
margin: 24px auto 44px;
}

.post-title {
font-size: 27px;
gap: 10px;
}

.post-title::before {
width: 11px;
height: 11px;
border-radius: 3px;
}

.item-list {
grid-template-columns: 1fr;
gap: 14px;
}

.item-list article {
border-radius: 16px;
}

.item-list article header {
padding: 16px 16px 10px;
}

.item-list h3 {
font-size: 19px;
}

.item-thumb {
margin: 0 16px;
border-radius: 12px;
}

.item-list dl {
margin: 14px 16px 0;
grid-template-columns: 46px 1fr;
font-size: 14px;
}

.item-list footer {
padding: 16px;
}

.post-content {
padding: 24px 18px;
border-radius: 17px;
}

.content-view {
font-size: 16px;
line-height: 1.72;
}

.content-view h2 {
font-size: 24px;
}

.content-view h3 {
margin-top: 30px;
font-size: 20px;
}

.content-view table {
font-size: 14px;
}

.content-view th,
.content-view td {
padding: 11px 10px;
}
}

@media (max-width: 420px) {
.inner {
width: calc(100% - 24px);
}

.logo img {
width: 132px;
height: auto;
}

.post-title {
font-size: 25px;
}

.menu ul {
width: calc(100% - 24px);
}

.item-list dl {
grid-template-columns: 42px 1fr;
}

.content-view h2 {
font-size: 22px;
}

.content-view h3 {
font-size: 19px;
}
}