/* BANTEX tools / partner revenue pages */

body.monetization-page {
  --money-ink: #0b1018;
  --money-muted: #5e6875;
  --money-line: #dce2e8;
  --money-surface: #f4f7f8;
  --money-green: #39d58a;
  --money-blue: #208ee8;
  color: var(--money-ink);
  background: #ffffff;
  overflow-x: visible;
}

.monetization-page .site-header {
  background: rgba(8, 11, 15, 0.94);
}

.monetization-page main,
.revenue-entry {
  line-break: strict;
  word-break: normal;
}

.monetization-page h1,
.monetization-page h2,
.monetization-page h3,
.revenue-entry h2,
.revenue-entry h3 {
  text-wrap: balance;
}

.monetization-page p,
.monetization-page li,
.monetization-page dd,
.monetization-page td,
.revenue-entry p {
  text-wrap: pretty;
  overflow-wrap: normal;
}

.money-hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: end;
  color: #ffffff;
  background: #070b10;
  isolation: isolate;
  overflow: clip;
}

.money-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 11, 16, 0.96) 0%, rgba(7, 11, 16, 0.79) 50%, rgba(7, 11, 16, 0.38) 100%),
    linear-gradient(0deg, rgba(7, 11, 16, 0.96) 0%, transparent 64%);
}

.money-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.money-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.money-hero-inner {
  width: 100%;
  min-width: 0;
  max-width: 1120px;
  padding-top: calc(var(--header-h) + 7rem);
  padding-bottom: 5.5rem;
}

.money-hero-inner > * {
  min-width: 0;
  max-width: 100%;
}

.money-eyebrow,
.money-section-label {
  font-family: var(--font-brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.money-eyebrow {
  margin-bottom: 1rem;
  color: var(--money-green);
}

.money-hero h1 {
  max-width: 900px;
  margin-bottom: 1.3rem;
  font-size: clamp(2.35rem, 6vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.money-hero-lead {
  max-width: 680px;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
}

.money-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.money-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.86rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.money-btn:hover {
  transform: translateY(-2px);
}

.money-btn-primary {
  color: var(--money-ink);
  background: var(--money-green);
}

.money-btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.money-btn-dark {
  color: #ffffff;
  background: var(--money-ink);
}

.money-btn-outline {
  color: var(--money-ink);
  border-color: #aeb8c2;
  background: #ffffff;
}

.money-disclosure {
  border-bottom: 1px solid var(--money-line);
  background: #eef8f3;
}

.money-disclosure .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.money-disclosure p {
  font-size: 0.86rem;
  line-height: 1.8;
  color: #284438;
}

.money-section {
  padding: 5.5rem 0;
}

.money-section-alt {
  background: var(--money-surface);
}

.money-section-head {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.money-section-label {
  margin-bottom: 0.7rem;
  color: #188556;
}

.money-section-head h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  line-height: 1.25;
}

.money-section-head > p:last-child {
  color: var(--money-muted);
  line-height: 1.9;
}

.money-choice-grid,
.money-partner-grid,
.money-step-grid,
.money-faq-grid,
.money-visual-grid,
.revenue-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.money-visual-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.money-visual {
  min-width: 0;
  overflow: clip;
  border: 1px solid var(--money-line);
  border-radius: 14px;
  color: var(--money-ink);
  background: #ffffff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.money-visual:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(15, 27, 38, 0.12);
}

.money-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.money-visual figcaption {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem 1.1rem;
}

.money-visual strong {
  font-size: 1rem;
}

.money-visual span {
  font-size: 0.82rem;
  color: var(--money-muted);
}

.money-choice,
.money-partner-card,
.money-step,
.money-faq {
  min-width: 0;
  border: 1px solid var(--money-line);
  border-radius: 14px;
  background: #ffffff;
}

.money-choice {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.money-choice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.money-choice-num {
  font-family: var(--font-brand);
  font-weight: 900;
  color: #188556;
}

.money-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  color: #26493a;
  background: #dff6e9;
  white-space: nowrap;
}

.money-badge-external {
  color: #244760;
  background: #e2f1fb;
}

.money-choice h3,
.money-partner-card h3,
.money-step h3 {
  margin-bottom: 0.65rem;
  font-size: 1.28rem;
  line-height: 1.45;
}

.money-choice p,
.money-partner-card p,
.money-step p {
  color: var(--money-muted);
  line-height: 1.85;
}

.money-choice-meta {
  margin: 1rem 0 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--money-line);
}

.money-choice-meta dt {
  font-size: 0.74rem;
  font-weight: 900;
  color: #6a7480;
}

.money-choice-meta dd {
  margin-top: 0.2rem;
  font-weight: 800;
}

.money-choice .money-btn {
  width: 100%;
  margin-top: auto;
}

.money-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--money-line);
  border-radius: 14px;
  background: #ffffff;
}

.money-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.money-table th,
.money-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--money-line);
  text-align: left;
  vertical-align: top;
}

.money-table th {
  font-size: 0.82rem;
  color: #4c5865;
  background: #f1f4f6;
}

.money-table tbody tr:last-child td {
  border-bottom: 0;
}

.money-partner-card {
  padding: 1.6rem;
}

.money-rate {
  display: block;
  margin: 0.5rem 0 0.8rem;
  font-family: var(--font-brand);
  font-size: 1.7rem;
  font-weight: 900;
  color: #167a50;
}

.money-step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.money-step {
  padding: 1.4rem;
}

.money-step > span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-brand);
  font-weight: 900;
  color: var(--money-ink);
  background: var(--money-green);
}

.money-terms {
  padding: 1.6rem;
  border: 1px solid var(--money-line);
  border-radius: 14px;
  background: #ffffff;
}

.money-terms ul {
  display: grid;
  gap: 0.7rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.money-terms li {
  color: #3f4a56;
  line-height: 1.8;
}

.money-faq {
  padding: 0;
  overflow: clip;
}

.money-faq summary {
  padding: 1.2rem 1.3rem;
  cursor: pointer;
  font-weight: 900;
}

.money-faq p {
  padding: 0 1.3rem 1.3rem;
  color: var(--money-muted);
  line-height: 1.85;
}

.money-final {
  color: #ffffff;
  background: #081018;
}

.money-final-inner {
  max-width: 780px;
}

.money-final h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.money-final p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
}

.money-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--money-muted);
}

/* Editorial guides that connect social distribution to BANTEX services. */
.money-guide-entry {
  padding: 2rem 0;
  border-bottom: 1px solid var(--money-line);
  background: #ffffff;
}

.money-guide-entry-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--money-line);
  border-radius: 14px;
  background: var(--money-surface);
}

.money-guide-entry-card h2 {
  margin: 0.35rem 0 0.55rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
}

.money-guide-entry-card p:last-child {
  color: var(--money-muted);
  line-height: 1.75;
}

.money-article-hero {
  min-height: 620px;
}

.money-breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
}

.money-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  list-style: none;
}

.money-breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.45rem;
  color: rgba(255, 255, 255, 0.36);
}

.money-breadcrumb a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.money-article-meta {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.money-quick-answer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.money-answer-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--money-line);
  border-radius: 14px;
  background: #ffffff;
}

.money-answer-card.is-bantex {
  border-top: 5px solid var(--money-green);
}

.money-answer-card.is-self {
  border-top: 5px solid var(--money-blue);
}

.money-answer-card h3 {
  margin: 0.7rem 0 0.65rem;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.45;
}

.money-answer-card > p {
  margin-bottom: 1rem;
  color: var(--money-muted);
  line-height: 1.85;
}

.money-answer-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.3rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.money-answer-card li {
  color: #3f4a56;
  line-height: 1.7;
}

.money-answer-card .money-btn {
  width: 100%;
  margin-top: auto;
}

.money-article-body {
  max-width: 900px;
}

.money-article-body h2 {
  margin: 3.6rem 0 1rem;
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  line-height: 1.35;
}

.money-article-body h2:first-child {
  margin-top: 0;
}

.money-article-body h3 {
  margin: 2.2rem 0 0.7rem;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.5;
}

.money-article-body p,
.money-article-body li {
  color: #3f4a56;
  line-height: 2;
}

.money-article-body p + p {
  margin-top: 1rem;
}

.money-article-table {
  min-width: 0;
}

.money-article-table th:first-child {
  width: 20%;
}

.money-callout {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  border-left: 5px solid var(--money-green);
  border-radius: 0 12px 12px 0;
  background: #eef8f3;
}

.money-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #173d2e;
}

.money-checklist {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.money-checklist li {
  position: relative;
  padding: 0.8rem 1rem 0.8rem 2.9rem;
  border: 1px solid var(--money-line);
  border-radius: 10px;
  background: #ffffff;
}

.money-checklist li::before {
  content: '✓';
  position: absolute;
  top: 0.82rem;
  left: 1rem;
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 900;
  color: #ffffff;
  background: #188556;
}

.money-source-note {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid #cfe0eb;
  border-radius: 10px;
  font-size: 0.84rem;
  color: #3d5668;
  background: #f2f8fc;
}

.money-final .money-note {
  color: rgba(255, 255, 255, 0.56);
}

/* Small revenue entry added to the existing corporate homepage. */
.revenue-entry {
  padding: 4.8rem 0;
  color: #e9f2f8;
  background: #0b121a;
}

.revenue-entry-head {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.revenue-entry-head span {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--font-brand);
  font-size: 0.74rem;
  font-weight: 900;
  color: #39d58a;
}

.revenue-entry-head h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
}

.revenue-entry-head p,
.revenue-entry-card p {
  color: rgba(233, 242, 248, 0.7);
  line-height: 1.8;
}

.revenue-entry-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.revenue-entry-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.revenue-entry-card a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin-top: 1rem;
  font-weight: 900;
  color: #39d58a;
}

@media (max-width: 900px) {
  .money-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.monetization-page {
    font-size: 15px;
    max-width: none;
  }

  .money-hero {
    min-height: 660px;
  }

  .money-hero::after {
    background:
      linear-gradient(180deg, rgba(7, 11, 16, 0.76) 0%, rgba(7, 11, 16, 0.94) 70%, rgba(7, 11, 16, 0.99) 100%);
  }

  .money-hero-media img {
    object-position: 62% center;
  }

  .money-hero-inner {
    padding-top: calc(var(--header-h) + 5rem);
    padding-bottom: 3.5rem;
  }

  .money-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.3rem);
  }

  .money-actions,
  .money-choice-grid,
  .money-partner-grid,
  .money-step-grid,
  .money-faq-grid,
  .money-visual-grid,
  .money-quick-answer,
  .revenue-entry-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .money-actions .money-btn {
    width: 100%;
  }

  .money-section,
  .revenue-entry {
    padding: 3.8rem 0;
  }

  .money-choice,
  .money-partner-card,
  .money-step,
  .money-terms {
    padding: 1.2rem;
  }

  .money-choice-top {
    align-items: flex-start;
  }

  .money-guide-entry-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .money-guide-entry-card .money-btn {
    width: 100%;
  }

  .money-article-hero {
    min-height: 600px;
  }

  .money-article-table,
  .money-article-table tbody,
  .money-article-table tr,
  .money-article-table td {
    display: block;
    width: 100%;
  }

  .money-article-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .money-article-table tr {
    padding: 0.45rem 1rem;
    border-bottom: 1px solid var(--money-line);
  }

  .money-article-table tr:last-child {
    border-bottom: 0;
  }

  .money-article-table td {
    display: grid;
    grid-template-columns: minmax(7.2rem, 0.7fr) minmax(0, 1.3fr);
    gap: 0.8rem;
    padding: 0.7rem 0;
    border: 0;
  }

  .money-article-table td::before {
    content: attr(data-label);
    font-size: 0.74rem;
    font-weight: 900;
    color: #586674;
  }
}

@media (max-width: 420px) {
  .money-article-table td {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .money-btn,
  .revenue-entry-card a {
    transition: none;
  }
}
