.notes-page {
    min-height: 100vh;
    padding: 24px 0 36px;
    background: #f7f5f0;
}

.mobile-home-nav {
    background: #A67C52;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.mobile-home-nav .container {
    padding-left: 12px;
    padding-right: 12px;
}

.mobile-home-nav__tabs {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: min(100%, 360px);
    padding: 10px 0 8px;
}

.mobile-home-nav__tab {
    position: relative;
    flex: 1 1 25%;
    width: 25%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.62);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.24s ease, transform 0.24s ease;
}

.mobile-home-nav__tab::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f5d08a, #d59a49);
    transform: translateX(-50%);
    transition: width 0.24s ease;
}

.mobile-home-nav__tab.is-active {
    color: #ffffff;
}

.mobile-home-nav__tab.is-active::after {
    width: 24px;
}

.notes-page__container {
    max-width: 1200px;
}

.notes-page__hero {
    margin-bottom: 28px;
    padding: 0;
}

.notes-page__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding: 0;
    margin-bottom: 0;
}

.notes-page__heading {
    flex: 1;
    min-width: 0;
}

.notes-page__title {
    margin: 0;
    font-family: 'Georgia', 'Times New Roman', '宋体', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c2b28;
    line-height: 1.2;
    letter-spacing: 0;
}

.notes-page__subtitle {
    margin: 8px 0 0;
    color: #b07b43;
    font-size: 0.98rem;
    line-height: 1.7;
}

.notes-page__filters {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 14px;
    margin-bottom: 18px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.notes-page__filters::-webkit-scrollbar {
    display: none;
}

.notes-filter {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ebdfcf;
    color: #8b7456;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(44, 43, 40, 0.04);
    font-size: 0.95rem;
    font-weight: 600;
}

.notes-filter.is-active {
    background: linear-gradient(135deg, #c98535, #a77443);
    border-color: transparent;
    color: #fff;
}

.notes-page__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    align-items: stretch;
}

.note-story-card {
    width: 100%;
    background: #fff;
    border-radius: 22px;
    padding: 22px 22px 16px;
    box-shadow: 0 10px 28px rgba(44, 43, 40, 0.06);
    border: 1px solid #ebe3d6;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.note-story-card__tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-width: 44px;
    width: auto;
    max-width: 100%;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f3efe8;
    color: #8a6841;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.note-story-card__title {
    display: block;
    text-decoration: none;
    color: #2c2b28;
    font-size: 1.28rem;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 10px;
}

.note-story-card__summary {
    margin: 0 0 14px;
    color: #8b7456;
    font-size: 1rem;
    line-height: 1.8;
}

.note-story-card__link {
    display: inline-block;
    margin-bottom: 14px;
    text-decoration: none;
    color: #b97a38;
    font-size: 0.92rem;
    font-weight: 700;
}

.note-story-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding-top: 12px;
    border-top: 1px solid #f0e8dc;
    color: #9b866e;
    font-size: 0.84rem;
    margin-top: auto;
}

.note-story-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.notes-page__empty {
    grid-column: 1 / -1;
    background: #fff;
    border: 1px dashed #e6d6c0;
    border-radius: 20px;
    padding: 32px 16px;
    text-align: center;
    color: #8b7456;
}

.notes-page__pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.notes-page__pagination .pagination {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    margin: 0;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #eadfce;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(44, 43, 40, 0.06);
}

.notes-page__pagination .pagination li {
    list-style: none;
}

.notes-page__pagination .pagination li a,
.notes-page__pagination .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: #8b7456;
    background: transparent;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.22s ease;
}

.notes-page__pagination .pagination li a:hover {
    color: #a77443;
    background: #f7f1e7;
    border-color: #eadbc7;
}

.notes-page__pagination .pagination li.active span,
.notes-page__pagination .pagination li.disabled span,
.notes-page__pagination .pagination li.active a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notes-page__pagination .pagination li.active span,
.notes-page__pagination .pagination li.active a {
    color: #fff;
    background: linear-gradient(135deg, #c98535, #a77443);
    box-shadow: 0 8px 18px rgba(175, 121, 58, 0.24);
}

.notes-page__pagination .pagination li.disabled span {
    color: #c4b39d;
    background: transparent;
}

.notes-page__pagination .pagination li:first-child a,
.notes-page__pagination .pagination li:first-child span,
.notes-page__pagination .pagination li:last-child a,
.notes-page__pagination .pagination li:last-child span {
    padding: 0 18px;
}

@media (max-width: 1024px) {
    .notes-page__container {
        max-width: 900px;
    }

    .notes-page__list {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .notes-page {
        padding: 10px 0 28px;
    }

    .notes-page__container {
        max-width: 100%;
    }

    .notes-page__hero,
    .city-hero {
        display: none;
    }

    .notes-page__header {
        display: block;
    }

    .notes-page__title {
        font-size: 1.5rem;
    }

    .notes-page__subtitle {
        font-size: 0.92rem;
    }

    .notes-page__filters {
        gap: 10px;
        padding-bottom: 12px;
        margin-bottom: 16px;
    }

    .notes-filter {
        height: 34px;
        padding: 0 15px;
        font-size: 0.9rem;
    }

    .note-story-card {
        border-radius: 20px;
        padding: 16px 16px 12px;
    }

    .note-story-card__title {
        font-size: 1.14rem;
    }

    .note-story-card__summary {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .note-story-card__meta {
        font-size: 0.8rem;
    }

    .notes-page__pagination {
        margin-top: 24px;
    }

    .notes-page__pagination .pagination {
        gap: 6px;
        padding: 6px;
        max-width: 100%;
        overflow-x: auto;
    }

    .notes-page__pagination .pagination li a,
    .notes-page__pagination .pagination li span {
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
        font-size: 0.88rem;
    }

    .notes-page__pagination .pagination li:first-child a,
    .notes-page__pagination .pagination li:first-child span,
    .notes-page__pagination .pagination li:last-child a,
    .notes-page__pagination .pagination li:last-child span {
        padding: 0 14px;
    }
}
