/*
Theme Name: Whisky Mates
Theme URI: https://whiskymates.com
Description: Custom theme for Whisky Mates Blog
Version: 1.0
Author: Whisky Mates
*/

/* =============================================
   BLOG-SPECIFIC STYLES
   (Your main site CSS is loaded via functions.php)
   ============================================= */

.wm-blog-wrap {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 24px;
}

/* ---- Post List (index.php) ---- */
.wm-post-card {
    margin-bottom: 56px;
    padding-bottom: 48px;
    border-bottom: 1px solid #e8e8e8;
}

.wm-post-card:last-of-type {
    border-bottom: none;
}

.wm-post-card h2 {
    font-size: 1.6em;
    margin-bottom: 6px;
}

.wm-post-card h2 a {
    text-decoration: none;
    color: #1a1a2e;
}

.wm-post-card h2 a:hover {
    color: #c8a45a; /* warm gold to match WM brand */
}

.wm-post-meta {
    font-size: 0.82em;
    color: #999;
    margin-bottom: 16px;
}

.wm-post-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 16px;
    display: block;
}

.wm-post-card .wm-excerpt {
    color: #444;
    line-height: 1.7;
    margin-bottom: 14px;
}

.wm-read-more {
    display: inline-block;
    color: #c8a45a;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9em;
    letter-spacing: 0.03em;
}

.wm-read-more:hover {
    text-decoration: underline;
}

/* ---- Pagination ---- */
.wm-pagination {
    margin-top: 40px;
    text-align: center;
}

.wm-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #444;
    font-size: 0.9em;
}

.wm-pagination .page-numbers.current,
.wm-pagination .page-numbers:hover {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

/* ---- Single Post (single.php) ---- */
.wm-single-wrap {
    max-width: 820px;
    margin: 50px auto;
    padding: 0 24px;
}

.wm-single-wrap h1 {
    font-size: 2em;
    line-height: 1.25;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.wm-single-meta {
    font-size: 0.82em;
    color: #999;
    margin-bottom: 28px;
}

.wm-single-wrap .wm-featured-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 32px;
    display: block;
}

.wm-post-content {
    font-size: 1.05em;
    line-height: 1.8;
    color: #333;
}

.wm-post-content h2,
.wm-post-content h3 {
    color: #1a1a2e;
    margin-top: 1.6em;
}

.wm-post-content a {
    color: #c8a45a;
}

.wm-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}

.wm-back-link {
    display: inline-block;
    margin-top: 48px;
    color: #c8a45a;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9em;
}

.wm-back-link:hover {
    text-decoration: underline;
}
