/* Whitehorse Concerts branding for listmonk public + login pages.
   Colours and type from https://whitehorseconcerts.com (Breakdance global-settings + Typekit kit xfe2hoo). */

@import url("/branding/fonts.css");

:root {
  --whc-teal: #106173;
  --whc-teal-dark: #0c4d5b;
  --whc-tint: #F0F9FE;
  --whc-black: #000000;
  --whc-hover: #1f1f1f;
  --whc-ink: #231f20;
  --whc-heading: #111827;
  --whc-text: #000000;
  --whc-muted: #6b7280;
  --whc-line: #e5e7eb;
  --whc-line-strong: #d1d5db;
  --whc-card: #ffffff;
  --whc-bg: #F0F9FE;
  --whc-font: greycliff-cf, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html, body {
  font-family: var(--whc-font) !important;
  background: var(--whc-bg) !important;
  color: var(--whc-text);
  margin: 0;
  min-height: 100%;
}

a { color: var(--whc-teal); }
a:hover { color: var(--whc-teal-dark); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--whc-black);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}
.skip:focus { left: 8px; top: 8px; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--whc-line);
}
.site-header .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  height: 56px;
  width: auto;
  display: block;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}
.nav-link {
  color: var(--whc-heading) !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}
.nav-link:hover { color: var(--whc-teal) !important; }
.btn-donate {
  display: inline-block;
  background: var(--whc-black);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 14px 24px;
  border-radius: 3px;
}
.btn-donate:hover { background: var(--whc-hover); color: #fff !important; }

.page-banner {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 16px 0;
}
.page-banner .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--whc-teal);
  font-weight: 600;
  margin-bottom: 8px;
}
.page-banner .eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whc-teal);
  display: inline-block;
}
.page-banner h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--whc-heading);
  font-weight: 700;
}
.page-banner .lead {
  margin: 0;
  color: var(--whc-muted);
  font-size: 16px;
  line-height: 1.5;
}

body.whc-branded .wrap > .header,
body.whc-branded footer.container { display: none; }
body.whc-branded .wrap > section > h2.whc-moved,
body.whc-branded section.login > h2.whc-moved,
body.whc-branded section > h2.whc-moved { display: none; }

body.whc-branded .container,
body.whc-branded .container.wrap,
body.whc-branded .wrap {
  max-width: 960px;
  margin: 20px auto 40px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body.whc-branded .wrap > section {
  background: var(--whc-card);
  border: 1px solid var(--whc-line);
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  padding: 22px 24px;
  max-width: 460px;
}
body.whc-branded .wrap > section:has(.archive),
body.whc-branded .wrap > section:has(ul.archive) {
  max-width: 640px;
}

body.whc-branded .login .center.small,
body.whc-branded .wrap .center.small {
  text-align: left;
  margin-top: 14px;
}

/* Forms and buttons on public pages */
button, .button, input[type="submit"] {
  font-family: var(--whc-font);
  border-radius: 3px !important;
  font-weight: 500;
}
section.login button[type="submit"],
.wrap button[type="submit"],
.wrap .button,
input[type="submit"] {
  background: var(--whc-black) !important;
  border: 0 !important;
  color: #fff !important;
  padding: 12px 24px;
}
section.login button[type="submit"]:hover,
.wrap button[type="submit"]:hover,
.wrap .button:hover,
input[type="submit"]:hover {
  background: var(--whc-hover) !important;
}

input[type="text"], input[type="email"], input[type="password"], select, textarea {
  font-family: var(--whc-font);
  border-radius: 3px;
  border-color: var(--whc-line-strong);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--whc-teal) !important;
  outline: 2px solid rgba(16, 97, 115, 0.25);
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--whc-teal);
  width: 16px;
  height: 16px;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--whc-line);
  color: var(--whc-heading);
  margin-top: auto;
}
.site-footer .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px 24px;
}
.footer-brand img {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}
.footer-brand p {
  margin: 0;
  color: var(--whc-muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 360px;
}
.site-footer h3 {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--whc-heading);
}
.site-footer a {
  display: block;
  color: var(--whc-heading);
  text-decoration: none;
  margin: 0 0 8px;
  font-size: 15px;
}
.site-footer a:hover { color: var(--whc-teal); }
.site-footer .addr, .site-footer .meta {
  color: var(--whc-muted);
  font-size: 15px;
  line-height: 1.5;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--whc-line);
  font-size: 13px;
  color: var(--whc-muted);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-bottom a { color: var(--whc-muted); font-size: 13px; display: inline; margin: 0; }
.footer-bottom a:hover { color: var(--whc-teal); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand img, .footer-brand img { height: 48px; }
}
@media (max-width: 650px) {
  .site-header .inner { flex-wrap: wrap; }
  .nav { width: 100%; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .site-header .inner { padding: 10px 14px; }
  .btn-donate { padding: 12px 18px; font-size: 14px; }
}
