/* ==========================================================================
   Export Card — shared component
   Used by: home page (exports section), exports listing, conference profile
   ========================================================================== */

.export-card {
    width: 306px;
    height: 450px;
    flex-shrink: 0;
    background-color: var(--color-primary-variant);
    border: 1px solid var(--color-primary-variant);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.export-card .export-cover-wrapper {
    width: 240px;
    height: 350px;
    aspect-ratio: 240 / 350;
    transform: translateY(-55px);
    margin-bottom: -55px;
}

.export-card .export-cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.export-card .export-news-title {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--color-shades-primary);
    font-weight: var(--weight-medium);
    line-height: 1.6;
    margin-top: 20px;
    text-align: center;
    min-height: 80px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-inline: 25px;
    transition: color 0.25s ease;
}

.export-card .export-news-details-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    transform: translateY(28px);
    gap: 10px;
    color: var(--color-on-primary);
    font-size: 18px;
    font-weight: var(--weight-medium);
    line-height: 1;
    transition: transform 0.25s ease;
}

.brand-shape {
    aspect-ratio: 242 / 56;
    height: 56px;
    width: 242px;
    background-color: var(--color-primary);
    -webkit-mask: url("/images/assets/export-btn-shape.svg") center / 100% 100% no-repeat;
    mask: url("/images/assets/export-btn-shape.svg") center / 100% 100% no-repeat;
}


/* --- Hover states ------------------------------------------------------- */

.export-card:hover .export-news-title {
    color: var(--color-primary);
}

.export-card:hover .export-news-details-link {
    transform: translateY(28px) scale(1.05);
}


/* --- Responsive --------------------------------------------------------- */

@media (max-width: 768px) {
    .export-card {
        width: 180px;
        height: 290px;
    }

    .export-card .export-cover-wrapper {
        width: 156px;
        height: 220px;
        transform: translateY(-24px);
        margin-bottom: -24px;
    }

    .export-card .export-news-title {
        font-size: 14px;
        font-weight: var(--weight-regular);
        margin-top: 12px;
        min-height: 40px;
        -webkit-line-clamp: 2;
        padding-inline: 15px;
    }

    .brand-shape {
        aspect-ratio: 148 / 40;
        height: 40px;
        width: 148px;
        -webkit-mask: url("/images/assets/export-btn-shape-small.svg") center / 100% 100% no-repeat;
        mask: url("/images/assets/export-btn-shape-small.svg") center / 100% 100% no-repeat;
    }

    .export-card .export-news-details-link {
        font-size: 12px;
        transform: translateY(20px);
    }

    .export-card:hover .export-news-details-link {
        transform: translateY(20px) scale(1.05);
    }
}