/*
 Theme Name:   TXIAAI Theme
 Theme URI:    https://txiaai.springfd.org
 Description:  Custom child theme for Texas Chapter IAAI - left navigation two-column layout
 Author:       TXIAAI
 Template:     generatepress
 Version:      1.0.0
*/

/* ===== Color Variables ===== */
:root {
    --txiaai-navy: #1a2a5e;
    --txiaai-blue: #003087;
    --txiaai-light-blue: #0073aa;
    --txiaai-red: #c41230;
    --txiaai-dark-red: #8b1a2b;
    --txiaai-charcoal: #333333;
    --txiaai-light-gray: #f5f5f5;
    --txiaai-medium-gray: #e0e0e0;
    --txiaai-white: #ffffff;
    --txiaai-gold: #d4a843;
}

/* ===== Global ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--txiaai-charcoal);
    background-color: var(--txiaai-light-gray);
}

a {
    color: var(--txiaai-blue);
}

a:hover {
    color: var(--txiaai-red);
}

/* ===== Header / Site Branding ===== */
.site-header {
    background: var(--txiaai-white);
    border-bottom: 3px solid var(--txiaai-red);
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.custom-logo {
    max-height: 120px;
    width: auto;
}

.site-title,
.main-title,
.site-description {
    display: none !important;
}

/* ===== Hide default top navigation ===== */
.main-navigation,
#site-navigation {
    display: none !important;
}

/* ===== GeneratePress Left Sidebar Styling ===== */
#left-sidebar,
#right-sidebar,
.sidebar .widget-area {
    background: var(--txiaai-navy);
    padding: 0;
}

#left-sidebar .inside-left-sidebar,
#right-sidebar .inside-right-sidebar,
.sidebar .widget-area .inside-right-sidebar,
.sidebar .widget-area .inside-left-sidebar {
    padding: 0;
}

#left-sidebar .widget,
#right-sidebar .widget {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
}

#left-sidebar .widget-title,
#right-sidebar .widget-title {
    background: var(--txiaai-dark-red);
    color: var(--txiaai-white);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 20px;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

#left-sidebar .widget ul,
#right-sidebar .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#left-sidebar .widget ul li,
#right-sidebar .widget ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

#left-sidebar .widget ul li a,
#right-sidebar .widget ul li a {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,0.9) !important;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    border-bottom: none;
}

#left-sidebar .widget ul li a:hover,
#right-sidebar .widget ul li a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--txiaai-white) !important;
    border-left-color: var(--txiaai-red);
}

#left-sidebar .widget ul li.current-menu-item > a,
#left-sidebar .widget ul li.current_page_item > a,
#right-sidebar .widget ul li.current-menu-item > a,
#right-sidebar .widget ul li.current_page_item > a {
    background: rgba(255,255,255,0.15);
    color: var(--txiaai-white) !important;
    border-left-color: var(--txiaai-gold);
    font-weight: 600;
}

/* Sub-menu items */
#left-sidebar .widget ul ul li a,
#right-sidebar .widget ul ul li a {
    padding-left: 35px;
    font-size: 13px;
}

/* ===== Content Area ===== */
.content-area,
#primary {
    background: var(--txiaai-white);
}

.inside-article {
    padding: 30px 40px;
}

/* ===== Page Headers ===== */
.entry-title,
h1.entry-title {
    color: var(--txiaai-navy);
    font-size: 28px;
    font-weight: 700;
    border-bottom: 2px solid var(--txiaai-red);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

h2 {
    color: var(--txiaai-navy);
    font-size: 22px;
    margin-top: 25px;
}

h3 {
    color: var(--txiaai-blue);
    font-size: 18px;
}

/* ===== Content Styling ===== */
.entry-content ul {
    padding-left: 20px;
}

.entry-content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.entry-content a {
    color: var(--txiaai-light-blue);
    text-decoration: none;
    border-bottom: 1px dotted var(--txiaai-light-blue);
}

.entry-content a:hover {
    color: var(--txiaai-red);
    border-bottom-color: var(--txiaai-red);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--txiaai-charcoal);
    color: rgba(255,255,255,0.7);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

.site-footer a {
    color: rgba(255,255,255,0.9);
}

.site-footer a:hover {
    color: var(--txiaai-gold);
}

/* ===== Arson Hotline Banner ===== */
.arson-hotline {
    background: var(--txiaai-navy);
    color: var(--txiaai-white);
    padding: 15px 20px;
    text-align: center;
    font-size: 14px;
    border-top: 3px solid var(--txiaai-red);
}

.arson-hotline strong {
    color: var(--txiaai-gold);
}

.arson-hotline a {
    color: rgba(255,255,255,0.9);
}

/* ===== Events Calendar Styling ===== */
.tribe-events .tribe-events-l-container {
    padding: 0;
}

/* ===== bbPress Forum Styling ===== */
#bbpress-forums {
    font-size: 14px;
}

#bbpress-forums li.bbp-header {
    background: var(--txiaai-navy);
    color: var(--txiaai-white);
}

#bbpress-forums .bbp-forum-title {
    color: var(--txiaai-blue);
    font-weight: 600;
}

/* ===== WPForms Styling ===== */
.wpforms-container .wpforms-form .wpforms-submit-container button {
    background: var(--txiaai-blue);
    border: none;
    padding: 10px 30px;
    border-radius: 3px;
}

.wpforms-container .wpforms-form .wpforms-submit-container button:hover {
    background: var(--txiaai-red);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    #left-sidebar,
    #right-sidebar {
        width: 100% !important;
        min-height: auto;
    }

    .inside-article {
        padding: 20px 15px;
    }
}
