/* Base responsive styles */
html, body { 
    margin: 0; 
    padding: 0; 
    width: 100%;
    height: 100%;
    overflow-x: hidden;
} 

#idcontent { 
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

img, table {
    max-width: 100%;
    height: auto;
}

table {
    overflow-x: auto;
    display: block;
}

/* Navigation */
#idnav {
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Typography */
h1 { font-size: 1.8em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.3em; }
p { margin-bottom: 1em; }

/* Media Queries */
@media screen and (max-width: 768px) {
    body { font-size: 14px; }
    
    #idheader .topichead {
        display: block;
        width: 100%;
    }

    .crumbs {
        font-size: 14px;
        padding: 10px;
    }

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

    #idnav img {
        width: 30px;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    #idcontent { padding: 10px; }
    .crumbs { font-size: 12px; }
}

@media print {
    span.f_Heading1 { color: black; }
    #idheader, #printheader img { display:none; }
    #printheader { display: block; margin-top: 20px; }
    #idcontent { margin-top: 10px; }
}
