/*
    Theme Name: Acx Divi Child Theme
    Theme URI:  https://acxcom.com/
    Description: Child theme made for Divi.
    Author:     Acxcom
    Author URI: https://www.acxcom.com/
    Template:   Divi
    Version:    2026.1
    Text Domain: acx-divi-child
*/

/*
 * NOTE: The parent (Divi) stylesheet is loaded via the enqueue dependency
 * declared in functions.php (['divi-style']). Do NOT @import it here — that
 * would load Divi's CSS a second time and block first paint.
 */

sup {
    font-size: 50%;
}

/* Hide the WPML "development site" front-end ribbon. */
.otgs-development-site-front-end {
    display: none;
}

/* Prevent media from overflowing their container. */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Visible keyboard focus (accessibility — Divi often removes it). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #0091cd;
    outline-offset: 2px;
}

/* Honour the OS "reduce motion" setting (accessibility + comfort). */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
