/*
Theme Name: Sergio Fermariello
Theme URI: https://www.sergiofermariello.com/
Author: Sergio Fermariello
Author URI: https://www.sergiofermariello.com/
Description: Official child theme for sergiofermariello.com, built on Workstation. Adds a casino-inspired accent palette (deep navy, teal and gold), a classic full-content homepage blog layout, and a centered, brand-consistent footer.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Template: workstation
Text Domain: sergio-fermariello
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
Tested up to: 6.9
Tags: blog, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Brand tokens — casino palette drawn from the live site
   ========================================================================== */

:root {
	--sf-navy: #0b1b2b;
	--sf-navy-2: #102033;
	--sf-teal: #0f766e;
	--sf-gold: #d4a418;
	--sf-gold-light: #f0c44a;
	--sf-muted: #6b7785;
	--sf-line: #e3e8ee;
	--sf-radius: 8px;
}

/* --------------------------------------------------------------------------
   1. Footer — centered, clean, responsive
   Footer branding, menu and widget areas are preserved.
   -------------------------------------------------------------------------- */

.site-footer .site-info {
	text-align: center;
	padding: 18px 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .sf-copyright {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	letter-spacing: 0.2px;
}

.site-footer .sf-copyright .sf-accent {
	color: var(--sf-gold);
}

@media (max-width: 575px) {
	.site-footer .sf-copyright {
		font-size: 14px;
	}
}

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

.sf-classic-post {
	display: block;
	margin-bottom: 48px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--sf-line);
}

.sf-classic-post:last-of-type {
	border-bottom: 0;
}

/* Featured image first — full width, natural ratio, never cropped */
.sf-classic-post .sf-classic-thumb {
	margin: 0 0 22px;
	line-height: 0;
	overflow: hidden;
	border-radius: var(--sf-radius);
}

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

.sf-classic-post .sf-classic-thumb img {
	width: 100%;
	height: auto;
	max-width: 100%;
	display: block;
	object-fit: none;
	transition: transform 0.35s ease;
}

.sf-classic-post .sf-classic-thumb:hover img {
	transform: scale(1.02);
}

/* Header */
.sf-classic-post .post-header {
	margin-bottom: 18px;
}

.sf-classic-post .post-category {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--sf-teal);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.sf-classic-post .post-category:hover,
.sf-classic-post .post-category:focus {
	background: var(--sf-navy);
}

.sf-classic-post .post-title {
	margin: 0 0 10px;
	line-height: 1.25;
}

.sf-classic-post .post-meta {
	font-size: 14px;
	color: var(--sf-muted);
	margin-bottom: 0;
}

/* Full content */
.sf-classic-post .sf-classic-content {
	line-height: 1.8;
	word-wrap: break-word;
}

.sf-classic-post .sf-classic-content > *:last-child {
	margin-bottom: 0;
}

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

.sf-classic-post .sf-classic-content blockquote {
	border-left: 4px solid var(--sf-gold);
	padding: 4px 0 4px 18px;
	margin: 22px 0;
	font-style: italic;
}

.sf-classic-post .sf-classic-content a {
	color: var(--sf-teal);
}

.sf-classic-post .sf-classic-content a:hover,
.sf-classic-post .sf-classic-content a:focus {
	color: var(--sf-navy);
}

@media (max-width: 575px) {
	.sf-classic-post {
		margin-bottom: 34px;
		padding-bottom: 28px;
	}
}
