/*
Theme Name: Elextra Child
Theme URI: https://www.elextrarradio.com/
Author: Elextrar Radio
Author URI: https://www.elextrarradio.com/
Description: Child theme of Blogus for Elextrar Radio. Adds a unique custom sidebar, a custom footer copyright line, and a classic homepage blog layout (featured image -> title -> meta -> full content). NOTE: Blogboom (the previously active theme) is itself a child of Blogus, so this theme is built as a proper single-level child of Blogus, which WordPress fully supports.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Template: blogus
Text Domain: elextra-child
Tags: blog, news, two-columns, right-sidebar, featured-images, custom-menu, translation-ready
*/

/* ============================================================
   Custom styles
   - Classic homepage blog layout (image -> title -> meta -> content)
   - Clean, responsive custom sidebar
   ============================================================ */

/* ---------- Homepage: content + sidebar row ---------- */
.elextra-home .row {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	align-items: flex-start;
}
.elextra-home .elextra-main-col {
	flex: 1 1 620px;
	min-width: 0;
}
.elextra-home .elextra-aside-col {
	flex: 0 0 300px;
	max-width: 300px;
}

/* ---------- Classic post card ---------- */
.elextra-classic-post {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 40px;
	padding-bottom: 24px;
}

/* Featured image: full width, keep aspect ratio, never crop or stretch */
.elextra-post-thumb {
	margin: 0;
	line-height: 0;
}
.elextra-featured-img,
.elextra-post-thumb img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.elextra-post-header {
	padding: 22px 24px 0;
}
.elextra-post-title {
	margin: 0 0 10px;
	font-size: 1.7rem;
	line-height: 1.25;
}
.elextra-post-title a {
	color: #1a1a1a;
	text-decoration: none;
}
.elextra-post-title a:hover {
	color: #0073aa;
}
.elextra-post-meta {
	font-size: 0.85rem;
	color: #777;
	margin-bottom: 14px;
}
.elextra-post-meta span {
	margin-right: 14px;
}
.elextra-post-content {
	padding: 0 24px;
	line-height: 1.7;
	color: #333;
}
.elextra-post-content img {
	max-width: 100%;
	height: auto;
}

/* ---------- Pagination ---------- */
.elextra-pagination {
	margin: 10px 0 40px;
}

/* ---------- Sidebar (clean + responsive) ---------- */
.elextra-sidebar .elextra-widget {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 24px;
}
.elextra-widget-title {
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid #0073aa;
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}
.elextra-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.elextra-sidebar li {
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
}
.elextra-sidebar li:last-child {
	border-bottom: 0;
}
.elextra-sidebar a {
	text-decoration: none;
	color: #333;
}
.elextra-sidebar a:hover {
	color: #0073aa;
}

/* ---------- Footer copyright ---------- */
.elextra-copyright {
	margin: 0;
	padding: 14px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.elextra-home .elextra-aside-col {
		flex: 1 1 100%;
		max-width: 100%;
	}
}
@media (max-width: 600px) {
	.elextra-post-title {
		font-size: 1.35rem;
	}
	.elextra-post-header,
	.elextra-post-content {
		padding-left: 16px;
		padding-right: 16px;
	}
}
