/*!
Theme Name: Stillwater Soccer Club
Theme URI: http://underscores.me/
Author: Matt Mueggenborg
Author URI: https://interworks.com
Description: Custom site theme for the Stillwater Soccer Club
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: stillwater-soccer
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.

Stillwater Soccer Club 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: #ff420e;
}

a:visited {
	color: #ff6b35;
}

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

/*--------------------------------------------------------------
# Stillwater Soccer Club Header Styles
--------------------------------------------------------------*/

/* Container utility */
.container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}

/* Prevent horizontal scroll */
html {
	overflow-x: hidden;
}

body {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	overflow-x: hidden;
}

/* Ensure no extra top spacing */
#page.site {
	margin-top: 0;
	padding-top: 0;
}

.site-header {
	margin-top: 0;
}

.clear {
	clear: both;
}

/*--------------------------------------------------------------
## Top Bar
--------------------------------------------------------------*/
.top-bar {
	background-color: #1a1a1a;
	color: #ffffff;
	padding: 10px 0;
	font-size: 12px;
	position: relative;
	z-index: 98;
}

.top-bar .container {
	position: relative;
	min-height: 33px;
}

.top-bar .top-bar-left {
	position: absolute;
	left: 15px;
	top: 0;
}

.top-bar .top-bar-left .top-bar-text {
	font-size: 12px;
	letter-spacing: 1px;
	font-weight: 700;
	padding: 15px 0;
	line-height: 18px;
	display: inline-block;
}

.top-bar .top-bar-right {
	position: absolute;
	right: 15px;
	top: 0;
	display: flex;
	align-items: center;
	gap: 20px;
}

.top-bar .top-bar-right .social-icons {
	display: flex;
	gap: 16px;
	padding: 11px 0;
}

.top-bar .top-bar-right .social-icons .social-icon {
	color: #ffffff;
	text-decoration: none;
	font-size: 14px;
	transition: opacity 0.3s ease;
}

.top-bar .top-bar-right .social-icons .social-icon:hover {
	opacity: 0.6;
}

.top-bar .top-bar-right .social-icons .social-icon i {
	display: block;
}

.top-bar .top-bar-right .field-status .field-status-widget {
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
}

/* Field Status List Styling */
.field-status ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
}

.field-status ul li {
	margin: 0;
	padding: 0;
}

.field-status ul li a {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.3s ease;
	border: 1px solid transparent;
}

/* Default "open" style - white text on orange background */
.field-status ul li.open a {
	background-color: #ff6b35;
	color: #ffffff;
	border-color: #ff6b35;
}

.field-status ul li.open a:hover {
	background-color: #e55a2b;
	border-color: #e55a2b;
}

/* "closed" style - orange text on transparent black background */
.field-status ul li.closed a {
	background-color: rgba(0, 0, 0, 0.7);
	color: #ff6b35;
	border-color: #ff6b35;
}

.field-status ul li.closed a:hover {
	background-color: rgba(0, 0, 0, 0.9);
	color: #e55a2b;
	border-color: #e55a2b;
}

/*--------------------------------------------------------------
## Main Header (Logo Left + Navigation Right)
--------------------------------------------------------------*/
.header-main {
	background-color: #ffffff;
	position: relative;
	z-index: 105;
	transition: all 0.3s ease;
}

.header-main .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/*--------------------------------------------------------------
### Site Branding (Left Side)
--------------------------------------------------------------*/
.site-branding {
	flex-shrink: 0;
	z-index: 100;
	margin-top: -45px;
	margin-bottom: -50px;
}

.site-branding .site-title {
	margin: 0;
	font-size: 28px;
	font-weight: bold;
	text-transform: uppercase;
}

.site-branding .site-title a {
	color: #333333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.site-branding .site-title a:hover {
	color: #ff6b35;
}

.site-branding .custom-logo-link {
	display: block;
	max-width: 250px;
}

.site-branding .custom-logo-link img {
	height: auto;
	max-height: 150px;
	width: auto;
	transition: all 0.3s ease;
}

/*--------------------------------------------------------------
### Main Navigation (Right Side)
--------------------------------------------------------------*/
.main-navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
}

.main-navigation .nav-menu {
	display: flex;
	align-items: center;
}

.main-navigation .primary-menu {
	display: flex !important;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
	flex-direction: row !important;
}

.main-navigation .primary-menu li {
	position: relative;
}

.main-navigation .primary-menu li a {
	display: block;
	padding: 20px 24px;
	color: #333333;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.main-navigation .primary-menu li a:hover {
	background-color: #ff6b35;
	color: #ffffff;
}

/* Current page indicator */
.main-navigation .primary-menu li.current-menu-item > a,
.main-navigation .primary-menu li.current_page_item > a {
	background-color: #ff420e;
	color: #ffffff;
}

/* Current page indicator for second-level menu items */
.main-navigation .primary-menu .sub-menu li.current-menu-item > a,
.main-navigation .primary-menu .sub-menu li.current_page_item > a {
	background-color: #ff420e;
	color: #ffffff !important;
}

/* Current page indicator for third-level menu items */
.main-navigation .primary-menu .sub-menu .sub-menu li.current-menu-item > a,
.main-navigation .primary-menu .sub-menu .sub-menu li.current_page_item > a {
	background-color: #ff420e;
	color: #ffffff !important;
	border-left: 3px solid #ffffff;
}

/* Parent menu items (don't highlight parents, only actual current page) */
.main-navigation .primary-menu li.current-menu-parent > a,
.main-navigation .primary-menu li.current_page_parent > a,
.main-navigation .primary-menu li.current-menu-ancestor > a {
	background-color: transparent;
	color: #333333;
}

.main-navigation .primary-menu li.current-menu-item > a:hover,
.main-navigation .primary-menu li.current_page_item > a:hover {
	background-color: #e03a0c;
	color: #ffffff;
}

.main-navigation .primary-menu .sub-menu li.current-menu-item > a:hover,
.main-navigation .primary-menu .sub-menu li.current_page_item > a:hover {
	background-color: #e03a0c;
	color: #ffffff !important;
}

.main-navigation .primary-menu .sub-menu .sub-menu li.current-menu-item > a:hover,
.main-navigation .primary-menu .sub-menu .sub-menu li.current_page_item > a:hover {
	background-color: #e03a0c;
	color: #ffffff !important;
	border-left: 3px solid #ffffff;
}

/* Override original Underscores navigation styles - ensure top level stays horizontal on desktop */
.main-navigation #primary-menu {
	display: flex !important;
	flex-direction: row !important;
}

.main-navigation .primary-menu {
	display: flex !important;
	flex-direction: row !important;
}

/* Override for mobile - force vertical layout */
@media screen and (max-width: 768px) {
	.main-navigation #primary-menu,
	.main-navigation .primary-menu {
		flex-direction: column !important;
	}
}

/* Override original Underscores dropdown styles */
.main-navigation ul ul {
	position: static !important;
	left: auto !important;
	float: none !important;
	display: block !important;
}

/* Dropdown styles - All levels stack vertically */
.main-navigation .primary-menu .sub-menu {
	position: absolute !important;
	top: 100% !important;
	left: 0 !important;
	background: #ffffff;
	border: 1px solid #e0e0e0;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	min-width: 280px;
	width: 280px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 999;
	list-style: none;
	margin: 0;
	padding: 10px 0;
	display: block !important;
	float: none !important;
}

.main-navigation .primary-menu .sub-menu li {
	position: relative;
	width: 100%;
	display: block;
}

.main-navigation .primary-menu .sub-menu li a {
	display: block;
	padding: 12px 15px;
	font-size: 14px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: normal;
	border-bottom: 1px solid #f0f0f0;
	white-space: nowrap;
	color: #333333;
	transition: all 0.3s ease;
	width: 100%;
	box-sizing: border-box;
}

.main-navigation .primary-menu .sub-menu li a:hover {
	background-color: #f8f8f8;
	color: #ff6b35;
	padding-left: 20px;
}

.main-navigation .primary-menu .sub-menu li:last-child a {
	border-bottom: none;
}

/* Accordion-style second-level menus */
.main-navigation .primary-menu .sub-menu .sub-menu {
	position: static !important;
	top: auto !important;
	left: auto !important;
	background: #f8f8f8;
	border: none;
	box-shadow: none;
	min-width: auto;
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: max-height 0.3s ease;
	z-index: auto;
	list-style: none;
	margin: 0;
	padding: 0;
	display: none;
	max-height: 0;
	overflow: hidden;
}

/* Accordion toggle styling */
.main-navigation .primary-menu .sub-menu li.menu-item-has-children > a {
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	white-space: nowrap;
	padding-right: 40px;
}

.main-navigation .primary-menu .sub-menu li.menu-item-has-children > a:after {
	content: "▼";
	color: #999;
	font-size: 12px;
	transition: all 0.3s ease;
	transform: rotate(-90deg);
	flex-shrink: 0;
	margin-left: 10px;
}

.main-navigation .primary-menu .sub-menu li.menu-item-has-children > a:hover:after {
	color: #ff6b35;
}

.main-navigation .primary-menu .sub-menu li.menu-item-has-children.accordion-open > a:after {
	transform: rotate(0deg);
}

/* Show accordion submenu when open */
.main-navigation .primary-menu .sub-menu li.menu-item-has-children.accordion-open .sub-menu {
	display: block;
	max-height: 500px;
	padding: 5px 0;
}

/* Style accordion submenu items */
.main-navigation .primary-menu .sub-menu .sub-menu li a {
	padding: 10px 15px;
	padding-left: 25px;
	font-size: 13px;
	background: #f8f8f8;
	border-left: 3px solid transparent;
	width: 100%;
	box-sizing: border-box;
	white-space: normal;
	line-height: 1.3;
}

.main-navigation .primary-menu .sub-menu .sub-menu li a:hover {
	background-color: #e8e8e8;
	border-left-color: #ff6b35;
	padding-left: 30px;
}

/* Show dropdowns on hover */
.main-navigation .primary-menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-navigation .primary-menu .sub-menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Alternative positioning for right-aligned dropdowns */
.main-navigation .primary-menu li.menu-item-align-right .sub-menu {
	left: auto;
	right: 0;
}

.main-navigation .primary-menu li.menu-item-align-right .sub-menu .sub-menu {
	left: auto;
	right: 100%;
	margin-left: 0;
	margin-right: -1px;
}

/*--------------------------------------------------------------
### Header Search
--------------------------------------------------------------*/
.header-search {
	position: relative;
	margin-left: 20px;
	flex-shrink: 0;
}

.header-search .search-toggle {
	background: none;
	border: none;
	font-size: 18px;
	color: #333;
	cursor: pointer;
	padding: 12px;
	transition: color 0.3s ease;
	border-radius: 50%;
}

.header-search .search-toggle:hover {
	color: #ff6b35;
	background-color: #f8f8f8;
}

.header-search .search-form-container {
	position: absolute;
	top: 100%;
	right: 0;
	width: 280px;
	background: #ffffff;
	border: 1px solid #e0e0e0;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	border-radius: 4px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 999;
}

.header-search .search-form-container.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.header-search .search-form-container .search-form {
	padding: 20px;
}

.header-search .search-form-container .search-form input[type="search"] {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e0e0e0;
	background: transparent;
	font-size: 14px;
	border-radius: 4px;
	transition: border-color 0.3s ease;
}

.header-search .search-form-container .search-form input[type="search"]:focus {
	outline: none;
	border-color: #ff6b35;
}

/*--------------------------------------------------------------
### Mobile Menu Toggle
--------------------------------------------------------------*/
.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	margin-left: 20px;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.menu-toggle .sr-only {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.menu-toggle .menu-bars {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 24px;
}

.menu-toggle .menu-bars span {
	width: 100%;
	height: 3px;
	background-color: #333;
	transition: all 0.3s ease;
	border-radius: 2px;
}

.menu-toggle:hover .menu-bars span {
	background-color: #ff6b35;
}

/* Mobile menu toggle animation */
.menu-toggle.active .menu-bars span:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .menu-bars span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active .menu-bars span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

/*--------------------------------------------------------------
## Site Header Overall
--------------------------------------------------------------*/
.site-header {
	position: relative;
	z-index: 999;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Sticky Header Styles - Desktop only */
@media screen and (min-width: 769px) {
	.site-header.sticky {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1000;
		background: rgba(255, 255, 255, 0.95);
		backdrop-filter: blur(10px);
		box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
	}
}

/* Adjust sticky header position when WordPress admin bar is present - Desktop only */
@media screen and (min-width: 769px) {
	.admin-bar .site-header.sticky {
		top: 32px;
	}
}

@media screen and (min-width: 783px) {
	.admin-bar .site-header.sticky {
		top: 32px;
	}
}

@media screen and (min-width: 769px) and (max-width: 782px) {
	.admin-bar .site-header.sticky {
		top: 46px;
	}
}

.site-header.sticky .top-bar {
	display: none;
}

.site-header.sticky .header-main {
	background: transparent;
}

.site-header.sticky .header-main .container {
	padding: 8px 15px;
}

.site-header.sticky .site-branding .site-title {
	font-size: 22px;
}

.site-header.sticky .site-branding {
	margin-top: 0;
	margin-bottom: 0;
}

.site-header.sticky .site-branding .custom-logo-link img {
	max-height: 60px;
}

.site-header.sticky .main-navigation .primary-menu li a {
	padding: 15px 20px;
	font-size: 15px;
}

/* Current page indicator for sticky header */
.site-header.sticky .main-navigation .primary-menu li.current-menu-item > a,
.site-header.sticky .main-navigation .primary-menu li.current_page_item > a {
	background-color: #ff420e;
	color: #ffffff;
}

/* Current page indicator for second-level menu items in sticky header */
.site-header.sticky .main-navigation .primary-menu .sub-menu li.current-menu-item > a,
.site-header.sticky .main-navigation .primary-menu .sub-menu li.current_page_item > a {
	background-color: #ff420e;
	color: #ffffff !important;
}

/* Current page indicator for third-level menu items in sticky header */
.site-header.sticky .main-navigation .primary-menu .sub-menu .sub-menu li.current-menu-item > a,
.site-header.sticky .main-navigation .primary-menu .sub-menu .sub-menu li.current_page_item > a {
	background-color: #ff420e;
	color: #ffffff !important;
	border-left: 3px solid #ffffff;
}

/* Parent menu items for sticky header */
.site-header.sticky .main-navigation .primary-menu li.current-menu-parent > a,
.site-header.sticky .main-navigation .primary-menu li.current_page_parent > a,
.site-header.sticky .main-navigation .primary-menu li.current-menu-ancestor > a {
	background-color: transparent;
	color: #333333;
}

.site-header.sticky .main-navigation .primary-menu li.current-menu-item > a:hover,
.site-header.sticky .main-navigation .primary-menu li.current_page_item > a:hover {
	background-color: #e03a0c;
	color: #ffffff;
}

.site-header.sticky .main-navigation .primary-menu .sub-menu li.current-menu-item > a:hover,
.site-header.sticky .main-navigation .primary-menu .sub-menu li.current_page_item > a:hover {
	background-color: #e03a0c;
	color: #ffffff !important;
}

.site-header.sticky .main-navigation .primary-menu .sub-menu .sub-menu li.current-menu-item > a:hover,
.site-header.sticky .main-navigation .primary-menu .sub-menu .sub-menu li.current_page_item > a:hover {
	background-color: #e03a0c;
	color: #ffffff !important;
	border-left: 3px solid #ffffff;
}

/* Homepage specific styles */
.home .site-header {
	position: absolute;
	left: 0;
	right: 0;
	background: transparent;
}

.home .site-header .top-bar {
	background: rgba(26, 26, 26, 0.9);
}

.home .site-header .header-main {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(5px);
}

/*--------------------------------------------------------------
## Responsive Design
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Header Responsive Design
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	.top-bar .top-bar-left {
		position: static;
		display: block;
		text-align: center;
	}
	
	.top-bar .top-bar-right {
		position: static;
		display: flex;
		justify-content: flex-end;
		align-items: center;
		gap: 15px;
	}

	.top-bar .container {
		display: flex;
		flex-direction: column;
		gap: 5px;
		align-items: flex-end;
	}

	.top-bar .top-bar-right .social-icons {
		display: none;
	}
	
	.top-bar .top-bar-right .field-status {
		margin: 0;
	}

	/* Mobile Header Layout */
	.header-main .container {
		padding: 10px 15px;
	}

	.site-branding {
		margin-top: -105px;
	}

	.site-branding .site-title {
		font-size: 20px;
	}

	.site-branding .custom-logo-link {
		max-width: 200px;
	}

	/* Hide desktop menu, show mobile toggle */
	.main-navigation .nav-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #ffffff;
		border-top: 1px solid #e0e0e0;
		box-shadow: 0 4px 20px rgba(0,0,0,0.1);
		z-index: 999;
	}

	.main-navigation .nav-menu.mobile-menu-open {
		display: block;
	}

	.main-navigation .primary-menu {
		flex-direction: column;
		padding: 20px 0;
	}

	.main-navigation .primary-menu li {
		width: 100%;
		border-bottom: 1px solid #f0f0f0;
	}

	.main-navigation .primary-menu li:last-child {
		border-bottom: none;
	}

	.main-navigation .primary-menu li a {
		padding: 15px 30px;
		text-align: left;
		font-size: 16px;
		border-radius: 0;
	}

	/* Current page indicator for mobile navigation */
	.main-navigation .primary-menu li.current-menu-item > a,
	.main-navigation .primary-menu li.current_page_item > a {
		background-color: #ff420e;
		color: #ffffff;
	}

	/* Current page indicator for second-level menu items in mobile navigation */
	.main-navigation .primary-menu .sub-menu li.current-menu-item > a,
	.main-navigation .primary-menu .sub-menu li.current_page_item > a {
		background-color: #ff420e;
		color: #ffffff !important;
	}

	/* Current page indicator for third-level menu items in mobile navigation */
	.main-navigation .primary-menu .sub-menu .sub-menu li.current-menu-item > a,
	.main-navigation .primary-menu .sub-menu .sub-menu li.current_page_item > a {
		background-color: #ff420e;
		color: #ffffff !important;
		border-left: 3px solid #ffffff;
	}

	/* Parent menu items for mobile navigation */
	.main-navigation .primary-menu li.current-menu-parent > a,
	.main-navigation .primary-menu li.current_page_parent > a,
	.main-navigation .primary-menu li.current-menu-ancestor > a {
		background-color: transparent;
		color: #333333;
	}

	/* Mobile accordion-style submenus - ensure proper document flow */
	.main-navigation .primary-menu li .sub-menu {
		position: static !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		box-shadow: none !important;
		border: none !important;
		background: transparent;
		margin: 0;
		padding: 0;
		display: block;
		height: 0;
		overflow: hidden;
		transition: height 0.3s ease, padding 0.3s ease;
		width: 100%;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		float: none !important;
	}

	.main-navigation .primary-menu li.menu-item-has-children.accordion-open .sub-menu {
		height: auto;
		background: #f8f8f8;
		padding: 5px 0;
	}

	.main-navigation .primary-menu li .sub-menu li {
		width: 100%;
		border-bottom: 1px solid #e0e0e0;
	}

	.main-navigation .primary-menu li .sub-menu li:last-child {
		border-bottom: none;
	}

	.main-navigation .primary-menu li .sub-menu li a {
		padding: 12px 40px;
		font-size: 14px;
		background: #f8f8f8;
		border-left: 3px solid transparent;
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.main-navigation .primary-menu li .sub-menu li a:hover {
		background: #e8e8e8;
		border-left-color: #ff6b35;
	}

	/* Second-level accordion arrows (like Policies and Procedures) */
	.main-navigation .primary-menu li .sub-menu li.menu-item-has-children > a {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
	}

	.main-navigation .primary-menu li .sub-menu li.menu-item-has-children > a:after {
		content: "▼";
		color: #999;
		font-size: 12px;
		transition: all 0.3s ease;
		transform: rotate(-90deg);
		flex-shrink: 0;
		margin-left: 10px;
	}

	.main-navigation .primary-menu li .sub-menu li.menu-item-has-children.accordion-open > a:after {
		transform: rotate(0deg);
	}

	/* Third level (nested accordion like Policies and Procedures children) */
	.main-navigation .primary-menu li .sub-menu li .sub-menu {
		background: transparent;
		padding: 0;
		height: 0;
		overflow: hidden;
		transition: height 0.3s ease, padding 0.3s ease;
	}

	.main-navigation .primary-menu li .sub-menu li.accordion-open .sub-menu {
		height: auto;
		background: #f0f0f0;
		padding: 5px 0;
	}

	.main-navigation .primary-menu li .sub-menu li .sub-menu li a {
		padding: 10px 60px;
		font-size: 13px;
		background: #f0f0f0;
		border-left: 3px solid transparent;
	}

	.main-navigation .primary-menu li .sub-menu li .sub-menu li a:hover {
		background: #e8e8e8;
		border-left-color: #ff6b35;
	}

	/* Mobile accordion arrows for all levels */
	.main-navigation .primary-menu li.menu-item-has-children > a {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
	}

	.main-navigation .primary-menu li.menu-item-has-children > a:after {
		content: "▼";
		color: #999;
		font-size: 12px;
		transition: all 0.3s ease;
		transform: rotate(-90deg);
		flex-shrink: 0;
		margin-left: 10px;
	}

	.main-navigation .primary-menu li.menu-item-has-children.accordion-open > a:after {
		transform: rotate(0deg);
	}

	/* Show mobile menu toggle */
	.menu-toggle {
		display: block;
	}

	/* Hide search on very small screens */
	.header-search {
		margin-left: 10px;
	}

	.header-search .search-form-container {
		width: 250px;
		right: -20px;
	}
}

/* Desktop navigation - ensure menu is visible on larger screens */
@media screen and (min-width: 769px) {
	.main-navigation .nav-menu {
		display: flex !important;
		position: static !important;
		background: none !important;
		border: none !important;
		box-shadow: none !important;
	}
	
	.main-navigation .primary-menu {
		flex-direction: row !important;
		padding: 0 !important;
	}
	
	.menu-toggle {
		display: none !important;
	}
}

@media screen and (max-width: 480px) {
	.header-main .container {
		padding: 8px 15px;
	}

	.site-branding .site-title {
		font-size: 18px;
	}

	.site-branding .custom-logo-link {
		max-width: 150px;
	}

	.site-branding .custom-logo-link img {
		max-height: 100px;
	}

	.main-navigation .primary-menu li a {
		padding: 12px 20px;
		font-size: 15px;
	}

	.header-search .search-form-container {
		width: 200px;
		right: -10px;
	}
}

/*--------------------------------------------------------------
# Content Layout Styles  
--------------------------------------------------------------*/

/* Main content container */
.site-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
	display: flex;
	gap: 40px;
}

/* Main content area */
.site-main {
	flex: 1;
	max-width: none;
}

/* Page and post content */
.entry-content {
	line-height: 1.6;
	font-size: 16px;
}

.entry-content p {
	margin-bottom: 1.2em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-top: 1.5em;
	margin-bottom: 0.8em;
}

.entry-content ul,
.entry-content ol {
	margin-bottom: 1.2em;
	padding-left: 2em;
}

.entry-content li {
	margin-bottom: 0.5em;
}

/* Entry header */
.entry-header {
	margin-bottom: 30px;
}

.entry-title {
	color: #333;
	font-size: 2.2em;
	margin-bottom: 10px;
	line-height: 1.2;
}

/* Hide edit links by default (only show to logged-in users) */
.edit-link {
	display: none;
}

.logged-in .edit-link {
	display: inline;
	margin-top: 20px;
}

/* Sidebar */
.widget-area {
	flex: 0 0 300px;
	max-width: 300px;
}

.widget {
	margin-bottom: 30px;
	padding: 20px;
	border-radius: 4px;
}

.widget-title {
	font-size: 1.2em;
	margin-bottom: 15px;
	color: #333;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

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

.widget ul li {
	padding: 5px 0;
	border-bottom: 1px solid #e0e0e0;
}

.widget ul li:last-child {
	border-bottom: none;
}

.widget a {
	color: #666;
	text-decoration: none;
}

.widget a:hover {
	color: #ff6b35;
}

/* Single column layout for pages without sidebar */

.no-sidebar .site-main {
	max-width: none;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
	.site-content {
		flex-direction: column;
		padding: 20px 15px;
		gap: 30px;
	}
	
	.widget-area {
		flex: none;
		max-width: none;
	}
	
	.entry-title {
		font-size: 1.8em;
	}
}

/*--------------------------------------------------------------
# Homepage Layout
--------------------------------------------------------------*/

/* Override site-content for homepage to allow full-width elements */
.homepage-content {
	max-width: none;
	margin: 0;
	padding: 0;
	display: block;
}

.homepage-main {
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Ensure sticky header works on homepage by preventing interference - Desktop only */
@media screen and (min-width: 769px) {
	body.home .site-header.sticky {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		z-index: 1000 !important;
	}

	/* Admin bar adjustments for homepage */
	body.home.admin-bar .site-header.sticky {
		top: 32px !important;
	}
}

@media screen and (min-width: 769px) and (max-width: 782px) {
	body.home.admin-bar .site-header.sticky {
		top: 46px !important;
	}
}


/*--------------------------------------------------------------
# Homepage Slider Section
--------------------------------------------------------------*/

.homepage-slider {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
}

.homepage-slider .ms-container {
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
}

/* Ensure slider is full width on homepage */
.homepage-slider .masterslider {
	width: 100% !important;
	margin: 0 !important;
}

/* Fix any potential z-index issues with slider */
.homepage-slider .ms-container {
	z-index: 10;
}

/* Ensure Master Slider stays below sticky header */
.ms-container,
.masterslider {
	z-index: 50 !important;
}

/* Hide Master Slider elements with hidden class */
.ms-layer.hidden,
.ms-container .hidden {
	display: none !important;
}

/* Desktop spacing - add top padding to homepage slider on larger screens */
@media screen and (min-width: 769px) {
	.homepage-slider {
		padding-top: 100px;
	}
}

/* Mobile spacing fix - add padding to homepage content to clear header */
@media screen and (max-width: 768px) {
	.homepage-slider {
		margin-bottom: 0;
	}
	
	/* Add padding to homepage content container to clear mobile header */
	body.home .site-content {
		padding-top: 140px; /* Space for mobile header elements */
	}
	
	/* Adjust for admin bar when logged in */
	body.admin-bar.home .site-content {
		padding-top: 186px; /* admin-bar + mobile header */
	}
}

/* Fine-tune for smaller mobile screens */
@media screen and (max-width: 480px) {
	body.home .site-content {
		padding-top: 130px; /* Slightly less for smaller screens */
	}
	
	body.admin-bar.home .site-content {
		padding-top: 120px; /* admin-bar + smaller header */
	}
}

/* Fine-tune for very small screens */
@media screen and (max-width: 360px) {
	body.home .site-content {
		padding-top: 120px;
	}
	
	body.admin-bar.home .site-content {
		padding-top: 166px;
	}
}

/*--------------------------------------------------------------
# Homepage Recent Posts Section
--------------------------------------------------------------*/

.recent-posts-section {
	padding: 60px 0;
	background-color: #f9f9f9;
}

.recent-posts-header {
	text-align: center;
	margin-bottom: 50px;
}

.recent-posts-header .section-title {
	font-size: 2.5em;
	color: #333;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 300;
}

.recent-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.recent-post-item {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	overflow: hidden;
}

.recent-post-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.recent-post-item .post-content {
	padding: 25px;
}

.recent-post-item .post-header {
	margin-bottom: 15px;
}

.recent-post-item .post-title {
	margin: 0;
	font-size: 1.3em;
	line-height: 1.3;
}

.recent-post-item .post-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.recent-post-item .post-title a:hover {
	color: #ff6b35;
}

.recent-post-item .post-excerpt {
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
	font-size: 14px;
}

.recent-post-item .post-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 15px;
	border-top: 1px solid #f0f0f0;
}

.recent-post-item .read-more {
	color: #ff6b35;
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	transition: color 0.3s ease;
}

.recent-post-item .read-more:hover {
	color: #1565c0;
}

.recent-post-item .comments-link {
	display: flex;
	align-items: center;
	gap: 5px;
	color: #999;
	font-size: 14px;
}

.recent-post-item .comments-link i {
	font-size: 12px;
}

.recent-post-item .comments-link a {
	color: #999;
	text-decoration: none;
}

.recent-post-item .comments-link a:hover {
	color: #ff6b35;
}

.recent-posts-footer {
	text-align: center;
	margin-top: 40px;
}

.view-all-link {
	display: inline-block;
	background: #ff6b35;
	color: #ffffff;
	padding: 12px 30px;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: background-color 0.3s ease;
}

.view-all-link:hover {
	background: #1565c0;
}

.no-posts {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	color: #666;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
	.recent-posts-section {
		padding: 40px 0;
	}
	
	.recent-posts-header .section-title {
		font-size: 2em;
	}
	
	.recent-posts-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 0 15px;
	}
	
	.recent-post-item .post-content {
		padding: 20px;
	}
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
	.recent-posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 1025px) {
	.recent-posts-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/*--------------------------------------------------------------
# Stillwater Soccer Club Footer Styles
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Sponsors Section
--------------------------------------------------------------*/
.sponsors-wrapper {
	background-color: #f3f3f3;
	padding: 20px 0 40px 0;
	border-top: 1px solid #e0e0e0;
}

.sponsors-wrapper .sponsors-title {
	text-align: center;
	color: #cccccc;
	font-size: 32px;
	font-weight: 400;
	font-family: "Open Sans Condensed", sans-serif;
	line-height: 1.3;
	margin-bottom: 18px;
	text-transform: none;
}

.sponsors-wrapper .sponsors-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: space-between;
	gap: 20px 60px;
}

.sponsors-wrapper .sponsors-grid .sponsors-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: space-between;
	gap: 20px 60px;
	width: 100%;
}

.sponsors-wrapper .sponsors-grid .sponsors-list a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.sponsors-wrapper .sponsor-widget {
	display: flex;
	align-items: center;
	justify-content: center;
}

.sponsors-wrapper .sponsor-widget img {
	max-height: 60px;
	width: auto;
	filter: grayscale(100%);
	opacity: 0.7;
	transition: all 0.3s ease;
}

.sponsors-wrapper .sponsor-widget img:hover {
	filter: grayscale(0%);
	opacity: 1;
}

.sponsors-wrapper .sponsor-placeholder {
	text-align: center;
	padding: 40px 20px;
	color: #999999;
	font-style: italic;
}

/*--------------------------------------------------------------
## Main Footer
--------------------------------------------------------------*/
.site-footer {
	background-color: #2c3e50;
	color: #ffffff;
	position: relative;
}

.site-footer .footer-container {
	padding: 30px 15px;
}

.site-footer .footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
}

.site-footer .footer-widget-column {
	/* Individual footer column styling */
}

.site-footer .widget {
	margin-bottom: 0;
}

.site-footer section.widget {
	margin-bottom: 0;
	padding: 0 0 15px 0;
}

.site-footer .widget-title,
.site-footer h3,
.site-footer h3.wp-block-heading,
.site-footer .widget h3,
.site-footer section.widget h3,
.site-footer .wp-block-heading {
	color: #ffffff !important;
	font-size: 18px !important;
	font-weight: bold !important;
	text-transform: uppercase !important;
	margin-bottom: 0px !important;
	margin-top: 0 !important;
	display: inline-block !important;
}

.site-footer .widget p {
	color: #bdc3c7;
	line-height: 1.6;
	margin-bottom: 8px;
	margin-top: 0;
}

.site-footer .widget p:last-child {
	margin-bottom: 0;
}

.site-footer .widget a {
	color: #bdc3c7;
	text-decoration: none;
	transition: color 0.3s ease;
}

.site-footer .widget a:hover {
	color: #ff6b35;
}

.site-footer .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer .widget ul li {
	margin-bottom: 10px;
	padding-left: 20px;
	position: relative;
}

.site-footer .widget ul li:before {
	content: "▸";
	position: absolute;
	left: 0;
	color: #ff6b35;
	font-weight: bold;
}

.site-footer .widget ul li a {
	color: #bdc3c7;
	text-decoration: none;
}

.site-footer .widget ul li a:hover {
	color: #ff6b35;
}

/*--------------------------------------------------------------
## Copyright Section
--------------------------------------------------------------*/
.copyright-wrapper {
	background-color: #1a252f;
	border-top: 1px solid #34495e;
	padding: 0;
}

.copyright-wrapper .copyright-container {
	padding: 20px 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.copyright-wrapper .copyright-left p {
	margin: 0;
	color: #95a5a6;
	font-size: 14px;
}

.copyright-wrapper .copyright-right {
	/* Right side content if needed */
}

/*--------------------------------------------------------------
## Footer Responsive Design
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	.sponsors-wrapper .sponsors-grid {
		gap: 20px;
	}

	.sponsors-wrapper .sponsor-widget img {
		max-height: 40px;
	}

	.site-footer .footer-widgets {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.site-footer .footer-container {
		padding: 40px 15px;
	}

	.copyright-wrapper .copyright-container {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}
}

@media screen and (max-width: 480px) {
	.sponsors-wrapper {
		padding: 30px 0;
	}

	.sponsors-wrapper .sponsors-title {
		font-size: 16px;
		margin-bottom: 20px;
	}

	.site-footer .footer-container {
		padding: 30px 15px;
	}

	.copyright-wrapper .copyright-container {
		padding: 15px;
	}
}

/*--------------------------------------------------------------
## Fix Page Margin Issue
--------------------------------------------------------------*/
.page {
	margin-bottom: 0 !important;
}

body {
	margin: 0;
	padding: 0;
}

#page {
	margin-bottom: 0;
}
