* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Microsoft YaHei", sans-serif; color: #222; }
.site-title { font-family: 'Roboto Condensed', 'Open Sans', 'Microsoft YaHei', sans-serif; letter-spacing: 0.5px; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.site-header { border-bottom: 1px solid #eee; background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.site-title { font-size: 20px; margin: 0; }
.lang-switcher { display: flex; gap: 8px; }
.lang-btn { padding: 8px 12px; border-radius: 6px; border: 1px solid #ddd; background: #f9f9f9; cursor: pointer; }
.lang-btn:hover { background: #f1f1f1; }

.hero { padding: 24px 0; }
.hero-title { margin: 0 0 6px; font-size: 22px; }
.hero-sub { margin: 0; color: #555; }

.departments { padding: 12px 0 24px; }
.section-title { font-size: 18px; margin: 8px 0 12px; }

.gallery-root { display: grid; gap: 24px; }
.gallery-section { border: 1px solid #eee; border-radius: 8px; padding: 12px; background: #fff; }
.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.image-card { position: relative; overflow: hidden; border-radius: 8px; border: 1px solid #eee; background: #fafafa; }
.image-card img { display: block; width: 100%; height: 160px; object-fit: cover; }

.site-footer { border-top: 1px solid #eee; background: #fff; margin-top: 24px; }
.site-footer .container { padding: 12px 0; }

html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .header-inner { flex-direction: row-reverse; }