/*
Theme Name: UGLYI Child Theme
Description: Child theme of Listmode for UGLYI - AI Image Style Transfer
Author: UGLYI Team
Template: listmode
Version: 1.0.0
*/

/* Import parent theme styles */
@import url("../listmode/style.css");

/* WordPress admin bar compatibility */
.admin-bar {
    --wp-admin--admin-bar--height: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar {
        --wp-admin--admin-bar--height: 46px;
    }
}

/* WordPress alignment classes */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress gallery styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5em;
}

.gallery-item {
    display: block;
}

.gallery-caption {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* Screen reader text */
.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 !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Skip link */
.skip-link {
    left: -9999em;
    position: absolute;
    top: -9999em;
}

.skip-link:focus {
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 6px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 7px;
    width: auto;
    z-index: 100000;
}

/* WordPress content area adjustments */
body.uglyi-landing-page {
    font-family: 'Arial Black', Arial, sans-serif;
    line-height: 1.6;
}

/* Ensure UGLYI pages use brutalist design */
.uglyi-landing-page {
    font-family: 'Arial Black', Arial, sans-serif;
}

/* WordPress block editor compatibility */
.wp-block-group,
.wp-site-blocks,
.wp-block-post-content {
    background-color: transparent;
}

/* Clearfix for WordPress floated elements */
.wp-block-group::after,
.entry-content::after {
    content: "";
    display: table;
    clear: both;
} 