﻿/*
Theme Name: Kakobuy Spreadsheet Hub
Theme URI: https://sheetfinds.com/
Author: SheetFinds
Author URI: https://sheetfinds.com/
Description: A clean, SEO-focused WordPress theme dedicated to Kakobuy Spreadsheets, hauls, QC tips, and shopping guides. Light Western-friendly UI with minimal palette, category dropdown navigation, and built-in CTA buttons to sheetfinds.com.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kakobuy-spreadsheet
Tags: blog, e-commerce, one-column, two-columns, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Main visual styles live in assets/css/main.css.
   The additions below layer on top for the guide card grid on the homepage. */

/* ---------- Homepage guide card grid ---------- */
.section-articles .section-head { margin-bottom: 32px; }

.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.guide-card {
    background: #ffffff;
    border: 1px solid #e5e9f2;
    border-radius: 14px;
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    position: relative;
}
.guide-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 41, 0.09);
    border-color: #cfd6e4;
}

.guide-card-idx {
    color: #4a5878;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #eef2f8;
    padding: 4px 10px;
    border-radius: 999px;
    align-self: flex-start;
    font-variant-numeric: tabular-nums;
}

.guide-card-title {
    font-size: 1.05rem;
    color: #0f1729;
    margin: 0;
    font-weight: 700;
    line-height: 1.35;
}

.guide-card-excerpt {
    color: #4a5878;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.guide-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none !important;
    border-bottom: none !important;
    padding: 4px 0;
    transition: color 0.15s ease, gap 0.15s ease;
    margin-top: 4px;
}
.guide-card-btn:hover {
    color: #1d4ed8;
    gap: 10px;
}

@media (max-width: 560px) {
    .guide-cards { grid-template-columns: 1fr; }
    .guide-card { padding: 18px 18px 16px; }
}
