/* Forces the Main Slider info bar into a single row */
.main-slider .theme-info-area,
.main-slider .info-items {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    width: 100% !important;
}

/* Prevent each info item from wrapping onto multiple lines */
.main-slider .info-item {
    flex: 1;
    white-space: nowrap !important;
    text-align: ;
}
.main-slider,
.main-slider * {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}
.home {
    text-align: center !important;
}

.home * {
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Center-align all content inside WordPress Pages */
.page .entry-content {
    text-align: center !important;
}
/* Center images on the AERC Commercial page */
.page-id-aerccommerical .entry-content img {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Make centered image blocks actually center on all pages */
.wp-block-image {
    text-align: center;
}

.wp-block-image img {
    display: inline-block;
}

/* If WordPress adds the aligncenter class, make sure it works */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* Make WordPress Gallery Block images uniform squares */
.wp-block-gallery.has-nested-images figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1; /* square shape */
}

.wp-block-gallery.has-nested-images figure img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crops to fill evenly */
  display: block;
}.frontpage-section[id*="service"] {
  outline: 4px solid hotpink !important;
}


/* If you want all 3 on one row but wider, use this instead: */
/* flex: 1 1 30%; */

/* 3. Make each service card square-cornered + wider */
.theme-services-content .service-content {
    background: #fff;
    padding: 40px 32px;
    border-radius: 0 !important;    /* ← square corners */
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* 4. Make images consistent without rounded corners */
.theme-services-content .service-content-thumbnail img {
    width: 100%;
    height: 240px;            /* increase image height to match width */
    object-fit: cover;
    border-radius: 0 !important;  /* ← square corners */
    margin-bottom: 20px;
}

/* 5. Larger title */
.theme-services-content .service-title {
    font-size: 1.7rem;
    margin-bottom: 12px;
}

/* 6. Slightly larger paragraph */
.theme-services-content .service-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}
/* Global Back button at top-left of every page (except home) */
.aerc-back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;

    background: #000;
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0; /* square corners */
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.aerc-back-btn:hover {
    background: #333;
}

/* Optional: tuck it down a bit on mobile so it doesn't clash with menus */
@media (max-width: 768px) {
    .aerc-back-btn {
        top: 70px;
        left: 16px;
        padding: 8px 14px;
        font-size: 14px;
    }
}

