/*
 Theme Name: Paint My Thumb Green
 Template: generatepress
 Description: Garden blog theme — classic stream layout with warm earth tones.
 Version: 1.1.0
 Author: Bill Ward
*/

/* ── Palette ── */
:root {
    --pmtg-bg: #eeece6;
    --pmtg-text: #3a3a35;
    --pmtg-heading: #2d5016;
    --pmtg-accent: #6b8e23;
    --pmtg-accent-hover: #4a6a10;
    --pmtg-muted: #8a8a7a;
    --pmtg-border: #e0ddd5;
    --pmtg-card-bg: #fff;
    --pmtg-link: #2d5016;
    --pmtg-link-hover: #6b8e23;
}

/* ── Base colors ── */
body { background: var(--pmtg-bg); color: var(--pmtg-text); }
.inside-article { background: var(--pmtg-card-bg); border: 1px solid var(--pmtg-border); }
h1, h2, h3, h4 { font-family: Lora, Georgia, "Times New Roman", serif; color: var(--pmtg-heading); }
.entry-title a { color: var(--pmtg-heading); }
.entry-title a:hover { color: var(--pmtg-accent); }
header.entry-meta, .entry-meta a { color: var(--pmtg-muted); }
.entry-content a, .entry-summary a { color: var(--pmtg-link); }
.entry-content a:hover, .entry-summary a:hover { color: var(--pmtg-link-hover); }
.read-more { color: var(--pmtg-accent); }
.read-more:hover { color: var(--pmtg-accent-hover); }
.migration-note { color: var(--pmtg-muted); }

/* ── Grid: card layout ── */
.site-main { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
.site-content { max-width: none; margin: 0 auto; padding: 0 32px; }
.single .site-content { max-width: 720px !important; margin: 0 auto; }

/* ── Category pills (filled, earth tones) ── */
.entry-meta .cat-links a {
    background: #eae7de; color: var(--pmtg-heading);
}
.entry-meta .cat-links a:hover { background: var(--pmtg-accent); color: #fff; }
/* Category-specific colors */
.entry-meta .cat-links a[href*="vegetables"] { background: #d4edda; color: #155724; }
.entry-meta .cat-links a[href*="flowers"] { background: #fce4ec; color: #880e4f; }
.entry-meta .cat-links a[href*="succulents"] { background: #e0f2f1; color: #004d40; }
.entry-meta .cat-links a[href*="wildlife"] { background: #fff3e0; color: #e65100; }
.entry-meta .cat-links a[href*="harvest"] { background: #fff8e1; color: #f57f17; }
.entry-meta .cat-links a[href*="garden-life"] { background: #efebe9; color: #4e342e; }
.entry-meta .cat-links a[href*="dye-plants"] { background: #f3e5f5; color: #6a1b9a; }

/* ── Tag pills ── */
.entry-meta .tags-links a { color: var(--pmtg-muted); border-color: var(--pmtg-border); }
.entry-meta .tags-links a:hover { border-color: var(--pmtg-accent); color: var(--pmtg-accent); }

/* ── Action buttons ── */
.pmtg-comment-btn, .pmtg-edit-btn {
    display: inline-block; font-size: 0.78rem; text-decoration: none;
    padding: 3px 12px; border-radius: 2px; margin: 0 4px;
    color: #fff !important; background: var(--pmtg-heading);
    border: 1px solid var(--pmtg-heading);
}
.pmtg-comment-btn:hover, .pmtg-edit-btn:hover {
    background: var(--pmtg-accent); border-color: var(--pmtg-accent); color: #fff !important;
}
.single .pmtg-comment-btn { display: none; }

/* ── Post navigation ── */
.single .post-navigation { border-top: 1px solid var(--pmtg-border); }
.post-navigation a { color: var(--pmtg-accent); text-decoration: none; }
.post-navigation a:hover { color: var(--pmtg-accent-hover); }

/* ── Header ── */
.site-header { background: var(--pmtg-heading); border-bottom: 3px solid var(--pmtg-accent); position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
body { padding-top: 140px; /* initial estimate, JS adjusts */ }
.inside-header {
    max-width: none; margin: 0 auto; padding: 20px 20px;
    display: flex; align-items: center; gap: 18px; position: relative;
}
.site-logo img, .header-image {
    width: 96px !important; height: 96px !important;
    border-radius: 50%; border: 2px solid rgba(255,255,255,0.3);
}
.main-title a, .site-title a {
    color: #fff !important; font-family: Lora, Georgia, "Times New Roman", serif;
    font-size: 2.0em; text-decoration: none;
}
.site-description { color: rgba(255,255,255,0.7); font-size: 0.85em; }

/* ── Header search ── */
.pmtg-header-search { position: fixed; right: 20px; top: 2px; z-index: 70; }
.pmtg-header-search input[type="search"] {
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
    border-radius: 2px; color: #fff; padding: 2px 8px; font-size: 0.85em; width: 180px;
}
.pmtg-header-search input[type="search"]::placeholder { color: rgba(255,255,255,0.5); }
.pmtg-header-search input[type="search"]:focus {
    background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.6); outline: none;
}

/* ── Navigation ── */
.main-navigation { background: #f5f3ee; border-bottom: 1px solid var(--pmtg-border); }
.main-navigation .main-nav > ul { max-width: none; margin: 0 auto; }
.main-navigation a { color: var(--pmtg-heading) !important; font-size: 0.9em; padding: 8px 14px !important; }
.main-navigation a:hover, .main-navigation .current-menu-item > a {
    color: var(--pmtg-accent) !important; background: transparent !important;
}

/* ── Footer ── */
.site-footer, .site-footer .site-info, .site-footer .inside-site-info {
    background: var(--pmtg-heading) !important;
    color: rgba(255,255,255,0.7); text-align: center; font-size: 0.85em;
}
.site-footer a { color: rgba(255,255,255,0.9); }
.site-footer a:hover { color: #fff; }
.pmtg-footer-content { margin-bottom: 10px; line-height: 1.8; }
.pmtg-footer-archives { margin-bottom: 6px; }
.pmtg-footer-archives select {
    font-size: inherit; padding: 2px 6px; border-radius: 2px;
    background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.3);
}
.pmtg-footer-archives select option { background: var(--pmtg-heading); color: #fff; }
.pmtg-footer-meta { margin-bottom: 4px; }
.site-footer .inside-site-info { display: block !important; }

/* ── Archive headers ── */
.page-header, .separate-containers .page-header {
    background: var(--pmtg-heading) !important; color: #fff !important;
}
.page-header .page-title, .page-header h1 { color: #fff !important; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .site-content { padding: 0 12px; }
    .pmtg-header-search { display: none; }
}
