/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
#header {
    background-color: #f8f8f8;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
}

#title-area {
    text-align: center;
}

#title a {
    display: block;
    height: 80px;
    background: url('../images/logo-sq-copy-e1422158672102.jpg') no-repeat center;
    background-size: contain;
    text-indent: -9999px;
}

#description {
    font-size: 1.2em;
    color: #666;
    margin-top: 10px;
}

/* Navigation Styles */
#nav {
    background-color: #e74c3c;
    padding: 0;
}

#menu-main {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

#menu-main > li {
    position: relative;
}

#menu-main > li > a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

#menu-main > li > a:hover,
#menu-main > li.current-menu-item > a {
    background-color: #c0392b;
}

.sub-menu {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    list-style: none;
}

.menu-item-has-children:hover .sub-menu {
    display: block;
}

.sub-menu li {
    border-bottom: 1px solid #eee;
}

.sub-menu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}

.sub-menu a:hover {
    background-color: #f5f5f5;
    color: #e74c3c;
}

/* Main Content Area */
#inner {
    padding: 40px 0;
}

#content-sidebar-wrap {
    display: flex;
    gap: 40px;
}

#content {
    flex: 3;
}

#sidebar {
    flex: 1;
    min-width: 250px;
}

.entry-title {
    color: #e74c3c;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
}

.entry-content {
    font-size: 1.1em;
    line-height: 1.8;
}

.wp-block-image {
    text-align: center;
    margin: 30px 0;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content p {
    margin-bottom: 20px;
    text-align: center;
}

/* Widget Styles */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.widget-title {
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.widget-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Search Form */
.search-form {
    display: flex;
    margin-top: 10px;
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.search-submit {
    padding: 8px 15px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-submit:hover {
    background-color: #c0392b;
}

/* Footer Styles */
#sub-footer {
    background-color: #2c3e50;
    color: white;
    padding: 30px 0;
}

.sub-footer-right {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

#footer {
    background-color: #1a252f;
    color: #95a5a6;
    padding: 20px 0;
    text-align: center;
}

.gototop {
    margin-bottom: 15px;
}

.gototop a {
    color: #95a5a6;
    text-decoration: none;
}

.gototop a:hover {
    color: #e74c3c;
}

.creds a {
    color: #3498db;
    text-decoration: none;
}

.creds a:hover {
    text-decoration: underline;
}

.creds p {
    font-size: 0.9em;
}

/* Login Link */
.wp-block-loginout a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

.wp-block-loginout a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    #content-sidebar-wrap {
        flex-direction: column;
    }
    
    #menu-main {
        flex-direction: column;
        align-items: center;
    }
    
    .sub-menu {
        position: static;
        box-shadow: none;
        margin-left: 20px;
    }
    
    .sub-footer-right {
        flex-direction: column;
    }
    
    .entry-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .wrap {
        padding: 0 10px;
    }
    
    #title a {
        height: 60px;
    }
    
    #menu-main > li > a {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    
    .entry-title {
        font-size: 1.8em;
    }
}