/*!
Theme Name: Pofii Moonlight
Theme URI: https://www.pofii.com/
Author: Pofii Ltd.
Author URI: https://www.pofii.com/
Description: Theme for Pofii Insights Blog
Version: 2.1.0
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.2
Text Domain: pofii-insights
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */


img.card-img-top.wp-post-image {
  object-fit: cover;   /* or 'contain' depending on what you want */
  object-position: center;
  height: 200px !important; /* override inline if needed */
  width: 100%;
}
.card .row .bg-size-cover {
	background-position: center center !important;
}
.wp-block-separator {
    padding: 20px;
}
div#ez-toc-container {
    background: #eff2fc;
    border: 0px;
    border-radius: 20px;
}


body.admin-bar header {
    margin-top: 32px; /* height of WP admin bar on desktop */
}

@media screen and (max-width: 782px) {
    body.admin-bar header {
        margin-top: 46px; /* admin bar is taller on mobile */
    }
}

.jarallax .jarallax-img {
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 768px) {
  .jarallax .jarallax-img {
    position: absolute !important;      /* disable parallax scaling on mobile */
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;      /* keep logo clean + no distortion */
    object-position: center center !important;

    margin-top: 0 !important;
  }
}
