/**
Plugin Name: solotutes-frontend
Author: Prakash Joshi
Author URI: https://prakashjoshi.in
Description: Custom styles for solotutes-frontend plugin
Stylesheet for: taxonomy-list template (taxonomy-list.php)
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: solotutes-frontend
*/

/* Astra Wrapper Fix - Top padding removed for alignment */
.st-list-wrapper { padding: 0 0 40px 0; font-family: 'Inter', system-ui, sans-serif; color: var(--qa-text-main); width: 100%; }

/* SEO Header (Now contains Breadcrumb) */
.st-archive-header {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid var(--qa-border);
    border-radius: var(--qa-radius);
    padding: 25px 40px 40px;
    margin-bottom: 40px;
    box-shadow: var(--qa-shadow);
    position: relative;
    margin-top: 0px; /* Slight top margin to breathe from header */
}

/* Breadcrumbs (Inside Header, Left Aligned) */
.st-breadcrumb { font-size: 13px; margin-bottom: 25px; color: var(--qa-text-muted); font-weight: 500; display: flex; align-items: center; gap: 8px; border-bottom: 1px dashed var(--qa-border); padding-bottom: 15px;}
.st-breadcrumb a { color: var(--qa-primary); text-decoration: none; transition: 0.2s;}
.st-breadcrumb a:hover { color: #0f4687; }
.st-breadcrumb i { font-size: 10px; color: #cbd5e1; }

/* Header Content Centered */
.st-header-content { text-align: center; }
.st-header-content h1 { font-size: 34px; font-weight: 800; margin: 0 0 15px 0; color: #0f172a; text-transform: capitalize; }
.st-header-content p { font-size: 16px; color: var(--qa-text-muted); max-width: 800px; margin: 0 auto; line-height: 1.7; }

/* Parent-Child Grid Setup */
.st-tax-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; }

/* Category Cards */
.st-tax-card { background: var(--qa-white); border: 1px solid var(--qa-border); border-radius: var(--qa-radius); overflow: hidden; transition: 0.3s; box-shadow: var(--qa-shadow); display: flex; flex-direction: column; }
.st-tax-card:hover { transform: translateY(-5px); border-color: #cbd5e1; box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1); }

/* Image / Icon Header for Card */
.st-card-hero { height: 140px; position: relative; display: flex; align-items: center; justify-content: center; background: var(--qa-bg-light); border-bottom: 1px solid var(--qa-border); overflow: hidden; }
.st-card-hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: 0.5s; }
.st-tax-card:hover .st-card-hero img { transform: scale(1.05); }
.st-card-hero .overlay-icon { position: absolute; z-index: 2; color: var(--qa-primary); font-size: 35px; background: rgba(255,255,255,0.95); width: 65px; height: 65px; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* Card Content & Sub-categories */
.st-card-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.st-card-title { font-size: 20px; font-weight: 800; color: var(--qa-text-main); margin: 0 0 5px 0; text-decoration: none; }
.st-card-title a { color: inherit; text-decoration: none; transition: 0.2s; }
.st-card-title a:hover { color: var(--qa-primary); }
.st-tax-count { font-size: 13px; font-weight: 600; color: var(--qa-text-muted); margin-bottom: 15px; display: block; }

/* Child Pills (Sub-taxonomies) */
.st-child-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; border-top: 1px dashed #cbd5e1; padding-top: 15px; }
.st-child-pill { font-size: 12px; font-weight: 600; background: #f1f5f9; color: #475569; padding: 5px 12px; border-radius: 20px; text-decoration: none; transition: 0.2s; border: 1px solid #e2e8f0; }
.st-child-pill:hover { background: var(--qa-primary); color: var(--qa-white); border-color: var(--qa-primary); }
.st-view-all { font-size: 13px; font-weight: 700; color: var(--qa-primary); text-decoration: none; margin-top: auto; padding-top: 20px; display: inline-block; text-transform: uppercase; letter-spacing: 0.5px; }