.portal-body {
  min-height: 100vh;
}

.portal-header {
  position: sticky;
  top: 0;
}

.portal-main {
  min-height: calc(100vh - 220px);
}

.portal-menu {
  position: static;
  transform: none;
}

.portal-account-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-small-button {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 0.92rem;
}

.button-quiet {
  color: var(--muted);
  border: 1px solid transparent;
  background: transparent;
}

.button-quiet:hover {
  color: var(--text);
  border-color: var(--border);
}

.portal-hero-section {
  padding: 112px 0 52px;
  background:
    radial-gradient(circle at 18% 16%, rgba(102, 165, 173, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(0, 24, 32, 0.38), transparent);
}

.portal-hero-compact {
  padding-bottom: 38px;
}

.portal-hero-copy {
  max-width: 820px;
}

.portal-hero-copy h1,
.portal-article h1 {
  margin: 14px 0 18px;
  font-family: "Yeseva One", serif;
  font-size: clamp(2.3rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.04;
}

.portal-hero-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  line-height: 1.7;
}

.portal-notice {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--card-strong);
}

.portal-notice-success {
  border-color: color-mix(in srgb, var(--success) 55%, transparent);
}

.portal-notice a {
  color: var(--accent-light);
  font-weight: 700;
}

.portal-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.portal-plan-grid .price-card {
  display: flex;
  flex-direction: column;
}

.portal-plan-grid .button {
  margin-top: auto;
}

.portal-plan-features {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.portal-plan-features li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--success);
  font-weight: 800;
}

.portal-payment-note {
  margin: 28px auto 0;
  max-width: 720px;
  color: var(--muted-soft);
  text-align: center;
}

.portal-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.portal-news-card,
.portal-empty-state {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.portal-news-card time,
.portal-article time {
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.portal-news-card h2 {
  margin: 12px 0;
  font-family: "Yeseva One", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 400;
}

.portal-news-card h2 a {
  color: var(--text);
}

.portal-news-card p,
.portal-empty-state p {
  color: var(--muted);
  line-height: 1.65;
}

.portal-article-container {
  max-width: 860px;
}

.portal-back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent-light);
}

.portal-rich-text {
  margin-top: 30px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.78;
}

.portal-rich-text p,
.portal-rich-text ul,
.portal-rich-text ol {
  margin: 0 0 1.25em;
}

.portal-footer {
  margin-top: 40px;
}

@media (max-width: 900px) {
  .portal-menu {
    display: none;
  }

  .portal-plan-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  .portal-hero-section {
    padding-top: 84px;
  }

  .portal-account-actions .button-quiet {
    display: none;
  }

  .portal-news-grid {
    grid-template-columns: 1fr;
  }
}

