/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: Your Name
Template: flatsome
Version: 1.0.0
*/

/* Custom News Footer Styles */

/* Custom News Footer (Pure CSS, No Dep.) */
.cnf-footer {
    display: block;
    width: 100%;
    padding-top: 3rem;
    background-color: #f4f9f4;
    border-top: 1px solid #eaeaea;
    box-sizing: border-box;
    font-family: inherit;
    /* Inherit theme font */
}

.cnf-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.cnf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    box-sizing: border-box;
}

/* Titles */
.cnf-title,
.cnf-site-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #1a202c;
    line-height: 1.4;
}

.cnf-site-title {
    font-size: 1.5rem;
}

/* Text */
.cnf-description {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Lists */
.cnf-list,
.cnf-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Recent Posts */
.cnf-list li {
    margin-bottom: 12px;
}

.cnf-list a {
    display: block;
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.cnf-list a:hover {
    color: #3182ce;
}

.cnf-date {
    display: block;
    font-size: 0.8rem;
    color: #718096;
    margin-top: 4px;
}

/* Categories (Tag Cloud Style) */
.cnf-cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cnf-cat-list a {
    display: inline-block;
    text-decoration: none;
    background-color: #f7fafc;
    color: #4a5568;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background-color 0.2s, color 0.2s;
}

.cnf-cat-list a:hover {
    background-color: #edf2f7;
    color: #1a202c;
}

/* Bottom Copyright */
.cnf-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
    text-align: center;
    color: #a0aec0;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .cnf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cnf-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}