/* Page layout */
html {
    height: 100%;
}
body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

#page, .nk-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

#content, .site-content {
    flex: 1 0 auto;
}

.nk-footer {
    margin-top: auto;
    flex-shrink: 0;
}

/* Header and navigation */
.deo-header-top {
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .035);
    background: rgba(0, 0, 0, .16);
}
.deo-header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.deo-header-top .nk-contacts-left,
.deo-header-top .nk-contacts-right {
    float: none;
}
.deo-header-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.deo-header-top .nk-contacts-right .deo-header-icons { gap: 28px; }
.deo-header-icons a {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dfe2e7;
    color: #303641;
    transition: background .15s ease, color .15s ease;
}
.deo-header-icons svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.deo-header-icons a:hover,
.deo-header-icons a:focus {
    background: #dd163b;
    color: #fff;
    text-decoration: none;
}
@media (min-width: 992px) {
    .nk-navbar.nk-navbar-top { padding-top: 33px; padding-bottom: 33px; }
}
.nk-navbar .nk-nav > li > a { padding-right: 16.5px; padding-left: 16.5px; }
.nk-navbar-top .nk-nav > .nk-drop-item > a::after { content: none; }
@media (max-width: 1199px) {
    .nk-navbar .nk-nav > li > a { padding-right: 9px; padding-left: 9px; }
}
@media (max-width: 575px) {
    .deo-header-top .container { justify-content: center; }
    .deo-header-top .nk-contacts-left { display: none; }
    .deo-header-top .nk-contacts-right { margin-top: 0; text-align: center; }
    .deo-header-top .nk-contacts-right .deo-header-icons { justify-content: center; }
}

/* Brand mark */
.nk-nav-logo img {
    max-height: 44px;
    width: auto;
    display: block;
}

/* Article text and media */
.entry-content p {
    font-size: 15.5px;
    line-height: 1.75;
    margin-bottom: 22px;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.entry-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.entry-content strong {
    color: #ffffff;
}

.nk-blog-post-single .entry-title {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
}

.deo-policy-container {
    max-width: 960px;
}

.entry-content img:not(.top-games-icon-image) {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
}

.entry-content figure {
    max-width: 100%;
    margin: 28px auto;
    text-align: center;
}

.entry-content figure.alignleft,
.entry-content figure.alignright,
.entry-content img.alignleft,
.entry-content img.alignright {
    float: none;
    margin: 28px auto;
}

/* Tables and callouts */
.nk-box-2 table {
    margin-bottom: 0;
}

.entry-content table:not(.top-games-table) {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    -webkit-overflow-scrolling: touch;
}

.entry-content table:not(.top-games-table) th,
.entry-content table:not(.top-games-table) td {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    vertical-align: top;
}

/* Small screens */
@media (max-width: 768px) {
    .nk-navbar-top .nk-nav-logo img {
        max-height: 36px;
    }
    .lead {
        font-size: 16px !important;
    }
}

.deo-contact-form {
    max-width: 760px;
    margin-top: 28px;
}

.deo-contact-form label {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-weight: 700;
}

.deo-contact-form .form-control {
    min-height: 44px;
    border: 1px solid #454c58;
    border-radius: 3px;
    background: #20252d;
    color: #fff;
}

.deo-contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.deo-contact-form .form-control:focus {
    border-color: #dd163b;
    box-shadow: 0 0 0 2px rgba(221, 22, 59, .16);
}

.deo-contact-status:not(:empty) {
    margin: 15px 0 0;
    color: #fff;
}

.deo-contact-note {
    margin: 12px 0 0;
    color: #a7abb2;
    font-size: 13px;
}

/* Home page modules */
.deo-home-platforms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}
.deo-platform-shortcut {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 14px 20px;
    border-radius: 4px;
    background: #292f3a;
    color: #fff;
    transition: background .15s ease, transform .15s ease;
}
.deo-platform-shortcut:hover,
.deo-platform-shortcut:focus {
    background: #333b49;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}
.deo-platform-shortcut > span:first-child {
    min-width: 44px;
    color: #e4e7eb;
    font-size: 38px;
    text-align: center;
}
.deo-platform-shortcut > span:last-child { display: flex; flex-direction: column; }
.deo-platform-shortcut strong {
    font-size: 19px;
    line-height: 1.2;
    text-transform: uppercase;
}
.deo-platform-shortcut small {
    margin-top: 5px;
    color: #dd163b;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}
.deo-home-news-list {
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #292f3a;
    list-style: none;
}
.deo-home-list-item {
    min-height: 102px;
    display: flex;
    gap: 15px;
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,.045);
}
.deo-home-list-item:last-child { border-bottom: 0; }
.deo-home-list-image {
    flex: 0 0 90px;
    height: 82px;
    overflow: hidden;
    border-radius: 3px;
}
.deo-home-list-image img,
.deo-home-story-image img,
.deo-home-featured-news-image img,
.deo-home-screenshot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.deo-home-list-item > div { min-width: 0; align-self: center; }
.deo-home-list-category {
    color: #dd163b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .45px;
    text-transform: uppercase;
}
.deo-home-list-item h4 {
    margin: 3px 0 4px;
    font-size: 14px;
    line-height: 1.3;
}
.deo-home-list-item h4 a { color: #fff; }
.deo-home-list-item p {
    margin: 0;
    overflow: hidden;
    color: #a7abb2;
    font-size: 12px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.deo-home-featured-news,
.deo-home-story {
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
    background: #292f3a;
}
.deo-home-featured-news-image,
.deo-home-story-image {
    position: relative;
    display: block;
    overflow: hidden;
}
.deo-home-featured-news-image { height: 300px; }
.deo-home-featured-news-image img { transition: transform .3s ease; }
.deo-home-featured-news-image:hover img,
.deo-home-story-image:hover img { transform: scale(1.035); }
.deo-home-story-category {
    position: absolute;
    top: 12px;
    left: 0;
    max-width: calc(100% - 15px);
    padding: 7px 13px;
    overflow: hidden;
    border-radius: 0 3px 3px 0;
    background: #dd163b;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.deo-home-featured-news-body { padding: 17px 20px 19px; }
.deo-home-featured-news-body h4 { margin: 0 0 8px; font-size: 19px; line-height: 1.35; }
.deo-home-featured-news-body h4 a { color: #fff; }
.deo-home-featured-news-body p { margin: 0; color: #a7abb2; font-size: 14px; line-height: 1.65; }
.deo-home-story-image { height: 180px; }
.deo-home-story-body { display: flex; flex-direction: column; padding: 16px; }
.deo-home-story-body h4 { margin: 0 0 9px; font-size: 16px; line-height: 1.35; }
.deo-home-story-body h4 a { color: #fff; }
.deo-home-story-body p { flex: 1 1 auto; margin: 0 0 13px; color: #a7abb2; font-size: 13px; line-height: 1.55; }
.deo-home-story-link { color: #dd163b; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.deo-home-story-link:hover,
.deo-home-story-link:focus { color: #fff; text-decoration: none; }
.deo-home-story-compact .deo-home-story-image { height: 145px; }
.deo-home-story-compact .deo-home-story-body { min-height: 155px; padding: 13px 14px; }
.deo-home-story-compact .deo-home-story-body h4 { font-size: 14px; }
.deo-home-story-compact .deo-home-story-body p { font-size: 12px; }
.deo-home-story-vertical { display: flex; flex-direction: column; }
.deo-home-story-vertical .deo-home-story-image { flex: none; height: 180px; }
.deo-home-story-vertical .deo-home-story-body { min-height: 0; }
.deo-home-sidebar-widget {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 4px;
    background: #292f3a;
}
.deo-home-sidebar-widget h4 {
    padding-bottom: 13px;
    margin: 0 0 13px;
    border-bottom: 1px solid rgba(255,255,255,.22);
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
}
.deo-home-essential-links { padding: 0; margin: 0; list-style: none; }
.deo-home-essential-links li + li { border-top: 1px solid rgba(255,255,255,.08); }
.deo-home-essential-links a {
    display: block;
    padding: 10px 0;
    color: #d8dbe0;
    font-size: 13px;
    line-height: 1.4;
}
.deo-home-essential-links li:first-child a { padding-top: 2px; }
.deo-home-essential-links a:hover { color: #dd163b; text-decoration: none; }
.deo-home-screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.deo-home-screenshot { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 3px; background: #151a21; }
.deo-home-screenshot img { transition: transform .25s ease; }
.deo-home-screenshot:hover img { transform: scale(1.08); }
.deo-home-archive-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}
.deo-home-topic-tabs { display: flex; flex-wrap: wrap; gap: 9px; }
.deo-home-topic-tabs button {
    min-width: 100px;
    padding: 11px 15px;
    border: 0;
    border-radius: 3px;
    background: #292f3a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background .15s ease;
}
.deo-home-topic-tabs button:hover,
.deo-home-topic-tabs button:focus,
.deo-home-topic-tabs button[aria-pressed="true"] { background: #dd163b; color: #fff; }
.deo-home-guide-search input {
    width: 260px;
    max-width: 100%;
    padding: 10px 13px;
    border: 1px solid #343b47;
    border-radius: 3px;
    outline: 0;
    background: #20252d;
    color: #fff;
}
.deo-home-guide-search input:focus { border-color: #dd163b; }
.deo-home-guide-count { margin: 0 0 10px; color: #9da3ad; font-size: 12px; }
.deo-home-guide-empty { padding: 20px; color: #a7abb2; text-align: center; }
.deo-home-guide-grid > .is-filter-hidden { display: none !important; }
.deo-home-guide-empty[hidden] { display: none !important; }
@media (max-width: 991px) {
    .deo-home-news-list { height: auto; }
    .deo-home-featured-news-image { height: 260px; }
    .deo-home-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; align-items: start; }
    .deo-home-sidebar-widget { margin-bottom: 0; }
}
@media (max-width: 767px) {
    .deo-home-platforms { gap: 12px; }
    .deo-platform-shortcut { gap: 10px; min-height: 78px; padding: 10px; }
    .deo-platform-shortcut > span:first-child { min-width: 30px; font-size: 28px; }
    .deo-platform-shortcut strong { font-size: 14px; }
    .deo-platform-shortcut small { font-size: 10px; }
    .deo-home-sidebar { display: block; }
    .deo-home-sidebar-widget { margin-bottom: 18px; }
    .deo-home-archive-controls { align-items: stretch; flex-direction: column; }
    .deo-home-guide-search input { width: 100%; }
}
@media (max-width: 575px) {
    .deo-home-platforms { grid-template-columns: 1fr; }
    .deo-platform-shortcut { min-height: 66px; justify-content: flex-start; padding-left: 28px; }
    .deo-home-list-item { gap: 10px; }
    .deo-home-list-image { flex-basis: 72px; height: 72px; }
    .deo-home-featured-news-image { height: 220px; }
    .deo-home-story-image { height: 165px; }
}
