/*
Theme Name: Cogio Alpha
Theme URI: https://cogio.co.uk/
Author: Cogio Ltd
Author URI: https://cogio.co.uk/
Description: Alpha by Cogio.
Version: 0.11.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cogio-alpha
*/

body {
	margin: 0;
}

/*
 * Main content background.
 *
 * Apply the selected colour to every theme-rendered main content area while
 * allowing inner page, archive, WooCommerce and plugin-provided content
 * layouts to retain their own width and spacing.
 */
.site-main {
	width: 100%;
	box-sizing: border-box;
	background-color: var(--content-background-colour, transparent);
}



.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.entry-content.contained {
	padding: 1rem 5%;
}

/*
 * WordPress content alignment.
 *
 * Restore the standard front-end behaviour for content that WordPress marks
 * as left, right, centred or unaligned. In particular, left- and right-aligned
 * images can float so following text wraps alongside them.
 */
.entry-content {
	display: flow-root;
}

.alignleft {
	float: left;
	margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.alignnone {
	margin-right: 0;
	margin-left: 0;
}

@media (max-width: 600px) {
	.alignleft,
	.alignright {
		float: none;
		display: block;
		margin-right: auto;
		margin-left: auto;
	}
}

.home-page-news-feed {
	background: var(--home-news-feed-background-colour, transparent);
}

/*
 * The Home Page News Feed retains its own presentation spacing. Archive pages
 * now take all outer spacing from the Archive Page Layout controls.
 */
.home-page-news-feed .articlelist--list,
.home-page-news-feed .articlelist--grid {
	padding: 1rem 10%;
}

.home-page-news-feed__more {
	padding: 1rem 10% 2rem;
	box-sizing: border-box;
	text-align: center;
}

.home-page-news-feed__more-link {
	display: inline-block;
	padding: 0.75rem 1.25rem;
	background: var(--colour-primary, #005f73);
	color: #fff !important;
	text-decoration: none;
	border-radius: 0.25rem;
	transition: background-color 180ms ease, opacity 180ms ease;
}

.home-page-news-feed__more-link:hover,
.home-page-news-feed__more-link:focus {
	background: var(--colour-primary-highlight, #ee9b00);
	color: #fff !important;
}

.home-page-news-feed__more-link:focus-visible {
	outline: 3px solid var(--colour-primary-highlight, #ee9b00);
	outline-offset: 2px;
}
