.col-12.col-xl-3 form {
    padding: 2rem 2rem 3rem;
    background: #fff;
    border-radius: 0 0 1rem 1rem;
}

.marquee {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 1rem 2rem;
    border-radius: 1rem;
    margin-bottom: 4rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 4.5rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
    padding-left: 1rem;
}

button.tab-button.active {
    border: 1px solid #ddd;
    background: white;
}

.tab-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #f3f4f6;
    border-radius: 5px;
    padding: 7.5px !important;
}

.tab-button {
    padding: 3px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    transition: all 0.2s ease;
    width: 18.5%;
    border: transparent;
    background: transparent;
    text-align: center;
}

.tab-button:hover {
    color: #666;
    border: 1px solid #ddd;
    background: white;
}

/*=== side-bar ===*/
.side-bar a {
    margin-bottom: 3rem;
    color: #333;
    background: #ffff;
    box-shadow: #00000020 0 1px 3px;
    border-radius: 3rem 3rem 3rem 0;
    padding: 1.5rem;
    transition: 0.3s ease;
}

.side-bar a.active {
    cursor: pointer;
    gap: 0.4rem;
    font-weight: bold;
    border-radius: 3rem 3rem 3rem 0;
    text-shadow: 2px 2px 3px rgb(136 0 136 / 50%);
    background: linear-gradient(
            15deg,
            #f4983b,
            #f7b65a,
            #f9c253,
            #fac452,
            #f7cd6f,
            #fac452,
            #f9c253,
            #f7b65a,
            #f4983b
        )
        no-repeat;
    background-size: 300%;
    color: #fff;
    border: none;
    background-position: left center;
    transition: 0.3s ease;
}

.side-bar a:hover {
    background: linear-gradient(
            15deg,
            #f4983b,
            #f7b65a,
            #f9c253,
            #fac452,
            #f7cd6f,
            #fac452,
            #f9c253,
            #f7b65a,
            #f4983b
        )
        no-repeat;
    background-size: 300%;
}

.side-bar a.cative {
    margin-bottom: 3rem;
}

/*============ 會員內頁側選單 ============*/
.accordion-block {
    width: 100%;
    border-radius: 30px;
}

.accordion-block h4 {
    color: #222;
    font-size: 2rem;
    font-weight: bold;
    padding: 2.25rem 2rem 1.5rem;
    border-radius: 1rem 1rem 0 0;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.accordion {
    margin: 0;
    background: #fff;
    border-radius: 0 0 30px 30px;
}

ul#accordion {
    transition: 0.3s ease;
}

ul#accordion li:hover {
    background: #ffaa0010;
}

.accordion .link {
    padding: 2.5rem;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease;
}

.accordion-block li:last-child {
    border-radius: 0 0 30px 30px;
}

.accordion-block li {
    list-style: none;
}

.accordion li:last-child .link {
    border-bottom: 0;
}

.link.active {
    background: #ffaa0010;
}

.accordion li i {
    position: absolute;
    top: 30px;
    left: 12px;
    font-size: 18px;
    color: #595959;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.accordion li i.fa-chevron-down {
    right: 20px;
    left: auto;
    font-size: 16px;
}

.accordion li.open .link {
    background-color: #ecf8ff;
}

.accordion li.open i {
    color: #333;
}

.accordion li.open i.fa-chevron-down {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.accordion li.default .submenu {
    display: block;
}

.submenu {
    display: none;
    background: #ecf8ff;
    font-size: 1.6rem;
}

.submenu li {
    border-bottom: 1px solid #ddd;
}

.submenu a {
    display: block;
    text-decoration: none;
    padding: 2rem 0;
    padding-left: 42px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.content-block-inner {
    margin-top: 6rem;
}

.content-block-inner h4 {
    border-radius: 5px 5px 0 0;
    background: var(--one-color);
    margin-bottom: 0rem;
    color: #fff;
    padding: 3rem 2rem;
}

.round-item a {
    padding: 3.5rem 3rem;
    margin-bottom: 3rem;
    box-shadow: #00000020 0 1px 3px;
    display: block;
    background: #fff;
    border-radius: 3rem;
    display: flex;
    justify-content: space-between;
}

.round-item a p:first-child {
    width: 60%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-item a {
    margin-bottom: 5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #333;
    display: block;
    transition: 0.3s ease;
}

.news-item a:hover {
    color: var(--one-color);
}

.lecture {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: #00000020 0 1px 3px;
    border-radius: 3rem;
}

.lecture-img {
    width: 25rem;
    background-image: url(../images/lec-01.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 3rem 0 0 3rem;
    aspect-ratio: 1 / 1;
}

.lecture-info {
    width: calc(100% - 250px);
    padding: 2.5rem;
    overflow-y: scroll;
    height: 250px;
}

.lecture-info h4 {
    margin-bottom: 1rem;
}

.download-group {
    display: flex;
    flex-direction: column;
}

.download-item {
    margin-bottom: 1rem;
}

.download-item i {
    font-size: 2rem;
    padding-right: 0.5rem;
    color: var(--one-color);
}

/*=== album ===*/

.album-block-index .col-12,
.album-block-index .col-lg-4,
.album-block-index .col-lg-8,
.album-block-index .col-lg-3,
.album-block-index .col-lg-9 {
    padding-right: 0px;
    padding-left: 0px;
}

.album-block-index .col-md-3 {
    height: initial;
}

.album-block-index {
    height: auto;
    overflow: hidden;
}

.album-group-index {
    display: flex;
    flex-wrap: wrap;
}

.album-item-index {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-size: cover;
    width: 33%;
    aspect-ratio: 1 / 1;
}

.album-item-index a {
    display: block;
    width: 100%;
    height: 100%;
}

.album-item-index.a {
    background-image: url(../images/index/alu-01.jpg);
}

.album-item-index.b {
    background-image: url(../images/index/alu-02.jpg);
}

.album-item-index.c {
    background-image: url(../images/index/alu-03.jpg);
}

.album-item-index.d {
    background-image: url(../images/index/alu-04.jpg);
}

.album-item-index.e {
    background-image: url(../images/index/alu-05.jpg);
}

.album-item-index.f {
    background-image: url(../images/index/alu-06.jpg);
}

.album-item-index-info {
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 100%
    );
    width: 100%;
    padding: 0 2rem 2.5rem 2rem;
}

.album-item-index-info h4,
.album-item-index-info p {
    color: #fff;
}

.album-item-index-info p {
    border-bottom: 1px solid #fff;
}

.album-item-first-index {
    background-color: rgba(0, 0, 0, 1);
    background-image: url(../images/index/alu.jpg);

    background-size: cover;
    height: 100%;
    background-position: right;
    padding: 4rem;
    color: #fff;
}

.album-item-first-index h3,
.album-item-first-index p {
    color: #fff;
    text-shadow: #000000 2px 2px 10px;
}

.footer-block-index {
    margin: 0;
}

.photo-item a {
    color: #fff !important;
}

.photo-photo {
    border-radius: 5px;
    border: #fff 1px solid;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* 4:3 比例，可依需求調整 */
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-photo img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.photo-item h4 {
    color: #fff !important;
}

.photo-group {
    display: flex;
    gap: 5%;
    flex-wrap: wrap;
}

.photo-info {
    padding-top: 1.5rem;
}

.photo-item {
    width: 30%;
    font-size: 1.4rem;
    margin-bottom: 4rem;
}

.photo-badge {
    background: #fff;
    border-radius: 3px;
    padding: 3px 6px;
    color: #222;
}

.photo-name {
    border-bottom: 1px solid #fff;
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
}

.photo-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.photo-name,
.photo-subinfo {
    display: block;
    justify-content: space-between;
    align-items: center;
}

.photo-btn {
    display: flex;
    align-items: center;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    margin: 0rem 0 6rem;
}

.photo-btn a {
    color: #222;
    display: block;
    margin: 0 1rem;
    background: #fff;
    border-radius: 1rem;
    width: 6rem;
    height: 6rem;
    line-height: 5rem;
}

.photo-btn a:hover {
    color: #222;
}

.photo-block h2 {
    position: relative;
    color: #fff;
    width: 100%;
}

.photo-title {
    margin-bottom: 2.5rem;
    color: #fff;
}

.photo-title h2::before {
    position: absolute;
    content: "";
    background-repeat: repeat;
    z-index: 999;
    left: 0;
    top: 0;
    width: 140px;
    height: 45px;
    z-index: -1;
}

.photo-title h2::after {
    position: absolute;
    content: "";
    background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
    width: 100%;
    height: 1px;
    top: 20px;
    left: 0;
    z-index: 0;
}

.form-group.has-search {
    display: flex;
    flex-wrap: wrap;
    justify-content: baseline;
}

.form-group {
    width: 100%;
}

.search-result h3 {
    color: #fff;
}

.filter-block {
    background: #fff;
    padding: 1rem 1.5rem;
    margin: 1rem 0 2rem;
    border-radius: 0.5rem;
}

.filter-item {
    border: 1px solid #ddd;
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 5px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
}

.filter-item a {
    padding-right: 5px;
    display: inline-block;
}

.result-block {
    display: flex;
    margin-bottom: 2rem;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 1.6rem;
}

.result-block button#dropdownMenuButton {
    background: #fff;
    border-radius: 5px;
    color: #222;
}

.result-block i {
    padding-right: 5px;
}

.albums-info-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.alb-item1 {
    width: 63.5%;
}

.alb-item2 {
    width: 33.5%;
}

.alb-item2 .title h3,
.alb-item2 .title h5 {
    color: #fff;
}

.albums-text p {
    color: #fff;
}

.atb-item h5 {
    color: #fff;
}

.albums-tag span {
    color: #fff;
}

.albums-tag a {
    color: #fff;
}

.asb-item a,
.asb-item h5 {
    color: #fff;
}

.alb-item2 .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #fff;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.title-view {
    display: flex;
    align-items: center;
}

.title-view span {
    color: #fff;
}

.albums-text {
    margin-bottom: 1rem;
}

.albums-share i {
    font-size: 3rem;
    margin: 1rem 2rem 0 0;
}

.photo-info-text {
    margin: 4rem 0;
    border-bottom: 1px solid #fff;
    padding-bottom: 4rem;
    margin-bottom: 4rem;
}

.photo-info-text h3 {
    margin-bottom: 2.5rem;
}

.photo-info-text h3,
.photo-info-text p {
    color: #fff;
}

.photo-similar h3 {
    color: #fff;
    margin-bottom: 2rem;
}

.pri-item {
    margin-bottom: 5rem;
    color: #fff;
}
.news p,
.news img {
    line-height: 39px;
    margin-bottom: 2rem;
}
.news li {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    line-height: 39px;
}

.pri-item p,
.pri-item li {
    margin-bottom: 2rem;
}

.title h3,
.pri-item h3 {
    font-weight: bold;
}
/*================================ RWD ================================*/
@media (max-width: 1600px) {
    /*====== 1600 ======*/
}

@media (max-width: 1500px) {
    /*====== 1500 ======*/

    /*=== 新聞 ===*/
}

@media (max-width: 1400px) {
    /*====== 1400 ======*/
}

@media (max-width: 1280px) {
    /*====== 1280 ======*/
}

@media (max-width: 1200px) {
    /*====== 1200 ======*/
    .col-12.col-xl-3 form {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 4rem;
    }

    .form-group {
        width: 48.5%;
    }
}

@media (max-width: 992px) {
    /*====== 992 ======*/
    .side-bar-block {
        width: 100%;
        overflow-x: auto;
    }

    /*=== side-bar ===*/
    .side-bar {
        width: 1215px;
    }

    .side-sp {
        margin-top: 4rem;
    }

    /*=== 新聞 ===*/
    .news-item a {
        margin: 3rem 0;
    }

    /*============ 會員內頁側選單 ============*/
    .side-bar a {
        margin: 0 2rem 2rem 0;
    }

    .flip {
        background: var(--one-color);
        font-size: 2rem;
        font-weight: bold;
        text-align: center;
        color: #fff;
        padding: 2rem;
        margin-bottom: 3rem;
        border-radius: 15px;
    }

    .accordion-block {
        margin-bottom: 4rem;
    }

    .photo-item {
        width: 48.5%;
    }

    .photo-group .photo-item:nth-child(3) {
        display: none;
    }

    .albums-info-block {
        flex-direction: column;
    }

    .alb-item1,
    .alb-item2 {
        width: 100%;
    }

    .alb-item2 .title {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    /*====== 768 ======*/
    .news-block-index .news-item {
        width: 100%;
        margin-right: 0%;
    }

    .news-block-index .news-item a {
        margin: 1.5rem 0;
    }

    .album-item-index {
        width: 50%;
    }

    .album-item-index-info {
        padding: 0 4rem 4rem;
    }
}

@media (max-width: 576px) {
    /*====== 576 ======*/
    .news-block-index {
        padding: 6rem 0;
        margin-top: 6rem;
    }

    .album-block-index {
        overflow: hidden;
    }

    .form-group {
        width: 100%;
    }

    .photo-item {
        width: 100%;
    }

    .photo-group .photo-item:nth-child(2) {
        display: none;
    }
}

@media (max-width: 480px) {
    /*====== 480 ======*/
    .album-item-index {
        width: 100%;
    }
}

@media (max-width: 420px) {
    /*====== 420 ======*/
    /*============ 會員內頁側選單 ============*/
    .flip {
        margin-bottom: 2rem;
    }
}

/* 作品簡介：後台編輯器分段內容 */
.photo-info-intro {
    color: #fff;
}
/* 與編輯器一致：每按一次 Enter 是一行，不另加段距；空行由 <p><br></p> 撐出 */
.photo-info-intro p {
    margin-bottom: 0;
}
.photo-info-intro ul,
.photo-info-intro ol {
    padding-left: 1.5em;
    margin-bottom: 0.75em;
}
