/*
Theme Name: Work Visa Guide
Theme URI: https://workvisaguide.com/
Author: Work Visa Guide
Author URI: https://workvisaguide.com/
Description: Official child theme for workvisaguide.com, built on the SpeedBlog framework. Keeps SpeedBlog's design and palette, and adds a classic full-content homepage layout plus a centered, brand-consistent footer.
Template: speedblog
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: work-visa-guide
Tags: blog, news, two-columns, right-sidebar, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* ==========================================================================
   Brand tokens - taken from SpeedBlog's own custom properties
   ========================================================================== */

:root {
	--wvg-plum: #714b67;
	--wvg-teal: #00ceb3;
	--wvg-navy: #0d2035;
	--wvg-line: #e5e5e5;
}

/* --------------------------------------------------------------------------
   1. Footer - centered, clean, responsive copyright
   Footer widgets, social nav and footer menu are preserved.
   -------------------------------------------------------------------------- */

.site-info .site-info-panel {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 12px;
}

.site-info .copyright-info {
	text-align: center;
	width: 100%;
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	letter-spacing: .02em;
}

.site-info .footer-navigation ul,
.site-info .social-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 575px) {
	.site-info .copyright-info { font-size: 14px; }
	.site-info .footer-navigation ul,
	.site-info .social-menu { gap: 4px 16px; }
}

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

.wvg-classic-post {
	display: block;
	width: 100%;
	float: none;
	max-width: 100%;
	margin: 0 0 48px;
	padding: 0 0 40px;
	border-bottom: 1px solid var(--wvg-line);
}

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

/* Featured image - full width, natural ratio, never cropped */
.wvg-classic-post .wvg-classic-thumb {
	margin: 0 0 22px;
	line-height: 0;
	overflow: hidden;
	border-radius: 6px;
}

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

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

.wvg-classic-post .entry-header { margin-bottom: 16px; }

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

.wvg-classic-post .wvg-classic-cat:hover,
.wvg-classic-post .wvg-classic-cat:focus {
	background: var(--wvg-teal);
	color: #fff;
}

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

.wvg-classic-post .entry-meta-wrapper { font-size: 14px; opacity: .8; }

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

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

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

/* The parent lays archive items out in a grid; the classic homepage is a
   single column. */
.home .article-groups .wvg-classic-post {
	grid-column: 1 / -1;
}

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