/*
Theme Name: Guardrail Report
Theme URI: https://example.com/guardrail-report
Author: Ken
Author URI: https://example.com
Description: A clean, opinionated news and commentary theme with a focus on readability and featured stories.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guardrail-report
Tags: blog, news, two-columns, right-sidebar, responsive-layout
*/

/* Basic Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #111827;
  background-color: #f3f4f6;
}

a {
  color: #1d4ed8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem;
}

header.site-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
}

.site-branding {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-title a {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-description {
  font-size: 0.9rem;
  color: #6b7280;
}

.primary-navigation {
  margin-top: 0.75rem;
}

.primary-navigation ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.primary-navigation a {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #374151;
}

.primary-navigation a:hover {
  color: #111827;
}

.site-content {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 800px) {
  .site-content {
    grid-template-columns: 1fr;
  }
}

.site-main article {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.entry-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.entry-title a {
  color: inherit;
}

.entry-meta {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.entry-excerpt {
  margin-top: 0.5rem;
  color: #374151;
}

.entry-content {
  margin-top: 1rem;
  color: #111827;
}

.entry-content p {
  margin-bottom: 1rem;
}

.entry-footer {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.post-thumbnail {
  margin-bottom: 0.75rem;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 0.375rem;
}

.widget-area {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.widget {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.widget-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

footer.site-footer {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.pagination a,
.pagination span {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.85rem;
  color: #374151;
}

.pagination .current {
  background: #111827;
  color: #f9fafb;
  border-color: #111827;
}

.featured-label {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  margin-bottom: 0.5rem;
}

.post-tags {
  margin-top: 0.5rem;
}

.post-tags a {
  display: inline-block;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #e5e7eb;
  font-size: 0.75rem;
  color: #374151;
}
