/* Print Styles - Show only article content */
@media print {
    /* Hide everything by default */
    * {
        visibility: hidden;
    }
    
    /* Hide header, footer, navigation, and other elements */
    #masthead,
    header#masthead,
    footer,
    #colophon,
    .search-banner,
    .mobile-menu,
    .navigation,
    .share-block,
    .wp-block-button,
    button,
    nav,
    .skip-link {
        display: none !important;
    }
    
    /* Show only the main content and article */
    body,
    html,
    #content,
    main,
    article,
    .entry-content,
    .post-content,
    .article-title,
    h1, h2, h3, h4, h5, h6,
    p,
    .featured-image,
    img,
    .featured-image-caption,
    time,
    .categories,
    table,
    thead,
    tbody,
    tfoot,
    tr,
    th,
    td,
    caption,
    ul,
    ol,
    li,
    dl,
    dt,
    dd,
    blockquote,
    figure,
    figcaption,
    div.wp-block-table,
    .wp-block-table table,
    div.entry-content table,
    .post-content table {
        visibility: visible !important;
    }
    
    /* Reset body styles for print */
    body {
        background: white !important;
        color: black !important;
        font-family: Georgia, serif !important;
        font-size: 12pt !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        padding: 20pt !important;
    }
    
    /* Article container */
    #content,
    main {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }
    
    /* Article styles */
    article {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    /* Title styles */
    .article-title,
    h1 {
        font-size: 18pt !important;
        font-weight: bold !important;
        margin-bottom: 12pt !important;
        color: black !important;
        page-break-after: avoid;
    }
    
    /* Date styles */
    time {
        font-size: 10pt !important;
        color: #666 !important;
        margin-bottom: 12pt !important;
        display: block !important;
    }
    
    /* Content styles */
    .entry-content,
    .post-content {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Paragraph styles */
    p {
        font-size: 11pt !important;
        line-height: 1.4 !important;
        margin-bottom: 12pt !important;
        color: black !important;
        text-align: justify !important;
    }
    
    /* Heading styles */
    h2 { font-size: 14pt !important; margin: 16pt 0 8pt 0 !important; }
    h3 { font-size: 12pt !important; margin: 14pt 0 6pt 0 !important; }
    h4 { font-size: 11pt !important; margin: 12pt 0 4pt 0 !important; }
    h5, h6 { font-size: 10pt !important; margin: 10pt 0 4pt 0 !important; }
    
    /* Image styles */
    img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 12pt auto !important;
        border: none !important;
        box-shadow: none !important;
        float: none !important;
    }
    
    /* Featured image specific */
    .featured-image img,
    .wp-post-image {
        max-width: 300pt !important;
        margin: 12pt 0 !important;
        float: left !important;
        margin-right: 12pt !important;
    }
    
    /* Image caption */
    .featured-image-caption {
        font-size: 9pt !important;
        font-style: italic !important;
        color: #666 !important;
        margin-bottom: 12pt !important;
        text-align: center !important;
    }
    
    /* Categories */
    .categories {
        margin-top: 20pt !important;
        padding-top: 12pt !important;
        border-top: 1pt solid #ccc !important;
        font-size: 9pt !important;
        color: #666 !important;
    }
    
    .categories a {
        color: black !important;
        text-decoration: none !important;
    }
    
    /* Lists */
    ul, ol {
        margin: 12pt 0 !important;
        padding-left: 20pt !important;
    }
    
    li {
        margin-bottom: 6pt !important;
        font-size: 11pt !important;
        line-height: 1.4 !important;
    }
    
    /* Links */
    a {
        color: black !important;
        text-decoration: underline !important;
    }
    
    /* Tables */
    table {
        width: 100% !important;
        border-collapse: collapse !important;
        margin: 12pt 0 !important;
        font-size: 10pt !important;
        display: table !important;
        visibility: visible !important;
        page-break-inside: auto !important;
    }
    
    /* WordPress table blocks */
    .wp-block-table,
    div.wp-block-table {
        display: block !important;
        visibility: visible !important;
        margin: 12pt 0 !important;
    }
    
    .wp-block-table table {
        display: table !important;
        visibility: visible !important;
    }
    
    /* Table elements */
    thead, tbody, tfoot {
        display: table-row-group !important;
        visibility: visible !important;
    }
    
    thead {
        display: table-header-group !important;
    }
    
    tr {
        display: table-row !important;
        visibility: visible !important;
        page-break-inside: avoid !important;
    }
    
    th, td {
        display: table-cell !important;
        visibility: visible !important;
        border: 1pt solid #333 !important;
        padding: 6pt !important;
        text-align: left !important;
        vertical-align: top !important;
        font-size: 9pt !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        max-width: none !important;
    }
    
    th {
        background-color: #e8e8e8 !important;
        font-weight: bold !important;
        border: 1pt solid #000 !important;
    }
    
    /* Table captions */
    caption {
        display: table-caption !important;
        visibility: visible !important;
        font-weight: bold !important;
        margin-bottom: 6pt !important;
        text-align: center !important;
    }
    
    /* Ensure table content is black */
    table,
    table *,
    th,
    td,
    thead,
    tbody,
    tfoot,
    tr,
    caption,
    .wp-block-table,
    .wp-block-table *,
    .wp-block-table table,
    .wp-block-table table *,
    .wp-block-table th,
    .wp-block-table td {
        color: black !important;
        background-color: transparent !important;
    }
    
    /* Override any theme colors for table cells */
    th {
        color: black !important;
        background-color: #e8e8e8 !important;
    }
    
    /* Ensure striped tables have proper colors */
    .wp-block-table.is-style-stripes tbody tr:nth-child(odd),
    .wp-block-table.is-style-stripes tbody tr:nth-child(odd) td {
        color: black !important;
        background-color: #f9f9f9 !important;
    }
    
    .wp-block-table.is-style-stripes tbody tr:nth-child(even),
    .wp-block-table.is-style-stripes tbody tr:nth-child(even) td {
        color: black !important;
        background-color: white !important;
    }
    
    /* Force black text on any colored backgrounds that might exist */
    .entry-content table,
    .post-content table,
    .entry-content .wp-block-table,
    .post-content .wp-block-table {
        color: black !important;
    }
    
    /* Override any inline styles that might be setting white text */
    table[style*="color"],
    td[style*="color"],
    th[style*="color"],
    .wp-block-table[style*="color"] {
        color: black !important;
    }
    
    /* Override press release table classes */
    .prnbcc,
    .prnbcc *,
    .prngen2,
    .prngen3,
    .prngen4,
    .prngen5,
    .prngen6,
    .prngen7,
    .prngen2 *,
    .prngen3 *,
    .prngen4 *,
    .prngen5 *,
    .prngen6 *,
    .prngen7 *,
    .prnews_span,
    .prngen44,
    .prnml4,
    .prnml8,
    .prnml10,
    .prngen44 *,
    .prnml4 *,
    .prnml8 *,
    .prnml10 * {
        color: black !important;
        background-color: transparent !important;
    }
    
    /* Override any press release specific styling */
    table.prnbcc,
    table.prnbcc td,
    table.prnbcc th,
    table.prnbcc p,
    table.prnbcc span,
    table.prnbcc b,
    table.prnbcc strong {
        color: black !important;
        background-color: transparent !important;
    }
    
    /* Force black text on any element with these patterns */
    [class*="prn"],
    [class*="prn"] *,
    [class*="gen"],
    [class*="gen"] * {
        color: black !important;
    }
    
    /* Blockquotes */
    blockquote {
        margin: 12pt 20pt !important;
        padding: 8pt !important;
        border-left: 3pt solid #ccc !important;
        font-style: italic !important;
        background-color: #f9f9f9 !important;
    }
    
    /* Page breaks */
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    p, li {
        page-break-inside: avoid;
    }
    
    img {
        page-break-inside: avoid;
    }
    
    /* Table page breaks */
    table {
        page-break-before: auto;
        page-break-after: auto;
        page-break-inside: auto;
    }
    
    thead {
        page-break-after: avoid;
    }
    
    tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }
    
    /* Avoid breaking table headers from content */
    th + td,
    th + th {
        page-break-before: avoid;
    }
    
    /* Keep table captions with tables */
    caption {
        page-break-after: avoid;
    }
    
    /* Ensure content flows properly */
    .entry-content > * {
        clear: both;
    }
}
