/* Moved out of Ghost code injection. */
[data-footer-theme] { display: none; }
[data-footer-ghost] { display: none; }

[data-hero] > div > div { max-width: none; }
[data-hero] p b { display: block; margin-top: 0.75rem; }

[data-hero] [data-podcast-links] { order: 99; }

[data-cta] figure {
  align-self: center;
  padding-right: 6vmin;
}

.three-column-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.three-column-grid .column { text-align: center; }
.three-column-grid .column img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 10px;
}
.three-column-grid .column strong {
  font-weight: 500;
  font-family: inherit;
  line-height: 1.55;
  display: block;
}
.three-column-grid .column em {
  color: var(--color-typography-tone);
  font-family: inherit;
  display: block;
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .three-column-grid { grid-template-columns: repeat(3, 1fr); }
}

.brave-features-grid-wrapper,
.brave-sponsor-cta-wrapper {
  background: transparent;
  padding: 0 1.25rem 4rem;
  font-family: inherit;
  color: var(--color-typography);
}
.brave-features-container,
.brave-sponsor-card-container {
  max-width: var(--container-width);
  margin-inline: auto;
  font-family: inherit;
  color: inherit;
}
.brave-features-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.brave-section-title {
  width: 100%;
  margin: 0 0 0.5rem;
  font-family: inherit;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  color: inherit;
}
.brave-feature-card {
  width: auto;
  font-family: inherit;
  text-align: center;
}
.brave-feature-img-box {
  height: 220px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.brave-feature-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brave-feature-card h3 {
  margin: 0 0 0.75rem;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
}
.brave-feature-card p {
  margin: 0;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-typography-content);
}
.brave-highlight-link {
  color: var(--color-brand);
  font-weight: 500;
  text-decoration: underline;
}
.brave-sponsor-card-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-background-tone);
  box-shadow: none;
}
.brave-sponsor-left { flex: 1; max-width: 700px; }
.brave-sponsor-card-container h2 {
  margin: 0 0 0.75rem;
  font-family: inherit;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: inherit;
}
.brave-sponsor-body-text {
  margin: 0 0 1.5rem;
  font-family: inherit;
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-typography-content);
}
.brave-sponsor-action-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  background: var(--color-brand);
  color: var(--color-brand-contrast);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.brave-sponsor-action-btn:hover { filter: brightness(1.05); }
.brave-sponsor-right {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brave-megaphone-vector {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 900px) {
  .brave-features-container { grid-template-columns: repeat(3, 1fr); }
  .brave-section-title { font-size: 2.25rem; }
}
@media (max-width: 850px) {
  .brave-sponsor-card-container {
    flex-direction: column-reverse;
    padding: 1.75rem 1.25rem;
    text-align: center;
  }
  .brave-sponsor-left { text-align: center; }
  .brave-sponsor-right { width: 100px; height: 100px; }
}

[data-features] {
  .kg-product-card-image {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
  }
  .kg-product-card-container {
    padding: 0;
    border: none;
    box-shadow: none;
    text-align: center;
    font-family: var(--font-body);
    background: transparent;
    color: var(--color-typography);
  }
  h2 {
    text-align: center;
    font-size: calc(1rem + 1.75vmin);
    text-transform: none;
    margin-bottom: 2rem;
  }
  .kg-product-card .kg-product-card-description p {
    opacity: 0.85;
    font-size: 16px;

    a { text-decoration: underline }
    a:hover { color: var(--ghost-accent-color); }
  }
  .kg-product-card h4.kg-product-card-title {
    font-size: 22px;

    @media (min-width: 768px) {
      font-size: 24px;
    }
  }
}