/* WorldWeet – Explore (This Month, Nature Seasons, Random, bản đồ). Chỉ nạp ở trang Explore. */
:root {
	--wx-flowers: #db2777;
	--wx-fall-foliage: #ea580c;
	--wx-wildlife: #16a34a;
	--wx-bird-migration: #0284c7;
	--wx-marine-life: #1d4ed8;
	--wx-natural-phenomena: #7c3aed;
}
.wx-t-flowers { --wx-c: var(--wx-flowers); }
.wx-t-fall-foliage { --wx-c: var(--wx-fall-foliage); }
.wx-t-wildlife { --wx-c: var(--wx-wildlife); }
.wx-t-bird-migration { --wx-c: var(--wx-bird-migration); }
.wx-t-marine-life { --wx-c: var(--wx-marine-life); }
.wx-t-natural-phenomena { --wx-c: var(--wx-natural-phenomena); }

.wx-archive { background: #fff; padding: 32px; border-radius: var(--ww-radius); }
.wx-archive__title { margin-bottom: 8px; font-size: 32px; line-height: 1.2; }
.wx-lead { max-width: 760px; color: var(--ww-muted); font-size: 17px; line-height: 1.6; }
.wx-h2 { margin: 32px 0 14px; font-size: 22px; line-height: 1.3; }
.wx-h2 small { color: var(--ww-muted); font-size: 14px; font-weight: 500; }
.wx-empty { padding: 24px; background: var(--ww-bg); border-radius: var(--ww-radius); }
.wx-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.wx-more { margin-top: 24px; text-align: center; }
.wx-ico { flex: none; fill: currentColor; }

/* Nút */
.wx-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid var(--ww-line); border-radius: 40px; background: #fff; color: var(--ww-text); font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; }
.wx-btn:hover, .wx-btn:focus-visible { border-color: var(--ww-accent); color: var(--ww-accent); background: #fff; }
.wx-btn--accent { background: var(--ww-accent); border-color: var(--ww-accent); color: #fff; }
.wx-btn--accent:hover, .wx-btn--accent:focus-visible { background: var(--ww-accent); color: #fff; filter: brightness(1.1); }
.wx-btn--dark { background: var(--ww-dark); border-color: var(--ww-dark); color: #fff; border-radius: var(--ww-radius); }
.wx-btn--dark:hover, .wx-btn--dark:focus-visible { background: var(--ww-darker); color: #fff; }
.wx-btn--ghost { border-radius: var(--ww-radius); }

/* Nhãn loại */
.wx-chip { display: inline-block; padding: 2px 8px; border-radius: 2px; background: var(--wx-c, var(--ww-accent)); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.6; text-decoration: none; }
.wx-chip:hover, .wx-chip:focus-visible { color: #fff; filter: brightness(1.1); }
.wx-chip--flowers { --wx-c: var(--wx-flowers); } .wx-chip--fall-foliage { --wx-c: var(--wx-fall-foliage); }
.wx-chip--wildlife { --wx-c: var(--wx-wildlife); } .wx-chip--bird-migration { --wx-c: var(--wx-bird-migration); }
.wx-chip--marine-life { --wx-c: var(--wx-marine-life); } .wx-chip--natural-phenomena { --wx-c: var(--wx-natural-phenomena); }
.wx-chip--lg { padding: 8px 14px; border-radius: 40px; font-size: 14px; }
.wx-chip--lg.is-active { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--wx-c); }
.wx-chip__n { opacity: .8; font-weight: 500; }
.wx-types ul, .wx-monthnav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wx-types { margin: 20px 0 12px; }

/* Thanh 12 tháng */
.wx-monthnav { margin: 16px 0; }
.wx-monthnav ul { gap: 6px; }
.wx-monthnav li { flex: 1 0 calc(16.66% - 6px); }
.wx-monthnav__a { position: relative; display: block; padding: 10px 0; border: 1px solid var(--ww-line); border-radius: var(--ww-radius); background: #fff; color: var(--ww-text); font-size: 14px; font-weight: 600; text-align: center; text-decoration: none; }
.wx-monthnav__a:hover, .wx-monthnav__a:focus-visible { border-color: var(--ww-accent); color: var(--ww-accent); }
.wx-monthnav__a.is-now::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-news); }
.wx-monthnav__a.is-active { background: var(--ww-dark); border-color: var(--ww-dark); color: #fff; }

/* Bộ lọc */
.wx-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 16px 0 24px; padding: 16px; background: var(--ww-bg); border-radius: var(--ww-radius); }
.wx-filter label { display: grid; flex: 1 1 160px; gap: 4px; font-size: 13px; font-weight: 600; }
.wx-filter select { width: 100%; min-height: 42px; padding: 0 10px; border: 1px solid var(--ww-line); border-radius: var(--ww-radius); background: #fff; }

/* Bản đồ */
.wx-map { position: relative; display: grid; place-items: center; height: 380px; margin: 0 0 24px; overflow: hidden; border-radius: var(--ww-radius); background: #dfe9ef; }
.wx-map.is-ready { display: block; }
.wx-map .leaflet-popup-content a { font-weight: 700; }
.wx-map .leaflet-popup-content p { margin: 2px 0 0; color: var(--ww-muted); }
.wx-related .wx-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* Lưới thẻ */
.wx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.wx-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--ww-line); border-radius: 6px; background: #fff; }
.wx-card__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--wx-c, #4b5563); }
.wx-card__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wx-card__noimg { display: grid; place-items: end start; width: 100%; height: 100%; padding: 14px; background: linear-gradient(135deg, var(--wx-c, #4b5563), #111827 140%); color: rgba(255, 255, 255, .9); font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.wx-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px 16px; }
.wx-card__title { margin: 2px 0 0; font-size: 18px; line-height: 1.3; }
.wx-card__title a { color: inherit; text-decoration: none; }
.wx-card__title a:hover { color: var(--ww-accent); }
.wx-card__place { display: flex; align-items: center; gap: 4px; margin: 0; color: var(--ww-muted); font-size: 14px; }
.wx-card__peak { margin: 0; font-size: 14px; line-height: 1.45; }
.wx-card .wx-months { margin-top: auto; padding-top: 6px; }

/* Dải tháng */
.wx-months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; width: 100%; margin: 0; }
.wx-m { padding: 3px 0; border-radius: 2px; background: #eef0f2; color: #9aa0a6; font-size: 11px; font-weight: 700; line-height: 1; text-align: center; }
.wx-m.is-on { background: var(--wx-c, var(--ww-accent)); color: #fff; }

/* Nút lưu */
.wx-save { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid var(--ww-line); border-radius: 40px; background: #fff; color: var(--ww-text); font-size: 14px; font-weight: 600; cursor: pointer; }
.wx-save .wx-ico { fill: none; stroke: currentColor; stroke-width: 2; }
.wx-save[aria-pressed="true"] { color: #e11d48; border-color: #e11d48; }
.wx-save[aria-pressed="true"] .wx-ico { fill: currentColor; }
.wx-save:hover, .wx-save:focus-visible { color: #e11d48; border-color: #e11d48; background: #fff; }
.wx-save--card { position: absolute; top: 10px; right: 10px; z-index: 2; justify-content: center; width: 40px; min-height: 40px; padding: 0; border: 0; background: rgba(255, 255, 255, .92); }
.wx-save--card .wx-ico { width: 20px; height: 20px; }

/* Trang chi tiết */
.wx-facts { margin: 0 0 28px; padding: 20px; border-left: 4px solid var(--wx-c, var(--ww-accent)); border-radius: var(--ww-radius); background: var(--ww-bg); }
.wx-facts dl { display: grid; gap: 8px; margin: 0 0 14px; }
.wx-facts dl div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.wx-facts dt { color: var(--ww-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.wx-facts dd { margin: 0; }
.wx-facts .wx-actions { margin: 14px 0 0; }
.wx-tip { margin: 28px 0; padding: 16px 20px; border-radius: var(--ww-radius); background: #fff7ed; border: 1px solid #fed7aa; }
.wx-tip p { margin: 0; }
.single-ww_spot .wx-map { height: 300px; }

/* Nature: khối theo loại */
.wx-sec { margin-top: 12px; }
.wx-sec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; border-bottom: 2px solid var(--wx-c, var(--ww-line)); margin-bottom: 16px; }
.wx-sec__head .wx-h2 { margin-bottom: 8px; }
.wx-sec__all { font-size: 14px; font-weight: 600; text-decoration: none; }

/* Saved */
.wx-saved__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.wx-saved__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--ww-line); border-radius: var(--ww-radius); background: #fff; }
.wx-saved__list a { font-weight: 700; text-decoration: none; }
.wx-saved__list span { display: block; color: var(--ww-muted); font-size: 13px; }
.wx-saved__rm { padding: 6px 12px; border: 1px solid var(--ww-line); border-radius: var(--ww-radius); background: #fff; color: var(--ww-text); font-size: 13px; cursor: pointer; }

/* Nối với bài viết */
.wx-incat { margin: 24px 0 8px; padding: 20px; border-radius: var(--ww-radius); background: #fff; }
.wx-incat .wx-h2 { margin-top: 0; }
.wx-reads ul { margin: 0 0 8px 1.2em; }
.wx-reads li { margin-bottom: 6px; }

.wx-toast { position: fixed; left: 50%; bottom: 24px; z-index: 9999; padding: 10px 18px; border-radius: 40px; background: var(--ww-dark); color: #fff; font-size: 14px; transform: translateX(-50%); }

@media (max-width: 767px) {
	.wx-archive { padding: 20px 16px; }
	.wx-archive__title { font-size: 26px; }
	.wx-lead { font-size: 16px; }
	.wx-monthnav li { flex-basis: calc(25% - 6px); }
	.wx-map { height: 300px; }
	.wx-grid { grid-template-columns: 1fr; }
	.wx-facts dl div { grid-template-columns: 1fr; gap: 2px; }
}
