@charset "utf-8";

:root {
  --ink:    #3B1506;
  --brown:  #6B3A0D;
  --amber:  #B8770F;
  --cream:  #FDF6EC;
  --rice:   #F5EDDE;
  --green:  #4A6741;
  --warm:   #E8C88A;
  --border:#D4B896;
  --text:   #4A3B2A;
  --muted:  #9E8E7A;
  --font-serif: 'Noto Serif SC', 'Songti SC', serif;
  --font-sans:  'Noto Sans SC', 'PingFang SC', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  margin: 0;
  background: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.75;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brown); text-decoration: none; transition: color .25s var(--ease-out); }
a:hover { color: var(--amber); }

/* ── Layout ── */
.wrap {
  width: min(1140px, 92vw);
  margin: 0 auto;
  padding-left: clamp(12px, 3vw, 24px);
  padding-right: clamp(12px, 3vw, 24px);
}
.zwrap { padding-left: 0; padding-right: 0; }

/* ── Top / Header ── */
.top {
  background: var(--cream);
  border-bottom: 2px solid var(--amber);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 12px rgba(59,21,6,0.06);
}
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(8px, 1.5vw, 14px) 0;
}
.site-logo {
  margin: 0; line-height: 1.2;
  display: flex; align-items: center; gap: 12px;
}
.site-logo-title { margin: 0; }
.site-logo-title a {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(19px, 2.4vw, 27px); letter-spacing: 0.14em;
  color: var(--ink); line-height: 1.15; text-decoration: none;
}
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: clamp(40px, 4.6vw, 54px); height: clamp(40px, 4.6vw, 54px);
  background: linear-gradient(135deg, var(--amber), #8a5a22);
  color: #fff; border-radius: 12px;
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(21px, 2.6vw, 30px); line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 10px rgba(176,110,31,0.28);
  flex-shrink: 0;
}

/* ── Nav ── */
.nav { background: var(--ink); }
.navbar-header { display: flex; align-items: center; }
.navbar-toggle {
  color: var(--cream); cursor: pointer; font-size: 18px;
  padding: 10px 18px; display: inline-flex; align-items: center;
}
.navbar-toggle:hover { background: rgba(255,255,255,0.07); }
.navbar-collapse { display: none; }
.navbar-collapse.show { display: block; }
.navbar-collapse ul { list-style: none; margin: 0; padding: 0; }
.navbar-collapse li a {
  display: block; color: rgba(255,255,255,0.72);
  font-size: 15px; padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background .2s, color .2s;
}
.navbar-collapse li a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.navbar-collapse li.current a { background: var(--amber); color: #fff; }

/* ── Hero ── */
.hero {
  position: relative;
  background: linear-gradient(160deg, #FDF6EC 0%, #F0D9B0 50%, #E8C070 100%);
  padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(184,119,15,0.08), transparent),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(74,103,65,0.06), transparent);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.5vw, 38px);
  color: var(--ink); font-weight: 700;
  letter-spacing: 0.18em; margin-bottom: 12px;
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .7s var(--ease-out) .15s forwards;
}
.hero p {
  font-size: clamp(13px, 1.4vw, 16px);
  color: var(--brown); max-width: 540px;
  margin: 0 auto clamp(12px, 2vw, 24px);
  line-height: 1.8; opacity: 0; transform: translateY(14px);
  animation: fadeUp .7s var(--ease-out) .35s forwards;
}
.hero-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: clamp(14px, 2vw, 28px);
  opacity: 0; animation: fadeUp .7s var(--ease-out) .55s forwards;
}
.hero-tags a {
  display: inline-block;
  padding: 5px 16px; border-radius: 20px;
  background: rgba(255,255,255,0.72);
  color: var(--brown); font-size: clamp(11px, 1.1vw, 13px);
  border: 1px solid rgba(107,58,13,0.18);
  transition: all .3s var(--ease-out);
}
.hero-tags a:hover {
  background: var(--brown); color: #fff;
  border-color: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(107,58,13,0.18);
}
.hero-btns {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  opacity: 0; animation: fadeUp .7s var(--ease-out) .75s forwards;
}
.hero-btns a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: clamp(8px, 1.2vw, 12px) clamp(22px, 3vw, 36px);
  border-radius: 6px; font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500; letter-spacing: 0.06em;
  transition: all .35s var(--ease-out);
}
.btn-primary {
  background: var(--brown); color: #fff;
  border: 2px solid var(--brown);
  box-shadow: 0 2px 12px rgba(107,58,13,0.18);
}
.btn-primary:hover {
  background: var(--ink); border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,21,6,0.22);
  color: #fff;
}
.btn-outline {
  background: transparent; color: var(--brown);
  border: 2px solid rgba(107,58,13,0.35);
}
.btn-outline:hover {
  background: var(--brown); color: #fff;
  border-color: var(--brown);
  transform: translateY(-2px);
}

/* ── Section ── */
.section {
  padding: clamp(28px, 5vw, 56px) 0;
}
.section-title {
  text-align: center; margin-bottom: clamp(18px, 3vw, 36px);
}
.section-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.8vw, 30px);
  color: var(--ink); font-weight: 700;
  letter-spacing: 0.12em; margin-bottom: 6px;
}
.section-title p {
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--muted); margin: 0;
}

/* ── Team Grid ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: clamp(10px, 1.5vw, 18px);
}
.team-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(212,184,150,0.5);
  box-shadow: 0 1px 6px rgba(59,21,6,0.04);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  opacity: 0; transform: translateY(16px);
}
.team-card.visible {
  opacity: 1; transform: translateY(0);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(59,21,6,0.08);
}
.team-card-img {
  width: 100%; aspect-ratio: 4/3;
  background: var(--rice); overflow: hidden;
}
.team-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease-out);
}
.team-card:hover .team-card-img img {
  transform: scale(1.03);
}
.team-card-body { padding: clamp(8px, 1.2vw, 12px); }
.team-card-body h3 {
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--ink); margin-bottom: 4px;
}
.field-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 8px; font-size: clamp(11px, 1vw, 13px);
  margin: 4px 0;
}
.field-label { color: var(--muted); font-weight: 500; white-space: nowrap; }
.field-val   { color: var(--text); }
.field-tag {
  display: inline-block; padding: 2px 9px; border-radius: 10px;
  font-size: 11px; transition: all .2s;
  text-decoration: none;
}
.field-tag.tag-level{background:#F3E5F5;color:#6A1B9A}
.field-tag.tag-skill{background:#E8F5E9;color:#2E7D32}
.field-tag.tag-tea{background:#FFF3E0;color:#D84315}
.field-tag.tag-scene{background:#E3F2FD;color:#1565C0}
.field-tag.tag-facility{background:#FCE4EC;color:#AD1457}
.field-tag:hover{opacity:.75}
.field-group{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.field-sep{color:#D7CCC8;font-size:11px;margin:0 3px}

/* ── Tea Grid ── */
.tea-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: clamp(10px, 1.8vw, 20px);
}
.tea-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(212,184,150,0.4);
  box-shadow: 0 1px 6px rgba(59,21,6,0.03);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  opacity: 0; transform: translateY(20px);
}
.tea-card.visible { opacity: 1; transform: translateY(0); }
.tea-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59,21,6,0.09);
}
.tea-card-img {
  width: 100%; aspect-ratio: 4/3;
  background: var(--rice); overflow: hidden;
}
.tea-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease-out);
}
.tea-card:hover .tea-card-img img { transform: scale(1.05); }
.tea-card-body { padding: clamp(8px, 1.2vw, 14px); }
.tea-card-body h3 {
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--ink); font-weight: 600; margin-bottom: 4px;
}
.tea-meta  { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 8px; }
.tea-price { color: var(--amber); font-weight: 700; font-size: clamp(13px, 1.2vw, 15px); margin: 0; }
.tea-desc  { font-size: clamp(11px, 1vw, 13px); color: var(--muted); margin: 0; }
.tea-link  { font-size: 12px; color: var(--amber); font-weight: 500; }

/* ── Env Grid ── */
.env-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(12px, 2vw, 24px);
}
.env-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(212,184,150,0.4);
  box-shadow: 0 2px 8px rgba(59,21,6,0.04);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  opacity: 0; transform: translateY(20px);
}
.env-card.visible { opacity: 1; transform: translateY(0); }
.env-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(59,21,6,0.09); }
.env-card-img { width: 100%; aspect-ratio: 4/3; background: var(--rice); overflow: hidden; }
.env-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
.env-card:hover .env-card-img img { transform: scale(1.04); }
.env-card-body { padding: clamp(10px, 1.5vw, 16px); }
.env-card-body h3 { font-family: var(--font-serif); font-size: clamp(15px,1.5vw,18px); color: var(--ink); margin-bottom: 6px; }
.env-card-body p { font-size: clamp(12px,1.1vw,14px); color: var(--muted); line-height: 1.6; }

/* ── Culture ── */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(16px, 3vw, 40px);
}
.culture-col h3 {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--ink);
  padding-bottom: 8px; margin-bottom: clamp(10px, 1.5vw, 18px);
  border-bottom: 2px solid var(--amber);
  font-weight: 600;
}
.culture-list { list-style: none; margin: 0; padding: 0; }
.culture-list li {
  padding: clamp(8px, 1.2vw, 12px) 0;
  border-bottom: 1px solid rgba(212,184,150,0.3);
}
.culture-list li a {
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--text); transition: color .2s;
}
.culture-list li a:hover { color: var(--amber); }
.culture-list .date { font-size: 12px; color: #BDB09C; float: right; }
.culture-list .more-link { text-align: right; padding-top: 10px; }
.culture-list .more-link a { color: var(--amber); font-size: 13px; }

.news-featured { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.news-featured-img {
  width: clamp(120px, 18vw, 180px); aspect-ratio: 16/10;
  background: var(--rice); border-radius: 8px; overflow: hidden; flex-shrink: 0;
}
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-featured-info h4 { font-size: clamp(14px,1.3vw,16px); color: var(--ink); margin-bottom: 6px; }
.news-featured-info p  { font-size: clamp(12px,1.1vw,14px); color: var(--muted); line-height: 1.6; }

/* ── Tag Section ── */
.tag-section {
  background: #fff;
  padding: clamp(20px, 3vw, 40px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tag-cloud a {
  display: inline-block;
  padding: 6px 16px; border-radius: 20px;
  background: var(--rice); color: var(--brown);
  font-size: clamp(12px, 1.1vw, 14px);
  border: 1px solid rgba(212,184,150,0.5);
  transition: all .3s var(--ease-out);
}
.tag-cloud a:hover {
  background: var(--brown); color: #fff; border-color: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(107,58,13,0.15);
}

/* ── Section Tags (below grids) ── */
.section-tags { margin-top: clamp(14px,2vw,24px); text-align: center; }
.section-tags .st-label { font-size: 12px; color: var(--muted); margin-right: 8px; font-weight: 500; }
.section-tags a {
  display: inline-block; padding: 4px 14px;
  background: var(--rice); color: var(--brown);
  border-radius: 14px; font-size: 12px; margin: 3px 4px;
  border: 1px solid rgba(212,184,150,0.4);
  transition: all .25s var(--ease-out);
}
.section-tags a:hover { background: var(--amber); color: #fff; border-color: var(--amber); }

/* ── Footer CTA (mobile) ── */
.footer-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: rgba(42,15,4,0.98);
  border-top: 2px solid rgba(224,162,74,0.55);
  backdrop-filter: blur(16px);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: none;
  justify-content: center;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.28);
}
.footer-cta-grid { display: flex; gap: 10px; justify-content: center; }
.footer-cta-grid .contact-card {
  flex: 0 1 auto;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 8px; padding: 12px 20px;
  color: var(--cream); font-size: 14px; text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.footer-cta-grid .contact-card:active { transform: scale(0.97); }
.footer-cta-grid .contact-card .c-icon { font-size: 14px; flex-shrink: 0; }
.footer-cta-grid .contact-card .c-txt { white-space: nowrap; }
.footer-cta-grid .contact-card.card-primary {
  background: linear-gradient(135deg, #e0a24a, #b06e1f);
  color: #fff; font-weight: 700;
  box-shadow: 0 4px 14px rgba(176,110,31,0.4);
}
.footer-cta-grid .contact-card.card-primary .c-num { font-weight: 700; letter-spacing: 0.03em; }
.footer-cta-grid .contact-card.card-primary:hover { background: linear-gradient(135deg, #e8aa55, #c07c26); }
.footer-cta-grid .contact-card.card-secondary {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--cream);
}
.footer-cta-grid .contact-card.card-secondary:hover { background: rgba(255,255,255,0.14); }

/* Toast 轻提示 */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%);
  background: rgba(30,14,4,0.92); color: #fff; font-size: 13px;
  padding: 10px 18px; border-radius: 8px; display: none; z-index: 1000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3); white-space: nowrap;
  max-width: 86vw; text-align: center;
}

/* ── Footer ── */
.footer {
  background: var(--ink); color: #BCAAA4;
  padding: clamp(16px, 2.5vw, 32px) 0 0;
  font-size: 13px;
}
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 12px 24px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 12px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-nav a { color: #A1887F; font-size: 13px; transition: color .2s; }
.footer-nav a:hover { color: var(--cream); }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 4px 14px;
  font-size: 12px; color: #8D6E63;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 10px; line-height: 1.6;
}
.footer-legal a { color: #8D6E63; transition: color .2s; font-size: 12px; }
.footer-legal a:hover { color: var(--cream); }
.footer-legal .lg-label { color: #A1887F; font-weight: 600; white-space: nowrap; }
.footer-legal .lg-sep { color: rgba(255,255,255,0.08); margin: 0 2px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 4px 14px; padding-bottom: 14px;
  color: #6D5B50; font-size: 11px; text-align: center;
}
.footer-bottom a { color: #8D6E63; font-size: 11px; transition: color .2s; }
.footer-bottom a:hover { color: #D7CCC8; }
.footer-bottom .sep { color: rgba(255,255,255,0.08); }

/* ── Toast / Popup ── */
.toast {
  position: fixed; top: 50%; left: 50%; z-index: 9999;
  transform: translate(-50%,-50%);
  background: var(--ink); color: var(--cream);
  padding: 14px 28px; border-radius: 8px;
  font-size: 15px; display: none;
  white-space: nowrap; box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.num-popup-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.45);
  display: none; align-items: center; justify-content: center;
}
.num-popup {
  background: #fff; border-radius: 14px;
  padding: 28px 36px; text-align: center;
  max-width: 300px; width: 88%;
  box-shadow: 0 12px 48px rgba(0,0,0,0.2);
}
.num-popup h4 { font-size: 16px; color: var(--ink); margin: 0 0 8px; }
.num-popup .num { font-size: 28px; color: var(--amber); font-weight: 700; letter-spacing: 1px; }
.num-popup .btn-close {
  display: inline-block; background: var(--amber); color: #fff;
  border: none; padding: 8px 28px; border-radius: 20px;
  font-size: 14px; cursor: pointer; transition: background .2s;
}
.num-popup .btn-close:hover { background: var(--brown); }

/* ── Back to Top ── */
.back-to-top {
  position: fixed; right: clamp(10px, 2vw, 24px);
  bottom: clamp(48px, 8vh, 100px);
  width: 42px; height: 42px;
  background: var(--amber); color: #fff;
  border: none; border-radius: 50%;
  font-size: 18px; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  z-index: 998;
  box-shadow: 0 2px 10px rgba(107,58,13,0.25);
  transition: all .3s var(--ease-out);
}
.back-to-top:hover {
  background: var(--brown);
  transform: translateY(-3px);
  box-shadow: 0 5px 18px rgba(107,58,13,0.3);
}
.back-to-top.show { display: flex; }

/* ── Page Banner (about page) ── */
.page-banner {
  background: linear-gradient(135deg, var(--ink) 0%, #2A0A02 100%);
  color: var(--cream);
  padding: clamp(24px, 4vw, 48px) 0;
  text-align: center;
}
.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--cream);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.breadcrumb {
  font-size: clamp(12px, 1.1vw, 14px);
  color: rgba(255,255,255,0.6);
}
.breadcrumb a {
  color: var(--warm);
  transition: color .2s;
}
.breadcrumb a:hover {
  color: #fff;
}

/* ── About Introduction ── */
.about-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  margin-bottom: clamp(20px, 3vw, 40px);
}
.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 12px;
}
.about-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
}
.about-text p {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 12px;
}
.about-text strong {
  color: var(--brown);
  font-weight: 600;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--rice);
  border-radius: 8px;
  transition: all .3s var(--ease-out);
}
.feature-item:hover {
  background: var(--warm);
  transform: translateX(4px);
}
.feature-item i {
  color: var(--amber);
  font-size: 18px;
  flex-shrink: 0;
}
.feature-item span {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--text);
  font-weight: 500;
}
.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(59,21,6,0.12);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out);
}
.about-image:hover img {
  transform: scale(1.05);
}

/* ── Contact Grid ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
}
.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--rice);
  border-radius: 10px;
  transition: all .3s var(--ease-out);
}
.contact-item:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(59,21,6,0.08);
  transform: translateY(-2px);
}
.contact-item i {
  font-size: 24px;
  color: var(--amber);
  margin-top: 4px;
  flex-shrink: 0;
}
.contact-item h3 {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-item p {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}
.contact-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(59,21,6,0.1);
}
.map-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--rice);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
}
.map-placeholder i {
  font-size: 48px;
  color: var(--border);
}
.map-placeholder p {
  font-size: 16px;
  margin: 0;
}
.map-placeholder .map-note {
  font-size: 12px;
  color: var(--muted);
}

/* ── Process Grid ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(16px, 2vw, 32px);
}
.process-item {
  text-align: center;
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2vw, 24px);
  background: var(--rice);
  border-radius: 12px;
  transition: all .4s var(--ease-out);
}
.process-item:hover {
  background: #fff;
  box-shadow: 0 8px 32px rgba(59,21,6,0.1);
  transform: translateY(-4px);
}
.process-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--amber);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all .3s var(--ease-out);
}
.process-item:hover .process-icon {
  background: var(--brown);
  transform: scale(1.1);
}
.process-item h3 {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 8px;
}
.process-item p {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Responsive for About Page ── */
@media (max-width: 767px) {
  .about-intro {
    grid-template-columns: 1fr;
  }
  .about-image {
    order: -1;
    max-height: 300px;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-map {
    order: -1;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .contact-item {
    padding: 16px;
  }
  .contact-item i {
    font-size: 20px;
  }
}

/* ── List / Content Layout ── */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(20px, 3vw, 40px) 0;
}
.article-list { min-width: 0; }
.article-content { min-width: 0; }

/* ── Tag Page Header ── */
.tag-header {
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 32px);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--amber);
}
.tag-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.tag-header p { font-size: 14px; color: var(--muted); margin: 0; }

/* ── Article Card (list page) ── */
.article-card {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(212,184,150,0.3);
  box-shadow: 0 1px 6px rgba(59,21,6,0.03);
  margin-bottom: clamp(12px, 2vw, 20px);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59,21,6,0.08);
}
.article-thumb {
  width: clamp(140px, 22vw, 220px);
  aspect-ratio: 4/3;
  flex-shrink: 0;
  background: var(--rice);
  overflow: hidden;
}
.article-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s var(--ease-out);
}
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-info {
  flex: 1; min-width: 0;
  padding: clamp(10px, 1.5vw, 16px) clamp(8px, 1vw, 14px) clamp(10px, 1.5vw, 16px) 0;
}
.article-info .category {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  background: #FFF3E0;
  color: #D84315;
  font-size: 11px;
  margin-bottom: 6px;
}
.article-info h3 {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
}
.article-info h3 a { color: var(--ink); }
.article-info h3 a:hover { color: var(--amber); }
.article-info .excerpt {
  font-size: clamp(12px, 1.1vw, 14px);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-info .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 12px;
  color: #BDB09C;
}
.article-info .meta i { margin-right: 4px; }

/* ── Article Content (detail page) ── */
.article-header {
  margin-bottom: clamp(16px, 2.5vw, 28px);
  padding-bottom: clamp(12px, 2vw, 20px);
  border-bottom: 1px solid var(--border);
}
.article-header .category {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 10px;
  background: #FFF3E0;
  color: #D84315;
  font-size: 12px;
  margin-bottom: 10px;
}
.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}
.article-header .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 13px;
  color: var(--muted);
}
.article-header .meta i { margin-right: 4px; color: var(--amber); }
.article-body {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.85;
  color: var(--text);
}
.article-body p { margin-bottom: 16px; }
.article-body h2, .article-body h3 {
  font-family: var(--font-serif);
  color: var(--ink);
  margin: 24px 0 12px;
}
.article-body img { max-width: 100%; border-radius: 8px; margin: 16px 0; }
.article-body a { color: var(--amber); text-decoration: underline; }

/* ── Share Buttons ── */
.share-buttons {
  display: flex;
  gap: 10px;
  padding: clamp(16px, 2vw, 24px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: clamp(20px, 3vw, 32px) 0;
}
.share-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--rice);
  color: var(--brown);
  font-size: 16px;
  transition: all .3s var(--ease-out);
}
.share-btn:hover {
  background: var(--amber);
  color: #fff;
  transform: translateY(-3px);
}

/* ── Prev / Next ── */
.prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.prev-next a {
  display: block;
  padding: 14px 18px;
  background: var(--rice);
  border-radius: 8px;
  transition: all .3s var(--ease-out);
}
.prev-next a:hover {
  background: var(--warm);
  transform: translateY(-2px);
}
.prev-next a:last-child { text-align: right; }
.prev-next .label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.prev-next .title { font-size: 14px; color: var(--ink); font-weight: 500; }

/* ── Related Posts ── */
.related-posts { margin-bottom: 20px; }
.related-posts h3 {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--amber);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
  gap: 12px;
}
.related-card {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(212,184,150,0.3);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(59,21,6,0.08);
}
.related-card img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block;
}
.related-card .title {
  padding: 8px 10px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Sidebar ── */
.sidebar { min-width: 0; }
.widget {
  background: #fff;
  border-radius: 10px;
  padding: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(212,184,150,0.3);
  box-shadow: 0 1px 6px rgba(59,21,6,0.03);
}
.widget-title {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--amber);
}

/* ── Hot List ── */
.hot-list { list-style: none; margin: 0; padding: 0; }
.hot-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(212,184,150,0.2);
}
.hot-list li:last-child { border-bottom: none; }
.hot-list li a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  transition: color .2s;
}
.hot-list li a:hover { color: var(--amber); }
.hot-thumb {
  width: 60px; height: 45px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--rice);
}
.hot-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hot-title {
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Latest List ── */
.latest-list { list-style: none; margin: 0; padding: 0; }
.latest-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(212,184,150,0.2);
}
.latest-list li:last-child { border-bottom: none; }
.latest-list li a {
  font-size: 13px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}
.latest-list li a:hover { color: var(--amber); }
.latest-list .date { font-size: 11px; color: #C4B5A0; white-space: nowrap; flex-shrink: 0; }

/* ── Pagination ── */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: clamp(16px, 2vw, 24px) 0;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px; height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid rgba(212,184,150,0.4);
  background: #fff;
  color: var(--text);
  transition: all .2s;
}
.pagination a:hover {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}
.pagination .current {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
}

/* ── Card Links (entire card clickable) ── */
a.team-card, a.tea-card, a.env-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

a.team-card:hover, a.tea-card:hover, a.env-card:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(59,21,6,0.12);
}

a.team-card .team-card-img img,
a.tea-card .tea-card-img img,
a.env-card .env-card-img img {
  transition: transform .6s var(--ease-out);
}

a.team-card:hover .team-card-img img,
a.tea-card:hover .tea-card-img img,
a.env-card:hover .env-card-img img {
  transform: scale(1.05);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (min-width: 768px) {
  .navbar-collapse { display: block !important; }
  .navbar-toggle  { display: none !important; }
  .navbar-collapse ul { display: flex; gap: 0; }
  .navbar-collapse li a { border-bottom: none; padding: 14px 22px; }
}

@media (max-width: 767px) {
  .hero h2 { letter-spacing: 0.1em; }
  .team-grid  { grid-template-columns: repeat(2, 1fr); }
  .tea-grid   { grid-template-columns: repeat(2, 1fr); }
  .env-grid    { grid-template-columns: 1fr; }
  .culture-grid{ grid-template-columns: 1fr; }
  .news-featured { flex-direction: column; }
  .news-featured-img { width: 100%; }
  .footer-cta { display: flex !important; }
  body { padding-bottom: 64px; }
  .footer-top  { flex-direction: column; align-items: flex-start; }
  .footer-legal{ flex-wrap: wrap; gap: 3px 8px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; gap: 2px; }
  .back-to-top  { right: 12px; bottom: 52px; width: 38px; height: 38px; font-size: 16px; }
  .main-layout { grid-template-columns: 1fr; }
  .article-card { flex-direction: column; }
  .article-thumb { width: 100%; }
  .article-info { padding: 12px; }
  .prev-next { grid-template-columns: 1fr; }
  .prev-next a:last-child { text-align: left; }
}

@media (max-width: 480px) {
  .team-grid     { grid-template-columns: 1fr; }
  .tea-grid      { grid-template-columns: 1fr; }
  .hero-btns     { flex-direction: column; align-items: center; }
}

/* ── Original Template Classes (Tea Theme Override) ── */

/* Layout: .main + .sider */
.main {
  float: left;
  width: 66.66666667%;
}
.sider {
  float: left;
  width: 33.33333333%;
  display: block;
}
.right {
  padding-left: 20px;
}
.clear { clear: both; }

/* Breadcrumb / Map */
.map1 {
  background: var(--rice);
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}
.map1 span {
  font-size: 13px;
  color: var(--muted);
}
.map1 span a {
  color: var(--brown);
  transition: color .2s;
}
.map1 span a:hover { color: var(--amber); }
.map1 h1 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding-top: 6px;
}
.map {
  padding: 10px 16px;
  line-height: 1.8;
  background: var(--rice);
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  margin: -20px -20px 0 -20px;
}
.map span {
  font-size: 13px;
  color: var(--muted);
}
.map span a {
  color: var(--brown);
}

/* Article Block (list page) */
.block {
  overflow: hidden;
  margin-bottom: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(212,184,150,0.3);
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(59,21,6,0.03);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.block:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59,21,6,0.08);
}
.block h2 {
  display: inline-block;
  padding-bottom: 10px;
  font-weight: 500;
  word-wrap: break-word;
  padding-top: 0;
  margin: 0;
}
.block h2 a {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 600;
}
.block h2 a:hover { color: var(--amber); }

/* Category badge */
.category {
  margin-right: 6px;
}
.category a {
  color: #fff !important;
  padding: 2px 8px;
  background: var(--brown);
  font-size: 12px !important;
  border-radius: 4px;
  opacity: 1;
  transition: background .2s;
}
.category a:hover {
  background: var(--amber);
  color: #fff !important;
}
.category i { margin-left: -3px; color: var(--muted); }

/* Thumbnail */
.viewimg {
  float: left;
  margin-right: 16px;
  display: block;
}
.viewimg a {
  position: relative;
  display: block;
}
.viewimg img {
  width: 160px;
  height: 120px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.block:hover .viewimg img { transform: scale(1.03); }

/* Preview text */
.preview {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  overflow: hidden;
}

/* Meta info */
.preem {
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.preem span {
  margin-right: 10px;
  font-size: 13px;
  color: var(--muted);
}
.preem span i { margin-right: 4px; color: var(--amber); }
.more a {
  padding: 4px 14px;
  font-size: 12px;
  display: inline-block;
  background: var(--rice);
  color: var(--brown) !important;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all .25s var(--ease-out);
}
.more a:hover {
  background: var(--amber);
  color: #fff !important;
  border-color: var(--amber);
}

/* Article detail */
.article {
  background: #fff;
  padding: 20px;
  border: 1px solid rgba(212,184,150,0.3);
  border-radius: 8px;
  overflow: hidden;
}
.article .title { margin-bottom: 16px; }
.article .title h1 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}
.subtitle {
  font-size: 13px;
  color: var(--muted);
}
.subtitle span {
  position: static !important;
  margin-right: 16px;
}
.subtitle span i { margin-right: 4px; color: var(--amber); }

/* Article description */
.article_desc {
  margin-bottom: 16px;
  border: 1px dotted var(--border);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--muted);
  background: var(--rice);
  border-radius: 6px;
  line-height: 1.7;
}
.article_desc span {
  background: var(--brown);
  text-align: center;
  margin-right: 8px;
  color: #fff;
  padding: 2px 8px;
  display: inline-block;
  float: left;
  border-radius: 4px;
  font-size: 12px;
}

/* Article content */
.article_content {
  margin-bottom: 16px;
  line-height: 1.9;
  font-size: 15px;
  color: var(--text);
}
.article_content p {
  font-size: 15px;
  clear: both;
  text-indent: 2em;
  line-height: 1.9;
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.article_content h1, .article_content h2, .article_content h3 {
  margin: 20px 0 12px;
  padding: 6px 14px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 700;
  background: var(--rice);
  border-radius: 4px;
}
.article_content h2 { font-size: 1.3em; }
.article_content h3 { font-size: 1.1em; }
.article_content img {
  display: block;
  max-width: 600px;
  width: 100%;
  height: auto;
  margin: 16px auto;
  border-radius: 8px;
}
.article_content a {
  color: var(--amber);
  text-decoration: underline;
}
.ab_img img { max-width: 600px; width: 100%; height: auto; display: block; margin: 16px auto; }
.ab_img p { text-wrap: inherit !important; }

/* Post copyright */
.postcopyright {
  padding: 12px 16px;
  margin-top: 8px;
  margin-bottom: 16px;
  background: var(--rice);
  color: var(--muted);
  font-size: 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.postcopyright a {
  color: var(--brown);
  font-size: 12px;
}

/* Prev / Next */
.con_pretext {
  background: #fff;
  overflow: hidden;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  border: 1px solid rgba(212,184,150,0.3);
  border-radius: 8px;
}
.con_pretext ul { display: flex; gap: 12px; }
.first { float: left; width: 49%; }
.last { float: right; width: 49%; }
.con_pretext a {
  color: var(--text);
  font-size: 14px;
  transition: color .2s;
}
.con_pretext a:hover { color: var(--amber); }

/* Subblock (sidebar widgets + recommended) */
.subblock {
  background: #fff;
  margin-bottom: 16px;
  border: 1px solid rgba(212,184,150,0.3);
  border-radius: 8px;
  overflow: hidden;
}
.subblock img { max-width: 100%; height: auto; }
.subblock h3 {
  color: var(--ink);
  padding: 10px 14px;
  font-size: 15px;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.6;
  display: block;
  border-bottom: 1px solid var(--border);
  background: var(--rice);
}
.subblock h3:before {
  content: "\f0c9";
  font-family: FontAwesome;
  padding-right: 6px;
  color: var(--amber);
}
.subblock ul {
  padding: 10px 14px;
}
.subblock li {
  border-bottom: 1px solid rgba(212,184,150,0.2);
  padding: 6px 0;
}
.subblock li:last-child { border-bottom: none; }
.subblock li a {
  color: var(--text);
  font-size: 14px;
  transition: color .2s;
}
.subblock li a:hover { color: var(--amber); }

/* Sideshow (sidebar article items) */
.sideshow {
  padding: 6px 0;
  height: auto;
  overflow: auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.sideshow img {
  height: 60px;
  width: 80px;
  float: left;
  margin: 0;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.sideshow a {
  vertical-align: baseline;
  font-size: 14px !important;
  color: var(--text);
}
.sideshow a:hover { color: var(--amber); }

/* Date time */
.datetime {
  color: #C4B5A0;
  font-size: 12px;
  display: block;
  margin-top: 2px;
}

/* Tag cloud (sidebar) */
.tag_cloud {
  padding: 10px 14px;
}
.tag_cloud a {
  display: inline-block;
  color: var(--brown) !important;
  font-size: 13px !important;
  padding: 3px 10px;
  background: var(--rice);
  margin: 3px 2px;
  border-radius: 14px;
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: all .25s var(--ease-out);
}
.tag_cloud a:hover {
  background: var(--brown);
  color: #fff !important;
  border-color: var(--brown);
}

/* Pagination */
.pagebar {
  padding: 16px 20px;
  overflow: hidden;
  clear: both;
}
.pagebar .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 10px;
}
.pagination a {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  padding: 6px 12px;
  margin: 0 2px;
  border-radius: 6px;
  line-height: 1.2;
  transition: all .2s;
}
.pagination a:hover {
  color: #fff;
  background: var(--amber);
  border-color: var(--amber);
}
.pagination a.page-num-current {
  color: #fff;
  background: var(--brown);
  border: 1px solid var(--brown);
}
.pagination span {
  color: var(--text);
  font-size: 13px;
  padding: 6px 4px;
  margin: 0 2px;
}
.pagination .st { font-family: serif; }
.text-secondary { text-align: center; padding: 20px 0; color: var(--muted); }

/* Footer groups (original template) */
.footer .group {
  float: left;
  box-sizing: border-box;
  padding: 0 30px 16px 0;
  font-size: 13px;
  overflow: hidden;
  display: block;
  width: 33%;
}
.footer .group h6 {
  font-size: 14px;
  color: var(--warm);
  margin-bottom: 10px;
  font-weight: 600;
}
.footer .group p, .footer .group li {
  color: #9E8E7A;
  font-size: 13px;
  line-height: 1.8;
}
.footer .group a {
  color: #9E8E7A;
  font-size: 13px;
}
.footer .group a:hover { color: var(--cream); }

/* Nav menu items */
.menu-item {
  position: relative !important;
  display: inline-block;
}

/* Responsive for original template */
@media (min-width: 768px) {
  .wrap { width: min(1140px, 92vw); }
  .menu-item {
    position: relative !important;
    display: inline-block;
  }
  .navbar-header, .navbar-collapse { display: block !important; }
  .navbar-toggle { display: none !important; }
  .viewimg { display: block !important; }
  .page-header span { visibility: visible !important; }
}

@media (max-width: 767px) {
  .main { float: none; width: 100%; }
  .sider { float: none; width: 100%; }
  .right { padding-left: 0; padding-top: 16px; }
  .viewimg img { width: 100px; height: 80px; }
  .preview { height: auto; overflow: hidden; }
  .con_pretext ul { flex-direction: column; gap: 6px; }
  .first, .last { float: none; width: 100%; }
  .footer .group { float: none; width: 100%; padding-bottom: 12px; }
}
