/* ============================================================
   GAMEI4 SINGLE POST
============================================================ */

:root {
    --gi4-orange: #ff5a00;
    --gi4-orange-2: #ff7518;
    --gi4-text: #171717;
    --gi4-gray: #6d727a;
    --gi4-border: #e8e8e8;
    --gi4-light: #fafafa;
}


.gamei4-single-page {
    padding: 22px 0 50px;
    background: #fff;
    color: var(--gi4-text);
}


.gamei4-single-page * {
    box-sizing: border-box;
}


.gi4-single-container {
    width: calc(100% - 40px);
    max-width: 1240px;
    margin: 0 auto;
}


/* ============================================================
   BREADCRUMB
============================================================ */

.gi4-single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;

    overflow: hidden;

    margin-bottom: 25px;

    color: #8a8a8a;

    font-size: 12px;
    white-space: nowrap;
}


.gi4-single-breadcrumb a {
    color: #747474;
}


.gi4-single-breadcrumb a:hover {
    color: var(--gi4-orange);
}


.gi4-single-breadcrumb .current {
    overflow: hidden;
    text-overflow: ellipsis;
}



/* ============================================================
   LAYOUT
============================================================ */

.gi4-single-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    gap: 50px;

    align-items: start;
}


.gi4-single-article {
    min-width: 0;
}



/* ============================================================
   ARTICLE HEADER
============================================================ */

.gi4-single-category {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--gi4-orange) !important;

    font-size: 11px;
    line-height: 1;

    font-weight: 700;

    text-transform: uppercase;
}


.gi4-single-title {
    max-width: 900px;

    margin:
        0
        0
        10px;

    padding: 0;

    color: #171717;

    font-size: 34px;
    line-height: 1.25;

    font-weight: 700;

    letter-spacing: -.5px;
}


.gi4-single-description {
    max-width: 850px;

    margin-bottom: 16px;

    color: #696969;

    font-size: 14px;
    line-height: 1.65;
}



/* ============================================================
   META
============================================================ */

.gi4-single-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}


.gi4-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;

    color: #777;

    font-size: 11px;
}


.gi4-author {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #333;
}


.gi4-author-avatar {
    width: 31px;
    height: 31px;

    border-radius: 50%;

    object-fit: cover;
}


.gi4-author strong {
    font-size: 11px;
    font-weight: 600;
}


.gi4-meta-item {
    display: inline-flex;
    align-items: center;

    gap: 5px;
}


.gi4-meta-item .dashicons {
    width: 15px;
    height: 15px;

    font-size: 14px;
    line-height: 15px;

    color: #777;
}



/* SHARE */

.gi4-single-share {
    display: flex;
    align-items: center;

    gap: 8px;

    flex-shrink: 0;

    color: #888;

    font-size: 11px;
}


.gi4-single-share a,
.gi4-single-share button {
    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    border: 1px solid #e1e1e1;

    border-radius: 50%;

    background: #fff;

    color: #222;

    box-shadow: none;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}


.gi4-single-share a:hover,
.gi4-single-share button:hover {
    border-color: var(--gi4-orange);

    background: var(--gi4-orange);

    color: #fff;
}


.gi4-single-share button .dashicons {
    width: 15px;
    height: 15px;

    font-size: 14px;
    line-height: 15px;
}


.gi4-copy-link.copied {
    border-color: #27a45c;

    background: #27a45c;

    color: #fff;
}



/* ============================================================
   FEATURED IMAGE
============================================================ */

.gi4-single-featured {
    width: 100%;

    margin:
        0
        0
        16px;

    overflow: hidden;

    border-radius: 10px;

    background: #eee;
}


.gi4-single-featured img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 540px;

    object-fit: cover;
}



/* ============================================================
   TOC
============================================================ */

.gi4-article-toc {
    margin:
        0
        0
        22px;

    padding:
        16px
        18px;

    border:
        1px solid
        #ffd7bf;

    border-radius: 8px;

    background:
        linear-gradient(
            120deg,
            #fffaf6,
            #fffdfb
        );
}


.gi4-toc-title {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 10px;

    color: #333;

    font-size: 14px;

    text-transform: uppercase;
}


.gi4-toc-title .dashicons {
    width: 17px;
    height: 17px;

    color: var(--gi4-orange);

    font-size: 16px;
}


.gi4-article-toc ul {
    margin:
        0
        0
        0
        18px;

    padding: 0;
}


.gi4-article-toc li {
    margin: 5px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.55;
}


.gi4-article-toc li.level-3 {
    margin-left: 18px;
}


.gi4-article-toc a {
    color: #444;
}


.gi4-article-toc a:hover {
    color: var(--gi4-orange);
}



/* ============================================================
   CONTENT TYPOGRAPHY
============================================================ */

.gi4-article-content {
    color: #333;

    font-size: 15px;
    line-height: 1.75;
}


.gi4-article-content p {
    margin:
        0
        0
        17px;
}


.gi4-article-content h2 {
    scroll-margin-top: 100px;

    margin:
        30px
        0
        10px;

    padding: 0;

    color: #222;

    font-size: 23px;
    line-height: 1.35;

    font-weight: 700;
}


.gi4-article-content h3 {
    scroll-margin-top: 100px;

    margin:
        24px
        0
        9px;

    padding: 0;

    color: #222;

    font-size: 19px;
    line-height: 1.4;

    font-weight: 700;
}


.gi4-article-content h4 {
    margin:
        20px
        0
        8px;

    font-size: 17px;
}


.gi4-article-content img {
    max-width: 100%;
    height: auto;

    border-radius: 8px;
}


.gi4-article-content
.wp-block-image {
    margin:
        18px
        0
        22px;
}


.gi4-article-content
.wp-block-image img {
    display: block;
}


.gi4-article-content ul,
.gi4-article-content ol {
    margin:
        0
        0
        20px
        22px;
}


.gi4-article-content li {
    margin-bottom: 6px;
}


.gi4-article-content blockquote {
    margin:
        20px
        0;

    padding:
        15px
        20px;

    border-left:
        3px solid
        var(--gi4-orange);

    background: #fff7f1;

    color: #555;
}


.gi4-article-content a {
    color: var(--gi4-orange);
}


.gi4-article-content table {
    width: 100%;

    margin:
        20px
        0;

    border-collapse: collapse;
}


.gi4-article-content th,
.gi4-article-content td {
    padding: 10px;

    border:
        1px solid #ddd;
}



/* ============================================================
   BOTTOM TAG
============================================================ */

.gi4-single-bottom-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 30px;

    padding-top: 20px;

    border-top:
        1px solid #eee;

    font-size: 11px;
}


.gi4-single-bottom-tags a {
    padding:
        6px
        9px;

    border-radius: 5px;

    background: #fff0e7;

    color: var(--gi4-orange);
}



/* ============================================================
   SIDEBAR
============================================================ */

.gi4-single-sidebar {
    min-width: 0;
}


.gi4-single-sidebar-box {
    margin-bottom: 20px;

    padding:
        15px;

    border:
        1px solid
        var(--gi4-border);

    border-radius: 9px;

    background: #fff;
}


.gi4-single-sidebar-title {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 14px;

    color: #292929;

    font-size: 16px;

    text-transform: uppercase;
}


.gi4-single-sidebar-title
.dashicons {
    width: 20px;
    height: 20px;

    color: var(--gi4-orange);

    font-size: 19px;
}



/* RELATED */

.gi4-related-item {
    display: grid;

    grid-template-columns:
        78px
        minmax(0, 1fr);

    gap: 10px;

    padding:
        9px
        0;

    border-bottom:
        1px solid #eee;
}


.gi4-related-thumb {
    display: block;

    width: 78px;
    height: 60px;

    overflow: hidden;

    border-radius: 6px;

    background: #eee;
}


.gi4-related-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.gi4-related-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #202631;

    color: rgba(255,255,255,.5);

    font-size: 11px;
}


.gi4-related-item h4 {
    margin:
        0
        0
        4px;

    padding: 0;

    font-size: 14px;
    line-height: 1.4;

    font-weight: 600;
}


.gi4-related-item h4 a {
    color: #292929;
}


.gi4-related-item h4 a:hover {
    color: var(--gi4-orange);
}


.gi4-related-item > div > span {
    color: #999;
    font-size: 10px;
}


.gi4-sidebar-view-all {
    display: block;

    padding-top: 12px;

    text-align: center;

    color:
        var(--gi4-orange);

    font-size: 11px;
    font-weight: 600;
}



/* ============================================================
   LATEST
============================================================ */

.gi4-latest-item {
    display: grid;

    grid-template-columns:
        24px
        minmax(0, 1fr);

    gap: 8px;

    align-items: center;

    padding:
        9px
        0;

    border-bottom:
        1px solid #eee;
}


.gi4-latest-item:last-child {
    border-bottom: 0;
}


.gi4-latest-number {
    width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 5px;

    background: #f4f4f4;

    color: #444;

    font-size: 10px;
    font-weight: 700;
}


.gi4-latest-item a {
    color: #333;

    font-size: 14px;
    line-height: 1.45;
}


.gi4-latest-item a:hover {
    color: var(--gi4-orange);
}



/* ============================================================
   TAGS SIDEBAR
============================================================ */

.gi4-single-hot-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}


.gi4-single-hot-tags a {
    display: inline-flex;

    padding:
        6px
        8px;

    border-radius: 5px;

    background: #fff0e7;

    color: var(--gi4-orange);

    font-size: 9.5px;

    transition: .2s;
}


.gi4-single-hot-tags a:hover {
    background:
        var(--gi4-orange);

    color: #fff;
}



/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1024px) {

    .gi4-single-layout {
        grid-template-columns:
            minmax(0, 1fr)
            260px;

        gap: 30px;
    }


    .gi4-single-title {
        font-size: 30px;
    }


    .gi4-single-meta {
        gap: 10px 15px;
    }

}



/* ============================================================
   <= 849
============================================================ */

@media (max-width: 849px) {

    .gi4-single-container {
        width: calc(100% - 30px);
    }


    .gi4-single-layout {
        display: block;
    }


    .gi4-single-sidebar {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 15px;

        margin-top: 35px;
    }


    .gi4-single-sidebar-box {
        margin: 0;
    }


    .gi4-single-sidebar-box:last-child {
        grid-column: 1 / -1;
    }


    .gi4-single-title {
        font-size: 28px;
    }

}



/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 549px) {

    .gamei4-single-page {
        padding-top: 14px;
    }


    .gi4-single-container {
        width: calc(100% - 24px);
    }


    .gi4-single-breadcrumb {
        margin-bottom: 18px;

        font-size: 10px;
    }


    .gi4-single-title {
        font-size: 24px;
        line-height: 1.32;
    }


    .gi4-single-description {
        font-size: 13px;
    }


    .gi4-single-meta-row {
        display: block;
    }


    .gi4-single-meta {
        gap: 10px 14px;
    }


    .gi4-single-share {
        margin-top: 13px;
    }


    .gi4-single-featured {
        margin-top: 18px;
    }


    .gi4-single-featured img {
        min-height: 210px;

        object-fit: cover;
    }


    .gi4-article-toc {
        padding:
            14px
            15px;
    }


    .gi4-article-content {
        font-size: 14px;
    }


    .gi4-article-content h2 {
        font-size: 20px;
    }


    .gi4-article-content h3 {
        font-size: 18px;
    }


    .gi4-single-sidebar {
        display: block;

        margin-top: 25px;
    }


    .gi4-single-sidebar-box {
        margin-bottom: 15px;
    }

}