/* General font sizes */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 1em; /* halfway between your previous ~16px and smaller ~14px */
    line-height: 1.6;
margin: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Andada+SC&family=Roboto&display=swap');

.blog-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.blog-title {
  font-family: 'Andada SC', serif;
  font-size: 2.2rem;
  color: #1a2a6c; /* Mystic-Quill dark blue */
  margin: 0 auto 1rem auto;  /* auto left and right margin centers it */
  margin-bottom: 0rem; /* or smaller, like 0.3rem, adjust as you like */
  margin-bottom: 3rem;
  text-align: center;         /* center text inside the h1 */
  width: fit-content;         /* shrink the h1 width to content */
  display: block;
}

.blog-quill {
  height: 8rem; /* roughly twice the blog title height */
  transform: rotate(45deg);
  object-fit: contain;
}

.post-preview h2 a {
  color: inherit;       /* Make link text use the same color as the parent */
  text-decoration: none; /* Remove underline */
  cursor: pointer;      /* Optional: show pointer cursor on hover */
}

.post-preview h2 a:hover {
  color: #8B0000;       /* Optional: add hover color (deep crimson) */
  text-decoration: underline; /* Optional: underline on hover */
}

.post-link {
  text-decoration: none;
  color: inherit;
  display: block;  /* So it behaves like a block element */
}

.post-link:hover {
  /* Optional hover effect */
  background-color: #f0e6e6;
  cursor: pointer;
}


/* Titles */
h1, h2, h3 {
    font-family: 'Andada SC', serif;
    margin-bottom: 0.4em;
}

h1 {
    font-size: 4em; /* Slightly larger than reduced version */
}

/* Blog post previews */
.post-preview {
    border-left: 5px solid #8B0000; /* deep crimson vertical bar on the left */
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-radius: 5px;
    padding: 1.1em;
    margin-bottom: 1.2em;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.post-preview .date {
    color: #8B0000;   /* deep crimson red */
    font-weight: bold;
    margin-top: 0;  /* remove top margin above date */
}

.post-preview h1 {
    font-size: 4em;
    margin-top: 0;
    margin-bottom: 0.1em;  /* reduce space below title */
}

.post-preview h2 {
    font-size: 3em;
    margin-top: 0;
    margin-bottom: 0.1em;  /* reduce space below title */
}

.post-preview p {
    font-size: 1.1em;
}

.post-preview {
    border-left: 5px solid #8B0000; /* deep crimson vertical bar on the left */
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-radius: 5px;
    padding: 1.1em;
    margin-bottom: 1.2em;
    background-image: url("bg_light2.jpg"); /* fixed */
    background-size: cover;   /* scale image to fill box */
    background-position: center; /* keep focus centered */
    background-repeat: no-repeat;
    /*color: white;*/ /* make text readable on dark backgrounds */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Navigation buttons for posts */
.post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.post-nav a {
    font-family: 'Roboto', sans-serif;
    background-color: #8B0000; /* Deep crimson */
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 3px;
}

.post-nav a.disabled {
    background-color: gray;
    pointer-events: none;  /* disables clicking */
    color: #ccc;           /* lighter text for disabled look */
    cursor: default;       /* changes cursor so it’s not clickable */
    opacity: 0.6;          /* slightly faded */
}

/* Post page title and date spacing */
.post-content h1 {
  font-size: 3rem;
  margin-bottom: 0rem;  /* Reduce space below title */
  margin-left: .5rem;  /* Reduce space below title */
  margin-top: 0rem; /* or smaller, like 0.3rem, adjust as you like */
}

.post-content {
  padding: 0em;            /* padding on all sides */
  margin: 0;                /* remove any extra margins */
  border-left: 5px solid #8B0000;
  border: 1px solid #ccc;   /* same border style as previews */
  border-radius: 5px;
  background-color: #fff;   /* same as previews */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.post-box {
    border-left: 5px solid #8B0000; /* deep crimson vertical bar */
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-radius: 5px;
    padding: 1.1em;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background-image: url('bg_light2.jpg'); /* optional if you want same bg */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 1rem;
    border-radius: 10px;
    margin: 0; /* THIS removes the left/right space */
}

.post-content .date {
  margin-left: .5rem;  /* Reduce space below title */
  color: #8B0000;       /* Deep crimson red */
  font-weight: bold;
  margin-top: 0;        /* Remove top margin above date */
}
