/**
 * CL Job Section Frontend Styles - OPTIMIZED STRUCTURE
 * Updated CSS selectors to match simplified HTML structure
 */

/* ==========================================
   CSS RESET & BASE STYLES - FORCE COLOR INHERITANCE PROTECTION
   ========================================== */
.cl-job-section * {
    box-sizing: border-box;
}

/* Force text colors to prevent theme/Elementor interference */
.cl-job-section .slideInfo .title,
.cl-job-section .slideInfo h3,
.cl-job-section .slideInfo .mainText,
.cl-job-section .slideInfo h4,
.cl-job-section .slideInfo .subText,
.cl-job-section .char_tag .tag span,
.cl-job-section .difficulty-label {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* ==========================================
   MAIN CONTAINER STYLES - UNIFIED HEIGHT MANAGEMENT
   ========================================== */
.entry-content.alignfull.wp-block-post-content,
section.cl-job-section.jobSection {
    position: relative !important;
    width: 100vw !important;
    max-width: none !important;
    height: 710px !important;
    min-height: 710px !important;
    max-height: 710px !important;
    overflow: hidden !important;
    background: #595D7A !important;
    background-color: #595D7A !important;
    background-image: none !important;
    padding: 0 !important;
    margin: 0 !important;
    left: 50% !important;
    margin-left: -50vw !important;
}

/* UPDATED: Simplified container without outer/inner section wrappers */
.cl-job-section .char_contents {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1696px;
    max-width: 1696px;
    height: 100%;
    min-height: 600px;
    background: transparent !important;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    margin: 0;
    padding: 0;
    z-index: 1;
}

/* ==========================================
   SECTION HEADER STYLES - HIDDEN
   ========================================== */
.cl-job-section .section-header,
.cl-job-section .section-title,
.cl-job-section .section-subtitle {
    display: none;
}

/* ==========================================
   TAB BOX STYLES - UPDATED FOR SIMPLIFIED STRUCTURE
   ========================================== */
.cl-job-section .tabBox {
    position: absolute;
    top: 0px;
    left: 50px;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0;
    z-index: 20;
    /* UPDATED: Direct button container styling */
    background: rgba(255, 255, 255, 0.15);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    padding: 0;
    list-style: none;
}

/* UPDATED: Direct button styling without ul/li wrapper */
.cl-job-section .tab-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 18px 30px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    min-width: 110px;
}

.cl-job-section .tab-button.active {
    color: #ffffff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 0 0 8px 8px;
    transform: translateY(-1px);
}

/* 劍士(戰士) - 第一個按鈕，取消右下圓角 */
.cl-job-section .tab-button.active[data-category="warrior"] {
    border-radius: 0 0 0 8px;
}

/* 法師、弓箭手、盜賊 - 中間按鈕，取消左下和右下圓角 */
.cl-job-section .tab-button.active[data-category="mage"],
.cl-job-section .tab-button.active[data-category="archer"],
.cl-job-section .tab-button.active[data-category="thief"] {
    border-radius: 0;
}

/* 海盜 - 最後一個按鈕，取消左下圓角 */
.cl-job-section .tab-button.active[data-category="pirate"] {
    border-radius: 0 0 8px 0;
}

.cl-job-section .tab-button .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.cl-job-section .tab-button .icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.cl-job-section .tabBox .underLine {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.7));
    transition: all 0.3s ease;
    border-radius: 2px;
    z-index: 1;
}

/* ==========================================
   SWIPER STYLES - STRUCTURE SIMPLIFIED
   ========================================== */
.cl-job-section .bannerSwiper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background-color: #595D7A; /* Fallback background during transitions */
}

.cl-job-section .bannerSwiper .swiper-slide {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #595D7A !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    width: 100% !important;
    height: 100%;
    opacity: 0 !important;
    transition: opacity 0.5s ease-in-out !important;
}

.cl-job-section .bannerSwiper .swiper-slide-active {
    opacity: 1 !important;
    z-index: 15;
    visibility: visible;
}

.cl-job-section .bannerSwiper .swiper-slide:not(.swiper-slide-active) {
    z-index: 15;
    pointer-events: none;
    visibility: visible !important;
}

.cl-job-section .bannerSwiper .swiper-slide:not(.swiper-slide-active) .slideInfo {
    opacity: 0 !important;
    visibility: hidden;
}

.cl-job-section .bannerSwiper.swiper-fade .swiper-slide {
    pointer-events: none;
}

.cl-job-section .bannerSwiper.swiper-fade .swiper-slide-active {
    pointer-events: auto;
}

/* ==========================================
   SLIDE INFO STYLES - SIMPLIFIED WITHOUT INNER WRAPPER
   ========================================== */
.cl-job-section .slideInfo {
    position: absolute;
    top: calc(50% - 20px); /* Moved up 20px from center */
    left: calc(50% - 798px + 50px);
    transform: translateY(-50%);
    z-index: 10;
    color: #fff;
    width: auto;
    max-width: none;
    flex: none;
}

.cl-job-section .char_tag {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.cl-job-section .char_tag .state {
    background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
    color: #fff !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.cl-job-section .char_tag .state.new {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.cl-job-section .char_tag .state.remaster {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #333;
}

.cl-job-section .char_tag .tag {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px) !important;
}

.cl-job-section .char_tag .tag .separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.cl-job-section .slideInfo .title-container {
    margin: 0 0 39px 0;
    position: relative;
}

.cl-job-section .slideInfo .title-container::after {
    content: '';
    position: absolute;
    bottom: -19px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.cl-job-section .slideInfo .title {
    font-size: 48px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    line-height: 1.2 !important;
    display: inline-block !important;
    vertical-align: bottom !important;
}

.cl-job-section .slideInfo .difficulty-rating {
    display: inline-block;
    margin-left: 20px;
    vertical-align: bottom;
    white-space: nowrap;
}

.cl-job-section .slideInfo .difficulty-label {
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-right: 8px;
    vertical-align: middle;
    line-height: 1.3;
}

.cl-job-section .slideInfo .stars {
    display: inline-block;
    vertical-align: middle;
}

.cl-job-section .slideInfo .star {
    font-size: 18px;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-right: 2px;
}

.cl-job-section .slideInfo .star.filled {
    color: #ffd700;
}

.cl-job-section .slideInfo .star.empty,
.cl-job-section .slideInfo .star:not(.filled) {
    color: rgba(255, 255, 255, 0.3);
}

.cl-job-section .slideInfo .mainText {
    font-size: 24px !important;
    font-weight: 400 !important;
    margin: 24px 0 10px 0 !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
    line-height: 1.3 !important;
}

/* 控制自定義描述中的換行間距 */
.cl-job-section .slideInfo .mainText br {
    display: block;
    margin: 2px 0;
    content: "";
}

.cl-job-section .slideInfo .subText {
    font-size: 16px !important;
    margin: 0 0 25px 0 !important;
    color: #ffffff !important;
    opacity: 0.9 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
    line-height: 1.4 !important;
}

/* ==========================================
   CHARACTER IMAGE STYLES - UNIFIED ANIMATION
   ========================================== */
.cl-job-section .mainImg {
    position: absolute;
    top: 0;
    right: 96px;
    bottom: 0;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    pointer-events: none;
    transform: translateX(30px);
    opacity: 0;
}

.cl-job-section .bannerSwiper .swiper-slide-active.swiper-slide-visible .mainImg {
    transform: translateX(0px);
    opacity: 1;
}

.cl-job-section .bannerSwiper .swiper-slide-active .mainImg {
    transform: translateX(30px);
    opacity: 0;
}

.cl-job-section .mainImg.animating {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.cl-job-section .bannerSwiper .swiper-slide.slide-fading-out .mainImg.animating {
    transform: translateX(50px) !important;
    opacity: 0 !important;
    z-index: 100 !important;
}

.cl-job-section .bannerSwiper .swiper-slide.slide-fading-out .mainImg {
    opacity: 1;
    z-index: 100 !important;
}

/* CONSOLIDATED: Single image styling rule */
.cl-job-section .mainImg img {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    min-width: auto !important;
    min-height: auto !important;
    filter: drop-shadow(4px 4px 12px rgba(0, 0, 0, 0.4));
    object-fit: none !important;
}

/* ==========================================
   ACTION BUTTONS STYLES
   ========================================== */
.cl-job-section .action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cl-job-section .action-buttons .btnCommon,
.cl-job-section .btnCommon.type6.playBtn {
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    min-height: 44px;
}

/* Button type styles */
.cl-job-section .action-buttons .btnCommon.type1,
.cl-job-section .action-buttons .main-button,
.cl-job-section .action-buttons .custom-button-1 {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.cl-job-section .action-buttons .btnCommon.type2,
.cl-job-section .action-buttons .secondary-button,
.cl-job-section .action-buttons .custom-button-2 {
    background: linear-gradient(135deg, #f0ad4e 0%, #f7931e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(240, 173, 78, 0.3);
}

.cl-job-section .action-buttons .btnCommon.type6,
.cl-job-section .action-buttons .playBtn,
.cl-job-section .btnCommon.type6.playBtn {
    background: linear-gradient(135deg, #3776c7, #5ba3f5);
    color: #fff;
    box-shadow: 0 4px 12px rgba(55, 118, 199, 0.3);
}

.cl-job-section .action-buttons .btnCommon.type7,
.cl-job-section .action-buttons .skill-button {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 126, 95, 0.3);
}

/* Unified hover effects */
.cl-job-section .action-buttons .btnCommon:hover,
.cl-job-section .btnCommon.type6.playBtn:hover,
.cl-job-section .btnCommon.type7.skill-button:hover {
    transform: translateY(-2px);
}

.cl-job-section .action-buttons .btnCommon.type1:hover,
.cl-job-section .action-buttons .main-button:hover,
.cl-job-section .action-buttons .custom-button-1:hover {
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.cl-job-section .action-buttons .btnCommon.type2:hover,
.cl-job-section .action-buttons .secondary-button:hover,
.cl-job-section .action-buttons .custom-button-2:hover {
    box-shadow: 0 6px 20px rgba(240, 173, 78, 0.4);
}

.cl-job-section .action-buttons .btnCommon.type6:hover,
.cl-job-section .action-buttons .playBtn:hover {
    box-shadow: 0 6px 16px rgba(55, 118, 199, 0.4);
}

.cl-job-section .action-buttons .btnCommon.type7:hover,
.cl-job-section .action-buttons .skill-button:hover {
    box-shadow: 0 6px 20px rgba(255, 126, 95, 0.4);
}

/* ==========================================
   THUMBNAIL CONTAINER & SWIPER STYLES - SIMPLIFIED
   ========================================== */
.cl-job-section .thumbnail-container {
    position: absolute;
    bottom: 24px; /* Reduced from 40px to 24px for closer positioning */
    left: 50px;
    max-width: 600px;
    width: auto;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    display: flex;
    align-items: center;
    z-index: 15;
}

.cl-job-section .thumb-swiper {
    flex: 1;
    max-width: 500px;
    overflow: visible;
    margin: 0;
    padding: 0;
    position: relative;
}

.cl-job-section .thumb-swiper .swiper-container {
    overflow: visible;
}

.cl-job-section .thumb-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

.cl-job-section .thumb-swiper .swiper-slide {
    width: 96px !important;
    height: auto !important;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 1 !important;
    background: transparent;
    margin: 0 6px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: visible;
}

.cl-job-section .thumb-swiper .swiper-slide::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: inherit;
    z-index: -1;
    transition: all 0.3s ease;
}

.cl-job-section .thumb-swiper .swiper-slide:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
}

.cl-job-section .thumb-swiper .swiper-slide:hover::before {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.cl-job-section .thumb-swiper .swiper-slide.swiper-slide-thumb-active {
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

.cl-job-section .thumb-swiper .swiper-slide.swiper-slide-thumb-active::before {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

/* UPDATED: Simplified thumbnail image - now direct img element */
.cl-job-section .thumb_img {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    margin-bottom: 8px;
    border-radius: 50%;
    overflow: visible;
    background: #46495F;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    /* Direct styling for img element */
    object-fit: cover;
    mix-blend-mode: multiply;
}

/* REMOVED: Orange overlay pseudo-element that was interfering with ivory white background */

.cl-job-section .thumb_txt {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    margin: 0;
    line-height: 1.2;
    opacity: 1;
    max-width: 96px;
    word-break: keep-all;
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* UPDATED: Hover and active states for simplified thumbnail structure - removed orange overlay */
.cl-job-section .thumb-swiper .swiper-slide:hover .thumb_img,
.cl-job-section .thumb-swiper .swiper-slide.swiper-slide-thumb-active .thumb_img {
    mix-blend-mode: normal;
    background: rgba(253, 245, 230, 0.9);
    border-color: rgba(255, 255, 255, 1);
}

.cl-job-section .thumb-swiper .swiper-slide:hover .thumb_txt,
.cl-job-section .thumb-swiper .swiper-slide.swiper-slide-thumb-active .thumb_txt {
    opacity: 1;
    color: rgba(255, 255, 255, 1);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* ==========================================
   THUMBNAIL NAVIGATION ARROWS - MINIMALIST DESIGN
   ========================================== */
.cl-job-section .swiper-button-prev.thumb_arrow,
.cl-job-section .swiper-button-next.thumb_arrow {
    display: none !important;
}

.cl-job-section .swiper-button-prev.thumb_arrow {
    left: 10px;
}

.cl-job-section .swiper-button-next.thumb_arrow {
    right: 10px;
}

.cl-job-section .thumb_arrow:hover {
    background: transparent;
    transform: translateY(-50%) scale(1.2);
    border: none;
}

.cl-job-section .thumb_arrow.swiper-button-disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.cl-job-section .thumb_arrow.swiper-button-disabled:hover {
    transform: translateY(-50%);
    background: transparent;
}

.cl-job-section .thumb_arrow svg {
    width: 14px;
    height: 14px;
    fill: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

/* ==========================================
   VIDEO MODAL STYLES
   ========================================== */
.cl-video-modal.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: rgba(0, 0, 0, 0.8);
}

.cl-video-modal .modal_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 50px 20px;
}

.cl-video-modal .modal_inner {
    width: 90%;
    max-width: 900px;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cl-video-modal .modal_header {
    height: 60px;
    background-color: #33344d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
}

.cl-video-modal .modal_title {
    font-weight: 600;
    color: #fff;
    font-size: 18px;
}

.cl-video-modal .modal_close a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: background 0.3s ease;
}

.cl-video-modal .modal_close a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cl-video-modal .modal_body {
    padding: 0;
}

.cl-video-modal .video-container {
    position: relative;
    background: #000;
}

.cl-video-modal #cl-job-video {
    width: 100%;
    height: auto;
    max-height: 70vh;
}

/* ==========================================
   RESPONSIVE STYLES - CONSOLIDATED
   ========================================== */
@media (max-width: 768px) {
    section.cl-job-section.jobSection {
        min-height: 500px;
    }
    
    .cl-job-section .tabBox {
        top: 20px;
        left: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cl-job-section .tab-button {
        padding: 12px 18px;
        font-size: 12px;
        min-width: 90px;
    }
    
    .cl-job-section .thumbnail-container {
        top: 100px;
        left: 20px;
        max-width: 400px;
    }
    
    .cl-job-section .thumb-swiper {
        max-width: 350px;
        padding: 0 35px;
    }
    
    .cl-job-section .thumb_img {
        width: auto;
        height: auto;
        margin-bottom: 6px;
    }
    
    .cl-job-section .thumb-swiper .swiper-slide {
        width: 80px !important;
        padding: 8px 6px;
        border-radius: 10px;
    }
    
    .cl-job-section .thumb_txt {
        font-size: 12px;
        max-width: 80px;
    }
    
    .cl-job-section .slideInfo {
        left: 20px;
        max-width: 300px;
    }
    
    .cl-job-section .slideInfo .title {
        font-size: 28px !important;
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    }
    
    .cl-job-section .slideInfo .mainText {
        font-size: 16px !important;
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
    }
    
    .cl-job-section .mainImg {
        width: 60%;
    }
}

@media (max-width: 480px) {
    section.cl-job-section.jobSection {
        min-height: 450px;
    }
    
    .cl-job-section .tabBox {
        top: 15px;
        left: 15px;
    }
    
    .cl-job-section .thumbnail-container {
        top: 90px;
        left: 15px;
        max-width: 300px;
    }
    
    .cl-job-section .slideInfo {
        left: 15px;
        max-width: 250px;
    }
    
    .cl-job-section .slideInfo .title {
        font-size: 22px !important;
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    }
    
    .cl-job-section .slideInfo .mainText {
        font-size: 14px !important;
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
    }
    
    .cl-job-section .slideInfo .subText {
        font-size: 12px;
    }
    
    .cl-job-section .mainImg {
        width: 50%;
    }
}

/* ==========================================
   STRUCTURE OPTIMIZATION SUMMARY:
   ========================================== 
   
   MAJOR CHANGES:
   - Updated selectors for simplified HTML structure
   - Removed references to .outerSection and .innerSection
   - Updated tab styling for direct button structure
   - Simplified thumbnail image styling
   - Enhanced semantic HTML support with <section> and <nav>
   
   SELECTOR UPDATES:
   - .tabBox ul → .tabBox (direct button container)
   - .tabBox li button → .tab-button
   - .slideInfo_inner removed (styles moved to .slideInfo)
   - .thumb_img wrapper → direct img styling
   
   BENEFITS:
   - Reduced DOM depth by 2-3 levels
   - Better semantic HTML5 structure  
   - Improved accessibility with ARIA attributes
   - Cleaner, more maintainable CSS
   - Enhanced performance with fewer DOM nodes
   
   ========================================== */