/* ==== Featured Projects Slider ==== */
.fps-slider-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    text-align: center;
    font-family: inherit;
}

.fps-slider-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #222;
}

.fps-swiper {
    position: relative;
    padding: 10px 0 20px;
}

/* Thẻ chính của mỗi slide */
.fps-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    text-align: left;
    transition: transform .3s ease;
}

.fps-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    background: #ccc;
}

.fps-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fps-no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,#ddd,#bbb);
}

/* Chữ đè lên ảnh, góc dưới trái - giống mẫu */
.fps-card-overlay {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: rgba(255,255,255,0.92);
    padding: 14px 22px;
    border-radius: 10px;
    max-width: 80%;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.fps-card-name {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.fps-card-since {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.fps-card-stars {
    color: #f5a623;
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.fps-card-address {
    font-size: 13px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Mô tả bên dưới ảnh */
.fps-card-desc {
    padding: 26px 30px 34px;
    text-align: center;
}

.fps-card-desc p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 18px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.fps-card-btn {
    display: inline-block;
    font-weight: 700;
    letter-spacing: .5px;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 2px;
    transition: color .2s, border-color .2s;
}

.fps-card-btn:hover {
    color: #d19b1f;
    border-color: #d19b1f;
}

/* Điều hướng (mũi tên) */
.fps-nav-prev,
.fps-nav-next {
    color: #fff;
    background: rgba(0,0,0,0.55);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    top: 35%;
}

.fps-nav-prev:after,
.fps-nav-next:after {
    font-size: 18px;
    font-weight: 700;
}

.fps-nav-prev {
    left: -6px;
}

.fps-nav-next {
    right: -6px;
}

/* Chấm phân trang */
.fps-swiper .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.fps-swiper .swiper-pagination-bullet-active {
    background: #d19b1f;
}

/* Responsive */
@media (max-width: 782px) {
    .fps-card-overlay {
        left: 14px;
        bottom: 14px;
        padding: 10px 16px;
        max-width: 88%;
    }
    .fps-card-name { font-size: 17px; }
    .fps-card-desc { padding: 20px 18px 28px; }
    .fps-nav-prev, .fps-nav-next { display: none; }
}

/* TBWEB fix project slider dots lower - 2026-08-06 */
.page-id-771 .fps-slider-wrap{
    padding-bottom: 100px !important;
}

.page-id-771 .fps-swiper{
    padding-bottom: 64px !important;
}

.page-id-771 .fps-swiper .swiper-pagination,
.page-id-771 .fps-swiper.swiper-horizontal > .swiper-pagination-bullets,
.page-id-771 .fps-swiper .swiper-pagination-bullets.swiper-pagination-horizontal{
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: -42px !important;
    width: 100% !important;
    transform: none !important;
    z-index: 10 !important;
    text-align: center !important;
    line-height: 1 !important;
}

.page-id-771 .fps-swiper .swiper-pagination-bullet{
    width: 9px !important;
    height: 9px !important;
    margin: 0 6px !important;
    opacity: 1 !important;
    background: #b8892f !important;
}

.page-id-771 .fps-swiper .swiper-pagination-bullet-active{
    background: #8b6427 !important;
}

