/*
Theme Name: YRSC - Youth Response for Social Change
Theme URI: https://youthresponsesc.org
Author: YRSC / nthangala.com
Author URI: https://youthresponsesc.org
Description: Official WordPress theme for Youth Response for Social Change (YRSC), a youth-led NGO based in Nayuchi, Machinga, Malawi. Focused on ending child marriages, promoting education, sexual reproductive health rights, and governance.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yrsc
Tags: non-profit, charity, responsive, bootstrap, custom-menu, custom-logo, threaded-comments, translation-ready
*/

/* =======================================================
 * WordPress Core Overrides & Theme-Specific Additions
 * Base styles are loaded from css/theme-style.css
 * ======================================================= */

/* Alignments */
.alignleft  { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Captions */
.wp-caption { max-width: 100%; }
.wp-caption-text { text-align: center; font-size: 0.875em; color: #888; }

/* Screen reader text */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* Sticky post */
.sticky { display: block; }

/* Gallery */
.gallery { margin-bottom: 1.5em; }
.gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; }

/* WordPress navigation menu active states */
#fh5co-primary-menu .current-menu-item > a,
#fh5co-primary-menu .current_page_item > a,
#fh5co-primary-menu .current-menu-ancestor > a {
	color: #872886 !important;
}

/* WordPress generated navigation */
.nav-links a {
	color: #872886;
	font-weight: 600;
}

/* Custom logo */
#fh5co-logo .custom-logo-link img {
	max-height: 60px;
	width: auto;
}

/* Comment form tweaks */
.comment-form input,
.comment-form textarea {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 3px;
	margin-bottom: 10px;
}
.comment-form .submit {
	background: #872886;
	color: #fff;
	border: none;
	padding: 10px 25px;
	border-radius: 3px;
	cursor: pointer;
}
.comment-form .submit:hover { background: #6a1e69; }

/* Pagination */
.pagination .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 2px;
	border: 1px solid #ddd;
	color: #872886;
	border-radius: 3px;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: #872886;
	color: #fff;
	border-color: #872886;
}

/* Single post / page content */
.yrsc-entry-content img { max-width: 100%; height: auto; }
.yrsc-entry-content h1,
.yrsc-entry-content h2,
.yrsc-entry-content h3 { margin-top: 1.5em; }

/* Search form */
.search-form { display: flex; gap: 8px; }
.search-form .search-field { flex: 1; padding: 8px 12px; border: 1px solid #ddd; border-radius: 3px; }
.search-form .search-submit {
	background: #872886;
	color: #fff;
	border: none;
	padding: 8px 20px;
	border-radius: 3px;
	cursor: pointer;
}
