.portal-micro-video-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px 56px;
}

.portal-micro-video-breadcrumb {
    margin-bottom: 24px;
    font-size: 14px;
    color: #64748b;
}

.portal-micro-video-breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.portal-micro-video-breadcrumb a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.portal-micro-video-breadcrumb span {
    margin: 0 8px;
    color: #cbd5e1;
}

.portal-micro-video-breadcrumb__separator {
    color: #cbd5e1;
}

.portal-micro-video-breadcrumb__current {
    color: #cbd5e1;
}

.portal-micro-video-banner {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 180px;
    margin-bottom: 24px;
    padding: 34px 40px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef6ff 0%, #f7fbff 56%, #e8fff6 100%);
    overflow: hidden;
}

.portal-micro-video-banner__media {
    position: relative;
    flex: 0 0 240px;
    height: 140px;
}

.portal-micro-video-banner__screen {
    position: absolute;
    inset: 12px 16px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #1f4ecf 0%, #159a86 100%);
    box-shadow: 0 18px 34px rgba(31, 78, 207, 0.2);
}

.portal-micro-video-banner__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
}

.portal-micro-video-banner__play svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
    fill: #1f4ecf;
}

.portal-micro-video-banner__tile {
    position: absolute;
    width: 64px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(22, 49, 92, 0.12);
}

.portal-micro-video-banner__tile--left {
    left: 0;
    bottom: 0;
}

.portal-micro-video-banner__tile--right {
    top: 0;
    right: 0;
}

.portal-micro-video-banner__content {
    min-width: 0;
}

.portal-micro-video-banner__title {
    margin: 0;
    color: #16315c;
    font-size: 32px;
    line-height: 1.2;
}

.portal-micro-video-banner__subtitle {
    margin: 12px 0 0;
    color: #51627f;
    font-size: 15px;
}

.portal-micro-video-filter {
    margin-bottom: 26px;
    padding: 20px 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(22, 49, 92, 0.06);
}

.portal-micro-video-search {
    display: flex;
    gap: 12px;
    max-width: 460px;
    margin-bottom: 18px;
}

.portal-micro-video-search__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #d7e1ef;
    border-radius: 8px;
    color: #243b5c;
    outline: none;
}

.portal-micro-video-search__input:focus {
    border-color: #2f68d8;
    box-shadow: 0 0 0 3px rgba(47, 104, 216, 0.12);
}

.portal-micro-video-search__button {
    flex: 0 0 auto;
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #1f4ecf;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.portal-micro-video-filter__label {
    margin-bottom: 12px;
    color: #52647f;
    font-size: 14px;
    font-weight: 700;
}

.portal-micro-video-filter__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.portal-micro-video-filter__tag {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #f3f6fb;
    color: #274066;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.portal-micro-video-filter__tag:hover {
    background: #e6f0ff;
    color: #1f4ecf;
    transform: translateY(-2px);
}

.portal-micro-video-filter__tag.is-active {
    background: #1f4ecf;
    color: #fff;
    box-shadow: 0 8px 18px rgba(31, 78, 207, 0.2);
}

.portal-micro-video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.portal-micro-video-card {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 36px rgba(22, 49, 92, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.portal-micro-video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(22, 49, 92, 0.14);
}

.portal-micro-video-card__cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8edf5;
}

.portal-micro-video-card__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.portal-micro-video-card:hover .portal-micro-video-card__cover img {
    transform: scale(1.04);
}

.portal-micro-video-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 18px;
    background: linear-gradient(135deg, #2c61ff 0%, #159a86 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.portal-micro-video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(15, 30, 56, 0.18);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.portal-micro-video-card:hover .portal-micro-video-card__play {
    opacity: 1;
}

.portal-micro-video-card__play svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
    fill: #1f4ecf;
}

.portal-micro-video-card__body {
    padding: 16px;
}

.portal-micro-video-card__category {
    display: inline-flex;
    max-width: 100%;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #edf4ff;
    color: #1f4ecf;
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-micro-video-card__title {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 12px;
    overflow: hidden;
    color: #1d3354;
    font-size: 16px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.portal-micro-video-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #60718a;
    font-size: 13px;
}

.portal-micro-video-card__meta-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.portal-micro-video-card__meta-icon svg {
    width: 16px;
    height: 16px;
    fill: #8aa0ba;
}

.portal-micro-video-empty {
    grid-column: 1 / -1;
    padding: 48px 20px;
    border-radius: 16px;
    background: #fff;
    color: #7b8ca5;
    text-align: center;
}

.portal-micro-video-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 48px 0;
    padding: 24px 0;
    flex-wrap: wrap;
}

.portal-micro-video-pagination__pages {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.portal-micro-video-pagination__btn,
.portal-micro-video-pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    user-select: none;
    transition: all 0.2s ease;
}

.portal-micro-video-pagination__btn:not(.is-disabled):hover,
.portal-micro-video-pagination__page:not(.is-active):hover {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.15);
}

.portal-micro-video-pagination__page.is-active {
    border-color: #1e40af;
    background: #1e40af;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    transform: scale(1.05);
}

.portal-micro-video-pagination__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 40px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    user-select: none;
}

.portal-micro-video-pagination__btn.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.portal-micro-video-pagination__summary {
    margin: 0 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.portal-micro-video-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(8, 18, 36, 0.86);
}

.portal-micro-video-modal.is-open {
    display: flex;
}

.portal-micro-video-modal__content {
    width: min(920px, 100%);
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
}

.portal-micro-video-modal__player-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.portal-micro-video-modal__player {
    display: block;
    width: 100%;
    height: 100%;
    background: #000000;
}

.portal-micro-video-modal__empty {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.6;
}

.portal-micro-video-modal__info {
    padding: 18px 22px 20px;
}

.portal-micro-video-modal__title {
    margin-bottom: 8px;
    color: #1d3354;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.portal-micro-video-modal__meta {
    color: #60718a;
    font-size: 13px;
    line-height: 1.5;
}

.portal-micro-video-modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.portal-micro-video-modal__close:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: scale(1.04);
}

@media (max-width: 1200px) {
    .portal-micro-video-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .portal-micro-video-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .portal-micro-video-banner__media {
        width: 240px;
    }

    .portal-micro-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .portal-micro-video-main {
        padding: 24px 16px 40px;
    }

    .portal-micro-video-banner {
        padding: 28px 22px;
    }

    .portal-micro-video-banner__media {
        width: 100%;
        max-width: 240px;
    }

    .portal-micro-video-banner__title {
        font-size: 26px;
    }

    .portal-micro-video-search {
        max-width: none;
    }

    .portal-micro-video-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .portal-micro-video-modal {
        padding: 16px;
    }

    .portal-micro-video-modal__close {
        top: 12px;
        right: 12px;
    }
}
