@charset "UTF-8";

.portal-page {
  background: #ffffff;
  padding: 56px 0 100px;
}

.portal-wrap {
  max-width: 1040px;
  margin: 80px auto 0;
  padding: 0 20px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.portal-sidebar {
  width: 220px;
  flex: 0 0 220px;
  padding-right: 36px;
  border-right: 1px solid #d9d9d9;
}

.portal-main {
  flex: 1;
  min-width: 0;
}

.portal-side-group + .portal-side-group {
  margin-top: 42px;
}

.portal-side-title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3e4657;
}

.portal-side-tabs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-side-tab {
  margin-bottom: 8px;
}

.portal-side-tab a,
.portal-side-tab span {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: 0.2s ease;
}

.portal-side-tab a {
  color: #6d7481;
}

.portal-side-tab a:hover {
  opacity: 0.75;
}

.portal-side-tab.is-active a {
  color: #e54848;
  background: #fdeeee;
}

.portal-side-tab.is-disabled span {
  color: #c4c8d0;
  cursor: default;
}

.portal-main-title {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3e4657;
}

.portal-section + .portal-section {
  margin-top: 44px;
}

.portal-section-title {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3e4657;
}

.portal-article-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d9d9d9;
}

.portal-article-item {
  border-bottom: 1px solid #d9d9d9;
}

.portal-article-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 12px 18px 0;
  text-decoration: none;
  color: #4a5262;
  transition: opacity 0.2s ease;
}

.portal-article-link:hover {
  opacity: 0.7;
}

.portal-article-text {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.portal-article-arrow {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.portal-article-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #e54848;
  border-right: 2px solid #e54848;
  transform: translateY(-50%) rotate(45deg);
}

.portal-empty {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  font-size: 15px;
  line-height: 1.6;
  color: #b0b4bc;
}

@media screen and (max-width: 900px) {
  .portal-wrap {
    flex-direction: column;
    gap: 32px;
  }

  .portal-sidebar {
    width: 100%;
    flex: none;
    padding-right: 0;
    padding-bottom: 24px;
    border-right: none;
    border-bottom: 1px solid #d9d9d9;
  }

  .portal-side-group + .portal-side-group {
    margin-top: 28px;
  }
}