/* 外層容器，用於控制邊距和寬度 */
.cpc-carousel-wrapper {
    margin: 20px 0;
    padding: 0 30px; /* 預留左右箭頭的空間 */
    position: relative;
}

/* 輪播元件初始狀態，避免在 JS 載入前樣式錯亂 */
.cpc-carousel {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
}

/* Slick 初始化後，顯示輪播元件 */
.cpc-carousel.slick-initialized {
    opacity: 1;
    visibility: visible;
}

/* 單個輪播項目 */
.cpc-item {
    display: flex !important; /* 強制使用 flexbox 排版 */
    align-items: flex-start;
    padding: 10px; /* 項目之間的間距 */
}

/* 日期區塊 */
.cpc-date {
    text-align: left;
    margin-right: 20px;
    flex-shrink: 0; /* 防止日期區塊被壓縮 */
}

.cpc-date .day {
    font-size: 42px;
    font-weight: bold;
    color: #c9ab5a; /* 金色 */
    line-height: 1;
    display: block;
}

.cpc-date .month-year {
    font-size: 14px;
    color: #888;
    display: block;
}

/* 內容區塊 (標題和摘要) */
.cpc-content {
    padding-top: 5px;
}

.cpc-content .cpc-title {
    font-size: 18px;
    margin: 0 0 8px 0;
    font-weight: bold;
    line-height: 1.4;
}

.cpc-content .cpc-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.cpc-content .cpc-title a:hover {
    color: #c9ab5a;
}

.cpc-content .cpc-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Slick 左右箭頭的樣式調整 */
.cpc-carousel-wrapper .slick-prev,
.cpc-carousel-wrapper .slick-next {
    width: 30px;
    height: 30px;
    z-index: 10;
}
.cpc-carousel-wrapper .slick-prev {
    left: -15px;
}
.cpc-carousel-wrapper .slick-next {
    right: -15px;
}

.cpc-carousel-wrapper .slick-prev:before,
.cpc-carousel-wrapper .slick-next:before {
    font-size: 30px;
    color: #333;
}
@media only screen and (max-width: 1024px) {
	.cpc-content .cpc-title a{font-size:0.9em;}
}
