body.bokee-brand-page,
body.bokee-brand-detail-page {
    background: #fbf2d8;
    color: #0b5a45;
    font-family: "Microsoft JhengHei", "Noto Sans TC", Arial, sans-serif;
}

.bokee-brand {
    overflow: hidden;
    background: #fbf2d8 url("../images/bokee/paper-bg.jpg") repeat;
}

.bokee-brand .container,
.bokee-brand-breadcrumb .container {
    max-width: 1404px;
}

.bokee-brand-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(255, 247, 223, .98) 0%, rgba(255, 247, 223, .92) 38%, rgba(255, 247, 223, .54) 55%, rgba(255, 247, 223, 0) 75%),
        url("../images/bokee/paper-bg.jpg") repeat;
}

.bokee-brand-hero__photo {
    position: absolute;
    inset: 0 0 0 42%;
    overflow: hidden;
}

.bokee-brand-hero__photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 247, 223, .78) 0%, rgba(255, 247, 223, .1) 38%, rgba(255, 247, 223, 0) 100%);
}

.bokee-brand-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bokee-brand-hero .container {
    position: relative;
    z-index: 2;
}

.bokee-brand-hero__content {
    width: min(620px, 100%);
    padding: 48px 0;
}

.bokee-brand-tag {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 2px solid #0b5a45;
    border-radius: 6px;
    background: #f4bf2e;
    color: #cf241f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
    box-shadow: 6px 6px 0 #0b5a45;
}

.bokee-brand-hero h1 {
    margin: 42px 0 14px;
    color: #075642;
    font-size: 56px;
    font-weight: 900;
    line-height: 1.05;
}

.bokee-brand-hero strong {
    display: block;
    margin-bottom: 20px;
    color: #d7241f;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.35;
}

.bokee-brand-hero p {
    width: min(560px, 100%);
    margin: 0;
    color: #5d5547;
    font-size: 15px;
    line-height: 1.9;
}

.bokee-brand-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.bokee-brand-hero__chip {
    display: inline-flex;
    width: 155px;
    height: 52px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    background: center / 100% 100% no-repeat;
    color: #0b5a45;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.bokee-brand-hero__chip--style-1 {
    background-image: url("../images/bokee/brand/brand-hero-chip-bg-1.png");
}

.bokee-brand-hero__chip--style-2 {
    background-image: url("../images/bokee/brand/brand-hero-chip-bg-2.png");
}

.bokee-brand-hero__chip--style-3 {
    width: 170px;
    background-image: url("../images/bokee/brand/brand-hero-chip-bg-3.png");
}

.bokee-brand-hero__chip img {
    flex: 0 0 auto;
    width: auto;
    max-width: 34px;
    max-height: 35px;
    height: auto;
    object-fit: contain;
}

.bokee-brand-breadcrumb {
    background: #fff9e8;
    border-top: 1px solid rgba(116, 78, 28, .14);
    border-bottom: 1px solid rgba(116, 78, 28, .16);
    color: #7a735f;
    font-size: 13px;
}

.bokee-brand-breadcrumb .container {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
}

.bokee-brand-breadcrumb a {
    color: inherit;
}

.bokee-brand-section {
    position: relative;
    padding: 94px 0;
}

.bokee-brand-title {
    width: min(760px, 100%);
    margin: 0 auto 54px;
    text-align: center;
}

.bokee-brand-title h1,
.bokee-brand-title h2 {
    margin: 34px 0 14px;
    color: #075642;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.25;
}

.bokee-brand-title p {
    margin: 0;
    color: #6b6252;
    font-size: 15px;
    line-height: 1.8;
}

.bokee-brand-title--dark h2 {
    color: #fff7df;
}

.bokee-brand-title--dark p {
    color: rgba(255, 247, 223, .76);
}

.bokee-brand-map {
    background: #075642 url("../images/bokee/news-bg.jpg?v1.032") repeat;
}

.bokee-brand-map:before,
.bokee-brand-map:after,
.bokee-brand-detail-gallery:before,
.bokee-brand-detail-gallery:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: #d6aa28;
}

.bokee-brand-map:before,
.bokee-brand-detail-gallery:before {
    top: 0;
}

.bokee-brand-map:after,
.bokee-brand-detail-gallery:after {
    bottom: 0;
}

.bokee-brand-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin: -20px 0 44px;
}

.bokee-brand-filter button {
    appearance: none;
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 3px solid #fff3bf;
    border-radius: 22px;
    background: #fff7df;
    color: #0b5a45;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 4px 5px 0 rgba(0, 0, 0, .22);
}

.bokee-brand-filter button.is-active {
    border-color: #f0ce70;
    background: #d7241f;
    color: #fff7df;
}

.bokee-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 38px 28px;
}

.bokee-brand-card {
    --brand-card-head: #9b271f;
    --brand-card-title: #fff7df;
    overflow: hidden;
    display: flex;
    min-height: 500px;
    flex-direction: column;
    border: 4px solid #e0c55f;
    border-radius: 8px;
    background: #fff5cf;
    box-shadow: 8px 10px 0 rgba(0, 0, 0, .22);
}

.bokee-brand-card__head {
    position: relative;
    display: block;
    min-height: 250px;
    background: var(--brand-card-head);
    color: #fff7df;
    text-decoration: none;
}

.bokee-brand-card__head h3 {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 16px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.06) 25%, transparent 25%) 0 0 / 24px 24px,
        var(--brand-card-head);
    color: var(--brand-card-title);
    font-size: 18px;
    font-weight: 900;
    text-align: center;
}

.bokee-brand-card--theme-red {
    --brand-card-head: #aa261f;
}

.bokee-brand-card--theme-green {
    --brand-card-head: #08765a;
}

.bokee-brand-card--theme-brown {
    --brand-card-head: #805026;
}

.bokee-brand-card--theme-burgundy {
    --brand-card-head: #7f2b24;
}

.bokee-brand-card--theme-gold {
    --brand-card-head: #c49322;
    --brand-card-title: #fffbe8;
}

.bokee-brand-card__head img,
.bokee-brand-card__no-image {
    display: block;
    width: 100%;
    height: 190px;
}

.bokee-brand-card__head img {
    object-fit: cover;
}

.bokee-brand-card__no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    background: rgba(255, 247, 223, .24);
    color: rgba(255, 247, 223, .72);
    font-size: 14px;
    text-align: center;
}

.bokee-brand-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px 22px 22px;
}

.bokee-brand-card__tag {
    align-self: flex-start;
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 14px;
    border-radius: 15px;
    background: #f4bf2e;
    color: #cf241f;
    font-size: 12px;
    font-weight: 900;
}

.bokee-brand-card__body p {
    margin: 0;
    color: #3b362d;
    font-size: 15px;
    line-height: 1.8;
}

.bokee-brand-card__headline {
    display: block;
    margin: 0 0 14px;
    color: #075642;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
}

.bokee-brand-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 30px;
}

.bokee-brand-map-button,
.bokee-brand-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 3px solid #8a3a17;
    border-radius: 20px;
    background: #f4bf2e;
    color: #cf241f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    box-shadow: 4px 4px 0 rgba(0, 86, 66, .42);
}

.bokee-brand-map-button i {
    font-size: 14px;
}

.bokee-brand-card__more {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 3px solid #8a3a17;
    border-radius: 50%;
    background: #d7241f;
    color: #fff7df;
    box-shadow: 4px 4px 0 rgba(0, 86, 66, .36);
}

.bokee-brand-card.is-hidden {
    display: none;
}

.bokee-brand-empty {
    display: flex;
    min-height: 160px;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 2px dashed rgba(7, 86, 66, .4);
    border-radius: 8px;
    color: #0b5a45;
    font-size: 15px;
    text-align: center;
}

.bokee-brand-empty--dark {
    border-color: rgba(255, 247, 223, .45);
    color: rgba(255, 247, 223, .82);
}

.bokee-brand-reports {
    padding-top: 104px;
}

.bokee-brand-report-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 26px;
}

.bokee-brand-report-card {
    overflow: hidden;
    display: flex;
    min-height: 170px;
    flex-direction: column;
    border: 3px solid #0b5a45;
    border-radius: 7px;
    background: #fff5cf;
    color: #0b5a45;
}

.bokee-brand-report-card__media {
    display: block;
    height: 168px;
    background: rgba(7, 86, 66, .08);
}

.bokee-brand-report-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bokee-brand-report-card__body {
    display: flex;
    min-height: 98px;
    flex-direction: column;
    justify-content: center;
    padding: 20px 22px;
}

.bokee-brand-report-card strong {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.45;
}

.bokee-brand-report-card small {
    color: #7a735f;
    font-size: 13px;
}

.bokee-brand-detail {
    min-height: 600px;
}

.bokee-brand-detail-main {
    padding-top: 70px;
}

.bokee-brand-detail .bokee-brand-title {
    margin-bottom: 36px;
}

.bokee-brand-detail .bokee-brand-title h1 {
    margin-top: 28px;
}

.bokee-brand-detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 64px;
    align-items: center;
    margin-bottom: 56px;
}

.bokee-brand-detail-card__media {
    overflow: hidden;
    min-height: 360px;
    border: 4px solid #d6aa28;
    border-radius: 8px;
    background: #fff5cf;
}

.bokee-brand-detail-card__media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.bokee-brand-detail-card__body h2 {
    margin: 0 0 18px;
    color: #075642;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.45;
}

.bokee-brand-detail-card__content {
    margin-bottom: 26px;
    color: #51493d;
    font-size: 15px;
    line-height: 1.9;
}

.bokee-brand-detail-info {
    display: grid;
    gap: 14px;
}

.bokee-brand-detail-info p {
    display: grid;
    grid-template-columns: 22px 88px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin: 0;
    color: #3b362d;
    font-size: 15px;
}

.bokee-brand-detail-info i {
    color: #cf241f;
    line-height: 1.55;
}

.bokee-brand-detail-info strong {
    color: #0b5a45;
    font-weight: 900;
}

.bokee-brand-map-frame {
    overflow: hidden;
    min-height: 310px;
    border: 5px solid #0b5a45;
    border-radius: 8px;
    background: #fff5cf;
    box-shadow: 8px 10px 0 rgba(0, 86, 66, .18);
}

.bokee-brand-map-frame iframe {
    display: block;
    width: 100%;
    height: 310px;
    border: 0;
}

.bokee-brand-detail-gallery {
    background: #075642 url("../images/bokee/news-bg.jpg?v1.032") repeat;
}

.bokee-brand-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.bokee-brand-gallery-grid img {
    width: 100%;
    aspect-ratio: 454 / 257;
    object-fit: cover;
    border-radius: 6px;
}

.bokee-brand-back {
    padding: 56px 0 86px;
    text-align: center;
}

.bokee-brand-button {
    min-width: 170px;
    border-color: #0b5a45;
    background: #d7241f;
    color: #fff7df;
    box-shadow: 5px 5px 0 #d6aa28;
}

@media (max-width: 1199px) {
    .bokee-brand-grid,
    .bokee-brand-report-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bokee-brand-detail-card {
        gap: 42px;
    }
}

@media (max-width: 991px) {
    .bokee-brand-hero {
        min-height: auto;
        padding-top: 280px;
    }

    .bokee-brand-hero__photo {
        inset: 0 0 auto 0;
        height: 330px;
    }

    .bokee-brand-hero__photo:after {
        background: linear-gradient(180deg, rgba(255, 247, 223, 0) 0%, rgba(255, 247, 223, .68) 70%, #fbf2d8 100%);
    }

    .bokee-brand-hero__content {
        padding: 40px 0 58px;
    }

    .bokee-brand-grid,
    .bokee-brand-report-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bokee-brand-detail-card {
        grid-template-columns: 1fr;
    }

    .bokee-brand-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .bokee-brand .container,
    .bokee-brand-breadcrumb .container {
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .bokee-brand-hero {
        padding-top: 230px;
    }

    .bokee-brand-hero__photo {
        height: 280px;
    }

    .bokee-brand-hero h1 {
        margin-top: 32px;
        font-size: 38px;
    }

    .bokee-brand-hero strong {
        font-size: 20px;
    }

    .bokee-brand-hero__chips {
        display: grid;
        grid-template-columns: 1fr;
    }

    .bokee-brand-section {
        padding: 64px 0;
    }

    .bokee-brand-title h1,
    .bokee-brand-title h2 {
        font-size: 29px;
    }

    .bokee-brand-grid,
    .bokee-brand-report-grid,
    .bokee-brand-gallery-grid {
        grid-template-columns: 1fr;
    }

    .bokee-brand-card {
        min-height: 0;
    }

    .bokee-brand-detail-card__media,
    .bokee-brand-detail-card__media img {
        min-height: 240px;
    }

    .bokee-brand-detail-info p {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .bokee-brand-detail-info strong,
    .bokee-brand-detail-info span {
        grid-column: 2;
    }

    .bokee-brand-map-frame,
    .bokee-brand-map-frame iframe {
        min-height: 240px;
        height: 240px;
    }
}
