/* ========================================
   bg
   ======================================== */
.bg-fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.bg-fullscreen img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ?��??�罩�?*/
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
    pointer-events: none;
}

/* ?�容?�??*/
.content-above {
    position: relative;
    z-index: 10;
}

/* 確�?主�??�容?�?�在?�景之�? */
.misfull_about_area .container {
    position: relative;
    z-index: 10;
}

/* ?��?容器 */
.image-container {
    margin: 30px 0;
}

.image-responsive {
    max-width: 100%;
    height: auto;
}

/* ?��?式設�?*/
@media (max-width: 768px) {
    .bg-fullscreen img {
        height: auto;
        min-height: 100vh;
    }

    .image-responsive {
        margin: 20px 0;
    }
}
/* ==============================================
   導航?�層級修�?- 確�?導航不被?�容覆�?
============================================== */

/* 導航?��???*/
.tx_top2_relative {
	position: relative;
	z-index: 1000 !important;
}

.misfull-main-menu {
	position: relative;
	z-index: 1001 !important;
}

.misfull_header_top_two {
	position: relative;
	z-index: 1002 !important;
}

/* 移�?端選??*/
.mobile_logo_area {
	position: relative;
	z-index: 1003 !important;
}

.main-menu-area {
	position: relative;
	z-index: 1004 !important;
}

/* ========================================
    organization TAMI 組�???
   ======================================== */
/* 組�??�員?��?義樣�?*/
.organization-members {
    margin-top: 50px;
}

.organization-members .organization-card {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.organization-members .organization-card.card-blue {
    border-left: 5px solid #3498db;
}

.organization-members .title-with-number {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.organization-members .member-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
    color: white;
    font-size: 18px;
    font-family: 'Arial', sans-serif;
}

.organization-members .member-number.number-blue {
    background: #3498db;
}

.organization-members h4 {
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    margin: 0;
    font-weight: bold;
}

.organization-members h4.title-blue {
    color: #3498db;
}

.organization-members .content-text {
    line-height: 1.8;
    color: #555;
    font-size: 15px;
}

@media (max-width: 768px) {
    .organization-members {
        margin-top: 30px !important;
    }

    .organization-members .organization-card {
        margin-bottom: 20px;
        padding: 20px !important;
    }

    .organization-members h4 {
        font-size: 18px;
    }

    .organization-members .content-text {
        font-size: 14px !important;
    }

    .organization-members .member-number {
        width: 35px !important;
        height: 35px !important;
        font-size: 16px;
        margin-right: 12px !important;
    }
}

@media (max-width: 576px) {
    .organization-members .organization-card {
        padding: 15px !important;
    }

    .organization-members .member-number {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px;
        margin-right: 10px !important;
    }

    .organization-members h4 {
        font-size: 16px;
    }
}
/* ==============================================
   former-chairs html TAMI 歷�??��??��?示樣�?- ?��??�景上層顯示
============================================== */
.content-above {
	position: relative;
	z-index: 6;
}

.photoformer-chairs {
    width: 220px;
    height: 310px;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

img.photoformer-chairs {
    border: 1.5px solid rgb(200, 200, 200);
    box-sizing: border-box;
}

/* 統�??��??�照?�容??*/
.witr_team_sec_4 {
    overflow: hidden;
    position: relative;
    background: white;
    transition: all 0.3s ease;
    height: 370px;
    max-width: 280px;
}

/* ?��??�信?��??�樣�?- ?�色?��?貼在?��?�?*/
.chairman-info {
    overflow: visible;
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 1);
    padding: 12px 15px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.chairman-info h5 {
    color: #333 !important;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    transition: color 0.3s ease;
}

.chairman-info p,
.chairman-info span {
    color: #666 !important;
    font-size: 13px;
    margin: 0;
    transition: color 0.3s ease;
}
/* 標�?�?? */
.witr_section_title_inner {
	margin-top: 50px;
	position: relative;
	z-index: 7;
}

.witr_section_title_inner h3 {
	color: #0A5CA5;
	text-shadow:
		-1px -1px 0 rgba(255,255,255,0.8),
		 1px -1px 0 rgba(255,255,255,0.8),
		-1px  1px 0 rgba(255,255,255,0.8),
		 1px  1px 0 rgba(255,255,255,0.8);
	font-weight: bold;
}

.witr_section_subtitle {
	color: #555;
	font-size: 16px;
	margin-top: 10px;
	font-style: italic;
	text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

/* ?��?式設�?*/
@media (max-width: 768px) {

	.chairman-info h5 {
		font-size: 16px;
	}

	.chairman-info p {
		font-size: 12px;
	}

	.chairman-card {
		padding: 15px;
	}
}

@media (max-width: 576px) {
	.chairmen-gallery .col-sm-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}
}
/* ===============================================
   event-information - Hashtag 標籤�??
   =============================================== */
.hashtag-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: default;
    transition: all 0.3s ease;
    border: 2px solid;
    margin: 0 4px 8px 0;
    user-select: none;
    color: #666666;
}

/* Primary - 工具�?(#FFEFBD) */
.hashtag-tag.primary {
    background-color: #FFEFBD;
    border-color: #FFEFBD;
}

.hashtag-tag.primary:hover {
    background-color: #FFE896;
    border-color: #FFE896;
}

/* Secondary - ?��? (#93BEDF) */
.hashtag-tag.secondary {
    background-color: #93BEDF;
    border-color: #93BEDF;
}

.hashtag-tag.secondary:hover {
    background-color: #6BA3D0;
    border-color: #6BA3D0;
}

/* Orange - 人�??�育 (#FFC000) */
.hashtag-tag.orange {
    background-color: #FFC000;
    border-color: #FFC000;
}

.hashtag-tag.orange:hover {
    background-color: #E6AD00;
    border-color: #E6AD00;
}

/* Outline - ?��? (#BF9000) */
.hashtag-tag.outline {
    background-color: #A9D182;
    border-color: #A9D182;
}

.hashtag-tag.outline:hover {
    background-color: #9ec379;
    border-color: #9ec379;
}


/* ===============================================
   board ?�監事�?專用�??
   =============================================== */
.pageboardcontainer {
    background: white;
    max-width: 1500px;
    padding: 10px 30px;
    margin: 10px auto;
}
/* ?�監事�?主�?題樣�?*/
.witr_section_title_inner h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 15px;
    display: inline-block;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
}

.witr_section_title_inner .subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-top: 10px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}
.maincontain {
	position: relative;
	min-height: 10vh;
	overflow: hidden;
    background: #e8f4f8;
    padding: 50px 0;
}
@media (max-width: 767.98px) {
  .member-section {
    text-align: center !important;
  }
  .witr_team_part {
    display: inline-block;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* 統�?標�?�?? */
.maincontain .witr_section_title_inner h3 {
    color: #0A5CA5;
    text-shadow:
        -1px -1px 0 #ddd,
         1px -1px 0 #ddd,
        -1px  1px 0 #ddd,
         1px  1px 0 #ddd;
}
@media (max-width: 991px) {
    .nav-btns-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 32px;
        align-items: stretch;
    }
    .member-nav-container {
    padding: 0px;
}
    /* 讓�??��??�照?��?塊直?�單??*/
    .member-section {
        width: 100% !important;
        max-width: 500px;
        margin: 0 auto 32px auto !important;
        display: block !important;
        float: none !important;
    }
    .row.mb-5.member-section {
        display: block !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
/* ?��?標�?�?? */
.position-title {
    margin-bottom: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 70px;
    padding-top: 10px;
    padding-bottom: 0;
}

.position-name {
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    border-bottom: 4px solid #0A5CA5;
    padding: 15px 30px 10px;
    margin: 0;
    display: inline-block;
    background: linear-gradient(135deg, #0A5CA5 0%, #1e7bb8 100%);
    border-radius: 10px 10px 0 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    box-shadow: 0 4px 15px rgba(10, 92, 165, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ?��?標�?統�?使用?�色�?*/
.chairman-title .position-name,
.position-name[data-role="chairman"] {
    border-bottom-color: #2a8cc9;
    background: linear-gradient(135deg, #2a8cc9 0%, #3498db 100%);
}

.supervisor-head-title .position-name,
.position-name[data-role="supervisor-head"] {
    border-bottom-color: #1e7bb8;
    background: linear-gradient(135deg, #1e7bb8 0%, #2a8cc9 100%);
}

.vice-chairman-title .position-name,
.position-name[data-role="vice-chairman"] {
    border-bottom-color: #0A5CA5;
    background: linear-gradient(135deg, #0A5CA5 0%, #1e7bb8 100%);
}

.executive-director-title .position-name,
.position-name[data-role="executive-director"] {
    border-bottom-color: #1e7bb8;
    background: linear-gradient(135deg, #1e7bb8 0%, #2a8cc9 100%);
}

.executive-supervisor-title .position-name,
.position-name[data-role="executive-supervisor"] {
    border-bottom-color: #2a8cc9;
    background: linear-gradient(135deg, #2a8cc9 0%, #3498db 100%);
}

.director-title .position-name,
.position-name[data-role="director"] {
    border-bottom-color: #0A5CA5;
    background: linear-gradient(135deg, #0A5CA5 0%, #1e7bb8 100%);
}

.supervisor-title .position-name,
.position-name[data-role="supervisor"] {
    border-bottom-color: #1e7bb8;
    background: linear-gradient(135deg, #1e7bb8 0%, #2a8cc9 100%);
}

.position-name .count {
    color: #e74c3c;
    font-size: 1.2rem;
    font-weight: normal;
}

/* ?�司???�?? */
.company-link {
    color: #2a8cc9 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px dotted transparent;
}

.company-link:hover {
    color: #0A5CA5 !important;
    text-decoration: none;
    border-bottom-color: #2a8cc9;
    transform: translateY(-1px);
}

.company-link:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}
/* board.html ?��?式�??�?��??�照?��?行�??��??��??��?/平板 */
@media (max-width: 991px) {
    #section-top-leadership .member-section,
    #section-executive-director .col-lg-3,
    #section-executive-supervisor .col-lg-3,
    #section-supervisor .col-lg-3,
    #section-director .col-lg-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: block !important;
    }
    #section-top-leadership .d-flex,
    #section-executive-director .d-flex,
    #section-executive-supervisor .d-flex,
    #section-supervisor .row.team_top,
    #section-director .row.team_top {
        flex-direction: column !important;
        display: block !important;


    }
}
@media (max-width: 991px) {
    .nav-btns-2col {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0 32px;
        width: 100%;
        justify-items: center;
        align-items: start;
    }
    .nav-btns-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 32px;
        align-items: stretch;
    }
}
/* ?��?式設�?*/
@media (max-width: 1200px) {
    .publications-gallery .row {
        align-items: stretch;
    }

    .chairman-card,
    .supervisor-head-card {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .publications-gallery .row {
        align-items: stretch;
    }
    .witr_section_title_inner h2 {
        font-size: 2rem;
    }

    .position-name {
        font-size: 1.5rem;
    }
}

/* ?��?式設�?- 保�?5?��?局?�統一高度 */
@media (max-width: 1200px) {
    .chairman-card,
    .supervisor-head-card {
        width: 300px;
    }
}


@media (max-width: 480px) {
    .witr_section_title_inner h2 {
        font-size: 1.7rem;
    }

    .position-name {
        font-size: 1.3rem;
        border-bottom-width: 3px;
        padding-bottom: 8px;
    }
}


/* ?�監事�?導航?��?�?? */
.member-nav-container {
    padding: 25px;
}

.member-nav-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
}
.nav-btns-2col {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
}
@media (min-width: 992px) {
    .nav-btns-2col {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 24px !important;
        width: 100%;
    }
    .nav-btns-col {
        display: contents !important;
        width: auto !important;
        gap: 0 !important;
    }
    .member-nav-btn {
        width: auto !important;
        min-width: 120px !important;
        max-width: none !important;
        margin: 0 !important;
        font-size: 14px !important;
        padding: 12px 20px !important;
    }
}

.nav-btns-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 180px;
    align-items: stretch;
}


.member-nav-btn {
    background: linear-gradient(135deg, #0A5CA5 0%, #1e7bb8 100%);
    border: 2px solid #0A5CA5;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(10, 92, 165, 0.2);
}

.member-nav-btn:hover {
    background: linear-gradient(135deg, #638eab 0%, #509bca 100%);
    border-color: #638eab;
    color: white;
    transform: translateY(-2px);
}

.member-nav-btn.active {
    background: linear-gradient(135deg, #2a8cc9 0%, #3498db 100%);
    border-color: #2a8cc9;
    color: white;
    transform: translateY(-1px);
}

.member-nav-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 92, 165, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ?��?式設�?*/
@media (max-width: 768px) {
    .nav-btns-2col {
        flex-direction: row;
        gap: 0;
        align-items: stretch;
    }
    .member-nav-container {
    padding: 0px;
}
    .nav-btns-col {
        width: 50%;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 12px;
        justify-content: flex-start;
        margin-bottom: 0;
        align-items: stretch;
    }
    .nav-btns-col .member-nav-btn {
        width: 90%;
        min-width: 120px;
        max-width: 100%;
        font-size: 15px;
        padding: 10px 0;
        margin: 0 auto 0px auto;
    }
}

/* ========================================
   committees VenoBox 風格專業委員?��??�庫�??
   ======================================== */
/* 主容??*/
.veno-gallery-container {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 40px 0;
    z-index: 15;
    background: transparent;
}

/* ?��?行容??*/

.veno-gallery-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    width: 200%; /* ?��??��?，寬度設??00% */
    margin: 0 auto 30px auto;
    overflow: hidden;
}

/* 上�??��?往左滾??*/
.veno-row-top {
    animation: slideLeft 40s linear infinite;
    justify-content: flex-start;
}

/* 下�??��?往?�滾??*/
.veno-row-bottom {
    animation: slideRight 40s linear infinite;
    justify-content: flex-end;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* 滑�??��??�暫?��???*/
.veno-gallery-row:hover {
    animation-play-state: paused;
}

/* ?��??�目 */
.veno-item {
    flex: 0 0 auto;
    margin: 0 20px; /* 增�??��?之�??��?�?*/
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    width: 350px; /* 增大?��?寬度 */
    height: 250px; /* 增大?��?高度 */
}

.veno-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: none;
    z-index: 20;
}

/* ?��???? */
.veno-item a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* ?��?�?? */
.veno-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 10px;
}

.veno-item:hover img {
    transform: scale(1.1);
}

/* ?��??��??�罩 */
.veno-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(10, 92, 165, 0.7), rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    border-radius: 10px;
}

.veno-item:hover a::before {
    opacity: 1;
}

/* ?��??��??�大?��? */
.veno-item a::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    z-index: 10;
    transition: transform 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.veno-item:hover a::after {
    transform: translate(-50%, -50%) scale(1);
}

/* ?��?式設�?*/
@media (max-width: 1200px) {
    .veno-item {
        width: 240px;
        height: 180px;
        margin: 0 12px;
    }
}

@media (max-width: 768px) {
    .veno-gallery-container {
        padding: 30px 0;
    }

    .veno-gallery-row {
        padding: 0 20px;
    }

    .veno-item {
        width: 200px;
        height: 150px;
        margin: 0 10px;
    }

    .veno-item a::after {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .veno-gallery-container {
        padding: 20px 0;
    }

    .veno-gallery-row {
        padding: 0 15px;
    }

    .veno-item {
        width: 160px;
        height: 120px;
        margin: 0 8px;
    }

    .veno-item a::after {
        font-size: 1.2rem;
    }
}

/* VenoBox 彈出視�??�本�??（�??��?要�?話�?*/
.venobox {
    cursor: pointer;
}

.venobox:focus,
.venobox:hover {
    text-decoration: none;
    outline: none;
}
/* TAMI committees.html ?��??�大?�覽 - VenoBox */

.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background: transparent;
    max-width: 60vw;
    max-height: 2000vh;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: visible;
    animation: slideUp 0.3s ease;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#modalImage {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    border: none;
    outline: none;
    box-shadow: none;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.2s ease;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    padding: 0;
}

.close-btn:hover {
    color: #e74c3c;
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.modal-counter {
    display: none;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95vw;
        max-height: 85vh;
    }

    #modalImage {
        max-height: 70vh;
    }

    .close-btn {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}
/* ========================================
   committees 專�??�簡介表?�樣�?
   ======================================== */
.committee-info-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.committee-info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.committee-title {
    text-align: center;
    margin-bottom: 50px;
}

.committee-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(45deg, #3498db, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    position: relative;
}

.committee-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #2c3e50);
    border-radius: 2px;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.committee-header {
    display: contents;
}

.committee-row {
    display: contents;
}

.committee-row:nth-child(even) {
    background: transparent;
}

.committee-row:nth-child(odd) {
    background: transparent;
}

.committee-cell {
    padding: 20px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.5;
    align-items: center;
    text-align: center;
    word-break: break-word;
    border: 3px solid rgba(52, 152, 219, 1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-cell {
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    color: white;
    background: linear-gradient(45deg, #3498db, #2c3e50);
    backdrop-filter: none ;
    -webkit-backdrop-filter: none ;
}

.committee-cell:last-child {
    margin-bottom: 0;
}

.committee-cell a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.committee-cell a:hover {
    color: #aad0f6;
    padding: 2px 6px;
    border-radius: 4px;
}

.committee-cell strong {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

/* 專�??��?稱設計樣�?*/
.committee-name-design {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a365d;
    line-height: 1.4;
    margin-bottom: 8px;
    text-align: left;
    display: block;
}

.committee-subtitle {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-style: italic;
    margin-top: 5px;
}

.committee-cell-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #7f8c8d;
    font-style: italic;
    font-weight: 400;
    margin-top: 5px;
}

.highlight-text {
    color: #3498db !important;
    font-weight: 500;
}

.committee_info_area {
    margin: 30px 0;
    padding: 25px 0;
}

.committee_description {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.committee_description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* ?��?式調??*/
@media (max-width: 768px) {
    .committee_description {
        padding: 20px 25px;
        margin: 20px 10px;
    }

    .committee_description p {
        font-size: 1rem;
    }

}

@media (max-width: 576px) {
    .committee_description {
        padding: 15px 20px;
        margin: 15px 5px;
    }

    .committee_description p {
        font-size: 0.95rem;
    }
}
/* ?��?式設�?*/
@media (max-width: 1200px) {
    .committee-info-container {
        padding: 0 15px;
    }

    .committee-cell {
        padding: 20px 15px;
    }
}

@media (max-width: 768px) {
    .committee-title h2 {
        font-size: 2rem;
    }

    .committee-header,
    .committee-row {
        grid-template-columns: 1fr;
    }

    .committee-cell {
        border-right: none;
        border-bottom: none;
        padding: 20px;
    }

    .committee-row .committee-cell:last-child {
        border-bottom: none;
    }

    .header-cell {
        background: #3498db;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .committee-info-section {
        padding: 40px 0;
    }

    .committee-title {
        margin-bottom: 30px;
    }

    .committee-title h2 {
        font-size: 1.7rem;
    }

    .committee-cell {
        padding: 15px;
    }

    .committee-cell strong {
        font-size: 1rem;
    }
}
/* ==============================================
    TAMI awards.html
============================================== */
.awards-gallery {
	padding: 40px 0;
	position: relative;
	z-index: 7;
}

.award-item {
	margin-bottom: 30px;
	position: relative;
	z-index: 8;
}

.award-card {
	background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
	padding: 20px;
	text-align: center;
	box-shadow:
		0 10px 30px rgba(0,0,0,0.1),
		inset 0 1px 0 rgba(255,255,255,0.8);
	transition: all 0.4s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 9;
	overflow: hidden;
}

.award-card:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #FFD700 0%, #DAA520 50%, #FFD700 100%);
	z-index: 1;
}

.award-photo {
	width: 100%;
	height: 400px;
	margin: 0 auto 20px;
	border-radius: 8px;
	overflow: hidden;
	border: 3px solid #DAA520;
	box-shadow:
		0 4px 15px rgba(218, 165, 32, 0.3),
		inset 0 1px 0 rgba(255,255,255,0.5);
	position: relative;
	z-index: 2;
	background: linear-gradient(145deg, #ffffff, #f8f8f8);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.award-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.4s ease;
	filter: contrast(1.05) saturate(1.1);
}

/* 橫�??��?專用�?? - 保�??��?例�?裁�?，�?維�?統�?外�?高度 */
.award-photo.landscape {
	height: 400px; /* ?�其他照?��??�相?��?�?*/
	display: flex;
	align-items: center;
	justify-content: center;
}

.award-photo.landscape img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.award-info {
	position: relative;
	z-index: 2;
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(218, 165, 32, 0.1) 100%);
	padding: 15px;
	border-radius: 8px;
	border: 1px solid rgba(218, 165, 32, 0.2);
	margin-top: auto;
}

.award-info h5 {
	color: #B8860B;
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 8px;
	line-height: 1.3;
	text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.award-info p {
	color: #8B6914;
	font-size: 14px;
	margin: 0;
	font-weight: 600;
	background: rgba(255, 215, 0, 0.2);
	padding: 8px 15px;
	border-radius: 20px;
	border: 1px solid rgba(255, 215, 0, 0.3);
	display: inline-block;
	min-width: 100px;
}

/* ====== awards ?�監事個人標�?�?? - ?�面?��??�景============== */

.board-member-title {
    text-align: center;
    margin: 40px 0;
    padding: 30px 40px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    z-index: 2;
}

/* ?�面?�景?��? */
.board-member-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    z-index: -1;
}

/* 漸�??��??��? */
.board-member-title::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        rgba(255, 215, 0, 0.6) 0%,
        rgba(255, 255, 255, 0.3) 25%,
        rgba(0, 123, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 75%,
        rgba(255, 215, 0, 0.6) 100%);
    border-radius: 17px;
    z-index: -2;
    opacity: 0.7;
}

.board-member-title h4 {
    color: #fff;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.5);
    position: relative;
    z-index: 3;
}

.board-member-title h4 i {
    color: #ffd700;
    margin-right: 15px;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 25px rgba(255, 215, 0, 0.8);
    font-size: 1.2em;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow:
            2px 2px 4px rgba(0, 0, 0, 0.9),
            0 0 25px rgba(255, 215, 0, 0.8);
    }
    to {
        text-shadow:
            2px 2px 4px rgba(0, 0, 0, 0.9),
            0 0 35px rgba(255, 215, 0, 1),
            0 0 45px rgba(255, 215, 0, 0.6);
    }
}

.board-member-title p {
    color: #f8f9fa;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    position: relative;
    z-index: 3;
}

/* ?��??��? */
.board-member-title:hover::before {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.board-member-title:hover::after {
    opacity: 1;
    animation: borderGlow 1.5s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* ?��?式設�?*/
@media (max-width: 768px) {
    .board-member-title {
        padding: 25px 30px;
        margin: 30px 0;
    }

    .board-member-title h4 {
        font-size: 1.5rem;
        margin-bottom: 12px;
        letter-spacing: 1.5px;
    }

    .board-member-title p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .board-member-title {
        padding: 20px 25px;
        margin: 25px 0;
    }

    .board-member-title::before {
        border: none;
    }

    .board-member-title::after {
        border: none;
    }

    .board-member-title h4 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .board-member-title p {
        font-size: 0.95rem;
    }
}
/* ==============
   awards 得�?紀?��??��??? ?��?式設�?

/* 平板尺寸?��? */
@media (max-width: 1024px) {
	.maincontain .container {
		max-width: 90% !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.awards-gallery {
		padding: 30px 0;
	}

	.award-card {
		margin-bottom: 25px;
	}

	.award-photo {
		height: 300px;
	}

	.trophy-showcase {
		margin: 50px 0;
		padding: 40px 15px;
	}

	.trophy-section-title h4 {
		font-size: 2rem;
	}

	.trophy-photo {
		height: 280px;
	}
}

/* 中�??��??��? */
@media (max-width: 768px) {
	.maincontain .container {
		max-width: 95% !important;
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	.witr_section_title_inner h3 {
		font-size: 1.8rem;
		margin-bottom: 25px;
	}

	.awards-gallery {
		padding: 25px 0;
	}

	.award-item {
		margin-bottom: 20px;
	}

	.award-card {
		padding: 15px;
		margin: 0 auto;
		max-width: 280px;
	}

	.award-photo {
		height: 250px;
		margin-bottom: 15px;
	}

	.award-info h5 {
		font-size: 1.1rem;
		margin-bottom: 8px;
	}

	.award-info p {
		font-size: 0.9rem;
		padding: 6px 12px;
	}

	.trophy-showcase {
		margin: 30px 0;
		padding: 30px 10px;
		border-radius: 15px;
	}

	.trophy-section-title {
		margin-bottom: 30px;
	}

	.trophy-section-title h4 {
		font-size: 1.7rem;
		margin-bottom: 10px;
	}

	.trophy-section-title p {
		font-size: 1rem;
	}

	.trophy-item {
		margin-bottom: 25px;
	}

	.trophy-card {
		max-width: 280px;
		padding: 20px 15px 25px 15px;
	}

	.trophy-photo {
		height: 240px;
	}

	.trophy-info h5 {
		font-size: 1.2rem;
	}
}

/* 小螢幕優??*/
@media (max-width: 576px) {
	.maincontain .container {
		max-width: 98% !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
	}

	.witr_section_title_inner h3 {
		font-size: 1.5rem;
		margin-bottom: 20px;
	}

	.awards-gallery {
		padding: 20px 0;
	}

	.award-item {
		margin-bottom: 15px;
	}

	.award-card {
		padding: 12px;
		max-width: 250px;
	}

	.award-photo {
		height: 200px;
		margin-bottom: 12px;
		border-radius: 6px;
	}

	.award-info h5 {
		font-size: 1rem;
		margin-bottom: 6px;
	}

	.award-info p {
		font-size: 0.85rem;
		padding: 5px 10px;
	}

	.trophy-showcase {
		margin: 20px 0;
		padding: 20px 8px;
		border-radius: 12px;
	}

	.trophy-section-title {
		margin-bottom: 20px;
	}

	.trophy-section-title h4 {
		font-size: 1.4rem;
		margin-bottom: 8px;
		line-height: 1.3;
	}

	.trophy-section-title p {
		font-size: 0.9rem;
	}

	.trophy-item {
		margin-bottom: 20px;
	}

	.trophy-card {
		max-width: 250px;
		padding: 15px 10px 20px 10px;
	}

	.trophy-photo {
		height: 200px;
	}

	.trophy-info h5 {
		font-size: 1rem;
	}
}

/* 極�??��??��? */
@media (max-width: 480px) {
	.maincontain .container {
		max-width: 100% !important;
		padding-left: 5px !important;
		padding-right: 5px !important;
	}

	.witr_section_title_inner {
		margin-bottom: 15px;
	}

	.witr_section_title_inner h3 {
		font-size: 1.3rem;
		margin-bottom: 15px;
	}

	.awards-gallery {
		padding: 15px 0;
	}

	.award-item {
		margin-bottom: 12px;
	}

	.award-card {
		padding: 10px;
		max-width: 220px;
		border-radius: 8px;
	}

	.award-photo {
		height: 180px;
		margin-bottom: 10px;
		border-radius: 5px;
	}

	.award-info h5 {
		font-size: 0.9rem;
		margin-bottom: 5px;
	}

	.award-info p {
		font-size: 0.8rem;
		padding: 4px 8px;
		border-radius: 10px;
	}

	.trophy-showcase {
		margin: 15px 0;
		padding: 15px 5px;
		border-radius: 10px;
	}

	.trophy-section-title {
		margin-bottom: 15px;
	}

	.trophy-section-title h4 {
		font-size: 1.2rem;
		margin-bottom: 6px;
		line-height: 1.2;
	}

	.trophy-section-title p {
		font-size: 0.8rem;
	}

	.trophy-item {
		margin-bottom: 15px;
	}

	.trophy-card {
		max-width: 220px;
		padding: 12px 8px 15px 8px;
		border-radius: 12px;
	}

	.trophy-photo {
		height: 160px;
		border-radius: 8px;
	}

	.trophy-info h5 {
		font-size: 0.9rem;
	}
}

/* 超�??��??��? */
@media (max-width: 360px) {
	.maincontain .container {
		padding-left: 3px !important;
		padding-right: 3px !important;
	}

	.witr_section_title_inner h3 {
		font-size: 1.1rem;
	}

	.award-card {
		max-width: 200px;
		padding: 8px;
	}

	.award-photo {
		height: 160px;
	}

	.trophy-card {
		max-width: 200px;
		padding: 10px 6px 12px 6px;
	}

	.trophy-photo {
		height: 140px;
	}

	.trophy-section-title h4 {
		font-size: 1.1rem;
	}
}

/* ===========================================
   ?? awards ?��?展示?�?�新設�?
   =========================================== */

/* ?��?展示主容??*/
.trophy-showcase {
    margin: 60px 0;
    padding: 50px 20px;
    background: linear-gradient(135deg,
        rgba(255, 215, 0, 0.08) 0%,
        rgba(255, 193, 7, 0.12) 50%,
        rgba(255, 165, 0, 0.08) 100%);
    border-radius: 25px;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

/* ?��??�?��?�?*/
.trophy-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.trophy-section-title h4 {
    font-size: 2.2rem;
    color: #B8860B;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.trophy-section-title p {
    font-size: 1.1rem;
    color: #8B7355;
    font-style: italic;
    letter-spacing: 1px;
}

/* ?��??��??�目 */
.trophy-item {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

/* ?��??��??�本�?? */
.trophy-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px 20px 30px 20px;
    text-align: center;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 300px;
    border: 3px solid;
    overflow: hidden;
}

/* 主�??�樣�?- 統�?設�? */
.main-trophy {
    border-color: #0A5CA5;
    background: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
    position: relative;
}
/* ?��?角度標示 */
.trophy-angle {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 5px 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    background: linear-gradient(45deg, #0A5CA5, #1e7bb8);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    letter-spacing: 1px;
}

/* ?��??��?容器 */
.trophy-photo {
    margin: 15px 0 20px 0;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ?��??��? */
.trophy-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* ?��?資�??�??*/
.trophy-info h5 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2c3e50;
}

/* 統�??��?標�?顏色 */
.main-trophy .trophy-info h5 {
    color: #0A5CA5;
    font-weight: 700;
}

/* ?��??�述 */
.trophy-info p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 15px;
    font-style: italic;
}

/* ?��?年份標籤 */
.trophy-year {
    display: inline-block;
    background: linear-gradient(45deg, #495057, #343a40);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}


/* ?��??��??��?式樣式已?��??��??��?完整?��?式設計中 */

/* 專業委員?�特定樣�?*/


.gallery-section-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
}

/* ?��?式調??*/
@media (max-width: 768px) {
    .gallery-section-title {
        font-size: 1.3rem;
        margin: 15px 0;
        padding: 12px 0;
    }
}

@media (max-width: 576px) {
    .gallery-section-title {
        font-size: 1.2rem;
        margin: 12px 0;
        padding: 10px 0;
    }
}
/* ==============================================
    TAMI locations.html
============================================== */
.service_area_map {
    padding: 0 15px 15px 5px;
}

/* ?�員統�?表格�?? */
.member_stats_container {
    padding: 10px;
}

.member_stats_wrapper {
    padding: 25px;
}

.area-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.area-group {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #0A5CA5;
    overflow: hidden;
    transition: all 0.3s ease;
}

.area-title {
    background: linear-gradient(135deg, #0A5CA5 0%, #1e7bb8 100%);
    color: white;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.area-details {
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.area-sub {
    background: #fff;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 18px;
    border: 1px solid #ddd;
}

.service_table_area {
    padding: 15px 15px 15px 5px;
}

.service_table_wrapper {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 20px;
}

.service_info_table {
    margin: 0;
    border: none;
    font-size: 14px;
    width: 100%;
    table-layout: auto;
}

.service_info_table thead {
    background: linear-gradient(135deg, #0A5CA5 0%, #1e7bb8 100%);
    color: white;
}

.service_info_table th {
    border: none;
    padding: 12px 8px;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    font-size: 18px;
    line-height: 1.3;
    white-space: nowrap;
}

/* 禁用表格標�?行�?hover?��? */
.service_info_table thead tr:hover {
    background-color: transparent !important;
}

.service_info_table td {
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 12px 8px;
    vertical-align: middle;
    font-size: 15px;
    line-height: 1.4;
}

/* 第�?欄�??��?辦�??��??�許?��? */
.service_info_table td:first-child {
    white-space: normal;
    padding: 12px 10px;
}

.service_info_table td:first-child strong {
    font-size: 18px;
    font-weight: 700;
    color: #1a365d;
}

.service_info_table td:first-child small {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
}

.service_info_table td:nth-child(2) {
    white-space: nowrap;
    padding: 12px 12px;
    min-width: 160px;
}

/* 第�?欄�?比�?）�??��? */
.service_info_table td:nth-child(3) {
    white-space: nowrap;
    padding: 12px 8px;
    text-align: center;
}

.area-english {
    color: #666;
    font-style: italic;
    font-size: 13px;
}

.contact-info {
    font-size: 14px;
    line-height: 1.5;
}

.contact-info div {
    margin-bottom: 3px;
}

.percentage-cell {
    text-align: center;
    font-weight: 600;
    color: #0A5CA5;
    font-size: 15px;
}

.table-footer {
    background: #f8f9fa;
    font-weight: 600;
}

.table-footer td {
    border-bottom: none;
    padding: 12px;
}

.overseas-office .overseas-header {
    background: linear-gradient(135deg, #FFA31E 0%, #ff8400 100%);
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.overseas-office .overseas-header h5 {
    margin: 0;
    font-size: 16px;
    color: white;
}

.overseas-office .overseas-header i {
    margin-right: 8px;
}

/* ?��?式設�?*/
@media (max-width: 768px) {
    /* ?��??�本??container ?�制 */
    .maincontain .container {
        max-width: 95% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .service_area_map {
        padding: 5px;
    }

    .member_stats_container {
        padding: 10px;
    }

    .member_stats_wrapper {
        padding: 20px;
    }

    .area-list {
        gap: 12px;
    }

    .area-title {
        padding: 10px 15px;
        font-size: 16px;
    }

    .area-details {
        padding: 12px 15px;
        gap: 6px;
    }

    .area-sub {
        padding: 4px 8px;
        font-size: 11px;
    }

    .service_table_area {
        padding: 5px;
    }

    .service_info_table {
        font-size: 12px;
    }

    .service_info_table th,
    .service_info_table td {
        padding: 8px 5px;
        font-size: 12px;
    }

    .service_info_table td:first-child {
        padding: 8px 6px;
    }

    .service_info_table td:nth-child(2) {
        white-space: normal !important;
        word-break: break-all;
        font-size: 11px !important;
        min-width: 100px;
        max-width: 140px;
    }

    .area-english {
        display: block;
        margin-top: 5px;
    }

    .contact-info {
        font-size: 11px !important;
        word-break: break-all;
        line-height: 1.3;
    }
    .contact-info div {
        margin-bottom: 2px;
    }
}

/* 平板?�中等螢幕�??�制 */
@media (min-width: 769px) and (max-width: 1200px) {
    .maincontain .container {
        max-width: 85% !important;
    }
}

/* 大螢幕�??�制 */
@media (min-width: 1201px) {
    .maincontain .container {
        max-width: 80% !important;
    }
}
/* ========================================
    locations TAMI 機械展示輪播 - ?�辰流�??��?�??
   ======================================== */
.stellar-gallery-fullwidth-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 0 40px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: #e8f4f8;
}

.stellar-gallery-realm {
    overflow: hidden;
    width: 100%;
    background: transparent;
    padding: 20px 40px;
    margin: 0;
}

.cosmic-flow-rail {
    display: flex;
    width: fit-content;
    animation: slideLeft 20s linear infinite;
}

/* ?��??�添?��??��??�畫?�度 */
.stellar-gallery-realm:nth-of-type(even) .cosmic-flow-rail {
    animation: slideLeft 25s linear infinite;
}

/* 鼠�??��??�暫?��???*/
.stellar-gallery-realm:hover .cosmic-flow-rail {
    animation-play-state: paused;
}

/* ?��??�左滾�??�畫 */
@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.phoenix-frame-capsule {
    flex: 0 0 auto;
    width: 380px;
    margin-right: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phoenix-frame-capsule:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.aurora-visual-essence {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.phoenix-frame-capsule:hover .aurora-visual-essence {
    transform: scale(1.05);
}

/* ?��?式�?空適??*/
@media (max-width: 768px) {
    .stellar-gallery-fullwidth-section {
        padding: 30px 0;
    }

    .stellar-gallery-realm {
        padding: 15px 20px;
    }

    .phoenix-frame-capsule {
        width: 280px;
        margin-right: 20px;
    }

    .aurora-visual-essence {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .stellar-gallery-fullwidth-section {
        padding: 20px 0;
    }

    .stellar-gallery-realm {
        padding: 10px 15px;
    }

    .phoenix-frame-capsule {
        width: 220px;
        margin-right: 15px;
    }

    .aurora-visual-essence {
        height: 160px;
    }
}


/* ========================================
   awards ?��?線樣�?
   ======================================== */

.section-divider {
    background-color: #e8f4f8;
}

.awards-divider {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #6f42c1, #007bff);
    border-radius: 3px;
    margin: 20px auto;
    width: 80%;
    opacity: 0.8;
}

/* ========================================
   3_ html ?��?工�?
   ======================================== */
/* ========================================
   marketing html 海�?工�?
   ======================================== */
   .page3_grid-container {
    padding: 40px 0;
    position: relative;
}

.page3_grid-item {
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 310px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.page3_grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.page3_grid-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

.page3_grid-item-content {
    padding: 8px 15px;
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
}

.page3_grid-item h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.page3_grid-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.page3_year-title-in-grid {
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    z-index: 100;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin: 0;
}

.page3_main-title {
    text-align: center;
    padding: 60px 0 40px 0;
}

.page3_main-title h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
/* ========================================
   talent & marketing html
   ======================================== */
.committee-section{
    background-color: #e8f4f8;
    padding: 50px 350px;
}

.activity-text p {
    font-size: 22px;
    line-height: 1.9;
}

/* talent.html ?��?式簡約卡?��?左�???*/
@media (max-width: 991px) {
    .committee-members .row,
    .partnership-section .row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .committee-members .row > [class*='col-'],
    .partnership-section .row > [class*='col-'] {
        flex: 0 0 100%;
        max-width: 100%;
        min-width: 0;
        display: block;
        margin-bottom: 12px;
        padding: 0;
    }
    .member-card,
    .partner-logo {
        box-shadow: none !important;
        border-radius: 0 !important;
        background: none !important;
        padding: 10px 0 10px 0 !important;
        margin: 0 0 8px 0 !important;
        align-items: flex-start !important;
        text-align: left !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .member-avatar {
        margin: 0 12px 0 0 !important;
        align-self: flex-start !important;
    }
    .partner-image {
        max-width: 60vw !important;
        max-height: 60px !important;
        border-radius: 0 !important;
        margin-bottom: 4px;
        background: none !important;
    }
    .committee-section {
    background-color: #e8f4f8;
    padding: 50px 10px;
    }
}

/* ?��?式設�?*/
@media (max-width: 768px) {
    .page3_year-title-in-grid {
        font-size: 2rem !important;
        top: 10px !important;
        left: 10px !important;
    }

    .page3_main-title h1 {
        font-size: 2rem !important;
    }

    .activity-text p {
        font-size: 18px;
        line-height: 1.8;
    }

    .page3_main-title {
        padding: 40px 0 20px 0 !important;
    }

    .page3_grid-item h4 {
        font-size: 0.9rem;
    }

    .page3_grid-item {
        height: 360px;
    }
}

@media (max-width: 576px) {
    .page3_year-title-in-grid {
        font-size: 1.8rem !important;
    }

    .page3_main-title h1 {
        font-size: 1.8rem !important;
    }

    .page3_grid-container {
        padding: 20px 0;
    }

    .page3_grid-item {
        height: 340px;
    }    .page3_grid-item-content {
        padding: 10px;
    }
}


/* ========================================
   marketinghtml 外部????�面專用�?? - 海�?行銷?�件下�??�面
   ======================================== */
/* ?��??�容?��? */
.detail-article-text {
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
}

/* ?��?段落 */
.detail-article-text p {
    margin-bottom: 20px;
}

.detail-article-text p:last-child {
    margin-bottom: 0;
}

/* 下�??�目?��? */
.detail-download-margin {
    margin-bottom: 30px;
}

/* 主�??�容?�??*/
.detail-main-content {
    padding: 60px 0;
    min-height: 70vh;
}

/* 主�?題�???*/
.detail-title-section {
    text-align: center;
    margin-bottom: 50px;
}

.detail-title-section h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.detail-title-decoration {
    width: 100px;
    height: 3px;
    background-color: #007bff;
    margin: 0 auto;
}

.detail-file-icon .fa-file-pdf-o {
    color: #dc3545;
}

.detail-file-icon .fa-file-word-o {
    color: #2b579a;
}

/* 說�??��??�??*/
.detail-info-section {
    background: white;
    padding: 30px;
    border-left: 4px solid #007bff;
    margin-bottom: 30px;
}

.detail-info-section h4 {
    color: #333;
    margin-bottom: 15px;
}

.detail-info-section p {
    color: #666;
    line-height: 1.6;
}

/* ?��?式設�?*/
@media (max-width: 768px) {
    .detail-title-section h1 {
        font-size: 1.8rem !important;
    }
}

/* ?��??�?�樣�?*/
.detail-image-section {
    text-align: center;

    margin-bottom: 40px;
}

.detail-image-section img {
    width: 100%;
    max-width: 800px;
    height: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.detail-image-caption {
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

/* 完整?�容?�?�容??*/
.detail-content-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .detail-article-text {
        font-size: 1rem;
    }

    .detail-image-section {
        margin-bottom: 30px;
    }

    .detail-image-section img {
        max-width: 100%;
    }

    .detail-content-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .detail-download-section {
        margin-top: 30px;
        padding-top: 30px;
    }
}

.detail-article-photos {
    margin: 30px 0;
    padding: 0;
}

.detail-article-photos .row {
    margin-bottom: 20px;
}

.detail-photo-item {
    width: 100%;
    height: 300px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.detail-photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.detail-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.detail-photo-item:hover img {
    transform: scale(1.05);
}

/* ?��?式設�?*/
@media (max-width: 768px) {
    .detail-photo-item {
        height: 250px;
        margin-bottom: 15px;
    }

    .detail-article-photos .row {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .detail-photo-item {
        height: 200px;
        margin-bottom: 10px;
    }

    .detail-article-photos .row {
        margin-bottom: 10px;
    }
}

.detail-download-item-simple {
    background: #f8f9fa;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}

.detail-download-item-simple .detail-file-icon {
    color: #0066cc;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.detail-file-title {
    flex: 1;
}

.detail-file-title p {
    color: #333;
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* ?��?式設�?*/
@media (max-width: 768px) {
    .detail-download-item-simple {
        padding: 15px;
        gap: 15px;
    }

    .detail-download-item-simple .detail-file-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .detail-file-title p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .detail-download-item-simple {
        gap: 12px;
    }

    .detail-download-item-simple .detail-file-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .detail-file-title p {
        font-size: 0.9rem;
    }
}

.detail-table-section {
    margin-top: 40px;
    padding: 30px;
}

.contribution-award-table {
    margin-bottom: 0;
    font-size: 14px;
    border: 2px solid #28a745;
}

.contribution-award-table thead th {
    background: #28a745 !important;
    color: white;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #28a745;
    padding: 15px 10px;
    font-size: 14px;
}

.contribution-award-table tbody td {
    padding: 12px 10px;
    vertical-align: middle;
    border: 1px solid #dee2e6;
    line-height: 1.5;
}

.contribution-award-table tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
}

.contribution-award-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.contribution-award-table tbody tr:hover {
    background-color: #e8f5e8;
}

.contribution-award-table tbody td:first-child {
    text-align: center;
    font-weight: 600;
    width: 60px;
}

.contribution-award-table tbody td:nth-child(2) {
    width: 180px;
    font-weight: 500;
}

.contribution-award-table tbody td:nth-child(3) {
    width: 100px;
    text-align: center;
    font-weight: 500;
}

.contribution-award-table tbody td:nth-child(4) {
    width: 120px;
    text-align: center;
}

.contribution-award-table tbody td:nth-child(5) {
    width: 200px;
}

.contribution-award-table tbody td:last-child {
    min-width: 300px;
}

/* 修正rowspan?��??��??�直對�??��? */
.contribution-award-table tbody td[rowspan] {
    vertical-align: middle !important;
}

.contribution-award-table tbody tr td {
    vertical-align: middle !important;
}

/* 確�??�?�表?��??�樣式�???*/
.contribution-award-table tbody tr td {
    vertical-align: middle !important;
    text-align: left;
    padding: 12px 10px;
}

/* 第�?欄�?編�?欄�?保�?居中 */
.contribution-award-table tbody td:first-child {
    text-align: center !important;
}

/* 編�?欄�?保�?居中 */
.contribution-award-table tbody tr:nth-child(3) td:first-child {
    text-align: center !important;
}

.contribution-award-table tbody tr:nth-child(3) td:nth-child(3),
.contribution-award-table tbody tr:nth-child(3) td:nth-child(4),
.contribution-award-table tbody tr:nth-child(3) td:nth-child(5),
.contribution-award-table tbody tr:nth-child(4) td:nth-child(1),
.contribution-award-table tbody tr:nth-child(4) td:nth-child(2),
.contribution-award-table tbody tr:nth-child(4) td:nth-child(3) {
    vertical-align: middle !important;
    padding: 12px 10px;
    text-align: left;
}

/* 強制?�?�表?�儲存格?��?�?*/
.contribution-award-table td {
    vertical-align: middle !important;
}

/* ?��?式設�?*/
@media (max-width: 768px) {
    .detail-table-section {
        padding: 15px;
        margin-top: 30px;
    }

    .contribution-award-table {
        font-size: 12px;
    }

    .contribution-award-table thead th {
        padding: 10px 8px;
        font-size: 12px;
    }

    .contribution-award-table tbody td {
        padding: 8px 6px;
    }
}

@media (max-width: 576px) {
    .contribution-award-table {
        font-size: 11px;
    }

    .contribution-award-table thead th {
        padding: 8px 5px;
        font-size: 11px;
    }

    .contribution-award-table tbody td {
        padding: 6px 4px;
    }
}

/* ===== ===== */

.page3_body-section {
    padding: 0px;
}

.page3_year-title-styled {
    color: #2c5aa0;
    padding: 0;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 20px 0 30px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

.page3_year-title-styled::before,
.page3_year-title-styled::after {
    content: '';
    height: 2px;
    background: #2c5aa0;
    flex: 1;
}

.page3_year-title-styled span {
    display: inline-block;
}

/* ===== ===== */
@media (max-width: 768px) {
    .page3_year-title-styled {
        font-size: 2.2rem;
        gap: 12px;
    }

    .page3_body-section {
        padding: 15px;
    }
}

/* ========================================
   tps-platform.html
   ======================================== */
   /* TPS Platform iframes */
#tpsPage1,
#tpsPage2,
#tpsPage3 {
    width: 100%;
    border: none;
    display: none;
    min-height: 600px;
    padding: 0;
    margin: 0;
}

#tpsAllContent {
    display: none;
    margin: 0;
    padding: 0;
}

#tpsAllContent.show {
    display: block;
}

#tpsPage1.show,
#tpsPage2.show,
#tpsPage3.show {
    display: block;
}
/* ===== TPS補助計畫主�?容器 ===== */
.tps-program-container {
    max-width: 100%;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===== TPS標�??�??===== */
.tps-header-section {
    background: #4596e6;
    color: #2d4d3a;
    padding: 20px 25px;
    margin: 0;
}

.tps-header-section h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

/* ===== TPS?�容?�??===== */
.tps-content-section {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: none;
    padding: 25px 30px;
}

/* ===== TPS?�件?�表 ===== */
.tps-document-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: item;
}

.tps-document-list li {
    margin-bottom: 18px;
    padding-left: 0;
    position: relative;
    counter-increment: item;
    line-height: 1.6;
}

.tps-document-list li:last-child {
    margin-bottom: 0;
}

.tps-document-list li::before {
    content: counter(item) ". ";
    color: #666;
    font-weight: 500;
    margin-right: 8px;
}

.tps-document-list li a {
    color: #333;
    text-decoration: underline;
    font-size: 1rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.tps-document-list li a:hover {
    color: #2c5aa0;
    text-decoration: underline;
}
/* TPS?�容?�塊大字�? */
.tps-content-large {
    font-size: 1.15rem;
}

/* TPS?�容?�塊�?�?*/
.tps-content-title {
    font-weight: 700;
}

/* TPS?�絡人�?�?*/
.tps-contact-title {
    font-weight: 700;
    margin-top: 24px;
}
.tps-link-website {
    color: #000;
    border-bottom: 1px solid #000;
    transition: all 0.3s ease;
    display: inline-block;
    padding-bottom: 0.5px;
}

.tps-link-website:hover {
    color: #0066cc;
    border-bottom-color: #0066cc;
}
/* ===== TPS?��?式設�?===== */
@media (max-width: 768px) {
    .tps-program-container {
        margin: 15px 0;
    }

    .tps-header-section {
        padding: 18px 20px;
    }

    .tps-header-section h3 {
        font-size: 1.1rem;
    }

    .tps-content-section {
        padding: 20px 25px;
    }

    .tps-document-list li {
        margin-bottom: 15px;
    }

    .tps-document-list li a {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .tps-header-section {
        padding: 15px 18px;
    }

    .tps-header-section h3 {
        font-size: 1rem;
    }

    .tps-content-section {
        padding: 18px 20px;
    }

    .tps-document-list li a {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}
.tps-btn-vertical {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
    padding: 50px 0;
    margin-bottom: 0; /* 不�??�這個�?footer */
    max-width: 100%;
}

/* ?��?式�??��?屏�?上�?行显�?个�???*/
@media (max-width: 767px) {
    .tps-btn-vertical {
        gap: 16px;
    }
    .tps-btn-vertical .btn {
        width: calc(50% - 8px);
        min-width: 140px;
        height: 140px;
        font-size: 0.95rem;
    }
}

/* ?��?式�??�中等�?幕�?每�??�示2个�???*/
@media (min-width: 768px) and (max-width: 991px) {
    .tps-btn-vertical {
        gap: 32px;
    }
    .tps-btn-vertical .btn {
        width: calc(50% - 16px);
        min-width: 200px;
    }
}

/* ?��?式�??�大屏�?上�?行显�?个�???*/
@media (min-width: 992px) and (max-width: 1399px) {
    .tps-btn-vertical {
        gap: 40px;
    }
    .tps-btn-vertical .btn {
        width: calc(50% - 20px);
        max-width: 280px;
    }
}

/* ?��?式�??��?大�?幕�?每�??�示2个�???*/
@media (min-width: 1400px) {
    .tps-btn-vertical {
        gap: 48px;
    }
    .tps-btn-vertical .btn {
        width: 240px;
    }
}
.tps-btn-vertical .btn:hover {
    background: #7aacdf;
}
.tps-btn-vertical .btn:active {
    background: #5a99c9;
    box-shadow: 0 2px 8px #b3d1d1;
    transform: scale(0.97);
}
.tps-btn-vertical .btn {
    height: 160px;
    margin: 0;
    background: #4596e6;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 24px;
    box-shadow: 0 8px 40px 0 #eaf2fb, 0 2px 12px #b3d1d1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
    cursor: pointer;
    padding: 0 16px;
    white-space: normal;
    word-break: break-word;
}

/* TPS 第�?顆�??��??��?上�??��? */
#btnPage2 {
    flex-direction: column;
    text-align: center;
}
.tps-btn-vertical .btn:last-child {
    margin-bottom: 16px;
}

/* 讓內容�?塊�?足�?下方空白，footer永�??��???*/
#page1Content, #page2Content {
    margin-bottom: 250px;
}

.tps-header-section.tps-custom {
  background: #7fb3b3;
  color: #222;
  text-align: center;
}
.tps-header-section.tps-custom h2 {
  font-weight: 700;
}
.tps-content-section.tps-custom {
  font-size: 1.15rem;
}
.tps-contact-title {
  margin-top: 24px;
  font-weight: 700;
}
/* ===== TPS步�?容器 - 模仿?��?�?? ===== */
.tps-step-container {
    max-width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tps-step-header {
    background: #6fa8dc;
    color: white;
    padding: 15px 25px;
    margin: 0;
}

.tps-step-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.tps-step-content {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: none;
    padding: 20px 25px;
}

.tps-step-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
    font-size: 1rem;
}

.tps-step-content p:last-child {
    margin-bottom: 0;
}

.step-document-list {
    margin: 15px 0 20px 0;
    padding-left: 20px;
}

.step-document-list li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #333;
}

.mail-contact-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.mail-contact-section p {
    margin-bottom: 8px;
    color: #333;
}

.mail-contact-section a {
    color: #0d6efd;
    text-decoration: underline;
}

.mail-contact-section a:hover {
    color: #0a58ca;
}

/* ?��?式設�?*/
@media (max-width: 768px) {
    .tps-step-header {
        padding: 12px 20px;
    }

    .tps-step-header h4 {
        font-size: 1rem;
    }

    .tps-step-content {
        padding: 18px 20px;
    }

    .tps-step-content p {
        font-size: 0.95rem;
    }

    .step-document-list {
        padding-left: 18px;
    }

    .step-document-list li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .tps-step-header {
        padding: 10px 15px;
    }

    .tps-step-content {
        padding: 15px 18px;
    }

    .mail-contact-section p {
        font-size: 0.9rem;
    }
}

/* ===== lean-diagnosis  ===== */

.article-content .content-wrapper {
	border: 1px solid #e9ecef;
	transition: all 0.3s ease;
}

.article-content .content-wrapper:hover {
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}

.article-content .article-text {
	color: #555;
	line-height: 1.8;
	font-size: 1rem;
}

.article-content .lead {
	font-size: 1.15rem;
	font-weight: 500;
	color: #2c3e50;
	margin-bottom: 20px;
}

.highlight-box {
	border-left: 4px solid #007bff;
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.highlight-box h6 {
	color: #2c3e50;
	font-weight: 600;
	margin-bottom: 10px;
}

.highlight-box ul {
	padding-left: 20px;
}

.highlight-box li {
	margin-bottom: 5px;
	color: #495057;
}

/* PDF?�目�?? - 完整寬度?�本 */
.pdf-item-link {
	display: block;
	text-decoration: none;
	color: inherit;
	margin-bottom: 20px;
}

.pdf-item-link:hover {
	text-decoration: none;
	color: inherit;
}

.pdf-item-full {
	display: flex;
	align-items: center;
	padding: 25px;
	border: 1px solid #e9ecef;
	border-radius: 12px;
	background: #ffffff;
	transition: all 0.3s ease;
	box-shadow: 0 3px 10px rgba(0,0,0,0.08);
	cursor: pointer;
	height: 140px;
}

.pdf-item-link:hover .pdf-item-full {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.15);
	border-color: #007bff;
}

.pdf-item-full .pdf-icon {
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, #dc3545, #c82333);
	color: white;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	margin-right: 25px;
	flex-shrink: 0;
	box-shadow: 0 6px 20px rgba(220,53,69,0.3);
}

.pdf-item-full .pdf-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.pdf-item-full .pdf-content h5 {
	color: #2c3e50;
	font-weight: 600;
	margin-bottom: 10px;
	font-size: 1.2rem;
	line-height: 1.3;
}

.pdf-item-full .pdf-content p {
	color: #6c757d;
	font-size: 1rem;
	margin-bottom: 0;
	line-height: 1.5;
}

/* ?��?式設�?*/
@media (max-width: 768px) {
	.article-content .content-wrapper {
		padding: 20px !important;
		margin-bottom: 30px;
	}

	.article-content .lead {
		font-size: 1.1rem;
	}

	.pdf-item-full {
		flex-direction: column;
		text-align: center;
		height: auto;
		padding: 20px;
	}

	.pdf-item-full .pdf-icon {
		margin: 0 auto 15px auto;
	}

	.highlight-box {
		margin-top: 20px;
		padding: 15px;
	}
}

/* ===== lean-reports  ===== */
.pdf-vertical-list .pdf-item-vertical {
	display: flex;
    align-items: center;
	padding: 20px;
	border: 1px solid #e9ecef;
	border-radius: 10px;
	background: #ffffff;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	text-decoration: none;
	color: inherit;
}

.pdf-vertical-list .pdf-item-vertical:hover {
	text-decoration: none;
	color: inherit;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
	border-color: #007bff;
}

.pdf-vertical-list .pdf-icon {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #dc3545, #c82333);
	color: white;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-right: 20px;
	flex-shrink: 0;
	box-shadow: 0 4px 15px rgba(220,53,69,0.3);
}

.pdf-vertical-list .pdf-content {
	flex: 1;
}

.pdf-vertical-list .pdf-content h5 {
	color: #2c3e50;
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 1.1rem;
	line-height: 1.3;
}

.pdf-vertical-list .pdf-content p {
	color: #6c757d;
	font-size: 0.9rem;
	margin-bottom: 0;
	line-height: 1.5;
}

/* ????��?�?? */
.link-list .link-item-card {
	border: 1px solid #e9ecef;
	border-radius: 10px;
	background: #ffffff;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.link-list .link-item-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
	border-color: #007bff;
}

.link-list .link-header {
	display: flex;
	align-items: flex-start;
	padding: 25px;
}

.link-list .link-icon {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #007bff, #0056b3);
	color: white;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-right: 20px;
	flex-shrink: 0;
	box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.link-list .link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}.link-list .link-content h5 {
	color: #2c3e50;
	font-weight: 600;
	margin: 0 0 10px 0;
	font-size: 1.1rem;
	line-height: 1.3;
}

.link-list .link-content p {
	color: #6c757d;
	font-size: 0.9rem;
	margin: 0 0 15px 0;
	line-height: 1.5;
}

.link-list .link-content .btn {
	font-size: 0.85rem;
	padding: 6px 15px;
	border-radius: 20px;
	transition: all 0.3s ease;
}

.link-list .link-content .btn:hover {
	transform: scale(1.05);
}

/* ?��??��????�?? - ?�個�?塊可點�? */
.link-news-list .news-item-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.link-news-list .news-item-link:hover {
	text-decoration: none;
	color: inherit;
}

.link-news-list .news-item {
	border: 1px solid #e9ecef;
	border-radius: 10px;
	background: #ffffff;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.link-news-list .news-item-link:hover .news-item {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
	border-color: #007bff;
}

.link-news-list .news-header {
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
	padding: 15px 20px;
	border-bottom: 1px solid #dee2e6;
	display: flex;
	align-items: center;
}

.link-news-list .news-number {
	background: linear-gradient(135deg, #007bff, #0056b3);
	color: white;
	padding: 5px 12px;
	border-radius: 15px;
	font-size: 0.8rem;
	font-weight: 600;
	margin-right: 15px;
	box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.link-news-list .news-header h5 {
	margin: 0;
	color: #2c3e50;
	font-weight: 600;
	font-size: 1.1rem;
}

.link-news-list .news-content {
	padding: 20px;
}

.link-news-list .news-content p {
	color: #6c757d;
	margin-bottom: 15px;
	line-height: 1.6;
}

.link-news-list .news-meta {
	display: flex;
	align-items: center;
}

.link-news-list .news-date {
	color: #868e96;
	font-size: 0.85rem;
	display: flex;
	align-items: center;
}

/* ????�直?�表�?? - ?�PDF?��?布�? */
.link-vertical-list .link-item-vertical {
	display: flex;
	align-items: center;
	padding: 20px;
	border: 1px solid #e9ecef;
	border-radius: 10px;
	background: #ffffff;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	text-decoration: none;
	color: inherit;
}

.link-vertical-list .link-item-vertical:hover {
	text-decoration: none;
	color: inherit;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
	border-color: #007bff;
}

.link-vertical-list .link-number-icon {
	width: 80px;
	height: 60px;
	background: linear-gradient(135deg, #4a90e2, #357abd);
	color: white;
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 600;
	margin-right: 20px;
	flex-shrink: 0;
	box-shadow: 0 4px 15px rgba(74,144,226,0.3);
	text-align: center;
	line-height: 1.4;
}

.link-vertical-list .link-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.link-vertical-list .link-content h5 {
	color: #2c3e50;
	font-weight: 600;
	margin: 0 0 0px 0;
	font-size: 1.1rem;
	line-height: 1.3;
}

.link-vertical-list .link-content p {
	color: #6c757d;
	font-size: 0.9rem;
	margin-bottom: 0;
	line-height: 1.5;
}

/* ?��?式設�?*/
@media (max-width: 768px) {
	.pdf-vertical-list .pdf-item-vertical,
	.link-list .link-header {
		flex-direction: column;
		text-align: center;
	}

	.pdf-vertical-list .pdf-icon,
	.link-list .link-icon {
		margin: 0 auto 15px auto;
	}

	.pdf-vertical-list .pdf-item-vertical,
	.link-list .link-item-card,
	.link-news-list .news-item-link,
	.link-vertical-list .link-item-vertical {
		flex-direction: column;
		text-align: center;
		margin-bottom: 15px;
	}

	.pdf-vertical-list .pdf-icon,
	.link-vertical-list .link-number-icon {
		margin: 0 auto 15px auto;
	}

	.link-news-list .news-header {
		flex-direction: column;
		text-align: center;
	}

	.link-news-list .news-number {
		margin: 0 auto 10px auto;
	}
}

/* ========================================
   3_5 html 機械業淨?�永續推?�平???�知
   ======================================== */
.card3_5 {
  border: 1px solid rgba(0,0,0,.125);
  border-radius: 0.25rem;
  background-color: #fff;
  margin-bottom: 10px;
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
}
.event-label .event-title  {
  word-break: break-word;
  white-space: normal;
  font-size: 1.8rem;
  font-weight: bold;
  display: block;
}

@media (max-width: 768px) {
  .event-label .event-title {
    font-size: 1rem;
    line-height: 1.5;
    padding-right: 0.5rem;
  }
  .event-title button {
    white-space: normal !important;
    word-break: break-word !important;
    text-align: left;
    width: 100%;
    display: block;
  }
}

/* ========================================
    4_ html TAMI ?�業資�?
   ======================================== */
.container4 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px;
  box-sizing: border-box;
}

@media (max-width: 1400px) {
  .container4 {
    max-width: 1000px;
    padding: 36px 16px;
  }
}

@media (max-width: 991px) {
  .container4 {
    max-width: 98vw;
    padding: 24px 8px;
  }
}

@media (max-width: 576px) {
  .container4 {
    max-width: 100vw;
    padding: 12px 2px;
  }
}
/* ========================================
    global-production-sales html TAMI ?��??�銷資�?
   ======================================== */
.data-section-title {
    background: linear-gradient(90deg, #0A5CA5 50%, #e6edf0 100%);
    color:#ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 6px 10px;
    margin-bottom: 16px;
    border-radius: 4px 4px 0 0;
    letter-spacing: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.external-links {
    list-style: none;
    padding: 0;
    margin: 0 0 0px 0;
    background: #fff;
    border-radius: 0 0 4px 4px;
    letter-spacing: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.external-links li {
    border-bottom: 1px solid #e6edf0;
    margin-bottom: 0;
    padding: 5px 10px;
    font-size: 1.15rem;
    transition: background 0.2s;
}

.external-links li:last-child {
  border-bottom: none;
}

.external-links a {
    color: #222;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all;
    display: block;
}

.external-links a:hover {
    color: #007bff;
    text-decoration: underline;
    background: #f0f6fa;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .data-section-title {
        font-size: 1.05rem;
        padding: 10px 6px;
    }
    .external-links li,
    .external-links a {
        font-size: 0.95rem;
        padding: 7px 6px 3px 6px;
    }
}

/* ========================================
    machinery-info html TAMI
   ======================================== */
.tami-issue-table thead th {
    background: linear-gradient(90deg, #3b58ff 0%, #7bccff 100%) !important;
    color: #fff !important;
    font-weight: bold;
    font-size: 1.5rem;
    border: none;
}

/* Override global tr:hover so only the hovered cell is highlighted in this table. */
.tami-issue-table tbody tr:hover {
    background-color: transparent !important;
}

.tami-issue-table tbody td:hover {
    background-color: #e7e7e7;
}

.tami-magazine-section {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    margin: 20px auto 0 auto;
}

.magazine-latest-badge-above {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #3b58ff 0%, #7bccff 100%);
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.18em 0.7em;
    box-shadow: 0 2px 8px rgba(255,59,59,0.15);
    letter-spacing: 0.12em;
    border: 2px solid #fff;
    margin: 0 auto 12px auto;
    text-align: center;
    z-index: 1;
}

@media (max-width: 991px) {
    .magazine-latest-badge-above {
        font-size: 0.95rem;
        padding: 0.18em 0.9em;
    }
}
.tami-magazine-left-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 340px;
    min-width: 320px;
    max-width: 420px;
}
.tami-magazine-right-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 320px;
    height: 420px;
    position: relative;
    margin-right: 6vw;
}
.tami-magazine-right-frame {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
    border: none;
    flex: 1;
}
.tami-magazine-spacer {
    flex: 1;
}
/* ?��?封面?��?縮�? */
.tami-magazine-left-img {
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.tami-magazine-hr {
    margin: 0 auto;
    }
.tami-magazine-btnimg {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: 0.5em;
}
.tami-magazine-btn-img {
    max-width: 200px;
    width: 100%;
    height: auto;
}
.tami-issue-table-wrap {
  position: relative;
  margin-top: 20px;
    margin-bottom: 56px;
}
.tami-magazine-left-outer {
  position: static;
  width: 220px;
  text-align: center;
  margin: 0 auto;
  pointer-events: auto;
}
/* 手機版設定 */
@media (max-width: 767.98px) {
    .tami-magazine-section {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }
    .tami-magazine-left-outer {
        width: auto;
        margin: 0 auto;
    }
    .tami-magazine-left-frame {
        width: 100% !important;
        margin: 0 auto !important;
        display: block !important;
        text-align: center !important;
    }
    .tami-magazine-left-img {
        margin: 0 auto !important;
        display: block !important;
    }
}
            .tami-issue-order-row {
                display: flex;
                flex-wrap: wrap;
                margin: 0;
            }

            .tami-issue-year-col {
                width: 25%;
                max-width: 25%;
                flex: 0 0 25%;
                padding: 0;
            }

            .tami-issue-year-col .tami-issue-table {
                width: 100%;
                table-layout: fixed;
                margin-bottom: 0;
            }

            .tami-issue-year-col + .tami-issue-year-col {
                margin-left: -1px;
            }

            @media (max-width: 991.98px) {
                .tami-issue-order-row {
                    row-gap: 16px;
                }

                .tami-issue-year-col {
                    width: 50%;
                    max-width: 50%;
                    flex: 0 0 50%;
                }

                .tami-issue-year-col + .tami-issue-year-col {
                    margin-left: 0;
                }
            }

            @media (max-width: 575.98px) {
                .tami-issue-table-wrap {
                    margin-bottom: 40px;
                }

                .tami-issue-order-row {
                    row-gap: 12px;
                }

                .tami-issue-year-col {
                    width: 100%;
                    max-width: 100%;
                    flex: 0 0 100%;
                }

                .tami-issue-year-col .tami-issue-table th,
                .tami-issue-year-col .tami-issue-table td {
                    padding: 0.65rem 0.5rem;
                }

                .tami-issue-year-col .tami-issue-table td a {
                    word-break: break-word;
                }
            }
/* ========================================
    machinery-info_1 html
   ======================================== */
.tami-subscribe-section {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 28px 18px 22px 18px;
  margin-bottom: 28px;
  max-width: 820px;
}
.tami-subscribe-section h3 {
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 3px solid #1a1a1a;
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 18px;
}
.tami-subscribe-section .desc {
  font-size: 1.05rem;
  color: #222;
  margin-bottom: 22px;
  line-height: 1.7;
}
.tami-subscribe-form {
  display: block;
}
.tami-subscribe-form .form-group {
  width: 100%;
  margin-bottom: 12px;
}
.tami-subscribe-form label {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 4px;
  display: block;
}
.tami-subscribe-form input[type="text"],
.tami-subscribe-form input[type="email"] {
  width: 100%;
  padding: 8px 10px;
  border: 1.2px solid #bbb;
  border-radius: 4px;
  font-size: 1rem;
  transition: border 0.2s;
}
.tami-subscribe-form input[type="text"]:focus,
.tami-subscribe-form input[type="email"]:focus {
  border: 1.2px solid #e60012;
  outline: none;
}
.tami-captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  margin-top: 8px;
}
.tami-captcha-row > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  vertical-align: middle;
}
.tami-subscribe-form button[type="submit"] {
  display: block;
  margin: 24px 0 0 0;
}
.tami-captcha-row label {
  margin-bottom: 0;
  font-size: 0.98rem;
}
.tami-captcha-img {
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #f7f7f7;
  padding: 1px 5px;
  margin-right: 4px;
}
.tami-captcha-renew {
  color: #0033cc;
  font-size: 0.98rem;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 4px;
}
.tami-subscribe-form button[type="submit"] {
  background: linear-gradient(180deg, #e60012 0%, #c8000a 100%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 8px 32px;
  margin-top: 8px;
  letter-spacing: 2px;
  box-shadow: 0 2px 8px rgba(230,0,18,0.08);
  transition: background 0.2s;
}
.tami-subscribe-form button[type="submit"]:hover {
  background: linear-gradient(180deg, #c8000a 0%, #e60012 100%);
}
.tami-contact-box {
  background: #f6f6f6;
  border-radius: 8px;
  padding: 18px 12px;
  margin-left: 18px;
  min-width: 220px;
  max-width: 300px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.tami-contact-box .title {
  color: #d6001c;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}
.tami-contact-box .info {
  font-size: 1.02rem;
  color: #222;
  margin-bottom: 6px;
  font-weight: bold;
}
.tami-contact-box .value {
  font-size: 1.02rem;
  color: #222;
  margin-bottom: 10px;
  font-weight: normal;
}
@media (max-width: 991px) {
  .tami-subscribe-section, .tami-contact-box {
    margin-left: 0;
    margin-right: 0;
    padding: 14px 4px;
  }
  .tami-contact-box {
    min-width: unset;
    max-width: unset;
    margin-top: 18px;
  }
}
@media (max-width: 767px) {
  .tami-subscribe-section {
    padding: 10px 1vw;
  }
  .tami-contact-box {
    padding: 10px 1vw;
  }
  .tami-subscribe-form button[type="submit"] {
    width: 100%;
    padding: 8px 0;
  }
}
/* 桌面?�顯示右?��?訊�??��?/平板?��? */
.tami-magazine-right-outer {
    display: block;
}
@media (max-width: 991px) {
    .tami-magazine-right-outer {
        display: none !important;
    }
}
/* ?��?式�??�電子書?��?：�??��?/平板顯示，�??�隱??*/
.tami-subscribe-btn {
  display: none !important;
}
@media (max-width: 767.98px) {
    .tami-subscribe-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin: 28px 0 0 0;
        width: 100%;
        z-index: 10;
    }
}

.tami-subscribe-btn a {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #e53935 0%, #ff7043 100%);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 32px;
  padding: 14px 36px 14px 26px;
  box-shadow: 0 4px 16px rgba(229,57,53,0.12);
  text-decoration: none;
  position: relative;
  border: none;
  letter-spacing: 1px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  outline: none;
}
.tami-subscribe-btn a:hover, .tami-subscribe-btn a:focus {
  background: linear-gradient(90deg, #d32f2f 0%, #ff7043 100%);
  box-shadow: 0 6px 20px rgba(229,57,53,0.18);
  transform: translateY(-2px) scale(1.03);
}
.tami-subscribe-btn .subscribe-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-left: 16px;
  vertical-align: middle;
  filter: drop-shadow(0 2px 4px rgba(229,57,53,0.12));
}
@media (max-width: 768px) {
  .tami-subscribe-btn a {
    font-size: 1.05rem;
    padding: 10px 18px 10px 14px;
    border-radius: 24px;
  }
  .tami-subscribe-btn .subscribe-icon {
    width: 22px;
    height: 22px;
    margin-left: 8px;
  }
}

/* ========================================
    industry-whitepaper html
   ======================================== */
.whitepaper-image-border {
  border: 0.5px solid #e0e0e0;
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
    border-radius: 4px;
    overflow: hidden;
}

.whitepaper-image-border img {
  display: block;
  width: 100%;
  height: auto;
    border-radius: 4px;
}

.tami-award-years .whitepaper-image-border + .tami-award-btn {
    border-radius: 4px;
}
/* ========================================
    other-publications html TAMI ?��??�價?�表專用�??
   ======================================== */
.tami-table-title {
  color: #1890ff;
  font-weight: bold;
  text-align: center;
  margin: 1.5rem 0;
}

.tami-table {
  background: #fafbfe;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1rem;
}

.tami-table th,
.tami-table td {
  border: 1px solid #d9e8f5;
  padding: 0.75rem 0.5rem;
  text-align: center;
  vertical-align: middle;
}

.tami-table thead th {
  background: #f0f5fb;
  color: #1890ff;
  font-weight: bold;
}

.tami-table tbody tr:nth-child(odd) {
  background: #f7fafc;
}

.tami-table a {
  color: #1890ff;
  text-decoration: underline;
}

/* ?��??�卡?�樣�?*/
.publications-gallery {
  margin-top: 2rem;
}

/* Row 對�??��?：置中�???*/
.publications-gallery .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: -15px;
    margin-left: -15px;
}

/* 桌面?��??��???*/
.publications-gallery .col-lg-3 {
    max-width: 20%;
    flex: 0 0 20%;
    display: flex;
    align-items: stretch;
}

.publication-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(24, 144, 255, 0.2);
}

.publication-image {
    width: 100%;
    height: 280px;
  overflow: hidden;
  border: 1px solid #cfcfcf;

  display: flex;
  align-items: center;
  justify-content: center;
}

.publication-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


.publication-info {
  padding: 1rem 1rem 0.25rem 1rem;
    flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.publication-info .price-info:first-of-type {
    margin-top: auto;
}

.publication-info h5 {
  color: #1890ff;
  font-weight: bold;
  margin: 0 0 0.5rem 0;
    font-size: 1rem;
    line-height: 1.35;
    min-height: 6.5em;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.publication-info h5 .english-title {
  display: block;
    font-size: 0.85rem;
  color: #666;
  font-weight: normal;
  margin-top: 0.25rem;
    line-height: 1.25;
    word-break: break-word;
}

.publication-info h5 a {
  color: #1890ff;
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
}


.publication-info h5 a:hover {
  text-decoration: underline;
}

.price-info {
    font-size: 0.8rem;
  margin: 0.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-info .price {
  color: #333;
}

.price-info .member-price {
  color: #ff6b6b;
  font-weight: bold;
}

.publication-info .frequency {
    font-size: 0.85rem;
  color: #666;
    margin: 0.25rem 0 0 0;
}
@media (max-width: 1200px) {
    .publications-gallery .col-md-6 {
        max-width: 50%;
        flex: 0 0 50%;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: stretch;
    }

    .publication-info h5 {
        font-size: 2rem;
        min-height: 9.5em;
    }

    .publication-info {
        margin-top: auto;
    }

    .publication-card {
        min-height: 720px;
    }

    .publication-info h5 .english-title {
        font-size: 1.5rem;
    }

    .price-info {
        font-size: 1.5rem;
    }

    .publication-info .frequency {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .publications-gallery .col-sm-12 {
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: stretch;
    }

    .publication-info h5 {
    font-size: 1rem;
    line-height: 1.3;
    min-height: auto;
  }

    .publication-info{
        margin-top: auto;
    }

    .publication-card {
    min-height: auto;
    height: auto;
  }


    .publication-info h5 .english-title {
        font-size: 1.5rem;
    }

    .price-info {
    font-size: 0.9rem;
  }

    .publication-info .frequency {
        font-size: 1.5rem;
    }
}
@media (max-width: 480px) {
    .publication-info h5 {
        font-size: 2rem;
}
}
/* ?��?式設計�??��??�顯示滾輪�? */
@media (max-width: 768px) {
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .table-responsive::-webkit-scrollbar {
    height: 8px;
  }

  .table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }

  .table-responsive::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 10px;
  }

  .table-responsive::-webkit-scrollbar-thumb:hover {
    background: #666;
  }
}

/* 購買?��?說�??��?- FAQ */
.tami-buy-info {
  max-width: 1200px;
  margin: 0 auto 2em auto;
  padding: 0 20px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-size: 1.08em;
  line-height: 1.8;
}

.tami-buy-info h2 {
  color: #0A5CA5;
  font-weight: bold;
  margin-bottom: 2em;
  font-size: 1.4em;
  text-align: center;
  padding-bottom: 1.2em;
  border-bottom: 3px solid #0A5CA5;
}

/* FAQ ?�容?��?*/
.faq-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2em;
  margin-bottom: 2.5em;
}

/* FAQ ?��? */
.faq-item {
  padding: 1.5em;
  background: linear-gradient(135deg, #f8fcff 0%, #f0f8ff 100%);
  border-left: 4px solid #0056b3;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(230, 0, 18, 0.15);
  transform: translateY(-2px);
}

.faq-item h5 {
  color: #e60012;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 0.8em;
  display: flex;
  align-items: center;
}

.faq-item h5::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #e60012;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  margin-right: 0.8em;
  font-size: 0.9em;
}

.faq-item p {
  color: #333;
  margin: 0;
  padding-left: 36px;
  position: relative;
}

.faq-item p::before {
  content: "A";
  position: absolute;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #0056b3;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.9em;
}

/* ?�絡?��??��?*/
.contact-info {
  padding: 2.5em;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
  border-radius: 8px;
  border: 2px solid #0056b3;
  box-shadow: 0 2px 8px rgba(0, 86, 179, 0.12);
  text-align: center;
}

.contact-info h5 {
  color: #0056b3;
  font-weight: bold;
  font-size: 1.5em;
  margin-bottom: 1.5em;
  border-bottom: 2px solid #0056b3;
  padding-bottom: 1em;
}

.contact-info p {
  color: #333;
  margin: 0;
  line-height: 2;
  font-size: 1.2em;
}

.contact-info a {
  color: #0056b3;
  text-decoration: none;
  font-weight: bold;
  word-break: break-all;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #e60012;
  text-decoration: underline;
}

/* taipeiplas-award html TAMI ?��??�價?�表專用�?? */
.tami-award-desc {
  font-size: 1.3em;
  text-align: left;
  margin: 2em 0 2.5em 0;
  line-height: 1.7;
}
.tami-award-years {
  margin: 2em 0;
}
@media (max-width: 991px) {
	.tami-table-tip-wrap {
		margin-top: 50px;
		clear: both;
		display: block;
		width: 100%;
	}
}

/* Button Hover Effect */
.btn-primary:hover {
    background-color: #1a2436 !important;
    border-color: #1a2436 !important;
}

/* Taipei PLAS Award Button */
.tami-award-btn {
    background-color: #0078D4;
    color: white;
    border: none;
    padding: 0.75rem 0.75rem;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.tami-award-btn:hover {
    background-color: #003D82;
}

/* ========================================
   membership.html
   ======================================== */
.regular-member-section {
	background: transparent;
	min-height: 100vh;
	padding: 60px 0;
	position: relative;
	z-index: 10;
}

.benefits-title {
	font-size: 1.8rem;
	color: #0066cc;
	font-weight: 600;
	position: relative;
	padding: 20px 25px;
	background: rgba(255, 255, 255, 1);
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
	margin: 0 auto 30px auto;
	display: block;
	text-align: center;
	max-width: fit-content;
}

.benefit-card {
	background: white;
	padding: 30px 20px;
	text-align: center;
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
	border-top: 4px solid #0066cc;
}

.benefit-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.benefit-icon {
	background: linear-gradient(45deg, #0066cc, #004499);
	color: white;
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 24px;
}

.benefit-card h4 {
	color: #333;
	font-weight: 600;
	margin-bottom: 15px;
	font-size: 1.2rem;
}

.benefits-list {
	background: white;
	padding: 40px;
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.benefit-item {
	display: flex;
	align-items: flex-start;
	padding: 20px;
	transition: all 0.3s ease;
	border-left: 4px solid #e9ecef;
}

.benefit-number {
	background: linear-gradient(45deg, #0066cc, #004499);
	color: white;
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	margin-right: 15px;
	flex-shrink: 0;
	font-size: 14px;
}

.benefit-item p {
	margin: 0;
	color: #555;
	line-height: 1.6;
	font-size: 15px;
}

.cta-section {
	background: linear-gradient(45deg, #0066cc, #004499);
	color: white;
	box-shadow: 0 8px 25px rgba(0,0,0,0.2);
	position: relative;
	overflow: hidden;
}

.cta-section:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: repeating-linear-gradient(
		45deg,
		transparent,
		transparent 2px,
		rgba(255,255,255,0.03) 2px,
		rgba(255,255,255,0.03) 4px
	);
}

.cta-message h3 {
	font-size: 1.5rem;
	font-weight: 600;
    margin: 0;
	position: relative;
	z-index: 2;
    text-align: center;
}

.cta-character {
	text-align: center;
	position: relative;
	z-index: 2;
}

.quality-badge {
	background: rgba(255,255,255,0.15);
	padding: 20px;
	position: relative;
	z-index: 2;
	border: 2px solid rgba(255,255,255,0.2);
}

.quality-badge p {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
}

.membership-btn {
	padding: 12px 30px;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
	margin: 5px;
	border-radius: 0 !important;
}

.btn-primary.membership-btn {
	background: linear-gradient(45deg, #0066cc, #004499);
	border: none;
	box-shadow: 0 4px 15px rgba(0,102,204,0.3);
	border-radius: 0 !important;
}

.btn-primary.membership-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,102,204,0.4);
	background: linear-gradient(45deg, #004499, #002266);
}

.btn-outline-primary.membership-btn {
	border: 2px solid #0066cc;
	color: #0066cc;
	background: transparent;
	border-radius: 0 !important;
}

.btn-outline-primary.membership-btn:hover {
	background: #0066cc;
	color: white;
	transform: translateY(-2px);
}

/* ?�畫?��? */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.benefit-card, .benefit-item {
	animation: fadeInUp 0.6s ease forwards;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }

/* ?��?式設�?*/
@media (max-width: 768px) {
	.regular-member-section {
		padding: 40px 0;
	}

	.section-title {
		font-size: 2rem;
	}

	.section-subtitle {
		font-size: 1.4rem;
	}

	.benefit-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
	}

	.benefit-number {
        margin: 0 15px 0 0;
	}

	.cta-section .row {
		text-align: center;
	}

	.cta-message h3 {
		font-size: 1.2rem;
        margin: 20px 0 12px;
	}

	.membership-btn {
		display: block;
		margin: 10px auto;
		width: 100%;
		max-width: 300px;
	}

    .membership-download-btn {
        max-width: 100%;
        margin: 0;
    }

	.benefits-list {
		padding: 20px;
	}
}

@media (max-width: 576px) {
	.benefit-card {
		margin-bottom: 20px;
	}

	.benefit-icon {
		width: 60px;
		height: 60px;
		font-size: 20px;
	}

	.benefits-title {
		font-size: 1.5rem;
	}
}
/* ?��??�请页面?��? */

/* ?��?容器 */
.membership-section {
    position: relative;
    z-index: 1;
}

/* ?��??��? */
.membership-title {
    text-align: center;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.membership-title-sm-margin {
    text-align: center;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* ?��??��? */
.membership-title-icon {
    font-size: 2.5rem;
    color: #2c3e50;
}

/* ?�费?��??��? */
.benefit-card {
    background: white;
    padding: 30px 20px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #007bff;
}

.benefit-card-icon-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.benefit-card-icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,123,255,0.3);
}

.benefit-card-icon {
    font-size: 2rem;
    color: white;
}

.benefit-card-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.benefit-card-text {
    text-align: center;
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
}

.benefit-card-text-sm {
    text-align: center;
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

.benefit-price-icon {
    color: #28a745;
}

.benefit-price-amount {
    color: #28a745;
}

/* membership.html 兩個優待區塊內文字體放大 */
.regular-member-section .benefit-card-title {
    font-size: 1.45rem;
}

.regular-member-section .benefit-card-text,
.regular-member-section .benefit-card-text-sm {
    font-size: 1.12rem;
    line-height: 1.7;
}

.regular-member-section .benefit-card-text small,
.regular-member-section .benefit-card-text-sm small {
    font-size: 1rem;
}

.regular-member-section .benefit-item p {
    font-size: 20px;
    line-height: 1.75;
}

/* 下载?�钮 */
.membership-download-btn {
    padding: 30px;
    font-size: 1.6rem;
}

@media (max-width: 991.98px) {
    .membership-download-btn {
        padding: 22px;
        font-size: 1.3rem;
    }

    .regular-member-section .benefit-card-title {
        font-size: 1.3rem;
    }

    .regular-member-section .benefit-card-text,
    .regular-member-section .benefit-card-text-sm {
        font-size: 1.05rem;
    }

    .regular-member-section .benefit-item p {
        font-size: 18px;
    }
}

@media (max-width: 575.98px) {
    .membership-download-btn {
        padding: 16px;
        font-size: 1.05rem;
        line-height: 1.5;
    }
}
/* ========================================
   regular-member �???�員專用�??
   ======================================== */

/* regular-member ?�面標�?�?? */
.page-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.page-header .main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #0066cc;
    margin: 0 0 20px 0;
    background: linear-gradient(45deg, #0066cc, #004499);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header .title-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #0066cc, #004499);
    margin: 0 auto 20px;
}

.page-header .subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
    font-weight: 300;
}

/* regular-member 章�?標�? */
.chapter-title {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 3px solid #0066cc;
}

.chapter-number {
    background: linear-gradient(45deg, #0066cc, #004499);
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    margin-right: 20px;
}

.chapter-text {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

/* regular-member ?�容?��?*/
.requirement-section,
.procedure-section,
.process-section {
    background: white;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border-left: 5px solid #0066cc;
}

/* regular-member ?��?步�? */
.procedure-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.procedure-item {
    display: flex;
    align-items: flex-start;
    background: #f8f9fa;
    padding: 25px;
    border-left: 4px solid #0066cc;
    transition: all 0.3s ease;
}

.procedure-number {
    background: linear-gradient(45deg, #0066cc, #004499);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

/* regular-member ?�絡資�? */
/* regular-member ?�絡?�辦人�?訊�???*/
.application-contact-block {
    background: linear-gradient(45deg, #0066cc, #004499);
    color: white;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,102,204,0.3);
}

.application-contact-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.application-contact-heading i {
    font-size: 1.8rem;
}
@media (max-width: 768px) {
    .application-contact-heading {
        font-size: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .application-contact-details {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px;
    }
    .application-contact-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        font-size: 0.9rem;
        justify-content: flex-start;
    }
    .application-contact-field {
        min-width: auto;
        margin-right: 10px;
        flex-shrink: 0;
    }
    .application-contact-data {
        flex: 1;
    }
}
.application-contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.application-contact-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.1rem;
}

.application-contact-field {
    font-weight: 600;
    min-width: 120px;
    margin-right: 10px;
}

.application-contact-data {
    color: #ffffff;
}

.application-contact-data a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px dotted #ffffff;
}

.application-contact-data a:hover {
    color: #ffeb3b;
    border-bottom-color: #ffeb3b;
}

/* regular-member ?�件下�?資�??�??*/
.membership-documents-zone {
    background: white;
    padding: 40px;
}

.membership-documents-heading {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.membership-documents-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #0066cc, #004499);
}

.membership-document-item {
    background: #f8f9fa;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #0066cc;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

.membership-document-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    text-align: left;
    padding-right: 15px;
}

.membership-document-link {
    background: linear-gradient(45deg, #0066cc, #004499);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
    white-space: nowrap;
}

.membership-document-link:hover {
    background: transparent;
    color: #0066cc;
    border-color: #0066cc;
    text-decoration: none;
}

/* regular-member  */
			@keyframes blink {
				0%, 100% { opacity: 1; }
				50% { opacity: 0.3; }
			}
			@keyframes pulse {
				0%, 100% { transform: translateY(-0.16em) rotate(-90deg) scaleX(-1) scale(1); opacity: 1; }
				50% { transform: translateY(-0.3em) rotate(-90deg) scaleX(-1) scale(1.15); opacity: 0.55; }
			}
			.blink-icon {
				animation: blink 1.5s ease-in-out infinite;
			}
			.highlight-indicator {
				display: inline-block;
				width: 1.7em;
				height: 2.3em;
				line-height: 1;
				margin-left: 0.5em;
				margin-right: -0.15em;
				vertical-align: baseline;
				padding: 0;
			}
			.highlight-indicator::before {
				content: "";
				display: block;
				width: 100%;
				height: 100%;
				transform-origin: left center;
                background: url('../images/6入會說明/icons/hand-pointing-red.svg') center/contain no-repeat;
				animation: pulse 1.2s ease-in-out infinite;
			}
.back-btn,
.sponsor-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 5px 15px;
    transition: all 0.3s ease;
}

.back-btn {
    background: #6c757d;
    color: white;
    border: 2px solid #6c757d;
}

.back-btn:hover {
    background: transparent;
    color: #6c757d;
    text-decoration: none;
}

.sponsor-btn {
    background: linear-gradient(45deg, #0066cc, #004499);
    color: white;
    border: 2px solid transparent;
}

.sponsor-btn:hover {
    background: transparent;
    color: #0066cc;
    border-color: #0066cc;
    text-decoration: none;
}

.download-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.download-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.card-border-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc 0%, #0099ff 100%);
}

.download-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.download-buttons-group {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.btn-download-doc {
    display: inline-flex;
    padding: 12px 24px;
    min-width: 120px;
    justify-content: center;
    align-items: center;
    background: #0066cc;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-download-doc:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

.btn-download-doc i {
    margin-right: 8px;
}

.special-card {
    padding: 35px;
}

.special-card .download-card-title {
    border-bottom: none;
    margin-bottom: 0;
}

.card-description-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .special-card .row > div {
        margin-bottom: 15px;
    }

    .special-card .download-card-title {
        margin-bottom: 15px;
    }
}

.membership-documents-zone .download-card .card-description-text {
  min-width: 0;
  flex: 0 1 750px;
}
.info-note {
  font-size: 0.9em;
}
/* regular-member ?��?式設�?*/
@media (max-width: 768px) {
    .membership-section {
        padding: 40px 0;
    }

    .membership-documents-zone .download-card > .d-flex {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

    .membership-documents-zone .download-card .download-card-title {
        order: 1;
    }

    .membership-documents-zone .download-card .download-buttons-group {
        order: 2;
        margin-left: auto;
    }

    .membership-documents-zone .download-card .card-description-text {
        order: 3;
        flex: 0 0 100%;
        margin-top: 8px;
    }

    .page-header .main-title {
        font-size: 2.2rem;
    }

    .chapter-title {
        flex-direction: column;
        text-align: center;
    }

    .chapter-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .procedure-item {
        flex-direction: column;
        text-align: center;
    }

    .procedure-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .application-contact-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .application-contact-field {
        min-width: auto;
        margin-bottom: 5px;
    }

    .back-btn,
    .sponsor-btn {
        display: block;
        text-align: center;
        margin: 10px auto;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 20px;
    }

    .requirement-section,
    .procedure-section,
    .process-section {
        padding: 20px;
    }

    .application-contact-block {
        padding: 20px;
    }

    .membership-documents-zone {
        padding: 20px;
    }
}
			@media (max-width: 768px) {
				.membership-contact-alert,
				.membership-contact-alert * {
					text-align: left !important;
				}

				.membership-contact-alert .d-flex {
					justify-content: flex-start;
				}
			}
/* ========== sponsoring-member.html ========== */
.sponsor-grade-table {
    margin-top: 30px;
}

.sponsor-grade-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.sponsor-grade-table .table-primary th {
    background: linear-gradient(45deg, #0066cc, #004499) !important;
    color: white;
    font-weight: 600;
    padding: 20px 15px;
    text-align: center;
    font-size: 1.1rem;
    border: none !important;
}

.sponsor-grade-table tbody tr {
    transition: all 0.3s ease;
}

.sponsor-grade-table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.02);

}

.sponsor-grade-table tbody td {
    padding: 20px 15px;
    text-align: center;
    font-size: 1rem;
    color: #555;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

.sponsor-grade-table tbody tr:first-child td:first-child,
.sponsor-grade-table tbody tr:nth-child(2) td:first-child,
.sponsor-grade-table tbody tr:nth-child(3) td:first-child,
.sponsor-grade-table tbody tr:last-child td:first-child {
    background: linear-gradient(45deg, #0066cc, #004499);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.sponsor-grade-table tbody tr td:last-child {
    font-weight: 600;
    color: #0066cc;
    font-size: 1.1rem;
}

/* sponsoring-member 小格式承辦人?�絡資�? */
.sponsor-contact-mini {
    background: rgba(255,255,255,0.95);
    padding: 20px 15px;
    border-left: 4px solid #0066cc;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.sponsor-contact-mini h5 {
    color: #0066cc;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sponsor-contact-mini h5 i {
    font-size: 0.8rem;
}

.sponsor-contact-mini p {
    color: #333;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.sponsor-contact-mini p strong {
    color: #0066cc;
    font-weight: 600;
}

/* sponsoring-member ?��?式設�?*/
@media (max-width: 768px) {
    .sponsor-grade-table table {
        font-size: 0.9rem;
    }

    .sponsor-grade-table .table-primary th {
        padding: 15px 10px;
        font-size: 1rem;
    }

    .sponsor-grade-table tbody td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    .sponsor-contact-mini {
        padding: 15px 12px;
        margin-top: 20px;
    }

    .sponsor-contact-mini h5 {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .sponsor-contact-mini p {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 576px) {
    .sponsor-grade-table .table-primary th {
        padding: 12px 8px;
        font-size: 0.9rem;
    }

    .sponsor-grade-table tbody td {
        padding: 12px 8px;
        font-size: 0.8rem;
    }

    .sponsor-grade-table tbody tr:first-child td:first-child,
    .sponsor-grade-table tbody tr:nth-child(2) td:first-child,
    .sponsor-grade-table tbody tr:nth-child(3) td:first-child,
    .sponsor-grade-table tbody tr:last-child td:first-child {
        font-size: 1rem;
    }

    .sponsor-grade-table tbody tr td:last-child {
        font-size: 1rem;
    }
}


/* ========================================
   Privacy_Policy.html Cookie_Notice.html
   ======================================== */

/* ?��??��?介紹段落 */
.privacy-intro {
    margin-bottom: 30px;
    line-height: 1.7;
}

/* ?��??��?章�? */
.privacy-section {
    margin-bottom: 35px;
}

.privacy-section h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
}

.privacy-section h3 {
    font-size: 15px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 12px;
}

.privacy-section p {
    margin-bottom: 12px;
    line-height: 1.7;
}

.privacy-section p a {
    color: #0066cc;
    text-decoration: none;
}

.privacy-section p a:hover {
    text-decoration: underline;
}

/* 定義?�表�??（用?��??�、地?�?��?象、方式�? */
.privacy-details {
    margin: 15px 0 20px 30px;
}

.privacy-details dt {
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 6px;
}

.privacy-details dd {
    margin-left: 20px;
    margin-bottom: 12px;
    line-height: 1.7;
}

/* 權利?�表 */
.privacy-rights {
    margin: 15px 0 20px 30px;
    list-style-type: disc;
    padding-left: 20px;
}

.privacy-rights li {
    margin-bottom: 8px;
    line-height: 1.7;
    list-style-type: disc;
}

/* 例�??��??�表 */
.privacy-exceptions {
    margin: 15px 0 20px 30px;
    list-style-type: disc;
}

.privacy-exceptions li {
    margin-bottom: 8px;
    line-height: 1.7;
    list-style-type: disc;
}
/* youtube icon */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(44px, 6vw, 64px);
    height: clamp(30px, 4.2vw, 44px);
    border-radius: clamp(9px, 1.2vw, 12px);
    background: #ff0000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    z-index: 3;
}

.video-play-btn .fa-play {
    color: #ffffff;
    font-size: clamp(16px, 2.1vw, 22px);
    margin-left: clamp(1px, 0.3vw, 3px);
}

/* ========================================
affiliate .html
   ======================================== */

/* AffiliateLink.html: remove gray background from copied index image-box block */
.affiliate-links-clean-bg .misfull_image_box2_area {
    background: transparent;
}

.misfull_image_box2_area .service_top_image a {
    position: relative;
    display: block;
    overflow: hidden;
}

.misfull_image_box2_area .service_top_image a img {
    display: block;
    width: 100%;
    height: auto;
}

.misfull_image_box2_area .service_top_image a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: linear-gradient(to top, rgba(95, 95, 95, 0.42) 0%, rgba(95, 95, 95, 0.16) 28%, rgba(95, 95, 95, 0) 52%);
    pointer-events: none;
}

.affiliate-links-clean-bg .affiliate-grid {
    display: flex;
    flex-wrap: wrap;
}

.affiliate-links-clean-bg .affiliate-col {
    width: 20%;
    padding: 0 12px;
    margin-bottom: 24px;
}

.affiliate-links-clean-bg .service_top_image {
    height: auto;
    display: block;
}

.affiliate-links-clean-bg .service_top_image img {
    width: 100%;
    max-height: none;
    display: block;
}

@media (max-width: 991px) {
    .affiliate-links-clean-bg .affiliate-col {
        width: 33.3333%;
    }
}

@media (max-width: 767px) {
    .affiliate-links-clean-bg .affiliate-col {
        width: 50%;
    }
}


.site-map-page {
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.site-map-page .witr_section_title_inner {
    padding: 24px 0 12px;
}

.site-map-page .breadcumb-inner ul {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid #d8e1ee;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 43, 77, 0.05);
}

.site-map-page .witr_section_title_inner h3 {
    margin-top: 18px;
    margin-bottom: 10px;
    color: #17324d;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    letter-spacing: 1px;
}

.site-map-lead {
    max-width: 720px;
    margin: 0;
    color: #5b697a;
    font-size: 16px;
    line-height: 1.8;
}

.site-map-page .container .row {
    row-gap: 24px;
}

.site-map-card-title {
    margin-top: 18px;
    margin-bottom: 12px;
    padding-left: 12px;
    color: #17324d;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-left: 4px solid #1f5a93;
}

.site-map-list {
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}

.site-map-list li {
    margin-bottom: 10px;
    list-style: none;
}

.site-map-list a {
    display: block;
    padding: 11px 14px;
    color: #23415f;
    text-decoration: none;
    background: #f7fafd;
    border: 1px solid #d8e1ee;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-map-list a:hover {
    transform: translateX(4px);
    border-color: #7fa7d9;
    background: #eef5ff;
    box-shadow: 0 8px 18px rgba(31, 90, 147, 0.12);
}

@media (max-width: 768px) {
    .site-map-page .witr_section_title_inner {
        padding-top: 18px;
    }


    .site-map-page .breadcumb-inner ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 16px;
    }

    .site-map-list a:hover {
        transform: none;
    }
}

         .channel-video-table tr {
            cursor: pointer;
         }

         .channel-video-thumb-wrap {
            position: relative;
            width: 160px;
            height: 90px;
            margin: 0 auto;
                display: inline-block;
                line-height: 0;
                overflow: hidden;
                border-radius: 6px;
            }

            .channel-video-thumb {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
         }

         .channel-video-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 28px;
            height: 28px;
            background: #ff0000;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
         }

         .channel-video-icon:before {
            content: "";
            position: absolute;
            top: 50%;
            left: 52%;
            transform: translate(-50%, -50%);
            width: 0;
            height: 0;
            border-top: 6px solid transparent;
            border-bottom: 6px solid transparent;
            border-left: 10px solid #ffffff;
         }
         .page3_body-section .affiliate-links-clean-bg {
            padding-bottom: 32px;
         }