/*!
Theme Name: estado22
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: A minimal Bootstrap-powered WordPress theme for news posts and banners.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: estado22
Tags: custom-logo, featured-images, translation-ready

estado22 is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

body {
	background: #fff;
}

img,
iframe,
embed,
object {
	max-width: 100%;
}

img {
	height: auto;
}

/*--------------------------------------------------------------
# WordPress Core
--------------------------------------------------------------*/

.custom-logo-link {
	display: inline-block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin-top: 1.5rem;
}

.page-links {
	clear: both;
	margin: 0 0 1.5rem;
}

/*--------------------------------------------------------------
# Posts
--------------------------------------------------------------*/

.post,
.page {
	margin-bottom: 1.5rem;
}

.sticky {
	display: block;
}

/*--------------------------------------------------------------
# Banners
--------------------------------------------------------------*/

.banner img,
.site-banner img {
	display: block;
	width: 100%;
}

/*--------------------------------------------------------------
# Captions
--------------------------------------------------------------*/

.wp-caption {
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	top: 5px;
	left: 5px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 15px 23px 14px;
	clip: auto !important;
	clip-path: none;
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	color: #21759b;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: normal;
	text-decoration: none;
}

#primary[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1.5rem;
}

.alignright {
	float: right;
	margin-bottom: 1.5rem;
	margin-left: 1.5rem;
}

.aligncenter {
	display: block;
	clear: both;
	margin-right: auto;
	margin-bottom: 1.5rem;
	margin-left: auto;
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.navbar-nav {
	gap: 2rem;
}

.navbar-nav a {
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
}

/*--------------------------------------------------------------
# Colors & Typography
--------------------------------------------------------------*/

:root {
	--color-heading: #1d1d1b;
	--color-body: #6f6f6e;
	--color-accent: #bd1622;
}

body {
	font-family: 'Open Sans', sans-serif;
	color: var(--color-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--color-heading) !important;
	font-weight: 700;
}

a {
	color: var(--color-accent);
	text-decoration: none;
}

a:hover {
	color: var(--color-accent);
}


/*--------------------------------------------------------------
# Entry Titles
--------------------------------------------------------------*/

.entry-title a {
	color: var(--color-heading);
}

.entry-title a:hover {
	color: var(--color-accent);
}

/*--------------------------------------------------------------
# Header Navigation
--------------------------------------------------------------*/

.navbar-nav {
	gap: 2rem;
}

.navbar-nav a {
	position: relative;
	color: var(--color-heading);
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
}

.navbar-nav a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 2px;
	background-color: var(--color-accent);
	transition: width 0.3s ease;
}

.navbar-nav a:hover {
	color: var(--color-heading);
}

.navbar-nav a:hover::after {
	width: 100%;
}

/*--------------------------------------------------------------
# News Lists
--------------------------------------------------------------*/

.news-thumb {
	height: 200px;
	object-fit: cover;
	display: block;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
	background-color: var(--color-heading);
}

.site-footer {
	font-size: 0.6rem;
	letter-spacing: 0.05em;
}

/*--------------------------------------------------------------
# Post Meta
--------------------------------------------------------------*/

.entry-meta {
	display: none;
}

h1.entry-title {
	margin-bottom: 1em;
}

/*--------------------------------------------------------------
# Sidebar Banners
--------------------------------------------------------------*/

.home-sidebar {
	max-width: 320px;
}

.home-sidebar img {
	width: 100%;
	height: auto;
	display: block;
}

/*--------------------------------------------------------------
# Sidebar Banners
--------------------------------------------------------------*/

.sidebar-banners .banner-item img {
	max-width: 320px;
	width: 100%;
	height: auto;
}