header {
    width: 100%;
    padding: 6svh 0;
    margin-bottom: var(--gap);
    text-align: center;
    user-select: none;
}

header h1 {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 10px;
    text-indent: 10px;
    margin-bottom: 20px;
}

.hero-link {
    font-size: 18px;
    margin-bottom: 30px;
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
}

.hero-link a {
    color: var(--text-link);
    transition: color 0.3s;
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    padding: 0 12px;
    text-decoration: none;
}

.hero-link a:first-child,
.hero-link a:hover {
    color: var(--text-main);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 6px;
    text-decoration-thickness: 0.5px;
}

.hero-link a:last-child {
    border-right: none;
}

.hero-icon {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 15px;
}

.hero-icon a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    color: var(--text-main);
    box-shadow: 0 0 5px var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.hero-icon a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--glass-shadow);
}

.hero-icon svg {
    width: 24px;
    height: 24px;
    fill: rgba(0, 0, 0, 0.8);
    transition: fill 0.3s ease;
}

.hero-icon a:hover svg {
    fill: var(--text-main);
}

.blog-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
}

.blog-card {
    padding: 28px;
    transition: border 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
    border-radius: 14px;
    margin-bottom: var(--gap);
}

.blog-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.blog-date {
    font-size: 11px;
    color: var(--text-tip);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.blog-tag {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.blog-tag-item {
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--text-tip);
    background: var(--tag-bg);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.blog-excerpt {
    font-size: 13.5px;
    line-height: 1.75;
    margin-bottom: 16px;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-image {
    display: grid;
    gap: 10px;
    max-height: 180px;
    margin-bottom: 14px;
    user-select: none;
}

.blog-image.count-1 {
    grid-template-columns: 1fr;
}

.blog-image.count-2 {
    grid-template-columns: 1fr 1fr;
}

.blog-image.count-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.blog-image-wrap {
    max-height: 180px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px 1px var(--glass-shadow);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.blog-image-item {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image-item {
    transform: scale(1.03);
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-info {
    font-size: 12px;
    color: var(--text-tip);
}

.blog-read-more {
    font-size: 13px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 6px var(--glass-shadow);
    display: inline-block;
    position: relative;
    transition: background 0.3s ease, padding-right .3s ease, transform .2s ease;
    user-select: none;
}

.blog-read-more::after {
    content: "↗";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    opacity: 0;
    transition: all .3s ease;
}

.blog-card:hover .blog-read-more {
    background: rgba(255, 255, 255, 0.9);
    padding-right: 32px;
}

.blog-card:hover .blog-read-more::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

footer {
    width: 100%;
    padding: 30px 0;
    text-align: center;
    user-select: none;
}

.footer-slogan {
    display: inline-block;
    color: var(--text-main);
    width: 16em;
    white-space: nowrap;
    border-right: 2px solid transparent;
    animation: typing 10s steps(16, end) infinite, blink-caret .75s step-end infinite;
    overflow: hidden;
    margin-bottom: 5px;
}

@keyframes typing {
    0% {
        width: 0;
    }

    40% {
        width: 16em;
    }

    80% {
        width: 16em;
    }

    90% {
        width: 0;
    }

    100% {
        width: 0;
    }
}

@keyframes blink-caret {

    from,
    to {
        box-shadow: 1px 0 0 0 transparent;
    }

    50% {
        box-shadow: 1px 0 0 0;
    }
}

.footer-info {
    font-size: 13px;
    color: var(--text-tip);
}

.footer-info-me {
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    padding-right: 6px;
}

.footer-info-visitor {
    padding-left: 6px;
}

.footer-info a {
    text-decoration: none;
    color: var(--text-tip);
}

.footer-info a:hover {
    text-decoration: underline;
}