/*
Theme Name: Conequate
Theme URI: https://conequate.com
Description: Custom WordPress theme for Conequate
Version: 1.0.0
Author: Conequate
Text Domain: conequate
*/

:root {
  --cq-bg: #0C0B09;
  --cq-surface: #1E1C19;
  --cq-border: #2C2A26;
  --cq-text: #F8F5EF;
  --cq-muted: rgba(248, 245, 239, 0.72);
  --cq-accent: #E8C547;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cq-bg);
  color: var(--cq-text);
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
}

a {
  color: inherit;
}

.cq-container {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.cq-site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 11, 9, 0.88);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.cq-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}

.cq-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
}

.cq-menu a:hover {
  color: #E8C547;
}

.cq-page-shell {
  padding: 140px 0 80px;
}

.cq-page-title {
  margin: 0 0 16px;
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1;
  letter-spacing: -1px;
}

.cq-page-subtitle {
  margin: 0 0 40px;
  color: var(--cq-muted);
  max-width: 760px;
  line-height: 1.6;
}

.cq-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.cq-card {
  grid-column: span 12;
  background: var(--cq-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
}

.cq-card h2,
.cq-card h3 {
  margin: 0 0 10px;
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  letter-spacing: -0.4px;
}

.cq-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.cq-entry {
  color: var(--cq-muted);
  line-height: 1.7;
}

.cq-entry img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.cq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--cq-accent);
  color: #0C0B09;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.cq-pagination,
.cq-post-nav {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.cq-resource-cover {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.cq-resource-cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(232, 197, 71, 0.14), rgba(132, 94, 194, 0.08) 58%, rgba(0, 201, 167, 0.06));
}

.cq-resource-cover--placeholder span {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 7px 12px;
}

.cq-resource-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cq-resource-form {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  max-width: 460px;
}

.cq-input {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0F0D0B;
  color: #fff;
  padding: 0 14px;
  font-size: 15px;
}

.cq-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
}

.cq-resource-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.cq-resource-gate {
  background: #161411;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px;
}

.cq-resource-gate h2 {
  margin: 0 0 8px;
}

@media (max-width: 900px) {
  .cq-resource-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .cq-card--half {
    grid-column: span 6;
  }
}

@media (max-width: 767px) {
  .cq-menu {
    display: none;
  }

  .cq-page-shell {
    padding-top: 110px;
  }
}
