.home-block {
    height: 30vh;
}
.ajax-loader {
    position: relative;
    left: 45%;
    top: 30%;
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #f2b568;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.loader-wrapper {
display: flex;
flex-direction: column;
}

.article-spacing {
margin-bottom: 16px;
}

.image-placeholder,
.text-placeholder {
background-color: #f0f0f0;
border-radius: 4px;
margin-bottom: 8px;
position: relative;
overflow: hidden;
}

.image-placeholder {
width: 100%;
height: 300px;
}

.text-placeholder.h1 {
height: 36px;
width: 95%;
}

.text-placeholder.h2 {
height: 30px;
width: 85%;
}

.text-placeholder.h2.left {
height: 30px;
width: 90%;
margin-left: 15%;  
}

.text-placeholder.h3 {
height: 24px;
width: 75%;
}

.card-placeholder{
height: 10px;
width: 10%;
}

.text-placeholder.h3.left{
height: 24px;
width: 75%;
}

.shimmer::before {
content: '';
position: absolute;
top: 0;
left: -50%;
width: 50%;
height: 100%;
background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0)
);
animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -50%;
    }
    100% {
        left: 100%;
    }
}

:is([class*="swiper-content_indexWideCards-"] ) {
    --tag-height: 1rem;
    margin-top: calc(var(--tag-height) * -1);
    height: calc(100% + var(--tag-height)) !important;
}

:is([class*="swiper-content_indexWideCards-"] ) .swiper-wrapper {
    padding-top: 1rem;
}


.custom-fixed-width-select {
    width: 10rem !important; /* 根據需要調整寬度 */
    overflow: hidden!important;
    text-overflow: ellipsis!important;
    white-space: nowrap!important;
}

/* lg 當螢幕大於992px時*/
@media screen and (min-width:992px) {
	/* 4-.套件元件：swiper */
	:is([class*="swiper-content_indexWideCards-"]) :is(.swiper-button-next,.swiper-button-prev){
		--swiper-navigation-top-offset:calc(100% - 22px);
		/* --swiper-navigation-top-offset:100% */
	}
}

.accordion-collapse .ck-group.filter-btn{
	text-decoration: none;
}
.accordion-collapse .ck-group.filter-btn:is(:hover, :focus) {
	background-color:var(--ck-boxBg-hover);
	transition:background-color .3s ease-in-out;
}
/* -首頁區塊自定義背景顏色 */
.section-main._s00[data-section-color] {
    --section-background: var(--section-color);
    background-color: var(--section-background);
}