/*
 * Copyright inpleworks, Co.
*/

.xet-rest-content .item {
	color: #7b7b7b;
}
.xet-rest-content .item .caption a {
	color: #3b3b3b;
}
.xet-rest-content a>i {
	font-size: 20px;
}

/* List
---------------------------------*/
.xet-rest-list .flex-table .flex-table-tr {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid rgba(197,210,224,.7);
	color: #5b5b5b;
}
.xet-rest-list .flex-table .flex-table-tr a {
	font-weight: 500;
	color: #3b3b3b;
}
.xet-rest-list .flex-table .flex-table-td .category {
	color: #5b5b5b;
}
.xet-rest-list .flex-table .flex-table-td span {
	font-size: 12px;
	margin-right: 5px;
	color: #5b5b5b; 
}


/* Webzine
---------------------------------*/
.xet-rest-webzine { 
	position: relative;
}
.xet-rest-webzine .item .thumbnail {
	position: relative;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-webzine .item .thumbnail img {
	vertical-align: top;
    width: 100%;
    transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-webzine .item .thumbnail a {
	z-index: 1;
	position: absolute;	
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #fff;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-webzine .item .thumbnail a>i {
	display: none;
}
.xet-rest-webzine .item .caption p span,
.xet-rest-webzine .item .caption p span a { 
	display: inline-block;
	margin-right: 6px;
}

/* QA
---------------------------------*/
.xet-rest-qa { 
	position: relative;
	color: #555;
}
.xet-rest-qa .item .caption {
	position: relative;
}
.xet-rest-qa .item .caption:after {
	content:"";
	display: block;
	position: absolute;
	bottom: -17px;
	left: 25px;
	width: 21px;
	height: 18px;
	background: url(../img/comment-arrow.png) no-repeat;
}
.xet-rest-qa .item .caption h6 {
	font-weight: bold;
}
.xet-rest-qa .nick-name .nick-name {
	line-height: 50px;
}
.xet-rest-qa .nick-name .nick-name-icon {
	display: inline-block;
	margin-right: 15px;
	width: 50px;
	height: 50px;
	line-height: 50px;
	font-size: 24px;
	text-align: center;
	background: #ccc;
	color: #fff;
}

/* Gallery
-------------------------------------- */ 
.xet-rest-gallery .item {
	background-color: #2b2b2b;
}
.xet-rest-gallery .item .vertical-align {
	background: linear-gradient(to top,rgba(0,0,0,0.5) 0,rgba(0,0,0,0) 33%);
}
.xet-rest-gallery .item .link-wrp {
	z-index: 1;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-gallery .item .link-wrp a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #fff;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;	
}
.xet-rest-gallery .item .link-wrp a>i {
	display: none;
}
.xet-rest-gallery .item .caption {
	color: #fff;
}
.xet-rest-gallery .item .caption span {
	margin: 0 3px;
}


/* Masonry gallery
-------------------------------------- */ 
/* category filter */  
.xet-rest-masonry-filter { 
	text-align: center;
    margin-bottom: 20px; 
}
.xet-rest-masonry-filter button {
	display: inline-block; 
	cursor: pointer;
	margin: 0 0 10px;
    padding: 8px 30px;
    font-size: 14px;	
	text-decoration:none;
	background: none;
	color: #333;
	border: 0;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-masonry-filter button.current { 
    color: #58c4a7;
}

/* thumbnail */
.xet-rest-masonry .item {
	color: #fff;
    font-size: 16px;	
	font-weight: 600;
}
.xet-rest-masonry .thumbnail figure {
	position: relative;
	overflow: hidden;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;	
}
.xet-rest-masonry .thumbnail figure img {
	display: block;
	vertical-align: top;
    width: 100%;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-masonry .thumbnail figcaption {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	color: #fff;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-masonry .thumbnail figcaption .vertical-align {
	background: linear-gradient(to top,rgba(0,0,0,0.5) 0,rgba(0,0,0,0) 33%);
}
.xet-rest-masonry .thumbnail figcaption span {
	margin: 0 3px;
}
.xet-rest-masonry .thumbnail a {
	z-index: 1;
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;	
}
.xet-rest-masonry .thumbnail a>i {
	display: none;
}
/* init Isotope */
.visible_item{
	display:none;
}


/* Blog
-------------------------------------- */ 
.xet-rest-blog .thumbnail {
	position: relative;
	overflow: hidden;
	background: #000;
		border: 1px solid #dadada;

}
.xet-rest-blog .thumbnail img {
	width: 100%;
	vertical-align: top;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-blog .thumbnail a {
	z-index: 1;
	position: absolute;
	top: 0;
	right: 0;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;	
}
.xet-rest-blog .thumbnail a>i {
	display: none;
}
.xet-rest-blog .item .caption span {
	margin: 0 3px;
}

/* scroll 
-------------------------------------- */ 
.xet-rest-scroll .item .thumbnail {
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	color: #ababab;
	background-color: #2b2b2b;
}
.xet-rest-scroll .item .thumbnail .vertical-align {
	background: linear-gradient(to top,rgba(0,0,0,0.5) 0,rgba(0,0,0,0) 33%);
}
.xet-rest-scroll .item .thumbnail span {
	margin: 0 3px;
}
.xet-rest-scroll .item .thumbnail .caption {
	color: #fff !important;
}
.xet-rest-scroll .item .thumbnail a {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-scroll .item .thumbnail a>i {
	display: none;
}
.xet-rest-scroll .owl-nav {
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}

/* Scroll Tab
-------------------------------------- */ 
.xet-rest-tab .item {
	position: relative;
}
.xet-rest-tab .item .thumbnail {
	color: #ababab;
	background-color: #2b2b2b;
}
.xet-rest-tab .item .thumbnail .vertical-align {
	background: linear-gradient(to top,rgba(0,0,0,0.5) 0,rgba(0,0,0,0) 33%);
}
.xet-rest-tab .item .thumbnail span {
	margin: 0 3px;
}
.xet-rest-tab .item .thumbnail a {
	z-index: 1;
	position: absolute;	
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #fff;
	transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-webkit-transition:all 0.3s ease-out;
}
.xet-rest-tab .item .thumbnail a>i {
	display: none;
}
.xet-rest-tab .item .caption {
	color: #fff;
}


/* responsive */
@media (max-width: 767px) {	
	.xet-rest-masonry-filter button { 
		margin: 0 0 10px;
		padding: 5px 15px;
		font-size: 13px;
	}
	.xet-rest-container .item {
		text-align: center;
	}
	
	/* List - Table */
	.xet-rest-list .flex-table {
		border-top: 1px solid rgba(197,210,224,.7);
	}
	.xet-rest-list .flex-table .flex-table-tr {
		padding: 0 0 10px;
	}
	.xet-rest-list .flex-table .flex-table-td {
		position: relative;
		padding: 0;
		margin-bottom: 0;
		margin-top: 10px;
	}
}

@media (min-width: 992px) {	

	/* Webzine
---------------------------------*/
	.xet-rest-webzine .item .thumbnail a {
		opacity: 0;
		background-color: rgba(0,0,0,.3);
	}
	.xet-rest-webzine .item .thumbnail a>i {
		display: block;
	}
	.xet-rest-webzine .item:hover .thumbnail a {
		opacity: 1;
	}

	/* gallery
-------------------------------------- */ 
	.xet-rest-gallery .item .link-wrp {
		opacity: 0;
		background-color: rgba(0,0,0,.3);
	}
	.xet-rest-gallery .item .link-wrp a>i {
		display: block;
	}
	.xet-rest-gallery .item:hover .link-wrp {
		opacity: 1;	
	}

	/* Masonry gallery
-------------------------------------- */ 
	.xet-rest-masonry .thumbnail a {
		opacity: 0;
	}
	.xet-rest-masonry .thumbnail a>i {
		display: block;
	}
	.xet-rest-masonry .item:hover .thumbnail a {
		opacity: 1;
	}
	.xet-rest-masonry .item:hover .thumbnail figure img {
		-moz-transform: scale(1.1); 
		-webkit-transform: scale(1.1); 
		transform: scale(1.1);
	}
	.xet-rest-masonry .item:hover .thumbnail figcaption {
		background-color: rgba(0,0,0,.3);
	}

	/* Blog
-------------------------------------- */ 
	.xet-rest-blog .thumbnail a {
		opacity: 0;	
		background-color: rgba(0,0,0,.3);
	}
	.xet-rest-blog .thumbnail a>i {
		display: block;
	}
	.xet-rest-blog .item:hover .thumbnail a {
		opacity: 1;
	}
	.xet-rest-blog .item:hover .thumbnail img {
		-moz-transform: scale(1.1); 
		-webkit-transform: scale(1.1); 
		transform: scale(1.1);
	}
	
	/* Scroll
-------------------------------------- */ 
	.xet-rest-scroll .item .thumbnail a {
		opacity: 0;
		background-color: rgba(0,0,0,.3);
	}
	.xet-rest-scroll .item .thumbnail a>i {
		display: block;
	}
	.xet-rest-scroll .item:hover .thumbnail a {
		opacity: 1;
	}
	.xet-rest-scroll:hover .owl-nav {
		opacity: 1;
	} 

	/* Scroll Tab
-------------------------------------- */ 
	.xet-rest-tab .item .thumbnail a {
		opacity: 0;
		background-color: rgba(0,0,0,.3);
	}
	.xet-rest-tab .item .thumbnail a>i {
		display: block;
	}
	.xet-rest-tab .item:hover .thumbnail a {
		opacity: 1;
	}
	
	
	/* List
-------------------------------------- */ 	
	.xet-rest-list .flex-table .flex-table-td a:hover { 
		text-decoration: underline;
	}
}


/* notice_gallery category badge
-------------------------------------- */
.notice-gallery-grid .thumbnail,
.xet-rest-webzine .thumbnail,
.xet-rest-masonry .thumbnail figure,
.xet-rest-gallery .item,
.xet-rest-scroll .thumbnail,
.xet-rest-tab .thumbnail {
    position: relative;
}

.notice-gallery-category {
    z-index: 5;
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
    max-width: calc(100% - 20px);
    padding: 6px 10px;
    border: 0;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
    box-shadow: 0 1px 4px rgba(0,0,0,.18);
    pointer-events: none;
}

.notice-gallery-grid .thumbnail > a,
.xet-rest-webzine .thumbnail > a,
.xet-rest-masonry .thumbnail figure > a,
.xet-rest-gallery .item .link-wrp,
.xet-rest-scroll .thumbnail > a,
.xet-rest-tab .thumbnail > a {
    z-index: 2;
}

.notice-gallery-grid .notice-gallery-title a {
    font-weight: 700;
}

.notice-gallery-grid .notice-gallery-summary {
    color: #5b5b5b;
    line-height: 1.65;
}

.notice-gallery-grid .notice-gallery-meta {
    color: #8a8a8a;
}

@media (max-width: 767px) {
    .notice-gallery-category {
        top: 7px;
        right: 7px;
        max-width: calc(100% - 14px);
        padding: 5px 8px;
        font-size: 11px;
    }
}

/* Module tabs
-------------------------------------- */
.notice-gallery-module-tabs {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.notice-gallery-module-tabs .notice-gallery-module-tab {
	flex: 0 0 auto;
	min-height: 38px;
	padding: 8px 16px;
	border: 1px solid #d8d8d8;
	border-radius: 3px;
	background: #fff;
	color: #555;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.notice-gallery-module-tabs .notice-gallery-module-tab:hover,
.notice-gallery-module-tabs .notice-gallery-module-tab:focus {
	border-color: #aaa;
	background: #f5f5f5;
	color: #222;
	outline: 0;
}
.notice-gallery-module-tabs .notice-gallery-module-tab.is-active {
	border-color: #4b4b4b;
	background: #4b4b4b;
	color: #fff;
}
.notice-gallery-module-hidden {
	display: none !important;
}
@media (max-width: 767px) {
	.notice-gallery-module-tabs {
		gap: 6px;
		margin-bottom: 18px;
		padding-bottom: 2px;
	}
	.notice-gallery-module-tabs .notice-gallery-module-tab {
		min-height: 36px;
		padding: 7px 13px;
		font-size: 13px;
	}
}

/* ============================================================
 * notice_gallery V1.2.6: isolated responsive gallery design
 * ============================================================ */
.xet-rest-content.ng-enhanced {
    --ng-accent: #ea5703;
    --ng-badge-rgb: 234,87,3;
    --ng-badge-opacity: 0.90;
    --ng-gap: 16px;
    --ng-card-height: 0px;
    --ng-thumbnail-radius: 6px;
}
.xet-rest-content.ng-enhanced .notice-gallery-module-tabs {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    margin: 0 auto 28px;
    gap: 8px;
}
.xet-rest-content.ng-enhanced .notice-gallery-module-tabs .notice-gallery-module-tab {
    white-space: nowrap;
}
.xet-rest-content.ng-enhanced .ng-gallery-list {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--ng-gap);
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
}
.xet-rest-content.ng-enhanced.ng-pc-3 .ng-gallery-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xet-rest-content.ng-enhanced.ng-pc-4 .ng-gallery-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.xet-rest-content.ng-enhanced.ng-pc-5 .ng-gallery-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.xet-rest-content.ng-enhanced .ng-gallery-list > .ng-gallery-item {
    display: block;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    text-align: inherit;
}
/* V1.2.11: the legacy gallery item has a dark background (#2b2b2b).
   Keep the poster's own fallback background and clipped gradient, but
   clear the outer tile so rounded (6px) poster corners expose the page. */
.xet-rest-content.ng-enhanced .xet-rest-gallery.ng-gallery-list > .ng-gallery-item {
    background-color: transparent !important;
}
.xet-rest-content.ng-enhanced .ng-gallery-masonry {
    column-count: 4;
    column-gap: var(--ng-gap);
}
.xet-rest-content.ng-enhanced.ng-pc-3 .ng-gallery-masonry { column-count: 3; }
.xet-rest-content.ng-enhanced.ng-pc-4 .ng-gallery-masonry { column-count: 4; }
.xet-rest-content.ng-enhanced.ng-pc-5 .ng-gallery-masonry { column-count: 5; }
.xet-rest-content.ng-enhanced .ng-gallery-masonry > .ng-masonry-item {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin: 0 0 var(--ng-gap);
    padding: 0;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
}
.xet-rest-content.ng-enhanced .ng-poster,
.xet-rest-content.ng-enhanced .ng-blog-photo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* V1.2.12: prevent the fallback dark fill from tinting rounded image edges. */
    background: transparent;
    color: #fff;
    overflow: hidden;
    border-radius: var(--ng-thumbnail-radius, 6px);
    /* Isolate image + gradient + caption in the same rounded paint layer. */
    isolation: isolate;
}
.xet-rest-content.ng-enhanced.ng-ratio-4x3 .ng-poster,
.xet-rest-content.ng-enhanced.ng-ratio-4x3 .ng-blog-photo { aspect-ratio: 4 / 3; }
.xet-rest-content.ng-enhanced.ng-ratio-1x1 .ng-poster,
.xet-rest-content.ng-enhanced.ng-ratio-1x1 .ng-blog-photo { aspect-ratio: 1 / 1; }
.xet-rest-content.ng-enhanced.ng-ratio-auto .ng-poster,
.xet-rest-content.ng-enhanced.ng-ratio-auto .ng-blog-photo { aspect-ratio: auto; min-height: 180px; }
.xet-rest-content.ng-enhanced.ng-fixed-height .ng-poster,
.xet-rest-content.ng-enhanced.ng-fixed-height .ng-blog-photo { aspect-ratio: auto; height: var(--ng-card-height); min-height: 0; }
.xet-rest-content.ng-enhanced .ng-poster img,
.xet-rest-content.ng-enhanced .ng-blog-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    transition: transform .3s ease;
}
.xet-rest-content.ng-enhanced.ng-ratio-auto:not(.ng-fixed-height) .ng-poster img,
.xet-rest-content.ng-enhanced.ng-ratio-auto:not(.ng-fixed-height) .ng-blog-photo img {
    position: relative;
    height: auto;
    object-fit: contain;
}
.xet-rest-content.ng-enhanced .ng-poster:hover img,
.xet-rest-content.ng-enhanced .ng-blog-photo:hover img { transform: scale(1.03); }
.xet-rest-content.ng-enhanced .ng-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg,rgba(0,0,0,.08) 5%,rgba(0,0,0,.15) 40%,rgba(0,0,0,.75) 100%);
}
/* Keep the dark fallback ONLY for posts without an image. */
.xet-rest-content.ng-enhanced .ng-no-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 160px;
    background: #2d2d2d;
}
.xet-rest-content.ng-enhanced .ng-poster-link {
    position: absolute;
    z-index: 3;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: transparent !important;
    opacity: 1 !important;
    cursor: pointer;
}
.xet-rest-content.ng-enhanced .notice-gallery-category.ng-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    max-width: calc(100% - 24px);
    padding: 7px 12px;
    border: 0;
    border-radius: 3px;
    background: rgba(var(--ng-badge-rgb), var(--ng-badge-opacity)) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    box-shadow: 0 2px 7px rgba(0,0,0,.18);
    pointer-events: none;
    overflow-wrap: anywhere;
}
.xet-rest-content.ng-enhanced .ng-poster-caption {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 20px 18px 22px;
    color: #fff !important;
    text-align: center;
    pointer-events: none;
}
.xet-rest-content.ng-enhanced .ng-poster-title {
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.35;
    letter-spacing: -.03em;
    overflow-wrap: anywhere;
    text-shadow: 0 1px 3px rgba(0,0,0,.42);
}
.xet-rest-content.ng-enhanced .ng-category-detail {
    margin-top: 9px;
    color: #fff;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.xet-rest-content.ng-enhanced .ng-poster-summary {
    margin-top: 8px;
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
}
.xet-rest-content.ng-enhanced .ng-poster-meta { margin-top: 10px; font-size: 12px; }
.xet-rest-content.ng-enhanced .ng-poster-meta span { margin: 0 4px; }
.xet-rest-content.ng-enhanced .ng-blog-photo { overflow: hidden; }
.xet-rest-content.ng-enhanced .ng-blog-caption {
    padding: 16px 8px 5px;
    text-align: center;
}
.xet-rest-content.ng-enhanced .ng-blog-title,
.xet-rest-content.ng-enhanced .ng-blog-title a {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.38;
    color: #2d2d2d !important;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.xet-rest-content.ng-enhanced .ng-blog-caption .ng-category-detail { color: #555; }
.xet-rest-content.ng-enhanced .ng-blog-summary { margin-top: 10px; font-size: 14px; line-height: 1.5; }
.xet-rest-content.ng-enhanced .ng-blog-meta { margin-top: 12px; font-size: 12px; color: #777; }
.xet-rest-content.ng-enhanced .ng-blog-meta span { margin: 0 4px; }
.xet-rest-content.ng-enhanced .ng-masonry-filter {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.xet-rest-content.ng-enhanced .ng-masonry-filter .ng-filter-button,
.xet-rest-content.ng-enhanced .ng-more-control button {
    padding: 9px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #555;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
}
.xet-rest-content.ng-enhanced .ng-masonry-filter .ng-filter-button.is-active,
.xet-rest-content.ng-enhanced .ng-more-control button:hover { color: #fff; background: var(--ng-accent); border-color: var(--ng-accent); }
.xet-rest-content.ng-enhanced .ng-more-control,
.xet-rest-content.ng-enhanced .ng-more-link { text-align: center; margin-top: 25px; }
.xet-rest-content.ng-enhanced .ng-more-control[hidden] { display: none !important; }
@media (min-width: 768px) and (max-width: 991px) {
    .xet-rest-content.ng-enhanced.ng-tablet-2 .ng-gallery-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .xet-rest-content.ng-enhanced.ng-tablet-3 .ng-gallery-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .xet-rest-content.ng-enhanced.ng-tablet-2 .ng-gallery-masonry { column-count: 2; }
    .xet-rest-content.ng-enhanced.ng-tablet-3 .ng-gallery-masonry { column-count: 3; }
    .xet-rest-content.ng-enhanced .ng-poster-title,
    .xet-rest-content.ng-enhanced .ng-blog-title,
    .xet-rest-content.ng-enhanced .ng-blog-title a { font-size: 21px !important; }
    .xet-rest-content.ng-enhanced .ng-category-detail { font-size: 16px !important; }
}
@media (max-width: 767px) {
    .xet-rest-content.ng-enhanced.ng-mobile-1 .ng-gallery-list { grid-template-columns: repeat(1,minmax(0,1fr)); }
    .xet-rest-content.ng-enhanced.ng-mobile-2 .ng-gallery-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .xet-rest-content.ng-enhanced.ng-mobile-1 .ng-gallery-masonry { column-count: 1; }
    .xet-rest-content.ng-enhanced.ng-mobile-2 .ng-gallery-masonry { column-count: 2; }
    .xet-rest-content.ng-enhanced .notice-gallery-module-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin-bottom: 20px;
    }
    .xet-rest-content.ng-enhanced .ng-poster-caption { padding: 16px 10px 18px; }
    .xet-rest-content.ng-enhanced .ng-poster-title,
    .xet-rest-content.ng-enhanced .ng-blog-title,
    .xet-rest-content.ng-enhanced .ng-blog-title a { font-size: 18px !important; }
    .xet-rest-content.ng-enhanced .ng-category-detail { font-size: 15px !important; }
    .xet-rest-content.ng-enhanced .notice-gallery-category.ng-badge { top: 7px; right: 7px; padding: 5px 8px; font-size: 12px; }
    .xet-rest-content.ng-enhanced.ng-mobile-2 .ng-poster-title { font-size: 16px !important; }
    .xet-rest-content.ng-enhanced.ng-mobile-2 .ng-category-detail { font-size: 13px !important; }
}

/* Other supported notice_gallery list styles */
.xet-rest-content.ng-enhanced .ng-other-title,
.xet-rest-content.ng-enhanced .ng-other-title a { font-size: 22px !important; font-weight: 700 !important; line-height: 1.35; }
.xet-rest-content.ng-enhanced .xet-rest-webzine .ng-category-detail,
.xet-rest-content.ng-enhanced .xet-rest-list .ng-category-detail { color: #555; }
.xet-rest-content.ng-enhanced .ng-list-badge {
    display: inline-block; margin: 0 0 9px; padding: 6px 10px;
    background: rgba(var(--ng-badge-rgb), var(--ng-badge-opacity)); color: #fff; font-size: 14px; font-weight: 700;
}
@media (max-width: 767px) {
    .xet-rest-content.ng-enhanced .ng-other-title,
    .xet-rest-content.ng-enhanced .ng-other-title a { font-size: 18px !important; }
}

/* Preserve the original 'first image large' option in uniform gallery mode. */
.xet-rest-content.ng-enhanced .ng-gallery-list > .ng-featured { grid-column: span 2; grid-row: span 2; }
@media (max-width: 767px) {
    .xet-rest-content.ng-enhanced.ng-mobile-1 .ng-gallery-list > .ng-featured { grid-column: span 1; grid-row: span 1; }
}

.xet-rest-content.ng-enhanced .ng-poster-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* ============================================================
 * notice_gallery V1.2.9: outer gutters for image galleries ONLY.
 * Keep existing 5-column grid, tile spacing, tabs, and blog layout intact.
 * Box-sizing prevents responsive padding from growing container width.
 * ============================================================ */
.xet-rest-content.ng-enhanced .xet-rest-gallery.ng-gallery-list,
.xet-rest-content.ng-enhanced .ng-gallery-masonry {
    box-sizing: border-box;
    max-width: 100%;
}
@media (min-width: 992px) {
    .xet-rest-content.ng-enhanced .xet-rest-gallery.ng-gallery-list,
    .xet-rest-content.ng-enhanced .ng-gallery-masonry {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .xet-rest-content.ng-enhanced .xet-rest-gallery.ng-gallery-list,
    .xet-rest-content.ng-enhanced .ng-gallery-masonry {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
@media (max-width: 767px) {
    .xet-rest-content.ng-enhanced .xet-rest-gallery.ng-gallery-list,
    .xet-rest-content.ng-enhanced .ng-gallery-masonry {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
