*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 32px), var(--container-max));
  margin-inline: auto;
}

.main-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rightbar-width);
  gap: var(--gap-main);
  padding: 22px 0 34px;
}

.main-content,
.rightbar {
  min-width: 0;
}

.home-section {
  margin-top: 30px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-title-row h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.02em;
}

.section-title-row a {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
}

body{overflow-x:hidden}.main-frame{max-width:100%;overflow:visible}.main-content{overflow:hidden}.home-section,.hero-grid,.article-grid,.video-grid{max-width:100%}
