* {
box-sizing: border-box;
}

html {
margin: 0;
padding: 0;
font-size: 16px;
-webkit-text-size-adjust: 100%;
}

body {
margin: 0;
padding: 0;
background: #fbf7f8;
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 #eadde1;
}

.header::after {
content: "";
display: block;
height: 3px;
background: #8f2f4a;
}

.inner {
width: min(1120px, calc(100% - 36px));
margin: 0 auto;
}

.header .inner {
height: 70px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
}

.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: 6px;
margin: 0;
padding: 0;
list-style: none;
}

.menu li {
margin: 0;
padding: 0;
}

.menu a {
display: block;
padding: 9px 13px;
border-radius: 999px;
font-size: 15px;
font-weight: 800;
letter-spacing: -0.025em;
color: #5b454b;
}

.menu a:hover {
background: #f6e9ed;
color: #8f2f4a;
}

.menu a[aria-current="page"] {
background: #8f2f4a;
color: #ffffff;
}

.burger {
display: none;
width: 42px;
height: 42px;
margin: 0;
padding: 0;
border: 1px solid #eadde1;
border-radius: 999px;
background: #ffffff;
cursor: pointer;
}

.burger span {
display: block;
width: 20px;
height: 2px;
margin: 5px auto;
border-radius: 2px;
background: #8f2f4a;
}

.content {
width: min(1120px, calc(100% - 36px));
margin: 34px auto 66px;
}

.post {
margin: 0;
padding: 0;
}

.post-header {
position: relative;
margin: 0 0 30px;
padding: 0 0 26px;
border-bottom: 1px solid #eadde1;
}

.post-title {
position: relative;
margin: 0;
padding: 0;
font-size: 37px;
line-height: 1.22;
font-weight: 900;
letter-spacing: -0.058em;
color: #24181b;
}

.post-title::after {
content: "";
display: block;
width: 90px;
height: 4px;
margin-top: 17px;
border-radius: 999px;
background: #8f2f4a;
}

.post-list {
margin: 0 0 46px;
padding: 0;
}

.item-list {
display: grid;
grid-template-columns: repeat(3, 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 #eadde1;
border-radius: 22px;
overflow: hidden;
box-shadow: 0 12px 30px rgba(143, 47, 74, 0.07);
}

.item-list article header {
order: 2;
padding: 18px 18px 8px;
}

.item-list h3 {
margin: 0;
font-size: 19px;
line-height: 1.35;
font-weight: 900;
letter-spacing: -0.045em;
color: #24181b;
word-break: keep-all;
}

.item-visual {
order: 1;
display: block;
padding: 10px 10px 0;
background: #ffffff;
overflow: hidden;
}

.item-visual img {
width: 100%;
aspect-ratio: 2 / 1;
object-fit: cover;
border-radius: 16px;
transition: transform 0.22s ease;
}

.item-visual:hover img {
transform: scale(1.025);
}

.item-detail {
order: 3;
display: grid;
gap: 7px;
padding: 0 18px 16px;
}

.item-detail p {
display: grid;
grid-template-columns: 44px 1fr;
gap: 9px;
align-items: start;
margin: 0;
padding: 9px 0;
border-bottom: 1px solid #f0e3e7;
font-size: 13.5px;
line-height: 1.52;
letter-spacing: -0.025em;
}

.item-detail p:first-child {
border-top: 1px solid #f0e3e7;
}

.item-detail b {
display: inline-flex;
align-items: center;
justify-content: center;
height: 24px;
border-radius: 999px;
background: #f7ebef;
color: #8f2f4a;
font-size: 12px;
font-weight: 900;
}

.item-detail span {
color: #5e5054;
word-break: keep-all;
}

.item-action {
order: 4;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin: auto 18px 18px;
padding: 12px 14px;
border-radius: 999px;
background: #8f2f4a;
color: #ffffff;
font-size: 14px;
font-weight: 900;
letter-spacing: -0.025em;
box-shadow: 0 8px 18px rgba(143, 47, 74, 0.18);
}

.item-action::after {
content: ">";
font-size: 15px;
font-weight: 900;
line-height: 1;
}

.item-action:hover {
background: #73243a;
box-shadow: 0 10px 22px rgba(143, 47, 74, 0.24);
}

.post-content {
margin: 0;
padding: 0;
}

.content-view {
position: relative;
background: #ffffff;
border: 1px solid #eadde1;
border-radius: 24px;
padding: 42px 44px;
box-shadow: 0 12px 30px rgba(143, 47, 74, 0.055);
font-size: 17px;
line-height: 1.82;
color: #372b2f;
word-break: keep-all;
overflow-wrap: break-word;
}

.content-view::before {
content: "";
position: absolute;
left: 28px;
right: 28px;
top: 0;
height: 5px;
border-radius: 0 0 999px 999px;
background: #8f2f4a;
}

.content-view h2 {
position: relative;
margin: 48px 0 20px;
padding: 0 0 17px;
border-bottom: 1px solid #eadde1;
font-size: 27px;
line-height: 1.36;
font-weight: 900;
letter-spacing: -0.055em;
color: #24181b;
}

.content-view h2:first-child {
margin-top: 0;
}

.content-view h2::before {
content: "";
display: inline-block;
width: 10px;
height: 10px;
margin-right: 10px;
border-radius: 50%;
background: #8f2f4a;
vertical-align: 0.08em;
}

.content-view h2::after {
content: "";
position: absolute;
left: 0;
bottom: -1px;
width: 70px;
height: 3px;
border-radius: 999px;
background: #8f2f4a;
}

.content-view h3 {
position: relative;
margin: 34px 0 14px;
padding: 13px 16px 13px 18px;
border-left: 4px solid #8f2f4a;
background: #fbf7f8;
font-size: 21px;
line-height: 1.42;
font-weight: 900;
letter-spacing: -0.045em;
color: #24181b;
}

.content-view p {
margin: 0 0 17px;
}

.content-view ul {
margin: 16px 0 28px;
padding: 0;
list-style: none;
border-top: 1px solid #eadde1;
}

.content-view li {
position: relative;
margin: 0;
padding: 13px 0 13px 24px;
border-bottom: 1px solid #eadde1;
}

.content-view li::before {
content: "";
position: absolute;
left: 3px;
top: 1.24em;
width: 7px;
height: 7px;
border-radius: 50%;
background: #8f2f4a;
}

.content-view table {
width: 100%;
margin: 20px 0 30px;
border-collapse: separate;
border-spacing: 0;
border: 1px solid #eadde1;
border-radius: 18px;
overflow: hidden;
font-size: 15px;
line-height: 1.58;
background: #ffffff;
}

.content-view th {
background: #f7ebef;
font-weight: 900;
color: #73243a;
}

.content-view th,
.content-view td {
padding: 15px 16px;
border-bottom: 1px solid #eadde1;
border-right: 1px solid #eadde1;
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: #73243a;
}

.footer {
background: #ffffff;
border-top: 1px solid #eadde1;
}

.footer .inner {
min-height: 76px;
display: flex;
align-items: center;
justify-content: center;
}

.footer p {
margin: 0;
font-size: 14px;
color: #826c73;
}

@media (max-width: 980px) {
.item-list {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-view {
padding: 38px 32px;
}
}

@media (max-width: 760px) {
.header .inner {
height: 66px;
}

.burger {
display: block;
}

.menu {
position: absolute;
top: 69px;
left: 0;
right: 0;
z-index: 40;
display: none;
background: #ffffff;
border-top: 1px solid #eadde1;
border-bottom: 1px solid #eadde1;
box-shadow: 0 14px 24px rgba(143, 47, 74, 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 #eadde1;
border-radius: 999px;
background: #ffffff;
font-size: 14px;
text-align: center;
}

.menu a[aria-current="page"] {
background: #8f2f4a;
border-color: #8f2f4a;
color: #ffffff;
}

.content {
width: min(100% - 24px, 1140px);
margin: 26px auto 50px;
}

.post-header {
margin-bottom: 24px;
padding-bottom: 22px;
}

.post-title {
font-size: 29px;
}

.post-title::after {
width: 74px;
height: 3px;
margin-top: 14px;
}

.item-list {
grid-template-columns: 1fr;
gap: 15px;
}

.item-list article {
border-radius: 22px;
}

.item-list article header {
padding: 17px 18px 8px;
}

.item-list h3 {
font-size: 20px;
}

.item-visual {
padding: 10px 10px 0;
}

.item-visual img {
border-radius: 16px;
}

.item-detail {
padding: 0 18px 17px;
}

.item-detail p {
grid-template-columns: 46px 1fr;
font-size: 14px;
}

.item-action {
margin: auto 18px 18px;
padding: 13px 15px;
font-size: 14px;
}

.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: 12px 14px 12px 16px;
font-size: 19px;
}

.content-view table {
display: block;
width: 100%;
overflow-x: auto;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
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;
}

.item-list h3 {
font-size: 18px;
}

.item-detail p {
grid-template-columns: 44px 1fr;
font-size: 13.5px;
}

.content-view {
padding: 32px 18px;
}

.content-view h2 {
font-size: 21px;
}

.content-view h3 {
font-size: 18px;
}
}