/* --- WHITEBOARD THEME RESET --- */

/* 1. Force the main background and the "paper" texture to Black */
body, 
.backgroundMain, 
.pageContainer, 
.mainContent, 
#id_contentContainer {
    background-color: #000000 !important;
    background-image: none !important; /* Removes the "Lunchbag" texture */
    color: #f4f4f4 !important;
}

/* 2. Fix the Header & Navigation */
.menuPrimary, .menuSecondary {
    background-color: #000000 !important;
}

.menuPrimary a, .menuPrimary span {
    color: #CFB53B !important; /* Old Gold Links */
}

/* 3. Typography - Headings in Old Gold */
h1, h2, h3, h4, 
.itemTitle, 
.gadgetTitle {
    color: #CFB53B !important;
    font-family: Arial, sans-serif; /* Clean institucional look */
}

/* 4. Buttons (The "Lunchbag" theme has rounded/shadowed buttons) */
.WaButton, .wa-button, input[type="submit"] {
    background: #CFB53B !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: none !important; /* Removes theme shadows */
    text-shadow: none !important;
}

/* 5. Content Gadgets (The boxes on your homepage) */
.box, .gadgetContainer, .wa-gadget {
    border: 1px solid #CFB53B !important; /* Gold border */
    background-color: #111111 !important; /* Dark charcoal inside */
}

/* 6. Fix link text wrapping (button-style links, menu links, etc.) */
a {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

/* Target table or content cells that contain the links */
/* 6. Styled pillar links */
a.stylizedButton.buttonStyle003 {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 200px !important;
    min-height: 86px !important;
    padding: 6px 10px !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    vertical-align: top !important;
}

/* 6b. Make the bold text inside wrap cleanly */
a.stylizedButton.buttonStyle003 strong {
    display: block !important;
    white-space: normal !important;
    line-height: 1.25 !important;
}

/* 7b. Fix layout so buttons wrap cleanly */
#id_contentContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero left text column overlay */
#id_D1JYVGK {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.45) 35%,
        rgba(0, 0, 0, 0.15) 65%,
        rgba(0, 0, 0, 0.00) 100%
    ) !important;
    padding: 0 !important;
}

/* Add fade behind the hero text/content */
#id_D1JYVGK .gadgetStyleBody {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.58) 38%,
        rgba(0, 0, 0, 0.28) 68%,
        rgba(0, 0, 0, 0.00) 100%
    ) !important;
    padding: 18px 20px !important;
    line-height: 1.35 !important;
    max-width: 700px !important;
    
}

/* Hero buttons */
#id_D1JYVGK a.stylizedButton.buttonStyle003 {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-width: 180px !important;
    min-height: 56px !important;
    padding: 6px 12px !important;
    margin: 6px 8px 6px 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

#id_D1JYVGK a.stylizedButton.buttonStyle003 strong {
    display: block !important;
    line-height: 1.2 !important;
    white-space: normal !important;
}