/*
Theme Name: Flutter Lab Atelier
Theme URI: https://flutter-lab.com/
Author: Muhammad Numan Latif
Author URI: https://flutter-lab.com/
Description: Exact WordPress Theme for flutter-lab.com — Warm Alabaster, Apple Liquid Glass, Deep Obsidian & Terracotta design system with 240-Frame Exploded-View <canvas> GSAP ScrollTrigger Showroom, built-in Forms Dashboard Inbox, Classic Editor Meta Boxes, and native Rank Math SEO / AEO / GEO integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flutter-lab-atelier
Tags: custom-menu, custom-logo, editor-style, featured-images, full-width-template, theme-options, threaded-comments, translation-ready
*/

/* WordPress Core Accessibility & Alignment Helpers */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.aligncenter {
  display: block;
  margin-inline: auto;
}

.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.wp-caption-text {
  font-size: 0.82rem;
  color: #57534E;
  margin-top: 0.45rem;
}

/* Rank Math Breadcrumbs Integration */
.fl-rm-breadcrumbs {
  font-family: var(--fl-font-mono, monospace);
  font-size: 0.76rem;
  color: var(--fl-ink-muted, #57534E);
  margin-bottom: 1rem;
}
.fl-rm-breadcrumbs a {
  color: var(--fl-ink, #1C1917);
  text-decoration: none;
  font-weight: 600;
}
.fl-rm-breadcrumbs a:hover {
  color: var(--fl-accent, #B84A2C);
  text-decoration: underline;
}

/* AEO Quick Answer Speakable Callout */
.fl-aeo-quick-answer {
  background: var(--fl-surface, #FAF8F4);
  border: 1px solid var(--fl-border, rgba(28, 25, 23, 0.11));
  border-left: 3px solid var(--fl-accent, #B84A2C);
  border-radius: 0 16px 16px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--fl-ink, #1C1917);
}
.fl-aeo-quick-answer strong.fl-aeo-label {
  font-family: var(--fl-font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fl-accent, #B84A2C);
  display: block;
  margin-bottom: 0.3rem;
}

/* Built-In Forms Styling */
.fl-wp-form-card {
  background: var(--fl-surface, #FAF8F4);
  border: 1px solid var(--fl-border, rgba(28, 25, 23, 0.11));
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md, 0 12px 30px rgba(28, 25, 23, 0.08));
}
.fl-wp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 768px) {
  .fl-wp-form-grid { grid-template-columns: 1fr; }
}
.fl-wp-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.fl-wp-field label {
  font-family: var(--fl-font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fl-ink-muted, #57534E);
}
.fl-wp-field input,
.fl-wp-field select,
.fl-wp-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(28, 25, 23, 0.18);
  background: #FFFFFF;
  color: #1C1917;
  font-family: var(--fl-font-body, sans-serif);
  font-size: 0.95rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.fl-wp-field input:focus,
.fl-wp-field select:focus,
.fl-wp-field textarea:focus {
  outline: none;
  border-color: var(--fl-accent, #B84A2C);
  box-shadow: 0 0 0 3px rgba(184, 74, 44, 0.15);
}
.fl-wp-form-feedback {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}
.fl-wp-form-feedback.is-success {
  display: block;
  background: rgba(22, 101, 52, 0.10);
  border: 1px solid rgba(22, 101, 52, 0.28);
  color: #166534;
}
.fl-wp-form-feedback.is-error {
  display: block;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #991B1B;
}

/* Comments & Discussion */
.fl-comments-wrap {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--fl-border, rgba(28, 25, 23, 0.11));
}
.fl-comment-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 1rem;
}
.fl-comment-item {
  background: var(--fl-surface, #FAF8F4);
  border: 1px solid var(--fl-border, rgba(28, 25, 23, 0.11));
  border-radius: 18px;
  padding: 1.15rem 1.35rem;
}
.fl-comment-list .children {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}
