@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@500;600;700&family=Noto+Sans+KR:wght@400;500;600;700&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
    color: #171717;
    background: #fff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
}

.header.scrolled {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo-icon {
    width: 30px;
    height: 30px;
    background: #171717;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo-icon svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.header-logo-text {
    font-size: 16px;
    font-weight: 700;
    color: #171717;
    letter-spacing: -0.02em;
}

.header-logo-text span {
    color: #db2777;
    font-weight: 800;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.header-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #525252;
    padding: 8px 12px;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
    color: #db2777;
    background: #fdf2f8;
}

.header-search {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 999px;
    transition: background 0.2s;
    color: #737373;
}

.header-search:hover {
    background: #f5f5f5;
    color: #171717;
}

.header-search svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-btn {
    display: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    color: #404040;
}

.mobile-menu-btn svg {
    width: 22px;
    height: 22px;
}

.mf-hero {
    padding: 48px 0 32px;
    border-bottom: 1px solid #f0f0f0;
}

.mf-hero-inner {
    max-width: 680px;
}

.mf-hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #db2777;
    margin-bottom: 12px;
}

.mf-hero-title {
    font-family: "Noto Serif KR", Georgia, serif;
    font-size: clamp(28px, 4.2vw, 42px);
    font-weight: 700;
    color: #171717;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.mf-hero-desc {
    font-size: 17px;
    color: #525252;
    line-height: 1.7;
}

.mf-section {
    padding: 40px 0 72px;
}

.mf-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid #171717;
}

.mf-section-title {
    font-family: "Noto Serif KR", Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #171717;
}

.mf-section-more {
    font-size: 14px;
    font-weight: 500;
    color: #db2777;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mf-section-more:hover {
    text-decoration: underline;
}

.mf-section-more svg {
    width: 16px;
    height: 16px;
}

.feed-list {
    display: flex;
    flex-direction: column;
}

.feed-item {
    border-bottom: 1px solid #f0f0f0;
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-item__link {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0;
    transition: opacity 0.2s;
}

.feed-item__link:hover .feed-item__title {
    color: #db2777;
}

.feed-item__main {
    flex: 1;
    min-width: 0;
    order: 1;
}

.feed-item__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #737373;
    margin-bottom: 8px;
}

.feed-item__author {
    font-weight: 600;
    color: #404040;
}

.feed-item__dot {
    opacity: 0.5;
}

.feed-item__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #db2777;
    margin-bottom: 10px;
}

.feed-item__title {
    font-family: "Noto Serif KR", Georgia, serif;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    color: #171717;
    line-height: 1.35;
    margin-bottom: 8px;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-item__excerpt {
    font-size: 15px;
    color: #737373;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.feed-item__foot {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #a3a3a3;
}

.feed-item__thumb {
    flex-shrink: 0;
    width: 160px;
    height: 106px;
    border-radius: 4px;
    overflow: hidden;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    order: 2;
    position: relative;
}

.feed-item__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    pointer-events: none;
}

.feed-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.feed-item__thumb::after {
    z-index: 1;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
    padding: 40px 0 80px;
}

.blog-hero-compact {
    padding: 36px 0 0;
}

.blog-hero-compact .mf-hero-inner {
    max-width: none;
}

.blog-hero-compact .mf-hero-title {
    font-size: clamp(26px, 3.5vw, 34px);
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.blog-filter-btn {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #525252;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    color: #fff;
    background: #db2777;
    border-color: #db2777;
}

.blog-main .feed-item__thumb {
    width: 152px;
    height: 101px;
}

.blog-aside {
    position: sticky;
    top: 80px;
}

.aside-block {
    padding: 20px 0 28px;
    border-bottom: 1px solid #f0f0f0;
}

.aside-block:first-child {
    padding-top: 0;
}

.aside-block:last-child {
    border-bottom: none;
}

.aside-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #171717;
    margin-bottom: 14px;
}

.aside-about {
    font-size: 14px;
    color: #525252;
    line-height: 1.65;
    margin-bottom: 14px;
}

.aside-link {
    font-size: 14px;
    font-weight: 600;
    color: #db2777;
}

.aside-link:hover {
    text-decoration: underline;
}

.aside-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aside-list a {
    font-size: 14px;
    color: #404040;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aside-list a:hover {
    color: #db2777;
}

.aside-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aside-tag {
    font-size: 12px;
    font-weight: 500;
    color: #525252;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    padding: 6px 10px;
    border-radius: 999px;
    transition: border-color 0.2s, color 0.2s;
}

.aside-tag:hover {
    border-color: #fbcfe8;
    color: #db2777;
}

.footer {
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    padding: 48px 0 28px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 28px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand-name {
    font-size: 15px;
    font-weight: 700;
    color: #171717;
    margin-bottom: 8px;
}

.footer-brand-desc {
    font-size: 13px;
    color: #737373;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    color: #171717;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    font-size: 13px;
    color: #737373;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: #db2777;
}

.footer-bottom {
    border-top: 1px solid #ececec;
    padding-top: 18px;
    font-size: 12px;
    color: #a3a3a3;
    text-align: center;
}

.page-content {
    padding: 48px 0 80px;
    min-height: 60vh;
}

.page-content h1 {
    font-family: "Noto Serif KR", Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: #171717;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid #171717;
}

.page-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: #171717;
    margin: 28px 0 10px;
}

.page-content p {
    font-size: 15px;
    color: #404040;
    line-height: 1.85;
    margin-bottom: 14px;
}

.page-content ul {
    margin: 8px 0 16px 20px;
    list-style: disc;
}

.page-content ul li {
    font-size: 15px;
    color: #404040;
    line-height: 1.85;
    margin-bottom: 4px;
}

.about-lead {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-lead p {
    font-size: 17px;
    color: #404040;
    line-height: 1.85;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.value-card {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 22px;
    background: #fff;
    transition: box-shadow 0.25s, border-color 0.25s;
}

.value-card:hover {
    border-color: #fce7f3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.value-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fdf2f8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.value-card__icon svg {
    width: 22px;
    height: 22px;
    color: #db2777;
}

.value-card__tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #db2777;
    margin-bottom: 8px;
}

.value-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #171717;
    margin-bottom: 8px;
}

.value-card__desc {
    font-size: 14px;
    color: #737373;
    line-height: 1.65;
}

.about-cta {
    margin-top: 48px;
    padding: 36px 28px;
    text-align: center;
    background: linear-gradient(180deg, #fdf2f8 0%, #fff 100%);
    border: 1px solid #fce7f3;
    border-radius: 12px;
}

.about-cta p {
    font-size: 16px;
    color: #404040;
    margin-bottom: 16px;
}

.about-cta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #db2777;
}

.about-cta a:hover {
    text-decoration: underline;
}

.mf-post-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.mf-post-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #db2777;
    margin-bottom: 12px;
}

.mf-post-title {
    font-family: "Noto Serif KR", Georgia, serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #171717;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.mf-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    font-size: 14px;
    color: #737373;
    margin-bottom: 28px;
}

.mf-post-meta time {
    color: #a3a3a3;
}

.mf-post-figure {
    margin: 0 0 32px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.mf-post-figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.mf-post-body h2 {
    font-family: "Noto Serif KR", Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #171717;
    margin: 36px 0 14px;
    line-height: 1.35;
}

.mf-post-body p {
    font-size: 17px;
    color: #404040;
    line-height: 1.85;
    margin-bottom: 18px;
}

.mf-post-body ul {
    margin: 0 0 20px 22px;
    list-style: disc;
}

.mf-post-body li {
    font-size: 17px;
    color: #404040;
    line-height: 1.75;
    margin-bottom: 8px;
}

.mf-post-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #db2777;
    margin-bottom: 28px;
}

.mf-post-back:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 24px;
    }

    .blog-aside {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 24px;
    }

    .aside-block {
        border-bottom: none;
        padding-bottom: 16px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #f0f0f0;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px 16px;
        gap: 4px;
    }

    .header-nav.active {
        display: flex;
    }

    .header-nav a {
        padding: 12px 14px;
        border-radius: 8px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header {
        position: relative;
    }

    .feed-item__link {
        flex-direction: column-reverse;
        gap: 16px;
    }

    .feed-item__thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        order: 0;
    }

    .feed-item__main {
        order: 1;
    }

    .footer-inner {
        flex-direction: column;
        gap: 28px;
    }

    .footer-links {
        gap: 32px;
    }

    .blog-aside {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .mf-hero {
        padding: 32px 0 24px;
    }

    .container {
        padding: 0 16px;
    }

    .header-inner {
        padding: 0 16px;
    }
}
