/*
Theme Name: astra-child
Theme URI: https://inresultsarkari.com/
Description: My custom child theme based on astra.
Author: inresultsarkari
Author URI: https://inresultsarkari.com/
Template: astra
Version: 1.0
*/

/* Custom styles go below this line */

.oceanography-reference {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #ccc;
}

.oceanography-reference p {
    color: #222;
    font-weight: bold;
    font-size: 1em;
    margin: 0;
}



/* Make ALL tables in sarkariresult posts horizontally scrollable on mobile */
.single-sarkariresult table,
.entry-content table,
.acf-field table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
    max-width: 100% !important;
    white-space: nowrap; /* prevent cell text wrapping that breaks layout */
}
/* But allow text wrapping inside cells for readability */
.single-sarkariresult table td,
.single-sarkariresult table th,
.entry-content table td,
.entry-content table th {
    white-space: normal;
    min-width: 80px; /* minimum column width */
    padding: 8px;
    vertical-align: top;
}
/* Make table headers sticky when scrolling */
.single-sarkariresult table thead th,
.entry-content table thead th {
    position: sticky;
    left: 0;
    z-index: 1;
}
/* Ensure tables don't overflow their container */
.single-sarkariresult .entry-content,
.single-sarkariresult .acf-field-content {
    overflow-x: hidden;
}