/* 
Theme Name: The Centsible Family
Theme URI: http://thecentsiblefamily.com
Description: Custom theme for The Centsible Family
Version: 1.0
Author: The Centsible Family
Author URI: http://thecentsiblefamily.com
*/

/* ===== Reset and Base Styles ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1.6;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #000000;
    background: #714f2c;
    font-size: 13px;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: "Century Gothic", Verdana, sans-serif;
    font-weight: bold;
    margin-bottom: 15px;
    color: #C20E3B;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }

/* ===== Links ===== */
a {
    color: #681a02;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #C20E3B;
    text-decoration: underline;
}

/* ===== Layout ===== */
#page {
    background: #714f2c;
    margin-top: 0;
    padding: 0;
}

.page {
    display: flex;
    flex-direction: row;
    background: #fff;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    border-radius: 0;
    padding: 0;
}

#content_box {
    flex: 3;
    padding: 30px 30px 30px 40px;
}

#sidebars, #sidebar_1, #sidebar_2 {
    flex: 1;
    padding: 30px 20px 30px 0;
    background: none;
}

/* ===== Header ===== */
#header_area {
    width: 100%;
    background: #714f2c;
    border-bottom: 0;
    padding: 0;
    margin-bottom: 0;
    box-shadow: none;
}

#logo-bar {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0;
    background: transparent;
    min-height: 120px;
    width: 100%;
}

#logo-bar .logo {
    display: block;
    flex: 3;
}

#logo-bar .logo img {
    height: auto;
    width: 100%;
    margin: 0;
    display: block;
}

#logo-bar .search-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    flex: 1;
    background: url('/user/themes/thecentsiblefamily/images/banners/green_bg.jpg') repeat;
    padding: 15px;
}

#logo-bar .search-box {
    margin-bottom: 15px;
    width: 100%;
}

.search-header {
    color: #C20E3B;
    font-family: "Nothing You Could Do", cursive;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: normal;
}

#logo-bar .search-box input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#logo-bar .social-icons {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

#logo-bar .social-icons img {
    width: 32px;
    height: 32px;
    margin-left: 8px;
}

/* ===== Navigation ===== */
.menu-nav-menu-container {
    background: #714F2C;
    border-bottom: 0;
    padding: 0;
}

#menu-nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: "Century Gothic", Verdana, sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
}

#menu-nav-menu > li {
    margin: 0;
    position: relative;
}

#menu-nav-menu > li > a {
    color: #C9E27C;
    background: #714F2C;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 14px 12px 12px 12px;
    display: block;
    transition: color 0.2s, background 0.2s;
    line-height: 1.4em;
}

#menu-nav-menu > li > a:hover,
#menu-nav-menu > li.current-menu-item > a {
    color: #714F2C;
    background: #DCF2FF;
}

.sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 100;
    margin-top: 0;
    padding: 0;
    border-radius: 0 0 6px 6px;
}

.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
    display: block;
}

.sub-menu > li > a {
    color: #714F2C;
    padding: 12px 20px;
    display: block;
    transition: background 0.2s;
}

.sub-menu > li > a:hover {
    background: #f5f5f5;
}

/* ===== Content ===== */
.post_box {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2c48d;
}

.post_box .entry-title a {
    color: #C20E3B;
    text-decoration: none;
    transition: color 0.2s;
}

.post_box .entry-title a:hover {
    color: #714F2C;
}

.post_box .headline_meta {
    color: #666;
    font-size: 12px;
    margin-bottom: 15px;
}

.post_box .format_text img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 4px;
}

.post_box .to_comments {
    margin-top: 20px;
    font-size: 12px;
}

.prev_next {
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
}

.prev_next a {
    color: #714F2C;
    text-decoration: none;
}

/* ===== Forms ===== */
input, textarea, select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 13px;
}

input:focus, textarea:focus, select:focus {
    border-color: #714F2C;
    outline: none;
}

/* ===== Buttons ===== */
button, .button {
    background: #714F2C;
    color: #C9E27C;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: "Century Gothic", Verdana, sans-serif;
    font-size: 13px;
}

button:hover, .button:hover {
    background: #C20E3B;
    color: #fff;
}

/* ===== Footer ===== */
.footer_items {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.footer_items h3 {
    color: #000000;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-family: "Century Gothic", Verdana, sans-serif;
    font-size: 16px;
}

.footer_items .textwidget {
    font-size: 13px;
    line-height: 1.5;
    font-family: "Century Gothic", Verdana, sans-serif;
}

/* ===== Responsive ===== */
@media screen and (max-width: 960px) {
    .page, #content_box {
        padding: 15px;
    }
    
    #menu-nav-menu {
        flex-direction: column;
    }
    
    #menu-nav-menu .sub-menu {
        position: static;
        box-shadow: none;
    }
    
    #menu-nav-menu li {
        margin: 5px 0;
    }
    
    .content {
        padding: 15px;
    }
    
    .footer_items {
        padding: 15px;
    }
}

/* ===== Custom Header Layout ===== */
.header-nav-container {
    background: #714F2C;
    padding: 0;
    margin: 0;
    width: 100%;
}

.header-banner {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
    background: url('/user/themes/thecentsiblefamily/images/banners/green_bg.jpg') repeat;
}

.header-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.header-page {
    display: flex;
    flex-direction: column;
    background: transparent;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
} 