.container {
    max-width: 1200px;
}

.world-map {
    position: relative;
    margin-bottom: 30px;
}

.city-label {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 3px 5px;
    font-size: 0.8em;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.clock-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin: 15px;
    padding: 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.clock-card:hover {
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

.left-column {
    flex: 1;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.right-column {
    flex:1.7;
    display: flex;
    flex-direction: column;
}

canvas {
    
    margin-bottom: 10px;
}

.city-english{
    font-size: clamp(14px, 2vw, 1.2em); /* 根據容器寬度自動調整字體大小 */
    color: #333;
    font-weight: bold;
    text-align: center;
    white-space: nowrap; /* 避免換行 */
    overflow: hidden; /* 隱藏溢出文字 */
    text-overflow: ellipsis; /* 溢出時加上省略號 */
    
}

.city-chinese, .city-local, .date-display {
    margin: 5px 0;
    font-size: 0.9em;
    color: #666;
}

.time-display {
  background:var(--sp88blue);
  color: #FFF;
  padding:0px 6px;
} 

/* 新增的樣式，為洲名後添加橫線 */
.continent-title {
    font-size: 1.8em;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.continent-title::after {
    content: "";
    display: block;
    height: 1px;
    background-color: #ccc;
    flex-grow: 1;
    margin-left: 20px;
}

/* 美化看更多按鈕 */
.view-more-btn {
    display: block;
    margin: 20px auto;
    padding: 15px 30px;
    font-size: 1.2em;
    color: #ffffff;
    background-color: #19bcd3;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.view-more-btn:hover {
    background-color: #17a8b5;
}