/*
Theme Name: MinecraftDownload
Description: Modern Minecraft Resource Hub Theme
Version: 2.0
*/

/* ==============================
   RESET & GLOBAL
============================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #f3f5f4;
    color: #252d29;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

a {
    color: #237b4b;
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: #145d35;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

button,
input,
textarea {
    font: inherit;
}

.clear {
    clear: both;
}

#arka {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    box-shadow: 0 0 25px rgba(0,0,0,.04);
}

/* ==============================
   HEADER
============================== */

.mc-header {
    width: 100%;
    background: #17251e;
}

.mc-top {
    background: #17251e;
    padding: 22px 25px;
}

.mc-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.mc-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.mc-logo a {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #fff;
}

.mc-logo-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #36a866;
    color: #fff;
    border-radius: 12px;
    font-size: 30px;
    font-weight: 900;
}

.mc-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.mc-logo-text strong {
    font-size: 27px;
    font-weight: 900;
    letter-spacing: 1px;
}

.mc-logo-text small {
    color: #bdc9c1;
    font-size: 12px;
    margin-top: 4px;
}

/* SEARCH */

.mc-search {
    width: 360px;
    max-width: 100%;
}

.mc-search form {
    display: flex;
    width: 100%;
    background: #fff;
    border-radius: 7px;
    overflow: hidden;
}

.mc-search input {
    width: 100%;
    min-width: 0;
    height: 45px;
    padding: 0 15px;
    border: 0;
    outline: none;
    background: transparent;
    color: #333;
    font-size: 13px;
}

.mc-search button {
    width: 52px;
    flex-shrink: 0;
    border: 0;
    background: #35a563;
    color: #fff;
    cursor: pointer;
    font-size: 25px;
}

.mc-search button:hover {
    background: #26844d;
}

/* ==============================
   NAVIGATION
============================== */

.mc-navigation {
    background: #24372c;
    border-top: 1px solid rgba(255,255,255,.08);
}

.mc-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mc-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mc-menu li {
    margin: 0;
    padding: 0;
}

.mc-menu li a {
    display: block;
    padding: 16px 17px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
}

.mc-menu li a:hover {
    background: #35a563;
    color: #fff;
}

.mc-menu-toggle {
    display: none;
    padding: 12px 15px;
    border: 0;
    background: #35a563;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

/* ==============================
   MAIN PAGE LAYOUT
============================== */

#zemin {
    width: 100%;
    padding: 28px 25px 40px;
    overflow: hidden;
    background: #fff;
}

#content {
    float: left;
    width: 70%;
    min-width: 0;
}

.mc-content {
    width: 70%;
    float: left;
}

/* ==============================
   SECTION HEADING
============================== */

.mc-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid #e7ece8;
}

.mc-section-label {
    display: inline-block;
    margin-bottom: 7px;
    color: #299456;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.mc-section-heading h1 {
    margin: 0;
    color: #202a24;
    font-size: 27px;
    line-height: 1.3;
    font-weight: 800;
}

.mc-section-heading p {
    margin: 8px 0 0;
    color: #77827b;
    font-size: 14px;
}

/* ==============================
   POST CARDS
============================== */

.mc-post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mc-post-card {
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e8ede9;
    border-radius: 9px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.mc-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(0,0,0,.07);
}

.mc-post-image {
    display: block;
    width: 210px;
    min-width: 210px;
    height: 155px;
    overflow: hidden;
    background: #e9eee9;
    border-radius: 7px;
}

.mc-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.mc-post-card:hover .mc-post-image img {
    transform: scale(1.04);
}

.mc-post-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.mc-post-title {
    margin: 2px 0 8px;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 800;
}

.mc-post-title a {
    color: #202a24;
}

.mc-post-title a:hover {
    color: #269454;
}

.mc-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: #89928c;
    font-size: 11px;
}

.mc-meta-separator {
    color: #35a563;
}

.mc-post-excerpt {
    color: #606b64;
    font-size: 13px;
    line-height: 1.65;
}

.mc-post-excerpt p {
    margin: 0 0 10px;
}

.mc-read-more {
    display: inline-block;
    margin-top: auto;
    padding-top: 8px;
    color: #269454;
    font-size: 12px;
    font-weight: 800;
}

.mc-read-more:hover {
    color: #145d35;
}

/* ==============================
   SINGLE POST
============================== */

.mc-single-header {
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid #e8ede9;
}

.mc-single-breadcrumb {
    margin-bottom: 14px;
    color: #87928a;
    font-size: 12px;
}

.mc-single-breadcrumb a {
    color: #269454;
}

.mc-single-title {
    margin: 0 0 14px;
    color: #202a24;
    font-size: 31px;
    line-height: 1.35;
    font-weight: 900;
}

.mc-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #87928a;
    font-size: 12px;
}

.mc-single-featured-image {
    margin: 0 0 25px;
    text-align: center;
}

.mc-single-featured-image img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border-radius: 9px;
}

.mc-single-body {
    color: #39443d;
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: break-word;
}

.mc-single-body h2 {
    margin: 30px 0 14px;
    color: #202a24;
    font-size: 25px;
    line-height: 1.4;
}

.mc-single-body h3 {
    margin: 25px 0 12px;
    color: #26352b;
    font-size: 21px;
}

.mc-single-body p {
    margin: 0 0 20px;
}

.mc-single-body img {
    max-width: 100%;
    height: auto;
    border-radius: 7px;
}

.mc-single-body ul,
.mc-single-body ol {
    margin: 15px 0 22px;
    padding-left: 25px;
}

.mc-single-body li {
    margin-bottom: 7px;
}

.mc-single-body blockquote {
    margin: 25px 0;
    padding: 15px 20px;
    background: #f3f7f4;
    border-left: 4px solid #35a563;
}

.mc-single-body table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.mc-single-body th,
.mc-single-body td {
    padding: 10px;
    border: 1px solid #e0e7e2;
    text-align: left;
}

.mc-single-body th {
    background: #f0f5f1;
}

.mc-single-body pre,
.mc-single-body code {
    max-width: 100%;
    overflow-x: auto;
}

.mc-single-footer {
    margin-top: 30px;
    padding: 18px;
    background: #f5f8f6;
    border-radius: 7px;
    font-size: 13px;
}

.mc-post-categories,
.mc-post-tags {
    margin-bottom: 8px;
}

.mc-page-links {
    margin: 25px 0;
}

/* ==============================
   STATIC PAGES
============================== */

.mc-page-card {
    padding: 5px 0;
}

.mc-page-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8ede9;
}

.mc-page-title {
    margin: 0;
    color: #202a24;
    font-size: 30px;
    line-height: 1.4;
}

.mc-page-body {
    color: #39443d;
    font-size: 15px;
    line-height: 1.85;
    overflow-wrap: break-word;
}

.mc-page-body h2,
.mc-page-body h3 {
    color: #202a24;
}

.mc-page-body img {
    max-width: 100%;
    height: auto;
}

/* ==============================
   CATEGORY DESCRIPTION
============================== */

.mc-category-description {
    margin-top: 15px;
    color: #68746c;
    font-size: 14px;
    line-height: 1.7;
}

/* ==============================
   PAGINATION
============================== */

.mc-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 30px 0 10px;
}

.mc-pagination a,
.mc-pagination span {
    display: inline-block;
    margin: 3px;
    padding: 9px 14px;
    background: #f1f5f2;
    color: #344239;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
}

.mc-pagination a:hover,
.mc-pagination .current {
    background: #35a563;
    color: #fff;
}

.wp-pagenavi {
    width: 100%;
}

/* ==============================
   NO RESULTS
============================== */

.mc-no-results {
    padding: 35px 20px;
    text-align: center;
    background: #f5f8f6;
    border-radius: 9px;
}

.mc-no-results h1,
.mc-no-results h2 {
    margin-top: 0;
    color: #202a24;
}

.mc-no-results p {
    color: #68746c;
}

.mc-no-results form {
    display: flex;
    justify-content: center;
    max-width: 450px;
    margin: 20px auto;
}

.mc-no-results input {
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dce5de;
    border-radius: 5px 0 0 5px;
}

.mc-no-results button {
    padding: 12px 18px;
    border: 0;
    background: #35a563;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* ==============================
   SIDEBAR
============================== */

.yanmenu,
.mc-sidebar {
    float: right;
    width: 27%;
    min-width: 0;
}

.sideboxer {
    margin-bottom: 22px;
    padding: 17px;
    background: #fff;
    border: 1px solid #e8ede9;
    border-radius: 8px;
    list-style: none;
}

.sidebaslik {
    margin: -17px -17px 15px;
    padding: 13px 16px;
    background: #24372c;
    color: #fff;
    border-radius: 7px 7px 0 0;
    font-size: 14px;
    font-weight: 800;
}

.sideboxer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sideboxer ul li {
    padding: 9px 0;
    border-bottom: 1px solid #edf0ed;
    font-size: 13px;
    line-height: 1.5;
}

.sideboxer ul li:last-child {
    border-bottom: 0;
}

.sideboxer ul li a {
    color: #4c5a50;
}

.sideboxer ul li a:hover {
    color: #269454;
}

.mc-sidebar-search form {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.mc-sidebar-search input {
    width: 100%;
    min-width: 0;
    padding: 11px;
    border: 1px solid #dfe6e1;
    border-radius: 5px;
    outline: none;
}

.mc-sidebar-search button {
    width: 100%;
    padding: 10px;
    border: 0;
    border-radius: 5px;
    background: #35a563;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.mc-sidebar-search button:hover {
    background: #26844d;
}

.mc-widget {
    list-style: none;
}

/* ==============================
   COMMENTS
============================== */

.mc-comments {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e8ede9;
}

.mc-comments-area h3 {
    color: #202a24;
    font-size: 21px;
}

.commentlist {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.commentlist .comment {
    margin-bottom: 15px;
    padding: 17px;
    background: #f5f8f6;
    border-radius: 7px;
}

.commentlist .children {
    margin-top: 15px;
    padding-left: 20px;
    list-style: none;
}

.comment-author {
    color: #26352b;
    font-weight: 700;
}

.comment-author img {
    float: left;
    margin-right: 12px;
    border-radius: 50%;
}

.comment-meta {
    margin: 5px 0 10px;
    color: #89928c;
    font-size: 11px;
}

.comment-content {
    color: #4c5850;
    font-size: 14px;
}

.mc-comment-form {
    margin-top: 25px;
    padding: 22px;
    background: #f5f8f6;
    border-radius: 8px;
}

.mc-comment-form label {
    display: block;
    margin-bottom: 6px;
    color: #344239;
    font-size: 13px;
    font-weight: 700;
}

.mc-comment-form input,
.mc-comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dce5de;
    border-radius: 5px;
    background: #fff;
    outline: none;
}

.mc-comment-form input:focus,
.mc-comment-form textarea:focus {
    border-color: #35a563;
}

.mc-comment-form textarea {
    min-height: 130px;
    resize: vertical;
}

.mc-comment-form input[type="submit"] {
    width: auto;
    padding: 12px 22px;
    border: 0;
    background: #35a563;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.mc-comment-form input[type="submit"]:hover {
    background: #26844d;
}

.mc-comment-note {
    color: #7b867e;
    font-size: 12px;
}

.mc-comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

/* ==============================
   FOOTER
============================== */

.mc-footer {
    clear: both;
    width: 100%;
    background: #17251e;
    color: #d4ded7;
}

.mc-footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 45px 25px;
}

.mc-footer-logo {
    display: inline-block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .5px;
}

.mc-footer-about p {
    max-width: 360px;
    color: #aebbb2;
    font-size: 13px;
    line-height: 1.8;
}

.mc-footer-links h3 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 15px;
}

.mc-footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mc-footer-links li {
    margin-bottom: 9px;
}

.mc-footer-links a {
    color: #b8c5bc;
    font-size: 13px;
}

.mc-footer-links a:hover {
    color: #4bd17d;
}

.mc-footer-bottom {
    padding: 17px 20px;
    background: #101b15;
    text-align: center;
}

.mc-footer-bottom p {
    margin: 0;
    color: #aab7ad;
    font-size: 12px;
}

.mc-footer-bottom a {
    color: #fff;
    font-weight: 700;
}

/* ==============================
   WORDPRESS DEFAULT ELEMENTS
============================== */

.alignleft {
    float: left;
    margin: 0 15px 15px 0;
}

.alignright {
    float: right;
    margin: 0 0 15px 15px;
}

.aligncenter {
    display: block;
    margin: 15px auto;
}

.wp-caption {
    max-width: 100%;
    padding: 5px;
    background: #f5f8f6;
    border: 1px solid #e5ebe6;
}

.wp-caption img {
    display: block;
    margin: 0 auto;
}

.wp-caption-text {
    padding: 7px;
    color: #7a857d;
    text-align: center;
    font-size: 12px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-item {
    max-width: 100%;
}

.sticky {
    position: relative;
}

.bypostauthor {
    display: block;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ==============================
   TABLET
============================== */

@media (max-width: 1000px) {

    #zemin {
        padding: 22px 18px 30px;
    }

    #content,
    .mc-content {
        width: 67%;
    }

    .yanmenu,
    .mc-sidebar {
        width: 30%;
    }

    .mc-menu li a {
        padding: 14px 11px;
        font-size: 11px;
    }

    .mc-post-image {
        width: 175px;
        min-width: 175px;
        height: 140px;
    }

    .mc-post-title {
        font-size: 17px;
    }

}

/* ==============================
   MOBILE
============================== */

@media (max-width: 767px) {

    #arka {
        box-shadow: none;
    }

    .mc-top {
        padding: 17px 15px;
    }

    .mc-top-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .mc-logo {
        display: flex;
        justify-content: center;
    }

    .mc-logo-icon {
        width: 44px;
        height: 44px;
        font-size: 25px;
    }

    .mc-logo-text strong {
        font-size: 22px;
    }

    .mc-logo-text small {
        font-size: 10px;
    }

    .mc-search {
        width: 100%;
    }

    .mc-menu-toggle {
        display: block;
        width: 100%;
        text-align: left;
    }

    .mc-nav-inner {
        display: block;
    }

    .mc-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .mc-menu.mc-menu-open {
        display: flex;
    }

    .mc-menu li a {
        padding: 13px 17px;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    #zemin {
        padding: 22px 14px 30px;
    }

    #content,
    .mc-content {
        float: none;
        width: 100%;
    }

    .yanmenu,
    .mc-sidebar {
        float: none;
        width: 100%;
        margin-top: 30px;
    }

    .mc-section-heading h1 {
        font-size: 23px;
    }

    .mc-post-card {
        flex-direction: column;
        gap: 13px;
        padding: 12px;
    }

    .mc-post-image {
        width: 100%;
        min-width: 0;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .mc-post-title {
        font-size: 18px;
    }

    .mc-post-excerpt {
        font-size: 13px;
    }

    .mc-read-more {
        margin-top: 8px;
    }

    .mc-single-title {
        font-size: 25px;
    }

    .mc-single-body {
        font-size: 15px;
    }

    .mc-page-title {
        font-size: 25px;
    }

    .mc-footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 35px 20px;
    }

    .mc-no-results form {
        flex-direction: column;
        gap: 8px;
    }

    .mc-no-results input,
    .mc-no-results button {
        width: 100%;
        border-radius: 5px;
    }

}

/* ==============================
   SMALL MOBILE
============================== */

@media (max-width: 380px) {

    .mc-logo-text strong {
        font-size: 19px;
    }

    .mc-section-heading h1 {
        font-size: 21px;
    }

    .mc-single-title {
        font-size: 22px;
    }

    .mc-post-title {
        font-size: 16px;
    }

}

/* MINECRAFTDOWNLOAD HOMEPAGE MOD SECTION */

.mc-home-main {
    width: 100%;
    float: none;
    clear: both;
}

.mc-home-mods {
    width: 100%;
}

.mc-home-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
    padding-bottom: 17px;
    border-bottom: 2px solid #e8eee9;
}

.mc-home-section-heading h1 {
    margin: 0;
    color: #202a24;
    font-size: 28px;
    font-weight: 900;
}

.mc-home-section-heading p {
    margin: 5px 0 0;
    color: #7b877e;
    font-size: 13px;
}

.mc-view-all {
    flex-shrink: 0;
    padding: 10px 15px;
    background: #268c50;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
}

.mc-view-all:hover {
    background: #176b3a;
    color: #fff;
}

.mc-mod-feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 20px;
}

.mc-mod-featured {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5ebe6;
    border-radius: 9px;
}

.mc-mod-featured-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8eee9;
}

.mc-mod-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mc-mod-featured-info {
    padding: 18px;
}

.mc-mod-label {
    color: #269454;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.mc-mod-featured-info h2 {
    margin: 8px 0;
    font-size: 22px;
    line-height: 1.4;
}

.mc-mod-featured-info h2 a,
.mc-mod-side-info h3 a,
.mc-mod-bottom-info h3 a {
    color: #202a24;
}

.mc-mod-featured-info h2 a:hover,
.mc-mod-side-info h3 a:hover,
.mc-mod-bottom-info h3 a:hover {
    color: #269454;
}

.mc-mod-date,
.mc-mod-side-info span,
.mc-mod-bottom-info span {
    color: #89948c;
    font-size: 11px;
}

.mc-mod-featured-info p {
    margin: 10px 0;
    color: #68746c;
    font-size: 13px;
    line-height: 1.7;
}

.mc-mod-read-more {
    color: #269454;
    font-size: 12px;
    font-weight: 800;
}

.mc-mod-side-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.mc-mod-side-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-height: 0;
    padding: 9px;
    background: #fff;
    border: 1px solid #e7ece8;
    border-radius: 8px;
}

.mc-mod-side-image {
    display: block;
    width: 112px;
    min-width: 112px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8eee9;
    border-radius: 5px;
}

.mc-mod-side-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mc-mod-side-info {
    min-width: 0;
}

.mc-mod-side-info h3 {
    margin: 0 0 7px;
    font-size: 14px;
    line-height: 1.4;
}

.mc-mod-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
    margin-top: 20px;
}

.mc-mod-bottom-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7ece8;
    border-radius: 8px;
}

.mc-mod-bottom-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8eee9;
}

.mc-mod-bottom-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mc-mod-bottom-info {
    padding: 12px;
}

.mc-mod-bottom-info h3 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.5;
}

/* HOMEPAGE RESPONSIVE */

@media (max-width: 767px) {

    .mc-home-section-heading {
        align-items: flex-start;
    }

    .mc-home-section-heading h1 {
        font-size: 23px;
    }

    .mc-view-all {
        padding: 8px 10px;
        font-size: 10px;
    }

    .mc-mod-feature-layout {
        grid-template-columns: 1fr;
    }

    .mc-mod-side-item {
        min-height: 90px;
    }

    .mc-mod-side-image {
        width: 105px;
        min-width: 105px;
    }

    .mc-mod-bottom-grid {
        grid-template-columns: 1fr;
    }

    .mc-mod-bottom-card {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px;
    }

    .mc-mod-bottom-image {
        width: 115px;
        min-width: 115px;
        border-radius: 5px;
    }

    .mc-mod-bottom-info {
        padding: 5px;
    }

}
/* HOMEPAGE MINECRAFT MODS LAYOUT */
.mc-home-main,
.mc-home-mods {
    width: 100%;
    float: none;
    clear: both;
}

.mc-mod-feature-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    align-items: start;
}

.mc-mod-featured img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.mc-mod-side-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.mc-mod-side-list img {
    width: 120px;
    height: 85px;
    object-fit: cover;
}

.mc-mod-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.mc-mod-bottom-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 768px) {
    .mc-mod-feature-layout {
        grid-template-columns: 1fr;
    }

    .mc-mod-bottom-grid {
        grid-template-columns: 1fr;
    }
}

/* MINECRAFTDOWNLOAD COMPLETE HOMEPAGE */

.mc-home-main {
    width: 100%;
    float: none;
    clear: both;
}

.mc-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
    width: 100%;
}

.mc-home-content {
    min-width: 0;
}

.mc-home-layout > .yanmenu,
.mc-home-layout > .mc-sidebar {
    float: none;
    width: 100%;
    min-width: 0;
}

.mc-home-mods {
    width: 100%;
    margin-bottom: 45px;
    clear: both;
}

.mc-home-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e8edf0;
}

.mc-home-section-heading h1,
.mc-home-section-heading h2 {
    margin: 5px 0;
    font-size: 27px;
    font-weight: 800;
}

.mc-home-section-heading p {
    margin: 5px 0 0;
    color: #777;
}

.mc-section-label,
.mc-mod-label {
    color: #269c61;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.mc-view-all {
    color: #21965b;
    font-weight: 700;
    white-space: nowrap;
}

.mc-mod-feature-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.mc-mod-featured,
.mc-mod-side-item,
.mc-mod-bottom-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e8edf0;
    border-radius: 10px;
    overflow: hidden;
}

.mc-mod-featured-image {
    display: block;
    overflow: hidden;
}

.mc-mod-featured-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.mc-mod-featured-info {
    padding: 18px;
}

.mc-mod-featured-info h2 {
    font-size: 22px;
    line-height: 1.35;
    margin: 9px 0;
}

.mc-mod-featured-info h2 a,
.mc-mod-side-info h3 a,
.mc-mod-bottom-info h3 a {
    color: #202a35;
    text-decoration: none;
}

.mc-mod-featured-info p {
    color: #66717b;
    line-height: 1.6;
}

.mc-mod-date,
.mc-mod-side-info span,
.mc-mod-bottom-info span {
    color: #929ba3;
    font-size: 12px;
}

.mc-mod-read-more {
    color: #21965b;
    font-weight: 700;
}

.mc-mod-side-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.mc-mod-side-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px;
}

.mc-mod-side-image {
    flex: 0 0 115px;
    display: block;
}

.mc-mod-side-image img {
    display: block;
    width: 115px;
    height: 82px;
    object-fit: cover;
    border-radius: 6px;
}

.mc-mod-side-info {
    min-width: 0;
}

.mc-mod-side-info h3 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 8px;
}

.mc-mod-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.mc-mod-bottom-image {
    display: block;
}

.mc-mod-bottom-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.mc-mod-bottom-info {
    padding: 12px;
}

.mc-mod-bottom-info h3 {
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 8px;
}

.mc-mod-featured img,
.mc-mod-side-item img,
.mc-mod-bottom-card img {
    transition: transform .25s ease;
}

.mc-mod-featured-image:hover img,
.mc-mod-side-image:hover img,
.mc-mod-bottom-image:hover img {
    transform: scale(1.04);
}

@media (max-width: 900px) {
    .mc-home-layout {
        grid-template-columns: 1fr;
    }

    .mc-home-layout > .yanmenu,
    .mc-home-layout > .mc-sidebar {
        width: 100%;
    }
}

@media (max-width: 650px) {
    .mc-mod-feature-layout {
        grid-template-columns: 1fr;
    }

    .mc-mod-bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mc-home-section-heading h1,
    .mc-home-section-heading h2 {
        font-size: 22px;
    }

    .mc-mod-side-image {
        flex-basis: 100px;
    }

    .mc-mod-side-image img {
        width: 100px;
        height: 75px;
    }
}

@media (max-width: 420px) {
    .mc-mod-bottom-grid {
        grid-template-columns: 1fr;
    }

    .mc-home-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* DESKTOP SIDEBAR POSITION FIX */

@media (min-width: 901px) {

    .mc-home-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 300px !important;
        align-items: start !important;
        gap: 28px !important;
    }

    .mc-home-content {
        min-width: 0 !important;
        width: 100% !important;
        float: none !important;
    }

    .mc-home-layout .yanmenu,
    .mc-home-layout .mc-sidebar,
    .mc-home-layout #sidebar {
        display: block !important;
        width: 300px !important;
        max-width: 300px !important;
        float: none !important;
        clear: none !important;
        margin: 0 !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
}

@media (max-width: 900px) {
    .mc-home-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
}

/* MINECRAFTDOWNLOAD EXPLORER SIDEBAR */

.mc-home-layout {
    display: grid !important;
    grid-template-columns: 270px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

.mc-home-content {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.mc-home-layout > .mc-sidebar,
.mc-home-layout > .yanmenu {
    grid-column: 1;
    grid-row: 1;
}

.mc-explorer-sidebar {
    width: 100% !important;
    float: none !important;
    background: #111b25;
    color: #e8f0f5;
    border: 1px solid #263847;
    border-radius: 15px;
    padding: 17px;
    box-sizing: border-box;
}

.mc-explorer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 17px;
    margin-bottom: 15px;
    border-bottom: 1px solid #293a48;
}

.mc-explorer-logo {
    width: 43px;
    height: 43px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 11px;
    background: #29a968;
    color: white;
    font-weight: 900;
    font-size: 17px;
}

.mc-explorer-header strong,
.mc-explorer-header span {
    display: block;
}

.mc-explorer-header strong {
    color: #fff;
    font-size: 15px;
}

.mc-explorer-header span {
    color: #7d98a9;
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

.mc-explorer-box {
    background: #192632;
    border: 1px solid #2a3d4c;
    border-radius: 11px;
    padding: 14px;
    margin-bottom: 13px;
}

.mc-explorer-title {
    display: flex;
    align-items: center;
    gap: 9px;
}

.mc-explorer-title h3,
.mc-explorer-random h3 {
    color: #fff;
    font-size: 15px;
    margin: 0;
}

.mc-explorer-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #263a47;
    font-size: 16px;
}

.mc-icon-hot {
    background: #49301f;
}

.mc-icon-editor {
    background: #3d3155;
    color: #d1b6ff;
}

.mc-icon-version {
    background: #263f36;
    color: #7ee0a8;
}

.mc-explorer-description {
    color: #9eb0bd;
    font-size: 12px;
    line-height: 1.5;
    margin: 9px 0 12px;
}

.mc-explorer-post-list {
    margin: 0;
    padding-left: 24px;
}

.mc-explorer-post-list li {
    color: #47ca88;
    padding: 7px 0;
    border-bottom: 1px solid #2b3b47;
    font-size: 12px;
}

.mc-explorer-post-list li:last-child {
    border-bottom: 0;
}

.mc-explorer-post-list a {
    color: #e5edf2;
    text-decoration: none;
    line-height: 1.45;
}

.mc-explorer-post-list a:hover,
.mc-editor-item:hover span {
    color: #4bd18b;
}

.mc-explorer-empty {
    color: #94a6b2;
    font-size: 12px;
    line-height: 1.5;
}

.mc-editor-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 13px;
}

.mc-editor-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mc-editor-item img {
    width: 65px;
    height: 49px;
    object-fit: cover;
    border-radius: 6px;
}

.mc-editor-item span {
    color: #e5edf2;
    font-size: 12px;
    line-height: 1.4;
}

.mc-explorer-random {
    background: linear-gradient(135deg, #183f35, #142b34);
    border: 1px solid #287b57;
    border-radius: 11px;
    padding: 16px;
    margin-bottom: 13px;
}

.mc-random-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #2ca66b;
    border-radius: 9px;
    color: white;
    font-size: 23px;
    font-weight: 900;
    margin-bottom: 12px;
}

.mc-explorer-random p {
    color: #c0d6cd;
    font-size: 12px;
    line-height: 1.5;
}

.mc-random-button,
.mc-version-form button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 9px;
    border: 0;
    border-radius: 7px;
    background: #2ba86a;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.mc-random-button:hover,
.mc-version-form button:hover {
    background: #218c57;
}

.mc-version-form label {
    display: block;
    color: #aebec9;
    font-size: 11px;
    margin: 12px 0 7px;
}

.mc-version-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 11px;
    margin-bottom: 10px;
    background: #101c26;
    color: #fff;
    border: 1px solid #3b5261;
    border-radius: 7px;
}

.mc-explorer-footer {
    padding: 14px 5px 3px;
    text-align: center;
}

.mc-explorer-footer span,
.mc-explorer-footer strong {
    display: block;
}

.mc-explorer-footer span {
    color: #7e929f;
    font-size: 9px;
    letter-spacing: 1px;
}

.mc-explorer-footer strong {
    color: #4bd18b;
    font-size: 13px;
    margin-top: 5px;
}

@media (max-width: 900px) {

    .mc-home-layout {
        grid-template-columns: 1fr !important;
    }

    .mc-home-content {
        grid-column: 1;
        grid-row: 1;
    }

    .mc-home-layout > .mc-sidebar,
    .mc-home-layout > .yanmenu {
        grid-column: 1;
        grid-row: 2;
        width: 100% !important;
    }

}

/* FINAL DESKTOP HOMEPAGE COLUMN FIX */

@media (min-width: 901px) {

    .mc-home-layout {
        display: grid !important;
        grid-template-columns: 270px minmax(0, 1fr) !important;
        gap: 25px !important;
        width: 100% !important;
        align-items: start !important;
        direction: ltr !important;
    }

    .mc-home-layout > .mc-home-content {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        float: none !important;
        clear: none !important;
    }

    .mc-home-layout > .mc-explorer-sidebar {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 270px !important;
        max-width: 270px !important;
        float: none !important;
        clear: none !important;
        margin: 0 !important;
        position: relative !important;
    }

}

@media (max-width: 900px) {
    .mc-home-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .mc-home-layout > .mc-home-content {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .mc-home-layout > .mc-explorer-sidebar {
        grid-column: 1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* DESKTOP: CONTENT LEFT - SIDEBAR RIGHT */
@media (min-width: 901px) {
    .mc-home-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 270px !important;
        gap: 25px !important;
        width: 100% !important;
        direction: ltr !important;
        align-items: start !important;
    }

    .mc-home-layout > .mc-home-content {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        float: none !important;
        margin: 0 !important;
    }

    .mc-home-layout > .mc-explorer-sidebar {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 270px !important;
        max-width: 270px !important;
        float: none !important;
        margin: 0 !important;
    }
}

/* MOBILE: CONTENT FIRST, MENU BELOW */
@media (max-width: 900px) {
    .mc-home-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .mc-home-layout > .mc-home-content {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .mc-home-layout > .mc-explorer-sidebar {
        grid-column: 1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* MINECRAFTDOWNLOAD ADVANCED SEARCH */

.mc-advanced-wrap {
    max-width: 1250px;
    margin: 35px auto;
    padding: 0 15px;
}

.mc-advanced-main {
    width: 100%;
    min-width: 0;
}

.mc-advanced-heading {
    margin-bottom: 25px;
}

.mc-advanced-eyebrow {
    color: #159b68;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.mc-advanced-heading h1 {
    font-size: 34px;
    margin: 8px 0;
    color: #17212b;
}

.mc-advanced-heading p {
    color: #718096;
    margin: 0;
}

.mc-advanced-form {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,.04);
}

.mc-search-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

.mc-search-field label {
    font-size: 13px;
    font-weight: 700;
    color: #263445;
}

.mc-search-field input,
.mc-search-field select {
    width: 100%;
    height: 48px;
    padding: 0 13px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    background: #f9fbfd;
    color: #263445;
    font-size: 14px;
    box-sizing: border-box;
}

.mc-search-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.mc-advanced-submit {
    margin-top: 22px;
    width: 100%;
    height: 49px;
    border: 0;
    border-radius: 8px;
    background: #159b68;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.mc-advanced-submit:hover {
    background: #107b53;
}

.mc-search-results-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 35px 0 20px;
}

.mc-search-results-heading h2 {
    font-size: 23px;
    margin: 0;
}

.mc-search-results-heading span {
    color: #718096;
    font-size: 13px;
}

.mc-search-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mc-search-result-card {
    overflow: hidden;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    background: #fff;
}

.mc-search-result-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #edf1f5;
}

.mc-search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mc-search-no-image {
    height: 100%;
    display: grid;
    place-items: center;
    color: #159b68;
    font-weight: 800;
}

.mc-search-result-info {
    padding: 16px;
}

.mc-search-result-date {
    color: #159b68;
    font-size: 11px;
    font-weight: 700;
}

.mc-search-result-info h3 {
    font-size: 17px;
    line-height: 1.4;
    margin: 8px 0;
}

.mc-search-result-info h3 a {
    color: #17212b;
    text-decoration: none;
}

.mc-search-result-info p {
    color: #718096;
    font-size: 13px;
    line-height: 1.6;
}

.mc-search-read-more {
    color: #159b68;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.mc-search-empty {
    margin-top: 25px;
    padding: 30px;
    text-align: center;
    background: #f7fafc;
    border-radius: 12px;
}

.mc-search-pagination ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
    margin-top: 30px;
}

.mc-search-pagination a,
.mc-search-pagination span {
    display: block;
    padding: 9px 13px;
    border: 1px solid #e5eaf0;
    border-radius: 7px;
    text-decoration: none;
}

.mc-search-pagination .current {
    background: #159b68;
    color: #fff;
}

@media (max-width: 700px) {
    .mc-search-filters {
        grid-template-columns: 1fr;
    }

    .mc-search-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .mc-advanced-heading h1 {
        font-size: 27px;
    }

    .mc-advanced-form {
        padding: 17px;
    }
}

@media (max-width: 420px) {
    .mc-search-results-grid {
        grid-template-columns: 1fr;
    }
}

/* ADVANCED SEARCH - LAYOUT FIX */

.mc-advanced-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 1250px !important;
    margin: 35px auto !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
}

.mc-advanced-main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    min-width: 0 !important;
}

.mc-search-results-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    width: 100% !important;
    margin: 20px 0 !important;
}

.mc-search-result-card {
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.mc-search-result-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
}

.mc-search-result-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
}

.mc-search-result-info {
    display: block !important;
    width: 100% !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}

.mc-search-pagination {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    margin: 30px 0 !important;
    text-align: center !important;
}

.mc-search-pagination ul {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
}

.mc-search-pagination li {
    display: block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 900px) {
    .mc-search-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 550px) {
    .mc-search-results-grid {
        grid-template-columns: 1fr !important;
    }
}
/* SINGLE POST - NEW LAYOUT FIX */

.mc-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 25px;
    width: 100%;
    align-items: start;
}

.mc-single-main {
    width: 100%;
    min-width: 0;
    float: none;
}

.mc-single-layout > .mc-sidebar,
.mc-single-layout > .yanmenu {
    width: 270px !important;
    max-width: 270px !important;
    min-width: 0;
    float: none !important;
    margin: 0 !important;
    clear: none !important;
}

.mc-single-article {
    width: 100%;
    min-width: 0;
}

.mc-single-featured-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.mc-single-body {
    width: 100%;
    min-width: 0;
}

.mc-single-body img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .mc-single-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .mc-single-layout > .mc-sidebar,
    .mc-single-layout > .yanmenu {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 25px !important;
    }
}
/* SINGLE PAGE - DESKTOP SIDEBAR POSITION FIX */

@media (min-width: 901px) {

    .mc-single-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 270px !important;
        gap: 25px !important;
        align-items: start !important;
        width: 100% !important;
    }

    .mc-single-layout > .mc-single-main {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        float: none !important;
    }

    .mc-single-layout > .mc-sidebar,
    .mc-single-layout > .yanmenu {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 270px !important;
        max-width: 270px !important;
        float: none !important;
        clear: none !important;
        margin: 0 !important;
        align-self: start !important;
    }
}

@media (max-width: 900px) {
    .mc-single-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .mc-single-layout > .mc-single-main,
    .mc-single-layout > .mc-sidebar,
    .mc-single-layout > .yanmenu {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
    }
}

/* ==================================
   MINECRAFTDOWNLOAD ARCHIVE PAGE LAYOUT
================================== */

.mc-archive-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 270px !important;
    gap: 25px !important;
    width: 100% !important;
    align-items: start !important;
    direction: ltr !important;
}

.mc-archive-main {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Post cards */

.mc-archive-main .mc-post-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    width: 100% !important;
    margin: 25px 0 !important;
}

.mc-archive-main .mc-post-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background: #ffffff;
    border: 1px solid #e5ebe7;
    border-radius: 12px;
}

.mc-archive-main .mc-post-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.mc-archive-main .mc-post-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
}

.mc-archive-main .mc-post-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 !important;
    padding: 17px !important;
    box-sizing: border-box !important;
}

.mc-archive-main .mc-post-title {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    overflow-wrap: anywhere !important;
}

.mc-archive-main .mc-post-title a {
    display: inline !important;
    color: #202b25 !important;
    text-decoration: none !important;
}

.mc-archive-main .mc-post-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    width: 100% !important;
    margin-bottom: 12px !important;
}

.mc-archive-main .mc-post-excerpt {
    display: block !important;
    width: 100% !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere !important;
}

.mc-archive-main .mc-read-more {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    width: auto !important;
    margin-top: auto !important;
    padding: 10px 16px !important;
    border-radius: 7px !important;
    background: #218b50 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

/* Right sidebar */

.mc-archive-layout > .mc-sidebar,
.mc-archive-layout > .yanmenu {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 270px !important;
    max-width: 270px !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Pagination */

.mc-archive-main .mc-pagination {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
    margin: 30px 0 !important;
    text-align: center !important;
}

/* Tablet and mobile */

@media (max-width: 900px) {
    .mc-archive-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .mc-archive-main {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .mc-archive-layout > .mc-sidebar,
    .mc-archive-layout > .yanmenu {
        grid-column: 1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 25px !important;
    }
}

@media (max-width: 600px) {
    .mc-archive-main .mc-post-list {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
   MINECRAFTDOWNLOAD - PIXEL FOREST FOOTER
========================================= */

.mc-footer {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 45px;
    background: #14231b;
    color: #dce8df;
    overflow: hidden;
    border-top: 5px solid #315b3e;
}

/* Minecraft inspired block pattern */

.mc-footer-top-pattern {
    height: 13px;
    width: 100%;
    background:
        repeating-linear-gradient(
            90deg,
            #426c45 0px,
            #426c45 35px,
            #31583a 35px,
            #31583a 70px,
            #263f30 70px,
            #263f30 105px
        );
    border-bottom: 3px solid #1d3425;
}

.mc-footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 55px 25px 45px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.15fr 1fr;
    gap: 35px;
    align-items: start;
}

/* BRAND */

.mc-footer-brand {
    min-width: 0;
}

.mc-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: #ffffff !important;
    margin-bottom: 20px;
}

.mc-footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    flex-shrink: 0;
    background: #39794a;
    border: 3px solid #6b9c65;
    box-shadow: 4px 4px 0 #0b1710;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    font-family: Arial, sans-serif;
}

.mc-footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mc-footer-logo-text strong {
    font-size: 21px;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #ffffff;
}

.mc-footer-logo-text small {
    color: #8fb59a;
    font-size: 9px;
    letter-spacing: 1.2px;
    font-weight: 700;
}

.mc-footer-description {
    max-width: 330px;
    color: #b6c8bb;
    font-size: 13px;
    line-height: 1.9;
    margin: 0 0 20px;
}

.mc-footer-tagline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #a7c5a9;
    font-size: 12px;
    font-weight: 700;
}

.mc-footer-cube {
    color: #72b66c;
    font-size: 17px;
}

/* COLUMNS */

.mc-footer-column {
    min-width: 0;
}

.mc-footer-column h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    margin: 5px 0 23px;
    padding-bottom: 13px;
    border-bottom: 1px solid #354b3b;
    letter-spacing: .4px;
}

.mc-footer-heading-icon {
    color: #7cba75;
    font-size: 16px;
}

.mc-footer-column ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mc-footer-column ul li {
    list-style: none !important;
    margin: 0 0 13px !important;
    padding: 0 !important;
}

.mc-footer-column ul li a {
    display: inline-block;
    color: #b9c9bd !important;
    font-size: 12px;
    line-height: 1.6;
    text-decoration: none !important;
    transition: color .2s ease, transform .2s ease;
}

.mc-footer-column ul li a:hover {
    color: #8bd47e !important;
    transform: translateX(4px);
}

/* BOTTOM AREA */

.mc-footer-bottom {
    background: #0d1912;
    border-top: 1px solid #304535;
}

.mc-footer-bottom-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mc-footer-bottom p {
    margin: 0;
    color: #91a698;
    font-size: 11px;
    line-height: 1.7;
}

.mc-footer-bottom p a {
    color: #a9d49f !important;
    font-weight: 700;
    text-decoration: none !important;
}

.mc-footer-disclaimer {
    max-width: 570px;
    text-align: right;
}

/* TABLET */

@media (max-width: 1050px) {
    .mc-footer-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 35px 25px;
    }

    .mc-footer-brand {
        grid-column: 1 / -1;
    }

    .mc-footer-description {
        max-width: 550px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .mc-footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
        padding: 38px 20px;
    }

    .mc-footer-brand {
        grid-column: 1 / -1;
    }

    .mc-footer-column h3 {
        font-size: 13px;
        margin-bottom: 17px;
    }

    .mc-footer-column ul li {
        margin-bottom: 11px !important;
    }

    .mc-footer-column ul li a {
        font-size: 12px;
    }

    .mc-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 10px;
    }

    .mc-footer-disclaimer {
        text-align: left;
    }
}

@media (max-width: 360px) {
    .mc-footer-container {
        grid-template-columns: 1fr;
    }

    .mc-footer-brand {
        grid-column: 1;
    }
}

/* ==========================================
   STATIC PAGES - FINAL LAYOUT AND SIDEBAR FIX
========================================== */

/* Main page grid */
.mc-page-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 270px !important;
    gap: 25px !important;
    width: 100% !important;
    align-items: start !important;
    direction: ltr !important;
}

/* Main content */
.mc-page-layout > .mc-page-main {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* White content card */
.mc-page-layout .mc-page-card {
    display: block !important;
    width: 100% !important;
    padding: 30px !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e5ebe7 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
}

/* Page title */
.mc-page-layout .mc-page-header {
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #e5ebe7 !important;
}

.mc-page-layout .mc-page-title {
    margin: 0 !important;
    color: #203329 !important;
    font-size: 30px !important;
    line-height: 1.4 !important;
}

/* Page text */
.mc-page-layout .mc-page-body {
    width: 100% !important;
    color: #39443d !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
    overflow-wrap: anywhere !important;
}

.mc-page-layout .mc-page-body h2,
.mc-page-layout .mc-page-body h3 {
    color: #203329 !important;
    margin-top: 28px !important;
}

.mc-page-layout .mc-page-body img {
    max-width: 100% !important;
    height: auto !important;
}

/* Right sidebar */
.mc-page-layout > .mc-sidebar,
.mc-page-layout > .yanmenu {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 270px !important;
    max-width: 270px !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    align-self: start !important;
}

/* Replace navy blue with dark forest black */
.mc-page-layout > .mc-explorer-sidebar {
    background: #101713 !important;
    color: #e8f0e9 !important;
    border: 1px solid #293b2e !important;
}

/* Sidebar inner boxes */
.mc-page-layout .mc-explorer-box {
    background: #19231c !important;
    border-color: #2d4033 !important;
}

/* Sidebar header divider */
.mc-page-layout .mc-explorer-header {
    border-bottom-color: #2d4033 !important;
}

/* Sidebar text colors */
.mc-page-layout .mc-explorer-description,
.mc-page-layout .mc-explorer-empty {
    color: #b4c2b7 !important;
}

/* Mobile and tablet */
@media (max-width: 900px) {

    .mc-page-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .mc-page-layout > .mc-page-main {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .mc-page-layout > .mc-sidebar,
    .mc-page-layout > .yanmenu {
        grid-column: 1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 25px !important;
    }
}

@media (max-width: 600px) {

    .mc-page-layout .mc-page-card {
        padding: 20px !important;
    }

    .mc-page-layout .mc-page-title {
        font-size: 25px !important;
    }
}


/* ==========================================
   MINECRAFTDOWNLOAD BRAND + TECHNICAL POLISH
========================================== */
.mc-logo-text strong,
.mc-footer-logo-text strong {
    overflow-wrap: anywhere;
}
.mc-home-main,
.mc-home-layout,
.mc-single-layout,
.mc-archive-layout,
.mc-page-layout {
    min-width: 0;
}
.mc-home-content,
.mc-single-main,
.mc-archive-main,
.mc-page-main,
.mc-content {
    min-width: 0;
}
.mc-advanced-form {
    padding: 24px;
    background: #fff;
    border: 1px solid #e5ebe7;
    border-radius: 12px;
}
.mc-advanced-form .mc-search-filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mc-search-field {
    min-width: 0;
}
.mc-search-field input,
.mc-search-field select {
    width: 100%;
    max-width: 100%;
}
.mc-search-result-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mc-search-result-card h2 {
    font-size: 18px;
    line-height: 1.4;
}
.mc-search-result-card h2 a {
    color: #202a24;
}
.mc-search-result-card h2 a:hover {
    color: #269454;
}
.mc-category-description {
    margin-top: 14px;
    color: #647168;
    line-height: 1.7;
}
.mc-single-body img,
.mc-page-body img {
    max-width: 100%;
    height: auto;
}
.mc-single-body a,
.mc-page-body a {
    overflow-wrap: anywhere;
}
@media (max-width: 900px) {
    .mc-advanced-form .mc-search-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #content,
    .mc-content {
        width: 100%;
        float: none;
    }
    .mc-sidebar {
        width: 100%;
        float: none;
        margin-top: 25px;
    }
}
@media (max-width: 600px) {
    .mc-advanced-form {
        padding: 16px;
    }
    .mc-advanced-form .mc-search-filters {
        grid-template-columns: 1fr;
    }
    .mc-logo-text strong {
        font-size: 20px;
        letter-spacing: .3px;
    }
    .mc-logo-text small {
        font-size: 10px;
    }
}
