:root {
  --primary-bg: #c6baac;
  --primary-text: #1e1c32;
  --accent-red: #ac1717;
  --shadow-color: rgba(172, 23, 23, 0.2);
  --paper-shadow: 0 4px 12px var(--shadow-color);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  line-height: 1.6;
  scroll-behavior: smooth;
  background-color: var(--primary-bg);
  background-repeat: repeat;
  color: var(--primary-text);
  font-family: 'Georgia', serif;
  letter-spacing: 0.02em;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', serif;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 2.8rem;
  border-bottom: 1px solid var(--accent-red);
  padding-bottom: 0.75rem;
  margin-top: 2.5rem;
  text-transform: uppercase;
}

h2 {
  font-size: 2.2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.8rem;
  margin-top: 1.75rem;
}

h4, h5, h6 {
  font-size: 1.4rem;
  margin-top: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

a {
  color: var(--accent-red);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent-red);
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

a:hover {
  color: #8b1212;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border: 1px solid rgba(30, 28, 50, 0.15);
  box-shadow: var(--paper-shadow);
  border-radius: 4px;
  object-fit: contain;
  max-height: 80vh;
}

img[href]:hover, a img:hover {
  transform: none;
  box-shadow: var(--paper-shadow);
}

.text-center {
  text-align: center;
}

.italic {
  font-style: italic;
}

.bold {
  font-weight: 700;
}

.block {
  display: block;
  margin-bottom: 2rem;
}

.back-home {
  display: inline-block;
  margin: 3.5rem auto 0;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-family: 'Georgia', serif;
  color: var(--primary-text);
  background-color: var(--primary-bg);
  border: 1px solid rgba(30, 28, 50, 0.15);
  text-align: center;
  text-decoration: none;
  box-shadow: var(--paper-shadow);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border-radius: 4px;
}

.back-home:hover {
  background-color: var(--primary-text);
  color: var(--primary-bg);
  transform: translateY(-2px);
}

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

blockquote {
  font-family: 'Playfair Display', 'Caveat', cursive, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--primary-text);
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  position: relative;
  border-left: 4px solid var(--accent-red);
  background-color: rgba(172, 23, 23, 0.05);
}

blockquote::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-red);
}

blockquote p {
  font-family: inherit;
  font-style: inherit;
  font-size: inherit;
  margin-bottom: 1rem;
}

blockquote cite {
  display: block;
  font-family: 'Georgia', serif;
  font-style: normal;
  font-size: 1rem;
  color: var(--primary-text);
  margin-top: 1rem;
  text-align: right;
}

blockquote cite::before {
  content: '— ';
}

@media screen and (max-width: 767px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
    font-size: 16px;
  }

  body {
    padding: 1rem 0.75rem;
  }

  h1 {
    font-size: 2rem;
    padding-bottom: 0.5rem;
  }

  h2 {
    font-size: 1.6rem;
    margin-top: 1.5rem;
  }

  h3 {
    font-size: 1.4rem;
    margin-top: 1.25rem;
  }

  h4, h5, h6 {
    font-size: 1.1rem;
    margin-top: 1rem;
  }

  p, a {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  img {
    max-width: 100%;
    width: auto;
    max-height: 60vh;
    margin: 1rem auto;
    border-radius: 2px;
    object-fit: contain;
  }

  .back-home {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    margin: 2rem auto 0;
  }

  blockquote {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0.5rem;
  }

  blockquote cite {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  html, body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  h4, h5, h6 {
    font-size: 1rem;
  }

  p, a {
    font-size: 0.9rem;
  }

  img {
    max-height: 50vh;
    margin: 0.75rem auto;
  }

  .back-home {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  blockquote {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    margin: 1rem 0.25rem;
  }

  blockquote cite {
    font-size: 0.85rem;
  }
}