/* Aftersound custom styles — overrides archie theme */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --maincolor: #c0622f;
  --hovercolor: #c0622f;
  --bordercl: #c0622f;
  --callouctcolor: #c0622f;
}

/* Warm off-white ground */
html {
  color: #1e1c1a;
  background-color: #f7f4f0;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7em;
}

body {
  color: #1e1c1a;
  background-color: #f7f4f0;
}

/* Disable dark mode */
#darkModeStyle {
  display: none !important;
}

/* Body text */
p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2e2b28;
}

/* Heading scale — Roboto Mono with clear hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Mono', monospace;
  color: #1e1c1a;
  margin-top: 2.5em;
  margin-bottom: 0.4em;
  line-height: 1.25;
}

h1 {
  font-size: 1.9rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

h3 {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h4, h5, h6 {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b6560;
}

/* Links */
a {
  color: inherit;
  border-bottom: 2px solid var(--maincolor);
  text-decoration: none;
}

a:hover {
  background-color: var(--maincolor);
  color: #f7f4f0;
}

/* Header */
header {
  margin: 1.5em 0 2em;
  border-bottom: 1px solid #ddd9d4;
  padding-bottom: 1em;
}

header .main {
  font-family: 'Roboto Mono', monospace;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

header .main a {
  border-bottom: none;
}

header nav a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  border-bottom: none;
  color: #6b6560;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 1.4em;
}

header nav a:hover {
  background-color: transparent;
  color: var(--maincolor);
}

/* Site logo */
.site-logo {
  padding: 0;
  width: auto !important;
  height: 3.5em;
  max-height: 3.5em;
  vertical-align: middle;
}

/* Content */
.content {
  max-width: 720px;
  padding: 0 2ch;
}

/* Meta / timestamps */
.meta, time {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.78rem;
  color: #9b958f;
  letter-spacing: 0.03em;
}

/* Images */
img {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.archive-page .post-content img {
  max-width: 85%;
  display: block;
  margin: 0 auto;
}

/* Dividers */
hr {
  border-top: 1px solid #ddd9d4;
}

/* Blockquote */
blockquote {
  border-left: 3px solid var(--maincolor);
  color: #6b6560;
  padding-left: 1.2em;
  font-style: italic;
  font-weight: 300;
}

/* Footer */
footer {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  border-top: 1px solid #ddd9d4;
  color: #9b958f;
  margin-top: 3rem;
  padding: 1.5rem 0;
}

/* Selection */
::selection {
  background: var(--maincolor);
  color: #f7f4f0;
}
