@charset "utf-8";

.post-md
{
    width: 100%;
    font-size: 16px;
    letter-spacing: 0;
}

.post-md h1,
.post-md h2,
.post-md h3,
.post-md h4,
.post-md h5,
.post-md h6
{
    color: var(--font-color-1);
    margin: 12px 0;
}
.post-md h1
{
    font-size: 2rem;
    line-height: 1.2;
    padding: 24px 0;
}
.post-md h2
{
    font-size: 1.6rem;
    line-height: 1.2;
    padding: 20px 0;
}
.post-md h3
{
    font-size: 1.4rem;
    line-height: 1.2;
    padding: 18px 0;
}
.post-md h4
{
    font-size: 1.2rem;
    line-height: 1.2;
    padding: 16px 0;
}
.post-md h5
{
    font-size: 1.15rem;
    line-height: 1.2;
    padding: 14px 0;
}
.post-md h6
{
    font-size: 1.1rem;
    line-height: 1.2;
    padding: 12px 0;
}
.post-md a
{
    color: var(--font-color-0);
    /* box-shadow: 0 1.5px 0 #de1267; */
    /* text-decoration: underline dotted; */
    transition: color ease-in-out .65s, box-shadow ease-in-out .65s;
}
.post-md a:hover
{
    color: var(--font-color-0);
    box-shadow: 0 2px 0 var(--font-color-0);
    transition: color ease-in-out .65s, box-shadow ease-in-out .65s;
}
.post-md strong
{
    font-weight: 700;
}
.post-md em
{
    font-style: italic;
}
.post-md kbd
{
    padding: 2px 4px;
    border-radius: 2px;
    background: #eee;
    border: 1px solid #ddd;
}
.post-md ol
{
    list-style: decimal;
    padding-left: 24px;
}
.post-md ul
{
    list-style: disc;
    padding-left: 24px;
}
.post-md img
{
    border-radius: 4px;
    box-sizing: border-box;
    padding: 5px 5px;
    border: 1px solid #ebebeb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    height: auto;
}

.post-md img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 图片网格容器样式 */
.post-md .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

/* 图片卡片样式 */
.post-md .image-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.post-md .image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.post-md .image-card img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: none;
    padding: 0;
    border-radius: 6px 6px 0 0;
}

/* 图片描述文字 */
.post-md .image-caption {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--font-color-1);
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .post-md .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .post-md .image-card img {
        height: 150px;
    }
}

/* 特殊布局：大图居中 */
.post-md .image-large {
    display: block;
    margin: 24px auto;
    max-width: 80%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 特殊布局：两张并排 */
.post-md .image-pair {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.post-md .image-pair .image-card {
    flex: 1;
    min-width: 200px;
}

/* 图片加载动画 */
.post-md img {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.post-md img[data-src] {
    opacity: 0;
}

/* 图片放大查看效果（点击交互预留） */
.post-md img {
    cursor: pointer;
}

.post-md .about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 40px;
    align-items: end;
    padding: 36px 0 42px;
    border-bottom: 1px solid var(--line-1);
}

.post-md .about-kicker {
    width: auto;
    display: inline-flex;
    margin: 0 0 18px;
    padding: 6px 10px;
    border: 1px solid #222;
    color: #222;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-md .about-hero h1 {
    max-width: 680px;
    margin: 0;
    padding: 0;
    font-size: 3.2rem;
    line-height: 1.05;
    letter-spacing: 0;
}

.post-md .about-lead {
    max-width: 680px;
    margin: 22px 0 0;
    color: #3b3b3b;
    font-size: 1.12rem;
    line-height: 1.9;
}

.post-md .about-hero__media {
    position: relative;
    min-height: 360px;
}

.post-md .about-hero__media img {
    position: absolute;
    display: block;
    width: 68%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border: 1px solid #191919;
    border-radius: 2px;
    box-shadow: none;
}

.post-md .about-hero__media img:first-child {
    right: 0;
    bottom: 0;
}

.post-md .about-hero__media img:last-child {
    left: 0;
    top: 0;
    width: 56%;
    filter: grayscale(1);
}

.post-md .about-hero__media img:hover {
    transform: none;
    box-shadow: none;
}

.post-md .about-section {
    margin: 40px 0;
}

.post-md .about-statement {
    max-width: 860px;
    padding-left: 22px;
    border-left: 4px solid var(--font-color-0);
}

.post-md .about-statement p {
    margin: 0;
    color: #202020;
    font-size: 1.28rem;
    line-height: 1.85;
    font-weight: 600;
}

.post-md .about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 42px 0;
    background: #202020;
    border: 1px solid #202020;
}

.post-md .about-panel {
    min-height: 190px;
    padding: 24px;
    background: #fff;
}

.post-md .about-panel__label {
    display: block;
    margin-bottom: 28px;
    color: #008575;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-md .about-panel strong {
    display: block;
    margin-bottom: 12px;
    color: #171717;
    font-size: 1.18rem;
}

.post-md .about-panel p {
    margin: 0;
    color: #555;
    line-height: 1.75;
}

.post-md .about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-md .about-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #ddd;
    color: #2d2d2d;
    font-size: 0.9rem;
}

.post-md .about-tags span:nth-child(2n) {
    border-color: #222;
}

.post-md .about-tags span:nth-child(3n) {
    color: var(--font-color-0);
}

.post-md .about-note {
    max-width: 720px;
    margin-left: auto;
    padding-top: 28px;
    border-top: 1px solid var(--line-1);
}

.post-md .about-note p {
    margin: 0;
    color: #2f2f2f;
    font-size: 1.05rem;
    line-height: 1.9;
}

@media (max-width: 820px) {
    .post-md .about-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 18px;
    }

    .post-md .about-hero h1 {
        font-size: 2.35rem;
    }

    .post-md .about-hero__media {
        min-height: 300px;
    }

    .post-md .about-grid {
        grid-template-columns: 1fr;
    }

    .post-md .about-panel {
        min-height: auto;
    }
}

@media (max-width: 520px) {
    .post-md .about-hero h1 {
        font-size: 2rem;
    }

    .post-md .about-lead,
    .post-md .about-statement p {
        font-size: 1rem;
    }

    .post-md .about-hero__media {
        min-height: 240px;
    }
}

.post-md .guestbook-hero {
    max-width: 820px;
    padding: 34px 0 36px;
    border-bottom: 1px solid var(--line-1);
}

.post-md .guestbook-kicker {
    width: auto;
    display: inline-flex;
    margin: 0 0 18px;
    padding: 6px 10px;
    border: 1px solid #222;
    color: #222;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-md .guestbook-hero h1 {
    margin: 0;
    padding: 0;
    color: #171717;
    font-size: 3rem;
    line-height: 1.08;
    letter-spacing: 0;
}

.post-md .guestbook-hero p:last-child {
    max-width: 660px;
    margin: 22px 0 0;
    color: #444;
    font-size: 1.08rem;
    line-height: 1.9;
}

.post-md .guestbook-board {
    margin: 42px 0 0;
    padding: 26px;
    border: 1px solid #202020;
    background: #fff;
}

.post-md .guestbook-board__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-1);
}

.post-md .guestbook-board__head span {
    color: #008575;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-md .guestbook-board__head strong {
    color: #171717;
    font-size: 1.1rem;
}

.post-md .guestbook-board .utterances {
    width: 100%;
    max-width: 100%;
}

.post-md .guestbook-board iframe.utterances-frame {
    width: 100%;
    height: auto;
    min-height: 520px;
    max-height: none;
    margin: 0;
}

@media (max-width: 520px) {
    .post-md .guestbook-hero h1 {
        font-size: 2rem;
    }

    .post-md .guestbook-hero p:last-child {
        font-size: 1rem;
    }

    .post-md .guestbook-board {
        padding: 18px;
    }
}
.post-md hr
{
    border: none;
    height: 1px;
    background: var(--line-1);
    margin: 24px 0;
}

.post-md p,
.post-md blockquote
{
    width: 100%;
    margin: 12px 0;
}
.post-md blockquote
{
    border-left: 2px solid var(--line-2);
    padding-left: 12px;
    word-wrap: break-word;
}

.post-md .video-container
{
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}
.post-md iframe,
.post-md .video-container iframe
{
    width: 100%;
    height: 100vh;
    max-height: 360px;
    margin: 12px 0;
}

.post-md>table
{
    width: 100%;
    text-align: left;
    border-spacing: 0;
}
.post-md>table th
{
    padding: 12px 0;
    border-bottom: 2px solid var(--line-1);
}
.post-md>table tr:nth-child(odd) td
{
    padding: 12px 0;
    border-bottom: 1px solid var(--line-1);
    background: #fafafa;
}
.post-md>table tr:nth-child(even) td
{
    padding: 12px 0;
    border-bottom: 1px solid var(--line-1);
    background: #fff;
}

.post-md code
{
    border-radius: 4px;
    background: #2b2b2b;
    padding: 2px 4px;
    color: #f8f8f2;
    font-size: 1rem;
}

.post-md .hljs-ln-numbers
{
    opacity: .5;
    padding-right: 12px;
}
