@media screen and (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .featured-section {
        flex-direction: column;
        height: auto;
    }

    .featured-main {
        height: 300px;
    }

    .featured-side {
        width: 100%;
        flex-direction: row;
    }

    .featured-headline {
        flex: 1;
    }

    .featured-list {
        flex: 1;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .widget {
        margin-bottom: 0;
    }

    .poetry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .header-inner {
        height: 55px;
    }

    .logo {
        margin-right: 15px;
    }

    .logo img {
        height: 35px;
    }

    .nav {
        display: none;
    }

    .header-search {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-wrap {
        margin-top: 55px;
    }

    .featured-section {
        flex-direction: column;
        gap: 15px;
    }

    .featured-main {
        height: 250px;
    }

    .slider-title {
        font-size: 22px;
    }

    .slider-desc {
        display: none;
    }

    .featured-side {
        flex-direction: column;
    }

    .poetry-banner {
        padding: 20px 0;
    }

    .banner-char {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .banner-text {
        justify-content: center;
    }

    .banner-slogan {
        font-size: 12px;
    }

    .poetry-section {
        padding: 15px 0;
    }

    .section-header {
        padding: 10px 15px;
        margin-bottom: 10px;
        background: linear-gradient(135deg, #faf8f5, #f5f0e8);
        border-left: 4px solid #c9a86c;
    }

    .section-icon {
        display: none;
    }

    .section-title {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .section-line {
        display: none;
    }

    .section-more-link {
        margin-left: auto;
        font-size: 12px;
        padding: 3px 10px;
    }

    .section-more {
        padding: 10px 15px;
    }

    .section-more a {
        font-size: 13px;
    }

    .poetry-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .poetry-item {
        display: flex;
        flex-direction: row;
        padding: 15px;
        border-bottom: 1px solid #f0e8dc;
        background: #fff;
    }

    .poetry-item:last-child {
        border-bottom: none;
    }

    .poetry-item .poetry-thumb {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
        margin-right: 15px;
        border-radius: 8px;
        position: relative;
    }

    .poetry-item .poetry-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

    .poetry-item .poetry-overlay {
        display: none;
    }

    .poetry-item .poetry-info {
        flex: 1;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .poetry-item .poetry-info h3 {
        font-size: 17px;
        margin-bottom: 8px;
        line-height: 1.5;
    }

    .poetry-item .poetry-info h3::before {
        content: '〖';
        color: #c9a86c;
        margin-right: 2px;
    }

    .poetry-item .poetry-info h3::after {
        content: '〗';
        color: #c9a86c;
        margin-left: 2px;
    }

    .poetry-item .poetry-info p {
        display: none;
    }

    .poetry-item .poetry-meta {
        font-size: 13px;
        gap: 10px;
    }

    .poetry-item .poetry-meta span {
        display: flex;
        align-items: center;
        gap: 3px;
    }

    .poetry-list {
        gap: 0;
        border: none;
        outline: none;
    }

    .list-section {
        border: none;
        box-shadow: none;
        padding: 0;
        background: transparent;
    }

    .list-section * {
        outline: none;
    }

    .pagination {
        border-top: none;
        padding-top: 15px;
        margin-top: 15px;
    }

    .poetry-row {
        display: flex;
        flex-direction: row;
        padding: 15px 0;
        border-bottom: 1px solid #f0e8dc;
        background: #fff;
        margin: 0 15px;
        align-items: flex-start;
    }

    .poetry-row:last-child {
        border-bottom: none;
    }

    .poetry-row .poetry-thumb {
        width: 120px;
        height: 90px;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .poetry-thumb-sm {
        display: block;
        width: 80px;
        height: 60px;
        margin-right: 12px;
    }

    .poetry-row .poetry-main {
        flex: 1;
        min-width: 0;
        display: block;
    }

    .poetry-row .poetry-main h3 {
        width: 100%;
        font-size: 17px;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .poetry-row .poetry-main h3::before {
        content: '';
        display: none;
    }

    .poetry-row .poetry-desc {
        display: none;
    }

    .poetry-row .poetry-tags {
        display: none;
    }

    .poetry-row .poetry-side {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 10px;
        margin-top: 8px;
        margin-left: 0;
        text-align: left;
    }

    .poetry-row .poetry-side .poetry-meta,
    .poetry-row .poetry-meta {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 10px;
        font-size: 13px;
        color: #999;
        text-align: left;
        margin-bottom: 0;
    }

    .poetry-row .poetry-meta span {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .poetry-row .poetry-meta i {
        display: none;
    }

    .poetry-row .meta-author::before {
        content: '👤';
        font-size: 12px;
    }

    .poetry-row .meta-time::before {
        content: '📅';
        font-size: 12px;
    }

    .poetry-row .meta-views::before {
        content: '👁';
        font-size: 12px;
    }

    .poetry-row .read-btn {
        display: none;
    }

    .poetry-row .poetry-author {
        font-size: 13px;
        color: #8b4513;
    }

    .poetry-row .poetry-views {
        display: none;
    }

    .poetry-main .poetry-side {
        margin-top: 6px;
    }

    .poetry-main .poetry-side .poetry-author {
        font-size: 11px;
    }

    .poetry-main .poetry-side .poetry-views {
        display: none;
    }

    .search-result {
        padding: 10px 15px;
        margin: 0;
    }

    .search-result .poetry-desc {
        display: none;
    }

    .search-result .poetry-side {
        flex-direction: row;
        gap: 8px;
    }

    .search-result .poetry-meta {
        font-size: 11px;
        gap: 6px;
    }

    .search-result .read-btn {
        display: none;
    }

    .poetry-cards {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .poetry-card-item {
        padding: 12px 15px;
        border-bottom: 1px solid #f0e8dc;
        border-radius: 0;
        background: #fff;
    }

    .poetry-card-item:last-child {
        border-bottom: none;
    }

    .poetry-card-item .card-header {
        margin-bottom: 0;
    }

    .poetry-card-item .card-header h3 {
        font-size: 15px;
    }

    .poetry-card-item .card-header h3::before {
        content: '【';
        color: #c9a86c;
    }

    .poetry-card-item .card-header h3::after {
        content: '】';
        color: #c9a86c;
    }

    .poetry-card-item .card-body {
        display: none;
    }

    .poetry-card-item .card-footer {
        padding-top: 8px;
        margin-top: 8px;
        border-top: 1px dashed #e8e0d5;
    }

    .poetry-card-item .card-author {
        font-size: 12px;
    }

    .poetry-text-list {
        gap: 0;
    }

    .text-item {
        padding: 10px 15px;
        border-bottom: 1px solid #f0e8dc;
        background: #fff;
    }

    .text-item:last-child {
        border-bottom: none;
    }

    .text-item .text-num {
        width: 24px;
        height: 24px;
        font-size: 12px;
        background: #f5f0e8;
        color: #8b4513;
    }

    .text-item .text-title {
        font-size: 14px;
        flex: 1;
    }

    .text-item .text-title::before {
        content: '《';
        color: #c9a86c;
    }

    .text-item .text-title::after {
        content: '》';
        color: #c9a86c;
    }

    .text-item .text-author {
        font-size: 12px;
        color: #8b4513;
    }

    .text-item .text-date {
        display: none;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .page-banner {
        height: 140px;
    }

    .banner-title {
        font-size: 28px;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .list-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .list-sort {
        width: 100%;
        justify-content: flex-start;
    }

    .article-single {
        padding: 20px 15px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-meta {
        gap: 10px;
    }

    .article-footer {
        flex-direction: column;
        gap: 15px;
    }

    .article-share {
        width: 100%;
        justify-content: center;
    }

    .article-nav {
        flex-direction: column;
        gap: 15px;
    }

    .article-nav .nav-next {
        text-align: left;
    }

    .related-list {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }

    .search-box form {
        flex-direction: column;
    }

    .search-btn-lg {
        width: 100%;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .footer-links {
        gap: 5px;
    }

    .footer-links a,
    .footer-links .divider {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .featured-main {
        height: 200px;
    }

    .slider-title {
        font-size: 16px;
    }

    .slider-badge {
        font-size: 11px;
        padding: 3px 10px;
    }

    .slider-overlay {
        padding: 50px 15px 15px;
    }

    .featured-headline {
        padding: 12px;
    }

    .headline-content h4 {
        font-size: 14px;
    }

    .featured-list {
        padding: 10px;
    }

    .featured-item {
        padding: 8px 0;
    }

    .item-title {
        font-size: 12px;
    }

    .poetry-banner {
        padding: 12px 0;
    }

    .banner-char {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .banner-text {
        gap: 8px;
        justify-content: center;
    }

    .banner-slogan {
        font-size: 10px;
    }

    .section-title {
        font-size: 15px;
    }

    .poetry-item .poetry-thumb {
        width: 70px;
        height: 70px;
    }

    .poetry-item .poetry-info h3 {
        font-size: 14px;
    }

    .poetry-thumb-sm {
        width: 45px;
        height: 45px;
    }

    .poetry-row .poetry-thumb {
        width: 80px;
        height: 60px;
    }

    .poetry-row .poetry-main h3 {
        font-size: 14px;
    }

    .poetry-row .poetry-meta {
        font-size: 10px;
        gap: 6px;
    }

    .poetry-card-item .card-header h3 {
        font-size: 14px;
    }

    .text-item .text-num {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .text-item .text-title {
        font-size: 13px;
    }

    .widget-body {
        padding: 10px 12px;
    }

    .tag-cloud a {
        font-size: 11px;
        padding: 3px 8px;
    }

    .hot-item a {
        font-size: 12px;
    }

    .page-banner {
        height: 100px;
    }

    .banner-title {
        font-size: 22px;
    }

    .article-title {
        font-size: 20px;
    }

    .article-meta {
        font-size: 11px;
    }

    .poetry-content {
        font-size: 16px;
    }

    .pagination a,
    .pagination span {
        min-width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .back-to-top {
        width: 36px;
        height: 36px;
        right: 10px;
        bottom: 50px;
    }
}

@media screen and (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .section-title {
        font-size: 14px;
    }

    .poetry-item .poetry-thumb {
        width: 60px;
        height: 60px;
    }

    .poetry-item .poetry-info h3 {
        font-size: 13px;
    }

    .poetry-thumb-sm {
        width: 40px;
        height: 40px;
    }

    .poetry-row .poetry-thumb {
        width: 70px;
        height: 55px;
    }

    .poetry-row .poetry-main h3 {
        font-size: 13px;
    }

    .poetry-row .poetry-meta {
        font-size: 9px;
        gap: 5px;
    }

    .poetry-card-item .card-header h3 {
        font-size: 13px;
    }

    .text-item .text-num {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .text-item .text-title {
        font-size: 12px;
    }

    .text-item .text-author {
        font-size: 11px;
    }
}
