/*
Theme Name: 汇德国际展览
Theme URI: https://www.huide-expo.com/
Author: 汇德国际展览团队
Author URI: https://www.huide-expo.com/
Description: 汇德国际展览官网主题，红黑配色方案，支持中英文切换
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huide-expo
Tags: business, exhibition, trade, responsive, custom-menu, custom-logo, featured-images, translation-ready, multilingual
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fb923c;
    --secondary-color: #1f2937;
    --bg-dark: #111827;
    --bg-card: #1f2937;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --border-color: #374151;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Serif SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
}

.text-gradient {
    background: linear-gradient(135deg, #FF9500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-dark-gradient {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.hero-slide {
    display: none;
}

.hero-slide.active {
    display: block;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.wp-block-heading {
    margin-bottom: 1rem;
}

.wp-block-button__link {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
}

.wp-block-button__link:hover {
    background-color: var(--primary-dark);
}

.single-post .entry-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.single-post .entry-content h2 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-post .entry-content p {
    margin-bottom: 1rem;
}

.page .entry-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.page .entry-content h2 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.prose .alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
    max-width: 50%;
}

.prose .alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    max-width: 50%;
}

.prose .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.prose h2 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.prose h3 {
    color: #ffffff;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.prose p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.prose ul,
.prose ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose blockquote {
    border-left: 4px solid #f97316;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #9ca3af;
    font-style: italic;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.prose th,
.prose td {
    border: 1px solid #374151;
    padding: 0.75rem;
    text-align: left;
}

.prose th {
    background-color: #1f2937;
    color: #ffffff;
}

.prose tr:nth-child(even) {
    background-color: #1f2937;
}

.prose a {
    color: #f97316;
    text-decoration: underline;
}

.prose a:hover {
    color: #fb923c;
}

.prose hr {
    border: none;
    border-top: 1px solid #374151;
    margin: 2rem 0;
}