/*
Theme Name: Ruthdy Affiliate Page
Theme URI:
Description: Affiliate page for the Ruthdy course
Author:
Author URI:
Template: astra
Version: 1.1
*/

:root {
  --rh-primary: #0f7d49;
  --rh-primary-dark: #075a33;
  --rh-accent: #f4c048;
  --rh-accent-alt: #66c5a6;
  --rh-bg-soft: #f5fbf8;
  --rh-text-dark: #102a23;
  --rh-text-muted: #4a665d;
}

body {
  background: var(--rh-bg-soft);
  color: var(--rh-text-dark);
  font-family: "Inter", system-ui, sans-serif;
}

.gradient-text {
  background: linear-gradient(to right, var(--rh-primary), var(--rh-accent));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Update component colors */
.rh-button-primary {
  background: var(--rh-primary);
  color: #fff;
  padding: 0.625rem 1.15rem;
  border-radius: 0.55rem;
  font-weight: 600;
  display: inline-block;
  transition: 0.25s;
}
.rh-button-primary:hover {
  background: var(--rh-primary-dark);
}

.rh-text-accent {
  color: var(--rh-accent);
  transition: 0.25s;
}
.rh-text-accent:hover {
  color: var(--rh-primary);
}

.bg-rh-primary {
  background: var(--rh-primary);
}
.text-rh-primary {
  color: var(--rh-primary);
}
.bg-rh-accent {
  background: var(--rh-accent);
}

.rh-header {
  color: var(--rh-primary-dark);
}
.rh-header span {
  color: var(--rh-primary);
}

.rh-badge {
  background: var(--rh-accent);
  color: var(--rh-text-dark);
  font-size: 0.65rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.rh-section-title {
  font-weight: 700;
  color: var(--rh-text-dark);
}

.rh-gradient-text {
  background: linear-gradient(90deg, var(--rh-primary), var(--rh-accent));
  -webkit-background-clip: text;
  color: transparent;
}

.rh-card {
  background: #fff;
  border: 1px solid #e2eee8;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 14px -4px rgba(16, 42, 35, 0.12);
}

.rh-card h2 {
  color: var(--rh-primary);
}

.rh-text-muted {
  color: var(--rh-text-muted);
}

/* Contact Section Layout */
.contact-section {
  min-height: 72vh; /* reduced from 90vh */
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.contact-container {
  max-width: 72%;
}
.contact-grid {
  align-items: stretch;
  height: 80%;
}
.contact-col {
  display: flex;
  flex-direction: column;
}
.contact-scroll {
  overflow-y: auto;
  padding-right: 0.25rem;
  scrollbar-width: thin;
  max-height: 80%;
}
.contact-scroll::-webkit-scrollbar {
  width: 6px;
}
.contact-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.contact-scroll::-webkit-scrollbar-thumb {
  background: var(--rh-accent);
  border-radius: 4px;
}
.contact-image-wrapper {
  flex: 1;
  display: flex;
  height: 100%;
}
.contact-image {
  width: 72%;
  height: 72%;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.35);
}

/* Footer contrast improvements */
.footer-title {
  color: var(--rh-accent);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.footer-link {
  color: #cbd5e1;
  transition: 0.25s;
}
.footer-link:hover {
  color: #fff;
}

/* Safelist note (if CDN Tailwind purges custom) */
