@media print {

    /* --- Base page setup --- */
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        color: #000 !important;
        font-family: Verdana, sans-serif !important;
        height: auto !important;
        width: auto !important;
        overflow: visible !important;
    }

    /* --- Hide headers, footers, sidebars, dynamic content --- */
    header, nav,
    footer, #footer, #footer3, .footer, .footer-wrapper,
    #footer-quote, #copyright,
    .menu, .sidebar, .gcse-searchbox-only, button, script, .popup {
        display: none !important;
        visibility: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    /* --- Hide ads completely and remove blank space --- */
    .ad, .ads, .ad-wrapper, .sponsor, .ad-container, .ad-row,
    iframe[src*="ads"], .popup {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* --- Main content layout --- */
    .page-wrapper, main, .content, .container, .wrapper, .grid, .section {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        display: block !important; /* collapse any flex/grid gaps */
    }

    /* --- Tables --- */
    .table-forcing, .responsive-table, .table-wrapper, .datatable {
        table-layout: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        border-collapse: collapse !important;
        word-wrap: break-word !important;
        overflow: visible !important;
    }

    .table-forcing th, .table-forcing td {
        display: table-cell !important;
        word-break: break-word !important;
        white-space: normal !important;
        padding: 4px 6px !important;
        border: 1px solid #000 !important;
    }

    .table-forcing input[type="text"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 12px !important;
        padding: 2px 4px !important;
        border: none !important;
        background: none !important;
    }

    /* --- Prevent unwanted page breaks --- */
    h1, h2, h3, h4, h5, h6, p, li, ul, ol,
    tr, td, th {
        break-inside: avoid !important;
        page-break-inside: auto !important;
        page-break-after: auto !important;
        page-break-before: auto !important;
    }

    /* --- Images --- */
    img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* --- Links --- */
    a[href] {
        color: #000 !important;
        text-decoration: none !important;
        pointer-events: none !important;
    }

    a[href]:after {
        content: "" !important;
    }

    /* --- Clean up empty blocks --- */
    .row, .col-3, .col-4, .col-8, .col-12-medium, .col-12-small {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
    }
ins.adsbygoogle, .adsbygoogle, iframe[src*="ads"], div[class*="ad"] {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
/* ===== SCREEN STYLES ONLY ===== */
#footer3 {
  background-color: #1e2a38;       /* navy */
  color: #ffffff;
  padding: 0.25rem 0;               /* compact height */
  text-align: center;
  font-family: Verdana, sans-serif;
  font-size: 0.85rem;
  line-height: 1.2;
  margin-top: 0.5rem;

  /* subtle visual polish */
  border-top: 2px solid #0f1a24;   /* thin dark border on top */
  box-shadow: 0 -2px 4px rgba(0,0,0,0.1);  /* tiny inner shadow for depth */
}

#footer3 .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;                   /* remove extra space */
}

#footer3 p {
    margin: 0;
    line-height: 1.4;
}

/* Underlined links for seniors (your preference) */
#footer3 a {
    color: #ffffff;
    text-decoration: underline;
}

#footer3 a:hover {
    opacity: 0.8;
}


/* ===== PRINT ===== */
@media print {
    #footer3 {
        display: none !important;
    }
	
}



