:root {
    --brand-dark: #1a1a1a;
    --brand-light: #f9f9f9;
    --accent: #b19777; /* Soft Luxury Gold/Taupe */
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    background-color: var(--brand-light);
    color: var(--brand-dark);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

header h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
}

header p {
    font-style: italic;
    color: #666;
    margin-top: 0;
}

#search-bar {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 2rem;
    box-sizing: border-box;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.post-card {
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.post-date {
    font-size: 0.85rem;
    color: #888;
}

.post-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
}

/* Taimu's Frame Newsletter Box Styles */
.newsletter-section {
  padding: 2.5rem 1.5rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  max-width: 480px;
  margin: 2.5rem auto;
  text-align: center;
  box-sizing: border-box;
}

.newsletter-section h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.newsletter-section p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.input-group-stacked {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.input-group-stacked input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  outline: none;
  box-sizing: border-box;
}

.input-group-stacked input:focus {
  border-color: #111;
}

.input-group-stacked .submit-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: #111;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.input-group-stacked .submit-btn:hover {
  opacity: 0.85;
}

.input-group-stacked .submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.form-status.success {
  color: #2e7d32;
}

.form-status.error {
  color: #d32f2f;
}

/* Footer Container */
.site-footer {
  background-color: #111;
  color: #fff;
  padding: 3.5rem 1.5rem 1.5rem;
  margin-top: 4rem;
  font-family: inherit;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

/* Brand Section */
.footer-title {
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-tagline {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 320px;
}

/* Footer Section Headers */
.footer-nav h5,
.footer-socials h5 {
  font-size: 0.95rem;
  margin: 0 0 1rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Lists Reset */
.footer-nav ul,
.footer-socials ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li,
.footer-socials li {
  margin-bottom: 0.6rem;
}

/* Navigation Links */
.footer-nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #fff;
}

/* Social Links with SVG Icons */
.social-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: #fff;
}

.social-links svg {
  fill: currentColor;
  transition: transform 0.2s ease;
}

.social-links a:hover svg {
  transform: translateY(-2px);
}

/* Bottom Copyright Bar */
.footer-bottom {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #222;
  text-align: center;
  color: #666;
  font-size: 0.85rem;
}

/* Responsive Grid for Mobile Devices */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Legal / Policy Page Styles */
.legal-container {
  max-width: 780px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  line-height: 1.7;
  color: #222;
}

.legal-container h1 {
  font-size: 2.2rem;
  margin-bottom: 0.25rem;
}

.legal-container .effective-date {
  font-size: 0.875rem;
  color: #777;
  margin-bottom: 2.5rem;
}

.legal-container section {
  margin-bottom: 2rem;
}

.legal-container h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.4rem;
}

.legal-container p {
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.legal-container a {
  color: #111;
  text-decoration: underline;
}

.legal-container a:hover {
  color: #555;
}