/*!
Theme Name: jt25
Theme URI: http://underscores.me/
Author: Jess Tura
Author URI: http://jesstura.com
Description: A Wordpress theme for jesstura.com
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: jt25
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.

jt25 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%;
}

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

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * 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: 2em;
	margin: 0.67em 0;
}

/* 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;
}

/* 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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

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"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

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 #ccc;
	border-radius: 3px;
	padding: 3px;
}

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
--------------------------------------------- */
.main-navigation {
	/*display: block;
	width: 100%;*/
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* 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 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

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

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

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.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%;
}

/* 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;
}











/**** MY ADDITIONS 2026 ****/

/*@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot");
  src: url("../fonts/icomoon.eot?#iefix") format("embedded-opentype"), url("../fonts/icomoon.woff")
      format("woff"), url("../fonts/icomoon.ttf") format("truetype"), url("../fonts/icomoon.svg#icomoon")
      format("svg");
  font-weight: normal;
  font-style: normal;
}*/



:root {
	--black: #333;
  	--dark-red: #470101;
  	--mild-dark-red: #CF0C0C;
  	--logo-yellow: #ffa90c;
  	--menu-hover-red: #ff0000;
  	--menu-hover-white: #ffffff;
  	--left-column-width: 320px;
  	--right-column-width: 650px;
  	--menu-font-size: 16px;
  	--header-height: 64px;
  	--sidebar-body-top-margin: 30px;
  	--nudge-up: -3px;
  	--nudge-up-transition: transform 0.2s cubic-bezier(.4, 0, .2, 1);
  	--smooth-delay: all .2s ease-in-out;
  	--excerpt-color: #353535;
  	--post-title-color: #404040;
  	--post-title-size: clamp(1.3rem, 3.2vw + 0.5rem, 1.85rem);
    --post-title-line-height: 1.12;
    --h2-size: clamp(1.25rem, 3.2vw + 0.5rem, 1.7rem);
    --h3-size: clamp(1.15rem, 3.2vw + 0.5rem, 1.5rem);
    --h4-size: clamp(1.05rem, 3.2vw + 0.5rem, 1.35rem);
    --h5-size: clamp(9.8rem, 3.2vw + 0.5rem, 1.20rem);
    --h6-size: clamp(9.3rem, 3.2vw + 0.5rem, 1.0rem);
    --excerpt-size: 13px;
  	--font-main: 'Arial', sans-serif;
  	--spacing: 16px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.page{
	margin: 0;
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 2000;
}
.skip-link:focus { top: 0; }


/* NUDGE UP HOVER ON ICONS */
/* This code transition: var(--nudge-up-transition); 
   should be in the element's normal state */
.nav-toggle-btn:hover,
.search-icon svg:hover,
.menu-icons svg:hover{
	transform: translateY(var(--nudge-up));
}

a {
	text-decoration: none;
	color: var(--dark-red);
	transition: var(--smooth-delay);
}


/* ===== SITE GRID ===== */
.site-shell {
    display: grid;
    min-height: 100svh;
    grid-template-columns: var(--left-column-width) 1fr;
    grid-template-rows: var(--header-height) auto 1fr;
    grid-template-areas:
        "header header"
        "sidebar main"
        "footer footer";
    align-content: stretch;
}

/* ===== HEADER LAYOUT ===== */
.site-header {
    grid-area: header;
    grid-template-columns: var(--left-column-width) 1fr;
    margin:0;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
}

/* ===== SIDEBAR LAYOUT ===== */
.sidebar {
    grid-area: sidebar;
    /*margin-top: var(--sidebar-body-top-margin);*/
    margin-top: 0;
    max-width: var(--left-column-width);
    padding: 0;
}

/* ====== MAIN CONTENT LAYOUT ======*/
.body-container {
    grid-area: main;
    margin-top: var(--sidebar-body-top-margin);
    padding: 2px 2rem;
    max-width: var(--right-column-width);
}

/* ===== FOOTER LAYOUT ===== */
.site-footer {
    grid-area: footer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: row nowrap;
    padding: 2px 1rem;
}

.footer-left,
.footer-right {
    padding: .5rem;
}

.footer-left{
	width: var(--left-column-width);
}

.footer-right {
	text-align: right;
	width: var(--right-column-width);
}






/* ===== HEADER ===== */
.site-header {
    display: grid;
    align-items: center;
    background-color: var(--dark-red);
    z-index: 1000;
}

.nav-toggle-btn {
	display: none;
}

/* remove the styling from the generic buttons */
.nav-toggle-btn:before,
.up-arrow:before{
	content: none;
	display: none;
}

.site-branding {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--dark-red);
	background: linear-gradient(90deg, rgba(71, 1, 1, 1) 0%, rgba(207, 12, 12, 1) 50%, rgba(71, 1, 1, 1) 100%);
}

.site-branding a{
	text-align: center;
}
.site-branding img{
	margin-left: -30px;
}

.search-icon{
	display: none;
}




/* ===== NAV ===== */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--right-column-width);
    padding: 15px 20px;
}

#primary-menu {
    display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	text-align: left;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

ul#primary-menu > li {
	position: relative;
	padding: 0;
	margin: 0;
}

ul#primary-menu li a{
	font-size: 12px;
	display: block;
	width: 100%;
	fill: var(--logo-yellow);
	color: var(--logo-yellow);
	font-weight: bold;
	padding: 3px 10px;
	text-transform: uppercase;
	text-decoration: none;
	transition: var(--smooth-delay);
}

ul#primary-menu li a:hover{
	background-color: var(--mild-dark-red);
	color: var(--menu-hover-white);
}

/* sub-menu */
ul.menu li.menu-item-has-children a{
    position: relative;
    display: inline-flex;
  	align-items: center;
  	gap: 0.4rem;
}

ul.menu li.menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    mask-image: url('img/svg/chevron-down.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    background-color: var(--logo-yellow);
    transform: translateY(3px) rotate(0deg);
  	transition: transform 0.45s ease;
  	transform-origin: center;
}


ul.menu li.menu-item-has-children:hover > a::after,
ul.menu li.menu-item-has-children:focus-within > a::after {
	background-color: var(--menu-hover-white);
    transform: translateY(3px) rotate(180deg);
    transition: transform 0.45s ease;
}


/* Overlay dropdown */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background-color: var(--dark-red);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);

    padding: 15px 0;
    margin: 0;

    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);

    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

/* Hover + keyboard */
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.menu-item-has-children::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  height: 8px;
  width: 100%;
}

.sub-menu li{
	list-style: none;
}

.sub-menu li a {
    padding: 0.35rem 1.5rem !important;
    white-space: nowrap;
}




/* ===== MENU ICONS ===== */
.menu-icons {
    display: flex;
    align-items: center;
}

.menu-icons a {
    display: inline-flex;
    margin-left: 1rem;
}

.menu-icons svg {
    width: 20px;
    height: 20px;
    fill: var(--logo-yellow);
    transition: var(--nudge-up-transition);
}


.menu-icons svg:hover {
    fill: var(--menu-hover-white);
}


/* hide mobile overlay menu's All Rights Reserved on desktop */
.mobile-site-info{
	display: none;
}


/* hide All Rights Reserved on nav's desktop area */
#primary-menu .site-info{
	display: none;
}





/* ===== SIDEBAR ===== */
.sidebar {
    background: #f2f2f2;
    border-right: 1px solid gray;
    padding-top: 30px;
}

/* .widget is section */
.widget {
	margin-bottom: 3rem;
}

.widget h2 {
	text-transform: uppercase;
	font-size: 14px;
	padding-left: 15px;
}

.widget ul,
.widget ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget ul li,
.widget ol li {
	padding: 6px 0;
}

.widget ul li:hover,
.widget ol li:hover {
	background-color: var(--mild-dark-red);
	color: var(--menu-hover-white);
}

.widget ul a,
.widget ol a {
	display: inline-block;
	text-decoration: none;
	line-height: 1.2;
    max-width: 100%;
    white-space: normal;
    padding-left: 25px;
    padding-right: 25px;
}

.widget ul li:hover a,
.widget ol li:hover a {
	color: white;
} 







/* ====== MAIN CONTENT ======*/
.body-container article{
    /*grid-area: main;
    margin-top: var(--sidebar-body-top-margin);
    padding: 2px 1rem;
    max-width: var(--right-column-width);*/
    margin: 0;
    padding: 0;
}

/* CONTENT */
.entry-meta {
	font-size: 12px;
	margin-top: 10px;
}

.entry-header,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6{
	line-height: var(--post-title-line-height);
}

.entry-header h1.entry-title{
	font-size: var(--post-title-size);
	line-height: var(--post-title-line-height);
}

.entry-header h2 {
	font-size: var(--h2-size);
}

.entry-header h3 {
	font-size: var(--h3-size);
}

.entry-header h4 {
	font-size: var(--h4-size);
}

.entry-header h5 {
	font-size: var(--h5-size);
}

.entry-header h6 {
	font-size: var(--h6-size);
}

.entry-header a,
.entry-header a:visited{
	color: #999 !important;
}

.entry-content a,
.entry-content a:visited,
.entry-footer a,
.entry-footer a:visited{
	color: var(--mild-dark-red);
}

.entry-content a:hover,
.entry-content a:focus,
.entry-footer a:hover,
.entry-footer a:focus {
	color: var(--menu-hover-red);
}


.entry-content{
	border-top: 1px solid #ddd;
	font-size: 18px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.entry-content h2{
	margin-top: 40px;
}

.entry-content ol,
.entry-content ul{
	margin-left: 1.5em;
}

.entry-content ol ol,
.entry-content ul ul,
.entry-content ul ol,
.entry-content ol ul{
	margin: 5px 18px 0;
	padding-left: 0px;
}

.entry-content ol li,
.entry-content ul li{
	padding-left: 8px;
}

blockquote{
	margin-left: 0;
}

blockquote p{
	margin-left: 2em;
	margin-top: -20px;
}

blockquote::before {
	content: "";
    display: inline-block;
    width: 63px;
    height: 63px;
    margin-left: 0px;
    rotate: 180deg;
    mask-image: url('img/svg/quotes-right.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    background-color: var(--logo-yellow);
    opacity: 0.3;
}

/* content sections */
.comments-area,
.post-navigation,
.content-container{
	margin: 0px;
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 2px solid #eee;

}


/* content post navigation */

/*previous and next buttons*/
.nav-links div{
	display: flex;
	flex-flow: column;
	align-items: stretch;
}

.nav-links div span{
	display: block;
	transition: all .2s ease-in-out;
}

.nav-links div a{
	width: 100%;
	height: 100%;
	padding: 15px;
	transition: all .2s ease-in-out;
}

.nav-links div a:hover{
	color: var(--menu-hover-red) !important;
	transition: all .2s ease-in-out;
}

.nav-links div .nav-subtitle{
	text-transform: uppercase;
	font-size: 12px;
}

.nav-links div .nav-title{
	height: 100%;
}


/* content entry footer */
.entry-footer{
	font-style: italic;
}


.entry-footer .edit-link{
	padding-left: 15px;
}





/* comment section */
.comments-area{

}

.comments-area article{
	margin-bottom: 30px;
}

.comments-area ol,
.comments-area ul{
	margin-left: 0;
}

.comment-reply-title{
	text-transform: uppercase;
	font-size: 16px;
}

ol.comment-list{
	margin-left: 0;
	padding-left: 1em;
}

.comment-author img{
	border-radius: 	50%;
}

.comment-metadata{
	font-size: 12px;
}

.comment-content {
	color: #666;
}

.comment-content h2{
	font-size: 	1.3em;
	line-height: 1.3;
}

.comment-content h3{
	font-size: 	1.1em;
	line-height: 1.3;
}

.comment-content h4{
	font-size: 	1.0em;
	line-height: 1.3;
}

.comment-content p{
	line-height: 1.3;
}

.comment-content ul{
	margin-left: 0px;
}



/* ==== BUTTON ====*/
.read-more-btn,
button,
input[type="submit"] {
  position: relative;
  display: inline-block;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;

  border: 1px solid #4f0a0a;
  background-color: #ad1414;
  border-radius: 20px;
  padding: 10px 16px;
  color: var(--logo-yellow);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}

.read-more-btn::before,
button::before,
input[type="submit"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.35s ease-out;
  z-index: 1;
  pointer-events: none;
}

.read-more-btn:hover::before,
button:hover::before,
input[type="submit"]:hover::before {
  left: 120%;
}

.read-more-btn:hover,
button:hover,
input[type="submit"]:hover {
  color: var(--menu-hover-white);
  background-color: var(--menu-hover-red);
}








/* ===== FOOTER ======*/
.site-footer{
	font-size: 12px;
    color: var(--logo-yellow);
    background-color: var(--black);
}

.site-info{
	text-align: center;
}

.site-info a{
    text-decoration: none;
    color: var(--logo-yellow);
}

.site-info a:hover{
    color: white;
}

.up-arrow {
  	background: none;
  	border: none;
  	cursor: pointer;
  	fill: var(--logo-yellow);
  	opacity: .5;
  	pointer-events: none;
  	margin: 0;
  	padding: 3px;
  	transition:
    	opacity 0.3s ease,
    	transform 0.3s ease;
}

.up-arrow svg {
	width: 30px;
	height: auto;
}

.up-arrow:hover,
.up-arrow:focus{
	background: none;
	opacity: 1;
}

/* floating state */
.up-arrow.is-floating {
  	position: fixed;
  	bottom: 4%;
  	transform: translateY(-50%);
  	pointer-events: auto;
  	z-index: 999;
}

/* footer-visible state (snap back) */
.up-arrow.in-footer {
  	position: relative;
  	opacity: 1;
  	transform: none;
  	pointer-events: auto;
}




/* ===== OVERLAY ===== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 900;
}



/* ==== SEARCH FORM ====*/
.search-form {
	margin-bottom: 3rem;
}


















/* ==== ARCHIVE, CATEGORY, SEARCH RESULTS ==== */
/* archive header part */
.page-header{
	padding: 0px;
	margin-bottom: 20px;
}

.page-title{
	font-size: 18px;
	text-transform: uppercase;
}

.page-title span{
	text-transform: initial;
	font-size: 1.6rem;
}

.archive-description{
	line-height: 1.2;
	font-size: 1rem;
	margin-bottom: 0px;
	overflow: hidden;
}

.archive-description p {
	display: block;
	margin-top: 0;
}


/* archive post contents */
article.archive-articles:nth-child(1){
	border-top: 1px solid #bbb;
}

article.archive-articles:nth-last-child(1){
	border-bottom: 1px solid #bbb;
}

article.archive-articles{
	padding: 0;
	margin: 0px;
	border-top: 1px solid #bbb;
}

.archive-content-container{
	padding: 30px 0px;
	margin: 0;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	transition: all .2s ease-in-out;
}

/* title and texts */
.archive-content-container .entry-content{
	border: none;
	margin: 0;
	padding: 0;
	width: 68%;
}

.archive-content-container .entry-content a{
	text-decoration: none;
	color: var(--post-title-color);
}

.archive-content-container .entry-title{
	font-size: 20px;
	padding: 0;
	margin: 0;
	margin-top: -5px;
}

.archive-content-container p{
	font-size: var(--excerpt-size);
	margin: 0;
	padding: 10px 0;
	line-height: 1.2;
	opacity: 0.7;
	color: var(--excerpt-color);
}


/* thumbnail */
.archive-content-container .entry-header {
  width: 30%;        
  height: 150px;
  overflow: hidden;     /* CRITICAL */
}

.archive-content-container .entry-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
  transition:
    transform 0.35s cubic-bezier(.25,.8,.25,1),
    filter 0.35s ease;

  transform: scale(1);
}

.archive-content-container:hover a{
	color: var(--mild-dark-red);
}

.archive-content-container:hover a p{
	color: var(--excerpt-color);
}

.archive-content-container:hover img {
  transform: scale(1.08);
  filter: brightness(1.2);
}







/* NOT FOUND, NO RESULTS, 404 */
.page-content {
	padding-left: 15px;
	padding-right: 15px;
}





/*===== HOME =====*/

/* Section spacing */
.home-category-section {
    margin-bottom: 5rem;
}

/* Title */
.section-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* Grid */
.home-post-grid {
    display: grid;
    gap: 4rem 2rem;
}

/* Desktop */
@media (min-width: 1024px) {
    .home-post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet */
@media (min-width: 43.75em) and (max-width: 1023px) {
    .home-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 43.75em) {
    .home-post-grid {
        grid-template-columns: 1fr;
    }
}

/* Card */
.home-post-card {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--post-title-color);
}

/* Thumbnail wrapper */
.home-post-thumbnail-wrapper {
    position: relative;
    overflow: hidden;
}

/* Thumbnail */
.home-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition:
    transform 0.35s cubic-bezier(.25,.8,.25,1),
    filter 0.35s ease;

  transform: scale(1);
}

/* Hover zoom */
.home-post-card:hover .home-post-thumbnail img {
    transform: scale(1.08);
  	filter: brightness(1.2);
}

/* Category badge */
.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.75rem;
    padding: 5px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content */
.home-post-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-top: 1rem;
}

/* Meta */
.post-meta {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.5rem;
}

/* Title */
.home-post-title {
    font-size: 1.1rem;
    line-height: 1.2;
    margin: 0;
}

.home-post-title a {
    text-decoration: none;
    color: var(--post-title-color);
}

.home-post-title a:hover {
	color: var(--mild-dark-red);
}

/* Excerpt */
.home-post-excerpt {
    font-size: var(--excerpt-size);
    line-height: 1.5;
    
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

/* Read more button */
.read-more-btn {
    text-align: center;
    align-self: center;
    width: 70%;
    padding: 6px 3px;
    margin-bottom: 10px;
    margin-top: auto;
}









/* MEDIA: Small screen */
@media screen and (max-width: 43.75em){
	.site-shell {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "main"
            "sidebar"
            "footer";
    }

    .site-header {
        grid-template-columns: 1fr auto 1fr;
        padding: 0 20px;
    }

    .sidebar {
    	width: 100%;
    	max-width: 100%;
    }
   
    .nav-toggle-btn {
		width: 25px;
		background: none;
		border: none;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		gap: 6px;
		padding: 0;
		border-radius: 0;
		cursor: pointer;
		transition: var(--nudge-up-transition);
	}

	.nav-toggle-btn:hover {
		background: none;
	}

	.nav-toggle-btn .bar {
		height: 3px;
		width: 100%;
		background: var(--logo-yellow);
		transition: transform 0.3s ease, opacity 0.2s ease;
	}

	/* ACTIVE (burger → X) */
	.nav-toggle-btn.active .bar1 {
	  transform: translateY(10px) rotate(45deg);
	}

	.nav-toggle-btn.active .bar2 {
	  opacity: 0;
	}

	.nav-toggle-btn.active .bar3 {
	  transform: translateY(-8px) rotate(-45deg);
	}

	.nav-toggle-btn:focus-visible {
	  	outline: 1px solid #999;
	  	outline-offset: 2px;
	}

    .site-branding {
    	justify-content: space-around;
    }

    .site-branding a{
		padding-right: 0px;
	}

    .search-icon{
		display: block;
		justify-self: end;
	}

    .search-icon svg{
		width: 30px;
	    height: 30px;
	    fill: var(--logo-yellow);
	    display: block;
	    transition: var(--nudge-up-transition);
	}



    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 85%;
        height: calc(100vh - var(--header-height));
        background: var(--dark-red);
        flex-direction: column;
        justify-content: flex-start;

        align-items: stretch;
        padding: 2rem 1rem;
        transition: left 0.3s ease;
        z-index: 1001;
    }

    .main-nav.open {
        left: 0;
    }

    ul#primary-menu {
    	border-top: 1px solid var(--logo-yellow);
    	padding: 2rem;
	    flex-flow: column;
	    align-items: flex-start;
	}

	ul#primary-menu li a {
		padding: 6px 12px;
		font-size: 14px;
	}

	.sub-menu {
		z-index: 1010;
		margin-left: 1.6rem;
		background-color: #660101;
	}

    /* ICONS MOVE UNDER MENU */
    .menu-icons {
    	box-sizing: border-box;
    	width: 100%;
    	max-width: 100%;
        
        padding: 2rem;
        border-top: 1px solid var(--logo-yellow);
        border-bottom: 1px solid var(--logo-yellow);
    }

    .menu-icons a {
        margin-left: 0;
        margin-right: 1rem;
    }

    /* All Rights Reserved on mobile's nav */
    .mobile-site-info{
    	display: flex;
    	margin: 2rem;
    	color: var(--logo-yellow);
    	font-size: 12px;
    }

    .mobile-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar,
    .body-container {
        margin-top: 0;
    }

    .footer-left {
    	width: 70%;
    }
    .footer-right {
    	width: 28%;
    }

    /* archive, category thumbnail */
    .archive-content-container .entry-header {       
		height: 130px;
	}

	.read-more-btn {
	    width: 40%;
	}
}




@media screen and (max-width: 31.25em){
	.archive-content-container .entry-header {       
		height: 80px;
	}

	.read-more-btn {
	    width: 50%;
	    font-size: 10px;
	}
}



/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

