/*
Theme Name:  CineTime TV Astra Child
Theme URI:   https://cinetimetv.store
Description: Child theme for CineTime TV (Viral Video News), based on Astra.
Author:      CineTime TV Dev
Author URI:  https://cinetimetv.store
Template:    astra
Version:     1.0.0
License:     MIT
License URI: https://opensource.org/licenses/MIT
*/

/* =========================================
   1. GLOBAL TYPOGRAPHY & COLORS
   ========================================= */
:root {
    --ct-color-primary: #E50914; /* Netflix Red-ish */
    --ct-color-dark: #141414;
    --ct-color-gray: #B3B3B3;
    --ct-color-white: #FFFFFF;
    --ct-font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
    font-family: var(--ct-font-family);
    color: var(--ct-color-dark);
    line-height: 1.6;
}

/* =========================================
   2. TOP BAR (CSS-Only Implementation)
   ========================================= */
/* Adds a subtle "Latest Updates" label if a top bar exists, or just styling the header */
.ast-above-header-bar {
    background-color: var(--ct-color-dark);
    color: var(--ct-color-white);
    font-size: 13px;
    font-weight: 600;
}

/* =========================================
   3. POST CARDS (Home / Archive)
   ========================================= */
.ast-article-post {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ast-article-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Featured Image */
.ast-article-post .post-thumb-img-content {
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Title */
.entry-title a {
    text-decoration: none;
    color: var(--ct-color-dark);
    font-weight: 700;
}

.entry-title a:hover {
    color: var(--ct-color-primary);
}

/* Meta info */
.entry-meta {
    font-size: 0.85rem;
    color: #666;
}

/* =========================================
   4. SINGLE POST STYLES
   ========================================= */
.single .entry-header {
    margin-bottom: 2rem;
}

.single .entry-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .single .entry-title {
        font-size: 1.8rem;
    }
}

/* =========================================
   5. BUTTONS & LINKS
   ========================================= */
a {
    color: var(--ct-color-primary);
    transition: color 0.2s ease;
}

a:hover {
    color: #b20710;
}

.wp-block-button__link {
    border-radius: 4px;
    font-weight: 600;
    padding: 12px 24px;
}

/* =========================================
   6. FOOTER
   ========================================= */
.site-footer {
    background-color: var(--ct-color-dark);
    color: #999;
    padding-top: 3rem;
    padding-bottom: 3rem;
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--ct-color-white);
    text-decoration: none;
    margin-right: 1.5rem;
}

.site-footer a:hover {
    color: var(--ct-color-primary);
    text-decoration: underline;
}
