.tfb-header,.tfb-footer{padding:0}.tfb-row{position:relative}.tfb-row-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:18px;min-height:var(--tfb-row-height,60px);padding-block:var(--tfb-row-pad,8px)}.tfb-slot{display:flex;flex-wrap:wrap;gap:14px;align-items:center;min-width:0;max-width:100%}.tfb-slot-start{grid-column:1;justify-content:flex-start}.tfb-slot-center{grid-column:2;justify-content:center}.tfb-slot-end{grid-column:3;justify-content:flex-end}.tfb-slot{grid-row:1}.tfb-count-1 .tfb-slot{grid-column:1/-1}.tfb-element{min-width:0;max-width:100%}.tfb-header .tfb-count-3 .tfb-row-inner{grid-template-columns:minmax(0,auto) minmax(0,1fr) minmax(0,auto)}.tfb-header .tfb-count-2 .tfb-row-inner{grid-template-columns:repeat(3,minmax(0,1fr))}.tfb-brand{display:flex;align-items:center;max-width:100%;width:var(--tfb-area);padding:var(--tfb-space);box-sizing:border-box}.tfb-brand .custom-logo-link{display:inline-flex;max-width:100%;align-items:center}.tfb-brand .custom-logo{width:var(--tfb-logo);max-width:100%;max-height:var(--tfb-height);height:auto;object-fit:contain}.tfb-brand .tf-site-name{color:inherit;overflow-wrap:anywhere}.tfb-header{color:var(--tf-ink)}.tfb-header .tf-nav{margin:0}.tfb-header .tf-nav a,.tfb-header .tf-cart,.tfb-header .tf-search summary{color:inherit}.tfb-header .tf-nav .sub-menu a,.tfb-header .tf-nav .children a{color:var(--tf-ink)}.tfb-row .tf-widget{margin:0;padding:0;border:0;background:transparent;box-shadow:none}.tfb-widgets{display:grid;gap:14px;min-width:0}.tfb-widgets img{max-width:100%}.tfb-widgets .tf-widget-title{font-size:1rem;margin-bottom:10px}.tfb-footer .tfb-slot{flex-direction:column;align-items:stretch;justify-content:flex-start}.tfb-footer .tfb-row-inner{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.tfb-footer .tfb-slot-center{text-align:center;align-items:center}.tfb-footer .tfb-slot-end{text-align:end;align-items:flex-end}.tfb-footer .tfb-row-bottom .tfb-row-inner{align-items:center;border-top:1px solid #ffffff25}.tfb-footer .tf-footer-menu{justify-content:inherit}.tfb-copyright,.tfb-top-text{font-size:.88em}.tfb-social-list{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.tfb-social-link{width:var(--tfb-social-size,34px);height:var(--tfb-social-size,34px);display:inline-flex;justify-content:center;align-items:center;color:inherit;border:1px solid currentColor;border-radius:50%;text-decoration:none!important}.tfb-social-link svg{width:55%;height:55%}.tfb-social-link:hover{color:#fff!important;background:var(--tf-primary);border-color:var(--tf-primary)}.tfb-social-dropdown{position:relative}.tfb-social-dropdown summary{cursor:pointer;font-weight:600;list-style:none;white-space:nowrap}.tfb-social-dropdown summary::-webkit-details-marker{display:none}.tfb-social-dropdown .tfb-social-list{position:absolute;z-index:52;inset-inline-end:0;inset-block-start:calc(100% + 8px);width:max-content;max-width:min(250px,75vw);background:#fff;color:#14233b;padding:12px;border-radius:12px;box-shadow:0 10px 28px #14233b26;border:1px solid #dbe3ee}.tfb-footer .tfb-social-dropdown .tfb-social-list{inset-block-start:auto;inset-block-end:calc(100% + 8px)}
@media(max-width:1000px){.tfb-row-inner{gap:12px}.tfb-slot{gap:10px}}
@media(max-width:800px){.tfb-header .tfb-row .tfb-row-inner,.tfb-footer .tfb-row-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tfb-row .tfb-slot{grid-row:auto;grid-column:auto;min-width:0}.tfb-header .tfb-slot-center,.tfb-header .tfb-slot:has(.tfb-menu){grid-column:1/-1}.tfb-header .tfb-count-1 .tfb-slot,.tfb-footer .tfb-count-1 .tfb-slot{grid-column:1/-1}.tfb-header .tfb-slot-end{justify-content:flex-end}.tfb-header .tfb-slot-center{justify-content:center}.tfb-brand{width:min(var(--tfb-area),calc(var(--tfb-mobile) + 2 * var(--tfb-space)))}.tfb-brand .custom-logo{width:var(--tfb-mobile)}.tfb-menu,.tfb-element-menu{width:100%}.tfb-menu .tf-menu-toggle{margin-inline-start:0}.tfb-menu .tf-nav.is-open{padding-block:10px}.tfb-header .tf-search-panel{inset-inline-end:0}.tfb-header .tfb-slot .tf-search-panel{position:fixed;inset:auto 16px;width:auto;max-width:calc(100vw - 32px)}.tfb-social-dropdown .tfb-social-list{max-width:calc(100vw - 48px)}}
@media(max-width:520px){.tfb-footer .tfb-row-inner{grid-template-columns:1fr}.tfb-footer .tfb-slot{align-items:flex-start;text-align:start}.tfb-header .tfb-row-inner{min-height:0}.tfb-header .tfb-element{max-width:100%}}
/* Post widget cards work in every registered sidebar. */
.tfpw-list{list-style:none!important;padding:0!important;margin:0!important;display:grid;gap:13px}.tfpw-item{display:flex;gap:12px;align-items:center;min-width:0;margin:0!important}.tfpw-thumb{flex:none;width:var(--tfpw-size,72px);height:var(--tfpw-size,72px);display:block;border-radius:8px;overflow:hidden;background:#8498ad24}.tfpw-thumb img{width:100%;height:100%;object-fit:cover;display:block}.tfpw-thumb-placeholder{display:grid;place-items:center;width:100%;height:100%;color:inherit;font-size:22px}.tfpw-copy{min-width:0;line-height:1.5}.tfpw-title{font-weight:650;text-decoration:none;display:block;overflow-wrap:anywhere;color:inherit}.tfpw-title:hover{text-decoration:underline}.tfpw-meta{font-size:.78em;opacity:.8;display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.tfb-slot-start .tfb-social-dropdown .tfb-social-list,.tfb-slot-start .tf-search-panel{inset-inline-start:0;inset-inline-end:auto}.tfb-footer .tfb-slot-center .tfb-brand{justify-content:center}.tfb-footer .tfb-slot-end .tfb-brand{justify-content:flex-end}.tfb-header .tfb-count-2:has(.tfb-slot-start):has(.tfb-slot-end) .tfb-row-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.tfb-header .tfb-count-2:has(.tfb-slot-start):has(.tfb-slot-end) .tfb-slot-end{grid-column:2}.tfb-header .tfb-count-2:has(.tfb-slot-start):has(.tfb-slot-center) .tfb-row-inner{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.tfb-header .tfb-count-2:has(.tfb-slot-center):has(.tfb-slot-end) .tfb-row-inner{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.tfb-header .tfb-count-2:has(.tfb-slot-center):has(.tfb-slot-end) .tfb-slot-center{grid-column:1}.tfb-header .tfb-count-2:has(.tfb-slot-center):has(.tfb-slot-end) .tfb-slot-end{grid-column:2}
@media(max-width:800px){.tfb-header .tfb-row .tfb-row-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tfb-header .tfb-row .tfb-slot{grid-column:auto!important;grid-row:auto}.tfb-header .tfb-row .tfb-slot:has(.tfb-menu),.tfb-header .tfb-count-1 .tfb-slot{grid-column:1/-1!important}.tfb-header .tfb-slot-start .tf-search-panel{inset-inline:16px}.tfb-header .tfb-social-dropdown .tfb-social-list{position:fixed;inset-inline:16px;width:auto;max-width:calc(100vw - 32px);inset-block-start:auto}}
