/* =======================================
# 議程表
========================================= */
.agenda {
    background-color: hsla(0, 0%, 100%, 1);
    background-image:
        radial-gradient(at 32% 22%, hsla(51, 100%, 77%, 1) 0px, transparent 50%),
        radial-gradient(at 74% 46%, hsla(189, 83%, 68%, 1) 0px, transparent 50%),
        radial-gradient(at 35% 74%, hsla(343, 100%, 84%, 1) 0px, transparent 50%);
}

.agenda .main-box {
    margin-bottom: 4rem;
}

.input-agenda input {
    padding: 20px;
    border-radius: 10px 0 0 10px;
}

.btn-pink {
    background-color: var(--pink);
    ;
    color: #ffffff;
    border-radius: 0 10px 10px 0;
}

.ag-border {
    border-bottom: 1px dashed #8F9396;
}

.search-bar {
    list-style-type: none;
    display: inline-block;
    padding: 0 10px;
}

.search-bar a {
    color: #333333;
    transition: all 0.3s;
}

.search-bar a:hover {
    opacity: 0.65;
}

.search-bar-active a {
    color: var(--pink);
}

@media (max-width:576px) { 
    .spotlight{
        padding-left: 10px;
    }
}


/*********** 時間軸 ***********/
.timeline-item {
    position: relative;
    padding: 2rem;
    border-left: 5px solid rgba(153,153,153, 1);
}

.timeline-item::before {
    content: attr(date-is);
    position: absolute;
    display: block;
    left: 3rem;
    top: -12px;
    font-size: 1.5rem;
}

.timeline-item::after {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    left: -13px;
    border-radius: 15px;
    border: 5px solid #ff78c2;
    background: #ffffff;

}

.timeline-item:last-child {
    -o-border-image: linear-gradient(to bottom, rgba(153,153,153, 0.8) 60%, rgba(153,153,153, 0)) 1 100%;
    border-image: linear-gradient(to bottom, rgba(153,153,153, 0.8) 60%, rgba(153,153,153, 0)) 1 100%;
}

/*********** 時間框 ***********/

.item-card {
    position: relative;
    margin: 1.5rem 0;
    transition: 0.3s;
    border-radius: 20px;
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}

.item-card a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.item-card h5 {
    font-size: 18px;
}

.ellipsis2 {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 40px;
    line-height: 20px;
}

.item-card p {
    font-size: 16px;
    line-height: 1.4;
}

.item-head {
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.05rem;
    font-weight: 500;
}

.item-head {
    padding: 10px;
}

.item-content {
    padding: 1rem;
}

@media (max-width:576px) {
    .timeline-item {
        padding: 1rem;
    }

    .timeline-item::before {
        left: 2rem;
    }

    .item-card {
        margin: 1rem 0;
    }
}


/*********** 分色 ***********/
.class-keynote .item-head {
    background-color: #ff4f7e;
}

.class-keynote .type {
    color: #ff4f7e;
}


.class-01 .item-head {
    background-color: #A287F4;
}

.class-01 .type {
    color: #f7931e;
}

.class-02 .item-head {
    background-color: #ff6e6c;
}

.class-02 .type {
    color: #ff6e6c;
}

.class-03 .item-head {
    background-color: #F2BA05;
}

.class-03 .type {
    color: #F2BA05;
}

.class-04 .item-head {
    background-color: #009fe8;
}

.class-04 .type {
    color: #009fe8;
}

.class-05 .item-head {
    background-color: #2cb67d;
}

.class-05 .type {
    color: #2cb67d;
}

.class-06 .item-head {
    background-color: #43BBBC;
}

.class-06 .type {
    color: #43BBBC;
}

.class-07 .item-head {
    background-color: #ff78c2;
}

.class-07 .type {
    color: #ff78c2;
}



/* LAB頁 */

.class-lab .item-head {
    background-color: #96B3D9;
}

.class-lab .item-content p {
    margin-bottom: 0px;
}

/*--------------------------------------------------------------
#  20250826更新下載簡報按鈕
--------------------------------------------------------------*/
.btn-pdf{
    position: fixed;
    bottom: 14rem;
    right: 0;
    writing-mode: vertical-lr;
    font-size: 20px;
    font-weight: 500;
    color: #212121;
    background-image: radial-gradient(100% 100% at 100% 0, #ffff00 0, #00ffff 100%);
    box-shadow: rgba(45, 35, 66, .4) 0 2px 4px,rgba(45, 35, 66, .3) 0 7px 13px -3px,rgba(58, 65, 111, .5) 0 -3px 0 inset;
    padding: 15px 6px;
    border-radius: 10px 0 0 10px;
    letter-spacing: 0.05rem;
    z-index: 100;
  }
  
  .btn-pdf:hover, .btn-pdf:focus, .btn-pdf:active{
    color: #212121;
  }
  
  .btn-pdf:focus {
    box-shadow: #009fe8 0 0 0 1.5px inset, rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #009fe8 0 -3px 0 inset;
  }
  
  .btn-pdf:hover {
    box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #009fe8 0 -3px 0 inset;
    transform: translateY(-2px);
  }
  
  .btn-pdf:active {
    box-shadow: #009fe8 0 3px 7px inset;
    transform: translateY(2px);
  }
  
  .btn-pdf i{
    vertical-align: middle;
    margin-bottom: 5px;
  }

  @media (max-width:576px) { 
    .btn-pdf{
        bottom: 24rem;
    }
}