/* UnspokenQuestions.com — site stylesheet (consolidated 2026-05-04) */

:root {
  --primary-color: #6b5b95;
  --secondary-color: #feb236;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --accent-color: #ff7b25;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  line-height: 1.65;
  color: var(--dark-color);
  background-color: var(--light-color);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / nav */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 0.85rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav.site-nav, nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: -0.2px;
}
.logo span { color: var(--secondary-color); }
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.4rem;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--secondary-color); }

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 0.55rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn:hover { background-color: #e6a730; }
.btn-outline {
  background-color: transparent;
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}
.btn-outline:hover { background-color: var(--secondary-color); color: var(--dark-color); }

/* Hero / page-header */
#hero, #page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #483d8b 100%);
  color: white;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}
.hero-content, .header-content {
  max-width: 800px;
  margin: 0 auto;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 0.9rem;
  line-height: 1.18;
  letter-spacing: -0.4px;
}
#hero h1, #page-header h1 { font-size: 2.6rem; }
.hero-text, .header-text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

/* Generic typography on light sections */
main, section { padding: 3rem 0; }
section + section { padding-top: 1rem; }
section.intro-section, section.white-section { background: white; }
section.gray-section { background: #f3f3f7; }

h2 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin: 0 0 1rem;
  letter-spacing: -0.2px;
}
.text-center h2, section > .container > h2 { text-align: center; }
h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin: 1.5rem 0 0.6rem;
}
h4 { font-size: 1.05rem; margin: 1rem 0 0.4rem; color: var(--primary-color); }

p, li { font-size: 1.04rem; }
p { margin-bottom: 1rem; }
ul, ol { margin: 0 0 1rem 1.25rem; }
li { margin-bottom: 0.4rem; }

a { color: var(--accent-color); }
a:hover { text-decoration: underline; }

.meta-line, .meta-reviewed {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.byline {
  color: #777;
  font-size: 0.92rem;
  margin: 0 0 1.5rem;
}

/* Article body */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { margin-left: 1.4rem; }

/* Breadcrumbs (used on subpages) */
.breadcrumb { padding-top: 0; }
.breadcrumb ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #888;
}
.breadcrumb li { margin-right: 0.4rem; }
.breadcrumb li::after {
  content: "›";
  margin-left: 0.4rem;
  color: #bbb;
}
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--accent-color); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Audience cards (homepage + audience hubs) */
.audience-segments, .category-grid, .topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.audience-card, .category-card, .topic-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.audience-card:hover, .category-card:hover, .topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}
.audience-icon, .category-image, .topic-icon {
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color), #483d8b);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.4rem;
  color: white;
}
.audience-content, .category-content, .topic-content {
  padding: 1.25rem 1.4rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.audience-content h3, .category-content h3, .topic-content h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}
.audience-content p, .category-content p, .topic-content p {
  color: #555;
  font-size: 0.97rem;
  flex-grow: 1;
  margin-bottom: 0.85rem;
}
.audience-content .btn, .category-content .btn, .topic-content .btn {
  align-self: flex-start;
  font-size: 0.88rem;
  padding: 0.4rem 1rem;
}

/* Topic / question sections (subpages) */
.topic-navigation {
  background-color: white;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
}
.topic-nav-title {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}
.topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topic-link {
  background-color: #f0f2f5;
  color: var(--primary-color);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}
.topic-link:hover { background-color: var(--primary-color); color: white; text-decoration: none; }

.q-block {
  background: white;
  padding: 1.5rem 1.75rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
}
.q-block > h3 { margin-top: 0; color: var(--primary-color); font-size: 1.2rem; }

/* Callouts */
.callout {
  background: white;
  border-left: 4px solid var(--accent-color);
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout-soft {
  background: #fff8ee;
  border-left-color: var(--secondary-color);
}

/* Related-pages box used on article-style pages */
.related {
  background: white;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.related h3 { color: var(--primary-color); margin-top: 0; }
.related ul { margin-left: 1.2rem; }

/* Comparison columns */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.compare > div {
  background: white;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.compare h3, .compare h4 {
  margin-top: 0;
  color: var(--primary-color);
}

/* Resource cards (lists of external links) */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.resource-card {
  background-color: white;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.resource-card h3 { margin-top: 0; font-size: 1.1rem; }
.resource-card ul { list-style: none; margin: 0; padding: 0; }
.resource-card li { margin-bottom: 0.55rem; font-size: 0.95rem; }
.resource-card a { color: var(--primary-color); text-decoration: none; font-weight: 500; }
.resource-card a:hover { text-decoration: underline; color: var(--accent-color); }

/* Tables (used on cookies page) */
table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; background: white; border-radius: 6px; overflow: hidden; }
th, td { text-align: left; padding: 0.65rem 0.9rem; border-bottom: 1px solid #eee; font-size: 0.95rem; vertical-align: top; }
th { background: #f0f0f5; color: var(--primary-color); font-weight: 700; }

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1.5rem;
}
.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.footer-logo { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.85rem; }
.footer-logo span { color: var(--secondary-color); }
.footer-about p { color: #bbb; font-size: 0.93rem; line-height: 1.6; }
.footer-links h4 {
  font-size: 1rem;
  margin: 0 0 0.85rem;
  color: var(--secondary-color);
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #bbb; text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--secondary-color); }
.copyright {
  font-size: 0.85rem;
  color: #aaa;
  text-align: center;
  margin-top: 0.75rem;
}
.disclaimer {
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  margin-top: 0.5rem;
  padding: 0 20px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  h1 { font-size: 1.9rem; }
  #hero h1, #page-header h1 { font-size: 2rem; }
  .compare { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 1.5rem; }
  #hero, #page-header { padding: 3rem 0 2.5rem; }
}
