/*************************
 insight & slide 共用樣式  
 *************************/
/* insight */
.insight {
    background-color: #f2f6f7;
}

.insight .slide-box{
    padding: 1rem;
    margin-bottom: 1rem;
}

.insight .slide-box img{
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 0 5px #eee;
}
.slide-box .insight-box-info h5 {
    margin: 0 0 20px;
    font-weight: normal;
    font-size: 20px;
    letter-spacing: 1px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    /*行數*/
}

.slide-box .insight-box-info p {
    color: #334b9e;
    margin: 0.5rem 0 0.25rem;
    font-size: 17px;
    border-left: 4px solid #334b9e;
    padding-left: 0.5rem;
    line-height: 1.3;
}
.slide-box .insight-box-info small{
    display: block;
    color: #838282;
}

/* slide */
.slide{
    background-color: #f2f6f7;
}

.slide-box {
    position: relative;
}

.slide-box h5 {
    font-size: 20px;
    margin: 10px 0 25px;
    color: #212121;
    overflow: hidden;
    white-space: normal;
}

.slide-box:hover h5 {
    color: var(--main-color);
}

.slide-img {
    overflow: hidden;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #cbcbcb;
    box-shadow: 1px 1px 4px #e9e9e9;
    transition: all .2s ease;
}

.slide-img img {
    width: 100%;
}

.slide-box:hover .slide-img,
.slide-box:focus .slide-img,
.insight .slide-box:hover.slide-img,
.insight .slide-box:focus.slide-img{
    box-shadow: 3px 3px 10px #f3f3f3;
    transform: scale(1.02);
}

/* insight-inner */
.insight-inner {
  position: relative;
  overflow: hidden;
}

.insight-inner p {
    font-size: 18px;
}

.insight-inner img{
    max-width: 100%;
    margin-bottom: 2rem;
}

.inner-txt {
    background-color: #ffffff;
}

.inner-txt h3 {
    margin-bottom: 20px;
color: var(--main-color);
}

.inner-txt strong{
color: #b7260d;
}
/* report */
.report {
    background-color: #f6fffa;
}

.report .slide-img {
    border: none;
    max-height: 200px;
}

.report .slide-img::after {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    inset: 0;
}

.report .box-area {
    position: relative;
    background-color: #ccf3de;
    border: 1px solid #76c098;
    margin-bottom: 20px;
    box-shadow: 0 5px 5px #90939920;
}

.report .slide-box h5 {
    margin: 0;
    font-size: 18px;
    padding: 10px;
    text-overflow: clip;
    -webkit-line-clamp: none;
    -webkit-box-orient: vertical;
    white-space: normal;
    min-height: 48px;
    min-height: 48px;
}

.report .slide-box h5::after {
    content: '';
    background-image: url(../img/arrow.png);
    width: 16px;
    height: 16px;
    margin-left: 3px;
    position: absolute;
}

@media (max-width:768px) {
    .report .slide-img {
        max-height: 360px;
    }

    .report .slide-box h5 {
        font-size: 22px;
    }
}