/*
Theme Name: CCLJ Modern
Author: Alec Fernandes
Version: 1.0
*/

body {
    min-width: 325px;
    color: var(--body-text-color);
    margin: 0;

    &,
    * {
        box-sizing: border-box;
        text-wrap: pretty;
    }

    #column-wrapper * {
        text-wrap: initial;
    }
}

a {
    color: var(--body-link-color);
    text-decoration: none;
    transition:
        box-shadow 0.5s,
        color 0.5s;

    &:hover {
        color: var(--heading-text-color);
        text-decoration: underline;
    }

    &:has(img) {
        width: fit-content;
        display: flex;
    }
}

#sb_instagram a:has(img) {
    width: auto;
}

button,
input[type="submit"] {
    appearance: none;
    background-color: var(--body-link-color);
    border: 0;
    border-radius: 3px;
    color: #fff;
    padding: 0.5em 1em;
    transition: 0.5s;

    &:not(.menu-toggle):hover {
        background-color: var(--heading-text-color);
        cursor: pointer;
    }
}

hr {
    height: 2px;
    background-color: var(--title-bg-color-1);
    border: 0;
    margin: 2rem 0;
}

img {
    height: auto;
    max-width: 100%;
}

ul#icons {
    display: flex;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;

    a {
        &:has(img) {
            &:has(img.social) {
                background-color: var(--landing-page-link-color);
                border: 1.5px solid var(--landing-page-link-color);
                border-radius: 50%;
                box-shadow: var(--link-shadow);
            }
        }
    }

    img {
        height: 24px;

        &.social {
            height: 25px;
            border-radius: 50%;
            filter: invert(1);
        }
    }
}

.page-content.blog-list {
    img {
        max-width: 400px;
        width: 100%;
    }
}

nav.post-navigation {
    display: flex;
    justify-content: space-between;
}

.wp-block-audio audio {
    min-width: auto !important;
}
