

/* Start:/local/templates/agpu/styles.css?17742649125732*/
html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

body {
	padding-top: 0;
}

html,
body {
	overflow-x: hidden;
}
a {
	text-decoration: none;
	color: inherit;
}
.site-container {
        width: 100%;
        margin-inline: auto;
        padding-inline: clamp(16px, 4vw, 40px);
        max-width: 1320px;
}
.anchor-offset {
	scroll-margin-top: 120px;
}

.main-content {
	background: #fff;
	position: relative;
	z-index: 2;
}

.card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: none;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	overflow: hidden;
}

.card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
	height: 200px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.card:hover .card-img-top {
	transform: scale(1.05);
}

.btn {
	transition: all 0.3s ease;
	border-radius: 8px;
	font-weight: 500;
}

.btn-lg {
	padding: 12px 30px;
}

.btn-warning {
	background: linear-gradient(135deg, #ffc107, #ff9800);
	border: none;
	color: #212529;
}

.btn-warning:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(255, 152, 0, 0.3);
}

.btn-outline-light:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.material-block {
	margin-bottom: 20px;
	padding: 15px;
	border-left: 4px solid #3498db;
	background-color: #f8f9fa;
	border-radius: 0 4px 4px 0;
}

.material-title {
	font-weight: bold;
	margin-bottom: 10px;
	color: #2c3e50;
	font-size: 1.1em;
}

.material-links a {
	display: block;
	padding: 8px 5px;
	color: #2980b9;
	text-decoration: none;
	border-bottom: 1px solid #eee;
	transition: all 0.2s;
}

.material-links a:last-child {
	border-bottom: none;
}

.material-links a:hover {
	background-color: #e3f2fd;
	padding-left: 10px;
	color: #e74c3c;
}

.material-links a::before {
	content: "📄 ";
	margin-right: 8px;
}

.sidebar-modules {
	margin: 0;
	padding: 0;
}

.sidebar-module-item {
	border: none;
	padding: 0;
}

.sidebar-module-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 6px;
	border-radius: 8px;
	color: #212529;
	text-decoration: none;
	transition: background-color 0.25s ease,
		color 0.25s ease,
		transform 0.15s ease;
}

.sidebar-module-link:hover {
	background-color: #e6f0ff;
	color: #0d6efd;
	transform: translateX(4px);
}

.sidebar-module-link i {
	color: #6c757d;
	transition: color 0.25s ease;
}

.sidebar-module-link:hover i {
	color: #0d6efd;
}

.sidebar-module-item.active .sidebar-module-link {
	background-color: #0d6efd;
	color: #fff;
	font-weight: 600;
}

.sidebar-module-item.active i {
	color: #fff;
}

.sidebar-module-item.active .sidebar-module-link:hover {
	transform: none;
}

.navbar-main .nav-link.active,
.navbar-main.scrolled .nav-link.active {
	background: none !important;
	color: inherit !important;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.news-item {
    display: block;
    text-decoration: none;
    color: #000;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.2s;
    background: #fff;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 15px;
}

.news-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.news-item h3 {
    font-size: 18px;
    margin: 0 0 10px;
}

.news-item p {
    font-size: 14px;
    color: #555;
    margin: 0;
}
.news-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    text-decoration: underline;
}

.news-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.news-date {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

.news-detail-image {
    width: 100%;
    max-height: 450px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 25px;
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.news-empty {
    text-align: center;
    padding: 50px 0;
}
body:not(.main-page) .page-header-wrapper {
	min-height: auto;
}

body:not(.main-page) .navbar-main .nav-link {
	color: #0d6efd;
}

@media (max-width: 992px) {
	.hero-section {
		padding: 150px 0 80px;
		text-align: center;
	}

	.quote-block {
		font-size: 1.1rem;
		padding: 30px 20px;
	}

	.teacher-photo-wrapper img {
		max-width: 280px !important;
	}

	.navbar-main {
		padding: 15px 0;
	}

	.navbar-main.scrolled {
		padding: 10px 0;
	}
}

@media (max-width: 768px) {
	.hero-section {
		padding: 120px 0 60px;
	}

	.quote-block {
		font-size: 1rem;
		padding: 25px 15px;
	}

	.teacher-photo-wrapper img {
		max-width: 220px !important;
	}

	.btn-lg {
		padding: 10px 20px;
		font-size: 1rem;
	}

	.navbar-brand img {
		max-height: 40px !important;
	}
}

@media (max-width: 576px) {
	.hero-section {
		padding: 100px 0 40px;
	}

	.teacher-photo-wrapper img {
		max-width: 180px !important;
		border-width: 5px !important;
	}

	.quote-block {
		padding: 20px 15px;
	}

	.photo-badge {
		font-size: 0.9rem;
		padding: 6px 15px !important;
	}

	.scroll-indicator {
		bottom: 20px;
	}

	.scroll-indicator i {
		font-size: 1.5rem;
	}
}

@media (min-height: 900px) {
	.page-header-wrapper {
		min-height: 95vh;
	}

	.hero-section {
		padding-top: 200px;
	}
}
/* End */
/* /local/templates/agpu/styles.css?17742649125732 */
