.topline.kanyi-menu-topline {
  display: flex; justify-content: space-between; gap: 12px; margin: 0;
  padding: 7px 4%; background: #4c2939; color: #fff; font: 700 10px/1.4 Arial, sans-serif;
  letter-spacing: .13em;
}
.topline.kanyi-menu-topline a { color: inherit; text-decoration: none; white-space: nowrap; }
header.kanyi-main-header {
  box-sizing: border-box; position: sticky; top: 0; z-index: 15; display: grid;
  grid-template-columns: clamp(140px, 15.75vw, 300px) minmax(0, 1fr) max-content;
  align-items: center; gap: 16px; min-height: 83px; margin: 0;
  padding: 14px 4%; border: 0; border-bottom: 1px solid #dbd1c9;
  background: #faf7f2f5; backdrop-filter: blur(12px);
}
header.kanyi-main-header > a.brand { display: block; width: 100%; max-width: none; margin: 0; }
header.kanyi-main-header > a.brand > img { display: block; width: 100%; height: auto; }
header.kanyi-main-header > nav[aria-label="Principal"] {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 7px clamp(9px, .73vw, 14px); width: 100%; order: 0; padding: 0; border: 0; margin: 0;
}
header.kanyi-main-header > nav[aria-label="Principal"] > a {
  padding: 3px 0; color: #302b2b; font: 400 clamp(13px, .84vw, 16px)/1.25 Georgia, "Times New Roman", serif;
  white-space: nowrap; text-decoration: none; text-underline-offset: 4px;
}
header.kanyi-main-header > nav[aria-label="Principal"] > a:is(:hover, :focus-visible, [aria-current="page"]) { text-decoration: underline; }
header.kanyi-main-header > a.button.small {
  display: flex; align-items: center; justify-content: center; padding: 11px 17px; min-height: 44px;
  margin: 0; border: 0; border-radius: 4px; background: #4c2939; color: #fff;
  font: 700 12px/1.35 Arial, sans-serif; white-space: nowrap; text-decoration: none;
}
@media (max-width: 1399px) {
  header.kanyi-main-header { grid-template-columns: minmax(0, 1fr) max-content; gap: 10px 16px; }
  header.kanyi-main-header > a.brand { max-width: 220px; }
  header.kanyi-main-header > nav[aria-label="Principal"] { grid-column: 1 / -1; grid-row: 2; }
  header.kanyi-main-header > a.button.small { grid-column: 2; grid-row: 1; }
}
@media (max-width: 760px) {
  .topline.kanyi-menu-topline { font-size: 8px; letter-spacing: .07em; }
  .topline.kanyi-menu-topline a { display: inline; }
  header.kanyi-main-header { position: relative; gap: 8px 12px; min-height: 0; padding: 10px 4%; }
  header.kanyi-main-header > a.brand { max-width: 180px; }
  header.kanyi-main-header > nav[aria-label="Principal"] { gap: 5px 12px !important; }
  header.kanyi-main-header > a.button.small { padding: 9px 11px; font-size: 11px; }
}
