/* Storefront Notes — style.css
   Classic two-column WordPress-style layout. Deliberately plain. */

:root {
  --ink: #262421;
  --ink-soft: #5a564d;
  --paper: #f4f2ee;
  --panel: #ffffff;
  --line: #ddd8cc;
  --accent: #b5651d;
  --link: #2b5d8a;
}

/* ---------- Top bar ---------- */
.topbar {
  background: #262421;
  color: #cfc9ba;
  font-size: 13px;
  padding: 6px 0;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
}

.topbar a {
  color: #cfc9ba;
  text-decoration: none;
}

.topbar a:hover {
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--panel);
  border-bottom: 3px solid var(--ink);
  padding: 28px 0 0;
}

.site-header .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 18px;
}

.site-title {
  font-family: "Merriweather", Georgia, serif;
  font-size: 34px;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.5px;
}

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

.site-tagline {
  font-family: "Open Sans", sans-serif;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 15px;
  margin-top: 6px;
}

.main-nav {
  background: #3a362f;
  width: 100%;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.main-nav li {
  border-right: 1px solid #504b41;
}

.main-nav a {
  display: block;
  padding: 12px 20px;
  color: #efece3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.main-nav a:hover,
.main-nav a.active {
  background: #262421;
  color: #fff;
}

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

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  padding: 36px 0 60px;
}

.content-col {
  background: var(--panel);
  padding: 32px 36px;
  border: 1px solid var(--line);
}

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

/* ---------- Sidebar widgets ---------- */
.widget {
  background: var(--panel);
  border: 1px solid var(--line);
  margin-bottom: 24px;
  padding: 18px 20px 22px;
}

.widget h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin: 0 0 14px 0;
}

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

.widget li {
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.widget li:last-child {
  border-bottom: none;
}

.search-widget input[type="search"] {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #b9b3a3;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
}

.search-widget button {
  width: 100%;
  margin-top: 8px;
  padding: 9px 10px;
  background: var(--ink);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-widget button:hover {
  background: #3a362f;
}

.author-widget {
  text-align: center;
}

.author-widget img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 3px solid var(--paper);
}

.author-widget p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.tools-widget .tool-item {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.tools-widget .tool-item:last-child {
  border-bottom: none;
}

.tools-widget .tool-item strong {
  display: block;
  font-size: 14px;
}

.tools-widget .tool-item span {
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- Article ---------- */
.entry-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  padding-bottom: 16px;
}

.entry-title {
  font-size: 30px;
  margin: 0 0 10px 0;
}

.entry-meta {
  font-size: 13px;
  color: var(--ink-soft);
}

.entry-meta a {
  color: var(--ink-soft);
}

.entry-dek {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 17px;
  margin-top: 10px;
}

.entry-content {
  font-size: 16.5px;
}

.entry-content h2 {
  font-size: 23px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}

.entry-content h3 {
  font-size: 19px;
}

/* ---------- Author box (bottom of articles) ---------- */
.author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #ece7dc;
  border: 1px solid var(--line);
  padding: 20px;
  margin-top: 40px;
}

.author-box img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
}

.author-box h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
}

.author-box p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Post list (index/category pages) ---------- */
.post-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
  margin-bottom: 26px;
}

.post-card:last-child {
  border-bottom: none;
}

.post-card .entry-title {
  font-size: 24px;
}

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

.post-card .entry-title a:hover {
  color: var(--link);
  text-decoration: underline;
}

.post-card .excerpt {
  font-size: 15px;
  color: #4a4741;
}

.read-more {
  font-size: 13.5px;
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid #92511a;
}

.btn:hover {
  background: #92511a;
}

/* ---------- Sources / further reading box ---------- */
.sources-box {
  margin-top: 34px;
  padding: 18px 22px;
  background: #faf9f6;
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink-soft);
}

.sources-box h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px 0;
  color: var(--ink-soft);
}

.sources-box ol {
  margin: 0;
  padding-left: 1.4em;
  font-size: 13px;
  color: var(--ink-soft);
}

.sources-box li {
  margin-bottom: 6px;
}

.category-tag {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  text-decoration: none !important;
  margin-bottom: 6px;
}

.category-tag:hover {
  background: var(--accent);
}

/* ---------- About page specific ---------- */
.about-hero {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.about-hero img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid var(--paper);
  flex-shrink: 0;
}

.about-hero h1 {
  margin: 0 0 4px 0;
}

.about-hero .about-role {
  color: var(--ink-soft);
  font-size: 15px;
  font-style: italic;
  margin: 0;
}

.about-hero .about-meta {
  color: var(--ink-soft);
  font-size: 13px;
  margin: 4px 0 0 0;
  opacity: 0.8;
}

.pull-note {
  background: #ece7dc;
  border-left: 4px solid var(--accent);
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 24px 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #262421;
  color: #cfc9ba;
  padding: 40px 0 20px;
  margin-top: 20px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #3a362f;
}

@media (max-width: 700px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

.site-footer h4 {
  color: #efece3;
  font-family: "Merriweather", serif;
  font-size: 15px;
  margin: 0 0 12px 0;
}

.site-footer a {
  color: #cfc9ba;
}

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

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  padding: 4px 0;
  font-size: 13.5px;
}

.footer-bottom {
  padding-top: 16px;
  font-size: 12.5px;
  color: #8f8a7c;
  text-align: center;
}
