/* MyHappyPeach.com — Shared Stylesheet */
/* Early-2000s aesthetic with mobile responsiveness */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f0e8;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='6' height='6' fill='%23f5f0e8'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23ede8df' fill-opacity='0.5'/%3E%3C/svg%3E");
}
a { color: #8B4513; text-decoration: underline; }
a:visited { color: #5C3317; }
a:hover { color: #CC6600; text-decoration: none; }
img { max-width: 100%; height: auto; }

#page-wrapper {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-left: 1px solid #c9b99a;
    border-right: 1px solid #c9b99a;
    min-height: 100vh;
}

#site-header {
    background: linear-gradient(to bottom, #FFECD2, #FCB69F);
    border-bottom: 3px solid #E8956D;
    padding: 18px 20px 14px 20px;
    text-align: center;
}
#site-header h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    color: #7B3F00;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
#site-header h1 a { color: #7B3F00; text-decoration: none; }
#site-header h1 a:hover { color: #CC6600; }
#site-header .tagline {
    font-size: 11px;
    color: #996633;
    font-style: italic;
}

#nav-bar {
    background: #7B3F00;
    border-bottom: 2px solid #5C2E00;
    text-align: center;
}
#nav-bar ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#nav-bar ul li { display: inline-block; }
#nav-bar ul li a {
    display: block;
    color: #FFECD2;
    text-decoration: none;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: bold;
    border-right: 1px solid #5C2E00;
}
#nav-bar ul li:last-child a { border-right: none; }
#nav-bar ul li a:hover { background: #A0522D; color: #fff; }

.breadcrumb {
    font-size: 11px;
    color: #999;
    padding: 8px 20px;
    border-bottom: 1px solid #eee;
    background: #faf8f4;
}
.breadcrumb a { font-size: 11px; }

#main-content { padding: 20px 25px 30px 25px; }
#main-content h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    color: #5C2E00;
    border-bottom: 2px solid #FCB69F;
    padding-bottom: 8px;
    margin-bottom: 16px;
    line-height: 1.3;
}
#main-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    color: #7B3F00;
    margin-top: 24px;
    margin-bottom: 10px;
    border-left: 4px solid #FCB69F;
    padding-left: 10px;
}
#main-content h3 {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    color: #8B4513;
    margin-top: 18px;
    margin-bottom: 8px;
}
#main-content p { margin-bottom: 12px; text-align: justify; }
#main-content ul, #main-content ol { margin: 10px 0 14px 28px; }
#main-content li { margin-bottom: 5px; }

.info-box {
    background: #FFF8EE;
    border: 1px solid #E8C88A;
    border-left: 4px solid #CC9933;
    padding: 12px 14px;
    margin: 16px 0;
    font-size: 12px;
}
.info-box strong { color: #7B3F00; }

.key-point {
    background: #F0FAF0;
    border: 1px solid #A8D5A0;
    border-left: 4px solid #5B9B4F;
    padding: 12px 14px;
    margin: 16px 0;
    font-size: 12px;
}
.caution-box {
    background: #FFF5F5;
    border: 1px solid #E8A0A0;
    border-left: 4px solid #CC5555;
    padding: 12px 14px;
    margin: 16px 0;
    font-size: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 12px;
}
table th {
    background: #7B3F00;
    color: #fff;
    padding: 8px 10px;
    text-align: left;
    font-size: 11px;
    font-weight: bold;
}
table td { padding: 7px 10px; border-bottom: 1px solid #ddd; }
table tr:nth-child(even) { background: #faf8f4; }
table tr:hover { background: #FFF3E0; }

.silo-links {
    background: #faf8f4;
    border: 1px solid #e0d5c5;
    padding: 14px 18px;
    margin: 18px 0;
}
.silo-links h3 {
    font-size: 13px;
    margin-top: 0;
    margin-bottom: 8px;
    color: #7B3F00;
}
.silo-links ul { margin: 0 0 0 18px; }
.silo-links li { margin-bottom: 4px; font-size: 12px; }

.related-pages {
    background: #FFF8EE;
    border-top: 3px solid #E8956D;
    padding: 14px 18px;
    margin-top: 28px;
}
.related-pages h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    color: #7B3F00;
    margin-top: 0;
    margin-bottom: 8px;
}
.related-pages ul { list-style: square; margin: 0 0 0 18px; }
.related-pages li { margin-bottom: 4px; font-size: 12px; }

.home-intro { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.silo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 20px 0;
}
.silo-card {
    background: #faf8f4;
    border: 1px solid #e0d5c5;
    padding: 14px;
    transition: background 0.2s;
}
.silo-card:hover { background: #FFF3E0; }
.silo-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    color: #7B3F00;
    margin: 0 0 6px 0;
}
.silo-card h3 a { color: #7B3F00; }
.silo-card p { font-size: 12px; margin: 0; text-align: left; }

.glossary-section { margin-bottom: 18px; }
.glossary-section h2 {
    font-size: 16px;
    border-left: none;
    border-bottom: 2px solid #E8956D;
    padding-left: 0;
    padding-bottom: 4px;
}
.glossary-term { margin-bottom: 8px; padding-left: 12px; }
.glossary-term strong a { color: #8B4513; }

a.external::after { content: " \\2197"; font-size: 10px; }

#site-footer {
    background: #7B3F00;
    color: #FFECD2;
    padding: 16px 20px;
    text-align: center;
    font-size: 11px;
    border-top: 3px solid #5C2E00;
}
#site-footer a { color: #FFD1A4; }
#site-footer a:hover { color: #fff; }
#site-footer .footer-links { margin-bottom: 8px; }
#site-footer .footer-links a { margin: 0 8px; }
#site-footer .copyright { color: #C9A882; font-size: 10px; margin-top: 6px; }

@media screen and (max-width: 600px) {
    body { font-size: 14px; }
    #page-wrapper { border: none; }
    #site-header { padding: 14px 12px 10px 12px; }
    #site-header h1 { font-size: 22px; }
    #nav-bar ul li a {
        padding: 8px 10px;
        font-size: 11px;
        border-right: none;
        border-bottom: 1px solid #5C2E00;
    }
    #main-content { padding: 14px 14px 24px 14px; }
    #main-content h1 { font-size: 19px; }
    #main-content h2 { font-size: 16px; }
    #main-content p { text-align: left; }
    .silo-grid { grid-template-columns: 1fr; }
    table { font-size: 11px; }
    table th, table td { padding: 5px 6px; }
    .breadcrumb { padding: 6px 14px; }
}
@media screen and (max-width: 400px) {
    #site-header h1 { font-size: 19px; }
    #nav-bar ul li a { font-size: 10px; padding: 7px 8px; }
}
