:root {
    --ed-canvas: #eceff1;
    --ed-paper: #ffffff;
    --ed-paper-soft: #f6f7f8;
    --ed-ink: #111418;
    --ed-graphite: #171a1d;
    --ed-muted: #687078;
    --ed-line: #d7dce0;
    --ed-orange: #ff6b35;
    --ed-orange-dark: #d94b19;
    --ed-teal: #139c99;
    --ed-teal-soft: #e4f5f3;
    --ed-yellow: #f4c95d;
}

* { letter-spacing: 0; }
html { background: var(--ed-canvas); }

body,
input,
textarea,
select,
button {
    font-family: Arial, "Helvetica Neue", sans-serif;
}

body {
    background: var(--ed-canvas);
    color: var(--ed-ink);
    font-size: 15px;
}

a { color: var(--ed-ink); }
a:hover { color: var(--ed-orange-dark); }
.wrap { background: transparent; }
.wrap-center { max-width: 1360px; }

/* Header */
.header {
    position: relative;
    z-index: 120;
    height: 82px;
    background: var(--ed-paper) !important;
    border-top: 5px solid var(--ed-orange);
    border-bottom: 1px solid var(--ed-line);
    box-shadow: none;
}

.header-in { height: 77px; padding: 0 24px; }

.dn-logo {
    display: inline-flex !important;
    align-items: center;
    gap: 11px;
    min-width: 210px;
    text-decoration: none !important;
}

.dn-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background: var(--ed-graphite);
    color: var(--ed-orange);
    font-size: 24px;
}

.dn-logo-name {
    color: var(--ed-ink);
    font-size: 25px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.dn-logo-name span { color: var(--ed-orange); }

.search-wrap { max-width: 660px; margin: 0 auto; padding: 0 30px; }
.search-box { height: 46px; border: 1px solid var(--ed-line); border-radius: 4px; background: var(--ed-paper-soft); overflow: hidden; }
.search-box input,
.search-box input:focus { height: 46px; padding: 0 17px; background: transparent !important; box-shadow: none !important; color: var(--ed-ink); }
.search-box input::placeholder { color: #858d94 !important; }
.search-box button { width: 54px; height: 46px; background: var(--ed-orange) !important; color: #fff; }

.btn-login,
.btn-fav,
.btn-search,
.btn-menu { color: var(--ed-ink) !important; }

.wrap-main { padding: 0 20px; }

.tmenu {
    min-height: 54px;
    margin: 0 -20px;
    padding: 0 max(20px, calc((100vw - 1360px) / 2 + 20px));
    background: var(--ed-graphite) !important;
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
}

.tmenu > li { margin-right: 3px; }
.tmenu > li > a { height: 54px; padding: 0 18px; line-height: 54px; color: #fff; font-size: 13px; text-transform: uppercase; }
.tmenu .fa { margin-right: 8px; color: var(--ed-orange) !important; }
.tmenu > li > a:hover { background: #262a2e; color: #fff; }
.tmenu .share-box,
.footer > .share { display: none !important; }

/* Main layout */
.cols { margin: 30px 0 42px; align-items: flex-start; }
.col-left,
.col-right { width: 190px; flex: 0 0 190px; }
.content { min-width: 0; padding: 0 26px; }

.side-box {
    margin-bottom: 18px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.side-bt {
    min-height: 42px;
    padding: 12px 12px 11px;
    background: var(--ed-graphite);
    border-left: 4px solid var(--ed-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.side-bt .fa { color: var(--ed-orange) !important; }
.side-bc { padding: 8px 12px 12px; background: var(--ed-paper); border: 1px solid var(--ed-line); border-top: 0; }
.smenu a { padding: 9px 3px 9px 15px; border-bottom: 1px solid #e7eaec; color: #343a40; font-size: 12px; font-weight: 700; }
.smenu li:last-child a { border-bottom: 0; }
.smenu a:before { left: 1px; color: var(--ed-teal) !important; font-size: 6px; }

.top-item { padding: 8px 0; border-bottom-color: #e7eaec; }
.top-img { width: 34px; height: 34px; border-radius: 4px; }
.top-title { font-size: 11px; font-weight: 800; }

.sect + .sect,
.sect + #dle-content { margin-top: 34px; }

.sect-header {
    min-height: 48px;
    margin-bottom: 15px;
    padding: 0;
    border-bottom: 3px solid var(--ed-graphite);
}

.sect-title {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
    color: var(--ed-ink);
    font-size: 23px;
    font-weight: 900;
    text-transform: uppercase;
}

.sect-title:after { content: ""; position: absolute; left: 0; bottom: -3px; width: 82px; height: 3px; background: var(--ed-orange); }

.sect-link {
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid var(--ed-line);
    border-radius: 4px;
    background: var(--ed-paper) !important;
    color: var(--ed-ink) !important;
    line-height: 32px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}
.sect-link:hover { border-color: var(--ed-orange); color: var(--ed-orange-dark) !important; }

/* Horizontal news cards */
.short-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.short-item { float: none; width: auto; min-width: 0; margin: 0; padding: 0; }

.short-in {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    column-gap: 14px;
    min-height: 122px;
    height: 100%;
    padding: 14px;
    background: var(--ed-paper) !important;
    border: 1px solid var(--ed-line);
    border-radius: 4px;
    box-shadow: none !important;
    transition: border-color .2s ease, transform .2s ease;
}

.short-in:hover { transform: translateY(-2px); border-color: var(--ed-orange); }
.short-link { display: contents; }
.short-img-holder { grid-column: 1; grid-row: 1 / 5; margin: 0; padding: 0; background: var(--ed-paper-soft); border-radius: 4px; overflow: hidden; }
.short-img-holder:before,
.short-img-holder:after { display: none; }
.short-img { width: 92px; height: 92px; aspect-ratio: 1; border-radius: 4px; overflow: hidden; }
.short-img img { width: 100%; height: 100%; object-fit: cover; }
.short-title { grid-column: 2; grid-row: 1; min-width: 0; margin: 0; overflow: hidden; color: var(--ed-ink); font-size: 14px; line-height: 1.25; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.short-version { grid-column: 2; grid-row: 2; justify-self: start; margin-top: 5px; padding: 3px 6px; background: var(--ed-teal-soft); color: #0c7775; border-radius: 3px; font-size: 10px; font-weight: 800; }
.short-desc { grid-column: 2; grid-row: 3; min-height: 0; margin-top: 7px; color: var(--ed-muted); font-size: 11px; line-height: 1.45; }
.short-bottom { grid-column: 2; grid-row: 4; margin-top: 7px; padding-top: 7px; border-top: 1px solid #e8ebed; }
.short-label { background: var(--ed-orange) !important; }

.pages,
.filter-sect,
.sect-wide,
.add-comm-form,
.comm-right,
.sres-wrap,
.us-prof { background: var(--ed-paper) !important; border: 1px solid var(--ed-line); border-radius: 4px; box-shadow: none !important; }

.site-desc-wr { margin-top: 46px; }
.site-desc { padding: 28px; background: var(--ed-graphite) !important; border-left: 6px solid var(--ed-teal); color: #b9c0c5 !important; font-size: 13px; line-height: 1.75; }
.site-desc h1,
.site-desc h2 { color: #fff !important; font-size: 24px; line-height: 1.25; }
.site-desc p:last-child { margin-bottom: 0; }
.site-desc a { color: #76d8d5 !important; }

.full-text { color: #343a40; font-size: 16px; line-height: 1.78; }
.full-text h2 { margin: 34px 0 14px; color: var(--ed-ink); font-size: 25px; line-height: 1.2; }
.full-text h3 { margin: 27px 0 11px; color: var(--ed-ink); font-size: 19px; line-height: 1.3; }
.full-text a { color: var(--ed-orange-dark); }

/* Footer */
.footer { margin: 50px -20px 0; padding: 42px 28px; background: var(--ed-graphite) !important; border-top: 5px solid var(--ed-orange); border-radius: 0; color: #aeb5ba; }
.footer:before,
.footer:after { display: none; }
.footer .dn-logo { justify-content: center; margin: 0 auto 18px; }
.footer .dn-logo-mark { background: #fff; color: var(--ed-orange); }
.footer .dn-logo-name { color: #fff; }
.ft-copyr,
.ft-menu { color: #aeb5ba; }
.ft-copyr a,
.ft-menu a { color: #fff; }

/* Full story */
.is-full-page .col-left,
.is-full-page .col-right { display: none; }
.is-full-page .content { width: 100%; padding: 0; }
.is-full-page .cols { display: block; }
.dn-app { width: 100%; min-width: 0; max-width: 100%; overflow: hidden; color: var(--ed-ink); }

.dn-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; color: var(--ed-muted); font-size: 12px; text-transform: uppercase; }
.dn-breadcrumbs a { color: var(--ed-teal); font-weight: 800; }

.dn-app-hero {
    display: grid;
    grid-template-columns: 190px minmax(0,1fr) 250px;
    gap: 28px;
    align-items: center;
    padding: 30px;
    background: var(--ed-graphite);
    border: 0;
    border-bottom: 7px solid var(--ed-orange);
    border-radius: 0;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.dn-app-icon { width: 190px; height: 190px; border: 5px solid #fff; border-radius: 4px; overflow: hidden; background: #fff; }
.dn-app-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dn-app-title { min-width: 0; }
.dn-app-category { margin-bottom: 11px; overflow: hidden; color: #65d4d0; font-size: 12px; font-weight: 900; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.dn-app-category a { color: #65d4d0; }
.dn-app-title h1 { margin: 0; overflow-wrap: anywhere; color: #fff; font-size: 44px; line-height: 1.05; font-weight: 900; }
.dn-app-subtitle { max-width: 650px; margin: 14px 0 0; color: #b9c0c5; font-size: 15px; line-height: 1.55; }
.dn-app-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.dn-app-tags span { padding: 7px 10px; border: 1px solid #41474d; border-radius: 3px; background: #24282c; color: #fff; font-size: 11px; font-weight: 800; }

.dn-app-actions { padding-left: 26px; border-left: 1px solid #40454a; text-align: center; }
.dn-rating { margin-bottom: 15px; }
.dn-rating .mrating { margin: 0 auto; }
.dn-rating-count { margin-top: 6px; color: #aeb5ba; font-size: 11px; }
.dn-primary-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 4px; background: var(--ed-orange); color: #fff !important; font-size: 14px; font-weight: 900; text-decoration: none !important; text-transform: uppercase; }
.dn-primary-button:hover { background: var(--ed-orange-dark); }
.dn-favorite { margin-top: 13px; color: #aeb5ba; font-size: 11px; }
.dn-favorite a { color: #fff; }
.dn-favorite .fa { margin-right: 6px; color: var(--ed-orange); }

.dn-facts { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin: 0; padding: 0; background: var(--ed-paper); border: 1px solid var(--ed-line); border-top: 0; border-radius: 0; list-style: none; }
.dn-facts li { min-width: 0; padding: 18px 20px; border-right: 1px solid var(--ed-line); border-bottom: 1px solid var(--ed-line); }
.dn-facts li:nth-child(5n) { border-right: 0; }
.dn-facts small { display: block; margin-bottom: 5px; color: var(--ed-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.dn-facts strong { display: block; overflow-wrap: anywhere; color: var(--ed-ink); font-size: 14px; }
.dn-facts a { color: var(--ed-teal); }

.dn-story-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 34px; margin-top: 36px; }
.dn-story-main { min-width: 0; }
.dn-section { min-width: 0; margin-bottom: 38px; }
.dn-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 3px solid var(--ed-graphite); }
.dn-kicker { margin: 0 0 5px; color: var(--ed-orange-dark); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.dn-section-heading h2 { margin: 0; color: var(--ed-ink); font-size: 28px; line-height: 1.15; text-transform: uppercase; }
.dn-movie-slot { min-height: 1px; margin-bottom: 18px; }

.dn-trust-panel { position: sticky; top: 20px; padding: 22px; background: var(--ed-teal-soft); border-top: 5px solid var(--ed-teal); border-radius: 0; color: var(--ed-ink); }
.dn-trust-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 17px; border-radius: 4px; background: var(--ed-teal); color: #fff; font-size: 21px; }
.dn-trust-panel h2 { margin: 0 0 10px; color: var(--ed-ink); font-size: 20px; text-transform: uppercase; }
.dn-trust-panel > p { margin: 0 0 18px; color: #4d6867; font-size: 13px; line-height: 1.55; }
.dn-file-list { margin: 0; }
.dn-file-list div { padding: 11px 0; border-top: 1px solid #bfdedc; }
.dn-file-list dt { margin-bottom: 4px; color: #537270; font-size: 10px; text-transform: uppercase; }
.dn-file-list dd { margin: 0; overflow-wrap: anywhere; color: var(--ed-ink); font-size: 13px; font-weight: 800; }

.dn-gallery { margin-top: 42px; }
.dn-gallery-track { display: flex; gap: 12px; overflow-x: auto; padding: 3px 2px 14px; scroll-snap-type: x mandatory; scrollbar-color: var(--ed-orange) #dfe3e6; }
.dn-gallery-track > .xfieldimagegallery { display: flex !important; width: max-content !important; max-width: none !important; margin: 0 !important; padding: 0 !important; gap: 12px; list-style: none; }
.dn-gallery-track > .xfieldimagegallery > li { float: none !important; flex: 0 0 auto !important; width: auto !important; margin: 0 !important; padding: 0 !important; scroll-snap-align: start; }
.dn-gallery-track img { width: auto !important; height: 430px !important; max-width: none !important; margin: 0 !important; border: 4px solid #fff; border-radius: 0; scroll-snap-align: start; object-fit: cover; }

.dn-install { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 28px; margin-top: 38px; padding: 27px; background: var(--ed-paper); border: 1px solid var(--ed-line); border-left: 7px solid var(--ed-yellow); border-radius: 0; }
.dn-install h2 { margin: 0; color: var(--ed-ink); font-size: 24px; text-transform: uppercase; }
.dn-install ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 24px; margin: 0; padding: 0; list-style: none; counter-reset: install; }
.dn-install li { position: relative; min-height: 40px; padding-left: 45px; color: #4f555a; font-size: 13px; line-height: 1.5; counter-increment: install; }
.dn-install li:before { content: counter(install, decimal-leading-zero); position: absolute; left: 0; top: 0; color: var(--ed-orange); font-size: 21px; line-height: 1; font-weight: 900; }

.dn-faq { margin-top: 40px; }
.dn-faq details { border-top: 1px solid var(--ed-line); background: transparent; }
.dn-faq details:last-child { border-bottom: 1px solid var(--ed-line); }
.dn-faq summary { position: relative; padding: 18px 46px 18px 0; color: var(--ed-ink); font-weight: 900; cursor: pointer; list-style: none; }
.dn-faq summary:after { content: "+"; position: absolute; right: 10px; top: 11px; color: var(--ed-orange); font-size: 27px; }
.dn-faq details[open] summary:after { content: "−"; }
.dn-faq details p { margin: -4px 0 19px; color: var(--ed-muted); line-height: 1.65; }

.dn-download-band { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 26px; align-items: center; margin-top: 40px; padding: 28px; background: var(--ed-graphite); border-left: 7px solid var(--ed-orange); border-radius: 0; }
.dn-download-band .dn-kicker { color: #65d4d0; }
.dn-download-band h2 { margin: 0 0 7px; color: #fff; font-size: 27px; text-transform: uppercase; }
.dn-download-band p { margin: 0; color: #aeb5ba; }

.bunnyvpn-banner { border-radius: 0 !important; }
.bunnyvpn-banner__link { border-radius: 4px !important; background: var(--ed-graphite) !important; animation: none !important; }
.sect-rels { margin-top: 42px; }
.sect-rels .sect-content { padding: 0; }
.sect-comms .sect-content { padding: 22px; background: var(--ed-paper); border: 1px solid var(--ed-line); border-radius: 0; }

.download-popup__dialog { border-radius: 4px !important; background: var(--ed-graphite) !important; }
.download-popup__action { border-radius: 4px !important; background: #229ed9 !important; animation: none !important; }
.download-popup__close { border-radius: 4px !important; }

@media (max-width: 1220px) {
    .wrap { padding-top: 0; }
    .wrap-center { max-width: 1040px; }
    .content { width: 100%; min-width: 100%; flex: 0 0 100%; padding: 0; }
    .col-left,
    .col-right { width: calc(50% - 8px); flex-basis: calc(50% - 8px); margin-top: 30px; }
    .cols { flex-wrap: wrap; justify-content: space-between; }
    .is-full-page .cols { display: block; }
    .dn-app-hero { grid-template-columns: 160px minmax(0,1fr) 220px; }
    .dn-app-icon { width: 160px; height: 160px; }
}

@media (max-width: 900px) {
    .short-items { grid-template-columns: 1fr; }
    .dn-app-hero { grid-template-columns: 135px minmax(0,1fr); }
    .dn-app-icon { width: 135px; height: 135px; }
    .dn-app-title h1 { font-size: 36px; }
    .dn-app-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 230px; align-items: center; padding: 20px 0 0; border-left: 0; border-top: 1px solid #40454a; }
    .dn-rating { margin: 0; }
    .dn-facts { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .dn-facts li,
    .dn-facts li:nth-child(5n) { border-right: 1px solid var(--ed-line); }
    .dn-facts li:nth-child(3n) { border-right: 0; }
    .dn-story-layout { grid-template-columns: 1fr; }
    .dn-trust-panel { position: static; }
    .dn-install { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .header,
    .header-in { height: 68px; }
    .header { border-top-width: 4px; }
    .wrap-main { padding: 0 12px; }
    .dn-logo { min-width: 0; }
    .dn-logo-mark { width: 36px; height: 36px; font-size: 20px; }
    .dn-logo-name { font-size: 19px; }
    .tmenu { margin: 0 -12px; }
    .sect-title { font-size: 19px; }
    .sect-link { display: none; }
    .content,
    .content .sect,
    .content .short-items { max-width: 100%; overflow: hidden; }
    .short-in { grid-template-columns: 78px minmax(0,1fr); width: 100%; max-width: 100%; min-height: 106px; padding: 11px; overflow: hidden; }
    .short-img { width: 78px; height: 78px; }
    .short-title { max-width: calc(100vw - 145px); text-align: left; }
    .short-desc { display: none; }
    .col-left,
    .col-right { width: 100%; flex-basis: 100%; }
    .is-full-page .dn-app { width: calc(100vw - 44px); max-width: calc(100vw - 44px); }
    .dn-app-hero,
    .dn-facts,
    .dn-story-layout,
    .dn-gallery,
    .dn-install,
    .dn-faq,
    .dn-download-band,
    .dn-app .sect-rels { width: 100%; max-width: 100%; }
    .site-desc { padding: 21px; }
    .site-desc h1 { font-size: 21px; }
    .dn-app-hero { grid-template-columns: 94px minmax(0,1fr); gap: 16px; padding: 19px; }
    .dn-app-icon { width: 94px; height: 94px; border-width: 3px; }
    .dn-app-title h1 { font-size: 28px; }
    .dn-app-subtitle { display: none; }
    .dn-app-tags { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; max-width: 100%; margin-top: 11px; }
    .dn-app-tags span { display: block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .dn-app-actions { display: block; }
    .dn-rating { margin-bottom: 15px; }
    .dn-facts { width: 100%; min-width: 0; max-width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: hidden; }
    .dn-facts li { min-width: 0; max-width: 100%; overflow: hidden; }
    .dn-facts li:nth-child(3n) { border-right: 1px solid var(--ed-line); }
    .dn-facts li:nth-child(2n) { border-right: 0; }
    .dn-story-layout { margin-top: 26px; }
    .dn-section-heading { display: block; }
    .dn-section-heading .dn-kicker { margin-bottom: 7px; }
    .dn-section-heading h2 { font-size: 23px; }
    .dn-gallery-track img { height: 320px !important; }
    .dn-install { padding: 19px; }
    .dn-install ol { grid-template-columns: 1fr; }
    .dn-download-band { grid-template-columns: 1fr; padding: 21px; }
    .dn-download-band h2 { font-size: 22px; }
    .footer { margin-left: -12px; margin-right: -12px; }
}
