/* Localist theme: layout, header, footer, hero, blog. Component styles for listings come from the Localist Directory plugin. */
/* Plus Jakarta Sans (variable), self-hosted */
@font-face {
  font-family: "Plus Jakarta Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Design tokens (shared with the Localist Directory plugin; the accent can be changed in the Customizer) */
:root {
  --ll-ink: #0f1b2d;
  --ll-ink-2: #334155;
  --ll-muted: #475569;
  --ll-line: #e2e8f0;
  --ll-line-strong: #cbd5e1;
  --ll-bg: #f4f6f8;
  --ll-surface: #ffffff;
  --ll-placeholder: #dce4ec;
  --ll-accent: #0b7a75;
  --ll-accent-dark: #095f5b;
  --ll-accent-tint: #e3f4f2;
  --ll-radius: 16px;
  --ll-maxw: 1264px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ll-ink);
  background: var(--ll-bg);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.88; }
:focus-visible { outline: 2px solid var(--ll-accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 12px; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: 22px; font-weight: 800; }
h3 { font-size: 18px; font-weight: 800; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--ll-ink); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: var(--ll-maxw); margin: 0 auto; padding: 0 24px; }
.page-body { padding-top: 24px; padding-bottom: 64px; }
.link { color: var(--ll-accent-dark); font-weight: 700; }
.small { font-size: 14px; }
.muted { color: var(--ll-muted); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-outline { background: #fff; border-color: var(--ll-line-strong); }
.btn-primary { background: var(--ll-accent); color: #fff; }
.btn-accent-outline { background: #fff; border-color: var(--ll-accent); color: var(--ll-accent-dark); }

/* Site header and footer */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--ll-line);
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  min-height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ll-ink-2);
  flex: 1 1 auto;
}
.site-footer {
  background: var(--ll-ink);
  color: #cbd5e1;
  margin-top: 40px;
}
.site-footer__inner {
  padding-top: 56px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.site-footer h3,
.site-footer strong {
  color: #fff;
}
.site-footer ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.site-footer__legal {
  border-top: 1px solid #334155;
  padding-top: 20px;
  font-size: 13px;
}

/* Hero and search */
.hero {
  background: var(--ll-ink);
  color: #fff;
}
.hero__inner {
  padding-top: 88px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 760px;
}
.hero p {
  font-size: 19px;
  color: #cbd5e1;
  max-width: 620px;
}

.section {
  padding-top: 56px;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.section-head h2 {
  font-size: 30px;
}
.cta-band {
  background: var(--ll-accent-tint);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 {
  font-size: 30px;
  max-width: 640px;
}


/* Hero chips and label colours on the dark hero */
.hero .ll-chips-hero { --ll-chips-ink: #f1f5f9; --ll-chips-line: #475569; --ll-chips-label: #cbd5e1; }
.hero .ll-chips-hero a { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid #475569; }
.hero .ll-chips-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero h1 { color: #fff; margin: 0; }
.hero p { margin: 0; }

/* Header details */
.site-header { position: relative; z-index: 10; }
.site-header .logo img { max-height: 40px; width: auto; }
.nav ul, .site-footer ul.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer ul.menu { flex-direction: column; gap: 10px; margin-top: 12px; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.header-actions .add-link { font-weight: 700; font-size: 14px; padding: 10px 12px; color: var(--ll-ink-2); }
.site-footer .grid-4 { display: grid; gap: 32px; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 15px; }
.site-footer p { margin: 12px 0 0; }
.section-head h2 { margin: 0; }
.section-head .link { font-size: 14px; }
.cta-band .row { gap: 12px; }
.cta-band p { margin: 8px 0 0; color: var(--ll-ink-2); }
.cta-band h2 { margin: 0; }
.home-content { padding-top: 56px; }

/* Blog and page content */
.entry { background: #fff; border: 1px solid var(--ll-line); border-radius: var(--ll-radius); padding: 32px; margin-bottom: 24px; }
.entry-title { font-size: 30px; margin-bottom: 8px; }
.entry-title a:hover { text-decoration: underline; }
.entry-meta { color: var(--ll-muted); font-size: 14px; margin-bottom: 16px; }
.entry-content { font-size: 17px; line-height: 1.7; color: var(--ll-ink-2); }
.entry-content a { color: var(--ll-accent-dark); text-decoration: underline; }
.entry-content h2, .entry-content h3 { color: var(--ll-ink); margin-top: 1.6em; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { border-left: 4px solid var(--ll-accent); margin: 1.5em 0; padding: 4px 0 4px 20px; color: var(--ll-ink); }
.alignwide { max-width: var(--ll-maxw); }
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--ll-muted); }
.posts-navigation, .post-navigation, .pagination { margin: 24px 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-weight: 700; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; padding: 0 14px; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--ll-line-strong); background: #fff; }
.pagination .page-numbers.current { background: var(--ll-accent); color: #fff; border-color: var(--ll-accent); }
.search-form { display: flex; gap: 8px; flex-wrap: wrap; }
.search-form input[type=search] { flex: 1 1 220px; min-height: 44px; padding: 0 14px; border: 1px solid var(--ll-line-strong); border-radius: 10px; font: inherit; }
.search-form input[type=submit] { min-height: 44px; padding: 0 22px; border-radius: 10px; border: 0; background: var(--ll-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.not-found { text-align: center; padding: 80px 0; }
.comments-area { background: #fff; border: 1px solid var(--ll-line); border-radius: var(--ll-radius); padding: 28px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comment-list .comment { border-top: 1px solid var(--ll-line); padding: 16px 0; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--ll-line-strong); border-radius: 10px; font: inherit; }
.comment-form .submit { min-height: 44px; padding: 0 22px; border-radius: 10px; border: 0; background: var(--ll-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.notice-box { background: #fef3c7; color: #92400e; border-radius: 12px; padding: 16px 20px; margin: 24px 0; font-weight: 600; }

/* Responsive */
@media (max-width: 1000px) {
  .site-footer .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  h1 { font-size: 28px; }
  .hero h1 { font-size: 36px; }
  .hero__inner { padding-top: 56px; padding-bottom: 56px; }
  .cta-band { padding: 28px; }
  .entry { padding: 22px; }
  .site-header__inner { gap: 8px 16px; flex-wrap: wrap; justify-content: space-between; }
  .nav { order: 3; flex: 1 1 100%; }
  .ll-js .nav { display: none; }
  .ll-js .nav.is-open { display: block; padding: 4px 0 12px; border-top: 1px solid var(--ll-line); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding: 12px 4px; font-size: 16px; }
  .ll-js .nav-toggle { display: inline-flex; }
  .header-actions { flex-wrap: nowrap; gap: 8px; margin-left: auto; }
  .header-actions .btn { padding: 10px 14px; font-size: 14px; min-height: 40px; }
}
@media (max-width: 480px) {
  .site-footer .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* Ad slots from the Localist Directory plugin */
.ad-row { margin-top: 24px; margin-bottom: 24px; }
.ad-row:empty { display: none; }
.ad-row--footer { margin-top: 40px; margin-bottom: 0; }

/* Mobile menu button and short button label */
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--ll-line-strong); border-radius: 10px; background: #fff; color: var(--ll-ink); cursor: pointer; }
.lbl-short { display: none; }
@media (max-width: 480px) {
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .hero h1 { font-size: 32px; }
  .container { padding-left: 16px; padding-right: 16px; }
}
