/*
Theme Name: Cine Fra
Theme URI: https://cinefra.com/
Author: Cine Fra
Author URI: https://cinefra.com/
Description: Official child theme for cinefra.com, built on the ChromeNews framework. Keeps the existing ChromeGrid design and accent palette, and adds a classic full-content homepage layout plus a centered, brand-consistent footer.
Template: chromenews
Version: 1.0.0
Requires PHP: 7.0
Requires at least: 5.0
Tested up to: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cinefra
Tags: news, blog, entertainment, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-menu, featured-images, full-width-template, custom-header, translation-ready, theme-options, threaded-comments
*/

/* ==========================================================================
   PART 1 - Inherited ChromeGrid styling
   ========================================================================== */

.exclusive-posts .exclusive-now,
.chromenews-header.header-layout-side .search-watch div.custom-menu-link > a{
    background: #0973c7;
    color: #ffffff;
}

div.custom-menu-link > a{
    background: #0973c7;
    color: #ffffff;
}

body.single-post .entry-title, h1.page-title {
    font-size: 32px;
}

.archive-list-post .read-title h4{
    font-size: 22px;
}

.af-cat-widget-carousel a.chromenews-categories.category-color-1,
.af-cat-widget-carousel a.chromenews-categories.category-color-2,
.af-cat-widget-carousel a.chromenews-categories.category-color-3{
    color: #ffffff;
}

.af-cat-widget-carousel a.chromenews-categories.category-color-2{
    background: #0973c7;
}


.af-cat-widget-carousel a.chromenews-categories.category-color-3{
    background: #222222;
}

/* ==========================================================================
   PART 2 - Cine Fra additions
   ========================================================================== */

:root {
	--cf-accent: #FF3C10;
	--cf-ink: #222222;
	--cf-wash: #fdf7f6;
}

/* --------------------------------------------------------------------------
   Footer - centered, clean, responsive copyright
   Footer widgets are untouched.
   -------------------------------------------------------------------------- */

.site-info .col-1 {
	text-align: center;
	float: none;
	width: 100%;
	font-size: 15px;
	line-height: 1.7;
	letter-spacing: .02em;
}

.site-info .cf-footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 22px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.site-info .cf-footer-nav li { margin: 0; padding: 0; }
.site-info .cf-footer-nav li a { font-size: 14px; opacity: .85; }
.site-info .cf-footer-nav li a:hover { opacity: 1; }

@media (max-width: 575px) {
	.site-info .col-1 { font-size: 14px; }
}

/* --------------------------------------------------------------------------
   Classic homepage blog layout
   Featured image -> category -> title -> meta -> full content.
   Scoped to .cf-classic-post; archives and single posts are untouched.
   -------------------------------------------------------------------------- */

.cf-classic-post {
	display: block;
	width: 100%;
	margin: 0 0 48px;
	padding: 0 0 40px;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.cf-classic-post:last-of-type { border-bottom: 0; margin-bottom: 16px; }

.cf-classic-post .cf-classic-thumb {
	margin: 0 0 22px;
	line-height: 0;
	overflow: hidden;
	border-radius: 4px;
}

.cf-classic-post .cf-classic-thumb a { display: block; }

.cf-classic-post .cf-classic-thumb img {
	width: 100%;
	height: auto;
	max-width: 100%;
	display: block;
	object-fit: none;
}

.cf-classic-post .cf-classic-cat {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 12px;
	border-radius: 3px;
	background: var(--cf-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
}

.cf-classic-post .cf-classic-cat:hover { background: var(--cf-ink); color: #fff; }

.cf-classic-post .cf-classic-title { margin: 0 0 10px; line-height: 1.25; font-size: 30px; }
.cf-classic-post .cf-classic-title a { text-decoration: none; }

.cf-classic-post .cf-classic-meta { font-size: 14px; opacity: .75; margin-bottom: 18px; }

.cf-classic-post .cf-classic-content { line-height: 1.8; word-wrap: break-word; }
.cf-classic-post .cf-classic-content > *:last-child { margin-bottom: 0; }

.cf-classic-post .cf-classic-content img,
.cf-classic-post .cf-classic-content iframe,
.cf-classic-post .cf-classic-content video { max-width: 100%; height: auto; }

@media (max-width: 767px) {
	.cf-classic-post .cf-classic-title { font-size: 24px; }
	.cf-classic-post { margin-bottom: 34px; padding-bottom: 28px; }
}

/* The parent wraps the loop in a masonry/grid container. On the classic
   homepage that must collapse to a single column. */
.home #aft-archive-wrapper.two-col-masonry,
.home #aft-archive-wrapper.archive-layout-grid {
	display: block;
	column-count: 1;
}

.home #aft-archive-wrapper .cf-classic-post {
	width: 100%;
	float: none;
	max-width: 100%;
}
