/*!
Theme Name: amistad
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: amistad
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

amistad 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.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	line-height: 1.6;
	margin: 0;
	margin-bottom: 0 !important;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 3.5rem;
	font-weight: 400;
	margin: 0.67em 0;
	color: #000;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

form.search-form {
	display: flex;
	margin: 10px 20px;
}
form.search-form label {
	display: block;
	flex: 1;
}
/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: "Nunito", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: rgb(243, 55, 47);
	border: none;
	border-radius: 0;
	color: #fff;
	display: inline-block;
	padding: 10px 20px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid rgb(243, 55, 47);
	border-radius: 0;
	display: block;
	padding: 10px 20px;
	width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
#masthead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: rgb(14, 41, 70);
	padding: 0 30px;
}

.nav-links {
	display: flex;
	gap: 20px;
}
#site-navigation {
	display: flex;
	align-items: center;
	padding: 0;
	align-self: stretch;
}
#site-navigation ul,
#site-navigation li {
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
}
#site-navigation a {
	align-items: center;
	font-weight: bold;
	font-style: normal;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 15px;
	height: 100%;
	display: flex;
	padding: 10px 20px;
	letter-spacing: 0.5px;
}
#site-navigation .current-menu-item > a,
#site-navigation a:hover {
	color: rgb(243, 55, 47);
}

#primary-menu > li:last-child > a {
	background-color: rgb(255, 208, 5);
	color: #fff;
	padding: 10px 22px;
}
#primary-menu > li:last-child > a:hover {
	color: #fff;
}

#primary-menu, .menu-main-menu-container, #main-menu-container {
	height: 100%;
}

/* dropdown
--------------------------------------------- */

#site-navigation .menu-item-has-children > a::after {
	content: "\25BE";
	margin-left: 5px;
	font-size: 12px;
}
#site-navigation .menu-item-has-children ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	z-index: 10;
}
#site-navigation .menu-item-has-children ul a {
	background-color: rgb(14, 41, 70);
	color: #fff;
	font-size: 14px;
	white-space: nowrap;
}
#site-navigation .menu-item-has-children ul a:hover {
	color: rgb(243, 55, 47);
}
#site-navigation .menu-item-has-children ul li {
	border-bottom: 0;
}
#site-navigation .menu-item-has-children ul li:last-child {
	border-bottom: none;
}
#site-navigation .menu-item-has-children:hover ul {
	display: block;
}



#hamburger {
	display: none;
	width: 50px;
	height: 30px;
	cursor: pointer;
	z-index: 1000;
	flex-direction: column;
	justify-content: space-between;
	padding: 0;
	border: none;
	background-color: transparent;
	margin-right: 20px;
}

#hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
	border-radius: 5px;
}

/* Active State for Hamburger */
.toggled #hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.toggled #hamburger span:nth-child(2) {
    opacity: 0;
}

.toggled #hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}


  

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1;
}
.post-navigation a {
	display: flex;
	align-items: center;
	text-decoration: none;
}
.post-navigation a i {
	font-size: 30px;
}
.nav-next a {
	justify-content: end;
}

/* Headings
--------------------------------------------- */

h1, .h1 {
	border-bottom: 1px solid #bbb;
	font-family: "Nunito", sans-serif;
	color: #000;
	font-weight: 400;
  	font-style: normal;
}
h4 {
	font-family: "Nunito", sans-serif;
	color: rgb(243, 55, 47);
	font-weight: bold;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}

/* Home Video
--------------------------------------------- */
.home-video {
	position: relative;
	width: 100%;
	min-height: 100vh;
	overflow: hidden;
	background: #000;
}
.home-video-cta {
	position: absolute;
	bottom: 40px;
	right: 40px;
	z-index: 2;
	display: inline-block;
	padding: 14px 32px;
	background-color: rgb(243, 55, 47);
	color: #fff;
	font-family: "Nunito", sans-serif;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}
.home-video-cta:hover {
	background-color: rgb(243, 55, 47);
	color: #fff;
}
.home-video video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	object-fit: cover;
}

/* Board / People Grid
--------------------------------------------- */
.board-page {
	flex: 1 1 75%;
	min-width: 0;
}
.board-page-title {
	text-align: center;
	margin-bottom: 40px;
}
.people-section {
	margin-bottom: 60px;
}
.people-section-title {
	font-family: "Nunito", sans-serif;
	color: #1c2b4a;
	font-size: 28px;
	margin-bottom: 30px;
	padding-bottom: 10px;
	text-align: left;
}
.people-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
.person-card {
	flex: 1 1 calc(25% - 23px);
	max-width: calc(25% - 23px);
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	text-align: center;
	transition: box-shadow 0.3s ease;
}
.person-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.person-photo img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	display: block;
}
.person-info {
	padding: 20px 15px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.person-name {
	font-family: "Nunito", sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #1c2b4a;
	margin: 0 0 5px;
}
.person-title {
	font-family: "Nunito", sans-serif;
	font-size: 14px;
	color: #666;
	margin: 0 0 15px;
}
.person-profile-btn {
	margin-top: auto;
	display: inline-block;
	padding: 8px 20px;
	background: rgb(243, 55, 47);
	border: 2px solid rgb(243, 55, 47);
	color: #fff;
	font-family: "Nunito", sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
}
.person-profile-btn:hover {
	background-color: #fff;
	border-color: rgb(243, 55, 47);
	color: rgb(243, 55, 47);
}

/* Person Modal */
.person-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
}
.person-modal.is-open {
	display: flex;
}
.person-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}
.person-modal-content {
	position: relative;
	background: #fff;
	border-radius: 8px;
	max-width: 600px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	padding: 40px;
	z-index: 1;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.person-modal-close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 28px;
	color: #999;
	cursor: pointer;
	line-height: 1;
	padding: 0;
}
.person-modal-close:hover {
	color: #333;
}
.person-modal-name {
	font-family: "Nunito", sans-serif;
	color: #1c2b4a;
	font-size: 26px;
	margin: 0 0 20px;
}
.person-modal-description {
	font-family: "Nunito", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: #444;
}
.person-modal-description p {
	margin: 0 0 15px;
}

@media screen and (max-width: 960px) {
	.person-card {
		flex: 1 1 calc(50% - 15px);
		max-width: calc(50% - 15px);
	}
}
@media screen and (max-width: 480px) {
	.person-card {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

/* Home Buttons
--------------------------------------------- */
.home-buttons-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0px;
	margin: 0 auto;
}
.home-button {
	flex: 1 1 calc(25% - 15px);
	max-width: calc(25%);
	aspect-ratio: 16 / 9;
	background-size: cover;
	background-position: top center;
	background-color: #1c2b4a;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	position: relative;
	overflow: hidden;
}
.home-button::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	transition: background 0.3s ease;
}
.home-button:hover::after {
	background: rgba(0, 0, 0, 0.55);
}
.home-button-label {
	position: relative;
	z-index: 1;
	color: #fff;
	font-family: "Nunito", sans-serif;
	font-size: 24px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 1px;
	padding: 10px;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 768px) {
	.home-button {
		flex: 1 1 calc(50% - 10px);
		max-width: calc(50% - 10px);
	}
}
@media screen and (max-width: 480px) {
	.home-button {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

/* Layout
--------------------------------------------- */
.site-branding {
	text-align: left;
	padding: 8px 0;
}
.site-branding img {
	max-height: 70px;
	width: auto;
}
.site-branding h1,
.site-branding p {
	font-family: sans-serif;
	font-size: 1em;
	margin: 0;
}

#footer {
	background: rgb(248, 210, 55);
	text-align: center;
	padding: 50px;;
	display: flex;
}
#footer .footer-content {
	flex: 1;
}
#footer h2 {
	font-family: "Nunito", sans-serif;;
	color: #000;
	font-weight: 400;
  	font-style: normal;
	font-size: 50px;
}

#footer-social {
	display: flex;
	align-items: center;
	justify-content: center;
}
#footer-social i {
	color: #000;
	font-size: 60px;
}

#footer .copyright {
	font-size: 14px;
	color: #000;
	padding: 40px 15px;
}

#footer .by-op a {
	font-size: 14px;
	color: #000;
}

ul {
	margin: 20px 0;
}
li {
	font-size: 1em;
    padding: .75em 0;
}
ul li::marker {
	color: rgb(243, 55, 47);
}

/* Buttons
--------------------------------------------- */

a, a:visited {
	color: rgb(243, 55, 47);
}
a:hover {
	color: #000;
}

.btn {
	font-family: "Nunito", sans-serif;
	font-weight: 400;
  	font-style: normal;
	background-color: rgba(255, 255, 255, 1);
	display: inline-block; 
	padding: 5px 25px;
	border: 1px solid #eee;
	color: #000;
	transition: all .5s ease;
	text-decoration: none;
}

.btn:hover {
	background-color: rgba(4, 166, 184, 1);
	border-color: rgb(243, 55, 47);
	color: #fff !important;
}

.btn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 10px; /* Space between buttons */
    max-width: 600px; /* Limit width */
    margin: auto; /* Center grid */
}

.btn-grid .btn-cta {
	display: block;
	text-align: center;
	font-size: 30px;;
}


/* Home
--------------------------------------------- */


/* Posts and pages
--------------------------------------------- */
.entry-meta {
	margin-bottom: 30px;
}
.entry-meta .posted-on a {
	color: #aaa;
	text-decoration: none;
}
.author-box {
	padding: 100px 0 50px 0;
	text-align: center;
}
.single.entry-header {
	display: flex;
	position: relative;
	background-attachment: fixed;
	background-size: cover;
	text-align: center;
	min-height: 50vh;
	background-position-y: 50%;
	background-position-x: center;
	z-index: 9;
	justify-content: center;
    align-items: center;
}
.single.entry-header::after {
	position: absolute;
	content: "";
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 10;
	left: 0;
	top: 0;
	bottom: 0;
	width: 100%;
}
.header-content {
	position: relative;
	z-index: 20;
}
.header-content h1 {
	color: #fff;
	font-size: 3em;
}
.header-content .entry-meta .posted-on a {
	color: #fff;
}
.post-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 15px;
}
.post-thumbs .posts {
	display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
	text-align: center;
}
.post-thumbs .article-thumb {
	padding-bottom: 50px;
}
.post-thumbs  .post-thumb {
	display: block;
	height: 300px;
	width: 100%;
	background-size: cover;
	background-position: center;
	transition: opacity .5s ease;
}
.post-thumbs  .post-thumb:hover {
	opacity: .8;
}
.post-thumbs  .article-thumb h2 {
	margin:10px;
	font-weight: 400;
}
.post-thumbs  .article-thumb h2 a {
	color: #000;
	text-decoration: none;
}
.post-category {
	margin: 0;
	padding: 0;
	padding-top: 20px;
}
.post-category a {
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
}
.post-date {
	color: #aaa;
	margin: 0;
	padding: 0;
	font-size: 12px;
}
.entry-header h1 {
	margin-bottom: 0px;
}

.author-box h3 {
	margin: 0 0 30px 0;
	font-size: 2em;
}
.author-box .author-avatar {
	border-top: 1px solid #ccc;
}
.author-box .author-avatar .img {
    display: inline-block;
    margin-top: -65px;
    border-radius: 50%;
    border: 20px solid #fff;
}
.author-box .author-avatar .img img {
	border-radius: 50%;
}
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

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

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

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Page with Sidebar
--------------------------------------------- */
.page-with-sidebar {
	display: flex;
	gap: 40px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 20px;
}
.page-main-content {
	flex: 1 1 75%;
	min-width: 0;
}
.page-sidebar {
	flex: 0 0 25%;
	max-width: 25%;
}
.sidebar-buttons {
	display: flex;
	flex-direction: column;
	gap: 15px;
	top: 20px;
}
.sidebar-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px 10px;
	background-size: cover;
	background-position: center;
	background-color: rgb(243, 55, 47);
	border-radius: 6px;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease;
}
.sidebar-btn::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(243, 55, 47, 0.4);
	transition: background 0.3s ease;
}
.sidebar-btn:hover::after {
	background: rgba(243, 55, 47, 0);
}
.sidebar-btn:hover {
	transform: scale(1.02);
}
.sidebar-btn-label {
	position: relative;
	z-index: 1;
	color: #fff;
	font-family: "Lato", sans-serif;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 0.5px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.sidebar-images {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-top: 20px;
}
.sidebar-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

@media screen and (max-width: 768px) {
	.page-with-sidebar {
		flex-direction: column;
	}
	.page-sidebar {
		display: none;
	}
}

/* Featured Image Float
--------------------------------------------- */
.entry-content .featured-image {
	float: right;
	margin: 0 0 20px 30px;
	max-width: 45%;
}
.entry-content .featured-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}
@media screen and (max-width: 600px) {
	.entry-content .featured-image {
		float: none;
		max-width: 100%;
		margin: 15px 0;
	}
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

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

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

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

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

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

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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

/* MOBILE */
@media screen and (max-width: 1000px) {
	.post-thumbs .posts {
		display: block;
	}
	.section-home {
		display: block;
		position: relative;
		margin-bottom: 50px;
	}
	.section-home .hero-photo {
		width: 100%;
		height: 100%;
	}
	.section-home .hero-photo img {
		max-width: none;
		max-height: 100%;
		width: auto;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	.section-home .hero-content {
		background-color: rgba(255,255,255,.6);
		position: relative;
		width: 100%;
		min-height: 100vh;
		z-index: 15;
	}
	#hero-5kind .hero-content p {
		background: rgba(255, 255, 255, .8);
    	padding: 20px;
	}

	#home-book .hero-content {
		min-height: auto;
		align-items: center !important;
		text-align: center;
	}

	#footer {
		display: block;
	}

	/* Mobile Nav
	--------------------------------------------- */
	#page {
		padding-top: 20px;
	}
	#masthead {
		display: flex;
		position: fixed;
		background-color: rgb(14, 41, 70);
		z-index: 1000;
		top: 0;
		left: 0;
		width: 100%;
	}
	#masthead .site-branding {
		padding: 0;
	}
	#masthead .site-branding img {
		max-height: 65px;
	}
	#site-navigation {
		padding: 0;
	}
	#hamburger {
		display: flex;
	}
	#main-menu-container {
		position: fixed;
		background-color: rgb(14, 41, 70);
		top: 65px;
		left: 0;
		bottom: 0;
		width: 100%;
		z-index: 1000;
		margin-left: -100%;
		transition: all .5s ease;
		overflow: scroll;
		padding-top: 20px;
	}
	.toggled #main-menu-container {
		margin-left: 0;
	}
	.main-navigation ul {
		display: block;
	}
	#site-navigation .menu-item-has-children ul {
        position: static;
        display: block;
        margin-left: 20px;
        border: none;
        max-height: 0;
        overflow: hidden;
		transition: all 0.5s ease-in-out;
    }
	#site-navigation .menu-item-has-children.focus ul {
		max-height: 400px;
	}
	#site-navigation .menu-item-has-children ul li {
		border: none;
	}

	.hero-content .content-wide {
		padding: 0;
	}
	.page-template-page-after-baby-comes-php .section-home .hero-photo img {
		position: static;
		max-width: 100%;
		transform: none;
	}
	.page-template-page-after-baby-comes-php .section-home .hero-content {
		min-height: auto;
		padding: 50px 20px;
	}
	.btn-grid {
		grid-template-columns: 1fr;
	}
	
}