.download-card {
    position: relative;
}

.download-thumbnail-wrap {
    position: relative;
    display: flex;
    flex: 1 1 100%;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 220px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.download-thumbnail-backdrop,
.download-thumbnail-wrap::after {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.download-thumbnail-backdrop {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(34px) saturate(1.08);
    transform: scale(1.22);
    z-index: 0;
}

.download-thumbnail-wrap::after {
    content: "";
    background: linear-gradient(90deg, rgba(5, 16, 29, 0.86) 0%, rgba(5, 16, 29, 0.34) 18%, rgba(5, 16, 29, 0.08) 50%, rgba(5, 16, 29, 0.34) 82%, rgba(5, 16, 29, 0.86) 100%);
}

.download-thumbnail-wrap.is-portrait .download-thumbnail-backdrop,
.download-thumbnail-wrap.is-portrait::after {
    opacity: 1;
}

.download-thumbnail {
    display: block;
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.download-thumbnail-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    width: 100%;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 4px;
}

.download-progress-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 4;
    background: rgba(34, 197, 94, 0.14);
    transition: opacity 0.2s ease;
}

.download-progress-track.is-visible {
    opacity: 1;
}

.download-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #19b64a 0%, #50f07c 100%);
    box-shadow: 0 0 10px rgba(53, 255, 123, 0.55);
    transition: width 0.18s ease;
}

.download-progress-track.is-indeterminate .download-progress-bar {
    width: 32%;
    animation: thin-download-progress 1.1s linear infinite;
}

.js-download-file.is-disabled {
    opacity: 0.65;
    pointer-events: none;
}

.seo-page .seo-rich-text p {
    margin-bottom: 0.95rem;
    line-height: 1.8;
}

.seo-page .seo-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.seo-breadcrumb-wrap {
    margin-bottom: 1.25rem;
}

.seo-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.92rem;
}

.seo-breadcrumb-item {
    color: rgba(255, 255, 255, 0.88);
}

.seo-breadcrumb-item + .seo-breadcrumb-item::before {
    content: "/";
    margin-right: 0.45rem;
    color: rgba(255, 255, 255, 0.52);
}

.seo-breadcrumb-item a {
    color: #ffd35a;
}

.seo-breadcrumb-item span {
    color: rgba(255, 255, 255, 0.88);
}

.seo-badge-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.seo-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.86rem;
    letter-spacing: 0.01em;
    background: rgba(255, 255, 255, 0.08);
}

.seo-step-number {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    border-radius: 999px;
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
    font-weight: 700;
}

.seo-page .expanel-heading.font-weight-semibold {
    font-size: 1rem;
}

.top-bar-right .dropdown-menu {
    max-height: 70vh;
    overflow-y: auto;
}

.header-main .top-bar-left .top-link li a,
.header-main .top-bar-left .top-link li a:visited {
    color: rgba(255, 255, 255, 0.88) !important;
    transition: color 0.2s ease;
}

.header-main .top-bar-left .top-link li a:hover,
.header-main .top-bar-left .top-link li a:focus,
.header-main .top-bar-left .top-link li a.active,
.header-main .top-bar-left .top-link li a.active:visited {
    color: #7dd3fc !important;
}

.horizontalMenu > .horizontalMenu-list > li > a.active,
.horizontalMenu > .horizontalMenu-list > li > a.active:visited {
    color: #7dd3fc !important;
    background: rgba(125, 211, 252, 0.12) !important;
}

.horizontalMenu > .horizontalMenu-list > li:hover > a,
.horizontalMenu > .horizontalMenu-list > li > a:focus {
    color: #7dd3fc !important;
}

@media (max-width: 991.98px) {
    .horizontalMenu > .horizontalMenu-list > li > a.active,
    .horizontalMenu > .horizontalMenu-list > li > a.active:visited,
    .horizontalMenu > .horizontalMenu-list > li:hover > a,
    .horizontalMenu > .horizontalMenu-list > li > a:focus {
        color: #051225 !important;
        background: #e6f2ff !important;
    }
}

.footer-tool-links .btn-link {
    color: rgba(255, 255, 255, 0.92);
}

.seo-tool-notice {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 213, 90, 0.4);
    background: rgba(255, 213, 90, 0.14);
    color: #fff5cb;
    text-align: left;
}

.btn-submit-youtube[disabled] {
    cursor: not-allowed;
    opacity: 0.92;
}

@keyframes thin-download-progress {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(320%);
    }
}
