﻿/* 布局样式 */
.flower-container {
    max-width: 1200px;
    margin: 0 auto;
}

.read-more {
    color: #E96E85
}

.flower-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .flower-grid {
        grid-template-columns: 1fr 3fr;
    }
}

/* 卡片样式 */
.flower-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
    /*transition: transform 0.3s, box-shadow 0.3s;*/
}

    .flower-card:hover {
        /*transform: translateY(-5px);*/
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.flower-card-header {
    color: #343A40;
    padding: 15px 20px;
    font-weight: bold;
    border-bottom: 2px solid #fce4ec;
    background-color: transparent;
    font-size: 16px;
}

.flower-card-body {
    padding: 20px;
}

/* 分类菜单 */
.flower-category-menu ul {
    list-style: none;
}

.flower-category-menu li {
    border-bottom: 1px solid #f0f0f0;
}

    .flower-category-menu li:last-child {
        border-bottom: none;
    }

.flower-category-menu a {
    display: block;
    padding: 12px 20px;
    color: #343A40;
    font-size: 14px;
}

    .flower-category-menu a:hover {
        background-color: #f8f9fa;
    }

.flower-category-menu .active {
    background-color: #fce4ec;
    color: #E96E85;
    font-weight: bold;
}

/* 热门标签 */
.flower-hot-tags .flower-tag {
    display: inline-block;
    background-color: #fce4ec;
    color: #E96E85;
    border-radius: 20px;
    padding: 5px 15px;
    margin: 0 10px 10px 0;
    font-size: 12px;
    transition: background-color 0.3s;
}

    .flower-hot-tags .flower-tag:hover {
        background-color: #f8bbd0;
    }

/* 推荐阅读 */
.flower-recommended article {
    display: flex;
    margin-bottom: 20px;
}

.flower-recommended .icon {
    width: 50px;
    height: 50px;
    background-color: #fce4ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

    .flower-recommended .icon i {
        color: #E96E85;
        font-size: 20px;
    }

.flower-recommended h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.flower-recommended p {
    font-size: 12px;
    color: #6c757d;
}

/* 热销鲜花 */
.flower-hot-products .product {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

    .flower-hot-products .product:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.flower-hot-products .product-img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 15px;
}

    .flower-hot-products .product-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.flower-hot-products .product-info {
    flex: 1;
}

.flower-hot-products .product-name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.flower-hot-products .product-price {
    font-size: 14px;
    color: #E96E85;
    font-weight: bold;
}

/* 文章列表 */
.flower-articles .flower-article {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    /*transition: transform 0.3s, box-shadow 0.3s;*/
}

    .flower-articles .flower-article:hover {
        /*transform: translateY(-5px);*/
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.flower-article .flower-article-tag {
    display: inline-block;
    background-color: #fce4ec;
    color: #E96E85;
    border-radius: 20px;
    padding: 5px 15px;
    margin-bottom: 15px;
    font-size: 12px;
    font-weight: bold;
}

.flower-article h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333
}

.flower-article p {
    color: #6c757d;
    margin-bottom: 15px;
    font-size: 14px;
}

.flower-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6c757d;
}

    .flower-article-meta .info span {
        margin-right: 20px;
    }

    .flower-article-meta .read-more {
        font-weight: bold;
    }

/* 分页 */
.flower-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

    .flower-pagination a {
        display: inline-block;
        padding: 10px 15px;
        border: 1px solid #dee2e6;
        margin: 0 2px;
        border-radius: 5px;
        font-size: 14px;
        color:#333;
    }

        .flower-pagination a.active {
            background-color: #E96E85;
            color: white;
            border-color: #E96E85;
        }

        .flower-pagination a:hover:not(.active) {
            background-color: #f8f9fa;
        }





/* 文章详情 */
.flower-article-detail {
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .flower-article-detail .article-header {
        margin-bottom: 20px;
        text-align: center; /* 标题居中 */
    }

    .flower-article-detail .article-tag {
        display: inline-block;
        background-color: #fce4ec;
        color: #E96E85;
        border-radius: 20px;
        padding: 5px 15px;
        margin-bottom: 15px;
        font-size: 12px;
        font-weight: bold;
    }

    .flower-article-detail h1 {
        font-size: 28px;
        margin-bottom: 15px;
        color: #343A40;
    }

    .flower-article-detail .article-meta {
        display: flex;
        color: #6c757d;
        font-size: 12px;
        margin-bottom: 20px;
        justify-content: center; /* 元信息居中 */
    }

        .flower-article-detail .article-meta span {
            margin-right: 20px;
        }

    .flower-article-detail .article-content {
        line-height: 1.8;
        color: #343A40;
    }

        .flower-article-detail .article-content p {
            margin-bottom: 20px;
            font-size: 16px;
        }

        .flower-article-detail .article-content h2 {
            font-size: 22px;
            margin: 30px 0 15px;
            color: #343A40;
        }

        .flower-article-detail .article-content img {
            max-width: 100%;
            height: auto;
            border-radius: 5px;
            margin: 20px 0;
        }

        .flower-article-detail .article-content blockquote {
            background-color: #f8f9fa;
            border-left: 4px solid #E96E85;
            padding: 15px 20px;
            margin: 20px 0;
            font-style: italic;
        }

    .flower-article-detail .article-footer {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #f0f0f0;
    }

    .flower-article-detail .article-tags {
        margin-bottom: 20px;
    }

        .flower-article-detail .article-tags a {
            display: inline-block;
            background-color: #f8f9fa;
            color: #6c757d;
            border-radius: 20px;
            padding: 5px 15px;
            margin-right: 10px;
            margin-bottom: 10px;
            font-size: 12px;
            transition: background-color 0.3s;
        }

            .flower-article-detail .article-tags a:hover {
                background-color: #fce4ec;
                color: #E96E85;
            }

    .flower-article-detail .article-navigation {
        display: flex;
        justify-content: space-between;
        margin-top: 30px;
    }

        .flower-article-detail .article-navigation a {
            display: flex;
            align-items: center;
            font-size: 14px;
        }

        .flower-article-detail .article-navigation .prev i {
            margin-right: 10px;
        }

        .flower-article-detail .article-navigation .next i {
            margin-left: 10px;
        }

