body {
font-family: "Noto Sans TC", Arial;
margin: 0;
}

/* 提高 CSS 權重，避免被 main.css 蓋掉 
body .container {
  display: flex;
} */

.container {
display: flex;
}


/* 左側選單 */
.menu {
width: 220px;
padding: 20px;
}

/* 圓圈不出現，99% 是 CSS 被覆蓋或被 reset 掉 */

.menu-item {
display: flex;
align-items: center;
cursor: pointer;
margin-bottom: 16px;
color: #bbb;
}

.menu-item .dot {
  display: inline-block;   /* 關鍵 */
  width: 10px;
  height: 10px;
  min-width: 10px;         /* 防止 flex 壓縮 */  
  border-radius: 50%;
  background: #bbb;
  margin-right: 10px;
  transition: all .3s;
}


.menu-item.active {
color: #ff8b3d;
font-size: 1.1em;
}


.menu-item.active .dot {
background: #ff8b3d;
transform: scale(1.5);
}


/* 右側內容 */
.content {
flex: 1;
padding: 30px;
}


.cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 每個 rank 區塊 */
.rank-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 15px;
}


/* === 卡單本體 === */
.achievement-card {
    width: 300px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    overflow: hidden;
}

/* === 圖片區域 === */
.image-area {
    position: relative;
    height: 240px;
    background: #e9edf2;
    overflow: hidden;   /* 重要：防止圖片跑版 */
}

/* === 人物照片（斜切） === */
.person-photo {
    position: absolute;
    left: 0;
    top: 0;
    width: 65%;
    height: 100%;
    object-fit: cover;

    /* 斜切效果 */
    clip-path: polygon(
        0 0,
        100% 0,
        85% 100%,
        0 100%
    );
}

/* === 獎狀照片（拼貼） === */
.award-photo {
    position: absolute;
    right: 12px;
    bottom: 12px;
    max-width: 45%;
    max-height: 75%;
    object-fit: contain;   /* 關鍵：確保橫直都完整呈現 */
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    background: #fff;
}



/* === 文字區塊 === */
.card-content {
    padding: 16px 18px 20px;
}

.card-content h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #1f2d3d;
}

.card-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
}