.bg-blog-category {
    background: var(--bg-blog);
}

.bg-info-article {
    background: var(--bg-info-article);
}

.blog-item {
    height: 780px;
    border: 1px solid var(--bg-blog);
    border-radius: 5px;
    overflow: hidden;
    background: transparent;
    /*transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 4px 18px rgba(0,0,0,0.20);*/
}

.blog-item:hover {
    transform: translateY(-6px);
    /*box-shadow: 0 10px 28px rgba(0,0,0,0.35);*/
}

.blog-item-category {
	position: absolute;
	top: 20px;
	left: 0;
	padding: 8px 18px;
	background: var(--bg-blog);
	color: #000000;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	text-decoration: none;
	display: inline-block;
	z-index: 30;
}
.blog-item-category:hover {
	color: #000000;
	text-decoration: underline;
}

.blog-item-author {
    opacity: 0.75;
}

.main-image-blog img {
    width: 100%;
    max-width: 600px;
    height: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-radius: 16px;
    display: block;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .main-image-blog {
        width: 100%;
    }

    .main-image-blog img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

.blog-img {
    width: 100%;
    height: 400px;
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background: #f1f1f1ec;
}

.blog-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 768px) {
	.blog-img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
}


.article-info-item {
	background-color: var(--bg-info-article);
	height: 100%;
	width: 100%;
	display: block;
}

.article-info-item h4,
.article-info-item p,
.article-info-item small {
	color: #252525;
}

.article-info-item p {
    font-size: 16px;
}

.container-fluid .header-glass {
    background-color: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    position: relative !important;
    z-index: 10 !important;
    max-width: 500px !important;
    width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 20px !important;
}


/* Related Articles */
.related-article {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    width: 100%;
}
.related-article-img {
    width: 80px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-right: 16px;
    flex-shrink: 0;
}
.related-article-link {
    font-size: 14px;
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 0;
    font-weight: 600;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.related-service-blog {
    border-radius: 8px;
    overflow: hidden;
    color: inherit;
}
.related-service-blog .rsb-header {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 0;
}
.related-service-blog .rsb-header h3 {
    margin: 0;
}
.related-service-blog .rsb-body {
    text-align: center;
    padding: 30px;
}
.related-service-blog .rsb-body p {
    color: #000;
    margin: 0;
}
.related-service-blog .rsb-btn {
    font-size: 16px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}


/* Line articles */
.line-article-entry {
    padding: 12px;
}
.line-article-entry .date {
    display: inline-block;
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 16px;
    opacity: .8;
}
.line-article-entry .img-link img {
    border-radius: 12px;
    transition: all .25s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,.12);
}
.line-article-entry .img-link img:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,.18);
    transform: scale(1.015);
}
.line-article-entry h3 {
    font-size: 24px;
    font-weight: 600;
    padding: 6px 8px;
    margin-top: 10px;
    border-radius: 6px;
    color: var(--main-brand-color);
    line-height: 1.35;
}
.line-article-entry h3 a {
    color: var(--bg-blog);
    text-decoration: none;
}
.line-article-entry .read-more {
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}
.line-article-entry .read-more:hover {
    color: darken(var(--main-brand-color), 10%);
}