
/*
Theme Name: ITW Starter
Theme URI: https://example.com/itw-starter
Author: ITW
Author URI: https://example.com
Description: Базовая почти пустая тема для быстрого старта. Главная + хедер и футер берём из страниц (по слагам "header" и "footer").
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: itw-starter
*/

/* Импорт фирменного шрифта Jost */
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

:root{
  /* Переменные для цветов/типографики */
  --font-family: "Jost", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --text: #eaeaea;
  --bg: #0e0e0e;
  --muted: #999;
  --accent: #64d2ff;
}
html, body{
  /* Базовая очистка */
  padding: 0;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-family);
  line-height: 1.5;
  overflow-x: clip;
}
a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: none; }

/* Контейнер */
.container{
  /* Универсальный контейнер для контента */
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 24px 0;
}

/* Единые хлебные крошки для кейсов */
.itw-case-breadcrumbs{
  position: relative;
  z-index: 10;
  background: transparent;
}

.itw-case-breadcrumbs .container{
  padding-top: 18px;
  padding-bottom: 10px;
}

.itw-breadcrumbs__list{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Jost", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(40, 40, 40, 0.48);
}

.itw-breadcrumbs__item{
  display: inline-flex;
  align-items: center;
}

.itw-breadcrumbs__item:not(:last-child)::after{
  content: "/";
  margin: 0 10px;
  color: rgba(40, 40, 40, 0.24);
}

.itw-breadcrumbs__link{
  color: rgba(40, 40, 40, 0.58);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.itw-breadcrumbs__link:hover{
  color: rgba(40, 40, 40, 0.88);
}

.itw-breadcrumbs__item--current{
  color: rgba(40, 40, 40, 0.86);
}

@media (max-width: 767px){
  .itw-case-breadcrumbs .container{
    padding-top: 14px;
    padding-bottom: 8px;
  }

  .itw-breadcrumbs__list{
    font-size: 12px;
    line-height: 1.5;
  }

  .itw-breadcrumbs__item:not(:last-child)::after{
    margin: 0 8px;
  }
}

/* Дебаг-рамки: включайте при отладке верстки */
.debug *{
  outline: 1px dashed rgba(255,255,255,.12);
  outline-offset: -1px;
}
