/*
Theme Name: Figestor 2
Description: Minimal blog theme for blog.figestor.com.
Version: 1.0.0
Text Domain: figestor2
*/

:root {
  --brand: #6a4053;
  --brand-dark: #660033;
  --bg: #e8e1e4;
  --text: #333;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Roboto", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--brand-dark);
}

h1,
h2,
h3 {
  font-family: "Crimson Text", serif;
  color: var(--brand-dark);
  line-height: 1.25;
}

.site-header,
.site-footer {
  background: var(--brand);
  color: #fff;
  padding: 1rem 1.5rem;
}
.site-footer a {
  color: #fff;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header a {
  color: #fff;
  text-decoration: none;
}
.site-header .main-site-link {
  text-decoration: none;
}
.site-header .custom-logo-link img,
.site-header .logo img {
  display: block;
  height: 70px;
  width: auto;
}

.search-form {
  display: flex;
  gap: 0.5rem;
}
.search-form label {
  display: contents;
}
.search-form input[type="search"] {
  padding: 0.4rem 0.6rem;
  border: 0;
  border-radius: 3px;
}
.search-form input[type="submit"] {
  padding: 0.4rem 0.9rem;
  border: 1px solid #fff;
  border-radius: 3px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.site-main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.post-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.post-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.post-list a {
  font-family: "Crimson Text", serif;
  font-size: 1.35rem;
  text-decoration: none;
}
.post-list a:hover {
  text-decoration: underline;
}

.pagination .nav-links,
.post-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}
.pagination .nav-links {
  justify-content: center;
}
.post-navigation {
  margin-top: 3rem;
}
.post-navigation .nav-links {
  flex-wrap: nowrap;
  gap: 2rem;
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
  flex: 1 1 0;
  min-width: 0;
}
.post-navigation .nav-next {
  margin-left: auto;
  text-align: right;
}

.site-footer {
  text-align: center;
}
.site-footer .footer-inner {
  max-width: 760px;
  margin: 0 auto;
}
.site-footer .mc4wp-form-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.site-footer .copyright {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
}
.site-footer input[type="email"],
.site-footer input[type="text"] {
  padding: 0.4rem 0.6rem;
  border: 0;
  border-radius: 3px;
}
.site-footer input[type="submit"],
.site-footer button {
  padding: 0.4rem 0.9rem;
  border: 1px solid #fff;
  border-radius: 3px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
  }
  .site-header .main-site-link {
    font-size: 0.8125rem;
  }
  .site-header .logo {
    padding-bottom: 0.75rem;
  }
  .site-header .search-form {
    width: 100%;
    max-width: 320px;
  }
  .site-header .search-form input[type="search"] {
    flex: 1;
    min-width: 0;
  }
}
