body {
    background: #f5f6f8;
    color: #1f2937;
    font-family: Arial, Helvetica, sans-serif;
}

.site-header {
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

.site-header a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

.site-header__menu-btn {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 0;
    font-size: 18px;
    line-height: 1;
    padding: 8px 10px;
}

.site-header__menu-btn:hover,
.site-header__menu-btn:focus,
.site-header__menu-btn:active {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .55);
    box-shadow: none;
}

.site-header__mobile-nav {
    display: grid;
    gap: 8px;
    padding-top: 8px;
}

.site-header__mobile-nav a {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.converter-card,
.side-card,
.content-card,
.ad-card {
    border: 1px solid #d9dde3;
    border-radius: 0;
    background: #fff;
}

.drop-zone {
    border: 2px dashed #7eb4ff;
    background: #f8fbff;
    color: #0d6efd;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    user-select: none;
}

.drop-zone.drag-over {
    background: #eaf3ff;
    border-color: #0a58ca;
}

.browse-btn {
    margin-top: 8px;
    border-radius: 0;
    font-size: 12px;
}

.toolbar-input {
    height: 38px;
    border-radius: 0;
}

.progress {
    height: 18px;
    border-radius: 0;
    background: #ececec;
}

.progress-bar {
    font-size: 11px;
    font-weight: 700;
}

.video-wrap {
    background: #000;
    border: 1px solid #d9dde3;
    min-height: 380px;
    position: relative;
}

.video-js {
    width: 100%;
    height: 380px;
    display: block;
    background: #000;
}

#videoPreview {
    width: 100%;
    height: 380px;
    display: block;
    background: #000;
}

.player-placeholder {
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: #000;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.option-icon-btn {
    min-width: 110px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d0d7de;
    background: #fff;
    color: #6b7280;
    transition: all .2s ease;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    padding: 0 14px;
}

.option-icon-btn:hover,
.option-icon-btn.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.more-link {
    display: block;
    color: #111827;
    text-decoration: none;
    font-size: 12px;
    padding: 7px 0;
    border-bottom: 1px solid #ececec;
}

.more-link:hover {
    color: #0d6efd;
}

.article-card h1,
.article-card h2,
.article-card h3,
.article-card h4,
.article-card h5,
.article-card h6 {
    font-weight: 800;
    color: #111827;
    margin-top: 18px;
    margin-bottom: 10px;
}

.article-card p,
.article-card li {
    font-size: 13px;
    line-height: 1.65;
    color: #111827;
}

.article-card ul,
.article-card ol {
    padding-left: 18px;
}

.small-muted {
    font-size: 12px;
    color: #6b7280;
}

.status-box {
    min-height: 20px;
    font-size: 12px;
}

.hidden {
    display: none !important;
}

.ad-box {
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fafafa;
    color: #6b7280;
    font-size: 13px;
}

.ad-box--banner {
    min-height: 90px;
}

.ad-box--sidebar {
    min-height: 320px;
}

.ad-card--banner {
    max-width: 1120px;
    margin: 0 auto;
}

.ad-label {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.site-footer {
    margin-top: 30px;
    background: linear-gradient(135deg, #0b3b8f 0%, #0d6efd 55%, #3b82f6 100%);
    color: #fff;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;
    padding: 28px 0 20px;
}

.site-footer__brand {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: .02em;
}

.site-footer__copy {
    max-width: 420px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .86);
}

.site-footer__links {
    display: grid;
    gap: 8px;
}

.site-footer__links a,
.site-footer__socials a {
    color: #fff;
    text-decoration: none;
}

.site-footer__links a {
    font-size: 13px;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    color: #dbeafe;
}

.site-footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.site-footer__socials a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .08);
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
    font-size: 18px;
}

.site-footer__socials a:hover,
.site-footer__socials a:focus-visible {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .55);
    transform: translateY(-1px);
}

.site-footer__bottom {
    padding: 14px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: 12px;
    color: rgba(255, 255, 255, .82);
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.sub-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin-top: 24px;
    margin-bottom: 12px;
}

@media (max-width: 991.98px) {
    .video-js,
    .player-placeholder,
    .video-wrap,
    .ad-box {
        height: 280px;
        min-height: 280px;
    }

    .ad-box--banner {
        height: auto;
        min-height: 72px;
    }

    .ad-box--sidebar {
        height: auto;
        min-height: 240px;
    }

    .option-icon-btn {
        min-width: unset;
        width: calc(50% - 4px);
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .site-footer__socials {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .ad-card--banner {
        border-left: 0;
        border-right: 0;
    }

    .ad-label {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .ad-box--banner {
        min-height: 60px;
        font-size: 12px;
    }
}

.ts-wrapper.single .ts-control {
    height: 38px;
    min-height: 38px;
    border-radius: 0;
    padding: 6px 12px;
    font-size: 14px;
}

.ts-wrapper.single.input-active .ts-control,
.ts-wrapper.single .ts-control:focus {
    box-shadow: none;
}

.ts-dropdown {
    border-radius: 0;
    font-size: 14px;
}
