/* Gun Calendars Store | date pages, month pages and event details, in the Gun Calendars colors */
.gcs-page, .gcs-facts {
	--gcs-navy: #1f3b5c;
	--gcs-orange: #e07a1f;
	--gcs-orange-dk: #c96a14;
	--gcs-line: #dde4ee;
	--gcs-soft: #f4f7fb;
	--gcs-ink: #1d2733;
	--gcs-muted: #5c6b7a;
}
.gcs-page { color: var(--gcs-ink); line-height: 1.5; }
.gcs-page *, .gcs-page *::before, .gcs-page *::after { box-sizing: border-box; }

/* Step links: previous day, the month, next day */
.gcs-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 0 0 14px; }
.gcs-page .gcs-step { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--gcs-line); border-radius: 999px; background: #fff; color: var(--gcs-navy); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.gcs-page .gcs-step:hover, .gcs-page .gcs-step:focus { border-color: var(--gcs-orange); color: var(--gcs-orange-dk); }
.gcs-page .gcs-month-link { background: #ffd34d; border-color: #ffd34d; color: #1d2733; }
.gcs-page .gcs-month-link:hover, .gcs-page .gcs-month-link:focus { background: #ffc61a; border-color: #ffc61a; color: #1d2733; }

/* Header: date badge on the left, title on the right */
.gcs-head { display: flex; align-items: center; gap: 16px; background: var(--gcs-navy); color: #fff; border-radius: 10px; padding: 16px 20px; margin: 0 0 14px; }
.gcs-badge { flex: 0 0 62px; height: 68px; border-radius: 8px; background: #fff; color: var(--gcs-navy); text-align: center; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.gcs-badge span { display: block; background: var(--gcs-orange); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; line-height: 22px; }
.gcs-badge b { display: block; font-size: 30px; line-height: 44px; }
.gcs-page h1.gcs-title { margin: 0; color: #fff; font-size: clamp(22px, 4vw, 30px); line-height: 1.15; }
.gcs-page .gcs-sub { margin: 4px 0 0; color: #cdd9e6; font-size: 15px; }

/* Type chips */
.gcs-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.gcs-chips li { margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--gcs-bg); color: var(--gcs-fg); font-size: 13px; font-weight: 700; white-space: nowrap; }
.gcs-chips b { margin-left: 4px; opacity: .85; }

/* Entry cards */
.gcs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gcs-card { margin: 0; padding: 16px 18px; border: 1px solid var(--gcs-line); border-left: 6px solid var(--gcs-bg); border-radius: 10px; background: #fff; scroll-margin-top: 90px; }
.gcs-card:target { box-shadow: 0 0 0 3px var(--gcs-orange); }
.gcs-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.gcs-type { padding: 2px 10px; border-radius: 999px; background: var(--gcs-bg); color: var(--gcs-fg); font-size: 12px; font-weight: 700; white-space: nowrap; }
.gcs-year { color: var(--gcs-muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.gcs-page h2.gcs-card-title { margin: 0 0 8px; padding: 0; border: 0; font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--gcs-navy); }
.gcs-page h1.gcs-title { padding: 0; border: 0; font-weight: 700; }
.gcs-card-body { font-size: 16px; overflow-wrap: anywhere; }
.gcs-card-body > :last-child { margin-bottom: 0; }
.gcs-card-body img { max-width: 100%; height: auto; border-radius: 6px; }
.gcs-card-body iframe { max-width: 100%; }
.gcs-page .gcs-more, .gcs-more { margin: 10px 0 0; font-weight: 700; }
.gcs-page .gcs-empty { padding: 16px 18px; border: 1px dashed var(--gcs-line); border-radius: 10px; background: var(--gcs-soft); text-align: center; color: var(--gcs-muted); }

/* Month page */
.gcs-head-month { justify-content: center; text-align: center; }
.gcs-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.gcs-day { margin: 0; }
.gcs-page .gcs-day-link { display: flex; gap: 12px; height: 100%; padding: 12px 14px; border: 1px solid var(--gcs-line); border-radius: 10px; background: #fff; color: var(--gcs-ink); text-decoration: none; }
.gcs-page .gcs-day-link:hover, .gcs-page .gcs-day-link:focus { border-color: var(--gcs-orange); }
.gcs-day-num { flex: 0 0 38px; height: 38px; border-radius: 8px; background: var(--gcs-navy); color: #fff; font-weight: 800; font-size: 17px; display: grid; place-items: center; }
.gcs-day-empty .gcs-day-num { background: #b9c7d6; }
.gcs-day-text { min-width: 0; display: grid; gap: 2px; font-size: 14px; }
.gcs-day-titles { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--gcs-navy); }
.gcs-day-empty .gcs-day-titles { color: var(--gcs-muted); font-weight: 400; }
.gcs-day-extra { color: var(--gcs-muted); font-size: 13px; }

/* Event details */
.gcs-facts { display: grid; gap: 0; margin: 0 0 18px; padding: 6px 18px; border: 1px solid var(--gcs-line); border-left: 6px solid var(--gcs-orange); border-radius: 10px; background: var(--gcs-soft); }
.gcs-facts > div { display: flex; gap: 14px; padding: 8px 0; border-top: 1px solid var(--gcs-line); }
.gcs-facts > div:first-child { border-top: 0; }
.gcs-facts dt { flex: 0 0 90px; margin: 0; font-weight: 700; color: var(--gcs-navy); }
.gcs-facts dd { margin: 0; min-width: 0; }

@media (max-width: 560px) {
	.gcs-head { padding: 14px; gap: 12px; }
	.gcs-badge { flex-basis: 54px; height: 60px; }
	.gcs-badge b { font-size: 26px; line-height: 38px; }
	.gcs-card { padding: 14px; }
	.gcs-nav { justify-content: center; }
	.gcs-facts > div { flex-direction: column; gap: 2px; }
	.gcs-facts dt { flex: none; }
}
