body {
  margin: 0;
}
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.site-header__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: inherit;
    text-decoration: none;
}

.site-header__logo {
    flex: 0 0 auto;
}

.site-header__logo img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.site-header__name {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: "Kanit", sans-serif;
}

.site-header__name strong {
    color: #14532d;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

.site-header__name span {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 640px) {

    .site-header__inner {
        width: min(100% - 24px, 1180px);
        padding: 14px 0;
    }

    .site-header__brand {
        gap: 12px;
    }

    .site-header__logo img {
        width: 56px;
        height: 56px;
    }

    .site-header__name strong {
        font-size: 18px;
    }

    .site-header__name span {
        font-size: 13px;
    }
}

.egp {
  --g: #14532d;
  --g2: #1f7a45;
  --gl: #eef7f0;
  --gold: #b8892b;
  --ink: #1d2b22;
  --mut: #5d6b62;
  --line: #dbe6de;
  font-family: "Sarabun", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  margin: 0 auto;
}
.egp * { box-sizing: border-box; }
.egp-head { background: #1f7d46;background: linear-gradient(90deg,rgba(31, 125, 70, 1) 18%, rgba(61, 184, 116, 1) 56%, rgba(12, 135, 74, 1) 100%); color: #fff; padding: 28px 28px 24px; border-bottom: 4px solid var(--gold); border-radius: 0 0 12px 12px; }
.egp-head-inner { max-width: 1180px; margin:auto;}
.egp-bc { display:flex; gap:8px; align-items:center; font-size: 14px; opacity: .85; margin-bottom: 10px; }
.egp-bc a { color:#fff; text-decoration:none; }
.egp-bc a:hover { text-decoration:underline; }
.egp-head h1 { margin:0 0 6px; font-size:30px; font-weight:700; color:#fff; }
.egp-head p { margin:0 0 20px; opacity:.92; max-width:760px; }
.egp-info { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.egp-box { background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.22); border-radius:10px; padding:14px 16px; }
.egp-box small { display:block; opacity:.8; font-size:13px; }
.egp-box b { font-size:17px; font-weight:600; display:block; }
.egp-st { display:inline-flex; align-items:center; gap:6px; margin-top:4px; font-size:14px; }
.egp-st:before { content:""; width:9px; height:9px; border-radius:50%; background:#7ee2a0; }
.egp-st.fail:before { background:#f0a35e; }
.egp-body { padding:24px 16px;  max-width: 1180px; margin: auto;}
.egp-days { display:flex; gap:8px; overflow-x:auto; padding-bottom:8px; border-bottom:2px solid var(--line); }
.egp-day { flex:0 0 auto; min-width:112px; text-align:left; background:#fff; border:1px solid var(--line); border-radius:10px; padding:8px 14px; cursor:pointer; font:inherit; color:var(--ink); text-decoration:none; }
.egp-day b,.egp-day span,.egp-day i { display:block; }
.egp-day b { font-size:15px; }
.egp-day span { font-size:12.5px; color:var(--mut); }
.egp-day i { font-style:normal; font-weight:600; color:var(--g2); font-size:13px; }
.egp-day:hover { border-color:var(--g2); }
.egp-day.on { background:var(--g); border-color:var(--g); border-bottom:3px solid var(--gold); color:#fff; }
.egp-day.on span,.egp-day.on i { color:#e9f5ec; }
.egp-search { display:grid; grid-template-columns:2fr 1.4fr auto; gap:10px; margin:20px 0 12px; background:var(--gl); border:1px solid var(--line); border-radius:12px; padding:14px; }
.egp-search input,.egp-search select { width:100%; height:44px; border:1px solid #c5d4c9; border-radius:8px; padding:0 12px; font:inherit; background:#fff; color:var(--ink); }
.egp-search input:focus,.egp-search select:focus { outline:2px solid var(--gold); border-color:var(--gold); }
.egp-btn { height:44px; padding:0 26px; border:0; border-radius:8px; background:var(--g); color:#fff; font:inherit; font-weight:600; cursor:pointer; }
.egp-btn:hover { background:var(--g2); }
.egp-chips { display:flex; gap:8px; overflow-x:auto; padding:4px 0 10px; }
.egp-chip { flex:0 0 auto; border:1px solid var(--line); background:#fff; border-radius:999px; padding:6px 14px; font:inherit; font-size:14px; cursor:pointer; color:var(--g); text-decoration:none; }
.egp-chip.on { background:var(--gl); border-color:var(--gold); color:var(--g); font-weight:600; box-shadow:inset 0 -2px 0 var(--gold); }
.egp-total { margin:8px 0 14px; color:var(--mut); }
.egp-total b { color:var(--g); }
.egp-grp { margin:22px 0 10px; display:flex; align-items:center; gap:10px; font-weight:700; color:var(--g); font-size:18px; }
.egp-grp:after { content:""; flex:1; height:2px; background:linear-gradient(90deg,var(--gold),transparent); }
.egp-grp span { font-weight:500; font-size:14px; color:var(--mut); }
.egp-list { display:grid; gap:12px; }
.egp-card { display:grid; grid-template-columns:1fr auto; gap:14px; align-items:center; border:1px solid var(--line); border-left:5px solid var(--g2); border-radius:10px; padding:14px 16px; background:#fff; transition:.15s; }
.egp-card:hover { box-shadow:0 4px 14px rgba(20,83,45,.12); }
.egp-tag { display:inline-block; font-size:12.5px; font-weight:600; background:var(--gl); color:var(--g); border:1px solid #b9d8c3; border-radius:6px; padding:2px 10px; margin-bottom:6px; }
.egp-card.cx { border-left-color:#b4503f; }
.egp-card.cx .egp-tag { background:#fbeeea; color:#9a3d2e; border-color:#efc9c0; }
.egp-card.ch { border-left-color:var(--gold); }
.egp-card.ch .egp-tag { background:#faf3e0; color:#7d5a12; border-color:#e8d49c; }
.egp-card h3 { margin:0 0 6px; font-size:16.5px; font-weight:600; line-height:1.45; color:var(--ink); }
.egp-meta { display:flex; flex-wrap:wrap; gap:6px 20px; font-size:14px; color:var(--mut); }
.egp-meta b { color:var(--ink); font-weight:500; }
.egp-open { display:inline-block; white-space:nowrap; background:#fff; color:var(--g); border:2px solid var(--g); border-radius:8px; padding:8px 18px; font-weight:600; text-decoration:none; }
.egp-open:hover { background:var(--g); color:#fff; }
.egp-empty { text-align:center; padding:40px 10px; color:var(--mut); border:1px dashed var(--line); border-radius:10px; }
.egp-remark { margin-top:28px; padding:14px 16px; background:#faf6ea; border-left:4px solid var(--gold); border-radius:6px; font-size:14px; color:#5a4a1d; }
.egp-foot { margin-top:24px; background:var(--g); color:#e3f1e7; text-align:center; padding:18px; font-size:14px; border-top:4px solid var(--gold); border-radius:12px 12px 0 0; }
@media (max-width:760px) {
  .egp-info { grid-template-columns:1fr; }
  .egp-search { grid-template-columns:1fr; }
  .egp-card { grid-template-columns:1fr; }
  .egp-open { text-align:center; }
  .egp-head h1 { font-size:24px; }
}
.egp-range {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.egp-range a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 16px;
    border: 1px solid #dfe5df;
    border-radius: 999px;
    background: #fff;
    color: #14532d;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.egp-range a:hover {
    border-color: #1f7a45;
    background: #f2f8f4;
}

.egp-range a.is-active {
    border-color: #14532d;
    background: #14532d;
    color: #fff;
}

.egp-pagination-wrap {
    margin-top: 32px;
}

.egp-pagination-info {
    margin-bottom: 12px;
    text-align: center;
    color: #647067;
    font-size: 14px;
}

.egp-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.egp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #dfe5df;
    border-radius: 8px;
    background: #fff;
    color: #14532d;
    font-weight: 600;
    text-decoration: none;
}

.egp-pagination a.page-numbers:hover {
    border-color: #1f7a45;
    background: #f2f8f4;
}

.egp-pagination .page-numbers.current {
    border-color: #14532d;
    background: #14532d;
    color: #fff;
}