@charset "UTF-8";

.c-blog {
    position: relative;
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    padding: 30px;
    text-align: left;
    transform-origin: center;
    transition: transform .4s ease-in-out;
    overflow: hidden;
    z-index: 0;
}

.c-blog::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    display: block;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    border: 1px solid #dbdbdb;
    box-sizing: border-box;
}

.c-blog_pic {
    display: block;
    width: 50%;
    max-width: 360px;
    margin: 0 30px 0 0;
    overflow: hidden;
    flex: 0 0 auto;
}

.c-blog_pic img {
    display: block;
    width: 100%;
    height: auto;
    transform-origin: center;
    transition: transform .4s ease-in-out;
}

.c-blog_content {
    display: block;
    width: 100%;
    text-align: left;
    flex: 0 1 auto;
}

.c-blog-date {
    display: block;
    width: 100%;
    margin: 0 0 10px 0;
    font-size: 0.9em;
    color: #009ad4;
}

.c-blog-title {
    display: block;
    width: 100%;
    font-size: 1.1em;
    color: #343434;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.c-blog-title a {
    display: inline;
    width: auto;
    max-width: 100%;
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.c-blog-note {
    width: 100%;
    margin: 10px 0 0 0;
    font-size: .8em;
    font-weight: 400;
    line-height: 1.8;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-blog-more {
    display: block;
    width: 100%;
    margin: 15px 0 0 0;
    font-size: 0.9em;
    color: #009ad4;
}

.c-blog-more::after {
    content: '...';
}

.c-blog_link {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 4px solid #009ad4;
    transition: opacity .4s ease-in-out;
    opacity: 0;
    z-index: 10;
}

@media screen and (max-width: 991px) {
    .c-blog {
        display: block;
        padding: 25px max(5%, 10px);
    }

    .c-blog_pic {
        width: 100%;
        max-width: none;
        margin: 0 0 20px 0;
    }
}

@media screen and (max-width: 767px) {}

@media screen and (max-width: 575px) {}


/****非觸控螢幕****/
@media (any-hover: hover) {
    .c-blog:hover {
        transform: scale(1.05);
    }

    .c-blog:hover .c-blog_link {
        opacity: 1;
    }
}

/****觸控螢幕****/
@media (any-hover: none) {}

/****IOS樣式****/
@supports (-webkit-touch-callout: none) {}

/****firefox樣式****/
@-moz-document url-prefix() {}