/*
Theme Name: Custom Sleek
Author: Your Name
Description: A sleek, minimalist theme with an archival feel.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom-sleek-theme
*/

/* --- Root Variables (Archival Palette) --- */
:root {
  --bg-color: #fcfaf6;      /* A warm, archival off-white */
  --text-color: #3f3b3b;    /* Dark charcoal/sepia for text */
  --heading-color: #333; /* Slightly darker for headings */
  --accent-color: #6d7b8d;  /* A muted, dusty blue/grey */
  --border-color: #e0ddd7;  /* Light border for separation */

  --font-heading: 'Playfair Display', serif;
  --font-post-title: 'Beth Ellen', serif;
  --font-body: 'Lato', sans-serif;
}

/* --- Global Reset & Typography --- */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading-color);
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }

p {
  margin-bottom: 1.5em;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover,
a:focus {
  text-decoration: underline;
  opacity: 0.8;
}

/* --- Layout --- */
.site-container {
  max-width: 800px; /* Centered, readable width */
  margin: 0 auto;
  padding: 2rem;
}

/* --- Site Header --- */
.site-header {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-title {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin: 0;
}
.site-title a {
  color: var(--heading-color);
  text-decoration: none;
}
.site-title a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.site-description {
  font-size: 1rem;
  color: var(--text-color);
  margin: 0.25em 0 0 0;
  font-style: italic;
}

/* --- Main Navigation --- */
.main-navigation {
  width: 100%;
  margin-top: 1.5rem;
}

.main-navigation ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.main-navigation li {
  margin: 0;
}

.main-navigation a {
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.main-navigation .current_page_item a {
  border-bottom: 2px solid var(--accent-color);
}


/* --- Post/Page Content --- */
.post, .page {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.post-list .post:last-child,
.page {
  border-bottom: none;
  margin-bottom: 0;
}

.post-header {
  margin-bottom: 1.5rem;
}

.post-title {
  margin: 0 0 0.5rem 0;
  font-size: 2.4rem;
}
.post-title a {
  text-decoration: none;
  color: var(--heading-color);
}
.post-title a:hover {
  text-decoration: underline;
  color: var(--accent-color);
}

.post-meta {
  font-size: 0.9rem;
  color: #777;
  font-family: var(--font-body);
}

.post-content img,
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.post-excerpt {
  font-size: 1.1rem;
}

/* Center single post and static page titles */
.single .post-title,
.page .page-title {
  font-family: var(--font-post-title);
  text-align: center;
}

/* --- Footer --- */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid var(--border-color);
}
