﻿/* Masonpou — small layer on top of the site design system.
   Restores the nav/search behaviour that originally ran on third-party
   interactions, and styles article prose. No tracking. */

/* ---- brand mark in nav (text, replaces the SVG logo) ---- */
body { overflow-x: clip; }
.brandmark {
  font-family: inherit;
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .brandmark { font-size: 1.125rem; }
}

/* ---- nav: white bar by default, transparent over the home hero ---- */
.nav_component {
  background-color: var(--_colours---base--white, #fff);
  border-bottom: 1px solid color-mix(in srgb, var(--_colours---base--black, #1b1a1a) 12%, transparent);
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.nav_component.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.nav_component.nav--overlay:not(.is-scrolled) {
  background-color: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
.nav_logo_wrap.is-brand { color: var(--_colours---base--black, #1b1a1a); }
.nav_component.nav--overlay:not(.is-scrolled) .nav_logo_wrap.is-brand {
  color: var(--_colours---base--brand, #ffee54);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}

/* ---- category links in nav ---- */
.nav_categories {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-right: auto;
}
.nav_category_link {
  font-family: var(--_typography---font--secondary-family, inherit);
  font-size: .8125rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: inherit;
  opacity: .6;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity .2s ease;
}
.nav_category_link:hover { opacity: 1; }
.nav_category_link[aria-current="page"] {
  opacity: 1;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 currentColor;
}
@media screen and (min-width: 1100px) {
  .nav_container.u-vflex-stretch-between {
    flex-flow: row;
    align-items: center;
    gap: 2rem;
  }
  .nav_logo_contain {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    transform: none;
  }
  .nav_component.nav--overlay:not(.is-scrolled) .nav_logo_contain {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
  }
  .nav_layout { flex: 1; align-items: center; }
  .nav_main_wrap { display: none; }
  .nav_component.nav--overlay:not(.is-scrolled) .nav_main_wrap { display: block; }
  .nav_categories {
    margin-left: 0;
    opacity: 1;
    transform: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  .nav_component.nav--overlay:not(.is-scrolled) .nav_categories {
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
  }
  .nav_logo_wrap.is-brand .brandmark { font-size: 1.5rem; }
  .nav_component.nav--overlay:not(.is-scrolled) .nav_logo_wrap.is-brand .brandmark {
    font-size: 2rem;
  }
}
@media screen and (max-width: 1099px) {
  .nav_categories { display: none; }
  .nav_container.u-vflex-stretch-between {
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .nav_logo_contain {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
  }
}
@media screen and (min-width: 1100px) and (max-width: 1279px) {
  .nav_container.u-vflex-stretch-between { gap: 1.25rem; }
  .nav_categories { gap: 1rem; }
  .nav_category_link { font-size: .75rem; letter-spacing: .04em; }
}

/* ---- current page in nav ---- */
.nav_dropdown_text_wrap[aria-current="page"] .nav_dropdown_label {
  opacity: 1;
  font-weight: var(--_typography---font--primary-semibold, 600);
}

/* ---- nav mega-menu open state ---- */
.nav_main_wrap.is-active .nav_menu_wrap { pointer-events: auto; }
.nav_main_wrap.is-active .nav_menu_contain {
  opacity: 1;
  pointer-events: auto;
}

/* ---- search overlay ---- */
.nav_search_wrap {
  top: 100%;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--_colours---base--black);
  border-radius: 0 0 var(--radius--small) var(--radius--small);
  background: var(--_colours---base--cream);
  box-shadow: 0 1.5rem 2rem rgba(0, 0, 0, .12);
  transition: opacity .25s;
}
.nav_search_wrap.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.nav_search_wrap.is-open .nav_search_component { pointer-events: auto; }
.nav_search_wrap.is-open .nav_search_results_wrap { visibility: visible; opacity: 1; height: auto; overflow: visible; }

.nav_search_contain { padding: 0 clamp(1rem, 3vw, 2.5rem); }
.nav_search_component { background: transparent; border-radius: 0; }
.nav_search_header { height: auto; align-items: center; gap: 1rem; }
.nav_search_bar {
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: .75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--_colours---base--black) 25%, transparent);
}
.nav_search_input {
  flex: 1;
  min-width: 0;
  height: auto;
  padding: .9rem 0;
  background: transparent;
  border: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
}
.nav_search_clear_contain { position: static; height: auto; padding: 0; flex: none; }
.nav_search_clear_wrap {
  border: 0;
  border-radius: var(--radius--round, 999px);
  background: var(--_colours---base--black);
  color: var(--_colours---base--white);
  padding: .65rem 1.4rem;
  cursor: pointer;
}
.nav_search_clear_wrap:hover { opacity: .85; }
.nav_search_close {
  flex: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius--round, 999px);
  background: transparent;
  color: var(--_colours---base--black);
}
.nav_search_close .nav_toggle_icon.is2 { opacity: 1; }
.nav_search_close:hover { background: rgba(27, 26, 26, .07); }
.nav_search_results_wrap { padding: .25rem 0 .5rem; }
.nav_search_results_padding { display: none; }
.nav_search_results_wrap,
.nav_search_results_wrap li { list-style: none; margin: 0; }
.nav_search_results_wrap li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .7rem .25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--_colours---base--black) 12%, transparent);
  color: inherit;
  text-decoration: none;
}
.nav_search_results_wrap li a:hover { background: rgba(27, 26, 26, .04); }
.nav_search_results_wrap li a small { opacity: .6; white-space: nowrap; }
@media screen and (max-width: 600px) {
  .nav_search_clear_text { display: none; }
  .nav_search_clear_wrap { padding: .8rem; }
  .nav_search_clear_wrap::after { content: "Go"; }
}

/* ---- page top padding for non-home pages (nav is fixed) ---- */
.page-pad { padding-top: calc(var(--nav--height, 3.125rem) + 3.5rem); }

/* ---- hero stacking (original relied on JS-driven positioning) ---- */
.header_main_wrap { position: relative; overflow: hidden; }
.header_main_title_list { position: relative; z-index: 3; }
.header_main_thumbs_list { position: relative; z-index: 3; }
.header_main_visual_list { z-index: 0; }
.header_main_title { color: var(--_colours---base--brand); text-shadow: 0 1px 24px rgba(0,0,0,.35); font-size: clamp(1.9rem, 3.1vw, 2.75rem); max-width: 24ch; }
.header_main_title_paragraph { color: var(--_colours---base--brand); font-size: clamp(1.05rem, 1.5vw, 1.5rem); }
@media screen and (max-width: 767px) {
  .header_main_thumbs_list { width: 100%; gap: .5rem; }
  .header_main_thumbs_button { flex: 1; width: auto; height: auto; }
}

/* ---- shared bits ---- */
.crumbs { font-size: .875rem; margin-bottom: 1rem; }
.crumbs a { text-decoration: underline; }
.toc { margin: 0 0 2rem; padding: 1.25rem 1.5rem; border: 1px solid var(--_colours---base--black); border-radius: var(--radius--small, 6px); }
.toc ol { margin: .75rem 0 0 1.1rem; }
.toc li { margin: 0 0 .35rem; }
.latest_wrap { padding: 3rem 0; }

/* ---- article body ---- */
.prose { max-width: 46rem; margin: 0 auto; font-size: 1.125rem; line-height: 1.75; }
.prose h2 { font-size: 1.75rem; line-height: 1.2; margin: 2.75rem 0 1rem; }
.prose h3 { font-size: 1.35rem; margin: 2rem 0 .75rem; }
.prose p { margin: 0 0 1.35rem; }
.prose ul, .prose ol { margin: 0 0 1.35rem 1.25rem; padding: 0; }
.prose li { margin: 0 0 .5rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose figure { margin: 2.25rem 0; }
.prose figure img { width: 100%; height: auto; border-radius: var(--radius--small, 6px); display: block; }
.prose figcaption { font-size: .875rem; color: #5a5a5a; margin-top: .625rem; }
.prose blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--_colours---base--brand);
  background: var(--_colours---base--cream);
  font-size: 1.375rem;
  line-height: 1.4;
}
.prose blockquote cite { display: block; margin-top: .75rem; font-size: .875rem; font-style: normal; color: #5a5a5a; }
.prose .keyfacts { margin: 2rem 0; padding: 1.5rem; border: 1px solid var(--_colours---base--black); border-radius: var(--radius--small, 6px); }
.prose .keyfacts h2 { margin-top: 0; }
.prose .keyfacts dt { font-weight: 600; }
.prose .keyfacts dd { margin: 0 0 .75rem; }

/* article header bits */
.article-header { padding-top: calc(var(--nav--height, 3.125rem) + 4rem); }
.article-tag { width: fit-content; margin-bottom: .9rem; }
.article-title { max-width: 42ch; margin: 0 0 1.1rem; }
.article-meta { color: #5a5a5a; font-size: .9375rem; display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

/* page headers (article/category/legal/sitemap).
   sections.min.css trims heading boxes with negative-margin ::before/::after
   for Webflow's gap-based layouts; our headers use normal flow, so the trim
   makes the h1 box shorter than its glyphs and the next line overlaps.
   Turn the trim off inside .page-head and set explicit spacing instead. */
.page-head :is([class*="u-text-style-"])::before,
.page-head :is([class*="u-text-style-"])::after { content: none; }
.page-head .crumbs { font-size: .875rem; color: #5a5a5a; margin-bottom: 1.1rem; }
.page-head .crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.page-head h1 { margin: 0 0 .75rem; }
.page-head .u-text-style-h5 { margin: 0 0 2.5rem; }

/* ---- back to top ---- */
.backtop {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 2.75rem; height: 2.75rem; border: 1px solid var(--_colours---base--black);
  border-radius: 999px; background: var(--_colours---base--white); color: var(--_colours---base--black);
  cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center; padding: 0; line-height: 1;
}
.backtop.is-visible { opacity: 1; visibility: visible; }

/* ---- image fit (site.min.css omits object-fit on these classes) ---- */
.g_visual_img,
.header_main_visual_img,
.header_main_thumbs_img,
.latest_item_visual,
.g_card_visual,
.g_article_visual { object-fit: cover; }

/* ---- homepage hero carousel ---- */
.header_main_visual_wrap { width: 100%; height: 100%; }
.header_main_thumbs_button { position: relative; cursor: pointer; }

/* ---- homepage extra bands (friedegg rhythm: green, dark, yellow) ---- */
.kz-more {
  display: inline-block;
  padding-bottom: .2rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.kz-more:hover { opacity: .7; }
.kz-band_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

/* ---- big feature (photo + caption), mirrors friedegg fvideo/podcast lead ---- */
.kz-feature { display: block; width: 100%; color: inherit; text-decoration: none; }
.kz-feature_media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-radius: var(--radius--small);
  background: color-mix(in srgb, currentColor 15%, transparent);
}
.kz-feature_media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.kz-feature:hover .kz-feature_media img { transform: scale(1.02); }
.kz-feature_body { padding-top: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.kz-feature_tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.kz-feature_title { font-weight: 500; margin: 0; max-width: 26ch; }
.kz-feature_date { opacity: .8; }

/* ---- recent guides (cream cards) ---- */
.kz-recent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; width: 100%; }
.kz-recent {
  display: flex;
  flex-direction: column;
  background: var(--_colours---base--cream);
  color: var(--_colours---base--black);
  border-radius: var(--radius--small);
  padding: .75rem;
  text-decoration: none;
  gap: .85rem;
}
.kz-recent_img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius--xsmall, .4rem); display: block; }
.kz-recent_body { display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.kz-recent_tag { color: var(--_colours---base--maroon); font-weight: 500; }
.kz-recent_title { margin: 0; }
.kz-recent_more { margin-top: auto; padding-top: .5rem; text-decoration: underline; text-underline-offset: .2em; }

/* ---- dark band: about + most-read rows ---- */
.kz-dark_split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); width: 100%; }
.kz-eyebrow { opacity: .6; margin-bottom: .85rem; }
.kz-dark_about p { margin: 0; max-width: 40ch; }
.kz-rows { border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.kz-row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  color: inherit;
  text-decoration: none;
}
.kz-row_num { opacity: .5; }
.kz-row_title { margin: 0; }
.kz-row:hover .kz-row_title { color: var(--_colours---base--brand); }
.kz-row_meta { opacity: .6; white-space: nowrap; }

/* ---- archive: photo cards with gradient caption ---- */
.kz-arch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); width: 100%; }
.kz-arch { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius--small); color: var(--_colours---base--white); text-decoration: none; }
.kz-arch_img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.kz-arch:hover .kz-arch_img { transform: scale(1.03); }
.kz-arch_body {
  position: absolute;
  inset: auto 0 0;
  padding: 4rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.kz-arch_tag { opacity: .75; }
.kz-arch_title { margin: 0; }

@media screen and (max-width: 991px) {
  .kz-recent-grid, .kz-arch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kz-dark_split { grid-template-columns: 1fr; }
}
@media screen and (max-width: 600px) {
  .kz-recent-grid, .kz-arch-grid { grid-template-columns: 1fr; }
  .kz-feature_media { aspect-ratio: 4 / 3; }
  .kz-band_top { flex-wrap: wrap; }
}
.join_visual_wrap { flex: 0 0 42%; align-self: stretch; min-height: 22rem; overflow: hidden; }

/* ---- editorial about section (intro text + photos + cards) ---- */
.kz-story_wrap { background: var(--_colours---base--cream); padding: clamp(3rem, 6vw, 6rem) 0; }
.kz-story { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.kz-story_heading { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 500; margin: 1rem 0 1.5rem; max-width: 16ch; }
.kz-story_lead { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.55; margin: 0 0 1.75rem; }
.kz-story_aside_img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius--small); display: block; }
.kz-story_body.prose, .kz-story_trust_body.prose { max-width: none; margin: 0; }
.kz-story_body.prose > p:first-child { margin-top: 0; }
.kz-story_figure img { aspect-ratio: 16 / 9; object-fit: cover; }
.kz-story_cards { margin-top: clamp(2.5rem, 5vw, 4rem); }
.kz-story_cards .kz-recent { background: var(--_colours---base--white); }
.kz-story_trust { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid rgba(27, 26, 26, .15); }
.kz-story_trust_body.prose { max-width: 62rem; }
@media screen and (max-width: 900px) {
  .kz-story { grid-template-columns: 1fr; }
  .kz-story_aside_img { aspect-ratio: 16 / 9; }
  .kz-story_heading { max-width: none; }
}

/* ---- giant yellow footer reveal ---- */
.kz-reveal {
  background: var(--_colours---base--brand);
  color: var(--_colours---base--black);
  padding: clamp(2rem, 5vw, 4rem) 0 0;
  overflow: hidden;
}
.kz-reveal_inner { display: flex; flex-direction: column; }
.kz-reveal_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
}
.kz-reveal_top a { color: inherit; text-decoration: none; }
.kz-reveal_top a:hover { text-decoration: underline; }
.kz-reveal_word {
  font-family: var(--_typography---font--primary-family);
  font-weight: 700;
  font-size: clamp(3.2rem, 14.5vw, 13rem);
  line-height: .8;
  letter-spacing: -.05em;
  text-align: center;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .kz-reveal_top { flex-wrap: wrap; }
}

/* ---- newsletter form (dark panel) ---- */
/* ---- newsletter: text sits above the full-bleed photo (ref puts heading over image) ---- */
.newsletter_body { position: relative; z-index: 2; }
.newsletter_visual { z-index: 0; filter: brightness(.45); }
.newsletter_component .nl_form { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.newsletter_component .nl_input { flex: 1 1 14rem; min-width: 0; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius--small, 6px); background: rgba(255,255,255,.08); color: #fff; }
.newsletter_component .nl_input::placeholder { color: rgba(255,255,255,.55); }
.newsletter_component .nl_button { padding: .8rem 1.5rem; border: 0; border-radius: var(--radius--small, 6px); background: var(--_colours---base--brand, #f3550e); color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.newsletter_component .nl_msg { margin-top: .6rem; color: #dcecdb; font-size: .9375rem; }
.newsletter_component .nl_msg.is-error { color: #ffb4a2; }

/* ---- footer tidy ---- */
.footer_nav_layout.u-grid-custom { grid-template-columns: var(--grid-6); }
@media screen and (max-width: 991px) {
  .footer_nav_layout.u-grid-custom { grid-template-columns: var(--grid-3); }
}
@media screen and (max-width: 767px) {
  .footer_nav_layout.u-grid-custom { grid-template-columns: var(--grid-2); }
}
.footer_nav_text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.footer_nav_column li:first-child .footer_nav_text { font-weight: 600; }
@media screen and (min-width: 768px) {
  .footer_legal_list.u-hflex-left-center { justify-content: flex-end; }
}
@media screen and (max-width: 767px) {
  .footer_legal_list.u-hflex-left-center {
    max-width: 17rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
}

/* ---- floating WhatsApp contact button (bottom right) ---- */
.wa_fab {
  position: fixed;
  right: 1.25rem;
  bottom: 5.25rem;
  z-index: 92;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #22c15e;
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa_fab:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0, 0, 0, .32); }
.wa_fab_icon { display: inline-flex; align-items: center; justify-content: center; }

@media screen and (max-width: 480px) {
  .wa_fab { right: 1rem; bottom: 5rem; }
}
