/* Application Typography Specific Styles */
.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
/* 设计卡片 */
.design-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.design-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-title {
    padding: 1rem 1.25rem;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* 网格容器 - 修改为两列布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* 编辑设计 */
.editorial-layout {
    display: flex;
    flex-direction: column;
    background-color: #fdfdfd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03) inset;
    height: 100%;
}

.editorial-header {
    margin-bottom: 1rem;
    text-align: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.editorial-header h2 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: #222;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.editorial-header h3 {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
    font-style: italic;
}

.editorial-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 0.75rem;
    flex-grow: 1;
}

.editorial-image {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.editorial-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-sidebar {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidebar-section {
    margin-bottom: 1rem;
}

.sidebar-section h4 {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #2c3e50;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.4rem;
}

.sidebar-section h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #3498db;
}

.sidebar-section ul {
    padding-left: 1.25rem;
}

.sidebar-section ul li {
    margin-bottom: 0.4rem;
    color: #555;
    line-height: 1.4;
    font-size: 0.9rem;
}

.sidebar-quote {
    font-style: italic;
    color: #555;
    padding: 0.75rem 1rem;
    border-left: 3px solid #3498db;
    background-color: #f0f7ff;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.editorial-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    color: #7f8c8d;
    font-size: 0.8rem;
    padding: 0.75rem;
    border-top: 1px solid #f0f0f0;
}

/* 营销材料设计 */
.marketing-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #fdfdfd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03) inset;
    height: 100%;
}

.marketing-image {
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.marketing-image svg {
    width: 100%;
    height: 100%;
}

.marketing-content {
    padding: 0.75rem 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.marketing-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #2c3e50;
    font-family: 'Montserrat', sans-serif;
}

.marketing-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 0.75rem;
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.5px;
}

.marketing-description {
    font-size: 0.9rem;
    color: #505050;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.marketing-cta {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
    font-size: 0.9rem;
    align-self: flex-start;
    margin-top: auto;
}

.marketing-cta:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
}

/* 产品设计 */
.product-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #fdfdfd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03) inset;
    height: 100%;
}

.product-image {
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.product-image svg {
    width: 100%;
    height: 100%;
}

.product-info {
    padding: 0.75rem 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.3rem;
    font-family: 'Montserrat', sans-serif;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 0.75rem;
    font-family: 'Nunito', sans-serif;
}

.product-description {
    font-size: 0.9rem;
    color: #505050;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-features {
    margin-bottom: 1rem;
}

.product-features h4 {
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.product-features ul {
    padding-left: 1.25rem;
}

.product-features ul li {
    margin-bottom: 0.4rem;
    color: #505050;
    line-height: 1.4;
    font-size: 0.85rem;
}

.product-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #2ecc71;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.3);
    text-align: center;
    font-size: 0.9rem;
    align-self: flex-start;
    margin-top: auto;
}

.product-button:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(46, 204, 113, 0.4);
}

/* 教育内容设计 */
.edu-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #fdfdfd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03) inset;
    height: 100%;
}

.edu-image {
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.edu-image svg {
    width: 100%;
    height: 100%;
}

.edu-content {
    padding: 0.75rem 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.edu-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.3rem;
    font-family: 'Montserrat', sans-serif;
}

.edu-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    color: #3498db;
    margin-bottom: 0.75rem;
    font-family: 'Nunito', sans-serif;
    font-style: italic;
}

.edu-text {
    font-size: 0.9rem;
    color: #505050;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.edu-list {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-top: auto;
}

.edu-list h4 {
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.edu-list ol {
    padding-left: 1.25rem;
}

.edu-list ol li {
    margin-bottom: 0.4rem;
    color: #505050;
    line-height: 1.4;
    font-size: 0.85rem;
}

/* 故事叙述设计 */
.story-container {
    display: flex;
    flex-direction: column;
    background-color: #fdfdfd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03) inset;
    height: 100%;
}

.story-header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.story-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.3rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.story-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    color: #7f8c8d;
    font-style: italic;
    font-family: 'Nunito', sans-serif;
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 0.75rem;
    flex-grow: 1;
}

.story-image {
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.story-image svg {
    width: 100%;
    height: 100%;
}

.story-text {
    padding: 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.story-text p {
    font-size: 0.9rem;
    color: #505050;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    font-family: 'Nunito', sans-serif;
}

.story-quote {
    font-style: italic;
    color: #555;
    padding: 0.75rem 1rem;
    border-left: 3px solid #e74c3c;
    background-color: #fdf2f2;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.75rem 0;
}

.story-author {
    text-align: right;
    font-size: 0.8rem;
    color: #7f8c8d;
    font-style: italic;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
}

/* 社交媒体设计 */
.social-container {
    display: flex;
    flex-direction: column;
    background-color: #fdfdfd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03) inset;
    padding: 0.75rem;
    height: 100%;
}

.social-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.social-profile {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0.6rem;
    border: 2px solid #3498db;
}

.social-profile svg {
    width: 100%;
    height: 100%;
}

.social-info {
    flex-grow: 1;
}

.social-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.1rem;
    font-size: 0.9rem;
}

.social-handle {
    color: #7f8c8d;
    font-size: 0.8rem;
}

.social-post-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.social-post-image svg {
    width: 100%;
    display: block;
}

.social-caption {
    font-size: 0.85rem;
    color: #505050;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.social-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.social-tag {
    color: #3498db;
    font-size: 0.8rem;
}

.social-actions {
    display: flex;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.social-action {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #7f8c8d;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.social-action:hover, .social-action.active {
    color: #3498db;
}

.social-likes {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 0.4rem;
}

/* 响应式设计调整 */
@media (min-width: 992px) {
    .card-title {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .card-content {
        padding: 1.8rem;
    }

    .editorial-header h2 {
        font-size: 1.6rem;
    }

    .editorial-image, .marketing-image, .product-image,
    .edu-image, .story-image {
        height: 220px;
    }

    .marketing-title, .product-name, .edu-title, .story-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .editorial-main {
        flex-direction: column;
    }

    .marketing-container, .product-container, .edu-container {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .design-card {
        margin-bottom: 2rem;
    }
    .page-title {
        font-size: 1.8rem;
    }
    .card-content {
        padding: 1.2rem;
    }

    .editorial-main, .marketing-container, .product-container,
    .edu-container, .story-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .design-card {
        margin-bottom: 1.5rem;
    }

    .card-title {
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }

    .card-content {
        padding: 1rem;
    }

    .editorial-image, .marketing-image, .product-image,
    .edu-image, .story-image {
        height: 160px;
    }

    .marketing-title, .product-name, .edu-title, .story-title {
        font-size: 1.2rem;
    }
}
