/*
Theme Name: Uzaylı Bir Anne Offical Theme
Theme URI: https://uzaylibiranne.com/themes/uzaylibiranneoffical/
Author: Berk Guclukol
Author URI: https://guclukol.net
Description: Gözde Güçlükol için özel olarak tasarlanan wordpress teması. Kullanım tarzına uygun sade ve şık bir tasarım kullanılmıştır.
Requires at least: 6.4
Tested up to: 6.6
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: uzaylibiranneoffical
*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --primary-dark-color: #161b25;
    --primary-light-color: #e2e8f0; /* rgb(226 232 240 / 1) */
    --primary-orange-color: #ef4444;
}





html.translated-rtl {
    direction: rtl;
}

body {
    background: #f8fafc;
    color: #1e293b;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.font-handwriting {
    color: rgb(239 68 68 / 1);
}
.base-title-font {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-style: normal;
}
.blok-title {
    position: relative;
    z-index: 1;
    .small {
        font-weight: 900;
        right: 0;
        left: 0;
        position: absolute;
        font-size: 3rem;
        top: -1rem;
        opacity: .15;
        z-index: -1;
    }
    .large {
        color: rgb(239 68 68 / 1);
        font-family: "Playfair Display", serif;
        font-optical-sizing: auto;
        font-style: normal;
        font-weight: 500;
    }
}
.txt-4xl {
    font-size: 4rem;
    line-height: 1;
}
img.logo {
    width: 10rem;
}
.g-rounded {
    border-radius: .375rem !important;
}
.btn-special-gray,
.btn-special-red,
.btn-link {
    text-decoration: none;
    font-weight: 600;
    border-radius: 10rem;
}
.btn-special-gray {
    padding: .5rem 1rem;
    background-color: rgb(226 232 240 / 1);
    color: #1e293b;
    font-size: .9rem;
    &:hover, &:focus, &:active {
        background-color: rgb(71 85 105 / 1);
        color: white;
    }
}
.btn-special-red {
    padding: 1rem 2.5rem;
    background-color: var(--primary-orange-color);
    color: white;
    &:hover, &:focus, &:active {
      background-color: rgb(185 28 28 / 1);
    }
}

.btn-link {
    text-decoration: none;
    font-weight: 700;
    color: var(--primary-dark-color);
    &:hover, &:active, &:focus {
        color: var(--primary-orange-color);
    }
}

.frame {
    width: 100%;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    .metas {
        line-height: 1;
        display: flex;
        gap: .5rem;
        li {
            &:after {
                content:  "/";
            }
            a {
                color: var(--primary-dark-color);
                text-decoration: none;
                &:hover, &:active, &:focus {
                    color: var(--primary-orange-color);
                }
            }
            &:last-child {
                &:after {
                    content:  "";
                }
            }
        }
    }
    .works-example {
        background-color: white;
        padding: 2.25rem;
        border: 2px solid rgb(226 232 240 / 1);
        border-radius: .375rem;
        .works-list {
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 1fr));
            gap: 1.25rem;
            div {
                filter: drop-shadow(0px 10px 5px rgba(0,0,0,.25));
            }
            img {
                border-radius: .375rem;
            }
        }
    }
    .joinus-box {
        background-color: white;
        padding: 1.25rem;
        border: 2px solid rgb(226 232 240 / 1);
        border-radius: .375rem;

        p {
            color: rgb(51 65 85 / 1);
        }
    }
    .last-post-blog {
        background-color: white;
        padding: 2.25rem;
        border: 2px solid rgb(226 232 240 / 1);
        border-radius: .375rem;
        .posts-list {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 2.25rem;
            a {
                background-color: rgb(226 232 240 / 1);
                text-decoration: none;
                color: black;
                font-weight: 600;
                display: flex;
                flex-direction: column;
                border-radius: .375rem;
                overflow: hidden;
                span {
                    padding: .75rem;
                    font-size: .80rem;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;

                }
                img {
                    /* border-radius: .375rem; */
                }
            }

        }
    }
    .post-thumbnail {
        border-radius: .375rem;
        height: 350px;
        overflow: hidden;
        position: relative;
        img {
            width: 100%;

            position: absolute;
            top: -30%;
        }
    }
    .taglist {
        ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            gap: .25rem;
            li {
                a {
                    &:before {
                        content: "#";
                    }
                    display: flex;
                    background-color: var(--primary-light-color);
                    padding: .25rem .75rem;
                    text-decoration: none;
                    color: var(--primary-dark-color);
                    font-size: .8rem;
                    border-radius: .375rem;
                }
            }
        }
    }
    .article-header {
        position: relative;
        border-radius: .375rem !important;
        background-position: center; /* Center the image */
        background-repeat: no-repeat; /* Do not repeat the image */
        background-size: cover; /* Resize the background image to cover the entire container */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 10rem 2rem;
        z-index: 1;
        overflow: hidden;
        &:before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            background-color: rgba(255,255,255,.5);
            right: 0;
            bottom: 0;
            z-index: -1;
        }
    }
}

header {
    margin: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgb(226 232 240);
    ul#menu-primary {
        display: flex;
        gap: .5rem;
        li {
            a {
                padding: .25rem 0;
                text-decoration: none;
                font-weight: 500;
                color: black;
                &:hover, &:active, &:focus {
                    color: rgb(239 68 68 / 1);
                }
            }
        }
    }
    .gtranslate_wrapper {
        display: flex;
        gap: 0.5rem;

        a {
            img {
                width: 1.5rem;
                height: 1.5rem;
                border-radius: 50%;
            }
        }
    }
}

footer {
    border-top: 2px solid rgb(226 232 240 / 1);
    background-color: white;
    padding: 2rem 0;

    .logo {
        width: 8rem;
    }

    .connect-btn {
        padding: 1rem 0;
        margin: 1rem 0;
        border-bottom: 1px solid rgb(226 232 240);
        border-top: 1px solid rgb(226 232 240);
    }
}

aside.widget {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light-color);
    ul, figure {
        margin: 0;
    }
    ul.wp-block-latest-posts__list {
        li {
            a {

                width: 100%;
                display: block;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
        }
    }
    ul {
        list-style: none;
        padding: 0;
        li {
            margin-top: .5rem;
            padding-top: .5rem;
            border-top: 1px solid var(--primary-light-color);
            a {
                &:before {
                    content: "• ";
                }
                text-decoration: none;
                color: var(--primary-dark-color);
                font-weight: 600;
                &:hover {
                    color: var(--primary-orange-color);
                }
            }
        }
    }
}
#search-form {
    svg {
        height: 1rem;
    }
}
.uba-posts-nav {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    .prev-post, .next-post {
        a {
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: var(--primary-dark-color);
            &:hover, &:active, &:focus {
                color: var(--primary-orange-color);
                text-decoration: none;
            }
            span {
                font-size: .75rem;
                opacity: .5;

            }
        }
    }
    .next-post {
        a {
            align-items: flex-end;
        }
    }
}
.section-divider {
    background: url('assets/dots-repeat-gray.svg');
    height: 15px;
    margin: 1rem 0;
}
.img-full {
    width: 100%;
    max-width: 100%;
}
.wp-block-quote {
    border-left: 5px solid var(--primary-orange-color);
    background-color: white;
    padding: 1.2rem;
    position: relative;
    font-weight: 600;
    font-style: italic;
    border-radius: .375rem;
    filter: drop-shadow(0px 5px 5px rgba(0,0,0,.05));
    p {
        margin: 0;
    }
    &::before,
    &::after {
        content: '';
        position: absolute;
        background: url("assets/format_quote_icon.svg") no-repeat center;
        width: 32px;
        height: 32px;
        opacity: .15;
    }
    &::before {
        top: .5rem;
        left: .5rem;
        transform: rotate(180deg);
    }
    &::after {
        right: .5rem;
        bottom: .5rem;
    }


}
@media screen and (max-width: 600px) {
    .uba-posts-nav {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        .next-post {
            a {
                align-items: flex-start;
            }
        }
    }
    header {
        flex-direction: column;
        gap: 1.5rem;
        margin: 1rem;
    }
    .frame {
        padding: 1rem;
        .works-example {
            padding: 1rem;
            .works-list {
                gap: 1rem;
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }
        .metas {
            flex-direction: column;
            li {
                &:after {
                    content:  "";
                }
            }
        }
        .last-post-blog {
            padding: 1rem;
            .posts-list {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 1rem;
            }
        }
    }
    .blok-title {
        .small {
            font-size: 2rem;
        }
    }
    .txt-4xl {
        font-size: 2.5rem;
    }
    .row {
        flex-direction: column;
    }
}