/* --- 服務據點頁面通用樣式 --- */
.branch-container, .branch-detail-container {
    width: 100%;
    margin: 0 auto;
    font-family: "微軟正黑體", "Microsoft JhengHei", sans-serif;
}

.page-title {
    font-size: 2em;
    color: #c2242d;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

/* --- 據點列表頁 (address.htm) --- */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; /* 確保內容不擠壓 */
}
.table-responsive th, .table-responsive td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.table-responsive thead th {
    background-color: #f5f5f5;
    font-weight: bold;
}
.table-responsive tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
.table-responsive tbody tr:hover {
    background-color: #f0f0f0;
}
.table-responsive a {
    color: #005a9c;
    text-decoration: none;
    font-weight: 500;
}
.table-responsive a:hover {
    text-decoration: underline;
}


/* --- 分社詳情頁 (14.htm etc.) --- */
.branch-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 雙欄佈局 */
    gap: 30px;
}
.branch-info h1 {
    margin-top: 0;
    color: #c2242d;
}
.branch-info ul {
    list-style: none;
    padding: 0;
    line-height: 2;
}
.services-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.services-info h2 {
    font-size: 1.3em;
}
.service-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.icon-item {
    background-color: #f5f5f5;
    padding: 8px 12px;
    border-radius: 5px;
}
.note {
    margin-top: 15px;
    font-size: 0.9em;
    color: #c2242d;
    font-weight: bold;
}
.map-wrapper {
    position: relative;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* RWD */
@media (max-width: 991px) {
    .branch-detail-container {
        grid-template-columns: 1fr; /* 變為單欄 */
    }
}
@media (max-width: 768px) {
    .page-title { font-size: 1.6em; }
}