/* Bramzilla Grav Theme */

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Oswald", sans-serif;
  background: #040404 url('../images/bg.jpg') top right no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  color: #2a2218;
}

a {
  color: #2a2218;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #A0681E;
}

/* ---- Layout ---- */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

.container {
  max-width: 720px;
  width: 100%;
}

.container--narrow {
  max-width: 560px;
}

/* ---- Typography ---- */
h1 {
  font-size: 64px;
  font-weight: 600;
  color: #2a2218;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

h2 {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #A0681E;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

h3 {
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #2a2218;
  margin-bottom: 1rem;
}

p, .body-text {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: #2a2218;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

p em {
  color: #A0681E;
  font-style: italic;
}

/* ---- Links ---- */
a.cta {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #2a2218;
  border-bottom: 2px solid #A0681E;
  padding-bottom: 2px;
}
a.cta:hover {
  color: #A0681E;
}

a.back {
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6a5f4f;
}
a.back:hover {
  color: #2a2218;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
}

/* ---- Blog listing ---- */
.post-list {
  margin-top: 2rem;
}

.post-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(42, 34, 24, 0.12);
}
.post-item:last-child {
  border-bottom: none;
}

.post-item .post-type {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A0681E;
  margin-bottom: 0.4rem;
}

.post-item h3 {
  margin-bottom: 0.5rem;
}
.post-item h3 a {
  color: #2a2218;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.post-item h3 a:hover {
  color: #A0681E;
  border-bottom-color: #A0681E;
}

.post-item .post-meta {
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  color: #8a7d6b;
  margin-bottom: 0.6rem;
}

.post-item .post-excerpt {
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  color: #2a2218;
  line-height: 1.7;
}

/* ---- Single post / item ---- */
.post-header {
  margin-bottom: 2rem;
}

.post-header .post-type {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A0681E;
  margin-bottom: 0.5rem;
}

.post-header .post-meta {
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  color: #8a7d6b;
  margin-top: 0.5rem;
}

.post-content {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: #2a2218;
  line-height: 1.9;
  margin-bottom: 2rem;
}

.post-content p {
  margin-bottom: 1.4rem;
}

.post-content blockquote {
  border-left: 3px solid #A0681E;
  padding-left: 1.2rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #5a4f3f;
}

.post-content h2 {
  font-size: 24px;
  font-weight: 500;
  color: #2a2218;
  margin: 2rem 0 1rem;
}

.post-content h3 {
  font-size: 20px;
  font-weight: 500;
  color: #2a2218;
  margin: 1.5rem 0 0.8rem;
}

.post-content hr {
  border: none;
  height: 1px;
  background: rgba(42, 34, 24, 0.15);
  margin: 2rem 0;
}

/* ---- Tags ---- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6a5f4f;
  border: 1px solid rgba(42, 34, 24, 0.2);
  padding: 4px 10px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.tag:hover {
  color: #A0681E;
  border-color: #A0681E;
}

/* ---- Divider ---- */
.divider {
  width: 60px;
  height: 1px;
  background: rgba(160, 104, 30, 0.4);
  margin: 2rem 0;
}

/* ---- Pagination ---- */
.pagination {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
}

.pagination a {
  color: #6a5f4f;
}
.pagination a:hover {
  color: #2a2218;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  h1 {
    font-size: 48px;
  }
  .page-wrapper {
    padding: 2rem 1.5rem;
  }
}
