@font-face {
  font-family: 'Inter';
  src: url('/resources/Storage%5CBranding%5Cstatic%5Cfonts%5CInter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/resources/Storage%5CBranding%5Cstatic%5Cfonts%5CInter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;

}

@font-face {
  font-family: 'Inter';
  src: url('/resources/Storage%5CBranding%5Cstatic%5Cfonts%5CInter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
========================================================================== */

/**
* Remove the margin in all browsers.
*/

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/**
* Render the `main` element consistently in IE.
*/

main {
  display: block;
}

/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
========================================================================== */

/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
========================================================================== */

/**
* Remove the gray background on active links in IE 10.
*/

a {
  background-color: transparent;
  text-decoration: none;
}

/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
* Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
========================================================================== */

/**
* Remove the border on images inside links in IE 10.
*/

img {
  border-style: none;
}

/* Forms
========================================================================== */

/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/

button,
input {
  /* 1 */
  overflow: visible;
}

/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/

button,
select {
  /* 1 */
  text-transform: none;
}

/**
* Correct the inability to style clickable types in iOS and Safari.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}

/**
* Remove the inner border and padding in Firefox.
*/

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
* Restore the focus styles unset by the previous rule.
*/

button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
* Correct the padding in Firefox.
*/

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
*    `fieldset` elements in all browsers.
*/

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/

progress {
  vertical-align: baseline;
}

/**
* Remove the default vertical scrollbar in IE 10+.
*/

textarea {
  overflow: auto;
}

/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/

[type='checkbox'],
[type='radio'] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}

/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
* Remove the inner padding in Chrome and Safari on macOS.
*/

[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
========================================================================== */

/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/

details {
  display: block;
}

/*
* Add the correct display in all browsers.
*/

summary {
  display: list-item;
}

/* Misc
========================================================================== */

/**
* Add the correct display in IE 10+.
*/

template {
  display: none;
}

/**
* Add the correct display in IE 10.
*/

[hidden] {
  display: none;
}

:root {
  --app-default-duration: 0.3s;
  --app-default-easing: ease-in-out;
  --color-dark: #1e1e1e;
  --color-red: #ff5454;
  --color-white: #fff;
  --color-primary: var(--color-dark);
  
  --color-light-grey: #f2f2f8;
  --color-grey: #3c3f4d;
  --color-blue-grey: #868da6;
}

.h1 {
  font-size: 74px;
  line-height: 74px;
  font-weight: 500;
  letter-spacing: -5%;
}

.h2 {
  font-size: 54px;
  line-height: 54px;
  font-weight: 500;
  letter-spacing: -5%;
}

.text-red {
  color: var(--color-red);
}

.text-l {
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -5%;
  font-style: medium;
}

.text-m {
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: -5%;
  font-style: regular;
}

.text-s {
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -4%;
}

.text-xs {
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -4%;
}

.text-xxs {
  font-size: 13px;
  line-height: 13px;
  letter-spacing: -5%;
}

@media screen and (max-width: 1340px) {
  .h1 {
    font-size: 64px;
    line-height: 64px;
    margin-block: 0.3em;
  }
  
  .h2 {
    font-size: 44px;
    line-height: 44px;
  }
  
  .text-l {
    font-size: 22px;
    line-height: 26px;
    
    font-style: medium;
  }
  
  .text-m {
    font-size: 16px;
    line-height: 22px;
  }
  
  .text-s {
    font-size: 14px;
    line-height: 20px;
  }
  
  .text-xs {
    font-size: 14px;
    line-height: 18px;
  }
  
  .text-xxs {
    font-size: 12px;
    line-height: 12px;
  }
}

@media screen and (max-width: 1199px) {
  .h1 {
    font-size: 54px;
    line-height: 56px;
    margin-block: 0.3em;
  }
  
  .h2 {
    font-size: 30px;
    line-height: 40px;
  }
  
  .text-l {
    font-size: 20px;
    line-height: 24px;
    
    font-style: medium;
  }
  
  .text-m {
    font-size: 14px;
    line-height: 20px;
  }
  
  .text-s {
    font-size: 13px;
    line-height: 16px;
  }
  
  .text-xs {
    font-size: 12px;
    line-height: 16px;
  }
  
  .text-xxs {
    font-size: 10px;
    line-height: 12px;
  }
}

:root {
  --line-height-default: 120%;
  
  --base-radius: 12px;
  
  --header-height: 92px;
  --x-offset: 64px;
  
  /* Боковые оффсеты страницы */
  --padding-section: 188px 90px;
  
  /* Максимальная ширина .wrapper */
  --wrapper-max-width: 2560px;
  --scrollbar-width: 15px;
  
  @media screen and (min-width: 1921px) {
    --header-height: 92px;
    --x-offset: 32px;
  }
  
  @media screen and (max-width: 1340px) {
    --header-height: 88px;
    --offset-x: 48px;
  }
  
  @media screen and (max-width: 1199px) {
    --header-height: 84px;
  }
  
  @media screen and (max-width: 767px),
    (max-width: 900px) and (orientation: landscape) {
    --header-height: 76px;
    --x-offset: 16px;
  }
}

body * {
  box-sizing: border-box;
}

body {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  line-height: var(--line-height-default);
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-white);
  color: black !important;
  
  &.no-scroll {
    overflow: hidden;
    @media screen and (min-width: 1025px) {
      padding-right: var(--scrollbar-width);
    }
  }
}

body.no-scroll {
  overflow: hidden;
  @media screen and (min-width: 1025px) {
    padding-right: var(--scrollbar-width);
  }
}

button {
  padding: 0;
  border: 0;
  background-color: transparent;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  
  &:active {
    color: inherit;
  }
}

button:focus,
button:active,
button:focus-visible {
  border-color: var(--color-grey);
  outline: var(--color-grey);
}

a:not(.btn) {
  color: var(--color-grey);
  outline: var(--color-dark);
}

a:not(.btn):not(.info-cards__link):hover {
  text-decoration: none;
  color: var(--color-red);
}

a:not(.btn):visited,
a:not(.btn):active {
  outline: none;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

section {
  position: relative;
  z-index: 5;
  padding-top: 160px;
}

.section__title {
  margin-inline: auto;
  text-align: center;
  max-width: 60%;
  margin-bottom: 116px;
}

@media screen and (max-width: 1340px) {
  section {
    padding-top: 100px;
  }
  
  .section__title {
    max-width: 70%;
    margin-bottom: 80px;
  }
}

@media screen and (max-width: 1199px) {
  section {
    padding-top: 80px;
  }
  
  .section__title {
    max-width: 90%;
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 767px),
  (max-width: 900px) and (orientation: landscape) {
  .section__title {
    max-width: 100%;
    margin-bottom: 40px;
  }
}

.dark-filter-img {
  position: relative;
}

.dark-filter-img:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.wrapper {
  display: block;
  width: 100%;
  max-width: 2560px;
  min-width: 320px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: var(--x-offset);
}

.btn {
  padding-inline: 24px;
  padding-block: 20px;
  border-radius: var(--base-radius);
  border: 2px solid var(--color-primary);
  background-color: var(--color-white);
  color: inherit;
  transition: background-color var(--app-default-duration)
    var(--app-default-easing),
    color var(--app-default-duration) var(--app-default-easing);
}

.btn--red {
  background-color: var(--color-red);
  color: var(--color-white) !important;
  border-color: var(--color-red);
}

.btn--red:hover {
  background-color: var(--color-white);
  color: var(--color-red) !important;
  border-color: var(--color-red);
  outline: var(--color-red);
}


.btn--light {
  background-color: var(--color-white);
  color: var(--color-red) !important;
  border-color: var(--color-red);
}

@media (any-hover: hover), (hover: hover) and (pointer: fine) {
  .btn--red:hover {
    background-color: var(--color-white);
    color: var(--color-red);
    border-color: var(--color-red);
    outline: var(--color-red);
  }
  
  .btn--light:hover {
    background-color: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
  }
}

.btn--red:focus,
.btn--red:active,
.btn--red:visible {
  background-color: var(--color-red) !important;
  color: var(--color-white) !important;
  border-color: var(--color-red) !important;
  outline: var(--color-red) !important;
}

.btn--light:focus {
  background-color: var(--color-white);
  color: var(--color-red) !important;
  border-color: var(--color-red);
}

.btn--light:active,
.btn--light:focus-visible {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
  outline: var(--color-red);
}

@media screen and (max-width: 767px),
  (max-width: 900px) and (orientation: landscape) {
  .btn {
    padding-inline: 14px;
    padding-block: 16px;
  }
}

.link {
  color: inherit;
  --bg-size: 0% 100%;
  --bg-size-hover: 100% 100%;
  --underline-height: 1px;
  background-image: linear-gradient(
    transparent calc(100% - var(--underline-height)),
    currentColor var(--underline-height)
    );
  background-repeat: no-repeat;
  background-size: var(--bg-size);
  display: inline;
  cursor: pointer;
  transition: background-size 0.4s var(--app-default-easing),
    color var(--app-default-duration) var(--app-default-easing),
    opacity var(--app-default-duration) var(--app-default-easing);
}

.link.link--underlined {
  --bg-size: 100% 100%;
  --bg-size-hover: 0% 100%;
}

@media (any-hover: hover), (hover: hover) and (pointer: fine) {
  .link:hover {
    background-size: var(--bg-size-hover);
  }
}

/* ------------------------------------------------------ ТОПЕР -------------------------------- */

/* Скрываем ненужные элементы */
.BaseMaster_searchBoxContainer {
  display: none !important;
}

.BaseMaster_logoContainer {
  height: 70px;
}

.pnlContainer_templatedHeader_logo_imgLogo {
  width: 80px;
  height: 35px;
  display: inline-block;
}

.BaseMaster_mainMenuContainer {
  height: 70px; 
  position: absolute;
  z-index: 6;
  border-radius: 0 0 var(--base-radius) var(--base-radius);
}

.header__wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  width: 90px;
  height: 40px;
}

.header__logo svg {
  width: 100%;
  height: 100%;
}

.header__btn {
  padding-inline: 50px;
  padding-block: 16px;
}

.BaseMaster_logoContainer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.PortalLogo_container {
  margin-left: 20px;
  
}

.BaseMaster_imgLogo {
  width: 90px;
  height: 40px;
  object-fit: contain;
}

@media screen and (max-width: 767px),
  (max-width: 900px) and (orientation: landscape) {
  .header__btn {
    padding-inline: 30px;
    padding-block: 12px;
  }
}

/* --------------------------------------- hero --------------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: calc(100vh - (var(--header-height) - var(--base-radius)));
  
  padding: 60px;
  color: var(--color-white);
  margin-top: 140px !important;
  /*margin-top: calc(var(--header-height) - var(--base-radius));*/
  display: flex;
}

.hero__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  
  width: 100%;
  gap: 143px;
  position: relative;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 40%;
  justify-content: center;
  align-items: flex-start;
  margin-inline: auto;
  text-align: center;
}

.hero-text__title {
  margin-inline: auto;
}

.hero-search {
  background-color: var(--color-light-grey);
  border-radius: var(--base-radius);
  padding-block: 64px;
  padding-inline: 45px;
  color: var(--color-primary);
  
  display: flex;
  flex-direction: row;
  gap: 194px;
  justify-content: space-between;
}

.hero-search__tlte {
  width: fit-content;
  max-width: 400px;
}

.hero-search__form {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.hero-search__form-btn {
  width: 150px;
  height: 80px;
  flex-shrink: 0;
}

.hero-search__form-wrapper {
  flex-shrink: 0;
  flex: 1;
}

.CHHeroBlock_searchBoxContainer {
  width: auto;
  flex: 1;
}

.CHHeroBlock_searchBoxContainer {
  width: 100% !important;
  flex: 1;
  height: 80px;
  border-radius: var(--base-radius) !important;
  border-color: transparent;
  padding-inline: 24px;
  padding-block: 20px;
  color: var(--color-grey) !important;
  
  box-sizing: border-box;
  transition: border-color var(--app-default-duration) var(--app-default-easing);
}

.CHHeroBlock_searchBoxContainer input {
  width: 100%;
  box-sizing: border-box;
}


.CHHeroBlock_searchBoxContainer:focus,
.CHHeroBlock_searchBoxContainer:focus-visible,
.CHHeroBlock_searchBoxContainer:focus-within {
  border-color: var(--color-grey) !important;
  outline: var(--color-grey) !important;
}

.CHHeroBlock_searchBox {
  width: 100%;
  height: 80px;
  border-radius: var(--base-radius);
  border-color: transparent;
  display: flex;
  justify-content: center;
  padding-inline: 24px;
  padding-block: 20px;
  color: var(--color-grey) !important;

  transition: border-color var(--app-default-duration) var(--app-default-easing);
}

.CHHeroBlock_searchBoxContainer input {
  width: 100%;
  box-sizing: border-box;
  padding: 20px 24px;
}

.hero-search__form-input__tags {
  color: var(--color-grey);
  margin-top: 16px;
}

@media screen and (max-width: 1340px) {
  .hero__wrapper {
    gap: 50px;
  }
  
  .hero-text {
    gap: 15px;
    max-width: 60%;
  }
  
  .hero-search {
    padding-block: 34px;
    padding-inline: 25px;
    gap: 90px;
    align-items: center;
  }
  
  .hero-search__tlte {
    max-width: 250px;
  }
}

@media screen and (max-width: 1199px) {
  .hero__wrapper {
    justify-content: center;
  }
  
  .hero-search {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  
  .hero-search__tlte {
    max-width: 90%;
  }
}

@media screen and (max-width: 767px),
  (max-width: 900px) and (orientation: landscape) {
  .hero {
    padding: 0;
  }
  
  .hero-text {
    max-width: unset;
  }
  
  .hero__wrapper {
    gap: 30px;
    justify-content: flex-end;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    justify-content: center;
    margin-top: 30%;
  }
  
  .hero-search__tlte {
    max-width: 100%;
  }
  
  .hero-search__form {
    flex-direction: column;
  }
  
  .hero-search__form-btn {
    height: unset;
    width: unset;
  }
  
  .CHHeroBlock_searchBoxContainer {
    width: 100%;
    height: 60px;
    padding-inline: 20px;
    padding-block: 16px;
  }
}

/* ------------------------------------------------------  карточки -------------------------------------- */

.info-cards__list {
  --gap: 16px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start; /* Изменено с space-between */
  flex-wrap: wrap;
  gap: var(--gap);
}

.info-cards__item {
  width: calc((100% - 2 * var(--gap, 16px)) / 3); /* 3 карточки в ряд */
  background-color: var(--color-light-grey);
  border-radius: var(--base-radius);
  padding: calc(var(--gap, 16px) * 3);
  height: auto;
  color: var(--color-dark);
  display: flex; /* Чтобы карточка растягивалась */
}

.info-cards__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.info-cards__item-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Распределяем контент */
  height: 100%;
  width: 100%;
}

.info-cards__item-text {
  flex-grow: 1; /* Текст занимает доступное пространство */
}

.info-cards__item-title {
  margin-bottom: 20px;
}

.info-cards__item-subtitle {
  margin-bottom: 30px;
}

/* Исправлено: изменен класс с .info-cards__item-decor на .info-cards__item-icon */
.info-cards__item-icon {
  max-width: calc(100% / 2.5);
  max-height: 174px;
  height: 100%;
  width: 100%;
  margin-left: auto;
  margin-top: auto; /* Иконка прижимается к низу */
  display: flex;
  align-items: flex-end;
}

.info-cards__item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 20px 14px 0;
}

.info-cards__item-icon svg {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  padding: 20px 14px 0;
  margin-left: auto;
}

/* Адаптация для планшетов */
@media screen and (max-width: 1199px) {
  .info-cards__list {
    --gap: 14px;
  }
  
  .info-cards__item {
    width: calc((100% - var(--gap, 14px)) / 2); /* 2 карточки в ряд */
    padding: calc(var(--gap, 14px) * 2);
  }
  
  .info-cards__item-icon {
    max-width: calc(100% / 3);
    max-height: 110px;
  }
}

/* Адаптация для мобильных */
@media screen and (max-width: 767px),
  (max-width: 900px) and (orientation: landscape) {
  .info-cards__list {
    flex-direction: column;
  }
  
  .info-cards__item {
    width: 100%; /* 1 карточка в ряд */
    padding: calc(var(--gap, 16px) * 1.5);
    position: relative;
    z-index: 1;
  }
  
  .info-cards__item-icon {
    max-width: calc(50%);
    max-height: unset;
  }
}

/* ------------------------------------------------------ новости -------------------------------------- */


.news__card {
  --padding-card: 48px;
  position: relative;
  width: 100%;
  display: flex;
  gap: 60px;
  background-color: var(--color-light-grey);
  border-radius: var(--base-radius);
}

.news__card-content--left {
  position: relative;
  width: 63%;
  flex-shrink: 0;
  border-radius: var(--base-radius);
  overflow: hidden;
}

.news__card-content-wrapper {
  height: 100%;
  width: 100%;
  padding: var(--padding-card);
}

.news__card-img__tag {
  position: absolute;
  top: var(--padding-card);
  left: var(--padding-card);
  background-color: var(--color-white);
  padding: 10px 16px;
  border-radius: 100px;
  z-index: 5;
  
  color: var(--color-red);
  font-weight: 600;
  text-transform: uppercase;
}

.news__card-img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.news__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news__card-content--right .news__card-content-wrapper {
  padding-left: 0;
}

.news__card-content__title {
  margin-bottom: 64px;
  padding-top: 116px;
}

.news__card-content__subtitle {
  margin-bottom: 60px;
}

.news__card-link {
  display: inline-block;
  padding: 32px 35px;
  margin-bottom: calc(68px - var(--padding-card));
}

@media screen and (max-width: 1340px) {
  .news__card {
    gap: 40px;
    --padding-card: 34px;
  }
  
  .news__card-content__title {
    margin-bottom: 40px;
    padding-top: 80px;
  }
  
  .news__card-content__subtitle {
    margin-bottom: 40px;
  }
  
  .news__card-link {
    padding: 24px 28px;
    margin-bottom: calc(48px - var(--padding-card));
  }
}

@media screen and (max-width: 1199px) {
  .news__card {
    gap: 30px;
    --padding-card: 21px;
    flex-direction: column;
  }
  
  .news__card-content--left {
    width: 100%;
    height: 30vh;
  }
  
  .news__card-content--right .news__card-content-wrapper {
    padding-left: var(--padding-card);
  }
  
  .news__card-content__title {
    margin-bottom: 40px;
    padding-top: unset;
  }
  
  .news__card-content__subtitle {
    margin-bottom: 40px;
  }
  
  .news__card-link {
    padding: 24px 28px;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 767px),
  (max-width: 900px) and (orientation: landscape) {
  .news__card {
    gap: 15px;
    --padding-card: 15px;
  }
  
  .news__card-link {
    padding: 16px 18px;
    margin-bottom: 0;
  }
  
  .news__card-img__tag {
    padding: 6px 10px;
  }
}

/* ------------------------------------------------------ футер -------------------------------------- */

.footer {
  width: 100%;
  padding-block: 48px;
  background-color: var(--color-blue-grey);
  color: var(--color-white);
  display: flex;
  justify-content: center;
  margin-top: 160px;
}

.footer__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: fit-content;
}

.footer-socials__list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.footer-socials__item {
  --size: 56px;
  width: var(--size);
  height: var(--size);
  position: relative;
  z-index: 1;
}

.footer-socials__item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  border: 1.5px solid var(--color-light-grey);
  opacity: 0.4;
  transition: opacity var(--app-default-duration) var(--app-default-easing);
  z-index: -1;
}

@media (any-hover: hover), (hover: hover) and (pointer: fine) {
  .footer-socials__item:hover:before {
    opacity: 1;
  }
}

.footer-socials__link {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__logo {
  width: 41px;
  height: 21px;
  margin-inline: auto;
  margin-bottom: 16px;
}
.footer__logo svg {
  width: 100%;
  height: 100%;
}
.footer__logo svg path {
  fill: var(--color-white);
}

.footer__copyright {
  opacity: 0.4;
  text-transform: uppercase;
}

@media screen and (max-width: 1340px) {
  .footer {
    padding-block: 42px;
    margin-top: 100px;
  }
}

@media screen and (max-width: 767px),
  (max-width: 900px) and (orientation: landscape) {
  .footer-socials__item {
    --size: 44px;
  }
  
  .footer__copyright {
    text-align: center;
    max-width: 70%;
    margin-inline: auto;
  }
}

/* ===== ОСНОВНЫЕ СТИЛИ ===== */

#content_app {
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}



/* ===== АДАПТИВНЫЕ СТИЛИ ДЛЯ РАЗНЫХ РЕЖИМОВ ===== */

/* 📱 РЕЖИМ РЕДАКТИРОВАНИЯ (когда открыт редактор CSS) */
body:has(.CodeMirror) {
  /* В режиме редактирования - нормальный скролл для редактора */
  overflow: auto !important;
  height: auto !important;
  min-height: 100vh !important;
}

body:has(.CodeMirror) .Home_customContent,
body:has(.CodeMirror) #pnlContainer_cphMain_pnlCustomMarkupContainer {
  /* В режиме редактирования - убираем наши отступы */
  margin-top: 0px !important;
  position: static !important;
}

/* 🌐 ОБЫЧНЫЙ РЕЖИМ (основной сайт) */
body:not(:has(.CodeMirror)):not(:has(#pnlBaseMasterReaderPreviewPanel)) {
  overflow: hidden !important;
  height: auto !important;
  min-height: auto !important;
}

body:not(:has(.CodeMirror)):not(:has(#pnlBaseMasterReaderPreviewPanel)) .Home_customContent,
body:not(:has(.CodeMirror)):not(:has(#pnlBaseMasterReaderPreviewPanel)) #pnlContainer_cphMain_pnlCustomMarkupContainer {
  margin-top: -80px !important;
  position: relative !important;
}

/* 👁️ РЕЖИМ ПРЕДПРОСМОТРА (с черной панелью сверху) */
body:has(#pnlBaseMasterReaderPreviewPanel):not(:has(.CodeMirror)) {
  overflow: hidden !important;
  height: auto !important;
  min-height: auto !important;
}

body:has(#pnlBaseMasterReaderPreviewPanel):not(:has(.CodeMirror)) .Home_customContent,
body:has(#pnlBaseMasterReaderPreviewPanel):not(:has(.CodeMirror)) #pnlContainer_cphMain_pnlCustomMarkupContainer {
  margin-top: -132px !important;
  position: relative !important;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ИСПРАВЛЕНИЯ ДЛЯ ШИРИНЫ ===== */

/* Фиксируем ширину для всех контейнеров контента */
.Home_customContent,
#pnlContainer_cphMain_pnlCustomMarkupContainer {
  width: 100vw !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  left: 0 !important;
  right: 0 !important;
}

/* Убираем возможные смещения от скроллбара */
html {
  overflow-x: hidden !important;
}

/* Альтернативный вариант - всегда показывать скроллбар */
body:not(:has(.CodeMirror)) {
  overflow-y: scroll !important;
  overflow-x: hidden !important;
}

.BaseMaster_contentContainer,
.BaseMaster_topNavigationAndContentContainer,
.BaseMaster_leftMenuAndContentContainer,
.CHOffCanvasPanel_content,
.CHOffCanvasPanel_container {
    height: auto !important;
    overflow: visible !important;
    max-height: none !important;
}

/* Исправить body и html */
body, html {
    height: auto !important;
    overflow: auto !important;
    min-height: 100vh;
}

/* Основные стили кнопки */
.BaseMaster_profileLink {
  padding-inline: 50px;
  padding-block: 16px;
  border-radius: var(--base-radius);
  border: 2px solid var(--color-red);
  background-color: var(--color-white);
  color: var(--color-red) !important;
  transition: background-color var(--app-default-duration) var(--app-default-easing),
              color var(--app-default-duration) var(--app-default-easing);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.75rem;
  display: flex;
  justify-content: center;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  margin-top: 10px;
  
}

/* Стили для текста внутри кнопки */
.BaseMaster_profileLink .BaseMaster_link {
  color: inherit;
  font-size: inherit;
  display: block;
  width: 100%;
  text-align: center;
}

/* Ховер эффекты с увеличенной специфичностью */
@media (any-hover: hover), (hover: hover) and (pointer: fine) {
  button.BaseMaster_profileLink.clearfix:hover,
  #pnlProfileLink.BaseMaster_profileLink:hover {
    background-color: var(--color-red) !important;
    color: var(--color-white) !important;
    border-color: var(--color-red) !important;
  }
}

.CHBlock_richTextContent, .CHBlock_container * {font-family: 'Segoe UI',Frutiger,'Frutiger Linotype','Dejavu Sans','Helvetica Neue',Arial,sans-serif;}