/* responsive instagram embed */
.instagram-media {
	min-width: auto !important;
	margin: 0px auto 12px !important;
}

/* responsive banner side */
.justify-center {
	display: flex;
	justify-content: center;
}

/* navigation post */
.navigation.post-navigation .nav-links .nav-previous,
.navigation.post-navigation .nav-links .nav-next {
	width: 100%;
    display: flex;
}
.navigation.post-navigation .nav-links .nav-previous a,
.navigation.post-navigation .nav-links .nav-next a {
	margin: auto 0;
}
@media (max-width: 500px) {
    .navigation.post-navigation .nav-links {
		flex-direction: column;
		gap: 20px;
    }
	.navigation.post-navigation .nav-links .nav-previous a span {
		justify-content: start;
	}
	.navigation.post-navigation .nav-links .nav-next a span {
		justify-content: end;
	}
}
@media (max-width: 600px) {
    .navigation.pagination {
        margin-right: 0;
    }
    .navigation.post-navigation,
	.navigation.posts-navigation {
        margin-right: 0px;
    }
}

/* logo web monday media */
.widget:has(.logo-list-wrap) {
	overflow-x: scroll;
	margin-bottom: 0;
}
.widget:has(.logo-list-wrap)::-webkit-scrollbar {
	display: none;
}
.widget:has(.logo-list-wrap) .logo-list-wrap {
	min-width: 600px;
	margin-bottom: 0;
	padding: 1em 0;
}
.widget:has(.logo-list-wrap) .logo-list-wrap .wp-block-column:has(.wp-block-image) {
    display: flex;
    align-items: center;
}
.widget:has(.logo-list-wrap) .logo-list-wrap .wp-block-image {
	margin-bottom: 0;
}
.widget:has(.logo-list-wrap) .logo-list-wrap .wp-block-image img {
	-webkit-user-drag: none;
	user-select: none;
}
.widget:has(.logo-list-wrap) .logo-list-wrap .wp-block-image.d-flex figure {
	display: flex;
}

/* Header custom */
.site-header {
    position: sticky;
    top: 0;
    background-color: var(--bg-clr);
    z-index: 50;
    transition: top .5s;
}
.navigation .main-navigation ul {
    gap: 15px;
}
.navigation .main-navigation li a {
	padding-inline-end: 0;
}
.navigation .main-navigation .current_page_item > a, .navigation .main-navigation .current-menu-item > a, .navigation .main-navigation .current_page_ancestor > a, .navigation .main-navigation .current-menu-ancestor > a {
	text-decoration: none;
    color: #0082e2;
}
.navigation .main-navigation li a:focus, .navigation .main-navigation li a:hover {
	color: #808080;
}
.navigation .main-navigation .current_page_item > a:focus-within, .navigation .main-navigation .current_page_item > a:hover, .navigation .main-navigation .current-menu-item > a:focus-within, .navigation .main-navigation .current-menu-item > a:hover, .navigation .main-navigation .current_page_ancestor > a:focus-within, .navigation .main-navigation .current_page_ancestor > a:hover, .navigation .main-navigation .current-menu-ancestor > a:focus-within, .navigation .main-navigation .current-menu-ancestor > a:hover {
	color: #5ca8e1;
}

@media (max-width: 600px) {
    .site-header .infinite-news-middle-header .infinite-news-middle-header-wrapper .navigation {
        margin-right: 0;
		order: 2;
    }
    .site-header .infinite-news-middle-header .infinite-news-middle-header-wrapper .middle-header-right-part {
        margin-right: 0 !important;
        margin-left: auto;
    }
}

/* <a> break word */
.entry-content p a {
	word-wrap: break-word;
}

/* search post card */
.blog-post-container.tile-layout .blog-post-inner .blog-post-detail .post-excerpt p {
	color: #ffffff;
}

/* NEED MOVE TO NEW FILE FOR BETTER READ */
/* FROM THIS */
/* header top adding style */
.infinite-news-topbar {
	display: flex;
	min-height: 32px;
	padding-block: 2px;
	align-items: center;
	background-color: #262626;
}

.infinite-news-topbar .top-header-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

@media (max-width: 500px) {
	.infinite-news-topbar .top-header-container {
		flex-wrap: wrap;
		padding-bottom: 4px;
		justify-content: center;
	}
}

.infinite-news-topbar .top-header-container .top-header-left {
	gap: 8px;
	display: flex;
	align-items: center;
}

.infinite-news-topbar .top-header-container .top-header-left .header-social-icon {
	flex-shrink: 0;
	isolation: isolate;
}

.infinite-news-topbar .top-header-container .top-header-left .header-social-icon .social-links li a {
	z-index: 20;
	width: 20px;
	height: 26px;
	color: #fff;
	display: block;
	line-height: 28px;
	position: relative;
	text-align: center;
	transition: all 0.4s ease;
	font-size: var(--font-xsmall);
}

.infinite-news-topbar .top-header-container .top-header-left .header-social-icon .social-links li:focus-within, .infinite-news-topbar .top-header-container .top-header-left .header-social-icon .social-links li:focus, .infinite-news-topbar .top-header-container .top-header-left .header-social-icon .social-links li:hover {
	color: #fff;
}

.infinite-news-topbar .top-header-container .top-header-right {
	gap: 8px;
	display: flex;
	flex-shrink: 0;
	align-items: center;
}

.infinite-news-topbar .top-header-container .top-header-right .date {
	color: #fff;
	line-height: 1.1;
}

.infinite-news-topbar .top-header-container .top-header-right .date span {
	font-size: var(--font-xsmall);
	color: #fff;
}
/* UNTIL THIS */