/**
* subsidiary-brands.css
* 
* 作者：莫哥
* 日期：2026/06/01
* 版本：1.0.0
*/
.pt-50 {
    padding-top: 90px !important;
}
.brand-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.brand-card .brand-image {
    width: 100%;
    height: 120px;           
    overflow: hidden;
    background: #f8f9fa;
}
.brand-card .brand-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;           
    display: block;
}
/* 信息区域 */
.brand-card .brand-info {
    padding: 14px 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.brand-card .brand-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
    text-align: center;
}
.brand-card .brand-description {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    flex: 1;
    margin-bottom: 0;
}
/* 页面标题 18px */
.page-title {
    font-size: 18px !important;
    font-weight: 700;
    color: #333;
}

/* 标签标题文字 16px（如“旗下品牌”、“品牌故事”） */
.section-title {
    font-size: 16px !important;
    font-weight: 700;
    color: #333;
}

/* 普通文字链接 14px */
a,
.text-link {
    font-size: 14px;
}

/* 按钮文字 16px（预留） */
.btn {
    font-size: 16px !important;
}

/* 正文文本 14px，行高 1.8 */
body,
p,
.brand-description,
.brand-story-content,
.brand-card .brand-description {
    font-size: 14px !important;
    line-height: 1.8 !important;
}

/* 表单文字 14px */
input,
textarea,
select,
.form-control {
    font-size: 14px !important;
}

/* ===== 品牌卡片样式 ===== */
.brand-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.brand-card .brand-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f9fa;
}
.brand-card .brand-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.brand-card .brand-info {
    padding: 14px 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.brand-card .brand-title {
    font-size: 16px;           /* 标签标题文字 16px */
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.brand-card .brand-description {
    font-size: 14px;           /* 正文 14px */
    line-height: 1.8;
    color: #666;
    flex: 1;
    margin-bottom: 0;
}

/* ===== 品牌故事样式 ===== */

/* 品牌故事图片 - 固定 500x500 正方形 */
.brand-story-image {
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    max-width: 100%;
}
.brand-story-wrapper {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}
.brand-story-body {
    background: #fff;
}
.brand-story-title {
    font-size: 18px;           /* 页面标题 18px */
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 12px;
}
.brand-story-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4A90D9, #764ba2);
    border-radius: 2px;
}
.brand-story-content {
    font-size: 14px;           /* 正文 14px */
    line-height: 1.8;
    color: #555;
}
.story-gallery img {
    transition: transform 0.2s;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
}
.story-gallery img:hover {
    transform: scale(1.05);
}

/* 交替布局：奇数项图片在右，文字在左 */
.story-reverse .row {
    flex-direction: row-reverse;
}

/* ===== 响应式 ===== */
@media (max-width: 767.98px) {
    .brand-story-title {
        font-size: 16px;
    }
    .brand-card .brand-title {
        font-size: 15px;
    }
    .brand-card .brand-description {
        font-size: 13px;
    }
    .brand-story-content {
        font-size: 13px;
    }
    /* 移动端取消交替布局，统一图片在上 */
    .story-reverse .row {
        flex-direction: column-reverse;
    }
    .brand-story-wrapper .row {
        flex-direction: column-reverse;
    }
}
