/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/

/* 覆蓋 Tailwind CSS 的 md:grid-cols-2 為 3 欄 */
.md\:grid-cols-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
:root {
    --white-color: #ffffff;
    --primary-color: #737577;
    --small-color: #A7A8AA;
    --line-color: #707070;
    --button-bg-color: #6aa45c;
    --about-bg-color: #FFF1BD;
    --title-bg-color: #FAC507;

    --menu-first-item-bg: #FAC508;
    --menu-second-item-bg: #6aa45c;
    
    --search-text-color: #707070;

    --body-font-family: "Helvetica", sans-serif, "Microsoft JhengHei";
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
html, body {
    padding: 0px;
    margin: 0px;
    font-family: var(--body-font-family);
}

#menu-overlay {
    display: none;
    z-index: 9999;
    position: fixed;
    background: #ffffff;
    /* I made this purple so you can see it :) */
    opacity: 0.85;
    /* can be made to 0 */
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
}

.clear:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0px !important;
}

.logo_container {
    margin-top: 80px;
    text-align: center;
}

.logo_container img {
    width: 200px;
}

#menu {
    position: fixed;
    width: 100%;    
    top: 0px;
    background-color: #ffffff;
    z-index: 9999;
}
#menuborder {
    height: 15px;
    border-bottom: 15px solid var(--button-bg-color);
}
#menulist {
    display: none;
    position: relative;
    top: 0px;
    z-index: 5;
    color: black;
    font-size: 20px;
    background-color: #707070;
    font-size: 13pt;
    font-weight: bold;
    text-align: center;
}
.menulist_item {
    cursor: pointer;
    height: 57px;
    line-height: 57px;
    color: #ffffff;
}
.menulist_item:first-child {
    background-color: var(--menu-first-item-bg);
}
.menulist_item:last-child {
    background-color: var(--menu-second-item-bg);
}

/* Footer */
.triangle1 {
    position: relative;
    width: 100%;
    height: 0;
    border-top: 800px solid transparent;
    border-right: 1600px solid #FFF1BD;
    bottom: 0;
    right: 0;
}

.triangle2 {
    position: absolute;
    width: 100%;
    height: 0;
    border-top: 600px solid transparent;
    border-right: 1600px solid #6aa45c;
    bottom: 0;
    right: 0;
}

.main_containter {
    z-index: 1000;
}
.main_containter .year {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20pt;
    text-align: center;
    margin-top: 80px;
}
.main_containter .memberno {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20pt;
    text-align: center;
    margin-top: 11px;
}
.main_containter .dateto {
    color: var(--small-color);
    font-size: 12pt;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 20px;
}
.breakline {
    margin: 0 auto;
    border-top: 2px var(--line-color) solid;
    width: 40%;
    text-align: center;
    height: 2px;
    margin-bottom: 60px;
}
.buttons {
    cursor: pointer;
    font-size: 13pt;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    height: 44px;
    width: 119px;
    background-color: var(--button-bg-color);
    color: #ffffff;
    line-height: 44px;
    -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;
}

.mobile-br {
    display: none;
}
.menu_container {
    position: relative;
    padding: 0px;
    height: 116px;
    width: 100%;
}
#menu_button {
    position: absolute;
    left: 19px;
    top: 45px;
    cursor: pointer;
}
.menu_logo {
    cursor: pointer;
    text-align: center;
}
.menu_logo img {
    margin-top: 30px;
    width: 70px;
}
.about_photo {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 700px;
    width: 100%;
}
.about_desc {
    background-color: var(--about-bg-color);
    font-size: 12pt;
    padding: 19px 27px 19px 27px;
}
.about_desc div {
    margin: 0 auto;
    width: 800px;
}
.about_title {
    color: var(--primary-color);
    font-size: 20pt;
    font-weight: bold;
    width: 100%;
    text-align: center;
    margin-top: 28px;
    margin-bottom: 28px;
}
#about_team_first {
    margin: 0 auto;
    padding: 0px 21px 0px 21px;
    display: grid;
    width: 300px;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 9px;
}
#about_team_second {
    margin: 0 auto;
    padding: 0px 21px 0px 21px;
    display: grid;
    width: 600px;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 9px;
}
#about_team {
    margin: 0 auto;
    padding: 0px 21px 0px 21px;
    display: grid;
    width: 800px;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 9px;
}
.team_member {
    cursor: pointer;
    text-align: center;
    margin: 9px;
}
.member_title {
    background-color: var(--title-bg-color);
    font-size: 11pt;
    color: #ffffff;
    padding: 5px;
    font-weight: bold;
}
.member_desc {
    background-color: var(--about-bg-color);
    color: var(--primary-color);
    padding: 10px;
    font-weight: bold;    
    height: auto;
}
.member_name {
    font-size: 11pt;
}
.mmeber_title {
    font-size: 9pt;
}
.member_cate {
    font-size: 10pt;
    background-color: var(--button-bg-color);
    color: #ffffff;
    padding: 4px;
}

.memberlist_title1 {
    z-index: 2000;
    text-align: center;
    height: 57px;
    line-height: 57px;
    font-size: 13pt; font-weight: bold;
    color: #ffffff;
    background-color: var(--menu-second-item-bg);
}
.memberlist_title2 {
    z-index: 2000;
    text-align: left;
    height: 57px;
    line-height: 57px;
    font-size: 13pt;
    font-weight: bold;
    color: #ffffff;
    background-color: var(--title-bg-color);
}
.search_container {
    margin: 0 auto;
    z-index: 9999;
    padding: 33px 45px 0px 45px;
    height: 120px;
    width: 800px;
    background-color: #ffffff;
}
.search_textbox {
    color: var(--search-text-color);
    height: 32px;
    font-size: 17pt; font-weight: bold;
    border-bottom: 2px solid var(--search-text-color);
    height:auto;
}
.search_title {
    float: left; width: 52px;
}
.search_box {
    float: left;
    width: calc(100% - 80px);
}
.search_box input {
    border: 1px; font-size: 17pt;
    width: 100%;
}
.search_butt {
    float: left;
    width: 28px;
    cursor: pointer;
}
.search_butt img {
    width: 100%;
}
.adv_search {
    font-size: 11pt; font-weight: bold;
    text-align: center; margin-top: 25px;
}
#advance_search {
    cursor: pointer;
}
#membersearch_team, #membersearch_team2 {
    position: relative;
    margin: 0 auto;
    width: 800px;
    padding: 40px 21px 0px 21px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 9px;
}
#membersearch-overlay {
    display: none;
    z-index: 10;
    position: absolute;
    background: #ffffff;
    opacity: 0.85;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
#job_cates_container {
    display: none;
    z-index: 9998;
    position: absolute;
    padding-top: 40px;
    left: 0px;
    width: 100%;
    padding-bottom: 30px;
    background-color: #ffffff;
}
#job_cates_container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    /* 調整陰影的高度 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
    /* 調整陰影的顏色和透明度 */
}
.adv_job_cate {
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 215px;
    text-align: center;
    color: var(--primary-color);
    font-size: 14pt; font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--primary-color);
}
#job_cate_list {
    position: relative;    
    display: flex;
    flex-wrap: wrap;
    padding: 0px 40px 0px 40px;
}
.job_cate_item {
    border: 1px solid var(--primary-color);
    padding: 10px;
    font-size: 10pt;
    font-weight: bold;
    text-align: center;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-bottom: 10px;
    flex-grow: 1;
    text-align: center;
    flex-basis: calc(50% - 18px);
    margin: 9px;
    cursor: pointer;
}   
.job_cate_item_active {
    color: var(--white-color) !important;
    background-color: var(--small-color)!important;
}
.job_cate_item:hover {
    color: #ffffff;
    background-color: var(--small-color);
}
.job_cate_item:nth-child(2n+1) {
    margin-left: 0;
}

.job_cate_item:nth-child(2n) {
    margin-right: 0;
}
#memberlist_title_back {
    cursor: pointer;
}
#memberdetails_container {
    background-color: var(--about-bg-color);
    width: 100%;
}
.memberdetails_info {
    width: 800px;
    margin: 0 auto;
    padding: 26px;
}
#memberdetails_photo{
    float: left;
    width: 45%;
    text-align: center;
    padding-right: 30px;
}
#memberdetails_photo img {
    width: 300px;
}
#memberdetails_info {
    float: left;
    width: 55%;
}
.memberdetails_name {
    font-size: 22pt; font-weight: bold;
    color: var(--primary-color);
}
.memberdetails_pro {
    font-size: 13pt; font-weight: bold; color: var(--primary-color);
}
.memberdetails_cate {
    font-size: 13pt; font-weight: bold; color: var(--small-color);
}
.memberdetails_membership {
    margin-top: 20px;    
}
.membership_item {
    margin-top: 2px;
    font-size: 12pt; font-weight: bold; color: var(--primary-color);
}
#memberdetails_desc {
    margin-top: 26px;
}
#memberdetails_history {
    background-color: var(--button-bg-color);
    padding: 26px;
    color: #ffffff;
}
#memberdetails_history div {
    width: 740px;
    margin: 0 auto;
}
.history_title {
    font-size: 13pt; font-weight: bold;
}
.history_list {
    font-size: 13pt; font-weight: normal;
    margin-top: 20px;
}
#memberdetails_portfolio {
    margin: 0 auto;
    padding-top: 26px;
    width: 800px;
}
.portfolio_title {
    font-weight: bold;
    color: #000;
    margin-bottom: 8px;
}
.portfolio_files1 {
    text-align: center;
    margin: 0 auto;
    width: 300px;
    position: relative;
    display: grid;    
    grid-gap: 9px;
    cursor: pointer;
    grid-template-columns: repeat(1, 1fr);
}
.portfolio_files2 {
    text-align: center;
    margin: 0 auto;
    width: 300px;
    position: relative;
    display: grid;
    grid-gap: 9px;
    cursor: pointer;
    grid-template-columns: repeat(2, 1fr);
}
.portfolio_files3 {
    text-align: center;
    margin: 0 auto;
    width: 300px;
    position: relative;
    display: grid;
    grid-gap: 9px;
    cursor: pointer;
    grid-template-columns: repeat(3, 1fr);
}
#portfolio_files img {
    height: 60px;
}
#memberdetails_companylogo {
    padding-top: 30px;
    text-align: center;
    margin: 0 auto;
    width: 800px;
}
#memberdetails_companylogo img {
    height: 120px;
}
.contacts1 {
    text-align: center;
    margin: 0 auto;
    padding: 26px;
    width: 300px;
    position: relative;
    display: grid;
    grid-gap: 9px;
    grid-template-columns: repeat(1, 1fr);
}
.contacts2 {
    text-align: center;
    margin: 0 auto;
    padding: 26px;
    width: 300px;
    position: relative;
    display: grid;
    grid-gap: 9px;
    grid-template-columns: repeat(2, 1fr);
}
.contacts3 {
    text-align: center;
    margin: 0 auto;
    padding: 26px;
    width: 300px;
    position: relative;
    display: grid;
    grid-gap: 9px;
    grid-template-columns: repeat(3, 1fr);
}
.contacts_icons {
    cursor: pointer;
}
.contacts_icons img {
    height: 60px;
}

/* ==========================================================================


/* Hero Banner 标題白色 */
.banner__title {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 修复会员头像显示问题 */
.member_avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member_avatar_placeholder {
    background-color: var(--small-color);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.member_card {
    cursor: pointer;
    transition: transform 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.member_card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
