.scpost-shell,
.scpost-shell * {
  box-sizing: border-box;
}

.scpost-shell {
  color: #162033;
  background: #f5f8fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.scpost-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  color: #071b3a;
  background: #ffffff;
  font-weight: 800;
  transform: translateY(-160%);
}

.scpost-skip-link:focus {
  transform: translateY(0);
}

.scpost-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #dfe7ee;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.scpost-header-inner {
  width: min(1120px, 92%);
  min-height: 118px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.scpost-brand img {
  display: block;
  width: 150px;
  height: auto;
}

.scpost-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.scpost-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #334155;
  font-size: 0.91rem;
  font-weight: 750;
  text-decoration: none;
}

.scpost-nav a:hover {
  color: #071b3a;
  background: #e9fbf8;
}

.scpost-nav .scpost-nav-cta {
  color: #ffffff;
  background: #139685;
}

.scpost-main {
  width: min(900px, 92%);
  margin: 0 auto;
  padding: 72px 0 90px;
}

.scpost-article {
  overflow: hidden;
  border: 1px solid #e0e8ee;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(7, 27, 58, 0.08);
}

.scpost-article-header,
.scpost-content,
.scpost-tags {
  padding-right: clamp(24px, 7vw, 72px);
  padding-left: clamp(24px, 7vw, 72px);
}

.scpost-article-header {
  padding-top: 58px;
  padding-bottom: 34px;
}

.scpost-categories a {
  color: #139685;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.scpost-article h1 {
  margin: 14px 0 20px;
  color: #071b3a;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
}

.scpost-meta {
  margin: 0;
  color: #6b7788;
}

.scpost-featured-image {
  margin: 0;
  background: #e9f1f4;
}

.scpost-featured-image img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.scpost-content {
  padding-top: 50px;
  padding-bottom: 55px;
  color: #3f4d60;
  font-size: 1.08rem;
  line-height: 1.85;
}

.scpost-content h2,
.scpost-content h3,
.scpost-content h4 {
  margin-top: 1.7em;
  color: #071b3a;
  line-height: 1.25;
}

.scpost-content a,
.scpost-tags a {
  color: #0f7d70;
}

.scpost-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.scpost-tags {
  padding-top: 24px;
  padding-bottom: 30px;
  border-top: 1px solid #e6ebf1;
  color: #536174;
}

.scpost-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.scpost-pagination-item a {
  display: block;
  height: 100%;
  padding: 22px;
  border: 1px solid #dbe5eb;
  border-radius: 18px;
  color: #071b3a;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(7, 27, 58, 0.05);
}

.scpost-pagination-item a:hover {
  border-color: #18b6a4;
}

.scpost-pagination-item span,
.scpost-pagination-item strong {
  display: block;
}

.scpost-pagination-item span {
  margin-bottom: 8px;
  color: #139685;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scpost-pagination-next {
  text-align: right;
}

@media (max-width: 860px) {
  .scpost-header-inner {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .scpost-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .scpost-header {
    position: static;
  }

  .scpost-brand img {
    width: 132px;
  }

  .scpost-nav a {
    padding: 8px 9px;
    font-size: 0.82rem;
  }

  .scpost-main {
    padding-top: 38px;
  }

  .scpost-pagination {
    grid-template-columns: 1fr;
  }

  .scpost-pagination-next {
    text-align: left;
  }
}
