/*
Theme Name: Layout Sixty Seven
*/

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --accent-color: #0f172a; /* bold dark accent */
  --accent-hover: #334155;
  --border-color: #f1f5f9;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-width: 1200px;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
}

a {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.15s ease;
}

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

/* Layout Wrapper */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 92%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* 2 Column Layout with Left Sidebar */
.main-content {
  flex-grow: 1;
  padding: 40px 0;
}

.layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 850px) {
  .layout-grid {
    grid-template-columns: 280px 1fr;
  }
}

/* Sidebar on Left */
.sidebar {
  border-right: 1px solid var(--border-color);
  padding-right: 30px;
}

.site-branding {
  margin-bottom: 30px;
}

.site-logo {
  border-radius: 50%;
  margin-bottom: 12px;
}

.site-title {
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.site-title a {
  color: var(--text-main);
  text-decoration: none;
}

.site-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.4;
}

/* Navigation inside Sidebar */
.main-navigation {
  margin-bottom: 30px;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.main-navigation a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-main);
  font-size: 14px;
}

.main-navigation a:hover {
  color: var(--text-muted);
}

/* Sidebar Widgets */
.widget {
  margin-bottom: 30px;
}

.widget-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 700;
}

.widget ul {
  list-style: none;
  padding: 0;
}

.widget li {
  margin-bottom: 8px;
  font-size: 13px;
}

.widget a {
  text-decoration: none;
  color: var(--text-muted);
}

.widget a:hover {
  color: var(--text-main);
}

/* Content Area */
.content-area {
  min-width: 0;
}

/* Article Styles */
.post-entry {
  margin-bottom: 50px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
}

.post-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.post-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.post-title a {
  color: var(--text-main);
  text-decoration: none;
}

.post-title a:hover {
  text-decoration: underline;
}

.post-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.post-content {
  line-height: 1.7;
}

.post-content p {
  margin-bottom: 16px;
}

/* Comments custom styling */
.comments-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  margin-top: 50px;
}

.comment-item {
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 6px !important;
  padding: 16px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.comment-author {
  color: var(--text-main) !important;
  font-weight: 700 !important;
}

/* Footer styling */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: #ffffff;
  padding: 30px 0;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner a {
  color: var(--text-muted);
  text-decoration: underline;
}

.footer-inner a:hover {
  color: var(--text-main);
}
