/* ========== Theme ========== */


/* ========== Base ========== */
.static-page *,
.static-page *::before,
.static-page *::after {
  box-sizing: border-box;
}

.static-page {
  font: 14px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #333;
}

.static-page a {
  color: #007BFF;
  text-decoration: none;
}

.static-page a:hover {
  text-decoration: underline;
}

.static-page ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ========== Layout ========== */
.static-wrap {
  width: min(100%, 1024px);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.static-breadcrumb {
  display: flex;
  align-items: center;
}

.static-breadcrumb a {
  padding-right: 10px;
  color: var(--muted);
}


.static-breadcrumb li:not(:last-child)::after {
  content: '>';
  margin-right: 8px;
}

.static-layout {
  display: flex;
  gap: 28px;
}

.static-col-main {
  width: 68%;
}

.static-col-aside {
  width: 30%;
}

/* ========== Cards / Asides ========== */
.static-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--brand);
}

.static-link-list li {
  display: flex;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}

.static-link-list li:last-child {
  border-bottom: 0;
}

.static-link-list a {
  display: inline-flex;
  gap: 6px;
}

.static-link-list a::before {
  content: "»";
  color: #666;
}

/* Active link styling */
.static-link-list .active {
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  border-radius: 4px;
  padding: 8px 12px !important;
  margin: 2px 0;
}

.static-link-list .active a {
  color: #ffffff !important;
  font-weight: 600;
}

.static-link-list .active a::before {
  content: "▶";
  color: #ffffff;
}

/* ========== Article ========== */
.static-page-title {
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--brand);
}

.static-section {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
}

.static-section h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px;
  color: #2c3e50;
  border-bottom: 2px solid #007BFF;
  padding-bottom: 8px;
}

.static-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 12px;
  color: #34495e;
}

.static-section p {
  margin: 0 0 6px;
}

/* ========== Helpers ========== */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ========== Responsive ========== */
@media (max-width: 660px) {
  .static-layout {
    flex-direction: column;
  }
  .static-col-main,
  .static-col-aside {
    width: 100%;
  }
}
