.wp-profile-project-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 16px 72px;
}

.wp-profile-project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.wp-profile-project-copy,
.wp-profile-project-panel,
.wp-profile-project-content {
  border: 1px solid rgba(32, 26, 22, 0.08);
  border-radius: 28px;
  background: rgba(255, 251, 246, 0.82);
  box-shadow: 0 18px 34px rgba(79, 49, 29, 0.06);
}

.wp-profile-project-copy {
  padding: 30px;
}

.wp-profile-lang-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(32, 26, 22, 0.06);
  margin-bottom: 18px;
}

.wp-profile-lang-switch {
  display: none !important;
}

.wp-profile-lang-switch button {
  min-width: 48px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: #695f57;
}

.wp-profile-lang-switch button.is-active {
  background: #d96f32;
  color: #fff7ef;
}

.wp-profile-project-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(217, 111, 50, 0.1);
  color: #8d3d1b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wp-profile-project-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.wp-profile-project-hero-text,
.wp-profile-project-panel p,
.wp-profile-project-body,
.wp-profile-logic-node p {
  color: #6a6057;
  line-height: 1.8;
}

.wp-profile-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.wp-profile-project-side {
  display: grid;
  gap: 16px;
}

.wp-profile-project-panel {
  padding: 22px;
}

.wp-profile-project-panel-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8d3d1b;
}

.wp-profile-project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wp-profile-project-stack span,
.wp-profile-logic-branches span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
}

.wp-profile-project-stack span {
  background: rgba(32, 26, 22, 0.06);
  color: #4f4741;
}

.wp-profile-project-logic {
  margin-top: 30px;
}

.wp-profile-project-section-head {
  margin-bottom: 18px;
}

.wp-profile-project-section-head h2 {
  margin: 14px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.wp-profile-logic-list {
  display: grid;
  gap: 14px;
}

.wp-profile-logic-node {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(32, 26, 22, 0.08);
  background: rgba(255, 251, 246, 0.82);
  box-shadow: 0 16px 28px rgba(79, 49, 29, 0.05);
}

.wp-profile-logic-node.is-decision {
  border-style: dashed;
  border-color: rgba(141, 61, 27, 0.28);
  background: rgba(255, 247, 239, 0.92);
}

.wp-profile-logic-kind {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(32, 26, 22, 0.06);
  color: #6a6057;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.wp-profile-logic-node h3 {
  margin: 14px 0 10px;
  font-size: 1.45rem;
}

.wp-profile-logic-branches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.wp-profile-logic-branches .is-primary {
  background: rgba(217, 111, 50, 0.12);
  color: #8d3d1b;
}

.wp-profile-logic-branches .is-secondary {
  background: rgba(32, 26, 22, 0.06);
  color: #5c534b;
}

.wp-profile-logic-arrow {
  width: 2px;
  height: 34px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(217, 111, 50, 0.2), rgba(141, 61, 27, 0.72));
  position: relative;
}

.wp-profile-logic-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(141, 61, 27, 0.72);
  border-bottom: 2px solid rgba(141, 61, 27, 0.72);
  transform: translateX(-50%) rotate(45deg);
}

.wp-profile-project-content {
  margin-top: 30px;
  padding: 28px;
}

@media (min-width: 850px) {
  .mobile-nav .menu-item-gtranslate,
  .mobile-sidebar .menu-item-gtranslate {
    display: none !important;
  }
}

@media (max-width: 849px) {
  .header-nav-main:not(.mobile-nav) .menu-item-gtranslate,
  .header .nav-right:not(.mobile-nav) .menu-item-gtranslate {
    display: none !important;
  }
}

.menu-item-gtranslate .sub-menu > .menu-item-gtranslate-child:first-child {
  display: none !important;
}

.lang-panel {
  display: none;
}

.lang-panel.is-active {
  display: block;
}

.wp-profile-project-body h3,
.wp-profile-project-body h4 {
  color: #171310;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.wp-profile-project-body > *:first-child {
  margin-top: 0;
}

@media screen and (max-width: 849px) {
  .wp-profile-project-hero {
    grid-template-columns: 1fr;
  }
}
