/* ============================================================
   Tales of Silver — 2‑Column Silver Cards (Bulk Shop Theme)
   FINAL CLEAN VERSION — Full-Row Title, 2-Column Body
   ============================================================ */

/* 2 cards per row — ARCHIVE ONLY */
body.blog article,
body.category article,
body.tag article {
    width: 50% !important;
    padding: 15px;
    box-sizing: border-box;
}

/* Card container — title row + 2-column body */
body.blog .post,
body.category .post,
body.tag .post {
    position: relative;
    display: flex;
    flex-direction: row-reverse; /* image right, text left */
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    overflow: visible;
    min-height: 240px;
    padding-top: 0px; /* space for full-width title row */
}

/* Image on the RIGHT */
body.blog .featured-thumbnail,
body.category .featured-thumbnail,
body.tag .featured-thumbnail {
    width: 45%;
    margin: 10;
    display: block;
}

body.blog .featured-thumbnail img,
body.category .featured-thumbnail img,
body.tag .featured-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text column on the LEFT */
body.blog .main-content,
body.category .main-content,
body.tag .main-content {
    width: 55%;
    display: flex;
    flex-direction: column;
    padding: 16px;
    text-align: left !important;
    align-items: flex-start !important;
}

/* TITLE — full-width row across the card */
body.blog .post h2.page-header,
body.category .post h2.page-header,
body.tag .post h2.page-header {
    position: absolute;
    top: 16px;
    left: 240px;
    right: 0px;          /* full width inside card */
    margin: 0;
    padding: 0;
    z-index: 10;
}

body.blog .post h2.page-header a,
body.category .post h2.page-header a,
body.tag .post h2.page-header a {
    color: #e0e0e0 !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    display: block;
    text-decoration: none;
    word-wrap: break-word;
}

/* Excerpt + button wrapper */
body.blog .content-inner,
body.category .content-inner,
body.tag .content-inner {
    margin-top: auto;
    padding-top: 0;
}

/* Excerpt text */
body.blog .single-entry-summary p,
body.category .single-entry-summary p,
body.tag .single-entry-summary p {
    color: #c9c9c9;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Read More button */
body.blog .btn.btn-default.btn-lg,
body.category .btn.btn-default.btn-lg,
body.tag .btn.btn-default.btn-lg {
    background: #c9c9c9;
    color: #171717;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
}

body.blog .btn.btn-default.btn-lg:hover,
body.category .btn.btn-default.btn-lg:hover,
body.tag .btn.btn-default.btn-lg:hover {
    background: #ffffff;
    color: #000;
}

/* Pagination arrows */
body.blog .pagination .nav-links a,
body.blog .pagination .nav-links span,
body.category .pagination .nav-links a,
body.category .pagination .nav-links span,
body.tag .pagination .nav-links a,
body.tag .pagination .nav-links span {
    background: #1a1a1a;
    color: #c9c9c9;
    padding: 10px 16px;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
}

body.blog .pagination .nav-links a:hover,
body.category .pagination .nav-links a:hover,
body.tag .pagination .nav-links a:hover {
    background: #c9c9c9;
    color: #171717;
}



/* ============================================================
   MOBILE GRID FIX — Force 1 card per row
   ============================================================ */

@media (max-width: 768px) {

    body.blog article,
    body.category article,
    body.tag article {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
        box-sizing: border-box !important;
    }
}