/* ==========================================================================
   CSSCraft – Free CSS Design Toolkit
   Tools Shared Interface Styles (tools.css)
   ========================================================================== */

/* Tool Hero Header */
.tool-hero {
  padding: 2.5rem 0 1.5rem;
}

.tool-header-content {
  max-width: 800px;
}

.tool-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.tool-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tool Main Workspace */
.tool-workspace {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
  margin: 1.5rem 0 3rem;
}

@media (max-width: 1024px) {
  .tool-workspace {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Control Panel */
.control-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.control-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.control-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.control-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Control Elements */
.control-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.control-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.control-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .control-row, .control-row-3, .control-row-4 {
    grid-template-columns: 1fr;
  }
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.slider-val {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  padding: 0.15rem 0.45rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

/* Segmented Toggle Buttons */
.segmented-control {
  display: flex;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 0.25rem;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.segment-btn {
  flex: 1;
  padding: 0.45rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-align: center;
}

.segment-btn:hover {
  color: var(--text-primary);
}

.segment-btn.active {
  background: var(--bg-secondary);
  color: var(--brand-primary);
  box-shadow: var(--shadow-xs);
}

/* Color Stops List & Items */
.color-stops-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.color-stop-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-tertiary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.color-stop-row input[type="color"] {
  width: 32px;
  height: 32px;
  border: none;
  cursor: pointer;
  background: transparent;
  border-radius: var(--radius-sm);
}

.color-stop-row .stop-hex {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  width: 80px;
  padding: 0.3rem 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.color-stop-row .stop-slider {
  flex: 1;
}

.color-stop-row .stop-pos-val {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  width: 40px;
  text-align: right;
  color: var(--text-secondary);
}

.color-stop-row .btn-remove-stop {
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.color-stop-row .btn-remove-stop:hover {
  color: var(--error);
  background: rgba(239, 68, 68, 0.1);
}

/* Live Preview Stage (Sticky) */
.preview-pane {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.preview-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.preview-toolbar-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.preview-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.preview-stage {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background-color: #f1f5f9;
  background-image: 
    linear-gradient(45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(-45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e2e8f0 75%),
    linear-gradient(-45deg, transparent 75%, #e2e8f0 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
  transition: all var(--transition-normal);
}

[data-theme="dark"] .preview-stage {
  background-color: #0f172a;
  background-image: 
    linear-gradient(45deg, #1e293b 25%, transparent 25%),
    linear-gradient(-45deg, #1e293b 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #1e293b 75%),
    linear-gradient(-45deg, transparent 75%, #1e293b 75%);
}

.preview-stage.no-grid {
  background-image: none;
  background-color: var(--bg-tertiary);
}

/* Elements Inside Preview Stage */
.preview-element {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.1s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.preview-box {
  width: 220px;
  height: 220px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  padding: 1rem;
}

.preview-text-target {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  word-break: break-word;
  max-width: 90%;
}

/* Glassmorphism background scene */
.glass-scene {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 50%, #86a8e7 100%);
}

.glass-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}
.glass-circle-1 {
  width: 140px;
  height: 140px;
  background: #ec4899;
  top: 15%;
  left: 20%;
}
.glass-circle-2 {
  width: 160px;
  height: 160px;
  background: #3b82f6;
  bottom: 15%;
  right: 20%;
}

.glass-target-card {
  position: relative;
  z-index: 2;
  width: 260px;
  min-height: 160px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

/* Presets Section */
.presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.preset-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  padding: 0;
}

.preset-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.preset-thumb {
  height: 64px;
  width: 100%;
  border-bottom: 1px solid var(--border-subtle);
}

.preset-label {
  padding: 0.5rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tool Content Sections (Guide, Specs, FAQ, Related) */
.tool-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 650px;
}

/* Step-by-Step Guide */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 850px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-fast);
}

.feature-box:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 850px;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  text-align: left;
}

.faq-question-arrow {
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.faq-item.active .faq-question-arrow {
  transform: rotate(180deg);
  color: var(--brand-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

/* Related Tools Grid */
.related-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.related-tool-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.related-tool-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.related-tool-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.related-tool-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.related-tool-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.related-tool-link:hover {
  gap: 0.6rem;
}

/* ==========================================================================
   Image to Gradient & Gradient to Image (Bidirectional Generator)
   ========================================================================== */

/* Mode Switch Tabs */
.tool-mode-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-secondary);
  padding: 0.375rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.tool-mode-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.tool-mode-tab:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.tool-mode-tab.active {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--brand-glow);
}

/* Image Dropzone */
.image-dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: var(--bg-tertiary);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  outline: none;
}

.image-dropzone:hover,
.image-dropzone.dragover {
  border-color: var(--brand-primary);
  background: var(--brand-primary-light);
  transform: translateY(-1px);
}

.dropzone-icon {
  margin: 0 auto 0.75rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.image-dropzone:hover .dropzone-icon {
  transform: scale(1.08);
}

.dropzone-title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.dropzone-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Sample Images Gallery */
.sample-images-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}

@media (max-width: 600px) {
  .sample-images-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sample-thumb-btn {
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 48px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  padding: 0;
  background: var(--bg-tertiary);
}

.sample-thumb-btn:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.sample-thumb-btn.active {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px var(--brand-primary);
}

.sample-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Comparison Preview Stage & Split Slider */
.preview-stage-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.view-mode-tabs {
  display: flex;
  background: var(--bg-tertiary);
  padding: 0.25rem;
  border-radius: var(--radius-md);
  gap: 0.25rem;
}

.view-mode-tab {
  flex: 1;
  padding: 0.35rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-mode-tab:hover {
  color: var(--text-primary);
}

.view-mode-tab.active {
  background: var(--bg-secondary);
  color: var(--brand-primary);
  box-shadow: var(--shadow-xs);
}

.comparison-stage {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  user-select: none;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-inner);
}

.comparison-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.comparison-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0b0f19;
  background-image: 
    linear-gradient(45deg, #161f30 25%, transparent 25%), 
    linear-gradient(-45deg, #161f30 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #161f30 75%), 
    linear-gradient(-45deg, transparent 75%, #161f30 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  cursor: crosshair;
}

.comparison-img-wrap canvas,
.comparison-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comparison-grad-wrap {
  overflow: hidden;
  pointer-events: none;
}

.comparison-grad-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #ffffff;
  cursor: ew-resize;
  z-index: 20;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  touch-action: none;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  cursor: ew-resize;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.comparison-tag {
  position: absolute;
  top: 10px;
  padding: 0.25rem 0.6rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 10;
}

.comparison-tag-left {
  left: 10px;
}

.comparison-tag-right {
  right: 10px;
}

/* Eyedropper & Color Feedback */
.eyedropper-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
}

.eyedropper-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.eyedropper-swatch {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  display: inline-block;
}

/* Angle Dial Presets */
.angle-presets {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.angle-chip {
  flex: 1;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.2rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
}

.angle-chip:hover,
.angle-chip.active {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* Resolution & Aspect Ratio Grid for Gradient-to-Image */
.resolution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 500px) {
  .resolution-grid {
    grid-template-columns: 1fr;
  }
}

.res-btn {
  text-align: left;
  padding: 0.625rem 0.75rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.res-btn:hover {
  border-color: var(--brand-primary);
  background: var(--bg-secondary);
}

.res-btn.active {
  border-color: var(--brand-primary);
  background: var(--brand-primary-light);
  box-shadow: 0 0 0 1px var(--brand-primary);
}

.res-btn .res-name {
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--text-primary);
}

.res-btn.active .res-name {
  color: var(--brand-primary);
}

.res-btn .res-dims {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Format Radios & Quality Slider */
.format-pills {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.format-pill {
  flex: 1;
  text-align: center;
  padding: 0.5rem 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.format-pill:hover,
.format-pill.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

/* Action Banner Buttons */
.action-banner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (max-width: 500px) {
  .action-banner-row {
    grid-template-columns: 1fr;
  }
}

