/* Bridge layout + homepage helpers for React (header uses native custom element tags) */

/* Lunexo wordmark — overrides Semrush SVG in header.css */
srf-header-2026 #srf-header .srf-header__logo.pr-site-logo,
srf-header-2026 .srf-header__mobile-menu-logo.pr-site-logo,
a.pr-site-logo.pr-site-logo--mobile {
  align-items: center;
  background: none !important;
  background-image: none !important;
  block-size: auto !important;
  display: inline-flex !important;
  inline-size: auto !important;
  min-block-size: 28px;
  text-decoration: none;
}

.pr-site-logo .lunexo-logo,
.pr-site-logo--mobile .lunexo-logo {
  pointer-events: none;
}

.srf-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "notification"
    "header"
    "body";
  grid-template-rows: auto auto 1fr;
  min-height: 100vh;
  width: 100%;
}

html,
body {
  width: 100%;
  overflow-x: clip;
}

.srf-layout__notification {
  grid-area: notification;
}

.srf-layout__header {
  grid-area: header;
  display: contents;
}

.srf-layout-main-content-wrapper {
  grid-area: body;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "body" "footer";
  grid-template-rows: 1fr max-content;
  width: 100%;
  min-width: 0;
}

.srf-layout__body {
  grid-area: body;
}

.srf-layout__footer {
  grid-area: footer;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, Lazzer, Ubuntu, system-ui, sans-serif;
  background: #fff;
  color: #181e15;
}

/* Mobile header menu content */
#srf-header-mobile-menu-content .srf-header__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
}

.srf-header__mobile-dropdown {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 0;
}

.srf-header__mobile-dropdown summary {
  cursor: pointer;
  font-weight: 500;
  padding: 8px 0;
}

.srf-header__mobile-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0 0 8px 12px;
}

.srf-header__mobile-dropdown a {
  display: block;
  padding: 6px 0;
  text-decoration: none;
  color: inherit;
}
