/*
 Theme Name:   Coino Divi Child
 Theme URI:    https://coino.com.au/
 Description:  Divi child theme for Coino, an Australian crypto affiliate hub.
 Author:       OpenAI
 Template:     Divi
 Version:      1.0.0
 Text Domain:  coino-divi-child
*/

:root {
  --coino-bg: #fbfaf5;
  --coino-surface: #ffffff;
  --coino-surface-2: #f4f1e6;
  --coino-text: #111111;
  --coino-muted: #5c5c5c;
  --coino-border: #e5dfc9;
  --coino-accent: #f4c542;
  --coino-accent-dark: #d6a41c;
  --coino-shadow: 0 18px 40px rgba(17,17,17,0.08);
  --coino-radius: 22px;
  --coino-max: 1180px;
}

body {
  background: var(--coino-bg);
  color: var(--coino-text);
}

body, input, textarea, select {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--coino-text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

a {
  color: #111111;
}

a:hover {
  color: #111111;
  opacity: 0.85;
}

.coinho-wrap, .coino-wrap {
  width: min(calc(100% - 32px), var(--coino-max));
  margin: 0 auto;
}

.coinho-btn, .coino-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 14px;
  background: var(--coino-accent);
  color: #111111;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--coino-accent-dark);
  box-shadow: var(--coino-shadow);
}

.coinho-btn:hover, .coino-btn:hover {
  transform: translateY(-1px);
}

.coinho-chip, .coino-chip {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid var(--coino-border);
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  color: var(--coino-muted);
  font-weight: 600;
  font-size: 14px;
}

.coinho-card, .coino-card {
  background: var(--coino-surface);
  border: 1px solid var(--coino-border);
  border-radius: var(--coino-radius);
  box-shadow: var(--coino-shadow);
}

.coinho-grid, .coino-grid {
  display: grid;
  gap: 24px;
}

.coinho-section, .coino-section {
  padding: 74px 0;
}

.coinho-muted, .coino-muted {
  color: var(--coino-muted);
}

.coinho-topbar, .coino-topbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(251,250,245,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(229,223,201,0.7);
}

.coinho-nav, .coino-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.coinho-brand, .coino-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.coinho-brand img, .coino-brand img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
}

.coinho-brand-title, .coino-brand-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.coinho-menu, .coino-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.coinho-menu a, .coino-menu a {
  text-decoration: none;
  font-weight: 700;
}

.coinho-hero, .coino-hero {
  padding: 56px 0 36px;
}

.coinho-hero-grid, .coino-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.coinho-hero-copy h1, .coino-hero-copy h1 {
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.96;
  margin-bottom: 22px;
}

.coinho-hero-copy p, .coino-hero-copy p {
  font-size: 22px;
  line-height: 1.5;
  max-width: 710px;
}

.coinho-hero-actions, .coino-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.coinho-points, .coino-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.coinho-panel, .coino-panel {
  padding: 18px;
}

.coinho-panel img, .coino-panel img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.coinho-ranking, .coino-ranking {
  overflow: hidden;
}

.coinho-ranking table, .coino-ranking table {
  width: 100%;
  border-collapse: collapse;
}

.coinho-ranking th, .coino-ranking td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--coino-border);
  text-align: left;
}

.coinho-ranking tr:last-child td, .coino-ranking tr:last-child td {
  border-bottom: none;
}

.coinho-badge, .coino-badge {
  display: inline-flex;
  background: #fff6d7;
  border: 1px solid #f1d57f;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}

.coinho-stars, .coino-stars {
  letter-spacing: 2px;
  color: #cb9205;
}

.coinho-two, .coino-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.coinho-feature, .coino-feature {
  padding: 30px;
}

.coinho-feature h3, .coino-feature h3 {
  font-size: 34px;
  margin-bottom: 12px;
}

.coinho-feature p, .coino-feature p {
  font-size: 18px;
  line-height: 1.65;
}

.coinho-columns-3, .coino-columns-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.coinho-mini-card, .coino-mini-card {
  padding: 28px;
}

.coinho-mini-card h3, .coino-mini-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.coinho-mini-card p, .coino-mini-card p {
  line-height: 1.65;
}

.coinho-footer, .coino-footer {
  background: #121212;
  color: rgba(255,255,255,0.88);
  padding: 36px 0;
  margin-top: 40px;
}

.coinho-footer a, .coino-footer a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}

.coinho-footer-grid, .coino-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.coinho-disclaimer, .coino-disclaimer {
  font-size: 14px;
  line-height: 1.7;
  color: var(--coino-muted);
  margin-top: 14px;
}

.coinho-page-hero, .coino-page-hero {
  padding: 56px 0 16px;
}

.coinho-page-hero h1, .coino-page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 12px;
}

.coinho-content, .coino-content {
  padding-bottom: 70px;
}

.coinho-content .entry-card, .coino-content .entry-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--coino-border);
  border-radius: var(--coino-radius);
  box-shadow: var(--coino-shadow);
}

.coinho-content h2, .coino-content h2 { font-size: 32px; margin-top: 24px; }
.coinho-content h3, .coino-content h3 { font-size: 24px; margin-top: 22px; }
.coinho-content p, .coino-content li { font-size: 18px; line-height: 1.75; }
.coinho-content ul { padding-left: 22px; }

.coinho-post-grid, .coino-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.coinho-post-card, .coino-post-card {
  padding: 24px;
}

.coinho-post-card h3, .coino-post-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.coinho-post-card p, .coino-post-card p {
  line-height: 1.65;
}

@media (max-width: 980px) {
  .coino-hero-grid,
  .coino-two,
  .coino-columns-3,
  .coino-post-grid,
  .coino-footer-grid {
    grid-template-columns: 1fr;
  }

  .coino-nav {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .coino-menu {
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .coino-section {
    padding: 56px 0;
  }

  .coino-hero-copy p {
    font-size: 19px;
  }

  .coino-brand-title {
    font-size: 24px;
  }

  .coino-ranking th:nth-child(4),
  .coino-ranking td:nth-child(4) {
    display: none;
  }

  .coino-ranking th,
  .coino-ranking td {
    padding: 14px 10px;
    font-size: 14px;
  }

  .coino-feature,
  .coino-mini-card,
  .coino-post-card,
  .coino-content .entry-card {
    padding: 22px;
  }
}
