/* Trekific — site.css
 *
 * Hand-written, no preprocessor. Values are the WordPress site's, measured
 * from the live GeneratePress/GenerateBlocks render on 2026-09-13 and recovered
 * from its CSS, not guessed. The palette tokens below are the theme's global
 * colours, unchanged.
 *
 * Two forced departures, both contrast failures on the original:
 *  - Inline text links were --accent on white: 2.6:1. They are --contrast now
 *    (10.9:1) with the dotted underline the theme already used, so every
 *    colour on the page is still from the original palette.
 *  - Button and category-button hover was --contrast text on --accent: 4.43:1,
 *    under the 4.5 floor for 18px text. Hover text is --base (black), 8.1:1.
 *    The nav hover is black on --accent too: the menu link is 22px light
 *    (2026-09-14), which is not large text, so --contrast would fail.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2");
  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;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  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;
}

:root {
  --contrast: #28366a;
  --contrast-2: #576183;
  --contrast-3: #b0c4db;
  --base: #000000;
  --base-2: #efeff4;
  --base-3: #ffffff;
  --accent: #db9111;
  --grey: #f2f2f2;
  --rule-light: #808080;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  color: var(--base);
  background: var(--base-3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0 0 20px;
  color: var(--contrast);
  letter-spacing: -1px;
  line-height: 1.2;
  overflow-wrap: break-word;
}
h1 { font-size: 50px; font-weight: 800; }
h2 { font-size: 30px; font-weight: 700; }
h3 { font-size: 29px; font-weight: 400; }

p, ul, ol { margin: 0 0 1.5em; }
ul, ol { padding-left: 1.5em; }

a { color: var(--contrast); text-decoration: none; }
a:hover { color: var(--base); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--base-3); color: var(--contrast);
  padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* Buttons ---------------------------------------------------------------- */

.button {
  display: inline-flex;
  padding: 15px 20px;
  border-radius: 5px;
  background: var(--contrast);
  color: var(--base-3);
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  text-transform: uppercase;
}
.button:hover, .button:focus-visible { background: var(--accent); color: var(--base); }

/* Rules ------------------------------------------------------------------ */

.rule { border: 0; border-top: 2px solid var(--contrast); margin: 40px 0; }
.rule--light { border-top-color: var(--rule-light); }

/* Header ----------------------------------------------------------------- */

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: var(--contrast);
  padding-left: 10px;
}

/* 60px logo with 5px above and below sets the bar at 70px; the menu link
   and mobile toggle use a 70px line-height so the hover ground fills it. */
.nav__logo { display: flex; align-items: center; padding: 5px 0; }
.nav__logo img { height: 60px; width: auto; }
.nav__logo:focus-visible { outline-color: var(--base-3); }

.nav__menu { display: flex; list-style: none; margin: 0; padding: 0; }
/* The right margin keeps the hover ground off the page edge. */
.nav__menu a {
  display: block;
  margin-right: 20px;
  padding: 0 20px;
  font-size: 22px;
  font-weight: 300;
  line-height: 70px;
  color: var(--base-2);
}
.nav__menu a:hover, .nav__menu a:focus-visible { background: var(--accent); color: var(--base); }
.nav__menu a[aria-current="page"] { background: var(--contrast-3); color: var(--contrast); }

.nav__toggle { display: none; }
.nav__icon { width: 1em; height: 1em; fill: currentColor; }
.nav__icon--close { display: none; }
.nav.is-open .nav__icon--open { display: none; }
.nav.is-open .nav__icon--close { display: block; }

/* The hamburger is only offered when the script that drives it is running;
   with JavaScript off the menu stays visible rather than hidden behind a
   button that does nothing. */
@media (max-width: 768px) {
  .js .nav__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 20px;
    padding: 0 20px;
    border: 0;
    background: transparent;
    color: var(--base-2);
    font: 300 22px/70px var(--font);
    cursor: pointer;
  }
  .js .nav__toggle:focus-visible { outline-color: var(--base-3); outline-offset: -3px; }
  .nav__menu { flex-basis: 100%; flex-direction: column; }
  .nav__menu a { margin-right: 0; line-height: 50px; }
  .js .nav__menu { display: none; }
  .js .nav.is-open .nav__menu { display: flex; }
}

/* Category bar ----------------------------------------------------------- */

.categories { padding: 0 50px; }
.categories ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-button {
  display: inline-flex;
  margin: 5px;
  padding: 5px;
  border: 2px solid var(--contrast);
  border-radius: 5px;
  background: var(--base-3);
  color: var(--contrast);
  line-height: 27px;
  text-transform: uppercase;
}
.cat-button:hover, .cat-button:focus-visible { background: var(--accent); color: var(--base); }
.cat-button[aria-current="page"] { background: var(--contrast-3); color: var(--contrast); }

@media (max-width: 768px) {
  .categories { padding: 0 20px; }
}

/* Layout ----------------------------------------------------------------- */

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.page { padding: 80px 40px 40px; }

@media (max-width: 768px) {
  .container { padding: 0 30px; }
  .page { padding: 30px 0 20px; }
  h1 { font-size: clamp(34px, 9vw, 50px); }
}

/* Prose: body copy links carry the theme's dotted underline. */
.page p a, .prose a, .listing__claim a { border-bottom: 1px dotted currentColor; }

/* Home ------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 488px;
  padding: 100px 100px 0;
}
/* The globe image has the WordPress site's 10% opacity baked in, so it is
   drawn at full opacity here and compresses far smaller. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(/assets/img/globe-and-flags.webp) center / cover no-repeat;
}
.hero__tagline mark { background: var(--accent); color: var(--contrast); }
.hero__cta { margin: 0; padding: 20px 0 40px; }

.home-new__title { padding-bottom: 20px; }

@media (max-width: 768px) {
  .hero { min-height: 0; padding: 50px 30px 10px; }
}

/* Cards ------------------------------------------------------------------ */

.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 -16px;
  padding: 0;
}
.card { flex: 0 0 100%; max-width: 100%; margin: 0 0 32px; padding: 0 16px; }

@media (min-width: 768px) {
  .cards--4 .card { flex-basis: 25%; max-width: 25%; }
  .cards--3 .card { flex-basis: 33.3333%; max-width: 33.3333%; }
}

.card__link { display: block; color: var(--contrast); }
.card__image {
  display: block;
  margin-bottom: 8px;
  border: 2px solid var(--contrast);
  background: var(--grey);
}
.card__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__link:hover .card__image, .card__link:focus-visible .card__image { border-color: var(--accent); }
.card__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.2;
}
.card__link:hover .card__title { color: var(--base); }
.card__status {
  display: inline-block;
  margin: 0 0 8px;
  padding: 0 6px;
  border: 1px solid var(--contrast);
  border-radius: 3px;
  color: var(--contrast);
  font-size: 14px;
  line-height: 22px;
  text-transform: uppercase;
}

/* Listing ---------------------------------------------------------------- */

.listing__grid { display: grid; grid-template-columns: 1fr; column-gap: 40px; }
@media (min-width: 768px) {
  .listing__grid { grid-template-columns: 1fr 1fr; }
}

.listing__image { margin: 0 0 32px; border: 2px solid var(--contrast); background: var(--grey); }
.listing__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.listing__visit { margin: 0 0 32px; text-align: center; }
.listing__closed { margin: 0 0 32px; text-align: center; }
.listing__closed span {
  display: inline-block;
  padding: 13px 20px;
  border: 2px solid var(--contrast);
  border-radius: 5px;
  color: var(--contrast);
  font-weight: 600;
  line-height: 27px;
  text-transform: uppercase;
}
.listing__body h1 { margin-bottom: 32px; }
.listing__claim { text-align: center; }
.similar__title { font-size: 29px; font-weight: 400; }

/* Footer ----------------------------------------------------------------- */

.footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  column-gap: 40px;
  padding: 40px 150px 20px;
  background: var(--base-2);
  color: var(--contrast);
  font-size: 16px;
}
.footer__logo { display: inline-block; margin-bottom: 15px; }
.footer__logo img { width: 292px; }
.footer__links { list-style: none; margin: 0 0 24px; padding: 0; }
.footer a { color: var(--contrast); border-bottom: 1px dotted currentColor; }
.footer .footer__logo { border-bottom: 0; }
.footer a:hover { color: var(--base); }

.copyright {
  padding: 20px 30px;
  background: var(--contrast);
  color: var(--base-2);
  font-size: 15px;
  text-align: center;
}
.copyright p { margin: 0; }

@media (max-width: 1024px) {
  .footer { padding-left: 100px; padding-right: 100px; }
}
@media (max-width: 767px) {
  .footer { grid-template-columns: 1fr; padding: 40px 20px 20px; }
  .footer__logo img { width: 240px; }
}
