/* Modern Reset & Paper Texture */
body {
    background-color: #f4f1ea; /* Newsprint Off-White */
    color: #1a1a1a;
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding: 40px 20px;
    line-height: 1.4;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #d1d1d1; /* Subtle outer page border */
    padding: 20px;
    background-color: #f4f1ea;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
}

/* The Masthead */
header {
    text-align: center;
    border-bottom: 4px double #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

header h1 {
    font-family: 'Old Standard TT', serif; /* Use a Gothic font if available */
    font-size: 72px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.sub-header {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    padding: 5px 0;
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Newspaper Columns */
.main-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-top: 20px;
}

/* Bio Column */
.bio-col {
    border-right: 1px solid #d1d1d1;
    padding-right: 30px;
}

.portrait {
    width: 100%;
    filter: grayscale(100%) contrast(110%);
    border: 1px solid #1a1a1a;
    margin-bottom: 10px;
}

.caption {
    font-size: 12px;
    font-style: italic;
    margin-bottom: 20px;
    display: block;
}

/* Article Column */
.article-col h2 {
    font-size: 36px;
    margin: 0 0 15px 0;
    line-height: 1;
    font-family: 'Georgia', serif;
}

.drop-cap {
    float: left;
    font-size: 80px;
    line-height: 60px;
    padding-top: 4px;
    padding-right: 8px;
    font-family: 'Georgia', serif;
}

.body-text {
    column-count: 2;
    column-gap: 20px;
    text-align: justify;
    hyphens: auto;
}

/* Book Showcase Section */
.books-section {
    margin-top: 40px;
    border-top: 3px solid #1a1a1a;
    padding-top: 20px;
}

.section-title {
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: #1a1a1a;
    color: #f4f1ea;
    display: inline-block;
    padding: 2px 15px;
}

@media (max-width: 768px) {
    .main-content { grid-template-columns: 1fr; }
    .bio-col { border-right: none; padding-right: 0; }
    .body-text { column-count: 1; }
    header h1 { font-size: 40px; }
}

/* Book Grid Layout */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.book-card {
    border: 1px solid #1a1a1a;
    padding: 15px;
    background: #fffdf9; /* Slightly lighter than the page to "pop" */
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0px #1a1a1a; /* Hard "Ink" shadow */
}

.book-cover-wrapper {
    width: 100%;
    height: 300px;
    background: #e0e0e0;
    margin-bottom: 15px;
    overflow: hidden;
    border-bottom: 1px solid #1a1a1a;
}

.book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) sepia(20%);
    transition: filter 0.3s ease;
}

.book-card:hover .book-cover {
    filter: grayscale(0%) sepia(0%);
}

.book-genre {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: #800000; /* Dark News Red */
    margin-bottom: 5px;
    display: block;
}

.book-title {
    font-family: 'Georgia', serif;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-transform: capitalize;
}

.book-description {
    font-size: 14px;
    line-height: 1.4;
    flex-grow: 1;
}

.buy-button {
    margin-top: 15px;
    border: 2px solid #1a1a1a;
    background: transparent;
    padding: 8px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    color: #1a1a1a;
    text-transform: uppercase;
    font-size: 12px;
}

.buy-button:hover {
    background: #1a1a1a;
    color: #f4f1ea;
}

.site-footer {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.site-footer a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: bold;
}

.site-footer a:hover {
    text-decoration: underline;
}
