/*
 Theme Name:   Bricks Child Theme
 Description:  Towin Textile front-end child theme for Bricks.
 Author:       技术支持:大鱼海棠 wx-euwu6l8ar2io0
 Template:     bricks
 Version: 1.9.9
 Text Domain:  bricks-child
*/
:root{
  --tfb-container:1320px;
  --tfb-page-bg:#ffffff;
  --tfb-color-text:#162032;
  --tfb-color-muted:#627088;
  --tfb-color-border:#e5e7eb;
  --tfb-color-primary:#0f766e;
  --tfb-color-primary-dark:#115e59;
  --tfb-radius-lg:24px;
  --tfb-radius-md:18px;
}
body{background:var(--tfb-page-bg);color:var(--tfb-color-text);font-family:"Lato",sans-serif;font-weight:300;}
h1,h2,h3,h4,h5,h6,.tfb-section-title,.tfb-hero__title,.tfb-main-category-card__title{font-family:"Prata",serif;font-weight:400;}
.site-content,.brxe-section{max-width:none;}


/* Towin site shell v1.6.0 */
:root{
  --tfb-shell-header-h:84px;
  --tfb-shell-surface:rgb(18 118 110);
  --tfb-shell-border:rgba(255,255,255,.16);
  --tfb-shell-shadow:0 12px 32px rgba(2,12,27,.12);
  --tfb-shell-dark:#0b1d34;
}
html{scroll-behavior:smooth;}
body.admin-bar .tfb-site-header{top:32px;}
body.tfb-front-page .tfb-site-header{position:fixed;top:0;left:0;right:0;z-index:1000;background:transparent;border-bottom:0;box-shadow:none;transition:background .25s ease,border-color .25s ease,box-shadow .25s ease;}
body:not(.tfb-front-page) .tfb-site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(15,23,42,.08);box-shadow:0 10px 24px rgba(15,23,42,.06);}body.tfb-front-page.tfb-header-scrolled .tfb-site-header{background:rgb(18 118 110);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.14);box-shadow:0 12px 30px rgba(2,12,27,.24);}
.tfb-site-header__inner{width:min(100% - 32px,var(--tfb-container));margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:var(--tfb-shell-header-h);transition:min-height .25s ease;}body.tfb-front-page.tfb-header-scrolled .tfb-site-header__inner{min-height:72px;}
.tfb-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:inherit;min-width:0;}
.tfb-brand__mark{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#041c46 0%,#0f766e 100%);display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:800;letter-spacing:.08em;box-shadow:0 8px 20px rgba(15,118,110,.25);flex:none;}
.tfb-brand__text{display:flex;flex-direction:column;min-width:0;}
.tfb-brand__name{font-size:18px;font-weight:700;line-height:1.1;letter-spacing:-.01em;font-family:"Lato",sans-serif;}
.tfb-brand__tagline{font-size:12px;line-height:1.2;color:var(--tfb-color-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.tfb-front-page .tfb-brand__name, body.tfb-front-page .tfb-nav a, body.tfb-front-page .tfb-header-action--ghost, body.tfb-front-page .tfb-header-search{color:#fff;}
body.tfb-front-page .tfb-brand__tagline{color:rgba(255,255,255,.84);} body.tfb-front-page .tfb-nav a, body.tfb-front-page .tfb-nav .menu-item a, body.tfb-front-page .tfb-brand__name, body.tfb-front-page .tfb-header-search, body.tfb-front-page .tfb-header-action--ghost{color:#fff !important;} body.tfb-front-page.tfb-header-scrolled .tfb-brand__name, body.tfb-front-page.tfb-header-scrolled .tfb-brand__tagline, body.tfb-front-page.tfb-header-scrolled .tfb-nav a, body.tfb-front-page.tfb-header-scrolled .tfb-header-search{color:#fff !important;}
.tfb-nav-wrap{display:flex;align-items:center;gap:18px;margin-left:auto;}
.tfb-nav{display:flex;align-items:center;}
.tfb-nav ul{display:flex;align-items:center;gap:28px;list-style:none;margin:0;padding:0;}
.tfb-nav li{margin:0;padding:0;position:relative;}
.tfb-nav a,.tfb-nav__link{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;font-size:16px;font-weight:700;color:var(--tfb-color-text);transition:.2s ease;font-family:"Lato",sans-serif;}
.tfb-nav a:hover,.tfb-nav__link:hover{color:var(--tfb-color-primary-dark);}
.tfb-header-actions{display:flex;align-items:center;gap:12px;}
.tfb-header-search{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);backdrop-filter:blur(8px);color:#fff;cursor:pointer;transition:.2s ease;}
.tfb-header-search:hover{transform:translateY(-1px);background:rgba(255,255,255,.16);}
body:not(.tfb-front-page) .tfb-header-search{border-color:rgba(15,23,42,.12);background:#fff;color:var(--tfb-color-text);box-shadow:var(--tfb-shadow-soft);}
.tfb-header-search svg{width:20px;height:20px;display:block;}
.tfb-search-panel{position:fixed;inset:0;background:rgba(2,12,27,.48);backdrop-filter:blur(8px);opacity:0;visibility:hidden;pointer-events:none;transition:.22s ease;z-index:1400;}
.tfb-search-panel.is-open{opacity:1;visibility:visible;pointer-events:auto;}
.tfb-search-panel__dialog{width:min(92vw,760px);margin:10vh auto 0;background:#fff;border-radius:28px;box-shadow:0 32px 80px rgba(2,12,27,.24);padding:28px;}
.tfb-search-panel__top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;}
.tfb-search-panel__title{margin:0;font-family:"Prata",serif;font-size:28px;color:var(--tfb-color-text);}
.tfb-search-close{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;border:1px solid rgba(15,23,42,.12);background:#fff;color:var(--tfb-color-text);cursor:pointer;}
.tfb-search-form{display:flex;gap:14px;align-items:center;}
.tfb-search-form input[type="search"]{flex:1;min-height:58px;border-radius:18px;border:1px solid var(--tfb-color-border);padding:0 20px;font-size:18px;color:var(--tfb-color-text);background:#fff;}
.tfb-search-form button{min-height:58px;padding:0 28px;border-radius:18px;border:0;background:var(--tfb-color-primary);color:#fff;font-weight:700;cursor:pointer;}

.tfb-header-action{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:999px;font-size:14px;font-weight:700;text-decoration:none;border:1px solid transparent;transition:.2s ease;white-space:nowrap;}
.tfb-header-action:hover{transform:translateY(-1px);}
.tfb-header-action--primary{background:var(--tfb-color-primary);color:#fff;box-shadow:0 10px 20px rgba(15,118,110,.22);}
.tfb-header-action--primary:hover{background:var(--tfb-color-primary-dark);color:#fff;}
.tfb-header-action--ghost{background:transparent;border-color:rgba(255,255,255,.45);color:#fff;}
body:not(.tfb-front-page) .tfb-header-action--ghost{border-color:rgba(15,23,42,.12);color:var(--tfb-color-text);}
.tfb-nav-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid rgba(15,23,42,.12);border-radius:14px;background:#fff;color:var(--tfb-color-text);box-shadow:var(--tfb-shadow-soft);cursor:pointer;}
body.tfb-front-page .tfb-nav-toggle{background:rgba(255,255,255,.1);backdrop-filter:blur(10px);border-color:rgba(255,255,255,.25);color:#fff;}
.tfb-nav-toggle svg{width:22px;height:22px;display:block;}
.tfb-mobile-panel{position:fixed;inset:0;background:rgba(2,12,27,.45);backdrop-filter:blur(6px);opacity:0;visibility:hidden;pointer-events:none;transition:.2s ease;z-index:1200;}
.tfb-mobile-panel.is-open{opacity:1;visibility:visible;pointer-events:auto;}
.tfb-mobile-panel__dialog{position:absolute;top:0;right:0;width:min(88vw,380px);height:100%;background:#fff;display:flex;flex-direction:column;padding:24px;box-shadow:-24px 0 60px rgba(2,12,27,.18);}
.tfb-mobile-panel__top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--tfb-color-border);}
.tfb-mobile-close{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;}
.tfb-mobile-menu{padding:22px 0;display:flex;flex-direction:column;gap:10px;}
.tfb-mobile-menu a{display:flex;align-items:center;min-height:48px;font-size:18px;font-weight:700;text-decoration:none;color:var(--tfb-color-text);}
.tfb-mobile-actions{margin-top:auto;display:flex;flex-direction:column;gap:12px;}
.main-navigation{display:block;}
body.tfb-front-page .towin-bridge-home,body.tfb-front-page .towin-page-shell--home,body.tfb-front-page .towin-render-view--home{margin-top:0;}
body:not(.tfb-front-page) .towin-bridge-page,body:not(.tfb-front-page) .towin-page-shell,body:not(.tfb-front-page) .towin-render-view{padding-top:0;}
.tfb-site-footer{background:#091725;color:#fff;margin-top:0;}
.tfb-site-footer__inner{width:min(100% - 32px,var(--tfb-container));margin:0 auto;padding:72px 0 28px;display:grid;grid-template-columns:1.2fr .8fr .9fr;gap:36px;}
.tfb-site-footer a{color:#fff;text-decoration:none;}
.tfb-site-footer a:hover{color:#d1fae5;}
.tfb-site-footer__brand p,.tfb-site-footer__text,.tfb-site-footer__meta{color:rgba(255,255,255,.78);line-height:1.8;}
.tfb-site-footer__title{margin:0 0 14px;font-size:16px;font-weight:800;letter-spacing:.02em;}
.tfb-site-footer__menu,.tfb-site-footer__list{display:flex;flex-direction:column;gap:10px;list-style:none;margin:0;padding:0;}
.tfb-site-footer__bar{width:min(100% - 32px,var(--tfb-container));margin:0 auto;padding:18px 0 26px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:rgba(255,255,255,.66);font-size:13px;}
@media (max-width: 991px){
  .tfb-site-header__inner{min-height:74px;}
  .tfb-nav-wrap,.tfb-header-actions{display:none;}
  .tfb-nav-toggle{display:inline-flex;}
  .tfb-site-footer__inner{grid-template-columns:1fr 1fr;}
}
@media (max-width: 767px){
  body.admin-bar .tfb-site-header{top:46px;}
  .tfb-site-header__inner{width:min(100% - 24px,var(--tfb-container));}
  .tfb-brand__tagline{display:none;}
  .tfb-site-footer__inner{grid-template-columns:1fr;padding:56px 0 20px;}
  .tfb-site-footer__bar{padding:16px 0 22px;}
}

body.tfb-front-page .tfb-header-action--ghost{border-color:rgba(255,255,255,.5);}
body.tfb-front-page .tfb-nav a:hover{color:#ffffff;opacity:.86;}
body.tfb-front-page.tfb-header-scrolled .tfb-site-header__inner{min-height:72px;}


.tfb-archive-hero{position:relative;overflow:hidden;min-height:880px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#24364a 0%,#4e6a85 100%);background-image:var(--tfb-archive-bg,linear-gradient(135deg,#24364a 0%,#4e6a85 100%));background-size:cover;background-position:center center;color:#fff;}
.tfb-archive-hero__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,16,30,.18),rgba(8,16,30,.56));opacity:var(--tfb-archive-overlay,1);}
.tfb-archive-hero__inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:880px;text-align:center;padding:150px 0 120px;}
.tfb-archive-hero__content{max-width:920px;}
.tfb-archive-hero__eyebrow{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.92);margin-bottom:18px;font-weight:700;}
.tfb-archive-hero__subtitle{font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.94);margin-bottom:16px;font-weight:700;}
.tfb-archive-hero__title{margin:0;font-size:clamp(52px,6vw,86px);line-height:1.02;color:#fff;letter-spacing:-.03em;}
.tfb-archive-hero__description{margin:28px auto 0;max-width:760px;font-size:18px;line-height:1.9;color:rgba(255,255,255,.94);}
.tfb-archive-hero__description p{margin:0;}
.tfb-archive-hero__scroll{position:absolute;left:50%;bottom:54px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:14px;color:rgba(255,255,255,.96);}
.tfb-archive-hero__scroll-line{display:block;width:1px;height:84px;background:rgba(255,255,255,.76);}
.tfb-archive-hero__scroll-label{font-size:12px;letter-spacing:.26em;text-transform:uppercase;writing-mode:vertical-rl;text-orientation:mixed;}
.tfb-hub-archive{background:#f5f5f3;padding-top:68px;padding-bottom:90px;}
.tfb-hub-archive__intro{max-width:840px;margin:0 auto 34px;text-align:center;color:#5b6577;font-size:16px;line-height:1.9;}
.tfb-hub-archive__intro p{margin:0;}
.tfb-hub-archive__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 34px;}
.tfb-hub-card{background:#fff;border:1px solid rgba(15,23,42,.06);box-shadow:0 18px 40px rgba(15,23,42,.06);transition:transform .25s ease,box-shadow .25s ease;height:100%;}
.tfb-hub-card:hover{transform:translateY(-3px);box-shadow:0 22px 46px rgba(15,23,42,.08);}
.tfb-hub-card__link{display:flex;flex-direction:column;color:inherit;height:100%;text-decoration:none;}
.tfb-hub-card__media{aspect-ratio:1/1;background:var(--tfb-color-soft-2);overflow:hidden;}
.tfb-hub-card__media img{display:block;width:100%;height:100%;object-fit:cover;}
.tfb-hub-card__body{display:flex;flex:1;flex-direction:column;padding:22px 22px 26px;}
.tfb-hub-card__eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#1664d0;margin-bottom:10px;font-weight:700;}
.tfb-hub-card__title{margin:0;color:var(--tfb-color-text);font-size:26px;line-height:1.28;}
.tfb-hub-card__rule{display:block;width:28px;height:2px;background:#1664d0;margin:14px 0 14px;}
.tfb-hub-card__subtitle{font-size:13px;font-weight:700;color:#475569;line-height:1.6;margin-bottom:10px;}
.tfb-hub-card__excerpt{margin:0;color:#475569;font-size:14px;line-height:1.9;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
.tfb-hub-card__action{display:inline-block;margin-top:auto;padding-top:18px;color:#1664d0;font-size:13px;font-weight:700;}
@media (max-width: 991px){.tfb-hub-archive__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.tfb-archive-hero{min-height:620px}.tfb-archive-hero__inner{min-height:620px;padding:118px 0 90px}.tfb-archive-hero__scroll{bottom:38px}.tfb-archive-hero__scroll-line{height:60px}}
@media (max-width: 767px){.tfb-archive-hero{min-height:520px;background-image:var(--tfb-archive-bg-mobile,var(--tfb-archive-bg,linear-gradient(135deg,#24364a 0%,#4e6a85 100%)))}.tfb-archive-hero__inner{min-height:520px;padding:104px 0 82px}.tfb-archive-hero__title{font-size:clamp(36px,11vw,50px)}.tfb-archive-hero__description{font-size:16px;line-height:1.8}.tfb-archive-hero__scroll{bottom:26px;gap:10px}.tfb-archive-hero__scroll-line{height:44px}.tfb-hub-archive{padding-top:44px;padding-bottom:54px}.tfb-hub-archive__grid{grid-template-columns:1fr;gap:20px}.tfb-hub-card__body{padding:16px 16px 20px}.tfb-hub-card__title{font-size:22px}}

/* v1.9.6: Fabric Hub dropdown sourced from Towin Manager Center */
.tfb-nav .menu-item{position:relative;}
.tfb-nav .menu-item-has-children>a{display:inline-flex;align-items:center;gap:6px;}
.tfb-nav .menu-item-has-children>a::after{content:"";display:inline-block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-1px);opacity:.75;}
.tfb-nav .sub-menu{position:absolute;top:calc(100% + 18px);left:50%;transform:translateX(-50%) translateY(8px);z-index:40;display:block;min-width:240px;margin:0;padding:12px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;box-shadow:0 24px 56px rgba(15,23,42,.14);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,transform .18s ease,visibility .18s ease;}
.tfb-nav .menu-item-has-children:hover>.sub-menu,
.tfb-nav .menu-item-has-children:focus-within>.sub-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0);}
.tfb-nav .sub-menu::before{content:"";position:absolute;left:0;right:0;top:-20px;height:20px;}
.tfb-nav .sub-menu .menu-item{display:block;margin:0;}
.tfb-nav .sub-menu a{display:block;padding:10px 12px;border-radius:12px;color:#162032!important;font-size:14px;line-height:1.35;white-space:nowrap;text-decoration:none;}
.tfb-nav .sub-menu a:hover,
.tfb-nav .sub-menu .current-menu-item>a{background:#f1f5f4;color:#0f766e!important;}
.tfb-nav .sub-menu a::after{display:none;}
body.tfb-front-page:not(.tfb-header-scrolled) .tfb-nav .sub-menu a{color:#162032!important;}
body.tfb-front-page:not(.tfb-header-scrolled) .tfb-nav .sub-menu a:hover{color:#0f766e!important;}
.tfb-mobile-menu .menu-item-has-children>a{display:flex;align-items:center;justify-content:space-between;}
.tfb-mobile-menu .menu-item-has-children>a::after{content:"+";font-weight:700;opacity:.7;}
.tfb-mobile-menu .sub-menu{position:static;display:block;margin:8px 0 8px 12px;padding:8px 0 8px 14px;border-left:1px solid rgba(15,23,42,.12);box-shadow:none;background:transparent;opacity:1;visibility:visible;pointer-events:auto;transform:none;}
.tfb-mobile-menu .sub-menu a{display:block;padding:8px 0;color:#475569;font-size:14px;}


/* v1.9.7 header/menu refinements */
body.tfb-front-page .tfb-nav .sub-menu,
body.tfb-front-page.tfb-header-scrolled .tfb-nav .sub-menu{background:#fff;color:#162032;border:1px solid rgba(15,23,42,.08);box-shadow:0 24px 56px rgba(15,23,42,.16);}
body.tfb-front-page .tfb-nav .sub-menu a,
body.tfb-front-page .tfb-nav .sub-menu .menu-item a,
body.tfb-front-page.tfb-header-scrolled .tfb-nav .sub-menu a,
body.tfb-front-page.tfb-header-scrolled .tfb-nav .sub-menu .menu-item a{color:#162032 !important;background:transparent;font-weight:700;min-height:48px;border-radius:12px;padding:0 16px;display:flex;align-items:center;}
body.tfb-front-page .tfb-nav .sub-menu a:hover,
body.tfb-front-page.tfb-header-scrolled .tfb-nav .sub-menu a:hover{color:var(--tfb-color-primary-dark) !important;background:rgba(15,118,110,.08);}
.tfb-nav .sub-menu li{width:100%;}.tfb-nav .sub-menu{padding:14px;}.tfb-nav .sub-menu::before{content:"";position:absolute;left:50%;top:-8px;transform:translateX(-50%) rotate(45deg);width:16px;height:16px;background:#fff;border-left:1px solid rgba(15,23,42,.08);border-top:1px solid rgba(15,23,42,.08);}


/* v1.9.9 dropdown usability and hover bridge */
.tfb-nav .sub-menu{top:calc(100% + 8px);transform:translateX(-50%) translateY(6px);}
.tfb-nav .menu-item-has-children:hover>.sub-menu,
.tfb-nav .menu-item-has-children:focus-within>.sub-menu{transform:translateX(-50%) translateY(0);}
.tfb-nav .sub-menu::before{pointer-events:none;}
.tfb-nav .sub-menu::after{content:"";position:absolute;left:0;right:0;top:-18px;height:18px;background:transparent;}
.tfb-nav .sub-menu a{position:relative;z-index:1;}
