.projects_section {
  padding: 34px 0 0;
  overflow: hidden;
}

.projects_section .section_title {
  margin-bottom: 36px;
}

.projects_tabs {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 3;
}

.project_tab_item {
  display: flex;
  align-items: flex-end;
}

.project_tab {
  border: none;
  background: transparent;
  color: #89bcd9;
  font-size: 1.9rem;
  font-weight: 600;
  font-family: "Josefin Sans", sans-serif;
  padding: 26px 90px 22px;
  cursor: pointer;
  border-radius: 28px 28px 0 0;
  transition: color 125ms ease-in-out, background-color 125ms ease-in-out;
}

.project_tab.active {
  color: #f6e7cf;
  background: #2d383f;
}

.projects_panel {
  width: 100%;
  background: #2d383f;
  border-radius: 0 28px 28px 28px;
  position: relative;
  z-index: 1;
}

.projects_panel_inner {
  padding-top: 26px;
  padding-bottom: 34px;
}

.project_card {
  display: none;
}

.project_card.active {
  display: block;
}

.project_layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: start;
}

.project_info_column {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.project_info_item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.project_marker {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-top: 8px;
  flex-shrink: 0;
}

.project_info_text {
  min-width: 0;
  max-width: 720px;
}

.project_info_headline_row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.project_info_text h3 {
  margin: 0;
  color: #f6e7cf;
  font-size: 2rem;
  font-weight: 700;
}

.project_duration {
  color: #f6e7cf;
  font-size: 1.05rem;
  font-weight: 700;
}

.project_info_text p {
  margin: 0;
  color: #f6e7cf;
  font-size: 1.2rem;
  line-height: 1.45;
}

.project_preview_column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 470px;
  justify-self: end;
  min-width: 0;
}

.project_tech_block {
  text-align: center;
  margin-bottom: 18px;
}

.project_tech_title {
  margin: 0 0 10px;
  color: #f6e7cf;
  font-size: 1.2rem;
  font-weight: 700;
}

.project_tech_icons {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.project_tech_icons img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.project_tech_text {
  margin-top: 10px;
  color: #f6e7cf;
  font-size: 1rem;
  line-height: 1.35;
}

.project_preview_image {
  width: 100%;
  max-width: 470px;
  border-radius: 28px;
  display: block;
}

.project_actions {
  display: flex;
  gap: 18px;
  margin-top: 24px;
}

.project_link_btn {
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.125rem;
}

.btn_cta.project_link_btn,
.btn_cta.project_link_btn:visited,
.btn_cta.project_link_btn:hover,
.btn_cta.project_link_btn:active {
  color: #262e34;
}

.btn_standard.project_link_btn,
.btn_standard.project_link_btn:visited,
.btn_standard.project_link_btn:hover,
.btn_standard.project_link_btn:active {
  color: #89bcd9;
}

@media (max-width: 1280px) {
  .project_tab {
    padding: 24px 52px 20px;
    font-size: 1.55rem;
  }

  .project_layout {
    gap: 34px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  }

  .project_info_text h3 {
    font-size: 1.75rem;
  }

  .project_info_text p {
    font-size: 1.02rem;
  }

  .project_preview_column,
  .project_preview_image {
    max-width: 380px;
  }
}

@media (max-width: 1100px) {
  .project_tab {
    padding: 20px 30px 18px;
    font-size: 1.28rem;
  }

  .project_layout {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  }

  .project_info_text h3 {
    font-size: 1.45rem;
  }

  .project_info_text p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .project_preview_column,
  .project_preview_image {
    max-width: 330px;
  }

  .project_tech_icons img {
    width: 36px;
    height: 36px;
  }
}