/*
Theme Name: Fly Client Theme
Theme URI: https://mengyi.fan/
Author: Afan
Author URI: https://mengyi.fan/
Description: 飞飞客户定制主题
Version: 1.0.0
*/

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f5f5f5;
}

a {
  color: #0073aa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site {
  max-width: 960px;
  margin: 0 auto;
  background-color: #fff;
  min-height: 100vh;
}

.site-header {
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 2rem;
  background-color: #222;
  color: #fff;
}

.site-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.site-header-logo a {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.site-header-top-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-header-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header-contact .contact-item {
  font-size: 0.875rem;
  color: #fff;
}

.site-header-contact .contact-item:hover {
  text-decoration: underline;
}

.header-order-btn {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background-color: #690011;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.header-order-btn:hover {
  background-color: #8a0016;
  text-decoration: none;
}

.header-language-switcher {
  display: flex;
  align-items: center;
}

.header-language-switcher {
  position: relative;
}

.header-language-select {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background-color: #690011;
  color: #fff;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

.header-language-select:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.header-language-switcher #google_translate_element {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.site-header-bottom {
  margin-top: 0.75rem;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
}

.site-footer {
  padding: 1.5rem 2rem;
  background-color: #222;
  color: #fff;
}

.site-main {
  padding: 2rem;
}

.site-main article {
  margin-bottom: 2.5rem;
}

.site-main h1,
.site-main h2,
.site-main h3 {
  margin-top: 0;
}

.post-meta {
  font-size: 0.875rem;
  color: #666;
}

.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}
