/*
Theme Name: ClinCalc Blog 2026
Theme URI: https://blog.clincalc.com/
Author: Sean P. Kane
Author URI: https://blog.clincalc.com/
Description: ClinCalc blog theme
Version: 3.0.0
Requires at least: 5.8
Requires PHP: 7.4
*/

/* Header, sidebar, footer, and responsive columns retain the original shared styles.
   Scope article improvements so they cannot change those surrounding elements. */
[hidden] { display: none !important; }
body { text-rendering: optimizeLegibility; }
#searchform input, #mobile-search-form input { border-radius: 3px; }
.site-content { color: #222; font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1.7; min-width: 0; padding-top: clamp(1.5rem, 2vw, 2rem); }
.site-content a { color: #356a9e; text-decoration: underline; font-weight: 700; }
.site-content a:hover, .site-content a:focus { color: #1f497d; }
.site-content a:focus-visible, .site-content button:focus-visible, .site-content input:focus-visible { outline: 3px solid #e36c09; outline-offset: 3px; }
.site-content h1, .site-content h2, .site-content h3, .site-content h4, .site-content h5, .site-content h6 { font-family: inherit; font-weight: 700; line-height: 1.3; color: #222; margin: 1.5em 0 .65em; }
.site-content h1 { font-size: 2rem; }
.site-content h2 { font-size: 1.6rem; }
.site-content h3 { font-size: 1.3rem; }
.site-content p, .site-content .entry-content li, .site-content .entry-summary { font-size: 1.125rem; line-height: 1.7; }
.site-content p { margin: 0 0 1.25rem; }
.site-content ul, .site-content ol { line-height: 1.7; }
.site-content img { max-width: 100%; height: auto; }
.site-content iframe, .site-content embed, .site-content object, .site-content video { max-width: 100%; }
.site-content input, .site-content button, .site-content select, .site-content textarea { font: inherit; }

.site-content > article {
    display: flow-root;
    padding-bottom: 1.75rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}
.entry-header { margin-bottom: 1.25rem; }
.site-content .entry-title {
    font-size: clamp(1.875rem, 1.5rem + 1.25vw, 2.5rem);
    line-height: 1.2;
    margin: 0 0 .75rem;
    overflow-wrap: break-word;
}
.site-content .entry-published {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    max-width: 100%;
    margin: 0;
    padding: .5rem .875rem .5rem .5rem;
    border: 1px solid #dce5ee;
    border-radius: 6px;
    background: #f4f7fb;
    color: #5e6d7d;
    font-size: .9375rem;
    line-height: 1.4;
}
.site-content .entry-published .fa {
    display: grid;
    place-items: center;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 4px;
    background: #e4edf6;
    color: #5d5d5d;
    font-size: 1.125rem;
}
.site-content .entry-published-text { min-width: 0; }
.site-content .entry-published-label { display: block; margin-bottom: .125rem; color: #596d81; font-size: .625rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.site-content .entry-published time { display: block; color: #294769; font-weight: 700; }
.entry-title a { text-decoration: none; }
.entry-title a:hover { text-decoration: underline; }
.entry-header img { display: block; margin: 1rem 0; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content h2, .entry-content h3 { clear: both; }
.entry-content ul, .entry-content ol { margin-left: 1.5rem; }
.entry-content blockquote { border-left: 4px solid #c4bd97; padding: .25rem 1.25rem; margin: 1.5rem 0; color: #555; }
.entry-content pre { overflow-x: auto; background: #f5f5f5; padding: 1rem; }
.entry-content code { overflow-wrap: break-word; }
.entry-content table { display: block; width: max-content; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.5rem 0; font-size: 1rem; line-height: 1.5; }
.entry-content th, .entry-content td { padding: .75rem 1rem; border: 1px solid #dce3ea; vertical-align: top; }
.entry-content th { background: #eef2f6; color: #263d52; font-weight: 700; }
.archive-header { margin-bottom: 2rem; }
.archive-header h1 { margin-top: 0; }
.archive-meta { color: #595959; }
.remote-search { padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid #ddd; }
.remote-search > h2 { margin-top: 0; }
.remote-search .entry-title { font-size: 1.4rem; }
.remote-search .entry-meta { display: none; }
.remote-search article + article { margin-top: 1.5rem; }
.SearchHighlight, .highlight, .hilite { font-weight: 700; background: #ffff99; }
.more-link { display: inline-block; margin-top: 1rem; }
.navigation { clear: both; margin: 2rem 0; }
.nav-links { display: flex; justify-content: space-between; gap: 1.5rem; }
.nav-links > div { max-width: 48%; }
.nav-next { margin-left: auto; text-align: right; }
.page-links { clear: both; padding-top: 1rem; }

/* Standard WordPress image, caption, gallery, and block alignment classes. */
.alignleft { float: left; margin: .3rem 1.25rem 1.25rem 0; }
.alignright { float: right; margin: .3rem 0 1.25rem 1.25rem; }
.aligncenter { display: block; margin: 1.25rem auto; }
.wp-caption { max-width: 100%; }
.site-content .wp-caption-text, .site-content .gallery-caption, .site-content figcaption { font-size: .875rem; color: #595959; line-height: 1.5; margin-top: .5rem; }
.gallery { display: flex; flex-wrap: wrap; gap: 1rem; }
.gallery-item { flex: 1 1 140px; text-align: center; margin: 0; }
.wp-block-image { max-width: 100%; }
.wp-block-embed__wrapper { max-width: 100%; }

.screen-reader-text, .assistive-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.skip-link:focus { width: auto; height: auto; clip: auto; clip-path: none; top: .5rem; left: .5rem; margin: 0; padding: .75rem; background: #fff; z-index: 1000; }


@media (max-width: 40em) {
    .entry-content .alignleft, .entry-content .alignright { float: none; display: block; margin: 1rem auto; }
}
@media print {
    body { background: #fff; color: #000; }
    .headerGradient, .bodyGradientTop, .sidebarContainer, .footerContainer, .left-off-canvas-menu, #toTop, .navigation, .edit-link, .skip-link { display: none !important; }
    .row > .large-8 { width: 100%; float: none; }
    .entry-content table { display: table; font-size: 10pt; }
}
