/* pages.css — shared styles for inner pages (about, contact, blog) */
.wgl-inner-page .wgl-container {
  max-width: 1400px;
}

.wgl-page-banner {
  position: relative;
  padding: 60px 0 50px;
  background-color: #181818;
  overflow: hidden;
}

.wgl-page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/logo.png");
  background-size: auto 60%;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.06;
}

.wgl-page-banner .wgl-page-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.wgl-page-banner .wgl-page-banner-en {
  color: #fff3a3;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 500;
}

.wgl-page-banner h1 {
  color: #ffffff;
  font-size: 40px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 12px;
}

.wgl-page-banner .wgl-page-banner-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 2;
  max-width: 640px;
  margin: 0 auto;
}

.wgl-page-banner .wgl-page-banner-rule {
  width: 60px;
  height: 3px;
  background-color: #8b9271;
  border-radius: 3px;
  margin: 18px auto 0;
}

.wgl-section {
  padding: 56px 0;
}

.wgl-section + .wgl-section {
  border-top: 1px solid rgba(139, 146, 113, 0.2);
}

.wgl-section-head {
  text-align: center;
  margin-bottom: 40px;
}

.wgl-section-head .wgl-section-en {
  color: #8b9271;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 6px;
  font-weight: 500;
}

.wgl-section-head h2 {
  color: #181818;
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 10px;
}

.wgl-section-head p {
  color: #4e4e4e;
  font-size: 14px;
  line-height: 2;
  max-width: 720px;
  margin: 0 auto;
}

.wgl-section-head .wgl-section-rule {
  width: 48px;
  height: 3px;
  background-color: #8b9271;
  border-radius: 3px;
  margin: 16px auto 0;
}

/* Stats */
.wgl-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wgl-stat-card {
  background: #ffffff;
  border: 1px solid rgba(139, 146, 113, 0.25);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wgl-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(24, 24, 24, 0.08);
}

.wgl-stat-card .wgl-stat-value {
  color: #8b9271;
  font-size: 32px;
  font-weight: 700;
}

.wgl-stat-card .wgl-stat-title {
  color: #181818;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}

.wgl-stat-card .wgl-stat-subtitle {
  color: #4e4e4e;
  font-size: 13px;
  margin-top: 4px;
}

/* Feature cards */
.wgl-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wgl-feature-card {
  background: #ffffff;
  border: 1px solid rgba(139, 146, 113, 0.25);
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wgl-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(24, 24, 24, 0.08);
}

.wgl-feature-card .wgl-feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: rgba(139, 146, 113, 0.12);
  color: #8b9271;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wgl-feature-card h3 {
  color: #181818;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.wgl-feature-card p {
  color: #4e4e4e;
  font-size: 13px;
  line-height: 2;
  margin: 0;
}

/* Two-column content block */
.wgl-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.wgl-split.reverse .wgl-split-media {
  order: 2;
}

.wgl-split .wgl-split-media {
  text-align: center;
}

.wgl-split .wgl-split-media img {
  max-width: 100%;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(24, 24, 24, 0.12);
}

.wgl-split .wgl-split-badge {
  display: inline-block;
  background: #8b9271;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.wgl-split h3 {
  color: #181818;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 14px;
}

.wgl-split p {
  color: #4e4e4e;
  font-size: 14px;
  line-height: 2.1;
  margin: 0 0 14px;
}

.wgl-split strong {
  color: #8b9271;
}

/* Buttons */
.wgl-btn {
  display: inline-block;
  background: #fff3a3;
  color: #181818;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid #fff3a3;
  transition: all 0.3s ease;
  text-decoration: none;
}

.wgl-btn:hover {
  background: #8b9271;
  color: #fff;
  border-color: #8b9271;
}

.wgl-btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}

.wgl-btn-outline:hover {
  background: #fff;
  color: #181818;
  border-color: #fff;
}

.wgl-btn-dark {
  background: #8b9271;
  color: #fff;
  border-color: #8b9271;
}

.wgl-btn-dark:hover {
  background: #181818;
  color: #fff;
  border-color: #181818;
}

/* Contact page */
.wgl-contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 28px;
}

.wgl-contact-card {
  background: #fff;
  border: 1px solid rgba(139, 146, 113, 0.25);
  border-radius: 16px;
  padding: 26px;
}

.wgl-contact-card h2 {
  color: #181818;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wgl-contact-card h2 .wgl-contact-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(139, 146, 113, 0.12);
  color: #8b9271;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wgl-contact-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(139, 146, 113, 0.25);
}

.wgl-contact-item:last-child {
  border-bottom: none;
}

.wgl-contact-item .wgl-contact-item-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #8b9271;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.wgl-contact-item h4 {
  color: #181818;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 4px;
}

.wgl-contact-item p {
  color: #4e4e4e;
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}

.wgl-contact-item p[ltr],
.wgl-contact-item p[dir="ltr"] {
  text-align: left;
}

.wgl-social-row {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.wgl-social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(139, 146, 113, 0.12);
  color: #8b9271;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.wgl-social-row a:hover {
  background: #8b9271;
  color: #fff;
}

.wgl-form .wgl-form-row {
  margin-bottom: 16px;
}

.wgl-form .wgl-form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.wgl-form label {
  display: block;
  color: #181818;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

.wgl-form input,
.wgl-form textarea {
  width: 100%;
  border: 1px solid rgba(139, 146, 113, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: #181818;
  background: #fff;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wgl-form input:focus,
.wgl-form textarea:focus {
  border-color: #8b9271;
  box-shadow: 0 0 0 3px rgba(139, 146, 113, 0.15);
}

.wgl-form textarea {
  resize: vertical;
  min-height: 130px;
}

.wgl-form .wgl-form-error {
  background: #fdecea;
  border: 1px solid #f5b7b1;
  color: #c0392b;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 14px;
}

.wgl-form .wgl-form-success {
  background: #eff8ee;
  border: 1px solid #b7dcab;
  color: #2e7d32;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wgl-form button {
  width: 100%;
  background: #8b9271;
  color: #fff;
  border: 1px solid #8b9271;
  font-weight: 600;
  font-size: 14px;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wgl-form button:hover {
  background: #181818;
  border-color: #181818;
}

.wgl-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wgl-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(139, 146, 113, 0.25);
  box-shadow: 0 10px 26px rgba(24, 24, 24, 0.1);
}

.wgl-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* Blog */
.wgl-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.wgl-post-card {
  background: #fff;
  border: 1px solid rgba(139, 146, 113, 0.25);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wgl-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(24, 24, 24, 0.1);
}

.wgl-post-card .wgl-post-card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.wgl-post-card .wgl-post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wgl-post-card:hover .wgl-post-card-media img {
  transform: scale(1.05);
}

.wgl-post-card .wgl-post-card-media .wgl-post-card-empty {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eef1e6, #dde3d1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b9271;
  font-size: 13px;
}

.wgl-post-card-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wgl-post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.wgl-post-card-cat {
  background: rgba(139, 146, 113, 0.12);
  color: #8b9271;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}

.wgl-post-card-date {
  color: #9a9a9a;
  font-size: 12px;
}

.wgl-post-card h3 {
  color: #181818;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  margin: 0 0 8px;
}

.wgl-post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.wgl-post-card h3 a:hover {
  color: #8b9271;
}

.wgl-post-card .wgl-post-card-excerpt {
  color: #4e4e4e;
  font-size: 13px;
  line-height: 2;
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wgl-post-card-more {
  color: #8b9271;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wgl-post-card-more:hover {
  color: #181818;
}

.wgl-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.wgl-empty-state .wgl-empty-state-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(139, 146, 113, 0.12);
  color: #8b9271;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wgl-empty-state h3 {
  color: #181818;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

.wgl-empty-state p {
  color: #4e4e4e;
  font-size: 14px;
}

/* Blog single */
.wgl-blog-single {
  max-width: 820px;
  margin: 0 auto;
}

.wgl-blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8b9271;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 22px;
}

.wgl-blog-back:hover {
  color: #181818;
}

.wgl-blog-single-media {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: 0 12px 30px rgba(24, 24, 24, 0.1);
  border: 1px solid rgba(139, 146, 113, 0.25);
}

.wgl-blog-single-media img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.wgl-blog-single-media .wgl-blog-single-empty {
  height: 320px;
  background: linear-gradient(135deg, #eef1e6, #dde3d1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b9271;
}

.wgl-blog-single header {
  margin-bottom: 22px;
}

.wgl-blog-single header .wgl-post-card-cat {
  margin-bottom: 12px;
  display: inline-block;
}

.wgl-blog-single h1 {
  color: #181818;
  font-size: 30px;
  line-height: 1.7;
  font-weight: 600;
  margin: 0 0 12px;
}

.wgl-blog-single .wgl-blog-single-meta {
  color: #9a9a9a;
  font-size: 13px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.wgl-blog-single-body {
  border-top: 1px solid rgba(139, 146, 113, 0.3);
  padding-top: 26px;
  color: #3d3d3d;
  font-size: 15px;
  line-height: 2.2;
}

.wgl-blog-single-body p {
  margin: 0 0 16px;
}

.wgl-blog-single-body h2,
.wgl-blog-single-body h3,
.wgl-blog-single-body h4 {
  color: #181818;
  margin: 22px 0 12px;
}

.wgl-blog-single-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.wgl-blog-single-body ul,
.wgl-blog-single-body ol {
  padding-right: 22px;
  margin-bottom: 16px;
}

.wgl-blog-single-body a {
  color: #8b9271;
}

.wgl-blog-cta {
  background: rgba(139, 146, 113, 0.1);
  border: 1px solid rgba(139, 146, 113, 0.3);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  margin-top: 28px;
}

.wgl-blog-cta h3 {
  color: #8b9271;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.wgl-blog-cta p {
  color: #4e4e4e;
  font-size: 14px;
  margin: 0 0 16px;
}

.wgl-blog-related h2 {
  color: #181818;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 28px;
}

@media (max-width: 1024px) {
  .wgl-stats-grid,
  .wgl-cards-grid,
  .wgl-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wgl-split,
  .wgl-contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .wgl-stats-grid,
  .wgl-cards-grid,
  .wgl-blog-grid,
  .wgl-form .wgl-form-row.two {
    grid-template-columns: 1fr;
  }
  .wgl-page-banner h1 {
    font-size: 28px;
  }
  .wgl-section-head h2 {
    font-size: 24px;
  }
}
