/* Reguły ramy. Źródło: rama/podstrony.html. */
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-var-400-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
.frame-header, .frame-footer {
  --frame-pad: max(clamp(20px, 6vw, 86px), calc(50% - 634px));
  background: #171815;
  color: #f6f3eb;
  font: 400 16px/1.5 Inter, Arial, sans-serif;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.frame-header *, .frame-footer *, .frame-header, .frame-footer { box-sizing: border-box; }
.frame-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0;
  margin: 0;
  border: 0;
}
.frame-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(48px, 8.5svh, 76px);
  padding-inline: var(--frame-pad);
  gap: 30px;
  border-bottom: 1px solid #474842;
}
.frame-header a, .frame-footer a, .frame-footer button {
  color: inherit;
  background: transparent;
  text-decoration: none;
}
.frame-header .frame-brand, .frame-footer .frame-brand {
  position: relative;
  display: inline-block;
  padding: 0;
  font: 700 clamp(25px, 4.2svh, 35px)/1 Inter, Arial, sans-serif;
  letter-spacing: -.08em;
  white-space: nowrap;
}
.frame-brand span { color: #ff542c; }
.frame-brand::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}
.frame-menu, .frame-footnav, .frame-offers {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 43.2px);
  font-size: 15px;
  font-weight: 500;
}
.frame-menu a, .frame-footer nav a, .frame-details :is(a,button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}
.frame-header .frame-reach {
  gap: 16px;
  padding: 8px 16px;
  border: 1px solid #696a62;
  border-radius: 99px;
}
.frame-reach svg {
  flex: none;
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.frame-header nav a:hover, .frame-footer nav a:hover, .frame-header a[aria-current], .frame-footer a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.frame-menu a[aria-current], .frame-footnav a[aria-current] { text-decoration-color: #ff542c; }
.frame-header .frame-reach:hover { background: #f6f3eb; color: #171815; text-decoration: none; }
.frame-footer {
  padding: 24px var(--frame-pad) 32px;
  border: 0;
  margin: 0;
  color: #c0c0b6;
  font-size: 13px;
}
.frame-footrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 18px;
  border-top: 1px solid #47483f;
}
.frame-footer .frame-brand { font-size: 26px; color: #f6f3eb; }
.frame-footnav, .frame-offers {
  flex-wrap: wrap;
  gap: 0 clamp(16px, 2vw, 28px);
  color: #f6f3eb;
  font-size: 14px;
}
.frame-offers { flex-basis: 100%; border-top: 1px solid #47483f; }
.frame-details { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 18px; }
.frame-details :is(a,button) {
  font: inherit;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.frame-skip {
  position: fixed;
  left: -9999px;
  top: 8px;
  z-index: 60;
  padding: 12px 16px;
  border-radius: 4px;
  background: #f6f3eb;
  color: #171815;
  font: 600 14px/1.5 Inter,Arial,sans-serif;
}
.frame-skip:focus { left: 8px; }
.frame-skip:focus-visible, .frame-header a:focus-visible, .frame-footer :is(a,button):focus-visible {
  outline: 3px solid #2971c9;
  outline-offset: 5px;
}
@media (max-width: 760px) {
  .frame-nav { height: clamp(48px, 8svh, 60px); gap: 12px; }
  .frame-header .frame-brand { font-size: clamp(24px, 4.5svh, 29px); }
  .frame-menu { gap: 20px; font-size: 14px; }
  .frame-menu .frame-wide { display: none; }
  .frame-header .frame-reach { padding: 6px 14px; gap: 8px; }
  .frame-footnav { order: -1; flex-basis: 100%; }
  .frame-details { justify-content: flex-start; }
}
@media (max-width: 340px) {
  .frame-menu { gap: 12px; }
  .frame-header .frame-reach { padding: 6px 10px; }
}
@media (max-width: 300px) { .frame-menu { font-size: 13px; } }
@media (orientation: landscape) and (max-height: 480px) { .frame-header { position: static; } }
