:root {
    --run7-ink: #17202a;
    --run7-muted: #65717d;
    --run7-line: #dfe5e8;
    --run7-surface: #ffffff;
    --run7-accent: var(--theme-color-primary, #087f8c);
}

.run7-theme {
    min-height: 100vh;
    color: var(--run7-ink);
    background: #f5f7f8;
}

.run7-header {
    position: relative;
    top: 0 !important;
    z-index: 20;
    min-height: 76px;
    border-bottom: 1px solid var(--run7-line);
    background: rgba(255, 255, 255, 0.97);
}

.run7-header .run7-logo-text {
    min-width: 64px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    color: var(--run7-accent);
    font-size: 26px;
    font-weight: 700;
}

.run7-header-inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto minmax(120px, 1fr) auto auto;
    align-items: center;
    gap: 24px;
}

.run7-header .logo img {
    display: block;
    width: auto;
    max-width: 180px;
    height: 48px;
    object-fit: contain;
}

.run7-site-title {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.run7-site-title strong {
    overflow: hidden;
    font-size: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.run7-site-title span {
    overflow: hidden;
    color: var(--run7-muted);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.run7-header .nav {
    position: static;
}

.run7-header .nav-mask {
    display: none;
}

.run7-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.run7-header-actions > a,
.run7-search button,
.run7-header .nav-toggle {
    width: 38px;
    height: 38px;
    border: 1px solid var(--run7-line);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--run7-ink);
    background: #fff;
}

.run7-header .nav-toggle {
    display: none;
}

.run7-search {
    display: flex;
    align-items: center;
}

.run7-search input {
    width: 0;
    height: 38px;
    padding: 0;
    border: 0;
    transition: width 180ms ease, padding 180ms ease, border-color 180ms ease;
}

.run7-search:focus-within input {
    width: 180px;
    padding: 0 10px;
    border: 1px solid var(--run7-line);
    border-right: 0;
}

.run7-main {
    min-height: 52vh;
}

.run7-home-banner {
    overflow: hidden;
    background: #fff;
}

.run7-home-banner .ub-banner {
    max-width: none;
}

.run7-home-partners .item-n {
    min-height: 88px;
}

.run7-home-partners .item-n .cover {
    border: 1px solid var(--run7-line);
    background-color: var(--run7-surface);
}

.run7-book {
    max-width: 920px;
    padding-top: 28px;
    padding-bottom: 48px;
}

.run7-book-switcher {
    margin: 18px 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    border-bottom: 1px solid var(--run7-line);
}

.run7-book-switcher a {
    padding: 10px 0 8px;
    color: var(--run7-muted);
    border-bottom: 3px solid transparent;
}

.run7-book-switcher a.active {
    color: var(--run7-accent);
    border-bottom-color: var(--run7-accent);
}

.run7-book-form {
    max-width: 620px;
}

.run7-book-field {
    margin-bottom: 18px;
}

.run7-book-field > label {
    margin-bottom: 7px;
    display: block;
    font-weight: 600;
}

.run7-book-field > label span {
    margin-left: 4px;
    color: #c43d32;
}

.run7-book-field input.form-lg,
.run7-book-field textarea.form-lg,
.run7-book-field select.form-lg {
    width: 100%;
}

.run7-book-options {
    min-height: 42px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
}

.run7-book-options label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.run7-home-contact {
    background: #f5f7f8;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.run7-home-contact-grid {
    padding: 42px 0 54px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 3fr);
    gap: 56px;
}

.run7-home-contact-form {
    max-width: none;
}

.run7-footer {
    margin-top: 48px;
    color: #eaf0f2;
    background: #202a31;
}

.run7-footer-grid {
    min-height: 150px;
    padding-top: 36px;
    padding-bottom: 36px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.run7-footer-grid h4 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 17px;
}

.run7-footer-grid .ub-html,
.run7-footer-grid .ub-html a {
    color: #d5dfe3;
    line-height: 1.9;
}

.run7-footer-contact,
.run7-footer-nav {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.run7-footer-nav {
    justify-content: flex-end;
}

.run7-footer a {
    color: #eaf0f2;
}

.run7-footer-meta {
    min-height: 46px;
    padding: 12px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 18px;
    color: #bac6cc;
    border-top: 1px solid #3b464d;
    background: #182127;
}

.run7-layout-bottom01 .run7-header-inner {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "title logo actions" "nav nav nav";
    padding-top: 12px;
    padding-bottom: 8px;
}

.run7-layout-bottom01 .logo { grid-area: logo; }
.run7-layout-bottom01 .run7-site-title { grid-area: title; }
.run7-layout-bottom01 .nav { grid-area: nav; justify-self: center; }
.run7-layout-bottom01 .run7-header-actions { grid-area: actions; justify-self: end; }

.run7-layout-float01 .run7-header,
.run7-layout-float02 .run7-header,
.run7-layout-float05 .run7-header,
.run7-layout-float03-resp .run7-header,
.run7-layout-noslider-float .run7-header {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.25);
    background: #17202ae8;
}

.run7-layout-float02 .run7-header {
    position: absolute;
    top: 6px !important;
    left: 0;
    right: 0;
    min-height: 88px;
    border-bottom-color: rgba(255, 255, 255, 0.28);
    background: transparent;
}

.run7-layout-float02 .run7-header-inner {
    min-height: 88px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
}

.run7-layout-float02 .run7-site-title,
.run7-layout-float02 .run7-member-entry {
    display: none;
}

.run7-layout-float02 .run7-header .logo img {
    max-width: 220px;
    height: 70px;
}

.run7-layout-float02 .run7-header .nav {
    justify-self: end;
}

.run7-layout-float02 .run7-header .nav a,
.run7-layout-float02 .run7-header .nav .iconfont {
    color: #fff;
}

.run7-layout-float02 .run7-search button {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.38);
    background: transparent;
}

.run7-layout-float02 .run7-home-banner .ub-banner,
.run7-layout-float02 .run7-home-banner .swiper-container,
.run7-layout-float02 .run7-home-banner .swiper-wrapper,
.run7-layout-float02 .run7-home-banner .swiper-slide,
.run7-layout-float02 .run7-home-banner .swiper-slide .cover {
    height: 100vh;
    min-height: 560px;
}

.run7-layout-float02 .run7-home-banner .swiper-slide .cover:after {
    display: none;
}

.run7-layout-float02 .run7-home-banner .swiper-slide .cover:before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(11, 32, 48, 0.42);
}

.run7-layout-float02 .run7-home-banner .swiper-slide .content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.run7-layout-float02 .run7-home-banner .swiper-slide.a .cover .content .slogan {
    color: #fff;
    font-size: 28px;
}

.run7-layout-float02 .run7-home-banner .swiper-slide.a .cover .content .link {
    min-width: 176px;
    border-color: rgba(255, 255, 255, 0.55);
    border-radius: 4px;
    color: #fff;
    background: rgba(23, 32, 42, 0.78);
}
.run7-layout-float05 .run7-header { background: #162f3ae8; }
.run7-layout-float03-resp .run7-header { background: #253746e8; }
.run7-layout-noslider-float .run7-header { background: #27343a; }

.run7-layout-float01 .run7-site-title span,
.run7-layout-float02 .run7-site-title span,
.run7-layout-float05 .run7-site-title span,
.run7-layout-float03-resp .run7-site-title span,
.run7-layout-noslider-float .run7-site-title span {
    color: #d9e3e7;
}

.run7-layout-onepage .run7-header {
    border-bottom: 4px solid var(--run7-accent);
}

.run7-layout-dec03 .run7-header {
    min-height: 62px;
    border-bottom: 0;
    box-shadow: 0 3px 14px rgba(23, 32, 42, 0.12);
}

.run7-layout-dec03 .run7-header-inner {
    min-height: 62px;
}

.run7-layout-mb201 {
    --run7-accent: #1b6b64;
    --run7-ink: #18312f;
    background: #f3f7f6;
}

.run7-layout-mb201 .run7-header {
    border-top: 5px solid #d4a72c;
}

.run7-layout-mb003 {
    --run7-accent: #d9481f;
    --run7-ink: #25282b;
    background: #f7f7f5;
}

.run7-layout-mb003 .run7-header {
    border-top: 5px solid #d9481f;
    background: #fff;
}

@media (max-width: 991px) {
    .run7-header-inner,
    .run7-layout-bottom01 .run7-header-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "logo title toggle";
        gap: 12px;
        min-height: 64px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .run7-header .logo { grid-area: logo; }
    .run7-header .run7-site-title { grid-area: title; }
    .run7-header .nav-toggle {
        position: static;
        grid-area: toggle;
        display: inline-flex;
    }

    .run7-home-contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 0 36px;
    }

    .run7-layout-float02 .run7-header {
        top: 0 !important;
        min-height: 64px;
        background: rgba(23, 32, 42, 0.9);
    }

    .run7-layout-float02 .run7-header-inner {
        min-height: 64px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "logo nav toggle";
    }

    .run7-layout-float02 .run7-header .logo img {
        max-width: 150px;
        height: 48px;
    }

    .run7-layout-float02 .run7-home-banner .ub-banner,
    .run7-layout-float02 .run7-home-banner .swiper-container,
    .run7-layout-float02 .run7-home-banner .swiper-wrapper,
    .run7-layout-float02 .run7-home-banner .swiper-slide,
    .run7-layout-float02 .run7-home-banner .swiper-slide .cover {
        min-height: 480px;
        height: 100svh;
    }
    .run7-header .nav { position: fixed; }
    .run7-header-actions { display: none; }
    .run7-header .logo img { max-width: 132px; height: 42px; }
    .run7-header .run7-logo-text { min-width: 54px; height: 42px; font-size: 22px; }
    .run7-site-title strong { font-size: 15px; }

    .run7-footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .run7-footer-nav {
        justify-content: flex-start;
    }
}

.run7-section-heading {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.run7-section-heading h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.25;
}

.run7-section-heading p {
    margin: 10px 0 0;
    color: var(--run7-muted);
}

.run7-collection {
    padding-top: 48px;
    padding-bottom: 48px;
}

.run7-collection-grid {
    display: grid;
    grid-template-columns: repeat(var(--run7-columns), minmax(0, 1fr));
    gap: 20px;
}

.run7-collection-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--run7-line);
    border-radius: 6px;
    background: var(--run7-surface);
}

.run7-collection-card > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
}

.run7-collection-card-body {
    padding: 20px;
}

.run7-collection-card h3,
.run7-sticky-section h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.run7-collection-summary {
    color: var(--run7-muted);
}

.run7-collection-content img,
.run7-tab-panel img,
.run7-sticky-section img,
.run7-notice-content img {
    max-width: 100%;
    height: auto;
}

.run7-collection-link {
    margin-top: 14px;
    display: inline-block;
    color: var(--run7-accent);
    font-weight: 600;
}

.run7-collection-testimonial .run7-collection-card {
    border-left: 4px solid var(--run7-accent);
}

.run7-collection-testimonial .run7-collection-card > img {
    width: 72px;
    height: 72px;
    margin: 20px 20px 0;
    border-radius: 50%;
}

.run7-accordion-item {
    border-bottom: 1px solid var(--run7-line);
    background: var(--run7-surface);
}

.run7-accordion-item:first-child {
    border-top: 1px solid var(--run7-line);
}

.run7-accordion-item button {
    width: 100%;
    min-height: 54px;
    padding: 12px 18px;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--run7-ink);
    background: transparent;
    text-align: left;
}

.run7-accordion-panel {
    padding: 0 18px 20px;
}

.run7-tab-list {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--run7-line);
}

.run7-tab-list button {
    min-height: 46px;
    padding: 10px 18px;
    border: 0;
    border-bottom: 3px solid transparent;
    flex: 0 0 auto;
    color: var(--run7-muted);
    background: transparent;
}

.run7-tab-list button[aria-selected="true"] {
    border-bottom-color: var(--run7-accent);
    color: var(--run7-accent);
}

.run7-tab-panel {
    min-height: 160px;
    padding: 24px;
    background: var(--run7-surface);
}

.run7-tab-panel[hidden],
.run7-accordion-panel[hidden] {
    display: none;
}

.run7-sticky-layout {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 32px;
}

.run7-sticky-layout nav {
    position: sticky;
    top: 20px;
    align-self: start;
    border-left: 3px solid var(--run7-line);
}

.run7-sticky-layout nav a {
    padding: 8px 14px;
    display: block;
    color: var(--run7-muted);
}

.run7-sticky-section {
    min-height: 180px;
    padding: 24px 0;
    border-bottom: 1px solid var(--run7-line);
    scroll-margin-top: 20px;
}

.run7-notice-open {
    overflow: hidden;
}

.run7-notice {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.run7-notice[hidden] {
    display: none;
}

.run7-notice-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 22, 28, 0.7);
}

.run7-notice-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 28px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
}

.run7-notice-dialog h2 {
    margin: 0 42px 18px 0;
    font-size: 24px;
}

.run7-notice-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.run7-component-editor-item {
    position: relative;
    padding: 8px 0;
    border: 1px solid #eee;
    border-radius: 4px;
}

.run7-component-editor-remove {
    position: absolute;
    top: 6px;
    right: 10px;
}

@media (max-width: 767px) {
    .run7-section-heading h2 { font-size: 24px; }
    .run7-collection { padding-top: 32px; padding-bottom: 32px; }
    .run7-collection-grid { grid-template-columns: 1fr; }
    .run7-sticky-layout { grid-template-columns: 1fr; gap: 14px; }
    .run7-sticky-layout nav { position: static; display: flex; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--run7-line); }
    .run7-sticky-layout nav a { flex: 0 0 auto; }
    .run7-notice-dialog { padding: 22px; }
}
