/* Start custom CSS for html, class: .elementor-element-5d919c9 *//* =========================================================
   Debian или Ubuntu для новичка
   Все стили изолированы контейнером .debian-ubuntu-choice
   ========================================================= */

.debian-ubuntu-choice {
  --duc-surface: #ffffff;
  --duc-soft: #f8fafc;
  --duc-text: #172131;
  --duc-muted: #566477;
  --duc-line: #dce3ea;

  --duc-debian: #a80030;
  --duc-debian-dark: #780022;
  --duc-debian-soft: #fff0f4;

  --duc-ubuntu: #e95420;
  --duc-ubuntu-dark: #b6380d;
  --duc-ubuntu-soft: #fff1eb;

  --duc-blue: #245da8;
  --duc-blue-soft: #eef5ff;

  --duc-green: #176b3a;
  --duc-green-soft: #eaf7ef;

  --duc-warning: #b86b00;
  --duc-warning-soft: #fff7e7;

  --duc-danger: #b42318;
  --duc-danger-soft: #fff1f0;

  --duc-code: #111827;
  --duc-code-text: #e7edf6;

  max-width: 1160px;
  margin: 0 auto;

  color: var(--duc-text);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.72;

  overflow-wrap: anywhere;
}

.debian-ubuntu-choice *,
.debian-ubuntu-choice *::before,
.debian-ubuntu-choice *::after {
  box-sizing: border-box;
}

.debian-ubuntu-choice p,
.debian-ubuntu-choice ul,
.debian-ubuntu-choice ol {
  margin: 0 0 1.1em;
}

.debian-ubuntu-choice ul,
.debian-ubuntu-choice ol {
  padding-left: 25px;
}

.debian-ubuntu-choice li {
  margin-bottom: 7px;
}

.debian-ubuntu-choice h1,
.debian-ubuntu-choice h2,
.debian-ubuntu-choice h3 {
  color: #101827;
  line-height: 1.2;
  text-wrap: balance;
}

.debian-ubuntu-choice h1 {
  margin: 0 0 19px;

  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.035em;
}

.debian-ubuntu-choice h2 {
  margin: 0 0 24px;

  font-size: clamp(27px, 3.4vw, 40px);
  letter-spacing: -0.025em;
}

.debian-ubuntu-choice h3 {
  margin: 30px 0 14px;

  font-size: clamp(20px, 2.3vw, 27px);
}

.debian-ubuntu-choice a {
  color: var(--duc-debian-dark);

  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.debian-ubuntu-choice code {
  border-radius: 5px;

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    monospace;

  font-size: 0.9em;
}

.debian-ubuntu-choice p code,
.debian-ubuntu-choice li code,
.debian-ubuntu-choice td code {
  padding: 0.12em 0.37em;

  border: 1px solid #d9e0e8;
  background: #edf1f5;

  color: #172033;
}

.debian-ubuntu-choice [id] {
  scroll-margin-top: 110px;
}

/* Главный блок */

.debian-ubuntu-choice__hero {
  position: relative;

  margin-bottom: 28px;
  padding: clamp(35px, 6vw, 74px);

  overflow: hidden;

  border: 1px solid #e4cbd1;
  border-radius: 28px;

  background:
    radial-gradient(
      circle at 92% 5%,
      rgba(233, 84, 32, 0.20),
      transparent 31%
    ),
    radial-gradient(
      circle at 5% 100%,
      rgba(168, 0, 48, 0.13),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      #fffafa 0%,
      #fff2f1 100%
    );

  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

.debian-ubuntu-choice__eyebrow {
  display: inline-flex;

  margin: 0 0 18px !important;
  padding: 7px 13px;

  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      var(--duc-debian) 0%,
      var(--duc-ubuntu) 100%
    );

  color: #ffffff;

  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.debian-ubuntu-choice__lead {
  max-width: 940px;

  margin-bottom: 25px !important;

  color: #3d4858;

  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.55;
}

.debian-ubuntu-choice__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.debian-ubuntu-choice__meta span {
  padding: 8px 12px;

  border: 1px solid #decbd0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.80);

  color: #51454a;

  font-size: 14px;
  font-weight: 750;
}

/* Основные секции */

.debian-ubuntu-choice__toc,
.debian-ubuntu-choice__section,
.debian-ubuntu-choice__conclusion {
  margin: 28px 0;
  padding: clamp(27px, 4vw, 49px);

  border: 1px solid var(--duc-line);
  border-radius: 24px;
  background: var(--duc-surface);

  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.05);
}

.debian-ubuntu-choice__section > h2::after,
.debian-ubuntu-choice__conclusion > h2::after {
  content: "";

  display: block;

  width: 88px;
  height: 4px;

  margin-top: 14px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      var(--duc-debian) 0%,
      var(--duc-ubuntu) 100%
    );
}

/* Содержание */

.debian-ubuntu-choice__toc h2 {
  font-size: 29px;
}

.debian-ubuntu-choice__toc ol {
  columns: 2;
  column-gap: 44px;

  margin-bottom: 0;
}

.debian-ubuntu-choice__toc li {
  break-inside: avoid;

  margin-bottom: 9px;
}

.debian-ubuntu-choice__toc a {
  color: #263449;

  font-weight: 680;
  text-decoration: none;
}

.debian-ubuntu-choice__toc a:hover {
  color: var(--duc-debian-dark);
  text-decoration: underline;
}

/* Примечания */

.debian-ubuntu-choice__note {
  margin: 24px 0;
  padding: 20px 22px;

  border-left: 5px solid var(--duc-blue);
  border-radius: 13px;
  background: var(--duc-blue-soft);
}

.debian-ubuntu-choice__note strong {
  display: block;

  margin-bottom: 6px;

  font-size: 19px;
}

.debian-ubuntu-choice__note p:last-child {
  margin-bottom: 0;
}

.debian-ubuntu-choice__note--info {
  border-left-color: var(--duc-blue);
  background: var(--duc-blue-soft);
}

.debian-ubuntu-choice__note--important {
  border-left-color: var(--duc-green);
  background: var(--duc-green-soft);
}

.debian-ubuntu-choice__note--warning {
  border-left-color: var(--duc-warning);
  background: var(--duc-warning-soft);
}

.debian-ubuntu-choice__note--danger {
  border-left-color: var(--duc-danger);
  background: var(--duc-danger-soft);
}

/* Команды */

.debian-ubuntu-choice__code {
  margin: 18px 0 26px;
  padding: 20px;

  overflow-x: auto;

  border: 1px solid #263349;
  border-radius: 15px;
  background: var(--duc-code);

  color: var(--duc-code-text);

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);

  -webkit-overflow-scrolling: touch;
}

.debian-ubuntu-choice__code code {
  display: block;

  min-width: max-content;

  color: inherit;

  font-size: 14px;
  line-height: 1.65;
  white-space: pre;
}

/* Таблицы */

.debian-ubuntu-choice__table-wrap {
  width: 100%;

  margin: 20px 0 30px;

  overflow-x: auto;

  border: 1px solid var(--duc-line);
  border-radius: 15px;

  -webkit-overflow-scrolling: touch;
}

.debian-ubuntu-choice__table {
  width: 100%;
  min-width: 760px;

  border-collapse: collapse;
  background: #ffffff;
}

.debian-ubuntu-choice__table th,
.debian-ubuntu-choice__table td {
  padding: 14px 16px;

  border-bottom: 1px solid var(--duc-line);

  text-align: left;
  vertical-align: top;
}

.debian-ubuntu-choice__table th {
  background:
    linear-gradient(
      90deg,
      var(--duc-debian-soft) 0%,
      var(--duc-ubuntu-soft) 100%
    );

  color: #482533;

  font-size: 14px;
  letter-spacing: 0.02em;
}

.debian-ubuntu-choice__table tr:last-child td {
  border-bottom: 0;
}

.debian-ubuntu-choice__table tbody tr:nth-child(even) {
  background: #fafbfc;
}

.debian-ubuntu-choice__table tbody tr:hover {
  background: #fff8f8;
}

/* Быстрый выбор */

.debian-ubuntu-choice__quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;

  margin: 24px 0 30px;
}

.debian-ubuntu-choice__quick-card {
  padding: 25px;

  border: 2px solid var(--duc-line);
  border-radius: 20px;
}

.debian-ubuntu-choice__quick-card > span {
  display: inline-flex;

  padding: 6px 10px;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.debian-ubuntu-choice__quick-card h3 {
  margin: 13px 0 15px;

  font-size: 23px;
}

.debian-ubuntu-choice__quick-card ul {
  margin-bottom: 0;
}

.debian-ubuntu-choice__quick-card--ubuntu {
  border-color: #efb59f;
  background: var(--duc-ubuntu-soft);
}

.debian-ubuntu-choice__quick-card--ubuntu > span {
  background: var(--duc-ubuntu);
  color: #ffffff;
}

.debian-ubuntu-choice__quick-card--debian {
  border-color: #dda6b6;
  background: var(--duc-debian-soft);
}

.debian-ubuntu-choice__quick-card--debian > span {
  background: var(--duc-debian);
  color: #ffffff;
}

/* Родство систем */

.debian-ubuntu-choice__relationship {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 13px;
  align-items: stretch;

  margin: 25px 0;
}

.debian-ubuntu-choice__relationship > div:not(
  .debian-ubuntu-choice__relationship-arrow
) {
  display: grid;
  gap: 8px;

  align-content: center;

  min-height: 125px;
  padding: 20px;

  border: 1px solid var(--duc-line);
  border-radius: 17px;
  background: var(--duc-soft);

  text-align: center;
}

.debian-ubuntu-choice__relationship strong {
  font-size: 21px;
}

.debian-ubuntu-choice__relationship span {
  color: var(--duc-muted);
  font-size: 14px;
}

.debian-ubuntu-choice__relationship-arrow {
  display: flex;

  align-items: center;
  justify-content: center;

  color: var(--duc-ubuntu);

  font-size: 29px;
  font-weight: 900;
}

/* Версии */

.debian-ubuntu-choice__version-grid,
.debian-ubuntu-choice__support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;

  margin: 24px 0 30px;
}

.debian-ubuntu-choice__version-grid > div,
.debian-ubuntu-choice__support-grid > div {
  padding: 24px;

  border: 1px solid var(--duc-line);
  border-radius: 18px;
  background: var(--duc-soft);
}

.debian-ubuntu-choice__version-grid > div:first-child,
.debian-ubuntu-choice__support-grid > div:first-child {
  border-top: 5px solid var(--duc-debian);
}

.debian-ubuntu-choice__version-grid > div:last-child,
.debian-ubuntu-choice__support-grid > div:last-child {
  border-top: 5px solid var(--duc-ubuntu);
}

.debian-ubuntu-choice__version-grid h3,
.debian-ubuntu-choice__support-grid h3 {
  margin: 9px 0 12px;

  font-size: 24px;
}

.debian-ubuntu-choice__version-label,
.debian-ubuntu-choice__support-grid span {
  color: var(--duc-muted);

  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Вердикт */

.debian-ubuntu-choice__verdict {
  margin: 27px 0;
  padding: 23px;

  border: 1px solid #d9c7cc;
  border-radius: 18px;

  background:
    linear-gradient(
      100deg,
      var(--duc-debian-soft) 0%,
      var(--duc-ubuntu-soft) 100%
    );
}

.debian-ubuntu-choice__verdict span {
  display: block;

  margin-bottom: 5px;

  color: var(--duc-muted);

  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.debian-ubuntu-choice__verdict strong {
  display: block;

  margin-bottom: 7px;

  color: #2d1920;

  font-size: 25px;
}

.debian-ubuntu-choice__verdict p {
  margin: 0;
}

/* Списки */

.debian-ubuntu-choice__check-list {
  padding-left: 0 !important;

  list-style: none;
}

.debian-ubuntu-choice__check-list li {
  position: relative;

  padding: 10px 0 10px 35px;

  border-bottom: 1px solid var(--duc-line);
}

.debian-ubuntu-choice__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(--duc-green-soft);

  color: var(--duc-green);

  font-weight: 900;
}

/* Рабочие столы */

.debian-ubuntu-choice__desktop-grid,
.debian-ubuntu-choice__scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;

  margin: 24px 0 30px;
}

.debian-ubuntu-choice__desktop-grid > div,
.debian-ubuntu-choice__scenario-grid > div {
  padding: 21px;

  border: 1px solid var(--duc-line);
  border-radius: 17px;
  background: var(--duc-soft);
}

.debian-ubuntu-choice__desktop-grid span,
.debian-ubuntu-choice__scenario-grid span {
  display: inline-flex;

  padding: 5px 9px;

  border-radius: 999px;
  background: var(--duc-debian-soft);

  color: var(--duc-debian-dark);

  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.debian-ubuntu-choice__desktop-grid h3,
.debian-ubuntu-choice__scenario-grid h3 {
  margin: 10px 0 8px;

  font-size: 20px;
}

.debian-ubuntu-choice__desktop-grid p,
.debian-ubuntu-choice__scenario-grid p {
  margin: 0;

  color: var(--duc-muted);
}

/* Опасные ошибки */

.debian-ubuntu-choice__danger-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;

  margin: 24px 0;
}

.debian-ubuntu-choice__danger-grid > div {
  padding: 20px;

  border: 1px solid #efc0bb;
  border-radius: 16px;
  background: #fff6f5;
}

.debian-ubuntu-choice__danger-grid h3 {
  margin: 0 0 8px;

  font-size: 19px;
}

.debian-ubuntu-choice__danger-grid p {
  margin: 0;

  color: var(--duc-muted);
}

/* Финальный выбор */

.debian-ubuntu-choice__final-verdict {
  margin: 30px 0;
  padding: clamp(25px, 4vw, 38px);

  border-radius: 22px;

  background:
    linear-gradient(
      135deg,
      var(--duc-debian) 0%,
      #7a1230 45%,
      var(--duc-ubuntu) 100%
    );

  color: #ffffff;

  text-align: center;
}

.debian-ubuntu-choice__final-verdict p,
.debian-ubuntu-choice__final-verdict strong,
.debian-ubuntu-choice__final-verdict span {
  color: #ffffff;
}

.debian-ubuntu-choice__final-verdict p {
  margin-bottom: 7px;

  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.debian-ubuntu-choice__final-verdict strong {
  display: block;

  margin-bottom: 10px;

  font-size: clamp(29px, 4vw, 42px);
}

.debian-ubuntu-choice__final-verdict span {
  display: block;

  max-width: 760px;
  margin: 0 auto;

  opacity: 0.9;
}

/* Проверка Live */

.debian-ubuntu-choice__test-grid,
.debian-ubuntu-choice__final-check {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;

  margin: 21px 0 29px;
}

.debian-ubuntu-choice__test-grid label,
.debian-ubuntu-choice__final-check label {
  display: flex;
  gap: 10px;
  align-items: flex-start;

  padding: 12px 14px;

  border: 1px solid var(--duc-line);
  border-radius: 12px;
  background: var(--duc-soft);
}

.debian-ubuntu-choice__test-grid input,
.debian-ubuntu-choice__final-check input {
  width: 18px;
  height: 18px;

  flex: 0 0 auto;

  margin-top: 3px;

  accent-color: var(--duc-debian);
}

/* FAQ */

.debian-ubuntu-choice__faq details {
  margin-bottom: 12px;

  border: 1px solid var(--duc-line);
  border-radius: 14px;
  background: #ffffff;
}

.debian-ubuntu-choice__faq summary {
  padding: 18px 48px 18px 18px;

  cursor: pointer;

  font-weight: 800;
  list-style: none;
}

.debian-ubuntu-choice__faq summary::-webkit-details-marker {
  display: none;
}

.debian-ubuntu-choice__faq summary::after {
  content: "+";

  float: right;

  margin-right: -30px;

  color: var(--duc-debian);

  font-size: 25px;
  line-height: 1;
}

.debian-ubuntu-choice__faq details[open] summary::after {
  content: "−";
}

.debian-ubuntu-choice__faq details > p {
  padding: 0 18px 18px;
  margin: 0;

  color: var(--duc-muted);
}

/* Заключение */

.debian-ubuntu-choice__conclusion {
  border-color: #e4cbd1;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fff7f7 100%
    );
}

/* Перелинковка */

.debian-ubuntu-choice__related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;

  margin: 29px 0;
}

.debian-ubuntu-choice__related a {
  display: grid;
  gap: 6px;

  padding: 20px;

  border: 1px solid var(--duc-line);
  border-radius: 15px;
  background: #ffffff;

  color: var(--duc-text);
  text-decoration: none;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.debian-ubuntu-choice__related a:hover {
  transform: translateY(-2px);

  border-color: #d69baa;

  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.debian-ubuntu-choice__related strong {
  color: var(--duc-debian-dark);

  font-size: 18px;
}

.debian-ubuntu-choice__related span {
  color: var(--duc-muted);

  font-size: 15px;
}

/* CTA */

.debian-ubuntu-choice__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,
      #810027 0%,
      #4d1328 100%
    );

  color: #ffffff;
}

.debian-ubuntu-choice__cta h3,
.debian-ubuntu-choice__cta p {
  color: #ffffff;
}

.debian-ubuntu-choice__cta h3 {
  margin: 4px 0 10px;
}

.debian-ubuntu-choice__cta p:last-child {
  margin-bottom: 0;
}

.debian-ubuntu-choice__cta-kicker {
  margin-bottom: 0 !important;

  color: #ffd7e2 !important;

  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.debian-ubuntu-choice__button {
  display: inline-flex;

  min-height: 50px;
  padding: 13px 21px;

  align-items: center;
  justify-content: center;

  border-radius: 12px;
  background: #ffffff;

  color: var(--duc-debian-dark) !important;

  font-weight: 850;
  text-align: center;
  text-decoration: none !important;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.17);
}

.debian-ubuntu-choice__button:hover {
  transform: translateY(-1px);

  background: var(--duc-ubuntu-soft);
}

/* Elementor */

.elementor-widget-html .debian-ubuntu-choice > :first-child {
  margin-top: 0;
}

.elementor-widget-html .debian-ubuntu-choice > :last-child {
  margin-bottom: 0;
}

/* Планшеты */

@media (max-width: 960px) {

  .debian-ubuntu-choice__relationship {
    grid-template-columns: 1fr;
  }

  .debian-ubuntu-choice__relationship-arrow {
    transform: rotate(90deg);
  }

  .debian-ubuntu-choice__scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* Мобильные устройства */

@media (max-width: 760px) {

  .debian-ubuntu-choice {
    font-size: 16px;
  }

  .debian-ubuntu-choice__toc ol {
    columns: 1;
  }

  .debian-ubuntu-choice__quick-grid,
  .debian-ubuntu-choice__version-grid,
  .debian-ubuntu-choice__support-grid,
  .debian-ubuntu-choice__desktop-grid,
  .debian-ubuntu-choice__scenario-grid,
  .debian-ubuntu-choice__danger-grid,
  .debian-ubuntu-choice__test-grid,
  .debian-ubuntu-choice__final-check,
  .debian-ubuntu-choice__related,
  .debian-ubuntu-choice__cta {
    grid-template-columns: 1fr;
  }

  .debian-ubuntu-choice__button {
    width: 100%;
  }

}

/* Узкие мобильные устройства */

@media (max-width: 560px) {

  .debian-ubuntu-choice__hero,
  .debian-ubuntu-choice__toc,
  .debian-ubuntu-choice__section,
  .debian-ubuntu-choice__conclusion {
    padding: 22px 18px;

    border-radius: 18px;
  }

  .debian-ubuntu-choice h1 {
    font-size: 33px;
  }

  .debian-ubuntu-choice h2 {
    font-size: 27px;
  }

  .debian-ubuntu-choice__lead {
    font-size: 18px;
  }

  .debian-ubuntu-choice__meta {
    display: grid;
  }

  .debian-ubuntu-choice__meta span {
    border-radius: 10px;
  }

  .debian-ubuntu-choice__code {
    margin-right: -4px;
    margin-left: -4px;
    padding: 16px;

    border-radius: 12px;
  }

  .debian-ubuntu-choice__code code {
    font-size: 12.5px;
  }

  .debian-ubuntu-choice__table-wrap {
    width: calc(100% + 8px);

    margin-right: -4px;
    margin-left: -4px;
  }

  .debian-ubuntu-choice__table {
    min-width: 680px;
  }

  .debian-ubuntu-choice__table th,
  .debian-ubuntu-choice__table td {
    padding: 12px;

    font-size: 14px;
  }

}

/* Печать */

@media print {

  .debian-ubuntu-choice {
    max-width: none;

    font-size: 11pt;
  }

  .debian-ubuntu-choice__hero,
  .debian-ubuntu-choice__toc,
  .debian-ubuntu-choice__section,
  .debian-ubuntu-choice__conclusion {
    box-shadow: none;
  }

  .debian-ubuntu-choice__code {
    white-space: pre-wrap;
    break-inside: avoid;
  }

  .debian-ubuntu-choice__table-wrap {
    overflow: visible;
  }

  .debian-ubuntu-choice__table {
    min-width: 0;
  }

  .debian-ubuntu-choice__cta {
    border: 1px solid #999999;
    background: #ffffff;

    color: #000000;
  }

  .debian-ubuntu-choice__cta h3,
  .debian-ubuntu-choice__cta p {
    color: #000000;
  }

}/* End custom CSS */