* {
box-sizing: border-box;
}

html {
margin: 0;
padding: 0;
font-size: 16px;
-webkit-text-size-adjust: 100%;
}

body {
margin: 0;
padding: 0;
background: #faf8ff;
color: #21182d;
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 {
display: block;
max-width: 100%;
height: auto;
}

.header {
background: #ffffff;
border-bottom: 1px solid #e8def8;
}

.header::after {
content: "";
display: block;
height: 4px;
background: #6f3cc3;
}

.inner {
width: min(1120px, calc(100% - 36px));
margin: 0 auto;
}

.header .inner {
height: 76px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
}

.logo {
display: flex;
align-items: center;
flex: 0 0 auto;
}

.logo a {
display: flex;
align-items: center;
}

.logo img {
display: block;
}

.menu {
display: block;
}

.menu ul {
display: flex;
align-items: center;
gap: 8px;
margin: 0;
padding: 0;
list-style: none;
}

.menu li {
margin: 0;
padding: 0;
}

.menu a {
display: block;
padding: 9px 14px;
border-radius: 14px;
font-size: 15px;
font-weight: 800;
letter-spacing: -0.025em;
color: #4a4058;
}

.menu a:hover {
background: #f1e9ff;
color: #5a2cb0;
}

.menu a[aria-current="page"] {
background: #6f3cc3;
color: #ffffff;
}

.burger {
display: none;
width: 42px;
height: 42px;
margin: 0;
padding: 0;
border: 1px solid #e2d6f5;
border-radius: 14px;
background: #ffffff;
cursor: pointer;
}

.burger span {
display: block;
width: 20px;
height: 2px;
margin: 5px auto;
border-radius: 2px;
background: #6f3cc3;
}

.content {
width: min(1120px, calc(100% - 36px));
margin: 32px auto 66px;
}

.post {
margin: 0;
padding: 0;
}

.post-header {
position: relative;
margin: 0 0 28px;
padding: 30px 34px;
background: #ffffff;
border: 1px solid #e8def8;
border-radius: 28px;
box-shadow: 0 12px 28px rgba(111, 60, 195, 0.06);
}

.post-title {
position: relative;
margin: 0;
padding: 0 0 0 22px;
font-size: 33px;
line-height: 1.24;
font-weight: 900;
letter-spacing: -0.055em;
color: #21182d;
}

.post-title::before {
content: "";
position: absolute;
left: 0;
top: 0.18em;
width: 8px;
height: 1.12em;
border-radius: 999px;
background: #6f3cc3;
}

.post-title::after {
display: block;
margin-top: 8px;
font-size: 15px;
line-height: 1.45;
font-weight: 600;
letter-spacing: -0.025em;
color: #6e637b;
}

.post-list {
margin: 0 0 44px;
padding: 0;
}

.item-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
margin: 0;
padding: 0;
}

.item-list article {
display: flex;
flex-direction: column;
min-width: 0;
background: #ffffff;
border: 1px solid #e7dcf7;
border-radius: 26px;
overflow: hidden;
box-shadow: 0 12px 28px rgba(111, 60, 195, 0.065);
}

.item-list article header {
order: 2;
padding: 20px 22px 10px;
}

.item-list h3 {
margin: 0;
font-size: 22px;
line-height: 1.34;
font-weight: 900;
letter-spacing: -0.045em;
color: #21182d;
word-break: keep-all;
}

.item-thumb {
order: 1;
display: block;
padding: 12px 12px 0;
background: #ffffff;
overflow: hidden;
}

.item-thumb img {
width: 100%;
aspect-ratio: 2 / 1;
object-fit: cover;
border-radius: 20px;
transition: transform 0.22s ease;
}

.item-thumb:hover img {
transform: scale(1.025);
}

.item-list dl {
order: 3;
display: grid;
grid-template-columns: 54px 1fr;
gap: 9px 12px;
margin: 0;
padding: 4px 22px 18px;
font-size: 15px;
line-height: 1.56;
letter-spacing: -0.025em;
}

.item-list dt {
display: inline-flex;
align-items: center;
justify-content: center;
height: 26px;
margin: 0;
border-radius: 999px;
background: #f2ecff;
color: #6f3cc3;
font-size: 12px;
font-weight: 900;
}

.item-list dd {
margin: 0;
padding: 1px 0 0;
color: #5a5165;
word-break: keep-all;
}

.item-list footer {
order: 4;
padding: 0 22px 22px;
margin-top: auto;
}

.item-list footer a {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
padding: 13px 16px;
border-radius: 16px;
background: #6f3cc3;
color: #ffffff;
font-size: 15px;
font-weight: 900;
letter-spacing: -0.025em;
box-shadow: 0 8px 18px rgba(111, 60, 195, 0.18);
}

.item-list footer a::after {
content: ">";
font-size: 16px;
font-weight: 900;
line-height: 1;
}

.item-list footer a:hover {
background: #5b2fa3;
box-shadow: 0 10px 22px rgba(111, 60, 195, 0.22);
}

.post-content {
margin: 0;
padding: 0;
}

.content-view {
position: relative;
background: #ffffff;
border: 1px solid #e8def8;
border-radius: 28px;
padding: 42px 44px;
box-shadow: 0 12px 28px rgba(111, 60, 195, 0.055);
font-size: 17px;
line-height: 1.82;
color: #362e42;
word-break: keep-all;
overflow-wrap: break-word;
}

.content-view::before {
content: "";
position: absolute;
left: 34px;
right: 34px;
top: 0;
height: 5px;
border-radius: 0 0 999px 999px;
background: #6f3cc3;
}

.content-view h2 {
position: relative;
margin: 48px 0 20px;
padding: 0 0 17px;
font-size: 27px;
line-height: 1.36;
font-weight: 900;
letter-spacing: -0.055em;
color: #21182d;
border-bottom: 1px solid #e8def8;
}

.content-view h2:first-child {
margin-top: 0;
}

.content-view h2::before {
content: "";
display: inline-block;
width: 12px;
height: 12px;
margin-right: 10px;
border-radius: 4px;
background: #6f3cc3;
vertical-align: 0.06em;
}

.content-view h3 {
position: relative;
margin: 34px 0 14px;
padding: 14px 18px;
border-radius: 18px;
background: #f7f2ff;
font-size: 21px;
line-height: 1.42;
font-weight: 900;
letter-spacing: -0.045em;
color: #3a245d;
}

.content-view h3::before {
content: "";
display: inline-block;
width: 7px;
height: 7px;
margin-right: 9px;
border-radius: 50%;
background: #6f3cc3;
vertical-align: 0.08em;
}

.content-view p {
margin: 0 0 17px;
}

.content-view ul {
margin: 16px 0 28px;
padding: 16px 20px;
list-style: none;
border-radius: 20px;
background: #fbf9ff;
border: 1px solid #e8def8;
}

.content-view li {
position: relative;
margin: 0 0 11px;
padding: 0 0 0 19px;
}

.content-view li:last-child {
margin-bottom: 0;
}

.content-view li::before {
content: "";
position: absolute;
left: 0;
top: 0.76em;
width: 7px;
height: 7px;
border-radius: 50%;
background: #6f3cc3;
}

.content-view table {
width: 100%;
margin: 20px 0 30px;
border-collapse: separate;
border-spacing: 0;
border: 1px solid #e4d8f5;
border-radius: 20px;
overflow: hidden;
font-size: 15px;
line-height: 1.58;
background: #ffffff;
}

.content-view th {
background: #f4eeff;
font-weight: 900;
color: #3a245d;
}

.content-view th,
.content-view td {
padding: 15px 16px;
border-bottom: 1px solid #e4d8f5;
border-right: 1px solid #e4d8f5;
text-align: left;
vertical-align: top;
}

.content-view th:last-child,
.content-view td:last-child {
border-right: 0;
}

.content-view tr:last-child td {
border-bottom: 0;
}

.content-view strong {
font-weight: 900;
color: #5b2fa3;
}

.footer {
background: #ffffff;
border-top: 1px solid #e8def8;
}

.footer .inner {
min-height: 76px;
display: flex;
align-items: center;
justify-content: center;
}

.footer p {
margin: 0;
font-size: 14px;
color: #756a84;
}

@media (max-width: 900px) {
.item-list {
grid-template-columns: 1fr;
}

.content-view {
padding: 36px 30px;
}
}

@media (max-width: 760px) {
.header .inner {
height: 66px;
}

.burger {
display: block;
}

.menu {
position: absolute;
top: 70px;
left: 0;
right: 0;
z-index: 40;
display: none;
background: #ffffff;
border-top: 1px solid #e8def8;
border-bottom: 1px solid #e8def8;
box-shadow: 0 14px 24px rgba(111, 60, 195, 0.08);
}

.menu.is-open {
display: block;
}

.menu ul {
width: min(1120px, calc(100% - 28px));
margin: 0 auto;
padding: 12px 0;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}

.menu a {
padding: 11px 10px;
border: 1px solid #e8def8;
border-radius: 14px;
background: #ffffff;
font-size: 14px;
text-align: center;
}

.menu a[aria-current="page"] {
background: #6f3cc3;
border-color: #6f3cc3;
color: #ffffff;
}

.content {
width: min(100% - 24px, 1120px);
margin: 24px auto 50px;
}

.post-header {
padding: 26px 24px;
border-radius: 22px;
}

.post-title {
padding-left: 18px;
font-size: 29px;
}

.post-title::after {
font-size: 14px;
}

.item-list {
gap: 15px;
}

.item-list article {
border-radius: 22px;
}

.item-list article header {
padding: 17px 18px 8px;
}

.item-list h3 {
font-size: 20px;
}

.item-thumb {
padding: 10px 10px 0;
}

.item-thumb img {
border-radius: 16px;
}

.item-list dl {
grid-template-columns: 50px 1fr;
padding: 4px 18px 17px;
font-size: 14px;
}

.item-list footer {
padding: 0 18px 18px;
}

.content-view {
padding: 34px 22px;
border-radius: 22px;
font-size: 16px;
line-height: 1.78;
}

.content-view::before {
left: 22px;
right: 22px;
}

.content-view h2 {
margin-top: 40px;
font-size: 23px;
}

.content-view h3 {
margin-top: 28px;
padding: 13px 15px;
font-size: 19px;
}

.content-view ul {
padding: 15px 17px;
}

.content-view table {
display: block;
overflow-x: auto;
white-space: nowrap;
font-size: 14px;
}
}

@media (max-width: 460px) {
.inner {
width: calc(100% - 24px);
}

.content {
width: calc(100% - 24px);
}

.logo img {
height: auto;
}

.menu ul {
width: calc(100% - 24px);
grid-template-columns: 1fr;
}

.post-title {
font-size: 26px;
}

.post-title::after {
font-size: 13px;
}

.item-list h3 {
font-size: 18px;
}

.item-list dl {
grid-template-columns: 46px 1fr;
font-size: 13.5px;
}

.content-view {
padding: 32px 18px;
}

.content-view h2 {
font-size: 21px;
}

.content-view h3 {
font-size: 18px;
}
}