* {
box-sizing: border-box;
}

html {
margin: 0;
padding: 0;
font-size: 16px;
-webkit-text-size-adjust: 100%;
}

body {
margin: 0;
padding: 0;
background: #ffffff;
color: #24181b;
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 #eee5e7;
}

.inner {
width: min(1160px, calc(100% - 32px));
margin: 0 auto;
}

.header .inner {
height: 74px;
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: 22px;
margin: 0;
padding: 0;
list-style: none;
}

.menu li {
margin: 0;
padding: 0;
}

.menu a {
position: relative;
display: block;
padding: 6px 0;
font-size: 15px;
font-weight: 750;
letter-spacing: -0.025em;
color: #514346;
}

.menu a::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 2px;
border-radius: 999px;
background: #b9485f;
transform: scaleX(0);
transform-origin: left center;
transition: transform 0.18s ease;
}

.menu a:hover {
color: #9f334a;
}

.menu a:hover::after {
transform: scaleX(1);
}

.menu a[aria-current="page"] {
color: #b9485f;
}

.menu a[aria-current="page"]::after {
transform: scaleX(1);
}

.burger {
display: none;
width: 42px;
height: 42px;
margin: 0;
padding: 0;
border: 1px solid #eee5e7;
border-radius: 50%;
background: #ffffff;
cursor: pointer;
}

.burger span {
display: block;
width: 19px;
height: 2px;
margin: 5px auto;
border-radius: 2px;
background: #b9485f;
}

.content {
width: min(1160px, calc(100% - 32px));
margin: 0 auto 62px;
}

.post {
margin: 0;
padding: 0;
}

.post-header {
position: relative;
margin: 0 0 30px;
padding: 36px 0 26px;
border-bottom: 1px solid #f0e5e7;
}

.post-title {
position: relative;
margin: 0;
padding: 0;
font-size: 36px;
line-height: 1.22;
font-weight: 900;
letter-spacing: -0.055em;
color: #24181b;
}

.post-title::after {
content: "";
display: block;
width: 56px;
height: 5px;
margin-top: 16px;
border-radius: 999px;
background: #b9485f;
}

.post-list {
margin: 0 0 44px;
padding: 0;
}

.item-list {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
margin: 0;
padding: 0;
list-style: none;
}

.item-list li {
display: flex;
flex-direction: column;
min-width: 0;
background: #ffffff;
border-radius: 18px;
overflow: hidden;
box-shadow: 0 8px 22px rgba(36, 24, 27, 0.07);
}

.item-list li > a:first-child {
display: block;
background: #f5f1f2;
overflow: hidden;
}

.item-list li > a:first-child img {
width: 100%;
aspect-ratio: 2 / 1;
object-fit: cover;
transition: transform 0.22s ease;
}

.item-list li > a:first-child:hover img {
transform: scale(1.025);
}

.item-list strong {
display: block;
margin: 0;
padding: 16px 17px 8px;
font-size: 18px;
line-height: 1.35;
font-weight: 900;
letter-spacing: -0.04em;
color: #24181b;
word-break: keep-all;
}

.item-list span {
display: block;
margin: 0;
padding: 0 17px;
font-size: 14px;
line-height: 1.55;
letter-spacing: -0.025em;
color: #65575a;
word-break: keep-all;
}

.item-list span + span {
margin-top: 5px;
}

.item-list li > a:last-child {
display: flex;
align-items: center;
justify-content: center;
gap: 7px;
margin: auto 17px 17px;
padding: 13px 12px;
border-radius: 999px;
background: #b9485f;
color: #ffffff;
font-size: 14px;
font-weight: 900;
letter-spacing: -0.025em;
}

.item-list li > a:last-child::after {
content: ">";
font-size: 15px;
font-weight: 900;
line-height: 1;
}

.item-list li > a:last-child:hover {
background: #9f334a;
}

.post-content {
margin: 0;
padding: 0;
}

.content-view {
background: #ffffff;
border-top: 1px solid #eee5e7;
padding: 38px 0 0;
font-size: 17px;
line-height: 1.78;
color: #35272a;
word-break: keep-all;
overflow-wrap: break-word;
}

.content-view h2 {
position: relative;
margin: 46px 0 18px;
padding: 0 0 13px;
border-bottom: 1px solid #f0e5e7;
font-size: 25px;
line-height: 1.38;
font-weight: 900;
letter-spacing: -0.05em;
color: #24181b;
}

.content-view h2:first-child {
margin-top: 0;
}

.content-view h2::after {
content: "";
position: absolute;
left: 0;
bottom: -1px;
width: 48px;
height: 3px;
border-radius: 999px;
background: #b9485f;
}

.content-view h3 {
position: relative;
margin: 32px 0 13px;
padding-left: 13px;
font-size: 20px;
line-height: 1.42;
font-weight: 900;
letter-spacing: -0.04em;
color: #24181b;
}

.content-view h3::before {
content: "";
position: absolute;
left: 0;
top: 0.38em;
width: 4px;
height: 1em;
border-radius: 999px;
background: #b9485f;
}

.content-view p {
margin: 0 0 16px;
}

.content-view ul {
margin: 14px 0 26px;
padding: 0;
list-style: none;
}

.content-view li {
position: relative;
margin: 0 0 10px;
padding: 0 0 0 17px;
}

.content-view li:last-child {
margin-bottom: 0;
}

.content-view li::before {
content: "";
position: absolute;
left: 0;
top: 0.74em;
width: 5px;
height: 5px;
border-radius: 50%;
background: #b9485f;
}

.content-view table {
width: 100%;
margin: 18px 0 28px;
border-collapse: collapse;
border-top: 2px solid #b9485f;
font-size: 15px;
line-height: 1.55;
background: #ffffff;
}

.content-view th {
background: #faf4f5;
font-weight: 900;
color: #8e2f43;
}

.content-view th,
.content-view td {
padding: 14px 15px;
border-bottom: 1px solid #eee5e7;
text-align: left;
vertical-align: top;
}

.content-view strong {
font-weight: 900;
color: #8e2f43;
}

.footer {
background: #ffffff;
border-top: 1px solid #eee5e7;
}

.footer .inner {
min-height: 76px;
display: flex;
align-items: center;
justify-content: center;
}

.footer p {
margin: 0;
font-size: 14px;
color: #8a7076;
}

@media (max-width: 1040px) {
.item-list {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content {
width: min(100% - 28px, 1160px);
}
}

@media (max-width: 800px) {
.header .inner {
height: 66px;
}

.burger {
display: block;
}

.menu {
position: absolute;
top: 66px;
left: 0;
right: 0;
z-index: 40;
display: none;
background: #ffffff;
border-bottom: 1px solid #eee5e7;
box-shadow: 0 14px 24px rgba(36, 24, 27, 0.08);
}

.menu.is-open {
display: block;
}

.menu ul {
width: min(1160px, calc(100% - 28px));
margin: 0 auto;
padding: 14px 0;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}

.menu a {
padding: 10px 8px;
border: 1px solid #eee5e7;
border-radius: 999px;
font-size: 14px;
text-align: center;
}

.menu a::after {
display: none;
}

.menu a:hover {
border-color: #e4c8ce;
color: #9f334a;
}

.menu a[aria-current="page"] {
background: #b9485f;
border-color: #b9485f;
color: #ffffff;
}

.content {
width: min(100% - 24px, 1160px);
margin-bottom: 48px;
}

.post-header {
padding: 28px 0 24px;
margin-bottom: 22px;
}

.post-title {
font-size: 29px;
}

.post-title::after {
width: 50px;
height: 4px;
margin-top: 14px;
}

.item-list {
grid-template-columns: 1fr;
gap: 14px;
}

.item-list li {
border-radius: 16px;
}

.item-list li > a:first-child img {
aspect-ratio: 16 / 9;
}

.item-list strong {
padding: 14px 16px 8px;
font-size: 18px;
}

.item-list span {
padding: 0 16px;
font-size: 14px;
}

.item-list li > a:last-child {
margin: auto 16px 16px;
}

.content-view {
padding-top: 32px;
font-size: 16px;
line-height: 1.76;
}

.content-view h2 {
margin-top: 38px;
font-size: 22px;
}

.content-view h3 {
margin-top: 28px;
font-size: 19px;
}

.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: repeat(2, minmax(0, 1fr));
}

.post-title {
font-size: 26px;
}

.post-header {
padding-top: 24px;
}

.item-list strong {
font-size: 17px;
}

.content-view h2 {
font-size: 21px;
}

.content-view h3 {
font-size: 18px;
}
}