/*
Theme Name: JPYR Portal
Theme URI: https://jpyr.com
Author: JPYR Portal
Author URI: https://jpyr.org
Description: JPYR Portal - 日本円ステーブルコイン専門メディアのカスタムWordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jpyr-portal
*/
:root {
  --red: #ff466d;
  --coral: #ff5a5f;
  --orange: #ff8a29;
  --ink: #171719;
  --muted: #6b6b72;
  --line: #ece8e7;
  --soft: #fff7f6;
  --green: #33d995;
  --container: 1100px;
  --wide: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Inter", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.page-label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  min-width: 98px;
  padding: 11px 18px 10px;
  border-radius: 0 0 5px 0;
  background: rgba(32, 29, 39, 0.88);
  box-shadow: 0 10px 22px rgba(26, 20, 34, 0.2);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.hero {
  position: relative;
  min-height: 522px;
  padding-top: 42px;
  overflow: visible;
  background:
    radial-gradient(circle at 68% 46%, rgba(255, 226, 132, 0.88) 0 7%, rgba(255, 168, 72, 0.45) 18%, transparent 35%),
    radial-gradient(circle at 30% 52%, rgba(255, 118, 102, 0.72), transparent 24%),
    linear-gradient(112deg, #fb356e 0%, #ff4d69 38%, #ff7b3d 75%, #ff9639 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero::before {
  opacity: 0.66;
  background:
    radial-gradient(circle at 52% 28%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 67% 20%, rgba(255, 255, 255, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 83% 31%, rgba(255, 255, 255, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 79% 52%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 58% 61%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 91% 44%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px);
}

.hero::after {
  top: 228px;
  height: 138px;
  opacity: 0.24;
  background:
    radial-gradient(ellipse at 56% 48%, rgba(255, 255, 255, 0.78), transparent 30%),
    linear-gradient(90deg, transparent 8%, rgba(255, 235, 164, 0.55) 37%, rgba(255, 255, 255, 0.35) 55%, transparent 76%);
  filter: blur(10px);
}

.navbar {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 48px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  width: min(var(--wide), calc(100% - 52px));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 160px;
}

.brand-logo {
  display: block;
  width: 130px;
  height: auto;
  object-fit: contain;
}

.brand-name {
  color: #e53958;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.brand-mark,
.coin-mark,
.thumb-mark {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 18px;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span,
.coin-mark::before,
.coin-mark::after,
.coin-mark span,
.thumb-mark::before,
.thumb-mark::after,
.thumb-mark span {
  position: absolute;
  left: 1px;
  width: 25px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.brand-mark,
.coin-mark,
.thumb-mark {
  color: #e93f58;
}

.brand-mark::before,
.coin-mark::before,
.thumb-mark::before {
  top: 0;
  width: 18px;
  transform: skewX(-13deg);
}

.brand-mark span,
.coin-mark span,
.thumb-mark span {
  top: 6px;
  width: 30px;
}

.brand-mark::after,
.coin-mark::after,
.thumb-mark::after {
  top: 12px;
  width: 18px;
  transform: translateX(10px) skewX(-13deg);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #26242a;
  font-size: 17px;
  font-weight: 800;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.chevron {
  position: relative;
  top: -1px;
  font-size: 16px;
  line-height: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fbf7f8;
  color: #151218;
  cursor: pointer;
}

.icon-button img {
  display: block;
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.globe-icon,
.moon-icon {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
}

.globe-icon {
  border: 1.7px solid currentColor;
  border-radius: 50%;
}

.globe-icon::before,
.globe-icon::after {
  position: absolute;
  content: "";
}

.globe-icon::before {
  top: 5px;
  left: -2px;
  width: 15px;
  height: 2px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

.globe-icon::after {
  top: 1px;
  left: 4px;
  width: 4px;
  height: 10px;
  border-left: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  border-radius: 50%;
}

.moon-icon {
  border-radius: 50%;
  box-shadow: inset -4px 0 0 1px currentColor;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  width: auto;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff6174, #ff7957);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(255, 78, 82, 0.2);
  white-space: nowrap;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 52px));
  min-height: 480px;
  padding-bottom: 80px;
  margin: 72px auto 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 700px;
  padding-left: 10px;
  color: #fff;
}

.rate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  height: 24px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.hero h1 {
  margin: 20px 0 14px;
  color: #fff;
  font-size: 56px;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 0 0 27px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-button,
.outline-button,
.banner-button,
.more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  height: 44px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.hero-button {
  min-width: 180px;
  height: 56px;
  font-size: 16px;
  font-weight: 950;
  padding: 0 11px 0 21px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: linear-gradient(135deg, #ff9940, #ff665a);
  color: #fff;
  box-shadow: 0 10px 22px rgba(217, 57, 52, 0.24);
}

.round-arrow,
.small-arrow {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: #ff694a;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.round-arrow.light,
.small-arrow {
  border: 1px solid rgba(255, 105, 74, 0.32);
  background: #fff;
}

.coin-stage {
  position: absolute;
  top: -74px;
  right: -36px;
  width: 436px;
  height: 376px;
}

.hero-coin-asset {
  display: block;
  width: 436px;
  height: 376px;
  object-fit: contain;
}

.orbit {
  position: absolute;
  left: 56px;
  top: 68px;
  width: 360px;
  height: 205px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.58));
}

.orbit-one {
  transform: rotate(-18deg);
}

.orbit-two {
  top: 53px;
  left: 35px;
  width: 405px;
  height: 230px;
  border-color: rgba(255, 248, 220, 0.65);
  transform: rotate(13deg);
}

.orbit-three {
  top: 88px;
  left: 54px;
  width: 390px;
  height: 150px;
  border-color: rgba(255, 250, 235, 0.5);
  transform: rotate(-8deg);
}

.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff7d8;
  box-shadow: 0 0 13px 4px rgba(255, 255, 255, 0.65);
}

.spark-one {
  top: 38px;
  left: 304px;
}

.spark-two {
  top: 242px;
  left: 427px;
}

.spark-three {
  top: 103px;
  left: 84px;
}

.coin {
  position: absolute;
  top: 45px;
  left: 103px;
  display: grid;
  place-items: center;
  width: 270px;
  height: 270px;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 65% 18%, rgba(255, 242, 180, 0.98), transparent 25%),
    radial-gradient(circle at 36% 62%, rgba(255, 57, 83, 0.95), transparent 48%),
    linear-gradient(135deg, #ff4970 4%, #ff7751 50%, #ffc468 100%);
  box-shadow:
    inset 18px 18px 36px rgba(255, 255, 255, 0.18),
    inset -28px -24px 40px rgba(201, 60, 40, 0.16),
    0 0 22px rgba(255, 255, 255, 0.72),
    34px 30px 50px rgba(197, 60, 43, 0.18);
  transform: rotate(-15deg);
}

.coin::before,
.coin::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.coin::before {
  inset: 20px;
  border: 2px solid rgba(255, 255, 255, 0.33);
  box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.15);
}

.coin::after {
  inset: -10px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 34px rgba(255, 249, 211, 0.66);
}

.coin-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.55) 48%, rgba(255, 255, 255, 0.05) 57%, transparent 66%);
  opacity: 0.8;
}

.coin-brand {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 31px;
  font-weight: 800;
  letter-spacing: 0.14em;
  transform: rotate(15deg);
}

.coin-brand .coin-mark {
  width: 74px;
  height: 43px;
  color: rgba(255, 255, 255, 0.72);
  transform: scale(1.75);
}

.feature-strip {
  position: absolute;
  right: 0;
  bottom: -44px;
  left: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  width: min(1100px, calc(100% - 64px));
  min-height: 120px;
  margin: 0 auto;
  padding: 32px 40px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 42px rgba(34, 30, 33, 0.09);
  backdrop-filter: blur(20px);
}

.feature {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
}

.feature-icon-img {
  display: block;
  width: 41px;
  height: 41px;
  object-fit: contain;
}

.feature h2 {
  margin: 0 0 8px;
  color: #1d1b20;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
}

.feature:first-child h2 {
  color: var(--red);
}

.feature p {
  margin: 0;
  color: #222126;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.feature-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255, 72, 104, 0.36);
  border-radius: 50%;
  background: #fff7f8;
  color: var(--red);
}

.feature-icon.stable span {
  position: relative;
  width: 20px;
  height: 14px;
}

.feature-icon.stable span::before,
.feature-icon.stable span::after,
.feature-icon.stable::after {
  position: absolute;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.feature-icon.stable span::before {
  top: 0;
  left: 0;
  width: 16px;
}

.feature-icon.stable span::after {
  top: 5px;
  left: 0;
  width: 22px;
}

.feature-icon.stable::after {
  top: 24px;
  left: 17px;
  width: 17px;
}

.feature-icon.shield::before {
  width: 14px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 8px 8px 10px 10px;
  clip-path: polygon(50% 0, 100% 18%, 88% 75%, 50% 100%, 12% 75%, 0 18%);
  content: "";
}

.feature-icon.shield::after {
  position: absolute;
  width: 4px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(38deg);
  content: "";
}

.feature-icon.bolt::before {
  width: 12px;
  height: 20px;
  background: currentColor;
  clip-path: polygon(51% 0, 100% 0, 64% 38%, 100% 38%, 33% 100%, 47% 53%, 0 53%);
  content: "";
}

.feature-icon.global::before {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.feature-icon.global::after {
  position: absolute;
  width: 18px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
}

.intro {
  width: min(var(--container), calc(100% - 52px));
  margin: 0 auto;
  padding: 160px 0 40px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.intro-copy {
  padding-left: 10px;
}

.section-kicker {
  margin: 0 0 15px;
  color: #ff6848;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.intro-copy h2 {
  margin: 0 0 20px;
  color: #161519;
  font-size: 36px;
  font-weight: 950;
  line-height: 1.45;
  letter-spacing: 0;
}

.intro-copy p:not(.section-kicker) {
  margin: 0;
  color: #37343a;
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
}

.outline-button {
  min-width: 150px;
  margin-top: 31px;
  padding: 0 9px 0 20px;
  border: 1px solid #ff7b4d;
  background: #fff;
  color: #ff6a45;
}

.market-card {
  min-height: auto;
  height: auto;
  padding: 28px 24px;
  border: 1px solid #e5dedb;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f7 100%);
  box-shadow: 0 10px 30px rgba(53, 42, 36, 0.05);
}

.market-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 26px;
}

.market-head h3 {
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: 900;
  color: #151218;
  letter-spacing: 0.02em;
  display: inline-block;
}

.market-head h3::after {
  content: '';
  display: block;
  width: 100%;
  height: 2.5px;
  margin-top: 7px;
  background: linear-gradient(90deg, #ff4f86 0%, #ff8c42 100%);
  border-radius: 2px;
}

/* ===== Reusable gradient-title class (sidebar headings) ===== */
.gradient-title {
  display: inline-block;
  border-bottom: none !important;
  background: none !important;
}

.gradient-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 2.5px;
  margin-top: 7px;
  background: linear-gradient(90deg, #ff4f86 0%, #ff8c42 100%);
  border-radius: 2px;
}

.market-head span {
  color: #9b9aa0;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.market-rate {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 23px;
}

.market-rate strong {
  font-size: 19px;
  font-weight: 950;
  line-height: 1;
}

.market-rate span {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(51, 217, 149, 0.16);
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.market-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid #eeeeee;
}

.market-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  background: #f5f3f5;
  border-radius: 10px;
}

.market-list dt {
  color: #59565e;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.market-list dd {
  margin: 0;
  color: #2a282d;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.small-arrow {
  width: 18px;
  height: 18px;
  font-size: 17px;
}

.banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  min-height: 150px;
  margin: 48px 0 0 10px;
  padding: 40px 47px 40px 38px;
  overflow: hidden;
  border-radius: 11px;
  background:
    radial-gradient(circle at 58% 26%, rgba(255, 230, 160, 0.34), transparent 22%),
    linear-gradient(110deg, #ff851d 0%, #ff5c4f 42%, #ff3d74 100%);
  color: #fff;
}

.banner::before,
.banner::after {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
  transform: rotate(-17deg);
}

.banner::before {
  left: 210px;
  top: -95px;
  width: 270px;
  height: 270px;
}

.banner::after {
  left: 278px;
  top: -18px;
  width: 180px;
  height: 180px;
}

.banner-copy,
.banner-action {
  position: relative;
  z-index: 1;
}

.banner h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.35;
}

.banner p {
  margin: 0;
  font-size: 14px;
  font-weight: 850;
}

.banner-action {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.banner-button {
  min-width: 116px;
  height: 39px;
  padding: 0 8px 0 24px;
  background: #fff;
  color: #ff644d;
}

.exchange-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 900;
}

.news {
  position: relative;
  margin-top: 36px;
  padding: 52px 0 42px;
  border-top: 1px solid #ececec;
}

.news-inner {
  width: min(var(--container), calc(100% - 52px));
  margin: 0 auto;
}

.news-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 13px;
  padding-left: 10px;
}

.news-heading h2 {
  margin: 0 0 9px;
  color: #17161b;
  font-size: 36px;
  font-weight: 950;
  line-height: 1.1;
}

.news-heading p {
  margin: 0;
  color: #26232a;
  font-size: 14px;
  font-weight: 700;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 15px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.view-all span {
  font-size: 17px;
  line-height: 1;
}

.news-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  align-items: start;
  gap: 36px;
  padding-left: 10px;
}

.featured-news {
  overflow: hidden;
  border: 1px solid #e9e4e3;
  border-radius: 8px;
  background: #fff;
}

.thumb {
  position: relative;
  display: block;
  overflow: hidden;
  object-fit: cover;
  background: #f7d1d7;
}

.featured-news .thumb {
  height: 145px;
}

.thumb::before,
.thumb::after {
  position: absolute;
  content: "";
}

.thumb-red {
  background:
    radial-gradient(circle at 65% 16%, rgba(255, 221, 107, 0.86), transparent 28%),
    radial-gradient(circle at 42% 68%, rgba(255, 62, 85, 0.75), transparent 42%),
    linear-gradient(135deg, #ff3d7a 0%, #ff7150 58%, #ffb342 100%);
}

.thumb-red::before {
  top: -98px;
  left: 35px;
  width: 280px;
  height: 280px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.thumb-red::after {
  right: 22px;
  bottom: -78px;
  width: 190px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 235, 158, 0.34);
  transform: rotate(-25deg);
}

.thumb-mark {
  position: absolute;
  top: 60px;
  left: 50%;
  z-index: 2;
  color: rgba(255, 255, 255, 0.75);
  transform: translateX(-50%) scale(2.05);
}

.featured-body {
  position: relative;
  min-height: 148px;
  padding: 17px 18px 20px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.news-meta.left {
  justify-content: flex-start;
  margin-bottom: 8px;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 18px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.news-tag.pink {
  background: #ffe9ee;
  color: var(--red);
}

.news-tag.orange {
  background: #fff0e7;
  color: #ff7d43;
}

.news-meta time {
  color: #77747c;
  font-size: 13px;
  font-weight: 800;
}

.featured-body h3,
.side-body h3,
.list-body h3 {
  margin: 0;
  color: #18171c;
  font-weight: 950;
  letter-spacing: 0;
}

.featured-body h3 {
  font-size: 17px;
  line-height: 1.55;
}

.featured-body p {
  width: 235px;
  margin: 12px 0 0;
  color: #323035;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9;
}

.news-arrow {
  position: absolute;
  right: 18px;
  bottom: 20px;
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid rgba(255, 105, 74, 0.36);
  border-radius: 50%;
  color: #ff6445;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.side-news {
  display: grid;
  gap: 20px;
  padding-top: 5px;
}

.side-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr 20px;
  gap: 16px;
  align-items: start;
  min-height: 78px;
}

.side-card .news-arrow {
  position: static;
  align-self: center;
}

.thumb.small {
  width: 112px;
  height: 70px;
  border-radius: 6px;
}

.thumb-violet {
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 246, 180, 0.9), transparent 12%),
    radial-gradient(circle at 50% 52%, rgba(255, 88, 202, 0.45), transparent 26%),
    linear-gradient(135deg, #c6e9ff 0%, #a6b2ff 39%, #f681e7 74%, #ffd178 100%);
}

.thumb-violet::before,
.thumb-blue::before,
.thumb-ice::before {
  left: 12px;
  bottom: 14px;
  width: 95px;
  height: 22px;
  border-radius: 50% 50% 8px 8px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 26px -14px 0 rgba(255, 255, 255, 0.25), 48px 4px 0 rgba(255, 255, 255, 0.18);
}

.thumb-violet::after,
.thumb-blue::after {
  top: 16px;
  left: 47px;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
}

.thumb-blue {
  background:
    radial-gradient(circle at 74% 30%, rgba(255, 255, 255, 0.88), transparent 15%),
    linear-gradient(135deg, #c9f0ff 0%, #9cb9ff 52%, #7d8cff 100%);
}

.thumb-wave {
  background:
    radial-gradient(circle at 72% 32%, rgba(255, 236, 128, 0.85), transparent 18%),
    linear-gradient(140deg, #ff508d 0%, #ff7657 44%, #ffc84f 100%);
}

.thumb-wave::before {
  left: -8px;
  bottom: 8px;
  width: 138px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.23);
  transform: rotate(-9deg);
}

.thumb-wave::after {
  right: 21px;
  top: 19px;
  width: 26px;
  height: 18px;
  color: rgba(255, 255, 255, 0.55);
  background: currentColor;
  clip-path: polygon(0 28%, 70% 28%, 70% 0, 100% 50%, 70% 100%, 70% 72%, 0 72%);
}

.side-body .news-meta {
  margin-bottom: 5px;
}

.side-body h3 {
  font-size: 15px;
  line-height: 1.35;
}

.side-body p {
  margin: 4px 0 0;
  color: #403d44;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 25px 0 12px;
  padding-left: 10px;
}

.topic-pills a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 24px;
  padding: 0 17px;
  border: 1px solid #dfdcdd;
  border-radius: 999px;
  color: #5d5960;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.topic-pills a.active {
  border-color: transparent;
  background: var(--red);
  color: #fff;
}

.news-list {
  padding-left: 10px;
}

.list-card {
  position: relative;
  display: grid;
  grid-template-columns: 98px 1fr 20px;
  gap: 20px;
  align-items: center;
  min-height: 76px;
  border-top: 1px solid #e9e6e7;
}

.list-card .news-arrow {
  position: static;
  align-self: center;
}

.thumb.list {
  width: 98px;
  height: 55px;
  border-radius: 6px;
}

.thumb-sunset {
  background:
    radial-gradient(circle at 68% 17%, rgba(255, 255, 198, 0.88), transparent 15%),
    linear-gradient(135deg, #f15e67 0%, #ff9846 50%, #ffd481 100%);
}

.thumb-sunset::before {
  right: 10px;
  bottom: -12px;
  width: 96px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.thumb-aqua {
  background:
    radial-gradient(circle at 68% 36%, rgba(255, 255, 255, 0.92), transparent 17%),
    linear-gradient(135deg, #5bd5ff 0%, #a6ecff 47%, #dff4ff 100%);
}

.thumb-aqua::before {
  left: 42px;
  top: 14px;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.thumb-aqua::after {
  left: 18px;
  bottom: 9px;
  width: 65px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.thumb-ice {
  background:
    radial-gradient(circle at 77% 30%, rgba(255, 255, 255, 0.92), transparent 16%),
    linear-gradient(135deg, #d7f6ff 0%, #b4dfff 58%, #f5f8ff 100%);
}

.list-body h3 {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.35;
}

.list-body p {
  margin: 0;
  color: #39363d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.more-button {
  width: 161px;
  margin: 18px auto 0;
  padding: 0 7px 0 20px;
  border: 1px solid #e5dfe0;
  background: #fff;
  color: var(--red);
}

.portal-news {
  padding: 120px 0 80px;
  background:
    radial-gradient(circle at 11% 5%, rgba(255, 139, 78, 0.08), transparent 27%),
    radial-gradient(circle at 90% 28%, rgba(255, 84, 114, 0.05), transparent 30%),
    #fffaf8;
}

.portal-shell {
  width: min(1200px, calc(100% - 56px));
  margin: 0 auto;
  padding: 48px 48px 56px;
  border: 1px solid rgba(244, 234, 231, 0.95);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(88, 54, 37, 0.05);
}

.portal-heading {
  margin-bottom: 19px;
}

.portal-heading span {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff0ec;
  color: #ff654d;
  font-size: 15px;
  font-weight: 900;
}

.portal-heading h2,
.portal-about-copy h2 {
  margin: 15px 0 10px;
  color: #0f0e12;
  font-size: 42px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.portal-heading p,
.portal-about-copy p {
  margin: 0;
  color: #58545a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.portal-news-grid {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 28px;
}

.portal-featured,
.portal-side-card,
.portal-row,
.about-card {
  border: 1px solid #f0e9e6;
  background: #fff;
  box-shadow: 0 8px 22px rgba(53, 42, 36, 0.04);
}

.portal-featured {
  overflow: hidden;
  border-radius: 8px;
}

.portal-featured img {
  display: block;
  width: 100%;
  height: 207px;
  object-fit: cover;
}

.portal-featured-body {
  min-height: 129px;
  padding: 18px 12px 20px;
}

.portal-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 9px;
}

.portal-meta time {
  color: #69656c;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 43px;
  height: 20px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.tag-pink {
  background: #ffe8ef;
  color: #ff5570;
}

.tag-orange {
  background: #fff0df;
  color: #ff8838;
}

.tag-purple {
  background: #f2e1ff;
  color: #9659ff;
}

.portal-featured h3,
.portal-side-card h3,
.portal-row h3,
.about-card h3 {
  margin: 0;
  color: #151318;
  font-weight: 950;
  letter-spacing: 0;
}

.portal-featured h3 {
  font-size: 22px;
  line-height: 1.45;
}

.portal-featured p {
  margin: 12px 0 0;
  color: #3c3940;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.portal-side-list {
  display: grid;
  gap: 8px;
}

.portal-side-card {
  position: relative;
  display: grid;
  grid-template-columns: 134px 1fr 34px;
  align-items: center;
  gap: 16px;
  min-height: 89px;
  padding: 16px 15px 16px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-side-card > img {
  display: block;
  width: 134px;
  height: 89px;
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-side-card .portal-meta,
.portal-row .portal-meta {
  margin-bottom: 8px;
}

.portal-side-card h3 {
  font-size: 15px;
  line-height: 1.55;
}

.portal-arrow {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #eee8e4;
  border-radius: 50%;
  background: #fff;
  color: #111015;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 15px rgba(38, 31, 28, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-pills {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  margin: 40px 0 32px;
  padding-left: 7px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.portal-pills::-webkit-scrollbar {
  display: none;
}

.portal-pills a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: 48px;
  height: 28px;
  padding: 0 14px;
  border: 1px solid #ece6e2;
  border-radius: 999px;
  background: #fff;
  color: #4a454c;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 5px 13px rgba(49, 38, 33, 0.04);
  flex-shrink: 0;
}

.portal-pills a.active {
  border-color: transparent;
  background: linear-gradient(135deg, #ff4f78, #ff9524);
  color: #fff;
}

.portal-list {
  display: grid;
  gap: 9px;
}

.portal-row {
  display: grid;
  grid-template-columns: 184px 1fr 34px;
  align-items: center;
  gap: 21px;
  min-height: 90px;
  padding: 20px 20px 20px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-row > img {
  display: block;
  width: 184px;
  height: 104px;
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-row h3 {
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.35;
}

.portal-row p {
  margin: 0;
  color: #444148;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.portal-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 258px;
  height: 36px;
  margin: 15px auto 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(120deg, #ff4f86, #ff9b1f) border-box;
  color: #17151a;
  font-size: 15px;
  font-weight: 900;
}

.portal-more span {
  font-size: 18px;
  line-height: 1;
}

.portal-about {
  display: grid;
  grid-template-columns: 220px repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 36px;
}

.portal-about-copy {
  padding-top: 8px;
}

.portal-about-copy h2 {
  margin-top: 0;
  font-size: 28px;
}

.about-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 13px;
  min-height: 132px;
  padding: 25px 19px;
  border-radius: 10px;
}

.about-card img {
  display: block;
  width: 82px;
  height: 82px;
  margin-left: -10px;
  object-fit: contain;
}

.about-card h3 {
  margin-bottom: 11px;
  font-size: 16px;
  white-space: nowrap;
  letter-spacing: -0.03em;
}

.about-card p {
  margin: 0;
  color: #57535a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.85;
}

.start-banner-css {
  width: min(1200px, calc(100% - 56px));
  margin: 100px auto 80px;
  padding: 64px;
  border-radius: 16px;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
    linear-gradient(135deg, #ff4f86, #ff9b1f);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.start-banner-content h2 {
  font-size: 32px;
  font-weight: 950;
  margin: 0 0 12px;
}

.start-banner-content p {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 24px;
}

.start-banner-actions {
  display: flex;
  gap: 16px;
}

.start-banner-actions .btn-primary {
  background: #fff;
  color: #ff4f86;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
}

.start-banner-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.footer {
  margin-top: 0;
  background: #151218;
}

.footer-inner {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 62px;
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  padding: 80px 0 64px;
}

.footer-brand img {
  display: block;
  width: 171px;
  height: 28px;
  object-fit: contain;
}

.footer-brand p {
  margin: 17px 0 17px;
  color: #a09da3;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.85;
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links img {
  display: block;
  width: 29px;
  height: 29px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-nav h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.footer-nav a {
  display: block;
  margin-top: 9px;
  color: #a09da3;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ff466d;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(1200px, calc(100% - 64px));
  min-height: 64px;
  margin: 0 auto;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #7c7880;
  font-size: 13px;
  font-weight: 700;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #ff466d;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 820px) {
  .nav-links {
    gap: 18px;
  }

  .brand {
    flex-basis: 122px;
  }

  .coin-stage {
    right: -140px;
  }
}

@media (max-width: 720px) {
  .page-label {
    font-size: 16px;
    min-width: 78px;
    padding: 9px 13px;
  }

  .hero {
    min-height: 790px;
    overflow: hidden;
  }

  .navbar {
    width: calc(100% - 32px);
    margin-top: 48px;
    padding-left: 16px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    flex: 1 1 auto;
  }

  .hero-inner {
    width: calc(100% - 40px);
    height: auto;
    margin-top: 42px;
  }

  .hero-copy {
    width: min(330px, 100%);
    padding-left: 0;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 45px);
  }

  .coin-stage {
    top: 300px;
    right: 50%;
    width: 430px;
    transform: translateX(50%) scale(0.86);
  }

  .feature-strip {
    position: relative;
    bottom: auto;
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 34px);
    margin-top: 340px;
    padding: 20px;
    gap: 20px 12px;
  }

  .intro {
    width: calc(100% - 40px);
    padding-top: 54px;
  }

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

  .intro-copy,
  .news-heading,
  .news-grid,
  .topic-pills,
  .news-list {
    padding-left: 0;
  }

  .market-card {
    padding: 24px 20px;
  }

  .banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-left: 0;
    padding: 28px;
  }

  .banner-action {
    justify-items: start;
  }

  .news-inner {
    width: calc(100% - 40px);
  }

  .side-card,
  .list-card {
    grid-template-columns: 98px 1fr 20px;
    gap: 14px;
  }

  .thumb.small {
    width: 98px;
    height: 62px;
  }

  .portal-news {
    padding-top: 20px;
  }

  .portal-shell {
    width: calc(100% - 34px);
    padding: 28px 18px 30px;
    border-radius: 28px;
  }

  .portal-heading h2 {
    font-size: 32px;
  }

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

  .portal-featured img {
    height: auto;
  }

  .portal-side-card {
    grid-template-columns: 118px 1fr 34px;
    gap: 13px;
  }

  .portal-side-card > img {
    width: 118px;
    height: 78px;
  }

  .portal-pills {
    gap: 10px;
    padding-left: 0;
  }

  .portal-row {
    grid-template-columns: 126px 1fr 34px;
    gap: 14px;
  }

  .portal-row > img {
    width: 126px;
    height: 58px;
  }

  .portal-about {
    gap: 14px;
  }

  .portal-about-copy {
    padding-top: 0;
  }

  .about-card {
    min-height: 112px;
  }

  .start-banner-css {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 24px;
  }
  
  .start-banner-content h2 {
    font-size: 24px;
  }
  
  .start-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .start-banner-actions a {
    text-align: center;
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    width: calc(100% - 40px);
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 18px;
    width: calc(100% - 40px);
    padding: 14px 0;
    text-align: center;
  }
}

@media (max-width: 470px) {
  .nav-actions .icon-button {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    margin-top: 338px;
  }

  .intro-copy h2,
  .news-heading h2 {
    font-size: 26px;
  }

  .news-heading {
    display: block;
  }

  .view-all {
    margin-top: 14px;
  }

  .featured-body p {
    width: calc(100% - 38px);
  }

  .side-card,
  .list-card {
    grid-template-columns: 88px 1fr;
  }

  .side-card .news-arrow,
  .list-card .news-arrow {
    position: absolute;
    right: 0;
    bottom: 12px;
  }

  .thumb.small,
  .thumb.list {
    width: 88px;
    height: 56px;
  }

  .portal-heading h2 {
    font-size: 29px;
  }

  .portal-side-card,
  .portal-row {
    grid-template-columns: 1fr 34px;
  }

  .portal-side-card > img,
  .portal-row > img {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
  }

  .portal-featured-body {
    min-height: 0;
  }

  .portal-pills a {
    min-width: 56px;
    padding: 0 13px;
  }

  .portal-more {
    width: min(258px, 100%);
  }

  .about-card {
    grid-template-columns: 58px 1fr;
    padding: 20px 16px;
  }

  .about-card img {
    width: 72px;
    height: 72px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }
}

/* ===== Page label: hidden in production ===== */
.page-label {
  display: none;
}

/* ===== Sub-page hero (News, Article pages) ===== */
.sub-hero {
  min-height: 240px;
  padding-bottom: 48px;
}

.sub-hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 52px));
  margin: 40px auto 0;
  color: #fff;
  text-align: center;
}

.sub-hero-inner h1 {
  margin: 0 0 12px;
  font-size: 36px;
  font-weight: 950;
  line-height: 1.3;
  color: #fff;
}

.sub-hero-inner p {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  opacity: 0.9;
}

/* ===== News page main container ===== */
.news-page-main {
  width: min(1200px, calc(100% - 56px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.news-page-main .portal-pills {
  margin-top: 0;
  margin-bottom: 20px;
  padding-left: 0;
}

.news-page-main .portal-list {
  margin-top: 0;
}

.news-page-main .portal-row > img {
  width: 184px;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
}

/* ===== Article detail page ===== */
.article-hero-img {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 28px;
}

.article-hero-img img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.article-body-card {
  padding: 32px;
  border: 1px solid #f0e9e6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(53, 42, 36, 0.04);
}

.article-lead {
  font-size: 16px;
  font-weight: 700;
  color: #18171c;
  line-height: 1.8;
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eeeeee;
}

.article-body {
  font-size: 14px;
  color: #39363d;
  line-height: 1.9;
  font-weight: 600;
}

.article-body p {
  margin: 0 0 18px;
}

@media (max-width: 720px) {
  .sub-hero {
    min-height: 200px;
    padding-bottom: 32px;
  }

  .sub-hero-inner h1 {
    font-size: 28px;
  }

  .news-page-main {
    width: calc(100% - 34px);
    padding: 24px 0 48px;
  }

  .news-page-main .portal-row > img {
    width: 126px;
    height: 80px;
  }

  .article-hero-img img {
    height: 200px;
  }

  .article-body-card {
    padding: 22px 18px;
  }
}

@media (max-width: 470px) {
  .sub-hero-inner h1 {
    font-size: 24px;
  }

  .news-page-main .portal-row {
    grid-template-columns: 1fr 34px;
  }

  .news-page-main .portal-row > img {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
  }
}

/* --- News Portal Layout (Bitcoin.com style) --- */
.news-header {
  padding: 0;
  margin-bottom: 48px;
}

.news-portal-main {
  width: min(1200px, calc(100% - 56px));
  margin: 0 auto 80px;
}

.news-hero-section {
  margin-bottom: 56px;
}

.news-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.news-hero-main-article {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  min-height: 460px;
  box-shadow: 0 12px 32px rgba(30, 20, 25, 0.1);
  transition: transform 0.3s ease;
}

.news-hero-main-article:hover {
  transform: translateY(-4px);
}

.news-hero-main-article img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-hero-main-article:hover img {
  transform: scale(1.05);
}

.news-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 80px 48px 48px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0.9));
  color: #fff;
  z-index: 2;
}

.news-hero-content .portal-meta time {
  color: #eee;
}

.news-hero-content h2 {
  font-size: 32px;
  font-weight: 900;
  margin: 16px 0 12px;
  line-height: 1.35;
  color: #fff;
}

.news-hero-content p {
  font-size: 16px;
  font-weight: 600;
  color: #ddd;
  margin: 0;
  line-height: 1.6;
}

.news-hero-sub-articles {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-feed-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

.news-sidebar .market-card {
  margin: 0;
  min-height: auto;
}

/* Ensure pink tag styles are prominent */
.tag-pink {
  background: #ffe3e9;
  color: #e5285d;
}

/* Responsive adjustments for news layout */
@media (max-width: 980px) {
  .news-hero-grid,
  .news-feed-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .news-hero-content {
    padding: 40px 24px 24px;
  }
  .news-hero-content h2 {
    font-size: 22px;
    margin-top: 12px;
  }
  .news-hero-main-article {
    min-height: 340px;
  }

  .portal-side-card {
    grid-template-columns: 110px 1fr 34px;
    padding: 12px;
    gap: 12px;
  }
  .portal-side-card > img {
    width: 110px;
    height: 74px;
  }
  .portal-side-card h3 {
    font-size: 14px;
  }

  .portal-row {
    grid-template-columns: 120px 1fr 34px;
    padding: 16px 12px;
    gap: 16px;
  }
  .portal-row > img {
    width: 120px;
    height: 80px;
  }
  .portal-row h3 {
    font-size: 16px;
  }
  .portal-row p {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .start-banner-css {
    padding: 32px 24px !important;
  }
  .start-banner-content h2 {
    font-size: 20px !important;
  }
  .start-banner-actions {
    flex-direction: column !important;
  }
  .start-banner-actions a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .portal-row {
    grid-template-columns: 1fr 34px;
  }
  .portal-row > img {
    grid-column: 1 / -1;
    width: 100%;
    height: 180px;
    margin-bottom: 8px;
  }
}

/* ===== Desktop Hover Effects (Disabled on Touch Devices for Smooth scrolling) ===== */
@media (hover: hover) {
  .portal-side-card:hover,
  .portal-row:hover {
    border-color: #ff4f86;
    background-color: #fffafb;
    box-shadow: 0 12px 30px rgba(255, 79, 134, 0.08);
    transform: translateY(-2px);
  }

  .portal-side-card:hover img,
  .portal-row:hover > img {
    transform: scale(1.02);
  }

  .portal-side-card:hover .portal-arrow,
  .portal-row:hover .portal-arrow {
    background: #ff4f86;
    color: #fff;
    border-color: #ff4f86;
    transform: translateX(4px);
  }
}

/* ===== Sub-page Title Section (Clean, Minimalist, No Colorful Background) ===== */
.sub-hero {
  background: #ffffff;
  border-bottom: 1px solid #f2ece9;
  padding: 48px 0;
  margin-bottom: 40px;
}

.sub-hero-inner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.sub-hero-inner h1 {
  margin: 16px 0 0;
  color: #151218 !important;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-shadow: none !important;
}

.sub-hero-inner p {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #5c5960 !important;
  text-shadow: none !important;
}

.sub-hero .portal-meta time {
  color: #69656c !important;
  text-shadow: none !important;
}

/* ===== Mobile Navigation Overrides & Alignment Fixes ===== */
@media (max-width: 820px) {
  .navbar {
    width: 100% !important;
    margin-top: 0 !important;
    padding: 0 16px !important;
    box-sizing: border-box;
  }
  .navbar-inner {
    width: 100% !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .brand {
    flex: 0 0 auto !important;
  }
  
  .footer-inner {
    width: 100% !important;
    padding: 48px 20px 48px !important;
    box-sizing: border-box;
  }
  .footer-bottom {
    width: 100% !important;
    padding: 24px 20px !important;
    box-sizing: border-box;
  }
}

/* ===== Article Detail Page Readability Polishing ===== */
.article-hero-img,
.article-body-card {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.article-body-card {
  padding: 48px 48px;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(53, 42, 36, 0.06);
}

.article-body {
  font-size: 16px;
  color: #2d2a30;
  line-height: 2.0;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body .wordpress-disclaimer {
  margin-top: 40px;
  padding: 24px;
  background: #fbf9f9;
  border-left: 4px solid #ff4f86;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: #69656c;
  font-weight: 600;
  line-height: 1.8;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.01);
}

.article-body h2 {
  font-size: 22px;
  color: #151218;
  margin: 40px 0 18px;
  font-weight: 800;
  display: block;
}

.article-body h2::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(90deg, #ff4f86 0%, #ff8c42 100%);
  border-radius: 2px;
}

.article-body h3 {
  font-size: 18px;
  color: #151218;
  margin: 32px 0 16px;
  font-weight: 800;
  border-left: 3px solid #ff466d;
  padding-left: 10px;
}

.article-body blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  background: #f7f2f4;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(255, 70, 109, 0.02);
}

.article-body blockquote p {
  margin: 0 0 8px;
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  color: #343038;
  line-height: 1.7;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #69656c;
  font-style: normal;
  font-weight: bold;
}

.article-body ul {
  margin: 0 0 24px;
  padding-left: 20px;
  list-style-type: disc;
}

.article-body li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #343038;
  line-height: 1.8;
}

.article-body li strong {
  color: #151218;
  font-weight: 800;
}

/* ===== Details & Summary Customization for PR Disclosure ===== */
details summary::-webkit-details-marker {
  display: none;
}

details summary {
  list-style: none;
  outline: none;
}

details[open] summary span:last-child {
  transform: rotate(180deg);
}

/* ===== PR Disclosure Layout ===== */
.article-header-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  width: 100%;
}

.pr-disclosure-container {
  background: #fdfbfa;
  border: 1px solid #f6f0ed;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 12px;
  color: #7c7880;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  width: 100%;
  margin-bottom: 16px;
}

/* ===== RESPONSIVE: Tablet (max 980px) ===== */
@media (max-width: 980px) {
  /* News portal: stack hero + feed layout */
  .news-hero-grid,
  .news-feed-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Sidebar goes below main on tablet */
  .news-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 0;
  }

  .news-sidebar > * {
    margin-top: 0 !important;
  }

  /* Article detail: single column */
  .news-feed-layout .news-feed-main {
    min-width: 0;
  }

  /* Start banner: hide orb image on tablet */
  .start-banner-css img[alt=""] {
    display: none;
  }

  .start-banner-content {
    max-width: 100% !important;
  }

  /* News portal main width */
  .news-portal-main {
    width: calc(100% - 40px);
  }

  /* Article body card */
  .article-body-card {
    padding: 32px 28px;
  }
}

/* ===== RESPONSIVE: Mobile (max 720px) ===== */
@media (max-width: 720px) {
  /* News hero */
  .news-hero-content {
    padding: 40px 20px 24px;
  }
  .news-hero-content h2 {
    font-size: 20px;
    margin: 10px 0 10px;
  }
  .news-hero-content p {
    font-size: 14px;
  }
  .news-hero-main-article {
    min-height: 300px;
  }

  /* Sidebar stacks fully */
  .news-sidebar {
    grid-template-columns: 1fr;
  }

  /* Article layout */
  .article-body-card {
    padding: 20px 16px;
  }
  .article-body {
    font-size: 15px;
  }
  .article-body h2 {
    font-size: 19px;
  }
  .article-body h3 {
    font-size: 16px;
  }

  /* Author bio card mobile override */
  .author-bio-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .author-bio-card img {
    margin: 0 auto !important;
  }
  .author-bio-card > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .author-bio-card h4 {
    justify-content: center;
  }
  .author-bio-card .author-separator, 
  .author-bio-card .article-editorial-meta {
    justify-content: center;
  }

  /* Article hero image */
  .article-hero-img img {
    height: 200px;
  }

  /* Article editorial meta: stack */
  .article-editorial-meta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    border-top: none !important;
    padding-top: 12px !important;
    margin-top: 8px !important;
  }

  /* Hide pipe separator between authors on mobile */
  .author-separator {
    display: none;
  }

  /* Article H1 */
  .article-header-wrapper h1 {
    font-size: 24px !important;
  }

  /* Related posts: single column */
  .article-related-posts > div {
    grid-template-columns: 1fr !important;
  }

  /* Author bio: stack on mobile */
  .article-authors-bio > div {
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* Start banner */
  .start-banner-css {
    padding: 32px 24px !important;
    flex-direction: column;
  }
  .start-banner-css img[alt=""] {
    display: none;
  }
  .start-banner-content {
    max-width: 100% !important;
  }
  .start-banner-content h2 {
    font-size: 22px !important;
    white-space: normal !important;
  }
  .start-banner-actions {
    flex-direction: column !important;
    width: 100%;
  }
  .start-banner-actions a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Portal pills */
  .portal-pills {
    gap: 8px;
  }
  .portal-pills a {
    font-size: 12px;
    padding: 0 12px;
    height: 26px;
  }

  /* Portal side card */
  .portal-side-card {
    grid-template-columns: 100px 1fr 28px;
    padding: 12px;
    gap: 12px;
  }
  .portal-side-card > img {
    width: 100px;
    height: 68px;
  }
  .portal-side-card h3 {
    font-size: 13px;
  }

  /* Portal row */
  .portal-row {
    grid-template-columns: 110px 1fr 28px;
    padding: 14px 12px;
    gap: 12px;
  }
  .portal-row > img {
    width: 110px;
    height: 74px;
  }
  .portal-row h3 {
    font-size: 14px;
  }
  .portal-row p {
    font-size: 12px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Market card */
  .market-card {
    padding: 20px 16px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 32px;
    padding: 40px 20px !important;
  }
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px !important;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  /* Sub-page hero */
  .sub-hero-inner h1 {
    font-size: 26px !important;
  }
  .news-page-main {
    width: calc(100% - 32px);
  }
}

/* ===== RESPONSIVE: Small Mobile (max 480px) ===== */
@media (max-width: 480px) {
  /* Hero grid: full width */
  .news-hero-grid {
    gap: 20px;
  }
  .news-hero-main-article {
    min-height: 260px;
    border-radius: 12px;
  }
  .news-hero-content h2 {
    font-size: 18px;
  }

  /* Portal side card: stack image */
  .portal-side-card {
    grid-template-columns: 1fr 28px;
  }
  .portal-side-card > img {
    grid-column: 1 / -1;
    width: 100%;
    height: 160px;
    border-radius: 8px;
  }

  /* Portal row: stack image */
  .portal-row {
    grid-template-columns: 1fr 28px;
  }
  .portal-row > img {
    grid-column: 1 / -1;
    width: 100%;
    height: 160px;
    margin-bottom: 4px;
  }

  /* Footer nav: single column */
  .footer-nav {
    grid-template-columns: 1fr;
  }

  /* News portal main */
  .news-portal-main {
    width: calc(100% - 28px);
    margin-bottom: 48px;
  }

  /* Article H1 */
  .article-header-wrapper h1 {
    font-size: 21px !important;
    letter-spacing: -0.01em !important;
  }

  /* Article body card */
  .article-body-card {
    padding: 16px 14px;
    border-radius: 10px;
  }
  .article-body {
    font-size: 14px;
    line-height: 1.85;
  }

  /* PR disclosure: stays absolute, just limit width on small screens */
  .pr-disclosure-popup {
    width: min(280px, 80vw) !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
  }
}

/* PR disclosure popup: below button on mobile (720px) */
@media (max-width: 720px) {
  .pr-disclosure-popup {
    width: min(300px, calc(100vw - 32px)) !important;
    right: 0 !important;
    left: auto !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
  }
}

/* ===== HAMBURGER BUTTON ===== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hamburger-btn:hover {
  background: rgba(255, 70, 109, 0.06);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #151218;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger-line.open:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-line.open:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-line.open:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  backdrop-filter: blur(2px);
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===== MOBILE MENU DRAWER ===== */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: #fff;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
}

.mobile-menu-drawer.open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #f2ece9;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f8f6f5;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  color: #59565e;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close:hover {
  background: #ffe3ec;
  color: #ff466d;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  flex: 1;
  overflow-y: auto;
}

.mobile-menu-nav a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  color: #151218;
  text-decoration: none;
  border-bottom: 1px solid #f8f6f5;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:active {
  background: #fff8fa;
  color: #ff466d;
  padding-left: 30px;
}

.mobile-menu-cta {
  padding: 20px 20px 36px;
  border-top: 1px solid #f2ece9;
  background: linear-gradient(180deg, #fff 0%, #fff8fa 100%);
}

/* Show hamburger + overlay only on mobile */
@media (max-width: 720px) {
  .hamburger-btn {
    display: flex;
  }

  .pc-only {
    display: none !important;
  }

  .mobile-menu-overlay {
    display: block;
  }

  .nav-links {
    display: none !important;
  }

  .nav-cta {
    display: none;
  }
}
.back-to-top-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: #8c8890; text-decoration: none; padding: 12px 24px; background: #fff; border: 1px solid #ede7e4; border-radius: 8px; box-shadow: 0 4px 12px rgba(53,42,36,0.03); transition: transform 0.2s ease; } .back-to-top-btn:hover { transform: translateY(-2px); }
