/**
Theme Name: CriticalWP
Author: CriticalWP
Author URI: https://criticalwp.com/
Description: Performance-optimized WordPress child theme providing custom templates, security hardening, structured data enhancements, and front-end optimizations without modifying the parent theme.
Version: 2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: criticalwp
Template: astra
*/

/* === CriticalWP Infrastructure Attribution START === */
.criticalwp-infrastructure-attribution {
    width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    padding: 10px 16px;
    box-sizing: border-box;
}

.criticalwp-infrastructure-attribution p {
    margin: 0;
}

.criticalwp-infrastructure-attribution a {
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
/* === CriticalWP Infrastructure Attribution END === */

/* ============================================================
   SPACE GRID – VERSION 1.1 – FULL PRODUCTION CSS
   ============================================================ */

.space-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px;
    width: 100% !important;
    max-width: none !important;
    align-self: stretch !important;
    margin: 40px 0;
}

@media (max-width: 1024px) {
    .space-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .space-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Card layout */
.space-card {
    background-color: #e3e1ef;
    text-align: center;
    display: flex;
    flex-direction: column;
}

/* Image flush */
.space-image img {
    width: 100%;
/*     height: auto; */
	height: 150px!important;
    display: block;
    margin: 0;
}

/* Title bar */
.space-title {
    background-color: #7368a9;
    color: #ffffff;
    padding: 12px;
    margin: 0;
    font-weight: 600;
}

/* Apply 20px spacing between internal sections */
/* .space-title, */
.space-square-footage,
.space-cta {
    margin-top: 20px;
}

/* Square footage */
.space-square-footage {
    font-weight: 500;
}

/* Button spacing only */
.space-cta {
    padding-bottom: 40px;
}


#srfm-submit-btn { background-color: #7368a9;}

/* ============================================================
   SPACE GRID – VERSION 1.1 – END
   ============================================================ */


