/*  
Theme Name: HHY-002 上海后花园论坛
Theme URI: http://www.hhywp.com
Description: 上海后花园论坛主题模板 - 2026百度霸屏版
Version: 1.0
Author: HHYWP
Author URI: http://www.hhywp.com
*/

:root {
    --primary-orange: #ff7a22;
    --primary-red: #ee5a5a;
    --primary-teal: #4ecdc4;
    --primary-purple: #a855f7;
    --primary-blue: #3b82f6;
    --primary-amber: #f59e0b;
    --bg-gray: #f8f9fa;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-gray);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: white;
    box-shadow: var(--shadow-sm);
}

.header-top {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff6b11 100%);
    padding: 8px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    gap: 16px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
}

.top-right {
    display: flex;
    gap: 20px;
}

.top-link {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.top-link:hover {
    color: white;
}

.header-main {
    padding: 12px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    flex-shrink: 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-secondary);
}

.main-nav {
    flex: 1;
    margin: 0 40px;
}

.nav-items {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.2s;
    position: relative;
}

.nav-link:hover {
    background: rgba(255,122,34,0.08);
    color: var(--primary-orange);
}

.nav-link.active {
    background: var(--primary-orange);
    color: white;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 8px 0;
    margin: 8px 0 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(255,122,34,0.08);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.search-box-wrap {
    display: flex;
    align-items: center;
    background: var(--bg-gray);
    border-radius: 20px;
    padding: 4px 4px 4px 16px;
}

.search-box {
    width: 200px;
    height: 36px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.search-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--primary-orange);
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-btn:hover {
    background: #ff6b11;
    transform: scale(1.05);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--bg-gray);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: rgba(59,130,246,0.1);
}

.btn {
    padding: 9px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.btn-primary:hover {
    background: #ff6b11;
    box-shadow: 0 4px 12px rgba(255,122,34,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-gray);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.header-stats {
    background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, rgba(168,85,247,0.05) 100%);
    padding: 14px 0;
    border-top: 1px solid var(--border-color);
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.hero-banner {
    background: linear-gradient(135deg, #ff8c33 0%, #ff6b11 50%, var(--primary-red) 100%);
    border-radius: var(--radius-xl);
    padding: 50px 60px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: white;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-size: 42px;
    color: white;
    margin-bottom: 12px;
    font-weight: 700;
}

.hero-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

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

.stat-item span:first-child {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.stat-item span:last-child {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.3);
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-primary {
    background: white;
    color: var(--primary-orange);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: rgba(255,255,255,0.95);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-xs {
    padding: 6px 16px;
    font-size: 12px;
}

.hero-visual {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
}

.visual-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
}

.ring1 {
    width: 300px;
    height: 300px;
    right: 50px;
    top: 50px;
}

.ring2 {
    width: 220px;
    height: 220px;
    right: 100px;
    top: 100px;
}

.ring3 {
    width: 140px;
    height: 140px;
    right: 140px;
    top: 140px;
}

.section-card {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.section-card:hover {
    box-shadow: var(--shadow-md);
}

.section-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
}

.section-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.section-info h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.section-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.section-more {
    margin-left: auto;
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.section-body {
    padding: 20px 24px;
}

.food-section .section-icon-wrap {
    background: linear-gradient(135deg, rgba(238,90,90,0.1), rgba(238,90,90,0.05));
    color: var(--primary-red);
}

.food-section .section-info h2 {
    color: var(--primary-red);
}

.featured-card {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(238,90,90,0.05), white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-red);
}

.featured-media {
    width: 300px;
    height: 320px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-red);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.featured-content {
    flex: 1;
}

.featured-content h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.featured-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.featured-content h3 a:hover {
    color: var(--primary-red);
}

.featured-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.featured-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.mini-card {
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s;
}

.mini-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.mini-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.mini-card .card-body {
    padding: 14px;
}

.mini-card h4 {
    font-size: 14px;
    margin-bottom: 8px;
}

.mini-card h4 a {
    color: var(--text-primary);
    text-decoration: none;
}

.mini-card .tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(238,90,90,0.1);
    color: var(--primary-red);
    border-radius: 10px;
    font-size: 12px;
}

.category-bar {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cat-tag {
    padding: 9px 20px;
    background: var(--bg-gray);
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.cat-tag:hover,
.cat-tag.active {
    background: var(--primary-red);
    color: white;
}

.rent-section .section-icon-wrap {
    background: linear-gradient(135deg, rgba(78,205,196,0.15), rgba(78,205,196,0.08));
    color: var(--primary-teal);
    padding: 12px;
}

.rent-section .section-info h2 {
    color: var(--primary-teal);
    font-size: 22px;
    font-weight: 600;
}

.rent-section .section-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding: 16px 20px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
}

.filter-group {
    display: flex;
    gap: 10px;
}

.filter-tag {
    padding: 10px 22px;
    background: white;
    border-radius: 22px;
    text-decoration: none;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s;
    font-weight: 500;
    border: 1px solid transparent;
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--primary-teal);
    color: white;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.price-filter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-filter span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-filter a {
    padding: 8px 16px;
    background: white;
    border-radius: 18px;
    text-decoration: none;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.price-filter a:hover {
    background: var(--primary-teal);
    color: white;
}

.price-filter {
    font-size: 14px;
    color: var(--text-secondary);
}

.price-filter a {
    margin-left: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.price-filter a:hover {
    color: var(--primary-teal);
}

.rent-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.rent-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.rent-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(78, 205, 196, 0.3);
}

.rent-card .card-image {
    position: relative;
    height: 180px;
}

.rent-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    background: var(--primary-teal);
    color: white;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
}

.rent-card .update-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-teal);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.rent-card .card-info {
    padding: 20px;
}

.rent-card .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.rent-card .price span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.rent-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.rent-card h4 a {
    color: var(--text-primary);
    text-decoration: none;
}

.rent-card h4 a:hover {
    color: var(--primary-teal);
}

.rent-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rent-card .features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.rent-card .features span {
    padding: 5px 12px;
    background: rgba(78, 205, 196, 0.08);
    color: var(--primary-teal);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.rent-card .risk-tips {
    padding: 10px 12px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.rent-card .risk-tips strong {
    color: #f59e0b;
}

.rent-card .author-box {
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

.market-report {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.08), rgba(78, 205, 196, 0.02));
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(78, 205, 196, 0.15);
}

.market-report .report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.market-report .report-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.market-report .report-link {
    font-size: 13px;
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 500;
}

.market-report .report-link:hover {
    text-decoration: underline;
}

.report-data {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.report-data .data-item {
    text-align: center;
    padding: 14px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
}

.report-data .data-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.report-data .data-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.report-data .data-change {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
}

.report-data .data-change:contains("↓") {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.report-data .data-change:contains("↑") {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.report-data .data-change:contains("持平") {
    color: var(--text-secondary);
    background: var(--bg-gray);
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(78, 205, 196, 0.03));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(78, 205, 196, 0.15);
}

.stat-box {
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
}

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 6px;
}

.stat-text {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.event-section .section-icon-wrap {
    background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(168,85,247,0.08));
    color: var(--primary-purple);
    padding: 12px;
}

.event-section .section-info h2 {
    color: var(--primary-purple);
    font-size: 22px;
    font-weight: 600;
}

.event-section .section-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.event-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-bottom: 24px;
}

.mini-calendar {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid rgba(168,85,247,0.15);
    box-shadow: var(--shadow-sm);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.calendar-nav {
    width: 34px;
    height: 34px;
    background: rgba(168,85,247,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.calendar-nav:hover {
    background: var(--primary-purple);
    color: white;
    transform: scale(1.1);
}

.calendar-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 12px;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 4px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 16px;
}

.calendar-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    flex-direction: column;
    gap: 2px;
}

.calendar-cell:hover {
    background: rgba(168,85,247,0.08);
}

.calendar-cell.empty {
    background: transparent;
    cursor: default;
}

.calendar-cell.empty:hover {
    background: transparent;
}

.calendar-cell.today {
    background: var(--primary-purple);
    color: white;
    font-weight: 600;
}

.calendar-cell.today:hover {
    background: var(--primary-purple);
}

.calendar-cell.active {
    background: rgba(168,85,247,0.12);
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    font-weight: 600;
}

.calendar-cell.active:hover {
    background: rgba(168,85,247,0.15);
}

.event-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
}

.calendar-cell.today .event-dot {
    background: rgba(255,255,255,0.8);
}

.calendar-cell.active .event-dot {
    background: #22c55e;
}

.calendar-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 11px;
    color: var(--text-secondary);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.legend-dot.today {
    background: var(--primary-purple);
}

.legend-dot.active {
    border: 2px solid var(--primary-purple);
    background: rgba(168,85,247,0.12);
}

.event-highlight {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.event-highlight img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.highlight-info {
    padding: 20px;
}

.highlight-info .badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-purple), #9333ea);
    color: white;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(168,85,247,0.3);
}

.highlight-info .update-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(168,85,247,0.08);
    color: var(--primary-purple);
    border-radius: 12px;
    font-size: 11px;
    margin-left: 8px;
}

.highlight-info h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.highlight-info h4 a {
    color: var(--text-primary);
    text-decoration: none;
}

.highlight-info h4 a:hover {
    color: var(--primary-purple);
}

.highlight-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
}

.highlight-info .risk-tips {
    padding: 12px 14px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 12px;
    color: var(--text-secondary);
}

.highlight-info .risk-tips strong {
    color: #f59e0b;
}

.highlight-info .author-box {
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.event-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: white;
    border-radius: var(--radius-md);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
}

.event-item:hover {
    border-color: rgba(168,85,247,0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.event-date {
    text-align: center;
    width: 56px;
    flex-shrink: 0;
    padding: 12px;
    background: linear-gradient(135deg, rgba(168,85,247,0.08), rgba(168,85,247,0.02));
    border-radius: var(--radius-md);
}

.event-date .date {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-purple);
}

.event-date .week {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.event-content {
    flex: 1;
}

.event-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.event-content h4 a {
    color: var(--text-primary);
    text-decoration: none;
}

.event-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.event-tag {
    padding: 3px 10px;
    background: rgba(168,85,247,0.1);
    color: var(--primary-purple);
    border-radius: 10px;
    font-size: 12px;
}

.event-tag.free {
    background: rgba(34,197,94,0.1);
    color: #22c55e;
}

.qa-section .section-icon-wrap {
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.08));
    color: var(--primary-blue);
    padding: 12px;
}

.qa-section .section-info h2 {
    color: var(--primary-blue);
    font-size: 22px;
    font-weight: 600;
}

.qa-section .section-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.qa-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
}

.qa-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.qa-tabs .tab:hover {
    border-color: rgba(59,130,246,0.2);
}

.qa-tabs .tab.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

.qa-featured {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.qa-featured::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-blue), #3b82f680);
}

.vote-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 44px;
    flex-shrink: 0;
    padding: 8px 4px;
    background: rgba(59,130,246,0.05);
    border-radius: var(--radius-sm);
}

.vote-up,
.vote-down {
    font-size: 16px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    padding: 4px;
}

.vote-up:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.vote-down:hover {
    color: #ef4444;
    transform: translateY(2px);
}

.vote-count {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 6px 0;
}

.qa-content {
    flex: 1;
}

.qa-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-blue), #2563eb);
    color: white;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}

.qa-tag-help {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 8px;
}

.qa-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.qa-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.qa-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.material-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.material-list span {
    font-size: 13px;
    color: var(--text-secondary);
}

.material-list span:first-child {
    color: var(--primary-blue);
    font-weight: 500;
}

.qa-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

.qa-meta span:first-child {
    color: #22c55e;
    font-weight: 500;
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.qa-card {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: white;
    border-radius: var(--radius-md);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
}

.qa-card:hover {
    border-color: rgba(59,130,246,0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.qa-tag.discuss {
    background: rgba(251, 191, 36, 0.08);
    color: #f59e0b;
}

.faq-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.faq-section > div {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.faq-section > div:last-child {
    border-bottom: none;
}

.faq-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-section p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.vote-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40px;
}

.vote-mini span {
    font-size: 14px;
    color: var(--text-secondary);
}

.vote-mini span:nth-child(2) {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 2px 0;
}

.qa-body h4 {
    font-size: 14px;
    margin-bottom: 6px;
}

.qa-body h4 a {
    color: var(--text-primary);
    text-decoration: none;
}

.qa-body p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.qa-tag {
    font-size: 12px;
    color: #22c55e;
    font-weight: 500;
}

.qa-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    padding: 7px 16px;
    background: rgba(59,130,246,0.08);
    color: var(--primary-blue);
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.tag-item:hover {
    background: var(--primary-blue);
    color: white;
}

.news-section .section-icon-wrap {
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(245,158,11,0.05));
    color: var(--primary-amber);
}

.news-section .section-info h2 {
    color: var(--primary-amber);
}

.news-featured {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}

.news-image {
    width: 380px;
    height: 180px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    background: var(--primary-amber);
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.news-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.news-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.news-meta span:first-child {
    color: var(--primary-amber);
    font-weight: 500;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.news-card {
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.news-card img {
    width: 100%;
    height: 90px;
    object-fit: cover;
}

.news-card h4 {
    padding: 12px;
    font-size: 14px;
    margin-bottom: 4px;
}

.news-card h4 a {
    color: var(--text-primary);
    text-decoration: none;
}

.news-card span {
    padding: 0 12px 12px;
    font-size: 12px;
    color: var(--text-secondary);
}

.news-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.news-tabs .tab {
    padding: 9px 22px;
    background: var(--bg-gray);
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.news-tabs .tab:hover,
.news-tabs .tab.active {
    background: var(--primary-amber);
    color: white;
}

.region-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.nav-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 8px;
}

.region-tag {
    padding: 9px 20px;
    background: var(--bg-gray);
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.region-tag:hover {
    background: var(--primary-orange);
    color: white;
}

.link-box {
    background: white;
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.link-box h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.link-box .links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.link-box .links a {
    padding: 7px 14px;
    background: var(--bg-gray);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.link-box .links a:hover {
    background: var(--primary-orange);
    color: white;
}

.trust-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.15);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    backdrop-filter: blur(10px);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.breadcrumb-nav a {
    color: var(--primary-orange);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.trust-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,122,34,0.05), rgba(255,107,17,0.03));
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,122,34,0.1);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.trust-icon {
    font-size: 28px;
}

.trust-text {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 1200px) {
    .breadcrumb-nav {
        margin-bottom: 15px;
    }
    
    .trust-section {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .trust-item {
        width: calc(33.33% - 12px);
    }
}

@media (max-width: 768px) {
    .trust-badges {
        flex-wrap: wrap;
    }
    
    .trust-item {
        width: calc(50% - 8px);
    }
}

.footer {
    background: linear-gradient(135deg, #2d3436 0%, #1e272e 100%);
    color: #b2bec3;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #b2bec3;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary-orange);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #4a4a4a;
    font-size: 13px;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    
    .hero-visual {
        display: none;
    }
    
    .featured-card {
        flex-direction: column;
    }
    
    .featured-media {
        width: 100%;
        height: 200px;
    }
    
    .post-grid,
    .rent-cards,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .event-header {
        flex-direction: column;
    }
    
    .news-featured {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .search-box {
        width: 180px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .post-grid,
    .rent-cards,
    .news-grid,
    .qa-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-dates {
        flex-wrap: wrap;
    }
    
    .date-item {
        width: calc(20% - 6px);
    }
    
    .stats-bar {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .stat-box {
        width: calc(50% - 8px);
    }
}

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 0.8fr;
    gap: 40px;
}

.footer-section {
    padding: 20px;
}

.about-section {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.about-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #a0a0a0;
    margin-bottom: 20px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.badge-item {
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: #4ade80;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: #b0b0b0;
}

.links-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.links-col h4 {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-col li {
    margin-bottom: 10px;
}

.links-col a {
    font-size: 14px;
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.2s;
}

.links-col a:hover {
    color: white;
}

.social-section {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
}

.social-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: #a0a0a0;
    transition: all 0.3s;
}

.social-item:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.social-icon {
    font-size: 18px;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.qr-code span {
    font-size: 12px;
    color: #a0a0a0;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #808080;
}

.separator {
    color: rgba(255,255,255,0.2);
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    font-size: 13px;
    color: #808080;
    text-decoration: none;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: #c0c0c0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .copyright-info {
        flex-wrap: wrap;
        justify-content: center;
    }
}
