/*
Theme Name: Selma24
Theme URI: https://selmamakela.com
Author: Ian Maleney
Author URI: https://fallowmedia.com
Description: Minimal artist theme.
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: selma24
Tags: accessibility-ready, blog, portfolio, news, minimal
*/


:root {
    --lavender: rgba(223, 220, 231, 0.6);
    --blue: #83b1e5;
    --cream: rgba(255, 249, 231, 0.75);
    --system: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: var(--lavender);
    font-family: var(--system);
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 3vw 0;
}

.primary-header__title {
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: #111;
    text-decoration: none;
    font-variant: all-small-caps;
    margin: 0;
}

.primary-header__title:hover {
    color: var(--blue);
    text-decoration: none;
}

.menu-main-menu-container ul {
    list-style: none;
    padding-left: 0;
    display: flex;
}

.menu-main-menu-container li {
    padding: 0 12px;
    font-variant: all-small-caps;
}

.menu-main-menu-container li a {
    color: #111;
    text-decoration: none;
}
.menu-main-menu-container li a:hover {
    color: var(--blue);
}

.home-page-image-wrapper {
    margin: 0 auto;
    max-width: 80vw;
}

.home-page-image, 
.home-page-image-wrapper img {
    object-fit: contain;
    max-width: 100%;
}

.page main, .archive main {
    margin: 10vw;
}

.single main {
    margin: 10vw auto;
    max-width: 80vw;
}

.page main p {
    font-size: 1.1rem;
    line-height: 1.45;
    max-width: 60ch;
    font-weight: 300;
}

.single main p, .archive-module__content p {
    max-width: 70ch;
    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 300;
}

figure.wp-block-gallery.has-nested-images {
    max-width: 80vw;
    margin: 0 auto;
}

.listed-archive-post-wrapper {
    margin: 0 0 60px;
    padding-bottom: 8px;
}

.archive-module__title, h1.post-header {
    font-variant: all-small-caps;
    font-size: 2.5rem;
    font-weight: 400;
    display: inline-block;
    padding-bottom: 4px;
    color: #111;
    text-decoration: none;
    line-height: 0.9;
    max-width: 35ch;
}

.archive-module__title:hover {
    color: var(--blue);
    text-decoration: none;
}

.work-archive {
    border-bottom: 1px solid;
}

.work-archive .archive-module__title {
    font-size: 3.5rem;
    border-bottom: 3px solid #111;
    display: block;
    margin-bottom: 8px;
    font-variant: all-small-caps;
    padding-bottom: 4px;
    font-weight: 400;
}

footer {
    /* background-color: var(--cream); */
    padding: 6vw 3vw 2vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

p.copyright {
    margin: 0;
}

.ac-logo {
    height: 80px;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
    display: none;
}

figcaption {
    background: none !important;
}


@media (max-width: 740px) {
    header {
        flex-wrap: wrap;
        justify-content: center;
    }
    .primary-header__title {
        font-size: 2rem;
    }
    .primary-header__nav--container {
        flex: 1 0 100%;
    }
    .menu-main-menu-container {
        display: flex;
        justify-content: center;
    }
    .menu-main-menu-container ul {
        margin-top: 2rem;
    }
    .page main, .archive main, .single main {
        margin: 4vw 0;
        max-width: 100%;
        padding: 0 2vw;
    }
    .home-page-image-wrapper {
        margin: 0 auto;
        max-width: 100%;
    }
    .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
        width: calc(100% - 20px) !important;
    }
    figure.wp-block-gallery.has-nested-images {
        max-width: 98vw;
    }
    .listed-archive-post-wrapper:not(.work-archive) {
        max-width: 100%;
        padding-left: 0;
        border-left: none;
    }
    .archive-module__title, h1.post-header {
        font-size: 2rem;
    }

    footer {
        margin-top: 15vw;
        flex-wrap: wrap;
    }

    .c-support-logos {
        margin-top: 2rem;
    }
}

@media (min-width: 740px) and (max-width: 1040px) {
    .page main, .archive main, .single main {
        margin: 8vw;
        max-width: 100%;
    }
}

@media (min-width: 1041px) {
    .listed-archive-post-wrapper:not(.work-archive) {
        max-width: 70ch;
        padding-left: 1.5rem;
        border-left: 1px solid #111;
    }
}
@media (min-width: 1100px) {
    .page main {
        margin: 4vw 10vw;
    }
}