/* ===== g-custom layout - chuẩn lưới và card đồng bộ ===== */
.g-custom-archive-wrapper {
  max-width: var(--hsk-container-max, 1200px);
  margin: 0 auto;
  padding: 10px 15px 40px;
  box-sizing: border-box;
}

.g-custom-post-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: stretch;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Mỗi item = 1 card đồng đều */
.g-custom-post-grid .g-custom-post-item {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  box-sizing: border-box;
  background: #ffffff;
  border: 2px solid #ffb536;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.g-custom-post-grid .g-custom-post-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(31, 54, 92, 0.12);
}

/* Thumbnail chuẩn cho dự án */
.g-custom-post-grid .g-custom-post-item .g-custom-thumb {
  width: 100%;
  height: 250px;
  display: block;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

.g-custom-post-grid .g-custom-post-item .g-custom-thumb img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover !important;
  transition: transform 0.4s ease;
}

/* Thumbnail chuẩn cho Tin tức / Kinh nghiệm làm nhà (tỷ lệ 900x510) */
.g-custom-post-grid .g-custom-post-item.g-custom-cat35 .g-custom-thumb,
body[class*="category-tin-tuc"] .g-custom-post-grid .g-custom-post-item .g-custom-thumb,
body[class*="category-kinh-nghiem-lam-nha"] .g-custom-post-grid .g-custom-post-item .g-custom-thumb,
body[class*="category-hoat-dong"] .g-custom-post-grid .g-custom-post-item .g-custom-thumb,
body[class*="category-luat-xay-dung"] .g-custom-post-grid .g-custom-post-item .g-custom-thumb,
body[class*="category-tuyen-dung"] .g-custom-post-grid .g-custom-post-item .g-custom-thumb {
  width: 100%;
  height: auto !important;
  aspect-ratio: 900 / 510 !important;
  display: block;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

.g-custom-post-grid .g-custom-post-item.g-custom-cat35 .g-custom-thumb img,
body[class*="category-tin-tuc"] .g-custom-post-grid .g-custom-post-item .g-custom-thumb img,
body[class*="category-kinh-nghiem-lam-nha"] .g-custom-post-grid .g-custom-post-item .g-custom-thumb img,
body[class*="category-hoat-dong"] .g-custom-post-grid .g-custom-post-item .g-custom-thumb img,
body[class*="category-luat-xay-dung"] .g-custom-post-grid .g-custom-post-item .g-custom-thumb img,
body[class*="category-tuyen-dung"] .g-custom-post-grid .g-custom-post-item .g-custom-thumb img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 900 / 510 !important;
  object-fit: cover !important;
  display: block;
}

.g-custom-post-grid .g-custom-post-item:hover .g-custom-thumb img {
  transform: scale(1.06);
}

/* Nội dung dưới ảnh */
.g-custom-post-grid .g-custom-post-item .g-custom-content {
  padding: 18px 18px 20px 18px !important;
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  box-sizing: border-box;
}

/* 1. TIÊU ĐỀ: Font Roboto Condensed, 15.5px, bold, uppercase, navy #1f365c */
.g-custom-post-grid .g-custom-post-item .g-custom-title {
  margin: 0 0 10px 0 !important;
  line-height: 1.35 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 62px !important;
}

.g-custom-post-grid .g-custom-post-item .g-custom-title a {
  color: #1f365c !important;
  text-decoration: none !important;
  font-family: var(--hsk-font-menu), "Roboto Condensed", "Open Sans Condensed", sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px;
  transition: color 0.2s ease !important;
}

.g-custom-post-grid .g-custom-post-item .g-custom-title a:hover {
  color: #ffb536 !important;
}

/* 2. TÓM TẮT: Font Open Sans, 13px, màu #555555, giới hạn 2 dòng */
.g-custom-post-grid .g-custom-post-item .g-custom-excerpt {
  margin: 0 0 16px 0 !important;
  color: #555555 !important;
  font-family: var(--hsk-font-body), "Open Sans", sans-serif !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 40px !important;
}

/* 3. CHỮ XEM CHI TIẾT: Căn đáy, chữ hoa, font Roboto Condensed, 13.5px, bold, navy #1f365c hover vàng */
.g-custom-post-grid .g-custom-post-item .post-details {
  margin-top: auto !important;
  padding-top: 10px !important;
  border-top: 1px dashed #e2e8f0 !important;
  font-family: var(--hsk-font-menu), "Roboto Condensed", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px;
  color: #1f365c !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.g-custom-post-grid .g-custom-post-item .post-details:hover {
  color: #ffb536 !important;
  transform: translateX(3px) !important;
}

/* Nút loadmore */
.g-custom-loadmore-wrap {
  text-align: center;
  margin: 35px 0 20px 0;
}

#g-custom-loadmore {
  padding: 12px 32px;
  border-radius: 4px;
  background: #ffffff;
  border: 2px solid #1f365c;
  color: #1f365c;
  font-family: var(--hsk-font-menu), sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

#g-custom-loadmore:hover {
  background: #1f365c;
  color: #ffffff;
}

.single-postlike h2 b{
    color: #ffc107;
    font-size: 21px !important;
}

.single-postlike h2, .single-postlike h3 {
    text-transform:capitalize;
}
.main-nav>li {
    padding: 0px 6px;
    padding-left: 15px !important;
}
/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .g-custom-post-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .g-custom-post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .g-custom-post-grid { grid-template-columns: 1fr; }
  .g-custom-post-grid .g-custom-post-item.g-custom-cat35 .g-custom-thumb img { height: auto !important; } /* mobile: auto height */
}

*, *::before, *::after {
    box-sizing: border-box;
}
.footer .widget_block a {
	display: block;
}
.footer .widget_block a img {
	margin: 0;
}
.uvc-sub-heading a {
	text-decoration: none;
	color: var(--the7-title-color);
}
.uvc-sub-heading a:hover {
	color: #ffb536;
}
.main-nav .sub-nav > li.dt-mega-parent > a .menu-text {
	  margin-top: 10px;
    margin-bottom: 5px;
}
.wpcf7 p {
	margin-bottom: 0;
}
.social-box {
    position: fixed;
    bottom: 0.5rem;
    left: 0.5rem;
    z-index: 10;
}
.social-box .social-box-inside {
    display: flex;
}
.social-box .social-box-inside .social-item {
    width: 48px;
    line-height: 48px;
    height: 48px;
    text-align: center;
    padding: 9px 8px 8px 8px;
    margin: 0 3px;
    font-size: 30px;
    background: #eee;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}
.social-box .social-box-inside .social-item a {
    color: #004892;
    line-height: 0;
    display: block;
}
.social-box .social-box-inside .social-item a i,
.social-box .social-box-inside .social-item a img {
    width: 100%;
}
.classic-header .navigation:before {
	width: 400%;
}
.blog-shortcode .entry-title a {
	display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: wrap;
/*   height: 3.6em; */
	line-height: 1.2;
}
.popup-search .submit i,
.overlay-search .submit i {
  font-size: 16px;
  color: #8c95a2;
}
.mini-search .submit {
	color: #8c95a2;
}
.mini-search .submit:hover {
	color: #1f365c;
	opacity: 1;
}	
.home .single-share-box {
	display: none;
}
.dt-icon-website:before, .icomoon-the7-font-website:before, .website .soc-font-icon:before {
	content: "";
	background: url(https://haisonkim.com/wp-content/themes/dt-the7/images/tiktok_icon.png) center center no-repeat;
	background-size: contain;
	width: 16px;
	height: 16px;
	display: inline-block;
}
.widget .recent-posts .post-content time,
.items-grid .post-content>time, .recent-posts .post-content>time {
	 display: none;
}
.widget .recent-posts .post-content {
	 display: flex;
	align-items: center;
}
.aio-icon-box.left-icon {
    display: inline-block;
    display: flex;
    align-items: center;
}
a.aio-icon-box-link,
.aio-ibd-block a {
	color: var(--the7-title-color);
	text-decoration: none;
}
.sub-nav li .mega-menu-img-top, .sub-nav li .mega-menu-img-top img, .sub-nav li .mega-menu-img-top_align_left, .sub-nav li .mega-menu-img-top_align_left img {
	opacity: 1 !important;
}
@media screen and ( max-width: 767px) {
	.iso-container {
		margin: 0 !important;
	}
	.iso-container .wf-cell {
		width: 100% !important;
	}
	.masthead .top-bar .mini-contacts, .masthead .top-bar .mini-nav > ul:not(.mini-sub-nav) > li > a, .masthead .top-bar .mini-login, .masthead .top-bar .mini-login .submit, .masthead .top-bar .mini-search .submit, .masthead .top-bar .mini-search, .masthead .top-bar .wc-ico-cart, .masthead .top-bar .text-area, .masthead .top-bar .customSelectInner {
    font-size: 12px;
}
}
.masthead:not(.side-header):not(.side-header-menu-icon) .header-bar {
    max-width: calc(1300px - 30px - 30px);
    margin: 0 auto;
}
.main-nav>li {
    padding: 0px 6px;
}
.header-bar .branding a img, .branding img {
    padding: 0 30px;
	width: 250px;
	
}
.g-slider-du-an h3.entry-title {
    min-height: 90px;
}
.g-tin-tuc-moi-nhat h3.entry-title {
    min-height: 60px;
}
.g-slider-du-an .dt-owl-item, .g-tin-tuc-moi-nhat .dt-owl-item {
    border: 3px solid #ffb536;
	border-radius: 7px;
}
.g-slider-du-an .owl-stage-outer.owl-height, .g-tin-tuc-moi-nhat .owl-stage-outer.owl-height {
    padding-bottom: 10px;
}

.g-khach-hang .uvc-sub-heading.ult-responsive {
    font-size: 12.5px !important;
}
.g-khach-hang .wpb_column .vc_column_container > .vc_column-inner {
    border: 2px solid #ffb536;
    padding: 15px 10px 5px 10px;
	border-radius: 7px;
}

.g-box .upb_row_bg {
    background: white !important;
}
.g-menu-slider a {
    color: black;
    text-decoration: none;
}
.g-menu-slider a:hover {
    color: var(--the7-links-color);
}
.g-menu-slider p {
    color: var(--the7-title-color);
}
.single-share-box {
    display: none;
}
.seo-last {
    text-align: center;
    margin-top: 15px;
}
.seo-last a.cur {
    cursor: pointer;
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
    margin: 0 10px;
}
.seo-last a.cur span i {
    margin-left: 5px;
}
.seo-last a.cur:hover {
    color: #0056b3;
}
.single-postlike .post-thumbnail {
    display: none;
}
.uvc-heading h2 {
    margin-bottom: 10px !important;
    color: #FFB536;
	    font-family: arial, helvetica, sans-serif;
    font-size: 28px !important;
}
.g-slider-khach-hang h2 {
    font-size: 13px !important;
}
h3.entry-title a {
    font-family: arial, helvetica, sans-serif;
    font-size: 13px !important;
}
.masthead .top-bar .mini-contacts, .masthead .top-bar .mini-nav > ul:not(.mini-sub-nav) > li > a, .masthead .top-bar .mini-login, .masthead .top-bar .mini-login .submit, .masthead .top-bar .mini-search .submit, .masthead .top-bar .mini-search, .masthead .top-bar .wc-ico-cart, .masthead .top-bar .text-area, .masthead .top-bar .customSelectInner {
    font-family: arial, helvetica, sans-serif;
}
.footer-contact {
    font-family: arial, helvetica, sans-serif;
}
#footer p, #footer h3, #footer label {
    font-family: arial, helvetica, sans-serif;
}
#bottom-bar .wf-float-left {
    font-family: arial, helvetica, sans-serif;
}
.g-slider-du-an h3.entry-title a, .g-tin-tuc-moi-nhat h3.entry-title a {
    font-size: 15px;
    line-height: 1;
}
.g-slider-du-an .entry-excerpt p{
	margin-bottom: 0px;
	    font-size: 11px;
}
.g-title-main .wpb_wrapper::before {
    position: absolute;
    top: 49px;
    left: 25px;
    width: 15px;
    height: 15px;
    background: #ffba00;
    content: "";
}
.g-title-main-du-an-tieu-bieu .wpb_wrapper::before {
    position: absolute;
    top: 56px;
    left: 5px;
    width: 15px;
    height: 15px;
    background: #ffba00;
    content: "";
}
.g-title-main-khach-hang-danh-gia > .vc_column-inner > .wpb_wrapper::before {
    position: absolute;
    top: 80px;
    left: 0px;
    width: 15px;
    height: 15px;
    background: #ffba00;
    content: "";
}
.home-about-us .shortcode-single-image:before {
    display: table;
    transition: all 0.25s;
    border-style: solid;
    border-width: 0;
    content: "";
    height: 64px;
    position: absolute;
    width: 64px;
    border-color: #FFB536;
    border-left-width: 4px;
    border-top-width: 4px;
    left: -15px;
    top: -15px;
}

.home-about-us .shortcode-single-image:after {
    transition: all 0.25s;
    border-style: solid;
    border-width: 0;
    content: "";
    height: 64px;
    position: absolute;
    width: 64px;
    border-bottom-width: 4px;
    border-color: #FFB536;
    border-right-width: 4px;
    bottom: -15px;
    right: -15px;
}
.home-du-an-tieu-bieu .wpb_column.vc_column_container.vc_col-sm-4.vc_col-has-fill .vc_column-inner {
    background: #1f365c;
    border: 3px solid #ffb536 !important;
}
.g-khach-hang {
    min-height: 100% !important;
}
.home-about-us blockquote {
    margin-top: 20px;
    padding: 5px 28px;
    margin-bottom: 20px !important;
    border-left: 4px solid #FFB536;
    font-size: 19px !important;
    color: black !important;
    text-transform: unset !important;
    font-weight: 500 !important;
    font-family: "Bai Jamjuree", sans-serif !important;
	background-color: white !important;
}
section#block-16 {
    padding-top: 20px;
}
#footer .wf-container-footer {
    padding-top: 30px;
    padding-bottom: 25px;
}
.footer-contact h3 {
    font-size: 20px;
    margin-bottom: 15px;
	border-bottom: 2px solid;
    width: fit-content;
}
 .g-title-main-du-an-tieu-bieu .vc_column-inner {
    padding: 0;
  }
.footer .widget-title {
    border-bottom: 2px solid;
    width: fit-content;
    margin-bottom: 10px;
}
.g-social-icon {
    display: flex;
    gap: 12px; /* khoảng cách giữa các icon */
    align-items: center;
}

.g-social-icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* kích thước khung icon */
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.g-social-icon a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g-social-icon a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.g-tin-tuc-moi-nhat .visible.wf-cell, .g-slider-du-an .wf-cell {
    border: 3px solid #ffb536;
    border-radius: 7px;
}

.g-tin-tuc-moi-nhat .wf-cell .post-entry-content {
    padding: 5px 20px 5px 20px !important;
}
.g-slider-du-an .wf-cell .post-entry-content{
	padding: 15px 20px 20px 20px !important;
}
.g-slider-du-an .wf-cell .entry-title a{
	line-height: 25px;
}
.g-tin-tuc-moi-nhat .wf-cell h3.entry-title {
    min-height: 40px;
}
.g-tin-tuc-moi-nhat .wf-cell h3.entry-title a {
    font-size: 15px;
    line-height: 2;
}
.header-bar .mini-widgets {
    display: none !important;
}
.header-bar .branding a img, .branding img
 {
    padding: 0px 30px 0px 0px;
}
.masthead:not(.side-header):not(.side-header-menu-icon) .top-bar {
    max-width: calc(1300px - 30px - 30px);
    margin: 0 auto;
}
.owl-stage{
	display: flex;
}
.content-bg-on.classic-layout-list article {
    background: #f4f4f4;
}
.g-slider-du-an .dt-owl-item.active {
    background: #f4f4f4;
}
/* Chỉ áp dụng cho màn hình từ 1025px trở lên (desktop) */
@media (min-width: 1025px) {
  .g-khach-hang .vc_column_container > .vc_column-inner {
    padding: 0px;
	width: 110%;
	min-height: 450px;
}
	.dt-owl-item .vc_row.wpb_row.vc_inner.vc_row-fluid {
    width: 110%;
}
.g-title-khach-hang-danh-gia {
    padding-left: 25px;
}
}
/* Chỉ áp dụng cho màn hình mobile (≤ 767px) */
@media (max-width: 767px) {
 
	.g-title-main-du-an-tieu-bieu .wpb_wrapper::before {
    position: absolute;
    top: 56px;
    left: 5px;
    width: 15px;
    height: 15px;
    background: #ffba00;
    content: "";
}
	.g-title-main h2, .g-title-main-khach-hang-danh-gia h2 {
    font-size: 27px !important;
}
	.g-title-main-chuong-trinh-10-nam .wpb_wrapper::before {
    position: absolute;
    top: 95px;
    left: 25px;
    width: 15px;
    height: 15px;
    background: #ffba00;
    content: "";
}
    .g-title-main-khach-hang-danh-gia > .vc_column-inner > .wpb_wrapper::before {
        position: absolute;
        top: 125px;
        left: 30px;
        width: 15px;
        height: 15px;
        background: #ffba00;
        content: "";
    }
	.g-title-main-khach-hang-danh-gia {
    padding: 0px 30px;
}
	    .g-title-main-khach-hang-danh-gia .uvc-sub-heading.ult-responsive {
        min-height: fit-content;
    }
	.g-khach-hang .vc_col-xs-offset-2 {
    margin-left: 8.666667%;
		        display: flex;
        justify-content: center;
}
	.g-title-main-du-an-tieu-bieu h2 {
    font-size: 27px !important;
}
	.footer-contact {
    text-align: left;
    padding: 0px;
    font-size: 14px;
}
.g-slider-khach-hang h2 {
        font-size: 21px !important;
    }
	
	.g-title-main-khach-hang-danh-gia {
    padding: 0px 30px;
}
}
@media screen and (min-width: 993px) {
    .masthead:not(.side-header):not(.side-header-v-stroke):not(.side-header-menu-icon) .header-bar, .ph-wrap {
        padding-right: 75px;
        padding-left: 75px;
    }
	.top-bar {
    min-height: 36px;
    padding: 5px 75px 5px 75px;
}
}
@media screen and (max-width: 1178px) {
   .masthead:not(.side-header):not(.side-header-v-stroke):not(.side-header-menu-icon) .header-bar, .ph-wrap {
/*         padding-right: 1vh;
        padding-left: 1vh; */
    }
}
@media screen and (max-width: 1288px) {
 .g-title-main-khach-hang-danh-gia .uvc-sub-heading.ult-responsive {
    min-height: 254px;
}
	.g-slider-khach-hang h2 {
    min-height: 78px;
	}
}
@media screen and (max-width: 1250px) {
  .g-slider-du-an .entry-meta {
    min-height: 60px;
}
	.g-khach-hang .vc_column_container > .vc_column-inner {
        padding: 0px;
        width: 110%;
        min-height: 480px;
    }
}
@media screen and (max-width: 1216.640) {

}
@media screen and (max-width: 1176px) {
	.g-slider-khach-hang h2 {
    min-height: 78px;
	}
}
	@media screen and (max-width: 1148px) {
    .g-title-main-khach-hang-danh-gia .uvc-sub-heading.ult-responsive {
        min-height: 256px;
    }
}
@media screen and (max-width: 1100px) {
 .g-slider-du-an h3.entry-title a, .g-tin-tuc-moi-nhat h3.entry-title a {
font-size: 14px;
        line-height: 25px;
	    display: -webkit-box;
    -webkit-line-clamp: 3;     /* số dòng tối đa */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
	.g-khach-hang .uvc-sub-heading.ult-responsive {
    font-size: 11.5px !important;
}
	    .g-khach-hang .vc_column_container > .vc_column-inner {
        padding: 0px;
        width: 110%;
        min-height: 505px;
    }
	
}
	@media screen and (max-width: 992px) {

	    .g-khach-hang .vc_column_container > .vc_column-inner {
        padding: 0px;
                 width: 74%;
            min-height: 100px;
    }
}
@media screen and (max-width: 796px) {
    .g-slider-du-an .entry-meta {
        min-height: 80px;
			margin-bottom: 5px !important;
    }
	.g-tin-tuc-moi-nhat h3.entry-title {
    min-height: 75px !important;
}
	    .g-khach-hang .vc_column_container > .vc_column-inner {
        padding: 0px;
        width: 80%;
        min-height: 415px;
    }
}
.wpcf7-not-valid-tip {
    display: block;
}
blockquote,
blockquote p{
text-transform: none !important;
}
h4,
h5 {
    text-transform: none !important;
}

/* ===== Filter Tabs & Gallery Masonry ===== */
.hsk-filter-bar-wrap {
  text-align: center;
  margin: 10px 0 35px;
}
.hsk-filter-nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 40px;
}
.hsk-filter-tab {
  font-family: var(--hsk-font-heading, "Roboto Condensed", sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 18px;
  border-radius: 30px;
  background: transparent;
  color: #1f365c;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
}
.hsk-filter-tab:hover {
  background: #e2e8f0;
  color: #002b49;
}
.hsk-filter-tab.is-active {
  background: #002b49;
  color: #ffb536;
  box-shadow: 0 4px 12px rgba(0, 43, 73, 0.18);
}
@media (max-width: 600px) {
  .hsk-filter-nav {
    border-radius: 12px;
    gap: 6px;
    padding: 6px;
    width: 100%;
  }
  .hsk-filter-tab {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Gallery photos masonry */
.hsk-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 25px 0;
}
.hsk-gallery-item {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.25s ease;
}
.hsk-gallery-item:hover {
  transform: translateY(-4px);
}
.hsk-gallery-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.hsk-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hsk-gallery-thumb:hover img {
  transform: scale(1.05);
}
@media (max-width: 900px) {
  .hsk-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .hsk-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ===== AJAX Grid Loading & Spinner ===== */
.hsk-grid-relative-wrap {
  position: relative;
  min-height: 250px;
}
.g-custom-post-grid {
  transition: opacity 0.3s ease;
}
.g-custom-post-grid.is-loading {
  opacity: 0.35;
  pointer-events: none;
}
.hsk-grid-spinner {
  display: none;
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border: 4px solid rgba(0, 43, 73, 0.12);
  border-top-color: #d89b35;
  border-radius: 50%;
  animation: hskSpin 0.75s linear infinite;
  z-index: 10;
}
.hsk-shortcode-blog-wrapper.is-loading .hsk-grid-spinner {
  display: block;
}
@keyframes hskSpin {
  to { transform: translateX(-50%) rotate(360deg); }
}
.g-custom-post-grid .g-custom-post-item {
  animation: hskFadeCard 0.35s ease forwards;
}
@keyframes hskFadeCard {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

