/*
Theme Name: Uhulo
Theme URI: 
Author: Uhulo team
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uhulo
Tags: 
*/

html {
    /* Smoother font scaling */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
  
    /* Font rendering optimizations */
    -webkit-font-smoothing: antialiased; /* WebKit (Safari, Chrome on macOS) */
    -moz-osx-font-smoothing: grayscale;  /* Firefox on macOS */
    font-smooth: always;                 /* Non-standard but supported in some browsers */
    text-rendering: optimizeLegibility;  /* Better kerning & ligatures */
}

@media (max-width: 767px) {

    .hide-on-mobile {
        display: none !important;
    }
    .align-left-mobile {
      text-align: left !important;
      align-items: flex-start !important;
    }
    .font-40-mobile {
      font-size: 40px !important;
    }
    .show-on-mobile {
        display: block !important;
    }

	h1, h2, h3, h4, h5, h6, p.wp-block-post-excerpt__excerpt {
		font-size: 40px !important;
	}
	.grid-2-mobile {
      	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .grid-1-mobile {
      	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }

    .entry-content h1,  .entry-content h2,  .entry-content h3,  .entry-content h4,  .entry-content h5,  .entry-content h6 {
        font-size: 20px !important;
    }
    .grid-2-mobile {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .grid-1-mobile {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 768px) and (max-width: 1025px) {
    .hide-on-tablet {
        display: none !important;
    }
    .show-on-tablet {
        display: block !important;
    }
    .grid-2-tablet {
      	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .grid-1-tablet {
      	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1025px) {
    .hide-on-desktop {
        display: none !important;
    }
    .show-on-desktop {
        display: block !important;
    }
}