/*
Theme Name: Lite Top
Theme URI: https://example.local/lite-top
Author: Lite Top
Description: Ultra-light theme. Latest published post or page sits at the top of the front.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
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: lite-top
*/

:root {
  --bg: #f7f4ee;
  --ink: #1a1916;
  --muted: #6b655c;
  --line: #ddd6c8;
  --paper: #fffcf7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.site-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.site-head a {
  text-decoration: none;
}

.site-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.latest {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.35rem 1.2rem 1.5rem;
  margin-bottom: 2rem;
}

.kicker {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.latest h1,
.entry h1 {
  margin: 0 0 0.4rem;
  font-size: 1.85rem;
  line-height: 1.2;
}

.meta {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.content p:first-child {
  margin-top: 0;
}

.content img {
  max-width: 100%;
  height: auto;
}

.rest h2 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

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

.rest li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}

.rest a {
  text-decoration: none;
}

.rest a:hover {
  text-decoration: underline;
}

.when {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.empty {
  color: var(--muted);
}

.site-foot {
  margin-top: 2.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}
