/* Big Family custom styles */

/* ===== Big Family warm style ===== */

/* Main page background */
body.tiki {
    background-color: #f8eee8 !important;
}

/* ===== Big Family sidebar modules ===== */

/* Left and right sidebar cards */
#col2 .card.module,
#col3 .card.module {
    border: 1px solid #d8b9aa !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 10px rgba(110, 75, 60, 0.12) !important;
    overflow: hidden;
}

/* Sidebar module headers */
#col2 .card.module .card-header,
#col3 .card.module .card-header {
    border-bottom: 1px solid #d8b9aa !important;
    box-shadow: none !important;
}

/* ===== Big Family sidebar colors ===== */

/* Deeper warm-brown border */
#col2 .card.module,
#col3 .card.module {
    border-color: #b98f7c !important;
}

/* Darker milk-tea module headers */
#col2 .card.module .card-header,
#col3 .card.module .card-header {
    background: #c8a78f !important;
    border-bottom-color: #b98f7c !important;
    color: #49362e !important;
}

/* Header title and links */
#col2 .card.module .card-header a,
#col3 .card.module .card-header a,
#col2 .card.module .card-title,
#col3 .card.module .card-title {
    color: #49362e !important;
}

/* Sidebar header text - deep brown */
#col2 .card.module .card-header,
#col3 .card.module .card-header,
#col2 .card.module .card-header a,
#col3 .card.module .card-header a,
#col2 .card.module .card-title,
#col3 .card.module .card-title {
    color: #3b241c !important;
}

/* ===== Big Family header ===== */

/* Warm milk-tea header */
#page-header,
#main-navbar,
#main-navbar .container-fluid,
#top_modules {
    background-color: #ead0bd !important;
}

/* Replace Neubrutiki's heavy black header line */
#page-header,
#main-navbar {
    border-color: #8b6655 !important;
    box-shadow: none !important;
}

#main-navbar {
    border-bottom: 2px solid #8b6655 !important;
}

/* Header text */
#page-header .sitetitle,
#page-header .sitesubtitle,
#page-header .btn-link,
#page-header a {
    color: #3b241c !important;
}

/* ===== Big Family typography ===== */

/* General text: clear and easy to read */
body.tiki {
    font-family: "Noto Sans TC", "Microsoft JhengHei",
                 "PingFang TC", Arial, sans-serif !important;
    color: #3b302b;
}

/* Site title */
#page-header .sitetitle {
    font-family: Georgia, "Times New Roman",
                 "Noto Serif TC", serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

/* Site subtitle */
#page-header .sitesubtitle {
    font-family: "Noto Serif TC", "Microsoft JhengHei",
                 serif !important;
    font-weight: 600 !important;
}

/* Left/right module titles */
#col2 .card-title,
#col3 .card-title,
#col2 .tiki-card-header-title,
#col3 .tiki-card-header-title {
    font-family: "Noto Sans TC", "Microsoft JhengHei",
                 sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
}

/* Main page headings */
#col1 h1,
#col1 h2,
#col1 h3 {
    font-family: Georgia, "Noto Serif TC",
                 "Microsoft JhengHei", serif !important;
    color: #3b241c;
}

/* ===== Big Family Arial typography ===== */

body.tiki,
#page-header .sitetitle,
#page-header .sitesubtitle,
#col1 h1,
#col1 h2,
#col1 h3,
#col2 .card-title,
#col3 .card-title,
#col2 .tiki-card-header-title,
#col3 .tiki-card-header-title {
    font-family: Arial, "Noto Sans TC", "Microsoft JhengHei",
                 "PingFang TC", sans-serif !important;
}

/* Big Family site title */
#page-header .sitetitle {
    font-weight: 700 !important;
}

/* =========================================================
   Big Family HomePage
   老家背景
   ========================================================= */

body.bigfamily-homepage {
    background-image:
        url("../../../media/picture/home.png") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}


/* =========================================================
   Big Family 世界氣象
   ========================================================= */

#bigfamily-weather {
    font-family: Arial, "Noto Sans TC", "Microsoft JhengHei",
                 "PingFang TC", sans-serif;
}

/* 搜尋列 */
#bigfamily-weather .bf-weather-search {
    display: flex;
    width: 100%;
    gap: 5px;
    margin-bottom: 10px;
}

/* 城市輸入框 */
#bigfamily-weather #bf-weather-city {
    min-width: 0;
    width: 100%;
    height: 34px;
    padding: 5px 7px;
    border: 1px solid #b9967c;
    border-radius: 5px;
    background: #fff;
    font-size: 15px;
    box-sizing: border-box;
}

/* 查詢按鈕 */
#bigfamily-weather #bf-weather-search-button {
    flex: 0 0 auto;
    min-width: 48px;
    height: 34px;
    padding: 4px 8px;
    border: 1px solid #8f674d;
    border-radius: 5px;
    background: #c9a78e;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* 滑鼠移到按鈕 */
#bigfamily-weather #bf-weather-search-button:hover {
    background: #b99175;
}

/* 氣象結果 */
#bf-weather-status {
    padding: 2px 1px 4px;
    font-size: 15px;
    line-height: 1.55;
}

/* 城市名稱 */
#bf-weather-status .bf-weather-location {
    font-weight: 600;
    margin-bottom: 2px;
}

/* 現在溫度 */
#bf-weather-status .bf-weather-temperature {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

/* 天氣狀態 */
#bf-weather-status .bf-weather-description {
    margin-top: 1px;
}

/* 最高最低溫 */
#bf-weather-status .bf-weather-range {
    margin-top: 2px;
    font-size: 14px;
}

