/* =========================================================
   Shrang Theme Overrides
   ========================================================= */

/*
   This file is kept for compatibility with WordPress themes.
   Flex Mag-specific spacing fixes were removed because Shrang now uses
   its own lightweight theme.
*/

/* Keep Shrang app pages visually clean inside WordPress themes */

.sharang-generator-wrap,
.sharang-recent-clips,
.sharang-my-clips,
.shrang-account-page,
.shrang-home-section,
.shrang-info-page,
.sharang-result-page {
    clear: both;
}

.sharang-generator-wrap a,
.sharang-recent-clips a,
.sharang-my-clips a,
.shrang-account-page a,
.shrang-home-section a,
.shrang-info-page a,
.sharang-result-page a {
    text-decoration-thickness: auto;
}

/* Prevent theme styles from making Shrang form fields too small */

.sharang-generator-form select,
.sharang-generator-form textarea,
.shrang-account-form input[type="text"],
.shrang-account-form input[type="email"],
.shrang-account-form input[type="password"] {
    min-height: 44px;
    box-shadow: none;
}

/* Prevent theme styles from adding unwanted link/button decoration */

.sharang-action-buttons a,
.shrang-account-toolbar-actions a,
.shrang-account-link a,
.shrang-home-primary,
.shrang-home-secondary {
    text-decoration: none !important;
}

/* Keep audio players from overflowing inside containers */

.sharang-result audio,
.sharang-result-page audio,
.sharang-recent-card audio,
.sharang-my-clip-card audio {
    max-width: 100%;
}