@media (min-width: 992px) {
	#topnav .navigation-menu {
		justify-content: flex-end !important;
	}
}

@media (max-width: 991px) {
	.logo {
		padding: 0 !important;
		margin: 0 20px 6px !important;
	}
}

@media (min-width: 992px) {
	.logo {
		margin: 0 15px 0 !important;
	}
}

@media (max-width: 375px) {
	.logo {
		margin: 0 0 6px !important;
	}
}

a.logo img {
	height: 45px !important;
}

.news-cover {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.gallery-image {
	width: 100%;
	height: 240px;
	object-fit: cover;
}

.sticky-bar {
	top: 105px !important;
}

.article-content img,
.article-content figure.media,
.article-content iframe {
	max-width: 100%;
	height: auto;
	border-radius: 6px !important;
}

.article-content blockquote {
	padding: 1rem !important;
	border-left: 3px solid #dee2e6;
	border-radius: 6px;
	font-size: 16px;
}

.article-content blockquote p:last-child {
	margin-bottom: 0 !important;
}

.article-content figure.table {
	display: block;
	width: 100%;
	overflow-x: auto;
	background-color: #fff !important;
}

.article-content figure.table table {
	width: 100%;
	margin-bottom: 1rem;
	color: #212529;
	vertical-align: top;
	caption-side: bottom;
	margin-bottom: 0;
}

.article-content figure.table table > thead,
.article-content figure.table table > tbody {
	vertical-align: bottom;
}

.article-content figure.table table td,
.article-content figure.table table th {
	border: 1px solid #dee2e6;
	vertical-align: middle;
}

.article-content figure.table table > :not(caption) > * > * {
	padding: 0.5rem 0.5rem;
	border-bottom-width: 1px;
}

.bg-half {
    padding: 120px 0 80px !important;
    background-color: #faebe3 !important;
    background-image: none !important;
}

/* Modern News Card */
.news-card {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    background: #fff;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.news-card .news-img-container {
    overflow: hidden;
    position: relative;
}

.news-card .news-img-container img {
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-container img {
    transform: scale(1.1);
}

.news-card .badge-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    color: #2f55d4;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
}

.news-card .card-body {
    padding: 25px !important;
}

.news-card .card-title {
    font-weight: 700;
    font-size: 16px !important;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-meta {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Sidebar Modern */
.sidebar .widget-title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 18px;
}

.sidebar .widget-title:after {
    content: "";
    position: absolute;
    width: 40px;
    height: 3px;
    background: #2f55d4;
    bottom: 0;
    left: 0;
    border-radius: 10px;
}

.blog-categories li {
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.blog-categories li:last-child {
    border-bottom: none;
}

.blog-categories li a {
    color: #475569;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-categories li a:hover {
    color: #2f55d4;
    padding-left: 5px;
}

.blog-categories li .badge {
    background: #f1f5f9;
    color: #64748b;
    font-weight: 500;
}

/* Hero Search */
.hero-search {
    max-width: 600px;
    margin: 30px auto 0;
    background: #fff;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-search input {
    border: none !important;
    padding-left: 20px;
    font-weight: 500;
}

.hero-search input:focus {
    box-shadow: none;
}

.hero-search .btn-search {
    background: #2f55d4;
    color: white;
    border-radius: 12px;
    padding: 10px 25px;
    font-weight: 600;
}

.page-next-level h2 {
    font-size: 26px !important;
    font-weight: 700 !important;
}

/* Partners Section */
.partner-card {
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    background: #fff;
    padding: 15px 10px;
}

.partner-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.04) !important;
    transform: translateY(-3px);
    border-color: #2f55d4;
}

.partner-card img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
    max-height: 40px;
    width: auto;
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-card .partner-name {
    font-weight: 700;
    font-size: 12px;
    color: #1e293b;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-name {
    color: #2f55d4;
}

.partner-card .partner-desc {
    font-size: 10px;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.3;
}
