/* ==========================================
   Green Securities Page Styles
   ========================================== */

/* --- Breadcrumb --- */
.is-975fd732 {
    margin-top: var(--header-height);
    background: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.is-0d63bb10 {
    color: var(--primary-blue);
}

/* --- Eyebrow Tag --- */
.gs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #e0f2f1;
    color: var(--primary-blue);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.gs-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-blue);
}

/* --- Badge --- */
.gs-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e0f2f1;
    color: var(--primary-blue);
    font-size: 0.92rem;
    font-weight: 700;
}

/* --- Source Card (左側色條，無 icon 高級感) --- */
.gs-source-card {
    padding: 14px 16px;
    background: #f8fdfb;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--primary-blue);
    transition: border-left-color 0.3s ease, box-shadow 0.3s ease;
}

.gs-source-card:hover {
    border-left-color: var(--accent-gold);
    box-shadow: 0 2px 10px rgba(0, 77, 64, 0.06);
}

/* --- Level Card Header --- */
.gs-level-header {
    padding: 18px 20px;
    background: #e0f2f1;
    border-bottom: 1px solid var(--border-light);
}

/* --- Metric Row --- */
.gs-metric {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.gs-metric:last-child {
    border-bottom: 0;
}

.gs-metric-label {
    min-width: 90px;
    font-weight: 700;
    color: var(--primary-blue);
    flex-shrink: 0;
}

/* --- Date Badge (Timeline) --- */
.gs-date {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    min-width: 80px;
    flex-shrink: 0;
    min-height: 46px;
    padding: 8px 12px;
    border-radius: 14px;
    background: #f5eedf;
    color: #765a22;
    font-weight: 800;
    text-align: center;
    line-height: 1.3;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* --- Note Box --- */
.gs-note {
    margin-top: 16px;
    padding: 20px 24px;
    background: #fffdf8;
    border: 1px solid #eadfc8;
    border-radius: 12px;
    color: #5f5239;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Source Text --- */
.gs-source {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
}

.gs-external-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.gs-external-link:hover {
    color: var(--accent-red);
}

/* --- Quick List (restore bullets) --- */
.gs-quick-list {
    list-style-type: disc;
    padding-left: 1.25em;
}

.gs-quick-list li {
    margin-top: 10px;
    line-height: 1.7;
}

/* --- Plain List (restore bullets) --- */
.gs-plain-list {
    list-style-type: disc;
    padding-left: 1.25em;
}

.gs-plain-list li {
    margin-top: 10px;
    line-height: 1.7;
}

/* ==========================================
   RWD
   ========================================== */
@media (max-width: 860px) {
    .gs-metric {
        flex-direction: column;
        gap: 4px;
    }
}

/* ==========================================
   色彩精緻化：僅作用於卡片內部
   ========================================== */

/* --- content-box 微暖白底色 + 標題字體精緻化 --- */
.content-box {
    background: #f9fbfa;
}

.content-box h2 {
    color: #00574d !important;          /* 主色加深，對比更強 */
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.content-box p {
    line-height: 1.8 !important;
}

/* --- 子卡片（gs-sub-card）：品牌自訂淺色 --- */
.gs-sub-card {
    padding: 18px 20px;
    background: #eef7f5;                /* 從 #00796b 衍生的品牌淺色 */
    border-radius: 12px;
    border: 1px solid #d4ecea;          /* 低飽和度邊框 */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gs-sub-card h3 {
    color: #00574d !important;
    line-height: 1.3;
}

.gs-sub-card p {
    color: #3d6460 !important;
    line-height: 1.75 !important;
    opacity: 1 !important;
}

.gs-sub-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 2px 10px rgba(0, 77, 64, 0.07);
}

/* --- 年度流程步驟卡 --- */
.gs-step-card {
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #d4ecea;
    border-radius: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gs-step-card h3 {
    color: #00574d;
    letter-spacing: -0.01em;
}

.gs-step-card p {
    color: #3d6460;
    line-height: 1.75;
}

.gs-step-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 2px 12px rgba(0, 87, 77, 0.08);
}

/* --- 分級卡標頭：微漸層 --- */
.gs-level-header {
    padding: 18px 20px;
    background: linear-gradient(135deg, #e5f4f2 0%, #f0f8f7 100%);
    border-bottom: 1px solid #d4ecea;
}

.gs-level-header h3 {
    color: #00574d !important;
}

/* --- 對比區塊（ESG vs 綠色證券）--- */
.gs-compare-neutral {
    padding: 16px;
    background: #f5f6f5;
    border: 1px solid #dde3e2;
    border-radius: 12px;
    color: #5a6360;
}

.gs-compare-neutral p {
    color: #5a6360 !important;
    opacity: 1 !important;
    line-height: 1.5 !important;
}

.gs-compare-brand {
    padding: 16px;
    background: #eef7f5;
    border: 1px solid #cce5e2;
    border-radius: 12px;
}

.gs-compare-brand p {
    color: #3d6460 !important;
    opacity: 1 !important;
    line-height: 1.5 !important;
}

.gs-compare-label {
    display: block;
    font-size: 1.85rem !important; /* 約為描述文字的兩倍大 */
    font-weight: 800 !important;
    margin-bottom: 6px !important;
    letter-spacing: -0.01em;
}

.gs-compare-neutral .gs-compare-label {
    color: #5a6360 !important;
}

.gs-compare-brand .gs-compare-label {
    color: #00574d !important;
}

/* --- Badge 精緻化：改為白底 + 品牌色邊框 --- */
.gs-badge {
    background: #ffffff;
    border: 1.5px solid var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, color 0.2s ease;
}

.gs-badge:hover {
    background: #eef7f5;
}

/* --- gs-date 文字色加深 --- */
.gs-date {
    color: #5d4512;
}

/* 英文標籤允許換行，維持原本 80px 寬度 */
:lang(en) .gs-date {
    white-space: normal;
    word-break: break-word;
}

/* 頁面標題區 - 垂直置中、文字非左 */
.page-header {
    display: flex;
    align-items: center;
    min-height: 280px;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    margin-top: 0 !important;
}
.page-header .container {
    width: 100%;
    text-align: left;
}
.page-header .text-lg {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

/* 英文頁面標題：提高特異性確保一行 */
:lang(en) .page-header .page-title {
    font-size: clamp(2rem, 3.6vw, 3.4rem) !important;
    white-space: nowrap;
    letter-spacing: 0;
    text-align: left;
}

/* --- 不宜認證排除情形 (Exclusion Items) --- */
.gs-exclusion-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: #fffafa;
    border: 1px solid #fce4e4;
    border-left: 4px solid #ef5350;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.gs-exclusion-item::before {
    content: "\f057"; /* FontAwesome circle-xmark */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ef5350;
    margin-top: 2px;
}

/* --- 資料來源標籤 (Source Tags) --- */
.gs-source-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.gs-source-tag {
    padding: 6px 14px;
    background: #f0f7f4;
    border: 1px solid #b2dfdb;
    border-radius: 6px;
    color: #00695c;
    font-size: 0.875rem;
    font-weight: 500;
}

/* --- 查核機制區塊 (Verify Box) --- */
.gs-verify-box {
    padding: 20px;
    background: linear-gradient(135deg, #00796b 0%, #004d40 100%);
    border-radius: 12px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 77, 64, 0.15);
}

.gs-verify-box h4 {
    color: #ffffff !important;
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gs-verify-box h4::before {
    content: "\f21b"; /* FontAwesome address-card */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.gs-verify-box p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.92rem;
    margin-bottom: 0;
    line-height: 1.6 !important;
}


