/**
 * Homepage "submit your writings" panel.
 * New file so Namecheap extract lands even when main.css is not overwritten.
 */

html body.page-home .home-band-cta .cta-panel,
.hp-preview-frame .home-band-cta .cta-panel {
  display: grid;
  align-items: center;
  gap: clamp(1.35rem, 3.5vw, 2.75rem);
  padding: clamp(1.35rem, 3.2vw, 2.35rem);
  border: none;
  border-radius: 28px;
  background: #063f2d;
  box-shadow: none;
  overflow: hidden;
  color: #ffffff;
  transition: none;
}

html[data-theme='dark'] body.page-home .home-band-cta .cta-panel,
html[data-theme='dark'] .hp-preview-frame .home-band-cta .cta-panel {
  background: #063f2d;
}

html body.page-home .home-band-cta .cta-panel-content,
.hp-preview-frame .home-band-cta .cta-panel-content {
  display: grid;
  gap: 1.35rem;
  align-content: center;
  min-width: 0;
}

html body.page-home .home-band-cta .cta-panel-copy .section-eyebrow,
.hp-preview-frame .home-band-cta .cta-panel-copy .section-eyebrow {
  margin: 0 0 0.7rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html body.page-home .home-band-cta .cta-panel-copy h2,
.hp-preview-frame .home-band-cta .cta-panel-copy h2 {
  margin: 0 0 0.85rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

html body.page-home .home-band-cta .cta-panel-copy p:not(.section-eyebrow),
.hp-preview-frame .home-band-cta .cta-panel-copy p:not(.section-eyebrow) {
  margin: 0;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.7;
}

html body.page-home .home-band-cta .cta-panel-actions,
.hp-preview-frame .home-band-cta .cta-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.85rem;
  align-items: center;
}

html body.page-home .home-band-cta .cta-panel-actions .btn,
.hp-preview-frame .home-band-cta .cta-panel-actions .btn {
  border-radius: 999px;
  padding: 0.72rem 1.25rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  box-shadow: none;
  transform: none;
}

html body.page-home .home-band-cta .cta-panel-actions .btn-primary,
.hp-preview-frame .home-band-cta .cta-panel-actions .btn-primary {
  background: #ffffff;
  border-color: #ffffff;
  color: #063f2d;
}

html body.page-home .home-band-cta .cta-panel-actions .btn-primary:hover,
.hp-preview-frame .home-band-cta .cta-panel-actions .btn-primary:hover {
  background: #f3f7f5;
  border-color: #f3f7f5;
  color: #063f2d;
  transform: none;
}

html body.page-home .home-band-cta .cta-panel-actions .btn-ghost,
.hp-preview-frame .home-band-cta .cta-panel-actions .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
}

html body.page-home .home-band-cta .cta-panel-actions .btn-ghost:hover,
.hp-preview-frame .home-band-cta .cta-panel-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  color: #ffffff;
  transform: none;
}

html body.page-home .home-band-cta .cta-panel-visual,
.hp-preview-frame .home-band-cta .cta-panel-visual {
  margin: 0;
  display: flex;
  justify-content: center;
  min-width: 0;
}

html body.page-home .home-band-cta .cta-panel-image-card,
.hp-preview-frame .home-band-cta .cta-panel-image-card {
  width: 100%;
  max-width: none;
  padding: 0;
  border: none;
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
}

html body.page-home .home-band-cta .cta-panel-image-card::before,
.hp-preview-frame .home-band-cta .cta-panel-image-card::before {
  content: none;
}

html body.page-home .home-band-cta .cta-panel-image-card img,
.hp-preview-frame .home-band-cta .cta-panel-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 62% 92%;
  border-radius: 20px;
  box-shadow: none;
}

@media (min-width: 900px) {
  html body.page-home .home-band-cta .cta-panel,
  .hp-preview-frame .home-band-cta .cta-panel {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    padding: clamp(1.5rem, 3vw, 2.15rem) clamp(1.5rem, 3vw, 2.15rem);
  }

  html body.page-home .home-band-cta .cta-panel-visual,
  .hp-preview-frame .home-band-cta .cta-panel-visual {
    justify-content: flex-end;
  }
}

@media (max-width: 899px) {
  html body.page-home .home-band-cta .cta-panel,
  .hp-preview-frame .home-band-cta .cta-panel {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  html body.page-home .home-band-cta .cta-panel-image-card,
  .hp-preview-frame .home-band-cta .cta-panel-image-card {
    max-width: 28rem;
    margin-inline: auto;
    width: 100%;
  }
}
