/* 中国风中草药网站样式 */

/* 基础重置和变量 */
:root {
    --primary-color: #1B5E20; /* 深绿色 */
    --secondary-color: #2E7D32; /* 中绿色 */
    --accent-color: #4CAF50; /* 亮绿色 */
    --text-color: #1B5E20; /* 深绿色文字 */
    --text-light: #4A4A4A; /* 浅灰 */
    --bg-color: #F1F8E9; /* 浅绿色背景 */
    --bg-light: #F9FBE7; /* 极浅绿色 */
    --border-color: #C8E6C9; /* 绿色边框 */
    --shadow: 0 2px 10px rgba(27,94,32,0.1);
    --shadow-hover: 0 4px 20px rgba(27,94,32,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-family: 'Noto Serif SC', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(27, 94, 32, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(46, 125, 50, 0.05) 0%, transparent 50%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), #2E7D32);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.brand-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: var(--transition);
}

/* 主横幅 */
.hero {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-color));
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="bamboo" patternUnits="userSpaceOnUse" width="20" height="20"><path d="M10 0v20M0 10h20" stroke="%23228B22" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23bamboo)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-search {
    max-width: 500px;
    margin: 0 auto;
}

/* 搜索表单 */
.search-form {
    display: flex;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: none;
    font-size: 1rem;
    outline: none;
    font-family: var(--font-family);
}

.search-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.search-btn:hover {
    background: #1B5E20;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-family);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #0D4E14;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* 章节样式 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* 精选草药 */
.featured {
    padding: 4rem 0;
    background: var(--bg-light);
}

.herb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.herb-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
}

.herb-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.herb-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.herb-name {
    margin-bottom: 1rem;
}

.herb-name a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
}

.herb-name a:hover {
    color: var(--secondary-color);
}

.herb-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.herb-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.herb-link:hover {
    color: var(--primary-color);
}

/* 最新草药 */
.latest {
    padding: 4rem 0;
}

.latest-list {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.latest-item {
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.latest-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.latest-icon {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--secondary-color);
}

.latest-content {
    flex: 1;
}

.latest-name {
    margin-bottom: 0.5rem;
}

.latest-name a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.latest-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

.latest-arrow {
    color: var(--accent-color);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.latest-arrow:hover {
    transform: translateX(5px);
}

/* 特色介绍 */
.features {
    padding: 4rem 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-desc {
    color: var(--text-light);
    line-height: 1.6;
}

/* 页面头部 */
.page-header {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--bg-light), white);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.separator {
    margin: 0 0.5rem;
    color: var(--text-light);
}

.current {
    color: var(--primary-color);
    font-weight: 500;
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.page-stats {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 搜索栏 */
.search-bar {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

/* 草药列表 */
.herb-list {
    padding: 3rem 0;
}

/* 分页 */
.pagination {
    padding: 2rem 0;
    background: var(--bg-light);
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pagination-btn,
.pagination-number {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-color);
    background: white;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pagination-btn:hover,
.pagination-number:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-ellipsis {
    padding: 0.5rem;
    color: var(--text-light);
}

.pagination-info {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 详情页 */
.breadcrumb-section {
    padding: 1rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.detail-main {
    padding: 3rem 0;
}

.detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.detail-content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.detail-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-light), white);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.herb-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.detail-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.detail-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.meta-label {
    font-weight: 500;
}

.detail-body {
    padding: 2rem;
}

.content-wrapper {
    line-height: 1.8;
    font-size: 1.1rem;
}

.content-wrapper p {
    margin-bottom: 1rem;
}

.detail-actions {
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    background: white;
    border: 1px solid var(--border-color);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* 侧边栏 */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.widget-title {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
}

.related-list {
    padding: 1rem;
}

.related-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.related-icon {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.related-name {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.related-name:hover {
    color: var(--primary-color);
}

.widget-footer {
    padding: 1rem;
    background: var(--bg-light);
    text-align: center;
}

.more-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.disclaimer {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* 搜索页面 */
.search-header {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--bg-light), white);
    border-bottom: 1px solid var(--border-color);
}

.search-form-section {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.search-form-main {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.search-input-main {
    flex: 1;
    padding: 1rem;
    border: none;
    font-size: 1.1rem;
    outline: none;
    font-family: var(--font-family);
}

.search-btn-main {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-btn-main:hover {
    background: #0D4E14;
}

.search-tips {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.tip-label {
    font-weight: 500;
}

.search-results {
    padding: 3rem 0;
}

.search-result-header {
    margin-bottom: 2rem;
}

.result-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.result-stats {
    color: var(--text-light);
    font-size: 0.9rem;
}

.result-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.result-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.result-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.result-name {
    margin-bottom: 0.5rem;
}

.result-name a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.result-desc {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.result-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

mark {
    background: #FFFF99;
    padding: 0 2px;
    border-radius: 2px;
}

/* 搜索状态 */
.search-error,
.no-results,
.empty-state {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.error-icon,
.no-results-icon,
.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.search-suggestions {
    margin-top: 2rem;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.search-suggestions ul {
    list-style: none;
    padding-left: 0;
}

.search-suggestions li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.search-home {
    max-width: 800px;
    margin: 0 auto;
}

.search-welcome {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.welcome-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.hot-searches {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 3rem;
}

.hot-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hot-tag {
    background: var(--bg-light);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.hot-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.search-guide {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.guide-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.guide-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guide-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.guide-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.2rem;
}

.guide-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.guide-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 404页面 */
.error-main {
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: 6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.error-subtitle {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.error-message {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.error-search {
    max-width: 400px;
    margin: 0 auto;
}

.search-label {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, var(--primary-color), #2E7D32);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .herb-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pagination-wrapper {
        flex-wrap: wrap;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .page-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-input-wrapper {
        flex-direction: column;
    }
    
    .search-btn-main {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .detail-title {
        font-size: 2rem;
    }
    
    .error-title {
        font-size: 4rem;
    }
    
    .herb-card,
    .feature-item {
        padding: 1.5rem;
    }
    
    .detail-header,
    .detail-body {
        padding: 1.5rem;
    }
}

/* 文本选择样式 */
::selection {
    background: var(--accent-color);
    color: white;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0D4E14;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.herb-card,
.feature-item,
.latest-item,
.result-item {
    animation: fadeIn 0.6s ease-out;
}

/* 工具类 */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }