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

@font-face {
  font-family: 'OldeEnglish';
  src: url('fonts/OldeEnglishRegular.woff2') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Typewriter';
  src: url('fonts/Typewriter.tff') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'HobbyHorse';
  src: url('fonts/HobbyHorse.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Base & Typography */
body {
    background-color: #fcfbf7;
    color: #111111;
    font-family: "Georgia", "Times New Roman", serif;
    max-width: 850px;
    margin: 30px auto;
    padding: 0 20px;
    line-height: 1.6;
}

/* Image Dividers */
.divider-img {
    display: block;
    margin: 20px auto;
    max-width: 500px;
    width: 100%;
}

/* Section Headers */
.header {
    font-family: "HobbyHorse", system-ui;
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 1px;
    border-bottom: 2px solid #111;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 3px;
    line-height: 1;
}

/* Layout for Article + Thumbnail Side-by-Side */
.article-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* Article Thumbnail Styling */
.article-thumbnail {
    width: 130px;
    height: 130px;
    object-fit: cover;
    flex-shrink: 0;
    border: 12px solid transparent;
    border-image-slice: 580;
    border-image-width: 12px;
    border-image-outset: 0px;
    border-image-repeat: round;
    border-image-source: url("imgs/border.png");
}

.article-content {
    flex: 1;
}

h3 {
    font-size: 1.5rem;
    margin: 0 0 8px 0;
}

/* Navigation Links */
.nav-links {
    text-align: center;
    margin-top: 10px;
    padding-top: 5px;
    font-family: "HobbyHorse";
    font-size: 1.3rem;
}

.nav-links a {
    color: #111;
    text-decoration: none;
    margin: 0 8px;
}

.nav-links a:hover {
    text-decoration: underline;
}

article > p:first-of-type::first-letter {
  font-family: "OldeEnglish", monospace;
  font-size: 3.5rem;
  float: left;
  line-height: 1;
  margin-right: 0.5rem;
  margin-bottom: -0.2rem;
}

article p {
  white-space: pre-line;
  line-height: 1.6;
  font-family: "Typewriter", "Courier Prime", monospace;
  font-size: 1.13rem;
  font-weight: 500;
  font-style: normal;
}

blockquote {
  font-family: "Typewriter", "Courier Prime", monospace;
  font-size: 1.13rem;
  font-weight: 500;
  font-style: normal;
  padding: 1rem 2rem 1rem 3rem;
  border-left: 4px solid #c4c3d0;
  position: relative;
  margin: 1.5rem 0;
}

blockquote::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 4rem;
  font-family: Georgia, serif;
  line-height: 1;
  color: #979aaa;
  opacity: 0.9;
}

blockquote::after {
  content: "”";
  position: absolute;
  bottom: -30px;
  right: 10px;
  font-size: 4rem;
  font-family: Georgia, serif;
  line-height: 1;
  color: #979aaa;
  opacity: 0.9;
}

p {
  white-space: pre-line;
  line-height: 1.6;
  font-family: "Typewriter", "Courier Prime", monospace;
  font-size: 1.13rem;
  font-weight: 500;
  font-style: normal;
}

ul {
  font-family: "Typewriter", "Courier Prime", monospace;
  font-size: 1.13rem;
  font-weight: 500;
  font-style: normal;
}

.bigtitle {
    font-family: "HobbyHorse", "Special Elite", system-ui;
    font-weight: 400;
    font-size: 3.8rem;
    margin-bottom: -0.2rem;
    line-height: 1;
    padding-top: 2rem;
}

.title {
    font-family: "Special Elite", system-ui;
    font-weight: 400;
    font-size: 2rem;
}

.subtitle {
    font-family: "Special Elite", system-ui;
    font-weight: 400;
    font-size: 1.3rem;
    color: #838996;
}

a {
    text-decoration: underline;
    text-decoration-color: #dcdcdc;
    color: #004242;
 }
 
 a:hover {
    text-decoration-color: ##242124;
 }
 
 .title a {
  color: inherit;
}
 
 .article-img {
  max-width: 60%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border: 12px solid transparent;
  border-image-slice: 580;
  border-image-width: 12px;
  border-image-outset: 0px;
  border-image-repeat: round;
  border-image-source: url("imgs/border.png");
}
