/* Hero cards */
.bx-download-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 100px;
    font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.bx-download-hero-card {
    background: linear-gradient(178deg, rgb(53, 53, 56) 0%, rgb(24, 24, 26) 100%);
    border-radius: 30px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bx-download-hero-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 16px;
}

.bx-download-hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bx-download-hero-name {
    color: #26e485;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.bx-download-hero-card:last-child .bx-download-hero-name {
    color: #fff;
}

.bx-download-hero-version {
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2px;
}

.bx-download-hero-date {
    color: #777;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 12px;
}

.bx-download-hero-requirements {
    color: #777;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 360px;
}

.bx-download-hero-btn {
    display: inline-block !important;
    padding: 12px 20px !important;
    background-color: rgba(22, 182, 102, 0.22) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    border: 2px solid #1eb268 !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    text-align: center !important;
    letter-spacing: 1px !important;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
    margin-bottom: 10px;
    background-image: none !important;
    box-shadow: none !important;
}

.bx-download-icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    margin-left: 6px;
}

.bx-download-hero-btn:hover {
    background-color: rgba(22, 182, 102, 0.44) !important;
    color: #fff !important;
    text-decoration: none !important;
}

.bx-download-hero-os {
    color: #26e485;
    font-size: 13px;
    font-weight: 500;
}

.bx-download-hero-card {
    min-width: 0;
}

.bx-download-hero-notes-toggle {
    margin-top: 20px;
    width: 100%;
    background-color: transparent;
    border-radius: 10px;
    overflow: hidden;
    min-width: 0;
}


.bx-download-hero-notes-toggle .bx-download-summary {
    padding: 12px 16px;
    align-items: center;
}

.bx-download-hero-notes-toggle .bx-download-arrow {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.bx-download-hero-notes-toggle .bx-download-excerpt {
    text-align: left;
}

.bx-download-hero-notes-toggle[open] .bx-download-arrow {
    transform: rotate(90deg);
}

.bx-download-hero-notes {
    padding: 0 16px 16px 48px;
    text-align: left;
    font-size: 13px;
    color: #aaa;
    line-height: 1.6;
}

.bx-download-hero-notes > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.bx-download-hero-notes .appVersion {
    display: none;
}

.bx-download-hero-notes * {
    color: inherit !important;
    background: none !important;
    font-family: inherit !important;
}

.bx-download-hero-notes h3 {
    color: #26e485 !important;
    font-size: 13px;
    font-weight: 600;
    margin: 14px 0 6px 0;
}

.bx-download-hero-notes h3:first-child {
    margin-top: 0;
}

.bx-download-hero-notes ul {
    margin: 0 0 8px 0;
    padding-left: 18px;
}

.bx-download-hero-notes li {
    margin-bottom: 3px;
}

@media (max-width: 600px) {
    .bx-download-hero {
        grid-template-columns: 1fr;
    }
}

/* Filter buttons */
.bx-download-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bx-download-filter-btn {
    padding: 8px 28px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent !important;
    font-family: inherit;
    background-image: none !important;
    box-shadow: none !important;
    line-height: normal !important;
}

.bx-download-filter-btn.release {
    background-color: #26e485 !important;
    color: #fff !important;
    border-color: #26e485 !important;
}

.bx-download-filter-btn.release:not(.active) {
    background-color: transparent !important;
    color: #26e485 !important;
}

.bx-download-filter-btn.beta {
    background-color: #1a1a1a !important;
    color: #aaa !important;
    border-color: #555 !important;
}

.bx-download-filter-btn.beta.active {
    background-color: #333 !important;
    color: #fff !important;
    border-color: #888 !important;
}

/* Hide filtered items */
.bx-download-item.bx-hidden {
    display: none;
}

.bx-download-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1086px;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Each collapsed item */
.bx-download-item {
    background-color: #1a1a1a !important;
    border: none !important;
    border-radius: 22px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Summary row */
.bx-download-summary {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 32px;
    cursor: pointer;
    list-style: none;
}

.bx-download-summary::-webkit-details-marker {
    display: none;
}

.bx-download-summary::marker {
    display: none;
    content: "";
}

/* Disclosure arrow */
.bx-download-arrow {
    font-size: 22px;
    color: #888;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    margin-top: 2px;
}

.bx-download-item[open] .bx-download-arrow {
    transform: rotate(90deg);
}

/* Header text block */
.bx-download-header {
    min-width: 0;
    flex: 1;
}

.bx-download-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}

.bx-download-app {
    color: rgba(22, 182, 102, 1);
    font-size: 17px;
    font-weight: 700;
}

.bx-download-date {
    color: #ffffff;
    font-weight: 400;
}

.bx-download-excerpt {
    font-size: 13px;
    color: rgba(184, 184, 184, 1);
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bx-download-item[open] .bx-download-excerpt {
    display: none;
}

/* Override any inline styles from feed data */
.bx-download-notes * {
    color: inherit !important;
    background: none !important;
    font-family: inherit !important;
}

/* Expanded details */
.bx-download-details {
    padding: 0 32px 32px 68px;
}

.bx-download-notes {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

.bx-download-notes h3 {
    color: #26e485;
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0 8px 0;
}

.bx-download-notes h3:first-child {
    margin-top: 0;
}

.bx-download-notes ul {
    margin: 0 0 12px 0;
    padding-left: 20px;
}

.bx-download-notes li {
    margin-bottom: 4px;
}

.bx-download-button {
    display: inline-block !important;
    margin-top: 16px;
    padding: 12px 20px !important;
    background-color: rgba(22, 182, 102, 0.22) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    border: 2px solid #1eb268 !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    letter-spacing: 1px !important;
    background-image: none !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease;
}

.bx-download-button:hover {
    background-color: rgba(22, 182, 102, 0.44) !important;
    color: #fff !important;
    text-decoration: none !important;
}
