.portal-page{
    padding: 28px 0 50px;
}

.portal-container{
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.portal-header{
    text-align: center;
    margin-bottom: 28px;
}

.portal-header h1{
    margin: 0 0 10px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    font-weight: 900;
    color: #fff;
}

.portal-header p{
    margin: 0;
    color: #93a4c7;
    font-size: 18px;
}

.portal-layout{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
    align-items: start;
}

.portal-main{
    min-width: 0;
}

.portal-sidebar{
    min-width: 0;
}

.portal-section{
    background: linear-gradient(180deg, rgba(18,32,65,.96) 0%, rgba(10,20,42,.98) 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 24px;
    box-shadow: 0 16px 36px rgba(0,0,0,.22);
}

.portal-section-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.portal-section-head h2{
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.portal-featured-wrap{
    display: grid;
    gap: 18px;
}

.portal-featured-card{
    display: grid;
    grid-template-columns: minmax(280px, 40%) minmax(0, 1fr);
    gap: 18px;
    text-decoration: none;
    color: inherit;
}

.portal-featured-image img{
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.portal-featured-content h3{
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(5px, 3vw, 30px);
    line-height: 1.12;
    font-weight: 900;
}

.portal-featured-content p{
    margin: 0;
    color: #b9c5dd;
    font-size: 18px;
    line-height: 1.65;
}

.portal-time{
    font-size: 13px;
    color: #8f9fbe;
    margin-bottom: 14px;
}

.portal-mini-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.portal-mini-card{
    text-decoration: none;
    color: inherit;
}

.portal-mini-image img{
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.portal-mini-content{
    padding-top: 10px;
}

.portal-mini-content h4{
    margin: 0 0 8px;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.portal-mini-content span{
    color: #8f9fbe;
    font-size: 12px;
}

.portal-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.portal-card{
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.portal-card:hover,
.portal-mini-card:hover,
.portal-featured-card:hover{
    transform: translateY(-2px);
}

.portal-card:hover{
    border-color: rgba(255,255,255,.12);
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.portal-card-image img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.portal-card-content{
    padding: 16px;
}

.portal-card-content h3{
    margin: 0 0 12px;
    color: #fff;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
}

.portal-card-content p{
    margin: 0 0 12px;
    color: #b9c5dd;
    font-size: 16px;
    line-height: 1.6;
}

.portal-card-meta{
    color: #8f9fbe;
    font-size: 13px;
}

.portal-side-box{
    background: linear-gradient(180deg, rgba(18,32,65,.96) 0%, rgba(10,20,42,.98) 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 22px;
    box-shadow: 0 16px 36px rgba(0,0,0,.22);
}

.portal-side-title{
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.portal-ad-placeholder{
    height: 280px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0c1731 0%, #1a2a55 100%);
    color: #c8d2e8;
    font-weight: 700;
    border: 1px dashed rgba(255,255,255,.14);
}

.portal-most-read{
    display: grid;
    gap: 14px;
}

.portal-most-item{
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.portal-most-thumb img{
    width: 100%;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.portal-most-text h4{
    margin: 0 0 6px;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
}

.portal-most-text span{
    color: #8f9fbe;
    font-size: 12px;
}

.portal-category-links{
    display: grid;
    gap: 10px;
}

.portal-category-links a{
    display: block;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 700;
    transition: background .18s ease, border-color .18s ease;
}

.portal-category-links a:hover{
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.12);
}

.portal-pagination{
    margin-top: 10px;
}

@media (max-width: 1100px){
    .portal-layout{
        grid-template-columns: 1fr;
    }

    .portal-sidebar{
        order: 2;
    }
}

@media (max-width: 900px){
    .portal-featured-card{
        grid-template-columns: 1fr;
    }

    .portal-mini-grid{
        grid-template-columns: 1fr;
    }

    .portal-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px){
    .portal-container{
        width: min(100%, calc(100% - 20px));
    }

    .portal-header{
        margin-bottom: 20px;
    }

    .portal-section,
    .portal-side-box{
        padding: 14px;
        border-radius: 14px;
    }

    .portal-section-head h2,
    .portal-side-title{
        font-size: 20px;
    }

    .portal-card-content h3{
        font-size: 20px;
    }

    .portal-featured-content h3{
        font-size: 28px;
    }

    .portal-featured-content p{
        font-size: 16px;
    }
}