/*
Theme Name: Guanzhongguan
Author: Chongqing Guanzhong Machinery Co., Ltd.
Description: A multilingual corporate website theme for Guanzhongguan agricultural power equipment.
Version: 1.3.22
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guanzhongguan
*/

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
}

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

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus,
.skip-link:focus {
  background: #ffffff;
  clip: auto !important;
  clip-path: none;
  color: #101820;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  line-height: normal;
  padding: 12px 18px;
  text-decoration: none;
  width: auto;
  z-index: 100000;
}

.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.aligncenter {
  clear: both;
  display: block;
  margin-inline: auto;
}

.generic-content {
  margin-inline: auto;
  max-width: 1120px;
  min-height: 55vh;
  padding: clamp(48px, 8vw, 112px) clamp(20px, 5vw, 64px);
}

.generic-content__header {
  border-block-end: 2px solid #c8101a;
  margin-block-end: 40px;
  padding-block-end: 20px;
}

.generic-content__title {
  color: #111820;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 0.95;
  margin: 0;
}

.generic-entry {
  border-block-end: 1px solid #d9dde1;
  padding-block: 32px;
}

.generic-entry:first-child {
  padding-block-start: 0;
}

.generic-entry__title {
  margin-block-start: 0;
}

.generic-entry__title a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.generic-entry__meta {
  color: #4d565f;
  font-size: 0.875rem;
  margin-block-end: 18px;
}

.generic-entry__content {
  color: #252d35;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.generic-entry__content::after {
  clear: both;
  content: "";
  display: table;
}

.generic-content__description {
  color: #4d565f;
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-block-start: 22px;
  max-width: 760px;
}

.generic-entry__image {
  margin-block-end: 32px;
}

.generic-empty {
  max-width: 720px;
}

.generic-empty h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-block: 0 16px;
}

.generic-empty > p,
.not-found-page .generic-entry__content > p:first-child {
  color: #4d565f;
  line-height: 1.7;
  margin-block: 0 28px;
}

.gzg-search-form {
  display: flex;
  gap: 12px;
  margin-block: 28px;
  max-width: 720px;
}

.gzg-search-form input[type="search"] {
  background: #ffffff;
  border: 1px solid #b9c0c6;
  border-radius: 3px;
  flex: 1 1 auto;
  min-height: 50px;
  min-width: 0;
  padding: 10px 16px;
}

.gzg-search-form .button {
  flex: 0 0 auto;
}

.generic-content .navigation {
  margin-block-start: 42px;
}

.generic-content .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
}

.generic-content .nav-links a {
  border: 1px solid #aeb5bb;
  display: inline-flex;
  font-weight: 700;
  min-height: 46px;
  padding: 11px 18px;
}

.generic-content .nav-links a:hover {
  border-color: #c8101a;
  color: #c8101a;
}

.generic-content a:focus-visible,
.generic-content button:focus-visible,
.generic-content input:focus-visible {
  outline: 3px solid #c8101a;
  outline-offset: 3px;
}

@media (max-width: 640px) {
	.gzg-search-form {
		align-items: stretch;
		flex-direction: column;
	}

  .alignleft,
  .alignright {
    float: none;
    margin-inline: 0;
  }
}
