/*
 Theme Name:   SmartTechTVs Child
 Theme URI:    https://smarttechtvs.com/
 Description:  GeneratePress Child Theme for SmartTechTVs
 Author:       SmartTechTVs
 Template:     generatepress
 Version:      1.0.1
*/

/* --- Design Tokens --- */
:root {
    --stt-primary: #2563eb;
    --stt-secondary: #0f172a;
    --stt-accent: #38bdf8;
    --stt-text: #334155;
    --stt-muted: #64748b;
    --stt-bg: #ffffff;
    --stt-bg-light: #f8fafc;
    --stt-border: #e2e8f0;
    --stt-radius: 8px;
    --stt-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* --- Home Page Layout --- */
.sttv-fullwidth-home #content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sttv-fullwidth-home .site-main {
    margin: 0 !important;
}

/* --- Hero Section --- */
.stt-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    border-radius: var(--stt-radius);
    margin-bottom: 40px;
}

.stt-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.stt-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.stt-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.stt-btn-primary {
    background: var(--stt-primary);
    color: #fff;
}

.stt-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-left: 10px;
    backdrop-filter: blur(4px);
}

.stt-btn-outline {
    border: 1px solid var(--stt-border);
    color: var(--stt-text);
    font-size: 0.9rem;
}

/* --- Cards --- */
.stt-card {
    background: #fff;
    border: 1px solid var(--stt-border);
    border-radius: var(--stt-radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.stt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--stt-shadow);
}

.stt-card .post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.stt-card h3 {
    padding: 15px 20px 5px;
    margin: 0;
    font-size: 1.1rem;
    color: var(--stt-secondary);
}

.stt-card .card-meta {
    padding: 0 20px 15px;
    font-size: 0.85rem;
    color: var(--stt-muted);
}

.stt-category-pill {
    background: var(--stt-bg-light);
    color: var(--stt-primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Section Titles --- */
.stt-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 40px 0 20px;
}

.stt-section-title .bar {
    width: 4px;
    height: 24px;
    background: var(--stt-primary);
    border-radius: 2px;
}

.stt-section-title h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

/* --- TOC --- */
.stt-toc {
    background: var(--stt-bg-light);
    border: 1px solid var(--stt-border);
    padding: 20px;
    border-radius: var(--stt-radius);
    margin-bottom: 30px;
}

/* --- About Block --- */
.stt-about-block {
    background: var(--stt-bg-light);
    padding: 40px;
    border-radius: var(--stt-radius);
    margin: 40px 0;
}

/* --- Footer --- */
.site-footer {
    background-color: #f8fafc;
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
}

.footer-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-bar .widget_nav_menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.site-footer, .site-info, .footer-bar, .site-footer a, .footer-bar a, .site-info a {
    color: #475569 !important;
    text-decoration: none;
    font-size: 14px;
}

.site-footer a:hover, .footer-bar a:hover, .site-info a:hover {
    color: #2563eb !important;
    text-decoration: underline;
}
