/* Start custom CSS for html, class: .elementor-element-ff36733 *//* =========================================================
   Что установить после Ubuntu
   Все стили изолированы контейнером .ubuntu-setup
   ========================================================= */

.ubuntu-setup {
  --us-surface: #ffffff;
  --us-soft: #f8fafc;
  --us-text: #172131;
  --us-muted: #566477;
  --us-line: #dce3ea;

  --us-orange: #e95420;
  --us-orange-dark: #b73b11;
  --us-orange-soft: #fff1eb;

  --us-purple: #5e2750;
  --us-purple-soft: #f7edf5;

  --us-blue: #245da8;
  --us-blue-soft: #eef5ff;

  --us-green: #176b3a;
  --us-green-soft: #eaf7ef;

  --us-warning: #b86b00;
  --us-warning-soft: #fff7e7;

  --us-danger: #b42318;
  --us-danger-soft: #fff1f0;

  --us-code: #111827;
  --us-code-text: #e7edf6;

  max-width: 1160px;
  margin: 0 auto;

  color: var(--us-text);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.72;

  overflow-wrap: anywhere;
}

.ubuntu-setup *,
.ubuntu-setup *::before,
.ubuntu-setup *::after {
  box-sizing: border-box;
}

.ubuntu-setup p,
.ubuntu-setup ul,
.ubuntu-setup ol {
  margin: 0 0 1.1em;
}

.ubuntu-setup ul,
.ubuntu-setup ol {
  padding-left: 25px;
}

.ubuntu-setup li {
  margin-bottom: 7px;
}

.ubuntu-setup h1,
.ubuntu-setup h2,
.ubuntu-setup h3 {
  color: #101827;
  line-height: 1.2;
  text-wrap: balance;
}

.ubuntu-setup h1 {
  margin: 0 0 19px;

  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.035em;
}

.ubuntu-setup h2 {
  margin: 0 0 24px;

  font-size: clamp(27px, 3.4vw, 40px);
  letter-spacing: -0.025em;
}

.ubuntu-setup h3 {
  margin: 30px 0 14px;

  font-size: clamp(20px, 2.3vw, 27px);
}

.ubuntu-setup a {
  color: var(--us-orange-dark);

  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ubuntu-setup code {
  border-radius: 5px;

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    monospace;

  font-size: 0.9em;
}

.ubuntu-setup p code,
.ubuntu-setup li code,
.ubuntu-setup td code {
  padding: 0.12em 0.37em;

  border: 1px solid #d9e0e8;
  background: #edf1f5;

  color: #172033;
}

.ubuntu-setup [id] {
  scroll-margin-top: 110px;
}

/* Главный блок */

.ubuntu-setup__hero {
  position: relative;

  margin-bottom: 28px;
  padding: clamp(35px, 6vw, 74px);

  overflow: hidden;

  border: 1px solid #ead4c9;
  border-radius: 28px;

  background:
    radial-gradient(
      circle at 92% 5%,
      rgba(233, 84, 32, 0.22),
      transparent 31%
    ),
    radial-gradient(
      circle at 4% 100%,
      rgba(94, 39, 80, 0.11),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      #fffaf8 0%,
      #fff0e9 100%
    );

  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

.ubuntu-setup__eyebrow {
  display: inline-flex;

  margin: 0 0 18px !important;
  padding: 7px 13px;

  border-radius: 999px;
  background: var(--us-orange);

  color: #ffffff;

  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ubuntu-setup__lead {
  max-width: 940px;

  margin-bottom: 25px !important;

  color: #3d4858;

  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.55;
}

.ubuntu-setup__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ubuntu-setup__meta span {
  padding: 8px 12px;

  border: 1px solid #dfcbc2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);

  color: #55463f;

  font-size: 14px;
  font-weight: 750;
}

/* Основные секции */

.ubuntu-setup__toc,
.ubuntu-setup__section,
.ubuntu-setup__conclusion {
  margin: 28px 0;
  padding: clamp(27px, 4vw, 49px);

  border: 1px solid var(--us-line);
  border-radius: 24px;
  background: var(--us-surface);

  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.05);
}

.ubuntu-setup__section > h2::after,
.ubuntu-setup__conclusion > h2::after {
  content: "";

  display: block;

  width: 78px;
  height: 4px;

  margin-top: 14px;

  border-radius: 999px;
  background: var(--us-orange);
}

/* Содержание */

.ubuntu-setup__toc h2 {
  font-size: 29px;
}

.ubuntu-setup__toc ol {
  columns: 2;
  column-gap: 44px;

  margin-bottom: 0;
}

.ubuntu-setup__toc li {
  break-inside: avoid;

  margin-bottom: 9px;
}

.ubuntu-setup__toc a {
  color: #263449;

  font-weight: 680;
  text-decoration: none;
}

.ubuntu-setup__toc a:hover {
  color: var(--us-orange-dark);
  text-decoration: underline;
}

/* Примечания */

.ubuntu-setup__note {
  margin: 24px 0;
  padding: 20px 22px;

  border-left: 5px solid var(--us-blue);
  border-radius: 13px;
  background: var(--us-blue-soft);
}

.ubuntu-setup__note strong {
  display: block;

  margin-bottom: 6px;

  font-size: 19px;
}

.ubuntu-setup__note p:last-child {
  margin-bottom: 0;
}

.ubuntu-setup__note--info {
  border-left-color: var(--us-blue);
  background: var(--us-blue-soft);
}

.ubuntu-setup__note--important {
  border-left-color: var(--us-green);
  background: var(--us-green-soft);
}

.ubuntu-setup__note--warning {
  border-left-color: var(--us-warning);
  background: var(--us-warning-soft);
}

.ubuntu-setup__note--danger {
  border-left-color: var(--us-danger);
  background: var(--us-danger-soft);
}

/* Команды */

.ubuntu-setup__code {
  margin: 18px 0 26px;
  padding: 20px;

  overflow-x: auto;

  border: 1px solid #263349;
  border-radius: 15px;
  background: var(--us-code);

  color: var(--us-code-text);

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);

  -webkit-overflow-scrolling: touch;
}

.ubuntu-setup__code code {
  display: block;

  min-width: max-content;

  color: inherit;

  font-size: 14px;
  line-height: 1.65;
  white-space: pre;
}

/* Таблицы */

.ubuntu-setup__table-wrap {
  width: 100%;

  margin: 20px 0 30px;

  overflow-x: auto;

  border: 1px solid var(--us-line);
  border-radius: 15px;

  -webkit-overflow-scrolling: touch;
}

.ubuntu-setup__table {
  width: 100%;
  min-width: 760px;

  border-collapse: collapse;
  background: #ffffff;
}

.ubuntu-setup__table th,
.ubuntu-setup__table td {
  padding: 14px 16px;

  border-bottom: 1px solid var(--us-line);

  text-align: left;
  vertical-align: top;
}

.ubuntu-setup__table th {
  background: var(--us-orange-soft);

  color: #4f281a;

  font-size: 14px;
  letter-spacing: 0.02em;
}

.ubuntu-setup__table tr:last-child td {
  border-bottom: 0;
}

.ubuntu-setup__table tbody tr:nth-child(even) {
  background: #fafbfc;
}

.ubuntu-setup__table tbody tr:hover {
  background: #fff8f5;
}

/* Списки */

.ubuntu-setup__check-list {
  padding-left: 0 !important;

  list-style: none;
}

.ubuntu-setup__check-list li {
  position: relative;

  padding: 10px 0 10px 35px;

  border-bottom: 1px solid var(--us-line);
}

.ubuntu-setup__check-list li::before {
  content: "✓";

  position: absolute;
  top: 9px;
  left: 2px;

  display: inline-flex;

  width: 22px;
  height: 22px;

  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: var(--us-green-soft);

  color: var(--us-green);

  font-weight: 900;
}

/* Сравнение */

.ubuntu-setup__compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;

  margin: 24px 0 30px;
}

.ubuntu-setup__compare > div {
  padding: 22px;

  border: 1px solid var(--us-line);
  border-radius: 17px;
  background: var(--us-soft);
}

.ubuntu-setup__compare-label {
  display: inline-flex;

  padding: 5px 9px;

  border-radius: 999px;
  background: var(--us-orange-soft);

  color: var(--us-orange-dark);

  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.ubuntu-setup__compare h3 {
  margin: 10px 0 8px;

  font-size: 21px;
}

.ubuntu-setup__compare p:last-child {
  margin-bottom: 0;

  color: var(--us-muted);
}

/* Опасные советы */

.ubuntu-setup__danger-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;

  margin: 24px 0;
}

.ubuntu-setup__danger-grid > div {
  padding: 20px;

  border: 1px solid #efc0bb;
  border-radius: 16px;
  background: #fff6f5;
}

.ubuntu-setup__danger-grid h3 {
  margin: 0 0 8px;

  font-size: 19px;
}

.ubuntu-setup__danger-grid p {
  margin: 0;

  color: var(--us-muted);
}

/* Финальный список */

.ubuntu-setup__final-check {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;

  margin: 21px 0 29px;
}

.ubuntu-setup__final-check label {
  display: flex;
  gap: 10px;
  align-items: flex-start;

  padding: 12px 14px;

  border: 1px solid var(--us-line);
  border-radius: 12px;
  background: var(--us-soft);
}

.ubuntu-setup__final-check input {
  width: 18px;
  height: 18px;

  flex: 0 0 auto;

  margin-top: 3px;

  accent-color: var(--us-orange);
}

/* FAQ */

.ubuntu-setup__faq details {
  margin-bottom: 12px;

  border: 1px solid var(--us-line);
  border-radius: 14px;
  background: #ffffff;
}

.ubuntu-setup__faq summary {
  padding: 18px 48px 18px 18px;

  cursor: pointer;

  font-weight: 800;
  list-style: none;
}

.ubuntu-setup__faq summary::-webkit-details-marker {
  display: none;
}

.ubuntu-setup__faq summary::after {
  content: "+";

  float: right;

  margin-right: -30px;

  color: var(--us-orange);

  font-size: 25px;
  line-height: 1;
}

.ubuntu-setup__faq details[open] summary::after {
  content: "−";
}

.ubuntu-setup__faq details > p {
  padding: 0 18px 18px;
  margin: 0;

  color: var(--us-muted);
}

/* Заключение */

.ubuntu-setup__conclusion {
  border-color: #ead4c9;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fff7f3 100%
    );
}

/* Перелинковка */

.ubuntu-setup__related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;

  margin: 29px 0;
}

.ubuntu-setup__related a {
  display: grid;
  gap: 6px;

  padding: 20px;

  border: 1px solid var(--us-line);
  border-radius: 15px;
  background: #ffffff;

  color: var(--us-text);
  text-decoration: none;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.ubuntu-setup__related a:hover {
  transform: translateY(-2px);

  border-color: #efae92;

  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.ubuntu-setup__related strong {
  color: var(--us-orange-dark);

  font-size: 18px;
}

.ubuntu-setup__related span {
  color: var(--us-muted);

  font-size: 15px;
}

/* CTA */

.ubuntu-setup__cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;

  padding: clamp(23px, 4vw, 35px);

  border-radius: 20px;

  background:
    linear-gradient(
      135deg,
      var(--us-purple) 0%,
      #3e1a35 100%
    );

  color: #ffffff;
}

.ubuntu-setup__cta h3,
.ubuntu-setup__cta p {
  color: #ffffff;
}

.ubuntu-setup__cta h3 {
  margin: 4px 0 10px;
}

.ubuntu-setup__cta p:last-child {
  margin-bottom: 0;
}

.ubuntu-setup__cta-kicker {
  margin-bottom: 0 !important;

  color: #ffd9c8 !important;

  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.ubuntu-setup__button {
  display: inline-flex;

  min-height: 50px;
  padding: 13px 21px;

  align-items: center;
  justify-content: center;

  border-radius: 12px;
  background: #ffffff;

  color: var(--us-purple) !important;

  font-weight: 850;
  text-align: center;
  text-decoration: none !important;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.17);
}

.ubuntu-setup__button:hover {
  transform: translateY(-1px);

  background: var(--us-orange-soft);
}

/* Elementor */

.elementor-widget-html .ubuntu-setup > :first-child {
  margin-top: 0;
}

.elementor-widget-html .ubuntu-setup > :last-child {
  margin-bottom: 0;
}

/* Планшеты */

@media (max-width: 900px) {

  .ubuntu-setup__related {
    grid-template-columns: 1fr;
  }

}

/* Мобильные устройства */

@media (max-width: 760px) {

  .ubuntu-setup {
    font-size: 16px;
  }

  .ubuntu-setup__toc ol {
    columns: 1;
  }

  .ubuntu-setup__compare,
  .ubuntu-setup__danger-grid,
  .ubuntu-setup__final-check,
  .ubuntu-setup__cta {
    grid-template-columns: 1fr;
  }

  .ubuntu-setup__button {
    width: 100%;
  }

}

/* Узкие мобильные устройства */

@media (max-width: 560px) {

  .ubuntu-setup__hero,
  .ubuntu-setup__toc,
  .ubuntu-setup__section,
  .ubuntu-setup__conclusion {
    padding: 22px 18px;

    border-radius: 18px;
  }

  .ubuntu-setup h1 {
    font-size: 33px;
  }

  .ubuntu-setup h2 {
    font-size: 27px;
  }

  .ubuntu-setup__lead {
    font-size: 18px;
  }

  .ubuntu-setup__meta {
    display: grid;
  }

  .ubuntu-setup__meta span {
    border-radius: 10px;
  }

  .ubuntu-setup__code {
    margin-right: -4px;
    margin-left: -4px;
    padding: 16px;

    border-radius: 12px;
  }

  .ubuntu-setup__code code {
    font-size: 12.5px;
  }

  .ubuntu-setup__table-wrap {
    width: calc(100% + 8px);

    margin-right: -4px;
    margin-left: -4px;
  }

  .ubuntu-setup__table {
    min-width: 680px;
  }

  .ubuntu-setup__table th,
  .ubuntu-setup__table td {
    padding: 12px;

    font-size: 14px;
  }

}

/* Печать */

@media print {

  .ubuntu-setup {
    max-width: none;

    font-size: 11pt;
  }

  .ubuntu-setup__hero,
  .ubuntu-setup__toc,
  .ubuntu-setup__section,
  .ubuntu-setup__conclusion {
    box-shadow: none;
  }

  .ubuntu-setup__code {
    white-space: pre-wrap;
    break-inside: avoid;
  }

  .ubuntu-setup__table-wrap {
    overflow: visible;
  }

  .ubuntu-setup__table {
    min-width: 0;
  }

  .ubuntu-setup__cta {
    border: 1px solid #999999;
    background: #ffffff;

    color: #000000;
  }

  .ubuntu-setup__cta h3,
  .ubuntu-setup__cta p {
    color: #000000;
  }

}/* End custom CSS */