/*
Theme Name: Think Small Theme
Theme URI: http://example.com/
Author: Your Name
Description: 내 워드프레스 테마 설명
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: www.gnu.org
Text Domain: lab597
*/

*::selection {
    background-color: #ff9900;
    color: #000;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.site-footer {
    width: 100%;
    margin-top: 100px;
}

.footer-inner {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    border-top: 0.5px solid rgba(128, 128, 128, 0.671);
    padding: 20px 0;
}

.home .footer-inner {
    max-width: 120vh;
}

.single .footer-inner {
    max-width: 160vh;
}

a {
    color: inherit;
    text-decoration: none;
    outline: none;
}

.site-footer a {
    text-decoration: underline;
}

.no-image-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.no-image-box .material-symbols-outlined {
    font-size: 10rem;
}


.post-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: contents;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.sub-post:hover {
    background-color: #fafafa;
    transition: 0.2s;
}

.sub-title-h1 {
    margin: 0;
    color: #000;
}




















/*main*/
.section-main {
    padding-top: 15vh;
    width: 120vh;
    height: 60vh;
    background-color: #ffffff;
    margin-bottom: 5vh;
    overflow: hidden;
    display: flex;
}

.main-post {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 120vh;
    margin: 0 auto;
    flex: 1;
}

.main-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 1;
}

.main-title-h1 {
    font-family: "Noto Sans", sans-serif;
    font-weight: 900;
    font-size: 4.5rem;
    margin: 0;
    letter-spacing: 0em;
    word-break: keep-all;
    display: block;
    line-height: 1.1;
}

.main-title-h1:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.main-title .date {
    margin-top: auto;
    font-size: 1rem;
    color: #000000;
    margin-bottom: 0;
}

.main-image {
    flex: 1;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    display: block;
}

/*sub*/
.section-sub {
    display: flex;
    width: 120vh;
    gap: 40px;
    margin-bottom: 15vh;
}

.sub-post {
    display: flex;
    flex: 1;
    height: auto;
    border: 0.5px solid rgba(128, 128, 128, 0.671);
    padding: 3%;
    box-sizing: border-box;
    gap: 20px;
    align-items: stretch;
}

.sub-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.sub-title-h1 {
    font-family: "Noto Sans", sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin: 0;
}

.sub-title-h1:hover {
    text-decoration: underline;
    text-underline-offset: 1px
}

.sub-title .date {
    margin-top: auto;
    font-size: 1rem;
    color: #000000;
    margin-bottom: 0;
}

.sub-image {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.sub-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: scale-down;
}


/*pagination*/
.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 120vh;
    margin: 5vh auto;
    font-size: 1rem;
}

.pagination-wrapper .material-symbols-outlined {
    display: flex;
    align-items: center;
    font-size: 1rem;
    line-height: 1;
}





/*single*/
.section-post-header {
    width: 90%;
    height: 80vh;
    background-color: #ffffff;
    margin-bottom: 5vh;
    overflow: hidden;
    border-bottom: 1px solid gray;
}

.post-header {
    display: flex;
    width: 100%;
    height: 100%;
}

.post-title {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-title-h1 {
    font-family: "Noto Sans", sans-serif;
    font-weight: 900;
    font-size: 4.5rem;
    line-height: 1.5;
    letter-spacing: 0em;
    margin: 0 0 24px 0;
    word-break: keep-all;
}

.post-featured-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    display: block;
}

.post-article {
    min-height: 100vh;
    width: 90%;
}



@media (max-width: 1100px) {

    main {
        padding-top: 12vh;
    }

    main {
        padding-top: 12vh;
    }

    .section-main {
        padding-top: 0vh;
        width: 95vw;
        max-width: 600px;
        height: auto;
        min-height: 80vh;
        margin-bottom: 6vh;
    }

    .main-post {
        min-height: 100%;
        gap: 20px;
        flex-direction: column-reverse;
    }

    .main-image {
        width: 100%;
        aspect-ratio: unset;
        flex: 2;
        display: flex;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-title {
        aspect-ratio: unset;
        flex: 1;
    }

    .main-title-h1 {
        font-size: 36px;
    }

    .section-sub {
        width: 95vw;
        max-width: 600px;
        flex-direction: column;
        gap: 30px;
        margin-bottom: 10vh;
    }

    .sub-post {
        width: 100%;
        aspect-ratio: auto;
    }


    .section-post-header {
        width: 95vw;
        max-width: 600px;
        height: fit-content;
        min-height: 80vh;
    }

    .post-header {
        display: flex;
        width: 100%;
        height: 80vh;
        flex-direction: column-reverse;
    }

    .post-featured-image {
        flex: 2;
    }


    .post-article {
        width: 100%;
    }

    .pagination-wrapper {
        margin: 0;
    }
}

/*font family*/
.noto-sans-regular {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}