/* ========================================
   SKINWTR 水初语 - 品牌故事页样式 brand.css
   包含：单张 Banner、SINCE 2017 标语区、了解水初语
   ======================================== */

/* ===== 1. 单张 Banner 区 ===== */
.brand-banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: var(--color-gradient-light);
}
.brand-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.brand-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== 2. SINCE 2017 品牌标语区 ===== */
.brand-service {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border);
}
.brand-service .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}
.brand-service .service-text {
    color: var(--color-text);
    line-height: 1.8;
}
.brand-service .service-text:nth-child(-n+3) {
    color: #2335B0;
}
.brand-service .service-text:nth-child(1) {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 22px;
}
.brand-service .service-text:nth-child(2) {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}
.brand-service .service-text:nth-child(3) {
    font-size: 13px;
    letter-spacing: 1px;
    opacity: .85;
    margin-bottom: 22px;
}
.brand-service .service-text--desc {
    font-size: 15px;
    color: var(--color-text-secondary);
    max-width: 720px;
    margin-top: 0;
}
.brand-service .service-year {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #DCDDDD;
    font-size: 14px;
    letter-spacing: 3px;
    margin-top: 22px;
}
.brand-service .service-year__dash {
    flex: 1;
    height: 0;
    margin: 0 18px;
    border-bottom: 2px solid #DCDDDD;
}

/* ===== 3. 了解水初语（左侧文字 + 右侧视频封面图） ===== */
.brand-power {
    background: #fff;            /* 左右 10% 空位为白底 */
    color: var(--color-primary);
    overflow: hidden;
    padding: 60px 0;            /* 上下留白，仅中间 80% 有灰底 */
}
.brand-power-inner {
    display: flex;
    align-items: stretch;
    gap: 40px;
    width: 80%;                 /* 内容宽 80%，左右各留 10% */
    margin: 0 auto;
    background: #c2c2c2;        /* 仅内容区域有灰底 */
    padding: 60px 5%;
}
.brand-power-content {
    flex: 0 0 36%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0 20px;
}
.brand-power-title {
    font-size: 44px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    letter-spacing: 2px;
    margin: 0;
}
.brand-power-bottom {
    color: var(--color-primary);
}
.brand-power-zh {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 18px;
    font-weight: 500;
}
.brand-power-en {
    font-size: 13px;
    line-height: 1.8;
    opacity: .8;
    margin-bottom: 28px;
    letter-spacing: .5px;
}
.brand-power-en strong {
    font-weight: 700;
    background: linear-gradient(transparent 65%, rgba(120,180,230,.45) 65%);
    padding: 0 2px;
}
.btn-brand-power {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    background: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
}
.btn-brand-power:hover {
    background: var(--color-primary);
    color: #fff;
}
.brand-power-image {
    flex: 1;
    position: relative;
    min-height: 380px;
    border-radius: 6px;
    overflow: hidden;
}
.brand-power-image img,
.brand-power-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.brand-power-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.brand-power-play:hover { background: rgba(255,255,255,.85); }
.brand-power-play::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin: 0 auto;
    border-style: solid;
    border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #fff;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));
}

/* ===== 4. 品牌资讯与品牌新闻公共标题栏 ===== */
.section-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}
.section-bar__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
    white-space: nowrap;
}
.section-bar__line {
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}
.section-bar__more {
    font-size: 14px;
    color: var(--color-primary);
    white-space: nowrap;
    transition: var(--transition);
}
.section-bar__more:hover { color: var(--color-primary-light); }

/* ===== 5. 品牌资讯 ===== */
.brand-info {
    background: #fff;
    padding: 60px 0;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.info-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: var(--transition);
}
.info-card:hover {
    transform: translateY(-4px);
}
.info-card:hover .info-card__image img {
    transform: scale(1.05);
}
.info-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 18px;
}
.info-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}
.info-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.5;
    margin-bottom: 12px;
}
.info-card__desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.info-card__date {
    font-size: 12px;
    color: var(--color-text-light);
    letter-spacing: 1px;
    margin-top: auto;
}

/* ===== 6. 品牌新闻 ===== */
.brand-news {
    background: #fff;
    padding: 60px 0;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: var(--transition);
}
.news-card:hover {
    transform: translateY(-4px);
}
.news-card:hover .news-card__image img {
    transform: scale(1.05);
}
.news-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 18px;
}
.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}
.news-card__image-title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(0deg, rgba(26,58,122,.85) 0%, transparent 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}
.news-card__subtitle {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.6;
    margin-bottom: 12px;
}
.news-card__desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card__date {
    font-size: 12px;
    color: var(--color-text-light);
    letter-spacing: 1px;
    margin-top: auto;
}

/* ===== 响应式：移动端 < 992px ===== */
@media (max-width: 991px) {
    .brand-banner { height: 480px; }

    .brand-service { padding: 28px 0; }
    .brand-service .service-text:nth-child(1) { font-size: 15px; }
    .brand-service .service-text:nth-child(2) { font-size: 20px; }
    .brand-service .service-text:nth-child(3) { font-size: 11px; }
    .brand-service .service-text--desc { font-size: 13px; }
    .brand-service .service-year { font-size: 12px; letter-spacing: 1px; }
    .brand-service .service-year__dash { margin: 0 10px; }

    .brand-power { padding: 32px 0; }
    .brand-power-inner { flex-direction: column; gap: 24px; width: 100%; padding: 32px 16px; }
    .brand-power-content { flex: 0 0 auto; padding: 0; }
    .brand-power-image { flex: 0 0 auto; width: 100%; min-height: 220px; }
    .brand-power-title { font-size: 28px; letter-spacing: 1px; }
    .brand-power-zh { font-size: 14px; }
    .brand-power-en { font-size: 12px; margin-bottom: 20px; }
    .brand-power-play { width: 48px; height: 48px; }
    .brand-power-play::before { border-width: 8px 0 8px 14px; }

    /* 品牌资讯 & 品牌新闻 */
    .brand-info,
    .brand-news { padding: 40px 0; }
    .section-bar { margin-bottom: 28px; gap: 16px; }
    .section-bar__title { font-size: 24px; letter-spacing: 1px; }
    .section-bar__more { font-size: 13px; }
    .info-grid,
    .news-grid { grid-template-columns: 1fr; gap: 28px; }
    .info-card__image,
    .news-card__image { aspect-ratio: 16 / 9; margin-bottom: 14px; }
    .info-card__title { font-size: 16px; }
    .news-card__image-title { font-size: 14px; padding: 12px; }
    .news-card__subtitle { font-size: 14px; }
    .info-card__desc,
    .news-card__desc { font-size: 12px; }
}

/* ===== 7. 品牌资讯/新闻 详情页 ===== */
.brand-detail {
    background: #fff;
    padding: 64px 0 80px;
}
.brand-detail .container {
    max-width: 880px;
}
.brand-detail__title {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.4;
    letter-spacing: 1px;
    margin: 0 0 14px;
}
.brand-detail__time {
    font-size: 13px;
    color: var(--color-text-light);
    letter-spacing: 1px;
    margin-bottom: 28px;
}
.brand-detail__content {
    font-size: 15px;
    line-height: 1.9;
    color: var(--color-text-secondary);
}
.brand-detail__content p { margin: 0 0 16px; }
.brand-detail__content img { max-width: 100%; height: auto; border-radius: 6px; }
.brand-detail__back {
    display: inline-block;
    margin-top: 36px;
    padding: 10px 28px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
}
.brand-detail__back:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ===== 详情页响应式 ===== */
@media (max-width: 991px) {
    .brand-detail { padding: 40px 0 56px; }
    .brand-detail__title { font-size: 22px; }
    .brand-detail__content { font-size: 14px; }
}
