@charset "UTF-8";
/*
 * ============================================================================
 * ACFE ROW HEIGHT & RESPONSIVE COLUMNS FRONTEND STYLES v2.3
 * ============================================================================
 *
 * Frontend CSS utility classes for row heights, grid container, and alignment.
 *
 * IMPORTANT: This plugin currently depends on theme-provided column span
 * utilities. Column span classes (col-span-*) are intentionally NOT included
 * here. In the current ACA theme integration they are generated by
 * assets/scss/layout/_aca-grid.scss using the {N}_{breakpoint} convention:
 *   col-span-12      (base/mobile)
 *   col-span-6_md    (tablet ≥768px)
 *   col-span-8_lg    (desktop ≥1024px)
 *
 * The plugin should eventually ship its own responsive column strategy so it
 * is no longer coupled to a specific theme utility layer.
 *
 * Specificity note: these plugin selectors are kept as single-class utilities
 * where practical so theme styles can override layout behavior without having
 * to fight wrapper specificity. If a project needs different column behavior,
 * change it at the theme utility layer rather than adding weight here.
 *
 * Container: .acfe-grid-container
 * Row heights: .row-span-Y
 *
 * Last updated: March 23, 2026, by GitHub Copilot
 * ============================================================================
 */
/* ==========================================================================
   CSS Grid Container
   ========================================================================== */
.acfe-grid-container {
  display: grid;
  grid-auto-rows: auto;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  width: 100%;
}

/* Grid container gap variants */
.acfe-grid-container--small {
  gap: 1rem;
}

.acfe-grid-container--large {
  gap: 3rem;
}

.acfe-grid-container--none {
  gap: 0;
}

/* ==========================================================================
   Grid Item Base Class
   ========================================================================== */
.acfe-grid-item {
  min-width: 0;
  margin: 0;
}

/* ==========================================================================
   Row Span Classes (1-12 columns)
   ========================================================================== */
.row-span-1 {
  grid-row: span 1;
}

.row-span-2 {
  grid-row: span 2;
}

.row-span-3 {
  grid-row: span 3;
}

.row-span-4 {
  grid-row: span 4;
}

.row-span-5 {
  grid-row: span 5;
}

.row-span-6 {
  grid-row: span 6;
}

.row-span-7 {
  grid-row: span 7;
}

.row-span-8 {
  grid-row: span 8;
}

.row-span-9 {
  grid-row: span 9;
}

.row-span-10 {
  grid-row: span 10;
}

.row-span-11 {
  grid-row: span 11;
}

.row-span-12,
.row-span-row {
  grid-row: span 12;
}

/* ==========================================================================
   Grid Item Alignment Utilities
   ========================================================================== */
/*
 * Vertical alignment for grid items
 */
.acfe-grid-item--top {
  align-self: start;
}

.acfe-grid-item--center {
  align-self: center;
}

.acfe-grid-item--bottom {
  align-self: end;
}

.acfe-grid-item--stretch {
  align-self: stretch;
}

/*
 * Horizontal alignment for grid containers
 */
.acfe-grid-container--left {
  justify-items: start;
}

.acfe-grid-container--center {
  justify-items: center;
}

.acfe-grid-container--right {
  justify-items: end;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
/*
 * Debug utilities - add to containers to visualize grid
 */
.acfe-grid-debug {
  background-image: linear-gradient(to right, rgba(255, 0, 0, 0.1) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 8.3333333333% 1rem;
}

.acfe-grid-debug--rows {
  background-image: linear-gradient(to bottom, rgba(0, 255, 0, 0.1) 1px, transparent 1px);
  background-size: 1rem 1rem;
}

/*
 * Reset utilities for grid items
 */
.acfe-grid-item-reset {
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
  .acfe-grid-container {
    display: block !important;
  }
  .acfe-grid-container * {
    box-shadow: none !important;
  }
}
