/*
Theme Name: ANTE
Theme URI: https://www.antetruck.com/
Author: Shandong Ante Automotive Technology Co., Ltd.
Author URI: https://www.antetruck.com/
Description: 山东安特汽车科技有限公司官网定制主题。整套视觉样式在 assets/css/main.css 里，与静态站是同一份文件、逐字节相同；本文件只放主题头信息和少量 WordPress 自己需要的补充样式，不参与页面设计。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: Proprietary
License URI: https://www.antetruck.com/
Text Domain: ante
Tags: custom-theme, multilingual
*/

/* ---------------------------------------------------------------
   这一行以下都不是设计样式。

   站点真正的样式表是 assets/css/main.css（约 100 KB，与静态站同一份）。
   它由 functions.php 通过 wp_enqueue_style 加载，排在 fonts.css 之后。
   下面只补 WordPress 强制要求存在、而 main.css 里没有的几项。
   --------------------------------------------------------------- */

/* 屏幕阅读器专用文本（WP 的无障碍约定，main.css 里没有） */
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
  clip-path: none;
  color: #0F2A47;
  display: block;
  font-size: .875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* 后台编辑器里图片不要溢出（前台由 main.css 管） */
.entry-content img {
  max-width: 100%;
  height: auto;
}

/* WordPress 的图片对齐类，静态站没有用到，这里给个兜底 */
.alignleft  { float: left;  margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
