.my-logo-eecs {
    height: 100px;
    width: auto;
}
.d-flex.justify-content-around a.text-decoration-none {
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .bg-dark .d-flex.justify-content-around {
    flex-wrap: wrap;
    row-gap: 6px;
    justify-content: center;
  }
}

/*  Media Query targeting phones (screens 480px wide and smaller) */
@media screen and (max-width: 480px) {
    .my-logo-eecs {
        width: calc(99%);
        height: auto;
    }
    .search-mobile-pos-rel {
        position: relative;
    }
}

/* index.php */
a > .badge {
  background-color: #8a6a2f; /* 原本 #C19E4F，加深約 35% */
}
.btn.btn-common {
  color: #007a8c;
  border-color: #007a8c;
}
.btn.btn-common:hover {
  background-color: #007a8c;
  color: #ffffff;
}
.btn.btn-info.btn-sm.mt-2 {
  background-color: #1f6fa8;
  border-color: #1f6fa8;
  font-size: 13px;
}


.mt-0 {
    margin-top: 0 !important;
}
.title-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.news-detail-wrapper {
    padding-top: 24px;
    padding-bottom: 24px;
}
.news-detail-wrapper .news-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.news-detail-wrapper .news-date {
    background: #b7b7b7;
    color: #fff;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    padding: 2px 24px;
    font-size: 15px;
    margin-bottom: 6px;
}
.news-detail-wrapper .news-meta .news-author {
    font-size: 15px;
    font-weight: 900;
    color: #90b4dd;
}
.news-detail-wrapper .news-meta .news-author span {
    padding-right: 4px;
}
.news-title {
    color: #484848;
    margin-bottom: 24px;
}
.news-content img {
    max-width: 100%;
    margin: 4px 0;
}
.news-content p {
    font-size: 16px;
    line-height: 30px;
}
.history-textbox {
    padding: 0 16px;
    margin-bottom: 32px;
    margin-top: 20px;
    font-size: 17px;
    line-height: 26px;
}
.history-textbox p {
    font-size: 17px;
}
.download-form-btn a i {
    margin-right: 10px;
}
.download-form-btn a:last-child i {
    margin-right: 0;
}
.download-form-content span {
    margin-right: 6px;
}
.honor .portfolio-filter li a {
    display: inline-block;
}
@media (max-width: 361px) {
    .news-detail-wrapper .news-meta .news-author {
        flex: 1 1 100%;
        margin-bottom: 8px;
    }
    .news-detail-wrapper .news-date {
        margin-bottom: 0;
    }
	
}
@media (max-width: 321px){
	#header .collapse.navbar-collapse {
		max-height: 60vh;
		overflow-y: auto;
	}
	#header .navbar-brand #logoimg img {
		width: 108% !important;
		max-width: 108% !important;
	}
	.social-icons ul li a {
		font-size: 13px;
	}
	.portfolio-filter {
		margin: 0px 0;
	}
}