.home-template {
    background:
        linear-gradient(180deg, #faf7f2 0%, #fdfcf9 18%, #ffffff 100%);
}

.home-template .gh-viewport {
    position: relative;
}

.home-template .gh-navigation {
    position: relative;
    top: 0;
    z-index: 20;
    max-width: none;
    margin-top: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgb(21 23 26 / 0.08);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.home-template .gh-navigation-inner {
    min-height: 56px;
    padding-inline: 0;
}

.home-template .gh-navigation-actions {
    gap: 0;
    background: transparent;
}

.home-template .gh-navigation-logo {
    font-size: 1.95rem;
}

.gh-navigation .nav {
    gap: 16px;
}

.gh-navigation .nav a {
    position: relative;
    padding-bottom: 2px;
    font-size: 1.4rem;
}

.home-template .gh-navigation .gh-icon-button {
    width: 28px;
    height: 28px;
}

.home-template .gh-navigation .gh-icon-button svg {
    width: 18px;
    height: 18px;
}

.home-template .gh-navigation-brand .gh-search {
    display: none !important;
}

.home-template .gh-navigation-actions .gh-search {
    margin: 0;
}

.gh-navigation .nav-current a::after,
.gh-navigation .nav a:hover::after {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--ghost-accent-color);
    border-radius: 999px;
}

.home-template .gh-card,
.gh-footer-bar {
    border: 1px solid rgb(21 23 26 / 0.08);
    box-shadow: 0 10px 28px rgb(25 31 35 / 0.05);
}

.gh-container {
    margin-top: 14px;
}

.gh-container-title {
    margin-bottom: 14px;
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgb(21 23 26 / 0.5);
}

.home-template .gh-feed {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-template .gh-feed > .gh-card:first-child {
    grid-column: auto;
    min-height: auto;
    background: rgb(255 255 255 / 0.9);
}

.home-template .gh-feed > .gh-card:first-child .gh-card-link {
    display: block;
    min-height: auto;
}

.home-template .gh-feed > .gh-card:first-child .gh-card-wrapper {
    justify-content: flex-start;
}

.home-template .gh-feed > .gh-card:first-child::after {
    display: none;
}

.home-template .gh-card {
    overflow: hidden;
    background: rgb(255 255 255 / 0.9);
    border-radius: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-template .gh-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgb(25 31 35 / 0.1);
}

.home-template .gh-card-link {
    height: 100%;
    padding: 18px;
}

.home-template .gh-card-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-template .gh-card-title {
    font-size: clamp(1.85rem, 0.9vw, 2.2rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
}

.home-template .gh-card-excerpt {
    margin-top: 8px;
    font-size: 1.38rem;
    line-height: 1.55;
    color: rgb(21 23 26 / 0.68);
}

.home-template .gh-card-meta {
    margin-top: auto;
    padding-top: 12px;
    font-size: 1.16rem;
    color: rgb(21 23 26 / 0.45);
    border-top: 1px solid rgb(21 23 26 / 0.08);
}

.home-template .gh-card-author {
    display: none;
}

.home-template .gh-card-author + .gh-card-date::before {
    display: none;
}

.post-template .gh-article-header {
    margin: 44px 0 28px;
}

.post-template .gh-article-title {
    font-size: clamp(3rem, 1vw + 2.6rem, 4rem);
    line-height: 1.08;
}

.post-template .gh-article-excerpt {
    max-width: 680px;
    font-size: 1.7rem;
    line-height: 1.6;
}

.ps-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    color: rgb(21 23 26 / 0.58);
    font-size: 1.25rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.ps-article-meta-item {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    background: rgb(21 23 26 / 0.04);
    border: 1px solid rgb(21 23 26 / 0.07);
    border-radius: 999px;
}

.post-template .gh-content {
    font-size: 1.7rem;
    line-height: 1.85;
}

.gh-footer {
    margin-top: 56px;
}

.gh-footer-bar {
    padding: 20px 24px;
    background: rgb(255 255 255 / 0.74);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.gh-footer-copyright {
    white-space: normal;
    color: rgb(21 23 26 / 0.58);
}

@media (max-width: 991px) {
    .ps-hero-inner,
    .home-template .gh-feed,
    .home-template .gh-feed > .gh-card:first-child .gh-card-link {
        grid-template-columns: 1fr;
    }

    .home-template .gh-feed > .gh-card:first-child::after {
        min-height: 160px;
    }
}

@media (max-width: 767px) {
    .home-template .gh-navigation {
        max-width: none;
        border-radius: 0;
    }

    .home-template .gh-navigation-inner {
        min-height: 52px;
        padding-inline: 0;
    }

    .home-template .gh-card-link,
    .gh-footer-bar {
        padding: 18px;
    }

    .home-template .gh-feed {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
