@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

:root {
  --ts-bg: #36454f;
  --ts-text: #E9DEC2;
  --ts-accent: #F27234;
  --ts-highlight: #F14936;
  --ts-surface: #5D4B44;
  --ts-muted: #BFA2A4;
}

body {
  background-color: var(--ts-bg);
  color: var(--ts-text);
  font-family: 'Space Grotesk', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  max-width: 66%;
  margin: 40px auto;
  padding: 0 20px;
}

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

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  color: var(--ts-accent);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 1px dotted var(--ts-muted);
  padding-bottom: 20px;
}

header h1 {
  margin: 0;
  font-size: 1.8em;
}

header h1 a {
  color: var(--ts-highlight);
}

header nav a {
  font-weight: bold;
  font-size: 1.1em;
  text-transform: lowercase;
}

.post-title {
  font-size: 1.5em;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.post-meta {
  color: var(--ts-muted);
  font-size: 0.9em;
  margin-bottom: 10px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.post-preview {
  margin: 0;
  color: var(--ts-text);
  opacity: 0.85;
  font-size: 0.95em;
  line-height: 1.5;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.meta-item svg {
  stroke: var(--ts-muted);
}

.tag {
  background-color: var(--ts-surface);
  color: var(--ts-text);
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
}

.tag:hover {
  background-color: var(--ts-highlight);
  color: white;
  text-decoration: none;
}

.tag.active {
  background-color: var(--ts-accent);
  color: var(--ts-bg);
}

.post-list {
  list-style: none;
  padding: 0;
}

.post-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px dotted var(--ts-muted);
}

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

.intro {
  margin-bottom: 40px;
  font-size: 1.1em;
}

.stuff-i-wrote-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--ts-accent);
  border-radius: 8px;
  color: var(--ts-accent);
  font-weight: bold;
  font-size: 1.2em;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
}

.stuff-i-wrote-btn:hover {
  background-color: var(--ts-accent);
  color: var(--ts-bg);
  text-decoration: none;
}

.pencil-icon {
  stroke: currentColor;
}

.phone-shot {
    max-width: 320px;
    width: 100%;
    display: block;
    margin: 2rem auto;
}
