/* WPFellow Base Theme - Main Stylesheet
 *
 * This file contains the main CSS styles for the WP Fellow Base Theme.
 * It includes global styles, layout adjustments, and component styling.
 *
 * @package WPFellow_Base_Theme
 * @subpackage Styles
 * @since 1.0.0
    */

/* ------------------------------------------------------------------------------------
 * Global Styles
 * These styles apply to the entire site and set the foundation for the theme's design.
 * ---------------------------------------------------------------------------------- */

/* 
 * Site Wrapper styles - Ensure the site wrapper takes up the full viewport height.
 * This allows the footer to be pushed to the bottom of the page when there is little content.
 */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Ensure the main content area takes up remaining space */
#brx-content {
    flex: 1;
    position: relative;
    width: 100%;
}

/* Adjust the minimum height of the site wrapper when the admin bar is present */
.admin-bar .site-wrapper {
    min-height: calc(100vh - 32px);
}

@media (max-width: 782px) {
    .admin-bar .site-wrapper {
        min-height: calc(100vh - 46px);
    }
}



/* WPF icons styles - Inherit size and color from parent */
.wpf-icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: inline-block;
}

/* ------------------------------------------------------------------------------------
 * Resoponsive Layout Adjustments
 * These styles ensure the theme looks great on all devices by adjusting the layout for
 * different screen sizes.
 * ---------------------------------------------------------------------------------- */


/* ------------------------------------------------------------------------------------ 
 * Bricks Dark Mode styles overrides
 * These styles ensure that the theme's colors and elements adapt correctly when Bricks
 * Dark Mode is enabled.
 * ---------------------------------------------------------------------------------- */
