/* ═══════════════════════════════════════════════════════════
   LAMINAR PRO — GUTENBERG BLOCKS STYLESHEET v5.2
   ═══════════════════════════════════════════════════════════

   Most blocks reuse the existing classes from style.css
   (.lf-hero, .lf-trust-strip, .lf-cat-card, .lf-feat, .lf-step,
   .lf-testi, .lf-incoterm-box, .lf-cta-strip, .lf-split, etc.)
   — those classes are already fully styled in style.css.

   This file only contains additions specific to block-based
   rendering (Image Gallery, Comparison Table, carousel overrides,
   and block-level empty states).
═══════════════════════════════════════════════════════════ */

/* ──── EMPTY-STATE FALLBACKS (when block has no data) ──── */
.lf-block-hero-empty,
.lf-block-badges-empty,
.lf-block-cats-empty,
.lf-block-stats-empty,
.lf-block-feat-empty,
.lf-block-process-empty,
.lf-block-testi-empty,
.lf-block-info-empty,
.lf-block-cta-empty,
.lf-block-twocol-empty,
.lf-block-gallery-empty,
.lf-block-cmp-empty {
    padding: 48px 24px;
    text-align: center;
    background: #FAFAFA;
    color: #9CA3AF;
    border: 1px dashed var(--border, #E2E8F0);
    border-radius: 8px;
    font-size: 14px;
    max-width: 720px;
    margin: 24px auto;
}

/* ──── COMPARISON TABLE (newer pattern not in existing style.css) ──── */
.lf-block-cmp { padding: 64px 0; }
.lf-cmp-head { text-align: center; margin-bottom: 40px; max-width: 760px; margin-left: auto; margin-right: auto; }
.lf-cmp-heading { font-size: 30px; font-weight: 700; margin: 0 0 12px 0; color: var(--dark, #1A202C); }
.lf-cmp-subhead { font-size: 15px; color: var(--muted, #4A5568); margin: 0; }
.lf-cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lf-cmp-col {
    background: var(--white, #FFFFFF);
    border: 1px solid var(--border, #E2E8F0);
    border-radius: 10px;
    padding: 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.lf-cmp-col:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,.08); }
.lf-cmp-col-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 8px; }
.lf-cmp-col-name { font-size: 22px; font-weight: 700; margin: 0 0 18px 0; color: var(--dark, #1A202C); }
.lf-cmp-table { width: 100%; border-collapse: collapse; }
.lf-cmp-table tr { border-bottom: 1px solid var(--border, #E2E8F0); }
.lf-cmp-table tr:last-child { border-bottom: none; }
.lf-cmp-row-label { font-size: 13px; color: var(--muted, #4A5568); width: 38%; padding: 10px 14px 10px 0; vertical-align: top; }
.lf-cmp-row-value { font-size: 13.5px; color: var(--dark, #1A202C); font-weight: 600; padding: 10px 0; vertical-align: top; }

/* ──── IMAGE GALLERY (new block, no existing equivalent) ──── */
.lf-block-gallery { padding: 56px 0; }
.lf-gallery-head { text-align: center; margin-bottom: 32px; }
.lf-gallery-heading { font-size: 26px; font-weight: 700; margin: 0; color: var(--dark, #1A202C); }
.lf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(var(--lf-gallery-cols, 4), 1fr);
    gap: 14px;
}
.lf-gallery-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--light, #F8F9FA);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border, #E2E8F0);
    transition: transform .2s ease, box-shadow .2s ease;
}
.lf-gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lf-gallery-clickable { cursor: zoom-in; }
.lf-gallery-clickable:hover { transform: scale(1.02); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.lf-gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 10px 14px;
    background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,0));
    color: #FFFFFF;
    font-size: 12.5px;
    line-height: 1.4;
}
.lf-block-gallery.lf-block-carousel .swiper-slide { width: auto; max-width: 340px; }
.lf-block-gallery.lf-block-carousel .lf-gallery-tile { aspect-ratio: 4 / 3; margin: 0 8px; }

/* ──── CAROUSEL (Swiper) — used by Hero and Image Gallery ──── */
.lf-block-carousel { position: relative; }
.lf-block-carousel .swiper { width: 100%; }
.lf-block-carousel .swiper-wrapper { display: flex; }
.lf-block-carousel .swiper-slide { flex-shrink: 0; width: 100%; }
.lf-block-carousel .lf-carousel-prev,
.lf-block-carousel .lf-carousel-next {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--border, #E2E8F0);
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--dark, #1A202C);
    font-size: 22px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    transition: background .2s ease, transform .15s ease;
}
.lf-block-carousel .lf-carousel-prev { left: 16px; }
.lf-block-carousel .lf-carousel-next { right: 16px; }
.lf-block-carousel .lf-carousel-prev:hover,
.lf-block-carousel .lf-carousel-next:hover { background: #FFFFFF; transform: translateY(-50%) scale(1.06); }
.lf-block-carousel .lf-carousel-pagination {
    position: absolute; bottom: 20px; left: 0; right: 0; z-index: 5;
    display: flex; justify-content: center; gap: 8px;
}
.lf-block-carousel .swiper-pagination-bullet {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(26,32,44,.3);
    border: none;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
    opacity: 1;
}
.lf-block-carousel .swiper-pagination-bullet-active {
    background: var(--orange, #E8821A);
    transform: scale(1.2);
}
.lf-block-carousel.swiper-effect-fade .swiper-slide { transition-property: opacity; }

@media (max-width: 900px) {
    .lf-cmp-grid { grid-template-columns: 1fr; gap: 16px; }
    .lf-cmp-heading { font-size: 24px; }
    .lf-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .lf-block-carousel .lf-carousel-prev,
    .lf-block-carousel .lf-carousel-next { width: 40px; height: 40px; font-size: 18px; }
}
@media (max-width: 480px) {
    .lf-gallery-grid { grid-template-columns: 1fr; }
    .lf-block-carousel .lf-carousel-prev,
    .lf-block-carousel .lf-carousel-next { display: none; }
}
