/* Trend Haber v0.3.15 — user's clean logo and unified search. */
.header .header-main > a.thv315-brand{width:175px!important;min-width:0!important;max-width:190px!important;min-height:65px!important;height:auto!important;display:flex!important;align-items:center;justify-self:start;transform:none!important;overflow:visible;white-space:nowrap}
.header .header-main > a.thv315-brand img{display:block;width:auto!important;height:60px!important;max-height:60px!important;max-width:170px!important;object-fit:contain;object-position:left;filter:none!important;transform:none!important}
.header .header-main > a.thv315-brand img[hidden]{display:none!important}
.thv315-brand-fallback:not([hidden]){font-weight:900;font-size:18px;font-style:italic;display:inline-block;color:#152334}
.thv315-brand-fallback strong{color:#d5103e}
.header .header-buttons #search-toggle.thv315-search-toggle{width:43px;height:43px;background:#fff;border:1px solid #dfe5ee;color:#21344e;border-radius:50%;padding:0;display:grid;place-items:center;transition:.15s ease;flex:none}
.header .header-buttons #search-toggle.thv315-search-toggle:hover,.header .header-buttons #search-toggle.thv315-search-toggle[aria-expanded=true]{border-color:#e4a6b6;background:#fff0f3;color:#d91035;box-shadow:0 4px 16px #e6143530}
.thv315-icon{display:block;flex:none}
.header .search-tray.thv315-search-tray{position:absolute;top:100%;left:0;right:0;z-index:50;background:#fff;padding:20px 0;border-top:3px solid #d91035;box-shadow:0 14px 28px #15223325}
.header .thv315-search-tray[hidden]{display:none!important}
.header .thv315-search-tray form.thv315-search-form{display:flex!important;flex-direction:row!important;align-items:center!important;gap:17px;min-width:0}
.thv315-tray-label{min-width:171px;font-weight:900;letter-spacing:.04em;font-size:13px;color:#142238;white-space:nowrap}
.thv315-tray-label small{display:block;color:#758399;font-weight:400;letter-spacing:0;padding-top:4px;font-size:11px}
.thv315-search-field{display:flex;align-items:center;gap:12px;padding:0 15px;flex:1;min-width:0;border:1px solid #dbe2eb;border-radius:7px;background:#f8fafc;transition:.15s}
.thv315-search-field:focus-within{background:#fff;border-color:#d91035;box-shadow:0 0 0 3px #d9103518}
.thv315-search-field>svg{color:#a0acba}
.header .thv315-search-field input,.thv315-results-form .thv315-search-field input{min-width:0!important;width:100%!important;height:50px!important;padding:0!important;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;color:#1c2a3a!important;font-size:15px!important}
.thv315-search-field input::placeholder{color:#929daa}
.header .thv315-search-submit,.thv315-results-form .thv315-search-submit{border:0;background:#d91035;color:white;font-size:12px;font-weight:900;letter-spacing:.03em;padding:0 23px;height:51px;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;flex:none;cursor:pointer}
.header .thv315-search-submit:hover,.thv315-results-form .thv315-search-submit:hover{background:#ae082b;color:white}
.thv315-search-submit span{font-size:20px;font-weight:400}
/* Real CMS search route: same header and footer as category/article pages. */
.thv315-search-page{padding:13px 0 42px;min-width:0}
.thv315-crumb{display:flex;align-items:center;gap:9px;font-size:11px;color:#78879a;margin:5px 0 17px;flex-wrap:wrap}
.thv315-crumb a{color:#296993}
.thv315-search-hero{background:white;border-top:4px solid #d91035;padding:29px 30px 25px;margin-bottom:19px;box-shadow:0 3px 14px #18253510;min-width:0}
.thv315-search-eyebrow{color:#d91035;font-size:11px;font-weight:900;letter-spacing:.08em;margin-bottom:7px}
.thv315-search-hero h1{margin:0 0 6px;color:#142239;font-size:clamp(28px,3.5vw,40px);font-weight:900;letter-spacing:-.04em;line-height:1.1}
.thv315-search-hero>p{font-size:14px;color:#77849a;margin:0;line-height:1.5}
.thv315-results-form{display:flex;gap:10px;margin-top:20px;max-width:850px}
.thv315-search-hero .thv315-search-count{font-size:13px;color:#606f83;padding-top:14px;margin-top:19px;border-top:1px solid #e8ecf2}
.thv315-search-count strong{color:#15263d}.thv315-search-count b{color:#d91035}
.thv315-search-columns{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:18px;align-items:start;min-width:0}
.thv315-results{background:#fff;padding:19px 22px;box-shadow:0 3px 15px #15223310;min-width:0}
.thv315-section-title{display:flex;gap:14px;align-items:center;color:#18253d;font-size:13px;font-weight:900;margin-bottom:7px}
.thv315-section-title i{flex:1;height:2px;background:#d91035}
.thv315-result-card{display:grid;grid-template-columns:188px minmax(0,1fr);gap:17px;padding:18px 0;border-bottom:1px solid #e6ebf1;min-width:0;align-items:start}
.thv315-result-card:last-of-type{border-bottom:0}
.thv315-card-photo{display:block;aspect-ratio:16/9;overflow:hidden;border-radius:4px;background:#e8edf2}
.thv315-card-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}
.thv315-card-photo:hover img{transform:scale(1.04)}
.thv315-noimage{height:100%;display:grid;place-items:center;color:#7e8a99;font-size:12px;font-weight:900}
.thv315-card-copy{min-width:0}
.thv315-card-meta{font-size:11px;color:#768498;display:flex;gap:11px;align-items:center;flex-wrap:wrap;margin-bottom:7px}
.thv315-card-meta a{color:#d91035;font-weight:900;text-transform:uppercase}
.thv315-card-copy h2{font-size:clamp(16px,1.55vw,20px);line-height:1.24;font-weight:900;color:#142239;margin:0 0 7px;overflow-wrap:anywhere}
.thv315-card-copy h2 a:hover{color:#d91035}
.thv315-card-copy p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:13px;line-height:1.55;color:#667487;margin:0 0 10px}
.thv315-card-more{font-size:10px;color:#d91035;letter-spacing:.03em;font-weight:900}
.thv315-card-more span{font-size:14px}
.thv315-search-side{padding:20px;border-top:4px solid #d91035;background:#fff;box-shadow:0 3px 15px #15223310}
.thv315-side-title{font-size:14px;font-weight:900;color:#18253b}
.thv315-search-side p{font-size:12px;line-height:1.55;color:#69778b;margin:8px 0 15px}
.thv315-search-side nav a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;border-top:1px solid #edf0f4;font-weight:800;font-size:12px;color:#273750}
.thv315-search-side nav a:hover,.thv315-search-side nav a span{color:#d91035}
.thv315-search-empty{text-align:center;padding:45px 15px;background:#fff;color:#66768b}
.thv315-search-empty>svg{width:32px;height:32px;color:#d91035}
.thv315-search-empty h1,.thv315-search-empty h2{font-size:22px;color:#17253b;margin:12px 0}
.thv315-search-empty p{font-size:13px;line-height:1.6}
.thv315-search-empty>a{display:inline-block;margin-top:10px;background:#d91035;color:white;font-size:12px;font-weight:800;padding:11px 14px;border-radius:5px}
.thv315-pagination{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:25px 0 4px}
.thv315-pagination a{display:grid;place-items:center;min-width:37px;height:37px;padding:0 11px;border:1px solid #dae1e9;border-radius:5px;font-size:12px;font-weight:800;color:#23364a}
.thv315-pagination a.active,.thv315-pagination a:hover{background:#d91035;border-color:#d91035;color:white}
@media(max-width:900px){.thv315-search-columns{grid-template-columns:minmax(0,1fr) 215px;gap:12px}.thv315-result-card{grid-template-columns:145px minmax(0,1fr);gap:13px}}
@media(max-width:730px){.header .header-main > a.thv315-brand{width:140px!important;max-width:145px!important;min-height:55px!important}.header .header-main > a.thv315-brand img{height:51px!important;max-height:51px!important;max-width:142px!important}.header .thv315-search-tray form.thv315-search-form{flex-direction:column!important;align-items:stretch!important;gap:9px}.thv315-tray-label{min-width:0}.thv315-tray-label small{display:inline;padding-left:7px}.header .thv315-search-submit{width:100%}.thv315-search-columns{grid-template-columns:1fr}.thv315-search-side{display:none}.thv315-search-hero{padding:20px 16px}.thv315-results{padding:15px}.thv315-results-form{flex-direction:column}.thv315-results-form .thv315-search-submit{width:100%}.thv315-result-card{grid-template-columns:125px minmax(0,1fr);gap:12px}.thv315-card-copy h2{font-size:15px}.thv315-card-copy p{font-size:12px;-webkit-line-clamp:2}}
@media(max-width:440px){.thv315-result-card{grid-template-columns:100px minmax(0,1fr);gap:10px}.thv315-card-copy h2{font-size:14px}.thv315-card-copy p{font-size:11px;-webkit-line-clamp:2}.thv315-card-more{display:none}.thv315-card-meta{font-size:10px;gap:6px}}
@media(prefers-reduced-motion:reduce){.thv315-card-photo img{transition:none}}

/* v0.3.15.1: Preserve the HTML hidden attribute.
   Older .brand > span:last-child {display:flex} incorrectly reveals the text
   fallback alongside the uploaded logo. Keep it only for image load errors. */
.header .header-main > a.thv315-brand > span.thv315-brand-fallback[hidden] { display:none !important; }
.header .header-main > a.thv315-brand > span.thv315-brand-fallback:not([hidden]) {
  display:inline-flex !important; align-items:center; gap:5px;
}
