/*
Theme Name: geowend
Author: rekfan
Description: GEO 优化服务主题 - 专注于 AI 搜索时代的品牌优化
Version: 1.0
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: geowend
Domain Path: /languages
*/

/* 
GEO 优化服务主题
专注于 AI 搜索时代的品牌优化
*/

/* 全局样式重置 */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* WordPress 基础样式 */
.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

.wp-caption-text {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-top: 0.5em;
}

/* 评论样式 */
.comment-list {
  list-style: none;
  padding: 0;
}

.comment-list .comment {
  margin-bottom: 2em;
}

.comment-list .avatar {
  float: left;
  margin-right: 1em;
}

/* 表单样式 */
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

input[type="submit"] {
  background: #0073aa;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background: #005a87;
}

.container {
  max-width: 80rem !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
}

@media (max-width: 767px) {
  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

.gw-input,
.gw-select,
.gw-textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db !important;
  border-radius: 0.875rem !important;
  background: #fff !important;
  color: #111827;
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.gw-input,
.gw-select {
  height: 3.25rem;
  line-height: 1.25rem;
}

.gw-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.gw-textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.gw-input:focus,
.gw-select:focus,
.gw-textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.20);
}

.gw-input::placeholder,
.gw-textarea::placeholder {
  color: #9ca3af;
}

.gw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #2563eb;
  color: #fff;
  padding: 1rem 2.25rem;
  border-radius: 0.75rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.gw-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.gw-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.gw-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1.5rem;
  line-height: 1;
  color: #2563eb;
  vertical-align: middle;
}

.gw-icon::before {
  display: block;
  line-height: 1;
}

.gw-icon--sm {
  font-size: 1.125rem;
}

.gw-icon--lg {
  font-size: 2.75rem;
}

.gw-icon--xl {
  font-size: 3.5rem;
}

.gw-icon-muted {
  color: #6b7280;
}

.gw-icon-white {
  color: #ffffff;
}