﻿/**
* Template Name: MeFamily
* Updated: May 30 2023 with Bootstrap v5.3.0
* Template URL: https://bootstrapmade.com/family-multipurpose-html-bootstrap-template-free/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-size: 17px;
    font-family: "微軟正黑體", "微軟雅黑體", sans-serif;
    line-height: 26px;
    color: #2B2B2B;
}


a {
    color: #be0027;
    text-decoration: none;
}

    a:hover {
        color: #008df1;
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #be0027;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}

    .back-to-top i {
        font-size: 24px;
        color: #fff;
        line-height: 0;
    }

    .back-to-top:hover {
        background: #0087e7;
        color: #fff;
    }

    .back-to-top.active {
        visibility: visible;
        opacity: 1;
    }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: #fff;
    transition: all 0.5s;
    z-index: 997;
    padding: 15px;
    border: 1px solid transparent;
    border-width: 0 0 3px 0;
    border-image: linear-gradient(to right, #f83600 0%, #f9d423 100%);
    border-image-slice: 1;
}

.kc-logo {
    width: 180px;
}

#header .logo {
    font-size: 28px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.5px;
}

    #header .logo a {
        color: #24325d;
    }

    #header .logo img {
        max-height: 40px;
    }

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
    padding: 0;
}

    .navbar ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navbar li {
        position: relative;
    }



    .navbar a,
    .navbar a:focus {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0 10px 30px;
        font-size: 18px;
        font-weight: bold;
        color: #474847;
        white-space: nowrap;
        transition: 0.3s;
        font-weight: 900;
    }



main {
    margin-top: 75px;
}



.navbar a i,
.navbar a:focus i {
    line-height: 0;
    margin-right: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: #be0027;
}

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
}

    .navbar .dropdown ul li {
        min-width: 200px;
    }

    .navbar .dropdown ul a {
        padding: 10px 20px;
        font-size: 14px;
        text-transform: none;
        font-weight: 500;
    }

        .navbar .dropdown ul a i {
            font-size: 12px;
        }

        .navbar .dropdown ul a:hover,
        .navbar .dropdown ul .active:hover,
        .navbar .dropdown ul li:hover > a {
            color: #be0027;
        }

.navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
    color: #24325d;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

    .mobile-nav-toggle.bi-x {
        color: #fff;
    }

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(22, 30, 56, 0.9);
    transition: 0.3s;
    z-index: 999;
}

    .navbar-mobile .mobile-nav-toggle {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .navbar-mobile ul {
        display: block;
        position: absolute;
        top: 55px;
        right: 15px;
        bottom: 15px;
        left: 15px;
        padding: 10px 0;
        background-color: #fff;
        overflow-y: auto;
        transition: 0.3s;
    }

    .navbar-mobile a,
    .navbar-mobile a:focus {
        padding: 10px 20px;
        font-size: 15px;
        color: #24325d;
    }

        .navbar-mobile a:hover,
        .navbar-mobile .active,
        .navbar-mobile li:hover > a {
            color: #be0027;
        }

    .navbar-mobile .getstarted,
    .navbar-mobile .getstarted:focus {
        margin: 15px;
    }

    .navbar-mobile .dropdown ul {
        position: static;
        display: none;
        margin: 10px 20px;
        padding: 10px 0;
        z-index: 99;
        opacity: 1;
        visibility: visible;
        background: #fff;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    }

        .navbar-mobile .dropdown ul li {
            min-width: 200px;
        }

        .navbar-mobile .dropdown ul a {
            padding: 10px 20px;
        }

            .navbar-mobile .dropdown ul a i {
                font-size: 12px;
            }

            .navbar-mobile .dropdown ul a:hover,
            .navbar-mobile .dropdown ul .active:hover,
            .navbar-mobile .dropdown ul li:hover > a {
                color: #be0027;
            }

    .navbar-mobile .dropdown > .dropdown-active {
        display: block;
    }





/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    padding: 60px 0;
}

.section-bg {
    background-color: #b4e0ff;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 20px;
        padding-bottom: 20px;
        position: relative;
    }

        .section-title h2::before {
            content: "";
            position: absolute;
            display: block;
            width: 120px;
            height: 1px;
            background: #ddd;
            bottom: 1px;
            left: calc(50% - 60px);
        }

        .section-title h2::after {
            content: "";
            position: absolute;
            display: block;
            width: 40px;
            height: 3px;
            background: #be0027;
            bottom: 0;
            left: calc(50% - 20px);
        }

    .section-title p {
        margin-bottom: 0;
    }

/*--------------------------------------------------------------
# My & Family
--------------------------------------------------------------*/
.about .content h3 {
    font-weight: 600;
    font-size: 26px;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

    .about .content ul li {
        padding-left: 28px;
        position: relative;
    }

        .about .content ul li + li {
            margin-top: 10px;
        }

    .about .content ul i {
        position: absolute;
        left: 0;
        top: 2px;
        font-size: 20px;
        color: #be0027;
        line-height: 1;
    }

.about .content p:last-child {
    margin-bottom: 0;
}

.about .content .btn-learn-more, .event-list .btn-learn-more {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 5px;
    transition: 0.3s;
    line-height: 1;
    color: #fff;
    animation-delay: 0.8s;
    margin-top: 6px;
    border: 2px solid #e60012;
    background: #e60012;
}

    .about .content .btn-learn-more:hover, .event-list .btn-learn-more:hover {
        background: #f08200;
        color: #fff;
        text-decoration: none;
        border: 2px solid #f08200;
    }


.kc-btn-learn-more {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 5px;
    transition: 0.3s;
    line-height: 1;
    color: #fff;
    animation-delay: 0.8s;
    margin-top: 6px;
    border: 2px solid #e60012;
    background: #e60012;
}

    .kc-btn-learn-more:hover {
        background: #f08200;
        color: #fff;
        text-decoration: none;
        border: 2px solid #f08200;
    }




/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .icon-box {
    text-align: center;
    padding:0px 15px 60px 15px;
}

.features .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: 0.5s;
    overflow: hidden;
    box-shadow: 0px 0 25px rgba(0, 0, 0, 0.15);
}

    .features .icon i {
        line-height: 0;
        color: #be0027;
        font-size: 34px;
    }

.features .icon-box:hover .icon {
    box-shadow: 0px 0 25px rgba(0, 111, 190, 0.3);
}

.features .title {
    font-weight: 900;
    margin-bottom: 15px;
    font-size: 24px;
    position: relative;
    padding-bottom: 15px;
}

    .features .title a {
        color: #444444;
        transition: 0.3s;
    }

        .features .title a:hover {
            color: #be0027;
        }


.features .description {
    line-height: 24px;
    font-size: 16px;
}

.features span {
    font-size: 44px;
    font-weight: 700;
    display: block;
    color: #e60012;
    font-family: "Dosis", sans-serif;
    margin-bottom:20px;
}


/*--------------------------------------------------------------
# Recent Photos
--------------------------------------------------------------*/
.recent-photos {
    overflow: hidden;
}

    .recent-photos .swiper-pagination {
        margin-top: 20px;
        position: relative;
    }

        .recent-photos .swiper-pagination .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            background-color: #fff;
            opacity: 1;
            border: 1px solid #be0027;
        }

        .recent-photos .swiper-pagination .swiper-pagination-bullet-active {
            background-color: #be0027;
        }

    .recent-photos .owl-nav,
    .recent-photos .owl-dots {
        margin-top: 25px;
        text-align: center;
    }

    .recent-photos .owl-item {
        border-left: 2px solid #fff;
        border-right: 2px solid #fff;
    }

    .recent-photos .owl-dot {
        display: inline-block;
        margin: 0 5px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: #95d3ff !important;
    }

        .recent-photos .owl-dot.active {
            background-color: #be0027 !important;
        }

    .recent-photos .gallery-carousel .owl-stage-outer {
        overflow: visible;
    }

    .recent-photos .gallery-carousel .center {
        border: 6px solid #be0027;
        margin: -10px;
        box-sizing: content-box;
        padding: 4px;
        background: #fff;
        z-index: 1;
    }

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
    padding: 25px 0px 15px 0px;
    background: #f5f7fb;
    min-height: 40px;
    /*margin-top: 70px;*/
}

@media (max-width: 992px) {
    .breadcrumbs {
        /*margin-top: 58px;*/
    }
}

.breadcrumbs h2 {
    font-size: 28px;
    margin-bottom: 0;
    font-weight: 300;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

    .breadcrumbs ol li + li {
        padding-left: 10px;
    }

        .breadcrumbs ol li + li::before {
            display: inline-block;
            padding-right: 10px;
            color: #324682;
            content: "/";
        }

@media (max-width: 768px) {
    .breadcrumbs .d-flex {
        display: block !important;
    }

    .breadcrumbs ol {
        display: block;
    }

        .breadcrumbs ol li {
            display: inline-block;
        }
}

/*--------------------------------------------------------------
# Story Intro
--------------------------------------------------------------*/
.story-intro .content h3 {
    font-weight: 600;
    font-size: 26px;
}

.story-intro .content ul {
    list-style: none;
    padding: 0;
}

    .story-intro .content ul li {
        padding-bottom: 10px;
    }

    .story-intro .content ul i {
        font-size: 20px;
        padding-right: 4px;
        color: #be0027;
    }

.story-intro .content p:last-child {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Featured Members
--------------------------------------------------------------*/
.featured-members .content + .content {
    margin-top: 100px;
}

.featured-members .content h3 {
    font-weight: 600;
    font-size: 26px;
}

.featured-members .content ul {
    list-style: none;
    padding: 0;
}

    .featured-members .content ul li {
        padding-bottom: 10px;
    }

    .featured-members .content ul i {
        font-size: 20px;
        padding-right: 4px;
        color: #be0027;
    }

.featured-members .content p:last-child {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Members
--------------------------------------------------------------*/
.members {
    background: #fff;
    padding: 60px 0;
}

    .members .member {
        margin-bottom: 20px;
        overflow: hidden;
    }

        .members .member .member-img {
            position: relative;
            overflow: hidden;
        }

        .members .member .social {
            position: absolute;
            left: 0;
            bottom: -40px;
            right: 0;
            height: 40px;
            opacity: 0;
            transition: bottom ease-in-out 0.4s;
            text-align: center;
            background: rgba(0, 111, 190, 0.8);
        }

            .members .member .social a {
                transition: color 0.3s;
                color: #fff;
                margin: 0 10px;
                padding-top: 8px;
                display: inline-block;
            }

                .members .member .social a:hover {
                    color: #be0027;
                }

            .members .member .social i {
                font-size: 18px;
                margin: 0 2px;
            }

        .members .member .member-info h4 {
            font-weight: 700;
            margin: 15px 0 5px 0;
            font-size: 18px;
        }

        .members .member .member-info span {
            display: block;
            font-size: 13px;
            text-transform: uppercase;
            font-weight: 400;
            margin-bottom: 15px;
            color: #be0027;
        }

        .members .member .member-info p {
            font-style: italic;
            font-size: 14px;
            line-height: 26px;
            color: #777777;
        }

        .members .member:hover .social {
            bottom: 0;
            opacity: 1;
            transition: bottom ease-in-out 0.4s;
        }

/*--------------------------------------------------------------
# Event List
--------------------------------------------------------------*/
.event-list .card {
    border: 0;
    padding: 0 30px;
    margin-bottom: 60px;
    position: relative;
}

.event-list .card-img {
    width: calc(100% + 60px);
    margin-left: -30px;
    overflow: hidden;
    z-index: 9;
    border-radius: 0;
}

    .event-list .card-img img {
        max-width: 100%;
        transition: all 0.3s ease-in-out;
    }

.event-list .card-body {
    z-index: 10;
    background: #f4f5f6;
    border-top: 4px solid #f4f5f6;
    padding: 30px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    margin-top: -60px;
    transition: 0.3s;
}

.event-list .card-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #be0027;
    height:52px;
}

    .event-list .card-title a {
        color: #be0027;
        transition: 0.3s;
    }

.event-list .card-text {
    font-weight: bold;
    height: 130px;
    overflow: hidden;
}

.event-list .read-more a {
    color: #777777;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    transition: 0.3s;
}

    .event-list .read-more a:hover {
        color: #be0027;
    }

.event-list .card:hover img {
    transform: scale(1.1);
}

.event-list .card:hover .card-body {
    border-color: #be0027;
}

    .event-list .card:hover .card-body .card-title a {
        color: #be0027;
    }

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery .gallery-item {
    margin-bottom: 30px;
}

.gallery #gallery-flters {
    padding: 0;
    margin: 0 auto 25px auto;
    list-style: none;
    text-align: center;
    border-radius: 50px;
}

    .gallery #gallery-flters li {
        cursor: pointer;
        display: inline-block;
        padding: 10px 15px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        text-transform: uppercase;
        color: #444444;
        margin-bottom: 5px;
        transition: all 0.3s;
    }

        .gallery #gallery-flters li:hover,
        .gallery #gallery-flters li.filter-active {
            color: #be0027;
        }

        .gallery #gallery-flters li:last-child {
            margin-right: 0;
        }

.gallery .gallery-wrap {
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: rgba(36, 50, 93, 0.6);
}

    .gallery .gallery-wrap::before {
        content: "";
        background: rgba(36, 50, 93, 0.6);
        position: absolute;
        left: 30px;
        right: 30px;
        top: 30px;
        bottom: 30px;
        transition: all ease-in-out 0.3s;
        z-index: 2;
        opacity: 0;
    }

    .gallery .gallery-wrap .gallery-info {
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        text-align: center;
        z-index: 3;
        transition: all ease-in-out 0.3s;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

        .gallery .gallery-wrap .gallery-info::before {
            display: block;
            content: "";
            width: 48px;
            height: 48px;
            position: absolute;
            top: 35px;
            left: 35px;
            border-top: 3px solid #fff;
            border-left: 3px solid #fff;
            transition: all 0.5s ease 0s;
            z-index: 9994;
        }

        .gallery .gallery-wrap .gallery-info::after {
            display: block;
            content: "";
            width: 48px;
            height: 48px;
            position: absolute;
            bottom: 35px;
            right: 35px;
            border-bottom: 3px solid #fff;
            border-right: 3px solid #fff;
            transition: all 0.5s ease 0s;
            z-index: 9994;
        }

        .gallery .gallery-wrap .gallery-info h4 {
            font-size: 20px;
            color: #fff;
            font-weight: 600;
        }

        .gallery .gallery-wrap .gallery-info p {
            color: #ffffff;
            font-size: 14px;
            text-transform: uppercase;
            padding: 0;
            margin: 0;
        }

    .gallery .gallery-wrap .gallery-links {
        text-align: center;
        z-index: 4;
    }

        .gallery .gallery-wrap .gallery-links a {
            color: #fff;
            margin: 0 2px;
            font-size: 28px;
            display: inline-block;
            transition: 0.3s;
        }

            .gallery .gallery-wrap .gallery-links a:hover {
                color: #25a4ff;
            }

    .gallery .gallery-wrap:hover::before {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 1;
    }

    .gallery .gallery-wrap:hover .gallery-info {
        opacity: 1;
    }

        .gallery .gallery-wrap:hover .gallery-info::before {
            top: 15px;
            left: 15px;
        }

        .gallery .gallery-wrap:hover .gallery-info::after {
            bottom: 15px;
            right: 15px;
        }

/*--------------------------------------------------------------
# Contact Us
--------------------------------------------------------------*/
.contact-us .info {
    width: 100%;
    background: #fff;
}

    .contact-us .info i {
        font-size: 20px;
        color: #be0027;
        float: left;
        width: 44px;
        height: 44px;
        background: #e7f5ff;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
    }

    .contact-us .info h4 {
        padding: 0 0 0 60px;
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 5px;
        color: #24325d;
    }

    .contact-us .info p {
        padding: 0 0 0 60px;
        margin-bottom: 0;
        font-size: 14px;
        color: #405aa7;
    }

    .contact-us .info .email,
    .contact-us .info .phone {
        margin-top: 40px;
    }

        .contact-us .info .email:hover i,
        .contact-us .info .address:hover i,
        .contact-us .info .phone:hover i {
            background: #be0027;
            color: #fff;
        }

.contact-us .php-email-form {
    width: 100%;
    background: #fff;
}

    .contact-us .php-email-form .form-group {
        padding-bottom: 8px;
    }

    .contact-us .php-email-form .validate {
        display: none;
        color: red;
        margin: 0 0 15px 0;
        font-weight: 400;
        font-size: 13px;
    }

    .contact-us .php-email-form .error-message {
        display: none;
        color: #fff;
        background: #ed3c0d;
        text-align: left;
        padding: 15px;
        font-weight: 600;
    }

        .contact-us .php-email-form .error-message br + br {
            margin-top: 25px;
        }

    .contact-us .php-email-form .sent-message {
        display: none;
        color: #fff;
        background: #18d26e;
        text-align: center;
        padding: 15px;
        font-weight: 600;
    }

    .contact-us .php-email-form .loading {
        display: none;
        background: #fff;
        text-align: center;
        padding: 15px;
    }

        .contact-us .php-email-form .loading:before {
            content: "";
            display: inline-block;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            margin: 0 10px -6px 0;
            border: 3px solid #18d26e;
            border-top-color: #eee;
            animation: animate-loading 1s linear infinite;
        }

    .contact-us .php-email-form input,
    .contact-us .php-email-form textarea {
        box-shadow: none;
        font-size: 14px;
        border-radius: 4px;
    }

        .contact-us .php-email-form input:focus,
        .contact-us .php-email-form textarea:focus {
            border-color: #be0027;
        }

    .contact-us .php-email-form input {
        height: 44px;
    }

    .contact-us .php-email-form textarea {
        padding: 10px 12px;
    }

    .contact-us .php-email-form button[type=submit] {
        background: #be0027;
        border: 0;
        padding: 10px 30px;
        color: #fff;
        transition: 0.4s;
        border-radius: 4px;
    }

        .contact-us .php-email-form button[type=submit]:hover {
            background: #007ed8;
        }

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: #f1f2f6;
    color: #141518;
    font-size: 16px;
    text-align: center;
    padding: 20px;
    font-weight: 900;

}


/*
.kc-web {
    margin-top: 75px;
}

*/

img {
    max-width: 100%;
    height: auto;
}

ul {
    margin: 0px;
    padding: 0px;
}

    ul li {
        list-style-type: none;
    }


/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
    background: url("../img/counts-bg.jpg") center center no-repeat;
    background-size: cover;
    padding: 80px 0 60px 0;
    position: relative;
}

    .counts::before {
        content: "";
        position: absolute;
        background: rgba(255, 255, 255, 0.8);
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
    }

    .counts .title {
        position: relative;
        color: #444444;
        margin-bottom: 40px;
    }

        .counts .title h3 {
            font-size: 36px;
            font-weight: 700;
        }

    .counts .counters span {
        font-size: 44px;
        font-weight: 700;
        display: block;
        color: #e60012;
        font-family: "Dosis", sans-serif;
    }

    .counts .counters p {
        padding: 0;
        margin: 0 0 20px 0;
        font-size: 15px;
        color: #444444;
    }

@media (min-width: 1200px) {
    .counts {
        background-attachment: fixed;
    }
}



/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/
.recent-posts .post-box {
    transition: 0.3s;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

    .recent-posts .post-box .post-img {
        overflow: hidden;
        position: relative;
    }

        .recent-posts .post-box .post-img img {
            transition: 0.5s;
        }

    .recent-posts .post-box .meta {
        margin-top: 15px;
    }

        .recent-posts .post-box .meta .post-date {
            font-size: 15px;
            font-weight: 400;
            color: var(--color-primary);
        }

        .recent-posts .post-box .meta .post-author {
            font-size: 15px;
            font-weight: 400;
            color: var(--color-secondary);
        }

    .recent-posts .post-box .post-title {
        font-size: 18px;
        color: var(--color-secondary);
        font-weight: 700;
        margin: 15px 0 0 0;
        position: relative;
        transition: 0.3s;
    }

    .recent-posts .post-box p {
        margin: 15px 0 0 0;
        color: rgba(27, 47, 69, 0.7);
    }

    .recent-posts .post-box .readmore {
        display: flex;
        align-items: center;
        font-weight: 600;
        line-height: 1;
        transition: 0.3s;
        margin-top: 15px;
    }

        .recent-posts .post-box .readmore i {
            line-height: 0;
            margin-left: 4px;
            font-size: 18px;
        }

    .recent-posts .post-box:hover .post-title {
        color: var(--color-primary);
    }

    .recent-posts .post-box:hover .post-img img {
        transform: scale(1.1);
    }


.kc-news-left {
    padding: 24px 24px 0px 24px;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.14);
    height: calc(100% - 54px);
}


.kc-title {
    font-size: 30px;
    font-weight: 900;
    border-left: 5px #be0027 solid;
    padding-left: 8px;
    line-height: 38px;
    color: #717171;
    padding-bottom: 5px;
    padding-top: 20px;
}



/*mobile設定*/
@media (max-width: 576px) {

    main {
        margin-top: 137px;
    }

    .navbar a, .navbar a:focus {
        padding: 10px;
    }

    /*fb-rwd*/
    iframe[src *= "facebook"] {
        max-width: 480px; /* 可根據您的需要調整 */
        height: 250px; /* 可根據您的需要調整 */
    }

}
