/*
Theme Name: The ClassicPress Theme Child
Theme URI: https://docs.classicpress.net
Template: the-classicpress-theme
Author: Tim Kaye and ClassicPress contributors
Author URI: https://www.classicpress.net
Description: The default theme for ClassicPress.
Version: 1.0.1.1750525717
Updated: 2025-06-21 17:08:37

*/

/* Header overlay positioning */
#masthead {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent !important;
    padding: 1rem 0;
}

/* Ensure the hero image fills the space */
.hero-image {
    position: relative;
    width: 100%;
    height: 90vh;
    max-height: 800px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero-container {
    background: transparent !important;
}

/* Ensure content starts after hero image */
#content {
    position: relative;
    z-index: 1;
}
/*--------------------------------------------------------------
## Templates
--------------------------------------------------------------*/
.full-width {
    width: 100%;
    float: none;
}

#primary.full-width {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1em;
    box-sizing: border-box;
}

#primary.full-width #main {
    width: 100%;
    max-width: none;
    padding: 0;
}

.left-sidebar .content-area {
    float: right;
    width: 70%;
}

.left-sidebar .sidebar {
    float: left;
    width: 25%;
    margin-right: 5%;
}

@media screen and (max-width: 768px) {
    #main {
        padding: 0 1em;
        width: 100%;
        box-sizing: border-box;
    }

    #primary.full-width {
        padding: 0 1em;
    }
    
    .content-area {
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        float: none !important;  /* Override float on mobile */
    }

    .sidebar {
        width: 100% !important;  /* Full width on mobile */
        float: none !important;  /* Override float on mobile */
        margin: 2em 0 0 0 !important;  /* Add space above sidebar on mobile */
    }
}
/*--------------------------------------------------------------
# Site
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
#masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 0.75em 0;
    position: absolute;  /* Add these */
    top: 2rem;          /* new */
    left: 0;            /* properties */
    width: 100%;        /* here */
    z-index: 10;
}
#masthead a,
.home-hero-text h3 {
	color: #fff;
	font-weight: 400;
}
.logo {
	display: block;
	text-align: left;
	line-height: 0;
}
/* PAGE TITLE */
#page-title {
	padding: 4.2em 0 1em;
	background: transparent !important;
	margin-bottom: 2.6em;
}
#colophon .social-menu a {
    border: 0;
    padding: 0.15rem 0;  /* Reduced from 0.75em */
    text-decoration: none;
    color: #fff;
    margin: 0;
}
/* Footer Widget Styles */
.footer-widgets-container {
    display: grid;
    gap: 2rem;
    padding: 2rem 0;
    margin: 0 auto;
    max-width: var(--max-width, 1200px);
}

.footer-widgets-container.columns-1 {
    grid-template-columns: 1fr;
}

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

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

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

@media (max-width: 768px) {
    .footer-widgets-container {
        grid-template-columns: 1fr !important;
    }
}

.footer-widget {
    color: #fff;
    padding: 0 1em;
}

.footer-widget h3 {
    color: rgb(214, 109, 5) !important; 
	font-weight: 900;
    text-shadow: 2px 2px 2px rgba(255,255,255,.9) !important;
    margin-bottom: 0.25rem !important;
    font-size: 1.2rem;
}

/* This is the key addition for vertical navigation */
.footer-widget ul,
.footer-widget .menu,
.footer-widget .nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block !important;  /* Force vertical layout */
}

.footer-widget ul li,
.footer-widget .menu li,
.footer-widget .nav li,
.footer-widget .social-menu li {  /* Added social-menu */
    display: block !important;
    margin-bottom: 0.25rem !important;
    width: 100%;
    line-height: 1.2;
    font-size: 0.8em;
}

.footer-widget a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 0.15rem 0 !important;
}

.footer-widget a:hover {
    text-decoration: underline;
}

/* Target specific menu container to ensure vertical layout */
.footer-widget .menu-social-links-menu-container ul {
    display: block !important;
}

.footer-widget .menu-social-links-menu-container li {
    display: block !important;
    margin-bottom: 0.25rem !important;  /* Match other spacings */
}

/* Add these rules to your footer widget styles section */
.footer-widget .search-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;  /* Space between search field and button */
    align-items: flex-start;
}

.footer-widget .search-field {
    width: 80%;  /* Reduced from 100% */
    padding: 0.3rem;
    border-radius: 4px;
    border: none;
}

.footer-widget .search-submit {
    padding: 0.4rem 1rem;
    border: none;
    border-radius: 4px;
    background: #fa9b03;  /* Matching your theme's button color */
    color: white;
    cursor: pointer;
}

.footer-widget .search-submit:hover {
    box-shadow: 0 0 3px 2px #fa9b03;  /* Matching your theme's button hover effect */
}

@media (max-width: 768px) {
    /* Keep your existing footer widgets container rule */
    .footer-widgets-container {
        grid-template-columns: 1fr !important;
    }

    /* Make all selectors more specific to footer widgets */
    #colophon .footer-widgets-container {
        text-align: center;
    }

    #colophon .footer-widget {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 1em;  /* Maintain padding */
    }

    #colophon .footer-widget .search-form {
        align-items: center;
        width: 100%;
    }

    #colophon .footer-widget ul,
    #colophon .footer-widget .menu,
    #colophon .footer-widget .nav {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }

    #colophon .footer-widget .search-field {
        width: 80%;
        margin: 0 auto;
    }
}
#primary-menu li {
		margin: 0.4em 0;
	}
	.home-hero-text {
		width: 100%;
		text-align: center;
	}
	.home-hero-text h1,
	.home-hero-text h2,
	.home-hero-text h3 {
		padding-top: 0;
	}
	.home-hero-text h3 {
		margin: 0 auto 2rem;
	}
	#primary-menu.menu li {
		text-transform: uppercase;
		letter-spacing: .1em;
		margin-left: 2px;
		font-size: 0.85em;
	}