.funeda-editorial-page {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 0 0 80px;
}

.funeda-editorial-stack {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.funeda-editorial-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 48px;
  border-radius: 24px;
  background: radial-gradient(110.56% 178.08% at 98.43% 3.76%, #1f2963 0%, #11152d 100%);
  color: #ffffff;
}

.funeda-editorial-hero::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 144, 244, 0.35) 0%, rgba(58, 144, 244, 0) 70%);
}

.funeda-editorial-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: #7bb8ff;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funeda-editorial-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
  max-width: 900px;
}

.funeda-editorial-summary {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Instrument Sans", sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

.funeda-editorial-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.funeda-editorial-card {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding: 40px 48px;
  border: 1px solid #e5eef8;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(17, 21, 45, 0.08);
}

.funeda-editorial-card--archive {
  margin-top: 0;
  padding: 28px;
}

.funeda-editorial-thumb {
  margin: 0 0 32px;
  overflow: hidden;
  border-radius: 20px;
  background: #eef5ff;
}

.funeda-editorial-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.funeda-post-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #026cef;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.funeda-post-back:hover {
  color: #1f2963;
}

.funeda-post-back::before {
  content: "";
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.funeda-rich-content {
  color: #525a79;
  font-family: "Instrument Sans", sans-serif;
  font-size: 18px;
  line-height: 1.8;
}

.funeda-rich-content > *:first-child {
  margin-top: 0;
}

.funeda-rich-content > * + * {
  margin-top: 1.25em;
}

.funeda-rich-content h2,
.funeda-rich-content h3,
.funeda-rich-content h4,
.funeda-rich-content h5,
.funeda-rich-content h6 {
  margin-bottom: 0.5em;
  color: #0a0c1b;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.funeda-rich-content h2 {
  font-size: clamp(30px, 3vw, 40px);
}

.funeda-rich-content h3 {
  font-size: clamp(24px, 2.4vw, 30px);
}

.funeda-rich-content h4,
.funeda-rich-content h5,
.funeda-rich-content h6 {
  font-size: 22px;
}

.funeda-rich-content p,
.funeda-rich-content ul,
.funeda-rich-content ol,
.funeda-rich-content blockquote,
.funeda-rich-content pre,
.funeda-rich-content table {
  margin-bottom: 0;
}

.funeda-rich-content a {
  color: #026cef;
  text-decoration: underline;
  text-decoration-color: rgba(2, 108, 239, 0.35);
  text-underline-offset: 3px;
}

.funeda-rich-content a:hover {
  color: #1f2963;
  text-decoration-color: rgba(31, 41, 99, 0.5);
}

.funeda-rich-content ul,
.funeda-rich-content ol {
  padding-left: 1.3em;
}

.funeda-rich-content li + li {
  margin-top: 0.5em;
}

.funeda-rich-content ul li::marker,
.funeda-rich-content ol li::marker {
  color: #026cef;
}

.funeda-rich-content blockquote {
  padding: 24px 28px;
  border: 1px solid #d7e8fb;
  border-left: 4px solid #3ebe7e;
  border-radius: 20px;
  background: #f7fbff;
  color: #1f2963;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
}

.funeda-rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.funeda-rich-content figure {
  margin: 1.5em 0;
}

.funeda-rich-content figcaption {
  margin-top: 12px;
  color: #6a7399;
  font-size: 14px;
  text-align: center;
}

.funeda-rich-content pre,
.funeda-rich-content code {
  font-family: Consolas, Monaco, "Courier New", monospace;
}

.funeda-rich-content pre {
  overflow-x: auto;
  padding: 20px;
  border-radius: 16px;
  background: #11152d;
  color: #ffffff;
}

.funeda-rich-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #dbe8f7;
}

.funeda-rich-content th,
.funeda-rich-content td {
  padding: 14px 16px;
  border-bottom: 1px solid #dbe8f7;
  text-align: left;
}

.funeda-rich-content th {
  background: #f7fbff;
  color: #0a0c1b;
}

.funeda-rich-content hr {
  border: 0;
  border-top: 1px solid #dbe8f7;
}

.funeda-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.funeda-post-card-title {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.funeda-post-card-title a {
  color: #0a0c1b;
  text-decoration: none;
}

.funeda-post-card-title a:hover {
  color: #026cef;
}

.funeda-post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #6a7399;
  font-family: "Instrument Sans", sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.funeda-post-card-excerpt {
  margin: 0;
  color: #525a79;
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

.funeda-post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #026cef;
  font-family: "Instrument Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.funeda-post-card-link:hover {
  color: #1f2963;
}

.funeda-post-card-link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.funeda-pagination {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.funeda-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.funeda-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #dbe8f7;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0c1b;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.funeda-pagination .page-numbers.current,
.funeda-pagination .page-numbers:hover {
  border-color: #026cef;
  background: #026cef;
  color: #ffffff;
}

.funeda-empty-state {
  padding: 48px 32px;
  border: 1px solid #e5eef8;
  border-radius: 24px;
  background: #ffffff;
  color: #525a79;
  text-align: center;
  font-family: "Instrument Sans", sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

.custom-page {
  padding-top: 32px;
}

.custom-page .funeda-page-content {
  padding-top: 18px;
}

.custom-page .funeda-page-content > h1:first-child {
  margin: 0 0 24px;
  max-width: 1020px;
  color: #0a0c1b;
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.custom-page .funeda-page-content > p:first-of-type {
  margin-top: 0;
}

@media (max-width: 991px) {
  .funeda-editorial-page {
    padding-bottom: 48px;
  }

  .funeda-editorial-stack {
    margin-top: 16px;
    gap: 16px;
  }

  .funeda-editorial-hero {
    padding: 28px 24px;
    border-radius: 16px;
  }

  .funeda-editorial-summary {
    font-size: 16px;
  }

  .funeda-editorial-card {
    margin-top: 0;
    padding: 24px;
    border-radius: 16px;
  }

  .funeda-rich-content {
    font-size: 16px;
  }

  .funeda-rich-content blockquote {
    padding: 18px 20px;
    font-size: 18px;
  }

  .funeda-archive-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .funeda-post-card-title {
    font-size: 24px;
  }

  .custom-page {
    padding-top: 22px;
  }

  .custom-page .funeda-page-content {
    padding-top: 12px;
  }

  .custom-page .funeda-page-content > h1:first-child {
    margin-bottom: 18px;
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.04em;
  }
}

@media (max-width: 767px) {
  .custom-page .funeda-container {
    padding: 0 18px;
  }

  .custom-page {
    padding-top: 16px;
  }

  .custom-page .funeda-page-content {
    padding-top: 8px;
  }

  .custom-page .funeda-page-content > h1:first-child {
    max-width: none;
    margin-bottom: 14px;
    font-size: clamp(14px, 5.4vw, 18px);
    line-height: 1.18;
    letter-spacing: -0.015em;
  }

  .custom-page .funeda-page-content > .has-x-large-font-size:first-child,
  .custom-page .funeda-page-content > .has-large-font-size:first-child,
  .custom-page .funeda-page-content > p.has-x-large-font-size:first-child,
  .custom-page .funeda-page-content > p.has-large-font-size:first-child {
    font-size: 18px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.015em;
  }
}
