.tgaf-filter-form{display:flex;flex-wrap:wrap;align-items:end;gap:16px}.tgaf-field{display:flex;flex:1 1 200px;flex-direction:column;gap:7px}.tgaf-label{font-size:13px;font-weight:600}.tgaf-field input,.tgaf-field select{width:100%;min-height:48px;padding:10px 14px;border:1px solid #d8d8d8;background:#fff;color:#151515}.tgaf-filter-actions{display:flex;gap:10px;align-items:center}.tgaf-submit,.tgaf-reset,.tgaf-empty button{min-height:46px;padding:10px 18px;border:0;border-radius:24px;cursor:pointer}.tgaf-submit{background:#e75925;color:#fff}.tgaf-reset{background:#f1f1f1;color:#151515}.tgaf-count{flex-basis:100%;font-size:14px;color:#666}.tgaf-results{position:relative}.tgaf-results.is-loading{min-height:220px;opacity:.55;pointer-events:none}.tgaf-results.is-loading:after{content:"";position:absolute;top:70px;left:50%;width:34px;height:34px;margin-left:-17px;border:3px solid #ddd;border-top-color:#e75925;border-radius:50%;animation:tgaf-spin .75s linear infinite}@keyframes tgaf-spin{to{transform:rotate(360deg)}}.tgaf-grid{display:grid;grid-template-columns:repeat(var(--tgaf-columns,3),minmax(0,1fr));gap:24px}.tgaf-card{overflow:hidden;background:#fff;border:1px solid #ececec;border-radius:18px;box-shadow:0 8px 25px rgba(0,0,0,.06);transition:transform .2s ease,box-shadow .2s ease}.tgaf-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(0,0,0,.1)}.tgaf-card-link{display:block;height:100%;color:inherit;text-decoration:none}.tgaf-thumb{aspect-ratio:16/9;overflow:hidden;background:#eee}.tgaf-thumb img{width:100%;height:100%;display:block;object-fit:cover}.tgaf-placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#eee,#fafafa)}.tgaf-card-body{padding:20px}.tgaf-kicker{margin-bottom:8px;color:#e75925;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.tgaf-card-title{margin:0;font-size:20px;line-height:1.3}.tgaf-excerpt{margin:10px 0 0;color:#666}.tgaf-empty{grid-column:1/-1;padding:50px;text-align:center;background:#f7f7f7;border-radius:16px}.tgaf-empty button{display:block;margin:18px auto 0}.tgaf-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:30px}.tgaf-pagination button{width:42px;height:42px;border:1px solid #ddd;border-radius:50%;background:#fff;cursor:pointer}.tgaf-pagination button.is-current{background:#e75925;border-color:#e75925;color:#fff}.tgaf-error{padding:12px;margin-bottom:15px;background:#fff2ef;border:1px solid #e75925;border-radius:8px}@media(max-width:767px){.tgaf-filter-form{display:block}.tgaf-field,.tgaf-filter-actions{margin-bottom:12px}.tgaf-grid{grid-template-columns:1fr}.tgaf-card-body{padding:16px}}
/* Checkbox filter UI — v0.3.0 */
.tgaf-filter-form{align-items:stretch}
.tgaf-filter-group{min-width:0;margin:0;border:0}
.tgaf-filter-legend,.tgaf-label{display:block;margin:0 0 12px;font-size:14px;font-weight:700;line-height:1.35}
.tgaf-checkbox-list{display:grid;grid-template-columns:1fr;gap:10px}
.tgaf-checkbox-option{position:relative;display:flex;align-items:center;gap:10px;min-width:0;cursor:pointer;user-select:none}
.tgaf-checkbox-input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.tgaf-checkbox-control{position:relative;display:inline-flex;flex:0 0 auto;width:20px;height:20px;align-items:center;justify-content:center;border:1.5px solid #b8b8b8;border-radius:5px;background:#fff;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.tgaf-checkbox-control:after{content:"";width:8px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;opacity:0;transform:translateY(-1px) rotate(-45deg) scale(.65);transition:opacity .14s ease,transform .14s ease}
.tgaf-checkbox-input:checked+.tgaf-checkbox-control{background:#e75925;border-color:#e75925}
.tgaf-checkbox-input:checked+.tgaf-checkbox-control:after{opacity:1;transform:translateY(-1px) rotate(-45deg) scale(1)}
.tgaf-checkbox-input:focus-visible+.tgaf-checkbox-control{outline:3px solid rgba(231,89,37,.22);outline-offset:2px}
.tgaf-checkbox-option:hover .tgaf-checkbox-control{border-color:#e75925}
.tgaf-checkbox-text{min-width:0;color:#363636;font-size:15px;line-height:1.4}
.tgaf-checkbox-input:checked~.tgaf-checkbox-text{font-weight:600;color:#202020}
@media(max-width:767px){.tgaf-checkbox-list{grid-template-columns:1fr}}

/* Responsive archive UI — v0.4.0 */
.tgaf-grid-layout-adaptive .tgaf-grid{grid-template-columns:repeat(auto-fit,minmax(min(var(--tgaf-card-min,290px),100%),1fr))}
.tgaf-grid-layout-fixed .tgaf-grid{grid-template-columns:repeat(var(--tgaf-columns,3),minmax(0,1fr))}
.tgaf-card,.tgaf-card-link,.tgaf-card-body{min-width:0}
.tgaf-card-title{overflow-wrap:anywhere}
.tgaf-filter-toggle{display:none;width:100%;min-height:50px;align-items:center;justify-content:center;gap:10px;padding:12px 18px;border:1px solid #dedede;border-radius:24px;background:#fff;color:#252525;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.05)}
.tgaf-filter-toggle-icon{position:relative;width:18px;height:14px;border-top:2px solid currentColor;border-bottom:2px solid currentColor}
.tgaf-filter-toggle-icon:after{content:"";position:absolute;left:3px;right:3px;top:4px;border-top:2px solid currentColor}
.tgaf-filter-badge{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;padding:0 6px;border-radius:999px;background:#e75925;color:#fff;font-size:12px;line-height:1}
.tgaf-filter-overlay,.tgaf-filter-drawer{display:none}
.tgaf-drawer-header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #ececec;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.04)}
.tgaf-drawer-header h3{margin:0;font-size:21px;line-height:1.25}
.tgaf-drawer-close{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:8px;padding:9px 13px;border:1px solid #dedede;border-radius:999px;background:#f2f2f2;color:#2d2d2d;font:inherit;font-size:14px;font-weight:700;line-height:1;cursor:pointer;white-space:nowrap;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.tgaf-drawer-close:hover,.tgaf-drawer-close:focus-visible{background:#e75925;border-color:#e75925;color:#fff}.tgaf-drawer-close:active{transform:scale(.97)}.tgaf-drawer-close-icon{position:relative;display:block;width:14px;height:14px;flex:0 0 14px}.tgaf-drawer-close-icon:before,.tgaf-drawer-close-icon:after{content:"";position:absolute;left:6px;top:0;width:2px;height:14px;border-radius:2px;background:currentColor}.tgaf-drawer-close-icon:before{transform:rotate(45deg)}.tgaf-drawer-close-icon:after{transform:rotate(-45deg)}
.tgaf-drawer-content{min-height:0;overflow-y:auto;padding:22px;background:#fff}
.tgaf-drawer-footer{display:grid;grid-template-columns:1fr 1.45fr;gap:10px;padding:16px 20px calc(16px + env(safe-area-inset-bottom));border-top:1px solid #ececec;background:#fff;box-shadow:0 -8px 22px rgba(0,0,0,.05)}
.tgaf-drawer-footer .tgaf-submit,.tgaf-drawer-footer .tgaf-reset{width:100%;margin:0}
.tgaf-drawer-content .tgaf-filter-actions{display:none}
html.tgaf-lock,body.tgaf-lock{overflow:hidden!important}
/* Desktop fallback for drawer mode — v0.4.1
 * The filter form lives inside the drawer container. Above the configured
 * breakpoint the container must therefore behave like a normal inline block.
 */
.tgaf-has-drawer>.tgaf-filter-drawer{display:block;position:static;width:auto;max-height:none;visibility:visible;transform:none;background:transparent;box-shadow:none}
.tgaf-has-drawer>.tgaf-filter-drawer>.tgaf-drawer-header,
.tgaf-has-drawer>.tgaf-filter-drawer>.tgaf-drawer-footer{display:none}
.tgaf-has-drawer>.tgaf-filter-drawer>.tgaf-drawer-content{overflow:visible;padding:0;background:transparent}


@media (max-width:1024px){
 .tgaf-drawer-breakpoint-tablet .tgaf-filter-toggle{display:flex}
 .tgaf-drawer-breakpoint-tablet>.tgaf-filter-form{display:none}
 .tgaf-drawer-breakpoint-tablet .tgaf-filter-overlay{display:block;position:fixed;inset:0;z-index:99996;background:rgba(15,15,15,.48);opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease}
 .tgaf-drawer-breakpoint-tablet .tgaf-filter-drawer{display:flex;position:fixed;z-index:99997;flex-direction:column;background:#fff;box-shadow:0 0 40px rgba(0,0,0,.2);visibility:hidden;transition:transform .28s ease,visibility .28s ease}
 .tgaf-drawer-breakpoint-tablet .tgaf-drawer-right{top:0;right:0;bottom:0;width:min(440px,92vw);transform:translateX(104%)}
 .tgaf-drawer-breakpoint-tablet .tgaf-drawer-left{top:0;left:0;bottom:0;width:min(440px,92vw);transform:translateX(-104%)}
 .tgaf-drawer-breakpoint-tablet .tgaf-drawer-bottom{left:0;right:0;bottom:0;max-height:88vh;border-radius:24px 24px 0 0;transform:translateY(104%)}
 .tgaf-drawer-breakpoint-tablet.is-drawer-open .tgaf-filter-overlay{opacity:1;visibility:visible}
 .tgaf-drawer-breakpoint-tablet.is-drawer-open .tgaf-filter-drawer{transform:none;visibility:visible}
 .tgaf-drawer-breakpoint-tablet .tgaf-filter-form{display:flex}
 .tgaf-drawer-breakpoint-tablet .tgaf-drawer-header{display:flex}
 .tgaf-drawer-breakpoint-tablet .tgaf-drawer-footer{display:grid}
 .tgaf-drawer-breakpoint-tablet .tgaf-drawer-content{overflow-y:auto;padding:22px;background:#fff}
 .tgaf-hide-excerpt-tablet .tgaf-excerpt{display:none}
}
@media (max-width:767px){
 .tgaf-drawer-breakpoint-mobile .tgaf-filter-toggle{display:flex}
 .tgaf-drawer-breakpoint-mobile>.tgaf-filter-form{display:none}
 .tgaf-drawer-breakpoint-mobile .tgaf-filter-overlay{display:block;position:fixed;inset:0;z-index:99996;background:rgba(15,15,15,.48);opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease}
 .tgaf-drawer-breakpoint-mobile .tgaf-filter-drawer{display:flex;position:fixed;z-index:99997;flex-direction:column;background:#fff;box-shadow:0 0 40px rgba(0,0,0,.2);visibility:hidden;transition:transform .28s ease,visibility .28s ease}
 .tgaf-drawer-breakpoint-mobile .tgaf-drawer-right{top:0;right:0;bottom:0;width:min(420px,94vw);transform:translateX(104%)}
 .tgaf-drawer-breakpoint-mobile .tgaf-drawer-left{top:0;left:0;bottom:0;width:min(420px,94vw);transform:translateX(-104%)}
 .tgaf-drawer-breakpoint-mobile .tgaf-drawer-bottom{left:0;right:0;bottom:0;max-height:90vh;border-radius:24px 24px 0 0;transform:translateY(104%)}
 .tgaf-drawer-breakpoint-mobile.is-drawer-open .tgaf-filter-overlay{opacity:1;visibility:visible}
 .tgaf-drawer-breakpoint-mobile.is-drawer-open .tgaf-filter-drawer{transform:none;visibility:visible}
 .tgaf-drawer-breakpoint-mobile .tgaf-filter-form{display:flex}
 .tgaf-drawer-breakpoint-mobile .tgaf-drawer-header{display:flex}
 .tgaf-drawer-breakpoint-mobile .tgaf-drawer-footer{display:grid}
 .tgaf-drawer-breakpoint-mobile .tgaf-drawer-content{overflow-y:auto;padding:18px;background:#fff}
 .tgaf-hide-excerpt-mobile .tgaf-excerpt{display:none}
 .tgaf-card-title{font-size:18px}
 .tgaf-drawer-content{padding:18px}
 .tgaf-drawer-header{padding:16px 18px}
}


/* Adaptive filter and card design — v0.5.0 */
.tgaf-checkbox-option{align-items:flex-start;width:100%}
.tgaf-checkbox-content{display:flex;min-width:0;flex:1 1 auto;align-items:center;justify-content:space-between;gap:8px}
.tgaf-checkbox-text{flex:1 1 auto;min-width:0;overflow-wrap:break-word}
.tgaf-term-count{display:inline-flex;flex:0 0 auto;min-width:25px;height:25px;align-items:center;justify-content:center;padding:0 7px;border-radius:999px;background:#f1f1f1;color:#555;font-size:11px;font-weight:700;line-height:1;letter-spacing:0}
.tgaf-term-count[hidden]{display:none!important}
.tgaf-checkbox-input:checked~.tgaf-checkbox-content .tgaf-term-count{background:#e75925;color:#fff}
.tgaf-thumb{margin:14px 14px 0;border-radius:14px}
.tgaf-card{display:flex;min-height:100%}
.tgaf-card-link{display:flex;flex:1 1 auto;flex-direction:column}
.tgaf-card-body{display:flex;flex:1 1 auto;flex-direction:column}
.tgaf-card-title{font-size:clamp(18px,1.35vw,22px);line-height:1.25}
.tgaf-excerpt{font-size:clamp(14px,1vw,16px);line-height:1.55}
.tgaf-kicker{font-size:clamp(11px,.8vw,12px)}
@media (max-width:1024px){
 .tgaf-term-count{min-width:23px;height:23px;padding:0 6px;font-size:10px}
 .tgaf-thumb{margin:12px 12px 0;border-radius:13px}
}
@media (max-width:767px){
 .tgaf-checkbox-content{gap:10px}
 .tgaf-term-count{min-width:22px;height:22px}
 .tgaf-thumb{margin:10px 10px 0;border-radius:12px}
 .tgaf-card-title{line-height:1.28}
 .tgaf-excerpt{line-height:1.5}
}

/* v0.5.1 relational facet badges */
.tgaf-checkbox-content{gap:16px}
.tgaf-checkbox-text{padding-right:4px}
.tgaf-term-count{margin-left:auto;min-width:28px;height:24px;padding:0 8px;background:#4a4a4a;color:#e7e7e7;border-radius:999px}
.tgaf-checkbox-option.is-unavailable{display:none}
@media(max-width:1024px){.tgaf-checkbox-content{gap:13px}.tgaf-term-count{min-width:26px;height:23px;padding:0 7px}}
@media(max-width:767px){.tgaf-checkbox-content{gap:12px}.tgaf-term-count{min-width:25px;height:22px;padding:0 7px}}

@media (max-width:380px){.tgaf-drawer-close{padding:9px 11px}.tgaf-drawer-close-label{font-size:13px}}

/* TG Content Explorer — v0.6.0 */
.tgaf-filter-shell{--tgaf-accent:#e75925;position:relative;z-index:20}
.tgaf-explorer-bar{display:flex;flex-direction:column;gap:14px;width:100%}
.tgaf-search-row{width:100%}
.tgaf-search-input-wrap{display:flex;align-items:center;width:100%;min-height:58px;padding:0 18px;border:1px solid #d9d9d9;background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.035)}
.tgaf-search-input-wrap:focus-within{border-color:#a9a9a9;box-shadow:0 0 0 3px rgba(231,89,37,.1)}
.tgaf-search-input-wrap input{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0 12px!important;font:inherit;font-size:16px}
.tgaf-search-icon{width:18px;height:18px;border:2px solid #555;border-radius:50%;position:relative;flex:0 0 auto}.tgaf-search-icon:after{content:"";position:absolute;width:7px;border-top:2px solid #555;right:-5px;bottom:-3px;transform:rotate(45deg)}
.tgaf-search-clear{border:0;background:#f0f0f0;width:30px;height:30px;border-radius:50%;cursor:pointer;font-size:20px;line-height:1;color:#555}
.tgaf-filter-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.tgaf-filter-menu{position:relative}
.tgaf-filter-trigger{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:9px 16px;border:1px solid #d7d7d7;border-radius:24px;background:#fff;color:#2d2d2d;font:inherit;font-weight:600;cursor:pointer;transition:.18s ease}
.tgaf-filter-trigger:hover,.tgaf-filter-menu.is-open .tgaf-filter-trigger,.tgaf-filter-menu.has-selection .tgaf-filter-trigger{border-color:#aaa;background:#f7f7f7}
.tgaf-filter-menu.has-selection .tgaf-filter-trigger{border-color:var(--tgaf-accent);box-shadow:inset 0 0 0 1px var(--tgaf-accent)}
.tgaf-trigger-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--tgaf-accent);color:#fff;font-size:11px;font-weight:800}
.tgaf-chevron{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .18s}.tgaf-filter-menu.is-open .tgaf-chevron{transform:rotate(225deg) translate(-1px,-1px)}
.tgaf-filter-popover{position:absolute;top:calc(100% + 10px);left:0;z-index:100;width:min(340px,calc(100vw - 36px));max-height:430px;overflow:auto;padding:14px;border:1px solid #dedede;border-radius:18px;background:#fff;box-shadow:0 22px 60px rgba(0,0,0,.16)}
.tgaf-popover-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:4px 4px 12px;border-bottom:1px solid #eee;margin-bottom:8px}.tgaf-popover-clear{border:0;background:transparent;color:#777;font:inherit;font-size:13px;cursor:pointer}.tgaf-popover-clear:hover{color:var(--tgaf-accent)}
.tgaf-popover-options{display:grid;gap:2px}.tgaf-popover-options .tgaf-checkbox-option{padding:9px 6px;border-radius:10px}.tgaf-popover-options .tgaf-checkbox-option:hover{background:#f5f5f5}
.tgaf-clear-all{min-height:42px;padding:8px 10px;border:0;background:transparent;color:#666;font:inherit;font-weight:600;cursor:pointer}.tgaf-clear-all:hover{color:var(--tgaf-accent)}
.tgaf-active-row{display:none;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:2px}.tgaf-active-row.has-active,.tgaf-active-row:has(.tgaf-count:not(:empty)){display:flex}
.tgaf-active-chips{display:flex;gap:8px;flex-wrap:wrap}.tgaf-active-chip{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:0;border-radius:999px;background:#eeeeee;color:#333;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.tgaf-active-chip:hover{background:#e4e4e4}
.tgaf-count{margin-left:auto;color:#6b6b6b;font-size:14px;white-space:nowrap}
.tgaf-layout-sidebar .tgaf-filter-row{display:flex;flex-direction:column;align-items:stretch}.tgaf-layout-sidebar .tgaf-filter-group{width:100%}
.tgaf-results.is-loading{opacity:.65;pointer-events:none;transition:opacity .15s}
.tgaf-load-more-wrap{display:flex;flex-direction:column;align-items:center;gap:13px;padding:34px 0 6px}.tgaf-load-progress{font-size:14px;color:#6b6b6b}.tgaf-load-more{min-height:50px;padding:12px 28px;border:0;border-radius:999px;background:var(--tgaf-accent,#e75925);color:#fff;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 8px 24px rgba(231,89,37,.2);transition:transform .18s,box-shadow .18s}.tgaf-load-more:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(231,89,37,.28)}
.tgaf-pagination-compact{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;padding:34px 0}.tgaf-pagination-compact button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border:1px solid #ddd;border-radius:999px;background:#fff;color:#333;font:inherit;font-weight:600;cursor:pointer}.tgaf-pagination-compact button:hover{border-color:#aaa}.tgaf-pagination-compact button.is-current{background:var(--tgaf-accent,#e75925);border-color:var(--tgaf-accent,#e75925);color:#fff}.tgaf-page-nav{gap:5px}.tgaf-page-dots{padding:0 3px;color:#888}
@media(max-width:1024px){
 .tgaf-layout-explorer .tgaf-filter-drawer .tgaf-filter-row{display:flex;flex-direction:column;align-items:stretch}.tgaf-layout-explorer .tgaf-filter-drawer .tgaf-filter-menu{width:100%}.tgaf-layout-explorer .tgaf-filter-drawer .tgaf-filter-trigger{width:100%;justify-content:space-between;border-radius:14px}.tgaf-layout-explorer .tgaf-filter-drawer .tgaf-filter-popover{position:static;width:100%;max-height:none;margin-top:8px;box-shadow:none;border-radius:14px}.tgaf-layout-explorer .tgaf-filter-drawer .tgaf-clear-all{width:100%;text-align:left}.tgaf-drawer-content .tgaf-search-input-wrap{min-height:52px}
}
@media(max-width:767px){.tgaf-search-input-wrap{min-height:52px}.tgaf-filter-row{gap:8px}.tgaf-filter-trigger{min-height:42px;padding:8px 14px}.tgaf-active-row{align-items:flex-start}.tgaf-count{width:100%;margin-left:0}.tgaf-page-nav span{display:none}.tgaf-pagination-compact{gap:5px}.tgaf-pagination-compact button{min-width:38px;height:38px;padding:0 10px}}


/* TG Drawer + TG Motion Engine — v0.7.0 */
.tgaf-filter-drawer{--tgaf-drawer-width:480px}
.tgaf-drawer-header{min-height:78px}
.tgaf-drawer-header h3{font-size:clamp(20px,2vw,25px);font-weight:800}
.tgaf-drawer-close{min-width:44px;min-height:44px;padding:10px 15px;background:#f1f1f1;border-color:#e4e4e4}
.tgaf-drawer-content{padding:30px}
.tgaf-drawer-footer{padding:16px 24px calc(20px + env(safe-area-inset-bottom))}
.tgaf-filter-overlay{backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
@media(max-width:1024px){
 .tgaf-drawer-breakpoint-tablet .tgaf-drawer-right{width:min(var(--tgaf-drawer-width),94vw)}
 .tgaf-drawer-breakpoint-tablet .tgaf-drawer-left{width:min(var(--tgaf-drawer-width),94vw)}
 .tgaf-drawer-breakpoint-tablet .tgaf-drawer-content{padding:28px}
 .tgaf-drawer-breakpoint-tablet .tgaf-drawer-header{padding:20px 24px}
}
@media(max-width:767px){
 .tgaf-drawer-breakpoint-mobile .tgaf-drawer-right,.tgaf-drawer-breakpoint-tablet .tgaf-drawer-right{width:min(var(--tgaf-drawer-width),100vw);border-radius:24px 0 0 24px}
 .tgaf-drawer-breakpoint-mobile .tgaf-drawer-left,.tgaf-drawer-breakpoint-tablet .tgaf-drawer-left{width:min(var(--tgaf-drawer-width),100vw);border-radius:0 24px 24px 0}
 .tgaf-drawer-breakpoint-mobile .tgaf-drawer-content,.tgaf-drawer-breakpoint-tablet .tgaf-drawer-content{padding:24px}
 .tgaf-drawer-breakpoint-mobile .tgaf-drawer-header,.tgaf-drawer-breakpoint-tablet .tgaf-drawer-header{padding:18px 22px}
 .tgaf-drawer-close-label{display:inline}
}
@media(max-width:420px){
 .tgaf-drawer-breakpoint-mobile .tgaf-drawer-right,.tgaf-drawer-breakpoint-tablet .tgaf-drawer-right,
 .tgaf-drawer-breakpoint-mobile .tgaf-drawer-left,.tgaf-drawer-breakpoint-tablet .tgaf-drawer-left{width:100vw;border-radius:0}
 .tgaf-drawer-content{padding:22px}
}

.tgaf-results{--tgaf-motion-duration:360ms;--tgaf-motion-ease:cubic-bezier(.22,.75,.18,1);--tgaf-motion-distance:20px;--tgaf-motion-scale:.965}
.tgaf-results[data-motion-speed="fast"]{--tgaf-motion-duration:220ms}
.tgaf-results[data-motion-speed="slow"]{--tgaf-motion-duration:520ms}
.tgaf-results[data-motion-easing="ease_out"]{--tgaf-motion-ease:cubic-bezier(0,.55,.45,1)}
.tgaf-results[data-motion-easing="ease"]{--tgaf-motion-ease:ease}
.tgaf-results[data-motion-easing="linear"]{--tgaf-motion-ease:linear}
.tgaf-results[data-motion-intensity="minimal"]{--tgaf-motion-distance:10px;--tgaf-motion-scale:.985}
.tgaf-results[data-motion-intensity="strong"]{--tgaf-motion-distance:34px;--tgaf-motion-scale:.93}
.tgaf-card{will-change:transform,opacity;transform-origin:center center;backface-visibility:hidden}
.tgaf-results.is-motion-loading .tgaf-grid{pointer-events:none}
.tgaf-results.is-motion-loading:not([data-motion="none"]) .tgaf-card{filter:saturate(.92)}
.tgaf-motion-enter{animation:tgafFadeScale var(--tgaf-motion-duration) var(--tgaf-motion-ease) both}
.tgaf-motion-slide{animation:tgafSlideUp var(--tgaf-motion-duration) var(--tgaf-motion-ease) both}
.tgaf-motion-shuffle{animation:tgafShuffleIn var(--tgaf-motion-duration) var(--tgaf-motion-ease) both}
@keyframes tgafFadeScale{from{opacity:0;transform:scale(var(--tgaf-motion-scale))}to{opacity:1;transform:none}}
@keyframes tgafSlideUp{from{opacity:0;transform:translateY(var(--tgaf-motion-distance))}to{opacity:1;transform:none}}
@keyframes tgafShuffleIn{from{opacity:0;transform:translate(var(--tgaf-shuffle-x,0),var(--tgaf-shuffle-y,var(--tgaf-motion-distance))) rotate(var(--tgaf-shuffle-r,0deg)) scale(var(--tgaf-motion-scale))}to{opacity:1;transform:none}}
.tgaf-grid-motion-overlay{position:absolute;inset:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){
 .tgaf-card,.tgaf-results,.tgaf-filter-drawer,.tgaf-filter-overlay{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


/* Mobile stability fixes — v0.7.1 */
/* Avoid a low stacking context that can place the fixed drawer beneath Astra/Elementor headers. */
.tgaf-filter-shell{z-index:auto}
.tgaf-filter-overlay{z-index:2147483000!important}
.tgaf-filter-drawer{z-index:2147483001!important}
.tgaf-drawer-header{z-index:5;padding-top:max(18px,env(safe-area-inset-top))}
.tgaf-drawer-close{position:relative;z-index:6;flex:0 0 auto}

/* Cards must size to their own content on phones only.
 * Keep the desktop/tablet flex card layout intact so images retain their
 * configured aspect ratio and cards can use consistent heights.
 */
@media(max-width:767px){
 .tgaf-grid{grid-auto-rows:max-content;align-items:start}
 .tgaf-card{height:auto!important;min-height:0!important;align-self:start}
 .tgaf-card-link{height:auto!important;min-height:0!important;flex:0 0 auto}
 .tgaf-card-body{min-height:0!important;flex:0 0 auto}
 .tgaf-grid{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:max-content!important;align-items:start!important}
 .tgaf-card,.tgaf-card-link,.tgaf-card-body{height:auto!important;min-height:0!important}
 .tgaf-excerpt{display:block!important;margin-top:12px}
 .tgaf-card-body{padding-bottom:22px}
 .tgaf-filter-drawer{top:0!important;bottom:0!important;max-height:100dvh!important;height:100dvh!important}
 .tgaf-drawer-header{padding-top:calc(18px + env(safe-area-inset-top))!important}
}


/* Mobile hard fixes — v0.7.2 */
@media (max-width:767px){
  .elementor-widget-tgaf-post-grid,
  .elementor-widget-tgaf-post-grid>.elementor-widget-container,
  .tgaf-results,
  .tgaf-grid-layout-adaptive,
  .tgaf-grid-layout-fixed,
  .tgaf-grid{height:auto!important;min-height:0!important;max-height:none!important;align-self:auto!important;}
  .tgaf-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;grid-auto-rows:auto!important;align-content:start!important;align-items:start!important;}
  .tgaf-card{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;align-self:start!important;}
  .tgaf-card-link{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;}
  .tgaf-card-body{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;flex:none!important;}
  .tgaf-excerpt{display:block!important;visibility:visible!important;opacity:1!important;height:auto!important;max-height:none!important;overflow:visible!important;}
}


/* Desktop/tablet card restoration — v0.7.7 */
@media (min-width:768px){
 .tgaf-grid{grid-auto-rows:1fr;align-items:stretch}
 .tgaf-card{display:flex;height:auto;min-height:100%;align-self:stretch}
 .tgaf-card-link{display:flex;height:100%;min-height:0;flex:1 1 auto;flex-direction:column}
 .tgaf-card-body{display:flex;min-height:0;flex:1 1 auto;flex-direction:column}
 .tgaf-thumb{width:auto;height:auto;aspect-ratio:16/9;flex:0 0 auto}
 .tgaf-thumb img{width:100%;height:100%;object-fit:cover}
}

/* Portalled drawer escapes Elementor/Astra stacking contexts. */
body>.tgaf-overlay-portal{display:block!important;position:fixed!important;inset:0!important;z-index:2147483645!important;background:rgba(15,15,15,.56);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
body>.tgaf-overlay-portal.is-open{opacity:1;visibility:visible;pointer-events:auto}
body>.tgaf-drawer-portal{display:flex!important;position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;width:min(var(--tgaf-drawer-width,480px),100vw)!important;height:100dvh!important;max-height:100dvh!important;z-index:2147483646!important;flex-direction:column!important;background:#fff!important;visibility:hidden;transform:translateX(104%);transition:transform .28s cubic-bezier(.22,.75,.18,1),visibility .28s ease;box-shadow:-20px 0 60px rgba(0,0,0,.22);overflow:hidden;border-radius:24px 0 0 24px}
body>.tgaf-drawer-portal.tgaf-drawer-left{left:0!important;right:auto!important;transform:translateX(-104%);border-radius:0 24px 24px 0}
body>.tgaf-drawer-portal.tgaf-drawer-bottom{left:0!important;right:0!important;top:auto!important;width:100vw!important;height:min(88dvh,900px)!important;transform:translateY(104%);border-radius:24px 24px 0 0}
body>.tgaf-drawer-portal.is-open{visibility:visible;transform:none!important}
body>.tgaf-drawer-portal>.tgaf-drawer-header{display:flex!important;position:relative!important;top:auto!important;z-index:10!important;flex:0 0 auto!important;padding:calc(18px + env(safe-area-inset-top)) 24px 18px!important;background:#fff!important;}
body>.tgaf-drawer-portal>.tgaf-drawer-content{display:block!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding:28px 24px!important;background:#fff!important;}
body>.tgaf-drawer-portal>.tgaf-drawer-footer{display:grid!important;position:relative!important;z-index:10!important;flex:0 0 auto!important;padding:16px 24px calc(18px + env(safe-area-inset-bottom))!important;background:#fff!important;}
body>.tgaf-drawer-portal .tgaf-drawer-close{display:inline-flex!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:11!important;}
@media(max-width:420px){body>.tgaf-drawer-portal{width:100vw!important;border-radius:0!important}body>.tgaf-drawer-portal>.tgaf-drawer-content{padding:24px 22px!important}}

/* v0.7.6: hide the mobile filter badge completely when no filters are active. */
.tgaf-filter-badge[hidden],
.tgaf-trigger-count[hidden]{display:none!important}

/* TG Post Carousel */
.tgaf-post-carousel-widget,.elementor-widget-tgaf-post-carousel{min-width:0;overflow:visible}
.tgaf-carousel{position:relative;min-width:0;--tgaf-carousel-gap:24px;--tgaf-slides-current:var(--tgaf-slides-desktop)}
.tgaf-carousel-viewport{position:relative;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-y pinch-zoom;padding:2px 2px 10px;scroll-padding-inline:2px}
.tgaf-carousel-viewport::-webkit-scrollbar{display:none}
.tgaf-carousel-track{display:flex;gap:var(--tgaf-carousel-gap);align-items:stretch;min-width:100%}
.tgaf-slide{flex:0 0 calc((100% - (var(--tgaf-slides-current) - 1)*var(--tgaf-carousel-gap))/var(--tgaf-slides-current));min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
.tgaf-slide .tgaf-card{height:100%;min-height:100%}
.tgaf-slide .tgaf-card-link{height:100%;display:flex;flex-direction:column}
.tgaf-slide .tgaf-card-body{flex:1}
.tgaf-carousel-arrows{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
.tgaf-carousel-arrow{width:46px;height:46px;padding:0;border:0;border-radius:999px;display:inline-grid;place-items:center;cursor:pointer;transition:transform .2s ease,opacity .2s ease,background-color .2s ease}
.tgaf-carousel-arrow svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.tgaf-carousel-arrow:hover{transform:translateY(-2px)}
.tgaf-carousel-arrow:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.tgaf-carousel-arrow:disabled{opacity:.35;cursor:default;transform:none}
.tgaf-carousel-dots{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:16px}
.tgaf-carousel-dot{width:8px;height:8px;padding:0;border:0;border-radius:999px;cursor:pointer;transition:width .2s ease,opacity .2s ease}
.tgaf-carousel-dot.is-active{width:24px}
.tgaf-carousel-viewport:focus-visible{outline:2px solid currentColor;outline-offset:5px}
@media(max-width:1024px){.tgaf-carousel{--tgaf-slides-current:var(--tgaf-slides-tablet)}}
@media(max-width:767px){.tgaf-carousel{--tgaf-slides-current:var(--tgaf-slides-mobile)}.tgaf-carousel-arrows{display:none}.tgaf-hide-excerpt-mobile .tgaf-excerpt{display:none!important}}
@media(min-width:768px) and (max-width:1024px){.tgaf-hide-excerpt-tablet .tgaf-excerpt{display:none!important}}
@media(prefers-reduced-motion:reduce){.tgaf-carousel-viewport{scroll-behavior:auto}.tgaf-carousel-arrow,.tgaf-carousel-dot{transition:none}}

/* TG Post Carousel title section */
.tgaf-carousel-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:32px;min-width:0}
.tgaf-carousel-heading-copy{min-width:0;max-width:760px}
.tgaf-carousel-eyebrow{margin:0 0 10px;font-size:13px;font-weight:700;line-height:1.2;letter-spacing:.06em;text-transform:uppercase}
.tgaf-carousel-section-title{margin:0;color:#111;font-size:clamp(30px,4vw,54px);font-weight:800;line-height:1.03;letter-spacing:-.035em}
.tgaf-carousel-section-subtitle{margin-top:14px;color:#666;font-size:17px;line-height:1.6}
.tgaf-carousel-section-subtitle p{margin:0}
.tgaf-carousel-heading-link{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;font-weight:700;line-height:1;border:1px solid #dedede;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}
.tgaf-carousel-heading-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tgaf-carousel-heading-link:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.tgaf-carousel-heading-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:767px){.tgaf-carousel-heading{align-items:flex-start;flex-direction:column}.tgaf-carousel-heading-link{align-self:flex-start}.tgaf-carousel-section-title{font-size:clamp(28px,9vw,42px)}}
@media(prefers-reduced-motion:reduce){.tgaf-carousel-heading-link{transition:none}}

/* v0.11.2 filter tab states: keep labels readable even when theme button hover rules are global */
.tgaf-filter-shell .tgaf-filter-trigger,
.tgaf-filter-shell .tgaf-filter-trigger:visited{
 color:#2d2d2d!important;
 background-color:#fff!important;
 border-color:#d7d7d7!important;
 text-decoration:none!important;
}
.tgaf-filter-shell .tgaf-filter-trigger:hover,
.tgaf-filter-shell .tgaf-filter-trigger:focus-visible{
 color:#2d2d2d!important;
 background-color:#f7f7f7!important;
 border-color:#aaa!important;
}
.tgaf-filter-shell .tgaf-filter-menu.is-open .tgaf-filter-trigger,
.tgaf-filter-shell .tgaf-filter-menu.has-selection .tgaf-filter-trigger{
 color:#2d2d2d!important;
 background-color:#f7f7f7!important;
}

/* TG Post Carousel: section padding and title alignment */
.tgaf-post-carousel-widget{box-sizing:border-box;width:100%;min-width:0}
.tgaf-post-carousel-widget.tgaf-title-align-center .tgaf-carousel-heading,
.tgaf-post-carousel-widget.tgaf-title-align-right .tgaf-carousel-heading{flex-direction:column}
.tgaf-post-carousel-widget.tgaf-title-align-center .tgaf-carousel-heading{align-items:center;text-align:center}
.tgaf-post-carousel-widget.tgaf-title-align-center .tgaf-carousel-heading-copy{margin-inline:auto}
.tgaf-post-carousel-widget.tgaf-title-align-center .tgaf-carousel-heading-link{align-self:center}
.tgaf-post-carousel-widget.tgaf-title-align-right .tgaf-carousel-heading{align-items:flex-end;text-align:right}
.tgaf-post-carousel-widget.tgaf-title-align-right .tgaf-carousel-heading-copy{margin-left:auto}
.tgaf-post-carousel-widget.tgaf-title-align-right .tgaf-carousel-heading-link{align-self:flex-end}
.tgaf-post-carousel-widget.tgaf-title-align-left .tgaf-carousel-heading-copy{text-align:left}
@media(max-width:767px){
 .tgaf-post-carousel-widget.tgaf-title-align-left .tgaf-carousel-heading{align-items:flex-start;text-align:left}
 .tgaf-post-carousel-widget.tgaf-title-align-left .tgaf-carousel-heading-link{align-self:flex-start}
}

/* Context Navigation */
.tgaf-context-nav[hidden]{display:none!important}
.tgaf-context-nav{margin:0 0 28px;padding:18px 20px;border:1px solid rgba(17,17,17,.10);border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(17,17,17,.06)}
.tgaf-context-nav__back{display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-weight:700;line-height:1.35}
.tgaf-context-nav__back:hover,.tgaf-context-nav__back:focus{text-decoration:none;opacity:.72}
.tgaf-context-nav__arrow{font-size:1.15em;line-height:1}
.tgaf-context-nav__meta{margin-top:12px}
.tgaf-context-nav__caption{display:block;margin-bottom:8px;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;opacity:.55}
.tgaf-context-nav__chips{display:flex;flex-wrap:wrap;gap:7px}
.tgaf-context-nav__chip{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:999px;background:rgba(17,17,17,.06);font-size:.82rem;line-height:1.2}
.tgaf-context-nav__chip--count{font-weight:700}
@media(max-width:767px){.tgaf-context-nav{margin-bottom:22px;padding:15px 16px;border-radius:15px}.tgaf-context-nav__chips{gap:6px}.tgaf-context-nav__chip{font-size:.78rem}}

/* TG Smart Search -------------------------------------------------------- */
.tgaf-smart-search{--tgaf-search-orange:#e75925;--tgaf-search-ink:#111;--tgaf-search-muted:#667085;position:relative;z-index:30;width:100%;font-family:inherit;color:var(--tgaf-search-ink)}
.tgaf-smart-search *{box-sizing:border-box}
.tgaf-smart-search__inner{position:relative;width:100%;margin-inline:auto;padding:48px 0 56px}
.tgaf-smart-search--grid-aligned .tgaf-smart-search__inner{max-width:none!important}
.tgaf-smart-search__copy{width:100%;max-width:1040px}
.tgaf-smart-search__eyebrow{display:inline-flex;align-items:center;width:auto;max-width:max-content;margin:0 0 18px;color:var(--tgaf-search-orange);font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.tgaf-smart-search--eyebrow-stylebar .tgaf-smart-search__eyebrow{padding:8px 18px;border-radius:999px;background:#f2f4f7}
.tgaf-smart-search__title{margin:0 0 24px;font-family:Poppins,system-ui,sans-serif;font-size:clamp(30px,4vw,54px);font-weight:800;line-height:1.02;letter-spacing:-.035em}
.tgaf-smart-search__subtitle{max-width:760px;margin:0 0 32px;color:var(--tgaf-search-muted);font-size:clamp(15px,1.3vw,19px);line-height:1.6}
.tgaf-smart-search__subtitle p{margin:0}
.tgaf-smart-search__form{display:flex;align-items:stretch;gap:14px;width:100%}
.tgaf-smart-search__field{display:flex;flex:1 1 auto;align-items:center;min-width:0;min-height:62px;padding:0 10px 0 20px;border:1px solid #e5e7eb;border-radius:31px;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.08);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.tgaf-smart-search__field:focus-within{border-color:var(--tgaf-search-orange);box-shadow:0 0 0 4px rgba(231,89,37,.12),0 14px 40px rgba(15,23,42,.1)}
.tgaf-smart-search__icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:24px;height:24px;margin-right:12px;color:var(--tgaf-search-muted)}
.tgaf-smart-search__icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tgaf-smart-search__input{flex:1 1 auto;min-width:0;height:100%;padding:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:var(--tgaf-search-ink);font:inherit;font-size:17px;line-height:1.3;-webkit-appearance:none}
.tgaf-smart-search__input::-webkit-search-cancel-button{display:none}
.tgaf-smart-search__input::placeholder{color:#98a2b3;opacity:1}
.tgaf-smart-search__clear{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:38px;height:38px;margin-left:8px;padding:0;border:0;border-radius:50%;background:#f2f4f7;color:#475467;font-size:22px;line-height:1;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}
.tgaf-smart-search__clear:hover,.tgaf-smart-search__clear:focus-visible{background:#e4e7ec;color:#101828;transform:scale(1.04)}
.tgaf-smart-search__button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:62px;padding:0 30px;border:0;border-radius:31px;background:var(--tgaf-search-orange);color:#fff;font-family:Poppins,system-ui,sans-serif;font-size:15px;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 12px 28px rgba(231,89,37,.24);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.tgaf-smart-search__button:hover,.tgaf-smart-search__button:focus-visible{color:#fff;filter:brightness(.94);transform:translateY(-1px);box-shadow:0 15px 34px rgba(231,89,37,.3)}
.tgaf-smart-search-layout-stacked .tgaf-smart-search__form{flex-direction:column}
.tgaf-smart-search-layout-stacked .tgaf-smart-search__button{width:100%}
.tgaf-smart-search__popular{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;color:var(--tgaf-search-muted);font-size:13px}
.tgaf-smart-search__popular-label{font-weight:600}
.tgaf-smart-search__popular-item{min-height:34px;padding:6px 12px;border:1px solid #e4e7ec;border-radius:999px;background:#fff;color:#344054;font:inherit;font-weight:600;cursor:pointer;transition:border-color .18s ease,color .18s ease,background .18s ease}
.tgaf-smart-search__popular-item:hover,.tgaf-smart-search__popular-item:focus-visible{border-color:var(--tgaf-search-orange);background:#fff7f3;color:var(--tgaf-search-orange)}
.tgaf-smart-search__suggestions{position:absolute;top:calc(100% + 12px);left:0;right:0;z-index:999;width:100%;max-height:min(560px,70vh);overflow:auto;padding:10px;border:1px solid #eaecf0;border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.18);text-align:left}
.tgaf-smart-search__suggestions[hidden]{display:none!important}
.tgaf-search-suggestions-list{display:grid;gap:4px}
.tgaf-search-suggestion{display:grid;grid-template-columns:72px minmax(0,1fr) 30px;align-items:center;gap:14px;min-width:0;padding:10px;border-radius:14px;color:inherit;text-decoration:none;transition:background .16s ease,transform .16s ease}
.tgaf-search-suggestion:hover,.tgaf-search-suggestion:focus-visible{background:#f8fafc;color:inherit;outline:0;transform:translateX(2px)}
.tgaf-search-suggestion__thumb{display:block;width:72px;aspect-ratio:16/10;overflow:hidden;border-radius:10px;background:#eef0f3}
.tgaf-search-suggestion__thumb img,.tgaf-search-suggestion__thumb .tgaf-placeholder{display:block;width:100%;height:100%;object-fit:cover}
.tgaf-search-suggestion__content{display:flex;min-width:0;flex-direction:column;gap:3px}
.tgaf-search-suggestion__kicker{overflow:hidden;color:var(--tgaf-search-orange);font-size:11px;font-weight:800;letter-spacing:.055em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.tgaf-search-suggestion__title{display:-webkit-box;overflow:hidden;font-family:Poppins,system-ui,sans-serif;font-size:15px;font-weight:700;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.tgaf-search-suggestion__arrow{color:#98a2b3;font-size:20px;text-align:center;transition:color .16s ease,transform .16s ease}
.tgaf-search-suggestion:hover .tgaf-search-suggestion__arrow,.tgaf-search-suggestion:focus-visible .tgaf-search-suggestion__arrow{color:var(--tgaf-search-orange);transform:translateX(2px)}
.tgaf-search-suggestions-empty{padding:26px 18px;color:var(--tgaf-search-muted);font-size:14px;text-align:center}
.tgaf-smart-search.is-suggesting .tgaf-smart-search__icon{animation:tgaf-search-pulse .8s ease-in-out infinite alternate}
@keyframes tgaf-search-pulse{to{opacity:.42;transform:scale(.92)}}
@media(max-width:767px){
 .tgaf-smart-search__inner{padding:30px 0 36px}
 .tgaf-smart-search__title{margin-bottom:18px}
 .tgaf-smart-search__subtitle{margin-bottom:24px}
 .tgaf-smart-search__form{flex-direction:column;gap:10px}
 .tgaf-smart-search__field,.tgaf-smart-search__button{min-height:54px}
 .tgaf-smart-search__button{width:100%;padding-inline:22px}
 .tgaf-smart-search__field{padding-left:16px}
 .tgaf-smart-search__suggestions{top:calc(100% + 8px);padding:7px;border-radius:16px}
 .tgaf-search-suggestion{grid-template-columns:58px minmax(0,1fr) 24px;gap:10px;padding:8px}
 .tgaf-search-suggestion__thumb{width:58px}
 .tgaf-search-suggestion__title{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.tgaf-smart-search *{animation:none!important;transition:none!important}}

/* Search result relevance ------------------------------------------------ */
.tgaf-search-highlight{display:inline;margin:0;background:#f2f4f7;color:inherit;border-radius:4px;padding:.04em .18em;font-weight:inherit;line-height:inherit;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.tgaf-search-suggestion__excerpt{display:-webkit-box;overflow:hidden;margin-top:2px;color:#667085;font-size:13px;font-weight:400;line-height:1.42;-webkit-box-orient:vertical;-webkit-line-clamp:2}
@media(max-width:767px){.tgaf-search-suggestion__excerpt{font-size:12px;-webkit-line-clamp:1}}
