/*
Theme Name: The Strands Hint
Theme URI: https://thestrandshint.com
Author: The Strands Hint
Description: A clean, professional theme for NYT Strands hints, guides, and daily puzzles. Mobile-first and focused on readability.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: thestrandshint
*/

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f8f9fa;
}

a {
  color: #0d6e6e;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6e6e;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.main-nav a {
  font-weight: 500;
  color: #333;
}

/* Hero / Today Section */
.today-hero {
  background: linear-gradient(135deg, #0d6e6e 0%, #14919b 100%);
  color: white;
  padding: 50px 0;
  margin-bottom: 40px;
  text-align: center;
}

.today-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.today-hero .theme {
  font-size: 1.3rem;
  opacity: 0.95;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  background: #ffffff;
  color: #0d6e6e;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #f0f0f0;
  text-decoration: none;
}

/* Content */
.site-content {
  padding: 20px 0 60px;
}

.post-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.post-card h2 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.post-card .meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

/* Guides Grid */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.guide-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-top: 4px solid #0d6e6e;
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 30px 0;
  text-align: center;
  margin-top: 40px;
}

/* Single Post */
.single-post {
  background: white;
  padding: 40px;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.single-post h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #0d6e6e;
}

.single-post .entry-content {
  font-size: 1.05rem;
}

.single-post .entry-content h2,
.single-post .entry-content h3 {
  margin: 1.5em 0 0.5em;
  color: #0d6e6e;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 15px;
  }
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .today-hero h1 {
    font-size: 1.7rem;
  }
  .single-post {
    padding: 25px 20px;
  }
}
