/* ===============================
ARTICLE PAGE CONTAINER
=============================== */

.article-page-container{
    max-width:1100px;
    margin:auto;
    padding:120px 20px 60px;
    background:#fff;
}

.article-content{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.article-content img{
    max-width:100%;
    max-height:70vh;
    object-fit:contain;
    cursor:pointer;
}


/* ===============================
HEADINGS
=============================== */

.article-heading1{
    font-size:2.4rem;
    font-weight:700;
    margin-top:40px;
    margin-bottom:15px;
    border-bottom:3px solid #205aff;
    padding-bottom:8px;
}

.article-heading2{
    font-size:1.9rem;
    font-weight:600;
    margin-top:18px;
    margin-bottom:5px;
    color:#205aff;
}

.article-heading3{
    font-size:1.4rem;
    font-weight:600;
    margin-top:15px;
    margin-bottom:4px;
}


/* ===============================
TEXT
=============================== */

.article-text{
    font-size:1.2rem;
    line-height:1.8;
    color:#222;
}

/* ===============================
IMAGE LIGHTBOX
=============================== */

.image-lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.9);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
    cursor:zoom-out;
}

.image-lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:8px;
}

/* ===============================
IMAGE CENTER
=============================== */

.image-center{
    display:flex;
    flex-direction:column;
    align-items:center;
    margin:10px 0;
}

.image-center img{
    max-width:100%;
    border-radius:10px;
}

.image-caption{
    margin-top:8px;
    font-size:1.1rem;
    color:#666;
    text-align:center;
    font-style:italic;
}


/* ===============================
IMAGE LEFT
=============================== */

.image-left{
    display:flex;
    align-items:flex-start;
    gap:20px;
    margin:10px 0;
}

.image-left img{
    width:300px;
    max-width:40%;
    border-radius:10px;
}

.image-left .text{
    flex:1;
    line-height:1.8;
    font-size:1.2rem;
}


/* ===============================
IMAGE RIGHT
=============================== */

.image-right{
    display:flex;
    align-items:flex-start;
    gap:20px;
    margin:10px 0;
}

.image-right img{
    width:300px;
    max-width:40%;
    border-radius:10px;
}

.image-right .text{
    flex:1;
    line-height:1.8;
    font-size:1.2rem;
}


/* ===============================
QUOTE
=============================== */

.article-quote{
    border-left:5px solid #205aff;
    padding:20px;
    margin:10px 0;
    font-style:italic;
    font-size:1.2rem;
    background:#f9f9f9;
}

.quote-author{
    margin-top:10px;
    font-size:0.9rem;
    color:#555;
    text-align:right;
}


/* ===============================
TABLE
=============================== */

.article-table{
    width:100%;
    border-collapse:collapse;
    margin:10px 0;
}

.article-table th,
.article-table td{
    border:1px solid #ddd;
    padding:12px;
    text-align:left;
    font-size:1.2rem;
}

.article-table th{
    background:#205aff;
    color:white;
}


/* ===============================
NOTE BOX
=============================== */

.note-box{
    border-left:6px solid #2ecc71;
    background:#f1fff5;
    padding:20px;
    margin:10px 0;
    border-radius:6px;
}

.note-title{
    font-weight:bold;
    margin-bottom:10px;
}


/* ===============================
WARNING BOX
=============================== */

.warning-box{
    border-left:6px solid #e74c3c;
    background:#fff5f5;
    padding:10px;
    margin:25px 0;
    border-radius:6px;
}

.warning-title{
    font-weight:bold;
    margin-bottom:10px;
}


/* ===============================
FORMULA BOX
=============================== */

.formula-box{
    background:#f4f6ff;
    border:2px solid #205aff;
    padding:20px;
    margin:10px 0;
    border-radius:8px;
    text-align:center;
    font-size:1.2rem;
}


/* ===============================
BULLET LIST
=============================== */

.article-bullets{
    margin:10px 0;
    padding-left:20px;
}

.article-bullets li{
    margin-bottom:8px;
    margin-left:10px;
    line-height:1.7;
    font-size:1.2rem;
}


/* ===============================
NUMBERED LIST
=============================== */

.article-numbered{
    margin:10px 0;
    padding-left:20px;
}

.article-numbered li{
    margin-bottom:8px;
    margin-left:10px;
    line-height:1.7;
    font-size:1.2rem;
}


/* ===============================
INFO CARDS
=============================== */

.info-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin:10px 0;
}

.info-card{
    border:1px solid #ddd;
    border-radius:10px;
    padding:20px;
    background:#fafafa;
    transition:0.2s;
}

.info-card:hover{
    transform:translateY(-3px);
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.info-card-title{
    font-weight:bold;
    margin-bottom:8px;
}


/* ===============================
RESPONSIVE
=============================== */

@media(max-width:768px){

    .article-page-container{
        padding:100px 15px 40px;
    }

    .image-left,
    .image-right{
        flex-direction:column;
        align-items:center;
    }

    .image-left img,
    .image-right img{
        width:100%;
        max-width:100%;
        order:1;
    }

    .image-left .text,
    .image-right .text{
        width:100%;
        order:2;
    }

}