/*
Theme Name: Mixedlog Calm
Template: twentytwentyfive
Version: 1.0.0
*/

:root {
    --mixed-bg: #f7f5f0;
    --mixed-paper: #fffdf8;
    --mixed-ink: #24231f;
    --mixed-muted: #6f6a61;
    --mixed-line: #ded8cc;
    --mixed-accent: #0b6f63;
    --mixed-accent-soft: #e7f2ee;
}

body {
    background: var(--mixed-bg);
    color: var(--mixed-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
}

a {
    color: var(--mixed-accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.wp-site-blocks {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.75), rgba(247,245,240,0.95) 34rem),
        var(--mixed-bg);
}

header.wp-block-template-part {
    border-bottom: 1px solid var(--mixed-line);
    background: rgba(255, 253, 248, 0.92);
}

header.wp-block-template-part > * {
    max-width: 980px;
    margin-inline: auto;
    padding-inline: 24px;
}

.wp-block-site-title a {
    font-weight: 800;
    text-decoration: none;
}

.wp-block-navigation a {
    color: var(--mixed-muted);
    font-size: 0.92rem;
    text-decoration: none;
}

.wp-block-navigation a:hover {
    color: var(--mixed-accent);
}

main {
    max-width: 820px;
    margin-inline: auto;
    padding-inline: 24px;
}

.wp-block-post-title,
.wp-block-heading {
    line-height: 1.35;
    letter-spacing: 0;
}

.wp-block-post-title a {
    color: var(--mixed-ink);
    text-decoration: none;
}

.wp-block-post-title a:hover {
    color: var(--mixed-accent);
}

body.home .wp-block-post {
    background: var(--mixed-paper);
    border: 1px solid var(--mixed-line);
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(53, 46, 36, 0.06);
}

body.home .wp-block-post + .wp-block-post {
    margin-top: 28px;
}

body.home .wp-block-post-title {
    font-size: 1.45rem;
}

body.home .wp-block-post-content {
    position: relative;
    max-height: 34rem;
    overflow: hidden;
    color: #393630;
}

body.home .wp-block-post-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5rem;
    background: linear-gradient(rgba(255,253,248,0), var(--mixed-paper));
    pointer-events: none;
}

.single .wp-block-post-content,
.page .wp-block-post-content {
    font-size: 1.05rem;
    line-height: 1.85;
}

.wp-block-post-content p {
    line-height: 1.8;
}

.wp-block-image img,
.wp-block-post-featured-image img {
    border-radius: 8px;
}

.wp-element-caption,
.wp-block-post-date {
    color: var(--mixed-muted);
    font-size: 0.86rem;
}

.wp-block-separator {
    border-color: var(--mixed-line);
}

pre,
code {
    border-radius: 6px;
    background: #efebe2;
}

.wp-block-query-pagination {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--mixed-line);
}

footer.wp-block-template-part {
    margin-top: 64px;
    border-top: 1px solid var(--mixed-line);
    color: var(--mixed-muted);
}

@media (max-width: 700px) {
    header.wp-block-template-part > *,
    main {
        padding-inline: 18px;
    }

    body.home .wp-block-post {
        padding: 20px;
    }
}

/* Mixedlog visual polish v2 */
body {
    background-color: #f3efe7;
}

.wp-site-blocks {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(250,248,242,0.50), rgba(247,245,240,0.94) 520px, #f7f5f0),
        url("assets/mixedlog-bg.png") top center / min(1600px, 145vw) auto no-repeat,
        #f7f5f0;
}

.wp-site-blocks::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 18%, rgba(255,255,255,0.72), rgba(255,255,255,0) 34rem),
        linear-gradient(90deg, rgba(247,245,240,0.72), rgba(247,245,240,0.28) 30%, rgba(247,245,240,0.28) 70%, rgba(247,245,240,0.72));
}

header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 253, 248, 0.82);
    border-bottom: 1px solid rgba(92, 84, 70, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

header.wp-block-template-part > * {
    min-height: 64px;
}

.wp-block-site-title a {
    color: #1f2d29;
    font-size: 1.02rem;
    letter-spacing: 0;
}

.wp-block-navigation__container {
    gap: 6px;
}

.wp-block-navigation .wp-block-navigation-item__content {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: #4f5a54;
    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .current-menu-ancestor > .wp-block-navigation-item__content {
    background: rgba(11, 111, 99, 0.10);
    color: #075d53;
    box-shadow: inset 0 0 0 1px rgba(11, 111, 99, 0.16);
}

body.home main {
    padding-top: 30px;
}

body.home .wp-block-post {
    background: rgba(255, 253, 248, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-color: rgba(92, 84, 70, 0.18);
    box-shadow:
        0 18px 44px rgba(45, 38, 28, 0.075),
        0 1px 0 rgba(255,255,255,0.70) inset;
}

body.home .wp-block-post:hover {
    transform: translateY(-1px);
    box-shadow:
        0 24px 54px rgba(45, 38, 28, 0.095),
        0 1px 0 rgba(255,255,255,0.75) inset;
}

body.home .wp-block-post-title a {
    background-image: linear-gradient(transparent 70%, rgba(11,111,99,0.16) 0);
    background-size: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 180ms ease, color 180ms ease;
}

body.home .wp-block-post:hover .wp-block-post-title a {
    background-size: 100% 100%;
}

@media (max-width: 760px) {
    .wp-site-blocks {
        background-size: 1100px auto;
        background-position: top center;
    }

    header.wp-block-template-part {
        position: static;
    }

    .wp-block-navigation .wp-block-navigation-item__content {
        min-height: 32px;
        padding-inline: 10px;
    }
}

/* Mixedlog visual polish v2 */
body {
    background-color: #f3efe7;
}

.wp-site-blocks {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(250,248,242,0.50), rgba(247,245,240,0.94) 520px, #f7f5f0),
        url("assets/mixedlog-bg.png") top center / min(1600px, 145vw) auto no-repeat,
        #f7f5f0;
}

.wp-site-blocks::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 18%, rgba(255,255,255,0.72), rgba(255,255,255,0) 34rem),
        linear-gradient(90deg, rgba(247,245,240,0.72), rgba(247,245,240,0.28) 30%, rgba(247,245,240,0.28) 70%, rgba(247,245,240,0.72));
}

header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 253, 248, 0.82);
    border-bottom: 1px solid rgba(92, 84, 70, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

header.wp-block-template-part > * {
    min-height: 64px;
}

.wp-block-site-title a {
    color: #1f2d29;
    font-size: 1.02rem;
    letter-spacing: 0;
}

.wp-block-navigation__container {
    gap: 6px;
}

.wp-block-navigation .wp-block-navigation-item__content {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: #4f5a54;
    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .current-menu-ancestor > .wp-block-navigation-item__content {
    background: rgba(11, 111, 99, 0.10);
    color: #075d53;
    box-shadow: inset 0 0 0 1px rgba(11, 111, 99, 0.16);
}

body.home main {
    padding-top: 30px;
}

body.home .wp-block-post {
    background: rgba(255, 253, 248, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-color: rgba(92, 84, 70, 0.18);
    box-shadow:
        0 18px 44px rgba(45, 38, 28, 0.075),
        0 1px 0 rgba(255,255,255,0.70) inset;
}

body.home .wp-block-post:hover {
    transform: translateY(-1px);
    box-shadow:
        0 24px 54px rgba(45, 38, 28, 0.095),
        0 1px 0 rgba(255,255,255,0.75) inset;
}

body.home .wp-block-post-title a {
    background-image: linear-gradient(transparent 70%, rgba(11,111,99,0.16) 0);
    background-size: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 180ms ease, color 180ms ease;
}

body.home .wp-block-post:hover .wp-block-post-title a {
    background-size: 100% 100%;
}

@media (max-width: 760px) {
    .wp-site-blocks {
        background-size: 1100px auto;
        background-position: top center;
    }

    header.wp-block-template-part {
        position: static;
    }

    .wp-block-navigation .wp-block-navigation-item__content {
        min-height: 32px;
        padding-inline: 10px;
    }
}

/* Mixedlog visual polish v2 */
body {
    background-color: #f3efe7;
}

.wp-site-blocks {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(250,248,242,0.50), rgba(247,245,240,0.94) 520px, #f7f5f0),
        url("assets/mixedlog-bg.png") top center / min(1600px, 145vw) auto no-repeat,
        #f7f5f0;
}

.wp-site-blocks::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 18%, rgba(255,255,255,0.72), rgba(255,255,255,0) 34rem),
        linear-gradient(90deg, rgba(247,245,240,0.72), rgba(247,245,240,0.28) 30%, rgba(247,245,240,0.28) 70%, rgba(247,245,240,0.72));
}

header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 253, 248, 0.82);
    border-bottom: 1px solid rgba(92, 84, 70, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

header.wp-block-template-part > * {
    min-height: 64px;
}

.wp-block-site-title a {
    color: #1f2d29;
    font-size: 1.02rem;
    letter-spacing: 0;
}

.wp-block-navigation__container {
    gap: 6px;
}

.wp-block-navigation .wp-block-navigation-item__content {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: #4f5a54;
    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .current-menu-ancestor > .wp-block-navigation-item__content {
    background: rgba(11, 111, 99, 0.10);
    color: #075d53;
    box-shadow: inset 0 0 0 1px rgba(11, 111, 99, 0.16);
}

body.home main {
    padding-top: 30px;
}

body.home .wp-block-post {
    background: rgba(255, 253, 248, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-color: rgba(92, 84, 70, 0.18);
    box-shadow:
        0 18px 44px rgba(45, 38, 28, 0.075),
        0 1px 0 rgba(255,255,255,0.70) inset;
}

body.home .wp-block-post:hover {
    transform: translateY(-1px);
    box-shadow:
        0 24px 54px rgba(45, 38, 28, 0.095),
        0 1px 0 rgba(255,255,255,0.75) inset;
}

body.home .wp-block-post-title a {
    background-image: linear-gradient(transparent 70%, rgba(11,111,99,0.16) 0);
    background-size: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 180ms ease, color 180ms ease;
}

body.home .wp-block-post:hover .wp-block-post-title a {
    background-size: 100% 100%;
}

@media (max-width: 760px) {
    .wp-site-blocks {
        background-size: 1100px auto;
        background-position: top center;
    }

    header.wp-block-template-part {
        position: static;
    }

    .wp-block-navigation .wp-block-navigation-item__content {
        min-height: 32px;
        padding-inline: 10px;
    }
}
