/*
Theme Name: CRUSH Block Theme
Theme URI: https://crush.org/
Author: CRUSH.org
Author URI: https://crush.org/
Description: Lightweight block theme recreating the CRUSH design system
Requires at least: 6.5
Tested up to: 6.6
Requires PHP: 7.4
Version: 0.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crush-block
*/

:root {
  font-family: Space Grotesk, sans-serif;
}

.material-symbols-outlined {
  font-family: Material Symbols Outlined;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
}

.crush-risk-cards .wp-block-column {
  margin-bottom: 24px;
}
/* Additional styles to match React design */
body {
  background-color: #f6f6f8;
  color: #101322;
}

.wp-block-cover.alignfull {
  border-radius: 24px;
  margin: 16px;
}

.crush-risk-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  padding: 24px;
}

.crush-risk-cards .wp-block-group {
  transition: border-color 0.2s;
}

.crush-risk-cards .wp-block-group:hover {
  border-color: #1337ec !important;
}

/* Material Icons */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
/* Sticky header with backdrop blur */
.crush-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* Ensure background image loads properly */
.wp-block-cover__background {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Body background */
body {
    background-color: #f6f6f8 !important;
}
