* {
box-sizing: border-box;
}

html {
margin: 0;
padding: 0;
font-size: 16px;
-webkit-text-size-adjust: 100%;
}

body {
margin: 0;
padding: 0;
background: #f9f9f9;
color: #1d2330;
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: #0f1b2d;
color: #ffffff;
}

.inner {
width: min(1180px, calc(100% - 36px));
margin: 0 auto;
}

.header .inner {
height: 82px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 34px;
}

.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: 28px;
margin: 0;
padding: 0;
list-style: none;
}

.menu li {
margin: 0;
padding: 0;
}

.menu a {
position: relative;
display: block;
padding: 9px 0;
font-size: 15px;
font-weight: 700;
letter-spacing: -0.025em;
color: rgba(255, 255, 255, 0.78);
}

.menu a::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 1px;
background: #c8a96a;
transform: scaleX(0);
transform-origin: left center;
transition: transform 0.18s ease;
}

.menu a:hover {
color: #ffffff;
}

.menu a:hover::after {
transform: scaleX(1);
}

.menu a[aria-current="page"] {
color: #ffffff;
}

.menu a[aria-current="page"]::after {
transform: scaleX(1);
}

.burger {
display: none;
width: 42px;
height: 42px;
margin: 0;
padding: 0;
border: 1px solid rgba(255, 255, 255, 0.28);
border-radius: 0;
background: transparent;
cursor: pointer;
}

.burger span {
display: block;
width: 20px;
height: 2px;
margin: 5px auto;
border-radius: 2px;
background: #ffffff;
}

.content {
width: min(1180px, calc(100% - 36px));
margin: 0 auto 70px;
}

.post {
margin: 0;
padding: 0;
}

.post-header {
position: relative;
margin: 0 0 34px;
padding: 30px 0 24px;
border-bottom: 1px solid #ded4c4;
}

.post-header::after {
content: "";
position: absolute;
left: 0;
bottom: -1px;
width: 86px;
height: 1px;
background: #0f1b2d;
}

.post-title {
margin: 0;
font-size: 34px;
line-height: 1.22;
font-weight: 850;
letter-spacing: -0.055em;
color: #111827;
}

.post-list {
margin: 0 0 52px;
padding: 0;
}

.item-list {
display: grid;
grid-template-columns: repeat(4, 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 #e3dbcf;
border-radius: 2px;
overflow: hidden;
}

.item-list article header {
order: 2;
padding: 17px 17px 8px;
}

.item-list h3 {
margin: 0;
font-size: 17px;
line-height: 1.35;
font-weight: 850;
letter-spacing: -0.04em;
color: #111827;
word-break: keep-all;
}

.item-visual {
order: 1;
display: block;
background: #e9e1d5;
overflow: hidden;
}

.item-visual img {
width: 100%;
aspect-ratio: 2 / 1;
object-fit: cover;
transition: transform 0.22s ease;
}

.item-visual:hover img {
transform: scale(1.025);
}

.item-detail {
order: 3;
padding: 0 17px 16px;
}

.item-detail p {
display: grid;
grid-template-columns: 42px 1fr;
gap: 9px;
margin: 0;
padding: 9px 0;
border-bottom: 1px solid #eee8df;
font-size: 13.5px;
line-height: 1.5;
letter-spacing: -0.025em;
}

.item-detail p:first-child {
border-top: 1px solid #eee8df;
}

.item-detail b {
font-weight: 850;
color: #a98749;
}

.item-detail span {
color: #5a5f6a;
word-break: keep-all;
}

.item-action {
order: 4;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin: auto 17px 17px;
padding: 12px 14px;
border-radius: 8px;
background: #b88a3b;
color: #ffffff;
font-size: 14px;
font-weight: 850;
letter-spacing: -0.025em;
box-shadow: 0 4px 10px rgba(184, 138, 59, 0.22);
}

.item-action::after {
content: ">";
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 15px;
font-weight: 900;
line-height: 1;
}

.item-action:hover {
background: #a1762f;
box-shadow: 0 5px 13px rgba(184, 138, 59, 0.28);
}

.post-content {
margin: 0;
padding: 0;
}

.content-view {
position: relative;
background: #ffffff;
border: 1px solid #e3dbcf;
padding: 46px 52px;
font-size: 17px;
line-height: 1.82;
color: #343a46;
word-break: keep-all;
overflow-wrap: break-word;
}

.content-view::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 6px;
background: #0f1b2d;
}

.content-view h2 {
position: relative;
margin: 50px 0 20px;
padding: 0 0 18px;
border-bottom: 1px solid #ded4c4;
font-size: 27px;
line-height: 1.36;
font-weight: 850;
letter-spacing: -0.055em;
color: #111827;
}

.content-view h2:first-child {
margin-top: 0;
}

.content-view h2::before {
content: "";
display: block;
width: 34px;
height: 2px;
margin: 0 0 15px;
background: #c8a96a;
}

.content-view h3 {
position: relative;
margin: 34px 0 14px;
padding: 0 0 0 17px;
font-size: 21px;
line-height: 1.42;
font-weight: 850;
letter-spacing: -0.045em;
color: #111827;
}

.content-view h3::before {
content: "";
position: absolute;
left: 0;
top: 0.36em;
width: 6px;
height: 1.1em;
background: #c8a96a;
}

.content-view p {
margin: 0 0 17px;
}

.content-view ul {
margin: 16px 0 28px;
padding: 0;
list-style: none;
border-top: 1px solid #e8e0d5;
}

.content-view li {
position: relative;
margin: 0;
padding: 13px 0 13px 24px;
border-bottom: 1px solid #e8e0d5;
}

.content-view li::before {
content: "";
position: absolute;
left: 4px;
top: 1.25em;
width: 6px;
height: 6px;
border-radius: 50%;
background: #c8a96a;
}

.content-view table {
width: 100%;
margin: 20px 0 30px;
border-collapse: collapse;
border-top: 2px solid #0f1b2d;
font-size: 15px;
line-height: 1.58;
background: #ffffff;
}

.content-view th {
background: #f4efe7;
font-weight: 850;
color: #111827;
}

.content-view th,
.content-view td {
padding: 15px 16px;
border-bottom: 1px solid #e3dbcf;
text-align: left;
vertical-align: top;
}

.content-view td:first-child {
font-weight: 800;
color: #a07836;
}

.content-view strong {
font-weight: 850;
color: #111827;
}

.footer {
background: #0f1b2d;
color: #ffffff;
}

.footer .inner {
min-height: 78px;
display: flex;
align-items: center;
justify-content: center;
}

.footer p {
margin: 0;
font-size: 14px;
color: rgba(255, 255, 255, 0.94);
}

@media (max-width: 1120px) {
.item-list {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}

@media (max-width: 900px) {
.item-list {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-view {
padding: 40px 34px;
}
}

@media (max-width: 760px) {
.header .inner {
height: 68px;
}

.burger {
display: block;
}

.menu {
position: absolute;
top: 68px;
left: 0;
right: 0;
z-index: 40;
display: none;
background: #0f1b2d;
border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.menu.is-open {
display: block;
}

.menu ul {
width: min(1180px, calc(100% - 28px));
margin: 0 auto;
padding: 14px 0 16px;
display: grid;
grid-template-columns: 1fr;
gap: 0;
}

.menu a {
padding: 13px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.13);
font-size: 15px;
}

.menu a::after {
display: none;
}

.menu a[aria-current="page"] {
color: #d7bc80;
}

.content {
width: min(100% - 26px, 1180px);
margin-bottom: 52px;
}

.post-header {
padding: 34px 0 30px;
margin-bottom: 26px;
}

.post-title {
font-size: 30px;
}

.item-list {
grid-template-columns: 1fr;
gap: 15px;
}

.item-list article {
display: flex;
flex-direction: column;
}

.item-list article header {
padding: 15px 15px 7px;
}

.item-list h3 {
font-size: 18px;
}

.item-visual img {
aspect-ratio: 2 / 1;
}

.item-detail {
padding: 0 15px 14px;
}

.item-detail p {
grid-template-columns: 40px 1fr;
gap: 8px;
padding: 8px 0;
font-size: 13.5px;
}

.item-action {
margin: auto 15px 15px;
padding: 11px 13px;
font-size: 13px;
}

.content-view {
padding: 36px 22px 30px;
font-size: 16px;
line-height: 1.78;
}

.content-view h2 {
margin-top: 40px;
font-size: 23px;
}

.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;
}

.post-title {
font-size: 27px;
}

.item-list article header {
padding: 14px 13px 6px;
}

.item-list h3 {
font-size: 17px;
}

.item-detail {
padding: 0 13px 13px;
}

.item-detail p {
grid-template-columns: 38px 1fr;
font-size: 13px;
}

.item-action {
margin: auto 13px 13px;
padding: 10px 12px;
}

.content-view {
padding: 34px 18px 28px;
}

.content-view h2 {
font-size: 21px;
}

.content-view h3 {
font-size: 18px;
}
}