/* Brand Assets Page */

/* Welcome Section */
.brand-assets-welcome {
    padding-block: clamp(3rem, 1.092rem + 8.14vw, 5rem);
}

#brand-assets-page {
    .welcome-section-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .welcome-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        max-width: 756px;
    }

    .welcome-heading {
        text-align: center;
        font-size: clamp(2rem, 1.046rem + 4.07vw, 3rem);
        font-weight: 600;
        line-height: 1.2;
        color: #101828;
    }

    .welcome-description {
        text-align: center;
        font-size: clamp(1rem, 1.046rem + 4.07vw, 1.3rem);
        line-height: 1.2;
        color: #475467;
        padding-block: 0;
    }

    .brand-assets-download-btn {
        border-radius: 1.25rem;
        box-shadow: 0 2px 24px rgba(24, 39, 75, 0.05);
    }
}

/* Content Sections */
.brand-assets {
    .container {
        padding-block: clamp(2rem, 0.092rem + 8.14vw, 3.5rem);
        border-top: 1px solid #EAECF0;
    }

    .section {
        padding-block: 0;

        &:first-child {
            padding-bottom: clamp(2rem, 0.569rem + 6.11vw, 3.5rem);
        }

        &:not(:first-child) {
            padding-block: clamp(2rem, 0.569rem + 6.11vw, 3.5rem);
        }

        &:not(:last-child) {
            border-bottom: 1px solid #EAECF0;
        }
    }
}

.brand-assets-section-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: clamp(2rem, 0.569rem + 6.11vw, 3.5rem);
}

.brand-assets-section-title {
    font-size: clamp(1.5rem, 1.023rem + 2.04vw, 2rem);
    font-weight: 500;
    line-height: 1.2;
    color: #101828;
}

.brand-assets-section-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #475467;
}

/* Logo Cards */
.brand-assets-cards, .brand-assets-symbols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 0.046rem + 4.07vw, 2rem);
}

.brand-assets-card-preview {
    height: 209px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 8px;

    img {
        max-width: 160px;
        height: 54px;
        object-fit: contain;
    }

    &.brand-assets-card-preview--light {
        background-color: #FFF;
        border: 1px solid #F2F4F7;
    }

    &.brand-assets-card-preview--dark {
        background-color: #2F1D49;
        border: 1px solid #F2F4F7;
    }
}

.brand-assets-card-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    color: #2E3A59;
    text-decoration: none;
}

.brand-assets-symbol {
    margin-top: 56px;
}

/* Colors Section */
.brand-assets-color-swatches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1rem, 0.046rem + 4.07vw, 2rem);
}

.brand-assets-color-swatch {
    height: 76px;
    border-radius: 0.8rem;
    border: 1px solid #F2F4F7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    span {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.2;
        color: #FFF;
    }

    &.brand-assets-color-swatch--light span {
        color: #2F1D49;
    }
}

/* Banner Section */
.brand-assets-banner-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brand-assets-figma-link {
    max-width: max-content;
    display: inline-flex;
    padding: 0.75rem;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    color: #6D2FFD;
    text-decoration-line: underline;
    text-decoration-skip-ink: none;
    text-underline-position: from-font;
}

.brand-assets-banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.brand-assets-banner-item {
    border-radius: 0.5rem;
    overflow: hidden;

    img {
        width: 100%;
        height: auto;
        display: block;
    }
}

@media (max-width: 768px) {
    #brand-assets-page .brand-assets-download-btn {
        width: auto;
    }

    .brand-assets-cards, .brand-assets-symbols {
        grid-template-columns: 1fr;
    }
}
