/* =====================================================
   A TIGHTER, MORE CLASSIC BLOG DESIGN
   ===================================================== */

/* --- General Body & Font --- */
body {
    font-family: Arial, "Helvetica Neue", sans-serif; 
    line-height: 1.6;
    background-color: #f8f9fa; 
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23cccccc' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M0 0h20v1H0z'/%3E%3C/g%3E%3C/svg%3E");
    color: #1a1a1a;
    margin: 0;
    padding: 0;
}

/* --- Main Content Container (More Compact) --- */
.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px 50px;
    background-color: #ffffff;
    border: 1px solid #ccc;
}

/* --- Header (Tighter) --- */
header {
    display: flex; 
    align-items: center;
    gap: 20px; 
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.single-post .header {
    display: none; 
}

header h1 {
    font-size: 2.5em;
    color: #000;
    margin: 0;
}

header .subtitle {
    font-size: 1em;
    color: #555;
    font-style: normal; 
    margin-top: 4px;
}

/* --- Homepage Post List (NO MORE BIG BOXES) --- */
.post-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.post-list li {
    padding: 20px 0; 
    border-bottom: 1px solid #ddd;
}

.post-list li:last-child {
    border-bottom: none;
}

.post-list .post-title {
    font-size: 1.4em;
    font-weight: bold;
    margin: 0 0 4px 0;
}

.post-list .post-title a {
    text-decoration: none;
    color: #0056b3; 
}

.post-list .post-title a:hover {
    text-decoration: underline;
    color: #003d82; 
}

.post-list .post-meta {
    font-size: 0.9em;
    color: #666;
}

/* --- Article Page Styling --- */
article {
    max-width: 65ch;

    margin-left: auto;
    margin-right: auto;
}

article h2 {
    font-size: 1.9em; 
    line-height: 1.25; 
    color: #000;
    margin-bottom: 8px;
}

article h3 {
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1.3;
    color: #222; 
    margin-top: 2.5em; 
    margin-bottom: 0.8em;
}

article ul {
    list-style-type: disc; 
    padding-left: 2em; 
    margin-bottom: 1.5em;
}

article li {
    font-size: 1em;
    padding-left: 0.5em; 
    margin-bottom: 0.8em;
}

article .meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 40px; 
}

article p {
    font-size: 1.15em; 
    line-height: 1.7;
    margin-bottom: 1.2em;
}

/* 
=====================================================
== THE SPECIAL GAME TITLE SPAN (Unchanged Function) ==
=====================================================
*/
.game-title {
    font-variant: small-caps;
    font-weight: 700;
    font-size: 1.05em;
    color: #333;
    letter-spacing: 0.5px;
}

/* --- Utility & Footer --- */
.back-link {
    display: inline-block;
    margin-top: 30px; 
    font-weight: bold;
    text-decoration: none;
    color: #0056b3;
}

.back-link:hover {
    text-decoration: underline;
}


/* =====================================================
   IMAGE GALLERY STYLES
   ===================================================== */
   .image-gallery {
    display: grid;
    /* Creates a 4-column grid for the images */
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; 
    margin-top: 2em; 
    margin-bottom: 15px;
}

img {
    width: 100%; 
    height: auto;
    display: block; 
    border: 1px solid #ccc;
}

.gallery-caption {
    font-size: 0.9em;     
    color: #666;        
    font-style: italic;
    text-align: left;   
    margin-top: 2.5em;   
    margin-bottom: 2.5em; 
}

/* --- Responsive styles for the gallery on smaller screens --- */
@media (max-width: 720px) {
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Narrative Break Style --- */
.narrative-break {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 40px 20%;
}

/* =====================================================
   CHAT LOG STYLES
   ===================================================== */
   .chat-log {
    background-color: #f7f7f7; 
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px 20px;
    margin: 25px 0;
    font-family: 'Menlo', 'Consolas', 'Monaco', monospace; 
    font-size: 0.95em;
    line-height: 1.5;
}

/* Style for each line of dialogue within the log */
.chat-log p {
    margin: 0 0 8px 0; 
    text-indent: 0;
}

.chat-log p:last-child {
    margin-bottom: 0;
}

/* The speaker's name */
.speaker {
    font-weight: bold;
    color: #0056b3;
    margin-right: 0.75em;
}

/* Style for the second narrator's section */
.narrator-pov {
    font-style: italic;
    color: #555;
    border-left: 3px solid #ccc;
    padding-left: 15px;
    margin: 25px 0;
}

/* =====================================================
   DISCLAIMER / NOTE BOX STYLE
   ===================================================== */
   .disclaimer {
    padding: 12px 18px;
    margin: 25px 0; 
    background-color: #f8f8f8; 
    border-left: 4px solid #b3b3b3; 
    font-size: 0.9em;
    font-style: italic;
    color: #444;
}

.disclaimer strong {
    font-style: normal;
}

/* =====================================================
   BANNER & PROFILE PICTURE STYLES
   ===================================================== */

/* --- Site Banner --- */
.site-banner {
    margin-bottom: 20px;
}

.site-banner img {
    width: 100%; 
    height: auto;
    display: block; 
}

/* --- Profile Picture --- */
.profile-picture img {
    width: 80px;
    height: 80px;
    border-radius: 50%; 
    border: 2px solid #ccc; 
    display: block;
}

/* --- Header Text Container --- */
.header-text h1, .header-text .subtitle {
    margin: 0; 
}

.header-text .subtitle {
    margin-top: 4px;
}