/*
Theme Name: IMST Edu Pro
Theme URI: https://imst.edu.pk
Author: Kaaam.net
Description: Modern Premium Educational WordPress Theme for IMST
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: imst
License: GPL v2 or later
*/







/* =========================================================
   OFFICIAL VISION & MISSION — REFINED
========================================================= */

.imst-vision-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	align-items: stretch;
}

.imst-vision-card {
	padding: 45px 42px;
}

.imst-vision-card h3 {
	font-size: 27px;
	margin: 14px 0 22px;
}

.imst-vision-card p {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.85;
}

.imst-vision-card p:last-child {
	margin-bottom: 0;
}

@media (max-width: 800px) {

	.imst-vision-grid {
		grid-template-columns: 1fr;
	}

	.imst-vision-card {
		padding: 35px 28px;
	}

	.imst-vision-card h3 {
		font-size: 23px;
	}

}












/* ==========================================
   IMST | SBTE | NAVTTC NEWS TABS
========================================== */

.imst-news-tabs-section {
    padding-top: 65px;
    padding-bottom: 65px;
}

.imst-news-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.imst-news-tab {
    border: 1px solid #d4af37;
    background: #fff;
    color: #071a35;
    padding: 13px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s ease;
}

.imst-news-tab:hover,
.imst-news-tab.active {
    background: #071a35;
    color: #fff;
    border-color: #d4af37;
}

.imst-news-panel {
    animation: imstNewsFade .25s ease;
}

.imst-news-panel[hidden] {
    display: none !important;
}

@keyframes imstNewsFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.imst-official-news-card {
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 900px;
    margin: 25px auto;
    padding: 32px;
    background: #fff;
    border: 1px solid #e5e8ee;
    border-left: 5px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(7,26,53,.07);
}

.imst-official-news-icon {
    flex: 0 0 75px;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #071a35;
    color: #d4af37;
    border-radius: 12px;
    font-size: 30px;
}

.imst-official-news-info {
    flex: 1;
}

.imst-official-label {
    color: #176b45;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.imst-official-news-info h3 {
    color: #071a35;
    margin: 8px 0;
    font-size: 22px;
}

.imst-official-news-info p {
    color: #596579;
    line-height: 1.7;
}

.imst-official-news-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.imst-official-news-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    background: #f5f7fa;
    border: 1px solid #e1e6ed;
    border-radius: 7px;
    color: #071a35;
    text-decoration: none;
    font-weight: 600;
}

.imst-official-news-links a:hover {
    background: #071a35;
    color: #fff;
}

@media(max-width:600px) {
    .imst-news-tabs {
        gap: 8px;
    }

    .imst-news-tab {
        flex: 1 1 100%;
        padding: 12px;
    }

    .imst-official-news-card {
        flex-direction: column;
        text-align: center;
        padding: 23px 17px;
    }

    .imst-official-news-info h3 {
        font-size: 19px;
    }

    .imst-official-news-links {
        flex-direction: column;
    }

    .imst-official-news-links a {
        justify-content: center;
    }
}
