/* ===============================
   Fonts — Borna (Self-hosted)
   =============================== */

@font-face {
  font-family: "Borna";
  src:
    url("../fonts/borna/borna-regular-webfont.woff2") format("woff2"),
    url("../fonts/borna/borna-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Borna";
  src:
    url("../fonts/borna/borna-bold-webfont.woff2") format("woff2"),
    url("../fonts/borna/borna-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===============================
   Header — remove global padding
   =============================== */

header.wp-block-template-part {
  padding: 0;
}

header.wp-block-template-part > .wp-block-group {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ===============================
   Top-left header image
   =============================== */

header.wp-block-template-part .lx-template-image {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
}

header.wp-block-template-part .lx-template-image .wp-block-image {
  margin: 0;
}

header.wp-block-template-part .lx-template-image .wp-block-image img {
  display: block;
  margin: 0;
}



/* ===============================
   Heading weight — Borna
   =============================== */

.lxtourimpact h1,
.lxtourimpact h2 {
  font-weight: 700;
}

.lxtourimpact h3,
.lxtourimpact h4,
.lxtourimpact h5,
.lxtourimpact h6 {
  font-weight: 400;
}

/* ===============================
   Page title (template H1)
   =============================== */

.wp-block-post-title {
  font-family: "Borna", Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}


/* ===============================
   LX Tour Impact Styles
   =============================== */


.lxtourimpact {
  --lx-black: #0f172a;
  --lx-blue: #3777FF;
  --lx-gray: #475569;
  --lx-light: #eef3ff; /* derived from #3777FF */
  --lx-border: rgba(15, 23, 42, 0.12);

  font-family: Arial, Helvetica, sans-serif;
}

.lxtourimpact h1,
.lxtourimpact h2,
.lxtourimpact h3,
.lxtourimpact h4 {
  font-family: "Borna", Arial, Helvetica, sans-serif;
}

.lxtourimpact .lx-subtitle {
  font-family: "Borna", Arial, Helvetica, sans-serif;
}

/* -------- Sections -------- */

.lxtourimpact .lx-section {
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.lxtourimpact .lx-section--alt {
  background: var(--lx-light);
  border-top: 2px solid var(--lx-border);
  border-bottom: 2px solid var(--lx-border);
}

/* Alt section WITHOUT background */
.lxtourimpact .lx-section--alt.lx-section--neutral {
  background: #f2f2f2;
}

/* ===============================
   Vertical rhythm between sections
   =============================== */

.lxtourimpact .lx-section {
  margin-top: clamp(2.5rem, 5vw, 3rem);
}

/* ===============================
   ALT sections — self spacing
   (Group blocks, constrained)
   =============================== */

.lxtourimpact .lx-section--alt {
  padding-top: clamp(2.5rem, 5vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3rem);
}



/* -------- Hero -------- */

.lxtourimpact .lx-hero {
  text-align: left;
}

.lxtourimpact .lx-hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: var(--lx-black);
}

.lxtourimpact .lx-subtitle {
  font-size: 1.75rem;
  line-height: 1.15;
  color: var(--lx-blue);
}

.lxtourimpact .lx-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

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

.lxtourimpact .lx-card {
  padding: 1.25rem;
  border: 1px solid var(--lx-border);
  border-radius: 1rem;
  background: #fff;
  height: 100%;
}

/* -------- Icons / Images -------- */

.lxtourimpact .lx-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.lxtourimpact .lx-icon img {
  width: 22px;
  height: 22px;
}

.lxtourimpact .lx-icon svg {
  width: 22px;
  height: 22px;
  stroke: #000;
  fill: #3777FF;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
/* -------- Social Icons -------- */

.lxtourimpact a.lx-icon--social {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  background: #3777FF;
  color: #fff !important;
  border-radius: 0.5rem;

  text-decoration: none;
}

.lxtourimpact a.lx-icon--social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.lxtourimpact a.lx-icon--social:hover {
  background: #2f66e0;
  transform: translateY(-1px);
}

.lxtourimpact a.lx-icon--social:focus-visible {
  outline: 2px solid #3777FF;
  outline-offset: 2px;
}




/* -------- Team -------- */

.lxtourimpact .lx-person {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: center;
}

.lxtourimpact .lx-avatar img {
  border-radius: 1rem;
}

/* -------- Logos -------- */

.lxtourimpact .lx-logos img {
  max-height: 60px;
  width: auto;
  margin: auto;
  display: block;
  opacity: 0.85;
}

/* Base button */
.lxtourimpact :where(.wp-element-button, .wp-block-button__link) {
  background-color: #3777FF !important;
  color: #fff !important;
  border: none;

  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
}

/* Hover = same lift as social icons */
.lxtourimpact :where(.wp-element-button, .wp-block-button__link):hover {
  background-color: #2f66e0 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Keyboard accessibility — same logic as icons */
.lxtourimpact :where(.wp-element-button, .wp-block-button__link):focus-visible {
  outline: 2px solid #3777FF;
  outline-offset: 2px;
}


