/*
 * AQUA CONCEPT — UNIVERSAL TOP ALIGN
 *
 * This plugin NEVER changes:
 * width, max-width, height, min-height, aspect-ratio, object-fit.
 *
 * It only removes/neutralizes vertical space before the first main visual.
 */

html.ac-top-align-ready,
body.ac-top-align-ready {
    --ac-top-align-gap: 0px;
}

/* The script marks exactly one first main visual section/container. */
body .ac-first-visual-section {
    margin-top: calc(-1 * var(--ac-top-align-gap)) !important;
}

/* Remove top spacing only from the marked section itself. */
body .ac-first-visual-section {
    padding-top: 0 !important;
}

/* Remove top spacing from the immediate Elementor inner wrapper only. */
body .ac-first-visual-section > .e-con-inner,
body .ac-first-visual-section > .elementor-container,
body .ac-first-visual-section > .elementor-widget-wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove inline baseline gaps; no resizing. */
body .ac-first-visual-section img {
    display: block;
    vertical-align: middle;
}

/* Never alter dimensions. Intentionally no sizing rules below. */
