/*==========================================================================

 █████╗ ██╗███████╗ ██████╗██╗  ██╗
██╔══██╗██║██╔════╝██╔════╝██║  ██║
███████║██║███████╗██║     ███████║
██╔══██║██║╚════██║██║     ██╔══██║
██║  ██║██║███████║╚██████╗██║  ██║
╚═╝  ╚═╝╚═╝╚══════╝ ╚═════╝╚═╝  ╚═╝

Project    : AISCH School Website
Website    : https://aisch.ir
Framework  : Custom CSS Architecture
Version    : 3.0.0
Author     : AmirAliAkrami
Role       : Front-End Developer & UI/UX Designer
Copyright  : © 2026 AmirAliAkrami
License    : Private

Description
----------------------------------------------------------------------------
Professional Article Page Styles
Designed exclusively for AISCH Educational Platform.

Features
----------------------------------------------------------------------------
• Responsive Layout
• Glassmorphism UI
• Dark / Light Theme
• Modern Typography
• Premium Sidebar
• Related Posts
• Optimized Performance
• Production Ready
• RTL Support

==========================================================================*/

/* =========================================================
   ARTICLE ROOT
========================================================= */

.aak-post-page{

    position:relative;

    width:100%;

    max-width:1360px;

    margin:0 auto;

    padding:

        150px 20px 90px;

    overflow:hidden;

}



/* =========================================================
   BREADCRUMB
========================================================= */

.aak-post-breadcrumb{

    position:relative;

    z-index:2;

    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:8px;

    margin-bottom:25px;

    font-size:.78rem;

    color:var(--text-muted);

}

.aak-post-breadcrumb a{

    color:var(--text-muted);

    text-decoration:none;

    transition:.25s ease;

}

.aak-post-breadcrumb a:hover{

    color:var(--primary-glow);

}

.aak-post-breadcrumb i{

    width:14px;
    height:14px;

    opacity:.6;

}

.aak-post-breadcrumb strong{

    color:var(--text-main);

    font-weight:800;

}


/* =========================================================
   MAIN ARTICLE
========================================================= */

.aak-post-layout{

    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:
        minmax(0, 1fr)
        340px;

    gap:28px;

    align-items:start;

}


/* =========================================================
   ARTICLE CARD
========================================================= */

.aak-post-article{

    position:relative;

    overflow:hidden;

    border:

        1px solid
        rgba(255,255,255,.10);

    border-radius:30px;

    background:

        linear-gradient(
            145deg,
            rgba(15,23,42,.82),
            rgba(15,23,42,.58)
        );

    box-shadow:

        0 30px 80px
        rgba(0,0,0,.18),

        inset 0 1px 0
        rgba(255,255,255,.06);

    backdrop-filter:blur(30px);

    -webkit-backdrop-filter:blur(30px);

}


/* LIGHT MODE */

[data-theme="light"]
.aak-post-article{

    background:

        linear-gradient(
            145deg,
            rgba(255,255,255,.90),
            rgba(255,255,255,.68)
        );

    border-color:
        rgba(2,132,199,.12);

    box-shadow:

        0 25px 70px
        rgba(2,132,199,.10);

}


/* =========================================================
   FEATURE IMAGE
========================================================= */

.aak-post-cover{

    position:relative;

    width:100%;

    aspect-ratio:16/8;

    min-height:320px;

    overflow:hidden;

    background:#07111d;

}

.aak-post-cover img{

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

    transition:
        transform .8s cubic-bezier(.2,.7,.2,1);

}

.aak-post-article:hover
.aak-post-cover img{

    transform:scale(1.035);

}


.aak-post-cover::after{

    content:"";

    position:absolute;

    inset:0;

    background:

        linear-gradient(
            to top,
            rgba(3,7,18,.90),
            rgba(3,7,18,.18) 55%,
            transparent
        );

    pointer-events:none;

}


/* =========================================================
   COVER TOP
========================================================= */

.aak-post-cover-top{

    position:absolute;

    z-index:3;

    top:22px;

    left:22px;
    right:22px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:12px;

}

.aak-post-category{

    display:inline-flex;

    align-items:center;

    gap:7px;

    padding:8px 13px;

    border-radius:999px;

    color:#fff;

    background:

        linear-gradient(
            135deg,
            rgba(2,132,199,.95),
            rgba(50,184,196,.88)
        );

    box-shadow:

        0 10px 30px
        rgba(0,210,255,.18);

    font-size:.72rem;

    font-weight:900;

    backdrop-filter:blur(12px);

}

.aak-post-category i{

    width:14px;
    height:14px;

}


.aak-post-code{

    padding:7px 11px;

    border-radius:10px;

    background:
        rgba(0,0,0,.34);

    border:
        1px solid
        rgba(255,255,255,.15);

    color:
        rgba(255,255,255,.78);

    font-size:.65rem;

    font-weight:900;

    letter-spacing:1px;

    backdrop-filter:blur(10px);

}


/* =========================================================
   COVER BOTTOM META
========================================================= */

.aak-post-cover-bottom{

    position:absolute;

    z-index:3;

    bottom:22px;

    left:25px;
    right:25px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:15px;

    color:
        rgba(255,255,255,.78);

    font-size:.74rem;

}

.aak-post-cover-bottom span{

    display:flex;

    align-items:center;

    gap:7px;

}

.aak-post-cover-bottom i{

    width:15px;
    height:15px;

}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.aak-post-content{

    padding:
        42px
        45px
        50px;

}


/* =========================================================
   ARTICLE EYEBROW
========================================================= */

.aak-post-eyebrow{

    display:flex;

    align-items:center;

    gap:9px;

    margin-bottom:17px;

    color:var(--primary-glow);

    font-size:.72rem;

    font-weight:900;

    letter-spacing:.8px;

}

.aak-post-eyebrow-dot{

    width:7px;
    height:7px;

    border-radius:50%;

    background:var(--primary-glow);

    box-shadow:
        0 0 14px
        var(--primary-glow);

}


/* =========================================================
   TITLE
========================================================= */

.aak-post-title{

    margin:0;

    color:var(--text-main);

    font-size:
        clamp(
            2rem,
            4vw,
            3.25rem
        );

    line-height:1.35;

    font-weight:950;

    letter-spacing:-1.5px;

}

.aak-post-title span{

    background:

        linear-gradient(
            90deg,
            var(--primary-glow),
            var(--primary),
            #7dd3fc
        );

    -webkit-background-clip:text;

    background-clip:text;

    color:transparent;

}


/* =========================================================
   LEAD
========================================================= */

.aak-post-lead{

    margin:
        22px 0 28px;

    padding-bottom:30px;

    border-bottom:
        1px solid
        rgb(113 113 113 / 30%);

    color:var(--text-muted);

    font-size:
        clamp(
            .98rem,
            1.5vw,
            1.12rem
        );

    line-height:2.15;

}


/* =========================================================
   ARTICLE META
========================================================= */

.aak-post-meta{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:12px;

    margin-bottom:38px;

}

.aak-post-meta-item{

    display:flex;

    align-items:center;

    gap:8px;

    padding:
        9px 12px;

    border-radius:12px;

    background:
        rgba(255,255,255,.035);

    border:
        1px solid
        rgba(255,255,255,.07);

    color:var(--text-muted);

    font-size:.76rem;

}

.aak-post-meta-item i{

    width:15px;
    height:15px;

    color:var(--primary-glow);

}


/* =========================================================
   ARTICLE BODY
========================================================= */

.aak-post-body{

    color:var(--text-main);

    font-size:
        clamp(
            .96rem,
            1.4vw,
            1.04rem
        );

    line-height:2.25;

}

.aak-post-body p{

    margin:
        0 0 24px;

    color:var(--text-muted);

}

.aak-post-body h2{

    position:relative;

    margin:
        42px 0 20px;

    padding-right:17px;

    color:var(--text-main);

    font-size:
        clamp(
            1.35rem,
            2.5vw,
            1.8rem
        );

    font-weight:950;

}

.aak-post-body h2::before{

    content:"";

    position:absolute;

    top:8px;

    right:0;

    width:4px;

    height:28px;

    border-radius:10px;

    background:

        linear-gradient(
            to bottom,
            var(--primary-glow),
            var(--primary)
        );

}

.aak-post-body h3{

    margin:
        32px 0 14px;

    font-size:1.2rem;

    font-weight:900;

}

.aak-post-body ul,
.aak-post-body ol{

    margin:
        0 0 28px;

    padding-right:25px;

    color:var(--text-muted);

}

.aak-post-body li{

    margin-bottom:10px;

    padding-right:5px;

}

.aak-post-body a{

    color:var(--primary-glow);

    font-weight:800;

}


/* =========================================================
   IMPORTANT NOTICE
========================================================= */

.aak-post-important{

    position:relative;

    margin:
        35px 0;

    padding:
        22px 24px 22px 22px;

    border-radius:20px;

    background:

        linear-gradient(
            135deg,
            rgba(2,132,199,.10),
            rgba(50,184,196,.035)
        );

    border:
        1px solid
        rgba(50,184,196,.20);

    overflow:hidden;

}

.aak-post-important::before{

    content:"";

    position:absolute;

    top:0;
    bottom:0;
    right:0;

    width:4px;

    background:
        linear-gradient(
            to bottom,
            var(--primary-glow),
            var(--primary)
        );

}

.aak-post-important-head{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:9px;

    color:var(--primary-glow);

    font-weight:950;

}

.aak-post-important-head i{

    width:19px;
    height:19px;

}

.aak-post-important p{

    margin:0;

    font-size:.92rem;

}


/* =========================================================
   BLOCKQUOTE
========================================================= */

.aak-post-quote{

    position:relative;

    margin:
        35px 0;

    padding:
        28px 30px;

    border-radius:20px;

    background:
        rgba(255,255,255,.035);

    border:
        1px solid
        rgb(113 113 113 / 30%);

}

.aak-post-quote i{

    width:28px;
    height:28px;

    color:var(--primary-glow);

    margin-bottom:12px;

}

.aak-post-quote p{

    margin:0;

    color:var(--text-main);

    font-size:1.05rem;

    font-weight:800;

    line-height:2;

}


/* =========================================================
   ARTICLE IMAGE
========================================================= */

.aak-post-image{

    margin:
        35px 0;

}

.aak-post-image img{

    width:100%;

    max-height:620px;

    object-fit:cover;

    border-radius:22px;

    display:block;

    border:
        1px solid
        rgba(255,255,255,.10);

    box-shadow:
        0 20px 60px
        rgba(0,0,0,.15);

}

.aak-post-image figcaption{

    margin-top:10px;

    text-align:center;

    color:var(--text-muted);

    font-size:.72rem;

}


/* =========================================================
   TAGS
========================================================= */

.aak-post-tags{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

    margin-top:40px;

    padding-top:25px;

    border-top:
        1px solid
        rgb(113 113 113 / 30%);

}

.aak-post-tag{

    display:inline-flex;

    align-items:center;

    padding:
        7px 11px;

    border-radius:10px;

    background:
        rgba(2,132,199,.08);

    border:
        1px solid
        rgba(2,132,199,.16);

    color:var(--primary-glow);

    font-size:.72rem;

    font-weight:800;

}


/* =========================================================
   AUTHOR
========================================================= */

.aak-post-author{

    display:flex;

    align-items:center;

    gap:14px;

    margin-top:32px;

    padding-top:27px;

    border-top:
        1px solid
        rgb(113 113 113 / 30%);

}

.aak-post-author-avatar{

    width:52px;
    height:52px;

    flex:0 0 52px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:16px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-glow)
        );

    color:#fff;

    box-shadow:
        0 10px 30px
        rgba(2,132,199,.20);

}

.aak-post-author-avatar i{

    width:24px;
    height:24px;

}

.aak-post-author-info{

    display:flex;

    flex-direction:column;

    gap:4px;

}

.aak-post-author-info span{

    color:var(--text-muted);

    font-size:.72rem;

}

.aak-post-author-info strong{

    color:var(--text-main);

    font-size:.85rem;

}


/* =========================================================
   ARTICLE ACTIONS
========================================================= */

.aak-post-actions{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:15px;

    margin-top:35px;

}

.aak-post-back{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:9px;

    min-height:48px;

    padding:
        0 18px;

    border-radius:14px;

    text-decoration:none;

    color:var(--text-main);

    background:
        rgba(255,255,255,.04);

    border:
        1px solid
        rgb(113 113 113 / 30%);

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;

}

.aak-post-back:hover{

    transform:translateX(4px);

    border-color:
        rgba(50,184,196,.28);

    background:
        rgba(50,184,196,.07);

}

.aak-post-back i{

    width:17px;
    height:17px;

    color:var(--primary-glow);

}


/* =========================================================
   SHARE
========================================================= */

.aak-post-share{

    display:flex;

    align-items:center;

    gap:8px;

}

.aak-post-share-label{

    color:var(--text-muted);

    font-size:.72rem;

}

.aak-post-share-btn{

    width:40px;
    height:40px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:12px;

    color:var(--text-muted);

    background:
        rgba(255,255,255,.035);

    border:
        1px solid
        rgb(113 113 113 / 30%);

    cursor:pointer;

    transition:.25s ease;

}

.aak-post-share-btn:hover{

    color:var(--primary-glow);

    border-color:
        rgba(50,184,196,.25);

    transform:translateY(-2px);

}

.aak-post-share-btn i{

    width:17px;
    height:17px;

}


/* =========================================================
   SIDEBAR
========================================================= */

.aak-post-sidebar{

    position:sticky;

    top:110px;

    display:flex;

    flex-direction:column;

    gap:18px;

}


/* =========================================================
   SIDEBAR CARD
========================================================= */

.aak-post-side-card{

    position:relative;

    overflow:hidden;

    padding:23px;

    border-radius:24px;

    background:
        rgba(15,23,42,.62);

    border:
        1px solid
        rgba(255,255,255,.09);


    backdrop-filter:blur(25px);

    -webkit-backdrop-filter:blur(25px);

}

[data-theme="light"]
.aak-post-side-card{

    background:
        rgba(255,255,255,.72);

    border-color:
        rgba(2,132,199,.10);

}


/* =========================================================
   SIDE HEADER
========================================================= */

.aak-post-side-header{

    display:flex;

    align-items:center;

    gap:11px;

    margin-bottom:18px;

}

.aak-post-side-icon{

    width:42px;
    height:42px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:13px;

    color:var(--primary-glow);

    background:
        rgba(50,184,196,.09);

    border:
        1px solid
        rgba(50,184,196,.16);

}

.aak-post-side-icon i{

    width:20px;
    height:20px;

}

.aak-post-side-header h3{

    margin:0;

    color:var(--text-main);

    font-size:.95rem;

    font-weight:950;

}

.aak-post-side-header span{

    display:block;

    margin-top:3px;

    color:var(--text-muted);

    font-size:.65rem;

}


/* =========================================================
   RELATED POSTS
========================================================= */

.aak-related-list{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.aak-related-item{

    display:grid;

    grid-template-columns:82px minmax(0,1fr);

    gap:11px;

    padding:9px;

    border-radius:15px;

    text-decoration:none;

background: rgb(163 163 163 / 14%);
    border: 1px solid #76767624;

    transition:.25s ease;

}

.aak-related-item:hover{

    transform:translateY(-2px);

    border-color:
        rgba(50,184,196,.16);

    background:
        rgba(50,184,196,.05);

}

.aak-related-image{

    width:82px;
    height:67px;

    overflow:hidden;

    border-radius:11px;

}

.aak-related-image img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:.35s ease;

}

.aak-related-item:hover
.aak-related-image img{

    transform:scale(1.06);

}

.aak-related-info{

    min-width:0;

    display:flex;

    flex-direction:column;

    justify-content:center;

    gap:5px;

}

.aak-related-info span{

    color:var(--primary-glow);

    font-size:.62rem;

    font-weight:800;

}

.aak-related-info h4{

    margin:0;

    color:var(--text-main);

    font-size:.74rem;

    line-height:1.7;

    font-weight:850;

}


/* =========================================================
   QUICK INFO
========================================================= */

.aak-post-info-list{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.aak-post-info-row{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:10px;

    padding:
        10px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.06);

}

.aak-post-info-row:last-child{

    border-bottom:0;

}

.aak-post-info-row span{

    display:flex;

    align-items:center;

    gap:7px;

    color:var(--text-muted);

    font-size:.72rem;

}

.aak-post-info-row strong{

    color:var(--text-main);

    font-size:.73rem;

}

.aak-post-info-row i{

    width:15px;
    height:15px;

    color:var(--primary-glow);

}


/* =========================================================
   NEWS CTA
========================================================= */

.aak-post-news-cta{

    display:block;

    padding:18px;

    border-radius:18px;

    text-decoration:none;

    background:

        linear-gradient(
            135deg,
            rgba(2,132,199,.15),
            rgba(50,184,196,.06)
        );

    border:
        1px solid
        rgba(50,184,196,.18);

}

.aak-post-news-cta-top{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:10px;

}

.aak-post-news-cta-top i{

    color:var(--primary-glow);

}

.aak-post-news-cta strong{

    display:block;

    margin-bottom:5px;

    color:var(--text-main);

    font-size:.88rem;

}

.aak-post-news-cta span{

    color:var(--text-muted);

    font-size:.68rem;

    line-height:1.8;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width:1100px){

    .aak-post-layout{

        grid-template-columns:
            minmax(0,1fr)
            290px;

    }

    .aak-post-content{

        padding:
            35px 32px 42px;

    }

}


@media (max-width:850px){

    .aak-post-page{

        padding:
            130px 15px 65px;

    }

    .aak-post-layout{

        grid-template-columns:1fr;

    }

    .aak-post-sidebar{

        position:static;

        display:grid;

        grid-template-columns:
            repeat(2,minmax(0,1fr));

    }

    .aak-post-cover{

        min-height:250px;

    }

}


@media (max-width:620px){

    .aak-post-page{

        padding:
            115px 10px 50px;

    }

    .aak-post-article{

        border-radius:22px;

    }

    .aak-post-cover{

        aspect-ratio:4/3;

        min-height:230px;

    }

    .aak-post-cover-top{

        top:14px;

        left:14px;
        right:14px;

    }

    .aak-post-cover-bottom{

        left:15px;
        right:15px;

        bottom:15px;

    }

    .aak-post-content{

        padding:
            27px 20px 32px;

    }

    .aak-post-title{

        font-size:
            clamp(
                1.65rem,
                8vw,
                2.15rem
            );

        letter-spacing:-.7px;

    }

    .aak-post-lead{

        font-size:.9rem;

        line-height:2;

    }

    .aak-post-meta{

        gap:7px;

    }

    .aak-post-meta-item{

        font-size:.65rem;

        padding:
            7px 9px;

    }

    .aak-post-body{

        font-size:.91rem;

        line-height:2.15;

    }

    .aak-post-actions{

        flex-direction:column;

        align-items:stretch;

    }

    .aak-post-share{

        justify-content:center;

    }

    .aak-post-back{

        width:100%;

    }

    .aak-post-sidebar{

        grid-template-columns:1fr;

    }

}


/* =========================================================
   PRINT
========================================================= */

@media print{



    .aak-post-page{

        padding:0;

    }

    .aak-post-article{

        border:0;

        box-shadow:none;

        background:#fff;

    }

}
