#masonry-grid {
    height: auto !important;
    display: flex;
    flex-wrap: wrap;
}

#masonry-grid .post-element {
    position: relative !important;
    top: unset !important;
    left: unset !important;
    flex: 0 0 calc(25% - 12px);
    margin-left: 15px;
    margin-bottom: 15px;
    transform: none !important;
}

/* Hard Override: Hides the original Jannah Titles */
.archive.category .media-page-layout .thumb-overlay .thumb-title,
.search-results .media-page-layout .thumb-overlay .thumb-title {
    display: none !important;
    opacity: 0 !important;
}

.archive.category .thumb-overlay .thumb-overlay,
.search-results .thumb-overlay .thumb-overlay {
    padding-right: 20px;
    padding-left: 20px;
}

.archive.category .thumb-overlay .thumb-content,
.search-results .thumb-overlay .thumb-content {
    padding-right: 20px;
    padding-left: 20px;
}

.media-page-layout .thumb-overlay .thumb-title {
    text-align: center;
}

.archive.category #masonry-grid .post-element {
    flex: 0 0 calc(20% - 12px);
    margin-left: 15px;
}

.archive.category #masonry-grid .post-element:nth-child(5n+1) {
    margin-left: 0;
}

.archive.category.full-width .media-page-layout .post-element .slide {
    height: 320px !important;
}

#masonry-grid .post-element:nth-child(4n+1) {
    margin-left: 0;
}

.media-page-layout .post-element .slide {
    height: 270px !important;
    background-position: left top !important;
}

.full-width .media-page-layout .post-element .slide {
    height: 320px !important;
}

@media (max-width: 990px) {
    #masonry-grid .post-element {
        flex: 0 0 calc(50% - 20px);
    }

    #masonry-grid .post-element:nth-child(3n+1) {
        margin-left: 15px;
    }

    #masonry-grid .post-element:nth-child(2n+1) {
        margin-left: 0;
    }

    .media-page-layout .post-element .slide {
        height: 520px !important;
    }

    .archive.category #masonry-grid .post-element {
        flex: 0 0 calc(33% - 10px);
        margin-left: 15px;
    }

    .archive.category #masonry-grid .post-element:nth-child(5n+1) {
        margin-left: 15px;
    }

    .archive.category #masonry-grid .post-element:nth-child(3n+1) {
        margin-left: 0;
    }

    .archive.category.full-width .media-page-layout .post-element .slide {
        height: 360px !important;
    }
}

@media (max-width: 670px) {
    .home #tie-block_2343 {
        display: none !important;
    }

    #tie-body #masonry-grid .post-element {
        flex: 0 0 calc(50% - 5px);
        margin-left: 5px;
        margin-bottom: 5px;
    }

    #tie-body #masonry-grid .post-element:nth-child(5n+1) {
        margin-left: 5px;
    }

    #tie-body #masonry-grid .post-element:nth-child(3n+1) {
        margin-left: 5px;
    }

    #tie-body #masonry-grid .post-element:nth-child(2n+1) {
        margin-left: 0;
    }

    #tie-body .media-page-layout .post-element .slide {
        height: 340px !important;
    }
}

@media (max-width: 450px) {
    #tie-body .media-page-layout .post-element .slide {
        height: 240px !important;
    }
}

@media (max-width: 319px) {
    #tie-body #masonry-grid .post-element {
        flex: 0 0 100%;
        margin-left: 0;
    }

    #tie-body.full-width .media-page-layout .post-element .slide {
        height: 290px !important;
    }
}

.tagmetafield {
    position: absolute;
    top: 2px;
    margin: 0;
    right: 2px;
    background: #FF0505;
    ;
    color: #fff;
    padding: 0 6px;
    font-size: 12px;
    line-height: 1.85em;
    white-space: nowrap;
    word-wrap: normal;
    letter-spacing: 0;
    transition: 0.3s;
    border-radius: 10px;
    z-index: 3;
}

/* thumbnail container */
.post-thumb {
    position: relative;
    overflow: hidden;

    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .05);

    background: #111;

    box-shadow:
        0 4px 10px rgba(0, 0, 0, .25),
        0 12px 24px rgba(0, 0, 0, .15);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

/* Hover */
.post-thumb:hover {
    transform: translateY(-5px);

    border-color: rgba(255, 255, 255, .12);

    box-shadow:
        0 16px 36px rgba(0, 0, 0, .38),
        0 0 12px rgba(255, 50, 50, .12);
}

/* title overlay */
.the-post-title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 14px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;

    color: #fff;
    z-index: 2;

    /* IMPORTANT: stronger readability */
    text-shadow:
        0 2px 8px rgba(0, 0, 0, .9),
        0 0 2px rgba(0, 0, 0, .6);

    background: linear-gradient(to top,
            rgba(0, 0, 0, .98) 0%,
            rgba(0, 0, 0, .85) 40%,
            rgba(0, 0, 0, .35) 75%,
            transparent 100%);

    opacity: 0;
    transform: translateY(10px);

    transition:
        opacity .22s ease,
        transform .22s ease;
}

/* image animation */
.post-thumb img {
    transition: transform .28s ease, filter .28s ease;
}

.post-thumb:hover .the-post-title {
    opacity: 1;
    transform: translateY(0);
}

.post-thumb::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,.85) 0%,
        rgba(0,0,0,.45) 60%,
        rgba(0,0,0,.15) 100%
    );

    opacity: 0;
    transition: opacity .25s ease;

    pointer-events: none;
    z-index: 1;
}

.post-thumb:hover::after {
    opacity: 1;
}

.widget.posts-list .post-widget-thumbnail img {
    width: 70px;
    height: 105px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .related-posts-list .related-item {
        flex: 0 0 50%;
    }
}

#tie-body .mag-box .posts-items-loaded-ajax {
    margin-top: 0 !important;
}

#tie-body .mag-box.big-posts-box .posts-items li .post-details {
    padding-left: 0;
    display: none;
}

#tie-body .mag-box .posts-items li {
    margin-top: 0
}

#tie-body .mag-box .posts-items li a:hover .the-post-title {
    opacity: 1;
}

#tie-body .mag-box .post-thumb img {
    width: 100%;
    display: block;
    height: 280px;
    object-fit: cover;
    object-position: center;
}

.archive#tie-body .mag-box .post-thumb img {
    width: 210px;
}

.archive#tie-body .wide-post-box .posts-items li .post-thumb {
    flex: none;
    width: auto;
}

.archive#tie-body .mag-box .posts-items li:nth-child(1n+1) {
    margin-top: 20px;
}

.search#tie-body .mag-box .post-thumb img {
    height: 520px;
    margin-top: 20px;
}

@media (max-width: 670px) {
    #tie-body .mag-box .post-thumb img {
        height: 250px;
    }

    #tie-body .mag-box.big-posts-box .posts-items li {
        width: 50%;
        padding: 0 2%;
    }

    #tie-body .mag-box.big-posts-box .posts-items li:nth-child(2n+1) {
        padding-right: 5px;
    }

    #tie-body .mag-box.big-posts-box .posts-items li:nth-child(2n) {
        padding-left: 5px;
    }

    .search#tie-body .mag-box .post-thumb img {
        height: 450px;
    }
}

@media (max-width: 319px) {
    #tie-body .mag-box.big-posts-box .posts-items li {
        width: 100%;
    }
}

@media (min-width: 670px) {
    #tie-body .full-width .mag-box.big-posts-box .posts-items li:nth-child(3n+1) {
        clear: none;
    }

    #tie-body .full-width .mag-box.big-posts-box .posts-items li {
        width: calc(100% / 3);
        padding: 0 5px;
    }

    #tie-body .full-width .big-posts-box .posts-items {
        margin: 0 -5px;
    }
}

@media (min-width: 920px) {
    #tie-body .full-width .mag-box.big-posts-box .posts-items li {
        width: calc(100% / 6);
        padding: 0 5px;
    }
}

ul.page-numbers {
    list-style: none;
    margin: 0;
}

.page-numbers:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

ul.page-numbers li {
    display: block;
    float: left;
    margin: 0 4px 4px 0;
    text-align: center;
}

.page-numbers a,
.page-numbers span {
    line-height: 1.6em;
    display: block;
    padding: 0 6px;
    height: 18px;
    line-height: 18px;
    font-size: 12px;
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
    border: 1px solid #ddd;
    color: #888;
}

.page-numbers a span {
    padding: 0
}

.page-numbers a:hover,
.page-numbers.current,
.page-numbers.current:hover {
    background-color: #733d91;
    color: #FFFFFF;
    border-color: #733d91;
    line-height: 36px;
    padding: 0 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    display: inline-block;
    overflow: hidden;
}

.page-numbers:hover {
    text-decoration: none
}

#tiepost-1164-section-378 .mag-box-title {
    justify-content: center;
}

.archive.category header.entry-header-outer,
.page-id-10794 header.entry-header-outer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.archive.category .page-title,
.page-id-10794 .post-title {
    background: #733d91;
    color: #ffffff;
    font-size: 30px;
    font-weight: 500;
    width: fit-content;
    padding: 5px 10px;
    align-self: center;
}

.az-link-links-block-link {
    height: 36px !important;
    padding: 0 10px !important;
}

.az-link-links-block-link:hover {
    padding: 0 10px !important;
}

.az-link-links-block-link.current {
    background-color: #733d91;
    color: #fff !important;
    border-color: #733d91;
}

.az-list-item {
    list-style: disc;
}

.az-list-container {
    margin-bottom: 10px;
}

.az-list-header {
    margin-bottom: 10px;
    padding: 5px 20px;
    background: #733d91;
    color: #ffffff;
    text-align: center;
}

.az-list {
    display: grid;
    grid-column-gap: 20px;
    grid-template-columns: 1fr 1fr 1fr;
    padding-left: 35px;
    margin-right: 20px;
}

@media (max-width: 990px) {
    .az-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 670px) {
    .az-list {
        grid-template-columns: 1fr;
    }
}

.updated-list-date {
    display: flex;
    align-items: center;
    padding: 8px 18px;
    margin: 30px 0 15px;
    background: linear-gradient(90deg, #7d46a2, #9252b6);
    border-radius: 16px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .5px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .15);
    justify-content: space-between;
}

.updated-list {
    list-style: none;
    margin: 0;
    padding: 0 32px;
}

.updated-card-title {
    font-size:15px;
    font-weight:600;
    line-height:1.3;
    color: #8048A5;
}

.dark-skin .updated-card-title {
    color: #fff;
}

.updated-list-item:hover .updated-card-title {
    color: #9900ff;
    transition: color .2s ease;
}

.dark-skin .updated-list-item:hover .updated-card-title {
    color: #d79dff;
    transition: color .2s ease;
}

.updated-list-item:hover .updated-list-build {
    background: linear-gradient(90deg, #7d46a2, #9252b6);
    border-color: #d79dff;
    color: #fff;
    box-shadow:
        0 0 12px rgba(177, 108, 255, .45),
        inset 0 1px rgba(255, 255, 255, .15);
}

.updated-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 7px 14px;
    text-decoration: none;
    color: inherit;
}

.updated-card:hover {
    color: inherit;
}

.updated-list-item {
    display: flex;
    margin-bottom: 6px;
    background: #fcfcfc;
    border: 1px solid #e6e6e6;
    border-left: 4px solid #8d55b1;
    border-radius: 8px;
    overflow: hidden;
    transition: all .2s ease;
    padding: 0;
}

.dark-skin .updated-list-item {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .08);
}

.dark-skin .updated-list-item a {
    color: #f2e8ff;
}

.updated-list-item:hover {
    transform:translateY(-2px);
    border-color: #9e63c9;
    box-shadow:0 6px 18px rgba(155,92,255,.18);
}

.updated-list-build {
    display: inline-block;
    padding: 3px 10px;
    flex-shrink: 0;
    text-align:center;
    border-radius: 20px;
    background: transparent;
    border: 1px solid #b26bdd;
    color: #8048A5;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow:
        0 0 10px rgba(177,108,255,.35),
        inset 0 1px rgba(255,255,255,.2);
}

.dark-skin .updated-list-build {
    color: #fff;
}

.updated-list-item a {
    color: #222;
    font-weight: 600;
    text-decoration: none;
}

.updated-list-item a:hover {
    color: #fff;
}

.updated-list-block {
    margin-bottom: 10px;
}

.updated-list-summary {
    text-align: center;
    margin: 0 0 22px;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
}

.dark-skin .updated-list-summary {
    color: #ececec;
}

.updated-list-summary strong {
    color: #b26bdd;
    font-size: 24px;
    font-weight: 700;
}

.dark-skin .updated-list-summary strong {
    color: #d79dff;
}

/* =========================
   SLIDER BASE RESET
========================= */

.boxed-slider .slick-list {
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Slick performance hint */
.slick-track {
    will-change: transform;
}

.boxed-slider .tie-slick-slider {
    overflow: hidden;
    padding-bottom: 25px;
}

/* =========================
   MODERN CARD LOOK (SAFE UI UPGRADE)
========================= */

.boxed-slider .slide {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.boxed-slider .slide::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: inherit;
    background-size: cover;
    background-position: center;

    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.35s ease;

    z-index: 0;
}

.tie-main-slider[data-slider-id="7"] .slide:hover::before {
    transform: scale(1.06);
    filter: brightness(0.55);
}

.boxed-slider .thumb-content,
.boxed-slider .thumb-overlay,
.boxed-slider .all-over-thumb-link {
    position: relative;
    z-index: 2;
}

.boxed-slider .all-over-thumb-link {
    position: absolute !important;
    inset: 0;
    z-index: 3;
    /* must be above image, below text */
    display: block;
}

/* =========================
   IMAGE OVERLAY (MODERN CLEAN STYLE)
========================= */

.tie-main-slider[data-slider-id="7"] .thumb-overlay {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0) 40%,
            transparent);
}

/* =========================
   TYPOGRAPHY CLEAN MODERN LOOK
========================= */

.tie-main-slider[data-slider-id="7"] .thumb-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.tie-main-slider[data-slider-id="7"] .thumb-title a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.tie-main-slider[data-slider-id="7"] .thumb-title .game-meta-line {
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 4px;
    opacity: 1;
}

.boxed-slider .tie-slick-dots {
    position: relative !important;

    display: flex !important;
    justify-content: center;
    align-items: center;

    gap: 5px;
    bottom: -25px !important;
    margin-top: 14px !important;
    margin-bottom: 6px !important;

    padding: 0;
    list-style: none;

    opacity: 1 !important;
    visibility: visible !important;

    height: auto !important;

    z-index: 10;
}

/* =========================
   SLIDER HOVER EFFECT (MATCH POSTS)
========================= */

/* make sure slider item behaves like card */
.boxed-slider .slide {
    position: relative;
}


/* hide title by default (like post title) */
.tie-main-slider[data-slider-id="7"] .thumb-title {
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    padding: 14px;

    text-align: center;

    opacity: 0;
    transform: translateY(15px);

    transition: opacity .18s ease, transform .18s ease;

    z-index: 3;
}

.tie-main-slider[data-slider-id="7"] .thumb-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* show title on hover */
.tie-main-slider[data-slider-id="7"] .slide:hover .thumb-title {
    opacity: 1;
    transform: translateY(0);
}

/* overlay fade like posts */
.tie-main-slider[data-slider-id="7"] .thumb-overlay {
    opacity: 0;
    transition: opacity .18s ease;
}

.tie-main-slider[data-slider-id="7"] .slide:hover .thumb-overlay {
    opacity: 1;
}

/* ====================================
   SEARCH & CATEGORY MASONRY HOVER FIX
==================================== */

/* hover trigger */
.search #masonry-grid .slide,
.archive.category .media-page-layout .slide {
    position: relative;
    transition: transform .25s ease;
    overflow: hidden;
}

.search #masonry-grid .slide:hover,
.archive.category .media-page-layout .slide:hover {
    transform: scale(1.02);
}

/* hide original Jannah title */
.search #masonry-grid .thumb-title {
    display: none !important;
    opacity: 0 !important;
}

/* hover title with integrated readability gradient */
.search #masonry-grid .the-post-title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;

    padding: 35px 14px 15px 14px;

    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 !important;

    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.90) 0%,
            rgba(0, 0, 0, 0.45) 70%,
            transparent 100%);

    opacity: 0 !important;
    transform: translateY(15px);
    z-index: 10;

    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}

/* Smoothly reveal title and its gradient on hover */
.search #masonry-grid .slide:hover .the-post-title,
.archive.category .media-page-layout .slide:hover .the-post-title {
    opacity: 1 !important;
    transform: translateY(0);
}

/* Soft overall image dimming on hover */
.search #masonry-grid .slide:hover .thumb-overlay,
.archive.category .media-page-layout .slide:hover .thumb-overlay {
    background: linear-gradient(
        to top,
        rgba(0,0,0,.80),
        rgba(0,0,0,.45)
    );
}

/* Background image blur element */
.search #masonry-grid .slide::before,
.archive.category .media-page-layout .slide::before {
    display: none !important;
}

.search #masonry-grid .slide:hover::before,
.archive.category .media-page-layout .slide:hover::before {
    opacity: 1;
}

/* keep content layer above the blur layer */
.search #masonry-grid .thumb-overlay,
.archive.category .media-page-layout .thumb-overlay {
    position: relative;
    z-index: 2;
}

.search #masonry-grid .thumb-overlay:after,
.archive.category .media-page-layout .thumb-overlay:after {
    display: none !important;
}

/* 1. Base Icon - Perfectly Timed Cycle */
.random-post-icon .tie-icon-random:before {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 28px;
    display: inline-block;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: dice-cycle-rotate 6s infinite;
    content: "\f525";
}

/* 2. Hover - Instant Spin to 1 */
.random-post-icon a:hover .tie-icon-random:before {
    content: "\f525" !important;
    transform: rotate(1440deg);
    animation: none !important;
}

/* 3. Balanced Keyframes for all 6 Faces */
@keyframes dice-cycle-rotate {

    0%,
    14% {
        content: "\f525";
        transform: rotate(0deg);
    }

    16.6%,
    30% {
        content: "\f528";
        transform: rotate(360deg);
    }

    33.3%,
    47% {
        content: "\f527";
        transform: rotate(720deg);
    }

    50%,
    64% {
        content: "\f524";
        transform: rotate(1080deg);
    }

    66.6%,
    80% {
        content: "\f523";
        transform: rotate(1440deg);
    }

    83.3%,
    97% {
        content: "\f526";
        transform: rotate(1800deg);
    }

    100% {
        content: "\f525";
        transform: rotate(2160deg);
    }
}

/* 4. The Particles - Now using currentColor */
.random-post-icon a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    position: relative;
}

.random-post-icon a:after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    box-shadow: 18px -12px, -15px -18px, -20px 10px, 15px 20px, 0px -25px;
    animation: random-pop 3s infinite ease-in-out;
}

.random-post-icon a:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    box-shadow: -10px -22px, 25px -5px, -12px 22px;
    animation: random-pop 4s infinite ease-in-out 1.5s;
    opacity: 0;
}

@keyframes random-pop {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.4);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
        filter: drop-shadow(0 0 5px currentColor);
    }
}

.archive.category .media-page-layout .the-post-title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;

    padding: 35px 14px 15px 14px;

    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;

    text-align: center;
    margin: 0 !important;

    color: #fff;
    font-size: 20px !important;
    font-weight: 600;
    line-height: 1.4;

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.90) 0%,
            rgba(0, 0, 0, 0.45) 70%,
            transparent 100%);

    opacity: 0 !important;
    transform: translateY(15px);
    z-index: 10;

    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}

.the-post-title .game-meta-line {
    display: block;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 5px;
    opacity: 1;
}

/* =========================
   BOXED 5 SLIDES - STEAM STYLE FIX
========================= */

.boxed-five-slides-slider .slide {
    height: 221px !important;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* overlay */
.boxed-five-slides-slider .slide:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(115, 70, 170, 0.45);
    transition: opacity 0.35s ease;
    z-index: 1;
}

.boxed-five-slides-slider .slide:hover:before {
    opacity: 0;
}

/* MAIN POSITIONING LAYER */
.boxed-five-slides-slider .thumb-content {
    position: absolute !important;

    left: 0 !important;
    top: 50% !important;

    width: 100%;
    height: auto;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    transform: translateY(-50%);

    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

/* hover → move down */
.boxed-five-slides-slider .slide:hover .thumb-content {
    transform: translateY(10px);
}



/* TITLE FIX (important for your A N I / M E issue) */
.boxed-five-slides-slider .thumb-title {
    display: inline-block;
    text-align: center;

    background: rgba(255, 255, 255, 0.92);
    color: #111 !important;

    padding: 8px 16px;
    border-radius: 4px;

    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    white-space: nowrap;
}   

.boxed-five-slides-slider .thumb-overlay .thumb-title a {
    color: #111 !important;
}

/* =========================
   Modern Purple Load More#14082C
   ========================= */

.show-more-button,
.block-pagination.next-posts.show-more-button.load-more-button {
    margin: 20px auto;
    /* Size */
    height: 48px;
    line-height: 48px;
    padding: 0 24px;

    /* Appearance */
    border: 1px solid rgba(0, 0, 0, .12);

    font-weight: 600;
    font-size: 14px;
    letter-spacing: .2px;
    text-align: center;

    /* Modern subtle depth */
    box-shadow:
            0 2px 20px -8px #000,
            inset 0 1px 0 rgba(255, 255, 255, .15);

    transition:
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

/* Hover */
.show-more-button:hover,
.block-pagination.next-posts.show-more-button.load-more-button:hover {

    border-color: rgba(115, 61, 145, .5);

    box-shadow:
        0 4px 14px rgba(115, 61, 145, .20),
        inset 0 1px 0 rgba(255, 255, 255, .15);

    transform: translateY(-1px);
}

/* Click */
.show-more-button:active,
.block-pagination.next-posts.show-more-button.load-more-button:active {

    transform: translateY(0);

    box-shadow:
        0 1px 4px rgba(0, 0, 0, .15),
        inset 0 2px 4px rgba(0, 0, 0, .15);
}

/* =========================
   Dark Skin
   ========================= */

.dark-skin .show-more-button,
.dark-skin .block-pagination.next-posts.show-more-button.load-more-button {


    border-color: rgba(255, 255, 255, .08);

    color: #fff;

    box-shadow:
            0 2px 20px -8px rgba(140, 120, 255, .25),
            inset 0 1px 0 rgba(255, 255, 255, .08);
}

.dark-skin .show-more-button:hover,
.dark-skin .block-pagination.next-posts.show-more-button.load-more-button:hover {


    border-color: rgba(255, 255, 255, .12);

    box-shadow:
        0 4px 16px rgba(168, 64, 224, 0.541),
        inset 0 1px 0 rgba(255, 255, 255, .10);
}

.magazine2 .show-more-button,
.block-pagination.next-posts.show-more-button.load-more-button {
    max-width: 170px;
}

.dark-skin #tie-wrapper {
    background-color: #14082D !important;
}

/* .dark-skin #the-post .entry-content,
.dark-skin #the-post #post-extra-info,
.dark-skin .post-components {
    background: transparent !important;
}*/

.block-head-4 .mag-box-title h3 {
    padding: 6px 20px !important;
}

.block-head-4 .mag-box-title h3:before {
    height: 80%;
    top: 10%;
    border-radius: var(--tie-buttons-radius, 2px);
}

.dark-skin .container-wrapper {
    background: transparent !important;
}

/* GCP */

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 340px);
    justify-content: center;
    gap: 50px 28px;
}

/* CARD */
.game-card {
    position: relative;

    background: linear-gradient(135deg, #1b1229, #0f0a18);
    border-radius: 3px;

    overflow: visible;
    transition: 0.2s ease;
    border: 1px solid #733d91;
    animation: cardFade .4s ease;
}

.game-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #410B5F, #2a0a45);
}

/* IMAGE (Steam-like bigger presence) */
.game-thumb {
    width: 100%;
    overflow: hidden;
}

.game-thumb img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    aspect-ratio: 2.14 / 1;
    transition: transform .25s ease;
}

.game-card:hover .game-thumb img {
    transform: scale(1.03);
}

/* TITLE (NO BOX, Steam style) */
.game-info {
    padding: 10px 12px 3px;
}

.game-info h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

/* META (Steam price row style) */
.game-meta {
    position: absolute;
    right: 0;
    top: 100%;

    margin: 0;

    display: flex;
    align-items: center;
    gap: 6px;
}

/* Steam-style small label */
.meta-years,
.meta-tag {
    display: block;

    background: linear-gradient(135deg, #1b1229, #0f0a18);
    color: #fff;
    border: 1px solid #733d91;
    font-size: 12px;
    font-weight: 600;

    padding: 5px 16px;

    border-radius: 3px 0 3px 3px;

    line-height: 1;
}

/* RESPONSIVE */
@media (max-width: 1150px) {
    .games-grid {
        grid-template-columns: repeat(2, 340px);
    }
}

@media (max-width: 760px) {
    .games-grid {
        grid-template-columns: 340px;
    }
}

.game-tabs {
    max-width: 1220px;
    margin: 0 auto 20px auto;

    display: flex;
    justify-content: center;
    gap: 12px;

    padding: 0 20px;
}

.tab-btn {
    flex: 1;

    max-width: 240px;
    /* keeps them controlled */
    min-width: 220px;

    text-align: center;

    padding: 12px 16px;

    font-size: 14px;
    font-weight: 600;

    border-radius: var(--tie-buttons-radius, 2px);

    background: #733d91;
    color: #fff;

    border: none;
    cursor: pointer;

    transition: 0.2s ease;
}

.tab-btn:hover {
    background: #410B5F;
}

.tab-btn.active {
    background: #000000e3;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

@keyframes cardFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-sort {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 0px auto 15px;
    font-size: 12px;
}

.sort-label {
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: 11px;
    color: #8a8a96;
    margin-right: 2px;
}

.dark-skin .sort-label {
    color: #a8a8b4;
}

.sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    background: #f2f1f6;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 5px 12px 5px 8px;

    font-size: 12px;
    font-weight: 600;
    color: #55555f;

    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.dark-skin .sort-btn {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .08);
    color: #c2c2cc;
}

.sort-btn:hover {
    background: #e8e6f2;
    color: #3d3d47;
}

.dark-skin .sort-btn:hover {
    background: rgba(255, 255, 255, .09);
    color: #fff;
}

.sort-btn.active {
    background: rgba(124, 58, 237, .12);
    border-color: rgba(124, 58, 237, .35);
    color: #7c3aed;
}

.dark-skin .sort-btn.active {
    background: rgba(199, 125, 255, .14);
    border-color: rgba(199, 125, 255, .5);
    color: #e3c3ff;
}

/* the actual fix: hide the literal ◉ / ○ characters, draw the dot with ::before instead */
.sort-icon {
    position: relative;
    display: inline-block;
    width: 9px;
    height: 9px;
    font-size: 0;
    color: transparent;
    flex-shrink: 0;
}

.sort-icon::before {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: 50%;
    border: 1.5px solid #b9b9c4;
    background: transparent;

    transition: all .25s ease;
}

.dark-skin .sort-icon::before {
    border-color: #5a5a66;
}

.sort-btn.active .sort-icon::before {
    border-color: #c77dff;
    background: #c77dff;
}

.dark-skin .sort-btn.active .sort-icon::before {
    box-shadow:
        0 0 6px rgba(199, 125, 255, .9),
        0 0 14px rgba(199, 125, 255, .55);
}

.search-field {
    border-radius: var(--tie-buttons-radius, 2px);
}

/*T*/
/* hide original Jannah title */
#masonry-grid .thumb-title {
    display: none !important;
    opacity: 0 !important;
}

/* Smoothly reveal title and its gradient on hover */
#masonry-grid .slide:hover .the-post-title,
.media-page-layout .slide:hover .the-post-title {
    opacity: 1 !important;
    transform: translateY(0);
}

/* Soft overall image dimming on hover */
#masonry-grid .slide:hover .thumb-overlay,
.media-page-layout .slide:hover .thumb-overlay {
    background: linear-gradient(
        to top,
        rgba(0,0,0,.80),
        rgba(0,0,0,.45)
    );
}

/* Background image blur element */
#masonry-grid .slide::before,
.media-page-layout .slide::before {
    display: none !important;
}

#masonry-grid .slide:hover::before,
.media-page-layout .slide:hover::before {
    opacity: 1;
}

/* keep content layer above the blur layer */
#masonry-grid .thumb-overlay,
.media-page-layout .thumb-overlay {
    position: relative;
    z-index: 2;
}

#masonry-grid .thumb-overlay:after,
.media-page-layout .thumb-overlay:after {
    display: none !important;
}

.post-content.container-wrapper,
#posts-list-widget-4.container-wrapper,
#related-posts.container-wrapper {

    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.2);
}

.dark-skin .post-content.container-wrapper,
.dark-skin #posts-list-widget-4.container-wrapper,
.dark-skin #related-posts.container-wrapper {

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.25) !important;
}

#tie-body .sidebar .widget-title:before {
    border-radius: var(--tie-buttons-radius, 2px);
}

#masonry-grid .slide,
.media-page-layout .slide {
    transition:
        transform .28s ease,
        filter .28s ease;
}

.block-head-4 .mag-box>.container-wrapper {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.dark-skin .block-head-4 .mag-box>.container-wrapper {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.25) !important;
}

.dark-skin .divider.divider-solid {
    border-top-width: medium;
    border-style: solid;
    border-color: rgb(139 92 246 / 20%);
}

.tie-list-shortcode.checklist ul li:before {
    color: #c537ff !important;
}

.tie-list-shortcode.plus ul li:before {
    color: #c537ff !important;
}

.slider-area .tie-slider-7 .slick-dotted {
    padding-bottom: 20px !important;
}

.tie-slider-7 {
    margin-bottom: 0px;
}

.post-meta-version-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.post-meta-version-row .single-post-meta {
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    /* matches the badge's gap, so spacing feels even */
}

.post-meta-version-row .svchk__wrapper {
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
}

.post-meta-version-row .svchk__trigger {
    line-height: 1;
    /* removes extra line-height air that was pushing the pill taller than the text */
}

.svchk__dropdown {
    max-width: calc(100vw - 24px);
}

.svchk__subtext {
    font-size: 10.5px;
    font-weight: 500;
    color: #94a3b8;
    padding: 0 2px;
    margin-top: -4px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.dark-skin .svchk__subtext {
    color: #64748b;
}

.svchk__meta strong {
    font-weight: 700;
    color: inherit;
}

.archive.category .page-title {
    padding: 5px 20px !important;
    border-radius: var(--tie-buttons-radius, 2px);
}

#main-nav .menu-sub-content {
    border: 2px solid #733d91;
}

.shortc-button.purple {
    background: transparent !important;
    color: #C4B5FD;
    border: 2px solid rgba(168, 85, 247, 0.6);
    box-shadow:
        0 0 16px rgba(168, 85, 247, 0.5),
        0 0 32px rgba(147, 51, 234, 0.3),
        0 0 48px rgba(147, 51, 234, 0.15);
    transition: all 0.3s ease;
}

.shortc-button.purple:hover {
    background: linear-gradient(135deg, #9333EA 0%, #6D28D9 100%) !important;
    color: #fff;
    border-color: rgba(196, 132, 252, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow:
        0 0 0 1px rgba(196, 132, 252, 0.5),
        0 0 24px rgba(196, 132, 252, 0.6),
        0 0 48px rgba(147, 51, 234, 0.5),
        0 0 72px rgba(147, 51, 234, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.shortc-button.purple:active {
    box-shadow:
        0 0 0 1px rgba(196, 132, 252, 0.3),
        0 0 16px rgba(147, 51, 234, 0.4);
}

.shortc-button.medium {
    font-weight: 500;
}

.woocommerce-product-search [type="submit"],
.search-submit[type="submit"] {
    color: black;
}

.dark-skin .woocommerce-product-search [type="submit"],
.dark-skin .search-submit[type="submit"] {
    color: white;
}

.page .entry-header .entry-title {
    padding: 5px 20px;
    border-radius: var(--tie-buttons-radius, 2px);
}
